diff --git a/lib/base/networking/api/gocast/api_v2.pb.dart b/lib/base/networking/api/gocast/api_v2.pb.dart index cfbe564..fe76f76 100644 --- a/lib/base/networking/api/gocast/api_v2.pb.dart +++ b/lib/base/networking/api/gocast/api_v2.pb.dart @@ -42,22 +42,29 @@ class ChatReaction extends $pb.GeneratedMessage { } ChatReaction._() : super(); - factory ChatReaction.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory ChatReaction.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory ChatReaction.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory ChatReaction.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ChatReaction', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'chatID', $pb.PbFieldType.OU3, - protoName: 'chatID') + protoName: 'chatID', + ) ..a<$core.int>(2, _omitFieldNames ? '' : 'userID', $pb.PbFieldType.OU3, - protoName: 'userID') + protoName: 'userID', + ) ..aOS(3, _omitFieldNames ? '' : 'username') ..aOS(4, _omitFieldNames ? '' : 'emoji') ..hasRequiredFields = false; @@ -152,18 +159,23 @@ class AddressedUser extends $pb.GeneratedMessage { } AddressedUser._() : super(); - factory AddressedUser.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory AddressedUser.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory AddressedUser.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory AddressedUser.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'AddressedUser', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'username') ..hasRequiredFields = false; @@ -282,39 +294,52 @@ class ChatMessage extends $pb.GeneratedMessage { } ChatMessage._() : super(); - factory ChatMessage.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory ChatMessage.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory ChatMessage.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory ChatMessage.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'ChatMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'userID', protoName: 'userID') ..aOS(3, _omitFieldNames ? '' : 'username') ..aOS(4, _omitFieldNames ? '' : 'message')..aOS( 5, _omitFieldNames ? '' : 'sanitizedMessage', - protoName: 'sanitizedMessage') + protoName: 'sanitizedMessage', + ) ..a<$core.int>(6, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..aOS(7, _omitFieldNames ? '' : 'color') ..aOB(8, _omitFieldNames ? '' : 'isVisible', protoName: 'isVisible') ..pc( 9, _omitFieldNames ? '' : 'reactions', $pb.PbFieldType.PM, - subBuilder: ChatReaction.create) + subBuilder: ChatReaction.create, + ) ..pc(10, _omitFieldNames ? '' : 'replies', $pb.PbFieldType.PM, - subBuilder: ChatMessage.create) + subBuilder: ChatMessage.create, + ) ..pc( 11, _omitFieldNames ? '' : 'addressedUsers', $pb.PbFieldType.PM, - protoName: 'addressedUsers', subBuilder: AddressedUser.create) + protoName: 'addressedUsers', + subBuilder: AddressedUser.create, + ) ..aOB(12, _omitFieldNames ? '' : 'isResolved', protoName: 'isResolved') ..aOM<$1.Timestamp>(13, _omitFieldNames ? '' : 'createdAt', - protoName: 'createdAt', subBuilder: $1.Timestamp.create) + protoName: 'createdAt', + subBuilder: $1.Timestamp.create, + ) ..aOB(14, _omitFieldNames ? '' : 'isAdmin', protoName: 'isAdmin') ..hasRequiredFields = false; @@ -497,20 +522,26 @@ class GetChatMessagesRequest extends $pb.GeneratedMessage { } GetChatMessagesRequest._() : super(); - factory GetChatMessagesRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetChatMessagesRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetChatMessagesRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetChatMessagesRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetChatMessagesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -523,7 +554,8 @@ class GetChatMessagesRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetChatMessagesRequest copyWith( - void Function(GetChatMessagesRequest) updates) => + void Function(GetChatMessagesRequest) updates, + ) => super.copyWith((message) => updates(message as GetChatMessagesRequest)) as GetChatMessagesRequest; @@ -569,21 +601,27 @@ class PostChatMessageRequest extends $pb.GeneratedMessage { } PostChatMessageRequest._() : super(); - factory PostChatMessageRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatMessageRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostChatMessageRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatMessageRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostChatMessageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'message') ..a<$core.int>(2, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -596,7 +634,8 @@ class PostChatMessageRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PostChatMessageRequest copyWith( - void Function(PostChatMessageRequest) updates) => + void Function(PostChatMessageRequest) updates, + ) => super.copyWith((message) => updates(message as PostChatMessageRequest)) as PostChatMessageRequest; @@ -658,23 +697,30 @@ class PostChatReactionRequest extends $pb.GeneratedMessage { } PostChatReactionRequest._() : super(); - factory PostChatReactionRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatReactionRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostChatReactionRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatReactionRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostChatReactionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'emoji') ..a<$core.int>(2, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..a<$core.int>(3, _omitFieldNames ? '' : 'chatID', $pb.PbFieldType.OU3, - protoName: 'chatID') + protoName: 'chatID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -687,7 +733,8 @@ class PostChatReactionRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PostChatReactionRequest copyWith( - void Function(PostChatReactionRequest) updates) => + void Function(PostChatReactionRequest) updates, + ) => super.copyWith((message) => updates(message as PostChatReactionRequest)) as PostChatReactionRequest; @@ -761,24 +808,32 @@ class DeleteChatReactionRequest extends $pb.GeneratedMessage { } DeleteChatReactionRequest._() : super(); - factory DeleteChatReactionRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteChatReactionRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory DeleteChatReactionRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteChatReactionRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteChatReactionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..a<$core.int>(2, _omitFieldNames ? '' : 'chatID', $pb.PbFieldType.OU3, - protoName: 'chatID') + protoName: 'chatID', + ) ..a<$core.int>(3, _omitFieldNames ? '' : 'reactionID', $pb.PbFieldType.OU3, - protoName: 'reactionID') + protoName: 'reactionID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -791,7 +846,8 @@ class DeleteChatReactionRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') DeleteChatReactionRequest copyWith( - void Function(DeleteChatReactionRequest) updates) => + void Function(DeleteChatReactionRequest) updates, + ) => super.copyWith((message) => updates(message as DeleteChatReactionRequest)) as DeleteChatReactionRequest; @@ -865,23 +921,30 @@ class PostChatReplyRequest extends $pb.GeneratedMessage { } PostChatReplyRequest._() : super(); - factory PostChatReplyRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatReplyRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostChatReplyRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatReplyRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostChatReplyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'message') ..a<$core.int>(2, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..a<$core.int>(3, _omitFieldNames ? '' : 'chatID', $pb.PbFieldType.OU3, - protoName: 'chatID') + protoName: 'chatID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -963,22 +1026,29 @@ class MarkChatMessageAsResolvedRequest extends $pb.GeneratedMessage { } MarkChatMessageAsResolvedRequest._() : super(); - factory MarkChatMessageAsResolvedRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkChatMessageAsResolvedRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory MarkChatMessageAsResolvedRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkChatMessageAsResolvedRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MarkChatMessageAsResolvedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..a<$core.int>(2, _omitFieldNames ? '' : 'chatID', $pb.PbFieldType.OU3, - protoName: 'chatID') + protoName: 'chatID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -991,10 +1061,11 @@ class MarkChatMessageAsResolvedRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') MarkChatMessageAsResolvedRequest copyWith( - void Function(MarkChatMessageAsResolvedRequest) updates) => + void Function(MarkChatMessageAsResolvedRequest) updates, + ) => super.copyWith( - (message) => updates(message as MarkChatMessageAsResolvedRequest)) - as MarkChatMessageAsResolvedRequest; + (message) => updates(message as MarkChatMessageAsResolvedRequest), + ) as MarkChatMessageAsResolvedRequest; $pb.BuilderInfo get info_ => _i; @@ -1008,7 +1079,8 @@ class MarkChatMessageAsResolvedRequest extends $pb.GeneratedMessage { @$core.pragma('dart2js:noInline') static MarkChatMessageAsResolvedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor( - create); + create, + ); static MarkChatMessageAsResolvedRequest? _defaultInstance; @$pb.TagNumber(1) @@ -1052,22 +1124,29 @@ class MarkChatMessageAsUnresolvedRequest extends $pb.GeneratedMessage { } MarkChatMessageAsUnresolvedRequest._() : super(); - factory MarkChatMessageAsUnresolvedRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkChatMessageAsUnresolvedRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory MarkChatMessageAsUnresolvedRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkChatMessageAsUnresolvedRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MarkChatMessageAsUnresolvedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..a<$core.int>(2, _omitFieldNames ? '' : 'chatID', $pb.PbFieldType.OU3, - protoName: 'chatID') + protoName: 'chatID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1080,10 +1159,11 @@ class MarkChatMessageAsUnresolvedRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') MarkChatMessageAsUnresolvedRequest copyWith( - void Function(MarkChatMessageAsUnresolvedRequest) updates) => - super.copyWith((message) => - updates(message as MarkChatMessageAsUnresolvedRequest)) - as MarkChatMessageAsUnresolvedRequest; + void Function(MarkChatMessageAsUnresolvedRequest) updates, + ) => + super.copyWith( + (message) => updates(message as MarkChatMessageAsUnresolvedRequest), + ) as MarkChatMessageAsUnresolvedRequest; $pb.BuilderInfo get info_ => _i; @@ -1097,7 +1177,8 @@ class MarkChatMessageAsUnresolvedRequest extends $pb.GeneratedMessage { @$core.pragma('dart2js:noInline') static MarkChatMessageAsUnresolvedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor( - create); + create, + ); static MarkChatMessageAsUnresolvedRequest? _defaultInstance; @$pb.TagNumber(1) @@ -1137,20 +1218,26 @@ class GetChatMessagesResponse extends $pb.GeneratedMessage { } GetChatMessagesResponse._() : super(); - factory GetChatMessagesResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetChatMessagesResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetChatMessagesResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetChatMessagesResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetChatMessagesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc(1, _omitFieldNames ? '' : 'messages', $pb.PbFieldType.PM, - subBuilder: ChatMessage.create) + subBuilder: ChatMessage.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1163,7 +1250,8 @@ class GetChatMessagesResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetChatMessagesResponse copyWith( - void Function(GetChatMessagesResponse) updates) => + void Function(GetChatMessagesResponse) updates, + ) => super.copyWith((message) => updates(message as GetChatMessagesResponse)) as GetChatMessagesResponse; @@ -1196,20 +1284,26 @@ class PostChatMessageResponse extends $pb.GeneratedMessage { } PostChatMessageResponse._() : super(); - factory PostChatMessageResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatMessageResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostChatMessageResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatMessageResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostChatMessageResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'message', - subBuilder: ChatMessage.create) + subBuilder: ChatMessage.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1222,7 +1316,8 @@ class PostChatMessageResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PostChatMessageResponse copyWith( - void Function(PostChatMessageResponse) updates) => + void Function(PostChatMessageResponse) updates, + ) => super.copyWith((message) => updates(message as PostChatMessageResponse)) as PostChatMessageResponse; @@ -1266,20 +1361,26 @@ class PostChatReactionResponse extends $pb.GeneratedMessage { } PostChatReactionResponse._() : super(); - factory PostChatReactionResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatReactionResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostChatReactionResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatReactionResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostChatReactionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'reaction', - subBuilder: ChatReaction.create) + subBuilder: ChatReaction.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1292,7 +1393,8 @@ class PostChatReactionResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PostChatReactionResponse copyWith( - void Function(PostChatReactionResponse) updates) => + void Function(PostChatReactionResponse) updates, + ) => super.copyWith((message) => updates(message as PostChatReactionResponse)) as PostChatReactionResponse; @@ -1328,19 +1430,23 @@ class DeleteChatReactionResponse extends $pb.GeneratedMessage { factory DeleteChatReactionResponse() => create(); DeleteChatReactionResponse._() : super(); - factory DeleteChatReactionResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteChatReactionResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory DeleteChatReactionResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteChatReactionResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteChatReactionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -1352,10 +1458,11 @@ class DeleteChatReactionResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') DeleteChatReactionResponse copyWith( - void Function(DeleteChatReactionResponse) updates) => + void Function(DeleteChatReactionResponse) updates, + ) => super.copyWith( - (message) => updates(message as DeleteChatReactionResponse)) - as DeleteChatReactionResponse; + (message) => updates(message as DeleteChatReactionResponse), + ) as DeleteChatReactionResponse; $pb.BuilderInfo get info_ => _i; @@ -1383,20 +1490,26 @@ class PostChatReplyResponse extends $pb.GeneratedMessage { } PostChatReplyResponse._() : super(); - factory PostChatReplyResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatReplyResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostChatReplyResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostChatReplyResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostChatReplyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'reply', - subBuilder: ChatMessage.create) + subBuilder: ChatMessage.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1409,7 +1522,8 @@ class PostChatReplyResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PostChatReplyResponse copyWith( - void Function(PostChatReplyResponse) updates) => + void Function(PostChatReplyResponse) updates, + ) => super.copyWith((message) => updates(message as PostChatReplyResponse)) as PostChatReplyResponse; @@ -1453,20 +1567,26 @@ class MarkChatMessageAsResolvedResponse extends $pb.GeneratedMessage { } MarkChatMessageAsResolvedResponse._() : super(); - factory MarkChatMessageAsResolvedResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkChatMessageAsResolvedResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory MarkChatMessageAsResolvedResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkChatMessageAsResolvedResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MarkChatMessageAsResolvedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'message', - subBuilder: ChatMessage.create) + subBuilder: ChatMessage.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1479,10 +1599,11 @@ class MarkChatMessageAsResolvedResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') MarkChatMessageAsResolvedResponse copyWith( - void Function(MarkChatMessageAsResolvedResponse) updates) => - super.copyWith((message) => - updates(message as MarkChatMessageAsResolvedResponse)) - as MarkChatMessageAsResolvedResponse; + void Function(MarkChatMessageAsResolvedResponse) updates, + ) => + super.copyWith( + (message) => updates(message as MarkChatMessageAsResolvedResponse), + ) as MarkChatMessageAsResolvedResponse; $pb.BuilderInfo get info_ => _i; @@ -1496,7 +1617,8 @@ class MarkChatMessageAsResolvedResponse extends $pb.GeneratedMessage { @$core.pragma('dart2js:noInline') static MarkChatMessageAsResolvedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor( - create); + create, + ); static MarkChatMessageAsResolvedResponse? _defaultInstance; @$pb.TagNumber(1) @@ -1527,20 +1649,25 @@ class MarkChatMessageAsUnresolvedResponse extends $pb.GeneratedMessage { MarkChatMessageAsUnresolvedResponse._() : super(); factory MarkChatMessageAsUnresolvedResponse.fromBuffer( - $core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory MarkChatMessageAsUnresolvedResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkChatMessageAsUnresolvedResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MarkChatMessageAsUnresolvedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'message', - subBuilder: ChatMessage.create) + subBuilder: ChatMessage.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1553,10 +1680,11 @@ class MarkChatMessageAsUnresolvedResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') MarkChatMessageAsUnresolvedResponse copyWith( - void Function(MarkChatMessageAsUnresolvedResponse) updates) => - super.copyWith((message) => - updates(message as MarkChatMessageAsUnresolvedResponse)) - as MarkChatMessageAsUnresolvedResponse; + void Function(MarkChatMessageAsUnresolvedResponse) updates, + ) => + super.copyWith( + (message) => updates(message as MarkChatMessageAsUnresolvedResponse), + ) as MarkChatMessageAsUnresolvedResponse; $pb.BuilderInfo get info_ => _i; @@ -1615,25 +1743,35 @@ class Poll extends $pb.GeneratedMessage { return $result; } Poll._() : super(); - factory Poll.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory Poll.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory Poll.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory Poll.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Poll', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..a<$core.int>(2, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..aOS(3, _omitFieldNames ? '' : 'question') ..aOB(4, _omitFieldNames ? '' : 'active') ..pc( 5, _omitFieldNames ? '' : 'pollOptions', $pb.PbFieldType.PM, - protoName: 'pollOptions', subBuilder: PollOption.create) + protoName: 'pollOptions', + subBuilder: PollOption.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1732,17 +1870,24 @@ class PollOption extends $pb.GeneratedMessage { return $result; } PollOption._() : super(); - factory PollOption.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory PollOption.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PollOption.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory PollOption.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PollOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'answer') ..a<$core.int>(3, _omitFieldNames ? '' : 'votes', $pb.PbFieldType.OU3) @@ -1830,19 +1975,27 @@ class GetPollsRequest extends $pb.GeneratedMessage { return $result; } GetPollsRequest._() : super(); - factory GetPollsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory GetPollsRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetPollsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory GetPollsRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetPollsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1896,22 +2049,31 @@ class PostPollVoteRequest extends $pb.GeneratedMessage { return $result; } PostPollVoteRequest._() : super(); - factory PostPollVoteRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory PostPollVoteRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostPollVoteRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory PostPollVoteRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostPollVoteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..a<$core.int>( 2, _omitFieldNames ? '' : 'pollOptionID', $pb.PbFieldType.OU3, - protoName: 'pollOptionID') + protoName: 'pollOptionID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -1973,19 +2135,27 @@ class GetPollsResponse extends $pb.GeneratedMessage { return $result; } GetPollsResponse._() : super(); - factory GetPollsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory GetPollsResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetPollsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory GetPollsResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetPollsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc(1, _omitFieldNames ? '' : 'polls', $pb.PbFieldType.PM, - subBuilder: Poll.create) + subBuilder: Poll.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -2018,18 +2188,24 @@ class GetPollsResponse extends $pb.GeneratedMessage { class PostPollVoteResponse extends $pb.GeneratedMessage { factory PostPollVoteResponse() => create(); PostPollVoteResponse._() : super(); - factory PostPollVoteResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory PostPollVoteResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostPollVoteResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + + factory PostPollVoteResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostPollVoteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2112,37 +2288,50 @@ class User extends $pb.GeneratedMessage { } User._() : super(); - factory User.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory User.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory User.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory User.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'User', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'lastName', protoName: 'lastName') ..aOS(4, _omitFieldNames ? '' : 'email')..aOS( 5, _omitFieldNames ? '' : 'matriculationNumber', - protoName: 'matriculationNumber') + protoName: 'matriculationNumber', + ) ..aOS(6, _omitFieldNames ? '' : 'lrzID', protoName: 'lrzID') ..a<$core.int>(7, _omitFieldNames ? '' : 'role', $pb.PbFieldType.OU3) ..pc(8, _omitFieldNames ? '' : 'courses', $pb.PbFieldType.PM, - subBuilder: Course.create) + subBuilder: Course.create, + ) ..pc( 9, _omitFieldNames ? '' : 'administeredCourses', $pb.PbFieldType.PM, - protoName: 'administeredCourses', subBuilder: Course.create) + protoName: 'administeredCourses', + subBuilder: Course.create, + ) ..pc(10, _omitFieldNames ? '' : 'pinnedCourses', $pb.PbFieldType.PM, - protoName: 'pinnedCourses', subBuilder: Course.create) + protoName: 'pinnedCourses', + subBuilder: Course.create, + ) ..pc(11, _omitFieldNames ? '' : 'settings', $pb.PbFieldType.PM, - subBuilder: UserSetting.create) + subBuilder: UserSetting.create, + ) ..pc(12, _omitFieldNames ? '' : 'bookmarks', $pb.PbFieldType.PM, - subBuilder: Bookmark.create) + subBuilder: Bookmark.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -2283,22 +2472,28 @@ class UserSetting extends $pb.GeneratedMessage { } UserSetting._() : super(); - factory UserSetting.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory UserSetting.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory UserSetting.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory UserSetting.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'UserSetting', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..e(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: UserSettingType.PREFERRED_NAME, valueOf: UserSettingType.valueOf, - enumValues: UserSettingType.values) + enumValues: UserSettingType.values, + ) ..aOS(4, _omitFieldNames ? '' : 'value') ..hasRequiredFields = false; @@ -2354,19 +2549,23 @@ class GetUserRequest extends $pb.GeneratedMessage { factory GetUserRequest() => create(); GetUserRequest._() : super(); - factory GetUserRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2418,18 +2617,23 @@ class GetUserCoursesRequest extends $pb.GeneratedMessage { } GetUserCoursesRequest._() : super(); - factory GetUserCoursesRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserCoursesRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserCoursesRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserCoursesRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserCoursesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'year', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'term') ..a<$core.int>(3, _omitFieldNames ? '' : 'limit', $pb.PbFieldType.OU3) @@ -2446,7 +2650,8 @@ class GetUserCoursesRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetUserCoursesRequest copyWith( - void Function(GetUserCoursesRequest) updates) => + void Function(GetUserCoursesRequest) updates, + ) => super.copyWith((message) => updates(message as GetUserCoursesRequest)) as GetUserCoursesRequest; @@ -2536,18 +2741,23 @@ class GetUserPinnedRequest extends $pb.GeneratedMessage { } GetUserPinnedRequest._() : super(); - factory GetUserPinnedRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserPinnedRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserPinnedRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserPinnedRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserPinnedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'year', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'term') ..a<$core.int>(3, _omitFieldNames ? '' : 'limit', $pb.PbFieldType.OU3) @@ -2633,19 +2843,23 @@ class GetUserAdminRequest extends $pb.GeneratedMessage { factory GetUserAdminRequest() => create(); GetUserAdminRequest._() : super(); - factory GetUserAdminRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserAdminRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserAdminRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserAdminRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserAdminRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2677,19 +2891,23 @@ class GetUserSettingsRequest extends $pb.GeneratedMessage { factory GetUserSettingsRequest() => create(); GetUserSettingsRequest._() : super(); - factory GetUserSettingsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserSettingsRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserSettingsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserSettingsRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserSettingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -2701,7 +2919,8 @@ class GetUserSettingsRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetUserSettingsRequest copyWith( - void Function(GetUserSettingsRequest) updates) => + void Function(GetUserSettingsRequest) updates, + ) => super.copyWith((message) => updates(message as GetUserSettingsRequest)) as GetUserSettingsRequest; @@ -2731,21 +2950,28 @@ class PatchUserSettingsRequest extends $pb.GeneratedMessage { } PatchUserSettingsRequest._() : super(); - factory PatchUserSettingsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PatchUserSettingsRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PatchUserSettingsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PatchUserSettingsRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PatchUserSettingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc( 1, _omitFieldNames ? '' : 'userSettings', $pb.PbFieldType.PM, - protoName: 'userSettings', subBuilder: UserSetting.create) + protoName: 'userSettings', + subBuilder: UserSetting.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -2758,7 +2984,8 @@ class PatchUserSettingsRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PatchUserSettingsRequest copyWith( - void Function(PatchUserSettingsRequest) updates) => + void Function(PatchUserSettingsRequest) updates, + ) => super.copyWith((message) => updates(message as PatchUserSettingsRequest)) as PatchUserSettingsRequest; @@ -2791,21 +3018,28 @@ class PatchUserSettingsResponse extends $pb.GeneratedMessage { } PatchUserSettingsResponse._() : super(); - factory PatchUserSettingsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PatchUserSettingsResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PatchUserSettingsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PatchUserSettingsResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PatchUserSettingsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc( 1, _omitFieldNames ? '' : 'userSettings', $pb.PbFieldType.PM, - protoName: 'userSettings', subBuilder: UserSetting.create) + protoName: 'userSettings', + subBuilder: UserSetting.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -2818,7 +3052,8 @@ class PatchUserSettingsResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PatchUserSettingsResponse copyWith( - void Function(PatchUserSettingsResponse) updates) => + void Function(PatchUserSettingsResponse) updates, + ) => super.copyWith((message) => updates(message as PatchUserSettingsResponse)) as PatchUserSettingsResponse; @@ -2851,20 +3086,26 @@ class PostPinnedRequest extends $pb.GeneratedMessage { } PostPinnedRequest._() : super(); - factory PostPinnedRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostPinnedRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostPinnedRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostPinnedRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostPinnedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'courseID', $pb.PbFieldType.OU3, - protoName: 'courseID') + protoName: 'courseID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -2917,20 +3158,26 @@ class DeletePinnedRequest extends $pb.GeneratedMessage { } DeletePinnedRequest._() : super(); - factory DeletePinnedRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeletePinnedRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory DeletePinnedRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeletePinnedRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeletePinnedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'courseID', $pb.PbFieldType.OU3, - protoName: 'courseID') + protoName: 'courseID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -2983,18 +3230,23 @@ class GetUserResponse extends $pb.GeneratedMessage { } GetUserResponse._() : super(); - factory GetUserResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'user', subBuilder: User.create) ..hasRequiredFields = false; @@ -3050,20 +3302,26 @@ class GetUserCoursesResponse extends $pb.GeneratedMessage { } GetUserCoursesResponse._() : super(); - factory GetUserCoursesResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserCoursesResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserCoursesResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserCoursesResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserCoursesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc(1, _omitFieldNames ? '' : 'courses', $pb.PbFieldType.PM, - subBuilder: Course.create) + subBuilder: Course.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -3076,7 +3334,8 @@ class GetUserCoursesResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetUserCoursesResponse copyWith( - void Function(GetUserCoursesResponse) updates) => + void Function(GetUserCoursesResponse) updates, + ) => super.copyWith((message) => updates(message as GetUserCoursesResponse)) as GetUserCoursesResponse; @@ -3109,20 +3368,26 @@ class GetUserPinnedResponse extends $pb.GeneratedMessage { } GetUserPinnedResponse._() : super(); - factory GetUserPinnedResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserPinnedResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserPinnedResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserPinnedResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserPinnedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc(1, _omitFieldNames ? '' : 'courses', $pb.PbFieldType.PM, - subBuilder: Course.create) + subBuilder: Course.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -3135,7 +3400,8 @@ class GetUserPinnedResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetUserPinnedResponse copyWith( - void Function(GetUserPinnedResponse) updates) => + void Function(GetUserPinnedResponse) updates, + ) => super.copyWith((message) => updates(message as GetUserPinnedResponse)) as GetUserPinnedResponse; @@ -3168,20 +3434,26 @@ class GetUserAdminResponse extends $pb.GeneratedMessage { } GetUserAdminResponse._() : super(); - factory GetUserAdminResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserAdminResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserAdminResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserAdminResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserAdminResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc(1, _omitFieldNames ? '' : 'courses', $pb.PbFieldType.PM, - subBuilder: Course.create) + subBuilder: Course.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -3226,21 +3498,28 @@ class GetUserSettingsResponse extends $pb.GeneratedMessage { } GetUserSettingsResponse._() : super(); - factory GetUserSettingsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserSettingsResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetUserSettingsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetUserSettingsResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetUserSettingsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc( 1, _omitFieldNames ? '' : 'userSettings', $pb.PbFieldType.PM, - protoName: 'userSettings', subBuilder: UserSetting.create) + protoName: 'userSettings', + subBuilder: UserSetting.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -3253,7 +3532,8 @@ class GetUserSettingsResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetUserSettingsResponse copyWith( - void Function(GetUserSettingsResponse) updates) => + void Function(GetUserSettingsResponse) updates, + ) => super.copyWith((message) => updates(message as GetUserSettingsResponse)) as GetUserSettingsResponse; @@ -3278,19 +3558,23 @@ class PostPinnedResponse extends $pb.GeneratedMessage { factory PostPinnedResponse() => create(); PostPinnedResponse._() : super(); - factory PostPinnedResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostPinnedResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostPinnedResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostPinnedResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostPinnedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -3322,19 +3606,23 @@ class DeletePinnedResponse extends $pb.GeneratedMessage { factory DeletePinnedResponse() => create(); DeletePinnedResponse._() : super(); - factory DeletePinnedResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeletePinnedResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory DeletePinnedResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeletePinnedResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeletePinnedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -3399,27 +3687,37 @@ class Bookmark extends $pb.GeneratedMessage { } Bookmark._() : super(); - factory Bookmark.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Bookmark.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory Bookmark.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Bookmark.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Bookmark', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'description') ..a<$core.int>(3, _omitFieldNames ? '' : 'hours', $pb.PbFieldType.OU3) ..a<$core.int>(4, _omitFieldNames ? '' : 'minutes', $pb.PbFieldType.OU3) ..a<$core.int>(5, _omitFieldNames ? '' : 'seconds', $pb.PbFieldType.OU3)..a< $core.int>(6, _omitFieldNames ? '' : 'userID', $pb.PbFieldType.OU3, - protoName: 'userID')..a<$core.int>( - 7, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'userID', + ) + ..a<$core.int>( + 7, + _omitFieldNames ? '' : 'streamID', + $pb.PbFieldType.OU3, + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -3541,20 +3839,26 @@ class GetBookmarksRequest extends $pb.GeneratedMessage { } GetBookmarksRequest._() : super(); - factory GetBookmarksRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetBookmarksRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetBookmarksRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetBookmarksRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetBookmarksRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -3623,24 +3927,30 @@ class PutBookmarkRequest extends $pb.GeneratedMessage { } PutBookmarkRequest._() : super(); - factory PutBookmarkRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PutBookmarkRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PutBookmarkRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PutBookmarkRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PutBookmarkRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'description') ..a<$core.int>(2, _omitFieldNames ? '' : 'hours', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'minutes', $pb.PbFieldType.OU3) ..a<$core.int>(4, _omitFieldNames ? '' : 'seconds', $pb.PbFieldType.OU3)..a< $core.int>(5, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -3757,24 +4067,30 @@ class PatchBookmarkRequest extends $pb.GeneratedMessage { } PatchBookmarkRequest._() : super(); - factory PatchBookmarkRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PatchBookmarkRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PatchBookmarkRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PatchBookmarkRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PatchBookmarkRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'description') ..a<$core.int>(2, _omitFieldNames ? '' : 'hours', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'minutes', $pb.PbFieldType.OU3) ..a<$core.int>(4, _omitFieldNames ? '' : 'seconds', $pb.PbFieldType.OU3)..a< $core.int>(5, _omitFieldNames ? '' : 'bookmarkID', $pb.PbFieldType.OU3, - protoName: 'bookmarkID') + protoName: 'bookmarkID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -3876,20 +4192,26 @@ class DeleteBookmarkRequest extends $pb.GeneratedMessage { } DeleteBookmarkRequest._() : super(); - factory DeleteBookmarkRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteBookmarkRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory DeleteBookmarkRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteBookmarkRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteBookmarkRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'bookmarkID', $pb.PbFieldType.OU3, - protoName: 'bookmarkID') + protoName: 'bookmarkID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -3902,7 +4224,8 @@ class DeleteBookmarkRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') DeleteBookmarkRequest copyWith( - void Function(DeleteBookmarkRequest) updates) => + void Function(DeleteBookmarkRequest) updates, + ) => super.copyWith((message) => updates(message as DeleteBookmarkRequest)) as DeleteBookmarkRequest; @@ -3944,20 +4267,26 @@ class GetBookmarksResponse extends $pb.GeneratedMessage { } GetBookmarksResponse._() : super(); - factory GetBookmarksResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetBookmarksResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetBookmarksResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetBookmarksResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetBookmarksResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc(1, _omitFieldNames ? '' : 'bookmarks', $pb.PbFieldType.PM, - subBuilder: Bookmark.create) + subBuilder: Bookmark.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -4002,20 +4331,26 @@ class PutBookmarkResponse extends $pb.GeneratedMessage { } PutBookmarkResponse._() : super(); - factory PutBookmarkResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PutBookmarkResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PutBookmarkResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PutBookmarkResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PutBookmarkResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'bookmark', - subBuilder: Bookmark.create) + subBuilder: Bookmark.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -4070,20 +4405,26 @@ class PatchBookmarkResponse extends $pb.GeneratedMessage { } PatchBookmarkResponse._() : super(); - factory PatchBookmarkResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PatchBookmarkResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PatchBookmarkResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PatchBookmarkResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PatchBookmarkResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'bookmark', - subBuilder: Bookmark.create) + subBuilder: Bookmark.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -4096,7 +4437,8 @@ class PatchBookmarkResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PatchBookmarkResponse copyWith( - void Function(PatchBookmarkResponse) updates) => + void Function(PatchBookmarkResponse) updates, + ) => super.copyWith((message) => updates(message as PatchBookmarkResponse)) as PatchBookmarkResponse; @@ -4132,19 +4474,23 @@ class DeleteBookmarkResponse extends $pb.GeneratedMessage { factory DeleteBookmarkResponse() => create(); DeleteBookmarkResponse._() : super(); - factory DeleteBookmarkResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteBookmarkResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory DeleteBookmarkResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteBookmarkResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteBookmarkResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -4156,7 +4502,8 @@ class DeleteBookmarkResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') DeleteBookmarkResponse copyWith( - void Function(DeleteBookmarkResponse) updates) => + void Function(DeleteBookmarkResponse) updates, + ) => super.copyWith((message) => updates(message as DeleteBookmarkResponse)) as DeleteBookmarkResponse; @@ -4202,18 +4549,23 @@ class BannerAlert extends $pb.GeneratedMessage { } BannerAlert._() : super(); - factory BannerAlert.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory BannerAlert.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory BannerAlert.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory BannerAlert.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'BannerAlert', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'startsAt', protoName: 'startsAt') ..aOS(3, _omitFieldNames ? '' : 'expiresAt', protoName: 'expiresAt') @@ -4329,23 +4681,29 @@ class FeatureNotification extends $pb.GeneratedMessage { } FeatureNotification._() : super(); - factory FeatureNotification.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory FeatureNotification.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory FeatureNotification.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory FeatureNotification.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'FeatureNotification', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'Title', protoName: 'Title') ..aOS(3, _omitFieldNames ? '' : 'Body', protoName: 'Body') ..a<$core.int>(4, _omitFieldNames ? '' : 'Target', $pb.PbFieldType.OU3, - protoName: 'Target') + protoName: 'Target', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -4434,18 +4792,23 @@ class PostDeviceTokenRequest extends $pb.GeneratedMessage { } PostDeviceTokenRequest._() : super(); - factory PostDeviceTokenRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostDeviceTokenRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostDeviceTokenRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostDeviceTokenRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostDeviceTokenRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'deviceToken', protoName: 'deviceToken') ..hasRequiredFields = false; @@ -4459,7 +4822,8 @@ class PostDeviceTokenRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PostDeviceTokenRequest copyWith( - void Function(PostDeviceTokenRequest) updates) => + void Function(PostDeviceTokenRequest) updates, + ) => super.copyWith((message) => updates(message as PostDeviceTokenRequest)) as PostDeviceTokenRequest; @@ -4501,18 +4865,23 @@ class DeleteDeviceTokenRequest extends $pb.GeneratedMessage { } DeleteDeviceTokenRequest._() : super(); - factory DeleteDeviceTokenRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteDeviceTokenRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory DeleteDeviceTokenRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteDeviceTokenRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteDeviceTokenRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'deviceToken', protoName: 'deviceToken') ..hasRequiredFields = false; @@ -4526,7 +4895,8 @@ class DeleteDeviceTokenRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') DeleteDeviceTokenRequest copyWith( - void Function(DeleteDeviceTokenRequest) updates) => + void Function(DeleteDeviceTokenRequest) updates, + ) => super.copyWith((message) => updates(message as DeleteDeviceTokenRequest)) as DeleteDeviceTokenRequest; @@ -4560,19 +4930,23 @@ class GetBannerAlertsRequest extends $pb.GeneratedMessage { factory GetBannerAlertsRequest() => create(); GetBannerAlertsRequest._() : super(); - factory GetBannerAlertsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetBannerAlertsRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetBannerAlertsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetBannerAlertsRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetBannerAlertsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -4584,7 +4958,8 @@ class GetBannerAlertsRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetBannerAlertsRequest copyWith( - void Function(GetBannerAlertsRequest) updates) => + void Function(GetBannerAlertsRequest) updates, + ) => super.copyWith((message) => updates(message as GetBannerAlertsRequest)) as GetBannerAlertsRequest; @@ -4606,19 +4981,23 @@ class GetFeatureNotificationsRequest extends $pb.GeneratedMessage { factory GetFeatureNotificationsRequest() => create(); GetFeatureNotificationsRequest._() : super(); - factory GetFeatureNotificationsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetFeatureNotificationsRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetFeatureNotificationsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetFeatureNotificationsRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetFeatureNotificationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -4630,10 +5009,11 @@ class GetFeatureNotificationsRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetFeatureNotificationsRequest copyWith( - void Function(GetFeatureNotificationsRequest) updates) => + void Function(GetFeatureNotificationsRequest) updates, + ) => super.copyWith( - (message) => updates(message as GetFeatureNotificationsRequest)) - as GetFeatureNotificationsRequest; + (message) => updates(message as GetFeatureNotificationsRequest), + ) as GetFeatureNotificationsRequest; $pb.BuilderInfo get info_ => _i; @@ -4654,19 +5034,23 @@ class PostDeviceTokenResponse extends $pb.GeneratedMessage { factory PostDeviceTokenResponse() => create(); PostDeviceTokenResponse._() : super(); - factory PostDeviceTokenResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostDeviceTokenResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PostDeviceTokenResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PostDeviceTokenResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PostDeviceTokenResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -4678,7 +5062,8 @@ class PostDeviceTokenResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') PostDeviceTokenResponse copyWith( - void Function(PostDeviceTokenResponse) updates) => + void Function(PostDeviceTokenResponse) updates, + ) => super.copyWith((message) => updates(message as PostDeviceTokenResponse)) as PostDeviceTokenResponse; @@ -4700,19 +5085,23 @@ class DeleteDeviceTokenResponse extends $pb.GeneratedMessage { factory DeleteDeviceTokenResponse() => create(); DeleteDeviceTokenResponse._() : super(); - factory DeleteDeviceTokenResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteDeviceTokenResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory DeleteDeviceTokenResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory DeleteDeviceTokenResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'DeleteDeviceTokenResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -4724,7 +5113,8 @@ class DeleteDeviceTokenResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') DeleteDeviceTokenResponse copyWith( - void Function(DeleteDeviceTokenResponse) updates) => + void Function(DeleteDeviceTokenResponse) updates, + ) => super.copyWith((message) => updates(message as DeleteDeviceTokenResponse)) as DeleteDeviceTokenResponse; @@ -4754,21 +5144,28 @@ class GetBannerAlertsResponse extends $pb.GeneratedMessage { } GetBannerAlertsResponse._() : super(); - factory GetBannerAlertsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetBannerAlertsResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetBannerAlertsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetBannerAlertsResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetBannerAlertsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc( 1, _omitFieldNames ? '' : 'bannerAlerts', $pb.PbFieldType.PM, - protoName: 'bannerAlerts', subBuilder: BannerAlert.create) + protoName: 'bannerAlerts', + subBuilder: BannerAlert.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -4781,7 +5178,8 @@ class GetBannerAlertsResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetBannerAlertsResponse copyWith( - void Function(GetBannerAlertsResponse) updates) => + void Function(GetBannerAlertsResponse) updates, + ) => super.copyWith((message) => updates(message as GetBannerAlertsResponse)) as GetBannerAlertsResponse; @@ -4814,22 +5212,28 @@ class GetFeatureNotificationsResponse extends $pb.GeneratedMessage { } GetFeatureNotificationsResponse._() : super(); - factory GetFeatureNotificationsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetFeatureNotificationsResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetFeatureNotificationsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetFeatureNotificationsResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetFeatureNotificationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc( 1, _omitFieldNames ? '' : 'featureNotifications', $pb.PbFieldType.PM, protoName: 'featureNotifications', - subBuilder: FeatureNotification.create) + subBuilder: FeatureNotification.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -4842,10 +5246,11 @@ class GetFeatureNotificationsResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetFeatureNotificationsResponse copyWith( - void Function(GetFeatureNotificationsResponse) updates) => + void Function(GetFeatureNotificationsResponse) updates, + ) => super.copyWith( - (message) => updates(message as GetFeatureNotificationsResponse)) - as GetFeatureNotificationsResponse; + (message) => updates(message as GetFeatureNotificationsResponse), + ) as GetFeatureNotificationsResponse; $pb.BuilderInfo get info_ => _i; @@ -4859,7 +5264,8 @@ class GetFeatureNotificationsResponse extends $pb.GeneratedMessage { @$core.pragma('dart2js:noInline') static GetFeatureNotificationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor( - create); + create, + ); static GetFeatureNotificationsResponse? _defaultInstance; @$pb.TagNumber(1) @@ -4938,46 +5344,71 @@ class Course extends $pb.GeneratedMessage { } Course._() : super(); - factory Course.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Course.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory Course.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Course.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Course', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'slug') ..aOM(4, _omitFieldNames ? '' : 'semester', - subBuilder: Semester.create) + subBuilder: Semester.create, + ) ..aOS(5, _omitFieldNames ? '' : 'TUMOnlineIdentifier', - protoName: 'TUMOnlineIdentifier') + protoName: 'TUMOnlineIdentifier', + ) ..aOB(6, _omitFieldNames ? '' : 'VODEnabled', protoName: 'VODEnabled')..aOB( 7, _omitFieldNames ? '' : 'downloadsEnabled', - protoName: 'downloadsEnabled') + protoName: 'downloadsEnabled', + ) ..aOB(8, _omitFieldNames ? '' : 'chatEnabled', protoName: 'chatEnabled')..aOB( 9, _omitFieldNames ? '' : 'anonymousChatEnabled', - protoName: 'anonymousChatEnabled')..aOB( - 10, _omitFieldNames ? '' : 'moderatedChatEnabled', - protoName: 'moderatedChatEnabled')..aOB( - 11, _omitFieldNames ? '' : 'vodChatEnabled', - protoName: 'vodChatEnabled') + protoName: 'anonymousChatEnabled', + ) + ..aOB( + 10, + _omitFieldNames ? '' : 'moderatedChatEnabled', + protoName: 'moderatedChatEnabled', + ) + ..aOB( + 11, + _omitFieldNames ? '' : 'vodChatEnabled', + protoName: 'vodChatEnabled', + ) ..pc(12, _omitFieldNames ? '' : 'streams', $pb.PbFieldType.PM, - subBuilder: Stream.create) + subBuilder: Stream.create, + ) ..aOS(13, _omitFieldNames ? '' : 'cameraPresetPreferences', - protoName: 'cameraPresetPreferences')..aOS( - 14, _omitFieldNames ? '' : 'sourcePreferences', - protoName: 'sourcePreferences') + protoName: 'cameraPresetPreferences', + ) + ..aOS( + 14, + _omitFieldNames ? '' : 'sourcePreferences', + protoName: 'sourcePreferences', + ) ..a<$core.int>( 15, _omitFieldNames ? '' : 'lastRecordingID', $pb.PbFieldType.OU3, - protoName: 'lastRecordingID')..a<$core.int>( - 16, _omitFieldNames ? '' : 'nextLectureID', $pb.PbFieldType.OU3, - protoName: 'nextLectureID') + protoName: 'lastRecordingID', + ) + ..a<$core.int>( + 16, + _omitFieldNames ? '' : 'nextLectureID', + $pb.PbFieldType.OU3, + protoName: 'nextLectureID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -5204,18 +5635,23 @@ class Semester extends $pb.GeneratedMessage { } Semester._() : super(); - factory Semester.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Semester.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory Semester.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Semester.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Semester', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'teachingTerm', protoName: 'teachingTerm') ..a<$core.int>(2, _omitFieldNames ? '' : 'year', $pb.PbFieldType.OU3) ..hasRequiredFields = false; @@ -5291,18 +5727,23 @@ class GetPublicCoursesRequest extends $pb.GeneratedMessage { } GetPublicCoursesRequest._() : super(); - factory GetPublicCoursesRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetPublicCoursesRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetPublicCoursesRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetPublicCoursesRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetPublicCoursesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'year', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'term') ..a<$core.int>(3, _omitFieldNames ? '' : 'limit', $pb.PbFieldType.OU3) @@ -5319,7 +5760,8 @@ class GetPublicCoursesRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetPublicCoursesRequest copyWith( - void Function(GetPublicCoursesRequest) updates) => + void Function(GetPublicCoursesRequest) updates, + ) => super.copyWith((message) => updates(message as GetPublicCoursesRequest)) as GetPublicCoursesRequest; @@ -5389,19 +5831,23 @@ class GetSemestersRequest extends $pb.GeneratedMessage { factory GetSemestersRequest() => create(); GetSemestersRequest._() : super(); - factory GetSemestersRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetSemestersRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetSemestersRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetSemestersRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetSemestersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -5441,20 +5887,26 @@ class GetCourseStreamsRequest extends $pb.GeneratedMessage { } GetCourseStreamsRequest._() : super(); - factory GetCourseStreamsRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetCourseStreamsRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetCourseStreamsRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetCourseStreamsRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetCourseStreamsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'courseID', $pb.PbFieldType.OU3, - protoName: 'courseID') + protoName: 'courseID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -5467,7 +5919,8 @@ class GetCourseStreamsRequest extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetCourseStreamsRequest copyWith( - void Function(GetCourseStreamsRequest) updates) => + void Function(GetCourseStreamsRequest) updates, + ) => super.copyWith((message) => updates(message as GetCourseStreamsRequest)) as GetCourseStreamsRequest; @@ -5509,20 +5962,26 @@ class GetPublicCoursesResponse extends $pb.GeneratedMessage { } GetPublicCoursesResponse._() : super(); - factory GetPublicCoursesResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetPublicCoursesResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetPublicCoursesResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetPublicCoursesResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetPublicCoursesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc(1, _omitFieldNames ? '' : 'courses', $pb.PbFieldType.PM, - subBuilder: Course.create) + subBuilder: Course.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -5535,7 +5994,8 @@ class GetPublicCoursesResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetPublicCoursesResponse copyWith( - void Function(GetPublicCoursesResponse) updates) => + void Function(GetPublicCoursesResponse) updates, + ) => super.copyWith((message) => updates(message as GetPublicCoursesResponse)) as GetPublicCoursesResponse; @@ -5572,22 +6032,29 @@ class GetSemestersResponse extends $pb.GeneratedMessage { } GetSemestersResponse._() : super(); - factory GetSemestersResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetSemestersResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetSemestersResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetSemestersResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetSemestersResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'current', - subBuilder: Semester.create) + subBuilder: Semester.create, + ) ..pc(2, _omitFieldNames ? '' : 'semesters', $pb.PbFieldType.PM, - subBuilder: Semester.create) + subBuilder: Semester.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -5646,20 +6113,26 @@ class GetCourseStreamsResponse extends $pb.GeneratedMessage { } GetCourseStreamsResponse._() : super(); - factory GetCourseStreamsResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetCourseStreamsResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetCourseStreamsResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetCourseStreamsResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetCourseStreamsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc(1, _omitFieldNames ? '' : 'streams', $pb.PbFieldType.PM, - subBuilder: Stream.create) + subBuilder: Stream.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -5672,7 +6145,8 @@ class GetCourseStreamsResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetCourseStreamsResponse copyWith( - void Function(GetCourseStreamsResponse) updates) => + void Function(GetCourseStreamsResponse) updates, + ) => super.copyWith((message) => updates(message as GetCourseStreamsResponse)) as GetCourseStreamsResponse; @@ -5813,58 +6287,79 @@ class Stream extends $pb.GeneratedMessage { } Stream._() : super(); - factory Stream.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Stream.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory Stream.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Stream.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Stream', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU3) ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'description') ..a<$core.int>(4, _omitFieldNames ? '' : 'courseID', $pb.PbFieldType.OU3, - protoName: 'courseID') + protoName: 'courseID', + ) ..aOM<$1.Timestamp>(5, _omitFieldNames ? '' : 'start', - subBuilder: $1.Timestamp.create) + subBuilder: $1.Timestamp.create, + ) ..aOM<$1.Timestamp>(6, _omitFieldNames ? '' : 'end', - subBuilder: $1.Timestamp.create) + subBuilder: $1.Timestamp.create, + ) ..aOB(7, _omitFieldNames ? '' : 'chatEnabled', protoName: 'chatEnabled') ..aOS(8, _omitFieldNames ? '' : 'roomName', protoName: 'roomName') ..aOS(9, _omitFieldNames ? '' : 'roomCode', protoName: 'roomCode')..aOS( 10, _omitFieldNames ? '' : 'eventTypeName', - protoName: 'eventTypeName') + protoName: 'eventTypeName', + ) ..a<$core.int>( 11, _omitFieldNames ? '' : 'TUMOnlineEventID', $pb.PbFieldType.OU3, - protoName: 'TUMOnlineEventID') + protoName: 'TUMOnlineEventID', + ) ..aOS(12, _omitFieldNames ? '' : 'seriesIdentifier', - protoName: 'seriesIdentifier') + protoName: 'seriesIdentifier', + ) ..aOS(13, _omitFieldNames ? '' : 'playlistUrl', protoName: 'playlistUrl')..aOS( 14, _omitFieldNames ? '' : 'playlistUrlPRES', - protoName: 'playlistUrlPRES')..aOS( - 15, _omitFieldNames ? '' : 'playlistUrlCAM', - protoName: 'playlistUrlCAM') + protoName: 'playlistUrlPRES', + ) + ..aOS( + 15, + _omitFieldNames ? '' : 'playlistUrlCAM', + protoName: 'playlistUrlCAM', + ) ..aOB(16, _omitFieldNames ? '' : 'liveNow', protoName: 'liveNow') ..aOM<$1.Timestamp>(17, _omitFieldNames ? '' : 'liveNowTimestamp', - protoName: 'liveNowTimestamp', subBuilder: $1.Timestamp.create) + protoName: 'liveNowTimestamp', + subBuilder: $1.Timestamp.create, + ) ..aOB(18, _omitFieldNames ? '' : 'recording') ..aOB(19, _omitFieldNames ? '' : 'premiere') ..aOB(20, _omitFieldNames ? '' : 'ended') ..a<$core.int>(21, _omitFieldNames ? '' : 'vodViews', $pb.PbFieldType.OU3, - protoName: 'vodViews') + protoName: 'vodViews', + ) ..a<$core.int>( 22, _omitFieldNames ? '' : 'startOffset', $pb.PbFieldType.OU3, - protoName: 'startOffset') + protoName: 'startOffset', + ) ..a<$core.int>(23, _omitFieldNames ? '' : 'endOffset', $pb.PbFieldType.OU3, - protoName: 'endOffset') + protoName: 'endOffset', + ) ..a<$core.int>(28, _omitFieldNames ? '' : 'duration', $pb.PbFieldType.OU3) ..pc(29, _omitFieldNames ? '' : 'downloads', $pb.PbFieldType.PM, - subBuilder: Download.create) + subBuilder: Download.create, + ) ..aOB(30, _omitFieldNames ? '' : 'isPlanned', protoName: 'isPlanned') ..aOB(31, _omitFieldNames ? '' : 'isComingUp', protoName: 'isComingUp') ..aOS(32, _omitFieldNames ? '' : 'HLSUrl', protoName: 'HLSUrl') @@ -6238,20 +6733,26 @@ class GetStreamRequest extends $pb.GeneratedMessage { } GetStreamRequest._() : super(); - factory GetStreamRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetStreamRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetStreamRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetStreamRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetStreamRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -6296,19 +6797,23 @@ class GetNowLiveRequest extends $pb.GeneratedMessage { factory GetNowLiveRequest() => create(); GetNowLiveRequest._() : super(); - factory GetNowLiveRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetNowLiveRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetNowLiveRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetNowLiveRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetNowLiveRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) - ..hasRequiredFields = false; + createEmptyInstance: create, + )..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' @@ -6348,20 +6853,26 @@ class GetThumbsLiveRequest extends $pb.GeneratedMessage { } GetThumbsLiveRequest._() : super(); - factory GetThumbsLiveRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetThumbsLiveRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetThumbsLiveRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetThumbsLiveRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetThumbsLiveRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -6415,20 +6926,26 @@ class GetThumbsVODRequest extends $pb.GeneratedMessage { } GetThumbsVODRequest._() : super(); - factory GetThumbsVODRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetThumbsVODRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetThumbsVODRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetThumbsVODRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetThumbsVODRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -6481,18 +6998,23 @@ class GetStreamResponse extends $pb.GeneratedMessage { } GetStreamResponse._() : super(); - factory GetStreamResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetStreamResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetStreamResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetStreamResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetStreamResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'stream', subBuilder: Stream.create) ..hasRequiredFields = false; @@ -6548,20 +7070,26 @@ class GetNowLiveResponse extends $pb.GeneratedMessage { } GetNowLiveResponse._() : super(); - factory GetNowLiveResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetNowLiveResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetNowLiveResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetNowLiveResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetNowLiveResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..pc(1, _omitFieldNames ? '' : 'stream', $pb.PbFieldType.PM, - subBuilder: Stream.create) + subBuilder: Stream.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -6605,18 +7133,23 @@ class GetThumbsVODResponse extends $pb.GeneratedMessage { } GetThumbsVODResponse._() : super(); - factory GetThumbsVODResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetThumbsVODResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetThumbsVODResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetThumbsVODResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetThumbsVODResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'path') ..hasRequiredFields = false; @@ -6671,18 +7204,23 @@ class GetThumbsLiveResponse extends $pb.GeneratedMessage { } GetThumbsLiveResponse._() : super(); - factory GetThumbsLiveResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetThumbsLiveResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetThumbsLiveResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetThumbsLiveResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetThumbsLiveResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'path') ..hasRequiredFields = false; @@ -6696,7 +7234,8 @@ class GetThumbsLiveResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') GetThumbsLiveResponse copyWith( - void Function(GetThumbsLiveResponse) updates) => + void Function(GetThumbsLiveResponse) updates, + ) => super.copyWith((message) => updates(message as GetThumbsLiveResponse)) as GetThumbsLiveResponse; @@ -6742,18 +7281,23 @@ class Download extends $pb.GeneratedMessage { } Download._() : super(); - factory Download.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Download.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory Download.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Download.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Download', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOS(1, _omitFieldNames ? '' : 'friendlyName', protoName: 'friendlyName') ..aOS(2, _omitFieldNames ? '' : 'downloadURL', protoName: 'downloadURL') ..hasRequiredFields = false; @@ -6829,24 +7373,31 @@ class Progress extends $pb.GeneratedMessage { } Progress._() : super(); - factory Progress.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Progress.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory Progress.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory Progress.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Progress', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.double>(1, _omitFieldNames ? '' : 'progress', $pb.PbFieldType.OF) ..aOB(2, _omitFieldNames ? '' : 'watched') ..a<$core.int>(3, _omitFieldNames ? '' : 'userID', $pb.PbFieldType.OU3, - protoName: 'userID') + protoName: 'userID', + ) ..a<$core.int>(4, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -6932,20 +7483,26 @@ class GetProgressRequest extends $pb.GeneratedMessage { } GetProgressRequest._() : super(); - factory GetProgressRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetProgressRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetProgressRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetProgressRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetProgressRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -7002,21 +7559,27 @@ class PutProgressRequest extends $pb.GeneratedMessage { } PutProgressRequest._() : super(); - factory PutProgressRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PutProgressRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PutProgressRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PutProgressRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PutProgressRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.double>(1, _omitFieldNames ? '' : 'progress', $pb.PbFieldType.OF) ..a<$core.int>(3, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -7081,20 +7644,26 @@ class MarkAsWatchedRequest extends $pb.GeneratedMessage { } MarkAsWatchedRequest._() : super(); - factory MarkAsWatchedRequest.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkAsWatchedRequest.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory MarkAsWatchedRequest.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkAsWatchedRequest.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MarkAsWatchedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..a<$core.int>(1, _omitFieldNames ? '' : 'streamID', $pb.PbFieldType.OU3, - protoName: 'streamID') + protoName: 'streamID', + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -7148,20 +7717,26 @@ class GetProgressResponse extends $pb.GeneratedMessage { } GetProgressResponse._() : super(); - factory GetProgressResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetProgressResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory GetProgressResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory GetProgressResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'GetProgressResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'progress', - subBuilder: Progress.create) + subBuilder: Progress.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -7216,20 +7791,26 @@ class PutProgressResponse extends $pb.GeneratedMessage { } PutProgressResponse._() : super(); - factory PutProgressResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PutProgressResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory PutProgressResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory PutProgressResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'PutProgressResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'progress', - subBuilder: Progress.create) + subBuilder: Progress.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -7284,20 +7865,26 @@ class MarkAsWatchedResponse extends $pb.GeneratedMessage { } MarkAsWatchedResponse._() : super(); - factory MarkAsWatchedResponse.fromBuffer($core.List<$core.int> i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkAsWatchedResponse.fromBuffer( + $core.List<$core.int> i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromBuffer(i, r); - factory MarkAsWatchedResponse.fromJson($core.String i, - [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + factory MarkAsWatchedResponse.fromJson( + $core.String i, [ + $pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY, + ]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'MarkAsWatchedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'protobuf'), - createEmptyInstance: create) + createEmptyInstance: create, + ) ..aOM(1, _omitFieldNames ? '' : 'progress', - subBuilder: Progress.create) + subBuilder: Progress.create, + ) ..hasRequiredFields = false; @$core.Deprecated('Using this can add significant overhead to your binary. ' @@ -7310,7 +7897,8 @@ class MarkAsWatchedResponse extends $pb.GeneratedMessage { 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') MarkAsWatchedResponse copyWith( - void Function(MarkAsWatchedResponse) updates) => + void Function(MarkAsWatchedResponse) updates, + ) => super.copyWith((message) => updates(message as MarkAsWatchedResponse)) as MarkAsWatchedResponse; diff --git a/lib/base/networking/api/gocast/api_v2.pbjson.dart b/lib/base/networking/api/gocast/api_v2.pbjson.dart index 4bd311a..11118b1 100644 --- a/lib/base/networking/api/gocast/api_v2.pbjson.dart +++ b/lib/base/networking/api/gocast/api_v2.pbjson.dart @@ -77,7 +77,7 @@ const ChatMessage$json = { '4': 3, '5': 11, '6': '.protobuf.ChatReaction', - '10': 'reactions' + '10': 'reactions', }, { '1': 'replies', @@ -85,7 +85,7 @@ const ChatMessage$json = { '4': 3, '5': 11, '6': '.protobuf.ChatMessage', - '10': 'replies' + '10': 'replies', }, { '1': 'addressedUsers', @@ -93,7 +93,7 @@ const ChatMessage$json = { '4': 3, '5': 11, '6': '.protobuf.AddressedUser', - '10': 'addressedUsers' + '10': 'addressedUsers', }, {'1': 'isResolved', '3': 12, '4': 1, '5': 8, '10': 'isResolved'}, { @@ -102,7 +102,7 @@ const ChatMessage$json = { '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', - '10': 'createdAt' + '10': 'createdAt', }, {'1': 'isAdmin', '3': 14, '4': 1, '5': 8, '10': 'isAdmin'}, ], @@ -132,7 +132,8 @@ const GetChatMessagesRequest$json = { /// Descriptor for `GetChatMessagesRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getChatMessagesRequestDescriptor = $convert.base64Decode( - 'ChZHZXRDaGF0TWVzc2FnZXNSZXF1ZXN0EhoKCHN0cmVhbUlEGAEgASgNUghzdHJlYW1JRA=='); + 'ChZHZXRDaGF0TWVzc2FnZXNSZXF1ZXN0EhoKCHN0cmVhbUlEGAEgASgNUghzdHJlYW1JRA==', +); @$core.Deprecated('Use postChatMessageRequestDescriptor instead') const PostChatMessageRequest$json = { @@ -235,7 +236,7 @@ const GetChatMessagesResponse$json = { '4': 3, '5': 11, '6': '.protobuf.ChatMessage', - '10': 'messages' + '10': 'messages', }, ], }; @@ -256,7 +257,7 @@ const PostChatMessageResponse$json = { '4': 1, '5': 11, '6': '.protobuf.ChatMessage', - '10': 'message' + '10': 'message', }, ], }; @@ -277,7 +278,7 @@ const PostChatReactionResponse$json = { '4': 1, '5': 11, '6': '.protobuf.ChatReaction', - '10': 'reaction' + '10': 'reaction', }, ], }; @@ -307,7 +308,7 @@ const PostChatReplyResponse$json = { '4': 1, '5': 11, '6': '.protobuf.ChatMessage', - '10': 'reply' + '10': 'reply', }, ], }; @@ -327,7 +328,7 @@ const MarkChatMessageAsResolvedResponse$json = { '4': 1, '5': 11, '6': '.protobuf.ChatMessage', - '10': 'message' + '10': 'message', }, ], }; @@ -348,7 +349,7 @@ const MarkChatMessageAsUnresolvedResponse$json = { '4': 1, '5': 11, '6': '.protobuf.ChatMessage', - '10': 'message' + '10': 'message', }, ], }; @@ -373,7 +374,7 @@ const Poll$json = { '4': 3, '5': 11, '6': '.protobuf.PollOption', - '10': 'pollOptions' + '10': 'pollOptions', }, ], }; @@ -410,7 +411,8 @@ const GetPollsRequest$json = { /// Descriptor for `GetPollsRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getPollsRequestDescriptor = $convert.base64Decode( - 'Cg9HZXRQb2xsc1JlcXVlc3QSGgoIc3RyZWFtSUQYASABKA1SCHN0cmVhbUlE'); + 'Cg9HZXRQb2xsc1JlcXVlc3QSGgoIc3RyZWFtSUQYASABKA1SCHN0cmVhbUlE', +); @$core.Deprecated('Use postPollVoteRequestDescriptor instead') const PostPollVoteRequest$json = { @@ -436,7 +438,7 @@ const GetPollsResponse$json = { '4': 3, '5': 11, '6': '.protobuf.Poll', - '10': 'polls' + '10': 'polls', }, ], }; @@ -468,7 +470,7 @@ const User$json = { '3': 5, '4': 1, '5': 9, - '10': 'matriculationNumber' + '10': 'matriculationNumber', }, {'1': 'lrzID', '3': 6, '4': 1, '5': 9, '10': 'lrzID'}, {'1': 'role', '3': 7, '4': 1, '5': 13, '10': 'role'}, @@ -478,7 +480,7 @@ const User$json = { '4': 3, '5': 11, '6': '.protobuf.Course', - '10': 'courses' + '10': 'courses', }, { '1': 'administeredCourses', @@ -486,7 +488,7 @@ const User$json = { '4': 3, '5': 11, '6': '.protobuf.Course', - '10': 'administeredCourses' + '10': 'administeredCourses', }, { '1': 'pinnedCourses', @@ -494,7 +496,7 @@ const User$json = { '4': 3, '5': 11, '6': '.protobuf.Course', - '10': 'pinnedCourses' + '10': 'pinnedCourses', }, { '1': 'settings', @@ -502,7 +504,7 @@ const User$json = { '4': 3, '5': 11, '6': '.protobuf.UserSetting', - '10': 'settings' + '10': 'settings', }, { '1': 'bookmarks', @@ -510,7 +512,7 @@ const User$json = { '4': 3, '5': 11, '6': '.protobuf.Bookmark', - '10': 'bookmarks' + '10': 'bookmarks', }, ], }; @@ -537,7 +539,7 @@ const UserSetting$json = { '4': 1, '5': 14, '6': '.protobuf.UserSettingType', - '10': 'type' + '10': 'type', }, {'1': 'value', '3': 4, '4': 1, '5': 9, '10': 'value'}, ], @@ -617,7 +619,7 @@ const PatchUserSettingsRequest$json = { '4': 3, '5': 11, '6': '.protobuf.UserSetting', - '10': 'userSettings' + '10': 'userSettings', }, ], }; @@ -638,7 +640,7 @@ const PatchUserSettingsResponse$json = { '4': 3, '5': 11, '6': '.protobuf.UserSetting', - '10': 'userSettings' + '10': 'userSettings', }, ], }; @@ -659,7 +661,8 @@ const PostPinnedRequest$json = { /// Descriptor for `PostPinnedRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List postPinnedRequestDescriptor = $convert.base64Decode( - 'ChFQb3N0UGlubmVkUmVxdWVzdBIaCghjb3Vyc2VJRBgBIAEoDVIIY291cnNlSUQ='); + 'ChFQb3N0UGlubmVkUmVxdWVzdBIaCghjb3Vyc2VJRBgBIAEoDVIIY291cnNlSUQ=', +); @$core.Deprecated('Use deletePinnedRequestDescriptor instead') const DeletePinnedRequest$json = { @@ -672,7 +675,8 @@ const DeletePinnedRequest$json = { /// Descriptor for `DeletePinnedRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List deletePinnedRequestDescriptor = $convert.base64Decode( - 'ChNEZWxldGVQaW5uZWRSZXF1ZXN0EhoKCGNvdXJzZUlEGAEgASgNUghjb3Vyc2VJRA=='); + 'ChNEZWxldGVQaW5uZWRSZXF1ZXN0EhoKCGNvdXJzZUlEGAEgASgNUghjb3Vyc2VJRA==', +); @$core.Deprecated('Use getUserResponseDescriptor instead') const GetUserResponse$json = { @@ -684,7 +688,8 @@ const GetUserResponse$json = { /// Descriptor for `GetUserResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getUserResponseDescriptor = $convert.base64Decode( - 'Cg9HZXRVc2VyUmVzcG9uc2USIgoEdXNlchgBIAEoCzIOLnByb3RvYnVmLlVzZXJSBHVzZXI='); + 'Cg9HZXRVc2VyUmVzcG9uc2USIgoEdXNlchgBIAEoCzIOLnByb3RvYnVmLlVzZXJSBHVzZXI=', +); @$core.Deprecated('Use getUserCoursesResponseDescriptor instead') const GetUserCoursesResponse$json = { @@ -696,7 +701,7 @@ const GetUserCoursesResponse$json = { '4': 3, '5': 11, '6': '.protobuf.Course', - '10': 'courses' + '10': 'courses', }, ], }; @@ -717,7 +722,7 @@ const GetUserPinnedResponse$json = { '4': 3, '5': 11, '6': '.protobuf.Course', - '10': 'courses' + '10': 'courses', }, ], }; @@ -737,7 +742,7 @@ const GetUserAdminResponse$json = { '4': 3, '5': 11, '6': '.protobuf.Course', - '10': 'courses' + '10': 'courses', }, ], }; @@ -757,7 +762,7 @@ const GetUserSettingsResponse$json = { '4': 3, '5': 11, '6': '.protobuf.UserSetting', - '10': 'userSettings' + '10': 'userSettings', }, ], }; @@ -818,7 +823,8 @@ const GetBookmarksRequest$json = { /// Descriptor for `GetBookmarksRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getBookmarksRequestDescriptor = $convert.base64Decode( - 'ChNHZXRCb29rbWFya3NSZXF1ZXN0EhoKCHN0cmVhbUlEGAEgASgNUghzdHJlYW1JRA=='); + 'ChNHZXRCb29rbWFya3NSZXF1ZXN0EhoKCHN0cmVhbUlEGAEgASgNUghzdHJlYW1JRA==', +); @$core.Deprecated('Use putBookmarkRequestDescriptor instead') const PutBookmarkRequest$json = { @@ -879,7 +885,7 @@ const GetBookmarksResponse$json = { '4': 3, '5': 11, '6': '.protobuf.Bookmark', - '10': 'bookmarks' + '10': 'bookmarks', }, ], }; @@ -899,7 +905,7 @@ const PutBookmarkResponse$json = { '4': 1, '5': 11, '6': '.protobuf.Bookmark', - '10': 'bookmark' + '10': 'bookmark', }, ], }; @@ -919,7 +925,7 @@ const PatchBookmarkResponse$json = { '4': 1, '5': 11, '6': '.protobuf.Bookmark', - '10': 'bookmark' + '10': 'bookmark', }, ], }; @@ -1046,7 +1052,7 @@ const GetBannerAlertsResponse$json = { '4': 3, '5': 11, '6': '.protobuf.BannerAlert', - '10': 'bannerAlerts' + '10': 'bannerAlerts', }, ], }; @@ -1067,7 +1073,7 @@ const GetFeatureNotificationsResponse$json = { '4': 3, '5': 11, '6': '.protobuf.FeatureNotification', - '10': 'featureNotifications' + '10': 'featureNotifications', }, ], }; @@ -1092,14 +1098,14 @@ const Course$json = { '4': 1, '5': 11, '6': '.protobuf.Semester', - '10': 'semester' + '10': 'semester', }, { '1': 'TUMOnlineIdentifier', '3': 5, '4': 1, '5': 9, - '10': 'TUMOnlineIdentifier' + '10': 'TUMOnlineIdentifier', }, {'1': 'VODEnabled', '3': 6, '4': 1, '5': 8, '10': 'VODEnabled'}, {'1': 'downloadsEnabled', '3': 7, '4': 1, '5': 8, '10': 'downloadsEnabled'}, @@ -1109,14 +1115,14 @@ const Course$json = { '3': 9, '4': 1, '5': 8, - '10': 'anonymousChatEnabled' + '10': 'anonymousChatEnabled', }, { '1': 'moderatedChatEnabled', '3': 10, '4': 1, '5': 8, - '10': 'moderatedChatEnabled' + '10': 'moderatedChatEnabled', }, {'1': 'vodChatEnabled', '3': 11, '4': 1, '5': 8, '10': 'vodChatEnabled'}, { @@ -1125,21 +1131,21 @@ const Course$json = { '4': 3, '5': 11, '6': '.protobuf.Stream', - '10': 'streams' + '10': 'streams', }, { '1': 'cameraPresetPreferences', '3': 13, '4': 1, '5': 9, - '10': 'cameraPresetPreferences' + '10': 'cameraPresetPreferences', }, { '1': 'sourcePreferences', '3': 14, '4': 1, '5': 9, - '10': 'sourcePreferences' + '10': 'sourcePreferences', }, {'1': 'lastRecordingID', '3': 15, '4': 1, '5': 13, '10': 'lastRecordingID'}, {'1': 'nextLectureID', '3': 16, '4': 1, '5': 13, '10': 'nextLectureID'}, @@ -1211,7 +1217,8 @@ const GetCourseStreamsRequest$json = { /// Descriptor for `GetCourseStreamsRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getCourseStreamsRequestDescriptor = $convert.base64Decode( - 'ChdHZXRDb3Vyc2VTdHJlYW1zUmVxdWVzdBIaCghjb3Vyc2VJRBgBIAEoDVIIY291cnNlSUQ='); + 'ChdHZXRDb3Vyc2VTdHJlYW1zUmVxdWVzdBIaCghjb3Vyc2VJRBgBIAEoDVIIY291cnNlSUQ=', +); @$core.Deprecated('Use getPublicCoursesResponseDescriptor instead') const GetPublicCoursesResponse$json = { @@ -1223,7 +1230,7 @@ const GetPublicCoursesResponse$json = { '4': 3, '5': 11, '6': '.protobuf.Course', - '10': 'courses' + '10': 'courses', }, ], }; @@ -1244,7 +1251,7 @@ const GetSemestersResponse$json = { '4': 1, '5': 11, '6': '.protobuf.Semester', - '10': 'current' + '10': 'current', }, { '1': 'semesters', @@ -1252,7 +1259,7 @@ const GetSemestersResponse$json = { '4': 3, '5': 11, '6': '.protobuf.Semester', - '10': 'semesters' + '10': 'semesters', }, ], }; @@ -1273,7 +1280,7 @@ const GetCourseStreamsResponse$json = { '4': 3, '5': 11, '6': '.protobuf.Stream', - '10': 'streams' + '10': 'streams', }, ], }; @@ -1298,7 +1305,7 @@ const Stream$json = { '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', - '10': 'start' + '10': 'start', }, { '1': 'end', @@ -1306,7 +1313,7 @@ const Stream$json = { '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', - '10': 'end' + '10': 'end', }, {'1': 'chatEnabled', '3': 7, '4': 1, '5': 8, '10': 'chatEnabled'}, {'1': 'roomName', '3': 8, '4': 1, '5': 9, '10': 'roomName'}, @@ -1317,14 +1324,14 @@ const Stream$json = { '3': 11, '4': 1, '5': 13, - '10': 'TUMOnlineEventID' + '10': 'TUMOnlineEventID', }, { '1': 'seriesIdentifier', '3': 12, '4': 1, '5': 9, - '10': 'seriesIdentifier' + '10': 'seriesIdentifier', }, {'1': 'playlistUrl', '3': 13, '4': 1, '5': 9, '10': 'playlistUrl'}, {'1': 'playlistUrlPRES', '3': 14, '4': 1, '5': 9, '10': 'playlistUrlPRES'}, @@ -1336,7 +1343,7 @@ const Stream$json = { '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', - '10': 'liveNowTimestamp' + '10': 'liveNowTimestamp', }, {'1': 'recording', '3': 18, '4': 1, '5': 8, '10': 'recording'}, {'1': 'premiere', '3': 19, '4': 1, '5': 8, '10': 'premiere'}, @@ -1351,7 +1358,7 @@ const Stream$json = { '4': 3, '5': 11, '6': '.protobuf.Download', - '10': 'downloads' + '10': 'downloads', }, {'1': 'isPlanned', '3': 30, '4': 1, '5': 8, '10': 'isPlanned'}, {'1': 'isComingUp', '3': 31, '4': 1, '5': 8, '10': 'isComingUp'}, @@ -1390,7 +1397,8 @@ const GetStreamRequest$json = { /// Descriptor for `GetStreamRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getStreamRequestDescriptor = $convert.base64Decode( - 'ChBHZXRTdHJlYW1SZXF1ZXN0EhoKCHN0cmVhbUlEGAEgASgNUghzdHJlYW1JRA=='); + 'ChBHZXRTdHJlYW1SZXF1ZXN0EhoKCHN0cmVhbUlEGAEgASgNUghzdHJlYW1JRA==', +); @$core.Deprecated('Use getNowLiveRequestDescriptor instead') const GetNowLiveRequest$json = { @@ -1412,7 +1420,8 @@ const GetThumbsLiveRequest$json = { /// Descriptor for `GetThumbsLiveRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getThumbsLiveRequestDescriptor = $convert.base64Decode( - 'ChRHZXRUaHVtYnNMaXZlUmVxdWVzdBIaCghzdHJlYW1JRBgBIAEoDVIIc3RyZWFtSUQ='); + 'ChRHZXRUaHVtYnNMaXZlUmVxdWVzdBIaCghzdHJlYW1JRBgBIAEoDVIIc3RyZWFtSUQ=', +); @$core.Deprecated('Use getThumbsVODRequestDescriptor instead') const GetThumbsVODRequest$json = { @@ -1425,7 +1434,8 @@ const GetThumbsVODRequest$json = { /// Descriptor for `GetThumbsVODRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getThumbsVODRequestDescriptor = $convert.base64Decode( - 'ChNHZXRUaHVtYnNWT0RSZXF1ZXN0EhoKCHN0cmVhbUlEGAEgASgNUghzdHJlYW1JRA=='); + 'ChNHZXRUaHVtYnNWT0RSZXF1ZXN0EhoKCHN0cmVhbUlEGAEgASgNUghzdHJlYW1JRA==', +); @$core.Deprecated('Use getStreamResponseDescriptor instead') const GetStreamResponse$json = { @@ -1437,7 +1447,7 @@ const GetStreamResponse$json = { '4': 1, '5': 11, '6': '.protobuf.Stream', - '10': 'stream' + '10': 'stream', }, ], }; @@ -1457,7 +1467,7 @@ const GetNowLiveResponse$json = { '4': 3, '5': 11, '6': '.protobuf.Stream', - '10': 'stream' + '10': 'stream', }, ], }; @@ -1490,7 +1500,8 @@ const GetThumbsLiveResponse$json = { /// Descriptor for `GetThumbsLiveResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getThumbsLiveResponseDescriptor = $convert.base64Decode( - 'ChVHZXRUaHVtYnNMaXZlUmVzcG9uc2USEgoEcGF0aBgBIAEoCVIEcGF0aA=='); + 'ChVHZXRUaHVtYnNMaXZlUmVzcG9uc2USEgoEcGF0aBgBIAEoCVIEcGF0aA==', +); @$core.Deprecated('Use downloadDescriptor instead') const Download$json = { @@ -1534,7 +1545,8 @@ const GetProgressRequest$json = { /// Descriptor for `GetProgressRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getProgressRequestDescriptor = $convert.base64Decode( - 'ChJHZXRQcm9ncmVzc1JlcXVlc3QSGgoIc3RyZWFtSUQYASABKA1SCHN0cmVhbUlE'); + 'ChJHZXRQcm9ncmVzc1JlcXVlc3QSGgoIc3RyZWFtSUQYASABKA1SCHN0cmVhbUlE', +); @$core.Deprecated('Use putProgressRequestDescriptor instead') const PutProgressRequest$json = { @@ -1561,7 +1573,8 @@ const MarkAsWatchedRequest$json = { /// Descriptor for `MarkAsWatchedRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List markAsWatchedRequestDescriptor = $convert.base64Decode( - 'ChRNYXJrQXNXYXRjaGVkUmVxdWVzdBIaCghzdHJlYW1JRBgBIAEoDVIIc3RyZWFtSUQ='); + 'ChRNYXJrQXNXYXRjaGVkUmVxdWVzdBIaCghzdHJlYW1JRBgBIAEoDVIIc3RyZWFtSUQ=', +); @$core.Deprecated('Use getProgressResponseDescriptor instead') const GetProgressResponse$json = { @@ -1573,7 +1586,7 @@ const GetProgressResponse$json = { '4': 1, '5': 11, '6': '.protobuf.Progress', - '10': 'progress' + '10': 'progress', }, ], }; @@ -1593,7 +1606,7 @@ const PutProgressResponse$json = { '4': 1, '5': 11, '6': '.protobuf.Progress', - '10': 'progress' + '10': 'progress', }, ], }; @@ -1613,7 +1626,7 @@ const MarkAsWatchedResponse$json = { '4': 1, '5': 11, '6': '.protobuf.Progress', - '10': 'progress' + '10': 'progress', }, ], }; diff --git a/lib/base/networking/api/handler/chat_handler.dart b/lib/base/networking/api/handler/chat_handler.dart index a797a4b..d534308 100644 --- a/lib/base/networking/api/handler/chat_handler.dart +++ b/lib/base/networking/api/handler/chat_handler.dart @@ -1,6 +1,4 @@ import 'dart:async'; - -import 'package:fixnum/fixnum.dart'; import 'package:gocast_mobile/base/networking/api/gocast/api_v2.pb.dart'; import 'package:gocast_mobile/base/networking/api/handler/grpc_handler.dart'; import 'package:logger/logger.dart'; @@ -39,8 +37,9 @@ class ChatHandlers { ); } - Future postMessageReaction( - int messageID, int streamID, String emoji) async { + Future postMessageReaction(int messageID, + int streamID, + String emoji,) async { _logger.i('Posting chat reaction'); return _grpcHandler.callGrpcMethod( (client) async { @@ -57,8 +56,9 @@ class ChatHandlers { ); } - Future deleteMessageReaction( - int messageID, int streamID, int reactionID) async { + Future deleteMessageReaction(int messageID, + int streamID, + int reactionID,) async { _logger.i('Deleting chat reaction'); return _grpcHandler.callGrpcMethod( (client) async { @@ -74,8 +74,9 @@ class ChatHandlers { ); } - Future postChatReply( - int messageID, int streamID, String message) async { + Future postChatReply(int messageID, + int streamID, + String message,) async { _logger.i('Posting chat reply'); return _grpcHandler.callGrpcMethod( (client) async { diff --git a/lib/base/networking/api/handler/poll_handler.dart b/lib/base/networking/api/handler/poll_handler.dart index 4265a0b..128b578 100644 --- a/lib/base/networking/api/handler/poll_handler.dart +++ b/lib/base/networking/api/handler/poll_handler.dart @@ -24,13 +24,18 @@ class PollHandlers { Future postPollVote(int streamID, int pollOptionID) async { _logger.i( - 'Posting poll vote for streamID: $streamID, pollOptionID: $pollOptionID'); + 'Posting poll vote for streamID: $streamID, pollOptionID: $pollOptionID', + ); return _grpcHandler.callGrpcMethod( (client) async { await client.postPollVote(PostPollVoteRequest( - streamID: streamID, pollOptionID: pollOptionID)); + streamID: streamID, + pollOptionID: pollOptionID, + ), + ); _logger.i( - 'Poll vote posted successfully for option $pollOptionID in stream $streamID'); + 'Poll vote posted successfully for option $pollOptionID in stream $streamID', + ); // Assuming PostPollVoteResponse doesn't have a field to return, just logging the success }, ); diff --git a/lib/views/chat_view/chat_view.dart b/lib/views/chat_view/chat_view.dart index 3a03748..5abf8a7 100644 --- a/lib/views/chat_view/chat_view.dart +++ b/lib/views/chat_view/chat_view.dart @@ -1,5 +1,4 @@ -import 'package:fixnum/fixnum.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:gocast_mobile/views/chat_view/chat_view_state.dart'; diff --git a/lib/views/chat_view/chat_view_state.dart b/lib/views/chat_view/chat_view_state.dart index 13e261d..b401780 100644 --- a/lib/views/chat_view/chat_view_state.dart +++ b/lib/views/chat_view/chat_view_state.dart @@ -1,15 +1,11 @@ import 'dart:async'; -import 'package:fixnum/fixnum.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:gocast_mobile/models/chat/chat_state_model.dart'; import 'package:gocast_mobile/providers.dart'; import 'package:gocast_mobile/views/chat_view/chat_view.dart'; -import 'package:gocast_mobile/views/chat_view/suggested_streams_list.dart'; -import 'package:gocast_mobile/base/networking/api/gocast/api_v2.pb.dart'; -import 'package:gocast_mobile/views/video_view/video_player.dart'; import 'package:logger/logger.dart'; class ChatViewState extends ConsumerState { diff --git a/lib/views/chat_view/inactive_view.dart b/lib/views/chat_view/inactive_view.dart index d1a22e8..3cb8aee 100644 --- a/lib/views/chat_view/inactive_view.dart +++ b/lib/views/chat_view/inactive_view.dart @@ -1,7 +1,6 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:fixnum/fixnum.dart'; import 'package:gocast_mobile/providers.dart'; import 'package:gocast_mobile/views/chat_view/suggested_streams_list.dart'; import 'package:gocast_mobile/views/video_view/video_player.dart'; @@ -81,7 +80,8 @@ class InactiveViewState extends ConsumerState { Navigator.pushReplacement( context, MaterialPageRoute( - builder: (context) => VideoPlayerPage(stream: stream)), + builder: (context) => VideoPlayerPage(stream: stream), + ), ); }, ), diff --git a/lib/views/chat_view/poll_view.dart b/lib/views/chat_view/poll_view.dart index 48dfd06..e089b22 100644 --- a/lib/views/chat_view/poll_view.dart +++ b/lib/views/chat_view/poll_view.dart @@ -1,4 +1,3 @@ -import 'package:fixnum/fixnum.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:gocast_mobile/views/chat_view/poll_view_state.dart'; diff --git a/lib/views/chat_view/poll_view_state.dart b/lib/views/chat_view/poll_view_state.dart index f2938b5..7e1ee97 100644 --- a/lib/views/chat_view/poll_view_state.dart +++ b/lib/views/chat_view/poll_view_state.dart @@ -196,7 +196,6 @@ class PollViewState extends ConsumerState { Widget _buildActivePollOption( BuildContext context, Poll poll, PollOption option,) { bool isSelected = selectedOptions[poll.id] == option.id; - ThemeData themeData = Theme.of(context); return GestureDetector( onTap: () { setState(() {