From f6d680f1032dfaed399a66d3c9d165c9949af1be Mon Sep 17 00:00:00 2001 From: Plague Fox Date: Wed, 12 Jun 2024 14:06:39 +0400 Subject: [PATCH] Reformat --- lib/src/model/pubspec.yaml.g.dart | 14 +- lib/src/protobuf/client.pb.dart | 2528 ++++++++++++++++--------- lib/src/protobuf/client.pbenum.dart | 1 - lib/src/protobuf/client.pbjson.dart | 484 ++++- lib/src/protobuf/client.pbserver.dart | 1 - 5 files changed, 2084 insertions(+), 944 deletions(-) diff --git a/lib/src/model/pubspec.yaml.g.dart b/lib/src/model/pubspec.yaml.g.dart index c52bd6c..f9a12b6 100644 --- a/lib/src/model/pubspec.yaml.g.dart +++ b/lib/src/model/pubspec.yaml.g.dart @@ -126,11 +126,11 @@ sealed class Pubspec { 2024, 6, 12, - 9, - 42, 10, - 506, - 936, + 6, + 30, + 233, + 60, ); /// Name @@ -441,12 +441,6 @@ sealed class Pubspec { 'lints': r'^3.0.0', 'test': r'^1.24.4', 'fake_async': r'^1.3.1', - 'mockito': { - 'git': { - 'url': r'https://github.com/dart-lang/mockito.git', - 'ref': r'master', - }, - }, }; /// Dependency overrides diff --git a/lib/src/protobuf/client.pb.dart b/lib/src/protobuf/client.pb.dart index d97b7f9..bbc7d1f 100644 --- a/lib/src/protobuf/client.pb.dart +++ b/lib/src/protobuf/client.pb.dart @@ -33,26 +33,32 @@ class Error extends $pb.GeneratedMessage { return $result; } Error._() : super(); - factory Error.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Error.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Error', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory Error.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Error.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Error', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'message') ..aOB(3, _omitFieldNames ? '' : 'temporary') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Error clone() => Error()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Error copyWith(void Function(Error) updates) => super.copyWith((message) => updates(message as Error)) as Error; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Error copyWith(void Function(Error) updates) => + super.copyWith((message) => updates(message as Error)) as Error; $pb.BuilderInfo get info_ => _i; @@ -61,13 +67,17 @@ class Error extends $pb.GeneratedMessage { Error createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Error getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Error getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Error? _defaultInstance; @$pb.TagNumber(1) $core.int get code => $_getIZ(0); @$pb.TagNumber(1) - set code($core.int v) { $_setUnsignedInt32(0, v); } + set code($core.int v) { + $_setUnsignedInt32(0, v); + } + @$pb.TagNumber(1) $core.bool hasCode() => $_has(0); @$pb.TagNumber(1) @@ -76,7 +86,10 @@ class Error extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get message => $_getSZ(1); @$pb.TagNumber(2) - set message($core.String v) { $_setString(1, v); } + set message($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasMessage() => $_has(1); @$pb.TagNumber(2) @@ -85,7 +98,10 @@ class Error extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get temporary => $_getBF(2); @$pb.TagNumber(3) - set temporary($core.bool v) { $_setBool(2, v); } + set temporary($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasTemporary() => $_has(2); @$pb.TagNumber(3) @@ -111,41 +127,54 @@ class EmulationRequest extends $pb.GeneratedMessage { return $result; } EmulationRequest._() : super(); - factory EmulationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EmulationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EmulationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory EmulationRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory EmulationRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EmulationRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'node') ..aOS(2, _omitFieldNames ? '' : 'session') - ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..a<$core.List<$core.int>>( + 3, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') EmulationRequest clone() => EmulationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EmulationRequest copyWith(void Function(EmulationRequest) updates) => super.copyWith((message) => updates(message as EmulationRequest)) as EmulationRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EmulationRequest copyWith(void Function(EmulationRequest) updates) => + super.copyWith((message) => updates(message as EmulationRequest)) + as EmulationRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EmulationRequest create() => EmulationRequest._(); EmulationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static EmulationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EmulationRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static EmulationRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get node => $_getSZ(0); @$pb.TagNumber(1) - set node($core.String v) { $_setString(0, v); } + set node($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasNode() => $_has(0); @$pb.TagNumber(1) @@ -154,7 +183,10 @@ class EmulationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get session => $_getSZ(1); @$pb.TagNumber(2) - set session($core.String v) { $_setString(1, v); } + set session($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasSession() => $_has(1); @$pb.TagNumber(2) @@ -163,7 +195,10 @@ class EmulationRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.List<$core.int> get data => $_getN(2); @$pb.TagNumber(3) - set data($core.List<$core.int> v) { $_setBytes(2, v); } + set data($core.List<$core.int> v) { + $_setBytes(2, v); + } + @$pb.TagNumber(3) $core.bool hasData() => $_has(2); @$pb.TagNumber(3) @@ -231,36 +266,54 @@ class Command extends $pb.GeneratedMessage { return $result; } Command._() : super(); - factory Command.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Command.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Command', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory Command.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Command.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Command', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) - ..aOM(4, _omitFieldNames ? '' : 'connect', subBuilder: ConnectRequest.create) - ..aOM(5, _omitFieldNames ? '' : 'subscribe', subBuilder: SubscribeRequest.create) - ..aOM(6, _omitFieldNames ? '' : 'unsubscribe', subBuilder: UnsubscribeRequest.create) - ..aOM(7, _omitFieldNames ? '' : 'publish', subBuilder: PublishRequest.create) - ..aOM(8, _omitFieldNames ? '' : 'presence', subBuilder: PresenceRequest.create) - ..aOM(9, _omitFieldNames ? '' : 'presenceStats', subBuilder: PresenceStatsRequest.create) - ..aOM(10, _omitFieldNames ? '' : 'history', subBuilder: HistoryRequest.create) - ..aOM(11, _omitFieldNames ? '' : 'ping', subBuilder: PingRequest.create) - ..aOM(12, _omitFieldNames ? '' : 'send', subBuilder: SendRequest.create) - ..aOM(13, _omitFieldNames ? '' : 'rpc', subBuilder: RPCRequest.create) - ..aOM(14, _omitFieldNames ? '' : 'refresh', subBuilder: RefreshRequest.create) - ..aOM(15, _omitFieldNames ? '' : 'subRefresh', subBuilder: SubRefreshRequest.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..aOM(4, _omitFieldNames ? '' : 'connect', + subBuilder: ConnectRequest.create) + ..aOM(5, _omitFieldNames ? '' : 'subscribe', + subBuilder: SubscribeRequest.create) + ..aOM(6, _omitFieldNames ? '' : 'unsubscribe', + subBuilder: UnsubscribeRequest.create) + ..aOM(7, _omitFieldNames ? '' : 'publish', + subBuilder: PublishRequest.create) + ..aOM(8, _omitFieldNames ? '' : 'presence', + subBuilder: PresenceRequest.create) + ..aOM(9, _omitFieldNames ? '' : 'presenceStats', + subBuilder: PresenceStatsRequest.create) + ..aOM(10, _omitFieldNames ? '' : 'history', + subBuilder: HistoryRequest.create) + ..aOM(11, _omitFieldNames ? '' : 'ping', + subBuilder: PingRequest.create) + ..aOM(12, _omitFieldNames ? '' : 'send', + subBuilder: SendRequest.create) + ..aOM(13, _omitFieldNames ? '' : 'rpc', + subBuilder: RPCRequest.create) + ..aOM(14, _omitFieldNames ? '' : 'refresh', + subBuilder: RefreshRequest.create) + ..aOM(15, _omitFieldNames ? '' : 'subRefresh', + subBuilder: SubRefreshRequest.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Command clone() => Command()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Command copyWith(void Function(Command) updates) => super.copyWith((message) => updates(message as Command)) as Command; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Command copyWith(void Function(Command) updates) => + super.copyWith((message) => updates(message as Command)) as Command; $pb.BuilderInfo get info_ => _i; @@ -269,14 +322,18 @@ class Command extends $pb.GeneratedMessage { Command createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Command getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Command getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Command? _defaultInstance; /// Id of command to let client match replies to commands. @$pb.TagNumber(1) $core.int get id => $_getIZ(0); @$pb.TagNumber(1) - set id($core.int v) { $_setUnsignedInt32(0, v); } + set id($core.int v) { + $_setUnsignedInt32(0, v); + } + @$pb.TagNumber(1) $core.bool hasId() => $_has(0); @$pb.TagNumber(1) @@ -289,7 +346,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(4) ConnectRequest get connect => $_getN(1); @$pb.TagNumber(4) - set connect(ConnectRequest v) { setField(4, v); } + set connect(ConnectRequest v) { + setField(4, v); + } + @$pb.TagNumber(4) $core.bool hasConnect() => $_has(1); @$pb.TagNumber(4) @@ -300,7 +360,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(5) SubscribeRequest get subscribe => $_getN(2); @$pb.TagNumber(5) - set subscribe(SubscribeRequest v) { setField(5, v); } + set subscribe(SubscribeRequest v) { + setField(5, v); + } + @$pb.TagNumber(5) $core.bool hasSubscribe() => $_has(2); @$pb.TagNumber(5) @@ -311,7 +374,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(6) UnsubscribeRequest get unsubscribe => $_getN(3); @$pb.TagNumber(6) - set unsubscribe(UnsubscribeRequest v) { setField(6, v); } + set unsubscribe(UnsubscribeRequest v) { + setField(6, v); + } + @$pb.TagNumber(6) $core.bool hasUnsubscribe() => $_has(3); @$pb.TagNumber(6) @@ -322,7 +388,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(7) PublishRequest get publish => $_getN(4); @$pb.TagNumber(7) - set publish(PublishRequest v) { setField(7, v); } + set publish(PublishRequest v) { + setField(7, v); + } + @$pb.TagNumber(7) $core.bool hasPublish() => $_has(4); @$pb.TagNumber(7) @@ -333,7 +402,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(8) PresenceRequest get presence => $_getN(5); @$pb.TagNumber(8) - set presence(PresenceRequest v) { setField(8, v); } + set presence(PresenceRequest v) { + setField(8, v); + } + @$pb.TagNumber(8) $core.bool hasPresence() => $_has(5); @$pb.TagNumber(8) @@ -344,7 +416,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(9) PresenceStatsRequest get presenceStats => $_getN(6); @$pb.TagNumber(9) - set presenceStats(PresenceStatsRequest v) { setField(9, v); } + set presenceStats(PresenceStatsRequest v) { + setField(9, v); + } + @$pb.TagNumber(9) $core.bool hasPresenceStats() => $_has(6); @$pb.TagNumber(9) @@ -355,7 +430,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(10) HistoryRequest get history => $_getN(7); @$pb.TagNumber(10) - set history(HistoryRequest v) { setField(10, v); } + set history(HistoryRequest v) { + setField(10, v); + } + @$pb.TagNumber(10) $core.bool hasHistory() => $_has(7); @$pb.TagNumber(10) @@ -366,7 +444,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(11) PingRequest get ping => $_getN(8); @$pb.TagNumber(11) - set ping(PingRequest v) { setField(11, v); } + set ping(PingRequest v) { + setField(11, v); + } + @$pb.TagNumber(11) $core.bool hasPing() => $_has(8); @$pb.TagNumber(11) @@ -377,7 +458,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(12) SendRequest get send => $_getN(9); @$pb.TagNumber(12) - set send(SendRequest v) { setField(12, v); } + set send(SendRequest v) { + setField(12, v); + } + @$pb.TagNumber(12) $core.bool hasSend() => $_has(9); @$pb.TagNumber(12) @@ -388,7 +472,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(13) RPCRequest get rpc => $_getN(10); @$pb.TagNumber(13) - set rpc(RPCRequest v) { setField(13, v); } + set rpc(RPCRequest v) { + setField(13, v); + } + @$pb.TagNumber(13) $core.bool hasRpc() => $_has(10); @$pb.TagNumber(13) @@ -399,7 +486,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(14) RefreshRequest get refresh => $_getN(11); @$pb.TagNumber(14) - set refresh(RefreshRequest v) { setField(14, v); } + set refresh(RefreshRequest v) { + setField(14, v); + } + @$pb.TagNumber(14) $core.bool hasRefresh() => $_has(11); @$pb.TagNumber(14) @@ -410,7 +500,10 @@ class Command extends $pb.GeneratedMessage { @$pb.TagNumber(15) SubRefreshRequest get subRefresh => $_getN(12); @$pb.TagNumber(15) - set subRefresh(SubRefreshRequest v) { setField(15, v); } + set subRefresh(SubRefreshRequest v) { + setField(15, v); + } + @$pb.TagNumber(15) $core.bool hasSubRefresh() => $_has(12); @$pb.TagNumber(15) @@ -484,37 +577,54 @@ class Reply extends $pb.GeneratedMessage { return $result; } Reply._() : super(); - factory Reply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Reply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Reply', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory Reply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Reply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Reply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOM(2, _omitFieldNames ? '' : 'error', subBuilder: Error.create) ..aOM(4, _omitFieldNames ? '' : 'push', subBuilder: Push.create) - ..aOM(5, _omitFieldNames ? '' : 'connect', subBuilder: ConnectResult.create) - ..aOM(6, _omitFieldNames ? '' : 'subscribe', subBuilder: SubscribeResult.create) - ..aOM(7, _omitFieldNames ? '' : 'unsubscribe', subBuilder: UnsubscribeResult.create) - ..aOM(8, _omitFieldNames ? '' : 'publish', subBuilder: PublishResult.create) - ..aOM(9, _omitFieldNames ? '' : 'presence', subBuilder: PresenceResult.create) - ..aOM(10, _omitFieldNames ? '' : 'presenceStats', subBuilder: PresenceStatsResult.create) - ..aOM(11, _omitFieldNames ? '' : 'history', subBuilder: HistoryResult.create) - ..aOM(12, _omitFieldNames ? '' : 'ping', subBuilder: PingResult.create) - ..aOM(13, _omitFieldNames ? '' : 'rpc', subBuilder: RPCResult.create) - ..aOM(14, _omitFieldNames ? '' : 'refresh', subBuilder: RefreshResult.create) - ..aOM(15, _omitFieldNames ? '' : 'subRefresh', subBuilder: SubRefreshResult.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..aOM(5, _omitFieldNames ? '' : 'connect', + subBuilder: ConnectResult.create) + ..aOM(6, _omitFieldNames ? '' : 'subscribe', + subBuilder: SubscribeResult.create) + ..aOM(7, _omitFieldNames ? '' : 'unsubscribe', + subBuilder: UnsubscribeResult.create) + ..aOM(8, _omitFieldNames ? '' : 'publish', + subBuilder: PublishResult.create) + ..aOM(9, _omitFieldNames ? '' : 'presence', + subBuilder: PresenceResult.create) + ..aOM(10, _omitFieldNames ? '' : 'presenceStats', + subBuilder: PresenceStatsResult.create) + ..aOM(11, _omitFieldNames ? '' : 'history', + subBuilder: HistoryResult.create) + ..aOM(12, _omitFieldNames ? '' : 'ping', + subBuilder: PingResult.create) + ..aOM(13, _omitFieldNames ? '' : 'rpc', + subBuilder: RPCResult.create) + ..aOM(14, _omitFieldNames ? '' : 'refresh', + subBuilder: RefreshResult.create) + ..aOM(15, _omitFieldNames ? '' : 'subRefresh', + subBuilder: SubRefreshResult.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Reply clone() => Reply()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Reply copyWith(void Function(Reply) updates) => super.copyWith((message) => updates(message as Reply)) as Reply; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Reply copyWith(void Function(Reply) updates) => + super.copyWith((message) => updates(message as Reply)) as Reply; $pb.BuilderInfo get info_ => _i; @@ -523,7 +633,8 @@ class Reply extends $pb.GeneratedMessage { Reply createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Reply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Reply getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Reply? _defaultInstance; /// Id will only be set to a value > 0 for replies to commands. For pushes @@ -531,7 +642,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.int get id => $_getIZ(0); @$pb.TagNumber(1) - set id($core.int v) { $_setUnsignedInt32(0, v); } + set id($core.int v) { + $_setUnsignedInt32(0, v); + } + @$pb.TagNumber(1) $core.bool hasId() => $_has(0); @$pb.TagNumber(1) @@ -542,7 +656,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(2) Error get error => $_getN(1); @$pb.TagNumber(2) - set error(Error v) { setField(2, v); } + set error(Error v) { + setField(2, v); + } + @$pb.TagNumber(2) $core.bool hasError() => $_has(1); @$pb.TagNumber(2) @@ -555,7 +672,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(4) Push get push => $_getN(2); @$pb.TagNumber(4) - set push(Push v) { setField(4, v); } + set push(Push v) { + setField(4, v); + } + @$pb.TagNumber(4) $core.bool hasPush() => $_has(2); @$pb.TagNumber(4) @@ -566,7 +686,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(5) ConnectResult get connect => $_getN(3); @$pb.TagNumber(5) - set connect(ConnectResult v) { setField(5, v); } + set connect(ConnectResult v) { + setField(5, v); + } + @$pb.TagNumber(5) $core.bool hasConnect() => $_has(3); @$pb.TagNumber(5) @@ -577,7 +700,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(6) SubscribeResult get subscribe => $_getN(4); @$pb.TagNumber(6) - set subscribe(SubscribeResult v) { setField(6, v); } + set subscribe(SubscribeResult v) { + setField(6, v); + } + @$pb.TagNumber(6) $core.bool hasSubscribe() => $_has(4); @$pb.TagNumber(6) @@ -588,7 +714,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(7) UnsubscribeResult get unsubscribe => $_getN(5); @$pb.TagNumber(7) - set unsubscribe(UnsubscribeResult v) { setField(7, v); } + set unsubscribe(UnsubscribeResult v) { + setField(7, v); + } + @$pb.TagNumber(7) $core.bool hasUnsubscribe() => $_has(5); @$pb.TagNumber(7) @@ -599,7 +728,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(8) PublishResult get publish => $_getN(6); @$pb.TagNumber(8) - set publish(PublishResult v) { setField(8, v); } + set publish(PublishResult v) { + setField(8, v); + } + @$pb.TagNumber(8) $core.bool hasPublish() => $_has(6); @$pb.TagNumber(8) @@ -610,7 +742,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(9) PresenceResult get presence => $_getN(7); @$pb.TagNumber(9) - set presence(PresenceResult v) { setField(9, v); } + set presence(PresenceResult v) { + setField(9, v); + } + @$pb.TagNumber(9) $core.bool hasPresence() => $_has(7); @$pb.TagNumber(9) @@ -621,7 +756,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(10) PresenceStatsResult get presenceStats => $_getN(8); @$pb.TagNumber(10) - set presenceStats(PresenceStatsResult v) { setField(10, v); } + set presenceStats(PresenceStatsResult v) { + setField(10, v); + } + @$pb.TagNumber(10) $core.bool hasPresenceStats() => $_has(8); @$pb.TagNumber(10) @@ -632,7 +770,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(11) HistoryResult get history => $_getN(9); @$pb.TagNumber(11) - set history(HistoryResult v) { setField(11, v); } + set history(HistoryResult v) { + setField(11, v); + } + @$pb.TagNumber(11) $core.bool hasHistory() => $_has(9); @$pb.TagNumber(11) @@ -643,7 +784,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(12) PingResult get ping => $_getN(10); @$pb.TagNumber(12) - set ping(PingResult v) { setField(12, v); } + set ping(PingResult v) { + setField(12, v); + } + @$pb.TagNumber(12) $core.bool hasPing() => $_has(10); @$pb.TagNumber(12) @@ -654,7 +798,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(13) RPCResult get rpc => $_getN(11); @$pb.TagNumber(13) - set rpc(RPCResult v) { setField(13, v); } + set rpc(RPCResult v) { + setField(13, v); + } + @$pb.TagNumber(13) $core.bool hasRpc() => $_has(11); @$pb.TagNumber(13) @@ -665,7 +812,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(14) RefreshResult get refresh => $_getN(12); @$pb.TagNumber(14) - set refresh(RefreshResult v) { setField(14, v); } + set refresh(RefreshResult v) { + setField(14, v); + } + @$pb.TagNumber(14) $core.bool hasRefresh() => $_has(12); @$pb.TagNumber(14) @@ -676,7 +826,10 @@ class Reply extends $pb.GeneratedMessage { @$pb.TagNumber(15) SubRefreshResult get subRefresh => $_getN(13); @$pb.TagNumber(15) - set subRefresh(SubRefreshResult v) { setField(15, v); } + set subRefresh(SubRefreshResult v) { + setField(15, v); + } + @$pb.TagNumber(15) $core.bool hasSubRefresh() => $_has(13); @$pb.TagNumber(15) @@ -736,33 +889,46 @@ class Push extends $pb.GeneratedMessage { return $result; } Push._() : super(); - factory Push.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Push.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Push', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory Push.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Push.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Push', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(2, _omitFieldNames ? '' : 'channel') - ..aOM(4, _omitFieldNames ? '' : 'pub', subBuilder: Publication.create) + ..aOM(4, _omitFieldNames ? '' : 'pub', + subBuilder: Publication.create) ..aOM(5, _omitFieldNames ? '' : 'join', subBuilder: Join.create) ..aOM(6, _omitFieldNames ? '' : 'leave', subBuilder: Leave.create) - ..aOM(7, _omitFieldNames ? '' : 'unsubscribe', subBuilder: Unsubscribe.create) - ..aOM(8, _omitFieldNames ? '' : 'message', subBuilder: Message.create) - ..aOM(9, _omitFieldNames ? '' : 'subscribe', subBuilder: Subscribe.create) - ..aOM(10, _omitFieldNames ? '' : 'connect', subBuilder: Connect.create) - ..aOM(11, _omitFieldNames ? '' : 'disconnect', subBuilder: Disconnect.create) - ..aOM(12, _omitFieldNames ? '' : 'refresh', subBuilder: Refresh.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..aOM(7, _omitFieldNames ? '' : 'unsubscribe', + subBuilder: Unsubscribe.create) + ..aOM(8, _omitFieldNames ? '' : 'message', + subBuilder: Message.create) + ..aOM(9, _omitFieldNames ? '' : 'subscribe', + subBuilder: Subscribe.create) + ..aOM(10, _omitFieldNames ? '' : 'connect', + subBuilder: Connect.create) + ..aOM(11, _omitFieldNames ? '' : 'disconnect', + subBuilder: Disconnect.create) + ..aOM(12, _omitFieldNames ? '' : 'refresh', + subBuilder: Refresh.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Push clone() => Push()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Push copyWith(void Function(Push) updates) => super.copyWith((message) => updates(message as Push)) as Push; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Push copyWith(void Function(Push) updates) => + super.copyWith((message) => updates(message as Push)) as Push; $pb.BuilderInfo get info_ => _i; @@ -771,13 +937,17 @@ class Push extends $pb.GeneratedMessage { Push createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Push getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Push getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Push? _defaultInstance; @$pb.TagNumber(2) $core.String get channel => $_getSZ(0); @$pb.TagNumber(2) - set channel($core.String v) { $_setString(0, v); } + set channel($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(2) $core.bool hasChannel() => $_has(0); @$pb.TagNumber(2) @@ -788,7 +958,10 @@ class Push extends $pb.GeneratedMessage { @$pb.TagNumber(4) Publication get pub => $_getN(1); @$pb.TagNumber(4) - set pub(Publication v) { setField(4, v); } + set pub(Publication v) { + setField(4, v); + } + @$pb.TagNumber(4) $core.bool hasPub() => $_has(1); @$pb.TagNumber(4) @@ -799,7 +972,10 @@ class Push extends $pb.GeneratedMessage { @$pb.TagNumber(5) Join get join => $_getN(2); @$pb.TagNumber(5) - set join(Join v) { setField(5, v); } + set join(Join v) { + setField(5, v); + } + @$pb.TagNumber(5) $core.bool hasJoin() => $_has(2); @$pb.TagNumber(5) @@ -810,7 +986,10 @@ class Push extends $pb.GeneratedMessage { @$pb.TagNumber(6) Leave get leave => $_getN(3); @$pb.TagNumber(6) - set leave(Leave v) { setField(6, v); } + set leave(Leave v) { + setField(6, v); + } + @$pb.TagNumber(6) $core.bool hasLeave() => $_has(3); @$pb.TagNumber(6) @@ -821,7 +1000,10 @@ class Push extends $pb.GeneratedMessage { @$pb.TagNumber(7) Unsubscribe get unsubscribe => $_getN(4); @$pb.TagNumber(7) - set unsubscribe(Unsubscribe v) { setField(7, v); } + set unsubscribe(Unsubscribe v) { + setField(7, v); + } + @$pb.TagNumber(7) $core.bool hasUnsubscribe() => $_has(4); @$pb.TagNumber(7) @@ -832,7 +1014,10 @@ class Push extends $pb.GeneratedMessage { @$pb.TagNumber(8) Message get message => $_getN(5); @$pb.TagNumber(8) - set message(Message v) { setField(8, v); } + set message(Message v) { + setField(8, v); + } + @$pb.TagNumber(8) $core.bool hasMessage() => $_has(5); @$pb.TagNumber(8) @@ -843,7 +1028,10 @@ class Push extends $pb.GeneratedMessage { @$pb.TagNumber(9) Subscribe get subscribe => $_getN(6); @$pb.TagNumber(9) - set subscribe(Subscribe v) { setField(9, v); } + set subscribe(Subscribe v) { + setField(9, v); + } + @$pb.TagNumber(9) $core.bool hasSubscribe() => $_has(6); @$pb.TagNumber(9) @@ -854,7 +1042,10 @@ class Push extends $pb.GeneratedMessage { @$pb.TagNumber(10) Connect get connect => $_getN(7); @$pb.TagNumber(10) - set connect(Connect v) { setField(10, v); } + set connect(Connect v) { + setField(10, v); + } + @$pb.TagNumber(10) $core.bool hasConnect() => $_has(7); @$pb.TagNumber(10) @@ -865,7 +1056,10 @@ class Push extends $pb.GeneratedMessage { @$pb.TagNumber(11) Disconnect get disconnect => $_getN(8); @$pb.TagNumber(11) - set disconnect(Disconnect v) { setField(11, v); } + set disconnect(Disconnect v) { + setField(11, v); + } + @$pb.TagNumber(11) $core.bool hasDisconnect() => $_has(8); @$pb.TagNumber(11) @@ -876,7 +1070,10 @@ class Push extends $pb.GeneratedMessage { @$pb.TagNumber(12) Refresh get refresh => $_getN(9); @$pb.TagNumber(12) - set refresh(Refresh v) { setField(12, v); } + set refresh(Refresh v) { + setField(12, v); + } + @$pb.TagNumber(12) $core.bool hasRefresh() => $_has(9); @$pb.TagNumber(12) @@ -908,27 +1105,35 @@ class ClientInfo extends $pb.GeneratedMessage { return $result; } ClientInfo._() : super(); - factory ClientInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ClientInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClientInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory ClientInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ClientInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ClientInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'user') ..aOS(2, _omitFieldNames ? '' : 'client') - ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'connInfo', $pb.PbFieldType.OY) - ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'chanInfo', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..a<$core.List<$core.int>>( + 3, _omitFieldNames ? '' : 'connInfo', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>( + 4, _omitFieldNames ? '' : 'chanInfo', $pb.PbFieldType.OY) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ClientInfo clone() => ClientInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ClientInfo copyWith(void Function(ClientInfo) updates) => super.copyWith((message) => updates(message as ClientInfo)) as ClientInfo; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ClientInfo copyWith(void Function(ClientInfo) updates) => + super.copyWith((message) => updates(message as ClientInfo)) as ClientInfo; $pb.BuilderInfo get info_ => _i; @@ -937,13 +1142,17 @@ class ClientInfo extends $pb.GeneratedMessage { ClientInfo createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static ClientInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ClientInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ClientInfo? _defaultInstance; @$pb.TagNumber(1) $core.String get user => $_getSZ(0); @$pb.TagNumber(1) - set user($core.String v) { $_setString(0, v); } + set user($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasUser() => $_has(0); @$pb.TagNumber(1) @@ -952,7 +1161,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get client => $_getSZ(1); @$pb.TagNumber(2) - set client($core.String v) { $_setString(1, v); } + set client($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasClient() => $_has(1); @$pb.TagNumber(2) @@ -961,7 +1173,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.List<$core.int> get connInfo => $_getN(2); @$pb.TagNumber(3) - set connInfo($core.List<$core.int> v) { $_setBytes(2, v); } + set connInfo($core.List<$core.int> v) { + $_setBytes(2, v); + } + @$pb.TagNumber(3) $core.bool hasConnInfo() => $_has(2); @$pb.TagNumber(3) @@ -970,7 +1185,10 @@ class ClientInfo extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.List<$core.int> get chanInfo => $_getN(3); @$pb.TagNumber(4) - set chanInfo($core.List<$core.int> v) { $_setBytes(3, v); } + set chanInfo($core.List<$core.int> v) { + $_setBytes(3, v); + } + @$pb.TagNumber(4) $core.bool hasChanInfo() => $_has(3); @$pb.TagNumber(4) @@ -1000,27 +1218,41 @@ class Publication extends $pb.GeneratedMessage { return $result; } Publication._() : super(); - factory Publication.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Publication.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Publication', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..aOM(5, _omitFieldNames ? '' : 'info', subBuilder: ClientInfo.create) - ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..m<$core.String, $core.String>(7, _omitFieldNames ? '' : 'tags', entryClassName: 'Publication.TagsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory Publication.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Publication.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Publication', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..a<$core.List<$core.int>>( + 4, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..aOM(5, _omitFieldNames ? '' : 'info', + subBuilder: ClientInfo.create) + ..a<$fixnum.Int64>(6, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..m<$core.String, $core.String>(7, _omitFieldNames ? '' : 'tags', + entryClassName: 'Publication.TagsEntry', + keyFieldType: $pb.PbFieldType.OS, + valueFieldType: $pb.PbFieldType.OS, + packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Publication clone() => Publication()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Publication copyWith(void Function(Publication) updates) => super.copyWith((message) => updates(message as Publication)) as Publication; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Publication copyWith(void Function(Publication) updates) => + super.copyWith((message) => updates(message as Publication)) + as Publication; $pb.BuilderInfo get info_ => _i; @@ -1029,13 +1261,17 @@ class Publication extends $pb.GeneratedMessage { Publication createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Publication getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Publication getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static Publication? _defaultInstance; @$pb.TagNumber(4) $core.List<$core.int> get data => $_getN(0); @$pb.TagNumber(4) - set data($core.List<$core.int> v) { $_setBytes(0, v); } + set data($core.List<$core.int> v) { + $_setBytes(0, v); + } + @$pb.TagNumber(4) $core.bool hasData() => $_has(0); @$pb.TagNumber(4) @@ -1044,7 +1280,10 @@ class Publication extends $pb.GeneratedMessage { @$pb.TagNumber(5) ClientInfo get info => $_getN(1); @$pb.TagNumber(5) - set info(ClientInfo v) { setField(5, v); } + set info(ClientInfo v) { + setField(5, v); + } + @$pb.TagNumber(5) $core.bool hasInfo() => $_has(1); @$pb.TagNumber(5) @@ -1055,7 +1294,10 @@ class Publication extends $pb.GeneratedMessage { @$pb.TagNumber(6) $fixnum.Int64 get offset => $_getI64(2); @$pb.TagNumber(6) - set offset($fixnum.Int64 v) { $_setInt64(2, v); } + set offset($fixnum.Int64 v) { + $_setInt64(2, v); + } + @$pb.TagNumber(6) $core.bool hasOffset() => $_has(2); @$pb.TagNumber(6) @@ -1076,24 +1318,31 @@ class Join extends $pb.GeneratedMessage { return $result; } Join._() : super(); - factory Join.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Join.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Join', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'info', subBuilder: ClientInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory Join.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Join.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Join', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'info', + subBuilder: ClientInfo.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Join clone() => Join()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Join copyWith(void Function(Join) updates) => super.copyWith((message) => updates(message as Join)) as Join; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Join copyWith(void Function(Join) updates) => + super.copyWith((message) => updates(message as Join)) as Join; $pb.BuilderInfo get info_ => _i; @@ -1102,13 +1351,17 @@ class Join extends $pb.GeneratedMessage { Join createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Join getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Join getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Join? _defaultInstance; @$pb.TagNumber(1) ClientInfo get info => $_getN(0); @$pb.TagNumber(1) - set info(ClientInfo v) { setField(1, v); } + set info(ClientInfo v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasInfo() => $_has(0); @$pb.TagNumber(1) @@ -1128,24 +1381,31 @@ class Leave extends $pb.GeneratedMessage { return $result; } Leave._() : super(); - factory Leave.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Leave.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Leave', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'info', subBuilder: ClientInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory Leave.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Leave.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Leave', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'info', + subBuilder: ClientInfo.create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Leave clone() => Leave()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Leave copyWith(void Function(Leave) updates) => super.copyWith((message) => updates(message as Leave)) as Leave; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Leave copyWith(void Function(Leave) updates) => + super.copyWith((message) => updates(message as Leave)) as Leave; $pb.BuilderInfo get info_ => _i; @@ -1154,13 +1414,17 @@ class Leave extends $pb.GeneratedMessage { Leave createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Leave getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Leave getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Leave? _defaultInstance; @$pb.TagNumber(1) ClientInfo get info => $_getN(0); @$pb.TagNumber(1) - set info(ClientInfo v) { setField(1, v); } + set info(ClientInfo v) { + setField(1, v); + } + @$pb.TagNumber(1) $core.bool hasInfo() => $_has(0); @$pb.TagNumber(1) @@ -1184,25 +1448,32 @@ class Unsubscribe extends $pb.GeneratedMessage { return $result; } Unsubscribe._() : super(); - factory Unsubscribe.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Unsubscribe.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Unsubscribe', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory Unsubscribe.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Unsubscribe.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Unsubscribe', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..a<$core.int>(2, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OU3) ..aOS(3, _omitFieldNames ? '' : 'reason') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Unsubscribe clone() => Unsubscribe()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Unsubscribe copyWith(void Function(Unsubscribe) updates) => super.copyWith((message) => updates(message as Unsubscribe)) as Unsubscribe; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Unsubscribe copyWith(void Function(Unsubscribe) updates) => + super.copyWith((message) => updates(message as Unsubscribe)) + as Unsubscribe; $pb.BuilderInfo get info_ => _i; @@ -1211,13 +1482,17 @@ class Unsubscribe extends $pb.GeneratedMessage { Unsubscribe createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Unsubscribe getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Unsubscribe getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static Unsubscribe? _defaultInstance; @$pb.TagNumber(2) $core.int get code => $_getIZ(0); @$pb.TagNumber(2) - set code($core.int v) { $_setUnsignedInt32(0, v); } + set code($core.int v) { + $_setUnsignedInt32(0, v); + } + @$pb.TagNumber(2) $core.bool hasCode() => $_has(0); @$pb.TagNumber(2) @@ -1226,7 +1501,10 @@ class Unsubscribe extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.String get reason => $_getSZ(1); @$pb.TagNumber(3) - set reason($core.String v) { $_setString(1, v); } + set reason($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(3) $core.bool hasReason() => $_has(1); @$pb.TagNumber(3) @@ -1260,28 +1538,36 @@ class Subscribe extends $pb.GeneratedMessage { return $result; } Subscribe._() : super(); - factory Subscribe.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Subscribe.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Subscribe', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory Subscribe.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Subscribe.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Subscribe', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'recoverable') ..aOS(4, _omitFieldNames ? '' : 'epoch') - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(6, _omitFieldNames ? '' : 'positioned') - ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..a<$core.List<$core.int>>( + 7, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Subscribe clone() => Subscribe()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Subscribe copyWith(void Function(Subscribe) updates) => super.copyWith((message) => updates(message as Subscribe)) as Subscribe; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Subscribe copyWith(void Function(Subscribe) updates) => + super.copyWith((message) => updates(message as Subscribe)) as Subscribe; $pb.BuilderInfo get info_ => _i; @@ -1290,13 +1576,17 @@ class Subscribe extends $pb.GeneratedMessage { Subscribe createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Subscribe getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Subscribe getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Subscribe? _defaultInstance; @$pb.TagNumber(1) $core.bool get recoverable => $_getBF(0); @$pb.TagNumber(1) - set recoverable($core.bool v) { $_setBool(0, v); } + set recoverable($core.bool v) { + $_setBool(0, v); + } + @$pb.TagNumber(1) $core.bool hasRecoverable() => $_has(0); @$pb.TagNumber(1) @@ -1305,7 +1595,10 @@ class Subscribe extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get epoch => $_getSZ(1); @$pb.TagNumber(4) - set epoch($core.String v) { $_setString(1, v); } + set epoch($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(4) $core.bool hasEpoch() => $_has(1); @$pb.TagNumber(4) @@ -1314,7 +1607,10 @@ class Subscribe extends $pb.GeneratedMessage { @$pb.TagNumber(5) $fixnum.Int64 get offset => $_getI64(2); @$pb.TagNumber(5) - set offset($fixnum.Int64 v) { $_setInt64(2, v); } + set offset($fixnum.Int64 v) { + $_setInt64(2, v); + } + @$pb.TagNumber(5) $core.bool hasOffset() => $_has(2); @$pb.TagNumber(5) @@ -1323,7 +1619,10 @@ class Subscribe extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.bool get positioned => $_getBF(3); @$pb.TagNumber(6) - set positioned($core.bool v) { $_setBool(3, v); } + set positioned($core.bool v) { + $_setBool(3, v); + } + @$pb.TagNumber(6) $core.bool hasPositioned() => $_has(3); @$pb.TagNumber(6) @@ -1332,7 +1631,10 @@ class Subscribe extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.List<$core.int> get data => $_getN(4); @$pb.TagNumber(7) - set data($core.List<$core.int> v) { $_setBytes(4, v); } + set data($core.List<$core.int> v) { + $_setBytes(4, v); + } + @$pb.TagNumber(7) $core.bool hasData() => $_has(4); @$pb.TagNumber(7) @@ -1350,24 +1652,31 @@ class Message extends $pb.GeneratedMessage { return $result; } Message._() : super(); - factory Message.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Message.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Message', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory Message.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Message.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Message', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..a<$core.List<$core.int>>( + 1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Message clone() => Message()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Message copyWith(void Function(Message) updates) => super.copyWith((message) => updates(message as Message)) as Message; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Message copyWith(void Function(Message) updates) => + super.copyWith((message) => updates(message as Message)) as Message; $pb.BuilderInfo get info_ => _i; @@ -1376,13 +1685,17 @@ class Message extends $pb.GeneratedMessage { Message createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Message getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Message getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Message? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.int> get data => $_getN(0); @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } + set data($core.List<$core.int> v) { + $_setBytes(0, v); + } + @$pb.TagNumber(1) $core.bool hasData() => $_has(0); @$pb.TagNumber(1) @@ -1436,33 +1749,46 @@ class Connect extends $pb.GeneratedMessage { return $result; } Connect._() : super(); - factory Connect.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Connect.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Connect', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory Connect.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Connect.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Connect', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'client') ..aOS(2, _omitFieldNames ? '' : 'version') - ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..m<$core.String, SubscribeResult>(4, _omitFieldNames ? '' : 'subs', entryClassName: 'Connect.SubsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: SubscribeResult.create, valueDefaultOrMaker: SubscribeResult.getDefault, packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) + ..a<$core.List<$core.int>>( + 3, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..m<$core.String, SubscribeResult>(4, _omitFieldNames ? '' : 'subs', + entryClassName: 'Connect.SubsEntry', + keyFieldType: $pb.PbFieldType.OS, + valueFieldType: $pb.PbFieldType.OM, + valueCreator: SubscribeResult.create, + valueDefaultOrMaker: SubscribeResult.getDefault, + packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) ..aOB(5, _omitFieldNames ? '' : 'expires') ..a<$core.int>(6, _omitFieldNames ? '' : 'ttl', $pb.PbFieldType.OU3) ..a<$core.int>(7, _omitFieldNames ? '' : 'ping', $pb.PbFieldType.OU3) ..aOB(8, _omitFieldNames ? '' : 'pong') ..aOS(9, _omitFieldNames ? '' : 'session') ..aOS(10, _omitFieldNames ? '' : 'node') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Connect clone() => Connect()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Connect copyWith(void Function(Connect) updates) => super.copyWith((message) => updates(message as Connect)) as Connect; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Connect copyWith(void Function(Connect) updates) => + super.copyWith((message) => updates(message as Connect)) as Connect; $pb.BuilderInfo get info_ => _i; @@ -1471,13 +1797,17 @@ class Connect extends $pb.GeneratedMessage { Connect createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Connect getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Connect getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Connect? _defaultInstance; @$pb.TagNumber(1) $core.String get client => $_getSZ(0); @$pb.TagNumber(1) - set client($core.String v) { $_setString(0, v); } + set client($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasClient() => $_has(0); @$pb.TagNumber(1) @@ -1486,7 +1816,10 @@ class Connect extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get version => $_getSZ(1); @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } + set version($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasVersion() => $_has(1); @$pb.TagNumber(2) @@ -1495,7 +1828,10 @@ class Connect extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.List<$core.int> get data => $_getN(2); @$pb.TagNumber(3) - set data($core.List<$core.int> v) { $_setBytes(2, v); } + set data($core.List<$core.int> v) { + $_setBytes(2, v); + } + @$pb.TagNumber(3) $core.bool hasData() => $_has(2); @$pb.TagNumber(3) @@ -1507,7 +1843,10 @@ class Connect extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.bool get expires => $_getBF(4); @$pb.TagNumber(5) - set expires($core.bool v) { $_setBool(4, v); } + set expires($core.bool v) { + $_setBool(4, v); + } + @$pb.TagNumber(5) $core.bool hasExpires() => $_has(4); @$pb.TagNumber(5) @@ -1516,7 +1855,10 @@ class Connect extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.int get ttl => $_getIZ(5); @$pb.TagNumber(6) - set ttl($core.int v) { $_setUnsignedInt32(5, v); } + set ttl($core.int v) { + $_setUnsignedInt32(5, v); + } + @$pb.TagNumber(6) $core.bool hasTtl() => $_has(5); @$pb.TagNumber(6) @@ -1525,7 +1867,10 @@ class Connect extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.int get ping => $_getIZ(6); @$pb.TagNumber(7) - set ping($core.int v) { $_setUnsignedInt32(6, v); } + set ping($core.int v) { + $_setUnsignedInt32(6, v); + } + @$pb.TagNumber(7) $core.bool hasPing() => $_has(6); @$pb.TagNumber(7) @@ -1534,7 +1879,10 @@ class Connect extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get pong => $_getBF(7); @$pb.TagNumber(8) - set pong($core.bool v) { $_setBool(7, v); } + set pong($core.bool v) { + $_setBool(7, v); + } + @$pb.TagNumber(8) $core.bool hasPong() => $_has(7); @$pb.TagNumber(8) @@ -1543,7 +1891,10 @@ class Connect extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.String get session => $_getSZ(8); @$pb.TagNumber(9) - set session($core.String v) { $_setString(8, v); } + set session($core.String v) { + $_setString(8, v); + } + @$pb.TagNumber(9) $core.bool hasSession() => $_has(8); @$pb.TagNumber(9) @@ -1552,7 +1903,10 @@ class Connect extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.String get node => $_getSZ(9); @$pb.TagNumber(10) - set node($core.String v) { $_setString(9, v); } + set node($core.String v) { + $_setString(9, v); + } + @$pb.TagNumber(10) $core.bool hasNode() => $_has(9); @$pb.TagNumber(10) @@ -1578,26 +1932,32 @@ class Disconnect extends $pb.GeneratedMessage { return $result; } Disconnect._() : super(); - factory Disconnect.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Disconnect.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Disconnect', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory Disconnect.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Disconnect.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Disconnect', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'reason') ..aOB(3, _omitFieldNames ? '' : 'reconnect') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Disconnect clone() => Disconnect()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Disconnect copyWith(void Function(Disconnect) updates) => super.copyWith((message) => updates(message as Disconnect)) as Disconnect; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Disconnect copyWith(void Function(Disconnect) updates) => + super.copyWith((message) => updates(message as Disconnect)) as Disconnect; $pb.BuilderInfo get info_ => _i; @@ -1606,13 +1966,17 @@ class Disconnect extends $pb.GeneratedMessage { Disconnect createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Disconnect getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Disconnect getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static Disconnect? _defaultInstance; @$pb.TagNumber(1) $core.int get code => $_getIZ(0); @$pb.TagNumber(1) - set code($core.int v) { $_setUnsignedInt32(0, v); } + set code($core.int v) { + $_setUnsignedInt32(0, v); + } + @$pb.TagNumber(1) $core.bool hasCode() => $_has(0); @$pb.TagNumber(1) @@ -1621,7 +1985,10 @@ class Disconnect extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get reason => $_getSZ(1); @$pb.TagNumber(2) - set reason($core.String v) { $_setString(1, v); } + set reason($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasReason() => $_has(1); @$pb.TagNumber(2) @@ -1630,7 +1997,10 @@ class Disconnect extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get reconnect => $_getBF(2); @$pb.TagNumber(3) - set reconnect($core.bool v) { $_setBool(2, v); } + set reconnect($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasReconnect() => $_has(2); @$pb.TagNumber(3) @@ -1652,25 +2022,31 @@ class Refresh extends $pb.GeneratedMessage { return $result; } Refresh._() : super(); - factory Refresh.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Refresh.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Refresh', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory Refresh.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Refresh.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Refresh', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'expires') ..a<$core.int>(2, _omitFieldNames ? '' : 'ttl', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') Refresh clone() => Refresh()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Refresh copyWith(void Function(Refresh) updates) => super.copyWith((message) => updates(message as Refresh)) as Refresh; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Refresh copyWith(void Function(Refresh) updates) => + super.copyWith((message) => updates(message as Refresh)) as Refresh; $pb.BuilderInfo get info_ => _i; @@ -1679,13 +2055,17 @@ class Refresh extends $pb.GeneratedMessage { Refresh createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static Refresh getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Refresh getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Refresh? _defaultInstance; @$pb.TagNumber(1) $core.bool get expires => $_getBF(0); @$pb.TagNumber(1) - set expires($core.bool v) { $_setBool(0, v); } + set expires($core.bool v) { + $_setBool(0, v); + } + @$pb.TagNumber(1) $core.bool hasExpires() => $_has(0); @$pb.TagNumber(1) @@ -1694,7 +2074,10 @@ class Refresh extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get ttl => $_getIZ(1); @$pb.TagNumber(2) - set ttl($core.int v) { $_setUnsignedInt32(1, v); } + set ttl($core.int v) { + $_setUnsignedInt32(1, v); + } + @$pb.TagNumber(2) $core.bool hasTtl() => $_has(1); @$pb.TagNumber(2) @@ -1728,43 +2111,62 @@ class ConnectRequest extends $pb.GeneratedMessage { return $result; } ConnectRequest._() : super(); - factory ConnectRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ConnectRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory ConnectRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ConnectRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ConnectRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'token') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..m<$core.String, SubscribeRequest>(3, _omitFieldNames ? '' : 'subs', entryClassName: 'ConnectRequest.SubsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: SubscribeRequest.create, valueDefaultOrMaker: SubscribeRequest.getDefault, packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) + ..a<$core.List<$core.int>>( + 2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..m<$core.String, SubscribeRequest>(3, _omitFieldNames ? '' : 'subs', + entryClassName: 'ConnectRequest.SubsEntry', + keyFieldType: $pb.PbFieldType.OS, + valueFieldType: $pb.PbFieldType.OM, + valueCreator: SubscribeRequest.create, + valueDefaultOrMaker: SubscribeRequest.getDefault, + packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) ..aOS(4, _omitFieldNames ? '' : 'name') ..aOS(5, _omitFieldNames ? '' : 'version') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ConnectRequest clone() => ConnectRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ConnectRequest copyWith(void Function(ConnectRequest) updates) => super.copyWith((message) => updates(message as ConnectRequest)) as ConnectRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ConnectRequest copyWith(void Function(ConnectRequest) updates) => + super.copyWith((message) => updates(message as ConnectRequest)) + as ConnectRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ConnectRequest create() => ConnectRequest._(); ConnectRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ConnectRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ConnectRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get token => $_getSZ(0); @$pb.TagNumber(1) - set token($core.String v) { $_setString(0, v); } + set token($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasToken() => $_has(0); @$pb.TagNumber(1) @@ -1773,7 +2175,10 @@ class ConnectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.List<$core.int> get data => $_getN(1); @$pb.TagNumber(2) - set data($core.List<$core.int> v) { $_setBytes(1, v); } + set data($core.List<$core.int> v) { + $_setBytes(1, v); + } + @$pb.TagNumber(2) $core.bool hasData() => $_has(1); @$pb.TagNumber(2) @@ -1785,7 +2190,10 @@ class ConnectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.String get name => $_getSZ(3); @$pb.TagNumber(4) - set name($core.String v) { $_setString(3, v); } + set name($core.String v) { + $_setString(3, v); + } + @$pb.TagNumber(4) $core.bool hasName() => $_has(3); @$pb.TagNumber(4) @@ -1794,7 +2202,10 @@ class ConnectRequest extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.String get version => $_getSZ(4); @$pb.TagNumber(5) - set version($core.String v) { $_setString(4, v); } + set version($core.String v) { + $_setString(4, v); + } + @$pb.TagNumber(5) $core.bool hasVersion() => $_has(4); @$pb.TagNumber(5) @@ -1848,48 +2259,67 @@ class ConnectResult extends $pb.GeneratedMessage { return $result; } ConnectResult._() : super(); - factory ConnectResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ConnectResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConnectResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory ConnectResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ConnectResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ConnectResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'client') ..aOS(2, _omitFieldNames ? '' : 'version') ..aOB(3, _omitFieldNames ? '' : 'expires') ..a<$core.int>(4, _omitFieldNames ? '' : 'ttl', $pb.PbFieldType.OU3) - ..a<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..m<$core.String, SubscribeResult>(6, _omitFieldNames ? '' : 'subs', entryClassName: 'ConnectResult.SubsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: SubscribeResult.create, valueDefaultOrMaker: SubscribeResult.getDefault, packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) + ..a<$core.List<$core.int>>( + 5, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..m<$core.String, SubscribeResult>(6, _omitFieldNames ? '' : 'subs', + entryClassName: 'ConnectResult.SubsEntry', + keyFieldType: $pb.PbFieldType.OS, + valueFieldType: $pb.PbFieldType.OM, + valueCreator: SubscribeResult.create, + valueDefaultOrMaker: SubscribeResult.getDefault, + packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) ..a<$core.int>(7, _omitFieldNames ? '' : 'ping', $pb.PbFieldType.OU3) ..aOB(8, _omitFieldNames ? '' : 'pong') ..aOS(9, _omitFieldNames ? '' : 'session') ..aOS(10, _omitFieldNames ? '' : 'node') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') ConnectResult clone() => ConnectResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ConnectResult copyWith(void Function(ConnectResult) updates) => super.copyWith((message) => updates(message as ConnectResult)) as ConnectResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ConnectResult copyWith(void Function(ConnectResult) updates) => + super.copyWith((message) => updates(message as ConnectResult)) + as ConnectResult; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static ConnectResult create() => ConnectResult._(); ConnectResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static ConnectResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ConnectResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static ConnectResult? _defaultInstance; @$pb.TagNumber(1) $core.String get client => $_getSZ(0); @$pb.TagNumber(1) - set client($core.String v) { $_setString(0, v); } + set client($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasClient() => $_has(0); @$pb.TagNumber(1) @@ -1898,7 +2328,10 @@ class ConnectResult extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get version => $_getSZ(1); @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } + set version($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasVersion() => $_has(1); @$pb.TagNumber(2) @@ -1907,7 +2340,10 @@ class ConnectResult extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get expires => $_getBF(2); @$pb.TagNumber(3) - set expires($core.bool v) { $_setBool(2, v); } + set expires($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasExpires() => $_has(2); @$pb.TagNumber(3) @@ -1916,7 +2352,10 @@ class ConnectResult extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.int get ttl => $_getIZ(3); @$pb.TagNumber(4) - set ttl($core.int v) { $_setUnsignedInt32(3, v); } + set ttl($core.int v) { + $_setUnsignedInt32(3, v); + } + @$pb.TagNumber(4) $core.bool hasTtl() => $_has(3); @$pb.TagNumber(4) @@ -1925,7 +2364,10 @@ class ConnectResult extends $pb.GeneratedMessage { @$pb.TagNumber(5) $core.List<$core.int> get data => $_getN(4); @$pb.TagNumber(5) - set data($core.List<$core.int> v) { $_setBytes(4, v); } + set data($core.List<$core.int> v) { + $_setBytes(4, v); + } + @$pb.TagNumber(5) $core.bool hasData() => $_has(4); @$pb.TagNumber(5) @@ -1937,7 +2379,10 @@ class ConnectResult extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.int get ping => $_getIZ(6); @$pb.TagNumber(7) - set ping($core.int v) { $_setUnsignedInt32(6, v); } + set ping($core.int v) { + $_setUnsignedInt32(6, v); + } + @$pb.TagNumber(7) $core.bool hasPing() => $_has(6); @$pb.TagNumber(7) @@ -1946,7 +2391,10 @@ class ConnectResult extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get pong => $_getBF(7); @$pb.TagNumber(8) - set pong($core.bool v) { $_setBool(7, v); } + set pong($core.bool v) { + $_setBool(7, v); + } + @$pb.TagNumber(8) $core.bool hasPong() => $_has(7); @$pb.TagNumber(8) @@ -1955,7 +2403,10 @@ class ConnectResult extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.String get session => $_getSZ(8); @$pb.TagNumber(9) - set session($core.String v) { $_setString(8, v); } + set session($core.String v) { + $_setString(8, v); + } + @$pb.TagNumber(9) $core.bool hasSession() => $_has(8); @$pb.TagNumber(9) @@ -1964,7 +2415,10 @@ class ConnectResult extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.String get node => $_getSZ(9); @$pb.TagNumber(10) - set node($core.String v) { $_setString(9, v); } + set node($core.String v) { + $_setString(9, v); + } + @$pb.TagNumber(10) $core.bool hasNode() => $_has(9); @$pb.TagNumber(10) @@ -1982,39 +2436,51 @@ class RefreshRequest extends $pb.GeneratedMessage { return $result; } RefreshRequest._() : super(); - factory RefreshRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RefreshRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RefreshRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory RefreshRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RefreshRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RefreshRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'token') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RefreshRequest clone() => RefreshRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RefreshRequest copyWith(void Function(RefreshRequest) updates) => super.copyWith((message) => updates(message as RefreshRequest)) as RefreshRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RefreshRequest copyWith(void Function(RefreshRequest) updates) => + super.copyWith((message) => updates(message as RefreshRequest)) + as RefreshRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RefreshRequest create() => RefreshRequest._(); RefreshRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static RefreshRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RefreshRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RefreshRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get token => $_getSZ(0); @$pb.TagNumber(1) - set token($core.String v) { $_setString(0, v); } + set token($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasToken() => $_has(0); @$pb.TagNumber(1) @@ -2044,42 +2510,54 @@ class RefreshResult extends $pb.GeneratedMessage { return $result; } RefreshResult._() : super(); - factory RefreshResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RefreshResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RefreshResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory RefreshResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RefreshResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RefreshResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'client') ..aOS(2, _omitFieldNames ? '' : 'version') ..aOB(3, _omitFieldNames ? '' : 'expires') ..a<$core.int>(4, _omitFieldNames ? '' : 'ttl', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RefreshResult clone() => RefreshResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RefreshResult copyWith(void Function(RefreshResult) updates) => super.copyWith((message) => updates(message as RefreshResult)) as RefreshResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RefreshResult copyWith(void Function(RefreshResult) updates) => + super.copyWith((message) => updates(message as RefreshResult)) + as RefreshResult; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RefreshResult create() => RefreshResult._(); RefreshResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static RefreshResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RefreshResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RefreshResult? _defaultInstance; @$pb.TagNumber(1) $core.String get client => $_getSZ(0); @$pb.TagNumber(1) - set client($core.String v) { $_setString(0, v); } + set client($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasClient() => $_has(0); @$pb.TagNumber(1) @@ -2088,7 +2566,10 @@ class RefreshResult extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get version => $_getSZ(1); @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } + set version($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasVersion() => $_has(1); @$pb.TagNumber(2) @@ -2097,7 +2578,10 @@ class RefreshResult extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get expires => $_getBF(2); @$pb.TagNumber(3) - set expires($core.bool v) { $_setBool(2, v); } + set expires($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasExpires() => $_has(2); @$pb.TagNumber(3) @@ -2106,7 +2590,10 @@ class RefreshResult extends $pb.GeneratedMessage { @$pb.TagNumber(4) $core.int get ttl => $_getIZ(3); @$pb.TagNumber(4) - set ttl($core.int v) { $_setUnsignedInt32(3, v); } + set ttl($core.int v) { + $_setUnsignedInt32(3, v); + } + @$pb.TagNumber(4) $core.bool hasTtl() => $_has(3); @$pb.TagNumber(4) @@ -2156,47 +2643,61 @@ class SubscribeRequest extends $pb.GeneratedMessage { return $result; } SubscribeRequest._() : super(); - factory SubscribeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscribeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory SubscribeRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubscribeRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribeRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'channel') ..aOS(2, _omitFieldNames ? '' : 'token') ..aOB(3, _omitFieldNames ? '' : 'recover') ..aOS(6, _omitFieldNames ? '' : 'epoch') - ..a<$fixnum.Int64>(7, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.List<$core.int>>(8, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..a<$fixnum.Int64>(7, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$core.List<$core.int>>( + 8, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) ..aOB(9, _omitFieldNames ? '' : 'positioned') ..aOB(10, _omitFieldNames ? '' : 'recoverable') ..aOB(11, _omitFieldNames ? '' : 'joinLeave') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SubscribeRequest clone() => SubscribeRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscribeRequest copyWith(void Function(SubscribeRequest) updates) => super.copyWith((message) => updates(message as SubscribeRequest)) as SubscribeRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubscribeRequest copyWith(void Function(SubscribeRequest) updates) => + super.copyWith((message) => updates(message as SubscribeRequest)) + as SubscribeRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscribeRequest create() => SubscribeRequest._(); SubscribeRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribeRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribeRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribeRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get channel => $_getSZ(0); @$pb.TagNumber(1) - set channel($core.String v) { $_setString(0, v); } + set channel($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasChannel() => $_has(0); @$pb.TagNumber(1) @@ -2205,7 +2706,10 @@ class SubscribeRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get token => $_getSZ(1); @$pb.TagNumber(2) - set token($core.String v) { $_setString(1, v); } + set token($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasToken() => $_has(1); @$pb.TagNumber(2) @@ -2214,7 +2718,10 @@ class SubscribeRequest extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get recover => $_getBF(2); @$pb.TagNumber(3) - set recover($core.bool v) { $_setBool(2, v); } + set recover($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasRecover() => $_has(2); @$pb.TagNumber(3) @@ -2223,7 +2730,10 @@ class SubscribeRequest extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get epoch => $_getSZ(3); @$pb.TagNumber(6) - set epoch($core.String v) { $_setString(3, v); } + set epoch($core.String v) { + $_setString(3, v); + } + @$pb.TagNumber(6) $core.bool hasEpoch() => $_has(3); @$pb.TagNumber(6) @@ -2232,7 +2742,10 @@ class SubscribeRequest extends $pb.GeneratedMessage { @$pb.TagNumber(7) $fixnum.Int64 get offset => $_getI64(4); @$pb.TagNumber(7) - set offset($fixnum.Int64 v) { $_setInt64(4, v); } + set offset($fixnum.Int64 v) { + $_setInt64(4, v); + } + @$pb.TagNumber(7) $core.bool hasOffset() => $_has(4); @$pb.TagNumber(7) @@ -2241,7 +2754,10 @@ class SubscribeRequest extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.List<$core.int> get data => $_getN(5); @$pb.TagNumber(8) - set data($core.List<$core.int> v) { $_setBytes(5, v); } + set data($core.List<$core.int> v) { + $_setBytes(5, v); + } + @$pb.TagNumber(8) $core.bool hasData() => $_has(5); @$pb.TagNumber(8) @@ -2250,7 +2766,10 @@ class SubscribeRequest extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.bool get positioned => $_getBF(6); @$pb.TagNumber(9) - set positioned($core.bool v) { $_setBool(6, v); } + set positioned($core.bool v) { + $_setBool(6, v); + } + @$pb.TagNumber(9) $core.bool hasPositioned() => $_has(6); @$pb.TagNumber(9) @@ -2259,7 +2778,10 @@ class SubscribeRequest extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.bool get recoverable => $_getBF(7); @$pb.TagNumber(10) - set recoverable($core.bool v) { $_setBool(7, v); } + set recoverable($core.bool v) { + $_setBool(7, v); + } + @$pb.TagNumber(10) $core.bool hasRecoverable() => $_has(7); @$pb.TagNumber(10) @@ -2268,7 +2790,10 @@ class SubscribeRequest extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.bool get joinLeave => $_getBF(8); @$pb.TagNumber(11) - set joinLeave($core.bool v) { $_setBool(8, v); } + set joinLeave($core.bool v) { + $_setBool(8, v); + } + @$pb.TagNumber(11) $core.bool hasJoinLeave() => $_has(8); @$pb.TagNumber(11) @@ -2322,48 +2847,64 @@ class SubscribeResult extends $pb.GeneratedMessage { return $result; } SubscribeResult._() : super(); - factory SubscribeResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscribeResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribeResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory SubscribeResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubscribeResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribeResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'expires') ..a<$core.int>(2, _omitFieldNames ? '' : 'ttl', $pb.PbFieldType.OU3) ..aOB(3, _omitFieldNames ? '' : 'recoverable') ..aOS(6, _omitFieldNames ? '' : 'epoch') - ..pc(7, _omitFieldNames ? '' : 'publications', $pb.PbFieldType.PM, subBuilder: Publication.create) + ..pc( + 7, _omitFieldNames ? '' : 'publications', $pb.PbFieldType.PM, + subBuilder: Publication.create) ..aOB(8, _omitFieldNames ? '' : 'recovered') - ..a<$fixnum.Int64>(9, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..a<$fixnum.Int64>(9, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(10, _omitFieldNames ? '' : 'positioned') - ..a<$core.List<$core.int>>(11, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..a<$core.List<$core.int>>( + 11, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) ..aOB(12, _omitFieldNames ? '' : 'wasRecovering') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SubscribeResult clone() => SubscribeResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscribeResult copyWith(void Function(SubscribeResult) updates) => super.copyWith((message) => updates(message as SubscribeResult)) as SubscribeResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubscribeResult copyWith(void Function(SubscribeResult) updates) => + super.copyWith((message) => updates(message as SubscribeResult)) + as SubscribeResult; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubscribeResult create() => SubscribeResult._(); SubscribeResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubscribeResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubscribeResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubscribeResult? _defaultInstance; @$pb.TagNumber(1) $core.bool get expires => $_getBF(0); @$pb.TagNumber(1) - set expires($core.bool v) { $_setBool(0, v); } + set expires($core.bool v) { + $_setBool(0, v); + } + @$pb.TagNumber(1) $core.bool hasExpires() => $_has(0); @$pb.TagNumber(1) @@ -2372,7 +2913,10 @@ class SubscribeResult extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get ttl => $_getIZ(1); @$pb.TagNumber(2) - set ttl($core.int v) { $_setUnsignedInt32(1, v); } + set ttl($core.int v) { + $_setUnsignedInt32(1, v); + } + @$pb.TagNumber(2) $core.bool hasTtl() => $_has(1); @$pb.TagNumber(2) @@ -2381,7 +2925,10 @@ class SubscribeResult extends $pb.GeneratedMessage { @$pb.TagNumber(3) $core.bool get recoverable => $_getBF(2); @$pb.TagNumber(3) - set recoverable($core.bool v) { $_setBool(2, v); } + set recoverable($core.bool v) { + $_setBool(2, v); + } + @$pb.TagNumber(3) $core.bool hasRecoverable() => $_has(2); @$pb.TagNumber(3) @@ -2390,7 +2937,10 @@ class SubscribeResult extends $pb.GeneratedMessage { @$pb.TagNumber(6) $core.String get epoch => $_getSZ(3); @$pb.TagNumber(6) - set epoch($core.String v) { $_setString(3, v); } + set epoch($core.String v) { + $_setString(3, v); + } + @$pb.TagNumber(6) $core.bool hasEpoch() => $_has(3); @$pb.TagNumber(6) @@ -2402,7 +2952,10 @@ class SubscribeResult extends $pb.GeneratedMessage { @$pb.TagNumber(8) $core.bool get recovered => $_getBF(5); @$pb.TagNumber(8) - set recovered($core.bool v) { $_setBool(5, v); } + set recovered($core.bool v) { + $_setBool(5, v); + } + @$pb.TagNumber(8) $core.bool hasRecovered() => $_has(5); @$pb.TagNumber(8) @@ -2411,7 +2964,10 @@ class SubscribeResult extends $pb.GeneratedMessage { @$pb.TagNumber(9) $fixnum.Int64 get offset => $_getI64(6); @$pb.TagNumber(9) - set offset($fixnum.Int64 v) { $_setInt64(6, v); } + set offset($fixnum.Int64 v) { + $_setInt64(6, v); + } + @$pb.TagNumber(9) $core.bool hasOffset() => $_has(6); @$pb.TagNumber(9) @@ -2420,7 +2976,10 @@ class SubscribeResult extends $pb.GeneratedMessage { @$pb.TagNumber(10) $core.bool get positioned => $_getBF(7); @$pb.TagNumber(10) - set positioned($core.bool v) { $_setBool(7, v); } + set positioned($core.bool v) { + $_setBool(7, v); + } + @$pb.TagNumber(10) $core.bool hasPositioned() => $_has(7); @$pb.TagNumber(10) @@ -2429,7 +2988,10 @@ class SubscribeResult extends $pb.GeneratedMessage { @$pb.TagNumber(11) $core.List<$core.int> get data => $_getN(8); @$pb.TagNumber(11) - set data($core.List<$core.int> v) { $_setBytes(8, v); } + set data($core.List<$core.int> v) { + $_setBytes(8, v); + } + @$pb.TagNumber(11) $core.bool hasData() => $_has(8); @$pb.TagNumber(11) @@ -2438,7 +3000,10 @@ class SubscribeResult extends $pb.GeneratedMessage { @$pb.TagNumber(12) $core.bool get wasRecovering => $_getBF(9); @$pb.TagNumber(12) - set wasRecovering($core.bool v) { $_setBool(9, v); } + set wasRecovering($core.bool v) { + $_setBool(9, v); + } + @$pb.TagNumber(12) $core.bool hasWasRecovering() => $_has(9); @$pb.TagNumber(12) @@ -2460,40 +3025,52 @@ class SubRefreshRequest extends $pb.GeneratedMessage { return $result; } SubRefreshRequest._() : super(); - factory SubRefreshRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubRefreshRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubRefreshRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory SubRefreshRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubRefreshRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubRefreshRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'channel') ..aOS(2, _omitFieldNames ? '' : 'token') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SubRefreshRequest clone() => SubRefreshRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubRefreshRequest copyWith(void Function(SubRefreshRequest) updates) => super.copyWith((message) => updates(message as SubRefreshRequest)) as SubRefreshRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubRefreshRequest copyWith(void Function(SubRefreshRequest) updates) => + super.copyWith((message) => updates(message as SubRefreshRequest)) + as SubRefreshRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubRefreshRequest create() => SubRefreshRequest._(); SubRefreshRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubRefreshRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubRefreshRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubRefreshRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get channel => $_getSZ(0); @$pb.TagNumber(1) - set channel($core.String v) { $_setString(0, v); } + set channel($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasChannel() => $_has(0); @$pb.TagNumber(1) @@ -2502,7 +3079,10 @@ class SubRefreshRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get token => $_getSZ(1); @$pb.TagNumber(2) - set token($core.String v) { $_setString(1, v); } + set token($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasToken() => $_has(1); @$pb.TagNumber(2) @@ -2524,40 +3104,52 @@ class SubRefreshResult extends $pb.GeneratedMessage { return $result; } SubRefreshResult._() : super(); - factory SubRefreshResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubRefreshResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubRefreshResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory SubRefreshResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubRefreshResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubRefreshResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'expires') ..a<$core.int>(2, _omitFieldNames ? '' : 'ttl', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SubRefreshResult clone() => SubRefreshResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubRefreshResult copyWith(void Function(SubRefreshResult) updates) => super.copyWith((message) => updates(message as SubRefreshResult)) as SubRefreshResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubRefreshResult copyWith(void Function(SubRefreshResult) updates) => + super.copyWith((message) => updates(message as SubRefreshResult)) + as SubRefreshResult; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SubRefreshResult create() => SubRefreshResult._(); SubRefreshResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static SubRefreshResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SubRefreshResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SubRefreshResult? _defaultInstance; @$pb.TagNumber(1) $core.bool get expires => $_getBF(0); @$pb.TagNumber(1) - set expires($core.bool v) { $_setBool(0, v); } + set expires($core.bool v) { + $_setBool(0, v); + } + @$pb.TagNumber(1) $core.bool hasExpires() => $_has(0); @$pb.TagNumber(1) @@ -2566,7 +3158,10 @@ class SubRefreshResult extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get ttl => $_getIZ(1); @$pb.TagNumber(2) - set ttl($core.int v) { $_setUnsignedInt32(1, v); } + set ttl($core.int v) { + $_setUnsignedInt32(1, v); + } + @$pb.TagNumber(2) $core.bool hasTtl() => $_has(1); @$pb.TagNumber(2) @@ -2584,39 +3179,51 @@ class UnsubscribeRequest extends $pb.GeneratedMessage { return $result; } UnsubscribeRequest._() : super(); - factory UnsubscribeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnsubscribeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnsubscribeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory UnsubscribeRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UnsubscribeRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UnsubscribeRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'channel') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') UnsubscribeRequest clone() => UnsubscribeRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnsubscribeRequest copyWith(void Function(UnsubscribeRequest) updates) => super.copyWith((message) => updates(message as UnsubscribeRequest)) as UnsubscribeRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UnsubscribeRequest copyWith(void Function(UnsubscribeRequest) updates) => + super.copyWith((message) => updates(message as UnsubscribeRequest)) + as UnsubscribeRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UnsubscribeRequest create() => UnsubscribeRequest._(); UnsubscribeRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static UnsubscribeRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UnsubscribeRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UnsubscribeRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get channel => $_getSZ(0); @$pb.TagNumber(1) - set channel($core.String v) { $_setString(0, v); } + set channel($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasChannel() => $_has(0); @$pb.TagNumber(1) @@ -2626,32 +3233,41 @@ class UnsubscribeRequest extends $pb.GeneratedMessage { class UnsubscribeResult extends $pb.GeneratedMessage { factory UnsubscribeResult() => create(); UnsubscribeResult._() : super(); - factory UnsubscribeResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnsubscribeResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnsubscribeResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory UnsubscribeResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UnsubscribeResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UnsubscribeResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') UnsubscribeResult clone() => UnsubscribeResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnsubscribeResult copyWith(void Function(UnsubscribeResult) updates) => super.copyWith((message) => updates(message as UnsubscribeResult)) as UnsubscribeResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UnsubscribeResult copyWith(void Function(UnsubscribeResult) updates) => + super.copyWith((message) => updates(message as UnsubscribeResult)) + as UnsubscribeResult; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UnsubscribeResult create() => UnsubscribeResult._(); UnsubscribeResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static UnsubscribeResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UnsubscribeResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static UnsubscribeResult? _defaultInstance; } @@ -2670,40 +3286,53 @@ class PublishRequest extends $pb.GeneratedMessage { return $result; } PublishRequest._() : super(); - factory PublishRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PublishRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PublishRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory PublishRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PublishRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PublishRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'channel') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..a<$core.List<$core.int>>( + 2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PublishRequest clone() => PublishRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PublishRequest copyWith(void Function(PublishRequest) updates) => super.copyWith((message) => updates(message as PublishRequest)) as PublishRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PublishRequest copyWith(void Function(PublishRequest) updates) => + super.copyWith((message) => updates(message as PublishRequest)) + as PublishRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PublishRequest create() => PublishRequest._(); PublishRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static PublishRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PublishRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PublishRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get channel => $_getSZ(0); @$pb.TagNumber(1) - set channel($core.String v) { $_setString(0, v); } + set channel($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasChannel() => $_has(0); @$pb.TagNumber(1) @@ -2712,7 +3341,10 @@ class PublishRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.List<$core.int> get data => $_getN(1); @$pb.TagNumber(2) - set data($core.List<$core.int> v) { $_setBytes(1, v); } + set data($core.List<$core.int> v) { + $_setBytes(1, v); + } + @$pb.TagNumber(2) $core.bool hasData() => $_has(1); @$pb.TagNumber(2) @@ -2722,32 +3354,41 @@ class PublishRequest extends $pb.GeneratedMessage { class PublishResult extends $pb.GeneratedMessage { factory PublishResult() => create(); PublishResult._() : super(); - factory PublishResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PublishResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PublishResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory PublishResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PublishResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PublishResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PublishResult clone() => PublishResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PublishResult copyWith(void Function(PublishResult) updates) => super.copyWith((message) => updates(message as PublishResult)) as PublishResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PublishResult copyWith(void Function(PublishResult) updates) => + super.copyWith((message) => updates(message as PublishResult)) + as PublishResult; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PublishResult create() => PublishResult._(); PublishResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static PublishResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PublishResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PublishResult? _defaultInstance; } @@ -2762,39 +3403,51 @@ class PresenceRequest extends $pb.GeneratedMessage { return $result; } PresenceRequest._() : super(); - factory PresenceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PresenceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PresenceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory PresenceRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PresenceRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PresenceRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'channel') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PresenceRequest clone() => PresenceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PresenceRequest copyWith(void Function(PresenceRequest) updates) => super.copyWith((message) => updates(message as PresenceRequest)) as PresenceRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PresenceRequest copyWith(void Function(PresenceRequest) updates) => + super.copyWith((message) => updates(message as PresenceRequest)) + as PresenceRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PresenceRequest create() => PresenceRequest._(); PresenceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static PresenceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PresenceRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PresenceRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get channel => $_getSZ(0); @$pb.TagNumber(1) - set channel($core.String v) { $_setString(0, v); } + set channel($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasChannel() => $_has(0); @$pb.TagNumber(1) @@ -2812,33 +3465,48 @@ class PresenceResult extends $pb.GeneratedMessage { return $result; } PresenceResult._() : super(); - factory PresenceResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PresenceResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PresenceResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..m<$core.String, ClientInfo>(1, _omitFieldNames ? '' : 'presence', entryClassName: 'PresenceResult.PresenceEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: ClientInfo.create, valueDefaultOrMaker: ClientInfo.getDefault, packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory PresenceResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PresenceResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PresenceResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..m<$core.String, ClientInfo>(1, _omitFieldNames ? '' : 'presence', + entryClassName: 'PresenceResult.PresenceEntry', + keyFieldType: $pb.PbFieldType.OS, + valueFieldType: $pb.PbFieldType.OM, + valueCreator: ClientInfo.create, + valueDefaultOrMaker: ClientInfo.getDefault, + packageName: const $pb.PackageName('centrifugal.centrifuge.protocol')) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PresenceResult clone() => PresenceResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PresenceResult copyWith(void Function(PresenceResult) updates) => super.copyWith((message) => updates(message as PresenceResult)) as PresenceResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PresenceResult copyWith(void Function(PresenceResult) updates) => + super.copyWith((message) => updates(message as PresenceResult)) + as PresenceResult; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PresenceResult create() => PresenceResult._(); PresenceResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static PresenceResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PresenceResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PresenceResult? _defaultInstance; @$pb.TagNumber(1) @@ -2856,39 +3524,52 @@ class PresenceStatsRequest extends $pb.GeneratedMessage { return $result; } PresenceStatsRequest._() : super(); - factory PresenceStatsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PresenceStatsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PresenceStatsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory PresenceStatsRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PresenceStatsRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PresenceStatsRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'channel') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PresenceStatsRequest clone() => PresenceStatsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PresenceStatsRequest copyWith(void Function(PresenceStatsRequest) updates) => super.copyWith((message) => updates(message as PresenceStatsRequest)) as PresenceStatsRequest; + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PresenceStatsRequest clone() => + PresenceStatsRequest()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PresenceStatsRequest copyWith(void Function(PresenceStatsRequest) updates) => + super.copyWith((message) => updates(message as PresenceStatsRequest)) + as PresenceStatsRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PresenceStatsRequest create() => PresenceStatsRequest._(); PresenceStatsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static PresenceStatsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PresenceStatsRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PresenceStatsRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get channel => $_getSZ(0); @$pb.TagNumber(1) - set channel($core.String v) { $_setString(0, v); } + set channel($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasChannel() => $_has(0); @$pb.TagNumber(1) @@ -2910,40 +3591,52 @@ class PresenceStatsResult extends $pb.GeneratedMessage { return $result; } PresenceStatsResult._() : super(); - factory PresenceStatsResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PresenceStatsResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PresenceStatsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory PresenceStatsResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PresenceStatsResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PresenceStatsResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'numClients', $pb.PbFieldType.OU3) ..a<$core.int>(2, _omitFieldNames ? '' : 'numUsers', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PresenceStatsResult clone() => PresenceStatsResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PresenceStatsResult copyWith(void Function(PresenceStatsResult) updates) => super.copyWith((message) => updates(message as PresenceStatsResult)) as PresenceStatsResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PresenceStatsResult copyWith(void Function(PresenceStatsResult) updates) => + super.copyWith((message) => updates(message as PresenceStatsResult)) + as PresenceStatsResult; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static PresenceStatsResult create() => PresenceStatsResult._(); PresenceStatsResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static PresenceStatsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PresenceStatsResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PresenceStatsResult? _defaultInstance; @$pb.TagNumber(1) $core.int get numClients => $_getIZ(0); @$pb.TagNumber(1) - set numClients($core.int v) { $_setUnsignedInt32(0, v); } + set numClients($core.int v) { + $_setUnsignedInt32(0, v); + } + @$pb.TagNumber(1) $core.bool hasNumClients() => $_has(0); @$pb.TagNumber(1) @@ -2952,7 +3645,10 @@ class PresenceStatsResult extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.int get numUsers => $_getIZ(1); @$pb.TagNumber(2) - set numUsers($core.int v) { $_setUnsignedInt32(1, v); } + set numUsers($core.int v) { + $_setUnsignedInt32(1, v); + } + @$pb.TagNumber(2) $core.bool hasNumUsers() => $_has(1); @$pb.TagNumber(2) @@ -2974,40 +3670,53 @@ class StreamPosition extends $pb.GeneratedMessage { return $result; } StreamPosition._() : super(); - factory StreamPosition.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamPosition.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamPosition', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + factory StreamPosition.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory StreamPosition.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'StreamPosition', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) ..aOS(2, _omitFieldNames ? '' : 'epoch') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') StreamPosition clone() => StreamPosition()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamPosition copyWith(void Function(StreamPosition) updates) => super.copyWith((message) => updates(message as StreamPosition)) as StreamPosition; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StreamPosition copyWith(void Function(StreamPosition) updates) => + super.copyWith((message) => updates(message as StreamPosition)) + as StreamPosition; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static StreamPosition create() => StreamPosition._(); StreamPosition createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static StreamPosition getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StreamPosition getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static StreamPosition? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get offset => $_getI64(0); @$pb.TagNumber(1) - set offset($fixnum.Int64 v) { $_setInt64(0, v); } + set offset($fixnum.Int64 v) { + $_setInt64(0, v); + } + @$pb.TagNumber(1) $core.bool hasOffset() => $_has(0); @$pb.TagNumber(1) @@ -3016,7 +3725,10 @@ class StreamPosition extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get epoch => $_getSZ(1); @$pb.TagNumber(2) - set epoch($core.String v) { $_setString(1, v); } + set epoch($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasEpoch() => $_has(1); @$pb.TagNumber(2) @@ -3046,42 +3758,55 @@ class HistoryRequest extends $pb.GeneratedMessage { return $result; } HistoryRequest._() : super(); - factory HistoryRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory HistoryRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HistoryRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) + factory HistoryRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory HistoryRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'HistoryRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'channel') ..a<$core.int>(7, _omitFieldNames ? '' : 'limit', $pb.PbFieldType.O3) - ..aOM(8, _omitFieldNames ? '' : 'since', subBuilder: StreamPosition.create) + ..aOM(8, _omitFieldNames ? '' : 'since', + subBuilder: StreamPosition.create) ..aOB(9, _omitFieldNames ? '' : 'reverse') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') HistoryRequest clone() => HistoryRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - HistoryRequest copyWith(void Function(HistoryRequest) updates) => super.copyWith((message) => updates(message as HistoryRequest)) as HistoryRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + HistoryRequest copyWith(void Function(HistoryRequest) updates) => + super.copyWith((message) => updates(message as HistoryRequest)) + as HistoryRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static HistoryRequest create() => HistoryRequest._(); HistoryRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static HistoryRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static HistoryRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static HistoryRequest? _defaultInstance; @$pb.TagNumber(1) $core.String get channel => $_getSZ(0); @$pb.TagNumber(1) - set channel($core.String v) { $_setString(0, v); } + set channel($core.String v) { + $_setString(0, v); + } + @$pb.TagNumber(1) $core.bool hasChannel() => $_has(0); @$pb.TagNumber(1) @@ -3090,7 +3815,10 @@ class HistoryRequest extends $pb.GeneratedMessage { @$pb.TagNumber(7) $core.int get limit => $_getIZ(1); @$pb.TagNumber(7) - set limit($core.int v) { $_setSignedInt32(1, v); } + set limit($core.int v) { + $_setSignedInt32(1, v); + } + @$pb.TagNumber(7) $core.bool hasLimit() => $_has(1); @$pb.TagNumber(7) @@ -3099,7 +3827,10 @@ class HistoryRequest extends $pb.GeneratedMessage { @$pb.TagNumber(8) StreamPosition get since => $_getN(2); @$pb.TagNumber(8) - set since(StreamPosition v) { setField(8, v); } + set since(StreamPosition v) { + setField(8, v); + } + @$pb.TagNumber(8) $core.bool hasSince() => $_has(2); @$pb.TagNumber(8) @@ -3110,7 +3841,10 @@ class HistoryRequest extends $pb.GeneratedMessage { @$pb.TagNumber(9) $core.bool get reverse => $_getBF(3); @$pb.TagNumber(9) - set reverse($core.bool v) { $_setBool(3, v); } + set reverse($core.bool v) { + $_setBool(3, v); + } + @$pb.TagNumber(9) $core.bool hasReverse() => $_has(3); @$pb.TagNumber(9) @@ -3136,35 +3870,47 @@ class HistoryResult extends $pb.GeneratedMessage { return $result; } HistoryResult._() : super(); - factory HistoryResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory HistoryResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HistoryResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'publications', $pb.PbFieldType.PM, subBuilder: Publication.create) + factory HistoryResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory HistoryResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'HistoryResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'publications', $pb.PbFieldType.PM, + subBuilder: Publication.create) ..aOS(2, _omitFieldNames ? '' : 'epoch') - ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OU6, + defaultOrMaker: $fixnum.Int64.ZERO) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') HistoryResult clone() => HistoryResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - HistoryResult copyWith(void Function(HistoryResult) updates) => super.copyWith((message) => updates(message as HistoryResult)) as HistoryResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + HistoryResult copyWith(void Function(HistoryResult) updates) => + super.copyWith((message) => updates(message as HistoryResult)) + as HistoryResult; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static HistoryResult create() => HistoryResult._(); HistoryResult createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static $pb.PbList createRepeated() => + $pb.PbList(); @$core.pragma('dart2js:noInline') - static HistoryResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static HistoryResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static HistoryResult? _defaultInstance; @$pb.TagNumber(1) @@ -3173,7 +3919,10 @@ class HistoryResult extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get epoch => $_getSZ(1); @$pb.TagNumber(2) - set epoch($core.String v) { $_setString(1, v); } + set epoch($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasEpoch() => $_has(1); @$pb.TagNumber(2) @@ -3182,7 +3931,10 @@ class HistoryResult extends $pb.GeneratedMessage { @$pb.TagNumber(3) $fixnum.Int64 get offset => $_getI64(2); @$pb.TagNumber(3) - set offset($fixnum.Int64 v) { $_setInt64(2, v); } + set offset($fixnum.Int64 v) { + $_setInt64(2, v); + } + @$pb.TagNumber(3) $core.bool hasOffset() => $_has(2); @$pb.TagNumber(3) @@ -3192,23 +3944,30 @@ class HistoryResult extends $pb.GeneratedMessage { class PingRequest extends $pb.GeneratedMessage { factory PingRequest() => create(); PingRequest._() : super(); - factory PingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory PingRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PingRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PingRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PingRequest clone() => PingRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PingRequest copyWith(void Function(PingRequest) updates) => super.copyWith((message) => updates(message as PingRequest)) as PingRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PingRequest copyWith(void Function(PingRequest) updates) => + super.copyWith((message) => updates(message as PingRequest)) + as PingRequest; $pb.BuilderInfo get info_ => _i; @@ -3217,30 +3976,37 @@ class PingRequest extends $pb.GeneratedMessage { PingRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PingRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PingRequest? _defaultInstance; } class PingResult extends $pb.GeneratedMessage { factory PingResult() => create(); PingResult._() : super(); - factory PingResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PingResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PingResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory PingResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PingResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PingResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') PingResult clone() => PingResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PingResult copyWith(void Function(PingResult) updates) => super.copyWith((message) => updates(message as PingResult)) as PingResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PingResult copyWith(void Function(PingResult) updates) => + super.copyWith((message) => updates(message as PingResult)) as PingResult; $pb.BuilderInfo get info_ => _i; @@ -3249,7 +4015,8 @@ class PingResult extends $pb.GeneratedMessage { PingResult createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static PingResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PingResult getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static PingResult? _defaultInstance; } @@ -3268,25 +4035,32 @@ class RPCRequest extends $pb.GeneratedMessage { return $result; } RPCRequest._() : super(); - factory RPCRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RPCRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RPCRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + factory RPCRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RPCRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RPCRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..a<$core.List<$core.int>>( + 1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) ..aOS(2, _omitFieldNames ? '' : 'method') - ..hasRequiredFields = false - ; + ..hasRequiredFields = false; - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RPCRequest clone() => RPCRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RPCRequest copyWith(void Function(RPCRequest) updates) => super.copyWith((message) => updates(message as RPCRequest)) as RPCRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RPCRequest copyWith(void Function(RPCRequest) updates) => + super.copyWith((message) => updates(message as RPCRequest)) as RPCRequest; $pb.BuilderInfo get info_ => _i; @@ -3295,13 +4069,17 @@ class RPCRequest extends $pb.GeneratedMessage { RPCRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RPCRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RPCRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static RPCRequest? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.int> get data => $_getN(0); @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } + set data($core.List<$core.int> v) { + $_setBytes(0, v); + } + @$pb.TagNumber(1) $core.bool hasData() => $_has(0); @$pb.TagNumber(1) @@ -3310,7 +4088,10 @@ class RPCRequest extends $pb.GeneratedMessage { @$pb.TagNumber(2) $core.String get method => $_getSZ(1); @$pb.TagNumber(2) - set method($core.String v) { $_setString(1, v); } + set method($core.String v) { + $_setString(1, v); + } + @$pb.TagNumber(2) $core.bool hasMethod() => $_has(1); @$pb.TagNumber(2) @@ -3328,24 +4109,31 @@ class RPCResult extends $pb.GeneratedMessage { return $result; } RPCResult._() : super(); - factory RPCResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RPCResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RPCResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory RPCResult.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RPCResult.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RPCResult', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..a<$core.List<$core.int>>( + 1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') RPCResult clone() => RPCResult()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RPCResult copyWith(void Function(RPCResult) updates) => super.copyWith((message) => updates(message as RPCResult)) as RPCResult; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RPCResult copyWith(void Function(RPCResult) updates) => + super.copyWith((message) => updates(message as RPCResult)) as RPCResult; $pb.BuilderInfo get info_ => _i; @@ -3354,13 +4142,17 @@ class RPCResult extends $pb.GeneratedMessage { RPCResult createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static RPCResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RPCResult getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RPCResult? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.int> get data => $_getN(0); @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } + set data($core.List<$core.int> v) { + $_setBytes(0, v); + } + @$pb.TagNumber(1) $core.bool hasData() => $_has(0); @$pb.TagNumber(1) @@ -3378,24 +4170,32 @@ class SendRequest extends $pb.GeneratedMessage { return $result; } SendRequest._() : super(); - factory SendRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SendRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SendRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') + factory SendRequest.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SendRequest.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SendRequest', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'centrifugal.centrifuge.protocol'), + createEmptyInstance: create) + ..a<$core.List<$core.int>>( + 1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') SendRequest clone() => SendRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SendRequest copyWith(void Function(SendRequest) updates) => super.copyWith((message) => updates(message as SendRequest)) as SendRequest; + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SendRequest copyWith(void Function(SendRequest) updates) => + super.copyWith((message) => updates(message as SendRequest)) + as SendRequest; $pb.BuilderInfo get info_ => _i; @@ -3404,19 +4204,23 @@ class SendRequest extends $pb.GeneratedMessage { SendRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static SendRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SendRequest getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); static SendRequest? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.int> get data => $_getN(0); @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } + set data($core.List<$core.int> v) { + $_setBytes(0, v); + } + @$pb.TagNumber(1) $core.bool hasData() => $_has(0); @$pb.TagNumber(1) void clearData() => clearField(1); } - const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); +const _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/protobuf/client.pbenum.dart b/lib/src/protobuf/client.pbenum.dart index dd571a0..918f72b 100644 --- a/lib/src/protobuf/client.pbenum.dart +++ b/lib/src/protobuf/client.pbenum.dart @@ -8,4 +8,3 @@ // ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/protobuf/client.pbjson.dart b/lib/src/protobuf/client.pbjson.dart index d4b628b..d68fb81 100644 --- a/lib/src/protobuf/client.pbjson.dart +++ b/lib/src/protobuf/client.pbjson.dart @@ -48,18 +48,102 @@ const Command$json = { '1': 'Command', '2': [ {'1': 'id', '3': 1, '4': 1, '5': 13, '10': 'id'}, - {'1': 'connect', '3': 4, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.ConnectRequest', '10': 'connect'}, - {'1': 'subscribe', '3': 5, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.SubscribeRequest', '10': 'subscribe'}, - {'1': 'unsubscribe', '3': 6, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.UnsubscribeRequest', '10': 'unsubscribe'}, - {'1': 'publish', '3': 7, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.PublishRequest', '10': 'publish'}, - {'1': 'presence', '3': 8, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.PresenceRequest', '10': 'presence'}, - {'1': 'presence_stats', '3': 9, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.PresenceStatsRequest', '10': 'presenceStats'}, - {'1': 'history', '3': 10, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.HistoryRequest', '10': 'history'}, - {'1': 'ping', '3': 11, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.PingRequest', '10': 'ping'}, - {'1': 'send', '3': 12, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.SendRequest', '10': 'send'}, - {'1': 'rpc', '3': 13, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.RPCRequest', '10': 'rpc'}, - {'1': 'refresh', '3': 14, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.RefreshRequest', '10': 'refresh'}, - {'1': 'sub_refresh', '3': 15, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.SubRefreshRequest', '10': 'subRefresh'}, + { + '1': 'connect', + '3': 4, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.ConnectRequest', + '10': 'connect' + }, + { + '1': 'subscribe', + '3': 5, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.SubscribeRequest', + '10': 'subscribe' + }, + { + '1': 'unsubscribe', + '3': 6, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.UnsubscribeRequest', + '10': 'unsubscribe' + }, + { + '1': 'publish', + '3': 7, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.PublishRequest', + '10': 'publish' + }, + { + '1': 'presence', + '3': 8, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.PresenceRequest', + '10': 'presence' + }, + { + '1': 'presence_stats', + '3': 9, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.PresenceStatsRequest', + '10': 'presenceStats' + }, + { + '1': 'history', + '3': 10, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.HistoryRequest', + '10': 'history' + }, + { + '1': 'ping', + '3': 11, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.PingRequest', + '10': 'ping' + }, + { + '1': 'send', + '3': 12, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.SendRequest', + '10': 'send' + }, + { + '1': 'rpc', + '3': 13, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.RPCRequest', + '10': 'rpc' + }, + { + '1': 'refresh', + '3': 14, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.RefreshRequest', + '10': 'refresh' + }, + { + '1': 'sub_refresh', + '3': 15, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.SubRefreshRequest', + '10': 'subRefresh' + }, ], '9': [ {'1': 2, '2': 3}, @@ -93,19 +177,110 @@ const Reply$json = { '1': 'Reply', '2': [ {'1': 'id', '3': 1, '4': 1, '5': 13, '10': 'id'}, - {'1': 'error', '3': 2, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Error', '10': 'error'}, - {'1': 'push', '3': 4, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Push', '10': 'push'}, - {'1': 'connect', '3': 5, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.ConnectResult', '10': 'connect'}, - {'1': 'subscribe', '3': 6, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.SubscribeResult', '10': 'subscribe'}, - {'1': 'unsubscribe', '3': 7, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.UnsubscribeResult', '10': 'unsubscribe'}, - {'1': 'publish', '3': 8, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.PublishResult', '10': 'publish'}, - {'1': 'presence', '3': 9, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.PresenceResult', '10': 'presence'}, - {'1': 'presence_stats', '3': 10, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.PresenceStatsResult', '10': 'presenceStats'}, - {'1': 'history', '3': 11, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.HistoryResult', '10': 'history'}, - {'1': 'ping', '3': 12, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.PingResult', '10': 'ping'}, - {'1': 'rpc', '3': 13, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.RPCResult', '10': 'rpc'}, - {'1': 'refresh', '3': 14, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.RefreshResult', '10': 'refresh'}, - {'1': 'sub_refresh', '3': 15, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.SubRefreshResult', '10': 'subRefresh'}, + { + '1': 'error', + '3': 2, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Error', + '10': 'error' + }, + { + '1': 'push', + '3': 4, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Push', + '10': 'push' + }, + { + '1': 'connect', + '3': 5, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.ConnectResult', + '10': 'connect' + }, + { + '1': 'subscribe', + '3': 6, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.SubscribeResult', + '10': 'subscribe' + }, + { + '1': 'unsubscribe', + '3': 7, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.UnsubscribeResult', + '10': 'unsubscribe' + }, + { + '1': 'publish', + '3': 8, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.PublishResult', + '10': 'publish' + }, + { + '1': 'presence', + '3': 9, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.PresenceResult', + '10': 'presence' + }, + { + '1': 'presence_stats', + '3': 10, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.PresenceStatsResult', + '10': 'presenceStats' + }, + { + '1': 'history', + '3': 11, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.HistoryResult', + '10': 'history' + }, + { + '1': 'ping', + '3': 12, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.PingResult', + '10': 'ping' + }, + { + '1': 'rpc', + '3': 13, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.RPCResult', + '10': 'rpc' + }, + { + '1': 'refresh', + '3': 14, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.RefreshResult', + '10': 'refresh' + }, + { + '1': 'sub_refresh', + '3': 15, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.SubRefreshResult', + '10': 'subRefresh' + }, ], '9': [ {'1': 3, '2': 4}, @@ -138,15 +313,78 @@ const Push$json = { '1': 'Push', '2': [ {'1': 'channel', '3': 2, '4': 1, '5': 9, '10': 'channel'}, - {'1': 'pub', '3': 4, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Publication', '10': 'pub'}, - {'1': 'join', '3': 5, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Join', '10': 'join'}, - {'1': 'leave', '3': 6, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Leave', '10': 'leave'}, - {'1': 'unsubscribe', '3': 7, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Unsubscribe', '10': 'unsubscribe'}, - {'1': 'message', '3': 8, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Message', '10': 'message'}, - {'1': 'subscribe', '3': 9, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Subscribe', '10': 'subscribe'}, - {'1': 'connect', '3': 10, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Connect', '10': 'connect'}, - {'1': 'disconnect', '3': 11, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Disconnect', '10': 'disconnect'}, - {'1': 'refresh', '3': 12, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.Refresh', '10': 'refresh'}, + { + '1': 'pub', + '3': 4, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Publication', + '10': 'pub' + }, + { + '1': 'join', + '3': 5, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Join', + '10': 'join' + }, + { + '1': 'leave', + '3': 6, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Leave', + '10': 'leave' + }, + { + '1': 'unsubscribe', + '3': 7, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Unsubscribe', + '10': 'unsubscribe' + }, + { + '1': 'message', + '3': 8, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Message', + '10': 'message' + }, + { + '1': 'subscribe', + '3': 9, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Subscribe', + '10': 'subscribe' + }, + { + '1': 'connect', + '3': 10, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Connect', + '10': 'connect' + }, + { + '1': 'disconnect', + '3': 11, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Disconnect', + '10': 'disconnect' + }, + { + '1': 'refresh', + '3': 12, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Refresh', + '10': 'refresh' + }, ], '9': [ {'1': 1, '2': 2}, @@ -191,9 +429,23 @@ const Publication$json = { '1': 'Publication', '2': [ {'1': 'data', '3': 4, '4': 1, '5': 12, '10': 'data'}, - {'1': 'info', '3': 5, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.ClientInfo', '10': 'info'}, + { + '1': 'info', + '3': 5, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.ClientInfo', + '10': 'info' + }, {'1': 'offset', '3': 6, '4': 1, '5': 4, '10': 'offset'}, - {'1': 'tags', '3': 7, '4': 3, '5': 11, '6': '.centrifugal.centrifuge.protocol.Publication.TagsEntry', '10': 'tags'}, + { + '1': 'tags', + '3': 7, + '4': 3, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Publication.TagsEntry', + '10': 'tags' + }, ], '3': [Publication_TagsEntry$json], '9': [ @@ -225,7 +477,14 @@ final $typed_data.Uint8List publicationDescriptor = $convert.base64Decode( const Join$json = { '1': 'Join', '2': [ - {'1': 'info', '3': 1, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.ClientInfo', '10': 'info'}, + { + '1': 'info', + '3': 1, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.ClientInfo', + '10': 'info' + }, ], }; @@ -238,7 +497,14 @@ final $typed_data.Uint8List joinDescriptor = $convert.base64Decode( const Leave$json = { '1': 'Leave', '2': [ - {'1': 'info', '3': 1, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.ClientInfo', '10': 'info'}, + { + '1': 'info', + '3': 1, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.ClientInfo', + '10': 'info' + }, ], }; @@ -295,8 +561,8 @@ const Message$json = { }; /// Descriptor for `Message`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List messageDescriptor = $convert.base64Decode( - 'CgdNZXNzYWdlEhIKBGRhdGEYASABKAxSBGRhdGE='); +final $typed_data.Uint8List messageDescriptor = + $convert.base64Decode('CgdNZXNzYWdlEhIKBGRhdGEYASABKAxSBGRhdGE='); @$core.Deprecated('Use connectDescriptor instead') const Connect$json = { @@ -305,7 +571,14 @@ const Connect$json = { {'1': 'client', '3': 1, '4': 1, '5': 9, '10': 'client'}, {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, {'1': 'data', '3': 3, '4': 1, '5': 12, '10': 'data'}, - {'1': 'subs', '3': 4, '4': 3, '5': 11, '6': '.centrifugal.centrifuge.protocol.Connect.SubsEntry', '10': 'subs'}, + { + '1': 'subs', + '3': 4, + '4': 3, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Connect.SubsEntry', + '10': 'subs' + }, {'1': 'expires', '3': 5, '4': 1, '5': 8, '10': 'expires'}, {'1': 'ttl', '3': 6, '4': 1, '5': 13, '10': 'ttl'}, {'1': 'ping', '3': 7, '4': 1, '5': 13, '10': 'ping'}, @@ -321,7 +594,14 @@ const Connect_SubsEntry$json = { '1': 'SubsEntry', '2': [ {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.SubscribeResult', '10': 'value'}, + { + '1': 'value', + '3': 2, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.SubscribeResult', + '10': 'value' + }, ], '7': {'7': true}, }; @@ -371,7 +651,14 @@ const ConnectRequest$json = { '2': [ {'1': 'token', '3': 1, '4': 1, '5': 9, '10': 'token'}, {'1': 'data', '3': 2, '4': 1, '5': 12, '10': 'data'}, - {'1': 'subs', '3': 3, '4': 3, '5': 11, '6': '.centrifugal.centrifuge.protocol.ConnectRequest.SubsEntry', '10': 'subs'}, + { + '1': 'subs', + '3': 3, + '4': 3, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.ConnectRequest.SubsEntry', + '10': 'subs' + }, {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, {'1': 'version', '3': 5, '4': 1, '5': 9, '10': 'version'}, ], @@ -383,7 +670,14 @@ const ConnectRequest_SubsEntry$json = { '1': 'SubsEntry', '2': [ {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.SubscribeRequest', '10': 'value'}, + { + '1': 'value', + '3': 2, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.SubscribeRequest', + '10': 'value' + }, ], '7': {'7': true}, }; @@ -406,7 +700,14 @@ const ConnectResult$json = { {'1': 'expires', '3': 3, '4': 1, '5': 8, '10': 'expires'}, {'1': 'ttl', '3': 4, '4': 1, '5': 13, '10': 'ttl'}, {'1': 'data', '3': 5, '4': 1, '5': 12, '10': 'data'}, - {'1': 'subs', '3': 6, '4': 3, '5': 11, '6': '.centrifugal.centrifuge.protocol.ConnectResult.SubsEntry', '10': 'subs'}, + { + '1': 'subs', + '3': 6, + '4': 3, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.ConnectResult.SubsEntry', + '10': 'subs' + }, {'1': 'ping', '3': 7, '4': 1, '5': 13, '10': 'ping'}, {'1': 'pong', '3': 8, '4': 1, '5': 8, '10': 'pong'}, {'1': 'session', '3': 9, '4': 1, '5': 9, '10': 'session'}, @@ -420,7 +721,14 @@ const ConnectResult_SubsEntry$json = { '1': 'SubsEntry', '2': [ {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.SubscribeResult', '10': 'value'}, + { + '1': 'value', + '3': 2, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.SubscribeResult', + '10': 'value' + }, ], '7': {'7': true}, }; @@ -445,8 +753,8 @@ const RefreshRequest$json = { }; /// Descriptor for `RefreshRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List refreshRequestDescriptor = $convert.base64Decode( - 'Cg5SZWZyZXNoUmVxdWVzdBIUCgV0b2tlbhgBIAEoCVIFdG9rZW4='); +final $typed_data.Uint8List refreshRequestDescriptor = $convert + .base64Decode('Cg5SZWZyZXNoUmVxdWVzdBIUCgV0b2tlbhgBIAEoCVIFdG9rZW4='); @$core.Deprecated('Use refreshResultDescriptor instead') const RefreshResult$json = { @@ -500,7 +808,14 @@ const SubscribeResult$json = { {'1': 'ttl', '3': 2, '4': 1, '5': 13, '10': 'ttl'}, {'1': 'recoverable', '3': 3, '4': 1, '5': 8, '10': 'recoverable'}, {'1': 'epoch', '3': 6, '4': 1, '5': 9, '10': 'epoch'}, - {'1': 'publications', '3': 7, '4': 3, '5': 11, '6': '.centrifugal.centrifuge.protocol.Publication', '10': 'publications'}, + { + '1': 'publications', + '3': 7, + '4': 3, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Publication', + '10': 'publications' + }, {'1': 'recovered', '3': 8, '4': 1, '5': 8, '10': 'recovered'}, {'1': 'offset', '3': 9, '4': 1, '5': 4, '10': 'offset'}, {'1': 'positioned', '3': 10, '4': 1, '5': 8, '10': 'positioned'}, @@ -560,8 +875,9 @@ const UnsubscribeRequest$json = { }; /// Descriptor for `UnsubscribeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unsubscribeRequestDescriptor = $convert.base64Decode( - 'ChJVbnN1YnNjcmliZVJlcXVlc3QSGAoHY2hhbm5lbBgBIAEoCVIHY2hhbm5lbA=='); +final $typed_data.Uint8List unsubscribeRequestDescriptor = + $convert.base64Decode( + 'ChJVbnN1YnNjcmliZVJlcXVlc3QSGAoHY2hhbm5lbBgBIAEoCVIHY2hhbm5lbA=='); @$core.Deprecated('Use unsubscribeResultDescriptor instead') const UnsubscribeResult$json = { @@ -569,8 +885,8 @@ const UnsubscribeResult$json = { }; /// Descriptor for `UnsubscribeResult`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unsubscribeResultDescriptor = $convert.base64Decode( - 'ChFVbnN1YnNjcmliZVJlc3VsdA=='); +final $typed_data.Uint8List unsubscribeResultDescriptor = + $convert.base64Decode('ChFVbnN1YnNjcmliZVJlc3VsdA=='); @$core.Deprecated('Use publishRequestDescriptor instead') const PublishRequest$json = { @@ -592,8 +908,8 @@ const PublishResult$json = { }; /// Descriptor for `PublishResult`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List publishResultDescriptor = $convert.base64Decode( - 'Cg1QdWJsaXNoUmVzdWx0'); +final $typed_data.Uint8List publishResultDescriptor = + $convert.base64Decode('Cg1QdWJsaXNoUmVzdWx0'); @$core.Deprecated('Use presenceRequestDescriptor instead') const PresenceRequest$json = { @@ -611,7 +927,14 @@ final $typed_data.Uint8List presenceRequestDescriptor = $convert.base64Decode( const PresenceResult$json = { '1': 'PresenceResult', '2': [ - {'1': 'presence', '3': 1, '4': 3, '5': 11, '6': '.centrifugal.centrifuge.protocol.PresenceResult.PresenceEntry', '10': 'presence'}, + { + '1': 'presence', + '3': 1, + '4': 3, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.PresenceResult.PresenceEntry', + '10': 'presence' + }, ], '3': [PresenceResult_PresenceEntry$json], }; @@ -621,7 +944,14 @@ const PresenceResult_PresenceEntry$json = { '1': 'PresenceEntry', '2': [ {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.ClientInfo', '10': 'value'}, + { + '1': 'value', + '3': 2, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.ClientInfo', + '10': 'value' + }, ], '7': {'7': true}, }; @@ -642,8 +972,9 @@ const PresenceStatsRequest$json = { }; /// Descriptor for `PresenceStatsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List presenceStatsRequestDescriptor = $convert.base64Decode( - 'ChRQcmVzZW5jZVN0YXRzUmVxdWVzdBIYCgdjaGFubmVsGAEgASgJUgdjaGFubmVs'); +final $typed_data.Uint8List presenceStatsRequestDescriptor = + $convert.base64Decode( + 'ChRQcmVzZW5jZVN0YXRzUmVxdWVzdBIYCgdjaGFubmVsGAEgASgJUgdjaGFubmVs'); @$core.Deprecated('Use presenceStatsResultDescriptor instead') const PresenceStatsResult$json = { @@ -679,7 +1010,14 @@ const HistoryRequest$json = { '2': [ {'1': 'channel', '3': 1, '4': 1, '5': 9, '10': 'channel'}, {'1': 'limit', '3': 7, '4': 1, '5': 5, '10': 'limit'}, - {'1': 'since', '3': 8, '4': 1, '5': 11, '6': '.centrifugal.centrifuge.protocol.StreamPosition', '10': 'since'}, + { + '1': 'since', + '3': 8, + '4': 1, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.StreamPosition', + '10': 'since' + }, {'1': 'reverse', '3': 9, '4': 1, '5': 8, '10': 'reverse'}, ], '9': [ @@ -702,7 +1040,14 @@ final $typed_data.Uint8List historyRequestDescriptor = $convert.base64Decode( const HistoryResult$json = { '1': 'HistoryResult', '2': [ - {'1': 'publications', '3': 1, '4': 3, '5': 11, '6': '.centrifugal.centrifuge.protocol.Publication', '10': 'publications'}, + { + '1': 'publications', + '3': 1, + '4': 3, + '5': 11, + '6': '.centrifugal.centrifuge.protocol.Publication', + '10': 'publications' + }, {'1': 'epoch', '3': 2, '4': 1, '5': 9, '10': 'epoch'}, {'1': 'offset', '3': 3, '4': 1, '5': 4, '10': 'offset'}, ], @@ -720,8 +1065,8 @@ const PingRequest$json = { }; /// Descriptor for `PingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pingRequestDescriptor = $convert.base64Decode( - 'CgtQaW5nUmVxdWVzdA=='); +final $typed_data.Uint8List pingRequestDescriptor = + $convert.base64Decode('CgtQaW5nUmVxdWVzdA=='); @$core.Deprecated('Use pingResultDescriptor instead') const PingResult$json = { @@ -729,8 +1074,8 @@ const PingResult$json = { }; /// Descriptor for `PingResult`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pingResultDescriptor = $convert.base64Decode( - 'CgpQaW5nUmVzdWx0'); +final $typed_data.Uint8List pingResultDescriptor = + $convert.base64Decode('CgpQaW5nUmVzdWx0'); @$core.Deprecated('Use rPCRequestDescriptor instead') const RPCRequest$json = { @@ -755,8 +1100,8 @@ const RPCResult$json = { }; /// Descriptor for `RPCResult`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rPCResultDescriptor = $convert.base64Decode( - 'CglSUENSZXN1bHQSEgoEZGF0YRgBIAEoDFIEZGF0YQ=='); +final $typed_data.Uint8List rPCResultDescriptor = + $convert.base64Decode('CglSUENSZXN1bHQSEgoEZGF0YRgBIAEoDFIEZGF0YQ=='); @$core.Deprecated('Use sendRequestDescriptor instead') const SendRequest$json = { @@ -767,6 +1112,5 @@ const SendRequest$json = { }; /// Descriptor for `SendRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sendRequestDescriptor = $convert.base64Decode( - 'CgtTZW5kUmVxdWVzdBISCgRkYXRhGAEgASgMUgRkYXRh'); - +final $typed_data.Uint8List sendRequestDescriptor = + $convert.base64Decode('CgtTZW5kUmVxdWVzdBISCgRkYXRhGAEgASgMUgRkYXRh'); diff --git a/lib/src/protobuf/client.pbserver.dart b/lib/src/protobuf/client.pbserver.dart index 4139cea..03eb7bf 100644 --- a/lib/src/protobuf/client.pbserver.dart +++ b/lib/src/protobuf/client.pbserver.dart @@ -11,4 +11,3 @@ // ignore_for_file: unnecessary_import, unnecessary_this, unused_import export 'client.pb.dart'; -