From b19c718a2ab6c867f5ca7952a4b2912fd451bfdb Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Tue, 6 May 2025 21:38:46 +0800 Subject: [PATCH] refa: whisper page Signed-off-by: bggRGjQaUbCoE --- lib/common/widgets/badge.dart | 93 +- lib/common/widgets/image/image_view.dart | 3 +- .../widgets/video_card/video_card_h.dart | 7 +- .../video_card/video_card_h_member_video.dart | 11 +- .../widgets/video_card/video_card_v.dart | 33 +- .../video_card/video_card_v_member_home.dart | 5 +- lib/grpc/bilibili/app/im/v1.pb.dart | 6397 +++++++++++++++++ lib/grpc/bilibili/app/im/v1.pbenum.dart | 362 + lib/grpc/bilibili/app/im/v1.pbjson.dart | 1757 +++++ lib/grpc/grpc_repo.dart | 15 +- lib/http/msg.dart | 13 + lib/models/common/badge_type.dart | 12 + lib/pages/article/view.dart | 3 +- lib/pages/bangumi/widgets/bangumi_card_v.dart | 5 +- .../widgets/bangumi_card_v_pgc_index.dart | 3 +- .../widgets/bangumi_card_v_timeline.dart | 3 +- .../dynamics/widgets/live_rcmd_panel.dart | 3 +- lib/pages/dynamics/widgets/video_panel.dart | 5 +- lib/pages/episode_panel/view.dart | 3 +- lib/pages/fav/pgc/widget/item.dart | 2 +- .../fav_detail/widget/fav_video_card.dart | 3 +- lib/pages/history/widgets/item.dart | 3 +- lib/pages/member_coin/widgets/item.dart | 3 +- lib/pages/member_favorite/widget/item.dart | 5 +- .../widget/sub_video_card.dart | 3 +- lib/pages/video/medialist/view.dart | 3 +- .../video/reply/widgets/reply_item_grpc.dart | 22 +- lib/pages/whisper/controller.dart | 75 +- lib/pages/whisper/view.dart | 4 +- lib/pages/whisper/widgets/item.dart | 101 +- 30 files changed, 8764 insertions(+), 193 deletions(-) create mode 100644 lib/grpc/bilibili/app/im/v1.pb.dart create mode 100644 lib/grpc/bilibili/app/im/v1.pbenum.dart create mode 100644 lib/grpc/bilibili/app/im/v1.pbjson.dart create mode 100644 lib/models/common/badge_type.dart diff --git a/lib/common/widgets/badge.dart b/lib/common/widgets/badge.dart index d291adf3..8875b8c3 100644 --- a/lib/common/widgets/badge.dart +++ b/lib/common/widgets/badge.dart @@ -1,21 +1,24 @@ +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/utils/extension.dart'; import 'package:flutter/material.dart'; class PBadge extends StatelessWidget { final String? text; + + final bool isStack; final double? top; final double? right; final double? bottom; final double? left; - final String? type; - final String? size; - final String? stack; - final double? fs; - final String? semanticsLabel; - final bool bold; - final double? textScaleFactor; final EdgeInsets? padding; + final PBadgeType type; + final PBadgeSize size; + + final double fontSize; + final bool isBold; + final double? textScaleFactor; + const PBadge({ super.key, required this.text, @@ -23,12 +26,11 @@ class PBadge extends StatelessWidget { this.right, this.bottom, this.left, - this.type = 'primary', - this.size = 'medium', - this.stack = 'position', - this.fs = 11, - this.semanticsLabel, - this.bold = true, + this.type = PBadgeType.primary, + this.size = PBadgeSize.medium, + this.isStack = true, + this.fontSize = 11, + this.isBold = true, this.textScaleFactor, this.padding, }); @@ -40,37 +42,39 @@ class PBadge extends StatelessWidget { } ColorScheme theme = Theme.of(context).colorScheme; - // 背景色 - Color bgColor = theme.primary; - // 前景色 - Color color = theme.onPrimary; - // 边框色 + + Color bgColor; + Color color; Color borderColor = Colors.transparent; - if (type == 'gray') { - bgColor = Colors.black45; - color = Colors.white; - } else if (type == 'color') { - bgColor = theme.secondaryContainer.withOpacity(0.5); - color = theme.onSecondaryContainer; - } else if (type == 'line') { - bgColor = Colors.transparent; - color = theme.primary; - borderColor = theme.primary; - } else if (type == 'error') { - bgColor = theme.error; - color = theme.onError; + + switch (type) { + case PBadgeType.primary: + bgColor = theme.primary; + color = theme.onPrimary; + case PBadgeType.secondary: + bgColor = theme.secondaryContainer.withOpacity(0.5); + color = theme.onSecondaryContainer; + case PBadgeType.gray: + bgColor = Colors.black45; + color = Colors.white; + case PBadgeType.error: + bgColor = theme.error; + color = theme.onError; + case PBadgeType.line_primary: + color = theme.primary; + bgColor = Colors.transparent; + borderColor = theme.primary; + case PBadgeType.line_secondary: + color = theme.secondary; + bgColor = Colors.transparent; + borderColor = theme.secondary; } late EdgeInsets paddingStyle = const EdgeInsets.symmetric(vertical: 2, horizontal: 3); - double fontSize = 11; - BorderRadius br = const BorderRadius.all(Radius.circular(4)); - - if (size == 'small') { - paddingStyle = const EdgeInsets.symmetric(vertical: 2, horizontal: 3); - fontSize = 11; - br = const BorderRadius.all(Radius.circular(3)); - } + BorderRadius br = size == PBadgeSize.small + ? const BorderRadius.all(Radius.circular(3)) + : const BorderRadius.all(Radius.circular(4)); Widget content = Container( padding: padding ?? paddingStyle, @@ -86,20 +90,19 @@ class PBadge extends StatelessWidget { : null, style: TextStyle( height: 1, - fontSize: fs ?? fontSize, + fontSize: fontSize, color: color, - fontWeight: bold ? FontWeight.bold : null, + fontWeight: isBold ? FontWeight.bold : null, ), strutStyle: StrutStyle( leading: 0, height: 1, - fontSize: fs ?? fontSize, - fontWeight: bold ? FontWeight.bold : null, + fontSize: fontSize, + fontWeight: isBold ? FontWeight.bold : null, ), - semanticsLabel: semanticsLabel, ), ); - if (stack == 'position') { + if (isStack) { return Positioned( top: top, left: left, diff --git a/lib/common/widgets/image/image_view.dart b/lib/common/widgets/image/image_view.dart index d490ce85..2b7be4c6 100644 --- a/lib/common/widgets/image/image_view.dart +++ b/lib/common/widgets/image/image_view.dart @@ -4,6 +4,7 @@ import 'package:PiliPlus/common/constants.dart'; import 'package:PiliPlus/common/widgets/badge.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/common/widgets/image/nine_grid_view.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/common/image_preview_type.dart'; import 'package:PiliPlus/utils/extension.dart'; import 'package:PiliPlus/utils/storage.dart'; @@ -168,7 +169,7 @@ Widget imageView( text: 'Live', right: 8, bottom: 8, - type: 'gray', + type: PBadgeType.gray, ) else if (picArr[index].isLongPic) const PBadge( diff --git a/lib/common/widgets/video_card/video_card_h.dart b/lib/common/widgets/video_card/video_card_h.dart index 448a4b31..94ca237b 100644 --- a/lib/common/widgets/video_card/video_card_h.dart +++ b/lib/common/widgets/video_card/video_card_h.dart @@ -6,6 +6,7 @@ import 'package:PiliPlus/common/widgets/progress_bar/video_progress_indicator.da import 'package:PiliPlus/common/widgets/stat/stat.dart'; import 'package:PiliPlus/common/widgets/video_popup_menu.dart'; import 'package:PiliPlus/http/search.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/model_hot_video_item.dart'; import 'package:PiliPlus/models/model_video.dart'; import 'package:PiliPlus/models/search/result.dart'; @@ -158,7 +159,7 @@ class VideoCardH extends StatelessWidget { : '${Utils.timeFormat(progress)}/${Utils.timeFormat(videoItem.duration)}', right: 6, bottom: 8, - type: 'gray', + type: PBadgeType.gray, ), Positioned( left: 0, @@ -175,14 +176,14 @@ class VideoCardH extends StatelessWidget { text: Utils.timeFormat(videoItem.duration), right: 6.0, bottom: 6.0, - type: 'gray', + type: PBadgeType.gray, ), if (type != 'video') PBadge( text: type, left: 6.0, bottom: 6.0, - type: 'primary', + type: PBadgeType.primary, ), ], ); diff --git a/lib/common/widgets/video_card/video_card_h_member_video.dart b/lib/common/widgets/video_card/video_card_h_member_video.dart index 8141d884..3ea65f45 100644 --- a/lib/common/widgets/video_card/video_card_h_member_video.dart +++ b/lib/common/widgets/video_card/video_card_h_member_video.dart @@ -5,6 +5,7 @@ import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/common/widgets/progress_bar/video_progress_indicator.dart'; import 'package:PiliPlus/common/widgets/stat/stat.dart'; import 'package:PiliPlus/common/widgets/video_popup_menu.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/space_archive/item.dart'; import 'package:PiliPlus/utils/page_utils.dart'; import 'package:PiliPlus/utils/utils.dart'; @@ -112,8 +113,8 @@ class VideoCardHMemberVideo extends StatelessWidget { right: 6.0, top: 6.0, type: videoItem.badges!.first.text == '充电专属' - ? 'error' - : 'primary', + ? PBadgeType.error + : PBadgeType.primary, ), if (videoItem.history != null) ...[ Builder(builder: (context) { @@ -140,7 +141,7 @@ class VideoCardHMemberVideo extends StatelessWidget { : '${Utils.timeFormat(videoItem.history!['progress'])}/${Utils.timeFormat(videoItem.history!['duration'])}', right: 6.0, bottom: 6.0, - type: 'gray', + type: PBadgeType.gray, ); } catch (_) { return PBadge( @@ -148,7 +149,7 @@ class VideoCardHMemberVideo extends StatelessWidget { Utils.timeFormat(videoItem.duration), right: 6.0, bottom: 6.0, - type: 'gray', + type: PBadgeType.gray, ); } }), @@ -157,7 +158,7 @@ class VideoCardHMemberVideo extends StatelessWidget { text: Utils.timeFormat(videoItem.duration), right: 6.0, bottom: 6.0, - type: 'gray', + type: PBadgeType.gray, ), ], ); diff --git a/lib/common/widgets/video_card/video_card_v.dart b/lib/common/widgets/video_card/video_card_v.dart index bf49edba..625cb3e0 100644 --- a/lib/common/widgets/video_card/video_card_v.dart +++ b/lib/common/widgets/video_card/video_card_v.dart @@ -5,6 +5,7 @@ import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/common/widgets/stat/stat.dart'; import 'package:PiliPlus/common/widgets/video_popup_menu.dart'; import 'package:PiliPlus/http/search.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/home/rcmd/result.dart'; import 'package:PiliPlus/models/model_rec_video_item.dart'; import 'package:PiliPlus/utils/app_scheme.dart'; @@ -127,8 +128,8 @@ class VideoCardV extends StatelessWidget { PBadge( bottom: 6, right: 7, - size: 'small', - type: 'gray', + size: PBadgeSize.small, + type: PBadgeType.gray, text: Utils.timeFormat(videoItem.duration), ) ], @@ -180,38 +181,38 @@ class VideoCardV extends StatelessWidget { if (videoItem.goto == 'bangumi') ...[ PBadge( text: videoItem.bangumiBadge, - stack: 'normal', - size: 'small', - type: 'line', - fs: 9, + isStack: false, + size: PBadgeSize.small, + type: PBadgeType.line_primary, + fontSize: 9, ), const SizedBox(width: 2), ], if (videoItem.rcmdReason != null) ...[ PBadge( text: videoItem.rcmdReason, - stack: 'normal', - size: 'small', - type: 'color', + isStack: false, + size: PBadgeSize.small, + type: PBadgeType.secondary, ), const SizedBox(width: 2), ], if (videoItem.goto == 'picture') ...[ const PBadge( text: '动态', - stack: 'normal', - size: 'small', - type: 'line', - fs: 9, + isStack: false, + size: PBadgeSize.small, + type: PBadgeType.line_primary, + fontSize: 9, ), const SizedBox(width: 2), ], if (videoItem.isFollowed) ...[ const PBadge( text: '已关注', - stack: 'normal', - size: 'small', - type: 'color', + isStack: false, + size: PBadgeSize.small, + type: PBadgeType.secondary, ), const SizedBox(width: 2), ], diff --git a/lib/common/widgets/video_card/video_card_v_member_home.dart b/lib/common/widgets/video_card/video_card_v_member_home.dart index c3d9efb8..18bbddfe 100644 --- a/lib/common/widgets/video_card/video_card_v_member_home.dart +++ b/lib/common/widgets/video_card/video_card_v_member_home.dart @@ -3,6 +3,7 @@ import 'package:PiliPlus/common/widgets/badge.dart'; import 'package:PiliPlus/common/widgets/image/image_save.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/http/search.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/space/item.dart'; import 'package:PiliPlus/utils/app_scheme.dart'; import 'package:PiliPlus/utils/id_utils.dart'; @@ -85,8 +86,8 @@ class VideoCardVMemberHome extends StatelessWidget { PBadge( bottom: 6, right: 7, - size: 'small', - type: 'gray', + size: PBadgeSize.small, + type: PBadgeType.gray, text: Utils.timeFormat(videoItem.duration), ) ], diff --git a/lib/grpc/bilibili/app/im/v1.pb.dart b/lib/grpc/bilibili/app/im/v1.pb.dart new file mode 100644 index 00000000..53a3f47e --- /dev/null +++ b/lib/grpc/bilibili/app/im/v1.pb.dart @@ -0,0 +1,6397 @@ +// +// Generated code. Do not modify. +// source: bilibili/app/im/v1.proto +// +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; + +import '../../account/service/v1.pb.dart' as $1; +import '../../dagw/component/avatar/v1.pb.dart' as $0; +import 'v1.pbenum.dart'; + +export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; + +export 'v1.pbenum.dart'; + +class AirDropShareUserInfo extends $pb.GeneratedMessage { + factory AirDropShareUserInfo({ + $fixnum.Int64? mid, + $core.String? face, + $core.String? url, + $core.String? name, + }) { + final $result = create(); + if (mid != null) { + $result.mid = mid; + } + if (face != null) { + $result.face = face; + } + if (url != null) { + $result.url = url; + } + if (name != null) { + $result.name = name; + } + return $result; + } + AirDropShareUserInfo._() : super(); + factory AirDropShareUserInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AirDropShareUserInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AirDropShareUserInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'mid') + ..aOS(2, _omitFieldNames ? '' : 'face') + ..aOS(3, _omitFieldNames ? '' : 'url') + ..aOS(4, _omitFieldNames ? '' : 'name') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AirDropShareUserInfo clone() => AirDropShareUserInfo()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AirDropShareUserInfo copyWith(void Function(AirDropShareUserInfo) updates) => super.copyWith((message) => updates(message as AirDropShareUserInfo)) as AirDropShareUserInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AirDropShareUserInfo create() => AirDropShareUserInfo._(); + AirDropShareUserInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AirDropShareUserInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AirDropShareUserInfo? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get mid => $_getI64(0); + @$pb.TagNumber(1) + set mid($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasMid() => $_has(0); + @$pb.TagNumber(1) + void clearMid() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get face => $_getSZ(1); + @$pb.TagNumber(2) + set face($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasFace() => $_has(1); + @$pb.TagNumber(2) + void clearFace() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get url => $_getSZ(2); + @$pb.TagNumber(3) + set url($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasUrl() => $_has(2); + @$pb.TagNumber(3) + void clearUrl() => $_clearField(3); + + @$pb.TagNumber(4) + $core.String get name => $_getSZ(3); + @$pb.TagNumber(4) + set name($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasName() => $_has(3); + @$pb.TagNumber(4) + void clearName() => $_clearField(4); +} + +class AirDropToImReply extends $pb.GeneratedMessage { + factory AirDropToImReply({ + $core.Iterable? userInfos, + }) { + final $result = create(); + if (userInfos != null) { + $result.userInfos.addAll(userInfos); + } + return $result; + } + AirDropToImReply._() : super(); + factory AirDropToImReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AirDropToImReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AirDropToImReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'userInfos', $pb.PbFieldType.PM, subBuilder: AirDropShareUserInfo.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AirDropToImReply clone() => AirDropToImReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AirDropToImReply copyWith(void Function(AirDropToImReply) updates) => super.copyWith((message) => updates(message as AirDropToImReply)) as AirDropToImReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AirDropToImReply create() => AirDropToImReply._(); + AirDropToImReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AirDropToImReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AirDropToImReply? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get userInfos => $_getList(0); +} + +class AirDropToImReq extends $pb.GeneratedMessage { + factory AirDropToImReq({ + AirDropFrom? adf, + }) { + final $result = create(); + if (adf != null) { + $result.adf = adf; + } + return $result; + } + AirDropToImReq._() : super(); + factory AirDropToImReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AirDropToImReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AirDropToImReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'adf', $pb.PbFieldType.OE, defaultOrMaker: AirDropFrom.ADF_UNKNOWN, valueOf: AirDropFrom.valueOf, enumValues: AirDropFrom.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AirDropToImReq clone() => AirDropToImReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AirDropToImReq copyWith(void Function(AirDropToImReq) updates) => super.copyWith((message) => updates(message as AirDropToImReq)) as AirDropToImReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AirDropToImReq create() => AirDropToImReq._(); + AirDropToImReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AirDropToImReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AirDropToImReq? _defaultInstance; + + @$pb.TagNumber(1) + AirDropFrom get adf => $_getN(0); + @$pb.TagNumber(1) + set adf(AirDropFrom v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasAdf() => $_has(0); + @$pb.TagNumber(1) + void clearAdf() => $_clearField(1); +} + +class AutoReplyToast extends $pb.GeneratedMessage { + factory AutoReplyToast({ + $core.String? title, + $core.String? url, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (url != null) { + $result.url = url; + } + return $result; + } + AutoReplyToast._() : super(); + factory AutoReplyToast.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AutoReplyToast.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AutoReplyToast', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'url') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AutoReplyToast clone() => AutoReplyToast()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AutoReplyToast copyWith(void Function(AutoReplyToast) updates) => super.copyWith((message) => updates(message as AutoReplyToast)) as AutoReplyToast; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AutoReplyToast create() => AutoReplyToast._(); + AutoReplyToast createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AutoReplyToast getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AutoReplyToast? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get title => $_getSZ(0); + @$pb.TagNumber(1) + set title($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasTitle() => $_has(0); + @$pb.TagNumber(1) + void clearTitle() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get url => $_getSZ(1); + @$pb.TagNumber(2) + set url($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasUrl() => $_has(1); + @$pb.TagNumber(2) + void clearUrl() => $_clearField(2); +} + +class BehaviorAlertToast extends $pb.GeneratedMessage { + factory BehaviorAlertToast({ + $core.String? title, + $core.String? content, + $core.String? typeStr, + AlertToastType? type, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (content != null) { + $result.content = content; + } + if (typeStr != null) { + $result.typeStr = typeStr; + } + if (type != null) { + $result.type = type; + } + return $result; + } + BehaviorAlertToast._() : super(); + factory BehaviorAlertToast.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BehaviorAlertToast.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BehaviorAlertToast', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'content') + ..aOS(3, _omitFieldNames ? '' : 'typeStr') + ..e(4, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: AlertToastType.ALERT_TOAST_TYPE_UNSPECIFIED, valueOf: AlertToastType.valueOf, enumValues: AlertToastType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BehaviorAlertToast clone() => BehaviorAlertToast()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BehaviorAlertToast copyWith(void Function(BehaviorAlertToast) updates) => super.copyWith((message) => updates(message as BehaviorAlertToast)) as BehaviorAlertToast; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BehaviorAlertToast create() => BehaviorAlertToast._(); + BehaviorAlertToast createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BehaviorAlertToast getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BehaviorAlertToast? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get title => $_getSZ(0); + @$pb.TagNumber(1) + set title($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasTitle() => $_has(0); + @$pb.TagNumber(1) + void clearTitle() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get content => $_getSZ(1); + @$pb.TagNumber(2) + set content($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasContent() => $_has(1); + @$pb.TagNumber(2) + void clearContent() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get typeStr => $_getSZ(2); + @$pb.TagNumber(3) + set typeStr($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasTypeStr() => $_has(2); + @$pb.TagNumber(3) + void clearTypeStr() => $_clearField(3); + + @$pb.TagNumber(4) + AlertToastType get type => $_getN(3); + @$pb.TagNumber(4) + set type(AlertToastType v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasType() => $_has(3); + @$pb.TagNumber(4) + void clearType() => $_clearField(4); +} + +class BorderedLabel extends $pb.GeneratedMessage { + factory BorderedLabel({ + $core.String? icon, + $core.String? text, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (text != null) { + $result.text = text; + } + return $result; + } + BorderedLabel._() : super(); + factory BorderedLabel.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BorderedLabel.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BorderedLabel', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'text') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BorderedLabel clone() => BorderedLabel()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BorderedLabel copyWith(void Function(BorderedLabel) updates) => super.copyWith((message) => updates(message as BorderedLabel)) as BorderedLabel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BorderedLabel create() => BorderedLabel._(); + BorderedLabel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BorderedLabel getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BorderedLabel? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get icon => $_getSZ(0); + @$pb.TagNumber(1) + set icon($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasIcon() => $_has(0); + @$pb.TagNumber(1) + void clearIcon() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get text => $_getSZ(1); + @$pb.TagNumber(2) + set text($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasText() => $_has(1); + @$pb.TagNumber(2) + void clearText() => $_clearField(2); +} + +class CancelInterceptInDustbinReply extends $pb.GeneratedMessage { + factory CancelInterceptInDustbinReply() => create(); + CancelInterceptInDustbinReply._() : super(); + factory CancelInterceptInDustbinReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CancelInterceptInDustbinReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelInterceptInDustbinReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CancelInterceptInDustbinReply clone() => CancelInterceptInDustbinReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CancelInterceptInDustbinReply copyWith(void Function(CancelInterceptInDustbinReply) updates) => super.copyWith((message) => updates(message as CancelInterceptInDustbinReply)) as CancelInterceptInDustbinReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CancelInterceptInDustbinReply create() => CancelInterceptInDustbinReply._(); + CancelInterceptInDustbinReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CancelInterceptInDustbinReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CancelInterceptInDustbinReply? _defaultInstance; +} + +class CancelInterceptInDustbinReq extends $pb.GeneratedMessage { + factory CancelInterceptInDustbinReq({ + SessionId? sessionId, + }) { + final $result = create(); + if (sessionId != null) { + $result.sessionId = sessionId; + } + return $result; + } + CancelInterceptInDustbinReq._() : super(); + factory CancelInterceptInDustbinReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CancelInterceptInDustbinReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelInterceptInDustbinReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'sessionId', subBuilder: SessionId.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CancelInterceptInDustbinReq clone() => CancelInterceptInDustbinReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CancelInterceptInDustbinReq copyWith(void Function(CancelInterceptInDustbinReq) updates) => super.copyWith((message) => updates(message as CancelInterceptInDustbinReq)) as CancelInterceptInDustbinReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CancelInterceptInDustbinReq create() => CancelInterceptInDustbinReq._(); + CancelInterceptInDustbinReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CancelInterceptInDustbinReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CancelInterceptInDustbinReq? _defaultInstance; + + @$pb.TagNumber(1) + SessionId get sessionId => $_getN(0); + @$pb.TagNumber(1) + set sessionId(SessionId v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasSessionId() => $_has(0); + @$pb.TagNumber(1) + void clearSessionId() => $_clearField(1); + @$pb.TagNumber(1) + SessionId ensureSessionId() => $_ensure(0); +} + +class ClearAlertReply extends $pb.GeneratedMessage { + factory ClearAlertReply() => create(); + ClearAlertReply._() : super(); + factory ClearAlertReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ClearAlertReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClearAlertReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ClearAlertReply clone() => ClearAlertReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ClearAlertReply copyWith(void Function(ClearAlertReply) updates) => super.copyWith((message) => updates(message as ClearAlertReply)) as ClearAlertReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ClearAlertReply create() => ClearAlertReply._(); + ClearAlertReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ClearAlertReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ClearAlertReply? _defaultInstance; +} + +class ClearAlertReq extends $pb.GeneratedMessage { + factory ClearAlertReq({ + AlertToastType? type, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + return $result; + } + ClearAlertReq._() : super(); + factory ClearAlertReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ClearAlertReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClearAlertReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: AlertToastType.ALERT_TOAST_TYPE_UNSPECIFIED, valueOf: AlertToastType.valueOf, enumValues: AlertToastType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ClearAlertReq clone() => ClearAlertReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ClearAlertReq copyWith(void Function(ClearAlertReq) updates) => super.copyWith((message) => updates(message as ClearAlertReq)) as ClearAlertReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ClearAlertReq create() => ClearAlertReq._(); + ClearAlertReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ClearAlertReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ClearAlertReq? _defaultInstance; + + @$pb.TagNumber(1) + AlertToastType get type => $_getN(0); + @$pb.TagNumber(1) + set type(AlertToastType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => $_clearField(1); +} + +class ClearUnreadReply extends $pb.GeneratedMessage { + factory ClearUnreadReply() => create(); + ClearUnreadReply._() : super(); + factory ClearUnreadReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ClearUnreadReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClearUnreadReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ClearUnreadReply clone() => ClearUnreadReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ClearUnreadReply copyWith(void Function(ClearUnreadReply) updates) => super.copyWith((message) => updates(message as ClearUnreadReply)) as ClearUnreadReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ClearUnreadReply create() => ClearUnreadReply._(); + ClearUnreadReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ClearUnreadReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ClearUnreadReply? _defaultInstance; +} + +class ClearUnreadReq extends $pb.GeneratedMessage { + factory ClearUnreadReq({ + SessionPageType? pageType, + SessionId? sessionId, + }) { + final $result = create(); + if (pageType != null) { + $result.pageType = pageType; + } + if (sessionId != null) { + $result.sessionId = sessionId; + } + return $result; + } + ClearUnreadReq._() : super(); + factory ClearUnreadReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ClearUnreadReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClearUnreadReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'pageType', $pb.PbFieldType.OE, defaultOrMaker: SessionPageType.SESSION_PAGE_TYPE_UNKNOWN, valueOf: SessionPageType.valueOf, enumValues: SessionPageType.values) + ..aOM(2, _omitFieldNames ? '' : 'sessionId', subBuilder: SessionId.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ClearUnreadReq clone() => ClearUnreadReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ClearUnreadReq copyWith(void Function(ClearUnreadReq) updates) => super.copyWith((message) => updates(message as ClearUnreadReq)) as ClearUnreadReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ClearUnreadReq create() => ClearUnreadReq._(); + ClearUnreadReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ClearUnreadReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ClearUnreadReq? _defaultInstance; + + @$pb.TagNumber(1) + SessionPageType get pageType => $_getN(0); + @$pb.TagNumber(1) + set pageType(SessionPageType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasPageType() => $_has(0); + @$pb.TagNumber(1) + void clearPageType() => $_clearField(1); + + @$pb.TagNumber(2) + SessionId get sessionId => $_getN(1); + @$pb.TagNumber(2) + set sessionId(SessionId v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasSessionId() => $_has(1); + @$pb.TagNumber(2) + void clearSessionId() => $_clearField(2); + @$pb.TagNumber(2) + SessionId ensureSessionId() => $_ensure(1); +} + +class Contact extends $pb.GeneratedMessage { + factory Contact({ + $fixnum.Int64? id, + $core.String? name, + $0.AvatarItem? avatar, + $core.String? vipInfo, + $core.String? url, + $1.NameRender? nameRender, + $core.bool? isSpecialFollow, + $core.String? face, + $core.int? officialType, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (name != null) { + $result.name = name; + } + if (avatar != null) { + $result.avatar = avatar; + } + if (vipInfo != null) { + $result.vipInfo = vipInfo; + } + if (url != null) { + $result.url = url; + } + if (nameRender != null) { + $result.nameRender = nameRender; + } + if (isSpecialFollow != null) { + $result.isSpecialFollow = isSpecialFollow; + } + if (face != null) { + $result.face = face; + } + if (officialType != null) { + $result.officialType = officialType; + } + return $result; + } + Contact._() : super(); + factory Contact.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Contact.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Contact', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aOM<$0.AvatarItem>(3, _omitFieldNames ? '' : 'avatar', subBuilder: $0.AvatarItem.create) + ..aOS(4, _omitFieldNames ? '' : 'vipInfo') + ..aOS(5, _omitFieldNames ? '' : 'url') + ..aOM<$1.NameRender>(6, _omitFieldNames ? '' : 'nameRender', subBuilder: $1.NameRender.create) + ..aOB(7, _omitFieldNames ? '' : 'isSpecialFollow') + ..aOS(8, _omitFieldNames ? '' : 'face') + ..a<$core.int>(9, _omitFieldNames ? '' : 'officialType', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Contact clone() => Contact()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Contact copyWith(void Function(Contact) updates) => super.copyWith((message) => updates(message as Contact)) as Contact; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Contact create() => Contact._(); + Contact createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Contact getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Contact? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get id => $_getI64(0); + @$pb.TagNumber(1) + set id($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get name => $_getSZ(1); + @$pb.TagNumber(2) + set name($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasName() => $_has(1); + @$pb.TagNumber(2) + void clearName() => $_clearField(2); + + @$pb.TagNumber(3) + $0.AvatarItem get avatar => $_getN(2); + @$pb.TagNumber(3) + set avatar($0.AvatarItem v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasAvatar() => $_has(2); + @$pb.TagNumber(3) + void clearAvatar() => $_clearField(3); + @$pb.TagNumber(3) + $0.AvatarItem ensureAvatar() => $_ensure(2); + + @$pb.TagNumber(4) + $core.String get vipInfo => $_getSZ(3); + @$pb.TagNumber(4) + set vipInfo($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasVipInfo() => $_has(3); + @$pb.TagNumber(4) + void clearVipInfo() => $_clearField(4); + + @$pb.TagNumber(5) + $core.String get url => $_getSZ(4); + @$pb.TagNumber(5) + set url($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasUrl() => $_has(4); + @$pb.TagNumber(5) + void clearUrl() => $_clearField(5); + + @$pb.TagNumber(6) + $1.NameRender get nameRender => $_getN(5); + @$pb.TagNumber(6) + set nameRender($1.NameRender v) { $_setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasNameRender() => $_has(5); + @$pb.TagNumber(6) + void clearNameRender() => $_clearField(6); + @$pb.TagNumber(6) + $1.NameRender ensureNameRender() => $_ensure(5); + + @$pb.TagNumber(7) + $core.bool get isSpecialFollow => $_getBF(6); + @$pb.TagNumber(7) + set isSpecialFollow($core.bool v) { $_setBool(6, v); } + @$pb.TagNumber(7) + $core.bool hasIsSpecialFollow() => $_has(6); + @$pb.TagNumber(7) + void clearIsSpecialFollow() => $_clearField(7); + + @$pb.TagNumber(8) + $core.String get face => $_getSZ(7); + @$pb.TagNumber(8) + set face($core.String v) { $_setString(7, v); } + @$pb.TagNumber(8) + $core.bool hasFace() => $_has(7); + @$pb.TagNumber(8) + void clearFace() => $_clearField(8); + + @$pb.TagNumber(9) + $core.int get officialType => $_getIZ(8); + @$pb.TagNumber(9) + set officialType($core.int v) { $_setSignedInt32(8, v); } + @$pb.TagNumber(9) + $core.bool hasOfficialType() => $_has(8); + @$pb.TagNumber(9) + void clearOfficialType() => $_clearField(9); +} + +class ContactTab extends $pb.GeneratedMessage { + factory ContactTab({ + ContactTabType? tab, + $core.String? name, + }) { + final $result = create(); + if (tab != null) { + $result.tab = tab; + } + if (name != null) { + $result.name = name; + } + return $result; + } + ContactTab._() : super(); + factory ContactTab.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ContactTab.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ContactTab', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'tab', $pb.PbFieldType.OE, defaultOrMaker: ContactTabType.TAB_UNKNOWN, valueOf: ContactTabType.valueOf, enumValues: ContactTabType.values) + ..aOS(2, _omitFieldNames ? '' : 'name') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ContactTab clone() => ContactTab()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ContactTab copyWith(void Function(ContactTab) updates) => super.copyWith((message) => updates(message as ContactTab)) as ContactTab; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ContactTab create() => ContactTab._(); + ContactTab createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ContactTab getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ContactTab? _defaultInstance; + + @$pb.TagNumber(1) + ContactTabType get tab => $_getN(0); + @$pb.TagNumber(1) + set tab(ContactTabType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasTab() => $_has(0); + @$pb.TagNumber(1) + void clearTab() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get name => $_getSZ(1); + @$pb.TagNumber(2) + set name($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasName() => $_has(1); + @$pb.TagNumber(2) + void clearName() => $_clearField(2); +} + +class ContactsReply extends $pb.GeneratedMessage { + factory ContactsReply({ + $core.Iterable? contacts, + $core.Iterable? tab, + ContactTabType? currentTab, + PaginationParams? paginationParams, + }) { + final $result = create(); + if (contacts != null) { + $result.contacts.addAll(contacts); + } + if (tab != null) { + $result.tab.addAll(tab); + } + if (currentTab != null) { + $result.currentTab = currentTab; + } + if (paginationParams != null) { + $result.paginationParams = paginationParams; + } + return $result; + } + ContactsReply._() : super(); + factory ContactsReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ContactsReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ContactsReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'contacts', $pb.PbFieldType.PM, subBuilder: Contact.create) + ..pc(2, _omitFieldNames ? '' : 'tab', $pb.PbFieldType.PM, subBuilder: ContactTab.create) + ..e(3, _omitFieldNames ? '' : 'currentTab', $pb.PbFieldType.OE, defaultOrMaker: ContactTabType.TAB_UNKNOWN, valueOf: ContactTabType.valueOf, enumValues: ContactTabType.values) + ..aOM(4, _omitFieldNames ? '' : 'paginationParams', subBuilder: PaginationParams.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ContactsReply clone() => ContactsReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ContactsReply copyWith(void Function(ContactsReply) updates) => super.copyWith((message) => updates(message as ContactsReply)) as ContactsReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ContactsReply create() => ContactsReply._(); + ContactsReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ContactsReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ContactsReply? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get contacts => $_getList(0); + + @$pb.TagNumber(2) + $pb.PbList get tab => $_getList(1); + + @$pb.TagNumber(3) + ContactTabType get currentTab => $_getN(2); + @$pb.TagNumber(3) + set currentTab(ContactTabType v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasCurrentTab() => $_has(2); + @$pb.TagNumber(3) + void clearCurrentTab() => $_clearField(3); + + @$pb.TagNumber(4) + PaginationParams get paginationParams => $_getN(3); + @$pb.TagNumber(4) + set paginationParams(PaginationParams v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasPaginationParams() => $_has(3); + @$pb.TagNumber(4) + void clearPaginationParams() => $_clearField(4); + @$pb.TagNumber(4) + PaginationParams ensurePaginationParams() => $_ensure(3); +} + +class ContactsReq extends $pb.GeneratedMessage { + factory ContactsReq({ + ContactTabType? tab, + PaginationParams? paginationParams, + }) { + final $result = create(); + if (tab != null) { + $result.tab = tab; + } + if (paginationParams != null) { + $result.paginationParams = paginationParams; + } + return $result; + } + ContactsReq._() : super(); + factory ContactsReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ContactsReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ContactsReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'tab', $pb.PbFieldType.OE, defaultOrMaker: ContactTabType.TAB_UNKNOWN, valueOf: ContactTabType.valueOf, enumValues: ContactTabType.values) + ..aOM(2, _omitFieldNames ? '' : 'paginationParams', subBuilder: PaginationParams.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ContactsReq clone() => ContactsReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ContactsReq copyWith(void Function(ContactsReq) updates) => super.copyWith((message) => updates(message as ContactsReq)) as ContactsReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ContactsReq create() => ContactsReq._(); + ContactsReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ContactsReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ContactsReq? _defaultInstance; + + @$pb.TagNumber(1) + ContactTabType get tab => $_getN(0); + @$pb.TagNumber(1) + set tab(ContactTabType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasTab() => $_has(0); + @$pb.TagNumber(1) + void clearTab() => $_clearField(1); + + @$pb.TagNumber(2) + PaginationParams get paginationParams => $_getN(1); + @$pb.TagNumber(2) + set paginationParams(PaginationParams v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPaginationParams() => $_has(1); + @$pb.TagNumber(2) + void clearPaginationParams() => $_clearField(2); + @$pb.TagNumber(2) + PaginationParams ensurePaginationParams() => $_ensure(1); +} + +class ContactsSearchReply extends $pb.GeneratedMessage { + factory ContactsSearchReply({ + $core.Iterable? contacts, + PaginationParams? paginationParams, + }) { + final $result = create(); + if (contacts != null) { + $result.contacts.addAll(contacts); + } + if (paginationParams != null) { + $result.paginationParams = paginationParams; + } + return $result; + } + ContactsSearchReply._() : super(); + factory ContactsSearchReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ContactsSearchReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ContactsSearchReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'contacts', $pb.PbFieldType.PM, subBuilder: Contact.create) + ..aOM(2, _omitFieldNames ? '' : 'paginationParams', subBuilder: PaginationParams.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ContactsSearchReply clone() => ContactsSearchReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ContactsSearchReply copyWith(void Function(ContactsSearchReply) updates) => super.copyWith((message) => updates(message as ContactsSearchReply)) as ContactsSearchReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ContactsSearchReply create() => ContactsSearchReply._(); + ContactsSearchReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ContactsSearchReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ContactsSearchReply? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get contacts => $_getList(0); + + @$pb.TagNumber(2) + PaginationParams get paginationParams => $_getN(1); + @$pb.TagNumber(2) + set paginationParams(PaginationParams v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPaginationParams() => $_has(1); + @$pb.TagNumber(2) + void clearPaginationParams() => $_clearField(2); + @$pb.TagNumber(2) + PaginationParams ensurePaginationParams() => $_ensure(1); +} + +class ContactsSearchReq extends $pb.GeneratedMessage { + factory ContactsSearchReq({ + $core.String? keyword, + ContactTabType? tab, + PaginationParams? paginationParams, + }) { + final $result = create(); + if (keyword != null) { + $result.keyword = keyword; + } + if (tab != null) { + $result.tab = tab; + } + if (paginationParams != null) { + $result.paginationParams = paginationParams; + } + return $result; + } + ContactsSearchReq._() : super(); + factory ContactsSearchReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ContactsSearchReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ContactsSearchReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'keyword') + ..e(2, _omitFieldNames ? '' : 'tab', $pb.PbFieldType.OE, defaultOrMaker: ContactTabType.TAB_UNKNOWN, valueOf: ContactTabType.valueOf, enumValues: ContactTabType.values) + ..aOM(3, _omitFieldNames ? '' : 'paginationParams', subBuilder: PaginationParams.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ContactsSearchReq clone() => ContactsSearchReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ContactsSearchReq copyWith(void Function(ContactsSearchReq) updates) => super.copyWith((message) => updates(message as ContactsSearchReq)) as ContactsSearchReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ContactsSearchReq create() => ContactsSearchReq._(); + ContactsSearchReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ContactsSearchReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ContactsSearchReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get keyword => $_getSZ(0); + @$pb.TagNumber(1) + set keyword($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasKeyword() => $_has(0); + @$pb.TagNumber(1) + void clearKeyword() => $_clearField(1); + + @$pb.TagNumber(2) + ContactTabType get tab => $_getN(1); + @$pb.TagNumber(2) + set tab(ContactTabType v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasTab() => $_has(1); + @$pb.TagNumber(2) + void clearTab() => $_clearField(2); + + @$pb.TagNumber(3) + PaginationParams get paginationParams => $_getN(2); + @$pb.TagNumber(3) + set paginationParams(PaginationParams v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasPaginationParams() => $_has(2); + @$pb.TagNumber(3) + void clearPaginationParams() => $_clearField(3); + @$pb.TagNumber(3) + PaginationParams ensurePaginationParams() => $_ensure(2); +} + +class CustomerId extends $pb.GeneratedMessage { + factory CustomerId({ + $fixnum.Int64? shopId, + $fixnum.Int64? shopType, + }) { + final $result = create(); + if (shopId != null) { + $result.shopId = shopId; + } + if (shopType != null) { + $result.shopType = shopType; + } + return $result; + } + CustomerId._() : super(); + factory CustomerId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CustomerId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CustomerId', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'shopId') + ..aInt64(2, _omitFieldNames ? '' : 'shopType') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CustomerId clone() => CustomerId()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CustomerId copyWith(void Function(CustomerId) updates) => super.copyWith((message) => updates(message as CustomerId)) as CustomerId; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CustomerId create() => CustomerId._(); + CustomerId createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CustomerId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CustomerId? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get shopId => $_getI64(0); + @$pb.TagNumber(1) + set shopId($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasShopId() => $_has(0); + @$pb.TagNumber(1) + void clearShopId() => $_clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get shopType => $_getI64(1); + @$pb.TagNumber(2) + set shopType($fixnum.Int64 v) { $_setInt64(1, v); } + @$pb.TagNumber(2) + $core.bool hasShopType() => $_has(1); + @$pb.TagNumber(2) + void clearShopType() => $_clearField(2); +} + +class DeleteSessionListReply extends $pb.GeneratedMessage { + factory DeleteSessionListReply() => create(); + DeleteSessionListReply._() : super(); + factory DeleteSessionListReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DeleteSessionListReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSessionListReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DeleteSessionListReply clone() => DeleteSessionListReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DeleteSessionListReply copyWith(void Function(DeleteSessionListReply) updates) => super.copyWith((message) => updates(message as DeleteSessionListReply)) as DeleteSessionListReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteSessionListReply create() => DeleteSessionListReply._(); + DeleteSessionListReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteSessionListReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteSessionListReply? _defaultInstance; +} + +class DeleteSessionListReq extends $pb.GeneratedMessage { + factory DeleteSessionListReq({ + SessionPageType? pageType, + }) { + final $result = create(); + if (pageType != null) { + $result.pageType = pageType; + } + return $result; + } + DeleteSessionListReq._() : super(); + factory DeleteSessionListReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DeleteSessionListReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSessionListReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'pageType', $pb.PbFieldType.OE, defaultOrMaker: SessionPageType.SESSION_PAGE_TYPE_UNKNOWN, valueOf: SessionPageType.valueOf, enumValues: SessionPageType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DeleteSessionListReq clone() => DeleteSessionListReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DeleteSessionListReq copyWith(void Function(DeleteSessionListReq) updates) => super.copyWith((message) => updates(message as DeleteSessionListReq)) as DeleteSessionListReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteSessionListReq create() => DeleteSessionListReq._(); + DeleteSessionListReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteSessionListReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteSessionListReq? _defaultInstance; + + @$pb.TagNumber(1) + SessionPageType get pageType => $_getN(0); + @$pb.TagNumber(1) + set pageType(SessionPageType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasPageType() => $_has(0); + @$pb.TagNumber(1) + void clearPageType() => $_clearField(1); +} + +class DeleteSessionReply extends $pb.GeneratedMessage { + factory DeleteSessionReply() => create(); + DeleteSessionReply._() : super(); + factory DeleteSessionReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DeleteSessionReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSessionReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DeleteSessionReply clone() => DeleteSessionReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DeleteSessionReply copyWith(void Function(DeleteSessionReply) updates) => super.copyWith((message) => updates(message as DeleteSessionReply)) as DeleteSessionReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteSessionReply create() => DeleteSessionReply._(); + DeleteSessionReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteSessionReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteSessionReply? _defaultInstance; +} + +class DeleteSessionReq extends $pb.GeneratedMessage { + factory DeleteSessionReq({ + SessionId? sessionId, + }) { + final $result = create(); + if (sessionId != null) { + $result.sessionId = sessionId; + } + return $result; + } + DeleteSessionReq._() : super(); + factory DeleteSessionReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DeleteSessionReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSessionReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'sessionId', subBuilder: SessionId.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DeleteSessionReq clone() => DeleteSessionReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DeleteSessionReq copyWith(void Function(DeleteSessionReq) updates) => super.copyWith((message) => updates(message as DeleteSessionReq)) as DeleteSessionReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteSessionReq create() => DeleteSessionReq._(); + DeleteSessionReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteSessionReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteSessionReq? _defaultInstance; + + @$pb.TagNumber(1) + SessionId get sessionId => $_getN(0); + @$pb.TagNumber(1) + set sessionId(SessionId v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasSessionId() => $_has(0); + @$pb.TagNumber(1) + void clearSessionId() => $_clearField(1); + @$pb.TagNumber(1) + SessionId ensureSessionId() => $_ensure(0); +} + +class FilledLabel extends $pb.GeneratedMessage { + factory FilledLabel({ + $core.String? text, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + return $result; + } + FilledLabel._() : super(); + factory FilledLabel.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FilledLabel.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FilledLabel', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FilledLabel clone() => FilledLabel()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FilledLabel copyWith(void Function(FilledLabel) updates) => super.copyWith((message) => updates(message as FilledLabel)) as FilledLabel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FilledLabel create() => FilledLabel._(); + FilledLabel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FilledLabel getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FilledLabel? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get text => $_getSZ(0); + @$pb.TagNumber(1) + set text($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasText() => $_has(0); + @$pb.TagNumber(1) + void clearText() => $_clearField(1); +} + +class FilterConfig extends $pb.GeneratedMessage { + factory FilterConfig({ + $core.Iterable? filters, + SessionFilterType? currentFilter, + }) { + final $result = create(); + if (filters != null) { + $result.filters.addAll(filters); + } + if (currentFilter != null) { + $result.currentFilter = currentFilter; + } + return $result; + } + FilterConfig._() : super(); + factory FilterConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FilterConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FilterConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'filters', $pb.PbFieldType.PM, subBuilder: SessionsFilter.create) + ..e(2, _omitFieldNames ? '' : 'currentFilter', $pb.PbFieldType.OE, defaultOrMaker: SessionFilterType.FILTER_DEFAULT, valueOf: SessionFilterType.valueOf, enumValues: SessionFilterType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FilterConfig clone() => FilterConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FilterConfig copyWith(void Function(FilterConfig) updates) => super.copyWith((message) => updates(message as FilterConfig)) as FilterConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FilterConfig create() => FilterConfig._(); + FilterConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FilterConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FilterConfig? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get filters => $_getList(0); + + @$pb.TagNumber(2) + SessionFilterType get currentFilter => $_getN(1); + @$pb.TagNumber(2) + set currentFilter(SessionFilterType v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasCurrentFilter() => $_has(1); + @$pb.TagNumber(2) + void clearCurrentFilter() => $_clearField(2); +} + +class FoldId extends $pb.GeneratedMessage { + factory FoldId({ + SessionType? type, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + return $result; + } + FoldId._() : super(); + factory FoldId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FoldId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FoldId', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: SessionType.SESSION_TYPE_UNKNOWN, valueOf: SessionType.valueOf, enumValues: SessionType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FoldId clone() => FoldId()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FoldId copyWith(void Function(FoldId) updates) => super.copyWith((message) => updates(message as FoldId)) as FoldId; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FoldId create() => FoldId._(); + FoldId createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FoldId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FoldId? _defaultInstance; + + @$pb.TagNumber(1) + SessionType get type => $_getN(0); + @$pb.TagNumber(1) + set type(SessionType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => $_clearField(1); +} + +class GetImSettingsReply extends $pb.GeneratedMessage { + factory GetImSettingsReply({ + $core.String? pageTitle, + $pb.PbMap<$core.int, Setting>? settings, + }) { + final $result = create(); + if (pageTitle != null) { + $result.pageTitle = pageTitle; + } + if (settings != null) { + $result.settings.addAll(settings); + } + return $result; + } + GetImSettingsReply._() : super(); + factory GetImSettingsReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetImSettingsReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetImSettingsReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'pageTitle') + ..m<$core.int, Setting>(2, _omitFieldNames ? '' : 'settings', entryClassName: 'GetImSettingsReply.SettingsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OM, valueCreator: Setting.create, valueDefaultOrMaker: Setting.getDefault, packageName: const $pb.PackageName('bilibili.app.im.v1')) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetImSettingsReply clone() => GetImSettingsReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetImSettingsReply copyWith(void Function(GetImSettingsReply) updates) => super.copyWith((message) => updates(message as GetImSettingsReply)) as GetImSettingsReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetImSettingsReply create() => GetImSettingsReply._(); + GetImSettingsReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetImSettingsReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetImSettingsReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get pageTitle => $_getSZ(0); + @$pb.TagNumber(1) + set pageTitle($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasPageTitle() => $_has(0); + @$pb.TagNumber(1) + void clearPageTitle() => $_clearField(1); + + @$pb.TagNumber(2) + $pb.PbMap<$core.int, Setting> get settings => $_getMap(1); +} + +class GetImSettingsReq extends $pb.GeneratedMessage { + factory GetImSettingsReq({ + IMSettingType? type, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + return $result; + } + GetImSettingsReq._() : super(); + factory GetImSettingsReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetImSettingsReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetImSettingsReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: IMSettingType.SETTING_TYPE_NEED_ALL, valueOf: IMSettingType.valueOf, enumValues: IMSettingType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetImSettingsReq clone() => GetImSettingsReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetImSettingsReq copyWith(void Function(GetImSettingsReq) updates) => super.copyWith((message) => updates(message as GetImSettingsReq)) as GetImSettingsReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetImSettingsReq create() => GetImSettingsReq._(); + GetImSettingsReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetImSettingsReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetImSettingsReq? _defaultInstance; + + @$pb.TagNumber(1) + IMSettingType get type => $_getN(0); + @$pb.TagNumber(1) + set type(IMSettingType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => $_clearField(1); +} + +class GetQuickLinkUnreadReply extends $pb.GeneratedMessage { + factory GetQuickLinkUnreadReply({ + $core.Iterable? items, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + return $result; + } + GetQuickLinkUnreadReply._() : super(); + factory GetQuickLinkUnreadReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetQuickLinkUnreadReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetQuickLinkUnreadReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, subBuilder: QuickLinkUnreadItem.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetQuickLinkUnreadReply clone() => GetQuickLinkUnreadReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetQuickLinkUnreadReply copyWith(void Function(GetQuickLinkUnreadReply) updates) => super.copyWith((message) => updates(message as GetQuickLinkUnreadReply)) as GetQuickLinkUnreadReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetQuickLinkUnreadReply create() => GetQuickLinkUnreadReply._(); + GetQuickLinkUnreadReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetQuickLinkUnreadReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetQuickLinkUnreadReply? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get items => $_getList(0); +} + +class GetQuickLinkUnreadReq extends $pb.GeneratedMessage { + factory GetQuickLinkUnreadReq() => create(); + GetQuickLinkUnreadReq._() : super(); + factory GetQuickLinkUnreadReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetQuickLinkUnreadReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetQuickLinkUnreadReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetQuickLinkUnreadReq clone() => GetQuickLinkUnreadReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetQuickLinkUnreadReq copyWith(void Function(GetQuickLinkUnreadReq) updates) => super.copyWith((message) => updates(message as GetQuickLinkUnreadReq)) as GetQuickLinkUnreadReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetQuickLinkUnreadReq create() => GetQuickLinkUnreadReq._(); + GetQuickLinkUnreadReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetQuickLinkUnreadReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetQuickLinkUnreadReq? _defaultInstance; +} + +class GetTotalUnreadReply extends $pb.GeneratedMessage { + factory GetTotalUnreadReply({ + Unread? total, + }) { + final $result = create(); + if (total != null) { + $result.total = total; + } + return $result; + } + GetTotalUnreadReply._() : super(); + factory GetTotalUnreadReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetTotalUnreadReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTotalUnreadReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'total', subBuilder: Unread.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetTotalUnreadReply clone() => GetTotalUnreadReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetTotalUnreadReply copyWith(void Function(GetTotalUnreadReply) updates) => super.copyWith((message) => updates(message as GetTotalUnreadReply)) as GetTotalUnreadReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetTotalUnreadReply create() => GetTotalUnreadReply._(); + GetTotalUnreadReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetTotalUnreadReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetTotalUnreadReply? _defaultInstance; + + @$pb.TagNumber(1) + Unread get total => $_getN(0); + @$pb.TagNumber(1) + set total(Unread v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasTotal() => $_has(0); + @$pb.TagNumber(1) + void clearTotal() => $_clearField(1); + @$pb.TagNumber(1) + Unread ensureTotal() => $_ensure(0); +} + +class GetTotalUnreadReq extends $pb.GeneratedMessage { + factory GetTotalUnreadReq() => create(); + GetTotalUnreadReq._() : super(); + factory GetTotalUnreadReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetTotalUnreadReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTotalUnreadReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetTotalUnreadReq clone() => GetTotalUnreadReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetTotalUnreadReq copyWith(void Function(GetTotalUnreadReq) updates) => super.copyWith((message) => updates(message as GetTotalUnreadReq)) as GetTotalUnreadReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetTotalUnreadReq create() => GetTotalUnreadReq._(); + GetTotalUnreadReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetTotalUnreadReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetTotalUnreadReq? _defaultInstance; +} + +class GroupId extends $pb.GeneratedMessage { + factory GroupId({ + $fixnum.Int64? groupId, + }) { + final $result = create(); + if (groupId != null) { + $result.groupId = groupId; + } + return $result; + } + GroupId._() : super(); + factory GroupId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GroupId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GroupId', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'groupId') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GroupId clone() => GroupId()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GroupId copyWith(void Function(GroupId) updates) => super.copyWith((message) => updates(message as GroupId)) as GroupId; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GroupId create() => GroupId._(); + GroupId createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GroupId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GroupId? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get groupId => $_getI64(0); + @$pb.TagNumber(1) + set groupId($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasGroupId() => $_has(0); + @$pb.TagNumber(1) + void clearGroupId() => $_clearField(1); +} + +class ImageLabel extends $pb.GeneratedMessage { + factory ImageLabel({ + $core.String? url, + $core.int? width, + $core.int? height, + }) { + final $result = create(); + if (url != null) { + $result.url = url; + } + if (width != null) { + $result.width = width; + } + if (height != null) { + $result.height = height; + } + return $result; + } + ImageLabel._() : super(); + factory ImageLabel.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ImageLabel.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ImageLabel', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'url') + ..a<$core.int>(2, _omitFieldNames ? '' : 'width', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'height', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ImageLabel clone() => ImageLabel()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ImageLabel copyWith(void Function(ImageLabel) updates) => super.copyWith((message) => updates(message as ImageLabel)) as ImageLabel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ImageLabel create() => ImageLabel._(); + ImageLabel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ImageLabel getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ImageLabel? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get url => $_getSZ(0); + @$pb.TagNumber(1) + set url($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasUrl() => $_has(0); + @$pb.TagNumber(1) + void clearUrl() => $_clearField(1); + + @$pb.TagNumber(2) + $core.int get width => $_getIZ(1); + @$pb.TagNumber(2) + set width($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasWidth() => $_has(1); + @$pb.TagNumber(2) + void clearWidth() => $_clearField(2); + + @$pb.TagNumber(3) + $core.int get height => $_getIZ(2); + @$pb.TagNumber(3) + set height($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasHeight() => $_has(2); + @$pb.TagNumber(3) + void clearHeight() => $_clearField(3); +} + +class KeywordBlockingAddReply extends $pb.GeneratedMessage { + factory KeywordBlockingAddReply({ + $core.String? toast, + KeywordBlockingItem? item, + }) { + final $result = create(); + if (toast != null) { + $result.toast = toast; + } + if (item != null) { + $result.item = item; + } + return $result; + } + KeywordBlockingAddReply._() : super(); + factory KeywordBlockingAddReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory KeywordBlockingAddReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KeywordBlockingAddReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'toast') + ..aOM(2, _omitFieldNames ? '' : 'item', subBuilder: KeywordBlockingItem.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + KeywordBlockingAddReply clone() => KeywordBlockingAddReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + KeywordBlockingAddReply copyWith(void Function(KeywordBlockingAddReply) updates) => super.copyWith((message) => updates(message as KeywordBlockingAddReply)) as KeywordBlockingAddReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static KeywordBlockingAddReply create() => KeywordBlockingAddReply._(); + KeywordBlockingAddReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static KeywordBlockingAddReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static KeywordBlockingAddReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get toast => $_getSZ(0); + @$pb.TagNumber(1) + set toast($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasToast() => $_has(0); + @$pb.TagNumber(1) + void clearToast() => $_clearField(1); + + @$pb.TagNumber(2) + KeywordBlockingItem get item => $_getN(1); + @$pb.TagNumber(2) + set item(KeywordBlockingItem v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasItem() => $_has(1); + @$pb.TagNumber(2) + void clearItem() => $_clearField(2); + @$pb.TagNumber(2) + KeywordBlockingItem ensureItem() => $_ensure(1); +} + +class KeywordBlockingAddReq extends $pb.GeneratedMessage { + factory KeywordBlockingAddReq({ + $core.String? keyword, + }) { + final $result = create(); + if (keyword != null) { + $result.keyword = keyword; + } + return $result; + } + KeywordBlockingAddReq._() : super(); + factory KeywordBlockingAddReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory KeywordBlockingAddReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KeywordBlockingAddReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'keyword') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + KeywordBlockingAddReq clone() => KeywordBlockingAddReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + KeywordBlockingAddReq copyWith(void Function(KeywordBlockingAddReq) updates) => super.copyWith((message) => updates(message as KeywordBlockingAddReq)) as KeywordBlockingAddReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static KeywordBlockingAddReq create() => KeywordBlockingAddReq._(); + KeywordBlockingAddReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static KeywordBlockingAddReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static KeywordBlockingAddReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get keyword => $_getSZ(0); + @$pb.TagNumber(1) + set keyword($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasKeyword() => $_has(0); + @$pb.TagNumber(1) + void clearKeyword() => $_clearField(1); +} + +class KeywordBlockingDeleteReply extends $pb.GeneratedMessage { + factory KeywordBlockingDeleteReply({ + $core.String? toast, + }) { + final $result = create(); + if (toast != null) { + $result.toast = toast; + } + return $result; + } + KeywordBlockingDeleteReply._() : super(); + factory KeywordBlockingDeleteReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory KeywordBlockingDeleteReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KeywordBlockingDeleteReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'toast') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + KeywordBlockingDeleteReply clone() => KeywordBlockingDeleteReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + KeywordBlockingDeleteReply copyWith(void Function(KeywordBlockingDeleteReply) updates) => super.copyWith((message) => updates(message as KeywordBlockingDeleteReply)) as KeywordBlockingDeleteReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static KeywordBlockingDeleteReply create() => KeywordBlockingDeleteReply._(); + KeywordBlockingDeleteReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static KeywordBlockingDeleteReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static KeywordBlockingDeleteReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get toast => $_getSZ(0); + @$pb.TagNumber(1) + set toast($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasToast() => $_has(0); + @$pb.TagNumber(1) + void clearToast() => $_clearField(1); +} + +class KeywordBlockingDeleteReq extends $pb.GeneratedMessage { + factory KeywordBlockingDeleteReq({ + $core.String? keyword, + }) { + final $result = create(); + if (keyword != null) { + $result.keyword = keyword; + } + return $result; + } + KeywordBlockingDeleteReq._() : super(); + factory KeywordBlockingDeleteReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory KeywordBlockingDeleteReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KeywordBlockingDeleteReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'keyword') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + KeywordBlockingDeleteReq clone() => KeywordBlockingDeleteReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + KeywordBlockingDeleteReq copyWith(void Function(KeywordBlockingDeleteReq) updates) => super.copyWith((message) => updates(message as KeywordBlockingDeleteReq)) as KeywordBlockingDeleteReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static KeywordBlockingDeleteReq create() => KeywordBlockingDeleteReq._(); + KeywordBlockingDeleteReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static KeywordBlockingDeleteReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static KeywordBlockingDeleteReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get keyword => $_getSZ(0); + @$pb.TagNumber(1) + set keyword($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasKeyword() => $_has(0); + @$pb.TagNumber(1) + void clearKeyword() => $_clearField(1); +} + +class KeywordBlockingItem extends $pb.GeneratedMessage { + factory KeywordBlockingItem({ + $core.String? keyword, + }) { + final $result = create(); + if (keyword != null) { + $result.keyword = keyword; + } + return $result; + } + KeywordBlockingItem._() : super(); + factory KeywordBlockingItem.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory KeywordBlockingItem.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KeywordBlockingItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'keyword') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + KeywordBlockingItem clone() => KeywordBlockingItem()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + KeywordBlockingItem copyWith(void Function(KeywordBlockingItem) updates) => super.copyWith((message) => updates(message as KeywordBlockingItem)) as KeywordBlockingItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static KeywordBlockingItem create() => KeywordBlockingItem._(); + KeywordBlockingItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static KeywordBlockingItem getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static KeywordBlockingItem? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get keyword => $_getSZ(0); + @$pb.TagNumber(1) + set keyword($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasKeyword() => $_has(0); + @$pb.TagNumber(1) + void clearKeyword() => $_clearField(1); +} + +class KeywordBlockingListReply extends $pb.GeneratedMessage { + factory KeywordBlockingListReply({ + $core.Iterable? items, + $core.int? listLimit, + $core.int? charLimit, + $core.String? listLimitText, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (listLimit != null) { + $result.listLimit = listLimit; + } + if (charLimit != null) { + $result.charLimit = charLimit; + } + if (listLimitText != null) { + $result.listLimitText = listLimitText; + } + return $result; + } + KeywordBlockingListReply._() : super(); + factory KeywordBlockingListReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory KeywordBlockingListReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KeywordBlockingListReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, subBuilder: KeywordBlockingItem.create) + ..a<$core.int>(2, _omitFieldNames ? '' : 'listLimit', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'charLimit', $pb.PbFieldType.O3) + ..aOS(4, _omitFieldNames ? '' : 'listLimitText') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + KeywordBlockingListReply clone() => KeywordBlockingListReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + KeywordBlockingListReply copyWith(void Function(KeywordBlockingListReply) updates) => super.copyWith((message) => updates(message as KeywordBlockingListReply)) as KeywordBlockingListReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static KeywordBlockingListReply create() => KeywordBlockingListReply._(); + KeywordBlockingListReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static KeywordBlockingListReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static KeywordBlockingListReply? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get items => $_getList(0); + + @$pb.TagNumber(2) + $core.int get listLimit => $_getIZ(1); + @$pb.TagNumber(2) + set listLimit($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasListLimit() => $_has(1); + @$pb.TagNumber(2) + void clearListLimit() => $_clearField(2); + + @$pb.TagNumber(3) + $core.int get charLimit => $_getIZ(2); + @$pb.TagNumber(3) + set charLimit($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasCharLimit() => $_has(2); + @$pb.TagNumber(3) + void clearCharLimit() => $_clearField(3); + + @$pb.TagNumber(4) + $core.String get listLimitText => $_getSZ(3); + @$pb.TagNumber(4) + set listLimitText($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasListLimitText() => $_has(3); + @$pb.TagNumber(4) + void clearListLimitText() => $_clearField(4); +} + +class KeywordBlockingListReq extends $pb.GeneratedMessage { + factory KeywordBlockingListReq() => create(); + KeywordBlockingListReq._() : super(); + factory KeywordBlockingListReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory KeywordBlockingListReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KeywordBlockingListReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + KeywordBlockingListReq clone() => KeywordBlockingListReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + KeywordBlockingListReq copyWith(void Function(KeywordBlockingListReq) updates) => super.copyWith((message) => updates(message as KeywordBlockingListReq)) as KeywordBlockingListReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static KeywordBlockingListReq create() => KeywordBlockingListReq._(); + KeywordBlockingListReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static KeywordBlockingListReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static KeywordBlockingListReq? _defaultInstance; +} + +class Medal extends $pb.GeneratedMessage { + factory Medal({ + $fixnum.Int64? uid, + $core.int? medalId, + $core.int? level, + $core.String? medalName, + $core.int? score, + $core.int? intimacy, + $core.int? masterStatus, + $core.int? isReceive, + $core.String? medalColorStart, + $core.String? medalColorEnd, + $core.String? medalColorBorder, + $core.String? medalColorName, + $core.String? medalColorLevel, + $fixnum.Int64? guardLevel, + }) { + final $result = create(); + if (uid != null) { + $result.uid = uid; + } + if (medalId != null) { + $result.medalId = medalId; + } + if (level != null) { + $result.level = level; + } + if (medalName != null) { + $result.medalName = medalName; + } + if (score != null) { + $result.score = score; + } + if (intimacy != null) { + $result.intimacy = intimacy; + } + if (masterStatus != null) { + $result.masterStatus = masterStatus; + } + if (isReceive != null) { + $result.isReceive = isReceive; + } + if (medalColorStart != null) { + $result.medalColorStart = medalColorStart; + } + if (medalColorEnd != null) { + $result.medalColorEnd = medalColorEnd; + } + if (medalColorBorder != null) { + $result.medalColorBorder = medalColorBorder; + } + if (medalColorName != null) { + $result.medalColorName = medalColorName; + } + if (medalColorLevel != null) { + $result.medalColorLevel = medalColorLevel; + } + if (guardLevel != null) { + $result.guardLevel = guardLevel; + } + return $result; + } + Medal._() : super(); + factory Medal.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Medal.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Medal', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'uid') + ..a<$core.int>(2, _omitFieldNames ? '' : 'medalId', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'level', $pb.PbFieldType.O3) + ..aOS(4, _omitFieldNames ? '' : 'medalName') + ..a<$core.int>(5, _omitFieldNames ? '' : 'score', $pb.PbFieldType.O3) + ..a<$core.int>(6, _omitFieldNames ? '' : 'intimacy', $pb.PbFieldType.O3) + ..a<$core.int>(7, _omitFieldNames ? '' : 'masterStatus', $pb.PbFieldType.O3) + ..a<$core.int>(8, _omitFieldNames ? '' : 'isReceive', $pb.PbFieldType.O3) + ..aOS(9, _omitFieldNames ? '' : 'medalColorStart') + ..aOS(10, _omitFieldNames ? '' : 'medalColorEnd') + ..aOS(11, _omitFieldNames ? '' : 'medalColorBorder') + ..aOS(12, _omitFieldNames ? '' : 'medalColorName') + ..aOS(13, _omitFieldNames ? '' : 'medalColorLevel') + ..aInt64(14, _omitFieldNames ? '' : 'guardLevel') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Medal clone() => Medal()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Medal copyWith(void Function(Medal) updates) => super.copyWith((message) => updates(message as Medal)) as Medal; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Medal create() => Medal._(); + Medal createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Medal getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Medal? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get uid => $_getI64(0); + @$pb.TagNumber(1) + set uid($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasUid() => $_has(0); + @$pb.TagNumber(1) + void clearUid() => $_clearField(1); + + @$pb.TagNumber(2) + $core.int get medalId => $_getIZ(1); + @$pb.TagNumber(2) + set medalId($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasMedalId() => $_has(1); + @$pb.TagNumber(2) + void clearMedalId() => $_clearField(2); + + @$pb.TagNumber(3) + $core.int get level => $_getIZ(2); + @$pb.TagNumber(3) + set level($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasLevel() => $_has(2); + @$pb.TagNumber(3) + void clearLevel() => $_clearField(3); + + @$pb.TagNumber(4) + $core.String get medalName => $_getSZ(3); + @$pb.TagNumber(4) + set medalName($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasMedalName() => $_has(3); + @$pb.TagNumber(4) + void clearMedalName() => $_clearField(4); + + @$pb.TagNumber(5) + $core.int get score => $_getIZ(4); + @$pb.TagNumber(5) + set score($core.int v) { $_setSignedInt32(4, v); } + @$pb.TagNumber(5) + $core.bool hasScore() => $_has(4); + @$pb.TagNumber(5) + void clearScore() => $_clearField(5); + + @$pb.TagNumber(6) + $core.int get intimacy => $_getIZ(5); + @$pb.TagNumber(6) + set intimacy($core.int v) { $_setSignedInt32(5, v); } + @$pb.TagNumber(6) + $core.bool hasIntimacy() => $_has(5); + @$pb.TagNumber(6) + void clearIntimacy() => $_clearField(6); + + @$pb.TagNumber(7) + $core.int get masterStatus => $_getIZ(6); + @$pb.TagNumber(7) + set masterStatus($core.int v) { $_setSignedInt32(6, v); } + @$pb.TagNumber(7) + $core.bool hasMasterStatus() => $_has(6); + @$pb.TagNumber(7) + void clearMasterStatus() => $_clearField(7); + + @$pb.TagNumber(8) + $core.int get isReceive => $_getIZ(7); + @$pb.TagNumber(8) + set isReceive($core.int v) { $_setSignedInt32(7, v); } + @$pb.TagNumber(8) + $core.bool hasIsReceive() => $_has(7); + @$pb.TagNumber(8) + void clearIsReceive() => $_clearField(8); + + @$pb.TagNumber(9) + $core.String get medalColorStart => $_getSZ(8); + @$pb.TagNumber(9) + set medalColorStart($core.String v) { $_setString(8, v); } + @$pb.TagNumber(9) + $core.bool hasMedalColorStart() => $_has(8); + @$pb.TagNumber(9) + void clearMedalColorStart() => $_clearField(9); + + @$pb.TagNumber(10) + $core.String get medalColorEnd => $_getSZ(9); + @$pb.TagNumber(10) + set medalColorEnd($core.String v) { $_setString(9, v); } + @$pb.TagNumber(10) + $core.bool hasMedalColorEnd() => $_has(9); + @$pb.TagNumber(10) + void clearMedalColorEnd() => $_clearField(10); + + @$pb.TagNumber(11) + $core.String get medalColorBorder => $_getSZ(10); + @$pb.TagNumber(11) + set medalColorBorder($core.String v) { $_setString(10, v); } + @$pb.TagNumber(11) + $core.bool hasMedalColorBorder() => $_has(10); + @$pb.TagNumber(11) + void clearMedalColorBorder() => $_clearField(11); + + @$pb.TagNumber(12) + $core.String get medalColorName => $_getSZ(11); + @$pb.TagNumber(12) + set medalColorName($core.String v) { $_setString(11, v); } + @$pb.TagNumber(12) + $core.bool hasMedalColorName() => $_has(11); + @$pb.TagNumber(12) + void clearMedalColorName() => $_clearField(12); + + @$pb.TagNumber(13) + $core.String get medalColorLevel => $_getSZ(12); + @$pb.TagNumber(13) + set medalColorLevel($core.String v) { $_setString(12, v); } + @$pb.TagNumber(13) + $core.bool hasMedalColorLevel() => $_has(12); + @$pb.TagNumber(13) + void clearMedalColorLevel() => $_clearField(13); + + @$pb.TagNumber(14) + $fixnum.Int64 get guardLevel => $_getI64(13); + @$pb.TagNumber(14) + set guardLevel($fixnum.Int64 v) { $_setInt64(13, v); } + @$pb.TagNumber(14) + $core.bool hasGuardLevel() => $_has(13); + @$pb.TagNumber(14) + void clearGuardLevel() => $_clearField(14); +} + +class MsgSummary extends $pb.GeneratedMessage { + factory MsgSummary({ + $core.String? rawMsg, + MsgSummaryPrefixType? prefixType, + $core.String? prefixText, + $core.bool? isGroupOwner, + }) { + final $result = create(); + if (rawMsg != null) { + $result.rawMsg = rawMsg; + } + if (prefixType != null) { + $result.prefixType = prefixType; + } + if (prefixText != null) { + $result.prefixText = prefixText; + } + if (isGroupOwner != null) { + $result.isGroupOwner = isGroupOwner; + } + return $result; + } + MsgSummary._() : super(); + factory MsgSummary.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MsgSummary.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MsgSummary', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'rawMsg') + ..e(2, _omitFieldNames ? '' : 'prefixType', $pb.PbFieldType.OE, defaultOrMaker: MsgSummaryPrefixType.MSG_SUMMARY_PREFIX_TYPE_NONE, valueOf: MsgSummaryPrefixType.valueOf, enumValues: MsgSummaryPrefixType.values) + ..aOS(3, _omitFieldNames ? '' : 'prefixText') + ..aOB(4, _omitFieldNames ? '' : 'isGroupOwner') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MsgSummary clone() => MsgSummary()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MsgSummary copyWith(void Function(MsgSummary) updates) => super.copyWith((message) => updates(message as MsgSummary)) as MsgSummary; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MsgSummary create() => MsgSummary._(); + MsgSummary createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MsgSummary getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MsgSummary? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get rawMsg => $_getSZ(0); + @$pb.TagNumber(1) + set rawMsg($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasRawMsg() => $_has(0); + @$pb.TagNumber(1) + void clearRawMsg() => $_clearField(1); + + @$pb.TagNumber(2) + MsgSummaryPrefixType get prefixType => $_getN(1); + @$pb.TagNumber(2) + set prefixType(MsgSummaryPrefixType v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPrefixType() => $_has(1); + @$pb.TagNumber(2) + void clearPrefixType() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get prefixText => $_getSZ(2); + @$pb.TagNumber(3) + set prefixText($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasPrefixText() => $_has(2); + @$pb.TagNumber(3) + void clearPrefixText() => $_clearField(3); + + @$pb.TagNumber(4) + $core.bool get isGroupOwner => $_getBF(3); + @$pb.TagNumber(4) + set isGroupOwner($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(4) + $core.bool hasIsGroupOwner() => $_has(3); + @$pb.TagNumber(4) + void clearIsGroupOwner() => $_clearField(4); +} + +class Offset extends $pb.GeneratedMessage { + factory Offset({ + $fixnum.Int64? normalOffset, + $fixnum.Int64? topOffset, + }) { + final $result = create(); + if (normalOffset != null) { + $result.normalOffset = normalOffset; + } + if (topOffset != null) { + $result.topOffset = topOffset; + } + return $result; + } + Offset._() : super(); + factory Offset.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Offset.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Offset', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'normalOffset') + ..aInt64(2, _omitFieldNames ? '' : 'topOffset') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Offset clone() => Offset()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Offset copyWith(void Function(Offset) updates) => super.copyWith((message) => updates(message as Offset)) as Offset; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Offset create() => Offset._(); + Offset createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Offset getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Offset? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get normalOffset => $_getI64(0); + @$pb.TagNumber(1) + set normalOffset($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasNormalOffset() => $_has(0); + @$pb.TagNumber(1) + void clearNormalOffset() => $_clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get topOffset => $_getI64(1); + @$pb.TagNumber(2) + set topOffset($fixnum.Int64 v) { $_setInt64(1, v); } + @$pb.TagNumber(2) + $core.bool hasTopOffset() => $_has(1); + @$pb.TagNumber(2) + void clearTopOffset() => $_clearField(2); +} + +class OperationContent extends $pb.GeneratedMessage { + factory OperationContent({ + $core.bool? show, + $core.String? text, + }) { + final $result = create(); + if (show != null) { + $result.show = show; + } + if (text != null) { + $result.text = text; + } + return $result; + } + OperationContent._() : super(); + factory OperationContent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OperationContent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OperationContent', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'show') + ..aOS(2, _omitFieldNames ? '' : 'text') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OperationContent clone() => OperationContent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OperationContent copyWith(void Function(OperationContent) updates) => super.copyWith((message) => updates(message as OperationContent)) as OperationContent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OperationContent create() => OperationContent._(); + OperationContent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OperationContent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OperationContent? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get show => $_getBF(0); + @$pb.TagNumber(1) + set show($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasShow() => $_has(0); + @$pb.TagNumber(1) + void clearShow() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get text => $_getSZ(1); + @$pb.TagNumber(2) + set text($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasText() => $_has(1); + @$pb.TagNumber(2) + void clearText() => $_clearField(2); +} + +class PaginationParams extends $pb.GeneratedMessage { + factory PaginationParams({ + $pb.PbMap<$core.int, Offset>? offsets, + $core.bool? hasMore, + }) { + final $result = create(); + if (offsets != null) { + $result.offsets.addAll(offsets); + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + return $result; + } + PaginationParams._() : super(); + factory PaginationParams.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PaginationParams.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PaginationParams', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..m<$core.int, Offset>(1, _omitFieldNames ? '' : 'offsets', entryClassName: 'PaginationParams.OffsetsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OM, valueCreator: Offset.create, valueDefaultOrMaker: Offset.getDefault, packageName: const $pb.PackageName('bilibili.app.im.v1')) + ..aOB(2, _omitFieldNames ? '' : 'hasMore') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PaginationParams clone() => PaginationParams()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PaginationParams copyWith(void Function(PaginationParams) updates) => super.copyWith((message) => updates(message as PaginationParams)) as PaginationParams; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PaginationParams create() => PaginationParams._(); + PaginationParams createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PaginationParams getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PaginationParams? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbMap<$core.int, Offset> get offsets => $_getMap(0); + + @$pb.TagNumber(2) + $core.bool get hasMore => $_getBF(1); + @$pb.TagNumber(2) + set hasMore($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasHasMore() => $_has(1); + @$pb.TagNumber(2) + void clearHasMore() => $_clearField(2); +} + +class PinSessionReply extends $pb.GeneratedMessage { + factory PinSessionReply({ + $fixnum.Int64? sequenceNumber, + $fixnum.Int64? code, + $core.String? message, + }) { + final $result = create(); + if (sequenceNumber != null) { + $result.sequenceNumber = sequenceNumber; + } + if (code != null) { + $result.code = code; + } + if (message != null) { + $result.message = message; + } + return $result; + } + PinSessionReply._() : super(); + factory PinSessionReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PinSessionReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PinSessionReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'sequenceNumber') + ..aInt64(2, _omitFieldNames ? '' : 'code') + ..aOS(3, _omitFieldNames ? '' : 'message') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PinSessionReply clone() => PinSessionReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PinSessionReply copyWith(void Function(PinSessionReply) updates) => super.copyWith((message) => updates(message as PinSessionReply)) as PinSessionReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PinSessionReply create() => PinSessionReply._(); + PinSessionReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PinSessionReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PinSessionReply? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get sequenceNumber => $_getI64(0); + @$pb.TagNumber(1) + set sequenceNumber($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasSequenceNumber() => $_has(0); + @$pb.TagNumber(1) + void clearSequenceNumber() => $_clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get code => $_getI64(1); + @$pb.TagNumber(2) + set code($fixnum.Int64 v) { $_setInt64(1, v); } + @$pb.TagNumber(2) + $core.bool hasCode() => $_has(1); + @$pb.TagNumber(2) + void clearCode() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get message => $_getSZ(2); + @$pb.TagNumber(3) + set message($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasMessage() => $_has(2); + @$pb.TagNumber(3) + void clearMessage() => $_clearField(3); +} + +class PinSessionReq extends $pb.GeneratedMessage { + factory PinSessionReq({ + SessionId? sessionId, + $fixnum.Int64? topTimeMicros, + }) { + final $result = create(); + if (sessionId != null) { + $result.sessionId = sessionId; + } + if (topTimeMicros != null) { + $result.topTimeMicros = topTimeMicros; + } + return $result; + } + PinSessionReq._() : super(); + factory PinSessionReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PinSessionReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PinSessionReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'sessionId', subBuilder: SessionId.create) + ..aInt64(2, _omitFieldNames ? '' : 'topTimeMicros') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PinSessionReq clone() => PinSessionReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PinSessionReq copyWith(void Function(PinSessionReq) updates) => super.copyWith((message) => updates(message as PinSessionReq)) as PinSessionReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PinSessionReq create() => PinSessionReq._(); + PinSessionReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PinSessionReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PinSessionReq? _defaultInstance; + + @$pb.TagNumber(1) + SessionId get sessionId => $_getN(0); + @$pb.TagNumber(1) + set sessionId(SessionId v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasSessionId() => $_has(0); + @$pb.TagNumber(1) + void clearSessionId() => $_clearField(1); + @$pb.TagNumber(1) + SessionId ensureSessionId() => $_ensure(0); + + @$pb.TagNumber(2) + $fixnum.Int64 get topTimeMicros => $_getI64(1); + @$pb.TagNumber(2) + set topTimeMicros($fixnum.Int64 v) { $_setInt64(1, v); } + @$pb.TagNumber(2) + $core.bool hasTopTimeMicros() => $_has(1); + @$pb.TagNumber(2) + void clearTopTimeMicros() => $_clearField(2); +} + +class PrivateId extends $pb.GeneratedMessage { + factory PrivateId({ + $fixnum.Int64? talkerUid, + }) { + final $result = create(); + if (talkerUid != null) { + $result.talkerUid = talkerUid; + } + return $result; + } + PrivateId._() : super(); + factory PrivateId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PrivateId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PrivateId', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'talkerUid') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PrivateId clone() => PrivateId()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PrivateId copyWith(void Function(PrivateId) updates) => super.copyWith((message) => updates(message as PrivateId)) as PrivateId; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PrivateId create() => PrivateId._(); + PrivateId createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PrivateId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PrivateId? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get talkerUid => $_getI64(0); + @$pb.TagNumber(1) + set talkerUid($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasTalkerUid() => $_has(0); + @$pb.TagNumber(1) + void clearTalkerUid() => $_clearField(1); +} + +class QuickLinkBubble extends $pb.GeneratedMessage { + factory QuickLinkBubble({ + $fixnum.Int64? mid, + $core.String? avatar, + $core.String? nickName, + $core.String? content, + QuickLinkItemType? quickLinkItem, + QuickLinkMsgType? msgType, + }) { + final $result = create(); + if (mid != null) { + $result.mid = mid; + } + if (avatar != null) { + $result.avatar = avatar; + } + if (nickName != null) { + $result.nickName = nickName; + } + if (content != null) { + $result.content = content; + } + if (quickLinkItem != null) { + $result.quickLinkItem = quickLinkItem; + } + if (msgType != null) { + $result.msgType = msgType; + } + return $result; + } + QuickLinkBubble._() : super(); + factory QuickLinkBubble.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QuickLinkBubble.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuickLinkBubble', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'mid') + ..aOS(2, _omitFieldNames ? '' : 'avatar') + ..aOS(3, _omitFieldNames ? '' : 'nickName') + ..aOS(4, _omitFieldNames ? '' : 'content') + ..e(5, _omitFieldNames ? '' : 'quickLinkItem', $pb.PbFieldType.OE, defaultOrMaker: QuickLinkItemType.QUICK_LINK_ITEM_TYPE_UNKNOWN, valueOf: QuickLinkItemType.valueOf, enumValues: QuickLinkItemType.values) + ..e(6, _omitFieldNames ? '' : 'msgType', $pb.PbFieldType.OE, defaultOrMaker: QuickLinkMsgType.LikeMsg, valueOf: QuickLinkMsgType.valueOf, enumValues: QuickLinkMsgType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QuickLinkBubble clone() => QuickLinkBubble()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QuickLinkBubble copyWith(void Function(QuickLinkBubble) updates) => super.copyWith((message) => updates(message as QuickLinkBubble)) as QuickLinkBubble; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QuickLinkBubble create() => QuickLinkBubble._(); + QuickLinkBubble createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QuickLinkBubble getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QuickLinkBubble? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get mid => $_getI64(0); + @$pb.TagNumber(1) + set mid($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasMid() => $_has(0); + @$pb.TagNumber(1) + void clearMid() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get avatar => $_getSZ(1); + @$pb.TagNumber(2) + set avatar($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasAvatar() => $_has(1); + @$pb.TagNumber(2) + void clearAvatar() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get nickName => $_getSZ(2); + @$pb.TagNumber(3) + set nickName($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasNickName() => $_has(2); + @$pb.TagNumber(3) + void clearNickName() => $_clearField(3); + + @$pb.TagNumber(4) + $core.String get content => $_getSZ(3); + @$pb.TagNumber(4) + set content($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasContent() => $_has(3); + @$pb.TagNumber(4) + void clearContent() => $_clearField(4); + + @$pb.TagNumber(5) + QuickLinkItemType get quickLinkItem => $_getN(4); + @$pb.TagNumber(5) + set quickLinkItem(QuickLinkItemType v) { $_setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasQuickLinkItem() => $_has(4); + @$pb.TagNumber(5) + void clearQuickLinkItem() => $_clearField(5); + + @$pb.TagNumber(6) + QuickLinkMsgType get msgType => $_getN(5); + @$pb.TagNumber(6) + set msgType(QuickLinkMsgType v) { $_setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasMsgType() => $_has(5); + @$pb.TagNumber(6) + void clearMsgType() => $_clearField(6); +} + +class QuickLinkConfig extends $pb.GeneratedMessage { + factory QuickLinkConfig({ + $core.Iterable? items, + QuickLinkBubble? bubble, + $core.bool? isLegacyStyle, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (bubble != null) { + $result.bubble = bubble; + } + if (isLegacyStyle != null) { + $result.isLegacyStyle = isLegacyStyle; + } + return $result; + } + QuickLinkConfig._() : super(); + factory QuickLinkConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QuickLinkConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuickLinkConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, subBuilder: QuickLinkItem.create) + ..aOM(2, _omitFieldNames ? '' : 'bubble', subBuilder: QuickLinkBubble.create) + ..aOB(3, _omitFieldNames ? '' : 'isLegacyStyle') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QuickLinkConfig clone() => QuickLinkConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QuickLinkConfig copyWith(void Function(QuickLinkConfig) updates) => super.copyWith((message) => updates(message as QuickLinkConfig)) as QuickLinkConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QuickLinkConfig create() => QuickLinkConfig._(); + QuickLinkConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QuickLinkConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QuickLinkConfig? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get items => $_getList(0); + + @$pb.TagNumber(2) + QuickLinkBubble get bubble => $_getN(1); + @$pb.TagNumber(2) + set bubble(QuickLinkBubble v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasBubble() => $_has(1); + @$pb.TagNumber(2) + void clearBubble() => $_clearField(2); + @$pb.TagNumber(2) + QuickLinkBubble ensureBubble() => $_ensure(1); + + @$pb.TagNumber(3) + $core.bool get isLegacyStyle => $_getBF(2); + @$pb.TagNumber(3) + set isLegacyStyle($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasIsLegacyStyle() => $_has(2); + @$pb.TagNumber(3) + void clearIsLegacyStyle() => $_clearField(3); +} + +class QuickLinkItem extends $pb.GeneratedMessage { + factory QuickLinkItem({ + $core.String? title, + $core.String? icon, + $core.String? iconDark, + $core.String? url, + Unread? unread, + QuickLinkItemType? itemType, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (icon != null) { + $result.icon = icon; + } + if (iconDark != null) { + $result.iconDark = iconDark; + } + if (url != null) { + $result.url = url; + } + if (unread != null) { + $result.unread = unread; + } + if (itemType != null) { + $result.itemType = itemType; + } + return $result; + } + QuickLinkItem._() : super(); + factory QuickLinkItem.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QuickLinkItem.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuickLinkItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'icon') + ..aOS(3, _omitFieldNames ? '' : 'iconDark') + ..aOS(4, _omitFieldNames ? '' : 'url') + ..aOM(5, _omitFieldNames ? '' : 'unread', subBuilder: Unread.create) + ..e(6, _omitFieldNames ? '' : 'itemType', $pb.PbFieldType.OE, defaultOrMaker: QuickLinkItemType.QUICK_LINK_ITEM_TYPE_UNKNOWN, valueOf: QuickLinkItemType.valueOf, enumValues: QuickLinkItemType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QuickLinkItem clone() => QuickLinkItem()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QuickLinkItem copyWith(void Function(QuickLinkItem) updates) => super.copyWith((message) => updates(message as QuickLinkItem)) as QuickLinkItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QuickLinkItem create() => QuickLinkItem._(); + QuickLinkItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QuickLinkItem getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QuickLinkItem? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get title => $_getSZ(0); + @$pb.TagNumber(1) + set title($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasTitle() => $_has(0); + @$pb.TagNumber(1) + void clearTitle() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get icon => $_getSZ(1); + @$pb.TagNumber(2) + set icon($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasIcon() => $_has(1); + @$pb.TagNumber(2) + void clearIcon() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get iconDark => $_getSZ(2); + @$pb.TagNumber(3) + set iconDark($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasIconDark() => $_has(2); + @$pb.TagNumber(3) + void clearIconDark() => $_clearField(3); + + @$pb.TagNumber(4) + $core.String get url => $_getSZ(3); + @$pb.TagNumber(4) + set url($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasUrl() => $_has(3); + @$pb.TagNumber(4) + void clearUrl() => $_clearField(4); + + @$pb.TagNumber(5) + Unread get unread => $_getN(4); + @$pb.TagNumber(5) + set unread(Unread v) { $_setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasUnread() => $_has(4); + @$pb.TagNumber(5) + void clearUnread() => $_clearField(5); + @$pb.TagNumber(5) + Unread ensureUnread() => $_ensure(4); + + @$pb.TagNumber(6) + QuickLinkItemType get itemType => $_getN(5); + @$pb.TagNumber(6) + set itemType(QuickLinkItemType v) { $_setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasItemType() => $_has(5); + @$pb.TagNumber(6) + void clearItemType() => $_clearField(6); +} + +class QuickLinkUnreadItem extends $pb.GeneratedMessage { + factory QuickLinkUnreadItem({ + QuickLinkItemType? itemType, + Unread? unread, + }) { + final $result = create(); + if (itemType != null) { + $result.itemType = itemType; + } + if (unread != null) { + $result.unread = unread; + } + return $result; + } + QuickLinkUnreadItem._() : super(); + factory QuickLinkUnreadItem.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QuickLinkUnreadItem.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuickLinkUnreadItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'itemType', $pb.PbFieldType.OE, defaultOrMaker: QuickLinkItemType.QUICK_LINK_ITEM_TYPE_UNKNOWN, valueOf: QuickLinkItemType.valueOf, enumValues: QuickLinkItemType.values) + ..aOM(2, _omitFieldNames ? '' : 'unread', subBuilder: Unread.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QuickLinkUnreadItem clone() => QuickLinkUnreadItem()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QuickLinkUnreadItem copyWith(void Function(QuickLinkUnreadItem) updates) => super.copyWith((message) => updates(message as QuickLinkUnreadItem)) as QuickLinkUnreadItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QuickLinkUnreadItem create() => QuickLinkUnreadItem._(); + QuickLinkUnreadItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QuickLinkUnreadItem getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QuickLinkUnreadItem? _defaultInstance; + + @$pb.TagNumber(1) + QuickLinkItemType get itemType => $_getN(0); + @$pb.TagNumber(1) + set itemType(QuickLinkItemType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasItemType() => $_has(0); + @$pb.TagNumber(1) + void clearItemType() => $_clearField(1); + + @$pb.TagNumber(2) + Unread get unread => $_getN(1); + @$pb.TagNumber(2) + set unread(Unread v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUnread() => $_has(1); + @$pb.TagNumber(2) + void clearUnread() => $_clearField(2); + @$pb.TagNumber(2) + Unread ensureUnread() => $_ensure(1); +} + +class RestrictedMode extends $pb.GeneratedMessage { + factory RestrictedMode({ + $core.bool? teenagers, + $core.bool? lessons, + }) { + final $result = create(); + if (teenagers != null) { + $result.teenagers = teenagers; + } + if (lessons != null) { + $result.lessons = lessons; + } + return $result; + } + RestrictedMode._() : super(); + factory RestrictedMode.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RestrictedMode.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RestrictedMode', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'teenagers') + ..aOB(2, _omitFieldNames ? '' : 'lessons') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RestrictedMode clone() => RestrictedMode()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RestrictedMode copyWith(void Function(RestrictedMode) updates) => super.copyWith((message) => updates(message as RestrictedMode)) as RestrictedMode; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RestrictedMode create() => RestrictedMode._(); + RestrictedMode createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RestrictedMode getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RestrictedMode? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get teenagers => $_getBF(0); + @$pb.TagNumber(1) + set teenagers($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasTeenagers() => $_has(0); + @$pb.TagNumber(1) + void clearTeenagers() => $_clearField(1); + + @$pb.TagNumber(2) + $core.bool get lessons => $_getBF(1); + @$pb.TagNumber(2) + set lessons($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasLessons() => $_has(1); + @$pb.TagNumber(2) + void clearLessons() => $_clearField(2); +} + +class SelectItem extends $pb.GeneratedMessage { + factory SelectItem({ + $core.int? itemType, + $core.String? text, + $core.bool? selected, + }) { + final $result = create(); + if (itemType != null) { + $result.itemType = itemType; + } + if (text != null) { + $result.text = text; + } + if (selected != null) { + $result.selected = selected; + } + return $result; + } + SelectItem._() : super(); + factory SelectItem.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SelectItem.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SelectItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'itemType', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'text') + ..aOB(3, _omitFieldNames ? '' : 'selected') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SelectItem clone() => SelectItem()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SelectItem copyWith(void Function(SelectItem) updates) => super.copyWith((message) => updates(message as SelectItem)) as SelectItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SelectItem create() => SelectItem._(); + SelectItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SelectItem getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SelectItem? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get itemType => $_getIZ(0); + @$pb.TagNumber(1) + set itemType($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasItemType() => $_has(0); + @$pb.TagNumber(1) + void clearItemType() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get text => $_getSZ(1); + @$pb.TagNumber(2) + set text($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasText() => $_has(1); + @$pb.TagNumber(2) + void clearText() => $_clearField(2); + + @$pb.TagNumber(3) + $core.bool get selected => $_getBF(2); + @$pb.TagNumber(3) + set selected($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasSelected() => $_has(2); + @$pb.TagNumber(3) + void clearSelected() => $_clearField(3); +} + +class Session extends $pb.GeneratedMessage { + factory Session({ + SessionId? id, + SessionInfo? sessionInfo, + Unread? unread, + MsgSummary? msgSummary, + $fixnum.Int64? timestamp, + $core.bool? isPinned, + $fixnum.Int64? sequenceNumber, + $core.bool? isMuted, + $core.String? chatUrl, + SessionOperation? operation, + $pb.PbMap<$core.String, $core.String>? traceParams, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (sessionInfo != null) { + $result.sessionInfo = sessionInfo; + } + if (unread != null) { + $result.unread = unread; + } + if (msgSummary != null) { + $result.msgSummary = msgSummary; + } + if (timestamp != null) { + $result.timestamp = timestamp; + } + if (isPinned != null) { + $result.isPinned = isPinned; + } + if (sequenceNumber != null) { + $result.sequenceNumber = sequenceNumber; + } + if (isMuted != null) { + $result.isMuted = isMuted; + } + if (chatUrl != null) { + $result.chatUrl = chatUrl; + } + if (operation != null) { + $result.operation = operation; + } + if (traceParams != null) { + $result.traceParams.addAll(traceParams); + } + return $result; + } + Session._() : super(); + factory Session.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Session.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Session', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'id', subBuilder: SessionId.create) + ..aOM(2, _omitFieldNames ? '' : 'sessionInfo', subBuilder: SessionInfo.create) + ..aOM(3, _omitFieldNames ? '' : 'unread', subBuilder: Unread.create) + ..aOM(4, _omitFieldNames ? '' : 'msgSummary', subBuilder: MsgSummary.create) + ..aInt64(5, _omitFieldNames ? '' : 'timestamp') + ..aOB(6, _omitFieldNames ? '' : 'isPinned') + ..aInt64(7, _omitFieldNames ? '' : 'sequenceNumber') + ..aOB(8, _omitFieldNames ? '' : 'isMuted') + ..aOS(9, _omitFieldNames ? '' : 'chatUrl') + ..aOM(10, _omitFieldNames ? '' : 'operation', subBuilder: SessionOperation.create) + ..m<$core.String, $core.String>(11, _omitFieldNames ? '' : 'traceParams', entryClassName: 'Session.TraceParamsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('bilibili.app.im.v1')) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Session clone() => Session()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Session copyWith(void Function(Session) updates) => super.copyWith((message) => updates(message as Session)) as Session; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Session create() => Session._(); + Session createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Session getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Session? _defaultInstance; + + @$pb.TagNumber(1) + SessionId get id => $_getN(0); + @$pb.TagNumber(1) + set id(SessionId v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => $_clearField(1); + @$pb.TagNumber(1) + SessionId ensureId() => $_ensure(0); + + @$pb.TagNumber(2) + SessionInfo get sessionInfo => $_getN(1); + @$pb.TagNumber(2) + set sessionInfo(SessionInfo v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasSessionInfo() => $_has(1); + @$pb.TagNumber(2) + void clearSessionInfo() => $_clearField(2); + @$pb.TagNumber(2) + SessionInfo ensureSessionInfo() => $_ensure(1); + + @$pb.TagNumber(3) + Unread get unread => $_getN(2); + @$pb.TagNumber(3) + set unread(Unread v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasUnread() => $_has(2); + @$pb.TagNumber(3) + void clearUnread() => $_clearField(3); + @$pb.TagNumber(3) + Unread ensureUnread() => $_ensure(2); + + @$pb.TagNumber(4) + MsgSummary get msgSummary => $_getN(3); + @$pb.TagNumber(4) + set msgSummary(MsgSummary v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasMsgSummary() => $_has(3); + @$pb.TagNumber(4) + void clearMsgSummary() => $_clearField(4); + @$pb.TagNumber(4) + MsgSummary ensureMsgSummary() => $_ensure(3); + + @$pb.TagNumber(5) + $fixnum.Int64 get timestamp => $_getI64(4); + @$pb.TagNumber(5) + set timestamp($fixnum.Int64 v) { $_setInt64(4, v); } + @$pb.TagNumber(5) + $core.bool hasTimestamp() => $_has(4); + @$pb.TagNumber(5) + void clearTimestamp() => $_clearField(5); + + @$pb.TagNumber(6) + $core.bool get isPinned => $_getBF(5); + @$pb.TagNumber(6) + set isPinned($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(6) + $core.bool hasIsPinned() => $_has(5); + @$pb.TagNumber(6) + void clearIsPinned() => $_clearField(6); + + @$pb.TagNumber(7) + $fixnum.Int64 get sequenceNumber => $_getI64(6); + @$pb.TagNumber(7) + set sequenceNumber($fixnum.Int64 v) { $_setInt64(6, v); } + @$pb.TagNumber(7) + $core.bool hasSequenceNumber() => $_has(6); + @$pb.TagNumber(7) + void clearSequenceNumber() => $_clearField(7); + + @$pb.TagNumber(8) + $core.bool get isMuted => $_getBF(7); + @$pb.TagNumber(8) + set isMuted($core.bool v) { $_setBool(7, v); } + @$pb.TagNumber(8) + $core.bool hasIsMuted() => $_has(7); + @$pb.TagNumber(8) + void clearIsMuted() => $_clearField(8); + + @$pb.TagNumber(9) + $core.String get chatUrl => $_getSZ(8); + @$pb.TagNumber(9) + set chatUrl($core.String v) { $_setString(8, v); } + @$pb.TagNumber(9) + $core.bool hasChatUrl() => $_has(8); + @$pb.TagNumber(9) + void clearChatUrl() => $_clearField(9); + + @$pb.TagNumber(10) + SessionOperation get operation => $_getN(9); + @$pb.TagNumber(10) + set operation(SessionOperation v) { $_setField(10, v); } + @$pb.TagNumber(10) + $core.bool hasOperation() => $_has(9); + @$pb.TagNumber(10) + void clearOperation() => $_clearField(10); + @$pb.TagNumber(10) + SessionOperation ensureOperation() => $_ensure(9); + + @$pb.TagNumber(11) + $pb.PbMap<$core.String, $core.String> get traceParams => $_getMap(10); +} + +enum SessionId_Id { + privateId, + groupId, + foldId, + systemId, + customerId, + notSet +} + +class SessionId extends $pb.GeneratedMessage { + factory SessionId({ + PrivateId? privateId, + GroupId? groupId, + FoldId? foldId, + SystemId? systemId, + CustomerId? customerId, + }) { + final $result = create(); + if (privateId != null) { + $result.privateId = privateId; + } + if (groupId != null) { + $result.groupId = groupId; + } + if (foldId != null) { + $result.foldId = foldId; + } + if (systemId != null) { + $result.systemId = systemId; + } + if (customerId != null) { + $result.customerId = customerId; + } + return $result; + } + SessionId._() : super(); + factory SessionId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, SessionId_Id> _SessionId_IdByTag = { + 1 : SessionId_Id.privateId, + 2 : SessionId_Id.groupId, + 3 : SessionId_Id.foldId, + 4 : SessionId_Id.systemId, + 5 : SessionId_Id.customerId, + 0 : SessionId_Id.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionId', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..oo(0, [1, 2, 3, 4, 5]) + ..aOM(1, _omitFieldNames ? '' : 'privateId', subBuilder: PrivateId.create) + ..aOM(2, _omitFieldNames ? '' : 'groupId', subBuilder: GroupId.create) + ..aOM(3, _omitFieldNames ? '' : 'foldId', subBuilder: FoldId.create) + ..aOM(4, _omitFieldNames ? '' : 'systemId', subBuilder: SystemId.create) + ..aOM(5, _omitFieldNames ? '' : 'customerId', subBuilder: CustomerId.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionId clone() => SessionId()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionId copyWith(void Function(SessionId) updates) => super.copyWith((message) => updates(message as SessionId)) as SessionId; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionId create() => SessionId._(); + SessionId createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionId? _defaultInstance; + + SessionId_Id whichId() => _SessionId_IdByTag[$_whichOneof(0)]!; + void clearId() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + PrivateId get privateId => $_getN(0); + @$pb.TagNumber(1) + set privateId(PrivateId v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasPrivateId() => $_has(0); + @$pb.TagNumber(1) + void clearPrivateId() => $_clearField(1); + @$pb.TagNumber(1) + PrivateId ensurePrivateId() => $_ensure(0); + + @$pb.TagNumber(2) + GroupId get groupId => $_getN(1); + @$pb.TagNumber(2) + set groupId(GroupId v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasGroupId() => $_has(1); + @$pb.TagNumber(2) + void clearGroupId() => $_clearField(2); + @$pb.TagNumber(2) + GroupId ensureGroupId() => $_ensure(1); + + @$pb.TagNumber(3) + FoldId get foldId => $_getN(2); + @$pb.TagNumber(3) + set foldId(FoldId v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasFoldId() => $_has(2); + @$pb.TagNumber(3) + void clearFoldId() => $_clearField(3); + @$pb.TagNumber(3) + FoldId ensureFoldId() => $_ensure(2); + + @$pb.TagNumber(4) + SystemId get systemId => $_getN(3); + @$pb.TagNumber(4) + set systemId(SystemId v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasSystemId() => $_has(3); + @$pb.TagNumber(4) + void clearSystemId() => $_clearField(4); + @$pb.TagNumber(4) + SystemId ensureSystemId() => $_ensure(3); + + @$pb.TagNumber(5) + CustomerId get customerId => $_getN(4); + @$pb.TagNumber(5) + set customerId(CustomerId v) { $_setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasCustomerId() => $_has(4); + @$pb.TagNumber(5) + void clearCustomerId() => $_clearField(5); + @$pb.TagNumber(5) + CustomerId ensureCustomerId() => $_ensure(4); +} + +class SessionInfo extends $pb.GeneratedMessage { + factory SessionInfo({ + $core.String? sessionName, + $1.NameRender? nameRender, + $0.AvatarItem? avatar, + $core.String? vipInfo, + UserLabel? userLabel, + $core.bool? isLive, + }) { + final $result = create(); + if (sessionName != null) { + $result.sessionName = sessionName; + } + if (nameRender != null) { + $result.nameRender = nameRender; + } + if (avatar != null) { + $result.avatar = avatar; + } + if (vipInfo != null) { + $result.vipInfo = vipInfo; + } + if (userLabel != null) { + $result.userLabel = userLabel; + } + if (isLive != null) { + $result.isLive = isLive; + } + return $result; + } + SessionInfo._() : super(); + factory SessionInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'sessionName') + ..aOM<$1.NameRender>(2, _omitFieldNames ? '' : 'nameRender', subBuilder: $1.NameRender.create) + ..aOM<$0.AvatarItem>(3, _omitFieldNames ? '' : 'avatar', subBuilder: $0.AvatarItem.create) + ..aOS(4, _omitFieldNames ? '' : 'vipInfo') + ..aOM(5, _omitFieldNames ? '' : 'userLabel', subBuilder: UserLabel.create) + ..aOB(6, _omitFieldNames ? '' : 'isLive') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionInfo clone() => SessionInfo()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionInfo copyWith(void Function(SessionInfo) updates) => super.copyWith((message) => updates(message as SessionInfo)) as SessionInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionInfo create() => SessionInfo._(); + SessionInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionInfo? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get sessionName => $_getSZ(0); + @$pb.TagNumber(1) + set sessionName($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasSessionName() => $_has(0); + @$pb.TagNumber(1) + void clearSessionName() => $_clearField(1); + + @$pb.TagNumber(2) + $1.NameRender get nameRender => $_getN(1); + @$pb.TagNumber(2) + set nameRender($1.NameRender v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasNameRender() => $_has(1); + @$pb.TagNumber(2) + void clearNameRender() => $_clearField(2); + @$pb.TagNumber(2) + $1.NameRender ensureNameRender() => $_ensure(1); + + @$pb.TagNumber(3) + $0.AvatarItem get avatar => $_getN(2); + @$pb.TagNumber(3) + set avatar($0.AvatarItem v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasAvatar() => $_has(2); + @$pb.TagNumber(3) + void clearAvatar() => $_clearField(3); + @$pb.TagNumber(3) + $0.AvatarItem ensureAvatar() => $_ensure(2); + + @$pb.TagNumber(4) + $core.String get vipInfo => $_getSZ(3); + @$pb.TagNumber(4) + set vipInfo($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasVipInfo() => $_has(3); + @$pb.TagNumber(4) + void clearVipInfo() => $_clearField(4); + + @$pb.TagNumber(5) + UserLabel get userLabel => $_getN(4); + @$pb.TagNumber(5) + set userLabel(UserLabel v) { $_setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasUserLabel() => $_has(4); + @$pb.TagNumber(5) + void clearUserLabel() => $_clearField(5); + @$pb.TagNumber(5) + UserLabel ensureUserLabel() => $_ensure(4); + + @$pb.TagNumber(6) + $core.bool get isLive => $_getBF(5); + @$pb.TagNumber(6) + set isLive($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(6) + $core.bool hasIsLive() => $_has(5); + @$pb.TagNumber(6) + void clearIsLive() => $_clearField(6); +} + +class SessionListExtraInfo extends $pb.GeneratedMessage { + factory SessionListExtraInfo({ + AutoReplyToast? autoReplyToast, + $core.bool? showAntiHarassmentPopup, + $core.String? customerHintTitle, + BehaviorAlertToast? behaviorAlertToast, + }) { + final $result = create(); + if (autoReplyToast != null) { + $result.autoReplyToast = autoReplyToast; + } + if (showAntiHarassmentPopup != null) { + $result.showAntiHarassmentPopup = showAntiHarassmentPopup; + } + if (customerHintTitle != null) { + $result.customerHintTitle = customerHintTitle; + } + if (behaviorAlertToast != null) { + $result.behaviorAlertToast = behaviorAlertToast; + } + return $result; + } + SessionListExtraInfo._() : super(); + factory SessionListExtraInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionListExtraInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionListExtraInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'autoReplyToast', subBuilder: AutoReplyToast.create) + ..aOB(2, _omitFieldNames ? '' : 'showAntiHarassmentPopup') + ..aOS(3, _omitFieldNames ? '' : 'customerHintTitle') + ..aOM(4, _omitFieldNames ? '' : 'behaviorAlertToast', subBuilder: BehaviorAlertToast.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionListExtraInfo clone() => SessionListExtraInfo()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionListExtraInfo copyWith(void Function(SessionListExtraInfo) updates) => super.copyWith((message) => updates(message as SessionListExtraInfo)) as SessionListExtraInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionListExtraInfo create() => SessionListExtraInfo._(); + SessionListExtraInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionListExtraInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionListExtraInfo? _defaultInstance; + + @$pb.TagNumber(1) + AutoReplyToast get autoReplyToast => $_getN(0); + @$pb.TagNumber(1) + set autoReplyToast(AutoReplyToast v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasAutoReplyToast() => $_has(0); + @$pb.TagNumber(1) + void clearAutoReplyToast() => $_clearField(1); + @$pb.TagNumber(1) + AutoReplyToast ensureAutoReplyToast() => $_ensure(0); + + @$pb.TagNumber(2) + $core.bool get showAntiHarassmentPopup => $_getBF(1); + @$pb.TagNumber(2) + set showAntiHarassmentPopup($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasShowAntiHarassmentPopup() => $_has(1); + @$pb.TagNumber(2) + void clearShowAntiHarassmentPopup() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get customerHintTitle => $_getSZ(2); + @$pb.TagNumber(3) + set customerHintTitle($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasCustomerHintTitle() => $_has(2); + @$pb.TagNumber(3) + void clearCustomerHintTitle() => $_clearField(3); + + @$pb.TagNumber(4) + BehaviorAlertToast get behaviorAlertToast => $_getN(3); + @$pb.TagNumber(4) + set behaviorAlertToast(BehaviorAlertToast v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasBehaviorAlertToast() => $_has(3); + @$pb.TagNumber(4) + void clearBehaviorAlertToast() => $_clearField(4); + @$pb.TagNumber(4) + BehaviorAlertToast ensureBehaviorAlertToast() => $_ensure(3); +} + +class SessionListUpdateReply extends $pb.GeneratedMessage { + factory SessionListUpdateReply({ + $core.Iterable? sessions, + UpdateSessionParams? updateSessionParams, + }) { + final $result = create(); + if (sessions != null) { + $result.sessions.addAll(sessions); + } + if (updateSessionParams != null) { + $result.updateSessionParams = updateSessionParams; + } + return $result; + } + SessionListUpdateReply._() : super(); + factory SessionListUpdateReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionListUpdateReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionListUpdateReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'sessions', $pb.PbFieldType.PM, subBuilder: Session.create) + ..aOM(2, _omitFieldNames ? '' : 'updateSessionParams', subBuilder: UpdateSessionParams.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionListUpdateReply clone() => SessionListUpdateReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionListUpdateReply copyWith(void Function(SessionListUpdateReply) updates) => super.copyWith((message) => updates(message as SessionListUpdateReply)) as SessionListUpdateReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionListUpdateReply create() => SessionListUpdateReply._(); + SessionListUpdateReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionListUpdateReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionListUpdateReply? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get sessions => $_getList(0); + + @$pb.TagNumber(2) + UpdateSessionParams get updateSessionParams => $_getN(1); + @$pb.TagNumber(2) + set updateSessionParams(UpdateSessionParams v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUpdateSessionParams() => $_has(1); + @$pb.TagNumber(2) + void clearUpdateSessionParams() => $_clearField(2); + @$pb.TagNumber(2) + UpdateSessionParams ensureUpdateSessionParams() => $_ensure(1); +} + +class SessionListUpdateReq extends $pb.GeneratedMessage { + factory SessionListUpdateReq({ + RestrictedMode? restrictedMode, + UpdateSessionParams? updateParams, + SessionPageType? pageType, + SessionFilterType? filterType, + }) { + final $result = create(); + if (restrictedMode != null) { + $result.restrictedMode = restrictedMode; + } + if (updateParams != null) { + $result.updateParams = updateParams; + } + if (pageType != null) { + $result.pageType = pageType; + } + if (filterType != null) { + $result.filterType = filterType; + } + return $result; + } + SessionListUpdateReq._() : super(); + factory SessionListUpdateReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionListUpdateReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionListUpdateReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'restrictedMode', subBuilder: RestrictedMode.create) + ..aOM(2, _omitFieldNames ? '' : 'updateParams', subBuilder: UpdateSessionParams.create) + ..e(3, _omitFieldNames ? '' : 'pageType', $pb.PbFieldType.OE, defaultOrMaker: SessionPageType.SESSION_PAGE_TYPE_UNKNOWN, valueOf: SessionPageType.valueOf, enumValues: SessionPageType.values) + ..e(4, _omitFieldNames ? '' : 'filterType', $pb.PbFieldType.OE, defaultOrMaker: SessionFilterType.FILTER_DEFAULT, valueOf: SessionFilterType.valueOf, enumValues: SessionFilterType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionListUpdateReq clone() => SessionListUpdateReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionListUpdateReq copyWith(void Function(SessionListUpdateReq) updates) => super.copyWith((message) => updates(message as SessionListUpdateReq)) as SessionListUpdateReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionListUpdateReq create() => SessionListUpdateReq._(); + SessionListUpdateReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionListUpdateReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionListUpdateReq? _defaultInstance; + + @$pb.TagNumber(1) + RestrictedMode get restrictedMode => $_getN(0); + @$pb.TagNumber(1) + set restrictedMode(RestrictedMode v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasRestrictedMode() => $_has(0); + @$pb.TagNumber(1) + void clearRestrictedMode() => $_clearField(1); + @$pb.TagNumber(1) + RestrictedMode ensureRestrictedMode() => $_ensure(0); + + @$pb.TagNumber(2) + UpdateSessionParams get updateParams => $_getN(1); + @$pb.TagNumber(2) + set updateParams(UpdateSessionParams v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUpdateParams() => $_has(1); + @$pb.TagNumber(2) + void clearUpdateParams() => $_clearField(2); + @$pb.TagNumber(2) + UpdateSessionParams ensureUpdateParams() => $_ensure(1); + + @$pb.TagNumber(3) + SessionPageType get pageType => $_getN(2); + @$pb.TagNumber(3) + set pageType(SessionPageType v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasPageType() => $_has(2); + @$pb.TagNumber(3) + void clearPageType() => $_clearField(3); + + @$pb.TagNumber(4) + SessionFilterType get filterType => $_getN(3); + @$pb.TagNumber(4) + set filterType(SessionFilterType v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasFilterType() => $_has(3); + @$pb.TagNumber(4) + void clearFilterType() => $_clearField(4); +} + +class SessionMainReply extends $pb.GeneratedMessage { + factory SessionMainReply({ + PaginationParams? paginationParams, + UpdateSessionParams? updateSessionParams, + QuickLinkConfig? quickLinkConfig, + FilterConfig? filterConfig, + $core.Iterable? sessions, + $core.Iterable? threeDotItems, + $core.Iterable? outsideItem, + SessionListExtraInfo? extraInfo, + }) { + final $result = create(); + if (paginationParams != null) { + $result.paginationParams = paginationParams; + } + if (updateSessionParams != null) { + $result.updateSessionParams = updateSessionParams; + } + if (quickLinkConfig != null) { + $result.quickLinkConfig = quickLinkConfig; + } + if (filterConfig != null) { + $result.filterConfig = filterConfig; + } + if (sessions != null) { + $result.sessions.addAll(sessions); + } + if (threeDotItems != null) { + $result.threeDotItems.addAll(threeDotItems); + } + if (outsideItem != null) { + $result.outsideItem.addAll(outsideItem); + } + if (extraInfo != null) { + $result.extraInfo = extraInfo; + } + return $result; + } + SessionMainReply._() : super(); + factory SessionMainReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionMainReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionMainReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'paginationParams', subBuilder: PaginationParams.create) + ..aOM(2, _omitFieldNames ? '' : 'updateSessionParams', subBuilder: UpdateSessionParams.create) + ..aOM(3, _omitFieldNames ? '' : 'quickLinkConfig', subBuilder: QuickLinkConfig.create) + ..aOM(4, _omitFieldNames ? '' : 'filterConfig', subBuilder: FilterConfig.create) + ..pc(5, _omitFieldNames ? '' : 'sessions', $pb.PbFieldType.PM, subBuilder: Session.create) + ..pc(6, _omitFieldNames ? '' : 'threeDotItems', $pb.PbFieldType.PM, subBuilder: ThreeDotItem.create) + ..pc(7, _omitFieldNames ? '' : 'outsideItem', $pb.PbFieldType.PM, subBuilder: ThreeDotItem.create) + ..aOM(8, _omitFieldNames ? '' : 'extraInfo', subBuilder: SessionListExtraInfo.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionMainReply clone() => SessionMainReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionMainReply copyWith(void Function(SessionMainReply) updates) => super.copyWith((message) => updates(message as SessionMainReply)) as SessionMainReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionMainReply create() => SessionMainReply._(); + SessionMainReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionMainReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionMainReply? _defaultInstance; + + @$pb.TagNumber(1) + PaginationParams get paginationParams => $_getN(0); + @$pb.TagNumber(1) + set paginationParams(PaginationParams v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasPaginationParams() => $_has(0); + @$pb.TagNumber(1) + void clearPaginationParams() => $_clearField(1); + @$pb.TagNumber(1) + PaginationParams ensurePaginationParams() => $_ensure(0); + + @$pb.TagNumber(2) + UpdateSessionParams get updateSessionParams => $_getN(1); + @$pb.TagNumber(2) + set updateSessionParams(UpdateSessionParams v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUpdateSessionParams() => $_has(1); + @$pb.TagNumber(2) + void clearUpdateSessionParams() => $_clearField(2); + @$pb.TagNumber(2) + UpdateSessionParams ensureUpdateSessionParams() => $_ensure(1); + + @$pb.TagNumber(3) + QuickLinkConfig get quickLinkConfig => $_getN(2); + @$pb.TagNumber(3) + set quickLinkConfig(QuickLinkConfig v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasQuickLinkConfig() => $_has(2); + @$pb.TagNumber(3) + void clearQuickLinkConfig() => $_clearField(3); + @$pb.TagNumber(3) + QuickLinkConfig ensureQuickLinkConfig() => $_ensure(2); + + @$pb.TagNumber(4) + FilterConfig get filterConfig => $_getN(3); + @$pb.TagNumber(4) + set filterConfig(FilterConfig v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasFilterConfig() => $_has(3); + @$pb.TagNumber(4) + void clearFilterConfig() => $_clearField(4); + @$pb.TagNumber(4) + FilterConfig ensureFilterConfig() => $_ensure(3); + + @$pb.TagNumber(5) + $pb.PbList get sessions => $_getList(4); + + @$pb.TagNumber(6) + $pb.PbList get threeDotItems => $_getList(5); + + @$pb.TagNumber(7) + $pb.PbList get outsideItem => $_getList(6); + + @$pb.TagNumber(8) + SessionListExtraInfo get extraInfo => $_getN(7); + @$pb.TagNumber(8) + set extraInfo(SessionListExtraInfo v) { $_setField(8, v); } + @$pb.TagNumber(8) + $core.bool hasExtraInfo() => $_has(7); + @$pb.TagNumber(8) + void clearExtraInfo() => $_clearField(8); + @$pb.TagNumber(8) + SessionListExtraInfo ensureExtraInfo() => $_ensure(7); +} + +class SessionMainReq extends $pb.GeneratedMessage { + factory SessionMainReq({ + RestrictedMode? restrictedMode, + PaginationParams? paginationParams, + SessionFilterType? filterType, + }) { + final $result = create(); + if (restrictedMode != null) { + $result.restrictedMode = restrictedMode; + } + if (paginationParams != null) { + $result.paginationParams = paginationParams; + } + if (filterType != null) { + $result.filterType = filterType; + } + return $result; + } + SessionMainReq._() : super(); + factory SessionMainReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionMainReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionMainReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'restrictedMode', subBuilder: RestrictedMode.create) + ..aOM(2, _omitFieldNames ? '' : 'paginationParams', subBuilder: PaginationParams.create) + ..e(3, _omitFieldNames ? '' : 'filterType', $pb.PbFieldType.OE, defaultOrMaker: SessionFilterType.FILTER_DEFAULT, valueOf: SessionFilterType.valueOf, enumValues: SessionFilterType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionMainReq clone() => SessionMainReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionMainReq copyWith(void Function(SessionMainReq) updates) => super.copyWith((message) => updates(message as SessionMainReq)) as SessionMainReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionMainReq create() => SessionMainReq._(); + SessionMainReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionMainReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionMainReq? _defaultInstance; + + @$pb.TagNumber(1) + RestrictedMode get restrictedMode => $_getN(0); + @$pb.TagNumber(1) + set restrictedMode(RestrictedMode v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasRestrictedMode() => $_has(0); + @$pb.TagNumber(1) + void clearRestrictedMode() => $_clearField(1); + @$pb.TagNumber(1) + RestrictedMode ensureRestrictedMode() => $_ensure(0); + + @$pb.TagNumber(2) + PaginationParams get paginationParams => $_getN(1); + @$pb.TagNumber(2) + set paginationParams(PaginationParams v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPaginationParams() => $_has(1); + @$pb.TagNumber(2) + void clearPaginationParams() => $_clearField(2); + @$pb.TagNumber(2) + PaginationParams ensurePaginationParams() => $_ensure(1); + + @$pb.TagNumber(3) + SessionFilterType get filterType => $_getN(2); + @$pb.TagNumber(3) + set filterType(SessionFilterType v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasFilterType() => $_has(2); + @$pb.TagNumber(3) + void clearFilterType() => $_clearField(3); +} + +class SessionOperation extends $pb.GeneratedMessage { + factory SessionOperation({ + OperationContent? pin, + OperationContent? unpin, + OperationContent? delete, + OperationContent? clearUnread, + OperationContent? unblock, + }) { + final $result = create(); + if (pin != null) { + $result.pin = pin; + } + if (unpin != null) { + $result.unpin = unpin; + } + if (delete != null) { + $result.delete = delete; + } + if (clearUnread != null) { + $result.clearUnread = clearUnread; + } + if (unblock != null) { + $result.unblock = unblock; + } + return $result; + } + SessionOperation._() : super(); + factory SessionOperation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionOperation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionOperation', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'pin', subBuilder: OperationContent.create) + ..aOM(2, _omitFieldNames ? '' : 'unpin', subBuilder: OperationContent.create) + ..aOM(3, _omitFieldNames ? '' : 'delete', subBuilder: OperationContent.create) + ..aOM(4, _omitFieldNames ? '' : 'clearUnread', subBuilder: OperationContent.create) + ..aOM(5, _omitFieldNames ? '' : 'unblock', subBuilder: OperationContent.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionOperation clone() => SessionOperation()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionOperation copyWith(void Function(SessionOperation) updates) => super.copyWith((message) => updates(message as SessionOperation)) as SessionOperation; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionOperation create() => SessionOperation._(); + SessionOperation createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionOperation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionOperation? _defaultInstance; + + @$pb.TagNumber(1) + OperationContent get pin => $_getN(0); + @$pb.TagNumber(1) + set pin(OperationContent v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasPin() => $_has(0); + @$pb.TagNumber(1) + void clearPin() => $_clearField(1); + @$pb.TagNumber(1) + OperationContent ensurePin() => $_ensure(0); + + @$pb.TagNumber(2) + OperationContent get unpin => $_getN(1); + @$pb.TagNumber(2) + set unpin(OperationContent v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUnpin() => $_has(1); + @$pb.TagNumber(2) + void clearUnpin() => $_clearField(2); + @$pb.TagNumber(2) + OperationContent ensureUnpin() => $_ensure(1); + + @$pb.TagNumber(3) + OperationContent get delete => $_getN(2); + @$pb.TagNumber(3) + set delete(OperationContent v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasDelete() => $_has(2); + @$pb.TagNumber(3) + void clearDelete() => $_clearField(3); + @$pb.TagNumber(3) + OperationContent ensureDelete() => $_ensure(2); + + @$pb.TagNumber(4) + OperationContent get clearUnread => $_getN(3); + @$pb.TagNumber(4) + set clearUnread(OperationContent v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasClearUnread() => $_has(3); + @$pb.TagNumber(4) + void clearClearUnread() => $_clearField(4); + @$pb.TagNumber(4) + OperationContent ensureClearUnread() => $_ensure(3); + + @$pb.TagNumber(5) + OperationContent get unblock => $_getN(4); + @$pb.TagNumber(5) + set unblock(OperationContent v) { $_setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasUnblock() => $_has(4); + @$pb.TagNumber(5) + void clearUnblock() => $_clearField(5); + @$pb.TagNumber(5) + OperationContent ensureUnblock() => $_ensure(4); +} + +class SessionSecondaryReply extends $pb.GeneratedMessage { + factory SessionSecondaryReply({ + PaginationParams? paginationParams, + UpdateSessionParams? updateSessionParams, + $core.Iterable? sessions, + $core.Iterable? threeDotItems, + $core.Iterable? outsideItem, + }) { + final $result = create(); + if (paginationParams != null) { + $result.paginationParams = paginationParams; + } + if (updateSessionParams != null) { + $result.updateSessionParams = updateSessionParams; + } + if (sessions != null) { + $result.sessions.addAll(sessions); + } + if (threeDotItems != null) { + $result.threeDotItems.addAll(threeDotItems); + } + if (outsideItem != null) { + $result.outsideItem.addAll(outsideItem); + } + return $result; + } + SessionSecondaryReply._() : super(); + factory SessionSecondaryReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionSecondaryReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionSecondaryReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'paginationParams', subBuilder: PaginationParams.create) + ..aOM(2, _omitFieldNames ? '' : 'updateSessionParams', subBuilder: UpdateSessionParams.create) + ..pc(3, _omitFieldNames ? '' : 'sessions', $pb.PbFieldType.PM, subBuilder: Session.create) + ..pc(4, _omitFieldNames ? '' : 'threeDotItems', $pb.PbFieldType.PM, subBuilder: ThreeDotItem.create) + ..pc(5, _omitFieldNames ? '' : 'outsideItem', $pb.PbFieldType.PM, subBuilder: ThreeDotItem.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionSecondaryReply clone() => SessionSecondaryReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionSecondaryReply copyWith(void Function(SessionSecondaryReply) updates) => super.copyWith((message) => updates(message as SessionSecondaryReply)) as SessionSecondaryReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionSecondaryReply create() => SessionSecondaryReply._(); + SessionSecondaryReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionSecondaryReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionSecondaryReply? _defaultInstance; + + @$pb.TagNumber(1) + PaginationParams get paginationParams => $_getN(0); + @$pb.TagNumber(1) + set paginationParams(PaginationParams v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasPaginationParams() => $_has(0); + @$pb.TagNumber(1) + void clearPaginationParams() => $_clearField(1); + @$pb.TagNumber(1) + PaginationParams ensurePaginationParams() => $_ensure(0); + + @$pb.TagNumber(2) + UpdateSessionParams get updateSessionParams => $_getN(1); + @$pb.TagNumber(2) + set updateSessionParams(UpdateSessionParams v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUpdateSessionParams() => $_has(1); + @$pb.TagNumber(2) + void clearUpdateSessionParams() => $_clearField(2); + @$pb.TagNumber(2) + UpdateSessionParams ensureUpdateSessionParams() => $_ensure(1); + + @$pb.TagNumber(3) + $pb.PbList get sessions => $_getList(2); + + @$pb.TagNumber(4) + $pb.PbList get threeDotItems => $_getList(3); + + @$pb.TagNumber(5) + $pb.PbList get outsideItem => $_getList(4); +} + +class SessionSecondaryReq extends $pb.GeneratedMessage { + factory SessionSecondaryReq({ + RestrictedMode? restrictedMode, + PaginationParams? paginationParams, + SessionPageType? pageType, + }) { + final $result = create(); + if (restrictedMode != null) { + $result.restrictedMode = restrictedMode; + } + if (paginationParams != null) { + $result.paginationParams = paginationParams; + } + if (pageType != null) { + $result.pageType = pageType; + } + return $result; + } + SessionSecondaryReq._() : super(); + factory SessionSecondaryReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionSecondaryReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionSecondaryReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'restrictedMode', subBuilder: RestrictedMode.create) + ..aOM(2, _omitFieldNames ? '' : 'paginationParams', subBuilder: PaginationParams.create) + ..e(3, _omitFieldNames ? '' : 'pageType', $pb.PbFieldType.OE, defaultOrMaker: SessionPageType.SESSION_PAGE_TYPE_UNKNOWN, valueOf: SessionPageType.valueOf, enumValues: SessionPageType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionSecondaryReq clone() => SessionSecondaryReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionSecondaryReq copyWith(void Function(SessionSecondaryReq) updates) => super.copyWith((message) => updates(message as SessionSecondaryReq)) as SessionSecondaryReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionSecondaryReq create() => SessionSecondaryReq._(); + SessionSecondaryReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionSecondaryReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionSecondaryReq? _defaultInstance; + + @$pb.TagNumber(1) + RestrictedMode get restrictedMode => $_getN(0); + @$pb.TagNumber(1) + set restrictedMode(RestrictedMode v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasRestrictedMode() => $_has(0); + @$pb.TagNumber(1) + void clearRestrictedMode() => $_clearField(1); + @$pb.TagNumber(1) + RestrictedMode ensureRestrictedMode() => $_ensure(0); + + @$pb.TagNumber(2) + PaginationParams get paginationParams => $_getN(1); + @$pb.TagNumber(2) + set paginationParams(PaginationParams v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPaginationParams() => $_has(1); + @$pb.TagNumber(2) + void clearPaginationParams() => $_clearField(2); + @$pb.TagNumber(2) + PaginationParams ensurePaginationParams() => $_ensure(1); + + @$pb.TagNumber(3) + SessionPageType get pageType => $_getN(2); + @$pb.TagNumber(3) + set pageType(SessionPageType v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasPageType() => $_has(2); + @$pb.TagNumber(3) + void clearPageType() => $_clearField(3); +} + +class SessionUpdateReply extends $pb.GeneratedMessage { + factory SessionUpdateReply({ + Session? session, + }) { + final $result = create(); + if (session != null) { + $result.session = session; + } + return $result; + } + SessionUpdateReply._() : super(); + factory SessionUpdateReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionUpdateReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionUpdateReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'session', subBuilder: Session.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionUpdateReply clone() => SessionUpdateReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionUpdateReply copyWith(void Function(SessionUpdateReply) updates) => super.copyWith((message) => updates(message as SessionUpdateReply)) as SessionUpdateReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionUpdateReply create() => SessionUpdateReply._(); + SessionUpdateReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionUpdateReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionUpdateReply? _defaultInstance; + + @$pb.TagNumber(1) + Session get session => $_getN(0); + @$pb.TagNumber(1) + set session(Session v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasSession() => $_has(0); + @$pb.TagNumber(1) + void clearSession() => $_clearField(1); + @$pb.TagNumber(1) + Session ensureSession() => $_ensure(0); +} + +class SessionUpdateReq extends $pb.GeneratedMessage { + factory SessionUpdateReq({ + SessionId? sessionId, + SessionPageType? pageType, + }) { + final $result = create(); + if (sessionId != null) { + $result.sessionId = sessionId; + } + if (pageType != null) { + $result.pageType = pageType; + } + return $result; + } + SessionUpdateReq._() : super(); + factory SessionUpdateReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionUpdateReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionUpdateReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'sessionId', subBuilder: SessionId.create) + ..e(2, _omitFieldNames ? '' : 'pageType', $pb.PbFieldType.OE, defaultOrMaker: SessionPageType.SESSION_PAGE_TYPE_UNKNOWN, valueOf: SessionPageType.valueOf, enumValues: SessionPageType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionUpdateReq clone() => SessionUpdateReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionUpdateReq copyWith(void Function(SessionUpdateReq) updates) => super.copyWith((message) => updates(message as SessionUpdateReq)) as SessionUpdateReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionUpdateReq create() => SessionUpdateReq._(); + SessionUpdateReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionUpdateReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionUpdateReq? _defaultInstance; + + @$pb.TagNumber(1) + SessionId get sessionId => $_getN(0); + @$pb.TagNumber(1) + set sessionId(SessionId v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasSessionId() => $_has(0); + @$pb.TagNumber(1) + void clearSessionId() => $_clearField(1); + @$pb.TagNumber(1) + SessionId ensureSessionId() => $_ensure(0); + + @$pb.TagNumber(2) + SessionPageType get pageType => $_getN(1); + @$pb.TagNumber(2) + set pageType(SessionPageType v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPageType() => $_has(1); + @$pb.TagNumber(2) + void clearPageType() => $_clearField(2); +} + +class SessionsFilter extends $pb.GeneratedMessage { + factory SessionsFilter({ + SessionFilterType? stype, + $core.String? title, + }) { + final $result = create(); + if (stype != null) { + $result.stype = stype; + } + if (title != null) { + $result.title = title; + } + return $result; + } + SessionsFilter._() : super(); + factory SessionsFilter.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SessionsFilter.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionsFilter', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'stype', $pb.PbFieldType.OE, defaultOrMaker: SessionFilterType.FILTER_DEFAULT, valueOf: SessionFilterType.valueOf, enumValues: SessionFilterType.values) + ..aOS(2, _omitFieldNames ? '' : 'title') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SessionsFilter clone() => SessionsFilter()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SessionsFilter copyWith(void Function(SessionsFilter) updates) => super.copyWith((message) => updates(message as SessionsFilter)) as SessionsFilter; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SessionsFilter create() => SessionsFilter._(); + SessionsFilter createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SessionsFilter getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SessionsFilter? _defaultInstance; + + @$pb.TagNumber(1) + SessionFilterType get stype => $_getN(0); + @$pb.TagNumber(1) + set stype(SessionFilterType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasStype() => $_has(0); + @$pb.TagNumber(1) + void clearStype() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get title => $_getSZ(1); + @$pb.TagNumber(2) + set title($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasTitle() => $_has(1); + @$pb.TagNumber(2) + void clearTitle() => $_clearField(2); +} + +class SetImSettingsReply extends $pb.GeneratedMessage { + factory SetImSettingsReply({ + $core.String? toast, + }) { + final $result = create(); + if (toast != null) { + $result.toast = toast; + } + return $result; + } + SetImSettingsReply._() : super(); + factory SetImSettingsReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SetImSettingsReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetImSettingsReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'toast') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SetImSettingsReply clone() => SetImSettingsReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SetImSettingsReply copyWith(void Function(SetImSettingsReply) updates) => super.copyWith((message) => updates(message as SetImSettingsReply)) as SetImSettingsReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SetImSettingsReply create() => SetImSettingsReply._(); + SetImSettingsReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SetImSettingsReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SetImSettingsReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get toast => $_getSZ(0); + @$pb.TagNumber(1) + set toast($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasToast() => $_has(0); + @$pb.TagNumber(1) + void clearToast() => $_clearField(1); +} + +class SetImSettingsReq extends $pb.GeneratedMessage { + factory SetImSettingsReq({ + $pb.PbMap<$core.int, Setting>? settings, + }) { + final $result = create(); + if (settings != null) { + $result.settings.addAll(settings); + } + return $result; + } + SetImSettingsReq._() : super(); + factory SetImSettingsReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SetImSettingsReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetImSettingsReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..m<$core.int, Setting>(1, _omitFieldNames ? '' : 'settings', entryClassName: 'SetImSettingsReq.SettingsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OM, valueCreator: Setting.create, valueDefaultOrMaker: Setting.getDefault, packageName: const $pb.PackageName('bilibili.app.im.v1')) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SetImSettingsReq clone() => SetImSettingsReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SetImSettingsReq copyWith(void Function(SetImSettingsReq) updates) => super.copyWith((message) => updates(message as SetImSettingsReq)) as SetImSettingsReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SetImSettingsReq create() => SetImSettingsReq._(); + SetImSettingsReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SetImSettingsReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SetImSettingsReq? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbMap<$core.int, Setting> get settings => $_getMap(0); +} + +enum Setting_Content { + switch_1, + select, + redirect, + text, + notSet +} + +class Setting extends $pb.GeneratedMessage { + factory Setting({ + SettingSwitch? switch_1, + SettingSelect? select, + SettingRedirect? redirect, + SettingText? text, + }) { + final $result = create(); + if (switch_1 != null) { + $result.switch_1 = switch_1; + } + if (select != null) { + $result.select = select; + } + if (redirect != null) { + $result.redirect = redirect; + } + if (text != null) { + $result.text = text; + } + return $result; + } + Setting._() : super(); + factory Setting.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Setting.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, Setting_Content> _Setting_ContentByTag = { + 1 : Setting_Content.switch_1, + 2 : Setting_Content.select, + 3 : Setting_Content.redirect, + 4 : Setting_Content.text, + 0 : Setting_Content.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Setting', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..oo(0, [1, 2, 3, 4]) + ..aOM(1, _omitFieldNames ? '' : 'switch', subBuilder: SettingSwitch.create) + ..aOM(2, _omitFieldNames ? '' : 'select', subBuilder: SettingSelect.create) + ..aOM(3, _omitFieldNames ? '' : 'redirect', subBuilder: SettingRedirect.create) + ..aOM(4, _omitFieldNames ? '' : 'text', subBuilder: SettingText.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Setting clone() => Setting()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Setting copyWith(void Function(Setting) updates) => super.copyWith((message) => updates(message as Setting)) as Setting; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Setting create() => Setting._(); + Setting createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Setting getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Setting? _defaultInstance; + + Setting_Content whichContent() => _Setting_ContentByTag[$_whichOneof(0)]!; + void clearContent() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + SettingSwitch get switch_1 => $_getN(0); + @$pb.TagNumber(1) + set switch_1(SettingSwitch v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasSwitch_1() => $_has(0); + @$pb.TagNumber(1) + void clearSwitch_1() => $_clearField(1); + @$pb.TagNumber(1) + SettingSwitch ensureSwitch_1() => $_ensure(0); + + @$pb.TagNumber(2) + SettingSelect get select => $_getN(1); + @$pb.TagNumber(2) + set select(SettingSelect v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasSelect() => $_has(1); + @$pb.TagNumber(2) + void clearSelect() => $_clearField(2); + @$pb.TagNumber(2) + SettingSelect ensureSelect() => $_ensure(1); + + @$pb.TagNumber(3) + SettingRedirect get redirect => $_getN(2); + @$pb.TagNumber(3) + set redirect(SettingRedirect v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasRedirect() => $_has(2); + @$pb.TagNumber(3) + void clearRedirect() => $_clearField(3); + @$pb.TagNumber(3) + SettingRedirect ensureRedirect() => $_ensure(2); + + @$pb.TagNumber(4) + SettingText get text => $_getN(3); + @$pb.TagNumber(4) + set text(SettingText v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasText() => $_has(3); + @$pb.TagNumber(4) + void clearText() => $_clearField(4); + @$pb.TagNumber(4) + SettingText ensureText() => $_ensure(3); +} + +enum SettingRedirect_Content { + settingPage, + otherPage, + popup, + windowSelect, + notSet +} + +class SettingRedirect extends $pb.GeneratedMessage { + factory SettingRedirect({ + redirect2SettingPage? settingPage, + redirect2OtherPage? otherPage, + $core.String? title, + $core.String? subtitle, + $core.String? selectedSummary, + redirect2Popup? popup, + redirectWindowSelect? windowSelect, + }) { + final $result = create(); + if (settingPage != null) { + $result.settingPage = settingPage; + } + if (otherPage != null) { + $result.otherPage = otherPage; + } + if (title != null) { + $result.title = title; + } + if (subtitle != null) { + $result.subtitle = subtitle; + } + if (selectedSummary != null) { + $result.selectedSummary = selectedSummary; + } + if (popup != null) { + $result.popup = popup; + } + if (windowSelect != null) { + $result.windowSelect = windowSelect; + } + return $result; + } + SettingRedirect._() : super(); + factory SettingRedirect.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SettingRedirect.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, SettingRedirect_Content> _SettingRedirect_ContentByTag = { + 1 : SettingRedirect_Content.settingPage, + 2 : SettingRedirect_Content.otherPage, + 6 : SettingRedirect_Content.popup, + 7 : SettingRedirect_Content.windowSelect, + 0 : SettingRedirect_Content.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SettingRedirect', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..oo(0, [1, 2, 6, 7]) + ..aOM(1, _omitFieldNames ? '' : 'settingPage', subBuilder: redirect2SettingPage.create) + ..aOM(2, _omitFieldNames ? '' : 'otherPage', subBuilder: redirect2OtherPage.create) + ..aOS(3, _omitFieldNames ? '' : 'title') + ..aOS(4, _omitFieldNames ? '' : 'subtitle') + ..aOS(5, _omitFieldNames ? '' : 'selectedSummary') + ..aOM(6, _omitFieldNames ? '' : 'popup', subBuilder: redirect2Popup.create) + ..aOM(7, _omitFieldNames ? '' : 'windowSelect', subBuilder: redirectWindowSelect.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SettingRedirect clone() => SettingRedirect()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SettingRedirect copyWith(void Function(SettingRedirect) updates) => super.copyWith((message) => updates(message as SettingRedirect)) as SettingRedirect; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SettingRedirect create() => SettingRedirect._(); + SettingRedirect createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SettingRedirect getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SettingRedirect? _defaultInstance; + + SettingRedirect_Content whichContent() => _SettingRedirect_ContentByTag[$_whichOneof(0)]!; + void clearContent() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + redirect2SettingPage get settingPage => $_getN(0); + @$pb.TagNumber(1) + set settingPage(redirect2SettingPage v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasSettingPage() => $_has(0); + @$pb.TagNumber(1) + void clearSettingPage() => $_clearField(1); + @$pb.TagNumber(1) + redirect2SettingPage ensureSettingPage() => $_ensure(0); + + @$pb.TagNumber(2) + redirect2OtherPage get otherPage => $_getN(1); + @$pb.TagNumber(2) + set otherPage(redirect2OtherPage v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasOtherPage() => $_has(1); + @$pb.TagNumber(2) + void clearOtherPage() => $_clearField(2); + @$pb.TagNumber(2) + redirect2OtherPage ensureOtherPage() => $_ensure(1); + + @$pb.TagNumber(3) + $core.String get title => $_getSZ(2); + @$pb.TagNumber(3) + set title($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasTitle() => $_has(2); + @$pb.TagNumber(3) + void clearTitle() => $_clearField(3); + + @$pb.TagNumber(4) + $core.String get subtitle => $_getSZ(3); + @$pb.TagNumber(4) + set subtitle($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasSubtitle() => $_has(3); + @$pb.TagNumber(4) + void clearSubtitle() => $_clearField(4); + + @$pb.TagNumber(5) + $core.String get selectedSummary => $_getSZ(4); + @$pb.TagNumber(5) + set selectedSummary($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasSelectedSummary() => $_has(4); + @$pb.TagNumber(5) + void clearSelectedSummary() => $_clearField(5); + + @$pb.TagNumber(6) + redirect2Popup get popup => $_getN(5); + @$pb.TagNumber(6) + set popup(redirect2Popup v) { $_setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasPopup() => $_has(5); + @$pb.TagNumber(6) + void clearPopup() => $_clearField(6); + @$pb.TagNumber(6) + redirect2Popup ensurePopup() => $_ensure(5); + + @$pb.TagNumber(7) + redirectWindowSelect get windowSelect => $_getN(6); + @$pb.TagNumber(7) + set windowSelect(redirectWindowSelect v) { $_setField(7, v); } + @$pb.TagNumber(7) + $core.bool hasWindowSelect() => $_has(6); + @$pb.TagNumber(7) + void clearWindowSelect() => $_clearField(7); + @$pb.TagNumber(7) + redirectWindowSelect ensureWindowSelect() => $_ensure(6); +} + +class SettingSelect extends $pb.GeneratedMessage { + factory SettingSelect({ + $core.Iterable? item, + }) { + final $result = create(); + if (item != null) { + $result.item.addAll(item); + } + return $result; + } + SettingSelect._() : super(); + factory SettingSelect.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SettingSelect.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SettingSelect', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'item', $pb.PbFieldType.PM, subBuilder: SelectItem.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SettingSelect clone() => SettingSelect()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SettingSelect copyWith(void Function(SettingSelect) updates) => super.copyWith((message) => updates(message as SettingSelect)) as SettingSelect; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SettingSelect create() => SettingSelect._(); + SettingSelect createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SettingSelect getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SettingSelect? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get item => $_getList(0); +} + +class SettingSwitch extends $pb.GeneratedMessage { + factory SettingSwitch({ + $core.bool? switchOn, + $core.String? title, + $core.String? subtitle, + }) { + final $result = create(); + if (switchOn != null) { + $result.switchOn = switchOn; + } + if (title != null) { + $result.title = title; + } + if (subtitle != null) { + $result.subtitle = subtitle; + } + return $result; + } + SettingSwitch._() : super(); + factory SettingSwitch.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SettingSwitch.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SettingSwitch', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'switchOn') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'subtitle') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SettingSwitch clone() => SettingSwitch()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SettingSwitch copyWith(void Function(SettingSwitch) updates) => super.copyWith((message) => updates(message as SettingSwitch)) as SettingSwitch; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SettingSwitch create() => SettingSwitch._(); + SettingSwitch createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SettingSwitch getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SettingSwitch? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get switchOn => $_getBF(0); + @$pb.TagNumber(1) + set switchOn($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasSwitchOn() => $_has(0); + @$pb.TagNumber(1) + void clearSwitchOn() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get title => $_getSZ(1); + @$pb.TagNumber(2) + set title($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasTitle() => $_has(1); + @$pb.TagNumber(2) + void clearTitle() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get subtitle => $_getSZ(2); + @$pb.TagNumber(3) + set subtitle($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasSubtitle() => $_has(2); + @$pb.TagNumber(3) + void clearSubtitle() => $_clearField(3); +} + +class SettingText extends $pb.GeneratedMessage { + factory SettingText({ + $core.String? text, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + return $result; + } + SettingText._() : super(); + factory SettingText.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SettingText.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SettingText', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SettingText clone() => SettingText()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SettingText copyWith(void Function(SettingText) updates) => super.copyWith((message) => updates(message as SettingText)) as SettingText; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SettingText create() => SettingText._(); + SettingText createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SettingText getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SettingText? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get text => $_getSZ(0); + @$pb.TagNumber(1) + set text($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasText() => $_has(0); + @$pb.TagNumber(1) + void clearText() => $_clearField(1); +} + +class SystemId extends $pb.GeneratedMessage { + factory SystemId({ + SessionType? type, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + return $result; + } + SystemId._() : super(); + factory SystemId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SystemId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SystemId', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: SessionType.SESSION_TYPE_UNKNOWN, valueOf: SessionType.valueOf, enumValues: SessionType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SystemId clone() => SystemId()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SystemId copyWith(void Function(SystemId) updates) => super.copyWith((message) => updates(message as SystemId)) as SystemId; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SystemId create() => SystemId._(); + SystemId createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SystemId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SystemId? _defaultInstance; + + @$pb.TagNumber(1) + SessionType get type => $_getN(0); + @$pb.TagNumber(1) + set type(SessionType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => $_clearField(1); +} + +class ThreeDotItem extends $pb.GeneratedMessage { + factory ThreeDotItem({ + $core.String? title, + $core.String? icon, + $core.String? url, + ThreeDotItemType? type, + $core.bool? hasRedDot, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (icon != null) { + $result.icon = icon; + } + if (url != null) { + $result.url = url; + } + if (type != null) { + $result.type = type; + } + if (hasRedDot != null) { + $result.hasRedDot = hasRedDot; + } + return $result; + } + ThreeDotItem._() : super(); + factory ThreeDotItem.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ThreeDotItem.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ThreeDotItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'icon') + ..aOS(3, _omitFieldNames ? '' : 'url') + ..e(4, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: ThreeDotItemType.THREE_DOT_ITEM_TYPE_UNKNOWN, valueOf: ThreeDotItemType.valueOf, enumValues: ThreeDotItemType.values) + ..aOB(5, _omitFieldNames ? '' : 'hasRedDot') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ThreeDotItem clone() => ThreeDotItem()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreeDotItem copyWith(void Function(ThreeDotItem) updates) => super.copyWith((message) => updates(message as ThreeDotItem)) as ThreeDotItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreeDotItem create() => ThreeDotItem._(); + ThreeDotItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreeDotItem getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ThreeDotItem? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get title => $_getSZ(0); + @$pb.TagNumber(1) + set title($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasTitle() => $_has(0); + @$pb.TagNumber(1) + void clearTitle() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get icon => $_getSZ(1); + @$pb.TagNumber(2) + set icon($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasIcon() => $_has(1); + @$pb.TagNumber(2) + void clearIcon() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get url => $_getSZ(2); + @$pb.TagNumber(3) + set url($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasUrl() => $_has(2); + @$pb.TagNumber(3) + void clearUrl() => $_clearField(3); + + @$pb.TagNumber(4) + ThreeDotItemType get type => $_getN(3); + @$pb.TagNumber(4) + set type(ThreeDotItemType v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasType() => $_has(3); + @$pb.TagNumber(4) + void clearType() => $_clearField(4); + + @$pb.TagNumber(5) + $core.bool get hasRedDot => $_getBF(4); + @$pb.TagNumber(5) + set hasRedDot($core.bool v) { $_setBool(4, v); } + @$pb.TagNumber(5) + $core.bool hasHasRedDot() => $_has(4); + @$pb.TagNumber(5) + void clearHasRedDot() => $_clearField(5); +} + +class UnPinSessionReply extends $pb.GeneratedMessage { + factory UnPinSessionReply({ + $fixnum.Int64? sequenceNumber, + }) { + final $result = create(); + if (sequenceNumber != null) { + $result.sequenceNumber = sequenceNumber; + } + return $result; + } + UnPinSessionReply._() : super(); + factory UnPinSessionReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UnPinSessionReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnPinSessionReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'sequenceNumber') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UnPinSessionReply clone() => UnPinSessionReply()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UnPinSessionReply copyWith(void Function(UnPinSessionReply) updates) => super.copyWith((message) => updates(message as UnPinSessionReply)) as UnPinSessionReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UnPinSessionReply create() => UnPinSessionReply._(); + UnPinSessionReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UnPinSessionReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UnPinSessionReply? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get sequenceNumber => $_getI64(0); + @$pb.TagNumber(1) + set sequenceNumber($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasSequenceNumber() => $_has(0); + @$pb.TagNumber(1) + void clearSequenceNumber() => $_clearField(1); +} + +class UnPinSessionReq extends $pb.GeneratedMessage { + factory UnPinSessionReq({ + SessionId? sessionId, + }) { + final $result = create(); + if (sessionId != null) { + $result.sessionId = sessionId; + } + return $result; + } + UnPinSessionReq._() : super(); + factory UnPinSessionReq.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UnPinSessionReq.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnPinSessionReq', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'sessionId', subBuilder: SessionId.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UnPinSessionReq clone() => UnPinSessionReq()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UnPinSessionReq copyWith(void Function(UnPinSessionReq) updates) => super.copyWith((message) => updates(message as UnPinSessionReq)) as UnPinSessionReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UnPinSessionReq create() => UnPinSessionReq._(); + UnPinSessionReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UnPinSessionReq getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UnPinSessionReq? _defaultInstance; + + @$pb.TagNumber(1) + SessionId get sessionId => $_getN(0); + @$pb.TagNumber(1) + set sessionId(SessionId v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasSessionId() => $_has(0); + @$pb.TagNumber(1) + void clearSessionId() => $_clearField(1); + @$pb.TagNumber(1) + SessionId ensureSessionId() => $_ensure(0); +} + +class Unread extends $pb.GeneratedMessage { + factory Unread({ + UnreadStyle? style, + $fixnum.Int64? number, + $core.String? numberShow, + }) { + final $result = create(); + if (style != null) { + $result.style = style; + } + if (number != null) { + $result.number = number; + } + if (numberShow != null) { + $result.numberShow = numberShow; + } + return $result; + } + Unread._() : super(); + factory Unread.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Unread.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Unread', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'style', $pb.PbFieldType.OE, defaultOrMaker: UnreadStyle.UNREAD_STYLE_NONE, valueOf: UnreadStyle.valueOf, enumValues: UnreadStyle.values) + ..aInt64(2, _omitFieldNames ? '' : 'number') + ..aOS(3, _omitFieldNames ? '' : 'numberShow') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Unread clone() => Unread()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Unread copyWith(void Function(Unread) updates) => super.copyWith((message) => updates(message as Unread)) as Unread; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Unread create() => Unread._(); + Unread createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Unread getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Unread? _defaultInstance; + + @$pb.TagNumber(1) + UnreadStyle get style => $_getN(0); + @$pb.TagNumber(1) + set style(UnreadStyle v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasStyle() => $_has(0); + @$pb.TagNumber(1) + void clearStyle() => $_clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get number => $_getI64(1); + @$pb.TagNumber(2) + set number($fixnum.Int64 v) { $_setInt64(1, v); } + @$pb.TagNumber(2) + $core.bool hasNumber() => $_has(1); + @$pb.TagNumber(2) + void clearNumber() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get numberShow => $_getSZ(2); + @$pb.TagNumber(3) + set numberShow($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasNumberShow() => $_has(2); + @$pb.TagNumber(3) + void clearNumberShow() => $_clearField(3); +} + +class UpdateSessionParams extends $pb.GeneratedMessage { + factory UpdateSessionParams({ + $pb.PbMap<$core.int, Offset>? maxSessionTs, + }) { + final $result = create(); + if (maxSessionTs != null) { + $result.maxSessionTs.addAll(maxSessionTs); + } + return $result; + } + UpdateSessionParams._() : super(); + factory UpdateSessionParams.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UpdateSessionParams.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSessionParams', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..m<$core.int, Offset>(1, _omitFieldNames ? '' : 'maxSessionTs', entryClassName: 'UpdateSessionParams.MaxSessionTsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OM, valueCreator: Offset.create, valueDefaultOrMaker: Offset.getDefault, packageName: const $pb.PackageName('bilibili.app.im.v1')) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpdateSessionParams clone() => UpdateSessionParams()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateSessionParams copyWith(void Function(UpdateSessionParams) updates) => super.copyWith((message) => updates(message as UpdateSessionParams)) as UpdateSessionParams; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateSessionParams create() => UpdateSessionParams._(); + UpdateSessionParams createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdateSessionParams getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateSessionParams? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbMap<$core.int, Offset> get maxSessionTs => $_getMap(0); +} + +class UserLabel extends $pb.GeneratedMessage { + factory UserLabel({ + LabelType? type, + UserLabelStyle? style, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (style != null) { + $result.style = style; + } + return $result; + } + UserLabel._() : super(); + factory UserLabel.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UserLabel.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserLabel', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: LabelType.LABEL_TYPE_DEFAULT, valueOf: LabelType.valueOf, enumValues: LabelType.values) + ..aOM(2, _omitFieldNames ? '' : 'style', subBuilder: UserLabelStyle.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UserLabel clone() => UserLabel()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UserLabel copyWith(void Function(UserLabel) updates) => super.copyWith((message) => updates(message as UserLabel)) as UserLabel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UserLabel create() => UserLabel._(); + UserLabel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UserLabel getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UserLabel? _defaultInstance; + + @$pb.TagNumber(1) + LabelType get type => $_getN(0); + @$pb.TagNumber(1) + set type(LabelType v) { $_setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => $_clearField(1); + + @$pb.TagNumber(2) + UserLabelStyle get style => $_getN(1); + @$pb.TagNumber(2) + set style(UserLabelStyle v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasStyle() => $_has(1); + @$pb.TagNumber(2) + void clearStyle() => $_clearField(2); + @$pb.TagNumber(2) + UserLabelStyle ensureStyle() => $_ensure(1); +} + +enum UserLabelStyle_Style { + borderedLabel, + filledLabel, + imageLabel, + medalLabel, + notSet +} + +class UserLabelStyle extends $pb.GeneratedMessage { + factory UserLabelStyle({ + BorderedLabel? borderedLabel, + FilledLabel? filledLabel, + ImageLabel? imageLabel, + Medal? medalLabel, + }) { + final $result = create(); + if (borderedLabel != null) { + $result.borderedLabel = borderedLabel; + } + if (filledLabel != null) { + $result.filledLabel = filledLabel; + } + if (imageLabel != null) { + $result.imageLabel = imageLabel; + } + if (medalLabel != null) { + $result.medalLabel = medalLabel; + } + return $result; + } + UserLabelStyle._() : super(); + factory UserLabelStyle.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UserLabelStyle.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, UserLabelStyle_Style> _UserLabelStyle_StyleByTag = { + 2 : UserLabelStyle_Style.borderedLabel, + 3 : UserLabelStyle_Style.filledLabel, + 4 : UserLabelStyle_Style.imageLabel, + 5 : UserLabelStyle_Style.medalLabel, + 0 : UserLabelStyle_Style.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserLabelStyle', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..oo(0, [2, 3, 4, 5]) + ..aOM(2, _omitFieldNames ? '' : 'borderedLabel', subBuilder: BorderedLabel.create) + ..aOM(3, _omitFieldNames ? '' : 'filledLabel', subBuilder: FilledLabel.create) + ..aOM(4, _omitFieldNames ? '' : 'imageLabel', subBuilder: ImageLabel.create) + ..aOM(5, _omitFieldNames ? '' : 'medalLabel', subBuilder: Medal.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UserLabelStyle clone() => UserLabelStyle()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UserLabelStyle copyWith(void Function(UserLabelStyle) updates) => super.copyWith((message) => updates(message as UserLabelStyle)) as UserLabelStyle; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UserLabelStyle create() => UserLabelStyle._(); + UserLabelStyle createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UserLabelStyle getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UserLabelStyle? _defaultInstance; + + UserLabelStyle_Style whichStyle() => _UserLabelStyle_StyleByTag[$_whichOneof(0)]!; + void clearStyle() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(2) + BorderedLabel get borderedLabel => $_getN(0); + @$pb.TagNumber(2) + set borderedLabel(BorderedLabel v) { $_setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasBorderedLabel() => $_has(0); + @$pb.TagNumber(2) + void clearBorderedLabel() => $_clearField(2); + @$pb.TagNumber(2) + BorderedLabel ensureBorderedLabel() => $_ensure(0); + + @$pb.TagNumber(3) + FilledLabel get filledLabel => $_getN(1); + @$pb.TagNumber(3) + set filledLabel(FilledLabel v) { $_setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasFilledLabel() => $_has(1); + @$pb.TagNumber(3) + void clearFilledLabel() => $_clearField(3); + @$pb.TagNumber(3) + FilledLabel ensureFilledLabel() => $_ensure(1); + + @$pb.TagNumber(4) + ImageLabel get imageLabel => $_getN(2); + @$pb.TagNumber(4) + set imageLabel(ImageLabel v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasImageLabel() => $_has(2); + @$pb.TagNumber(4) + void clearImageLabel() => $_clearField(4); + @$pb.TagNumber(4) + ImageLabel ensureImageLabel() => $_ensure(2); + + @$pb.TagNumber(5) + Medal get medalLabel => $_getN(3); + @$pb.TagNumber(5) + set medalLabel(Medal v) { $_setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasMedalLabel() => $_has(3); + @$pb.TagNumber(5) + void clearMedalLabel() => $_clearField(5); + @$pb.TagNumber(5) + Medal ensureMedalLabel() => $_ensure(3); +} + +class redirect2OtherPage extends $pb.GeneratedMessage { + factory redirect2OtherPage({ + $core.String? url, + }) { + final $result = create(); + if (url != null) { + $result.url = url; + } + return $result; + } + redirect2OtherPage._() : super(); + factory redirect2OtherPage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory redirect2OtherPage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'redirect2OtherPage', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'url') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + redirect2OtherPage clone() => redirect2OtherPage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + redirect2OtherPage copyWith(void Function(redirect2OtherPage) updates) => super.copyWith((message) => updates(message as redirect2OtherPage)) as redirect2OtherPage; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static redirect2OtherPage create() => redirect2OtherPage._(); + redirect2OtherPage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static redirect2OtherPage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static redirect2OtherPage? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get url => $_getSZ(0); + @$pb.TagNumber(1) + set url($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasUrl() => $_has(0); + @$pb.TagNumber(1) + void clearUrl() => $_clearField(1); +} + +class redirect2Popup extends $pb.GeneratedMessage { + factory redirect2Popup({ + $core.String? title, + $core.String? subtitle, + $core.String? url, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (subtitle != null) { + $result.subtitle = subtitle; + } + if (url != null) { + $result.url = url; + } + return $result; + } + redirect2Popup._() : super(); + factory redirect2Popup.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory redirect2Popup.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'redirect2Popup', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'subtitle') + ..aOS(3, _omitFieldNames ? '' : 'url') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + redirect2Popup clone() => redirect2Popup()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + redirect2Popup copyWith(void Function(redirect2Popup) updates) => super.copyWith((message) => updates(message as redirect2Popup)) as redirect2Popup; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static redirect2Popup create() => redirect2Popup._(); + redirect2Popup createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static redirect2Popup getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static redirect2Popup? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get title => $_getSZ(0); + @$pb.TagNumber(1) + set title($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasTitle() => $_has(0); + @$pb.TagNumber(1) + void clearTitle() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get subtitle => $_getSZ(1); + @$pb.TagNumber(2) + set subtitle($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasSubtitle() => $_has(1); + @$pb.TagNumber(2) + void clearSubtitle() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get url => $_getSZ(2); + @$pb.TagNumber(3) + set url($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasUrl() => $_has(2); + @$pb.TagNumber(3) + void clearUrl() => $_clearField(3); +} + +class redirect2SettingPage extends $pb.GeneratedMessage { + factory redirect2SettingPage({ + $pb.PbMap<$core.int, Setting>? subSettings, + $core.String? pageTitle, + $core.String? url, + IMSettingType? parentSettingType, + }) { + final $result = create(); + if (subSettings != null) { + $result.subSettings.addAll(subSettings); + } + if (pageTitle != null) { + $result.pageTitle = pageTitle; + } + if (url != null) { + $result.url = url; + } + if (parentSettingType != null) { + $result.parentSettingType = parentSettingType; + } + return $result; + } + redirect2SettingPage._() : super(); + factory redirect2SettingPage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory redirect2SettingPage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'redirect2SettingPage', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..m<$core.int, Setting>(1, _omitFieldNames ? '' : 'subSettings', entryClassName: 'redirect2SettingPage.SubSettingsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OM, valueCreator: Setting.create, valueDefaultOrMaker: Setting.getDefault, packageName: const $pb.PackageName('bilibili.app.im.v1')) + ..aOS(2, _omitFieldNames ? '' : 'pageTitle') + ..aOS(3, _omitFieldNames ? '' : 'url') + ..e(4, _omitFieldNames ? '' : 'parentSettingType', $pb.PbFieldType.OE, defaultOrMaker: IMSettingType.SETTING_TYPE_NEED_ALL, valueOf: IMSettingType.valueOf, enumValues: IMSettingType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + redirect2SettingPage clone() => redirect2SettingPage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + redirect2SettingPage copyWith(void Function(redirect2SettingPage) updates) => super.copyWith((message) => updates(message as redirect2SettingPage)) as redirect2SettingPage; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static redirect2SettingPage create() => redirect2SettingPage._(); + redirect2SettingPage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static redirect2SettingPage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static redirect2SettingPage? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbMap<$core.int, Setting> get subSettings => $_getMap(0); + + @$pb.TagNumber(2) + $core.String get pageTitle => $_getSZ(1); + @$pb.TagNumber(2) + set pageTitle($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasPageTitle() => $_has(1); + @$pb.TagNumber(2) + void clearPageTitle() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get url => $_getSZ(2); + @$pb.TagNumber(3) + set url($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasUrl() => $_has(2); + @$pb.TagNumber(3) + void clearUrl() => $_clearField(3); + + @$pb.TagNumber(4) + IMSettingType get parentSettingType => $_getN(3); + @$pb.TagNumber(4) + set parentSettingType(IMSettingType v) { $_setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasParentSettingType() => $_has(3); + @$pb.TagNumber(4) + void clearParentSettingType() => $_clearField(4); +} + +class redirectWindowSelect extends $pb.GeneratedMessage { + factory redirectWindowSelect({ + $core.String? title, + $core.Iterable? item, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (item != null) { + $result.item.addAll(item); + } + return $result; + } + redirectWindowSelect._() : super(); + factory redirectWindowSelect.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory redirectWindowSelect.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'redirectWindowSelect', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.app.im.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'item', $pb.PbFieldType.PM, subBuilder: SelectItem.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + redirectWindowSelect clone() => redirectWindowSelect()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + redirectWindowSelect copyWith(void Function(redirectWindowSelect) updates) => super.copyWith((message) => updates(message as redirectWindowSelect)) as redirectWindowSelect; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static redirectWindowSelect create() => redirectWindowSelect._(); + redirectWindowSelect createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static redirectWindowSelect getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static redirectWindowSelect? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get title => $_getSZ(0); + @$pb.TagNumber(1) + set title($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasTitle() => $_has(0); + @$pb.TagNumber(1) + void clearTitle() => $_clearField(1); + + @$pb.TagNumber(2) + $pb.PbList get item => $_getList(1); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/grpc/bilibili/app/im/v1.pbenum.dart b/lib/grpc/bilibili/app/im/v1.pbenum.dart new file mode 100644 index 00000000..5adbb088 --- /dev/null +++ b/lib/grpc/bilibili/app/im/v1.pbenum.dart @@ -0,0 +1,362 @@ +// +// Generated code. Do not modify. +// source: bilibili/app/im/v1.proto +// +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class AirDropFrom extends $pb.ProtobufEnum { + static const AirDropFrom ADF_UNKNOWN = AirDropFrom._(0, _omitEnumNames ? '' : 'ADF_UNKNOWN'); + static const AirDropFrom ADF_INSIDE_APP = AirDropFrom._(1, _omitEnumNames ? '' : 'ADF_INSIDE_APP'); + static const AirDropFrom ADF_OUTSIDE_APP = AirDropFrom._(2, _omitEnumNames ? '' : 'ADF_OUTSIDE_APP'); + + static const $core.List values = [ + ADF_UNKNOWN, + ADF_INSIDE_APP, + ADF_OUTSIDE_APP, + ]; + + static final $core.Map<$core.int, AirDropFrom> _byValue = $pb.ProtobufEnum.initByValue(values); + static AirDropFrom? valueOf($core.int value) => _byValue[value]; + + const AirDropFrom._(super.v, super.n); +} + +class AlertToastType extends $pb.ProtobufEnum { + static const AlertToastType ALERT_TOAST_TYPE_UNSPECIFIED = AlertToastType._(0, _omitEnumNames ? '' : 'ALERT_TOAST_TYPE_UNSPECIFIED'); + static const AlertToastType ALERT_TOAST_TYPE_BANNED = AlertToastType._(1, _omitEnumNames ? '' : 'ALERT_TOAST_TYPE_BANNED'); + static const AlertToastType ALERT_TOAST_TYPE_REPORT = AlertToastType._(2, _omitEnumNames ? '' : 'ALERT_TOAST_TYPE_REPORT'); + + static const $core.List values = [ + ALERT_TOAST_TYPE_UNSPECIFIED, + ALERT_TOAST_TYPE_BANNED, + ALERT_TOAST_TYPE_REPORT, + ]; + + static final $core.Map<$core.int, AlertToastType> _byValue = $pb.ProtobufEnum.initByValue(values); + static AlertToastType? valueOf($core.int value) => _byValue[value]; + + const AlertToastType._(super.v, super.n); +} + +class ContactTabType extends $pb.ProtobufEnum { + static const ContactTabType TAB_UNKNOWN = ContactTabType._(0, _omitEnumNames ? '' : 'TAB_UNKNOWN'); + static const ContactTabType TAB_GROUP = ContactTabType._(1, _omitEnumNames ? '' : 'TAB_GROUP'); + static const ContactTabType TAB_FOLLOW = ContactTabType._(2, _omitEnumNames ? '' : 'TAB_FOLLOW'); + static const ContactTabType TAB_FANS = ContactTabType._(3, _omitEnumNames ? '' : 'TAB_FANS'); + + static const $core.List values = [ + TAB_UNKNOWN, + TAB_GROUP, + TAB_FOLLOW, + TAB_FANS, + ]; + + static final $core.Map<$core.int, ContactTabType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ContactTabType? valueOf($core.int value) => _byValue[value]; + + const ContactTabType._(super.v, super.n); +} + +class IMSettingType extends $pb.ProtobufEnum { + static const IMSettingType SETTING_TYPE_NEED_ALL = IMSettingType._(0, _omitEnumNames ? '' : 'SETTING_TYPE_NEED_ALL'); + static const IMSettingType SETTING_TYPE_REPLY_ME = IMSettingType._(1, _omitEnumNames ? '' : 'SETTING_TYPE_REPLY_ME'); + static const IMSettingType SETTING_TYPE_NEW_FANS = IMSettingType._(2, _omitEnumNames ? '' : 'SETTING_TYPE_NEW_FANS'); + static const IMSettingType SETTING_TYPE_RECEIVE_LIKE = IMSettingType._(3, _omitEnumNames ? '' : 'SETTING_TYPE_RECEIVE_LIKE'); + static const IMSettingType SETTING_TYPE_MSG_REMIND = IMSettingType._(4, _omitEnumNames ? '' : 'SETTING_TYPE_MSG_REMIND'); + static const IMSettingType SETTING_TYPE_MSG_INTERCEPTION = IMSettingType._(5, _omitEnumNames ? '' : 'SETTING_TYPE_MSG_INTERCEPTION'); + static const IMSettingType SETTING_TYPE_FANS_GROUP_MSG = IMSettingType._(6, _omitEnumNames ? '' : 'SETTING_TYPE_FANS_GROUP_MSG'); + static const IMSettingType SETTING_TYPE_FANS_GROUP_MSG_RECEIVE = IMSettingType._(7, _omitEnumNames ? '' : 'SETTING_TYPE_FANS_GROUP_MSG_RECEIVE'); + static const IMSettingType SETTING_TYPE_FANS_GROUP_MSG_FOLD = IMSettingType._(8, _omitEnumNames ? '' : 'SETTING_TYPE_FANS_GROUP_MSG_FOLD'); + static const IMSettingType SETTING_TYPE_FANS_GROUP_MSG_JOIN_GUIDE = IMSettingType._(9, _omitEnumNames ? '' : 'SETTING_TYPE_FANS_GROUP_MSG_JOIN_GUIDE'); + static const IMSettingType SETTING_TYPE_UNFOLLOWED_MSG = IMSettingType._(10, _omitEnumNames ? '' : 'SETTING_TYPE_UNFOLLOWED_MSG'); + static const IMSettingType SETTING_TYPE_UNFOLLOWED_MSG_FOLD = IMSettingType._(11, _omitEnumNames ? '' : 'SETTING_TYPE_UNFOLLOWED_MSG_FOLD'); + static const IMSettingType SETTING_TYPE_BLACK_LIST = IMSettingType._(12, _omitEnumNames ? '' : 'SETTING_TYPE_BLACK_LIST'); + static const IMSettingType SETTING_TYPE_ANTI_HARASSMENT = IMSettingType._(13, _omitEnumNames ? '' : 'SETTING_TYPE_ANTI_HARASSMENT'); + static const IMSettingType SETTING_TYPE_ANTI_HARASSMENT_SWITCH = IMSettingType._(14, _omitEnumNames ? '' : 'SETTING_TYPE_ANTI_HARASSMENT_SWITCH'); + static const IMSettingType SETTING_TYPE_ANTI_HARASSMENT_OPEN_TIP_TEXT = IMSettingType._(15, _omitEnumNames ? '' : 'SETTING_TYPE_ANTI_HARASSMENT_OPEN_TIP_TEXT'); + static const IMSettingType SETTING_TYPE_CLOSE_FANS_GROUP = IMSettingType._(16, _omitEnumNames ? '' : 'SETTING_TYPE_CLOSE_FANS_GROUP'); + static const IMSettingType SETTING_TYPE_OLD_REPLY_ME = IMSettingType._(17, _omitEnumNames ? '' : 'SETTING_TYPE_OLD_REPLY_ME'); + static const IMSettingType SETTING_TYPE_OLD_AT_ME = IMSettingType._(18, _omitEnumNames ? '' : 'SETTING_TYPE_OLD_AT_ME'); + static const IMSettingType SETTING_TYPE_OLD_RECEIVE_LIKE = IMSettingType._(19, _omitEnumNames ? '' : 'SETTING_TYPE_OLD_RECEIVE_LIKE'); + static const IMSettingType SETTING_TYPE_ANTI_HARASSMENT_INTERACT_LIMITS = IMSettingType._(20, _omitEnumNames ? '' : 'SETTING_TYPE_ANTI_HARASSMENT_INTERACT_LIMITS'); + static const IMSettingType SETTING_TYPE_ANTI_HARASSMENT_DURATION = IMSettingType._(21, _omitEnumNames ? '' : 'SETTING_TYPE_ANTI_HARASSMENT_DURATION'); + static const IMSettingType SETTING_TYPE_ANTI_HARASSMENT_COMMENT_LIMITS = IMSettingType._(22, _omitEnumNames ? '' : 'SETTING_TYPE_ANTI_HARASSMENT_COMMENT_LIMITS'); + static const IMSettingType SETTING_TYPE_ANTI_HARASSMENT_DANMU_LIMITS = IMSettingType._(23, _omitEnumNames ? '' : 'SETTING_TYPE_ANTI_HARASSMENT_DANMU_LIMITS'); + static const IMSettingType SETTING_TYPE_UNFOLLOWED_MSG_RECEIVE = IMSettingType._(24, _omitEnumNames ? '' : 'SETTING_TYPE_UNFOLLOWED_MSG_RECEIVE'); + static const IMSettingType SETTING_TYPE_ANTI_HARASSMENT_IM_LIMITS = IMSettingType._(25, _omitEnumNames ? '' : 'SETTING_TYPE_ANTI_HARASSMENT_IM_LIMITS'); + static const IMSettingType SETTING_TYPE_KEYWORD_BLOCKING = IMSettingType._(26, _omitEnumNames ? '' : 'SETTING_TYPE_KEYWORD_BLOCKING'); + + static const $core.List values = [ + SETTING_TYPE_NEED_ALL, + SETTING_TYPE_REPLY_ME, + SETTING_TYPE_NEW_FANS, + SETTING_TYPE_RECEIVE_LIKE, + SETTING_TYPE_MSG_REMIND, + SETTING_TYPE_MSG_INTERCEPTION, + SETTING_TYPE_FANS_GROUP_MSG, + SETTING_TYPE_FANS_GROUP_MSG_RECEIVE, + SETTING_TYPE_FANS_GROUP_MSG_FOLD, + SETTING_TYPE_FANS_GROUP_MSG_JOIN_GUIDE, + SETTING_TYPE_UNFOLLOWED_MSG, + SETTING_TYPE_UNFOLLOWED_MSG_FOLD, + SETTING_TYPE_BLACK_LIST, + SETTING_TYPE_ANTI_HARASSMENT, + SETTING_TYPE_ANTI_HARASSMENT_SWITCH, + SETTING_TYPE_ANTI_HARASSMENT_OPEN_TIP_TEXT, + SETTING_TYPE_CLOSE_FANS_GROUP, + SETTING_TYPE_OLD_REPLY_ME, + SETTING_TYPE_OLD_AT_ME, + SETTING_TYPE_OLD_RECEIVE_LIKE, + SETTING_TYPE_ANTI_HARASSMENT_INTERACT_LIMITS, + SETTING_TYPE_ANTI_HARASSMENT_DURATION, + SETTING_TYPE_ANTI_HARASSMENT_COMMENT_LIMITS, + SETTING_TYPE_ANTI_HARASSMENT_DANMU_LIMITS, + SETTING_TYPE_UNFOLLOWED_MSG_RECEIVE, + SETTING_TYPE_ANTI_HARASSMENT_IM_LIMITS, + SETTING_TYPE_KEYWORD_BLOCKING, + ]; + + static final $core.Map<$core.int, IMSettingType> _byValue = $pb.ProtobufEnum.initByValue(values); + static IMSettingType? valueOf($core.int value) => _byValue[value]; + + const IMSettingType._(super.v, super.n); +} + +class LabelType extends $pb.ProtobufEnum { + static const LabelType LABEL_TYPE_DEFAULT = LabelType._(0, _omitEnumNames ? '' : 'LABEL_TYPE_DEFAULT'); + static const LabelType LABEL_TYPE_HUA_HUO = LabelType._(1, _omitEnumNames ? '' : 'LABEL_TYPE_HUA_HUO'); + static const LabelType LABEL_TYPE_ORIGINAL_FANS = LabelType._(2, _omitEnumNames ? '' : 'LABEL_TYPE_ORIGINAL_FANS'); + static const LabelType LABEL_TYPE_SPECIAL_ATTENTION = LabelType._(3, _omitEnumNames ? '' : 'LABEL_TYPE_SPECIAL_ATTENTION'); + static const LabelType LABEL_TYPE_CONTRACT_UP = LabelType._(4, _omitEnumNames ? '' : 'LABEL_TYPE_CONTRACT_UP'); + static const LabelType LABEL_TYPE_OLD_FANS = LabelType._(5, _omitEnumNames ? '' : 'LABEL_TYPE_OLD_FANS'); + static const LabelType LABEL_TYPE_SPECIAL_ATTENTION_2 = LabelType._(6, _omitEnumNames ? '' : 'LABEL_TYPE_SPECIAL_ATTENTION_2'); + static const LabelType LABEL_TYPE_FANS_MEDAL = LabelType._(7, _omitEnumNames ? '' : 'LABEL_TYPE_FANS_MEDAL'); + static const LabelType LABEL_TYPE_GUARD_MEDAL = LabelType._(8, _omitEnumNames ? '' : 'LABEL_TYPE_GUARD_MEDAL'); + + static const $core.List values = [ + LABEL_TYPE_DEFAULT, + LABEL_TYPE_HUA_HUO, + LABEL_TYPE_ORIGINAL_FANS, + LABEL_TYPE_SPECIAL_ATTENTION, + LABEL_TYPE_CONTRACT_UP, + LABEL_TYPE_OLD_FANS, + LABEL_TYPE_SPECIAL_ATTENTION_2, + LABEL_TYPE_FANS_MEDAL, + LABEL_TYPE_GUARD_MEDAL, + ]; + + static final $core.Map<$core.int, LabelType> _byValue = $pb.ProtobufEnum.initByValue(values); + static LabelType? valueOf($core.int value) => _byValue[value]; + + const LabelType._(super.v, super.n); +} + +class MsgSummaryPrefixType extends $pb.ProtobufEnum { + static const MsgSummaryPrefixType MSG_SUMMARY_PREFIX_TYPE_NONE = MsgSummaryPrefixType._(0, _omitEnumNames ? '' : 'MSG_SUMMARY_PREFIX_TYPE_NONE'); + static const MsgSummaryPrefixType MSG_SUMMARY_PREFIX_TYPE_NOTIFICATION = MsgSummaryPrefixType._(1, _omitEnumNames ? '' : 'MSG_SUMMARY_PREFIX_TYPE_NOTIFICATION'); + static const MsgSummaryPrefixType MSG_SUMMARY_PREFIX_TYPE_GROUP_BLOCKED = MsgSummaryPrefixType._(2, _omitEnumNames ? '' : 'MSG_SUMMARY_PREFIX_TYPE_GROUP_BLOCKED'); + static const MsgSummaryPrefixType MSG_SUMMARY_PREFIX_TYPE_MENTIONED = MsgSummaryPrefixType._(3, _omitEnumNames ? '' : 'MSG_SUMMARY_PREFIX_TYPE_MENTIONED'); + static const MsgSummaryPrefixType MSG_SUMMARY_PREFIX_TYPE_UNREAD = MsgSummaryPrefixType._(4, _omitEnumNames ? '' : 'MSG_SUMMARY_PREFIX_TYPE_UNREAD'); + + static const $core.List values = [ + MSG_SUMMARY_PREFIX_TYPE_NONE, + MSG_SUMMARY_PREFIX_TYPE_NOTIFICATION, + MSG_SUMMARY_PREFIX_TYPE_GROUP_BLOCKED, + MSG_SUMMARY_PREFIX_TYPE_MENTIONED, + MSG_SUMMARY_PREFIX_TYPE_UNREAD, + ]; + + static final $core.Map<$core.int, MsgSummaryPrefixType> _byValue = $pb.ProtobufEnum.initByValue(values); + static MsgSummaryPrefixType? valueOf($core.int value) => _byValue[value]; + + const MsgSummaryPrefixType._(super.v, super.n); +} + +class QuickLinkItemType extends $pb.ProtobufEnum { + static const QuickLinkItemType QUICK_LINK_ITEM_TYPE_UNKNOWN = QuickLinkItemType._(0, _omitEnumNames ? '' : 'QUICK_LINK_ITEM_TYPE_UNKNOWN'); + static const QuickLinkItemType QUICK_LINK_ITEM_TYPE_OLD_LIKE = QuickLinkItemType._(1, _omitEnumNames ? '' : 'QUICK_LINK_ITEM_TYPE_OLD_LIKE'); + static const QuickLinkItemType QUICK_LINK_ITEM_TYPE_OLD_REPLY = QuickLinkItemType._(2, _omitEnumNames ? '' : 'QUICK_LINK_ITEM_TYPE_OLD_REPLY'); + static const QuickLinkItemType QUICK_LINK_ITEM_TYPE_AT = QuickLinkItemType._(3, _omitEnumNames ? '' : 'QUICK_LINK_ITEM_TYPE_AT'); + static const QuickLinkItemType QUICK_LINK_ITEM_TYPE_SYSTEM = QuickLinkItemType._(4, _omitEnumNames ? '' : 'QUICK_LINK_ITEM_TYPE_SYSTEM'); + static const QuickLinkItemType QUICK_LINK_ITEM_TYPE_HUA_HUO = QuickLinkItemType._(5, _omitEnumNames ? '' : 'QUICK_LINK_ITEM_TYPE_HUA_HUO'); + static const QuickLinkItemType QUICK_LINK_ITEM_TYPE_FOLLOW = QuickLinkItemType._(6, _omitEnumNames ? '' : 'QUICK_LINK_ITEM_TYPE_FOLLOW'); + static const QuickLinkItemType QUICK_LINK_ITEM_TYPE_REPLY = QuickLinkItemType._(100, _omitEnumNames ? '' : 'QUICK_LINK_ITEM_TYPE_REPLY'); + static const QuickLinkItemType QUICK_LINK_ITEM_TYPE_LIKE = QuickLinkItemType._(101, _omitEnumNames ? '' : 'QUICK_LINK_ITEM_TYPE_LIKE'); + + static const $core.List values = [ + QUICK_LINK_ITEM_TYPE_UNKNOWN, + QUICK_LINK_ITEM_TYPE_OLD_LIKE, + QUICK_LINK_ITEM_TYPE_OLD_REPLY, + QUICK_LINK_ITEM_TYPE_AT, + QUICK_LINK_ITEM_TYPE_SYSTEM, + QUICK_LINK_ITEM_TYPE_HUA_HUO, + QUICK_LINK_ITEM_TYPE_FOLLOW, + QUICK_LINK_ITEM_TYPE_REPLY, + QUICK_LINK_ITEM_TYPE_LIKE, + ]; + + static final $core.Map<$core.int, QuickLinkItemType> _byValue = $pb.ProtobufEnum.initByValue(values); + static QuickLinkItemType? valueOf($core.int value) => _byValue[value]; + + const QuickLinkItemType._(super.v, super.n); +} + +class QuickLinkMsgType extends $pb.ProtobufEnum { + static const QuickLinkMsgType LikeMsg = QuickLinkMsgType._(0, _omitEnumNames ? '' : 'LikeMsg'); + static const QuickLinkMsgType ReplyMsg = QuickLinkMsgType._(1, _omitEnumNames ? '' : 'ReplyMsg'); + static const QuickLinkMsgType AtMsg = QuickLinkMsgType._(2, _omitEnumNames ? '' : 'AtMsg'); + static const QuickLinkMsgType DanmuMsg = QuickLinkMsgType._(3, _omitEnumNames ? '' : 'DanmuMsg'); + static const QuickLinkMsgType CoinMsg = QuickLinkMsgType._(4, _omitEnumNames ? '' : 'CoinMsg'); + static const QuickLinkMsgType FavoriteMsg = QuickLinkMsgType._(5, _omitEnumNames ? '' : 'FavoriteMsg'); + + static const $core.List values = [ + LikeMsg, + ReplyMsg, + AtMsg, + DanmuMsg, + CoinMsg, + FavoriteMsg, + ]; + + static final $core.Map<$core.int, QuickLinkMsgType> _byValue = $pb.ProtobufEnum.initByValue(values); + static QuickLinkMsgType? valueOf($core.int value) => _byValue[value]; + + const QuickLinkMsgType._(super.v, super.n); +} + +class SessionFilterType extends $pb.ProtobufEnum { + static const SessionFilterType FILTER_DEFAULT = SessionFilterType._(0, _omitEnumNames ? '' : 'FILTER_DEFAULT'); + static const SessionFilterType FILTER_FOLLOW = SessionFilterType._(1, _omitEnumNames ? '' : 'FILTER_FOLLOW'); + + static const $core.List values = [ + FILTER_DEFAULT, + FILTER_FOLLOW, + ]; + + static final $core.Map<$core.int, SessionFilterType> _byValue = $pb.ProtobufEnum.initByValue(values); + static SessionFilterType? valueOf($core.int value) => _byValue[value]; + + const SessionFilterType._(super.v, super.n); +} + +class SessionPageType extends $pb.ProtobufEnum { + static const SessionPageType SESSION_PAGE_TYPE_UNKNOWN = SessionPageType._(0, _omitEnumNames ? '' : 'SESSION_PAGE_TYPE_UNKNOWN'); + static const SessionPageType SESSION_PAGE_TYPE_HOME = SessionPageType._(1, _omitEnumNames ? '' : 'SESSION_PAGE_TYPE_HOME'); + static const SessionPageType SESSION_PAGE_TYPE_UNFOLLOWED = SessionPageType._(2, _omitEnumNames ? '' : 'SESSION_PAGE_TYPE_UNFOLLOWED'); + static const SessionPageType SESSION_PAGE_TYPE_STRANGER = SessionPageType._(3, _omitEnumNames ? '' : 'SESSION_PAGE_TYPE_STRANGER'); + static const SessionPageType SESSION_PAGE_TYPE_DUSTBIN = SessionPageType._(4, _omitEnumNames ? '' : 'SESSION_PAGE_TYPE_DUSTBIN'); + static const SessionPageType SESSION_PAGE_TYPE_GROUP = SessionPageType._(5, _omitEnumNames ? '' : 'SESSION_PAGE_TYPE_GROUP'); + static const SessionPageType SESSION_PAGE_TYPE_HUA_HUO = SessionPageType._(6, _omitEnumNames ? '' : 'SESSION_PAGE_TYPE_HUA_HUO'); + static const SessionPageType SESSION_PAGE_TYPE_AI = SessionPageType._(7, _omitEnumNames ? '' : 'SESSION_PAGE_TYPE_AI'); + static const SessionPageType SESSION_PAGE_TYPE_CUSTOMER = SessionPageType._(8, _omitEnumNames ? '' : 'SESSION_PAGE_TYPE_CUSTOMER'); + + static const $core.List values = [ + SESSION_PAGE_TYPE_UNKNOWN, + SESSION_PAGE_TYPE_HOME, + SESSION_PAGE_TYPE_UNFOLLOWED, + SESSION_PAGE_TYPE_STRANGER, + SESSION_PAGE_TYPE_DUSTBIN, + SESSION_PAGE_TYPE_GROUP, + SESSION_PAGE_TYPE_HUA_HUO, + SESSION_PAGE_TYPE_AI, + SESSION_PAGE_TYPE_CUSTOMER, + ]; + + static final $core.Map<$core.int, SessionPageType> _byValue = $pb.ProtobufEnum.initByValue(values); + static SessionPageType? valueOf($core.int value) => _byValue[value]; + + const SessionPageType._(super.v, super.n); +} + +class SessionType extends $pb.ProtobufEnum { + static const SessionType SESSION_TYPE_UNKNOWN = SessionType._(0, _omitEnumNames ? '' : 'SESSION_TYPE_UNKNOWN'); + static const SessionType SESSION_TYPE_PRIVATE = SessionType._(1, _omitEnumNames ? '' : 'SESSION_TYPE_PRIVATE'); + static const SessionType SESSION_TYPE_GROUP = SessionType._(2, _omitEnumNames ? '' : 'SESSION_TYPE_GROUP'); + static const SessionType SESSION_TYPE_GROUP_FOLD = SessionType._(3, _omitEnumNames ? '' : 'SESSION_TYPE_GROUP_FOLD'); + static const SessionType SESSION_TYPE_UNFOLLOWED = SessionType._(4, _omitEnumNames ? '' : 'SESSION_TYPE_UNFOLLOWED'); + static const SessionType SESSION_TYPE_STRANGER = SessionType._(5, _omitEnumNames ? '' : 'SESSION_TYPE_STRANGER'); + static const SessionType SESSION_TYPE_DUSTBIN = SessionType._(6, _omitEnumNames ? '' : 'SESSION_TYPE_DUSTBIN'); + static const SessionType SESSION_TYPE_CUSTOMER_FOLD = SessionType._(7, _omitEnumNames ? '' : 'SESSION_TYPE_CUSTOMER_FOLD'); + static const SessionType SESSION_TYPE_SYSTEM = SessionType._(8, _omitEnumNames ? '' : 'SESSION_TYPE_SYSTEM'); + static const SessionType SESSION_TYPE_AI_FOLD = SessionType._(9, _omitEnumNames ? '' : 'SESSION_TYPE_AI_FOLD'); + static const SessionType SESSION_TYPE_CUSTOMER_ACCOUNT = SessionType._(10, _omitEnumNames ? '' : 'SESSION_TYPE_CUSTOMER_ACCOUNT'); + + static const $core.List values = [ + SESSION_TYPE_UNKNOWN, + SESSION_TYPE_PRIVATE, + SESSION_TYPE_GROUP, + SESSION_TYPE_GROUP_FOLD, + SESSION_TYPE_UNFOLLOWED, + SESSION_TYPE_STRANGER, + SESSION_TYPE_DUSTBIN, + SESSION_TYPE_CUSTOMER_FOLD, + SESSION_TYPE_SYSTEM, + SESSION_TYPE_AI_FOLD, + SESSION_TYPE_CUSTOMER_ACCOUNT, + ]; + + static final $core.Map<$core.int, SessionType> _byValue = $pb.ProtobufEnum.initByValue(values); + static SessionType? valueOf($core.int value) => _byValue[value]; + + const SessionType._(super.v, super.n); +} + +class ThreeDotItemType extends $pb.ProtobufEnum { + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_UNKNOWN = ThreeDotItemType._(0, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_UNKNOWN'); + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_READ_ALL = ThreeDotItemType._(1, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_READ_ALL'); + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_MSG_SETTING = ThreeDotItemType._(2, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_MSG_SETTING'); + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_AUTO_REPLY = ThreeDotItemType._(3, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_AUTO_REPLY'); + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_UP_HELPER = ThreeDotItemType._(4, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_UP_HELPER'); + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_LIVE_HELPER = ThreeDotItemType._(5, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_LIVE_HELPER'); + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_FANS_GROUP_HELPER = ThreeDotItemType._(6, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_FANS_GROUP_HELPER'); + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_CONTRIBUTION_PUSH = ThreeDotItemType._(7, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_CONTRIBUTION_PUSH'); + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_CONTACTS = ThreeDotItemType._(8, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_CONTACTS'); + static const ThreeDotItemType THREE_DOT_ITEM_TYPE_CLEAR_LIST = ThreeDotItemType._(9, _omitEnumNames ? '' : 'THREE_DOT_ITEM_TYPE_CLEAR_LIST'); + + static const $core.List values = [ + THREE_DOT_ITEM_TYPE_UNKNOWN, + THREE_DOT_ITEM_TYPE_READ_ALL, + THREE_DOT_ITEM_TYPE_MSG_SETTING, + THREE_DOT_ITEM_TYPE_AUTO_REPLY, + THREE_DOT_ITEM_TYPE_UP_HELPER, + THREE_DOT_ITEM_TYPE_LIVE_HELPER, + THREE_DOT_ITEM_TYPE_FANS_GROUP_HELPER, + THREE_DOT_ITEM_TYPE_CONTRIBUTION_PUSH, + THREE_DOT_ITEM_TYPE_CONTACTS, + THREE_DOT_ITEM_TYPE_CLEAR_LIST, + ]; + + static final $core.Map<$core.int, ThreeDotItemType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ThreeDotItemType? valueOf($core.int value) => _byValue[value]; + + const ThreeDotItemType._(super.v, super.n); +} + +class UnreadStyle extends $pb.ProtobufEnum { + static const UnreadStyle UNREAD_STYLE_NONE = UnreadStyle._(0, _omitEnumNames ? '' : 'UNREAD_STYLE_NONE'); + static const UnreadStyle UNREAD_STYLE_DOT = UnreadStyle._(1, _omitEnumNames ? '' : 'UNREAD_STYLE_DOT'); + static const UnreadStyle UNREAD_STYLE_NUMBER = UnreadStyle._(2, _omitEnumNames ? '' : 'UNREAD_STYLE_NUMBER'); + + static const $core.List values = [ + UNREAD_STYLE_NONE, + UNREAD_STYLE_DOT, + UNREAD_STYLE_NUMBER, + ]; + + static final $core.Map<$core.int, UnreadStyle> _byValue = $pb.ProtobufEnum.initByValue(values); + static UnreadStyle? valueOf($core.int value) => _byValue[value]; + + const UnreadStyle._(super.v, super.n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/grpc/bilibili/app/im/v1.pbjson.dart b/lib/grpc/bilibili/app/im/v1.pbjson.dart new file mode 100644 index 00000000..4321b2cb --- /dev/null +++ b/lib/grpc/bilibili/app/im/v1.pbjson.dart @@ -0,0 +1,1757 @@ +// +// Generated code. Do not modify. +// source: bilibili/app/im/v1.proto +// +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use airDropFromDescriptor instead') +const AirDropFrom$json = { + '1': 'AirDropFrom', + '2': [ + {'1': 'ADF_UNKNOWN', '2': 0}, + {'1': 'ADF_INSIDE_APP', '2': 1}, + {'1': 'ADF_OUTSIDE_APP', '2': 2}, + ], +}; + +/// Descriptor for `AirDropFrom`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List airDropFromDescriptor = $convert.base64Decode( + 'CgtBaXJEcm9wRnJvbRIPCgtBREZfVU5LTk9XThAAEhIKDkFERl9JTlNJREVfQVBQEAESEwoPQU' + 'RGX09VVFNJREVfQVBQEAI='); + +@$core.Deprecated('Use alertToastTypeDescriptor instead') +const AlertToastType$json = { + '1': 'AlertToastType', + '2': [ + {'1': 'ALERT_TOAST_TYPE_UNSPECIFIED', '2': 0}, + {'1': 'ALERT_TOAST_TYPE_BANNED', '2': 1}, + {'1': 'ALERT_TOAST_TYPE_REPORT', '2': 2}, + ], +}; + +/// Descriptor for `AlertToastType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List alertToastTypeDescriptor = $convert.base64Decode( + 'Cg5BbGVydFRvYXN0VHlwZRIgChxBTEVSVF9UT0FTVF9UWVBFX1VOU1BFQ0lGSUVEEAASGwoXQU' + 'xFUlRfVE9BU1RfVFlQRV9CQU5ORUQQARIbChdBTEVSVF9UT0FTVF9UWVBFX1JFUE9SVBAC'); + +@$core.Deprecated('Use contactTabTypeDescriptor instead') +const ContactTabType$json = { + '1': 'ContactTabType', + '2': [ + {'1': 'TAB_UNKNOWN', '2': 0}, + {'1': 'TAB_GROUP', '2': 1}, + {'1': 'TAB_FOLLOW', '2': 2}, + {'1': 'TAB_FANS', '2': 3}, + ], +}; + +/// Descriptor for `ContactTabType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List contactTabTypeDescriptor = $convert.base64Decode( + 'Cg5Db250YWN0VGFiVHlwZRIPCgtUQUJfVU5LTk9XThAAEg0KCVRBQl9HUk9VUBABEg4KClRBQl' + '9GT0xMT1cQAhIMCghUQUJfRkFOUxAD'); + +@$core.Deprecated('Use iMSettingTypeDescriptor instead') +const IMSettingType$json = { + '1': 'IMSettingType', + '2': [ + {'1': 'SETTING_TYPE_NEED_ALL', '2': 0}, + {'1': 'SETTING_TYPE_REPLY_ME', '2': 1}, + {'1': 'SETTING_TYPE_NEW_FANS', '2': 2}, + {'1': 'SETTING_TYPE_RECEIVE_LIKE', '2': 3}, + {'1': 'SETTING_TYPE_MSG_REMIND', '2': 4}, + {'1': 'SETTING_TYPE_MSG_INTERCEPTION', '2': 5}, + {'1': 'SETTING_TYPE_FANS_GROUP_MSG', '2': 6}, + {'1': 'SETTING_TYPE_FANS_GROUP_MSG_RECEIVE', '2': 7}, + {'1': 'SETTING_TYPE_FANS_GROUP_MSG_FOLD', '2': 8}, + {'1': 'SETTING_TYPE_FANS_GROUP_MSG_JOIN_GUIDE', '2': 9}, + {'1': 'SETTING_TYPE_UNFOLLOWED_MSG', '2': 10}, + {'1': 'SETTING_TYPE_UNFOLLOWED_MSG_FOLD', '2': 11}, + {'1': 'SETTING_TYPE_BLACK_LIST', '2': 12}, + {'1': 'SETTING_TYPE_ANTI_HARASSMENT', '2': 13}, + {'1': 'SETTING_TYPE_ANTI_HARASSMENT_SWITCH', '2': 14}, + {'1': 'SETTING_TYPE_ANTI_HARASSMENT_OPEN_TIP_TEXT', '2': 15}, + {'1': 'SETTING_TYPE_CLOSE_FANS_GROUP', '2': 16}, + {'1': 'SETTING_TYPE_OLD_REPLY_ME', '2': 17}, + {'1': 'SETTING_TYPE_OLD_AT_ME', '2': 18}, + {'1': 'SETTING_TYPE_OLD_RECEIVE_LIKE', '2': 19}, + {'1': 'SETTING_TYPE_ANTI_HARASSMENT_INTERACT_LIMITS', '2': 20}, + {'1': 'SETTING_TYPE_ANTI_HARASSMENT_DURATION', '2': 21}, + {'1': 'SETTING_TYPE_ANTI_HARASSMENT_COMMENT_LIMITS', '2': 22}, + {'1': 'SETTING_TYPE_ANTI_HARASSMENT_DANMU_LIMITS', '2': 23}, + {'1': 'SETTING_TYPE_UNFOLLOWED_MSG_RECEIVE', '2': 24}, + {'1': 'SETTING_TYPE_ANTI_HARASSMENT_IM_LIMITS', '2': 25}, + {'1': 'SETTING_TYPE_KEYWORD_BLOCKING', '2': 26}, + ], +}; + +/// Descriptor for `IMSettingType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List iMSettingTypeDescriptor = $convert.base64Decode( + 'Cg1JTVNldHRpbmdUeXBlEhkKFVNFVFRJTkdfVFlQRV9ORUVEX0FMTBAAEhkKFVNFVFRJTkdfVF' + 'lQRV9SRVBMWV9NRRABEhkKFVNFVFRJTkdfVFlQRV9ORVdfRkFOUxACEh0KGVNFVFRJTkdfVFlQ' + 'RV9SRUNFSVZFX0xJS0UQAxIbChdTRVRUSU5HX1RZUEVfTVNHX1JFTUlORBAEEiEKHVNFVFRJTk' + 'dfVFlQRV9NU0dfSU5URVJDRVBUSU9OEAUSHwobU0VUVElOR19UWVBFX0ZBTlNfR1JPVVBfTVNH' + 'EAYSJwojU0VUVElOR19UWVBFX0ZBTlNfR1JPVVBfTVNHX1JFQ0VJVkUQBxIkCiBTRVRUSU5HX1' + 'RZUEVfRkFOU19HUk9VUF9NU0dfRk9MRBAIEioKJlNFVFRJTkdfVFlQRV9GQU5TX0dST1VQX01T' + 'R19KT0lOX0dVSURFEAkSHwobU0VUVElOR19UWVBFX1VORk9MTE9XRURfTVNHEAoSJAogU0VUVE' + 'lOR19UWVBFX1VORk9MTE9XRURfTVNHX0ZPTEQQCxIbChdTRVRUSU5HX1RZUEVfQkxBQ0tfTElT' + 'VBAMEiAKHFNFVFRJTkdfVFlQRV9BTlRJX0hBUkFTU01FTlQQDRInCiNTRVRUSU5HX1RZUEVfQU' + '5USV9IQVJBU1NNRU5UX1NXSVRDSBAOEi4KKlNFVFRJTkdfVFlQRV9BTlRJX0hBUkFTU01FTlRf' + 'T1BFTl9USVBfVEVYVBAPEiEKHVNFVFRJTkdfVFlQRV9DTE9TRV9GQU5TX0dST1VQEBASHQoZU0' + 'VUVElOR19UWVBFX09MRF9SRVBMWV9NRRAREhoKFlNFVFRJTkdfVFlQRV9PTERfQVRfTUUQEhIh' + 'Ch1TRVRUSU5HX1RZUEVfT0xEX1JFQ0VJVkVfTElLRRATEjAKLFNFVFRJTkdfVFlQRV9BTlRJX0' + 'hBUkFTU01FTlRfSU5URVJBQ1RfTElNSVRTEBQSKQolU0VUVElOR19UWVBFX0FOVElfSEFSQVNT' + 'TUVOVF9EVVJBVElPThAVEi8KK1NFVFRJTkdfVFlQRV9BTlRJX0hBUkFTU01FTlRfQ09NTUVOVF' + '9MSU1JVFMQFhItCilTRVRUSU5HX1RZUEVfQU5USV9IQVJBU1NNRU5UX0RBTk1VX0xJTUlUUxAX' + 'EicKI1NFVFRJTkdfVFlQRV9VTkZPTExPV0VEX01TR19SRUNFSVZFEBgSKgomU0VUVElOR19UWV' + 'BFX0FOVElfSEFSQVNTTUVOVF9JTV9MSU1JVFMQGRIhCh1TRVRUSU5HX1RZUEVfS0VZV09SRF9C' + 'TE9DS0lORxAa'); + +@$core.Deprecated('Use labelTypeDescriptor instead') +const LabelType$json = { + '1': 'LabelType', + '2': [ + {'1': 'LABEL_TYPE_DEFAULT', '2': 0}, + {'1': 'LABEL_TYPE_HUA_HUO', '2': 1}, + {'1': 'LABEL_TYPE_ORIGINAL_FANS', '2': 2}, + {'1': 'LABEL_TYPE_SPECIAL_ATTENTION', '2': 3}, + {'1': 'LABEL_TYPE_CONTRACT_UP', '2': 4}, + {'1': 'LABEL_TYPE_OLD_FANS', '2': 5}, + {'1': 'LABEL_TYPE_SPECIAL_ATTENTION_2', '2': 6}, + {'1': 'LABEL_TYPE_FANS_MEDAL', '2': 7}, + {'1': 'LABEL_TYPE_GUARD_MEDAL', '2': 8}, + ], +}; + +/// Descriptor for `LabelType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List labelTypeDescriptor = $convert.base64Decode( + 'CglMYWJlbFR5cGUSFgoSTEFCRUxfVFlQRV9ERUZBVUxUEAASFgoSTEFCRUxfVFlQRV9IVUFfSF' + 'VPEAESHAoYTEFCRUxfVFlQRV9PUklHSU5BTF9GQU5TEAISIAocTEFCRUxfVFlQRV9TUEVDSUFM' + 'X0FUVEVOVElPThADEhoKFkxBQkVMX1RZUEVfQ09OVFJBQ1RfVVAQBBIXChNMQUJFTF9UWVBFX0' + '9MRF9GQU5TEAUSIgoeTEFCRUxfVFlQRV9TUEVDSUFMX0FUVEVOVElPTl8yEAYSGQoVTEFCRUxf' + 'VFlQRV9GQU5TX01FREFMEAcSGgoWTEFCRUxfVFlQRV9HVUFSRF9NRURBTBAI'); + +@$core.Deprecated('Use msgSummaryPrefixTypeDescriptor instead') +const MsgSummaryPrefixType$json = { + '1': 'MsgSummaryPrefixType', + '2': [ + {'1': 'MSG_SUMMARY_PREFIX_TYPE_NONE', '2': 0}, + {'1': 'MSG_SUMMARY_PREFIX_TYPE_NOTIFICATION', '2': 1}, + {'1': 'MSG_SUMMARY_PREFIX_TYPE_GROUP_BLOCKED', '2': 2}, + {'1': 'MSG_SUMMARY_PREFIX_TYPE_MENTIONED', '2': 3}, + {'1': 'MSG_SUMMARY_PREFIX_TYPE_UNREAD', '2': 4}, + ], +}; + +/// Descriptor for `MsgSummaryPrefixType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List msgSummaryPrefixTypeDescriptor = $convert.base64Decode( + 'ChRNc2dTdW1tYXJ5UHJlZml4VHlwZRIgChxNU0dfU1VNTUFSWV9QUkVGSVhfVFlQRV9OT05FEA' + 'ASKAokTVNHX1NVTU1BUllfUFJFRklYX1RZUEVfTk9USUZJQ0FUSU9OEAESKQolTVNHX1NVTU1B' + 'UllfUFJFRklYX1RZUEVfR1JPVVBfQkxPQ0tFRBACEiUKIU1TR19TVU1NQVJZX1BSRUZJWF9UWV' + 'BFX01FTlRJT05FRBADEiIKHk1TR19TVU1NQVJZX1BSRUZJWF9UWVBFX1VOUkVBRBAE'); + +@$core.Deprecated('Use quickLinkItemTypeDescriptor instead') +const QuickLinkItemType$json = { + '1': 'QuickLinkItemType', + '2': [ + {'1': 'QUICK_LINK_ITEM_TYPE_UNKNOWN', '2': 0}, + {'1': 'QUICK_LINK_ITEM_TYPE_OLD_LIKE', '2': 1}, + {'1': 'QUICK_LINK_ITEM_TYPE_OLD_REPLY', '2': 2}, + {'1': 'QUICK_LINK_ITEM_TYPE_AT', '2': 3}, + {'1': 'QUICK_LINK_ITEM_TYPE_SYSTEM', '2': 4}, + {'1': 'QUICK_LINK_ITEM_TYPE_HUA_HUO', '2': 5}, + {'1': 'QUICK_LINK_ITEM_TYPE_FOLLOW', '2': 6}, + {'1': 'QUICK_LINK_ITEM_TYPE_REPLY', '2': 100}, + {'1': 'QUICK_LINK_ITEM_TYPE_LIKE', '2': 101}, + ], +}; + +/// Descriptor for `QuickLinkItemType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List quickLinkItemTypeDescriptor = $convert.base64Decode( + 'ChFRdWlja0xpbmtJdGVtVHlwZRIgChxRVUlDS19MSU5LX0lURU1fVFlQRV9VTktOT1dOEAASIQ' + 'odUVVJQ0tfTElOS19JVEVNX1RZUEVfT0xEX0xJS0UQARIiCh5RVUlDS19MSU5LX0lURU1fVFlQ' + 'RV9PTERfUkVQTFkQAhIbChdRVUlDS19MSU5LX0lURU1fVFlQRV9BVBADEh8KG1FVSUNLX0xJTk' + 'tfSVRFTV9UWVBFX1NZU1RFTRAEEiAKHFFVSUNLX0xJTktfSVRFTV9UWVBFX0hVQV9IVU8QBRIf' + 'ChtRVUlDS19MSU5LX0lURU1fVFlQRV9GT0xMT1cQBhIeChpRVUlDS19MSU5LX0lURU1fVFlQRV' + '9SRVBMWRBkEh0KGVFVSUNLX0xJTktfSVRFTV9UWVBFX0xJS0UQZQ=='); + +@$core.Deprecated('Use quickLinkMsgTypeDescriptor instead') +const QuickLinkMsgType$json = { + '1': 'QuickLinkMsgType', + '2': [ + {'1': 'LikeMsg', '2': 0}, + {'1': 'ReplyMsg', '2': 1}, + {'1': 'AtMsg', '2': 2}, + {'1': 'DanmuMsg', '2': 3}, + {'1': 'CoinMsg', '2': 4}, + {'1': 'FavoriteMsg', '2': 5}, + ], +}; + +/// Descriptor for `QuickLinkMsgType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List quickLinkMsgTypeDescriptor = $convert.base64Decode( + 'ChBRdWlja0xpbmtNc2dUeXBlEgsKB0xpa2VNc2cQABIMCghSZXBseU1zZxABEgkKBUF0TXNnEA' + 'ISDAoIRGFubXVNc2cQAxILCgdDb2luTXNnEAQSDwoLRmF2b3JpdGVNc2cQBQ=='); + +@$core.Deprecated('Use sessionFilterTypeDescriptor instead') +const SessionFilterType$json = { + '1': 'SessionFilterType', + '2': [ + {'1': 'FILTER_DEFAULT', '2': 0}, + {'1': 'FILTER_FOLLOW', '2': 1}, + ], +}; + +/// Descriptor for `SessionFilterType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List sessionFilterTypeDescriptor = $convert.base64Decode( + 'ChFTZXNzaW9uRmlsdGVyVHlwZRISCg5GSUxURVJfREVGQVVMVBAAEhEKDUZJTFRFUl9GT0xMT1' + 'cQAQ=='); + +@$core.Deprecated('Use sessionPageTypeDescriptor instead') +const SessionPageType$json = { + '1': 'SessionPageType', + '2': [ + {'1': 'SESSION_PAGE_TYPE_UNKNOWN', '2': 0}, + {'1': 'SESSION_PAGE_TYPE_HOME', '2': 1}, + {'1': 'SESSION_PAGE_TYPE_UNFOLLOWED', '2': 2}, + {'1': 'SESSION_PAGE_TYPE_STRANGER', '2': 3}, + {'1': 'SESSION_PAGE_TYPE_DUSTBIN', '2': 4}, + {'1': 'SESSION_PAGE_TYPE_GROUP', '2': 5}, + {'1': 'SESSION_PAGE_TYPE_HUA_HUO', '2': 6}, + {'1': 'SESSION_PAGE_TYPE_AI', '2': 7}, + {'1': 'SESSION_PAGE_TYPE_CUSTOMER', '2': 8}, + ], +}; + +/// Descriptor for `SessionPageType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List sessionPageTypeDescriptor = $convert.base64Decode( + 'Cg9TZXNzaW9uUGFnZVR5cGUSHQoZU0VTU0lPTl9QQUdFX1RZUEVfVU5LTk9XThAAEhoKFlNFU1' + 'NJT05fUEFHRV9UWVBFX0hPTUUQARIgChxTRVNTSU9OX1BBR0VfVFlQRV9VTkZPTExPV0VEEAIS' + 'HgoaU0VTU0lPTl9QQUdFX1RZUEVfU1RSQU5HRVIQAxIdChlTRVNTSU9OX1BBR0VfVFlQRV9EVV' + 'NUQklOEAQSGwoXU0VTU0lPTl9QQUdFX1RZUEVfR1JPVVAQBRIdChlTRVNTSU9OX1BBR0VfVFlQ' + 'RV9IVUFfSFVPEAYSGAoUU0VTU0lPTl9QQUdFX1RZUEVfQUkQBxIeChpTRVNTSU9OX1BBR0VfVF' + 'lQRV9DVVNUT01FUhAI'); + +@$core.Deprecated('Use sessionTypeDescriptor instead') +const SessionType$json = { + '1': 'SessionType', + '2': [ + {'1': 'SESSION_TYPE_UNKNOWN', '2': 0}, + {'1': 'SESSION_TYPE_PRIVATE', '2': 1}, + {'1': 'SESSION_TYPE_GROUP', '2': 2}, + {'1': 'SESSION_TYPE_GROUP_FOLD', '2': 3}, + {'1': 'SESSION_TYPE_UNFOLLOWED', '2': 4}, + {'1': 'SESSION_TYPE_STRANGER', '2': 5}, + {'1': 'SESSION_TYPE_DUSTBIN', '2': 6}, + {'1': 'SESSION_TYPE_CUSTOMER_FOLD', '2': 7}, + {'1': 'SESSION_TYPE_SYSTEM', '2': 8}, + {'1': 'SESSION_TYPE_AI_FOLD', '2': 9}, + {'1': 'SESSION_TYPE_CUSTOMER_ACCOUNT', '2': 10}, + ], +}; + +/// Descriptor for `SessionType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List sessionTypeDescriptor = $convert.base64Decode( + 'CgtTZXNzaW9uVHlwZRIYChRTRVNTSU9OX1RZUEVfVU5LTk9XThAAEhgKFFNFU1NJT05fVFlQRV' + '9QUklWQVRFEAESFgoSU0VTU0lPTl9UWVBFX0dST1VQEAISGwoXU0VTU0lPTl9UWVBFX0dST1VQ' + 'X0ZPTEQQAxIbChdTRVNTSU9OX1RZUEVfVU5GT0xMT1dFRBAEEhkKFVNFU1NJT05fVFlQRV9TVF' + 'JBTkdFUhAFEhgKFFNFU1NJT05fVFlQRV9EVVNUQklOEAYSHgoaU0VTU0lPTl9UWVBFX0NVU1RP' + 'TUVSX0ZPTEQQBxIXChNTRVNTSU9OX1RZUEVfU1lTVEVNEAgSGAoUU0VTU0lPTl9UWVBFX0FJX0' + 'ZPTEQQCRIhCh1TRVNTSU9OX1RZUEVfQ1VTVE9NRVJfQUNDT1VOVBAK'); + +@$core.Deprecated('Use threeDotItemTypeDescriptor instead') +const ThreeDotItemType$json = { + '1': 'ThreeDotItemType', + '2': [ + {'1': 'THREE_DOT_ITEM_TYPE_UNKNOWN', '2': 0}, + {'1': 'THREE_DOT_ITEM_TYPE_READ_ALL', '2': 1}, + {'1': 'THREE_DOT_ITEM_TYPE_MSG_SETTING', '2': 2}, + {'1': 'THREE_DOT_ITEM_TYPE_AUTO_REPLY', '2': 3}, + {'1': 'THREE_DOT_ITEM_TYPE_UP_HELPER', '2': 4}, + {'1': 'THREE_DOT_ITEM_TYPE_LIVE_HELPER', '2': 5}, + {'1': 'THREE_DOT_ITEM_TYPE_FANS_GROUP_HELPER', '2': 6}, + {'1': 'THREE_DOT_ITEM_TYPE_CONTRIBUTION_PUSH', '2': 7}, + {'1': 'THREE_DOT_ITEM_TYPE_CONTACTS', '2': 8}, + {'1': 'THREE_DOT_ITEM_TYPE_CLEAR_LIST', '2': 9}, + ], +}; + +/// Descriptor for `ThreeDotItemType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List threeDotItemTypeDescriptor = $convert.base64Decode( + 'ChBUaHJlZURvdEl0ZW1UeXBlEh8KG1RIUkVFX0RPVF9JVEVNX1RZUEVfVU5LTk9XThAAEiAKHF' + 'RIUkVFX0RPVF9JVEVNX1RZUEVfUkVBRF9BTEwQARIjCh9USFJFRV9ET1RfSVRFTV9UWVBFX01T' + 'R19TRVRUSU5HEAISIgoeVEhSRUVfRE9UX0lURU1fVFlQRV9BVVRPX1JFUExZEAMSIQodVEhSRU' + 'VfRE9UX0lURU1fVFlQRV9VUF9IRUxQRVIQBBIjCh9USFJFRV9ET1RfSVRFTV9UWVBFX0xJVkVf' + 'SEVMUEVSEAUSKQolVEhSRUVfRE9UX0lURU1fVFlQRV9GQU5TX0dST1VQX0hFTFBFUhAGEikKJV' + 'RIUkVFX0RPVF9JVEVNX1RZUEVfQ09OVFJJQlVUSU9OX1BVU0gQBxIgChxUSFJFRV9ET1RfSVRF' + 'TV9UWVBFX0NPTlRBQ1RTEAgSIgoeVEhSRUVfRE9UX0lURU1fVFlQRV9DTEVBUl9MSVNUEAk='); + +@$core.Deprecated('Use unreadStyleDescriptor instead') +const UnreadStyle$json = { + '1': 'UnreadStyle', + '2': [ + {'1': 'UNREAD_STYLE_NONE', '2': 0}, + {'1': 'UNREAD_STYLE_DOT', '2': 1}, + {'1': 'UNREAD_STYLE_NUMBER', '2': 2}, + ], +}; + +/// Descriptor for `UnreadStyle`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List unreadStyleDescriptor = $convert.base64Decode( + 'CgtVbnJlYWRTdHlsZRIVChFVTlJFQURfU1RZTEVfTk9ORRAAEhQKEFVOUkVBRF9TVFlMRV9ET1' + 'QQARIXChNVTlJFQURfU1RZTEVfTlVNQkVSEAI='); + +@$core.Deprecated('Use airDropShareUserInfoDescriptor instead') +const AirDropShareUserInfo$json = { + '1': 'AirDropShareUserInfo', + '2': [ + {'1': 'mid', '3': 1, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'face', '3': 2, '4': 1, '5': 9, '10': 'face'}, + {'1': 'url', '3': 3, '4': 1, '5': 9, '10': 'url'}, + {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, + ], +}; + +/// Descriptor for `AirDropShareUserInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List airDropShareUserInfoDescriptor = $convert.base64Decode( + 'ChRBaXJEcm9wU2hhcmVVc2VySW5mbxIQCgNtaWQYASABKANSA21pZBISCgRmYWNlGAIgASgJUg' + 'RmYWNlEhAKA3VybBgDIAEoCVIDdXJsEhIKBG5hbWUYBCABKAlSBG5hbWU='); + +@$core.Deprecated('Use airDropToImReplyDescriptor instead') +const AirDropToImReply$json = { + '1': 'AirDropToImReply', + '2': [ + {'1': 'user_infos', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.AirDropShareUserInfo', '10': 'userInfos'}, + ], +}; + +/// Descriptor for `AirDropToImReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List airDropToImReplyDescriptor = $convert.base64Decode( + 'ChBBaXJEcm9wVG9JbVJlcGx5EkcKCnVzZXJfaW5mb3MYASADKAsyKC5iaWxpYmlsaS5hcHAuaW' + '0udjEuQWlyRHJvcFNoYXJlVXNlckluZm9SCXVzZXJJbmZvcw=='); + +@$core.Deprecated('Use airDropToImReqDescriptor instead') +const AirDropToImReq$json = { + '1': 'AirDropToImReq', + '2': [ + {'1': 'adf', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.AirDropFrom', '10': 'adf'}, + ], +}; + +/// Descriptor for `AirDropToImReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List airDropToImReqDescriptor = $convert.base64Decode( + 'Cg5BaXJEcm9wVG9JbVJlcRIxCgNhZGYYASABKA4yHy5iaWxpYmlsaS5hcHAuaW0udjEuQWlyRH' + 'JvcEZyb21SA2FkZg=='); + +@$core.Deprecated('Use autoReplyToastDescriptor instead') +const AutoReplyToast$json = { + '1': 'AutoReplyToast', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `AutoReplyToast`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List autoReplyToastDescriptor = $convert.base64Decode( + 'Cg5BdXRvUmVwbHlUb2FzdBIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSEAoDdXJsGAIgASgJUgN1cm' + 'w='); + +@$core.Deprecated('Use behaviorAlertToastDescriptor instead') +const BehaviorAlertToast$json = { + '1': 'BehaviorAlertToast', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'content', '3': 2, '4': 1, '5': 9, '10': 'content'}, + {'1': 'type_str', '3': 3, '4': 1, '5': 9, '10': 'typeStr'}, + {'1': 'type', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.AlertToastType', '10': 'type'}, + ], +}; + +/// Descriptor for `BehaviorAlertToast`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List behaviorAlertToastDescriptor = $convert.base64Decode( + 'ChJCZWhhdmlvckFsZXJ0VG9hc3QSFAoFdGl0bGUYASABKAlSBXRpdGxlEhgKB2NvbnRlbnQYAi' + 'ABKAlSB2NvbnRlbnQSGQoIdHlwZV9zdHIYAyABKAlSB3R5cGVTdHISNgoEdHlwZRgEIAEoDjIi' + 'LmJpbGliaWxpLmFwcC5pbS52MS5BbGVydFRvYXN0VHlwZVIEdHlwZQ=='); + +@$core.Deprecated('Use borderedLabelDescriptor instead') +const BorderedLabel$json = { + '1': 'BorderedLabel', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + ], +}; + +/// Descriptor for `BorderedLabel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List borderedLabelDescriptor = $convert.base64Decode( + 'Cg1Cb3JkZXJlZExhYmVsEhIKBGljb24YASABKAlSBGljb24SEgoEdGV4dBgCIAEoCVIEdGV4dA' + '=='); + +@$core.Deprecated('Use cancelInterceptInDustbinReplyDescriptor instead') +const CancelInterceptInDustbinReply$json = { + '1': 'CancelInterceptInDustbinReply', +}; + +/// Descriptor for `CancelInterceptInDustbinReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List cancelInterceptInDustbinReplyDescriptor = $convert.base64Decode( + 'Ch1DYW5jZWxJbnRlcmNlcHRJbkR1c3RiaW5SZXBseQ=='); + +@$core.Deprecated('Use cancelInterceptInDustbinReqDescriptor instead') +const CancelInterceptInDustbinReq$json = { + '1': 'CancelInterceptInDustbinReq', + '2': [ + {'1': 'session_id', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionId', '10': 'sessionId'}, + ], +}; + +/// Descriptor for `CancelInterceptInDustbinReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List cancelInterceptInDustbinReqDescriptor = $convert.base64Decode( + 'ChtDYW5jZWxJbnRlcmNlcHRJbkR1c3RiaW5SZXESPAoKc2Vzc2lvbl9pZBgBIAEoCzIdLmJpbG' + 'liaWxpLmFwcC5pbS52MS5TZXNzaW9uSWRSCXNlc3Npb25JZA=='); + +@$core.Deprecated('Use clearAlertReplyDescriptor instead') +const ClearAlertReply$json = { + '1': 'ClearAlertReply', +}; + +/// Descriptor for `ClearAlertReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List clearAlertReplyDescriptor = $convert.base64Decode( + 'Cg9DbGVhckFsZXJ0UmVwbHk='); + +@$core.Deprecated('Use clearAlertReqDescriptor instead') +const ClearAlertReq$json = { + '1': 'ClearAlertReq', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.AlertToastType', '10': 'type'}, + ], +}; + +/// Descriptor for `ClearAlertReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List clearAlertReqDescriptor = $convert.base64Decode( + 'Cg1DbGVhckFsZXJ0UmVxEjYKBHR5cGUYASABKA4yIi5iaWxpYmlsaS5hcHAuaW0udjEuQWxlcn' + 'RUb2FzdFR5cGVSBHR5cGU='); + +@$core.Deprecated('Use clearUnreadReplyDescriptor instead') +const ClearUnreadReply$json = { + '1': 'ClearUnreadReply', +}; + +/// Descriptor for `ClearUnreadReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List clearUnreadReplyDescriptor = $convert.base64Decode( + 'ChBDbGVhclVucmVhZFJlcGx5'); + +@$core.Deprecated('Use clearUnreadReqDescriptor instead') +const ClearUnreadReq$json = { + '1': 'ClearUnreadReq', + '2': [ + {'1': 'page_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionPageType', '10': 'pageType'}, + {'1': 'session_id', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionId', '10': 'sessionId'}, + ], +}; + +/// Descriptor for `ClearUnreadReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List clearUnreadReqDescriptor = $convert.base64Decode( + 'Cg5DbGVhclVucmVhZFJlcRJACglwYWdlX3R5cGUYASABKA4yIy5iaWxpYmlsaS5hcHAuaW0udj' + 'EuU2Vzc2lvblBhZ2VUeXBlUghwYWdlVHlwZRI8CgpzZXNzaW9uX2lkGAIgASgLMh0uYmlsaWJp' + 'bGkuYXBwLmltLnYxLlNlc3Npb25JZFIJc2Vzc2lvbklk'); + +@$core.Deprecated('Use contactDescriptor instead') +const Contact$json = { + '1': 'Contact', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'avatar', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.AvatarItem', '10': 'avatar'}, + {'1': 'vip_info', '3': 4, '4': 1, '5': 9, '10': 'vipInfo'}, + {'1': 'url', '3': 5, '4': 1, '5': 9, '10': 'url'}, + {'1': 'name_render', '3': 6, '4': 1, '5': 11, '6': '.bilibili.account.service.v1.NameRender', '10': 'nameRender'}, + {'1': 'is_special_follow', '3': 7, '4': 1, '5': 8, '10': 'isSpecialFollow'}, + {'1': 'face', '3': 8, '4': 1, '5': 9, '10': 'face'}, + {'1': 'official_type', '3': 9, '4': 1, '5': 5, '10': 'officialType'}, + ], +}; + +/// Descriptor for `Contact`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List contactDescriptor = $convert.base64Decode( + 'CgdDb250YWN0Eg4KAmlkGAEgASgDUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEkUKBmF2YXRhch' + 'gDIAEoCzItLmJpbGliaWxpLmRhZ3cuY29tcG9uZW50LmF2YXRhci52MS5BdmF0YXJJdGVtUgZh' + 'dmF0YXISGQoIdmlwX2luZm8YBCABKAlSB3ZpcEluZm8SEAoDdXJsGAUgASgJUgN1cmwSSAoLbm' + 'FtZV9yZW5kZXIYBiABKAsyJy5iaWxpYmlsaS5hY2NvdW50LnNlcnZpY2UudjEuTmFtZVJlbmRl' + 'clIKbmFtZVJlbmRlchIqChFpc19zcGVjaWFsX2ZvbGxvdxgHIAEoCFIPaXNTcGVjaWFsRm9sbG' + '93EhIKBGZhY2UYCCABKAlSBGZhY2USIwoNb2ZmaWNpYWxfdHlwZRgJIAEoBVIMb2ZmaWNpYWxU' + 'eXBl'); + +@$core.Deprecated('Use contactTabDescriptor instead') +const ContactTab$json = { + '1': 'ContactTab', + '2': [ + {'1': 'tab', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.ContactTabType', '10': 'tab'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + ], +}; + +/// Descriptor for `ContactTab`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List contactTabDescriptor = $convert.base64Decode( + 'CgpDb250YWN0VGFiEjQKA3RhYhgBIAEoDjIiLmJpbGliaWxpLmFwcC5pbS52MS5Db250YWN0VG' + 'FiVHlwZVIDdGFiEhIKBG5hbWUYAiABKAlSBG5hbWU='); + +@$core.Deprecated('Use contactsReplyDescriptor instead') +const ContactsReply$json = { + '1': 'ContactsReply', + '2': [ + {'1': 'contacts', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.Contact', '10': 'contacts'}, + {'1': 'tab', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.ContactTab', '10': 'tab'}, + {'1': 'current_tab', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.ContactTabType', '10': 'currentTab'}, + {'1': 'pagination_params', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.PaginationParams', '10': 'paginationParams'}, + ], +}; + +/// Descriptor for `ContactsReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List contactsReplyDescriptor = $convert.base64Decode( + 'Cg1Db250YWN0c1JlcGx5EjcKCGNvbnRhY3RzGAEgAygLMhsuYmlsaWJpbGkuYXBwLmltLnYxLk' + 'NvbnRhY3RSCGNvbnRhY3RzEjAKA3RhYhgCIAMoCzIeLmJpbGliaWxpLmFwcC5pbS52MS5Db250' + 'YWN0VGFiUgN0YWISQwoLY3VycmVudF90YWIYAyABKA4yIi5iaWxpYmlsaS5hcHAuaW0udjEuQ2' + '9udGFjdFRhYlR5cGVSCmN1cnJlbnRUYWISUQoRcGFnaW5hdGlvbl9wYXJhbXMYBCABKAsyJC5i' + 'aWxpYmlsaS5hcHAuaW0udjEuUGFnaW5hdGlvblBhcmFtc1IQcGFnaW5hdGlvblBhcmFtcw=='); + +@$core.Deprecated('Use contactsReqDescriptor instead') +const ContactsReq$json = { + '1': 'ContactsReq', + '2': [ + {'1': 'tab', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.ContactTabType', '10': 'tab'}, + {'1': 'pagination_params', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.PaginationParams', '10': 'paginationParams'}, + ], +}; + +/// Descriptor for `ContactsReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List contactsReqDescriptor = $convert.base64Decode( + 'CgtDb250YWN0c1JlcRI0CgN0YWIYASABKA4yIi5iaWxpYmlsaS5hcHAuaW0udjEuQ29udGFjdF' + 'RhYlR5cGVSA3RhYhJRChFwYWdpbmF0aW9uX3BhcmFtcxgCIAEoCzIkLmJpbGliaWxpLmFwcC5p' + 'bS52MS5QYWdpbmF0aW9uUGFyYW1zUhBwYWdpbmF0aW9uUGFyYW1z'); + +@$core.Deprecated('Use contactsSearchReplyDescriptor instead') +const ContactsSearchReply$json = { + '1': 'ContactsSearchReply', + '2': [ + {'1': 'contacts', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.Contact', '10': 'contacts'}, + {'1': 'pagination_params', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.PaginationParams', '10': 'paginationParams'}, + ], +}; + +/// Descriptor for `ContactsSearchReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List contactsSearchReplyDescriptor = $convert.base64Decode( + 'ChNDb250YWN0c1NlYXJjaFJlcGx5EjcKCGNvbnRhY3RzGAEgAygLMhsuYmlsaWJpbGkuYXBwLm' + 'ltLnYxLkNvbnRhY3RSCGNvbnRhY3RzElEKEXBhZ2luYXRpb25fcGFyYW1zGAIgASgLMiQuYmls' + 'aWJpbGkuYXBwLmltLnYxLlBhZ2luYXRpb25QYXJhbXNSEHBhZ2luYXRpb25QYXJhbXM='); + +@$core.Deprecated('Use contactsSearchReqDescriptor instead') +const ContactsSearchReq$json = { + '1': 'ContactsSearchReq', + '2': [ + {'1': 'keyword', '3': 1, '4': 1, '5': 9, '10': 'keyword'}, + {'1': 'tab', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.ContactTabType', '10': 'tab'}, + {'1': 'pagination_params', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.PaginationParams', '10': 'paginationParams'}, + ], +}; + +/// Descriptor for `ContactsSearchReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List contactsSearchReqDescriptor = $convert.base64Decode( + 'ChFDb250YWN0c1NlYXJjaFJlcRIYCgdrZXl3b3JkGAEgASgJUgdrZXl3b3JkEjQKA3RhYhgCIA' + 'EoDjIiLmJpbGliaWxpLmFwcC5pbS52MS5Db250YWN0VGFiVHlwZVIDdGFiElEKEXBhZ2luYXRp' + 'b25fcGFyYW1zGAMgASgLMiQuYmlsaWJpbGkuYXBwLmltLnYxLlBhZ2luYXRpb25QYXJhbXNSEH' + 'BhZ2luYXRpb25QYXJhbXM='); + +@$core.Deprecated('Use customerIdDescriptor instead') +const CustomerId$json = { + '1': 'CustomerId', + '2': [ + {'1': 'shop_id', '3': 1, '4': 1, '5': 3, '10': 'shopId'}, + {'1': 'shop_type', '3': 2, '4': 1, '5': 3, '10': 'shopType'}, + ], +}; + +/// Descriptor for `CustomerId`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List customerIdDescriptor = $convert.base64Decode( + 'CgpDdXN0b21lcklkEhcKB3Nob3BfaWQYASABKANSBnNob3BJZBIbCglzaG9wX3R5cGUYAiABKA' + 'NSCHNob3BUeXBl'); + +@$core.Deprecated('Use deleteSessionListReplyDescriptor instead') +const DeleteSessionListReply$json = { + '1': 'DeleteSessionListReply', +}; + +/// Descriptor for `DeleteSessionListReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteSessionListReplyDescriptor = $convert.base64Decode( + 'ChZEZWxldGVTZXNzaW9uTGlzdFJlcGx5'); + +@$core.Deprecated('Use deleteSessionListReqDescriptor instead') +const DeleteSessionListReq$json = { + '1': 'DeleteSessionListReq', + '2': [ + {'1': 'page_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionPageType', '10': 'pageType'}, + ], +}; + +/// Descriptor for `DeleteSessionListReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteSessionListReqDescriptor = $convert.base64Decode( + 'ChREZWxldGVTZXNzaW9uTGlzdFJlcRJACglwYWdlX3R5cGUYASABKA4yIy5iaWxpYmlsaS5hcH' + 'AuaW0udjEuU2Vzc2lvblBhZ2VUeXBlUghwYWdlVHlwZQ=='); + +@$core.Deprecated('Use deleteSessionReplyDescriptor instead') +const DeleteSessionReply$json = { + '1': 'DeleteSessionReply', +}; + +/// Descriptor for `DeleteSessionReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteSessionReplyDescriptor = $convert.base64Decode( + 'ChJEZWxldGVTZXNzaW9uUmVwbHk='); + +@$core.Deprecated('Use deleteSessionReqDescriptor instead') +const DeleteSessionReq$json = { + '1': 'DeleteSessionReq', + '2': [ + {'1': 'session_id', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionId', '10': 'sessionId'}, + ], +}; + +/// Descriptor for `DeleteSessionReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteSessionReqDescriptor = $convert.base64Decode( + 'ChBEZWxldGVTZXNzaW9uUmVxEjwKCnNlc3Npb25faWQYASABKAsyHS5iaWxpYmlsaS5hcHAuaW' + '0udjEuU2Vzc2lvbklkUglzZXNzaW9uSWQ='); + +@$core.Deprecated('Use filledLabelDescriptor instead') +const FilledLabel$json = { + '1': 'FilledLabel', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + ], +}; + +/// Descriptor for `FilledLabel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List filledLabelDescriptor = $convert.base64Decode( + 'CgtGaWxsZWRMYWJlbBISCgR0ZXh0GAEgASgJUgR0ZXh0'); + +@$core.Deprecated('Use filterConfigDescriptor instead') +const FilterConfig$json = { + '1': 'FilterConfig', + '2': [ + {'1': 'filters', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.SessionsFilter', '10': 'filters'}, + {'1': 'current_filter', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionFilterType', '10': 'currentFilter'}, + ], +}; + +/// Descriptor for `FilterConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List filterConfigDescriptor = $convert.base64Decode( + 'CgxGaWx0ZXJDb25maWcSPAoHZmlsdGVycxgBIAMoCzIiLmJpbGliaWxpLmFwcC5pbS52MS5TZX' + 'NzaW9uc0ZpbHRlclIHZmlsdGVycxJMCg5jdXJyZW50X2ZpbHRlchgCIAEoDjIlLmJpbGliaWxp' + 'LmFwcC5pbS52MS5TZXNzaW9uRmlsdGVyVHlwZVINY3VycmVudEZpbHRlcg=='); + +@$core.Deprecated('Use foldIdDescriptor instead') +const FoldId$json = { + '1': 'FoldId', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionType', '10': 'type'}, + ], +}; + +/// Descriptor for `FoldId`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List foldIdDescriptor = $convert.base64Decode( + 'CgZGb2xkSWQSMwoEdHlwZRgBIAEoDjIfLmJpbGliaWxpLmFwcC5pbS52MS5TZXNzaW9uVHlwZV' + 'IEdHlwZQ=='); + +@$core.Deprecated('Use getImSettingsReplyDescriptor instead') +const GetImSettingsReply$json = { + '1': 'GetImSettingsReply', + '2': [ + {'1': 'page_title', '3': 1, '4': 1, '5': 9, '10': 'pageTitle'}, + {'1': 'settings', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.GetImSettingsReply.SettingsEntry', '10': 'settings'}, + ], + '3': [GetImSettingsReply_SettingsEntry$json], +}; + +@$core.Deprecated('Use getImSettingsReplyDescriptor instead') +const GetImSettingsReply_SettingsEntry$json = { + '1': 'SettingsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Setting', '10': 'value'}, + ], + '7': {'7': true}, +}; + +/// Descriptor for `GetImSettingsReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getImSettingsReplyDescriptor = $convert.base64Decode( + 'ChJHZXRJbVNldHRpbmdzUmVwbHkSHQoKcGFnZV90aXRsZRgBIAEoCVIJcGFnZVRpdGxlElAKCH' + 'NldHRpbmdzGAIgAygLMjQuYmlsaWJpbGkuYXBwLmltLnYxLkdldEltU2V0dGluZ3NSZXBseS5T' + 'ZXR0aW5nc0VudHJ5UghzZXR0aW5ncxpYCg1TZXR0aW5nc0VudHJ5EhAKA2tleRgBIAEoBVIDa2' + 'V5EjEKBXZhbHVlGAIgASgLMhsuYmlsaWJpbGkuYXBwLmltLnYxLlNldHRpbmdSBXZhbHVlOgI4' + 'AQ=='); + +@$core.Deprecated('Use getImSettingsReqDescriptor instead') +const GetImSettingsReq$json = { + '1': 'GetImSettingsReq', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.IMSettingType', '10': 'type'}, + ], +}; + +/// Descriptor for `GetImSettingsReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getImSettingsReqDescriptor = $convert.base64Decode( + 'ChBHZXRJbVNldHRpbmdzUmVxEjUKBHR5cGUYASABKA4yIS5iaWxpYmlsaS5hcHAuaW0udjEuSU' + '1TZXR0aW5nVHlwZVIEdHlwZQ=='); + +@$core.Deprecated('Use getQuickLinkUnreadReplyDescriptor instead') +const GetQuickLinkUnreadReply$json = { + '1': 'GetQuickLinkUnreadReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.QuickLinkUnreadItem', '10': 'items'}, + ], +}; + +/// Descriptor for `GetQuickLinkUnreadReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getQuickLinkUnreadReplyDescriptor = $convert.base64Decode( + 'ChdHZXRRdWlja0xpbmtVbnJlYWRSZXBseRI9CgVpdGVtcxgBIAMoCzInLmJpbGliaWxpLmFwcC' + '5pbS52MS5RdWlja0xpbmtVbnJlYWRJdGVtUgVpdGVtcw=='); + +@$core.Deprecated('Use getQuickLinkUnreadReqDescriptor instead') +const GetQuickLinkUnreadReq$json = { + '1': 'GetQuickLinkUnreadReq', +}; + +/// Descriptor for `GetQuickLinkUnreadReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getQuickLinkUnreadReqDescriptor = $convert.base64Decode( + 'ChVHZXRRdWlja0xpbmtVbnJlYWRSZXE='); + +@$core.Deprecated('Use getTotalUnreadReplyDescriptor instead') +const GetTotalUnreadReply$json = { + '1': 'GetTotalUnreadReply', + '2': [ + {'1': 'total', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Unread', '10': 'total'}, + ], +}; + +/// Descriptor for `GetTotalUnreadReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getTotalUnreadReplyDescriptor = $convert.base64Decode( + 'ChNHZXRUb3RhbFVucmVhZFJlcGx5EjAKBXRvdGFsGAEgASgLMhouYmlsaWJpbGkuYXBwLmltLn' + 'YxLlVucmVhZFIFdG90YWw='); + +@$core.Deprecated('Use getTotalUnreadReqDescriptor instead') +const GetTotalUnreadReq$json = { + '1': 'GetTotalUnreadReq', +}; + +/// Descriptor for `GetTotalUnreadReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getTotalUnreadReqDescriptor = $convert.base64Decode( + 'ChFHZXRUb3RhbFVucmVhZFJlcQ=='); + +@$core.Deprecated('Use groupIdDescriptor instead') +const GroupId$json = { + '1': 'GroupId', + '2': [ + {'1': 'group_id', '3': 1, '4': 1, '5': 3, '10': 'groupId'}, + ], +}; + +/// Descriptor for `GroupId`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List groupIdDescriptor = $convert.base64Decode( + 'CgdHcm91cElkEhkKCGdyb3VwX2lkGAEgASgDUgdncm91cElk'); + +@$core.Deprecated('Use imageLabelDescriptor instead') +const ImageLabel$json = { + '1': 'ImageLabel', + '2': [ + {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, + {'1': 'width', '3': 2, '4': 1, '5': 5, '10': 'width'}, + {'1': 'height', '3': 3, '4': 1, '5': 5, '10': 'height'}, + ], +}; + +/// Descriptor for `ImageLabel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List imageLabelDescriptor = $convert.base64Decode( + 'CgpJbWFnZUxhYmVsEhAKA3VybBgBIAEoCVIDdXJsEhQKBXdpZHRoGAIgASgFUgV3aWR0aBIWCg' + 'ZoZWlnaHQYAyABKAVSBmhlaWdodA=='); + +@$core.Deprecated('Use keywordBlockingAddReplyDescriptor instead') +const KeywordBlockingAddReply$json = { + '1': 'KeywordBlockingAddReply', + '2': [ + {'1': 'toast', '3': 1, '4': 1, '5': 9, '10': 'toast'}, + {'1': 'item', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.KeywordBlockingItem', '10': 'item'}, + ], +}; + +/// Descriptor for `KeywordBlockingAddReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List keywordBlockingAddReplyDescriptor = $convert.base64Decode( + 'ChdLZXl3b3JkQmxvY2tpbmdBZGRSZXBseRIUCgV0b2FzdBgBIAEoCVIFdG9hc3QSOwoEaXRlbR' + 'gCIAEoCzInLmJpbGliaWxpLmFwcC5pbS52MS5LZXl3b3JkQmxvY2tpbmdJdGVtUgRpdGVt'); + +@$core.Deprecated('Use keywordBlockingAddReqDescriptor instead') +const KeywordBlockingAddReq$json = { + '1': 'KeywordBlockingAddReq', + '2': [ + {'1': 'keyword', '3': 1, '4': 1, '5': 9, '10': 'keyword'}, + ], +}; + +/// Descriptor for `KeywordBlockingAddReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List keywordBlockingAddReqDescriptor = $convert.base64Decode( + 'ChVLZXl3b3JkQmxvY2tpbmdBZGRSZXESGAoHa2V5d29yZBgBIAEoCVIHa2V5d29yZA=='); + +@$core.Deprecated('Use keywordBlockingDeleteReplyDescriptor instead') +const KeywordBlockingDeleteReply$json = { + '1': 'KeywordBlockingDeleteReply', + '2': [ + {'1': 'toast', '3': 1, '4': 1, '5': 9, '10': 'toast'}, + ], +}; + +/// Descriptor for `KeywordBlockingDeleteReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List keywordBlockingDeleteReplyDescriptor = $convert.base64Decode( + 'ChpLZXl3b3JkQmxvY2tpbmdEZWxldGVSZXBseRIUCgV0b2FzdBgBIAEoCVIFdG9hc3Q='); + +@$core.Deprecated('Use keywordBlockingDeleteReqDescriptor instead') +const KeywordBlockingDeleteReq$json = { + '1': 'KeywordBlockingDeleteReq', + '2': [ + {'1': 'keyword', '3': 1, '4': 1, '5': 9, '10': 'keyword'}, + ], +}; + +/// Descriptor for `KeywordBlockingDeleteReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List keywordBlockingDeleteReqDescriptor = $convert.base64Decode( + 'ChhLZXl3b3JkQmxvY2tpbmdEZWxldGVSZXESGAoHa2V5d29yZBgBIAEoCVIHa2V5d29yZA=='); + +@$core.Deprecated('Use keywordBlockingItemDescriptor instead') +const KeywordBlockingItem$json = { + '1': 'KeywordBlockingItem', + '2': [ + {'1': 'keyword', '3': 1, '4': 1, '5': 9, '10': 'keyword'}, + ], +}; + +/// Descriptor for `KeywordBlockingItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List keywordBlockingItemDescriptor = $convert.base64Decode( + 'ChNLZXl3b3JkQmxvY2tpbmdJdGVtEhgKB2tleXdvcmQYASABKAlSB2tleXdvcmQ='); + +@$core.Deprecated('Use keywordBlockingListReplyDescriptor instead') +const KeywordBlockingListReply$json = { + '1': 'KeywordBlockingListReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.KeywordBlockingItem', '10': 'items'}, + {'1': 'list_limit', '3': 2, '4': 1, '5': 5, '10': 'listLimit'}, + {'1': 'char_limit', '3': 3, '4': 1, '5': 5, '10': 'charLimit'}, + {'1': 'list_limit_text', '3': 4, '4': 1, '5': 9, '10': 'listLimitText'}, + ], +}; + +/// Descriptor for `KeywordBlockingListReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List keywordBlockingListReplyDescriptor = $convert.base64Decode( + 'ChhLZXl3b3JkQmxvY2tpbmdMaXN0UmVwbHkSPQoFaXRlbXMYASADKAsyJy5iaWxpYmlsaS5hcH' + 'AuaW0udjEuS2V5d29yZEJsb2NraW5nSXRlbVIFaXRlbXMSHQoKbGlzdF9saW1pdBgCIAEoBVIJ' + 'bGlzdExpbWl0Eh0KCmNoYXJfbGltaXQYAyABKAVSCWNoYXJMaW1pdBImCg9saXN0X2xpbWl0X3' + 'RleHQYBCABKAlSDWxpc3RMaW1pdFRleHQ='); + +@$core.Deprecated('Use keywordBlockingListReqDescriptor instead') +const KeywordBlockingListReq$json = { + '1': 'KeywordBlockingListReq', +}; + +/// Descriptor for `KeywordBlockingListReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List keywordBlockingListReqDescriptor = $convert.base64Decode( + 'ChZLZXl3b3JkQmxvY2tpbmdMaXN0UmVx'); + +@$core.Deprecated('Use medalDescriptor instead') +const Medal$json = { + '1': 'Medal', + '2': [ + {'1': 'uid', '3': 1, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'medal_id', '3': 2, '4': 1, '5': 5, '10': 'medalId'}, + {'1': 'level', '3': 3, '4': 1, '5': 5, '10': 'level'}, + {'1': 'medal_name', '3': 4, '4': 1, '5': 9, '10': 'medalName'}, + {'1': 'score', '3': 5, '4': 1, '5': 5, '10': 'score'}, + {'1': 'intimacy', '3': 6, '4': 1, '5': 5, '10': 'intimacy'}, + {'1': 'master_status', '3': 7, '4': 1, '5': 5, '10': 'masterStatus'}, + {'1': 'is_receive', '3': 8, '4': 1, '5': 5, '10': 'isReceive'}, + {'1': 'medal_color_start', '3': 9, '4': 1, '5': 9, '10': 'medalColorStart'}, + {'1': 'medal_color_end', '3': 10, '4': 1, '5': 9, '10': 'medalColorEnd'}, + {'1': 'medal_color_border', '3': 11, '4': 1, '5': 9, '10': 'medalColorBorder'}, + {'1': 'medal_color_name', '3': 12, '4': 1, '5': 9, '10': 'medalColorName'}, + {'1': 'medal_color_level', '3': 13, '4': 1, '5': 9, '10': 'medalColorLevel'}, + {'1': 'guard_level', '3': 14, '4': 1, '5': 3, '10': 'guardLevel'}, + ], +}; + +/// Descriptor for `Medal`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List medalDescriptor = $convert.base64Decode( + 'CgVNZWRhbBIQCgN1aWQYASABKANSA3VpZBIZCghtZWRhbF9pZBgCIAEoBVIHbWVkYWxJZBIUCg' + 'VsZXZlbBgDIAEoBVIFbGV2ZWwSHQoKbWVkYWxfbmFtZRgEIAEoCVIJbWVkYWxOYW1lEhQKBXNj' + 'b3JlGAUgASgFUgVzY29yZRIaCghpbnRpbWFjeRgGIAEoBVIIaW50aW1hY3kSIwoNbWFzdGVyX3' + 'N0YXR1cxgHIAEoBVIMbWFzdGVyU3RhdHVzEh0KCmlzX3JlY2VpdmUYCCABKAVSCWlzUmVjZWl2' + 'ZRIqChFtZWRhbF9jb2xvcl9zdGFydBgJIAEoCVIPbWVkYWxDb2xvclN0YXJ0EiYKD21lZGFsX2' + 'NvbG9yX2VuZBgKIAEoCVINbWVkYWxDb2xvckVuZBIsChJtZWRhbF9jb2xvcl9ib3JkZXIYCyAB' + 'KAlSEG1lZGFsQ29sb3JCb3JkZXISKAoQbWVkYWxfY29sb3JfbmFtZRgMIAEoCVIObWVkYWxDb2' + 'xvck5hbWUSKgoRbWVkYWxfY29sb3JfbGV2ZWwYDSABKAlSD21lZGFsQ29sb3JMZXZlbBIfCgtn' + 'dWFyZF9sZXZlbBgOIAEoA1IKZ3VhcmRMZXZlbA=='); + +@$core.Deprecated('Use msgSummaryDescriptor instead') +const MsgSummary$json = { + '1': 'MsgSummary', + '2': [ + {'1': 'raw_msg', '3': 1, '4': 1, '5': 9, '10': 'rawMsg'}, + {'1': 'prefix_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.MsgSummaryPrefixType', '10': 'prefixType'}, + {'1': 'prefix_text', '3': 3, '4': 1, '5': 9, '10': 'prefixText'}, + {'1': 'is_group_owner', '3': 4, '4': 1, '5': 8, '10': 'isGroupOwner'}, + ], +}; + +/// Descriptor for `MsgSummary`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List msgSummaryDescriptor = $convert.base64Decode( + 'CgpNc2dTdW1tYXJ5EhcKB3Jhd19tc2cYASABKAlSBnJhd01zZxJJCgtwcmVmaXhfdHlwZRgCIA' + 'EoDjIoLmJpbGliaWxpLmFwcC5pbS52MS5Nc2dTdW1tYXJ5UHJlZml4VHlwZVIKcHJlZml4VHlw' + 'ZRIfCgtwcmVmaXhfdGV4dBgDIAEoCVIKcHJlZml4VGV4dBIkCg5pc19ncm91cF9vd25lchgEIA' + 'EoCFIMaXNHcm91cE93bmVy'); + +@$core.Deprecated('Use offsetDescriptor instead') +const Offset$json = { + '1': 'Offset', + '2': [ + {'1': 'normal_offset', '3': 1, '4': 1, '5': 3, '10': 'normalOffset'}, + {'1': 'top_offset', '3': 2, '4': 1, '5': 3, '10': 'topOffset'}, + ], +}; + +/// Descriptor for `Offset`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List offsetDescriptor = $convert.base64Decode( + 'CgZPZmZzZXQSIwoNbm9ybWFsX29mZnNldBgBIAEoA1IMbm9ybWFsT2Zmc2V0Eh0KCnRvcF9vZm' + 'ZzZXQYAiABKANSCXRvcE9mZnNldA=='); + +@$core.Deprecated('Use operationContentDescriptor instead') +const OperationContent$json = { + '1': 'OperationContent', + '2': [ + {'1': 'show', '3': 1, '4': 1, '5': 8, '10': 'show'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + ], +}; + +/// Descriptor for `OperationContent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List operationContentDescriptor = $convert.base64Decode( + 'ChBPcGVyYXRpb25Db250ZW50EhIKBHNob3cYASABKAhSBHNob3cSEgoEdGV4dBgCIAEoCVIEdG' + 'V4dA=='); + +@$core.Deprecated('Use paginationParamsDescriptor instead') +const PaginationParams$json = { + '1': 'PaginationParams', + '2': [ + {'1': 'offsets', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.PaginationParams.OffsetsEntry', '10': 'offsets'}, + {'1': 'has_more', '3': 2, '4': 1, '5': 8, '10': 'hasMore'}, + ], + '3': [PaginationParams_OffsetsEntry$json], +}; + +@$core.Deprecated('Use paginationParamsDescriptor instead') +const PaginationParams_OffsetsEntry$json = { + '1': 'OffsetsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Offset', '10': 'value'}, + ], + '7': {'7': true}, +}; + +/// Descriptor for `PaginationParams`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List paginationParamsDescriptor = $convert.base64Decode( + 'ChBQYWdpbmF0aW9uUGFyYW1zEksKB29mZnNldHMYASADKAsyMS5iaWxpYmlsaS5hcHAuaW0udj' + 'EuUGFnaW5hdGlvblBhcmFtcy5PZmZzZXRzRW50cnlSB29mZnNldHMSGQoIaGFzX21vcmUYAiAB' + 'KAhSB2hhc01vcmUaVgoMT2Zmc2V0c0VudHJ5EhAKA2tleRgBIAEoBVIDa2V5EjAKBXZhbHVlGA' + 'IgASgLMhouYmlsaWJpbGkuYXBwLmltLnYxLk9mZnNldFIFdmFsdWU6AjgB'); + +@$core.Deprecated('Use pinSessionReplyDescriptor instead') +const PinSessionReply$json = { + '1': 'PinSessionReply', + '2': [ + {'1': 'sequence_number', '3': 1, '4': 1, '5': 3, '10': 'sequenceNumber'}, + {'1': 'code', '3': 2, '4': 1, '5': 3, '10': 'code'}, + {'1': 'message', '3': 3, '4': 1, '5': 9, '10': 'message'}, + ], +}; + +/// Descriptor for `PinSessionReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List pinSessionReplyDescriptor = $convert.base64Decode( + 'Cg9QaW5TZXNzaW9uUmVwbHkSJwoPc2VxdWVuY2VfbnVtYmVyGAEgASgDUg5zZXF1ZW5jZU51bW' + 'JlchISCgRjb2RlGAIgASgDUgRjb2RlEhgKB21lc3NhZ2UYAyABKAlSB21lc3NhZ2U='); + +@$core.Deprecated('Use pinSessionReqDescriptor instead') +const PinSessionReq$json = { + '1': 'PinSessionReq', + '2': [ + {'1': 'session_id', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionId', '10': 'sessionId'}, + {'1': 'top_time_micros', '3': 2, '4': 1, '5': 3, '10': 'topTimeMicros'}, + ], +}; + +/// Descriptor for `PinSessionReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List pinSessionReqDescriptor = $convert.base64Decode( + 'Cg1QaW5TZXNzaW9uUmVxEjwKCnNlc3Npb25faWQYASABKAsyHS5iaWxpYmlsaS5hcHAuaW0udj' + 'EuU2Vzc2lvbklkUglzZXNzaW9uSWQSJgoPdG9wX3RpbWVfbWljcm9zGAIgASgDUg10b3BUaW1l' + 'TWljcm9z'); + +@$core.Deprecated('Use privateIdDescriptor instead') +const PrivateId$json = { + '1': 'PrivateId', + '2': [ + {'1': 'talker_uid', '3': 1, '4': 1, '5': 3, '10': 'talkerUid'}, + ], +}; + +/// Descriptor for `PrivateId`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List privateIdDescriptor = $convert.base64Decode( + 'CglQcml2YXRlSWQSHQoKdGFsa2VyX3VpZBgBIAEoA1IJdGFsa2VyVWlk'); + +@$core.Deprecated('Use quickLinkBubbleDescriptor instead') +const QuickLinkBubble$json = { + '1': 'QuickLinkBubble', + '2': [ + {'1': 'mid', '3': 1, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'avatar', '3': 2, '4': 1, '5': 9, '10': 'avatar'}, + {'1': 'nick_name', '3': 3, '4': 1, '5': 9, '10': 'nickName'}, + {'1': 'content', '3': 4, '4': 1, '5': 9, '10': 'content'}, + {'1': 'quick_link_item', '3': 5, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.QuickLinkItemType', '10': 'quickLinkItem'}, + {'1': 'msg_type', '3': 6, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.QuickLinkMsgType', '10': 'msgType'}, + ], +}; + +/// Descriptor for `QuickLinkBubble`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List quickLinkBubbleDescriptor = $convert.base64Decode( + 'Cg9RdWlja0xpbmtCdWJibGUSEAoDbWlkGAEgASgDUgNtaWQSFgoGYXZhdGFyGAIgASgJUgZhdm' + 'F0YXISGwoJbmlja19uYW1lGAMgASgJUghuaWNrTmFtZRIYCgdjb250ZW50GAQgASgJUgdjb250' + 'ZW50Ek0KD3F1aWNrX2xpbmtfaXRlbRgFIAEoDjIlLmJpbGliaWxpLmFwcC5pbS52MS5RdWlja0' + 'xpbmtJdGVtVHlwZVINcXVpY2tMaW5rSXRlbRI/Cghtc2dfdHlwZRgGIAEoDjIkLmJpbGliaWxp' + 'LmFwcC5pbS52MS5RdWlja0xpbmtNc2dUeXBlUgdtc2dUeXBl'); + +@$core.Deprecated('Use quickLinkConfigDescriptor instead') +const QuickLinkConfig$json = { + '1': 'QuickLinkConfig', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.QuickLinkItem', '10': 'items'}, + {'1': 'bubble', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.QuickLinkBubble', '10': 'bubble'}, + {'1': 'is_legacy_style', '3': 3, '4': 1, '5': 8, '10': 'isLegacyStyle'}, + ], +}; + +/// Descriptor for `QuickLinkConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List quickLinkConfigDescriptor = $convert.base64Decode( + 'Cg9RdWlja0xpbmtDb25maWcSNwoFaXRlbXMYASADKAsyIS5iaWxpYmlsaS5hcHAuaW0udjEuUX' + 'VpY2tMaW5rSXRlbVIFaXRlbXMSOwoGYnViYmxlGAIgASgLMiMuYmlsaWJpbGkuYXBwLmltLnYx' + 'LlF1aWNrTGlua0J1YmJsZVIGYnViYmxlEiYKD2lzX2xlZ2FjeV9zdHlsZRgDIAEoCFINaXNMZW' + 'dhY3lTdHlsZQ=='); + +@$core.Deprecated('Use quickLinkItemDescriptor instead') +const QuickLinkItem$json = { + '1': 'QuickLinkItem', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'icon', '3': 2, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'icon_dark', '3': 3, '4': 1, '5': 9, '10': 'iconDark'}, + {'1': 'url', '3': 4, '4': 1, '5': 9, '10': 'url'}, + {'1': 'unread', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Unread', '10': 'unread'}, + {'1': 'item_type', '3': 6, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.QuickLinkItemType', '10': 'itemType'}, + ], +}; + +/// Descriptor for `QuickLinkItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List quickLinkItemDescriptor = $convert.base64Decode( + 'Cg1RdWlja0xpbmtJdGVtEhQKBXRpdGxlGAEgASgJUgV0aXRsZRISCgRpY29uGAIgASgJUgRpY2' + '9uEhsKCWljb25fZGFyaxgDIAEoCVIIaWNvbkRhcmsSEAoDdXJsGAQgASgJUgN1cmwSMgoGdW5y' + 'ZWFkGAUgASgLMhouYmlsaWJpbGkuYXBwLmltLnYxLlVucmVhZFIGdW5yZWFkEkIKCWl0ZW1fdH' + 'lwZRgGIAEoDjIlLmJpbGliaWxpLmFwcC5pbS52MS5RdWlja0xpbmtJdGVtVHlwZVIIaXRlbVR5' + 'cGU='); + +@$core.Deprecated('Use quickLinkUnreadItemDescriptor instead') +const QuickLinkUnreadItem$json = { + '1': 'QuickLinkUnreadItem', + '2': [ + {'1': 'item_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.QuickLinkItemType', '10': 'itemType'}, + {'1': 'unread', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Unread', '10': 'unread'}, + ], +}; + +/// Descriptor for `QuickLinkUnreadItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List quickLinkUnreadItemDescriptor = $convert.base64Decode( + 'ChNRdWlja0xpbmtVbnJlYWRJdGVtEkIKCWl0ZW1fdHlwZRgBIAEoDjIlLmJpbGliaWxpLmFwcC' + '5pbS52MS5RdWlja0xpbmtJdGVtVHlwZVIIaXRlbVR5cGUSMgoGdW5yZWFkGAIgASgLMhouYmls' + 'aWJpbGkuYXBwLmltLnYxLlVucmVhZFIGdW5yZWFk'); + +@$core.Deprecated('Use restrictedModeDescriptor instead') +const RestrictedMode$json = { + '1': 'RestrictedMode', + '2': [ + {'1': 'teenagers', '3': 1, '4': 1, '5': 8, '10': 'teenagers'}, + {'1': 'lessons', '3': 2, '4': 1, '5': 8, '10': 'lessons'}, + ], +}; + +/// Descriptor for `RestrictedMode`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List restrictedModeDescriptor = $convert.base64Decode( + 'Cg5SZXN0cmljdGVkTW9kZRIcCgl0ZWVuYWdlcnMYASABKAhSCXRlZW5hZ2VycxIYCgdsZXNzb2' + '5zGAIgASgIUgdsZXNzb25z'); + +@$core.Deprecated('Use selectItemDescriptor instead') +const SelectItem$json = { + '1': 'SelectItem', + '2': [ + {'1': 'item_type', '3': 1, '4': 1, '5': 5, '10': 'itemType'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + {'1': 'selected', '3': 3, '4': 1, '5': 8, '10': 'selected'}, + ], +}; + +/// Descriptor for `SelectItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List selectItemDescriptor = $convert.base64Decode( + 'CgpTZWxlY3RJdGVtEhsKCWl0ZW1fdHlwZRgBIAEoBVIIaXRlbVR5cGUSEgoEdGV4dBgCIAEoCV' + 'IEdGV4dBIaCghzZWxlY3RlZBgDIAEoCFIIc2VsZWN0ZWQ='); + +@$core.Deprecated('Use sessionDescriptor instead') +const Session$json = { + '1': 'Session', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionId', '10': 'id'}, + {'1': 'session_info', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionInfo', '10': 'sessionInfo'}, + {'1': 'unread', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Unread', '10': 'unread'}, + {'1': 'msg_summary', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.MsgSummary', '10': 'msgSummary'}, + {'1': 'timestamp', '3': 5, '4': 1, '5': 3, '10': 'timestamp'}, + {'1': 'is_pinned', '3': 6, '4': 1, '5': 8, '10': 'isPinned'}, + {'1': 'sequence_number', '3': 7, '4': 1, '5': 3, '10': 'sequenceNumber'}, + {'1': 'is_muted', '3': 8, '4': 1, '5': 8, '10': 'isMuted'}, + {'1': 'chat_url', '3': 9, '4': 1, '5': 9, '10': 'chatUrl'}, + {'1': 'operation', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionOperation', '10': 'operation'}, + {'1': 'trace_params', '3': 11, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.Session.TraceParamsEntry', '10': 'traceParams'}, + ], + '3': [Session_TraceParamsEntry$json], +}; + +@$core.Deprecated('Use sessionDescriptor instead') +const Session_TraceParamsEntry$json = { + '1': 'TraceParamsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, + ], + '7': {'7': true}, +}; + +/// Descriptor for `Session`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionDescriptor = $convert.base64Decode( + 'CgdTZXNzaW9uEi0KAmlkGAEgASgLMh0uYmlsaWJpbGkuYXBwLmltLnYxLlNlc3Npb25JZFICaW' + 'QSQgoMc2Vzc2lvbl9pbmZvGAIgASgLMh8uYmlsaWJpbGkuYXBwLmltLnYxLlNlc3Npb25JbmZv' + 'UgtzZXNzaW9uSW5mbxIyCgZ1bnJlYWQYAyABKAsyGi5iaWxpYmlsaS5hcHAuaW0udjEuVW5yZW' + 'FkUgZ1bnJlYWQSPwoLbXNnX3N1bW1hcnkYBCABKAsyHi5iaWxpYmlsaS5hcHAuaW0udjEuTXNn' + 'U3VtbWFyeVIKbXNnU3VtbWFyeRIcCgl0aW1lc3RhbXAYBSABKANSCXRpbWVzdGFtcBIbCglpc1' + '9waW5uZWQYBiABKAhSCGlzUGlubmVkEicKD3NlcXVlbmNlX251bWJlchgHIAEoA1IOc2VxdWVu' + 'Y2VOdW1iZXISGQoIaXNfbXV0ZWQYCCABKAhSB2lzTXV0ZWQSGQoIY2hhdF91cmwYCSABKAlSB2' + 'NoYXRVcmwSQgoJb3BlcmF0aW9uGAogASgLMiQuYmlsaWJpbGkuYXBwLmltLnYxLlNlc3Npb25P' + 'cGVyYXRpb25SCW9wZXJhdGlvbhJPCgx0cmFjZV9wYXJhbXMYCyADKAsyLC5iaWxpYmlsaS5hcH' + 'AuaW0udjEuU2Vzc2lvbi5UcmFjZVBhcmFtc0VudHJ5Ugt0cmFjZVBhcmFtcxo+ChBUcmFjZVBh' + 'cmFtc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUgV2YWx1ZToCOAE='); + +@$core.Deprecated('Use sessionIdDescriptor instead') +const SessionId$json = { + '1': 'SessionId', + '2': [ + {'1': 'private_id', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.PrivateId', '9': 0, '10': 'privateId'}, + {'1': 'group_id', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.GroupId', '9': 0, '10': 'groupId'}, + {'1': 'fold_id', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.FoldId', '9': 0, '10': 'foldId'}, + {'1': 'system_id', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SystemId', '9': 0, '10': 'systemId'}, + {'1': 'customer_id', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.CustomerId', '9': 0, '10': 'customerId'}, + ], + '8': [ + {'1': 'id'}, + ], +}; + +/// Descriptor for `SessionId`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionIdDescriptor = $convert.base64Decode( + 'CglTZXNzaW9uSWQSPgoKcHJpdmF0ZV9pZBgBIAEoCzIdLmJpbGliaWxpLmFwcC5pbS52MS5Qcm' + 'l2YXRlSWRIAFIJcHJpdmF0ZUlkEjgKCGdyb3VwX2lkGAIgASgLMhsuYmlsaWJpbGkuYXBwLmlt' + 'LnYxLkdyb3VwSWRIAFIHZ3JvdXBJZBI1Cgdmb2xkX2lkGAMgASgLMhouYmlsaWJpbGkuYXBwLm' + 'ltLnYxLkZvbGRJZEgAUgZmb2xkSWQSOwoJc3lzdGVtX2lkGAQgASgLMhwuYmlsaWJpbGkuYXBw' + 'LmltLnYxLlN5c3RlbUlkSABSCHN5c3RlbUlkEkEKC2N1c3RvbWVyX2lkGAUgASgLMh4uYmlsaW' + 'JpbGkuYXBwLmltLnYxLkN1c3RvbWVySWRIAFIKY3VzdG9tZXJJZEIECgJpZA=='); + +@$core.Deprecated('Use sessionInfoDescriptor instead') +const SessionInfo$json = { + '1': 'SessionInfo', + '2': [ + {'1': 'session_name', '3': 1, '4': 1, '5': 9, '10': 'sessionName'}, + {'1': 'name_render', '3': 2, '4': 1, '5': 11, '6': '.bilibili.account.service.v1.NameRender', '10': 'nameRender'}, + {'1': 'avatar', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.AvatarItem', '10': 'avatar'}, + {'1': 'vip_info', '3': 4, '4': 1, '5': 9, '10': 'vipInfo'}, + {'1': 'user_label', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.UserLabel', '10': 'userLabel'}, + {'1': 'is_live', '3': 6, '4': 1, '5': 8, '10': 'isLive'}, + ], +}; + +/// Descriptor for `SessionInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionInfoDescriptor = $convert.base64Decode( + 'CgtTZXNzaW9uSW5mbxIhCgxzZXNzaW9uX25hbWUYASABKAlSC3Nlc3Npb25OYW1lEkgKC25hbW' + 'VfcmVuZGVyGAIgASgLMicuYmlsaWJpbGkuYWNjb3VudC5zZXJ2aWNlLnYxLk5hbWVSZW5kZXJS' + 'Cm5hbWVSZW5kZXISRQoGYXZhdGFyGAMgASgLMi0uYmlsaWJpbGkuZGFndy5jb21wb25lbnQuYX' + 'ZhdGFyLnYxLkF2YXRhckl0ZW1SBmF2YXRhchIZCgh2aXBfaW5mbxgEIAEoCVIHdmlwSW5mbxI8' + 'Cgp1c2VyX2xhYmVsGAUgASgLMh0uYmlsaWJpbGkuYXBwLmltLnYxLlVzZXJMYWJlbFIJdXNlck' + 'xhYmVsEhcKB2lzX2xpdmUYBiABKAhSBmlzTGl2ZQ=='); + +@$core.Deprecated('Use sessionListExtraInfoDescriptor instead') +const SessionListExtraInfo$json = { + '1': 'SessionListExtraInfo', + '2': [ + {'1': 'auto_reply_toast', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.AutoReplyToast', '10': 'autoReplyToast'}, + {'1': 'show_anti_harassment_popup', '3': 2, '4': 1, '5': 8, '10': 'showAntiHarassmentPopup'}, + {'1': 'customer_hint_title', '3': 3, '4': 1, '5': 9, '10': 'customerHintTitle'}, + {'1': 'behavior_alert_toast', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.BehaviorAlertToast', '10': 'behaviorAlertToast'}, + ], +}; + +/// Descriptor for `SessionListExtraInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionListExtraInfoDescriptor = $convert.base64Decode( + 'ChRTZXNzaW9uTGlzdEV4dHJhSW5mbxJMChBhdXRvX3JlcGx5X3RvYXN0GAEgASgLMiIuYmlsaW' + 'JpbGkuYXBwLmltLnYxLkF1dG9SZXBseVRvYXN0Ug5hdXRvUmVwbHlUb2FzdBI7ChpzaG93X2Fu' + 'dGlfaGFyYXNzbWVudF9wb3B1cBgCIAEoCFIXc2hvd0FudGlIYXJhc3NtZW50UG9wdXASLgoTY3' + 'VzdG9tZXJfaGludF90aXRsZRgDIAEoCVIRY3VzdG9tZXJIaW50VGl0bGUSWAoUYmVoYXZpb3Jf' + 'YWxlcnRfdG9hc3QYBCABKAsyJi5iaWxpYmlsaS5hcHAuaW0udjEuQmVoYXZpb3JBbGVydFRvYX' + 'N0UhJiZWhhdmlvckFsZXJ0VG9hc3Q='); + +@$core.Deprecated('Use sessionListUpdateReplyDescriptor instead') +const SessionListUpdateReply$json = { + '1': 'SessionListUpdateReply', + '2': [ + {'1': 'sessions', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.Session', '10': 'sessions'}, + {'1': 'update_session_params', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.UpdateSessionParams', '10': 'updateSessionParams'}, + ], +}; + +/// Descriptor for `SessionListUpdateReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionListUpdateReplyDescriptor = $convert.base64Decode( + 'ChZTZXNzaW9uTGlzdFVwZGF0ZVJlcGx5EjcKCHNlc3Npb25zGAEgAygLMhsuYmlsaWJpbGkuYX' + 'BwLmltLnYxLlNlc3Npb25SCHNlc3Npb25zElsKFXVwZGF0ZV9zZXNzaW9uX3BhcmFtcxgCIAEo' + 'CzInLmJpbGliaWxpLmFwcC5pbS52MS5VcGRhdGVTZXNzaW9uUGFyYW1zUhN1cGRhdGVTZXNzaW' + '9uUGFyYW1z'); + +@$core.Deprecated('Use sessionListUpdateReqDescriptor instead') +const SessionListUpdateReq$json = { + '1': 'SessionListUpdateReq', + '2': [ + {'1': 'restricted_mode', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.RestrictedMode', '10': 'restrictedMode'}, + {'1': 'update_params', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.UpdateSessionParams', '10': 'updateParams'}, + {'1': 'page_type', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionPageType', '10': 'pageType'}, + {'1': 'filter_type', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionFilterType', '10': 'filterType'}, + ], +}; + +/// Descriptor for `SessionListUpdateReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionListUpdateReqDescriptor = $convert.base64Decode( + 'ChRTZXNzaW9uTGlzdFVwZGF0ZVJlcRJLCg9yZXN0cmljdGVkX21vZGUYASABKAsyIi5iaWxpYm' + 'lsaS5hcHAuaW0udjEuUmVzdHJpY3RlZE1vZGVSDnJlc3RyaWN0ZWRNb2RlEkwKDXVwZGF0ZV9w' + 'YXJhbXMYAiABKAsyJy5iaWxpYmlsaS5hcHAuaW0udjEuVXBkYXRlU2Vzc2lvblBhcmFtc1IMdX' + 'BkYXRlUGFyYW1zEkAKCXBhZ2VfdHlwZRgDIAEoDjIjLmJpbGliaWxpLmFwcC5pbS52MS5TZXNz' + 'aW9uUGFnZVR5cGVSCHBhZ2VUeXBlEkYKC2ZpbHRlcl90eXBlGAQgASgOMiUuYmlsaWJpbGkuYX' + 'BwLmltLnYxLlNlc3Npb25GaWx0ZXJUeXBlUgpmaWx0ZXJUeXBl'); + +@$core.Deprecated('Use sessionMainReplyDescriptor instead') +const SessionMainReply$json = { + '1': 'SessionMainReply', + '2': [ + {'1': 'pagination_params', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.PaginationParams', '10': 'paginationParams'}, + {'1': 'update_session_params', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.UpdateSessionParams', '10': 'updateSessionParams'}, + {'1': 'quick_link_config', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.QuickLinkConfig', '10': 'quickLinkConfig'}, + {'1': 'filter_config', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.FilterConfig', '10': 'filterConfig'}, + {'1': 'sessions', '3': 5, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.Session', '10': 'sessions'}, + {'1': 'three_dot_items', '3': 6, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.ThreeDotItem', '10': 'threeDotItems'}, + {'1': 'outside_item', '3': 7, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.ThreeDotItem', '10': 'outsideItem'}, + {'1': 'extra_info', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionListExtraInfo', '10': 'extraInfo'}, + ], +}; + +/// Descriptor for `SessionMainReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionMainReplyDescriptor = $convert.base64Decode( + 'ChBTZXNzaW9uTWFpblJlcGx5ElEKEXBhZ2luYXRpb25fcGFyYW1zGAEgASgLMiQuYmlsaWJpbG' + 'kuYXBwLmltLnYxLlBhZ2luYXRpb25QYXJhbXNSEHBhZ2luYXRpb25QYXJhbXMSWwoVdXBkYXRl' + 'X3Nlc3Npb25fcGFyYW1zGAIgASgLMicuYmlsaWJpbGkuYXBwLmltLnYxLlVwZGF0ZVNlc3Npb2' + '5QYXJhbXNSE3VwZGF0ZVNlc3Npb25QYXJhbXMSTwoRcXVpY2tfbGlua19jb25maWcYAyABKAsy' + 'Iy5iaWxpYmlsaS5hcHAuaW0udjEuUXVpY2tMaW5rQ29uZmlnUg9xdWlja0xpbmtDb25maWcSRQ' + 'oNZmlsdGVyX2NvbmZpZxgEIAEoCzIgLmJpbGliaWxpLmFwcC5pbS52MS5GaWx0ZXJDb25maWdS' + 'DGZpbHRlckNvbmZpZxI3CghzZXNzaW9ucxgFIAMoCzIbLmJpbGliaWxpLmFwcC5pbS52MS5TZX' + 'NzaW9uUghzZXNzaW9ucxJICg90aHJlZV9kb3RfaXRlbXMYBiADKAsyIC5iaWxpYmlsaS5hcHAu' + 'aW0udjEuVGhyZWVEb3RJdGVtUg10aHJlZURvdEl0ZW1zEkMKDG91dHNpZGVfaXRlbRgHIAMoCz' + 'IgLmJpbGliaWxpLmFwcC5pbS52MS5UaHJlZURvdEl0ZW1SC291dHNpZGVJdGVtEkcKCmV4dHJh' + 'X2luZm8YCCABKAsyKC5iaWxpYmlsaS5hcHAuaW0udjEuU2Vzc2lvbkxpc3RFeHRyYUluZm9SCW' + 'V4dHJhSW5mbw=='); + +@$core.Deprecated('Use sessionMainReqDescriptor instead') +const SessionMainReq$json = { + '1': 'SessionMainReq', + '2': [ + {'1': 'restricted_mode', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.RestrictedMode', '10': 'restrictedMode'}, + {'1': 'pagination_params', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.PaginationParams', '10': 'paginationParams'}, + {'1': 'filter_type', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionFilterType', '10': 'filterType'}, + ], +}; + +/// Descriptor for `SessionMainReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionMainReqDescriptor = $convert.base64Decode( + 'Cg5TZXNzaW9uTWFpblJlcRJLCg9yZXN0cmljdGVkX21vZGUYASABKAsyIi5iaWxpYmlsaS5hcH' + 'AuaW0udjEuUmVzdHJpY3RlZE1vZGVSDnJlc3RyaWN0ZWRNb2RlElEKEXBhZ2luYXRpb25fcGFy' + 'YW1zGAIgASgLMiQuYmlsaWJpbGkuYXBwLmltLnYxLlBhZ2luYXRpb25QYXJhbXNSEHBhZ2luYX' + 'Rpb25QYXJhbXMSRgoLZmlsdGVyX3R5cGUYAyABKA4yJS5iaWxpYmlsaS5hcHAuaW0udjEuU2Vz' + 'c2lvbkZpbHRlclR5cGVSCmZpbHRlclR5cGU='); + +@$core.Deprecated('Use sessionOperationDescriptor instead') +const SessionOperation$json = { + '1': 'SessionOperation', + '2': [ + {'1': 'pin', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.OperationContent', '10': 'pin'}, + {'1': 'unpin', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.OperationContent', '10': 'unpin'}, + {'1': 'delete', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.OperationContent', '10': 'delete'}, + {'1': 'clear_unread', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.OperationContent', '10': 'clearUnread'}, + {'1': 'unblock', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.OperationContent', '10': 'unblock'}, + ], +}; + +/// Descriptor for `SessionOperation`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionOperationDescriptor = $convert.base64Decode( + 'ChBTZXNzaW9uT3BlcmF0aW9uEjYKA3BpbhgBIAEoCzIkLmJpbGliaWxpLmFwcC5pbS52MS5PcG' + 'VyYXRpb25Db250ZW50UgNwaW4SOgoFdW5waW4YAiABKAsyJC5iaWxpYmlsaS5hcHAuaW0udjEu' + 'T3BlcmF0aW9uQ29udGVudFIFdW5waW4SPAoGZGVsZXRlGAMgASgLMiQuYmlsaWJpbGkuYXBwLm' + 'ltLnYxLk9wZXJhdGlvbkNvbnRlbnRSBmRlbGV0ZRJHCgxjbGVhcl91bnJlYWQYBCABKAsyJC5i' + 'aWxpYmlsaS5hcHAuaW0udjEuT3BlcmF0aW9uQ29udGVudFILY2xlYXJVbnJlYWQSPgoHdW5ibG' + '9jaxgFIAEoCzIkLmJpbGliaWxpLmFwcC5pbS52MS5PcGVyYXRpb25Db250ZW50Ugd1bmJsb2Nr'); + +@$core.Deprecated('Use sessionSecondaryReplyDescriptor instead') +const SessionSecondaryReply$json = { + '1': 'SessionSecondaryReply', + '2': [ + {'1': 'pagination_params', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.PaginationParams', '10': 'paginationParams'}, + {'1': 'update_session_params', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.UpdateSessionParams', '10': 'updateSessionParams'}, + {'1': 'sessions', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.Session', '10': 'sessions'}, + {'1': 'three_dot_items', '3': 4, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.ThreeDotItem', '10': 'threeDotItems'}, + {'1': 'outside_item', '3': 5, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.ThreeDotItem', '10': 'outsideItem'}, + ], +}; + +/// Descriptor for `SessionSecondaryReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionSecondaryReplyDescriptor = $convert.base64Decode( + 'ChVTZXNzaW9uU2Vjb25kYXJ5UmVwbHkSUQoRcGFnaW5hdGlvbl9wYXJhbXMYASABKAsyJC5iaW' + 'xpYmlsaS5hcHAuaW0udjEuUGFnaW5hdGlvblBhcmFtc1IQcGFnaW5hdGlvblBhcmFtcxJbChV1' + 'cGRhdGVfc2Vzc2lvbl9wYXJhbXMYAiABKAsyJy5iaWxpYmlsaS5hcHAuaW0udjEuVXBkYXRlU2' + 'Vzc2lvblBhcmFtc1ITdXBkYXRlU2Vzc2lvblBhcmFtcxI3CghzZXNzaW9ucxgDIAMoCzIbLmJp' + 'bGliaWxpLmFwcC5pbS52MS5TZXNzaW9uUghzZXNzaW9ucxJICg90aHJlZV9kb3RfaXRlbXMYBC' + 'ADKAsyIC5iaWxpYmlsaS5hcHAuaW0udjEuVGhyZWVEb3RJdGVtUg10aHJlZURvdEl0ZW1zEkMK' + 'DG91dHNpZGVfaXRlbRgFIAMoCzIgLmJpbGliaWxpLmFwcC5pbS52MS5UaHJlZURvdEl0ZW1SC2' + '91dHNpZGVJdGVt'); + +@$core.Deprecated('Use sessionSecondaryReqDescriptor instead') +const SessionSecondaryReq$json = { + '1': 'SessionSecondaryReq', + '2': [ + {'1': 'restricted_mode', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.RestrictedMode', '10': 'restrictedMode'}, + {'1': 'pagination_params', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.PaginationParams', '10': 'paginationParams'}, + {'1': 'page_type', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionPageType', '10': 'pageType'}, + ], +}; + +/// Descriptor for `SessionSecondaryReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionSecondaryReqDescriptor = $convert.base64Decode( + 'ChNTZXNzaW9uU2Vjb25kYXJ5UmVxEksKD3Jlc3RyaWN0ZWRfbW9kZRgBIAEoCzIiLmJpbGliaW' + 'xpLmFwcC5pbS52MS5SZXN0cmljdGVkTW9kZVIOcmVzdHJpY3RlZE1vZGUSUQoRcGFnaW5hdGlv' + 'bl9wYXJhbXMYAiABKAsyJC5iaWxpYmlsaS5hcHAuaW0udjEuUGFnaW5hdGlvblBhcmFtc1IQcG' + 'FnaW5hdGlvblBhcmFtcxJACglwYWdlX3R5cGUYAyABKA4yIy5iaWxpYmlsaS5hcHAuaW0udjEu' + 'U2Vzc2lvblBhZ2VUeXBlUghwYWdlVHlwZQ=='); + +@$core.Deprecated('Use sessionUpdateReplyDescriptor instead') +const SessionUpdateReply$json = { + '1': 'SessionUpdateReply', + '2': [ + {'1': 'session', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Session', '10': 'session'}, + ], +}; + +/// Descriptor for `SessionUpdateReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionUpdateReplyDescriptor = $convert.base64Decode( + 'ChJTZXNzaW9uVXBkYXRlUmVwbHkSNQoHc2Vzc2lvbhgBIAEoCzIbLmJpbGliaWxpLmFwcC5pbS' + '52MS5TZXNzaW9uUgdzZXNzaW9u'); + +@$core.Deprecated('Use sessionUpdateReqDescriptor instead') +const SessionUpdateReq$json = { + '1': 'SessionUpdateReq', + '2': [ + {'1': 'session_id', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionId', '10': 'sessionId'}, + {'1': 'page_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionPageType', '10': 'pageType'}, + ], +}; + +/// Descriptor for `SessionUpdateReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionUpdateReqDescriptor = $convert.base64Decode( + 'ChBTZXNzaW9uVXBkYXRlUmVxEjwKCnNlc3Npb25faWQYASABKAsyHS5iaWxpYmlsaS5hcHAuaW' + '0udjEuU2Vzc2lvbklkUglzZXNzaW9uSWQSQAoJcGFnZV90eXBlGAIgASgOMiMuYmlsaWJpbGku' + 'YXBwLmltLnYxLlNlc3Npb25QYWdlVHlwZVIIcGFnZVR5cGU='); + +@$core.Deprecated('Use sessionsFilterDescriptor instead') +const SessionsFilter$json = { + '1': 'SessionsFilter', + '2': [ + {'1': 'stype', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionFilterType', '10': 'stype'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + ], +}; + +/// Descriptor for `SessionsFilter`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sessionsFilterDescriptor = $convert.base64Decode( + 'Cg5TZXNzaW9uc0ZpbHRlchI7CgVzdHlwZRgBIAEoDjIlLmJpbGliaWxpLmFwcC5pbS52MS5TZX' + 'NzaW9uRmlsdGVyVHlwZVIFc3R5cGUSFAoFdGl0bGUYAiABKAlSBXRpdGxl'); + +@$core.Deprecated('Use setImSettingsReplyDescriptor instead') +const SetImSettingsReply$json = { + '1': 'SetImSettingsReply', + '2': [ + {'1': 'toast', '3': 1, '4': 1, '5': 9, '10': 'toast'}, + ], +}; + +/// Descriptor for `SetImSettingsReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List setImSettingsReplyDescriptor = $convert.base64Decode( + 'ChJTZXRJbVNldHRpbmdzUmVwbHkSFAoFdG9hc3QYASABKAlSBXRvYXN0'); + +@$core.Deprecated('Use setImSettingsReqDescriptor instead') +const SetImSettingsReq$json = { + '1': 'SetImSettingsReq', + '2': [ + {'1': 'settings', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.SetImSettingsReq.SettingsEntry', '10': 'settings'}, + ], + '3': [SetImSettingsReq_SettingsEntry$json], +}; + +@$core.Deprecated('Use setImSettingsReqDescriptor instead') +const SetImSettingsReq_SettingsEntry$json = { + '1': 'SettingsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Setting', '10': 'value'}, + ], + '7': {'7': true}, +}; + +/// Descriptor for `SetImSettingsReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List setImSettingsReqDescriptor = $convert.base64Decode( + 'ChBTZXRJbVNldHRpbmdzUmVxEk4KCHNldHRpbmdzGAEgAygLMjIuYmlsaWJpbGkuYXBwLmltLn' + 'YxLlNldEltU2V0dGluZ3NSZXEuU2V0dGluZ3NFbnRyeVIIc2V0dGluZ3MaWAoNU2V0dGluZ3NF' + 'bnRyeRIQCgNrZXkYASABKAVSA2tleRIxCgV2YWx1ZRgCIAEoCzIbLmJpbGliaWxpLmFwcC5pbS' + '52MS5TZXR0aW5nUgV2YWx1ZToCOAE='); + +@$core.Deprecated('Use settingDescriptor instead') +const Setting$json = { + '1': 'Setting', + '2': [ + {'1': 'switch', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SettingSwitch', '9': 0, '10': 'switch'}, + {'1': 'select', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SettingSelect', '9': 0, '10': 'select'}, + {'1': 'redirect', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SettingRedirect', '9': 0, '10': 'redirect'}, + {'1': 'text', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SettingText', '9': 0, '10': 'text'}, + ], + '8': [ + {'1': 'content'}, + ], +}; + +/// Descriptor for `Setting`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List settingDescriptor = $convert.base64Decode( + 'CgdTZXR0aW5nEjsKBnN3aXRjaBgBIAEoCzIhLmJpbGliaWxpLmFwcC5pbS52MS5TZXR0aW5nU3' + 'dpdGNoSABSBnN3aXRjaBI7CgZzZWxlY3QYAiABKAsyIS5iaWxpYmlsaS5hcHAuaW0udjEuU2V0' + 'dGluZ1NlbGVjdEgAUgZzZWxlY3QSQQoIcmVkaXJlY3QYAyABKAsyIy5iaWxpYmlsaS5hcHAuaW' + '0udjEuU2V0dGluZ1JlZGlyZWN0SABSCHJlZGlyZWN0EjUKBHRleHQYBCABKAsyHy5iaWxpYmls' + 'aS5hcHAuaW0udjEuU2V0dGluZ1RleHRIAFIEdGV4dEIJCgdjb250ZW50'); + +@$core.Deprecated('Use settingRedirectDescriptor instead') +const SettingRedirect$json = { + '1': 'SettingRedirect', + '2': [ + {'1': 'setting_page', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.redirect2SettingPage', '9': 0, '10': 'settingPage'}, + {'1': 'other_page', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.redirect2OtherPage', '9': 0, '10': 'otherPage'}, + {'1': 'popup', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.redirect2Popup', '9': 0, '10': 'popup'}, + {'1': 'window_select', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.redirectWindowSelect', '9': 0, '10': 'windowSelect'}, + {'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'}, + {'1': 'subtitle', '3': 4, '4': 1, '5': 9, '10': 'subtitle'}, + {'1': 'selected_summary', '3': 5, '4': 1, '5': 9, '10': 'selectedSummary'}, + ], + '8': [ + {'1': 'content'}, + ], +}; + +/// Descriptor for `SettingRedirect`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List settingRedirectDescriptor = $convert.base64Decode( + 'Cg9TZXR0aW5nUmVkaXJlY3QSTQoMc2V0dGluZ19wYWdlGAEgASgLMiguYmlsaWJpbGkuYXBwLm' + 'ltLnYxLnJlZGlyZWN0MlNldHRpbmdQYWdlSABSC3NldHRpbmdQYWdlEkcKCm90aGVyX3BhZ2UY' + 'AiABKAsyJi5iaWxpYmlsaS5hcHAuaW0udjEucmVkaXJlY3QyT3RoZXJQYWdlSABSCW90aGVyUG' + 'FnZRI6CgVwb3B1cBgGIAEoCzIiLmJpbGliaWxpLmFwcC5pbS52MS5yZWRpcmVjdDJQb3B1cEgA' + 'UgVwb3B1cBJPCg13aW5kb3dfc2VsZWN0GAcgASgLMiguYmlsaWJpbGkuYXBwLmltLnYxLnJlZG' + 'lyZWN0V2luZG93U2VsZWN0SABSDHdpbmRvd1NlbGVjdBIUCgV0aXRsZRgDIAEoCVIFdGl0bGUS' + 'GgoIc3VidGl0bGUYBCABKAlSCHN1YnRpdGxlEikKEHNlbGVjdGVkX3N1bW1hcnkYBSABKAlSD3' + 'NlbGVjdGVkU3VtbWFyeUIJCgdjb250ZW50'); + +@$core.Deprecated('Use settingSelectDescriptor instead') +const SettingSelect$json = { + '1': 'SettingSelect', + '2': [ + {'1': 'item', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.SelectItem', '10': 'item'}, + ], +}; + +/// Descriptor for `SettingSelect`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List settingSelectDescriptor = $convert.base64Decode( + 'Cg1TZXR0aW5nU2VsZWN0EjIKBGl0ZW0YASADKAsyHi5iaWxpYmlsaS5hcHAuaW0udjEuU2VsZW' + 'N0SXRlbVIEaXRlbQ=='); + +@$core.Deprecated('Use settingSwitchDescriptor instead') +const SettingSwitch$json = { + '1': 'SettingSwitch', + '2': [ + {'1': 'switch_on', '3': 1, '4': 1, '5': 8, '10': 'switchOn'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'subtitle', '3': 3, '4': 1, '5': 9, '10': 'subtitle'}, + ], +}; + +/// Descriptor for `SettingSwitch`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List settingSwitchDescriptor = $convert.base64Decode( + 'Cg1TZXR0aW5nU3dpdGNoEhsKCXN3aXRjaF9vbhgBIAEoCFIIc3dpdGNoT24SFAoFdGl0bGUYAi' + 'ABKAlSBXRpdGxlEhoKCHN1YnRpdGxlGAMgASgJUghzdWJ0aXRsZQ=='); + +@$core.Deprecated('Use settingTextDescriptor instead') +const SettingText$json = { + '1': 'SettingText', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + ], +}; + +/// Descriptor for `SettingText`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List settingTextDescriptor = $convert.base64Decode( + 'CgtTZXR0aW5nVGV4dBISCgR0ZXh0GAEgASgJUgR0ZXh0'); + +@$core.Deprecated('Use systemIdDescriptor instead') +const SystemId$json = { + '1': 'SystemId', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.SessionType', '10': 'type'}, + ], +}; + +/// Descriptor for `SystemId`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List systemIdDescriptor = $convert.base64Decode( + 'CghTeXN0ZW1JZBIzCgR0eXBlGAEgASgOMh8uYmlsaWJpbGkuYXBwLmltLnYxLlNlc3Npb25UeX' + 'BlUgR0eXBl'); + +@$core.Deprecated('Use threeDotItemDescriptor instead') +const ThreeDotItem$json = { + '1': 'ThreeDotItem', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'icon', '3': 2, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'url', '3': 3, '4': 1, '5': 9, '10': 'url'}, + {'1': 'type', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.ThreeDotItemType', '10': 'type'}, + {'1': 'has_red_dot', '3': 5, '4': 1, '5': 8, '10': 'hasRedDot'}, + ], +}; + +/// Descriptor for `ThreeDotItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threeDotItemDescriptor = $convert.base64Decode( + 'CgxUaHJlZURvdEl0ZW0SFAoFdGl0bGUYASABKAlSBXRpdGxlEhIKBGljb24YAiABKAlSBGljb2' + '4SEAoDdXJsGAMgASgJUgN1cmwSOAoEdHlwZRgEIAEoDjIkLmJpbGliaWxpLmFwcC5pbS52MS5U' + 'aHJlZURvdEl0ZW1UeXBlUgR0eXBlEh4KC2hhc19yZWRfZG90GAUgASgIUgloYXNSZWREb3Q='); + +@$core.Deprecated('Use unPinSessionReplyDescriptor instead') +const UnPinSessionReply$json = { + '1': 'UnPinSessionReply', + '2': [ + {'1': 'sequence_number', '3': 1, '4': 1, '5': 3, '10': 'sequenceNumber'}, + ], +}; + +/// Descriptor for `UnPinSessionReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List unPinSessionReplyDescriptor = $convert.base64Decode( + 'ChFVblBpblNlc3Npb25SZXBseRInCg9zZXF1ZW5jZV9udW1iZXIYASABKANSDnNlcXVlbmNlTn' + 'VtYmVy'); + +@$core.Deprecated('Use unPinSessionReqDescriptor instead') +const UnPinSessionReq$json = { + '1': 'UnPinSessionReq', + '2': [ + {'1': 'session_id', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.SessionId', '10': 'sessionId'}, + ], +}; + +/// Descriptor for `UnPinSessionReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List unPinSessionReqDescriptor = $convert.base64Decode( + 'Cg9VblBpblNlc3Npb25SZXESPAoKc2Vzc2lvbl9pZBgBIAEoCzIdLmJpbGliaWxpLmFwcC5pbS' + '52MS5TZXNzaW9uSWRSCXNlc3Npb25JZA=='); + +@$core.Deprecated('Use unreadDescriptor instead') +const Unread$json = { + '1': 'Unread', + '2': [ + {'1': 'style', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.UnreadStyle', '10': 'style'}, + {'1': 'number', '3': 2, '4': 1, '5': 3, '10': 'number'}, + {'1': 'number_show', '3': 3, '4': 1, '5': 9, '10': 'numberShow'}, + ], +}; + +/// Descriptor for `Unread`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List unreadDescriptor = $convert.base64Decode( + 'CgZVbnJlYWQSNQoFc3R5bGUYASABKA4yHy5iaWxpYmlsaS5hcHAuaW0udjEuVW5yZWFkU3R5bG' + 'VSBXN0eWxlEhYKBm51bWJlchgCIAEoA1IGbnVtYmVyEh8KC251bWJlcl9zaG93GAMgASgJUgpu' + 'dW1iZXJTaG93'); + +@$core.Deprecated('Use updateSessionParamsDescriptor instead') +const UpdateSessionParams$json = { + '1': 'UpdateSessionParams', + '2': [ + {'1': 'max_session_ts', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.UpdateSessionParams.MaxSessionTsEntry', '10': 'maxSessionTs'}, + ], + '3': [UpdateSessionParams_MaxSessionTsEntry$json], +}; + +@$core.Deprecated('Use updateSessionParamsDescriptor instead') +const UpdateSessionParams_MaxSessionTsEntry$json = { + '1': 'MaxSessionTsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Offset', '10': 'value'}, + ], + '7': {'7': true}, +}; + +/// Descriptor for `UpdateSessionParams`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateSessionParamsDescriptor = $convert.base64Decode( + 'ChNVcGRhdGVTZXNzaW9uUGFyYW1zEl8KDm1heF9zZXNzaW9uX3RzGAEgAygLMjkuYmlsaWJpbG' + 'kuYXBwLmltLnYxLlVwZGF0ZVNlc3Npb25QYXJhbXMuTWF4U2Vzc2lvblRzRW50cnlSDG1heFNl' + 'c3Npb25UcxpbChFNYXhTZXNzaW9uVHNFbnRyeRIQCgNrZXkYASABKAVSA2tleRIwCgV2YWx1ZR' + 'gCIAEoCzIaLmJpbGliaWxpLmFwcC5pbS52MS5PZmZzZXRSBXZhbHVlOgI4AQ=='); + +@$core.Deprecated('Use userLabelDescriptor instead') +const UserLabel$json = { + '1': 'UserLabel', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.LabelType', '10': 'type'}, + {'1': 'style', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.UserLabelStyle', '10': 'style'}, + ], +}; + +/// Descriptor for `UserLabel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List userLabelDescriptor = $convert.base64Decode( + 'CglVc2VyTGFiZWwSMQoEdHlwZRgBIAEoDjIdLmJpbGliaWxpLmFwcC5pbS52MS5MYWJlbFR5cG' + 'VSBHR5cGUSOAoFc3R5bGUYAiABKAsyIi5iaWxpYmlsaS5hcHAuaW0udjEuVXNlckxhYmVsU3R5' + 'bGVSBXN0eWxl'); + +@$core.Deprecated('Use userLabelStyleDescriptor instead') +const UserLabelStyle$json = { + '1': 'UserLabelStyle', + '2': [ + {'1': 'bordered_label', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.BorderedLabel', '9': 0, '10': 'borderedLabel'}, + {'1': 'filled_label', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.FilledLabel', '9': 0, '10': 'filledLabel'}, + {'1': 'image_label', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.ImageLabel', '9': 0, '10': 'imageLabel'}, + {'1': 'medal_label', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Medal', '9': 0, '10': 'medalLabel'}, + ], + '8': [ + {'1': 'style'}, + ], +}; + +/// Descriptor for `UserLabelStyle`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List userLabelStyleDescriptor = $convert.base64Decode( + 'Cg5Vc2VyTGFiZWxTdHlsZRJKCg5ib3JkZXJlZF9sYWJlbBgCIAEoCzIhLmJpbGliaWxpLmFwcC' + '5pbS52MS5Cb3JkZXJlZExhYmVsSABSDWJvcmRlcmVkTGFiZWwSRAoMZmlsbGVkX2xhYmVsGAMg' + 'ASgLMh8uYmlsaWJpbGkuYXBwLmltLnYxLkZpbGxlZExhYmVsSABSC2ZpbGxlZExhYmVsEkEKC2' + 'ltYWdlX2xhYmVsGAQgASgLMh4uYmlsaWJpbGkuYXBwLmltLnYxLkltYWdlTGFiZWxIAFIKaW1h' + 'Z2VMYWJlbBI8CgttZWRhbF9sYWJlbBgFIAEoCzIZLmJpbGliaWxpLmFwcC5pbS52MS5NZWRhbE' + 'gAUgptZWRhbExhYmVsQgcKBXN0eWxl'); + +@$core.Deprecated('Use redirect2OtherPageDescriptor instead') +const redirect2OtherPage$json = { + '1': 'redirect2OtherPage', + '2': [ + {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `redirect2OtherPage`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List redirect2OtherPageDescriptor = $convert.base64Decode( + 'ChJyZWRpcmVjdDJPdGhlclBhZ2USEAoDdXJsGAEgASgJUgN1cmw='); + +@$core.Deprecated('Use redirect2PopupDescriptor instead') +const redirect2Popup$json = { + '1': 'redirect2Popup', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'subtitle', '3': 2, '4': 1, '5': 9, '10': 'subtitle'}, + {'1': 'url', '3': 3, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `redirect2Popup`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List redirect2PopupDescriptor = $convert.base64Decode( + 'Cg5yZWRpcmVjdDJQb3B1cBIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSGgoIc3VidGl0bGUYAiABKA' + 'lSCHN1YnRpdGxlEhAKA3VybBgDIAEoCVIDdXJs'); + +@$core.Deprecated('Use redirect2SettingPageDescriptor instead') +const redirect2SettingPage$json = { + '1': 'redirect2SettingPage', + '2': [ + {'1': 'sub_settings', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.redirect2SettingPage.SubSettingsEntry', '10': 'subSettings'}, + {'1': 'page_title', '3': 2, '4': 1, '5': 9, '10': 'pageTitle'}, + {'1': 'url', '3': 3, '4': 1, '5': 9, '10': 'url'}, + {'1': 'parent_setting_type', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.im.v1.IMSettingType', '10': 'parentSettingType'}, + ], + '3': [redirect2SettingPage_SubSettingsEntry$json], +}; + +@$core.Deprecated('Use redirect2SettingPageDescriptor instead') +const redirect2SettingPage_SubSettingsEntry$json = { + '1': 'SubSettingsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.im.v1.Setting', '10': 'value'}, + ], + '7': {'7': true}, +}; + +/// Descriptor for `redirect2SettingPage`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List redirect2SettingPageDescriptor = $convert.base64Decode( + 'ChRyZWRpcmVjdDJTZXR0aW5nUGFnZRJcCgxzdWJfc2V0dGluZ3MYASADKAsyOS5iaWxpYmlsaS' + '5hcHAuaW0udjEucmVkaXJlY3QyU2V0dGluZ1BhZ2UuU3ViU2V0dGluZ3NFbnRyeVILc3ViU2V0' + 'dGluZ3MSHQoKcGFnZV90aXRsZRgCIAEoCVIJcGFnZVRpdGxlEhAKA3VybBgDIAEoCVIDdXJsEl' + 'EKE3BhcmVudF9zZXR0aW5nX3R5cGUYBCABKA4yIS5iaWxpYmlsaS5hcHAuaW0udjEuSU1TZXR0' + 'aW5nVHlwZVIRcGFyZW50U2V0dGluZ1R5cGUaWwoQU3ViU2V0dGluZ3NFbnRyeRIQCgNrZXkYAS' + 'ABKAVSA2tleRIxCgV2YWx1ZRgCIAEoCzIbLmJpbGliaWxpLmFwcC5pbS52MS5TZXR0aW5nUgV2' + 'YWx1ZToCOAE='); + +@$core.Deprecated('Use redirectWindowSelectDescriptor instead') +const redirectWindowSelect$json = { + '1': 'redirectWindowSelect', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'item', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.im.v1.SelectItem', '10': 'item'}, + ], +}; + +/// Descriptor for `redirectWindowSelect`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List redirectWindowSelectDescriptor = $convert.base64Decode( + 'ChRyZWRpcmVjdFdpbmRvd1NlbGVjdBIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSMgoEaXRlbRgCIA' + 'MoCzIeLmJpbGliaWxpLmFwcC5pbS52MS5TZWxlY3RJdGVtUgRpdGVt'); + diff --git a/lib/grpc/grpc_repo.dart b/lib/grpc/grpc_repo.dart index 7d4e4b13..2b876997 100644 --- a/lib/grpc/grpc_repo.dart +++ b/lib/grpc/grpc_repo.dart @@ -3,6 +3,7 @@ import 'dart:typed_data'; import 'package:PiliPlus/common/constants.dart'; import 'package:PiliPlus/grpc/bilibili/app/dynamic/v1.pb.dart'; +import 'package:PiliPlus/grpc/bilibili/app/im/v1.pb.dart'; import 'package:PiliPlus/grpc/bilibili/community/service/dm/v1.pb.dart'; import 'package:PiliPlus/grpc/bilibili/im/interfaces/v1.pb.dart'; import 'package:PiliPlus/grpc/bilibili/im/type.pb.dart'; @@ -22,7 +23,7 @@ import 'package:PiliPlus/utils/utils.dart'; import 'package:archive/archive.dart'; import 'package:dio/dio.dart'; import 'package:fixnum/fixnum.dart'; -import 'package:protobuf/protobuf.dart' show GeneratedMessage; +import 'package:protobuf/protobuf.dart' show GeneratedMessage, PbMap; import 'package:uuid/uuid.dart'; class GrpcUrl { @@ -46,8 +47,10 @@ class GrpcUrl { // im static const im = '/bilibili.im.interface.v1.ImInterface'; + static const im2 = '/bilibili.app.im.v1.im'; static const sendMsg = '$im/SendMsg'; static const shareList = '$im/ShareList'; + static const sessionMain = '$im2/SessionMain'; } class GrpcRepo { @@ -369,4 +372,14 @@ class GrpcRepo { RspShareList.fromBuffer, ); } + + static Future sessionMain({PbMap? offset}) async { + return await _request( + GrpcUrl.sessionMain, + SessionMainReq( + paginationParams: PaginationParams(offsets: offset), + ), + SessionMainReply.fromBuffer, + ); + } } diff --git a/lib/http/msg.dart b/lib/http/msg.dart index 5b8e5624..0b340870 100644 --- a/lib/http/msg.dart +++ b/lib/http/msg.dart @@ -1,5 +1,7 @@ import 'dart:math'; +import 'package:PiliPlus/grpc/bilibili/app/im/v1.pb.dart'; +import 'package:PiliPlus/grpc/grpc_repo.dart'; import 'package:PiliPlus/http/api.dart'; import 'package:PiliPlus/http/constants.dart'; import 'package:PiliPlus/http/init.dart'; @@ -15,6 +17,7 @@ import 'package:PiliPlus/utils/storage.dart'; import 'package:PiliPlus/utils/wbi_sign.dart'; import 'package:dio/dio.dart'; import 'package:flutter/material.dart'; +import 'package:protobuf/protobuf.dart' show PbMap; import 'package:uuid/uuid.dart'; class MsgHttp { @@ -430,6 +433,16 @@ class MsgHttp { } } + static Future> sessionMain( + {PbMap? offset}) async { + final res = await GrpcRepo.sessionMain(offset: offset); + if (res['status']) { + return LoadingState.success(res['data']); + } else { + return LoadingState.error(res['msg']); + } + } + static Future accountList(uids) async { var res = await Request().get(Api.sessionAccountList, queryParameters: { 'uids': uids, diff --git a/lib/models/common/badge_type.dart b/lib/models/common/badge_type.dart new file mode 100644 index 00000000..4e2f2e4b --- /dev/null +++ b/lib/models/common/badge_type.dart @@ -0,0 +1,12 @@ +// ignore_for_file: constant_identifier_names + +enum PBadgeType { + primary, + secondary, + gray, + error, + line_primary, + line_secondary, +} + +enum PBadgeSize { medium, small } diff --git a/lib/pages/article/view.dart b/lib/pages/article/view.dart index 65fd9604..74956f02 100644 --- a/lib/pages/article/view.dart +++ b/lib/pages/article/view.dart @@ -8,6 +8,7 @@ import 'package:PiliPlus/common/widgets/refresh_indicator.dart'; import 'package:PiliPlus/grpc/bilibili/main/community/reply/v1.pb.dart' show ReplyInfo; import 'package:PiliPlus/http/loading_state.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/common/image_preview_type.dart'; import 'package:PiliPlus/models/common/reply/reply_sort_type.dart'; import 'package:PiliPlus/models/common/reply/reply_type.dart'; @@ -454,7 +455,7 @@ class _ArticlePageState extends State () => PBadge( top: 12, right: paddingRight, - type: 'gray', + type: PBadgeType.gray, text: '${_articleCtr.topIndex.value + 1}/$length'), ), diff --git a/lib/pages/bangumi/widgets/bangumi_card_v.dart b/lib/pages/bangumi/widgets/bangumi_card_v.dart index 47b919aa..a3bd831f 100644 --- a/lib/pages/bangumi/widgets/bangumi_card_v.dart +++ b/lib/pages/bangumi/widgets/bangumi_card_v.dart @@ -1,6 +1,7 @@ import 'package:PiliPlus/common/widgets/badge.dart'; import 'package:PiliPlus/common/widgets/image/image_save.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/utils/page_utils.dart'; import 'package:PiliPlus/utils/utils.dart'; import 'package:flutter/material.dart'; @@ -61,7 +62,7 @@ class BangumiCardV extends StatelessWidget { text: bangumiItem.renewalTime, bottom: 6, left: 6, - type: 'gray', + type: PBadgeType.gray, ) else if (bangumiItem.order != null) PBadge( @@ -70,7 +71,7 @@ class BangumiCardV extends StatelessWidget { right: null, bottom: 6, left: 6, - type: 'gray', + type: PBadgeType.gray, ), ], ); diff --git a/lib/pages/bangumi/widgets/bangumi_card_v_pgc_index.dart b/lib/pages/bangumi/widgets/bangumi_card_v_pgc_index.dart index 6855f45b..a0b8c83c 100644 --- a/lib/pages/bangumi/widgets/bangumi_card_v_pgc_index.dart +++ b/lib/pages/bangumi/widgets/bangumi_card_v_pgc_index.dart @@ -1,6 +1,7 @@ import 'package:PiliPlus/common/widgets/badge.dart'; import 'package:PiliPlus/common/widgets/image/image_save.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/utils/page_utils.dart'; import 'package:flutter/material.dart'; @@ -55,7 +56,7 @@ class BangumiCardVPgcIndex extends StatelessWidget { right: null, bottom: 6, left: 6, - type: 'gray', + type: PBadgeType.gray, ), ], ); diff --git a/lib/pages/bangumi/widgets/bangumi_card_v_timeline.dart b/lib/pages/bangumi/widgets/bangumi_card_v_timeline.dart index 9fc689cb..2b38e95f 100644 --- a/lib/pages/bangumi/widgets/bangumi_card_v_timeline.dart +++ b/lib/pages/bangumi/widgets/bangumi_card_v_timeline.dart @@ -2,6 +2,7 @@ import 'package:PiliPlus/common/widgets/badge.dart'; import 'package:PiliPlus/common/widgets/image/image_save.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/models/bangumi/pgc_timeline/episode.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/utils/page_utils.dart'; import 'package:flutter/material.dart'; @@ -53,7 +54,7 @@ class BangumiCardVTimeline extends StatelessWidget { text: '${item.pubTime}', left: 6, bottom: 6, - type: 'gray', + type: PBadgeType.gray, ), ], ); diff --git a/lib/pages/dynamics/widgets/live_rcmd_panel.dart b/lib/pages/dynamics/widgets/live_rcmd_panel.dart index 43094fe3..d6468ba8 100644 --- a/lib/pages/dynamics/widgets/live_rcmd_panel.dart +++ b/lib/pages/dynamics/widgets/live_rcmd_panel.dart @@ -1,6 +1,7 @@ import 'package:PiliPlus/common/constants.dart'; import 'package:PiliPlus/common/widgets/badge.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/dynamics/result.dart'; import 'package:PiliPlus/pages/dynamics/widgets/rich_node_panel.dart'; import 'package:PiliPlus/utils/page_utils.dart'; @@ -92,7 +93,7 @@ Widget liveRcmdPanel( text: watchedShow?['text_large'], top: 6, right: 56, - type: 'gray', + type: PBadgeType.gray, ), PBadge( text: liveStatus == 1 ? '直播中' : '直播结束', diff --git a/lib/pages/dynamics/widgets/video_panel.dart b/lib/pages/dynamics/widgets/video_panel.dart index 147bf5f2..e36a986e 100644 --- a/lib/pages/dynamics/widgets/video_panel.dart +++ b/lib/pages/dynamics/widgets/video_panel.dart @@ -2,6 +2,7 @@ import 'package:PiliPlus/common/constants.dart'; import 'package:PiliPlus/common/widgets/badge.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/dynamics/result.dart'; import 'package:PiliPlus/pages/dynamics/widgets/rich_node_panel.dart'; import 'package:PiliPlus/utils/utils.dart'; @@ -77,7 +78,9 @@ Widget videoSeasonWidget( right: 10.0, bottom: null, left: null, - type: content.badge!['text'] == '充电专属' ? 'error' : 'primary', + type: content.badge!['text'] == '充电专属' + ? PBadgeType.error + : PBadgeType.primary, ), Positioned( left: 0, diff --git a/lib/pages/episode_panel/view.dart b/lib/pages/episode_panel/view.dart index 457b0a50..1bb56a69 100644 --- a/lib/pages/episode_panel/view.dart +++ b/lib/pages/episode_panel/view.dart @@ -11,6 +11,7 @@ import 'package:PiliPlus/common/widgets/stat/stat.dart'; import 'package:PiliPlus/http/loading_state.dart'; import 'package:PiliPlus/http/video.dart'; import 'package:PiliPlus/models/bangumi/info.dart' as bangumi; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/common/episode_panel_type.dart'; import 'package:PiliPlus/models/video_detail_res.dart' as video; import 'package:PiliPlus/pages/common/common_slide_page.dart'; @@ -428,7 +429,7 @@ class _EpisodePanelState extends CommonSlidePageState text: Utils.timeFormat(duration), right: 6.0, bottom: 6.0, - type: 'gray', + type: PBadgeType.gray, ), ], ); diff --git a/lib/pages/fav/pgc/widget/item.dart b/lib/pages/fav/pgc/widget/item.dart index ba57eaa4..1d582fdc 100644 --- a/lib/pages/fav/pgc/widget/item.dart +++ b/lib/pages/fav/pgc/widget/item.dart @@ -70,7 +70,7 @@ class FavPgcItem extends StatelessWidget { right: 4, top: 4, text: item.badge, - fs: 10, + fontSize: 10, padding: const EdgeInsets.symmetric( horizontal: 2, vertical: 1, diff --git a/lib/pages/fav_detail/widget/fav_video_card.dart b/lib/pages/fav_detail/widget/fav_video_card.dart index 16909cff..481f6cd3 100644 --- a/lib/pages/fav_detail/widget/fav_video_card.dart +++ b/lib/pages/fav_detail/widget/fav_video_card.dart @@ -6,6 +6,7 @@ import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/common/widgets/stat/stat.dart'; import 'package:PiliPlus/http/search.dart'; import 'package:PiliPlus/http/video.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/user/fav_detail.dart'; import 'package:PiliPlus/utils/extension.dart'; import 'package:PiliPlus/utils/id_utils.dart'; @@ -107,7 +108,7 @@ class FavVideoCardH extends StatelessWidget { text: Utils.timeFormat(videoItem.duration), right: 6.0, bottom: 6.0, - type: 'gray', + type: PBadgeType.gray, ), PBadge( text: videoItem.ogv?['type_name'], diff --git a/lib/pages/history/widgets/item.dart b/lib/pages/history/widgets/item.dart index 7f91aaf0..8728d18a 100644 --- a/lib/pages/history/widgets/item.dart +++ b/lib/pages/history/widgets/item.dart @@ -6,6 +6,7 @@ import 'package:PiliPlus/common/widgets/progress_bar/video_progress_indicator.da import 'package:PiliPlus/http/search.dart'; import 'package:PiliPlus/http/user.dart'; import 'package:PiliPlus/http/video.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/common/history_business_type.dart'; import 'package:PiliPlus/models/user/history.dart'; import 'package:PiliPlus/pages/common/multi_select_controller.dart'; @@ -153,7 +154,7 @@ class HistoryItem extends StatelessWidget { : '${Utils.timeFormat(videoItem.progress)}/${Utils.timeFormat(videoItem.duration!)}', right: 6.0, bottom: 8.0, - type: 'gray', + type: PBadgeType.gray, ), // 右上角 if (HistoryBusinessType.showBadge diff --git a/lib/pages/member_coin/widgets/item.dart b/lib/pages/member_coin/widgets/item.dart index 44c56efa..1b87f877 100644 --- a/lib/pages/member_coin/widgets/item.dart +++ b/lib/pages/member_coin/widgets/item.dart @@ -4,6 +4,7 @@ import 'package:PiliPlus/common/widgets/image/image_save.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/common/widgets/stat/stat.dart'; import 'package:PiliPlus/http/search.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/member/coin.dart'; import 'package:PiliPlus/utils/app_scheme.dart'; import 'package:PiliPlus/utils/page_utils.dart'; @@ -67,7 +68,7 @@ class MemberCoinsItem extends StatelessWidget { PBadge( bottom: 6, right: 6, - type: 'gray', + type: PBadgeType.gray, text: Utils.timeFormat(coinItem.duration), ) ], diff --git a/lib/pages/member_favorite/widget/item.dart b/lib/pages/member_favorite/widget/item.dart index 8f9dae82..75adb6f1 100644 --- a/lib/pages/member_favorite/widget/item.dart +++ b/lib/pages/member_favorite/widget/item.dart @@ -2,6 +2,7 @@ import 'package:PiliPlus/common/constants.dart'; import 'package:PiliPlus/common/widgets/badge.dart'; import 'package:PiliPlus/common/widgets/image/image_save.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/space_fav/list.dart'; import 'package:PiliPlus/models/user/sub_folder.dart'; import 'package:PiliPlus/utils/utils.dart'; @@ -89,8 +90,8 @@ class MemberFavItem extends StatelessWidget { right: 3, bottom: 3, text: '合集', - bold: false, - size: 'small', + isBold: false, + size: PBadgeSize.small, ) else if (item.type == 0 || item.type == 11) Positioned( diff --git a/lib/pages/subscription_detail/widget/sub_video_card.dart b/lib/pages/subscription_detail/widget/sub_video_card.dart index b76962a2..9f2b1086 100644 --- a/lib/pages/subscription_detail/widget/sub_video_card.dart +++ b/lib/pages/subscription_detail/widget/sub_video_card.dart @@ -4,6 +4,7 @@ import 'package:PiliPlus/common/widgets/image/image_save.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/common/widgets/stat/stat.dart'; import 'package:PiliPlus/http/search.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/common/search_type.dart'; import 'package:PiliPlus/models/user/sub_detail.dart'; import 'package:PiliPlus/utils/page_utils.dart'; @@ -68,7 +69,7 @@ class SubVideoCardH extends StatelessWidget { text: Utils.timeFormat(videoItem.duration!), right: 6.0, bottom: 6.0, - type: 'gray', + type: PBadgeType.gray, ), ], ); diff --git a/lib/pages/video/medialist/view.dart b/lib/pages/video/medialist/view.dart index 6a4fa43a..baacea47 100644 --- a/lib/pages/video/medialist/view.dart +++ b/lib/pages/video/medialist/view.dart @@ -7,6 +7,7 @@ import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; import 'package:PiliPlus/common/widgets/refresh_indicator.dart'; import 'package:PiliPlus/common/widgets/stat/stat.dart'; import 'package:PiliPlus/http/search.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/models/video/later.dart'; import 'package:PiliPlus/pages/common/common_collapse_slide_page.dart'; import 'package:PiliPlus/utils/utils.dart'; @@ -206,7 +207,7 @@ class _MediaListPanelState text: Utils.timeFormat(item.duration!), right: 6.0, bottom: 6.0, - type: 'gray', + type: PBadgeType.gray, ), ], ); diff --git a/lib/pages/video/reply/widgets/reply_item_grpc.dart b/lib/pages/video/reply/widgets/reply_item_grpc.dart index 4aa945a9..9f17f0d4 100644 --- a/lib/pages/video/reply/widgets/reply_item_grpc.dart +++ b/lib/pages/video/reply/widgets/reply_item_grpc.dart @@ -10,6 +10,7 @@ import 'package:PiliPlus/grpc/bilibili/main/community/reply/v1.pb.dart' show ReplyInfo, ReplyControl, Content; import 'package:PiliPlus/http/init.dart'; import 'package:PiliPlus/http/video.dart'; +import 'package:PiliPlus/models/common/badge_type.dart'; import 'package:PiliPlus/pages/dynamics/widgets/vote.dart'; import 'package:PiliPlus/pages/save_panel/view.dart'; import 'package:PiliPlus/pages/video/controller.dart'; @@ -219,9 +220,9 @@ class ReplyItemGrpc extends StatelessWidget { if (replyItem.mid == upMid) const PBadge( text: 'UP', - size: 'small', - stack: 'normal', - fs: 9, + size: PBadgeSize.small, + isStack: false, + fontSize: 9, ), ], ), @@ -290,11 +291,10 @@ class ReplyItemGrpc extends StatelessWidget { alignment: PlaceholderAlignment.top, child: PBadge( text: 'TOP', - size: 'small', - stack: 'normal', - type: 'line', - fs: 9, - semanticsLabel: '置顶', + size: PBadgeSize.small, + isStack: false, + type: PBadgeType.line_primary, + fontSize: 9, textScaleFactor: 1, ), ), @@ -503,9 +503,9 @@ class ReplyItemGrpc extends StatelessWidget { alignment: PlaceholderAlignment.middle, child: PBadge( text: 'UP', - size: 'small', - stack: 'normal', - fs: 9, + size: PBadgeSize.small, + isStack: false, + fontSize: 9, textScaleFactor: 1, ), ), diff --git a/lib/pages/whisper/controller.dart b/lib/pages/whisper/controller.dart index 873167d1..820ae517 100644 --- a/lib/pages/whisper/controller.dart +++ b/lib/pages/whisper/controller.dart @@ -1,21 +1,20 @@ +import 'package:PiliPlus/grpc/bilibili/app/im/v1.pb.dart'; import 'package:PiliPlus/http/loading_state.dart'; import 'package:PiliPlus/http/msg.dart'; -import 'package:PiliPlus/models/msg/account.dart'; import 'package:PiliPlus/models/msg/msgfeed_unread.dart'; -import 'package:PiliPlus/models/msg/session.dart'; import 'package:PiliPlus/pages/common/common_list_controller.dart'; -import 'package:PiliPlus/utils/extension.dart'; import 'package:PiliPlus/utils/storage.dart'; import 'package:flutter/material.dart'; import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; import 'package:get/get.dart'; +import 'package:protobuf/protobuf.dart' show PbMap; class WhisperController - extends CommonListController?, SessionList> { + extends CommonListController { late final List msgFeedTopItems; late final RxList unreadCounts; - int? endTs; + PbMap? offset; @override void onInit() { @@ -65,37 +64,20 @@ class WhisperController } @override - Future?>> customGetData() => - MsgHttp.sessionList(endTs: endTs); - - @override - bool customHandleResponse( - bool isRefresh, Success?> response) { - endTs = response.response?.lastOrNull?.sessionTs; - List? dataList = response.response; - if (dataList.isNullOrEmpty) { - isEnd = true; - if (isRefresh) { - loadingState.value = LoadingState?>.success(dataList); - } - isLoading = false; - return true; - } - queryAccountList(dataList!).then((_) { - if (isRefresh) { - loadingState.value = LoadingState?>.success(dataList); - } else if (loadingState.value is Success) { - loadingState.value.data!.addAll(dataList); - loadingState.refresh(); - } - }); - return true; + List? getDataList(SessionMainReply response) { + offset = response.paginationParams.offsets; + isEnd = !response.paginationParams.hasMore; + return response.sessions; } + @override + Future> customGetData() => + MsgHttp.sessionMain(offset: offset); + @override Future onRefresh() { + offset = null; queryMsgFeedUnread(); - endTs = null; return super.onRefresh(); } @@ -116,11 +98,10 @@ class WhisperController opType: isTop ? 1 : 0, ); if (res['status']) { - List list = (loadingState.value as Success).response; - list[index].topTs = isTop ? 0 : 1; + List list = (loadingState.value as Success).response; + list[index].isPinned = isTop ? false : true; if (!isTop) { - SessionList item = list.removeAt(index); - list.insert(0, item); + list.insert(0, list.removeAt(index)); } loadingState.refresh(); SmartDialog.showToast('${isTop ? '移除' : ''}置顶成功'); @@ -130,26 +111,10 @@ class WhisperController } void onTap(int index) { - List list = (loadingState.value as Success).response; - list[index].unreadCount = 0; - loadingState.refresh(); - } - - Future queryAccountList(List sessionList) async { - List midsList = sessionList.map((e) => e.talkerId).toList(); - var res = await MsgHttp.accountList(midsList.join(',')); - if (res['status']) { - List accountList = res['data']; - Map accountMap = {}; - for (AccountListModel item in accountList) { - accountMap[item.mid!] = item; - } - for (SessionList item in sessionList) { - AccountListModel? accountInfo = accountMap[item.talkerId]; - if (accountInfo != null) { - item.accountInfo = accountInfo; - } - } + Session item = loadingState.value.data![index]; + if (item.hasUnread()) { + item.clearUnread(); + loadingState.refresh(); } } } diff --git a/lib/pages/whisper/view.dart b/lib/pages/whisper/view.dart index 0ba1d2ea..02735816 100644 --- a/lib/pages/whisper/view.dart +++ b/lib/pages/whisper/view.dart @@ -1,8 +1,8 @@ import 'package:PiliPlus/common/skeleton/whisper_item.dart'; import 'package:PiliPlus/common/widgets/loading_widget/http_error.dart'; import 'package:PiliPlus/common/widgets/refresh_indicator.dart'; +import 'package:PiliPlus/grpc/bilibili/app/im/v1.pb.dart'; import 'package:PiliPlus/http/loading_state.dart'; -import 'package:PiliPlus/models/msg/session.dart'; import 'package:PiliPlus/pages/whisper/controller.dart'; import 'package:PiliPlus/pages/whisper/widgets/item.dart'; import 'package:flutter/material.dart'; @@ -38,7 +38,7 @@ class _WhisperPageState extends State { ); } - Widget _buildBody(LoadingState?> loadingState) { + Widget _buildBody(LoadingState?> loadingState) { return switch (loadingState) { Loading() => SliverList.builder( itemCount: 12, diff --git a/lib/pages/whisper/widgets/item.dart b/lib/pages/whisper/widgets/item.dart index 233e1eca..d23caa42 100644 --- a/lib/pages/whisper/widgets/item.dart +++ b/lib/pages/whisper/widgets/item.dart @@ -1,5 +1,11 @@ +import 'dart:convert'; + +import 'package:PiliPlus/common/widgets/badge.dart'; import 'package:PiliPlus/common/widgets/image/network_img_layer.dart'; -import 'package:PiliPlus/models/msg/session.dart'; +import 'package:PiliPlus/grpc/bilibili/app/im/v1.pb.dart' + show Session, UnreadStyle; +import 'package:PiliPlus/models/common/badge_type.dart'; +import 'package:PiliPlus/utils/extension.dart'; import 'package:PiliPlus/utils/utils.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; @@ -13,32 +19,19 @@ class WhisperSessionItem extends StatelessWidget { required this.onTap, }); - final SessionList item; + final Session item; final Function(bool isTop, int? talkerId) onSetTop; final ValueChanged onRemove; final VoidCallback onTap; @override Widget build(BuildContext context) { - dynamic content = item.lastMsg?.content; + Map? vipInfo = item.sessionInfo.hasVipInfo() + ? jsonDecode(item.sessionInfo.vipInfo) + : null; final ThemeData theme = Theme.of(context); - if (content == null || content == "") { - content = '不支持的消息类型'; - } else { - dynamic msg = content['text'] ?? - content['content'] ?? - content['title'] ?? - content['reply_content']; - if (msg == null) { - if (content['imageType'] != null) { - msg = '[图片消息]'; - } - } - content = msg ?? content.toString(); - } - return ListTile( - tileColor: item.topTs == 0 ? null : theme.colorScheme.onInverseSurface, + tileColor: item.isPinned ? theme.colorScheme.onInverseSurface : null, onLongPress: () { showDialog( context: context, @@ -53,10 +46,13 @@ class WhisperSessionItem extends StatelessWidget { dense: true, onTap: () { Get.back(); - onSetTop(item.topTs != 0, item.talkerId); + onSetTop( + item.isPinned, + item.id.privateId.talkerUid.toInt(), + ); }, title: Text( - item.topTs == 0 ? '置顶' : '移除置顶', + item.isPinned ? '移除置顶' : '置顶', style: const TextStyle(fontSize: 14), ), ), @@ -64,7 +60,7 @@ class WhisperSessionItem extends StatelessWidget { dense: true, onTap: () { Get.back(); - onRemove(item.talkerId); + onRemove(item.id.privateId.talkerUid.toInt()); }, title: const Text( '删除', @@ -82,11 +78,12 @@ class WhisperSessionItem extends StatelessWidget { Get.toNamed( '/whisperDetail', parameters: { - 'talkerId': '${item.talkerId}', - 'name': item.accountInfo?.name ?? '', - 'face': item.accountInfo?.face ?? '', - if (item.accountInfo?.mid != null) - 'mid': '${item.accountInfo?.mid}', + 'talkerId': item.id.privateId.talkerUid.toString(), + 'name': item.sessionInfo.sessionName, + 'face': item.sessionInfo.avatar.fallbackLayers.layers.first.resource + .resImage.imageSrc.remote.url, + if (item.sessionInfo.avatar.hasMid()) + 'mid': item.sessionInfo.avatar.mid.toString(), }, ); }, @@ -96,19 +93,23 @@ class WhisperSessionItem extends StatelessWidget { width: 45, height: 45, type: 'avatar', - src: item.accountInfo?.face ?? "", + src: item.sessionInfo.avatar.fallbackLayers.layers.first + .resource.resImage.imageSrc.remote.url, ); return GestureDetector( - onTap: item.accountInfo?.mid != null + onTap: item.sessionInfo.avatar.hasMid() ? () { Get.toNamed( - '/member?mid=${item.accountInfo!.mid}', + '/member?mid=${item.sessionInfo.avatar.mid}', ); } : null, - child: item.unreadCount != null && item.unreadCount! > 0 + child: item.hasUnread() && + item.unread.style != UnreadStyle.UNREAD_STYLE_NONE ? Badge( - label: Text(" ${item.unreadCount} "), + label: item.unread.style == UnreadStyle.UNREAD_STYLE_NUMBER + ? Text(" ${item.unread.number} ") + : null, alignment: Alignment.topRight, child: buildAvatar(), ) @@ -116,17 +117,45 @@ class WhisperSessionItem extends StatelessWidget { ); }, ), - title: Text(item.accountInfo?.name ?? ""), + title: Row( + children: [ + Text( + item.sessionInfo.sessionName, + style: TextStyle( + color: vipInfo?['status'] != null && + vipInfo!['status'] > 0 && + vipInfo['type'] == 2 + ? context.vipColor + : null, + ), + ), + if (item.sessionInfo.userLabel.style.borderedLabel.hasText()) ...[ + const SizedBox(width: 5), + PBadge( + isStack: false, + type: PBadgeType.line_secondary, + fontSize: 10, + isBold: false, + text: item.sessionInfo.userLabel.style.borderedLabel.text, + ), + ], + if (item.sessionInfo.isLive) ...[ + const SizedBox(width: 5), + Image.asset('assets/images/live/live.gif', height: 15), + ], + ], + ), subtitle: Text( - '$content', + item.msgSummary.rawMsg, maxLines: 1, overflow: TextOverflow.ellipsis, style: theme.textTheme.labelMedium! .copyWith(color: theme.colorScheme.outline), ), - trailing: item.lastMsg?.timestamp != null + trailing: item.hasTimestamp() ? Text( - Utils.dateFormat(item.lastMsg!.timestamp, formatType: "day"), + Utils.dateFormat((item.timestamp ~/ 1000000).toInt(), + formatType: "day"), style: TextStyle( fontSize: 12, color: theme.colorScheme.outline,