From f77088b870910ab1d2f1c51264ea1de92d770ac6 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Thu, 17 Oct 2024 11:18:59 +0800 Subject: [PATCH] Refactor member page (#3) * refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip --- README.md | 1 + lib/common/constants.dart | 6 +- lib/common/widgets/badge.dart | 6 +- lib/common/widgets/dynamic_sliver_appbar.dart | 197 + lib/common/widgets/network_img_layer.dart | 3 + .../widgets/video_card_h_member_video.dart | 261 + .../widgets/video_card_v_member_home.dart | 358 + lib/grpc/app/dynamic/v2/dynamic.pb.dart | 47878 ++++++++++++++++ lib/grpc/app/dynamic/v2/dynamic.pbenum.dart | 1635 + lib/grpc/app/dynamic/v2/dynamic.pbgrpc.dart | 1159 + lib/grpc/app/dynamic/v2/dynamic.pbjson.dart | 8213 +++ .../component/avatar/common/common.pb.dart | 783 + .../avatar/common/common.pbenum.dart | 42 + .../avatar/common/common.pbjson.dart | 194 + .../dagw/component/avatar/v1/avatar.pb.dart | 849 + .../component/avatar/v1/avatar.pbenum.dart | 11 + .../component/avatar/v1/avatar.pbjson.dart | 222 + .../dagw/component/avatar/v1/plugin.pb.dart | 699 + .../component/avatar/v1/plugin.pbenum.dart | 11 + .../component/avatar/v1/plugin.pbjson.dart | 167 + lib/grpc/google/protobuf/any.pb.dart | 224 + lib/grpc/google/protobuf/any.pbenum.dart | 10 + lib/grpc/google/protobuf/any.pbjson.dart | 27 + lib/grpc/grpc_client.dart | 7 + lib/grpc/grpc_repo.dart | 25 +- lib/http/api.dart | 19 + lib/http/login.dart | 4 +- lib/http/member.dart | 182 +- lib/http/video.dart | 2 +- lib/models/space/achieve.dart | 20 + lib/models/space/achieve.g.dart | 19 + lib/models/space/archive.dart | 24 + lib/models/space/archive.g.dart | 28 + lib/models/space/article.dart | 20 + lib/models/space/article.g.dart | 21 + lib/models/space/attention_tip.dart | 18 + lib/models/space/attention_tip.g.dart | 18 + lib/models/space/audios.dart | 17 + lib/models/space/audios.g.dart | 17 + lib/models/space/avatar.dart | 23 + lib/models/space/avatar.g.dart | 25 + lib/models/space/avatar_layer.dart | 14 + lib/models/space/card.dart | 148 + lib/models/space/card.g.dart | 151 + lib/models/space/coin_archive.dart | 17 + lib/models/space/coin_archive.g.dart | 18 + lib/models/space/color_config.dart | 22 + lib/models/space/color_config.g.dart | 24 + lib/models/space/colour.dart | 17 + lib/models/space/colour.g.dart | 17 + lib/models/space/container_size.dart | 17 + lib/models/space/container_size.g.dart | 19 + lib/models/space/data.dart | 83 + lib/models/space/data.g.dart | 88 + lib/models/space/day.dart | 14 + lib/models/space/day.g.dart | 15 + lib/models/space/digital_info.dart | 47 + lib/models/space/digital_info.g.dart | 36 + lib/models/space/draw.dart | 21 + lib/models/space/draw.g.dart | 21 + lib/models/space/draw_src.dart | 20 + lib/models/space/draw_src.g.dart | 19 + lib/models/space/entrance.dart | 20 + lib/models/space/entrance.g.dart | 19 + lib/models/space/entrance_button.dart | 17 + lib/models/space/entrance_button.g.dart | 19 + lib/models/space/episodic_button.dart | 17 + lib/models/space/episodic_button.g.dart | 19 + lib/models/space/fallback_layers.dart | 20 + lib/models/space/fallback_layers.g.dart | 21 + lib/models/space/fans_effect.dart | 14 + lib/models/space/favourite2.dart | 17 + lib/models/space/favourite2.g.dart | 18 + lib/models/space/general_spec.dart | 25 + lib/models/space/general_spec.g.dart | 26 + lib/models/space/honours.dart | 19 + lib/models/space/honours.g.dart | 19 + lib/models/space/images.dart | 43 + lib/models/space/images.g.dart | 37 + lib/models/space/item.dart | 102 + lib/models/space/item.g.dart | 83 + lib/models/space/label.dart | 35 + lib/models/space/label.g.dart | 29 + lib/models/space/layer.dart | 23 + lib/models/space/layer.g.dart | 27 + lib/models/space/layer_config.dart | 23 + lib/models/space/layer_config.g.dart | 20 + lib/models/space/level_info.dart | 35 + lib/models/space/level_info.g.dart | 28 + lib/models/space/like_archive.dart | 17 + lib/models/space/like_archive.g.dart | 18 + lib/models/space/likes.dart | 20 + lib/models/space/likes.g.dart | 17 + lib/models/space/nameplate.dart | 29 + lib/models/space/nameplate.g.dart | 25 + lib/models/space/nft_certificate.dart | 17 + lib/models/space/nft_certificate.g.dart | 17 + lib/models/space/night.dart | 14 + lib/models/space/night.g.dart | 15 + lib/models/space/official_verify.dart | 29 + lib/models/space/official_verify.g.dart | 27 + lib/models/space/order.dart | 15 + lib/models/space/order.g.dart | 17 + lib/models/space/pendant.dart | 33 + lib/models/space/pendant.g.dart | 27 + lib/models/space/pos_spec.dart | 21 + lib/models/space/pos_spec.g.dart | 19 + lib/models/space/pr_info.dart | 14 + lib/models/space/profession.dart | 14 + lib/models/space/profession_verify.dart | 18 + lib/models/space/profession_verify.g.dart | 19 + lib/models/space/purchase_button.dart | 17 + lib/models/space/purchase_button.g.dart | 19 + lib/models/space/relation.dart | 18 + lib/models/space/relation.g.dart | 17 + lib/models/space/render_spec.dart | 16 + lib/models/space/render_spec.g.dart | 16 + lib/models/space/res_native_draw.dart | 19 + lib/models/space/res_native_draw.g.dart | 19 + lib/models/space/resource.dart | 21 + lib/models/space/resource.g.dart | 20 + lib/models/space/school.dart | 14 + lib/models/space/season.dart | 18 + lib/models/space/season.g.dart | 19 + lib/models/space/senior_inquiry.dart | 19 + lib/models/space/senior_inquiry.g.dart | 19 + lib/models/space/series.dart | 16 + lib/models/space/series.g.dart | 15 + lib/models/space/setting.dart | 68 + lib/models/space/setting.g.dart | 51 + lib/models/space/size_spec.dart | 17 + lib/models/space/size_spec.g.dart | 17 + lib/models/space/space.dart | 19 + lib/models/space/space.g.dart | 23 + lib/models/space/space_tag_bottom.dart | 19 + lib/models/space/tab.dart | 63 + lib/models/space/tab.g.dart | 59 + lib/models/space/tab2.dart | 18 + lib/models/space/tab2.g.dart | 21 + lib/models/space/tags.dart | 17 + lib/models/space/tags.g.dart | 17 + lib/models/space/three_point.dart | 14 + lib/models/space/vip.dart | 32 + lib/models/space/vip.g.dart | 31 + lib/models/space_archive/badge.dart | 37 + lib/models/space_archive/badge.g.dart | 29 + lib/models/space_archive/cursor_attr.dart | 18 + lib/models/space_archive/cursor_attr.g.dart | 18 + lib/models/space_archive/data.dart | 39 + lib/models/space_archive/data.g.dart | 39 + lib/models/space_archive/episodic_button.dart | 17 + .../space_archive/episodic_button.g.dart | 19 + lib/models/space_archive/item.dart | 103 + lib/models/space_archive/item.g.dart | 87 + .../space_archive/last_watched_locator.dart | 24 + .../space_archive/last_watched_locator.g.dart | 21 + lib/models/space_archive/order.dart | 15 + lib/models/space_archive/order.g.dart | 17 + lib/models/space_archive/space_archive.dart | 21 + lib/models/space_archive/space_archive.g.dart | 24 + lib/models/space_archive/three_point.dart | 17 + lib/models/space_fav/datum.dart | 19 + lib/models/space_fav/datum.g.dart | 24 + lib/models/space_fav/list.dart | 70 + lib/models/space_fav/list.g.dart | 61 + lib/models/space_fav/media_list_response.dart | 21 + .../space_fav/media_list_response.g.dart | 23 + lib/models/space_fav/space_fav.dart | 21 + lib/models/space_fav/space_fav.g.dart | 23 + lib/models/space_fav/upper.dart | 16 + lib/models/space_fav/upper.g.dart | 19 + .../widgets/bangumi_card_v_member_home.dart | 172 + lib/pages/dynamics/detail/view.dart | 1 + .../dynamics/widgets/author_panel_grpc.dart | 289 + .../dynamics/widgets/content_panel_grpc.dart | 81 + .../dynamics/widgets/dynamic_panel_grpc.dart | 68 + lib/pages/fav_detail/controller.dart | 10 +- lib/pages/fav_detail/view.dart | 120 +- lib/pages/html/view.dart | 1 + .../content/article/member_article.dart | 27 + .../content/audio/member_audio.dart | 27 + .../content/bangumi/member_bangumi.dart | 100 + .../content/bangumi/member_bangumi_ctr.dart | 62 + .../content/favorite/member_favorite.dart | 261 + .../content/favorite/member_favorite_ctr.dart | 111 + .../content/video/member_video.dart | 156 + .../content/video/member_video_ctr.dart | 90 + .../member_contribute/member_contribute.dart | 120 + .../member_contribute_ctr.dart | 48 + .../member_dynamic/member_dynamic.dart | 75 + .../member_dynamic/member_dynamic_ctr.dart | 48 + .../new/content/member_home/member_home.dart | 214 + lib/pages/member/new/controller.dart | 112 + lib/pages/member/new/member_page.dart | 307 + .../member/new/widget/user_info_card.dart | 436 + lib/pages/member/view.dart | 2 + lib/pages/member_dynamics/controller.dart | 10 +- lib/pages/member_dynamics/view.dart | 95 +- lib/pages/msg_feed_top/sys_msg/view.dart | 1 - lib/pages/search/widgets/hot_keyword.dart | 2 +- lib/pages/subscription_detail/controller.dart | 5 +- .../video/detail/reply_reply/controller.dart | 2 +- lib/router/app_pages.dart | 3 +- lib/utils/app_scheme.dart | 3 + lib/utils/utils.dart | 12 +- 205 files changed, 70072 insertions(+), 119 deletions(-) create mode 100644 lib/common/widgets/dynamic_sliver_appbar.dart create mode 100644 lib/common/widgets/video_card_h_member_video.dart create mode 100644 lib/common/widgets/video_card_v_member_home.dart create mode 100644 lib/grpc/app/dynamic/v2/dynamic.pb.dart create mode 100644 lib/grpc/app/dynamic/v2/dynamic.pbenum.dart create mode 100644 lib/grpc/app/dynamic/v2/dynamic.pbgrpc.dart create mode 100644 lib/grpc/app/dynamic/v2/dynamic.pbjson.dart create mode 100644 lib/grpc/dagw/component/avatar/common/common.pb.dart create mode 100644 lib/grpc/dagw/component/avatar/common/common.pbenum.dart create mode 100644 lib/grpc/dagw/component/avatar/common/common.pbjson.dart create mode 100644 lib/grpc/dagw/component/avatar/v1/avatar.pb.dart create mode 100644 lib/grpc/dagw/component/avatar/v1/avatar.pbenum.dart create mode 100644 lib/grpc/dagw/component/avatar/v1/avatar.pbjson.dart create mode 100644 lib/grpc/dagw/component/avatar/v1/plugin.pb.dart create mode 100644 lib/grpc/dagw/component/avatar/v1/plugin.pbenum.dart create mode 100644 lib/grpc/dagw/component/avatar/v1/plugin.pbjson.dart create mode 100644 lib/grpc/google/protobuf/any.pb.dart create mode 100644 lib/grpc/google/protobuf/any.pbenum.dart create mode 100644 lib/grpc/google/protobuf/any.pbjson.dart create mode 100644 lib/models/space/achieve.dart create mode 100644 lib/models/space/achieve.g.dart create mode 100644 lib/models/space/archive.dart create mode 100644 lib/models/space/archive.g.dart create mode 100644 lib/models/space/article.dart create mode 100644 lib/models/space/article.g.dart create mode 100644 lib/models/space/attention_tip.dart create mode 100644 lib/models/space/attention_tip.g.dart create mode 100644 lib/models/space/audios.dart create mode 100644 lib/models/space/audios.g.dart create mode 100644 lib/models/space/avatar.dart create mode 100644 lib/models/space/avatar.g.dart create mode 100644 lib/models/space/avatar_layer.dart create mode 100644 lib/models/space/card.dart create mode 100644 lib/models/space/card.g.dart create mode 100644 lib/models/space/coin_archive.dart create mode 100644 lib/models/space/coin_archive.g.dart create mode 100644 lib/models/space/color_config.dart create mode 100644 lib/models/space/color_config.g.dart create mode 100644 lib/models/space/colour.dart create mode 100644 lib/models/space/colour.g.dart create mode 100644 lib/models/space/container_size.dart create mode 100644 lib/models/space/container_size.g.dart create mode 100644 lib/models/space/data.dart create mode 100644 lib/models/space/data.g.dart create mode 100644 lib/models/space/day.dart create mode 100644 lib/models/space/day.g.dart create mode 100644 lib/models/space/digital_info.dart create mode 100644 lib/models/space/digital_info.g.dart create mode 100644 lib/models/space/draw.dart create mode 100644 lib/models/space/draw.g.dart create mode 100644 lib/models/space/draw_src.dart create mode 100644 lib/models/space/draw_src.g.dart create mode 100644 lib/models/space/entrance.dart create mode 100644 lib/models/space/entrance.g.dart create mode 100644 lib/models/space/entrance_button.dart create mode 100644 lib/models/space/entrance_button.g.dart create mode 100644 lib/models/space/episodic_button.dart create mode 100644 lib/models/space/episodic_button.g.dart create mode 100644 lib/models/space/fallback_layers.dart create mode 100644 lib/models/space/fallback_layers.g.dart create mode 100644 lib/models/space/fans_effect.dart create mode 100644 lib/models/space/favourite2.dart create mode 100644 lib/models/space/favourite2.g.dart create mode 100644 lib/models/space/general_spec.dart create mode 100644 lib/models/space/general_spec.g.dart create mode 100644 lib/models/space/honours.dart create mode 100644 lib/models/space/honours.g.dart create mode 100644 lib/models/space/images.dart create mode 100644 lib/models/space/images.g.dart create mode 100644 lib/models/space/item.dart create mode 100644 lib/models/space/item.g.dart create mode 100644 lib/models/space/label.dart create mode 100644 lib/models/space/label.g.dart create mode 100644 lib/models/space/layer.dart create mode 100644 lib/models/space/layer.g.dart create mode 100644 lib/models/space/layer_config.dart create mode 100644 lib/models/space/layer_config.g.dart create mode 100644 lib/models/space/level_info.dart create mode 100644 lib/models/space/level_info.g.dart create mode 100644 lib/models/space/like_archive.dart create mode 100644 lib/models/space/like_archive.g.dart create mode 100644 lib/models/space/likes.dart create mode 100644 lib/models/space/likes.g.dart create mode 100644 lib/models/space/nameplate.dart create mode 100644 lib/models/space/nameplate.g.dart create mode 100644 lib/models/space/nft_certificate.dart create mode 100644 lib/models/space/nft_certificate.g.dart create mode 100644 lib/models/space/night.dart create mode 100644 lib/models/space/night.g.dart create mode 100644 lib/models/space/official_verify.dart create mode 100644 lib/models/space/official_verify.g.dart create mode 100644 lib/models/space/order.dart create mode 100644 lib/models/space/order.g.dart create mode 100644 lib/models/space/pendant.dart create mode 100644 lib/models/space/pendant.g.dart create mode 100644 lib/models/space/pos_spec.dart create mode 100644 lib/models/space/pos_spec.g.dart create mode 100644 lib/models/space/pr_info.dart create mode 100644 lib/models/space/profession.dart create mode 100644 lib/models/space/profession_verify.dart create mode 100644 lib/models/space/profession_verify.g.dart create mode 100644 lib/models/space/purchase_button.dart create mode 100644 lib/models/space/purchase_button.g.dart create mode 100644 lib/models/space/relation.dart create mode 100644 lib/models/space/relation.g.dart create mode 100644 lib/models/space/render_spec.dart create mode 100644 lib/models/space/render_spec.g.dart create mode 100644 lib/models/space/res_native_draw.dart create mode 100644 lib/models/space/res_native_draw.g.dart create mode 100644 lib/models/space/resource.dart create mode 100644 lib/models/space/resource.g.dart create mode 100644 lib/models/space/school.dart create mode 100644 lib/models/space/season.dart create mode 100644 lib/models/space/season.g.dart create mode 100644 lib/models/space/senior_inquiry.dart create mode 100644 lib/models/space/senior_inquiry.g.dart create mode 100644 lib/models/space/series.dart create mode 100644 lib/models/space/series.g.dart create mode 100644 lib/models/space/setting.dart create mode 100644 lib/models/space/setting.g.dart create mode 100644 lib/models/space/size_spec.dart create mode 100644 lib/models/space/size_spec.g.dart create mode 100644 lib/models/space/space.dart create mode 100644 lib/models/space/space.g.dart create mode 100644 lib/models/space/space_tag_bottom.dart create mode 100644 lib/models/space/tab.dart create mode 100644 lib/models/space/tab.g.dart create mode 100644 lib/models/space/tab2.dart create mode 100644 lib/models/space/tab2.g.dart create mode 100644 lib/models/space/tags.dart create mode 100644 lib/models/space/tags.g.dart create mode 100644 lib/models/space/three_point.dart create mode 100644 lib/models/space/vip.dart create mode 100644 lib/models/space/vip.g.dart create mode 100644 lib/models/space_archive/badge.dart create mode 100644 lib/models/space_archive/badge.g.dart create mode 100644 lib/models/space_archive/cursor_attr.dart create mode 100644 lib/models/space_archive/cursor_attr.g.dart create mode 100644 lib/models/space_archive/data.dart create mode 100644 lib/models/space_archive/data.g.dart create mode 100644 lib/models/space_archive/episodic_button.dart create mode 100644 lib/models/space_archive/episodic_button.g.dart create mode 100644 lib/models/space_archive/item.dart create mode 100644 lib/models/space_archive/item.g.dart create mode 100644 lib/models/space_archive/last_watched_locator.dart create mode 100644 lib/models/space_archive/last_watched_locator.g.dart create mode 100644 lib/models/space_archive/order.dart create mode 100644 lib/models/space_archive/order.g.dart create mode 100644 lib/models/space_archive/space_archive.dart create mode 100644 lib/models/space_archive/space_archive.g.dart create mode 100644 lib/models/space_archive/three_point.dart create mode 100644 lib/models/space_fav/datum.dart create mode 100644 lib/models/space_fav/datum.g.dart create mode 100644 lib/models/space_fav/list.dart create mode 100644 lib/models/space_fav/list.g.dart create mode 100644 lib/models/space_fav/media_list_response.dart create mode 100644 lib/models/space_fav/media_list_response.g.dart create mode 100644 lib/models/space_fav/space_fav.dart create mode 100644 lib/models/space_fav/space_fav.g.dart create mode 100644 lib/models/space_fav/upper.dart create mode 100644 lib/models/space_fav/upper.g.dart create mode 100644 lib/pages/bangumi/widgets/bangumi_card_v_member_home.dart create mode 100644 lib/pages/dynamics/widgets/author_panel_grpc.dart create mode 100644 lib/pages/dynamics/widgets/content_panel_grpc.dart create mode 100644 lib/pages/dynamics/widgets/dynamic_panel_grpc.dart create mode 100644 lib/pages/member/new/content/member_contribute/content/article/member_article.dart create mode 100644 lib/pages/member/new/content/member_contribute/content/audio/member_audio.dart create mode 100644 lib/pages/member/new/content/member_contribute/content/bangumi/member_bangumi.dart create mode 100644 lib/pages/member/new/content/member_contribute/content/bangumi/member_bangumi_ctr.dart create mode 100644 lib/pages/member/new/content/member_contribute/content/favorite/member_favorite.dart create mode 100644 lib/pages/member/new/content/member_contribute/content/favorite/member_favorite_ctr.dart create mode 100644 lib/pages/member/new/content/member_contribute/content/video/member_video.dart create mode 100644 lib/pages/member/new/content/member_contribute/content/video/member_video_ctr.dart create mode 100644 lib/pages/member/new/content/member_contribute/member_contribute.dart create mode 100644 lib/pages/member/new/content/member_contribute/member_contribute_ctr.dart create mode 100644 lib/pages/member/new/content/member_dynamic/member_dynamic.dart create mode 100644 lib/pages/member/new/content/member_dynamic/member_dynamic_ctr.dart create mode 100644 lib/pages/member/new/content/member_home/member_home.dart create mode 100644 lib/pages/member/new/controller.dart create mode 100644 lib/pages/member/new/member_page.dart create mode 100644 lib/pages/member/new/widget/user_info_card.dart diff --git a/README.md b/README.md index fa036cb8..564f770f 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ ## refactor - [ ] gRPC [wip] +- [x] 用户界面 - [x] 其他 ## feat diff --git a/lib/common/constants.dart b/lib/common/constants.dart index 490726b5..c1d596af 100644 --- a/lib/common/constants.dart +++ b/lib/common/constants.dart @@ -1,3 +1,5 @@ +import 'dart:convert'; + import 'package:flutter/material.dart'; class StyleString { @@ -22,8 +24,8 @@ class Constants { '11111111111111111111111111111111:1111111111111111:0:0'; static const String userAgent = 'Mozilla/5.0 BiliDroid/1.46.2 (bbcallen@gmail.com) os/android model/vivo mobi_app/android build/1462100 channel/bili innerVer/1462100 osVer/14 network/2'; - static const String statistics = - '%7B%22appId%22%3A5%2C%22platform%22%3A3%2C%22version%22%3A%221.46.2%22%2C%22abtest%22%3A%22%22%7D'; + static final String statistics = jsonEncode( + {"appId": 5, "platform": 3, "version": "1.46.2", "abtest": ""}); //Uri.encodeComponent('{"appId": 5,"platform": 3,"version": "1.46.2","abtest": ""}'); //内容来自 https://passport.bilibili.com/web/generic/country/list diff --git a/lib/common/widgets/badge.dart b/lib/common/widgets/badge.dart index 6b2a1d6d..378cd612 100644 --- a/lib/common/widgets/badge.dart +++ b/lib/common/widgets/badge.dart @@ -11,6 +11,7 @@ class PBadge extends StatelessWidget { final String? stack; final double? fs; final String? semanticsLabel; + final bool bold; const PBadge({ super.key, @@ -24,6 +25,7 @@ class PBadge extends StatelessWidget { this.stack = 'position', this.fs = 11, this.semanticsLabel, + this.bold = true, }); @override @@ -73,13 +75,13 @@ class PBadge extends StatelessWidget { height: 1, fontSize: fs ?? fontSize, color: color, - fontWeight: FontWeight.bold, + fontWeight: bold ? FontWeight.bold : null, ), strutStyle: StrutStyle( leading: 0, height: 1, fontSize: fs ?? fontSize, - fontWeight: FontWeight.bold, + fontWeight: bold ? FontWeight.bold : null, ), semanticsLabel: semanticsLabel, ), diff --git a/lib/common/widgets/dynamic_sliver_appbar.dart b/lib/common/widgets/dynamic_sliver_appbar.dart new file mode 100644 index 00000000..3aca8790 --- /dev/null +++ b/lib/common/widgets/dynamic_sliver_appbar.dart @@ -0,0 +1,197 @@ +import 'package:flutter/foundation.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; + +/// https://github.com/flutter/flutter/issues/18345#issuecomment-1627644396 +class DynamicSliverAppBar extends StatefulWidget { + const DynamicSliverAppBar({ + this.flexibleSpace, + super.key, + this.leading, + this.automaticallyImplyLeading = true, + this.title, + this.actions, + this.bottom, + this.elevation, + this.scrolledUnderElevation, + this.shadowColor, + this.surfaceTintColor, + this.forceElevated = false, + this.backgroundColor, + this.backgroundGradient, + this.foregroundColor, + this.iconTheme, + this.actionsIconTheme, + this.primary = true, + this.centerTitle, + this.excludeHeaderSemantics = false, + this.titleSpacing, + this.collapsedHeight, + this.expandedHeight, + this.floating = false, + this.pinned = false, + this.snap = false, + this.stretch = false, + this.stretchTriggerOffset = 100.0, + this.onStretchTrigger, + this.shape, + this.toolbarHeight = kToolbarHeight + 20, + this.leadingWidth, + this.toolbarTextStyle, + this.titleTextStyle, + this.systemOverlayStyle, + this.forceMaterialTransparency = false, + this.clipBehavior, + this.appBarClipper, + }); + + final Widget? flexibleSpace; + final Widget? leading; + final bool automaticallyImplyLeading; + final Widget? title; + final List? actions; + final PreferredSizeWidget? bottom; + final double? elevation; + final double? scrolledUnderElevation; + final Color? shadowColor; + final Color? surfaceTintColor; + final bool forceElevated; + final Color? backgroundColor; + + /// If backgroundGradient is non null, backgroundColor will be ignored + final LinearGradient? backgroundGradient; + final Color? foregroundColor; + final IconThemeData? iconTheme; + final IconThemeData? actionsIconTheme; + final bool primary; + final bool? centerTitle; + final bool excludeHeaderSemantics; + final double? titleSpacing; + final double? expandedHeight; + final double? collapsedHeight; + final bool floating; + final bool pinned; + final ShapeBorder? shape; + final double toolbarHeight; + final double? leadingWidth; + final TextStyle? toolbarTextStyle; + final TextStyle? titleTextStyle; + final SystemUiOverlayStyle? systemOverlayStyle; + final bool forceMaterialTransparency; + final Clip? clipBehavior; + final bool snap; + final bool stretch; + final double stretchTriggerOffset; + final AsyncCallback? onStretchTrigger; + final CustomClipper? appBarClipper; + + @override + _DynamicSliverAppBarState createState() => _DynamicSliverAppBarState(); +} + +class _DynamicSliverAppBarState extends State { + final GlobalKey _childKey = GlobalKey(); + + // As long as the height is 0 instead of the sliver app bar a sliver to box adapter will be used + // to calculate dynamically the size for the sliver app bar + double _height = 0; + + @override + void initState() { + super.initState(); + _updateHeight(); + } + + @override + void didUpdateWidget(covariant DynamicSliverAppBar oldWidget) { + super.didUpdateWidget(oldWidget); + _updateHeight(); + } + + void _updateHeight() { + // Gets the new height and updates the sliver app bar. Needs to be called after the last frame has been rebuild + // otherwise this will throw an error + WidgetsBinding.instance.addPostFrameCallback((timeStamp) { + if (_childKey.currentContext == null) return; + setState(() { + _height = (_childKey.currentContext!.findRenderObject()! as RenderBox) + .size + .height; + }); + }); + } + + @override + Widget build(BuildContext context) { + //Needed to lay out the flexibleSpace the first time, so we can calculate its intrinsic height + if (_height == 0) { + return SliverToBoxAdapter( + child: Stack( + children: [ + Padding( + // Padding which centers the flexible space within the app bar + padding: EdgeInsets.symmetric( + vertical: MediaQuery.paddingOf(context).top / 2), + child: Container( + key: _childKey, + child: + widget.flexibleSpace ?? SizedBox(height: kToolbarHeight)), + ), + Positioned.fill( + // 10 is the magic number which the app bar is pushed down within the sliver app bar. Couldnt find exactly where this number + // comes from and found it through trial and error. + top: 10, + child: Align( + alignment: Alignment.topCenter, + child: AppBar( + backgroundColor: Colors.transparent, + elevation: 0, + leading: widget.leading, + actions: widget.actions, + ), + ), + ) + ], + ), + ); + } + + return SliverAppBar( + leading: widget.leading, + automaticallyImplyLeading: widget.automaticallyImplyLeading, + title: widget.title, + actions: widget.actions, + bottom: widget.bottom, + elevation: widget.elevation, + scrolledUnderElevation: widget.scrolledUnderElevation, + shadowColor: widget.shadowColor, + surfaceTintColor: widget.surfaceTintColor, + forceElevated: widget.forceElevated, + backgroundColor: widget.backgroundColor, + foregroundColor: widget.foregroundColor, + iconTheme: widget.iconTheme, + actionsIconTheme: widget.actionsIconTheme, + primary: widget.primary, + centerTitle: widget.centerTitle, + excludeHeaderSemantics: widget.excludeHeaderSemantics, + titleSpacing: widget.titleSpacing, + collapsedHeight: widget.collapsedHeight, + floating: widget.floating, + pinned: widget.pinned, + snap: widget.snap, + stretch: widget.stretch, + stretchTriggerOffset: widget.stretchTriggerOffset, + onStretchTrigger: widget.onStretchTrigger, + shape: widget.shape, + toolbarHeight: widget.toolbarHeight, + expandedHeight: _height, + leadingWidth: widget.leadingWidth, + toolbarTextStyle: widget.toolbarTextStyle, + titleTextStyle: widget.titleTextStyle, + systemOverlayStyle: widget.systemOverlayStyle, + forceMaterialTransparency: widget.forceMaterialTransparency, + clipBehavior: widget.clipBehavior, + flexibleSpace: FlexibleSpaceBar(background: widget.flexibleSpace), + ); + } +} diff --git a/lib/common/widgets/network_img_layer.dart b/lib/common/widgets/network_img_layer.dart index e587e254..5e6fc584 100644 --- a/lib/common/widgets/network_img_layer.dart +++ b/lib/common/widgets/network_img_layer.dart @@ -24,6 +24,7 @@ class NetworkImgLayer extends StatelessWidget { this.semanticsLabel, this.ignoreHeight, this.radius, + this.imageBuilder, }); final String? src; @@ -37,6 +38,7 @@ class NetworkImgLayer extends StatelessWidget { final String? semanticsLabel; final bool? ignoreHeight; final double? radius; + final ImageWidgetBuilder? imageBuilder; @override Widget build(BuildContext context) { @@ -84,6 +86,7 @@ class NetworkImgLayer extends StatelessWidget { placeholder(context), placeholder: (BuildContext context, String url) => placeholder(context), + imageBuilder: imageBuilder, ), ) : placeholder(context); diff --git a/lib/common/widgets/video_card_h_member_video.dart b/lib/common/widgets/video_card_h_member_video.dart new file mode 100644 index 00000000..46412a97 --- /dev/null +++ b/lib/common/widgets/video_card_h_member_video.dart @@ -0,0 +1,261 @@ +import 'package:PiliPalaX/models/space_archive/item.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; +import 'package:get/get.dart'; +import '../../utils/utils.dart'; +import '../constants.dart'; +import 'badge.dart'; +import 'network_img_layer.dart'; + +// 视频卡片 - 水平布局 +class VideoCardHMemberVideo extends StatelessWidget { + const VideoCardHMemberVideo({ + super.key, + required this.videoItem, + this.longPress, + this.longPressEnd, + this.source = 'normal', + this.showOwner = true, + this.showView = true, + this.showDanmaku = true, + this.showPubdate = false, + }); + final Item videoItem; + final Function()? longPress; + final Function()? longPressEnd; + final String source; + final bool showOwner; + final bool showView; + final bool showDanmaku; + final bool showPubdate; + + @override + Widget build(BuildContext context) { + final int aid = int.tryParse(videoItem.param ?? '') ?? -1; + final String bvid = videoItem.bvid ?? ''; + String type = 'video'; + // try { + // type = videoItem.type; + // } catch (_) {} + // List actions = + // VideoCustomActions(videoItem, context).actions; + final String heroTag = Utils.makeHeroTag(aid); + return Stack(children: [ + Semantics( + // label: Utils.videoItemSemantics(videoItem), + excludeSemantics: true, + // customSemanticsActions: { + // for (var item in actions) + // CustomSemanticsAction(label: item.title): item.onTap!, + // }, + child: InkWell( + borderRadius: BorderRadius.circular(12), + onLongPress: () { + if (longPress != null) { + longPress!(); + } + }, + onTap: () async { + if (type == 'ketang') { + SmartDialog.showToast('课堂视频暂不支持播放'); + return; + } + try { + // PiliScheme.routePush(Uri.parse(videoItem.smallCoverV5.base.uri)); + // final int cid = + // videoItem.smallCoverV5.base.playerArgs.cid.toInt() ?? + // await SearchHttp.ab2c(aid: aid, bvid: bvid); + Get.toNamed('/video?bvid=$bvid&cid=${videoItem.firstCid}', + arguments: {'heroTag': heroTag}); + // Get.toNamed('/video?bvid=$bvid&cid=$cid', + // arguments: {'videoItem': videoItem, 'heroTag': heroTag}); + } catch (err) { + SmartDialog.showToast(err.toString()); + } + }, + child: LayoutBuilder( + builder: (BuildContext context, BoxConstraints boxConstraints) { + return Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + AspectRatio( + aspectRatio: StyleString.aspectRatio, + child: LayoutBuilder( + builder: (BuildContext context, + BoxConstraints boxConstraints) { + final double maxWidth = boxConstraints.maxWidth; + final double maxHeight = boxConstraints.maxHeight; + return Stack( + children: [ + Hero( + tag: heroTag, + child: NetworkImgLayer( + src: videoItem.cover, + width: maxWidth, + height: maxHeight, + ), + ), + if (videoItem.duration != null) + PBadge( + text: Utils.timeFormat(videoItem.duration), + right: 6.0, + bottom: 6.0, + type: 'gray', + ), + if (type != 'video') + PBadge( + text: type, + left: 6.0, + bottom: 6.0, + type: 'primary', + ), + // if (videoItem.rcmdReason != null && + // videoItem.rcmdReason.content != '') + // pBadge(videoItem.rcmdReason.content, context, + // 6.0, 6.0, null, null), + ], + ); + }, + ), + ), + VideoContent( + videoItem: videoItem, + source: source, + showOwner: showOwner, + showView: showView, + showDanmaku: showDanmaku, + showPubdate: showPubdate, + ) + ], + ); + }, + ), + ), + ), + // if (source == 'normal') + // Positioned( + // bottom: 0, + // right: 0, + // child: VideoPopupMenu( + // size: 29, + // iconSize: 17, + // actions: actions, + // ), + // ), + ]); + } +} + +class VideoContent extends StatelessWidget { + final Item videoItem; + final String source; + final bool showOwner; + final bool showView; + final bool showDanmaku; + final bool showPubdate; + + const VideoContent({ + super.key, + required this.videoItem, + this.source = 'normal', + this.showOwner = true, + this.showView = true, + this.showDanmaku = true, + this.showPubdate = false, + }); + + @override + Widget build(BuildContext context) { + // String pubdate = showPubdate + // ? Utils.dateFormat(videoItem.pubdate!, formatType: 'day') + // : ''; + // if (pubdate != '') pubdate += ' '; + return Expanded( + child: Padding( + padding: const EdgeInsets.fromLTRB(10, 0, 6, 0), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + ...[ + Expanded( + child: Text( + videoItem.title ?? '', + textAlign: TextAlign.start, + style: TextStyle( + fontWeight: FontWeight.w400, + fontSize: Theme.of(context).textTheme.bodyMedium!.fontSize, + height: 1.42, + letterSpacing: 0.3, + ), + maxLines: 2, + overflow: TextOverflow.ellipsis, + ), + ), + ], + // const Spacer(), + // if (videoItem.rcmdReason != null && + // videoItem.rcmdReason.content != '') + // Container( + // padding: const EdgeInsets.symmetric(vertical: 2, horizontal: 5), + // decoration: BoxDecoration( + // borderRadius: BorderRadius.circular(4), + // border: Border.all( + // color: Theme.of(context).colorScheme.surfaceTint), + // ), + // child: Text( + // videoItem.rcmdReason.content, + // style: TextStyle( + // fontSize: 9, + // color: Theme.of(context).colorScheme.surfaceTint), + // ), + // ), + // const SizedBox(height: 4), + if (showOwner || showPubdate) + Text( + videoItem.publishTimeText ?? '', + maxLines: 1, + style: TextStyle( + fontWeight: FontWeight.w400, + fontSize: Theme.of(context).textTheme.labelMedium!.fontSize, + height: 1, + color: Theme.of(context).colorScheme.outline, + overflow: TextOverflow.clip, + ), + ), + const SizedBox(height: 3), + Text( + '${videoItem.viewContent} · ${videoItem.danmaku}', + maxLines: 1, + style: TextStyle( + fontWeight: FontWeight.w400, + fontSize: Theme.of(context).textTheme.labelMedium!.fontSize, + height: 1, + color: Theme.of(context).colorScheme.outline, + overflow: TextOverflow.clip, + ), + ), + // Row( + // children: [ + // if (showView) ...[ + // StatView( + // theme: 'gray', + // view: videoItem.stat.view as int, + // ), + // const SizedBox(width: 8), + // ], + // if (showDanmaku) + // StatDanMu( + // theme: 'gray', + // danmu: videoItem.stat.danmu as int, + // ), + // const Spacer(), + // if (source == 'normal') const SizedBox(width: 24), + // ], + // ), + ], + ), + ), + ); + } +} diff --git a/lib/common/widgets/video_card_v_member_home.dart b/lib/common/widgets/video_card_v_member_home.dart new file mode 100644 index 00000000..73329cb9 --- /dev/null +++ b/lib/common/widgets/video_card_v_member_home.dart @@ -0,0 +1,358 @@ +import 'package:PiliPalaX/models/bangumi/info.dart'; +import 'package:PiliPalaX/models/space/item.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter/rendering.dart'; +import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; +import 'package:get/get.dart'; +import '../../models/home/rcmd/result.dart'; +import '../../models/model_rec_video_item.dart'; +import 'stat/danmu.dart'; +import 'stat/view.dart'; +import '../../http/dynamics.dart'; +import '../../http/search.dart'; +import '../../models/common/search_type.dart'; +import '../../utils/id_utils.dart'; +import '../../utils/utils.dart'; +import '../constants.dart'; +import 'badge.dart'; +import 'network_img_layer.dart'; +import 'video_popup_menu.dart'; + +// 视频卡片 - 垂直布局 +class VideoCardVMemberHome extends StatelessWidget { + final Item videoItem; + final Function()? longPress; + final Function()? longPressEnd; + + const VideoCardVMemberHome({ + super.key, + required this.videoItem, + this.longPress, + this.longPressEnd, + }); + + bool isStringNumeric(String str) { + RegExp numericRegex = RegExp(r'^\d+$'); + return numericRegex.hasMatch(str); + } + + void onPushDetail(heroTag) async { + String goto = videoItem.goto ?? ''; + switch (goto) { + // case 'bangumi': + // if (videoItem.bangumiBadge == '电影') { + // SmartDialog.showToast('暂不支持电影观看'); + // return; + // } + // int epId = videoItem.param; + // Utils.viewBangumi(epId: epId); + + // SmartDialog.showLoading(msg: '资源获取中'); + // var result = await SearchHttp.bangumiInfo(seasonId: null, epId: epId); + // SmartDialog.dismiss(); + // if (result['status']) { + // var bangumiDetail = result['data']; + // EpisodeItem episode = result['data'].episodes.first; + // int? epId = result['data'].userStatus?.progress?.lastEpId; + // if (epId == null) { + // epId = episode.epId; + // } else { + // for (var item in result['data'].episodes) { + // if (item.epId == epId) { + // episode = item; + // break; + // } + // } + // } + // String bvid = episode.bvid!; + // int cid = episode.cid!; + // String pic = episode.cover!; + // String seasonId = bangumiDetail.seasonId; + // dynamic heroTag = Utils.makeHeroTag(cid); + // Get.toNamed( + // '/video?bvid=$bvid&cid=$cid&seasonId=$seasonId&epId=$epId', + // arguments: { + // 'pic': pic, + // 'heroTag': heroTag, + // 'videoType': SearchType.media_bangumi, + // }, + // ); + // } else { + // SmartDialog.showToast(result['msg']); + // } + // break; + case 'av': + String bvid = videoItem.bvid ?? ''; + Get.toNamed('/video?bvid=$bvid&cid=${videoItem.firstCid}', arguments: { + // 'videoItem': videoItem, + 'pic': videoItem.cover, + 'heroTag': heroTag, + }); + break; + // 动态 + // case 'picture': + // try { + // String dynamicType = 'picture'; + // String uri = videoItem.uri; + // String id = ''; + // if (videoItem.uri.startsWith('bilibili://article/')) { + // // https://www.bilibili.com/read/cv27063554 + // dynamicType = 'read'; + // RegExp regex = RegExp(r'\d+'); + // Match match = regex.firstMatch(videoItem.uri)!; + // String matchedNumber = match.group(0)!; + // videoItem.param = int.parse(matchedNumber); + // id = 'cv${videoItem.param}'; + // } + // if (uri.startsWith('http')) { + // String path = Uri.parse(uri).path; + // if (isStringNumeric(path.split('/')[1])) { + // // 请求接口 + // var res = + // await DynamicsHttp.dynamicDetail(id: path.split('/')[1]); + // if (res['status']) { + // Get.toNamed('/dynamicDetail', arguments: { + // 'item': res['data'], + // 'floor': 1, + // 'action': 'detail' + // }); + // } else { + // SmartDialog.showToast(res['msg']); + // } + // return; + // } + // } + // Get.toNamed('/htmlRender', parameters: { + // 'url': uri, + // 'title': videoItem.title, + // 'id': id, + // 'dynamicType': dynamicType + // }); + // } catch (err) { + // SmartDialog.showToast(err.toString()); + // } + // break; + default: + SmartDialog.showToast(goto); + Get.toNamed( + '/webviewnew', + parameters: { + 'url': videoItem.uri ?? '', + 'type': 'url', + 'pageTitle': videoItem.title ?? '', + }, + ); + } + } + + @override + Widget build(BuildContext context) { + String heroTag = Utils.makeHeroTag(videoItem.bvid); + // List actions = + // VideoCustomActions(videoItem, context).actions; + return Stack(children: [ + Semantics( + // label: Utils.videoItemSemantics(videoItem), + excludeSemantics: true, + // customSemanticsActions: { + // for (var item in actions) + // CustomSemanticsAction(label: item.title): item.onTap!, + // }, + child: Card( + clipBehavior: Clip.hardEdge, + margin: EdgeInsets.zero, + child: InkWell( + onTap: () async => onPushDetail(heroTag), + onLongPress: () { + if (longPress != null) { + longPress!(); + } + }, + child: Column( + children: [ + AspectRatio( + aspectRatio: StyleString.aspectRatio, + child: LayoutBuilder(builder: (context, boxConstraints) { + double maxWidth = boxConstraints.maxWidth; + double maxHeight = boxConstraints.maxHeight; + return Stack( + children: [ + Hero( + tag: heroTag, + child: NetworkImgLayer( + src: videoItem.cover, + width: maxWidth, + height: maxHeight, + ), + ), + if ((videoItem.duration ?? -1) > 0) + PBadge( + bottom: 6, + right: 7, + size: 'small', + type: 'gray', + text: Utils.timeFormat(videoItem.duration), + // semanticsLabel: + // '时长${Utils.durationReadFormat(Utils.timeFormat(videoItem.duration))}', + ) + ], + ); + }), + ), + videoContent(context, videoItem) + ], + ), + ), + ), + ), + // if (videoItem.goto == 'av') + // Positioned( + // right: -5, + // bottom: -2, + // child: VideoPopupMenu( + // size: 29, + // iconSize: 17, + // actions: actions, + // )), + ]); + } +} + +Widget videoContent(BuildContext context, Item videoItem) { + return Expanded( + child: Padding( + padding: const EdgeInsets.fromLTRB(6, 5, 6, 5), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + // mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Row( + children: [ + Expanded( + child: Text('${videoItem.title}\n', + // semanticsLabel: "${videoItem.title}", + maxLines: 2, + overflow: TextOverflow.ellipsis, + style: const TextStyle( + fontWeight: FontWeight.w400, + height: 1.38, + )), + ), + ], + ), + const Spacer(), + // const SizedBox(height: 2), + // VideoStat( + // videoItem: videoItem, + // ), + Row( + children: [ + // if (videoItem.goto == 'bangumi') ...[ + // PBadge( + // text: videoItem.bangumiBadge, + // stack: 'normal', + // size: 'small', + // type: 'line', + // fs: 9, + // ) + // ], + // if (videoItem.rcmdReason != null) ...[ + // PBadge( + // text: videoItem.rcmdReason, + // stack: 'normal', + // size: 'small', + // type: 'color', + // ) + // ], + if (videoItem.goto == 'picture') ...[ + const PBadge( + text: '动态', + stack: 'normal', + size: 'small', + type: 'line', + fs: 9, + ) + ], + // if (videoItem.isFollowed == 1) ...[ + // const PBadge( + // text: '已关注', + // stack: 'normal', + // size: 'small', + // type: 'color', + // ) + // ], + Expanded( + flex: 1, + child: Text( + videoItem.author ?? '', + // semanticsLabel: "Up主:${videoItem.owner.name}", + maxLines: 1, + overflow: TextOverflow.clip, + style: TextStyle( + height: 1.5, + fontSize: Theme.of(context).textTheme.labelMedium!.fontSize, + color: Theme.of(context).colorScheme.outline, + ), + ), + ), + if (videoItem.goto == 'av') const SizedBox(width: 10) + ], + ), + ], + ), + ), + ); +} + +// Widget videoStat(BuildContext context, Item videoItem) { +// return Row( +// children: [ +// StatView( +// theme: 'gray', +// view: videoItem.stat.view, +// goto: videoItem.goto, +// ), +// const SizedBox(width: 6), +// if (videoItem.goto != 'picture') +// StatDanMu( +// theme: 'gray', +// danmu: videoItem.stat.danmu, +// ), +// if (videoItem is RecVideoItemModel) ...[ +// const Spacer(), +// Expanded( +// flex: 0, +// child: RichText( +// maxLines: 1, +// text: TextSpan( +// style: TextStyle( +// fontSize: Theme.of(context).textTheme.labelSmall!.fontSize, +// color: +// Theme.of(context).colorScheme.outline.withOpacity(0.8), +// ), +// text: Utils.formatTimestampToRelativeTime(videoItem.pubdate)), +// )), +// const SizedBox(width: 2), +// ], +// if (videoItem is RecVideoItemAppModel && +// videoItem.desc != null && +// videoItem.desc.contains(' · ')) ...[ +// const Spacer(), +// Expanded( +// flex: 0, +// child: RichText( +// maxLines: 1, +// text: TextSpan( +// style: TextStyle( +// fontSize: Theme.of(context).textTheme.labelSmall!.fontSize, +// color: +// Theme.of(context).colorScheme.outline.withOpacity(0.8), +// ), +// text: Utils.shortenChineseDateString( +// videoItem.desc.split(' · ').last)), +// )), +// const SizedBox(width: 2), +// ] +// ], +// ); +// } diff --git a/lib/grpc/app/dynamic/v2/dynamic.pb.dart b/lib/grpc/app/dynamic/v2/dynamic.pb.dart new file mode 100644 index 00000000..5baedbea --- /dev/null +++ b/lib/grpc/app/dynamic/v2/dynamic.pb.dart @@ -0,0 +1,47878 @@ +// +// Generated code. Do not modify. +// source: bilibili/app/dynamic/v2/dynamic.proto +// +// @dart = 2.12 + +// 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 '../../../google/protobuf/any.pb.dart' as $2; +import '../../../dagw/component/avatar/v1/avatar.pb.dart' as $3; +import '../../archive/middleware/v1/preload.pb.dart' as $1; +import 'dynamic.pbenum.dart'; + +export 'dynamic.pbenum.dart'; + +/// 活动皮肤 +class AdditionalActSkin extends $pb.GeneratedMessage { + factory AdditionalActSkin({ + $core.String? svga, + $core.String? lastImage, + $fixnum.Int64? playTimes, + }) { + final $result = create(); + if (svga != null) { + $result.svga = svga; + } + if (lastImage != null) { + $result.lastImage = lastImage; + } + if (playTimes != null) { + $result.playTimes = playTimes; + } + return $result; + } + AdditionalActSkin._() : super(); + factory AdditionalActSkin.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionalActSkin.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionalActSkin', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'svga') + ..aOS(2, _omitFieldNames ? '' : 'lastImage') + ..aInt64(3, _omitFieldNames ? '' : 'playTimes') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionalActSkin clone() => AdditionalActSkin()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionalActSkin copyWith(void Function(AdditionalActSkin) updates) => + super.copyWith((message) => updates(message as AdditionalActSkin)) + as AdditionalActSkin; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionalActSkin create() => AdditionalActSkin._(); + AdditionalActSkin createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionalActSkin getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionalActSkin? _defaultInstance; + + /// 动画SVGA资源 + @$pb.TagNumber(1) + $core.String get svga => $_getSZ(0); + @$pb.TagNumber(1) + set svga($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasSvga() => $_has(0); + @$pb.TagNumber(1) + void clearSvga() => clearField(1); + + /// 动画SVGA最后一帧图片资源 + @$pb.TagNumber(2) + $core.String get lastImage => $_getSZ(1); + @$pb.TagNumber(2) + set lastImage($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasLastImage() => $_has(1); + @$pb.TagNumber(2) + void clearLastImage() => clearField(2); + + /// 动画播放次数 + @$pb.TagNumber(3) + $fixnum.Int64 get playTimes => $_getI64(2); + @$pb.TagNumber(3) + set playTimes($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasPlayTimes() => $_has(2); + @$pb.TagNumber(3) + void clearPlayTimes() => clearField(3); +} + +/// 动态-附加卡-按钮 +class AdditionalButton extends $pb.GeneratedMessage { + factory AdditionalButton({ + AddButtonType? type, + AdditionalButtonStyle? jumpStyle, + $core.String? jumpUrl, + AdditionalButtonStyle? uncheck, + AdditionalButtonStyle? check_5, + AdditionalButtonStatus? status, + AdditionalButtonClickType? clickType, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (jumpStyle != null) { + $result.jumpStyle = jumpStyle; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + if (uncheck != null) { + $result.uncheck = uncheck; + } + if (check_5 != null) { + $result.check_5 = check_5; + } + if (status != null) { + $result.status = status; + } + if (clickType != null) { + $result.clickType = clickType; + } + return $result; + } + AdditionalButton._() : super(); + factory AdditionalButton.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionalButton.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionalButton', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: AddButtonType.bt_none, + valueOf: AddButtonType.valueOf, + enumValues: AddButtonType.values) + ..aOM(2, _omitFieldNames ? '' : 'jumpStyle', + subBuilder: AdditionalButtonStyle.create) + ..aOS(3, _omitFieldNames ? '' : 'jumpUrl') + ..aOM(4, _omitFieldNames ? '' : 'uncheck', + subBuilder: AdditionalButtonStyle.create) + ..aOM(5, _omitFieldNames ? '' : 'check', + subBuilder: AdditionalButtonStyle.create) + ..e( + 6, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, + defaultOrMaker: AdditionalButtonStatus.none, + valueOf: AdditionalButtonStatus.valueOf, + enumValues: AdditionalButtonStatus.values) + ..e( + 7, _omitFieldNames ? '' : 'clickType', $pb.PbFieldType.OE, + defaultOrMaker: AdditionalButtonClickType.click_none, + valueOf: AdditionalButtonClickType.valueOf, + enumValues: AdditionalButtonClickType.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') + AdditionalButton clone() => AdditionalButton()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionalButton copyWith(void Function(AdditionalButton) updates) => + super.copyWith((message) => updates(message as AdditionalButton)) + as AdditionalButton; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionalButton create() => AdditionalButton._(); + AdditionalButton createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionalButton getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionalButton? _defaultInstance; + + /// 按钮类型 + @$pb.TagNumber(1) + AddButtonType get type => $_getN(0); + @$pb.TagNumber(1) + set type(AddButtonType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + /// jump-跳转样式 + @$pb.TagNumber(2) + AdditionalButtonStyle get jumpStyle => $_getN(1); + @$pb.TagNumber(2) + set jumpStyle(AdditionalButtonStyle v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasJumpStyle() => $_has(1); + @$pb.TagNumber(2) + void clearJumpStyle() => clearField(2); + @$pb.TagNumber(2) + AdditionalButtonStyle ensureJumpStyle() => $_ensure(1); + + /// jump-跳转链接 + @$pb.TagNumber(3) + $core.String get jumpUrl => $_getSZ(2); + @$pb.TagNumber(3) + set jumpUrl($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasJumpUrl() => $_has(2); + @$pb.TagNumber(3) + void clearJumpUrl() => clearField(3); + + /// button-未点样式 + @$pb.TagNumber(4) + AdditionalButtonStyle get uncheck => $_getN(3); + @$pb.TagNumber(4) + set uncheck(AdditionalButtonStyle v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasUncheck() => $_has(3); + @$pb.TagNumber(4) + void clearUncheck() => clearField(4); + @$pb.TagNumber(4) + AdditionalButtonStyle ensureUncheck() => $_ensure(3); + + /// button-已点样式 + @$pb.TagNumber(5) + AdditionalButtonStyle get check_5 => $_getN(4); + @$pb.TagNumber(5) + set check_5(AdditionalButtonStyle v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasCheck_5() => $_has(4); + @$pb.TagNumber(5) + void clearCheck_5() => clearField(5); + @$pb.TagNumber(5) + AdditionalButtonStyle ensureCheck_5() => $_ensure(4); + + /// button-当前状态 + @$pb.TagNumber(6) + AdditionalButtonStatus get status => $_getN(5); + @$pb.TagNumber(6) + set status(AdditionalButtonStatus v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasStatus() => $_has(5); + @$pb.TagNumber(6) + void clearStatus() => clearField(6); + + /// 按钮点击样式 + @$pb.TagNumber(7) + AdditionalButtonClickType get clickType => $_getN(6); + @$pb.TagNumber(7) + set clickType(AdditionalButtonClickType v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasClickType() => $_has(6); + @$pb.TagNumber(7) + void clearClickType() => clearField(7); +} + +class AdditionalButtonInteractive extends $pb.GeneratedMessage { + factory AdditionalButtonInteractive({ + $core.String? popups, + $core.String? confirm, + $core.String? cancel, + $core.String? desc, + }) { + final $result = create(); + if (popups != null) { + $result.popups = popups; + } + if (confirm != null) { + $result.confirm = confirm; + } + if (cancel != null) { + $result.cancel = cancel; + } + if (desc != null) { + $result.desc = desc; + } + return $result; + } + AdditionalButtonInteractive._() : super(); + factory AdditionalButtonInteractive.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionalButtonInteractive.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionalButtonInteractive', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'popups') + ..aOS(2, _omitFieldNames ? '' : 'confirm') + ..aOS(3, _omitFieldNames ? '' : 'cancel') + ..aOS(4, _omitFieldNames ? '' : 'desc') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionalButtonInteractive clone() => + AdditionalButtonInteractive()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionalButtonInteractive copyWith( + void Function(AdditionalButtonInteractive) updates) => + super.copyWith( + (message) => updates(message as AdditionalButtonInteractive)) + as AdditionalButtonInteractive; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionalButtonInteractive create() => + AdditionalButtonInteractive._(); + AdditionalButtonInteractive createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionalButtonInteractive getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionalButtonInteractive? _defaultInstance; + + /// 是否弹窗 + @$pb.TagNumber(1) + $core.String get popups => $_getSZ(0); + @$pb.TagNumber(1) + set popups($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasPopups() => $_has(0); + @$pb.TagNumber(1) + void clearPopups() => clearField(1); + + /// 弹窗确认文案 + @$pb.TagNumber(2) + $core.String get confirm => $_getSZ(1); + @$pb.TagNumber(2) + set confirm($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasConfirm() => $_has(1); + @$pb.TagNumber(2) + void clearConfirm() => clearField(2); + + /// 弹窗取消文案 + @$pb.TagNumber(3) + $core.String get cancel => $_getSZ(2); + @$pb.TagNumber(3) + set cancel($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCancel() => $_has(2); + @$pb.TagNumber(3) + void clearCancel() => clearField(3); + + @$pb.TagNumber(4) + $core.String get desc => $_getSZ(3); + @$pb.TagNumber(4) + set desc($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDesc() => $_has(3); + @$pb.TagNumber(4) + void clearDesc() => clearField(4); +} + +class AdditionalButtonShare extends $pb.GeneratedMessage { + factory AdditionalButtonShare({ + $core.int? show, + $core.String? icon, + $core.String? text, + }) { + final $result = create(); + if (show != null) { + $result.show = show; + } + if (icon != null) { + $result.icon = icon; + } + if (text != null) { + $result.text = text; + } + return $result; + } + AdditionalButtonShare._() : super(); + factory AdditionalButtonShare.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionalButtonShare.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionalButtonShare', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'show', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'icon') + ..aOS(3, _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') + AdditionalButtonShare clone() => + AdditionalButtonShare()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionalButtonShare copyWith( + void Function(AdditionalButtonShare) updates) => + super.copyWith((message) => updates(message as AdditionalButtonShare)) + as AdditionalButtonShare; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionalButtonShare create() => AdditionalButtonShare._(); + AdditionalButtonShare createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionalButtonShare getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionalButtonShare? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get show => $_getIZ(0); + @$pb.TagNumber(1) + set show($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasShow() => $_has(0); + @$pb.TagNumber(1) + void clearShow() => 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 text => $_getSZ(2); + @$pb.TagNumber(3) + set text($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasText() => $_has(2); + @$pb.TagNumber(3) + void clearText() => clearField(3); +} + +/// 动态-附加卡-按钮样式 +class AdditionalButtonStyle extends $pb.GeneratedMessage { + factory AdditionalButtonStyle({ + $core.String? icon, + $core.String? text, + AdditionalButtonInteractive? interactive, + AddButtonBgStyle? bgStyle, + $core.String? toast, + DisableState? disable, + AdditionalButtonShare? share, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (text != null) { + $result.text = text; + } + if (interactive != null) { + $result.interactive = interactive; + } + if (bgStyle != null) { + $result.bgStyle = bgStyle; + } + if (toast != null) { + $result.toast = toast; + } + if (disable != null) { + $result.disable = disable; + } + if (share != null) { + $result.share = share; + } + return $result; + } + AdditionalButtonStyle._() : super(); + factory AdditionalButtonStyle.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionalButtonStyle.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionalButtonStyle', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'text') + ..aOM(3, _omitFieldNames ? '' : 'interactive', + subBuilder: AdditionalButtonInteractive.create) + ..e( + 4, _omitFieldNames ? '' : 'bgStyle', $pb.PbFieldType.OE, + defaultOrMaker: AddButtonBgStyle.fill, + valueOf: AddButtonBgStyle.valueOf, + enumValues: AddButtonBgStyle.values) + ..aOS(5, _omitFieldNames ? '' : 'toast') + ..e(6, _omitFieldNames ? '' : 'disable', $pb.PbFieldType.OE, + defaultOrMaker: DisableState.highlight, + valueOf: DisableState.valueOf, + enumValues: DisableState.values) + ..aOM(7, _omitFieldNames ? '' : 'share', + subBuilder: AdditionalButtonShare.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') + AdditionalButtonStyle clone() => + AdditionalButtonStyle()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionalButtonStyle copyWith( + void Function(AdditionalButtonStyle) updates) => + super.copyWith((message) => updates(message as AdditionalButtonStyle)) + as AdditionalButtonStyle; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionalButtonStyle create() => AdditionalButtonStyle._(); + AdditionalButtonStyle createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionalButtonStyle getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionalButtonStyle? _defaultInstance; + + /// icon + @$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); + + /// 按钮点击交互 + @$pb.TagNumber(3) + AdditionalButtonInteractive get interactive => $_getN(2); + @$pb.TagNumber(3) + set interactive(AdditionalButtonInteractive v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasInteractive() => $_has(2); + @$pb.TagNumber(3) + void clearInteractive() => clearField(3); + @$pb.TagNumber(3) + AdditionalButtonInteractive ensureInteractive() => $_ensure(2); + + /// 当前按钮填充样式 + @$pb.TagNumber(4) + AddButtonBgStyle get bgStyle => $_getN(3); + @$pb.TagNumber(4) + set bgStyle(AddButtonBgStyle v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasBgStyle() => $_has(3); + @$pb.TagNumber(4) + void clearBgStyle() => clearField(4); + + /// toast文案, 当disable=1时有效 + @$pb.TagNumber(5) + $core.String get toast => $_getSZ(4); + @$pb.TagNumber(5) + set toast($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasToast() => $_has(4); + @$pb.TagNumber(5) + void clearToast() => clearField(5); + + /// 当前按钮样式, + /// 0:高亮 1:置灰(按钮不可点击) + @$pb.TagNumber(6) + DisableState get disable => $_getN(5); + @$pb.TagNumber(6) + set disable(DisableState v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasDisable() => $_has(5); + @$pb.TagNumber(6) + void clearDisable() => clearField(6); + + @$pb.TagNumber(7) + AdditionalButtonShare get share => $_getN(6); + @$pb.TagNumber(7) + set share(AdditionalButtonShare v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasShare() => $_has(6); + @$pb.TagNumber(7) + void clearShare() => clearField(7); + @$pb.TagNumber(7) + AdditionalButtonShare ensureShare() => $_ensure(6); +} + +/// 动态-附加卡-番剧卡 +class AdditionalPGC extends $pb.GeneratedMessage { + factory AdditionalPGC({ + $core.String? headText, + $core.String? title, + $core.String? imageUrl, + $core.String? descText1, + $core.String? descText2, + $core.String? url, + AdditionalButton? button, + $core.String? headIcon, + ImageStyle? style, + $core.String? type, + }) { + final $result = create(); + if (headText != null) { + $result.headText = headText; + } + if (title != null) { + $result.title = title; + } + if (imageUrl != null) { + $result.imageUrl = imageUrl; + } + if (descText1 != null) { + $result.descText1 = descText1; + } + if (descText2 != null) { + $result.descText2 = descText2; + } + if (url != null) { + $result.url = url; + } + if (button != null) { + $result.button = button; + } + if (headIcon != null) { + $result.headIcon = headIcon; + } + if (style != null) { + $result.style = style; + } + if (type != null) { + $result.type = type; + } + return $result; + } + AdditionalPGC._() : super(); + factory AdditionalPGC.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionalPGC.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionalPGC', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'headText') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'imageUrl') + ..aOS(4, _omitFieldNames ? '' : 'descText1', protoName: 'desc_text_1') + ..aOS(5, _omitFieldNames ? '' : 'descText2', protoName: 'desc_text_2') + ..aOS(6, _omitFieldNames ? '' : 'url') + ..aOM(7, _omitFieldNames ? '' : 'button', + subBuilder: AdditionalButton.create) + ..aOS(8, _omitFieldNames ? '' : 'headIcon') + ..e(9, _omitFieldNames ? '' : 'style', $pb.PbFieldType.OE, + defaultOrMaker: ImageStyle.add_style_vertical, + valueOf: ImageStyle.valueOf, + enumValues: ImageStyle.values) + ..aOS(10, _omitFieldNames ? '' : 'type') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionalPGC clone() => AdditionalPGC()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionalPGC copyWith(void Function(AdditionalPGC) updates) => + super.copyWith((message) => updates(message as AdditionalPGC)) + as AdditionalPGC; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionalPGC create() => AdditionalPGC._(); + AdditionalPGC createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionalPGC getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionalPGC? _defaultInstance; + + /// 头部说明文案 + @$pb.TagNumber(1) + $core.String get headText => $_getSZ(0); + @$pb.TagNumber(1) + set headText($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHeadText() => $_has(0); + @$pb.TagNumber(1) + void clearHeadText() => 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 imageUrl => $_getSZ(2); + @$pb.TagNumber(3) + set imageUrl($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasImageUrl() => $_has(2); + @$pb.TagNumber(3) + void clearImageUrl() => clearField(3); + + /// 描述文字1 + @$pb.TagNumber(4) + $core.String get descText1 => $_getSZ(3); + @$pb.TagNumber(4) + set descText1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDescText1() => $_has(3); + @$pb.TagNumber(4) + void clearDescText1() => clearField(4); + + /// 描述文字2 + @$pb.TagNumber(5) + $core.String get descText2 => $_getSZ(4); + @$pb.TagNumber(5) + set descText2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDescText2() => $_has(4); + @$pb.TagNumber(5) + void clearDescText2() => clearField(5); + + /// 点击跳转链接 + @$pb.TagNumber(6) + $core.String get url => $_getSZ(5); + @$pb.TagNumber(6) + set url($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasUrl() => $_has(5); + @$pb.TagNumber(6) + void clearUrl() => clearField(6); + + /// 按钮 + @$pb.TagNumber(7) + AdditionalButton get button => $_getN(6); + @$pb.TagNumber(7) + set button(AdditionalButton v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasButton() => $_has(6); + @$pb.TagNumber(7) + void clearButton() => clearField(7); + @$pb.TagNumber(7) + AdditionalButton ensureButton() => $_ensure(6); + + /// 头部icon + @$pb.TagNumber(8) + $core.String get headIcon => $_getSZ(7); + @$pb.TagNumber(8) + set headIcon($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasHeadIcon() => $_has(7); + @$pb.TagNumber(8) + void clearHeadIcon() => clearField(8); + + /// style + @$pb.TagNumber(9) + ImageStyle get style => $_getN(8); + @$pb.TagNumber(9) + set style(ImageStyle v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasStyle() => $_has(8); + @$pb.TagNumber(9) + void clearStyle() => clearField(9); + + /// 动态本身的类型 type + @$pb.TagNumber(10) + $core.String get type => $_getSZ(9); + @$pb.TagNumber(10) + set type($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasType() => $_has(9); + @$pb.TagNumber(10) + void clearType() => clearField(10); +} + +/// 动态-附加卡-专栏 +class AdditionArticle extends $pb.GeneratedMessage { + factory AdditionArticle({ + $core.String? title, + MdlDynDrawItem? cover, + $core.String? descTextLeft, + $core.String? descTextRight, + $core.String? uri, + $core.String? cardType, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (descTextLeft != null) { + $result.descTextLeft = descTextLeft; + } + if (descTextRight != null) { + $result.descTextRight = descTextRight; + } + if (uri != null) { + $result.uri = uri; + } + if (cardType != null) { + $result.cardType = cardType; + } + return $result; + } + AdditionArticle._() : super(); + factory AdditionArticle.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionArticle.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionArticle', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOM(2, _omitFieldNames ? '' : 'cover', + subBuilder: MdlDynDrawItem.create) + ..aOS(3, _omitFieldNames ? '' : 'descTextLeft') + ..aOS(4, _omitFieldNames ? '' : 'descTextRight') + ..aOS(5, _omitFieldNames ? '' : 'uri') + ..aOS(6, _omitFieldNames ? '' : 'cardType') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionArticle clone() => AdditionArticle()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionArticle copyWith(void Function(AdditionArticle) updates) => + super.copyWith((message) => updates(message as AdditionArticle)) + as AdditionArticle; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionArticle create() => AdditionArticle._(); + AdditionArticle createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionArticle getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionArticle? _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) + MdlDynDrawItem get cover => $_getN(1); + @$pb.TagNumber(2) + set cover(MdlDynDrawItem v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + @$pb.TagNumber(2) + MdlDynDrawItem ensureCover() => $_ensure(1); + + @$pb.TagNumber(3) + $core.String get descTextLeft => $_getSZ(2); + @$pb.TagNumber(3) + set descTextLeft($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDescTextLeft() => $_has(2); + @$pb.TagNumber(3) + void clearDescTextLeft() => clearField(3); + + @$pb.TagNumber(4) + $core.String get descTextRight => $_getSZ(3); + @$pb.TagNumber(4) + set descTextRight($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDescTextRight() => $_has(3); + @$pb.TagNumber(4) + void clearDescTextRight() => clearField(4); + + @$pb.TagNumber(5) + $core.String get uri => $_getSZ(4); + @$pb.TagNumber(5) + set uri($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasUri() => $_has(4); + @$pb.TagNumber(5) + void clearUri() => clearField(5); + + @$pb.TagNumber(6) + $core.String get cardType => $_getSZ(5); + @$pb.TagNumber(6) + set cardType($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCardType() => $_has(5); + @$pb.TagNumber(6) + void clearCardType() => clearField(6); +} + +/// 动态-附加卡-通用卡 +class AdditionCommon extends $pb.GeneratedMessage { + factory AdditionCommon({ + $core.String? headText, + $core.String? title, + $core.String? imageUrl, + $core.String? descText1, + $core.String? descText2, + $core.String? url, + AdditionalButton? button, + $core.String? headIcon, + ImageStyle? style, + $core.String? type, + $core.String? cardType, + }) { + final $result = create(); + if (headText != null) { + $result.headText = headText; + } + if (title != null) { + $result.title = title; + } + if (imageUrl != null) { + $result.imageUrl = imageUrl; + } + if (descText1 != null) { + $result.descText1 = descText1; + } + if (descText2 != null) { + $result.descText2 = descText2; + } + if (url != null) { + $result.url = url; + } + if (button != null) { + $result.button = button; + } + if (headIcon != null) { + $result.headIcon = headIcon; + } + if (style != null) { + $result.style = style; + } + if (type != null) { + $result.type = type; + } + if (cardType != null) { + $result.cardType = cardType; + } + return $result; + } + AdditionCommon._() : super(); + factory AdditionCommon.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionCommon.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionCommon', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'headText') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'imageUrl') + ..aOS(4, _omitFieldNames ? '' : 'descText1', protoName: 'desc_text_1') + ..aOS(5, _omitFieldNames ? '' : 'descText2', protoName: 'desc_text_2') + ..aOS(6, _omitFieldNames ? '' : 'url') + ..aOM(7, _omitFieldNames ? '' : 'button', + subBuilder: AdditionalButton.create) + ..aOS(8, _omitFieldNames ? '' : 'headIcon') + ..e(9, _omitFieldNames ? '' : 'style', $pb.PbFieldType.OE, + defaultOrMaker: ImageStyle.add_style_vertical, + valueOf: ImageStyle.valueOf, + enumValues: ImageStyle.values) + ..aOS(10, _omitFieldNames ? '' : 'type') + ..aOS(11, _omitFieldNames ? '' : 'cardType') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionCommon clone() => AdditionCommon()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionCommon copyWith(void Function(AdditionCommon) updates) => + super.copyWith((message) => updates(message as AdditionCommon)) + as AdditionCommon; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionCommon create() => AdditionCommon._(); + AdditionCommon createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionCommon getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionCommon? _defaultInstance; + + /// 头部说明文案 + @$pb.TagNumber(1) + $core.String get headText => $_getSZ(0); + @$pb.TagNumber(1) + set headText($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHeadText() => $_has(0); + @$pb.TagNumber(1) + void clearHeadText() => 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 imageUrl => $_getSZ(2); + @$pb.TagNumber(3) + set imageUrl($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasImageUrl() => $_has(2); + @$pb.TagNumber(3) + void clearImageUrl() => clearField(3); + + /// 描述文字1 + @$pb.TagNumber(4) + $core.String get descText1 => $_getSZ(3); + @$pb.TagNumber(4) + set descText1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDescText1() => $_has(3); + @$pb.TagNumber(4) + void clearDescText1() => clearField(4); + + /// 描述文字2 + @$pb.TagNumber(5) + $core.String get descText2 => $_getSZ(4); + @$pb.TagNumber(5) + set descText2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDescText2() => $_has(4); + @$pb.TagNumber(5) + void clearDescText2() => clearField(5); + + /// 点击跳转链接 + @$pb.TagNumber(6) + $core.String get url => $_getSZ(5); + @$pb.TagNumber(6) + set url($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasUrl() => $_has(5); + @$pb.TagNumber(6) + void clearUrl() => clearField(6); + + /// 按钮 + @$pb.TagNumber(7) + AdditionalButton get button => $_getN(6); + @$pb.TagNumber(7) + set button(AdditionalButton v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasButton() => $_has(6); + @$pb.TagNumber(7) + void clearButton() => clearField(7); + @$pb.TagNumber(7) + AdditionalButton ensureButton() => $_ensure(6); + + /// 头部icon + @$pb.TagNumber(8) + $core.String get headIcon => $_getSZ(7); + @$pb.TagNumber(8) + set headIcon($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasHeadIcon() => $_has(7); + @$pb.TagNumber(8) + void clearHeadIcon() => clearField(8); + + /// style + @$pb.TagNumber(9) + ImageStyle get style => $_getN(8); + @$pb.TagNumber(9) + set style(ImageStyle v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasStyle() => $_has(8); + @$pb.TagNumber(9) + void clearStyle() => clearField(9); + + /// 动态本身的类型 type + @$pb.TagNumber(10) + $core.String get type => $_getSZ(9); + @$pb.TagNumber(10) + set type($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasType() => $_has(9); + @$pb.TagNumber(10) + void clearType() => clearField(10); + + /// 附加卡类型 + @$pb.TagNumber(11) + $core.String get cardType => $_getSZ(10); + @$pb.TagNumber(11) + set cardType($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasCardType() => $_has(10); + @$pb.TagNumber(11) + void clearCardType() => clearField(11); +} + +enum AdditionEsport_Item { additionEsportMoba, notSet } + +/// 动态-附加卡-电竞卡 +class AdditionEsport extends $pb.GeneratedMessage { + factory AdditionEsport({ + EspaceStyle? style, + AdditionEsportMoba? additionEsportMoba, + $core.String? type, + $core.String? cardType, + }) { + final $result = create(); + if (style != null) { + $result.style = style; + } + if (additionEsportMoba != null) { + $result.additionEsportMoba = additionEsportMoba; + } + if (type != null) { + $result.type = type; + } + if (cardType != null) { + $result.cardType = cardType; + } + return $result; + } + AdditionEsport._() : super(); + factory AdditionEsport.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionEsport.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, AdditionEsport_Item> + _AdditionEsport_ItemByTag = { + 2: AdditionEsport_Item.additionEsportMoba, + 0: AdditionEsport_Item.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionEsport', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [2]) + ..e(1, _omitFieldNames ? '' : 'style', $pb.PbFieldType.OE, + defaultOrMaker: EspaceStyle.moba, + valueOf: EspaceStyle.valueOf, + enumValues: EspaceStyle.values) + ..aOM(2, _omitFieldNames ? '' : 'additionEsportMoba', + subBuilder: AdditionEsportMoba.create) + ..aOS(3, _omitFieldNames ? '' : 'type') + ..aOS(4, _omitFieldNames ? '' : 'cardType') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionEsport clone() => AdditionEsport()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionEsport copyWith(void Function(AdditionEsport) updates) => + super.copyWith((message) => updates(message as AdditionEsport)) + as AdditionEsport; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionEsport create() => AdditionEsport._(); + AdditionEsport createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionEsport getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionEsport? _defaultInstance; + + AdditionEsport_Item whichItem() => + _AdditionEsport_ItemByTag[$_whichOneof(0)]!; + void clearItem() => clearField($_whichOneof(0)); + + /// 电竞类型 + @$pb.TagNumber(1) + EspaceStyle get style => $_getN(0); + @$pb.TagNumber(1) + set style(EspaceStyle v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasStyle() => $_has(0); + @$pb.TagNumber(1) + void clearStyle() => clearField(1); + + /// moba类 + @$pb.TagNumber(2) + AdditionEsportMoba get additionEsportMoba => $_getN(1); + @$pb.TagNumber(2) + set additionEsportMoba(AdditionEsportMoba v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasAdditionEsportMoba() => $_has(1); + @$pb.TagNumber(2) + void clearAdditionEsportMoba() => clearField(2); + @$pb.TagNumber(2) + AdditionEsportMoba ensureAdditionEsportMoba() => $_ensure(1); + + /// 动态本身的类型 type + @$pb.TagNumber(3) + $core.String get type => $_getSZ(2); + @$pb.TagNumber(3) + set type($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasType() => $_has(2); + @$pb.TagNumber(3) + void clearType() => clearField(3); + + /// 附加卡类型 + @$pb.TagNumber(4) + $core.String get cardType => $_getSZ(3); + @$pb.TagNumber(4) + set cardType($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasCardType() => $_has(3); + @$pb.TagNumber(4) + void clearCardType() => clearField(4); +} + +/// 动态-附加卡-电竞卡-moba类 +class AdditionEsportMoba extends $pb.GeneratedMessage { + factory AdditionEsportMoba({ + $core.String? headText, + $core.String? title, + $core.Iterable? matchTeam, + AdditionEsportMobaStatus? additionEsportMobaStatus, + $core.String? uri, + AdditionalButton? button, + $core.String? subTitle, + $core.String? type, + $core.String? cardType, + $core.String? headIcon, + }) { + final $result = create(); + if (headText != null) { + $result.headText = headText; + } + if (title != null) { + $result.title = title; + } + if (matchTeam != null) { + $result.matchTeam.addAll(matchTeam); + } + if (additionEsportMobaStatus != null) { + $result.additionEsportMobaStatus = additionEsportMobaStatus; + } + if (uri != null) { + $result.uri = uri; + } + if (button != null) { + $result.button = button; + } + if (subTitle != null) { + $result.subTitle = subTitle; + } + if (type != null) { + $result.type = type; + } + if (cardType != null) { + $result.cardType = cardType; + } + if (headIcon != null) { + $result.headIcon = headIcon; + } + return $result; + } + AdditionEsportMoba._() : super(); + factory AdditionEsportMoba.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionEsportMoba.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionEsportMoba', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'headText') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..pc(3, _omitFieldNames ? '' : 'matchTeam', $pb.PbFieldType.PM, + subBuilder: MatchTeam.create) + ..aOM( + 4, _omitFieldNames ? '' : 'additionEsportMobaStatus', + subBuilder: AdditionEsportMobaStatus.create) + ..aOS(5, _omitFieldNames ? '' : 'uri') + ..aOM(6, _omitFieldNames ? '' : 'button', + subBuilder: AdditionalButton.create) + ..aOS(7, _omitFieldNames ? '' : 'subTitle') + ..aOS(10, _omitFieldNames ? '' : 'type') + ..aOS(11, _omitFieldNames ? '' : 'cardType') + ..aOS(12, _omitFieldNames ? '' : 'headIcon') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionEsportMoba clone() => AdditionEsportMoba()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionEsportMoba copyWith(void Function(AdditionEsportMoba) updates) => + super.copyWith((message) => updates(message as AdditionEsportMoba)) + as AdditionEsportMoba; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionEsportMoba create() => AdditionEsportMoba._(); + AdditionEsportMoba createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionEsportMoba getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionEsportMoba? _defaultInstance; + + /// 头部说明文案 + @$pb.TagNumber(1) + $core.String get headText => $_getSZ(0); + @$pb.TagNumber(1) + set headText($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHeadText() => $_has(0); + @$pb.TagNumber(1) + void clearHeadText() => 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.List get matchTeam => $_getList(2); + + /// 比赛信息 + @$pb.TagNumber(4) + AdditionEsportMobaStatus get additionEsportMobaStatus => $_getN(3); + @$pb.TagNumber(4) + set additionEsportMobaStatus(AdditionEsportMobaStatus v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasAdditionEsportMobaStatus() => $_has(3); + @$pb.TagNumber(4) + void clearAdditionEsportMobaStatus() => clearField(4); + @$pb.TagNumber(4) + AdditionEsportMobaStatus ensureAdditionEsportMobaStatus() => $_ensure(3); + + /// 卡片跳转 + @$pb.TagNumber(5) + $core.String get uri => $_getSZ(4); + @$pb.TagNumber(5) + set uri($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasUri() => $_has(4); + @$pb.TagNumber(5) + void clearUri() => clearField(5); + + /// 按钮 + @$pb.TagNumber(6) + AdditionalButton get button => $_getN(5); + @$pb.TagNumber(6) + set button(AdditionalButton v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasButton() => $_has(5); + @$pb.TagNumber(6) + void clearButton() => clearField(6); + @$pb.TagNumber(6) + AdditionalButton ensureButton() => $_ensure(5); + + /// 副标题 + @$pb.TagNumber(7) + $core.String get subTitle => $_getSZ(6); + @$pb.TagNumber(7) + set subTitle($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasSubTitle() => $_has(6); + @$pb.TagNumber(7) + void clearSubTitle() => clearField(7); + + /// 动态本身的类型 type + @$pb.TagNumber(10) + $core.String get type => $_getSZ(7); + @$pb.TagNumber(10) + set type($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(10) + $core.bool hasType() => $_has(7); + @$pb.TagNumber(10) + void clearType() => clearField(10); + + /// 附加卡类型 + @$pb.TagNumber(11) + $core.String get cardType => $_getSZ(8); + @$pb.TagNumber(11) + set cardType($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(11) + $core.bool hasCardType() => $_has(8); + @$pb.TagNumber(11) + void clearCardType() => clearField(11); + + /// 附加卡图标 + @$pb.TagNumber(12) + $core.String get headIcon => $_getSZ(9); + @$pb.TagNumber(12) + set headIcon($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(12) + $core.bool hasHeadIcon() => $_has(9); + @$pb.TagNumber(12) + void clearHeadIcon() => clearField(12); +} + +/// 动态-附加卡-电竞卡-moba类-比赛信息 +class AdditionEsportMobaStatus extends $pb.GeneratedMessage { + factory AdditionEsportMobaStatus({ + $core.Iterable? additionEsportMobaStatusDesc, + $core.String? title, + $core.int? status, + $core.String? color, + $core.String? nightColor, + }) { + final $result = create(); + if (additionEsportMobaStatusDesc != null) { + $result.additionEsportMobaStatusDesc.addAll(additionEsportMobaStatusDesc); + } + if (title != null) { + $result.title = title; + } + if (status != null) { + $result.status = status; + } + if (color != null) { + $result.color = color; + } + if (nightColor != null) { + $result.nightColor = nightColor; + } + return $result; + } + AdditionEsportMobaStatus._() : super(); + factory AdditionEsportMobaStatus.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionEsportMobaStatus.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionEsportMobaStatus', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, + _omitFieldNames ? '' : 'additionEsportMobaStatusDesc', + $pb.PbFieldType.PM, + subBuilder: AdditionEsportMobaStatusDesc.create) + ..aOS(2, _omitFieldNames ? '' : 'title') + ..a<$core.int>(3, _omitFieldNames ? '' : 'status', $pb.PbFieldType.O3) + ..aOS(4, _omitFieldNames ? '' : 'color') + ..aOS(5, _omitFieldNames ? '' : 'nightColor') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionEsportMobaStatus clone() => + AdditionEsportMobaStatus()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionEsportMobaStatus copyWith( + void Function(AdditionEsportMobaStatus) updates) => + super.copyWith((message) => updates(message as AdditionEsportMobaStatus)) + as AdditionEsportMobaStatus; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionEsportMobaStatus create() => AdditionEsportMobaStatus._(); + AdditionEsportMobaStatus createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionEsportMobaStatus getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionEsportMobaStatus? _defaultInstance; + + /// 文案类 + @$pb.TagNumber(1) + $core.List get additionEsportMobaStatusDesc => + $_getList(0); + + /// 比赛状态文案 + @$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.int get status => $_getIZ(2); + @$pb.TagNumber(3) + set status($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasStatus() => $_has(2); + @$pb.TagNumber(3) + void clearStatus() => clearField(3); + + /// 日间色值 + @$pb.TagNumber(4) + $core.String get color => $_getSZ(3); + @$pb.TagNumber(4) + set color($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasColor() => $_has(3); + @$pb.TagNumber(4) + void clearColor() => clearField(4); + + /// 夜间色值 + @$pb.TagNumber(5) + $core.String get nightColor => $_getSZ(4); + @$pb.TagNumber(5) + set nightColor($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasNightColor() => $_has(4); + @$pb.TagNumber(5) + void clearNightColor() => clearField(5); +} + +/// 动态-附加卡-电竞卡-moba类-比赛信息-文案类 +class AdditionEsportMobaStatusDesc extends $pb.GeneratedMessage { + factory AdditionEsportMobaStatusDesc({ + $core.String? title, + $core.String? color, + $core.String? nightColor, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (color != null) { + $result.color = color; + } + if (nightColor != null) { + $result.nightColor = nightColor; + } + return $result; + } + AdditionEsportMobaStatusDesc._() : super(); + factory AdditionEsportMobaStatusDesc.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionEsportMobaStatusDesc.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionEsportMobaStatusDesc', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'color') + ..aOS(3, _omitFieldNames ? '' : 'nightColor') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionEsportMobaStatusDesc clone() => + AdditionEsportMobaStatusDesc()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionEsportMobaStatusDesc copyWith( + void Function(AdditionEsportMobaStatusDesc) updates) => + super.copyWith( + (message) => updates(message as AdditionEsportMobaStatusDesc)) + as AdditionEsportMobaStatusDesc; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionEsportMobaStatusDesc create() => + AdditionEsportMobaStatusDesc._(); + AdditionEsportMobaStatusDesc createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionEsportMobaStatusDesc getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionEsportMobaStatusDesc? _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 color => $_getSZ(1); + @$pb.TagNumber(2) + set color($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasColor() => $_has(1); + @$pb.TagNumber(2) + void clearColor() => clearField(2); + + /// 夜间色值 + @$pb.TagNumber(3) + $core.String get nightColor => $_getSZ(2); + @$pb.TagNumber(3) + set nightColor($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasNightColor() => $_has(2); + @$pb.TagNumber(3) + void clearNightColor() => clearField(3); +} + +/// 动态-附加卡-商品卡 +class AdditionGoods extends $pb.GeneratedMessage { + factory AdditionGoods({ + $core.String? rcmdDesc, + $core.Iterable? goodsItems, + $core.String? cardType, + $core.String? icon, + $core.String? uri, + $core.int? sourceType, + $core.int? jumpType, + $core.String? appName, + $core.String? adMarkIcon, + }) { + final $result = create(); + if (rcmdDesc != null) { + $result.rcmdDesc = rcmdDesc; + } + if (goodsItems != null) { + $result.goodsItems.addAll(goodsItems); + } + if (cardType != null) { + $result.cardType = cardType; + } + if (icon != null) { + $result.icon = icon; + } + if (uri != null) { + $result.uri = uri; + } + if (sourceType != null) { + $result.sourceType = sourceType; + } + if (jumpType != null) { + $result.jumpType = jumpType; + } + if (appName != null) { + $result.appName = appName; + } + if (adMarkIcon != null) { + $result.adMarkIcon = adMarkIcon; + } + return $result; + } + AdditionGoods._() : super(); + factory AdditionGoods.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionGoods.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionGoods', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'rcmdDesc') + ..pc(2, _omitFieldNames ? '' : 'goodsItems', $pb.PbFieldType.PM, + subBuilder: GoodsItem.create) + ..aOS(3, _omitFieldNames ? '' : 'cardType') + ..aOS(4, _omitFieldNames ? '' : 'icon') + ..aOS(5, _omitFieldNames ? '' : 'uri') + ..a<$core.int>(6, _omitFieldNames ? '' : 'sourceType', $pb.PbFieldType.O3) + ..a<$core.int>(7, _omitFieldNames ? '' : 'jumpType', $pb.PbFieldType.O3) + ..aOS(8, _omitFieldNames ? '' : 'appName') + ..aOS(9, _omitFieldNames ? '' : 'adMarkIcon') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionGoods clone() => AdditionGoods()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionGoods copyWith(void Function(AdditionGoods) updates) => + super.copyWith((message) => updates(message as AdditionGoods)) + as AdditionGoods; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionGoods create() => AdditionGoods._(); + AdditionGoods createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionGoods getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionGoods? _defaultInstance; + + /// 推荐文案 + @$pb.TagNumber(1) + $core.String get rcmdDesc => $_getSZ(0); + @$pb.TagNumber(1) + set rcmdDesc($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasRcmdDesc() => $_has(0); + @$pb.TagNumber(1) + void clearRcmdDesc() => clearField(1); + + /// 商品信息 + @$pb.TagNumber(2) + $core.List get goodsItems => $_getList(1); + + /// 附加卡类型 + @$pb.TagNumber(3) + $core.String get cardType => $_getSZ(2); + @$pb.TagNumber(3) + set cardType($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCardType() => $_has(2); + @$pb.TagNumber(3) + void clearCardType() => clearField(3); + + /// 头部icon + @$pb.TagNumber(4) + $core.String get icon => $_getSZ(3); + @$pb.TagNumber(4) + set icon($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIcon() => $_has(3); + @$pb.TagNumber(4) + void clearIcon() => clearField(4); + + /// 商品附加卡整卡跳转 + @$pb.TagNumber(5) + $core.String get uri => $_getSZ(4); + @$pb.TagNumber(5) + set uri($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasUri() => $_has(4); + @$pb.TagNumber(5) + void clearUri() => clearField(5); + + /// 商品类型 + /// 1:淘宝 2:会员购,注:实际是获取的goods_items里面的第一个source_type + @$pb.TagNumber(6) + $core.int get sourceType => $_getIZ(5); + @$pb.TagNumber(6) + set sourceType($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasSourceType() => $_has(5); + @$pb.TagNumber(6) + void clearSourceType() => clearField(6); + + @$pb.TagNumber(7) + $core.int get jumpType => $_getIZ(6); + @$pb.TagNumber(7) + set jumpType($core.int v) { + $_setSignedInt32(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasJumpType() => $_has(6); + @$pb.TagNumber(7) + void clearJumpType() => clearField(7); + + @$pb.TagNumber(8) + $core.String get appName => $_getSZ(7); + @$pb.TagNumber(8) + set appName($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasAppName() => $_has(7); + @$pb.TagNumber(8) + void clearAppName() => clearField(8); + + @$pb.TagNumber(9) + $core.String get adMarkIcon => $_getSZ(8); + @$pb.TagNumber(9) + set adMarkIcon($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasAdMarkIcon() => $_has(8); + @$pb.TagNumber(9) + void clearAdMarkIcon() => clearField(9); +} + +/// 动态-附加卡-直播附加卡 +class AdditionLiveRoom extends $pb.GeneratedMessage { + factory AdditionLiveRoom({ + $core.String? title, + $core.String? cover, + VideoBadge? badge, + CoverIconWithText? descTextUpper, + $core.String? descTextLower, + $core.String? uri, + $core.String? cardType, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (badge != null) { + $result.badge = badge; + } + if (descTextUpper != null) { + $result.descTextUpper = descTextUpper; + } + if (descTextLower != null) { + $result.descTextLower = descTextLower; + } + if (uri != null) { + $result.uri = uri; + } + if (cardType != null) { + $result.cardType = cardType; + } + return $result; + } + AdditionLiveRoom._() : super(); + factory AdditionLiveRoom.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionLiveRoom.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionLiveRoom', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..aOM(3, _omitFieldNames ? '' : 'badge', + subBuilder: VideoBadge.create) + ..aOM(4, _omitFieldNames ? '' : 'descTextUpper', + subBuilder: CoverIconWithText.create) + ..aOS(5, _omitFieldNames ? '' : 'descTextLower') + ..aOS(6, _omitFieldNames ? '' : 'uri') + ..aOS(7, _omitFieldNames ? '' : 'cardType') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionLiveRoom clone() => AdditionLiveRoom()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionLiveRoom copyWith(void Function(AdditionLiveRoom) updates) => + super.copyWith((message) => updates(message as AdditionLiveRoom)) + as AdditionLiveRoom; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionLiveRoom create() => AdditionLiveRoom._(); + AdditionLiveRoom createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionLiveRoom getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionLiveRoom? _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 cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + @$pb.TagNumber(3) + VideoBadge get badge => $_getN(2); + @$pb.TagNumber(3) + set badge(VideoBadge v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasBadge() => $_has(2); + @$pb.TagNumber(3) + void clearBadge() => clearField(3); + @$pb.TagNumber(3) + VideoBadge ensureBadge() => $_ensure(2); + + @$pb.TagNumber(4) + CoverIconWithText get descTextUpper => $_getN(3); + @$pb.TagNumber(4) + set descTextUpper(CoverIconWithText v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasDescTextUpper() => $_has(3); + @$pb.TagNumber(4) + void clearDescTextUpper() => clearField(4); + @$pb.TagNumber(4) + CoverIconWithText ensureDescTextUpper() => $_ensure(3); + + @$pb.TagNumber(5) + $core.String get descTextLower => $_getSZ(4); + @$pb.TagNumber(5) + set descTextLower($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDescTextLower() => $_has(4); + @$pb.TagNumber(5) + void clearDescTextLower() => clearField(5); + + @$pb.TagNumber(6) + $core.String get uri => $_getSZ(5); + @$pb.TagNumber(6) + set uri($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasUri() => $_has(5); + @$pb.TagNumber(6) + void clearUri() => clearField(6); + + @$pb.TagNumber(7) + $core.String get cardType => $_getSZ(6); + @$pb.TagNumber(7) + set cardType($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasCardType() => $_has(6); + @$pb.TagNumber(7) + void clearCardType() => clearField(7); +} + +/// 动态-附加卡-UGC视频附加卡 +class AdditionUgc extends $pb.GeneratedMessage { + factory AdditionUgc({ + $core.String? headText, + $core.String? title, + $core.String? cover, + $core.String? descText1, + $core.String? descText2, + $core.String? uri, + $core.String? duration, + $core.bool? lineFeed, + $core.String? cardType, + }) { + final $result = create(); + if (headText != null) { + $result.headText = headText; + } + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (descText1 != null) { + $result.descText1 = descText1; + } + if (descText2 != null) { + $result.descText2 = descText2; + } + if (uri != null) { + $result.uri = uri; + } + if (duration != null) { + $result.duration = duration; + } + if (lineFeed != null) { + $result.lineFeed = lineFeed; + } + if (cardType != null) { + $result.cardType = cardType; + } + return $result; + } + AdditionUgc._() : super(); + factory AdditionUgc.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionUgc.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionUgc', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'headText') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'cover') + ..aOS(4, _omitFieldNames ? '' : 'descText1', protoName: 'desc_text_1') + ..aOS(5, _omitFieldNames ? '' : 'descText2', protoName: 'desc_text_2') + ..aOS(6, _omitFieldNames ? '' : 'uri') + ..aOS(7, _omitFieldNames ? '' : 'duration') + ..aOB(8, _omitFieldNames ? '' : 'lineFeed') + ..aOS(9, _omitFieldNames ? '' : 'cardType') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionUgc clone() => AdditionUgc()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionUgc copyWith(void Function(AdditionUgc) updates) => + super.copyWith((message) => updates(message as AdditionUgc)) + as AdditionUgc; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionUgc create() => AdditionUgc._(); + AdditionUgc createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionUgc getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionUgc? _defaultInstance; + + /// 说明文案 + @$pb.TagNumber(1) + $core.String get headText => $_getSZ(0); + @$pb.TagNumber(1) + set headText($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHeadText() => $_has(0); + @$pb.TagNumber(1) + void clearHeadText() => 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 cover => $_getSZ(2); + @$pb.TagNumber(3) + set cover($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCover() => $_has(2); + @$pb.TagNumber(3) + void clearCover() => clearField(3); + + /// 描述文字1 + @$pb.TagNumber(4) + $core.String get descText1 => $_getSZ(3); + @$pb.TagNumber(4) + set descText1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDescText1() => $_has(3); + @$pb.TagNumber(4) + void clearDescText1() => clearField(4); + + /// 描述文字2 + @$pb.TagNumber(5) + $core.String get descText2 => $_getSZ(4); + @$pb.TagNumber(5) + set descText2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDescText2() => $_has(4); + @$pb.TagNumber(5) + void clearDescText2() => clearField(5); + + /// 接秒开 + @$pb.TagNumber(6) + $core.String get uri => $_getSZ(5); + @$pb.TagNumber(6) + set uri($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasUri() => $_has(5); + @$pb.TagNumber(6) + void clearUri() => clearField(6); + + /// 时长 + @$pb.TagNumber(7) + $core.String get duration => $_getSZ(6); + @$pb.TagNumber(7) + set duration($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasDuration() => $_has(6); + @$pb.TagNumber(7) + void clearDuration() => clearField(7); + + /// 标题支持换行-标题支持单行和双行,本期不支持填充up昵称,支持双行展示,字段默认为true + @$pb.TagNumber(8) + $core.bool get lineFeed => $_getBF(7); + @$pb.TagNumber(8) + set lineFeed($core.bool v) { + $_setBool(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasLineFeed() => $_has(7); + @$pb.TagNumber(8) + void clearLineFeed() => clearField(8); + + /// 附加卡类型 + @$pb.TagNumber(9) + $core.String get cardType => $_getSZ(8); + @$pb.TagNumber(9) + set cardType($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasCardType() => $_has(8); + @$pb.TagNumber(9) + void clearCardType() => clearField(9); +} + +/// up主预约发布卡 +class AdditionUP extends $pb.GeneratedMessage { + factory AdditionUP({ + $core.String? title, + HighlightText? descText1, + $core.String? descText2, + $core.String? url, + AdditionalButton? button, + $core.String? cardType, + $fixnum.Int64? reserveTotal, + AdditionalActSkin? actSkin, + $fixnum.Int64? rid, + $core.int? lotteryType, + HighlightText? descText3, + $fixnum.Int64? upMid, + AdditionUserInfo? userInfo, + $core.String? dynamicId, + $core.bool? showText2, + $fixnum.Int64? dynType, + $core.String? businessId, + $core.String? badgeText, + $core.bool? isPremiere, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (descText1 != null) { + $result.descText1 = descText1; + } + if (descText2 != null) { + $result.descText2 = descText2; + } + if (url != null) { + $result.url = url; + } + if (button != null) { + $result.button = button; + } + if (cardType != null) { + $result.cardType = cardType; + } + if (reserveTotal != null) { + $result.reserveTotal = reserveTotal; + } + if (actSkin != null) { + $result.actSkin = actSkin; + } + if (rid != null) { + $result.rid = rid; + } + if (lotteryType != null) { + $result.lotteryType = lotteryType; + } + if (descText3 != null) { + $result.descText3 = descText3; + } + if (upMid != null) { + $result.upMid = upMid; + } + if (userInfo != null) { + $result.userInfo = userInfo; + } + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (showText2 != null) { + $result.showText2 = showText2; + } + if (dynType != null) { + $result.dynType = dynType; + } + if (businessId != null) { + $result.businessId = businessId; + } + if (badgeText != null) { + $result.badgeText = badgeText; + } + if (isPremiere != null) { + $result.isPremiere = isPremiere; + } + return $result; + } + AdditionUP._() : super(); + factory AdditionUP.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionUP.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionUP', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOM(2, _omitFieldNames ? '' : 'descText1', + protoName: 'desc_text_1', subBuilder: HighlightText.create) + ..aOS(3, _omitFieldNames ? '' : 'descText2', protoName: 'desc_text_2') + ..aOS(4, _omitFieldNames ? '' : 'url') + ..aOM(5, _omitFieldNames ? '' : 'button', + subBuilder: AdditionalButton.create) + ..aOS(6, _omitFieldNames ? '' : 'cardType') + ..aInt64(7, _omitFieldNames ? '' : 'reserveTotal') + ..aOM(8, _omitFieldNames ? '' : 'actSkin', + subBuilder: AdditionalActSkin.create) + ..aInt64(9, _omitFieldNames ? '' : 'rid') + ..a<$core.int>(10, _omitFieldNames ? '' : 'lotteryType', $pb.PbFieldType.O3) + ..aOM(11, _omitFieldNames ? '' : 'descText3', + subBuilder: HighlightText.create) + ..aInt64(12, _omitFieldNames ? '' : 'upMid') + ..aOM(13, _omitFieldNames ? '' : 'userInfo', + subBuilder: AdditionUserInfo.create) + ..aOS(14, _omitFieldNames ? '' : 'dynamicId') + ..aOB(15, _omitFieldNames ? '' : 'showText2') + ..aInt64(16, _omitFieldNames ? '' : 'dynType') + ..aOS(17, _omitFieldNames ? '' : 'businessId') + ..aOS(18, _omitFieldNames ? '' : 'badgeText') + ..aOB(19, _omitFieldNames ? '' : 'isPremiere') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionUP clone() => AdditionUP()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionUP copyWith(void Function(AdditionUP) updates) => + super.copyWith((message) => updates(message as AdditionUP)) as AdditionUP; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionUP create() => AdditionUP._(); + AdditionUP createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionUP getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionUP? _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); + + /// 高亮文本,描述文字1 + @$pb.TagNumber(2) + HighlightText get descText1 => $_getN(1); + @$pb.TagNumber(2) + set descText1(HighlightText v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasDescText1() => $_has(1); + @$pb.TagNumber(2) + void clearDescText1() => clearField(2); + @$pb.TagNumber(2) + HighlightText ensureDescText1() => $_ensure(1); + + /// 描述文字2 + @$pb.TagNumber(3) + $core.String get descText2 => $_getSZ(2); + @$pb.TagNumber(3) + set descText2($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDescText2() => $_has(2); + @$pb.TagNumber(3) + void clearDescText2() => 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) + AdditionalButton get button => $_getN(4); + @$pb.TagNumber(5) + set button(AdditionalButton v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasButton() => $_has(4); + @$pb.TagNumber(5) + void clearButton() => clearField(5); + @$pb.TagNumber(5) + AdditionalButton ensureButton() => $_ensure(4); + + /// 附加卡类型 + @$pb.TagNumber(6) + $core.String get cardType => $_getSZ(5); + @$pb.TagNumber(6) + set cardType($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCardType() => $_has(5); + @$pb.TagNumber(6) + void clearCardType() => clearField(6); + + /// 预约人数(用于预约人数变化) + @$pb.TagNumber(7) + $fixnum.Int64 get reserveTotal => $_getI64(6); + @$pb.TagNumber(7) + set reserveTotal($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasReserveTotal() => $_has(6); + @$pb.TagNumber(7) + void clearReserveTotal() => clearField(7); + + /// 活动皮肤 + @$pb.TagNumber(8) + AdditionalActSkin get actSkin => $_getN(7); + @$pb.TagNumber(8) + set actSkin(AdditionalActSkin v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasActSkin() => $_has(7); + @$pb.TagNumber(8) + void clearActSkin() => clearField(8); + @$pb.TagNumber(8) + AdditionalActSkin ensureActSkin() => $_ensure(7); + + /// 预约id + @$pb.TagNumber(9) + $fixnum.Int64 get rid => $_getI64(8); + @$pb.TagNumber(9) + set rid($fixnum.Int64 v) { + $_setInt64(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasRid() => $_has(8); + @$pb.TagNumber(9) + void clearRid() => clearField(9); + + @$pb.TagNumber(10) + $core.int get lotteryType => $_getIZ(9); + @$pb.TagNumber(10) + set lotteryType($core.int v) { + $_setSignedInt32(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasLotteryType() => $_has(9); + @$pb.TagNumber(10) + void clearLotteryType() => clearField(10); + + @$pb.TagNumber(11) + HighlightText get descText3 => $_getN(10); + @$pb.TagNumber(11) + set descText3(HighlightText v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasDescText3() => $_has(10); + @$pb.TagNumber(11) + void clearDescText3() => clearField(11); + @$pb.TagNumber(11) + HighlightText ensureDescText3() => $_ensure(10); + + @$pb.TagNumber(12) + $fixnum.Int64 get upMid => $_getI64(11); + @$pb.TagNumber(12) + set upMid($fixnum.Int64 v) { + $_setInt64(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasUpMid() => $_has(11); + @$pb.TagNumber(12) + void clearUpMid() => clearField(12); + + @$pb.TagNumber(13) + AdditionUserInfo get userInfo => $_getN(12); + @$pb.TagNumber(13) + set userInfo(AdditionUserInfo v) { + setField(13, v); + } + + @$pb.TagNumber(13) + $core.bool hasUserInfo() => $_has(12); + @$pb.TagNumber(13) + void clearUserInfo() => clearField(13); + @$pb.TagNumber(13) + AdditionUserInfo ensureUserInfo() => $_ensure(12); + + @$pb.TagNumber(14) + $core.String get dynamicId => $_getSZ(13); + @$pb.TagNumber(14) + set dynamicId($core.String v) { + $_setString(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasDynamicId() => $_has(13); + @$pb.TagNumber(14) + void clearDynamicId() => clearField(14); + + @$pb.TagNumber(15) + $core.bool get showText2 => $_getBF(14); + @$pb.TagNumber(15) + set showText2($core.bool v) { + $_setBool(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasShowText2() => $_has(14); + @$pb.TagNumber(15) + void clearShowText2() => clearField(15); + + @$pb.TagNumber(16) + $fixnum.Int64 get dynType => $_getI64(15); + @$pb.TagNumber(16) + set dynType($fixnum.Int64 v) { + $_setInt64(15, v); + } + + @$pb.TagNumber(16) + $core.bool hasDynType() => $_has(15); + @$pb.TagNumber(16) + void clearDynType() => clearField(16); + + @$pb.TagNumber(17) + $core.String get businessId => $_getSZ(16); + @$pb.TagNumber(17) + set businessId($core.String v) { + $_setString(16, v); + } + + @$pb.TagNumber(17) + $core.bool hasBusinessId() => $_has(16); + @$pb.TagNumber(17) + void clearBusinessId() => clearField(17); + + @$pb.TagNumber(18) + $core.String get badgeText => $_getSZ(17); + @$pb.TagNumber(18) + set badgeText($core.String v) { + $_setString(17, v); + } + + @$pb.TagNumber(18) + $core.bool hasBadgeText() => $_has(17); + @$pb.TagNumber(18) + void clearBadgeText() => clearField(18); + + @$pb.TagNumber(19) + $core.bool get isPremiere => $_getBF(18); + @$pb.TagNumber(19) + set isPremiere($core.bool v) { + $_setBool(18, v); + } + + @$pb.TagNumber(19) + $core.bool hasIsPremiere() => $_has(18); + @$pb.TagNumber(19) + void clearIsPremiere() => clearField(19); +} + +class AdditionUserInfo extends $pb.GeneratedMessage { + factory AdditionUserInfo({ + $core.String? name, + $core.String? face, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (face != null) { + $result.face = face; + } + return $result; + } + AdditionUserInfo._() : super(); + factory AdditionUserInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionUserInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionUserInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'face') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionUserInfo clone() => AdditionUserInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionUserInfo copyWith(void Function(AdditionUserInfo) updates) => + super.copyWith((message) => updates(message as AdditionUserInfo)) + as AdditionUserInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionUserInfo create() => AdditionUserInfo._(); + AdditionUserInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionUserInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionUserInfo? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => 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); +} + +/// 动态-附加卡-投票 +class AdditionVote extends $pb.GeneratedMessage { + factory AdditionVote({ + $core.String? imageUrl, + $core.String? title, + $core.String? text1, + $core.String? buttonText, + $core.String? url, + }) { + final $result = create(); + if (imageUrl != null) { + $result.imageUrl = imageUrl; + } + if (title != null) { + $result.title = title; + } + if (text1 != null) { + $result.text1 = text1; + } + if (buttonText != null) { + $result.buttonText = buttonText; + } + if (url != null) { + $result.url = url; + } + return $result; + } + AdditionVote._() : super(); + factory AdditionVote.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionVote.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionVote', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'imageUrl') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'text1', protoName: 'text_1') + ..aOS(4, _omitFieldNames ? '' : 'buttonText') + ..aOS(5, _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') + AdditionVote clone() => AdditionVote()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionVote copyWith(void Function(AdditionVote) updates) => + super.copyWith((message) => updates(message as AdditionVote)) + as AdditionVote; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionVote create() => AdditionVote._(); + AdditionVote createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionVote getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionVote? _defaultInstance; + + /// 封面图 + @$pb.TagNumber(1) + $core.String get imageUrl => $_getSZ(0); + @$pb.TagNumber(1) + set imageUrl($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasImageUrl() => $_has(0); + @$pb.TagNumber(1) + void clearImageUrl() => 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); + + /// 展示项1 + @$pb.TagNumber(3) + $core.String get text1 => $_getSZ(2); + @$pb.TagNumber(3) + set text1($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasText1() => $_has(2); + @$pb.TagNumber(3) + void clearText1() => clearField(3); + + /// button文案 + @$pb.TagNumber(4) + $core.String get buttonText => $_getSZ(3); + @$pb.TagNumber(4) + set buttonText($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasButtonText() => $_has(3); + @$pb.TagNumber(4) + void clearButtonText() => 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); +} + +enum AdditionVote2_Item { + additionVoteWord, + additionVotePic, + additionVoteDefaule, + notSet +} + +/// 动态模块-投票 +class AdditionVote2 extends $pb.GeneratedMessage { + factory AdditionVote2({ + AdditionVoteType? additionVoteType, + $fixnum.Int64? voteId, + $core.String? title, + $core.String? label, + $fixnum.Int64? deadline, + $core.String? openText, + $core.String? closeText, + $core.String? votedText, + AdditionVoteState? state, + AdditionVoteWord? additionVoteWord, + AdditionVotePic? additionVotePic, + AdditionVoteDefaule? additionVoteDefaule, + $core.int? bizType, + $fixnum.Int64? total, + $core.String? cardType, + $core.String? tips, + $core.String? uri, + $core.bool? isVoted, + $core.int? choiceCnt, + $core.bool? defauleSelectShare, + }) { + final $result = create(); + if (additionVoteType != null) { + $result.additionVoteType = additionVoteType; + } + if (voteId != null) { + $result.voteId = voteId; + } + if (title != null) { + $result.title = title; + } + if (label != null) { + $result.label = label; + } + if (deadline != null) { + $result.deadline = deadline; + } + if (openText != null) { + $result.openText = openText; + } + if (closeText != null) { + $result.closeText = closeText; + } + if (votedText != null) { + $result.votedText = votedText; + } + if (state != null) { + $result.state = state; + } + if (additionVoteWord != null) { + $result.additionVoteWord = additionVoteWord; + } + if (additionVotePic != null) { + $result.additionVotePic = additionVotePic; + } + if (additionVoteDefaule != null) { + $result.additionVoteDefaule = additionVoteDefaule; + } + if (bizType != null) { + $result.bizType = bizType; + } + if (total != null) { + $result.total = total; + } + if (cardType != null) { + $result.cardType = cardType; + } + if (tips != null) { + $result.tips = tips; + } + if (uri != null) { + $result.uri = uri; + } + if (isVoted != null) { + $result.isVoted = isVoted; + } + if (choiceCnt != null) { + $result.choiceCnt = choiceCnt; + } + if (defauleSelectShare != null) { + $result.defauleSelectShare = defauleSelectShare; + } + return $result; + } + AdditionVote2._() : super(); + factory AdditionVote2.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionVote2.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, AdditionVote2_Item> + _AdditionVote2_ItemByTag = { + 10: AdditionVote2_Item.additionVoteWord, + 11: AdditionVote2_Item.additionVotePic, + 12: AdditionVote2_Item.additionVoteDefaule, + 0: AdditionVote2_Item.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionVote2', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [10, 11, 12]) + ..e( + 1, _omitFieldNames ? '' : 'additionVoteType', $pb.PbFieldType.OE, + defaultOrMaker: AdditionVoteType.addition_vote_type_none, + valueOf: AdditionVoteType.valueOf, + enumValues: AdditionVoteType.values) + ..aInt64(2, _omitFieldNames ? '' : 'voteId') + ..aOS(3, _omitFieldNames ? '' : 'title') + ..aOS(4, _omitFieldNames ? '' : 'label') + ..aInt64(5, _omitFieldNames ? '' : 'deadline') + ..aOS(6, _omitFieldNames ? '' : 'openText') + ..aOS(7, _omitFieldNames ? '' : 'closeText') + ..aOS(8, _omitFieldNames ? '' : 'votedText') + ..e( + 9, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, + defaultOrMaker: AdditionVoteState.addition_vote_state_none, + valueOf: AdditionVoteState.valueOf, + enumValues: AdditionVoteState.values) + ..aOM(10, _omitFieldNames ? '' : 'additionVoteWord', + subBuilder: AdditionVoteWord.create) + ..aOM(11, _omitFieldNames ? '' : 'additionVotePic', + subBuilder: AdditionVotePic.create) + ..aOM(12, _omitFieldNames ? '' : 'additionVoteDefaule', + subBuilder: AdditionVoteDefaule.create) + ..a<$core.int>(13, _omitFieldNames ? '' : 'bizType', $pb.PbFieldType.O3) + ..aInt64(14, _omitFieldNames ? '' : 'total') + ..aOS(15, _omitFieldNames ? '' : 'cardType') + ..aOS(16, _omitFieldNames ? '' : 'tips') + ..aOS(17, _omitFieldNames ? '' : 'uri') + ..aOB(18, _omitFieldNames ? '' : 'isVoted') + ..a<$core.int>(19, _omitFieldNames ? '' : 'choiceCnt', $pb.PbFieldType.O3) + ..aOB(20, _omitFieldNames ? '' : 'defauleSelectShare') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionVote2 clone() => AdditionVote2()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionVote2 copyWith(void Function(AdditionVote2) updates) => + super.copyWith((message) => updates(message as AdditionVote2)) + as AdditionVote2; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionVote2 create() => AdditionVote2._(); + AdditionVote2 createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionVote2 getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionVote2? _defaultInstance; + + AdditionVote2_Item whichItem() => _AdditionVote2_ItemByTag[$_whichOneof(0)]!; + void clearItem() => clearField($_whichOneof(0)); + + /// 投票类型 + @$pb.TagNumber(1) + AdditionVoteType get additionVoteType => $_getN(0); + @$pb.TagNumber(1) + set additionVoteType(AdditionVoteType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasAdditionVoteType() => $_has(0); + @$pb.TagNumber(1) + void clearAdditionVoteType() => clearField(1); + + /// 投票ID + @$pb.TagNumber(2) + $fixnum.Int64 get voteId => $_getI64(1); + @$pb.TagNumber(2) + set voteId($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasVoteId() => $_has(1); + @$pb.TagNumber(2) + void clearVoteId() => clearField(2); + + /// 标题 + @$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); + + /// 已过期: xxx人参与· 投票已过期。button 展示去查看 + /// 未过期: xxx人参与· 剩xx天xx时xx分。button展示去投票 + @$pb.TagNumber(4) + $core.String get label => $_getSZ(3); + @$pb.TagNumber(4) + set label($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasLabel() => $_has(3); + @$pb.TagNumber(4) + void clearLabel() => clearField(4); + + /// 剩余时间 + @$pb.TagNumber(5) + $fixnum.Int64 get deadline => $_getI64(4); + @$pb.TagNumber(5) + set deadline($fixnum.Int64 v) { + $_setInt64(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDeadline() => $_has(4); + @$pb.TagNumber(5) + void clearDeadline() => clearField(5); + + /// 生效文案 + @$pb.TagNumber(6) + $core.String get openText => $_getSZ(5); + @$pb.TagNumber(6) + set openText($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasOpenText() => $_has(5); + @$pb.TagNumber(6) + void clearOpenText() => clearField(6); + + /// 过期文案 + @$pb.TagNumber(7) + $core.String get closeText => $_getSZ(6); + @$pb.TagNumber(7) + set closeText($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasCloseText() => $_has(6); + @$pb.TagNumber(7) + void clearCloseText() => clearField(7); + + /// 已投票 + @$pb.TagNumber(8) + $core.String get votedText => $_getSZ(7); + @$pb.TagNumber(8) + set votedText($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasVotedText() => $_has(7); + @$pb.TagNumber(8) + void clearVotedText() => clearField(8); + + /// 投票状态 + @$pb.TagNumber(9) + AdditionVoteState get state => $_getN(8); + @$pb.TagNumber(9) + set state(AdditionVoteState v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasState() => $_has(8); + @$pb.TagNumber(9) + void clearState() => clearField(9); + + @$pb.TagNumber(10) + AdditionVoteWord get additionVoteWord => $_getN(9); + @$pb.TagNumber(10) + set additionVoteWord(AdditionVoteWord v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasAdditionVoteWord() => $_has(9); + @$pb.TagNumber(10) + void clearAdditionVoteWord() => clearField(10); + @$pb.TagNumber(10) + AdditionVoteWord ensureAdditionVoteWord() => $_ensure(9); + + @$pb.TagNumber(11) + AdditionVotePic get additionVotePic => $_getN(10); + @$pb.TagNumber(11) + set additionVotePic(AdditionVotePic v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasAdditionVotePic() => $_has(10); + @$pb.TagNumber(11) + void clearAdditionVotePic() => clearField(11); + @$pb.TagNumber(11) + AdditionVotePic ensureAdditionVotePic() => $_ensure(10); + + @$pb.TagNumber(12) + AdditionVoteDefaule get additionVoteDefaule => $_getN(11); + @$pb.TagNumber(12) + set additionVoteDefaule(AdditionVoteDefaule v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasAdditionVoteDefaule() => $_has(11); + @$pb.TagNumber(12) + void clearAdditionVoteDefaule() => clearField(12); + @$pb.TagNumber(12) + AdditionVoteDefaule ensureAdditionVoteDefaule() => $_ensure(11); + + /// 业务类型 + /// 0:动态投票 1:话题h5组件 + @$pb.TagNumber(13) + $core.int get bizType => $_getIZ(12); + @$pb.TagNumber(13) + set bizType($core.int v) { + $_setSignedInt32(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasBizType() => $_has(12); + @$pb.TagNumber(13) + void clearBizType() => clearField(13); + + /// 投票总人数 + @$pb.TagNumber(14) + $fixnum.Int64 get total => $_getI64(13); + @$pb.TagNumber(14) + set total($fixnum.Int64 v) { + $_setInt64(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasTotal() => $_has(13); + @$pb.TagNumber(14) + void clearTotal() => clearField(14); + + /// 附加卡类型 + @$pb.TagNumber(15) + $core.String get cardType => $_getSZ(14); + @$pb.TagNumber(15) + set cardType($core.String v) { + $_setString(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasCardType() => $_has(14); + @$pb.TagNumber(15) + void clearCardType() => clearField(15); + + /// 异常提示 + @$pb.TagNumber(16) + $core.String get tips => $_getSZ(15); + @$pb.TagNumber(16) + set tips($core.String v) { + $_setString(15, v); + } + + @$pb.TagNumber(16) + $core.bool hasTips() => $_has(15); + @$pb.TagNumber(16) + void clearTips() => clearField(16); + + /// 跳转地址 + @$pb.TagNumber(17) + $core.String get uri => $_getSZ(16); + @$pb.TagNumber(17) + set uri($core.String v) { + $_setString(16, v); + } + + @$pb.TagNumber(17) + $core.bool hasUri() => $_has(16); + @$pb.TagNumber(17) + void clearUri() => clearField(17); + + /// 是否投票 + @$pb.TagNumber(18) + $core.bool get isVoted => $_getBF(17); + @$pb.TagNumber(18) + set isVoted($core.bool v) { + $_setBool(17, v); + } + + @$pb.TagNumber(18) + $core.bool hasIsVoted() => $_has(17); + @$pb.TagNumber(18) + void clearIsVoted() => clearField(18); + + /// 投票最多多选个数,单选为1 + @$pb.TagNumber(19) + $core.int get choiceCnt => $_getIZ(18); + @$pb.TagNumber(19) + set choiceCnt($core.int v) { + $_setSignedInt32(18, v); + } + + @$pb.TagNumber(19) + $core.bool hasChoiceCnt() => $_has(18); + @$pb.TagNumber(19) + void clearChoiceCnt() => clearField(19); + + /// 是否默认选中分享到动态 + @$pb.TagNumber(20) + $core.bool get defauleSelectShare => $_getBF(19); + @$pb.TagNumber(20) + set defauleSelectShare($core.bool v) { + $_setBool(19, v); + } + + @$pb.TagNumber(20) + $core.bool hasDefauleSelectShare() => $_has(19); + @$pb.TagNumber(20) + void clearDefauleSelectShare() => clearField(20); +} + +/// 外露投票 +class AdditionVoteDefaule extends $pb.GeneratedMessage { + factory AdditionVoteDefaule({ + $core.Iterable<$core.String>? cover, + }) { + final $result = create(); + if (cover != null) { + $result.cover.addAll(cover); + } + return $result; + } + AdditionVoteDefaule._() : super(); + factory AdditionVoteDefaule.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionVoteDefaule.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionVoteDefaule', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'cover') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionVoteDefaule clone() => AdditionVoteDefaule()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionVoteDefaule copyWith(void Function(AdditionVoteDefaule) updates) => + super.copyWith((message) => updates(message as AdditionVoteDefaule)) + as AdditionVoteDefaule; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionVoteDefaule create() => AdditionVoteDefaule._(); + AdditionVoteDefaule createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionVoteDefaule getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionVoteDefaule? _defaultInstance; + + /// 图片 多张 + @$pb.TagNumber(1) + $core.List<$core.String> get cover => $_getList(0); +} + +/// 外露图片类型 +class AdditionVotePic extends $pb.GeneratedMessage { + factory AdditionVotePic({ + $core.Iterable? item, + }) { + final $result = create(); + if (item != null) { + $result.item.addAll(item); + } + return $result; + } + AdditionVotePic._() : super(); + factory AdditionVotePic.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionVotePic.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionVotePic', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'item', $pb.PbFieldType.PM, + subBuilder: AdditionVotePicItem.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') + AdditionVotePic clone() => AdditionVotePic()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionVotePic copyWith(void Function(AdditionVotePic) updates) => + super.copyWith((message) => updates(message as AdditionVotePic)) + as AdditionVotePic; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionVotePic create() => AdditionVotePic._(); + AdditionVotePic createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionVotePic getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionVotePic? _defaultInstance; + + /// 图片投票详情 + @$pb.TagNumber(1) + $core.List get item => $_getList(0); +} + +/// 图片投票详情 +class AdditionVotePicItem extends $pb.GeneratedMessage { + factory AdditionVotePicItem({ + $core.int? optIdx, + $core.String? cover, + $core.bool? isVote, + $core.int? total, + $core.double? persent, + $core.String? title, + $core.bool? isMaxOption, + }) { + final $result = create(); + if (optIdx != null) { + $result.optIdx = optIdx; + } + if (cover != null) { + $result.cover = cover; + } + if (isVote != null) { + $result.isVote = isVote; + } + if (total != null) { + $result.total = total; + } + if (persent != null) { + $result.persent = persent; + } + if (title != null) { + $result.title = title; + } + if (isMaxOption != null) { + $result.isMaxOption = isMaxOption; + } + return $result; + } + AdditionVotePicItem._() : super(); + factory AdditionVotePicItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionVotePicItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionVotePicItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'optIdx', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..aOB(3, _omitFieldNames ? '' : 'isVote') + ..a<$core.int>(4, _omitFieldNames ? '' : 'total', $pb.PbFieldType.O3) + ..a<$core.double>(5, _omitFieldNames ? '' : 'persent', $pb.PbFieldType.OD) + ..aOS(6, _omitFieldNames ? '' : 'title') + ..aOB(7, _omitFieldNames ? '' : 'isMaxOption') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionVotePicItem clone() => AdditionVotePicItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionVotePicItem copyWith(void Function(AdditionVotePicItem) updates) => + super.copyWith((message) => updates(message as AdditionVotePicItem)) + as AdditionVotePicItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionVotePicItem create() => AdditionVotePicItem._(); + AdditionVotePicItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionVotePicItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionVotePicItem? _defaultInstance; + + /// 选项索引,从1开始 + @$pb.TagNumber(1) + $core.int get optIdx => $_getIZ(0); + @$pb.TagNumber(1) + set optIdx($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasOptIdx() => $_has(0); + @$pb.TagNumber(1) + void clearOptIdx() => clearField(1); + + /// 图片 + @$pb.TagNumber(2) + $core.String get cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + /// 选中状态 + @$pb.TagNumber(3) + $core.bool get isVote => $_getBF(2); + @$pb.TagNumber(3) + set isVote($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIsVote() => $_has(2); + @$pb.TagNumber(3) + void clearIsVote() => clearField(3); + + /// 人数 + @$pb.TagNumber(4) + $core.int get total => $_getIZ(3); + @$pb.TagNumber(4) + set total($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTotal() => $_has(3); + @$pb.TagNumber(4) + void clearTotal() => clearField(4); + + /// 占比 + @$pb.TagNumber(5) + $core.double get persent => $_getN(4); + @$pb.TagNumber(5) + set persent($core.double v) { + $_setDouble(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasPersent() => $_has(4); + @$pb.TagNumber(5) + void clearPersent() => clearField(5); + + /// 标题文案 + @$pb.TagNumber(6) + $core.String get title => $_getSZ(5); + @$pb.TagNumber(6) + set title($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasTitle() => $_has(5); + @$pb.TagNumber(6) + void clearTitle() => clearField(6); + + /// 是否投票人数最多的选项 + @$pb.TagNumber(7) + $core.bool get isMaxOption => $_getBF(6); + @$pb.TagNumber(7) + set isMaxOption($core.bool v) { + $_setBool(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasIsMaxOption() => $_has(6); + @$pb.TagNumber(7) + void clearIsMaxOption() => clearField(7); +} + +/// 外露文字类型 +class AdditionVoteWord extends $pb.GeneratedMessage { + factory AdditionVoteWord({ + $core.Iterable? item, + }) { + final $result = create(); + if (item != null) { + $result.item.addAll(item); + } + return $result; + } + AdditionVoteWord._() : super(); + factory AdditionVoteWord.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionVoteWord.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionVoteWord', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'item', $pb.PbFieldType.PM, + subBuilder: AdditionVoteWordItem.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') + AdditionVoteWord clone() => AdditionVoteWord()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionVoteWord copyWith(void Function(AdditionVoteWord) updates) => + super.copyWith((message) => updates(message as AdditionVoteWord)) + as AdditionVoteWord; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionVoteWord create() => AdditionVoteWord._(); + AdditionVoteWord createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionVoteWord getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionVoteWord? _defaultInstance; + + /// 外露文字投票详情 + @$pb.TagNumber(1) + $core.List get item => $_getList(0); +} + +/// 外露文字投票详情 +class AdditionVoteWordItem extends $pb.GeneratedMessage { + factory AdditionVoteWordItem({ + $core.int? optIdx, + $core.String? title, + $core.bool? isVote, + $core.int? total, + $core.double? persent, + $core.bool? isMaxOption, + }) { + final $result = create(); + if (optIdx != null) { + $result.optIdx = optIdx; + } + if (title != null) { + $result.title = title; + } + if (isVote != null) { + $result.isVote = isVote; + } + if (total != null) { + $result.total = total; + } + if (persent != null) { + $result.persent = persent; + } + if (isMaxOption != null) { + $result.isMaxOption = isMaxOption; + } + return $result; + } + AdditionVoteWordItem._() : super(); + factory AdditionVoteWordItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdditionVoteWordItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdditionVoteWordItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'optIdx', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOB(3, _omitFieldNames ? '' : 'isVote') + ..a<$core.int>(4, _omitFieldNames ? '' : 'total', $pb.PbFieldType.O3) + ..a<$core.double>(5, _omitFieldNames ? '' : 'persent', $pb.PbFieldType.OD) + ..aOB(6, _omitFieldNames ? '' : 'isMaxOption') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdditionVoteWordItem clone() => + AdditionVoteWordItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdditionVoteWordItem copyWith(void Function(AdditionVoteWordItem) updates) => + super.copyWith((message) => updates(message as AdditionVoteWordItem)) + as AdditionVoteWordItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdditionVoteWordItem create() => AdditionVoteWordItem._(); + AdditionVoteWordItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdditionVoteWordItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AdditionVoteWordItem? _defaultInstance; + + /// 选项索引,从1开始 + @$pb.TagNumber(1) + $core.int get optIdx => $_getIZ(0); + @$pb.TagNumber(1) + set optIdx($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasOptIdx() => $_has(0); + @$pb.TagNumber(1) + void clearOptIdx() => 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.bool get isVote => $_getBF(2); + @$pb.TagNumber(3) + set isVote($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIsVote() => $_has(2); + @$pb.TagNumber(3) + void clearIsVote() => clearField(3); + + /// 人数 + @$pb.TagNumber(4) + $core.int get total => $_getIZ(3); + @$pb.TagNumber(4) + set total($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTotal() => $_has(3); + @$pb.TagNumber(4) + void clearTotal() => clearField(4); + + /// 占比 + @$pb.TagNumber(5) + $core.double get persent => $_getN(4); + @$pb.TagNumber(5) + set persent($core.double v) { + $_setDouble(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasPersent() => $_has(4); + @$pb.TagNumber(5) + void clearPersent() => clearField(5); + + /// 是否投票人数最多的选项 + @$pb.TagNumber(6) + $core.bool get isMaxOption => $_getBF(5); + @$pb.TagNumber(6) + set isMaxOption($core.bool v) { + $_setBool(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasIsMaxOption() => $_has(5); + @$pb.TagNumber(6) + void clearIsMaxOption() => clearField(6); +} + +/// 综合页请求广告所需字段,由客户端-网关透传 +class AdParam extends $pb.GeneratedMessage { + factory AdParam({ + $core.String? adExtra, + $core.String? requestId, + }) { + final $result = create(); + if (adExtra != null) { + $result.adExtra = adExtra; + } + if (requestId != null) { + $result.requestId = requestId; + } + return $result; + } + AdParam._() : super(); + factory AdParam.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AdParam.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AdParam', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'adExtra') + ..aOS(2, _omitFieldNames ? '' : 'requestId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AdParam clone() => AdParam()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AdParam copyWith(void Function(AdParam) updates) => + super.copyWith((message) => updates(message as AdParam)) as AdParam; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AdParam create() => AdParam._(); + AdParam createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AdParam getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AdParam? _defaultInstance; + + /// 综合页请求广告所需字段,由客户端-网关透传 + @$pb.TagNumber(1) + $core.String get adExtra => $_getSZ(0); + @$pb.TagNumber(1) + set adExtra($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasAdExtra() => $_has(0); + @$pb.TagNumber(1) + void clearAdExtra() => clearField(1); + + /// request_id + @$pb.TagNumber(2) + $core.String get requestId => $_getSZ(1); + @$pb.TagNumber(2) + set requestId($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasRequestId() => $_has(1); + @$pb.TagNumber(2) + void clearRequestId() => clearField(2); +} + +class AlumniDynamicsReply extends $pb.GeneratedMessage { + factory AlumniDynamicsReply({ + $core.Iterable? list, + $core.String? toast, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (toast != null) { + $result.toast = toast; + } + return $result; + } + AlumniDynamicsReply._() : super(); + factory AlumniDynamicsReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AlumniDynamicsReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AlumniDynamicsReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOS(2, _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') + AlumniDynamicsReply clone() => AlumniDynamicsReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AlumniDynamicsReply copyWith(void Function(AlumniDynamicsReply) updates) => + super.copyWith((message) => updates(message as AlumniDynamicsReply)) + as AlumniDynamicsReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AlumniDynamicsReply create() => AlumniDynamicsReply._(); + AlumniDynamicsReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AlumniDynamicsReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AlumniDynamicsReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get list => $_getList(0); + + @$pb.TagNumber(2) + $core.String get toast => $_getSZ(1); + @$pb.TagNumber(2) + set toast($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasToast() => $_has(1); + @$pb.TagNumber(2) + void clearToast() => clearField(2); +} + +class AlumniDynamicsReq extends $pb.GeneratedMessage { + factory AlumniDynamicsReq({ + $fixnum.Int64? campusId, + $core.int? firstTime, + $1.PlayerArgs? playerArgs, + $core.int? localTime, + $core.int? page, + $core.int? fromType, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (firstTime != null) { + $result.firstTime = firstTime; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (page != null) { + $result.page = page; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + AlumniDynamicsReq._() : super(); + factory AlumniDynamicsReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory AlumniDynamicsReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'AlumniDynamicsReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..a<$core.int>(2, _omitFieldNames ? '' : 'firstTime', $pb.PbFieldType.O3) + ..aOM<$1.PlayerArgs>(3, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..a<$core.int>(4, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..a<$core.int>(5, _omitFieldNames ? '' : 'page', $pb.PbFieldType.O3) + ..a<$core.int>(6, _omitFieldNames ? '' : 'fromType', $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') + AlumniDynamicsReq clone() => AlumniDynamicsReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AlumniDynamicsReq copyWith(void Function(AlumniDynamicsReq) updates) => + super.copyWith((message) => updates(message as AlumniDynamicsReq)) + as AlumniDynamicsReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AlumniDynamicsReq create() => AlumniDynamicsReq._(); + AlumniDynamicsReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AlumniDynamicsReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static AlumniDynamicsReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.int get firstTime => $_getIZ(1); + @$pb.TagNumber(2) + set firstTime($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasFirstTime() => $_has(1); + @$pb.TagNumber(2) + void clearFirstTime() => clearField(2); + + @$pb.TagNumber(3) + $1.PlayerArgs get playerArgs => $_getN(2); + @$pb.TagNumber(3) + set playerArgs($1.PlayerArgs v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasPlayerArgs() => $_has(2); + @$pb.TagNumber(3) + void clearPlayerArgs() => clearField(3); + @$pb.TagNumber(3) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(2); + + @$pb.TagNumber(4) + $core.int get localTime => $_getIZ(3); + @$pb.TagNumber(4) + set localTime($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasLocalTime() => $_has(3); + @$pb.TagNumber(4) + void clearLocalTime() => clearField(4); + + @$pb.TagNumber(5) + $core.int get page => $_getIZ(4); + @$pb.TagNumber(5) + set page($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasPage() => $_has(4); + @$pb.TagNumber(5) + void clearPage() => clearField(5); + + @$pb.TagNumber(6) + $core.int get fromType => $_getIZ(5); + @$pb.TagNumber(6) + set fromType($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasFromType() => $_has(5); + @$pb.TagNumber(6) + void clearFromType() => clearField(6); +} + +class CampusBannerInfo extends $pb.GeneratedMessage { + factory CampusBannerInfo({ + $core.String? image, + $core.String? jumpUrl, + }) { + final $result = create(); + if (image != null) { + $result.image = image; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + return $result; + } + CampusBannerInfo._() : super(); + factory CampusBannerInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusBannerInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusBannerInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'image') + ..aOS(2, _omitFieldNames ? '' : 'jumpUrl') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusBannerInfo clone() => CampusBannerInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusBannerInfo copyWith(void Function(CampusBannerInfo) updates) => + super.copyWith((message) => updates(message as CampusBannerInfo)) + as CampusBannerInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusBannerInfo create() => CampusBannerInfo._(); + CampusBannerInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusBannerInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusBannerInfo? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get image => $_getSZ(0); + @$pb.TagNumber(1) + set image($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasImage() => $_has(0); + @$pb.TagNumber(1) + void clearImage() => clearField(1); + + @$pb.TagNumber(2) + $core.String get jumpUrl => $_getSZ(1); + @$pb.TagNumber(2) + set jumpUrl($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasJumpUrl() => $_has(1); + @$pb.TagNumber(2) + void clearJumpUrl() => clearField(2); +} + +class CampusBillboardInternalReq extends $pb.GeneratedMessage { + factory CampusBillboardInternalReq({ + $fixnum.Int64? mid, + $fixnum.Int64? campusId, + $core.String? versionCode, + }) { + final $result = create(); + if (mid != null) { + $result.mid = mid; + } + if (campusId != null) { + $result.campusId = campusId; + } + if (versionCode != null) { + $result.versionCode = versionCode; + } + return $result; + } + CampusBillboardInternalReq._() : super(); + factory CampusBillboardInternalReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusBillboardInternalReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusBillboardInternalReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'mid') + ..aInt64(2, _omitFieldNames ? '' : 'campusId') + ..aOS(3, _omitFieldNames ? '' : 'versionCode') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusBillboardInternalReq clone() => + CampusBillboardInternalReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusBillboardInternalReq copyWith( + void Function(CampusBillboardInternalReq) updates) => + super.copyWith( + (message) => updates(message as CampusBillboardInternalReq)) + as CampusBillboardInternalReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusBillboardInternalReq create() => CampusBillboardInternalReq._(); + CampusBillboardInternalReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusBillboardInternalReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusBillboardInternalReq? _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) + $fixnum.Int64 get campusId => $_getI64(1); + @$pb.TagNumber(2) + set campusId($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusId() => $_has(1); + @$pb.TagNumber(2) + void clearCampusId() => clearField(2); + + @$pb.TagNumber(3) + $core.String get versionCode => $_getSZ(2); + @$pb.TagNumber(3) + set versionCode($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasVersionCode() => $_has(2); + @$pb.TagNumber(3) + void clearVersionCode() => clearField(3); +} + +class CampusBillBoardReply extends $pb.GeneratedMessage { + factory CampusBillBoardReply({ + $core.String? title, + $core.String? helpUri, + $core.String? campusName, + $fixnum.Int64? buildTime, + $core.String? versionCode, + $core.Iterable? list, + $core.String? shareUri, + $core.int? bindNotice, + $core.String? updateToast, + $fixnum.Int64? campusId, + CampusFeatureProgress? openProgress, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (helpUri != null) { + $result.helpUri = helpUri; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (buildTime != null) { + $result.buildTime = buildTime; + } + if (versionCode != null) { + $result.versionCode = versionCode; + } + if (list != null) { + $result.list.addAll(list); + } + if (shareUri != null) { + $result.shareUri = shareUri; + } + if (bindNotice != null) { + $result.bindNotice = bindNotice; + } + if (updateToast != null) { + $result.updateToast = updateToast; + } + if (campusId != null) { + $result.campusId = campusId; + } + if (openProgress != null) { + $result.openProgress = openProgress; + } + return $result; + } + CampusBillBoardReply._() : super(); + factory CampusBillBoardReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusBillBoardReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusBillBoardReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'helpUri') + ..aOS(3, _omitFieldNames ? '' : 'campusName') + ..aInt64(4, _omitFieldNames ? '' : 'buildTime') + ..aOS(5, _omitFieldNames ? '' : 'versionCode') + ..pc(6, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: OfficialItem.create) + ..aOS(7, _omitFieldNames ? '' : 'shareUri') + ..a<$core.int>(8, _omitFieldNames ? '' : 'bindNotice', $pb.PbFieldType.O3) + ..aOS(9, _omitFieldNames ? '' : 'updateToast') + ..aInt64(10, _omitFieldNames ? '' : 'campusId') + ..aOM(11, _omitFieldNames ? '' : 'openProgress', + subBuilder: CampusFeatureProgress.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') + CampusBillBoardReply clone() => + CampusBillBoardReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusBillBoardReply copyWith(void Function(CampusBillBoardReply) updates) => + super.copyWith((message) => updates(message as CampusBillBoardReply)) + as CampusBillBoardReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusBillBoardReply create() => CampusBillBoardReply._(); + CampusBillBoardReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusBillBoardReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusBillBoardReply? _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 helpUri => $_getSZ(1); + @$pb.TagNumber(2) + set helpUri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasHelpUri() => $_has(1); + @$pb.TagNumber(2) + void clearHelpUri() => clearField(2); + + @$pb.TagNumber(3) + $core.String get campusName => $_getSZ(2); + @$pb.TagNumber(3) + set campusName($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCampusName() => $_has(2); + @$pb.TagNumber(3) + void clearCampusName() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get buildTime => $_getI64(3); + @$pb.TagNumber(4) + set buildTime($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasBuildTime() => $_has(3); + @$pb.TagNumber(4) + void clearBuildTime() => clearField(4); + + @$pb.TagNumber(5) + $core.String get versionCode => $_getSZ(4); + @$pb.TagNumber(5) + set versionCode($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasVersionCode() => $_has(4); + @$pb.TagNumber(5) + void clearVersionCode() => clearField(5); + + @$pb.TagNumber(6) + $core.List get list => $_getList(5); + + @$pb.TagNumber(7) + $core.String get shareUri => $_getSZ(6); + @$pb.TagNumber(7) + set shareUri($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasShareUri() => $_has(6); + @$pb.TagNumber(7) + void clearShareUri() => clearField(7); + + @$pb.TagNumber(8) + $core.int get bindNotice => $_getIZ(7); + @$pb.TagNumber(8) + set bindNotice($core.int v) { + $_setSignedInt32(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasBindNotice() => $_has(7); + @$pb.TagNumber(8) + void clearBindNotice() => clearField(8); + + @$pb.TagNumber(9) + $core.String get updateToast => $_getSZ(8); + @$pb.TagNumber(9) + set updateToast($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasUpdateToast() => $_has(8); + @$pb.TagNumber(9) + void clearUpdateToast() => clearField(9); + + @$pb.TagNumber(10) + $fixnum.Int64 get campusId => $_getI64(9); + @$pb.TagNumber(10) + set campusId($fixnum.Int64 v) { + $_setInt64(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasCampusId() => $_has(9); + @$pb.TagNumber(10) + void clearCampusId() => clearField(10); + + @$pb.TagNumber(11) + CampusFeatureProgress get openProgress => $_getN(10); + @$pb.TagNumber(11) + set openProgress(CampusFeatureProgress v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasOpenProgress() => $_has(10); + @$pb.TagNumber(11) + void clearOpenProgress() => clearField(11); + @$pb.TagNumber(11) + CampusFeatureProgress ensureOpenProgress() => $_ensure(10); +} + +class CampusBillBoardReq extends $pb.GeneratedMessage { + factory CampusBillBoardReq({ + $fixnum.Int64? campusId, + $core.String? versionCode, + $1.PlayerArgs? playerArgs, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (versionCode != null) { + $result.versionCode = versionCode; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + CampusBillBoardReq._() : super(); + factory CampusBillBoardReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusBillBoardReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusBillBoardReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'versionCode') + ..aOM<$1.PlayerArgs>(3, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..e( + 4, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + CampusBillBoardReq clone() => CampusBillBoardReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusBillBoardReq copyWith(void Function(CampusBillBoardReq) updates) => + super.copyWith((message) => updates(message as CampusBillBoardReq)) + as CampusBillBoardReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusBillBoardReq create() => CampusBillBoardReq._(); + CampusBillBoardReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusBillBoardReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusBillBoardReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get versionCode => $_getSZ(1); + @$pb.TagNumber(2) + set versionCode($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasVersionCode() => $_has(1); + @$pb.TagNumber(2) + void clearVersionCode() => clearField(2); + + @$pb.TagNumber(3) + $1.PlayerArgs get playerArgs => $_getN(2); + @$pb.TagNumber(3) + set playerArgs($1.PlayerArgs v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasPlayerArgs() => $_has(2); + @$pb.TagNumber(3) + void clearPlayerArgs() => clearField(3); + @$pb.TagNumber(3) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(2); + + @$pb.TagNumber(4) + CampusReqFromType get fromType => $_getN(3); + @$pb.TagNumber(4) + set fromType(CampusReqFromType v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasFromType() => $_has(3); + @$pb.TagNumber(4) + void clearFromType() => clearField(4); +} + +class CampusEntryTabReq extends $pb.GeneratedMessage { + factory CampusEntryTabReq({ + $fixnum.Int64? campusId, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + return $result; + } + CampusEntryTabReq._() : super(); + factory CampusEntryTabReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusEntryTabReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusEntryTabReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusEntryTabReq clone() => CampusEntryTabReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusEntryTabReq copyWith(void Function(CampusEntryTabReq) updates) => + super.copyWith((message) => updates(message as CampusEntryTabReq)) + as CampusEntryTabReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusEntryTabReq create() => CampusEntryTabReq._(); + CampusEntryTabReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusEntryTabReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusEntryTabReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); +} + +class CampusEntryTabResp extends $pb.GeneratedMessage { + factory CampusEntryTabResp({ + CampusEntryType? entryType, + }) { + final $result = create(); + if (entryType != null) { + $result.entryType = entryType; + } + return $result; + } + CampusEntryTabResp._() : super(); + factory CampusEntryTabResp.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusEntryTabResp.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusEntryTabResp', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'entryType', $pb.PbFieldType.OE, + defaultOrMaker: CampusEntryType.NONE, + valueOf: CampusEntryType.valueOf, + enumValues: CampusEntryType.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') + CampusEntryTabResp clone() => CampusEntryTabResp()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusEntryTabResp copyWith(void Function(CampusEntryTabResp) updates) => + super.copyWith((message) => updates(message as CampusEntryTabResp)) + as CampusEntryTabResp; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusEntryTabResp create() => CampusEntryTabResp._(); + CampusEntryTabResp createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusEntryTabResp getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusEntryTabResp? _defaultInstance; + + @$pb.TagNumber(1) + CampusEntryType get entryType => $_getN(0); + @$pb.TagNumber(1) + set entryType(CampusEntryType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasEntryType() => $_has(0); + @$pb.TagNumber(1) + void clearEntryType() => clearField(1); +} + +class CampusFeatureProgress extends $pb.GeneratedMessage { + factory CampusFeatureProgress({ + $fixnum.Int64? progressFull, + $fixnum.Int64? progressAchieved, + $core.String? descTitle, + $core.String? desc1, + CampusLabel? btn, + }) { + final $result = create(); + if (progressFull != null) { + $result.progressFull = progressFull; + } + if (progressAchieved != null) { + $result.progressAchieved = progressAchieved; + } + if (descTitle != null) { + $result.descTitle = descTitle; + } + if (desc1 != null) { + $result.desc1 = desc1; + } + if (btn != null) { + $result.btn = btn; + } + return $result; + } + CampusFeatureProgress._() : super(); + factory CampusFeatureProgress.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusFeatureProgress.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusFeatureProgress', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'progressFull') + ..aInt64(2, _omitFieldNames ? '' : 'progressAchieved') + ..aOS(3, _omitFieldNames ? '' : 'descTitle') + ..aOS(4, _omitFieldNames ? '' : 'desc1', protoName: 'desc_1') + ..aOM(5, _omitFieldNames ? '' : 'btn', + subBuilder: CampusLabel.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') + CampusFeatureProgress clone() => + CampusFeatureProgress()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusFeatureProgress copyWith( + void Function(CampusFeatureProgress) updates) => + super.copyWith((message) => updates(message as CampusFeatureProgress)) + as CampusFeatureProgress; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusFeatureProgress create() => CampusFeatureProgress._(); + CampusFeatureProgress createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusFeatureProgress getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusFeatureProgress? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get progressFull => $_getI64(0); + @$pb.TagNumber(1) + set progressFull($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasProgressFull() => $_has(0); + @$pb.TagNumber(1) + void clearProgressFull() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get progressAchieved => $_getI64(1); + @$pb.TagNumber(2) + set progressAchieved($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasProgressAchieved() => $_has(1); + @$pb.TagNumber(2) + void clearProgressAchieved() => clearField(2); + + @$pb.TagNumber(3) + $core.String get descTitle => $_getSZ(2); + @$pb.TagNumber(3) + set descTitle($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDescTitle() => $_has(2); + @$pb.TagNumber(3) + void clearDescTitle() => clearField(3); + + @$pb.TagNumber(4) + $core.String get desc1 => $_getSZ(3); + @$pb.TagNumber(4) + set desc1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDesc1() => $_has(3); + @$pb.TagNumber(4) + void clearDesc1() => clearField(4); + + @$pb.TagNumber(5) + CampusLabel get btn => $_getN(4); + @$pb.TagNumber(5) + set btn(CampusLabel v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasBtn() => $_has(4); + @$pb.TagNumber(5) + void clearBtn() => clearField(5); + @$pb.TagNumber(5) + CampusLabel ensureBtn() => $_ensure(4); +} + +class CampusFeedbackInfo extends $pb.GeneratedMessage { + factory CampusFeedbackInfo({ + $core.int? bizType, + $fixnum.Int64? bizId, + $fixnum.Int64? campusId, + $core.String? reason, + }) { + final $result = create(); + if (bizType != null) { + $result.bizType = bizType; + } + if (bizId != null) { + $result.bizId = bizId; + } + if (campusId != null) { + $result.campusId = campusId; + } + if (reason != null) { + $result.reason = reason; + } + return $result; + } + CampusFeedbackInfo._() : super(); + factory CampusFeedbackInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusFeedbackInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusFeedbackInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'bizType', $pb.PbFieldType.O3) + ..aInt64(2, _omitFieldNames ? '' : 'bizId') + ..aInt64(3, _omitFieldNames ? '' : 'campusId') + ..aOS(4, _omitFieldNames ? '' : 'reason') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusFeedbackInfo clone() => CampusFeedbackInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusFeedbackInfo copyWith(void Function(CampusFeedbackInfo) updates) => + super.copyWith((message) => updates(message as CampusFeedbackInfo)) + as CampusFeedbackInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusFeedbackInfo create() => CampusFeedbackInfo._(); + CampusFeedbackInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusFeedbackInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusFeedbackInfo? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get bizType => $_getIZ(0); + @$pb.TagNumber(1) + set bizType($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasBizType() => $_has(0); + @$pb.TagNumber(1) + void clearBizType() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get bizId => $_getI64(1); + @$pb.TagNumber(2) + set bizId($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasBizId() => $_has(1); + @$pb.TagNumber(2) + void clearBizId() => clearField(2); + + @$pb.TagNumber(3) + $fixnum.Int64 get campusId => $_getI64(2); + @$pb.TagNumber(3) + set campusId($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCampusId() => $_has(2); + @$pb.TagNumber(3) + void clearCampusId() => clearField(3); + + @$pb.TagNumber(4) + $core.String get reason => $_getSZ(3); + @$pb.TagNumber(4) + set reason($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasReason() => $_has(3); + @$pb.TagNumber(4) + void clearReason() => clearField(4); +} + +class CampusFeedbackReply extends $pb.GeneratedMessage { + factory CampusFeedbackReply({ + $core.String? message, + }) { + final $result = create(); + if (message != null) { + $result.message = message; + } + return $result; + } + CampusFeedbackReply._() : super(); + factory CampusFeedbackReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusFeedbackReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusFeedbackReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _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') + CampusFeedbackReply clone() => CampusFeedbackReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusFeedbackReply copyWith(void Function(CampusFeedbackReply) updates) => + super.copyWith((message) => updates(message as CampusFeedbackReply)) + as CampusFeedbackReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusFeedbackReply create() => CampusFeedbackReply._(); + CampusFeedbackReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusFeedbackReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusFeedbackReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get message => $_getSZ(0); + @$pb.TagNumber(1) + set message($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasMessage() => $_has(0); + @$pb.TagNumber(1) + void clearMessage() => clearField(1); +} + +class CampusFeedbackReq extends $pb.GeneratedMessage { + factory CampusFeedbackReq({ + $core.Iterable? infos, + $core.int? from, + }) { + final $result = create(); + if (infos != null) { + $result.infos.addAll(infos); + } + if (from != null) { + $result.from = from; + } + return $result; + } + CampusFeedbackReq._() : super(); + factory CampusFeedbackReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusFeedbackReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusFeedbackReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'infos', $pb.PbFieldType.PM, + subBuilder: CampusFeedbackInfo.create) + ..a<$core.int>(2, _omitFieldNames ? '' : 'from', $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') + CampusFeedbackReq clone() => CampusFeedbackReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusFeedbackReq copyWith(void Function(CampusFeedbackReq) updates) => + super.copyWith((message) => updates(message as CampusFeedbackReq)) + as CampusFeedbackReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusFeedbackReq create() => CampusFeedbackReq._(); + CampusFeedbackReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusFeedbackReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusFeedbackReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get infos => $_getList(0); + + @$pb.TagNumber(2) + $core.int get from => $_getIZ(1); + @$pb.TagNumber(2) + set from($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasFrom() => $_has(1); + @$pb.TagNumber(2) + void clearFrom() => clearField(2); +} + +class CampusHomePagesReply extends $pb.GeneratedMessage { + factory CampusHomePagesReply({ + CampusRcmdTop? top, + CampusTop? campusTop, + $core.int? pageType, + }) { + final $result = create(); + if (top != null) { + $result.top = top; + } + if (campusTop != null) { + $result.campusTop = campusTop; + } + if (pageType != null) { + $result.pageType = pageType; + } + return $result; + } + CampusHomePagesReply._() : super(); + factory CampusHomePagesReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusHomePagesReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusHomePagesReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'top', + subBuilder: CampusRcmdTop.create) + ..aOM(2, _omitFieldNames ? '' : 'campusTop', + subBuilder: CampusTop.create) + ..a<$core.int>(3, _omitFieldNames ? '' : 'pageType', $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') + CampusHomePagesReply clone() => + CampusHomePagesReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusHomePagesReply copyWith(void Function(CampusHomePagesReply) updates) => + super.copyWith((message) => updates(message as CampusHomePagesReply)) + as CampusHomePagesReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusHomePagesReply create() => CampusHomePagesReply._(); + CampusHomePagesReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusHomePagesReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusHomePagesReply? _defaultInstance; + + @$pb.TagNumber(1) + CampusRcmdTop get top => $_getN(0); + @$pb.TagNumber(1) + set top(CampusRcmdTop v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasTop() => $_has(0); + @$pb.TagNumber(1) + void clearTop() => clearField(1); + @$pb.TagNumber(1) + CampusRcmdTop ensureTop() => $_ensure(0); + + @$pb.TagNumber(2) + CampusTop get campusTop => $_getN(1); + @$pb.TagNumber(2) + set campusTop(CampusTop v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusTop() => $_has(1); + @$pb.TagNumber(2) + void clearCampusTop() => clearField(2); + @$pb.TagNumber(2) + CampusTop ensureCampusTop() => $_ensure(1); + + @$pb.TagNumber(3) + $core.int get pageType => $_getIZ(2); + @$pb.TagNumber(3) + set pageType($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasPageType() => $_has(2); + @$pb.TagNumber(3) + void clearPageType() => clearField(3); +} + +class CampusHomePagesReq extends $pb.GeneratedMessage { + factory CampusHomePagesReq({ + $fixnum.Int64? campusId, + $core.String? campusName, + $core.double? lat, + $core.double? lng, + $1.PlayerArgs? playerArgs, + $core.int? pageType, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (lat != null) { + $result.lat = lat; + } + if (lng != null) { + $result.lng = lng; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (pageType != null) { + $result.pageType = pageType; + } + return $result; + } + CampusHomePagesReq._() : super(); + factory CampusHomePagesReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusHomePagesReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusHomePagesReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..a<$core.double>(3, _omitFieldNames ? '' : 'lat', $pb.PbFieldType.OD) + ..a<$core.double>(4, _omitFieldNames ? '' : 'lng', $pb.PbFieldType.OD) + ..aOM<$1.PlayerArgs>(5, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..a<$core.int>(6, _omitFieldNames ? '' : 'pageType', $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') + CampusHomePagesReq clone() => CampusHomePagesReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusHomePagesReq copyWith(void Function(CampusHomePagesReq) updates) => + super.copyWith((message) => updates(message as CampusHomePagesReq)) + as CampusHomePagesReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusHomePagesReq create() => CampusHomePagesReq._(); + CampusHomePagesReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusHomePagesReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusHomePagesReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(3) + $core.double get lat => $_getN(2); + @$pb.TagNumber(3) + set lat($core.double v) { + $_setDouble(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasLat() => $_has(2); + @$pb.TagNumber(3) + void clearLat() => clearField(3); + + @$pb.TagNumber(4) + $core.double get lng => $_getN(3); + @$pb.TagNumber(4) + set lng($core.double v) { + $_setDouble(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasLng() => $_has(3); + @$pb.TagNumber(4) + void clearLng() => clearField(4); + + @$pb.TagNumber(5) + $1.PlayerArgs get playerArgs => $_getN(4); + @$pb.TagNumber(5) + set playerArgs($1.PlayerArgs v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasPlayerArgs() => $_has(4); + @$pb.TagNumber(5) + void clearPlayerArgs() => clearField(5); + @$pb.TagNumber(5) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(4); + + @$pb.TagNumber(6) + $core.int get pageType => $_getIZ(5); + @$pb.TagNumber(6) + set pageType($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasPageType() => $_has(5); + @$pb.TagNumber(6) + void clearPageType() => clearField(6); +} + +class CampusHomeRcmdTopic extends $pb.GeneratedMessage { + factory CampusHomeRcmdTopic({ + ModuleTitle? title, + $core.Iterable? topic, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (topic != null) { + $result.topic.addAll(topic); + } + return $result; + } + CampusHomeRcmdTopic._() : super(); + factory CampusHomeRcmdTopic.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusHomeRcmdTopic.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusHomeRcmdTopic', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'title', + subBuilder: ModuleTitle.create) + ..pc(2, _omitFieldNames ? '' : 'topic', $pb.PbFieldType.PM, + subBuilder: TopicItem.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') + CampusHomeRcmdTopic clone() => CampusHomeRcmdTopic()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusHomeRcmdTopic copyWith(void Function(CampusHomeRcmdTopic) updates) => + super.copyWith((message) => updates(message as CampusHomeRcmdTopic)) + as CampusHomeRcmdTopic; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusHomeRcmdTopic create() => CampusHomeRcmdTopic._(); + CampusHomeRcmdTopic createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusHomeRcmdTopic getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusHomeRcmdTopic? _defaultInstance; + + @$pb.TagNumber(1) + ModuleTitle get title => $_getN(0); + @$pb.TagNumber(1) + set title(ModuleTitle v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasTitle() => $_has(0); + @$pb.TagNumber(1) + void clearTitle() => clearField(1); + @$pb.TagNumber(1) + ModuleTitle ensureTitle() => $_ensure(0); + + @$pb.TagNumber(2) + $core.List get topic => $_getList(1); +} + +class CampusInfo extends $pb.GeneratedMessage { + factory CampusInfo({ + $fixnum.Int64? campusId, + $core.String? campusName, + $core.String? desc, + $fixnum.Int64? online, + $core.String? url, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (desc != null) { + $result.desc = desc; + } + if (online != null) { + $result.online = online; + } + if (url != null) { + $result.url = url; + } + return $result; + } + CampusInfo._() : super(); + factory CampusInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..aOS(3, _omitFieldNames ? '' : 'desc') + ..aInt64(4, _omitFieldNames ? '' : 'online') + ..aOS(5, _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') + CampusInfo clone() => CampusInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusInfo copyWith(void Function(CampusInfo) updates) => + super.copyWith((message) => updates(message as CampusInfo)) as CampusInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusInfo create() => CampusInfo._(); + CampusInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusInfo? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(3) + $core.String get desc => $_getSZ(2); + @$pb.TagNumber(3) + set desc($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDesc() => $_has(2); + @$pb.TagNumber(3) + void clearDesc() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get online => $_getI64(3); + @$pb.TagNumber(4) + set online($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasOnline() => $_has(3); + @$pb.TagNumber(4) + void clearOnline() => 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); +} + +class CampusLabel extends $pb.GeneratedMessage { + factory CampusLabel({ + $core.String? text, + $core.String? url, + $core.String? desc, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + if (url != null) { + $result.url = url; + } + if (desc != null) { + $result.desc = desc; + } + return $result; + } + CampusLabel._() : super(); + factory CampusLabel.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusLabel.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusLabel', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..aOS(2, _omitFieldNames ? '' : 'url') + ..aOS(3, _omitFieldNames ? '' : 'desc') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusLabel clone() => CampusLabel()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusLabel copyWith(void Function(CampusLabel) updates) => + super.copyWith((message) => updates(message as CampusLabel)) + as CampusLabel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusLabel create() => CampusLabel._(); + CampusLabel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusLabel getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusLabel? _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); + + @$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); + + @$pb.TagNumber(3) + $core.String get desc => $_getSZ(2); + @$pb.TagNumber(3) + set desc($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDesc() => $_has(2); + @$pb.TagNumber(3) + void clearDesc() => clearField(3); +} + +class CampusMateLikeListReply extends $pb.GeneratedMessage { + factory CampusMateLikeListReply({ + $core.Iterable? list, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + return $result; + } + CampusMateLikeListReply._() : super(); + factory CampusMateLikeListReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMateLikeListReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMateLikeListReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: ModuleAuthor.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') + CampusMateLikeListReply clone() => + CampusMateLikeListReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMateLikeListReply copyWith( + void Function(CampusMateLikeListReply) updates) => + super.copyWith((message) => updates(message as CampusMateLikeListReply)) + as CampusMateLikeListReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMateLikeListReply create() => CampusMateLikeListReply._(); + CampusMateLikeListReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMateLikeListReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMateLikeListReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get list => $_getList(0); +} + +class CampusMateLikeListReq extends $pb.GeneratedMessage { + factory CampusMateLikeListReq({ + $fixnum.Int64? dynamicId, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + CampusMateLikeListReq._() : super(); + factory CampusMateLikeListReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMateLikeListReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMateLikeListReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'dynamicId') + ..e( + 2, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + CampusMateLikeListReq clone() => + CampusMateLikeListReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMateLikeListReq copyWith( + void Function(CampusMateLikeListReq) updates) => + super.copyWith((message) => updates(message as CampusMateLikeListReq)) + as CampusMateLikeListReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMateLikeListReq create() => CampusMateLikeListReq._(); + CampusMateLikeListReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMateLikeListReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMateLikeListReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get dynamicId => $_getI64(0); + @$pb.TagNumber(1) + set dynamicId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasDynamicId() => $_has(0); + @$pb.TagNumber(1) + void clearDynamicId() => clearField(1); + + @$pb.TagNumber(2) + CampusReqFromType get fromType => $_getN(1); + @$pb.TagNumber(2) + set fromType(CampusReqFromType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasFromType() => $_has(1); + @$pb.TagNumber(2) + void clearFromType() => clearField(2); +} + +class CampusMngBadge extends $pb.GeneratedMessage { + factory CampusMngBadge({ + $core.String? title, + $core.String? badgeUrl, + $core.String? uploadHintMsg, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (badgeUrl != null) { + $result.badgeUrl = badgeUrl; + } + if (uploadHintMsg != null) { + $result.uploadHintMsg = uploadHintMsg; + } + return $result; + } + CampusMngBadge._() : super(); + factory CampusMngBadge.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngBadge.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngBadge', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'badgeUrl') + ..aOS(3, _omitFieldNames ? '' : 'uploadHintMsg') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusMngBadge clone() => CampusMngBadge()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngBadge copyWith(void Function(CampusMngBadge) updates) => + super.copyWith((message) => updates(message as CampusMngBadge)) + as CampusMngBadge; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngBadge create() => CampusMngBadge._(); + CampusMngBadge createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngBadge getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngBadge? _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 badgeUrl => $_getSZ(1); + @$pb.TagNumber(2) + set badgeUrl($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasBadgeUrl() => $_has(1); + @$pb.TagNumber(2) + void clearBadgeUrl() => clearField(2); + + @$pb.TagNumber(3) + $core.String get uploadHintMsg => $_getSZ(2); + @$pb.TagNumber(3) + set uploadHintMsg($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUploadHintMsg() => $_has(2); + @$pb.TagNumber(3) + void clearUploadHintMsg() => clearField(3); +} + +class CampusMngBasicInfo extends $pb.GeneratedMessage { + factory CampusMngBasicInfo({ + $fixnum.Int64? campusId, + $core.String? campusName, + $core.String? hintMsg, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (hintMsg != null) { + $result.hintMsg = hintMsg; + } + return $result; + } + CampusMngBasicInfo._() : super(); + factory CampusMngBasicInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngBasicInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngBasicInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..aOS(3, _omitFieldNames ? '' : 'hintMsg') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusMngBasicInfo clone() => CampusMngBasicInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngBasicInfo copyWith(void Function(CampusMngBasicInfo) updates) => + super.copyWith((message) => updates(message as CampusMngBasicInfo)) + as CampusMngBasicInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngBasicInfo create() => CampusMngBasicInfo._(); + CampusMngBasicInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngBasicInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngBasicInfo? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(3) + $core.String get hintMsg => $_getSZ(2); + @$pb.TagNumber(3) + set hintMsg($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHintMsg() => $_has(2); + @$pb.TagNumber(3) + void clearHintMsg() => clearField(3); +} + +class CampusMngDetailReply extends $pb.GeneratedMessage { + factory CampusMngDetailReply({ + $core.Iterable? items, + $core.String? topHintBarMsg, + $core.String? bottomSubmitHintMsg, + $fixnum.Int64? campusId, + $core.String? campusName, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (topHintBarMsg != null) { + $result.topHintBarMsg = topHintBarMsg; + } + if (bottomSubmitHintMsg != null) { + $result.bottomSubmitHintMsg = bottomSubmitHintMsg; + } + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + return $result; + } + CampusMngDetailReply._() : super(); + factory CampusMngDetailReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngDetailReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngDetailReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: CampusMngItem.create) + ..aOS(2, _omitFieldNames ? '' : 'topHintBarMsg') + ..aOS(3, _omitFieldNames ? '' : 'bottomSubmitHintMsg') + ..aInt64(4, _omitFieldNames ? '' : 'campusId') + ..aOS(5, _omitFieldNames ? '' : 'campusName') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusMngDetailReply clone() => + CampusMngDetailReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngDetailReply copyWith(void Function(CampusMngDetailReply) updates) => + super.copyWith((message) => updates(message as CampusMngDetailReply)) + as CampusMngDetailReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngDetailReply create() => CampusMngDetailReply._(); + CampusMngDetailReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngDetailReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngDetailReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get items => $_getList(0); + + @$pb.TagNumber(2) + $core.String get topHintBarMsg => $_getSZ(1); + @$pb.TagNumber(2) + set topHintBarMsg($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasTopHintBarMsg() => $_has(1); + @$pb.TagNumber(2) + void clearTopHintBarMsg() => clearField(2); + + @$pb.TagNumber(3) + $core.String get bottomSubmitHintMsg => $_getSZ(2); + @$pb.TagNumber(3) + set bottomSubmitHintMsg($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasBottomSubmitHintMsg() => $_has(2); + @$pb.TagNumber(3) + void clearBottomSubmitHintMsg() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get campusId => $_getI64(3); + @$pb.TagNumber(4) + set campusId($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasCampusId() => $_has(3); + @$pb.TagNumber(4) + void clearCampusId() => clearField(4); + + @$pb.TagNumber(5) + $core.String get campusName => $_getSZ(4); + @$pb.TagNumber(5) + set campusName($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCampusName() => $_has(4); + @$pb.TagNumber(5) + void clearCampusName() => clearField(5); +} + +class CampusMngDetailReq extends $pb.GeneratedMessage { + factory CampusMngDetailReq({ + $fixnum.Int64? campusId, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + return $result; + } + CampusMngDetailReq._() : super(); + factory CampusMngDetailReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngDetailReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngDetailReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusMngDetailReq clone() => CampusMngDetailReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngDetailReq copyWith(void Function(CampusMngDetailReq) updates) => + super.copyWith((message) => updates(message as CampusMngDetailReq)) + as CampusMngDetailReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngDetailReq create() => CampusMngDetailReq._(); + CampusMngDetailReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngDetailReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngDetailReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); +} + +enum CampusMngItem_Item { basicInfo, badge, slogan, quiz, notSet } + +class CampusMngItem extends $pb.GeneratedMessage { + factory CampusMngItem({ + $core.int? auditStatus, + $core.String? auditMessage, + $core.int? itemType, + $core.String? mngItemId, + $core.bool? isDel, + CampusMngBasicInfo? basicInfo, + CampusMngBadge? badge, + $core.String? slogan, + CampusMngQuiz? quiz, + }) { + final $result = create(); + if (auditStatus != null) { + $result.auditStatus = auditStatus; + } + if (auditMessage != null) { + $result.auditMessage = auditMessage; + } + if (itemType != null) { + $result.itemType = itemType; + } + if (mngItemId != null) { + $result.mngItemId = mngItemId; + } + if (isDel != null) { + $result.isDel = isDel; + } + if (basicInfo != null) { + $result.basicInfo = basicInfo; + } + if (badge != null) { + $result.badge = badge; + } + if (slogan != null) { + $result.slogan = slogan; + } + if (quiz != null) { + $result.quiz = quiz; + } + return $result; + } + CampusMngItem._() : super(); + factory CampusMngItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, CampusMngItem_Item> + _CampusMngItem_ItemByTag = { + 6: CampusMngItem_Item.basicInfo, + 7: CampusMngItem_Item.badge, + 8: CampusMngItem_Item.slogan, + 9: CampusMngItem_Item.quiz, + 0: CampusMngItem_Item.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [6, 7, 8, 9]) + ..a<$core.int>(1, _omitFieldNames ? '' : 'auditStatus', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'auditMessage') + ..a<$core.int>(3, _omitFieldNames ? '' : 'itemType', $pb.PbFieldType.O3) + ..aOS(4, _omitFieldNames ? '' : 'mngItemId') + ..aOB(5, _omitFieldNames ? '' : 'isDel') + ..aOM(6, _omitFieldNames ? '' : 'basicInfo', + subBuilder: CampusMngBasicInfo.create) + ..aOM(7, _omitFieldNames ? '' : 'badge', + subBuilder: CampusMngBadge.create) + ..aOS(8, _omitFieldNames ? '' : 'slogan') + ..aOM(9, _omitFieldNames ? '' : 'quiz', + subBuilder: CampusMngQuiz.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') + CampusMngItem clone() => CampusMngItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngItem copyWith(void Function(CampusMngItem) updates) => + super.copyWith((message) => updates(message as CampusMngItem)) + as CampusMngItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngItem create() => CampusMngItem._(); + CampusMngItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngItem? _defaultInstance; + + CampusMngItem_Item whichItem() => _CampusMngItem_ItemByTag[$_whichOneof(0)]!; + void clearItem() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $core.int get auditStatus => $_getIZ(0); + @$pb.TagNumber(1) + set auditStatus($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasAuditStatus() => $_has(0); + @$pb.TagNumber(1) + void clearAuditStatus() => clearField(1); + + @$pb.TagNumber(2) + $core.String get auditMessage => $_getSZ(1); + @$pb.TagNumber(2) + set auditMessage($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasAuditMessage() => $_has(1); + @$pb.TagNumber(2) + void clearAuditMessage() => clearField(2); + + @$pb.TagNumber(3) + $core.int get itemType => $_getIZ(2); + @$pb.TagNumber(3) + set itemType($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasItemType() => $_has(2); + @$pb.TagNumber(3) + void clearItemType() => clearField(3); + + @$pb.TagNumber(4) + $core.String get mngItemId => $_getSZ(3); + @$pb.TagNumber(4) + set mngItemId($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasMngItemId() => $_has(3); + @$pb.TagNumber(4) + void clearMngItemId() => clearField(4); + + @$pb.TagNumber(5) + $core.bool get isDel => $_getBF(4); + @$pb.TagNumber(5) + set isDel($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasIsDel() => $_has(4); + @$pb.TagNumber(5) + void clearIsDel() => clearField(5); + + @$pb.TagNumber(6) + CampusMngBasicInfo get basicInfo => $_getN(5); + @$pb.TagNumber(6) + set basicInfo(CampusMngBasicInfo v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasBasicInfo() => $_has(5); + @$pb.TagNumber(6) + void clearBasicInfo() => clearField(6); + @$pb.TagNumber(6) + CampusMngBasicInfo ensureBasicInfo() => $_ensure(5); + + @$pb.TagNumber(7) + CampusMngBadge get badge => $_getN(6); + @$pb.TagNumber(7) + set badge(CampusMngBadge v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasBadge() => $_has(6); + @$pb.TagNumber(7) + void clearBadge() => clearField(7); + @$pb.TagNumber(7) + CampusMngBadge ensureBadge() => $_ensure(6); + + @$pb.TagNumber(8) + $core.String get slogan => $_getSZ(7); + @$pb.TagNumber(8) + set slogan($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasSlogan() => $_has(7); + @$pb.TagNumber(8) + void clearSlogan() => clearField(8); + + @$pb.TagNumber(9) + CampusMngQuiz get quiz => $_getN(8); + @$pb.TagNumber(9) + set quiz(CampusMngQuiz v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasQuiz() => $_has(8); + @$pb.TagNumber(9) + void clearQuiz() => clearField(9); + @$pb.TagNumber(9) + CampusMngQuiz ensureQuiz() => $_ensure(8); +} + +class CampusMngQuiz extends $pb.GeneratedMessage { + factory CampusMngQuiz({ + $core.String? title, + CampusLabel? moreLabel, + $core.String? addLabel, + $core.String? submitLabel, + $fixnum.Int64? quizCount, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (moreLabel != null) { + $result.moreLabel = moreLabel; + } + if (addLabel != null) { + $result.addLabel = addLabel; + } + if (submitLabel != null) { + $result.submitLabel = submitLabel; + } + if (quizCount != null) { + $result.quizCount = quizCount; + } + return $result; + } + CampusMngQuiz._() : super(); + factory CampusMngQuiz.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngQuiz.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngQuiz', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOM(2, _omitFieldNames ? '' : 'moreLabel', + subBuilder: CampusLabel.create) + ..aOS(3, _omitFieldNames ? '' : 'addLabel') + ..aOS(4, _omitFieldNames ? '' : 'submitLabel') + ..aInt64(5, _omitFieldNames ? '' : 'quizCount') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusMngQuiz clone() => CampusMngQuiz()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngQuiz copyWith(void Function(CampusMngQuiz) updates) => + super.copyWith((message) => updates(message as CampusMngQuiz)) + as CampusMngQuiz; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngQuiz create() => CampusMngQuiz._(); + CampusMngQuiz createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngQuiz getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngQuiz? _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) + CampusLabel get moreLabel => $_getN(1); + @$pb.TagNumber(2) + set moreLabel(CampusLabel v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasMoreLabel() => $_has(1); + @$pb.TagNumber(2) + void clearMoreLabel() => clearField(2); + @$pb.TagNumber(2) + CampusLabel ensureMoreLabel() => $_ensure(1); + + @$pb.TagNumber(3) + $core.String get addLabel => $_getSZ(2); + @$pb.TagNumber(3) + set addLabel($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasAddLabel() => $_has(2); + @$pb.TagNumber(3) + void clearAddLabel() => clearField(3); + + @$pb.TagNumber(4) + $core.String get submitLabel => $_getSZ(3); + @$pb.TagNumber(4) + set submitLabel($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasSubmitLabel() => $_has(3); + @$pb.TagNumber(4) + void clearSubmitLabel() => clearField(4); + + @$pb.TagNumber(5) + $fixnum.Int64 get quizCount => $_getI64(4); + @$pb.TagNumber(5) + set quizCount($fixnum.Int64 v) { + $_setInt64(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasQuizCount() => $_has(4); + @$pb.TagNumber(5) + void clearQuizCount() => clearField(5); +} + +class CampusMngQuizDetail extends $pb.GeneratedMessage { + factory CampusMngQuizDetail({ + $fixnum.Int64? quizId, + $core.String? question, + $core.String? correctAnswer, + $core.Iterable<$core.String>? wrongAnswerList, + $core.int? auditStatus, + $core.String? auditMessage, + }) { + final $result = create(); + if (quizId != null) { + $result.quizId = quizId; + } + if (question != null) { + $result.question = question; + } + if (correctAnswer != null) { + $result.correctAnswer = correctAnswer; + } + if (wrongAnswerList != null) { + $result.wrongAnswerList.addAll(wrongAnswerList); + } + if (auditStatus != null) { + $result.auditStatus = auditStatus; + } + if (auditMessage != null) { + $result.auditMessage = auditMessage; + } + return $result; + } + CampusMngQuizDetail._() : super(); + factory CampusMngQuizDetail.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngQuizDetail.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngQuizDetail', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'quizId') + ..aOS(2, _omitFieldNames ? '' : 'question') + ..aOS(3, _omitFieldNames ? '' : 'correctAnswer') + ..pPS(4, _omitFieldNames ? '' : 'wrongAnswerList') + ..a<$core.int>(5, _omitFieldNames ? '' : 'auditStatus', $pb.PbFieldType.O3) + ..aOS(6, _omitFieldNames ? '' : 'auditMessage') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusMngQuizDetail clone() => CampusMngQuizDetail()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngQuizDetail copyWith(void Function(CampusMngQuizDetail) updates) => + super.copyWith((message) => updates(message as CampusMngQuizDetail)) + as CampusMngQuizDetail; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngQuizDetail create() => CampusMngQuizDetail._(); + CampusMngQuizDetail createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngQuizDetail getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngQuizDetail? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get quizId => $_getI64(0); + @$pb.TagNumber(1) + set quizId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasQuizId() => $_has(0); + @$pb.TagNumber(1) + void clearQuizId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get question => $_getSZ(1); + @$pb.TagNumber(2) + set question($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasQuestion() => $_has(1); + @$pb.TagNumber(2) + void clearQuestion() => clearField(2); + + @$pb.TagNumber(3) + $core.String get correctAnswer => $_getSZ(2); + @$pb.TagNumber(3) + set correctAnswer($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCorrectAnswer() => $_has(2); + @$pb.TagNumber(3) + void clearCorrectAnswer() => clearField(3); + + @$pb.TagNumber(4) + $core.List<$core.String> get wrongAnswerList => $_getList(3); + + @$pb.TagNumber(5) + $core.int get auditStatus => $_getIZ(4); + @$pb.TagNumber(5) + set auditStatus($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasAuditStatus() => $_has(4); + @$pb.TagNumber(5) + void clearAuditStatus() => clearField(5); + + @$pb.TagNumber(6) + $core.String get auditMessage => $_getSZ(5); + @$pb.TagNumber(6) + set auditMessage($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasAuditMessage() => $_has(5); + @$pb.TagNumber(6) + void clearAuditMessage() => clearField(6); +} + +class CampusMngQuizOperateReply extends $pb.GeneratedMessage { + factory CampusMngQuizOperateReply({ + $core.String? toast, + $core.Iterable? quiz, + $fixnum.Int64? quizTotal, + }) { + final $result = create(); + if (toast != null) { + $result.toast = toast; + } + if (quiz != null) { + $result.quiz.addAll(quiz); + } + if (quizTotal != null) { + $result.quizTotal = quizTotal; + } + return $result; + } + CampusMngQuizOperateReply._() : super(); + factory CampusMngQuizOperateReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngQuizOperateReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngQuizOperateReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'toast') + ..pc( + 2, _omitFieldNames ? '' : 'quiz', $pb.PbFieldType.PM, + subBuilder: CampusMngQuizDetail.create) + ..aInt64(3, _omitFieldNames ? '' : 'quizTotal') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusMngQuizOperateReply clone() => + CampusMngQuizOperateReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngQuizOperateReply copyWith( + void Function(CampusMngQuizOperateReply) updates) => + super.copyWith((message) => updates(message as CampusMngQuizOperateReply)) + as CampusMngQuizOperateReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngQuizOperateReply create() => CampusMngQuizOperateReply._(); + CampusMngQuizOperateReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngQuizOperateReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngQuizOperateReply? _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) + $core.List get quiz => $_getList(1); + + @$pb.TagNumber(3) + $fixnum.Int64 get quizTotal => $_getI64(2); + @$pb.TagNumber(3) + set quizTotal($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasQuizTotal() => $_has(2); + @$pb.TagNumber(3) + void clearQuizTotal() => clearField(3); +} + +class CampusMngQuizOperateReq extends $pb.GeneratedMessage { + factory CampusMngQuizOperateReq({ + $core.int? action, + $fixnum.Int64? campusId, + $core.Iterable? quiz, + }) { + final $result = create(); + if (action != null) { + $result.action = action; + } + if (campusId != null) { + $result.campusId = campusId; + } + if (quiz != null) { + $result.quiz.addAll(quiz); + } + return $result; + } + CampusMngQuizOperateReq._() : super(); + factory CampusMngQuizOperateReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngQuizOperateReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngQuizOperateReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'action', $pb.PbFieldType.O3) + ..aInt64(2, _omitFieldNames ? '' : 'campusId') + ..pc( + 3, _omitFieldNames ? '' : 'quiz', $pb.PbFieldType.PM, + subBuilder: CampusMngQuizDetail.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') + CampusMngQuizOperateReq clone() => + CampusMngQuizOperateReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngQuizOperateReq copyWith( + void Function(CampusMngQuizOperateReq) updates) => + super.copyWith((message) => updates(message as CampusMngQuizOperateReq)) + as CampusMngQuizOperateReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngQuizOperateReq create() => CampusMngQuizOperateReq._(); + CampusMngQuizOperateReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngQuizOperateReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngQuizOperateReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get action => $_getIZ(0); + @$pb.TagNumber(1) + set action($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasAction() => $_has(0); + @$pb.TagNumber(1) + void clearAction() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get campusId => $_getI64(1); + @$pb.TagNumber(2) + set campusId($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusId() => $_has(1); + @$pb.TagNumber(2) + void clearCampusId() => clearField(2); + + @$pb.TagNumber(3) + $core.List get quiz => $_getList(2); +} + +class CampusMngSlogan extends $pb.GeneratedMessage { + factory CampusMngSlogan({ + $core.String? title, + $core.String? slogan, + $core.String? inputHintMsg, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (slogan != null) { + $result.slogan = slogan; + } + if (inputHintMsg != null) { + $result.inputHintMsg = inputHintMsg; + } + return $result; + } + CampusMngSlogan._() : super(); + factory CampusMngSlogan.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngSlogan.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngSlogan', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'slogan') + ..aOS(3, _omitFieldNames ? '' : 'inputHintMsg') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusMngSlogan clone() => CampusMngSlogan()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngSlogan copyWith(void Function(CampusMngSlogan) updates) => + super.copyWith((message) => updates(message as CampusMngSlogan)) + as CampusMngSlogan; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngSlogan create() => CampusMngSlogan._(); + CampusMngSlogan createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngSlogan getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngSlogan? _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 slogan => $_getSZ(1); + @$pb.TagNumber(2) + set slogan($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasSlogan() => $_has(1); + @$pb.TagNumber(2) + void clearSlogan() => clearField(2); + + @$pb.TagNumber(3) + $core.String get inputHintMsg => $_getSZ(2); + @$pb.TagNumber(3) + set inputHintMsg($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasInputHintMsg() => $_has(2); + @$pb.TagNumber(3) + void clearInputHintMsg() => clearField(3); +} + +class CampusMngSubmitReply extends $pb.GeneratedMessage { + factory CampusMngSubmitReply({ + $core.String? toast, + }) { + final $result = create(); + if (toast != null) { + $result.toast = toast; + } + return $result; + } + CampusMngSubmitReply._() : super(); + factory CampusMngSubmitReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngSubmitReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngSubmitReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + 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') + CampusMngSubmitReply clone() => + CampusMngSubmitReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngSubmitReply copyWith(void Function(CampusMngSubmitReply) updates) => + super.copyWith((message) => updates(message as CampusMngSubmitReply)) + as CampusMngSubmitReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngSubmitReply create() => CampusMngSubmitReply._(); + CampusMngSubmitReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngSubmitReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngSubmitReply? _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 CampusMngSubmitReq extends $pb.GeneratedMessage { + factory CampusMngSubmitReq({ + $fixnum.Int64? campusId, + $core.Iterable? modifiedItems, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (modifiedItems != null) { + $result.modifiedItems.addAll(modifiedItems); + } + return $result; + } + CampusMngSubmitReq._() : super(); + factory CampusMngSubmitReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusMngSubmitReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusMngSubmitReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..pc( + 2, _omitFieldNames ? '' : 'modifiedItems', $pb.PbFieldType.PM, + subBuilder: CampusMngItem.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') + CampusMngSubmitReq clone() => CampusMngSubmitReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusMngSubmitReq copyWith(void Function(CampusMngSubmitReq) updates) => + super.copyWith((message) => updates(message as CampusMngSubmitReq)) + as CampusMngSubmitReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusMngSubmitReq create() => CampusMngSubmitReq._(); + CampusMngSubmitReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusMngSubmitReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusMngSubmitReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.List get modifiedItems => $_getList(1); +} + +class CampusNoticeInfo extends $pb.GeneratedMessage { + factory CampusNoticeInfo({ + $core.String? title, + $core.String? desc, + CampusLabel? button, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (desc != null) { + $result.desc = desc; + } + if (button != null) { + $result.button = button; + } + return $result; + } + CampusNoticeInfo._() : super(); + factory CampusNoticeInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusNoticeInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusNoticeInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'desc') + ..aOM(3, _omitFieldNames ? '' : 'button', + subBuilder: CampusLabel.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') + CampusNoticeInfo clone() => CampusNoticeInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusNoticeInfo copyWith(void Function(CampusNoticeInfo) updates) => + super.copyWith((message) => updates(message as CampusNoticeInfo)) + as CampusNoticeInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusNoticeInfo create() => CampusNoticeInfo._(); + CampusNoticeInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusNoticeInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusNoticeInfo? _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 desc => $_getSZ(1); + @$pb.TagNumber(2) + set desc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDesc() => $_has(1); + @$pb.TagNumber(2) + void clearDesc() => clearField(2); + + @$pb.TagNumber(3) + CampusLabel get button => $_getN(2); + @$pb.TagNumber(3) + set button(CampusLabel v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasButton() => $_has(2); + @$pb.TagNumber(3) + void clearButton() => clearField(3); + @$pb.TagNumber(3) + CampusLabel ensureButton() => $_ensure(2); +} + +class CampusRcmdFeedReply extends $pb.GeneratedMessage { + factory CampusRcmdFeedReply({ + $core.Iterable? list, + $core.String? toast, + GuideBarInfo? guideBar, + $core.bool? hasMore, + $core.bool? update, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (toast != null) { + $result.toast = toast; + } + if (guideBar != null) { + $result.guideBar = guideBar; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (update != null) { + $result.update = update; + } + return $result; + } + CampusRcmdFeedReply._() : super(); + factory CampusRcmdFeedReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRcmdFeedReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRcmdFeedReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOS(2, _omitFieldNames ? '' : 'toast') + ..aOM(3, _omitFieldNames ? '' : 'guideBar', + subBuilder: GuideBarInfo.create) + ..aOB(4, _omitFieldNames ? '' : 'hasMore') + ..aOB(5, _omitFieldNames ? '' : 'update') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusRcmdFeedReply clone() => CampusRcmdFeedReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRcmdFeedReply copyWith(void Function(CampusRcmdFeedReply) updates) => + super.copyWith((message) => updates(message as CampusRcmdFeedReply)) + as CampusRcmdFeedReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRcmdFeedReply create() => CampusRcmdFeedReply._(); + CampusRcmdFeedReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRcmdFeedReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRcmdFeedReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get list => $_getList(0); + + @$pb.TagNumber(2) + $core.String get toast => $_getSZ(1); + @$pb.TagNumber(2) + set toast($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasToast() => $_has(1); + @$pb.TagNumber(2) + void clearToast() => clearField(2); + + @$pb.TagNumber(3) + GuideBarInfo get guideBar => $_getN(2); + @$pb.TagNumber(3) + set guideBar(GuideBarInfo v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasGuideBar() => $_has(2); + @$pb.TagNumber(3) + void clearGuideBar() => clearField(3); + @$pb.TagNumber(3) + GuideBarInfo ensureGuideBar() => $_ensure(2); + + @$pb.TagNumber(4) + $core.bool get hasMore => $_getBF(3); + @$pb.TagNumber(4) + set hasMore($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasHasMore() => $_has(3); + @$pb.TagNumber(4) + void clearHasMore() => clearField(4); + + @$pb.TagNumber(5) + $core.bool get update => $_getBF(4); + @$pb.TagNumber(5) + set update($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasUpdate() => $_has(4); + @$pb.TagNumber(5) + void clearUpdate() => clearField(5); +} + +class CampusRcmdFeedReq extends $pb.GeneratedMessage { + factory CampusRcmdFeedReq({ + $fixnum.Int64? campusId, + $core.int? firstTime, + $1.PlayerArgs? playerArgs, + $core.int? localTime, + $core.int? page, + $core.int? scroll, + $core.String? viewDynId, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (firstTime != null) { + $result.firstTime = firstTime; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (page != null) { + $result.page = page; + } + if (scroll != null) { + $result.scroll = scroll; + } + if (viewDynId != null) { + $result.viewDynId = viewDynId; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + CampusRcmdFeedReq._() : super(); + factory CampusRcmdFeedReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRcmdFeedReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRcmdFeedReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..a<$core.int>(2, _omitFieldNames ? '' : 'firstTime', $pb.PbFieldType.O3) + ..aOM<$1.PlayerArgs>(3, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..a<$core.int>(4, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..a<$core.int>(5, _omitFieldNames ? '' : 'page', $pb.PbFieldType.O3) + ..a<$core.int>(6, _omitFieldNames ? '' : 'scroll', $pb.PbFieldType.O3) + ..aOS(7, _omitFieldNames ? '' : 'viewDynId') + ..e( + 8, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + CampusRcmdFeedReq clone() => CampusRcmdFeedReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRcmdFeedReq copyWith(void Function(CampusRcmdFeedReq) updates) => + super.copyWith((message) => updates(message as CampusRcmdFeedReq)) + as CampusRcmdFeedReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRcmdFeedReq create() => CampusRcmdFeedReq._(); + CampusRcmdFeedReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRcmdFeedReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRcmdFeedReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.int get firstTime => $_getIZ(1); + @$pb.TagNumber(2) + set firstTime($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasFirstTime() => $_has(1); + @$pb.TagNumber(2) + void clearFirstTime() => clearField(2); + + @$pb.TagNumber(3) + $1.PlayerArgs get playerArgs => $_getN(2); + @$pb.TagNumber(3) + set playerArgs($1.PlayerArgs v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasPlayerArgs() => $_has(2); + @$pb.TagNumber(3) + void clearPlayerArgs() => clearField(3); + @$pb.TagNumber(3) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(2); + + @$pb.TagNumber(4) + $core.int get localTime => $_getIZ(3); + @$pb.TagNumber(4) + set localTime($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasLocalTime() => $_has(3); + @$pb.TagNumber(4) + void clearLocalTime() => clearField(4); + + @$pb.TagNumber(5) + $core.int get page => $_getIZ(4); + @$pb.TagNumber(5) + set page($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasPage() => $_has(4); + @$pb.TagNumber(5) + void clearPage() => clearField(5); + + @$pb.TagNumber(6) + $core.int get scroll => $_getIZ(5); + @$pb.TagNumber(6) + set scroll($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasScroll() => $_has(5); + @$pb.TagNumber(6) + void clearScroll() => clearField(6); + + @$pb.TagNumber(7) + $core.String get viewDynId => $_getSZ(6); + @$pb.TagNumber(7) + set viewDynId($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasViewDynId() => $_has(6); + @$pb.TagNumber(7) + void clearViewDynId() => clearField(7); + + @$pb.TagNumber(8) + CampusReqFromType get fromType => $_getN(7); + @$pb.TagNumber(8) + set fromType(CampusReqFromType v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasFromType() => $_has(7); + @$pb.TagNumber(8) + void clearFromType() => clearField(8); +} + +class CampusRcmdInfo extends $pb.GeneratedMessage { + factory CampusRcmdInfo({ + $core.String? title, + $core.Iterable? items, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (items != null) { + $result.items.addAll(items); + } + return $result; + } + CampusRcmdInfo._() : super(); + factory CampusRcmdInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRcmdInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRcmdInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: CampusRcmdItem.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') + CampusRcmdInfo clone() => CampusRcmdInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRcmdInfo copyWith(void Function(CampusRcmdInfo) updates) => + super.copyWith((message) => updates(message as CampusRcmdInfo)) + as CampusRcmdInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRcmdInfo create() => CampusRcmdInfo._(); + CampusRcmdInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRcmdInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRcmdInfo? _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.List get items => $_getList(1); +} + +class CampusRcmdItem extends $pb.GeneratedMessage { + factory CampusRcmdItem({ + $core.String? title, + $core.Iterable? items, + $fixnum.Int64? campusId, + CampusLabel? entryLabel, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (items != null) { + $result.items.addAll(items); + } + if (campusId != null) { + $result.campusId = campusId; + } + if (entryLabel != null) { + $result.entryLabel = entryLabel; + } + return $result; + } + CampusRcmdItem._() : super(); + factory CampusRcmdItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRcmdItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRcmdItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: RcmdItem.create) + ..aInt64(3, _omitFieldNames ? '' : 'campusId') + ..aOM(4, _omitFieldNames ? '' : 'entryLabel', + subBuilder: CampusLabel.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') + CampusRcmdItem clone() => CampusRcmdItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRcmdItem copyWith(void Function(CampusRcmdItem) updates) => + super.copyWith((message) => updates(message as CampusRcmdItem)) + as CampusRcmdItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRcmdItem create() => CampusRcmdItem._(); + CampusRcmdItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRcmdItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRcmdItem? _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.List get items => $_getList(1); + + @$pb.TagNumber(3) + $fixnum.Int64 get campusId => $_getI64(2); + @$pb.TagNumber(3) + set campusId($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCampusId() => $_has(2); + @$pb.TagNumber(3) + void clearCampusId() => clearField(3); + + @$pb.TagNumber(4) + CampusLabel get entryLabel => $_getN(3); + @$pb.TagNumber(4) + set entryLabel(CampusLabel v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasEntryLabel() => $_has(3); + @$pb.TagNumber(4) + void clearEntryLabel() => clearField(4); + @$pb.TagNumber(4) + CampusLabel ensureEntryLabel() => $_ensure(3); +} + +class CampusRcmdReply extends $pb.GeneratedMessage { + factory CampusRcmdReply({ + CampusRcmdTop? top, + CampusRcmdInfo? rcmd, + CampusTop? campusTop, + $core.int? pageType, + $core.int? jumpHomePop, + }) { + final $result = create(); + if (top != null) { + $result.top = top; + } + if (rcmd != null) { + $result.rcmd = rcmd; + } + if (campusTop != null) { + $result.campusTop = campusTop; + } + if (pageType != null) { + $result.pageType = pageType; + } + if (jumpHomePop != null) { + $result.jumpHomePop = jumpHomePop; + } + return $result; + } + CampusRcmdReply._() : super(); + factory CampusRcmdReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRcmdReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRcmdReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'top', + subBuilder: CampusRcmdTop.create) + ..aOM(2, _omitFieldNames ? '' : 'rcmd', + subBuilder: CampusRcmdInfo.create) + ..aOM(3, _omitFieldNames ? '' : 'campusTop', + subBuilder: CampusTop.create) + ..a<$core.int>(4, _omitFieldNames ? '' : 'pageType', $pb.PbFieldType.O3) + ..a<$core.int>(5, _omitFieldNames ? '' : 'jumpHomePop', $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') + CampusRcmdReply clone() => CampusRcmdReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRcmdReply copyWith(void Function(CampusRcmdReply) updates) => + super.copyWith((message) => updates(message as CampusRcmdReply)) + as CampusRcmdReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRcmdReply create() => CampusRcmdReply._(); + CampusRcmdReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRcmdReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRcmdReply? _defaultInstance; + + @$pb.TagNumber(1) + CampusRcmdTop get top => $_getN(0); + @$pb.TagNumber(1) + set top(CampusRcmdTop v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasTop() => $_has(0); + @$pb.TagNumber(1) + void clearTop() => clearField(1); + @$pb.TagNumber(1) + CampusRcmdTop ensureTop() => $_ensure(0); + + @$pb.TagNumber(2) + CampusRcmdInfo get rcmd => $_getN(1); + @$pb.TagNumber(2) + set rcmd(CampusRcmdInfo v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasRcmd() => $_has(1); + @$pb.TagNumber(2) + void clearRcmd() => clearField(2); + @$pb.TagNumber(2) + CampusRcmdInfo ensureRcmd() => $_ensure(1); + + @$pb.TagNumber(3) + CampusTop get campusTop => $_getN(2); + @$pb.TagNumber(3) + set campusTop(CampusTop v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasCampusTop() => $_has(2); + @$pb.TagNumber(3) + void clearCampusTop() => clearField(3); + @$pb.TagNumber(3) + CampusTop ensureCampusTop() => $_ensure(2); + + @$pb.TagNumber(4) + $core.int get pageType => $_getIZ(3); + @$pb.TagNumber(4) + set pageType($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasPageType() => $_has(3); + @$pb.TagNumber(4) + void clearPageType() => clearField(4); + + @$pb.TagNumber(5) + $core.int get jumpHomePop => $_getIZ(4); + @$pb.TagNumber(5) + set jumpHomePop($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasJumpHomePop() => $_has(4); + @$pb.TagNumber(5) + void clearJumpHomePop() => clearField(5); +} + +class CampusRcmdReq extends $pb.GeneratedMessage { + factory CampusRcmdReq({ + $fixnum.Int64? campusId, + $core.String? campusName, + $core.double? lat, + $core.double? lng, + $1.PlayerArgs? playerArgs, + CampusReqFromType? fromType, + CampusHomePageType? pageType, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (lat != null) { + $result.lat = lat; + } + if (lng != null) { + $result.lng = lng; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (fromType != null) { + $result.fromType = fromType; + } + if (pageType != null) { + $result.pageType = pageType; + } + return $result; + } + CampusRcmdReq._() : super(); + factory CampusRcmdReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRcmdReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRcmdReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..a<$core.double>(3, _omitFieldNames ? '' : 'lat', $pb.PbFieldType.OD) + ..a<$core.double>(4, _omitFieldNames ? '' : 'lng', $pb.PbFieldType.OD) + ..aOM<$1.PlayerArgs>(5, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..e( + 6, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.values) + ..e( + 7, _omitFieldNames ? '' : 'pageType', $pb.PbFieldType.OE, + defaultOrMaker: CampusHomePageType.PAGE_MAJOR, + valueOf: CampusHomePageType.valueOf, + enumValues: CampusHomePageType.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') + CampusRcmdReq clone() => CampusRcmdReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRcmdReq copyWith(void Function(CampusRcmdReq) updates) => + super.copyWith((message) => updates(message as CampusRcmdReq)) + as CampusRcmdReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRcmdReq create() => CampusRcmdReq._(); + CampusRcmdReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRcmdReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRcmdReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(3) + $core.double get lat => $_getN(2); + @$pb.TagNumber(3) + set lat($core.double v) { + $_setDouble(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasLat() => $_has(2); + @$pb.TagNumber(3) + void clearLat() => clearField(3); + + @$pb.TagNumber(4) + $core.double get lng => $_getN(3); + @$pb.TagNumber(4) + set lng($core.double v) { + $_setDouble(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasLng() => $_has(3); + @$pb.TagNumber(4) + void clearLng() => clearField(4); + + @$pb.TagNumber(5) + $1.PlayerArgs get playerArgs => $_getN(4); + @$pb.TagNumber(5) + set playerArgs($1.PlayerArgs v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasPlayerArgs() => $_has(4); + @$pb.TagNumber(5) + void clearPlayerArgs() => clearField(5); + @$pb.TagNumber(5) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(4); + + @$pb.TagNumber(6) + CampusReqFromType get fromType => $_getN(5); + @$pb.TagNumber(6) + set fromType(CampusReqFromType v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasFromType() => $_has(5); + @$pb.TagNumber(6) + void clearFromType() => clearField(6); + + @$pb.TagNumber(7) + CampusHomePageType get pageType => $_getN(6); + @$pb.TagNumber(7) + set pageType(CampusHomePageType v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasPageType() => $_has(6); + @$pb.TagNumber(7) + void clearPageType() => clearField(7); +} + +class CampusRcmdTop extends $pb.GeneratedMessage { + factory CampusRcmdTop({ + $fixnum.Int64? campusId, + $core.String? campusName, + $core.String? title, + $core.String? desc, + $core.int? type, + RcmdTopButton? button, + CampusLabel? switchLabel, + CampusLabel? noticeLabel, + $core.String? desc2, + $core.String? desc3, + CampusLabel? inviteLabel, + CampusLabel? reserveLabel, + $fixnum.Int64? reserveNumber, + $fixnum.Int64? maxReserve, + CampusLabel? schoolLabel, + CampusLabel? mngLabel, + CampusHomeRcmdTopic? rcmdTopic, + $core.bool? auditBeforeOpen, + $core.String? auditMessage, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (title != null) { + $result.title = title; + } + if (desc != null) { + $result.desc = desc; + } + if (type != null) { + $result.type = type; + } + if (button != null) { + $result.button = button; + } + if (switchLabel != null) { + $result.switchLabel = switchLabel; + } + if (noticeLabel != null) { + $result.noticeLabel = noticeLabel; + } + if (desc2 != null) { + $result.desc2 = desc2; + } + if (desc3 != null) { + $result.desc3 = desc3; + } + if (inviteLabel != null) { + $result.inviteLabel = inviteLabel; + } + if (reserveLabel != null) { + $result.reserveLabel = reserveLabel; + } + if (reserveNumber != null) { + $result.reserveNumber = reserveNumber; + } + if (maxReserve != null) { + $result.maxReserve = maxReserve; + } + if (schoolLabel != null) { + $result.schoolLabel = schoolLabel; + } + if (mngLabel != null) { + $result.mngLabel = mngLabel; + } + if (rcmdTopic != null) { + $result.rcmdTopic = rcmdTopic; + } + if (auditBeforeOpen != null) { + $result.auditBeforeOpen = auditBeforeOpen; + } + if (auditMessage != null) { + $result.auditMessage = auditMessage; + } + return $result; + } + CampusRcmdTop._() : super(); + factory CampusRcmdTop.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRcmdTop.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRcmdTop', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..aOS(3, _omitFieldNames ? '' : 'title') + ..aOS(4, _omitFieldNames ? '' : 'desc') + ..a<$core.int>(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.O3) + ..aOM(6, _omitFieldNames ? '' : 'button', + subBuilder: RcmdTopButton.create) + ..aOM(7, _omitFieldNames ? '' : 'switchLabel', + subBuilder: CampusLabel.create) + ..aOM(8, _omitFieldNames ? '' : 'noticeLabel', + subBuilder: CampusLabel.create) + ..aOS(9, _omitFieldNames ? '' : 'desc2') + ..aOS(10, _omitFieldNames ? '' : 'desc3') + ..aOM(11, _omitFieldNames ? '' : 'inviteLabel', + subBuilder: CampusLabel.create) + ..aOM(12, _omitFieldNames ? '' : 'reserveLabel', + subBuilder: CampusLabel.create) + ..aInt64(13, _omitFieldNames ? '' : 'reserveNumber') + ..aInt64(14, _omitFieldNames ? '' : 'maxReserve') + ..aOM(15, _omitFieldNames ? '' : 'schoolLabel', + subBuilder: CampusLabel.create) + ..aOM(16, _omitFieldNames ? '' : 'mngLabel', + subBuilder: CampusLabel.create) + ..aOM(17, _omitFieldNames ? '' : 'rcmdTopic', + subBuilder: CampusHomeRcmdTopic.create) + ..aOB(18, _omitFieldNames ? '' : 'auditBeforeOpen') + ..aOS(19, _omitFieldNames ? '' : 'auditMessage') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusRcmdTop clone() => CampusRcmdTop()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRcmdTop copyWith(void Function(CampusRcmdTop) updates) => + super.copyWith((message) => updates(message as CampusRcmdTop)) + as CampusRcmdTop; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRcmdTop create() => CampusRcmdTop._(); + CampusRcmdTop createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRcmdTop getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRcmdTop? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$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 desc => $_getSZ(3); + @$pb.TagNumber(4) + set desc($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDesc() => $_has(3); + @$pb.TagNumber(4) + void clearDesc() => clearField(4); + + @$pb.TagNumber(5) + $core.int get type => $_getIZ(4); + @$pb.TagNumber(5) + set type($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasType() => $_has(4); + @$pb.TagNumber(5) + void clearType() => clearField(5); + + @$pb.TagNumber(6) + RcmdTopButton get button => $_getN(5); + @$pb.TagNumber(6) + set button(RcmdTopButton v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasButton() => $_has(5); + @$pb.TagNumber(6) + void clearButton() => clearField(6); + @$pb.TagNumber(6) + RcmdTopButton ensureButton() => $_ensure(5); + + @$pb.TagNumber(7) + CampusLabel get switchLabel => $_getN(6); + @$pb.TagNumber(7) + set switchLabel(CampusLabel v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasSwitchLabel() => $_has(6); + @$pb.TagNumber(7) + void clearSwitchLabel() => clearField(7); + @$pb.TagNumber(7) + CampusLabel ensureSwitchLabel() => $_ensure(6); + + @$pb.TagNumber(8) + CampusLabel get noticeLabel => $_getN(7); + @$pb.TagNumber(8) + set noticeLabel(CampusLabel v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasNoticeLabel() => $_has(7); + @$pb.TagNumber(8) + void clearNoticeLabel() => clearField(8); + @$pb.TagNumber(8) + CampusLabel ensureNoticeLabel() => $_ensure(7); + + @$pb.TagNumber(9) + $core.String get desc2 => $_getSZ(8); + @$pb.TagNumber(9) + set desc2($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasDesc2() => $_has(8); + @$pb.TagNumber(9) + void clearDesc2() => clearField(9); + + @$pb.TagNumber(10) + $core.String get desc3 => $_getSZ(9); + @$pb.TagNumber(10) + set desc3($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasDesc3() => $_has(9); + @$pb.TagNumber(10) + void clearDesc3() => clearField(10); + + @$pb.TagNumber(11) + CampusLabel get inviteLabel => $_getN(10); + @$pb.TagNumber(11) + set inviteLabel(CampusLabel v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasInviteLabel() => $_has(10); + @$pb.TagNumber(11) + void clearInviteLabel() => clearField(11); + @$pb.TagNumber(11) + CampusLabel ensureInviteLabel() => $_ensure(10); + + @$pb.TagNumber(12) + CampusLabel get reserveLabel => $_getN(11); + @$pb.TagNumber(12) + set reserveLabel(CampusLabel v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasReserveLabel() => $_has(11); + @$pb.TagNumber(12) + void clearReserveLabel() => clearField(12); + @$pb.TagNumber(12) + CampusLabel ensureReserveLabel() => $_ensure(11); + + @$pb.TagNumber(13) + $fixnum.Int64 get reserveNumber => $_getI64(12); + @$pb.TagNumber(13) + set reserveNumber($fixnum.Int64 v) { + $_setInt64(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasReserveNumber() => $_has(12); + @$pb.TagNumber(13) + void clearReserveNumber() => clearField(13); + + @$pb.TagNumber(14) + $fixnum.Int64 get maxReserve => $_getI64(13); + @$pb.TagNumber(14) + set maxReserve($fixnum.Int64 v) { + $_setInt64(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasMaxReserve() => $_has(13); + @$pb.TagNumber(14) + void clearMaxReserve() => clearField(14); + + @$pb.TagNumber(15) + CampusLabel get schoolLabel => $_getN(14); + @$pb.TagNumber(15) + set schoolLabel(CampusLabel v) { + setField(15, v); + } + + @$pb.TagNumber(15) + $core.bool hasSchoolLabel() => $_has(14); + @$pb.TagNumber(15) + void clearSchoolLabel() => clearField(15); + @$pb.TagNumber(15) + CampusLabel ensureSchoolLabel() => $_ensure(14); + + @$pb.TagNumber(16) + CampusLabel get mngLabel => $_getN(15); + @$pb.TagNumber(16) + set mngLabel(CampusLabel v) { + setField(16, v); + } + + @$pb.TagNumber(16) + $core.bool hasMngLabel() => $_has(15); + @$pb.TagNumber(16) + void clearMngLabel() => clearField(16); + @$pb.TagNumber(16) + CampusLabel ensureMngLabel() => $_ensure(15); + + @$pb.TagNumber(17) + CampusHomeRcmdTopic get rcmdTopic => $_getN(16); + @$pb.TagNumber(17) + set rcmdTopic(CampusHomeRcmdTopic v) { + setField(17, v); + } + + @$pb.TagNumber(17) + $core.bool hasRcmdTopic() => $_has(16); + @$pb.TagNumber(17) + void clearRcmdTopic() => clearField(17); + @$pb.TagNumber(17) + CampusHomeRcmdTopic ensureRcmdTopic() => $_ensure(16); + + @$pb.TagNumber(18) + $core.bool get auditBeforeOpen => $_getBF(17); + @$pb.TagNumber(18) + set auditBeforeOpen($core.bool v) { + $_setBool(17, v); + } + + @$pb.TagNumber(18) + $core.bool hasAuditBeforeOpen() => $_has(17); + @$pb.TagNumber(18) + void clearAuditBeforeOpen() => clearField(18); + + @$pb.TagNumber(19) + $core.String get auditMessage => $_getSZ(18); + @$pb.TagNumber(19) + set auditMessage($core.String v) { + $_setString(18, v); + } + + @$pb.TagNumber(19) + $core.bool hasAuditMessage() => $_has(18); + @$pb.TagNumber(19) + void clearAuditMessage() => clearField(19); +} + +class CampusRecommendReply extends $pb.GeneratedMessage { + factory CampusRecommendReply({ + $core.Iterable? items, + $core.bool? hasMore, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + return $result; + } + CampusRecommendReply._() : super(); + factory CampusRecommendReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRecommendReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRecommendReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: RcmdItem.create) + ..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') + CampusRecommendReply clone() => + CampusRecommendReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRecommendReply copyWith(void Function(CampusRecommendReply) updates) => + super.copyWith((message) => updates(message as CampusRecommendReply)) + as CampusRecommendReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRecommendReply create() => CampusRecommendReply._(); + CampusRecommendReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRecommendReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRecommendReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get items => $_getList(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 CampusRecommendReq extends $pb.GeneratedMessage { + factory CampusRecommendReq({ + $fixnum.Int64? campusId, + $fixnum.Int64? pageNo, + $1.PlayerArgs? playerArgs, + CampusRcmdReqFrom? from, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (pageNo != null) { + $result.pageNo = pageNo; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (from != null) { + $result.from = from; + } + return $result; + } + CampusRecommendReq._() : super(); + factory CampusRecommendReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRecommendReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRecommendReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aInt64(2, _omitFieldNames ? '' : 'pageNo') + ..aOM<$1.PlayerArgs>(3, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..e(4, _omitFieldNames ? '' : 'from', $pb.PbFieldType.OE, + defaultOrMaker: CampusRcmdReqFrom.CAMPUS_RCMD_FROM_UNKNOWN, + valueOf: CampusRcmdReqFrom.valueOf, + enumValues: CampusRcmdReqFrom.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') + CampusRecommendReq clone() => CampusRecommendReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRecommendReq copyWith(void Function(CampusRecommendReq) updates) => + super.copyWith((message) => updates(message as CampusRecommendReq)) + as CampusRecommendReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRecommendReq create() => CampusRecommendReq._(); + CampusRecommendReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRecommendReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRecommendReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get pageNo => $_getI64(1); + @$pb.TagNumber(2) + set pageNo($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasPageNo() => $_has(1); + @$pb.TagNumber(2) + void clearPageNo() => clearField(2); + + @$pb.TagNumber(3) + $1.PlayerArgs get playerArgs => $_getN(2); + @$pb.TagNumber(3) + set playerArgs($1.PlayerArgs v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasPlayerArgs() => $_has(2); + @$pb.TagNumber(3) + void clearPlayerArgs() => clearField(3); + @$pb.TagNumber(3) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(2); + + @$pb.TagNumber(4) + CampusRcmdReqFrom get from => $_getN(3); + @$pb.TagNumber(4) + set from(CampusRcmdReqFrom v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasFrom() => $_has(3); + @$pb.TagNumber(4) + void clearFrom() => clearField(4); +} + +class CampusRedDotReply extends $pb.GeneratedMessage { + factory CampusRedDotReply({ + $core.int? redDot, + }) { + final $result = create(); + if (redDot != null) { + $result.redDot = redDot; + } + return $result; + } + CampusRedDotReply._() : super(); + factory CampusRedDotReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRedDotReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRedDotReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'redDot', $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') + CampusRedDotReply clone() => CampusRedDotReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRedDotReply copyWith(void Function(CampusRedDotReply) updates) => + super.copyWith((message) => updates(message as CampusRedDotReply)) + as CampusRedDotReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRedDotReply create() => CampusRedDotReply._(); + CampusRedDotReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRedDotReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRedDotReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get redDot => $_getIZ(0); + @$pb.TagNumber(1) + set redDot($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasRedDot() => $_has(0); + @$pb.TagNumber(1) + void clearRedDot() => clearField(1); +} + +class CampusRedDotReq extends $pb.GeneratedMessage { + factory CampusRedDotReq({ + $fixnum.Int64? campusId, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + CampusRedDotReq._() : super(); + factory CampusRedDotReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusRedDotReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusRedDotReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..e( + 2, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + CampusRedDotReq clone() => CampusRedDotReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusRedDotReq copyWith(void Function(CampusRedDotReq) updates) => + super.copyWith((message) => updates(message as CampusRedDotReq)) + as CampusRedDotReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusRedDotReq create() => CampusRedDotReq._(); + CampusRedDotReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusRedDotReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusRedDotReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + CampusReqFromType get fromType => $_getN(1); + @$pb.TagNumber(2) + set fromType(CampusReqFromType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasFromType() => $_has(1); + @$pb.TagNumber(2) + void clearFromType() => clearField(2); +} + +class CampusShowTabInfo extends $pb.GeneratedMessage { + factory CampusShowTabInfo({ + $core.String? name, + $core.String? url, + $core.int? type, + $core.int? redDot, + $core.String? iconUrl, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (url != null) { + $result.url = url; + } + if (type != null) { + $result.type = type; + } + if (redDot != null) { + $result.redDot = redDot; + } + if (iconUrl != null) { + $result.iconUrl = iconUrl; + } + return $result; + } + CampusShowTabInfo._() : super(); + factory CampusShowTabInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusShowTabInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusShowTabInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'url') + ..a<$core.int>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.O3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'redDot', $pb.PbFieldType.O3) + ..aOS(5, _omitFieldNames ? '' : 'iconUrl') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusShowTabInfo clone() => CampusShowTabInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusShowTabInfo copyWith(void Function(CampusShowTabInfo) updates) => + super.copyWith((message) => updates(message as CampusShowTabInfo)) + as CampusShowTabInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusShowTabInfo create() => CampusShowTabInfo._(); + CampusShowTabInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusShowTabInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusShowTabInfo? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => 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); + + @$pb.TagNumber(3) + $core.int get type => $_getIZ(2); + @$pb.TagNumber(3) + set type($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasType() => $_has(2); + @$pb.TagNumber(3) + void clearType() => clearField(3); + + @$pb.TagNumber(4) + $core.int get redDot => $_getIZ(3); + @$pb.TagNumber(4) + set redDot($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasRedDot() => $_has(3); + @$pb.TagNumber(4) + void clearRedDot() => clearField(4); + + @$pb.TagNumber(5) + $core.String get iconUrl => $_getSZ(4); + @$pb.TagNumber(5) + set iconUrl($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasIconUrl() => $_has(4); + @$pb.TagNumber(5) + void clearIconUrl() => clearField(5); +} + +class CampusSquareReply extends $pb.GeneratedMessage { + factory CampusSquareReply({ + $core.String? title, + $core.Iterable? list, + CampusLabel? button, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (list != null) { + $result.list.addAll(list); + } + if (button != null) { + $result.button = button; + } + return $result; + } + CampusSquareReply._() : super(); + factory CampusSquareReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusSquareReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusSquareReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: RcmdCampusBrief.create) + ..aOM(3, _omitFieldNames ? '' : 'button', + subBuilder: CampusLabel.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') + CampusSquareReply clone() => CampusSquareReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusSquareReply copyWith(void Function(CampusSquareReply) updates) => + super.copyWith((message) => updates(message as CampusSquareReply)) + as CampusSquareReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusSquareReply create() => CampusSquareReply._(); + CampusSquareReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusSquareReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusSquareReply? _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.List get list => $_getList(1); + + @$pb.TagNumber(3) + CampusLabel get button => $_getN(2); + @$pb.TagNumber(3) + set button(CampusLabel v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasButton() => $_has(2); + @$pb.TagNumber(3) + void clearButton() => clearField(3); + @$pb.TagNumber(3) + CampusLabel ensureButton() => $_ensure(2); +} + +class CampusSquareReq extends $pb.GeneratedMessage { + factory CampusSquareReq({ + $fixnum.Int64? campusId, + $core.double? lat, + $core.double? lng, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (lat != null) { + $result.lat = lat; + } + if (lng != null) { + $result.lng = lng; + } + return $result; + } + CampusSquareReq._() : super(); + factory CampusSquareReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusSquareReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusSquareReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..a<$core.double>(2, _omitFieldNames ? '' : 'lat', $pb.PbFieldType.OD) + ..a<$core.double>(3, _omitFieldNames ? '' : 'lng', $pb.PbFieldType.OD) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusSquareReq clone() => CampusSquareReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusSquareReq copyWith(void Function(CampusSquareReq) updates) => + super.copyWith((message) => updates(message as CampusSquareReq)) + as CampusSquareReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusSquareReq create() => CampusSquareReq._(); + CampusSquareReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusSquareReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusSquareReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.double get lat => $_getN(1); + @$pb.TagNumber(2) + set lat($core.double v) { + $_setDouble(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasLat() => $_has(1); + @$pb.TagNumber(2) + void clearLat() => clearField(2); + + @$pb.TagNumber(3) + $core.double get lng => $_getN(2); + @$pb.TagNumber(3) + set lng($core.double v) { + $_setDouble(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasLng() => $_has(2); + @$pb.TagNumber(3) + void clearLng() => clearField(3); +} + +class CampusTop extends $pb.GeneratedMessage { + factory CampusTop({ + $fixnum.Int64? campusId, + $core.String? campusName, + $core.Iterable? tabs, + CampusLabel? switchLabel, + $core.String? title, + $core.Iterable? banner, + CampusLabel? inviteLabel, + CampusNoticeInfo? notice, + TopicSquareInfo? topicSquare, + $core.String? campusBadge, + $core.String? campusBackground, + $core.String? campusMotto, + CampusLabel? mngEntry, + $core.String? campusIntro, + $core.String? campusNameLink, + $core.String? bottomLeftText, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (tabs != null) { + $result.tabs.addAll(tabs); + } + if (switchLabel != null) { + $result.switchLabel = switchLabel; + } + if (title != null) { + $result.title = title; + } + if (banner != null) { + $result.banner.addAll(banner); + } + if (inviteLabel != null) { + $result.inviteLabel = inviteLabel; + } + if (notice != null) { + $result.notice = notice; + } + if (topicSquare != null) { + $result.topicSquare = topicSquare; + } + if (campusBadge != null) { + $result.campusBadge = campusBadge; + } + if (campusBackground != null) { + $result.campusBackground = campusBackground; + } + if (campusMotto != null) { + $result.campusMotto = campusMotto; + } + if (mngEntry != null) { + $result.mngEntry = mngEntry; + } + if (campusIntro != null) { + $result.campusIntro = campusIntro; + } + if (campusNameLink != null) { + $result.campusNameLink = campusNameLink; + } + if (bottomLeftText != null) { + $result.bottomLeftText = bottomLeftText; + } + return $result; + } + CampusTop._() : super(); + factory CampusTop.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusTop.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusTop', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..pc( + 3, _omitFieldNames ? '' : 'tabs', $pb.PbFieldType.PM, + subBuilder: CampusShowTabInfo.create) + ..aOM(4, _omitFieldNames ? '' : 'switchLabel', + subBuilder: CampusLabel.create) + ..aOS(5, _omitFieldNames ? '' : 'title') + ..pc( + 6, _omitFieldNames ? '' : 'banner', $pb.PbFieldType.PM, + subBuilder: CampusBannerInfo.create) + ..aOM(7, _omitFieldNames ? '' : 'inviteLabel', + subBuilder: CampusLabel.create) + ..aOM(8, _omitFieldNames ? '' : 'notice', + subBuilder: CampusNoticeInfo.create) + ..aOM(9, _omitFieldNames ? '' : 'topicSquare', + subBuilder: TopicSquareInfo.create) + ..aOS(10, _omitFieldNames ? '' : 'campusBadge') + ..aOS(11, _omitFieldNames ? '' : 'campusBackground') + ..aOS(12, _omitFieldNames ? '' : 'campusMotto') + ..aOM(13, _omitFieldNames ? '' : 'mngEntry', + subBuilder: CampusLabel.create) + ..aOS(14, _omitFieldNames ? '' : 'campusIntro') + ..aOS(15, _omitFieldNames ? '' : 'campusNameLink') + ..aOS(16, _omitFieldNames ? '' : 'bottomLeftText') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CampusTop clone() => CampusTop()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusTop copyWith(void Function(CampusTop) updates) => + super.copyWith((message) => updates(message as CampusTop)) as CampusTop; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusTop create() => CampusTop._(); + CampusTop createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusTop getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CampusTop? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(3) + $core.List get tabs => $_getList(2); + + @$pb.TagNumber(4) + CampusLabel get switchLabel => $_getN(3); + @$pb.TagNumber(4) + set switchLabel(CampusLabel v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasSwitchLabel() => $_has(3); + @$pb.TagNumber(4) + void clearSwitchLabel() => clearField(4); + @$pb.TagNumber(4) + CampusLabel ensureSwitchLabel() => $_ensure(3); + + @$pb.TagNumber(5) + $core.String get title => $_getSZ(4); + @$pb.TagNumber(5) + set title($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasTitle() => $_has(4); + @$pb.TagNumber(5) + void clearTitle() => clearField(5); + + @$pb.TagNumber(6) + $core.List get banner => $_getList(5); + + @$pb.TagNumber(7) + CampusLabel get inviteLabel => $_getN(6); + @$pb.TagNumber(7) + set inviteLabel(CampusLabel v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasInviteLabel() => $_has(6); + @$pb.TagNumber(7) + void clearInviteLabel() => clearField(7); + @$pb.TagNumber(7) + CampusLabel ensureInviteLabel() => $_ensure(6); + + @$pb.TagNumber(8) + CampusNoticeInfo get notice => $_getN(7); + @$pb.TagNumber(8) + set notice(CampusNoticeInfo v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasNotice() => $_has(7); + @$pb.TagNumber(8) + void clearNotice() => clearField(8); + @$pb.TagNumber(8) + CampusNoticeInfo ensureNotice() => $_ensure(7); + + @$pb.TagNumber(9) + TopicSquareInfo get topicSquare => $_getN(8); + @$pb.TagNumber(9) + set topicSquare(TopicSquareInfo v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasTopicSquare() => $_has(8); + @$pb.TagNumber(9) + void clearTopicSquare() => clearField(9); + @$pb.TagNumber(9) + TopicSquareInfo ensureTopicSquare() => $_ensure(8); + + @$pb.TagNumber(10) + $core.String get campusBadge => $_getSZ(9); + @$pb.TagNumber(10) + set campusBadge($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasCampusBadge() => $_has(9); + @$pb.TagNumber(10) + void clearCampusBadge() => clearField(10); + + @$pb.TagNumber(11) + $core.String get campusBackground => $_getSZ(10); + @$pb.TagNumber(11) + set campusBackground($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasCampusBackground() => $_has(10); + @$pb.TagNumber(11) + void clearCampusBackground() => clearField(11); + + @$pb.TagNumber(12) + $core.String get campusMotto => $_getSZ(11); + @$pb.TagNumber(12) + set campusMotto($core.String v) { + $_setString(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasCampusMotto() => $_has(11); + @$pb.TagNumber(12) + void clearCampusMotto() => clearField(12); + + @$pb.TagNumber(13) + CampusLabel get mngEntry => $_getN(12); + @$pb.TagNumber(13) + set mngEntry(CampusLabel v) { + setField(13, v); + } + + @$pb.TagNumber(13) + $core.bool hasMngEntry() => $_has(12); + @$pb.TagNumber(13) + void clearMngEntry() => clearField(13); + @$pb.TagNumber(13) + CampusLabel ensureMngEntry() => $_ensure(12); + + @$pb.TagNumber(14) + $core.String get campusIntro => $_getSZ(13); + @$pb.TagNumber(14) + set campusIntro($core.String v) { + $_setString(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasCampusIntro() => $_has(13); + @$pb.TagNumber(14) + void clearCampusIntro() => clearField(14); + + @$pb.TagNumber(15) + $core.String get campusNameLink => $_getSZ(14); + @$pb.TagNumber(15) + set campusNameLink($core.String v) { + $_setString(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasCampusNameLink() => $_has(14); + @$pb.TagNumber(15) + void clearCampusNameLink() => clearField(15); + + @$pb.TagNumber(16) + $core.String get bottomLeftText => $_getSZ(15); + @$pb.TagNumber(16) + set bottomLeftText($core.String v) { + $_setString(15, v); + } + + @$pb.TagNumber(16) + $core.bool hasBottomLeftText() => $_has(15); + @$pb.TagNumber(16) + void clearBottomLeftText() => clearField(16); +} + +class CampusTopicRcmdFeedReply extends $pb.GeneratedMessage { + factory CampusTopicRcmdFeedReply({ + $core.Iterable? list, + $core.String? toast, + $core.bool? hasMore, + $core.String? offset, + IconButton? joinDiscuss, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (toast != null) { + $result.toast = toast; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (offset != null) { + $result.offset = offset; + } + if (joinDiscuss != null) { + $result.joinDiscuss = joinDiscuss; + } + return $result; + } + CampusTopicRcmdFeedReply._() : super(); + factory CampusTopicRcmdFeedReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusTopicRcmdFeedReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusTopicRcmdFeedReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOS(2, _omitFieldNames ? '' : 'toast') + ..aOB(3, _omitFieldNames ? '' : 'hasMore') + ..aOS(4, _omitFieldNames ? '' : 'offset') + ..aOM(5, _omitFieldNames ? '' : 'joinDiscuss', + subBuilder: IconButton.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') + CampusTopicRcmdFeedReply clone() => + CampusTopicRcmdFeedReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusTopicRcmdFeedReply copyWith( + void Function(CampusTopicRcmdFeedReply) updates) => + super.copyWith((message) => updates(message as CampusTopicRcmdFeedReply)) + as CampusTopicRcmdFeedReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusTopicRcmdFeedReply create() => CampusTopicRcmdFeedReply._(); + CampusTopicRcmdFeedReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusTopicRcmdFeedReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusTopicRcmdFeedReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get list => $_getList(0); + + @$pb.TagNumber(2) + $core.String get toast => $_getSZ(1); + @$pb.TagNumber(2) + set toast($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasToast() => $_has(1); + @$pb.TagNumber(2) + void clearToast() => clearField(2); + + @$pb.TagNumber(3) + $core.bool get hasMore => $_getBF(2); + @$pb.TagNumber(3) + set hasMore($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHasMore() => $_has(2); + @$pb.TagNumber(3) + void clearHasMore() => clearField(3); + + @$pb.TagNumber(4) + $core.String get offset => $_getSZ(3); + @$pb.TagNumber(4) + set offset($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasOffset() => $_has(3); + @$pb.TagNumber(4) + void clearOffset() => clearField(4); + + @$pb.TagNumber(5) + IconButton get joinDiscuss => $_getN(4); + @$pb.TagNumber(5) + set joinDiscuss(IconButton v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasJoinDiscuss() => $_has(4); + @$pb.TagNumber(5) + void clearJoinDiscuss() => clearField(5); + @$pb.TagNumber(5) + IconButton ensureJoinDiscuss() => $_ensure(4); +} + +class CampusTopicRcmdFeedReq extends $pb.GeneratedMessage { + factory CampusTopicRcmdFeedReq({ + $fixnum.Int64? campusId, + $core.String? offset, + $1.PlayerArgs? playerArgs, + $core.int? localTime, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (offset != null) { + $result.offset = offset; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + CampusTopicRcmdFeedReq._() : super(); + factory CampusTopicRcmdFeedReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CampusTopicRcmdFeedReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CampusTopicRcmdFeedReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..aOM<$1.PlayerArgs>(3, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..a<$core.int>(4, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..e( + 5, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + CampusTopicRcmdFeedReq clone() => + CampusTopicRcmdFeedReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CampusTopicRcmdFeedReq copyWith( + void Function(CampusTopicRcmdFeedReq) updates) => + super.copyWith((message) => updates(message as CampusTopicRcmdFeedReq)) + as CampusTopicRcmdFeedReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CampusTopicRcmdFeedReq create() => CampusTopicRcmdFeedReq._(); + CampusTopicRcmdFeedReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CampusTopicRcmdFeedReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CampusTopicRcmdFeedReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + @$pb.TagNumber(3) + $1.PlayerArgs get playerArgs => $_getN(2); + @$pb.TagNumber(3) + set playerArgs($1.PlayerArgs v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasPlayerArgs() => $_has(2); + @$pb.TagNumber(3) + void clearPlayerArgs() => clearField(3); + @$pb.TagNumber(3) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(2); + + @$pb.TagNumber(4) + $core.int get localTime => $_getIZ(3); + @$pb.TagNumber(4) + set localTime($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasLocalTime() => $_has(3); + @$pb.TagNumber(4) + void clearLocalTime() => clearField(4); + + @$pb.TagNumber(5) + CampusReqFromType get fromType => $_getN(4); + @$pb.TagNumber(5) + set fromType(CampusReqFromType v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasFromType() => $_has(4); + @$pb.TagNumber(5) + void clearFromType() => clearField(5); +} + +class CardParagraph extends $pb.GeneratedMessage { + factory CardParagraph({ + ModuleAdditional? additionalCard, + LinkNodeType? bizType, + $core.String? bizId, + }) { + final $result = create(); + if (additionalCard != null) { + $result.additionalCard = additionalCard; + } + if (bizType != null) { + $result.bizType = bizType; + } + if (bizId != null) { + $result.bizId = bizId; + } + return $result; + } + CardParagraph._() : super(); + factory CardParagraph.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CardParagraph.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CardParagraph', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'additionalCard', + subBuilder: ModuleAdditional.create) + ..e(2, _omitFieldNames ? '' : 'bizType', $pb.PbFieldType.OE, + defaultOrMaker: LinkNodeType.INVALID, + valueOf: LinkNodeType.valueOf, + enumValues: LinkNodeType.values) + ..aOS(3, _omitFieldNames ? '' : 'bizId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CardParagraph clone() => CardParagraph()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CardParagraph copyWith(void Function(CardParagraph) updates) => + super.copyWith((message) => updates(message as CardParagraph)) + as CardParagraph; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CardParagraph create() => CardParagraph._(); + CardParagraph createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CardParagraph getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CardParagraph? _defaultInstance; + + @$pb.TagNumber(1) + ModuleAdditional get additionalCard => $_getN(0); + @$pb.TagNumber(1) + set additionalCard(ModuleAdditional v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasAdditionalCard() => $_has(0); + @$pb.TagNumber(1) + void clearAdditionalCard() => clearField(1); + @$pb.TagNumber(1) + ModuleAdditional ensureAdditionalCard() => $_ensure(0); + + @$pb.TagNumber(2) + LinkNodeType get bizType => $_getN(1); + @$pb.TagNumber(2) + set bizType(LinkNodeType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasBizType() => $_has(1); + @$pb.TagNumber(2) + void clearBizType() => clearField(2); + + @$pb.TagNumber(3) + $core.String get bizId => $_getSZ(2); + @$pb.TagNumber(3) + set bizId($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasBizId() => $_has(2); + @$pb.TagNumber(3) + void clearBizId() => clearField(3); +} + +/// 动态卡片列表 +class CardVideoDynList extends $pb.GeneratedMessage { + factory CardVideoDynList({ + $core.Iterable? list, + $fixnum.Int64? updateNum, + $core.String? historyOffset, + $core.String? updateBaseline, + $core.bool? hasMore, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (updateNum != null) { + $result.updateNum = updateNum; + } + if (historyOffset != null) { + $result.historyOffset = historyOffset; + } + if (updateBaseline != null) { + $result.updateBaseline = updateBaseline; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + return $result; + } + CardVideoDynList._() : super(); + factory CardVideoDynList.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CardVideoDynList.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CardVideoDynList', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aInt64(2, _omitFieldNames ? '' : 'updateNum') + ..aOS(3, _omitFieldNames ? '' : 'historyOffset') + ..aOS(4, _omitFieldNames ? '' : 'updateBaseline') + ..aOB(5, _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') + CardVideoDynList clone() => CardVideoDynList()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CardVideoDynList copyWith(void Function(CardVideoDynList) updates) => + super.copyWith((message) => updates(message as CardVideoDynList)) + as CardVideoDynList; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CardVideoDynList create() => CardVideoDynList._(); + CardVideoDynList createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CardVideoDynList getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CardVideoDynList? _defaultInstance; + + /// 动态列表 + @$pb.TagNumber(1) + $core.List get list => $_getList(0); + + /// 更新的动态数 + @$pb.TagNumber(2) + $fixnum.Int64 get updateNum => $_getI64(1); + @$pb.TagNumber(2) + set updateNum($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUpdateNum() => $_has(1); + @$pb.TagNumber(2) + void clearUpdateNum() => clearField(2); + + /// 历史偏移 + @$pb.TagNumber(3) + $core.String get historyOffset => $_getSZ(2); + @$pb.TagNumber(3) + set historyOffset($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHistoryOffset() => $_has(2); + @$pb.TagNumber(3) + void clearHistoryOffset() => clearField(3); + + /// 更新基础信息 + @$pb.TagNumber(4) + $core.String get updateBaseline => $_getSZ(3); + @$pb.TagNumber(4) + set updateBaseline($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasUpdateBaseline() => $_has(3); + @$pb.TagNumber(4) + void clearUpdateBaseline() => clearField(4); + + /// 是否还有更多数据 + @$pb.TagNumber(5) + $core.bool get hasMore => $_getBF(4); + @$pb.TagNumber(5) + set hasMore($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasHasMore() => $_has(4); + @$pb.TagNumber(5) + void clearHasMore() => clearField(5); +} + +/// 视频页-我的追番 +class CardVideoFollowList extends $pb.GeneratedMessage { + factory CardVideoFollowList({ + $core.String? viewAllLink, + $core.Iterable? list, + }) { + final $result = create(); + if (viewAllLink != null) { + $result.viewAllLink = viewAllLink; + } + if (list != null) { + $result.list.addAll(list); + } + return $result; + } + CardVideoFollowList._() : super(); + factory CardVideoFollowList.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CardVideoFollowList.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CardVideoFollowList', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'viewAllLink') + ..pc(2, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: FollowListItem.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') + CardVideoFollowList clone() => CardVideoFollowList()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CardVideoFollowList copyWith(void Function(CardVideoFollowList) updates) => + super.copyWith((message) => updates(message as CardVideoFollowList)) + as CardVideoFollowList; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CardVideoFollowList create() => CardVideoFollowList._(); + CardVideoFollowList createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CardVideoFollowList getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CardVideoFollowList? _defaultInstance; + + /// 查看全部(跳转链接) + @$pb.TagNumber(1) + $core.String get viewAllLink => $_getSZ(0); + @$pb.TagNumber(1) + set viewAllLink($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasViewAllLink() => $_has(0); + @$pb.TagNumber(1) + void clearViewAllLink() => clearField(1); + + /// 追番列表 + @$pb.TagNumber(2) + $core.List get list => $_getList(1); +} + +/// 视频页-最近访问 +class CardVideoUpList extends $pb.GeneratedMessage { + factory CardVideoUpList({ + $core.String? title, + $core.Iterable? list, + $core.String? footprint, + $core.int? showLiveNum, + UpListMoreLabel? moreLabel, + $core.int? titleSwitch, + $core.bool? showMoreLabel, + $core.bool? showInPersonal, + $core.bool? showMoreButton, + $core.Iterable? listSecond, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (list != null) { + $result.list.addAll(list); + } + if (footprint != null) { + $result.footprint = footprint; + } + if (showLiveNum != null) { + $result.showLiveNum = showLiveNum; + } + if (moreLabel != null) { + $result.moreLabel = moreLabel; + } + if (titleSwitch != null) { + $result.titleSwitch = titleSwitch; + } + if (showMoreLabel != null) { + $result.showMoreLabel = showMoreLabel; + } + if (showInPersonal != null) { + $result.showInPersonal = showInPersonal; + } + if (showMoreButton != null) { + $result.showMoreButton = showMoreButton; + } + if (listSecond != null) { + $result.listSecond.addAll(listSecond); + } + return $result; + } + CardVideoUpList._() : super(); + factory CardVideoUpList.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CardVideoUpList.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CardVideoUpList', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: UpListItem.create) + ..aOS(3, _omitFieldNames ? '' : 'footprint') + ..a<$core.int>(4, _omitFieldNames ? '' : 'showLiveNum', $pb.PbFieldType.O3) + ..aOM(5, _omitFieldNames ? '' : 'moreLabel', + subBuilder: UpListMoreLabel.create) + ..a<$core.int>(6, _omitFieldNames ? '' : 'titleSwitch', $pb.PbFieldType.O3) + ..aOB(7, _omitFieldNames ? '' : 'showMoreLabel') + ..aOB(8, _omitFieldNames ? '' : 'showInPersonal') + ..aOB(9, _omitFieldNames ? '' : 'showMoreButton') + ..pc( + 10, _omitFieldNames ? '' : 'listSecond', $pb.PbFieldType.PM, + subBuilder: UpListItem.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') + CardVideoUpList clone() => CardVideoUpList()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CardVideoUpList copyWith(void Function(CardVideoUpList) updates) => + super.copyWith((message) => updates(message as CardVideoUpList)) + as CardVideoUpList; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CardVideoUpList create() => CardVideoUpList._(); + CardVideoUpList createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CardVideoUpList getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CardVideoUpList? _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); + + /// up主列表 + @$pb.TagNumber(2) + $core.List get list => $_getList(1); + + /// 服务端生成的透传上报字段 + @$pb.TagNumber(3) + $core.String get footprint => $_getSZ(2); + @$pb.TagNumber(3) + set footprint($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasFootprint() => $_has(2); + @$pb.TagNumber(3) + void clearFootprint() => clearField(3); + + /// 直播数 + @$pb.TagNumber(4) + $core.int get showLiveNum => $_getIZ(3); + @$pb.TagNumber(4) + set showLiveNum($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasShowLiveNum() => $_has(3); + @$pb.TagNumber(4) + void clearShowLiveNum() => clearField(4); + + /// 跳转label + @$pb.TagNumber(5) + UpListMoreLabel get moreLabel => $_getN(4); + @$pb.TagNumber(5) + set moreLabel(UpListMoreLabel v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasMoreLabel() => $_has(4); + @$pb.TagNumber(5) + void clearMoreLabel() => clearField(5); + @$pb.TagNumber(5) + UpListMoreLabel ensureMoreLabel() => $_ensure(4); + + /// 标题开关(综合页) + @$pb.TagNumber(6) + $core.int get titleSwitch => $_getIZ(5); + @$pb.TagNumber(6) + set titleSwitch($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasTitleSwitch() => $_has(5); + @$pb.TagNumber(6) + void clearTitleSwitch() => clearField(6); + + /// 是否展示右上角查看更多label + @$pb.TagNumber(7) + $core.bool get showMoreLabel => $_getBF(6); + @$pb.TagNumber(7) + set showMoreLabel($core.bool v) { + $_setBool(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasShowMoreLabel() => $_has(6); + @$pb.TagNumber(7) + void clearShowMoreLabel() => clearField(7); + + /// 是否在快速消费页查看更多按钮 + @$pb.TagNumber(8) + $core.bool get showInPersonal => $_getBF(7); + @$pb.TagNumber(8) + set showInPersonal($core.bool v) { + $_setBool(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasShowInPersonal() => $_has(7); + @$pb.TagNumber(8) + void clearShowInPersonal() => clearField(8); + + /// 是否展示右侧查看更多按钮 + @$pb.TagNumber(9) + $core.bool get showMoreButton => $_getBF(8); + @$pb.TagNumber(9) + set showMoreButton($core.bool v) { + $_setBool(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasShowMoreButton() => $_has(8); + @$pb.TagNumber(9) + void clearShowMoreButton() => clearField(9); + + @$pb.TagNumber(10) + $core.List get listSecond => $_getList(9); +} + +class ChannelInfo extends $pb.GeneratedMessage { + factory ChannelInfo({ + $fixnum.Int64? channelId, + $core.String? channelName, + $core.String? desc, + $core.bool? isAtten, + $core.String? typeIcon, + $core.Iterable? items, + $core.String? icon, + $core.String? jumpUri, + }) { + final $result = create(); + if (channelId != null) { + $result.channelId = channelId; + } + if (channelName != null) { + $result.channelName = channelName; + } + if (desc != null) { + $result.desc = desc; + } + if (isAtten != null) { + $result.isAtten = isAtten; + } + if (typeIcon != null) { + $result.typeIcon = typeIcon; + } + if (items != null) { + $result.items.addAll(items); + } + if (icon != null) { + $result.icon = icon; + } + if (jumpUri != null) { + $result.jumpUri = jumpUri; + } + return $result; + } + ChannelInfo._() : super(); + factory ChannelInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ChannelInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ChannelInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'channelId') + ..aOS(2, _omitFieldNames ? '' : 'channelName') + ..aOS(3, _omitFieldNames ? '' : 'desc') + ..aOB(4, _omitFieldNames ? '' : 'isAtten') + ..aOS(5, _omitFieldNames ? '' : 'typeIcon') + ..pc(6, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: RcmdItem.create) + ..aOS(7, _omitFieldNames ? '' : 'icon') + ..aOS(8, _omitFieldNames ? '' : 'jumpUri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ChannelInfo clone() => ChannelInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ChannelInfo copyWith(void Function(ChannelInfo) updates) => + super.copyWith((message) => updates(message as ChannelInfo)) + as ChannelInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ChannelInfo create() => ChannelInfo._(); + ChannelInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ChannelInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ChannelInfo? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get channelId => $_getI64(0); + @$pb.TagNumber(1) + set channelId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasChannelId() => $_has(0); + @$pb.TagNumber(1) + void clearChannelId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get channelName => $_getSZ(1); + @$pb.TagNumber(2) + set channelName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasChannelName() => $_has(1); + @$pb.TagNumber(2) + void clearChannelName() => clearField(2); + + @$pb.TagNumber(3) + $core.String get desc => $_getSZ(2); + @$pb.TagNumber(3) + set desc($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDesc() => $_has(2); + @$pb.TagNumber(3) + void clearDesc() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get isAtten => $_getBF(3); + @$pb.TagNumber(4) + set isAtten($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIsAtten() => $_has(3); + @$pb.TagNumber(4) + void clearIsAtten() => clearField(4); + + @$pb.TagNumber(5) + $core.String get typeIcon => $_getSZ(4); + @$pb.TagNumber(5) + set typeIcon($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasTypeIcon() => $_has(4); + @$pb.TagNumber(5) + void clearTypeIcon() => clearField(5); + + @$pb.TagNumber(6) + $core.List get items => $_getList(5); + + @$pb.TagNumber(7) + $core.String get icon => $_getSZ(6); + @$pb.TagNumber(7) + set icon($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasIcon() => $_has(6); + @$pb.TagNumber(7) + void clearIcon() => clearField(7); + + @$pb.TagNumber(8) + $core.String get jumpUri => $_getSZ(7); + @$pb.TagNumber(8) + set jumpUri($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasJumpUri() => $_has(7); + @$pb.TagNumber(8) + void clearJumpUri() => clearField(8); +} + +/// 评论外露展示项 +class CmtShowItem extends $pb.GeneratedMessage { + factory CmtShowItem({ + $fixnum.Int64? uid, + $core.String? uname, + $core.String? uri, + $core.String? comment, + }) { + final $result = create(); + if (uid != null) { + $result.uid = uid; + } + if (uname != null) { + $result.uname = uname; + } + if (uri != null) { + $result.uri = uri; + } + if (comment != null) { + $result.comment = comment; + } + return $result; + } + CmtShowItem._() : super(); + factory CmtShowItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CmtShowItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CmtShowItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'uid') + ..aOS(2, _omitFieldNames ? '' : 'uname') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'comment') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CmtShowItem clone() => CmtShowItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CmtShowItem copyWith(void Function(CmtShowItem) updates) => + super.copyWith((message) => updates(message as CmtShowItem)) + as CmtShowItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CmtShowItem create() => CmtShowItem._(); + CmtShowItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CmtShowItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CmtShowItem? _defaultInstance; + + /// 用户mid + @$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.String get uname => $_getSZ(1); + @$pb.TagNumber(2) + set uname($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUname() => $_has(1); + @$pb.TagNumber(2) + void clearUname() => clearField(2); + + /// 点击跳转链接 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// 评论内容 + @$pb.TagNumber(4) + $core.String get comment => $_getSZ(3); + @$pb.TagNumber(4) + set comment($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasComment() => $_has(3); + @$pb.TagNumber(4) + void clearComment() => clearField(4); +} + +class Colors extends $pb.GeneratedMessage { + factory Colors({ + $core.String? colorDay, + $core.String? colorNight, + }) { + final $result = create(); + if (colorDay != null) { + $result.colorDay = colorDay; + } + if (colorNight != null) { + $result.colorNight = colorNight; + } + return $result; + } + Colors._() : super(); + factory Colors.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Colors.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Colors', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'colorDay') + ..aOS(2, _omitFieldNames ? '' : 'colorNight') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Colors clone() => Colors()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Colors copyWith(void Function(Colors) updates) => + super.copyWith((message) => updates(message as Colors)) as Colors; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Colors create() => Colors._(); + Colors createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Colors getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Colors? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get colorDay => $_getSZ(0); + @$pb.TagNumber(1) + set colorDay($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasColorDay() => $_has(0); + @$pb.TagNumber(1) + void clearColorDay() => clearField(1); + + @$pb.TagNumber(2) + $core.String get colorNight => $_getSZ(1); + @$pb.TagNumber(2) + set colorNight($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasColorNight() => $_has(1); + @$pb.TagNumber(2) + void clearColorNight() => clearField(2); +} + +/// 精选评论区 +class CommentDetail extends $pb.GeneratedMessage { + factory CommentDetail({ + $core.bool? canModify, + $fixnum.Int64? status, + }) { + final $result = create(); + if (canModify != null) { + $result.canModify = canModify; + } + if (status != null) { + $result.status = status; + } + return $result; + } + CommentDetail._() : super(); + factory CommentDetail.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CommentDetail.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CommentDetail', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'canModify') + ..aInt64(2, _omitFieldNames ? '' : 'status') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CommentDetail clone() => CommentDetail()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CommentDetail copyWith(void Function(CommentDetail) updates) => + super.copyWith((message) => updates(message as CommentDetail)) + as CommentDetail; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CommentDetail create() => CommentDetail._(); + CommentDetail createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CommentDetail getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CommentDetail? _defaultInstance; + + /// 该功能能不能用 + @$pb.TagNumber(1) + $core.bool get canModify => $_getBF(0); + @$pb.TagNumber(1) + set canModify($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCanModify() => $_has(0); + @$pb.TagNumber(1) + void clearCanModify() => clearField(1); + + /// up关闭评论区功能 1允许关闭 0允许开放 + /// 精选评论区功能 1允许停止评论精选 0允许评论精选 + @$pb.TagNumber(2) + $fixnum.Int64 get status => $_getI64(1); + @$pb.TagNumber(2) + set status($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasStatus() => $_has(1); + @$pb.TagNumber(2) + void clearStatus() => clearField(2); +} + +class Config extends $pb.GeneratedMessage { + factory Config({ + $core.bool? storyVerticalExp, + $fixnum.Int64? detailViewBits, + }) { + final $result = create(); + if (storyVerticalExp != null) { + $result.storyVerticalExp = storyVerticalExp; + } + if (detailViewBits != null) { + $result.detailViewBits = detailViewBits; + } + return $result; + } + Config._() : super(); + factory Config.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Config.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Config', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'storyVerticalExp') + ..aInt64(2, _omitFieldNames ? '' : 'detailViewBits') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Config clone() => Config()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Config copyWith(void Function(Config) updates) => + super.copyWith((message) => updates(message as Config)) as Config; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Config create() => Config._(); + Config createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Config getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Config? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get storyVerticalExp => $_getBF(0); + @$pb.TagNumber(1) + set storyVerticalExp($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasStoryVerticalExp() => $_has(0); + @$pb.TagNumber(1) + void clearStoryVerticalExp() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get detailViewBits => $_getI64(1); + @$pb.TagNumber(2) + set detailViewBits($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDetailViewBits() => $_has(1); + @$pb.TagNumber(2) + void clearDetailViewBits() => clearField(2); +} + +class CoverIconWithText extends $pb.GeneratedMessage { + factory CoverIconWithText({ + $core.int? icon, + $core.String? text, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (text != null) { + $result.text = text; + } + return $result; + } + CoverIconWithText._() : super(); + factory CoverIconWithText.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory CoverIconWithText.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'CoverIconWithText', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'icon', $pb.PbFieldType.O3) + ..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') + CoverIconWithText clone() => CoverIconWithText()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CoverIconWithText copyWith(void Function(CoverIconWithText) updates) => + super.copyWith((message) => updates(message as CoverIconWithText)) + as CoverIconWithText; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CoverIconWithText create() => CoverIconWithText._(); + CoverIconWithText createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CoverIconWithText getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static CoverIconWithText? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get icon => $_getIZ(0); + @$pb.TagNumber(1) + set icon($core.int v) { + $_setSignedInt32(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 DecoCardFan extends $pb.GeneratedMessage { + factory DecoCardFan({ + $core.int? isFan, + $core.int? number, + $core.String? numberStr, + $core.String? color, + }) { + final $result = create(); + if (isFan != null) { + $result.isFan = isFan; + } + if (number != null) { + $result.number = number; + } + if (numberStr != null) { + $result.numberStr = numberStr; + } + if (color != null) { + $result.color = color; + } + return $result; + } + DecoCardFan._() : super(); + factory DecoCardFan.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DecoCardFan.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DecoCardFan', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'isFan', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3) + ..aOS(3, _omitFieldNames ? '' : 'numberStr') + ..aOS(4, _omitFieldNames ? '' : 'color') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DecoCardFan clone() => DecoCardFan()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DecoCardFan copyWith(void Function(DecoCardFan) updates) => + super.copyWith((message) => updates(message as DecoCardFan)) + as DecoCardFan; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DecoCardFan create() => DecoCardFan._(); + DecoCardFan createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DecoCardFan getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DecoCardFan? _defaultInstance; + + /// 是否是粉丝 + @$pb.TagNumber(1) + $core.int get isFan => $_getIZ(0); + @$pb.TagNumber(1) + set isFan($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasIsFan() => $_has(0); + @$pb.TagNumber(1) + void clearIsFan() => clearField(1); + + /// 数量 + @$pb.TagNumber(2) + $core.int get number => $_getIZ(1); + @$pb.TagNumber(2) + set number($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasNumber() => $_has(1); + @$pb.TagNumber(2) + void clearNumber() => clearField(2); + + /// 数量 str + @$pb.TagNumber(3) + $core.String get numberStr => $_getSZ(2); + @$pb.TagNumber(3) + set numberStr($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasNumberStr() => $_has(2); + @$pb.TagNumber(3) + void clearNumberStr() => clearField(3); + + /// 颜色 + @$pb.TagNumber(4) + $core.String get color => $_getSZ(3); + @$pb.TagNumber(4) + set color($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasColor() => $_has(3); + @$pb.TagNumber(4) + void clearColor() => clearField(4); +} + +/// 装扮卡片 +class DecorateCard extends $pb.GeneratedMessage { + factory DecorateCard({ + $fixnum.Int64? id, + $core.String? cardUrl, + $core.String? jumpUrl, + DecoCardFan? fan, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (cardUrl != null) { + $result.cardUrl = cardUrl; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + if (fan != null) { + $result.fan = fan; + } + return $result; + } + DecorateCard._() : super(); + factory DecorateCard.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DecorateCard.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DecorateCard', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'cardUrl') + ..aOS(3, _omitFieldNames ? '' : 'jumpUrl') + ..aOM(4, _omitFieldNames ? '' : 'fan', + subBuilder: DecoCardFan.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') + DecorateCard clone() => DecorateCard()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DecorateCard copyWith(void Function(DecorateCard) updates) => + super.copyWith((message) => updates(message as DecorateCard)) + as DecorateCard; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DecorateCard create() => DecorateCard._(); + DecorateCard createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DecorateCard getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DecorateCard? _defaultInstance; + + /// 装扮卡片id + @$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 cardUrl => $_getSZ(1); + @$pb.TagNumber(2) + set cardUrl($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCardUrl() => $_has(1); + @$pb.TagNumber(2) + void clearCardUrl() => clearField(2); + + /// 装扮卡片点击跳转链接 + @$pb.TagNumber(3) + $core.String get jumpUrl => $_getSZ(2); + @$pb.TagNumber(3) + set jumpUrl($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasJumpUrl() => $_has(2); + @$pb.TagNumber(3) + void clearJumpUrl() => clearField(3); + + /// 粉丝样式 + @$pb.TagNumber(4) + DecoCardFan get fan => $_getN(3); + @$pb.TagNumber(4) + set fan(DecoCardFan v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasFan() => $_has(3); + @$pb.TagNumber(4) + void clearFan() => clearField(4); + @$pb.TagNumber(4) + DecoCardFan ensureFan() => $_ensure(3); +} + +/// 文本描述 +class Description extends $pb.GeneratedMessage { + factory Description({ + $core.String? text, + DescType? type, + $core.String? uri, + EmojiType? emojiType, + $core.String? goodsType, + $core.String? iconUrl, + $core.String? iconName, + $core.String? rid, + ModuleDescGoods? goods, + $core.String? origText, + $core.int? emojiSize, + EmojiSizeSpec? emojiSizeSpec, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + if (type != null) { + $result.type = type; + } + if (uri != null) { + $result.uri = uri; + } + if (emojiType != null) { + $result.emojiType = emojiType; + } + if (goodsType != null) { + $result.goodsType = goodsType; + } + if (iconUrl != null) { + $result.iconUrl = iconUrl; + } + if (iconName != null) { + $result.iconName = iconName; + } + if (rid != null) { + $result.rid = rid; + } + if (goods != null) { + $result.goods = goods; + } + if (origText != null) { + $result.origText = origText; + } + if (emojiSize != null) { + $result.emojiSize = emojiSize; + } + if (emojiSizeSpec != null) { + $result.emojiSizeSpec = emojiSizeSpec; + } + return $result; + } + Description._() : super(); + factory Description.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Description.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Description', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: DescType.desc_type_none, + valueOf: DescType.valueOf, + enumValues: DescType.values) + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..e(4, _omitFieldNames ? '' : 'emojiType', $pb.PbFieldType.OE, + defaultOrMaker: EmojiType.emoji_none, + valueOf: EmojiType.valueOf, + enumValues: EmojiType.values) + ..aOS(5, _omitFieldNames ? '' : 'goodsType') + ..aOS(6, _omitFieldNames ? '' : 'iconUrl') + ..aOS(7, _omitFieldNames ? '' : 'iconName') + ..aOS(8, _omitFieldNames ? '' : 'rid') + ..aOM(9, _omitFieldNames ? '' : 'goods', + subBuilder: ModuleDescGoods.create) + ..aOS(10, _omitFieldNames ? '' : 'origText') + ..a<$core.int>(11, _omitFieldNames ? '' : 'emojiSize', $pb.PbFieldType.O3) + ..aOM(12, _omitFieldNames ? '' : 'emojiSizeSpec', + subBuilder: EmojiSizeSpec.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') + Description clone() => Description()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Description copyWith(void Function(Description) updates) => + super.copyWith((message) => updates(message as Description)) + as Description; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Description create() => Description._(); + Description createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Description getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static Description? _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); + + /// 文本类型 + @$pb.TagNumber(2) + DescType get type => $_getN(1); + @$pb.TagNumber(2) + set type(DescType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasType() => $_has(1); + @$pb.TagNumber(2) + void clearType() => clearField(2); + + /// 点击跳转链接 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// emoji类型 + @$pb.TagNumber(4) + EmojiType get emojiType => $_getN(3); + @$pb.TagNumber(4) + set emojiType(EmojiType v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasEmojiType() => $_has(3); + @$pb.TagNumber(4) + void clearEmojiType() => clearField(4); + + /// 商品类型 + @$pb.TagNumber(5) + $core.String get goodsType => $_getSZ(4); + @$pb.TagNumber(5) + set goodsType($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasGoodsType() => $_has(4); + @$pb.TagNumber(5) + void clearGoodsType() => clearField(5); + + /// 前置Icon + @$pb.TagNumber(6) + $core.String get iconUrl => $_getSZ(5); + @$pb.TagNumber(6) + set iconUrl($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasIconUrl() => $_has(5); + @$pb.TagNumber(6) + void clearIconUrl() => clearField(6); + + /// icon_name + @$pb.TagNumber(7) + $core.String get iconName => $_getSZ(6); + @$pb.TagNumber(7) + set iconName($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasIconName() => $_has(6); + @$pb.TagNumber(7) + void clearIconName() => clearField(7); + + /// 资源ID + @$pb.TagNumber(8) + $core.String get rid => $_getSZ(7); + @$pb.TagNumber(8) + set rid($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasRid() => $_has(7); + @$pb.TagNumber(8) + void clearRid() => clearField(8); + + /// 商品卡特殊字段 + @$pb.TagNumber(9) + ModuleDescGoods get goods => $_getN(8); + @$pb.TagNumber(9) + set goods(ModuleDescGoods v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasGoods() => $_has(8); + @$pb.TagNumber(9) + void clearGoods() => clearField(9); + @$pb.TagNumber(9) + ModuleDescGoods ensureGoods() => $_ensure(8); + + /// 文本原始文案 + @$pb.TagNumber(10) + $core.String get origText => $_getSZ(9); + @$pb.TagNumber(10) + set origText($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasOrigText() => $_has(9); + @$pb.TagNumber(10) + void clearOrigText() => clearField(10); + + @$pb.TagNumber(11) + $core.int get emojiSize => $_getIZ(10); + @$pb.TagNumber(11) + set emojiSize($core.int v) { + $_setSignedInt32(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasEmojiSize() => $_has(10); + @$pb.TagNumber(11) + void clearEmojiSize() => clearField(11); + + @$pb.TagNumber(12) + EmojiSizeSpec get emojiSizeSpec => $_getN(11); + @$pb.TagNumber(12) + set emojiSizeSpec(EmojiSizeSpec v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasEmojiSizeSpec() => $_has(11); + @$pb.TagNumber(12) + void clearEmojiSizeSpec() => clearField(12); + @$pb.TagNumber(12) + EmojiSizeSpec ensureEmojiSizeSpec() => $_ensure(11); +} + +/// 尺寸信息 +class Dimension extends $pb.GeneratedMessage { + factory Dimension({ + $fixnum.Int64? height, + $fixnum.Int64? width, + $fixnum.Int64? rotate, + }) { + final $result = create(); + if (height != null) { + $result.height = height; + } + if (width != null) { + $result.width = width; + } + if (rotate != null) { + $result.rotate = rotate; + } + return $result; + } + Dimension._() : super(); + factory Dimension.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Dimension.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Dimension', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'height') + ..aInt64(2, _omitFieldNames ? '' : 'width') + ..aInt64(3, _omitFieldNames ? '' : 'rotate') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Dimension clone() => Dimension()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Dimension copyWith(void Function(Dimension) updates) => + super.copyWith((message) => updates(message as Dimension)) as Dimension; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Dimension create() => Dimension._(); + Dimension createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Dimension getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Dimension? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get height => $_getI64(0); + @$pb.TagNumber(1) + set height($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHeight() => $_has(0); + @$pb.TagNumber(1) + void clearHeight() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get width => $_getI64(1); + @$pb.TagNumber(2) + set width($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasWidth() => $_has(1); + @$pb.TagNumber(2) + void clearWidth() => clearField(2); + + @$pb.TagNumber(3) + $fixnum.Int64 get rotate => $_getI64(2); + @$pb.TagNumber(3) + set rotate($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasRotate() => $_has(2); + @$pb.TagNumber(3) + void clearRotate() => clearField(3); +} + +/// 动态通用附加卡-follow/取消follow-响应 +class DynAdditionCommonFollowReply extends $pb.GeneratedMessage { + factory DynAdditionCommonFollowReply({ + AdditionalButtonStatus? status, + }) { + final $result = create(); + if (status != null) { + $result.status = status; + } + return $result; + } + DynAdditionCommonFollowReply._() : super(); + factory DynAdditionCommonFollowReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynAdditionCommonFollowReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynAdditionCommonFollowReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, + defaultOrMaker: AdditionalButtonStatus.none, + valueOf: AdditionalButtonStatus.valueOf, + enumValues: AdditionalButtonStatus.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') + DynAdditionCommonFollowReply clone() => + DynAdditionCommonFollowReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynAdditionCommonFollowReply copyWith( + void Function(DynAdditionCommonFollowReply) updates) => + super.copyWith( + (message) => updates(message as DynAdditionCommonFollowReply)) + as DynAdditionCommonFollowReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynAdditionCommonFollowReply create() => + DynAdditionCommonFollowReply._(); + DynAdditionCommonFollowReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynAdditionCommonFollowReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynAdditionCommonFollowReply? _defaultInstance; + + @$pb.TagNumber(1) + AdditionalButtonStatus get status => $_getN(0); + @$pb.TagNumber(1) + set status(AdditionalButtonStatus v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasStatus() => $_has(0); + @$pb.TagNumber(1) + void clearStatus() => clearField(1); +} + +/// 动态通用附加卡-follow/取消follow-请求 +class DynAdditionCommonFollowReq extends $pb.GeneratedMessage { + factory DynAdditionCommonFollowReq({ + AdditionalButtonStatus? status, + $core.String? dynId, + $core.String? cardType, + }) { + final $result = create(); + if (status != null) { + $result.status = status; + } + if (dynId != null) { + $result.dynId = dynId; + } + if (cardType != null) { + $result.cardType = cardType; + } + return $result; + } + DynAdditionCommonFollowReq._() : super(); + factory DynAdditionCommonFollowReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynAdditionCommonFollowReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynAdditionCommonFollowReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, + defaultOrMaker: AdditionalButtonStatus.none, + valueOf: AdditionalButtonStatus.valueOf, + enumValues: AdditionalButtonStatus.values) + ..aOS(2, _omitFieldNames ? '' : 'dynId') + ..aOS(3, _omitFieldNames ? '' : 'cardType') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynAdditionCommonFollowReq clone() => + DynAdditionCommonFollowReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynAdditionCommonFollowReq copyWith( + void Function(DynAdditionCommonFollowReq) updates) => + super.copyWith( + (message) => updates(message as DynAdditionCommonFollowReq)) + as DynAdditionCommonFollowReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynAdditionCommonFollowReq create() => DynAdditionCommonFollowReq._(); + DynAdditionCommonFollowReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynAdditionCommonFollowReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynAdditionCommonFollowReq? _defaultInstance; + + @$pb.TagNumber(1) + AdditionalButtonStatus get status => $_getN(0); + @$pb.TagNumber(1) + set status(AdditionalButtonStatus v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasStatus() => $_has(0); + @$pb.TagNumber(1) + void clearStatus() => clearField(1); + + @$pb.TagNumber(2) + $core.String get dynId => $_getSZ(1); + @$pb.TagNumber(2) + set dynId($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDynId() => $_has(1); + @$pb.TagNumber(2) + void clearDynId() => clearField(2); + + @$pb.TagNumber(3) + $core.String get cardType => $_getSZ(2); + @$pb.TagNumber(3) + set cardType($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCardType() => $_has(2); + @$pb.TagNumber(3) + void clearCardType() => clearField(3); +} + +/// 最近访问-个人feed流列表-返回 +class DynAllPersonalReply extends $pb.GeneratedMessage { + factory DynAllPersonalReply({ + $core.Iterable? list, + $core.String? offset, + $core.bool? hasMore, + $core.String? readOffset, + Relation? relation, + TopAdditionUP? additionUp, + $core.String? title, + $core.String? titleSub, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (offset != null) { + $result.offset = offset; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (readOffset != null) { + $result.readOffset = readOffset; + } + if (relation != null) { + $result.relation = relation; + } + if (additionUp != null) { + $result.additionUp = additionUp; + } + if (title != null) { + $result.title = title; + } + if (titleSub != null) { + $result.titleSub = titleSub; + } + return $result; + } + DynAllPersonalReply._() : super(); + factory DynAllPersonalReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynAllPersonalReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynAllPersonalReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..aOB(3, _omitFieldNames ? '' : 'hasMore') + ..aOS(4, _omitFieldNames ? '' : 'readOffset') + ..aOM(5, _omitFieldNames ? '' : 'relation', + subBuilder: Relation.create) + ..aOM(6, _omitFieldNames ? '' : 'additionUp', + subBuilder: TopAdditionUP.create) + ..aOS(7, _omitFieldNames ? '' : 'title') + ..aOS(8, _omitFieldNames ? '' : 'titleSub') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynAllPersonalReply clone() => DynAllPersonalReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynAllPersonalReply copyWith(void Function(DynAllPersonalReply) updates) => + super.copyWith((message) => updates(message as DynAllPersonalReply)) + as DynAllPersonalReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynAllPersonalReply create() => DynAllPersonalReply._(); + DynAllPersonalReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynAllPersonalReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynAllPersonalReply? _defaultInstance; + + /// 动态列表 + @$pb.TagNumber(1) + $core.List get list => $_getList(0); + + /// 偏移量 + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + /// 是否还有更多数据 + @$pb.TagNumber(3) + $core.bool get hasMore => $_getBF(2); + @$pb.TagNumber(3) + set hasMore($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHasMore() => $_has(2); + @$pb.TagNumber(3) + void clearHasMore() => clearField(3); + + /// 已读进度 + @$pb.TagNumber(4) + $core.String get readOffset => $_getSZ(3); + @$pb.TagNumber(4) + set readOffset($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasReadOffset() => $_has(3); + @$pb.TagNumber(4) + void clearReadOffset() => clearField(4); + + /// 关注状态 + @$pb.TagNumber(5) + Relation get relation => $_getN(4); + @$pb.TagNumber(5) + set relation(Relation v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasRelation() => $_has(4); + @$pb.TagNumber(5) + void clearRelation() => clearField(5); + @$pb.TagNumber(5) + Relation ensureRelation() => $_ensure(4); + + /// 顶部预约卡 + @$pb.TagNumber(6) + TopAdditionUP get additionUp => $_getN(5); + @$pb.TagNumber(6) + set additionUp(TopAdditionUP v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasAdditionUp() => $_has(5); + @$pb.TagNumber(6) + void clearAdditionUp() => clearField(6); + @$pb.TagNumber(6) + TopAdditionUP ensureAdditionUp() => $_ensure(5); + + @$pb.TagNumber(7) + $core.String get title => $_getSZ(6); + @$pb.TagNumber(7) + set title($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasTitle() => $_has(6); + @$pb.TagNumber(7) + void clearTitle() => clearField(7); + + @$pb.TagNumber(8) + $core.String get titleSub => $_getSZ(7); + @$pb.TagNumber(8) + set titleSub($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasTitleSub() => $_has(7); + @$pb.TagNumber(8) + void clearTitleSub() => clearField(8); +} + +/// 最近访问-个人feed流列表-请求 +class DynAllPersonalReq extends $pb.GeneratedMessage { + factory DynAllPersonalReq({ + $fixnum.Int64? hostUid, + $core.String? offset, + $core.int? page, + $core.int? isPreload, + PlayurlParam? playurlParam, + $core.int? localTime, + $core.String? footprint, + $core.String? from, + $1.PlayerArgs? playerArgs, + $core.String? personalExtra, + }) { + final $result = create(); + if (hostUid != null) { + $result.hostUid = hostUid; + } + if (offset != null) { + $result.offset = offset; + } + if (page != null) { + $result.page = page; + } + if (isPreload != null) { + $result.isPreload = isPreload; + } + if (playurlParam != null) { + $result.playurlParam = playurlParam; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (footprint != null) { + $result.footprint = footprint; + } + if (from != null) { + $result.from = from; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (personalExtra != null) { + $result.personalExtra = personalExtra; + } + return $result; + } + DynAllPersonalReq._() : super(); + factory DynAllPersonalReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynAllPersonalReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynAllPersonalReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'hostUid') + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..a<$core.int>(3, _omitFieldNames ? '' : 'page', $pb.PbFieldType.O3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'isPreload', $pb.PbFieldType.O3) + ..aOM(5, _omitFieldNames ? '' : 'playurlParam', + subBuilder: PlayurlParam.create) + ..a<$core.int>(6, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOS(7, _omitFieldNames ? '' : 'footprint') + ..aOS(8, _omitFieldNames ? '' : 'from') + ..aOM<$1.PlayerArgs>(9, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..aOS(10, _omitFieldNames ? '' : 'personalExtra') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynAllPersonalReq clone() => DynAllPersonalReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynAllPersonalReq copyWith(void Function(DynAllPersonalReq) updates) => + super.copyWith((message) => updates(message as DynAllPersonalReq)) + as DynAllPersonalReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynAllPersonalReq create() => DynAllPersonalReq._(); + DynAllPersonalReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynAllPersonalReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynAllPersonalReq? _defaultInstance; + + /// 被访问者的 UID + @$pb.TagNumber(1) + $fixnum.Int64 get hostUid => $_getI64(0); + @$pb.TagNumber(1) + set hostUid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHostUid() => $_has(0); + @$pb.TagNumber(1) + void clearHostUid() => clearField(1); + + /// 偏移量 第一页可传空 + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + /// 标明下拉几次 + @$pb.TagNumber(3) + $core.int get page => $_getIZ(2); + @$pb.TagNumber(3) + set page($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasPage() => $_has(2); + @$pb.TagNumber(3) + void clearPage() => clearField(3); + + /// 是否是预加载 默认是1;客户端预加载。1:是预加载,不更新已读进度,不会影响小红点;0:非预加载,更新已读进度 + @$pb.TagNumber(4) + $core.int get isPreload => $_getIZ(3); + @$pb.TagNumber(4) + set isPreload($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIsPreload() => $_has(3); + @$pb.TagNumber(4) + void clearIsPreload() => clearField(4); + + /// 秒开参数 新版本废弃,统一使用player_args + @$pb.TagNumber(5) + PlayurlParam get playurlParam => $_getN(4); + @$pb.TagNumber(5) + set playurlParam(PlayurlParam v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasPlayurlParam() => $_has(4); + @$pb.TagNumber(5) + void clearPlayurlParam() => clearField(5); + @$pb.TagNumber(5) + PlayurlParam ensurePlayurlParam() => $_ensure(4); + + /// 客户端时区 兼容UTC-14和Etc/GMT+12,时区区间[-12,14] 东八区为8 + @$pb.TagNumber(6) + $core.int get localTime => $_getIZ(5); + @$pb.TagNumber(6) + set localTime($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasLocalTime() => $_has(5); + @$pb.TagNumber(6) + void clearLocalTime() => clearField(6); + + /// 服务端生成的透传上报字段 + @$pb.TagNumber(7) + $core.String get footprint => $_getSZ(6); + @$pb.TagNumber(7) + set footprint($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasFootprint() => $_has(6); + @$pb.TagNumber(7) + void clearFootprint() => clearField(7); + + /// 来源 + @$pb.TagNumber(8) + $core.String get from => $_getSZ(7); + @$pb.TagNumber(8) + set from($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasFrom() => $_has(7); + @$pb.TagNumber(8) + void clearFrom() => clearField(8); + + /// 秒开用 + @$pb.TagNumber(9) + $1.PlayerArgs get playerArgs => $_getN(8); + @$pb.TagNumber(9) + set playerArgs($1.PlayerArgs v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasPlayerArgs() => $_has(8); + @$pb.TagNumber(9) + void clearPlayerArgs() => clearField(9); + @$pb.TagNumber(9) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(8); + + @$pb.TagNumber(10) + $core.String get personalExtra => $_getSZ(9); + @$pb.TagNumber(10) + set personalExtra($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasPersonalExtra() => $_has(9); + @$pb.TagNumber(10) + void clearPersonalExtra() => clearField(10); +} + +/// 动态综合页-响应 +class DynAllReply extends $pb.GeneratedMessage { + factory DynAllReply({ + DynamicList? dynamicList, + CardVideoUpList? upList, + TopicList? topicList, + Unfollow? unfollow, + DynRegionRcmd? regionRcmd, + Config? config, + }) { + final $result = create(); + if (dynamicList != null) { + $result.dynamicList = dynamicList; + } + if (upList != null) { + $result.upList = upList; + } + if (topicList != null) { + $result.topicList = topicList; + } + if (unfollow != null) { + $result.unfollow = unfollow; + } + if (regionRcmd != null) { + $result.regionRcmd = regionRcmd; + } + if (config != null) { + $result.config = config; + } + return $result; + } + DynAllReply._() : super(); + factory DynAllReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynAllReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynAllReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'dynamicList', + subBuilder: DynamicList.create) + ..aOM(2, _omitFieldNames ? '' : 'upList', + subBuilder: CardVideoUpList.create) + ..aOM(3, _omitFieldNames ? '' : 'topicList', + subBuilder: TopicList.create) + ..aOM(4, _omitFieldNames ? '' : 'unfollow', + subBuilder: Unfollow.create) + ..aOM(5, _omitFieldNames ? '' : 'regionRcmd', + subBuilder: DynRegionRcmd.create) + ..aOM(6, _omitFieldNames ? '' : 'config', subBuilder: Config.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') + DynAllReply clone() => DynAllReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynAllReply copyWith(void Function(DynAllReply) updates) => + super.copyWith((message) => updates(message as DynAllReply)) + as DynAllReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynAllReply create() => DynAllReply._(); + DynAllReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynAllReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynAllReply? _defaultInstance; + + /// 卡片列表 + @$pb.TagNumber(1) + DynamicList get dynamicList => $_getN(0); + @$pb.TagNumber(1) + set dynamicList(DynamicList v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasDynamicList() => $_has(0); + @$pb.TagNumber(1) + void clearDynamicList() => clearField(1); + @$pb.TagNumber(1) + DynamicList ensureDynamicList() => $_ensure(0); + + /// 顶部up list + @$pb.TagNumber(2) + CardVideoUpList get upList => $_getN(1); + @$pb.TagNumber(2) + set upList(CardVideoUpList v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasUpList() => $_has(1); + @$pb.TagNumber(2) + void clearUpList() => clearField(2); + @$pb.TagNumber(2) + CardVideoUpList ensureUpList() => $_ensure(1); + + /// 话题广场 + @$pb.TagNumber(3) + TopicList get topicList => $_getN(2); + @$pb.TagNumber(3) + set topicList(TopicList v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasTopicList() => $_has(2); + @$pb.TagNumber(3) + void clearTopicList() => clearField(3); + @$pb.TagNumber(3) + TopicList ensureTopicList() => $_ensure(2); + + /// 无关注推荐 + @$pb.TagNumber(4) + Unfollow get unfollow => $_getN(3); + @$pb.TagNumber(4) + set unfollow(Unfollow v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasUnfollow() => $_has(3); + @$pb.TagNumber(4) + void clearUnfollow() => clearField(4); + @$pb.TagNumber(4) + Unfollow ensureUnfollow() => $_ensure(3); + + /// 分区UP推荐 + @$pb.TagNumber(5) + DynRegionRcmd get regionRcmd => $_getN(4); + @$pb.TagNumber(5) + set regionRcmd(DynRegionRcmd v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasRegionRcmd() => $_has(4); + @$pb.TagNumber(5) + void clearRegionRcmd() => clearField(5); + @$pb.TagNumber(5) + DynRegionRcmd ensureRegionRcmd() => $_ensure(4); + + @$pb.TagNumber(6) + Config get config => $_getN(5); + @$pb.TagNumber(6) + set config(Config v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasConfig() => $_has(5); + @$pb.TagNumber(6) + void clearConfig() => clearField(6); + @$pb.TagNumber(6) + Config ensureConfig() => $_ensure(5); +} + +/// 动态综合页-请求 +class DynAllReq extends $pb.GeneratedMessage { + factory DynAllReq({ + $core.String? updateBaseline, + $core.String? offset, + $core.int? page, + Refresh? refreshType, + PlayurlParam? playurlParam, + $core.String? assistBaseline, + $core.int? localTime, + RcmdUPsParam? rcmdUpsParam, + AdParam? adParam, + $core.int? coldStart, + $core.String? from, + $1.PlayerArgs? playerArgs, + $fixnum.Int64? tabRecallUid, + $core.int? tabRecallType, + }) { + final $result = create(); + if (updateBaseline != null) { + $result.updateBaseline = updateBaseline; + } + if (offset != null) { + $result.offset = offset; + } + if (page != null) { + $result.page = page; + } + if (refreshType != null) { + $result.refreshType = refreshType; + } + if (playurlParam != null) { + $result.playurlParam = playurlParam; + } + if (assistBaseline != null) { + $result.assistBaseline = assistBaseline; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (rcmdUpsParam != null) { + $result.rcmdUpsParam = rcmdUpsParam; + } + if (adParam != null) { + $result.adParam = adParam; + } + if (coldStart != null) { + $result.coldStart = coldStart; + } + if (from != null) { + $result.from = from; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (tabRecallUid != null) { + $result.tabRecallUid = tabRecallUid; + } + if (tabRecallType != null) { + $result.tabRecallType = tabRecallType; + } + return $result; + } + DynAllReq._() : super(); + factory DynAllReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynAllReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynAllReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'updateBaseline') + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..a<$core.int>(3, _omitFieldNames ? '' : 'page', $pb.PbFieldType.O3) + ..e(4, _omitFieldNames ? '' : 'refreshType', $pb.PbFieldType.OE, + defaultOrMaker: Refresh.refresh_new, + valueOf: Refresh.valueOf, + enumValues: Refresh.values) + ..aOM(5, _omitFieldNames ? '' : 'playurlParam', + subBuilder: PlayurlParam.create) + ..aOS(6, _omitFieldNames ? '' : 'assistBaseline') + ..a<$core.int>(7, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOM(8, _omitFieldNames ? '' : 'rcmdUpsParam', + subBuilder: RcmdUPsParam.create) + ..aOM(9, _omitFieldNames ? '' : 'adParam', + subBuilder: AdParam.create) + ..a<$core.int>(10, _omitFieldNames ? '' : 'coldStart', $pb.PbFieldType.O3) + ..aOS(11, _omitFieldNames ? '' : 'from') + ..aOM<$1.PlayerArgs>(12, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..aInt64(13, _omitFieldNames ? '' : 'tabRecallUid') + ..a<$core.int>( + 14, _omitFieldNames ? '' : 'tabRecallType', $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') + DynAllReq clone() => DynAllReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynAllReq copyWith(void Function(DynAllReq) updates) => + super.copyWith((message) => updates(message as DynAllReq)) as DynAllReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynAllReq create() => DynAllReq._(); + DynAllReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynAllReq getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DynAllReq? _defaultInstance; + + /// 透传 update_baseline + @$pb.TagNumber(1) + $core.String get updateBaseline => $_getSZ(0); + @$pb.TagNumber(1) + set updateBaseline($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasUpdateBaseline() => $_has(0); + @$pb.TagNumber(1) + void clearUpdateBaseline() => clearField(1); + + /// 透传 history_offset + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + /// 向下翻页数 + @$pb.TagNumber(3) + $core.int get page => $_getIZ(2); + @$pb.TagNumber(3) + set page($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasPage() => $_has(2); + @$pb.TagNumber(3) + void clearPage() => clearField(3); + + /// 刷新方式 1向上刷新 2向下翻页 + @$pb.TagNumber(4) + Refresh get refreshType => $_getN(3); + @$pb.TagNumber(4) + set refreshType(Refresh v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasRefreshType() => $_has(3); + @$pb.TagNumber(4) + void clearRefreshType() => clearField(4); + + /// 秒开参数 新版本废弃,统一使用player_args + @$pb.TagNumber(5) + PlayurlParam get playurlParam => $_getN(4); + @$pb.TagNumber(5) + set playurlParam(PlayurlParam v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasPlayurlParam() => $_has(4); + @$pb.TagNumber(5) + void clearPlayurlParam() => clearField(5); + @$pb.TagNumber(5) + PlayurlParam ensurePlayurlParam() => $_ensure(4); + + /// 综合页当前更新的最大值 + @$pb.TagNumber(6) + $core.String get assistBaseline => $_getSZ(5); + @$pb.TagNumber(6) + set assistBaseline($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasAssistBaseline() => $_has(5); + @$pb.TagNumber(6) + void clearAssistBaseline() => clearField(6); + + /// 客户端时区 兼容UTC-14和Etc/GMT+12,时区区间[-12,14] 东八区为8 + @$pb.TagNumber(7) + $core.int get localTime => $_getIZ(6); + @$pb.TagNumber(7) + set localTime($core.int v) { + $_setSignedInt32(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasLocalTime() => $_has(6); + @$pb.TagNumber(7) + void clearLocalTime() => clearField(7); + + /// 推荐up主入参(new的时候传) + @$pb.TagNumber(8) + RcmdUPsParam get rcmdUpsParam => $_getN(7); + @$pb.TagNumber(8) + set rcmdUpsParam(RcmdUPsParam v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasRcmdUpsParam() => $_has(7); + @$pb.TagNumber(8) + void clearRcmdUpsParam() => clearField(8); + @$pb.TagNumber(8) + RcmdUPsParam ensureRcmdUpsParam() => $_ensure(7); + + /// 广告参数 + @$pb.TagNumber(9) + AdParam get adParam => $_getN(8); + @$pb.TagNumber(9) + set adParam(AdParam v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasAdParam() => $_has(8); + @$pb.TagNumber(9) + void clearAdParam() => clearField(9); + @$pb.TagNumber(9) + AdParam ensureAdParam() => $_ensure(8); + + /// 是否冷启 + @$pb.TagNumber(10) + $core.int get coldStart => $_getIZ(9); + @$pb.TagNumber(10) + set coldStart($core.int v) { + $_setSignedInt32(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasColdStart() => $_has(9); + @$pb.TagNumber(10) + void clearColdStart() => clearField(10); + + /// 来源 + @$pb.TagNumber(11) + $core.String get from => $_getSZ(10); + @$pb.TagNumber(11) + set from($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasFrom() => $_has(10); + @$pb.TagNumber(11) + void clearFrom() => clearField(11); + + /// 秒开参数 + @$pb.TagNumber(12) + $1.PlayerArgs get playerArgs => $_getN(11); + @$pb.TagNumber(12) + set playerArgs($1.PlayerArgs v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasPlayerArgs() => $_has(11); + @$pb.TagNumber(12) + void clearPlayerArgs() => clearField(12); + @$pb.TagNumber(12) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(11); + + @$pb.TagNumber(13) + $fixnum.Int64 get tabRecallUid => $_getI64(12); + @$pb.TagNumber(13) + set tabRecallUid($fixnum.Int64 v) { + $_setInt64(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasTabRecallUid() => $_has(12); + @$pb.TagNumber(13) + void clearTabRecallUid() => clearField(13); + + @$pb.TagNumber(14) + $core.int get tabRecallType => $_getIZ(13); + @$pb.TagNumber(14) + set tabRecallType($core.int v) { + $_setSignedInt32(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasTabRecallType() => $_has(13); + @$pb.TagNumber(14) + void clearTabRecallType() => clearField(14); +} + +/// 最近访问-标记已读-请求 +class DynAllUpdOffsetReq extends $pb.GeneratedMessage { + factory DynAllUpdOffsetReq({ + $fixnum.Int64? hostUid, + $core.String? readOffset, + $core.String? footprint, + $core.String? personalExtra, + }) { + final $result = create(); + if (hostUid != null) { + $result.hostUid = hostUid; + } + if (readOffset != null) { + $result.readOffset = readOffset; + } + if (footprint != null) { + $result.footprint = footprint; + } + if (personalExtra != null) { + $result.personalExtra = personalExtra; + } + return $result; + } + DynAllUpdOffsetReq._() : super(); + factory DynAllUpdOffsetReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynAllUpdOffsetReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynAllUpdOffsetReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'hostUid') + ..aOS(2, _omitFieldNames ? '' : 'readOffset') + ..aOS(3, _omitFieldNames ? '' : 'footprint') + ..aOS(4, _omitFieldNames ? '' : 'personalExtra') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynAllUpdOffsetReq clone() => DynAllUpdOffsetReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynAllUpdOffsetReq copyWith(void Function(DynAllUpdOffsetReq) updates) => + super.copyWith((message) => updates(message as DynAllUpdOffsetReq)) + as DynAllUpdOffsetReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynAllUpdOffsetReq create() => DynAllUpdOffsetReq._(); + DynAllUpdOffsetReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynAllUpdOffsetReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynAllUpdOffsetReq? _defaultInstance; + + /// 被访问者的UID + @$pb.TagNumber(1) + $fixnum.Int64 get hostUid => $_getI64(0); + @$pb.TagNumber(1) + set hostUid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHostUid() => $_has(0); + @$pb.TagNumber(1) + void clearHostUid() => clearField(1); + + /// 用户已读进度 + @$pb.TagNumber(2) + $core.String get readOffset => $_getSZ(1); + @$pb.TagNumber(2) + set readOffset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasReadOffset() => $_has(1); + @$pb.TagNumber(2) + void clearReadOffset() => clearField(2); + + /// 服务端生成的透传上报字段 + @$pb.TagNumber(3) + $core.String get footprint => $_getSZ(2); + @$pb.TagNumber(3) + set footprint($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasFootprint() => $_has(2); + @$pb.TagNumber(3) + void clearFootprint() => clearField(3); + + @$pb.TagNumber(4) + $core.String get personalExtra => $_getSZ(3); + @$pb.TagNumber(4) + set personalExtra($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasPersonalExtra() => $_has(3); + @$pb.TagNumber(4) + void clearPersonalExtra() => clearField(4); +} + +/// 动态卡片 +class DynamicItem extends $pb.GeneratedMessage { + factory DynamicItem({ + DynamicType? cardType, + DynamicType? itemType, + $core.Iterable? modules, + Extend? extend, + $core.int? hasFold, + $core.String? serverInfo, + }) { + final $result = create(); + if (cardType != null) { + $result.cardType = cardType; + } + if (itemType != null) { + $result.itemType = itemType; + } + if (modules != null) { + $result.modules.addAll(modules); + } + if (extend != null) { + $result.extend = extend; + } + if (hasFold != null) { + $result.hasFold = hasFold; + } + if (serverInfo != null) { + $result.serverInfo = serverInfo; + } + return $result; + } + DynamicItem._() : super(); + factory DynamicItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynamicItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynamicItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'cardType', $pb.PbFieldType.OE, + defaultOrMaker: DynamicType.dyn_none, + valueOf: DynamicType.valueOf, + enumValues: DynamicType.values) + ..e(2, _omitFieldNames ? '' : 'itemType', $pb.PbFieldType.OE, + defaultOrMaker: DynamicType.dyn_none, + valueOf: DynamicType.valueOf, + enumValues: DynamicType.values) + ..pc(3, _omitFieldNames ? '' : 'modules', $pb.PbFieldType.PM, + subBuilder: Module.create) + ..aOM(4, _omitFieldNames ? '' : 'extend', subBuilder: Extend.create) + ..a<$core.int>(5, _omitFieldNames ? '' : 'hasFold', $pb.PbFieldType.O3) + ..aOS(6, _omitFieldNames ? '' : 'serverInfo') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynamicItem clone() => DynamicItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynamicItem copyWith(void Function(DynamicItem) updates) => + super.copyWith((message) => updates(message as DynamicItem)) + as DynamicItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynamicItem create() => DynamicItem._(); + DynamicItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynamicItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynamicItem? _defaultInstance; + + /// 动态卡片类型 + @$pb.TagNumber(1) + DynamicType get cardType => $_getN(0); + @$pb.TagNumber(1) + set cardType(DynamicType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasCardType() => $_has(0); + @$pb.TagNumber(1) + void clearCardType() => clearField(1); + + /// 转发类型下,源卡片类型 + @$pb.TagNumber(2) + DynamicType get itemType => $_getN(1); + @$pb.TagNumber(2) + set itemType(DynamicType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasItemType() => $_has(1); + @$pb.TagNumber(2) + void clearItemType() => clearField(2); + + /// 模块内容 + @$pb.TagNumber(3) + $core.List get modules => $_getList(2); + + /// 操作相关字段 + @$pb.TagNumber(4) + Extend get extend => $_getN(3); + @$pb.TagNumber(4) + set extend(Extend v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasExtend() => $_has(3); + @$pb.TagNumber(4) + void clearExtend() => clearField(4); + @$pb.TagNumber(4) + Extend ensureExtend() => $_ensure(3); + + /// 该卡片下面是否含有折叠卡 + @$pb.TagNumber(5) + $core.int get hasFold => $_getIZ(4); + @$pb.TagNumber(5) + set hasFold($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasHasFold() => $_has(4); + @$pb.TagNumber(5) + void clearHasFold() => clearField(5); + + /// 透传到客户端的埋点字段。 + @$pb.TagNumber(6) + $core.String get serverInfo => $_getSZ(5); + @$pb.TagNumber(6) + set serverInfo($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasServerInfo() => $_has(5); + @$pb.TagNumber(6) + void clearServerInfo() => clearField(6); +} + +/// 动态卡片列表 +class DynamicList extends $pb.GeneratedMessage { + factory DynamicList({ + $core.Iterable? list, + $fixnum.Int64? updateNum, + $core.String? historyOffset, + $core.String? updateBaseline, + $core.bool? hasMore, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (updateNum != null) { + $result.updateNum = updateNum; + } + if (historyOffset != null) { + $result.historyOffset = historyOffset; + } + if (updateBaseline != null) { + $result.updateBaseline = updateBaseline; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + return $result; + } + DynamicList._() : super(); + factory DynamicList.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynamicList.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynamicList', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aInt64(2, _omitFieldNames ? '' : 'updateNum') + ..aOS(3, _omitFieldNames ? '' : 'historyOffset') + ..aOS(4, _omitFieldNames ? '' : 'updateBaseline') + ..aOB(5, _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') + DynamicList clone() => DynamicList()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynamicList copyWith(void Function(DynamicList) updates) => + super.copyWith((message) => updates(message as DynamicList)) + as DynamicList; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynamicList create() => DynamicList._(); + DynamicList createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynamicList getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynamicList? _defaultInstance; + + /// 动态列表 + @$pb.TagNumber(1) + $core.List get list => $_getList(0); + + /// 更新的动态数 + @$pb.TagNumber(2) + $fixnum.Int64 get updateNum => $_getI64(1); + @$pb.TagNumber(2) + set updateNum($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUpdateNum() => $_has(1); + @$pb.TagNumber(2) + void clearUpdateNum() => clearField(2); + + /// 历史偏移 + @$pb.TagNumber(3) + $core.String get historyOffset => $_getSZ(2); + @$pb.TagNumber(3) + set historyOffset($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHistoryOffset() => $_has(2); + @$pb.TagNumber(3) + void clearHistoryOffset() => clearField(3); + + /// 更新基础信息 + @$pb.TagNumber(4) + $core.String get updateBaseline => $_getSZ(3); + @$pb.TagNumber(4) + set updateBaseline($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasUpdateBaseline() => $_has(3); + @$pb.TagNumber(4) + void clearUpdateBaseline() => clearField(4); + + /// 是否还有更多数据 + @$pb.TagNumber(5) + $core.bool get hasMore => $_getBF(4); + @$pb.TagNumber(5) + set hasMore($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasHasMore() => $_has(4); + @$pb.TagNumber(5) + void clearHasMore() => clearField(5); +} + +/// 动态详情页-响应 +class DynDetailReply extends $pb.GeneratedMessage { + factory DynDetailReply({ + DynamicItem? item, + }) { + final $result = create(); + if (item != null) { + $result.item = item; + } + return $result; + } + DynDetailReply._() : super(); + factory DynDetailReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynDetailReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynDetailReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'item', + subBuilder: DynamicItem.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') + DynDetailReply clone() => DynDetailReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynDetailReply copyWith(void Function(DynDetailReply) updates) => + super.copyWith((message) => updates(message as DynDetailReply)) + as DynDetailReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynDetailReply create() => DynDetailReply._(); + DynDetailReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynDetailReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynDetailReply? _defaultInstance; + + /// 动态详情 + @$pb.TagNumber(1) + DynamicItem get item => $_getN(0); + @$pb.TagNumber(1) + set item(DynamicItem v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasItem() => $_has(0); + @$pb.TagNumber(1) + void clearItem() => clearField(1); + @$pb.TagNumber(1) + DynamicItem ensureItem() => $_ensure(0); +} + +/// 动态详情页-请求 +class DynDetailReq extends $pb.GeneratedMessage { + factory DynDetailReq({ + $fixnum.Int64? uid, + $core.String? dynamicId, + $fixnum.Int64? dynType, + $fixnum.Int64? rid, + AdParam? adParam, + $core.String? from, + $1.PlayerArgs? playerArgs, + $core.String? shareId, + $core.int? shareMode, + $core.int? localTime, + $core.String? pattern, + Config? config, + }) { + final $result = create(); + if (uid != null) { + $result.uid = uid; + } + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (dynType != null) { + $result.dynType = dynType; + } + if (rid != null) { + $result.rid = rid; + } + if (adParam != null) { + $result.adParam = adParam; + } + if (from != null) { + $result.from = from; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (shareId != null) { + $result.shareId = shareId; + } + if (shareMode != null) { + $result.shareMode = shareMode; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (pattern != null) { + $result.pattern = pattern; + } + if (config != null) { + $result.config = config; + } + return $result; + } + DynDetailReq._() : super(); + factory DynDetailReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynDetailReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynDetailReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'uid') + ..aOS(2, _omitFieldNames ? '' : 'dynamicId') + ..aInt64(3, _omitFieldNames ? '' : 'dynType') + ..aInt64(4, _omitFieldNames ? '' : 'rid') + ..aOM(5, _omitFieldNames ? '' : 'adParam', + subBuilder: AdParam.create) + ..aOS(6, _omitFieldNames ? '' : 'from') + ..aOM<$1.PlayerArgs>(7, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..aOS(8, _omitFieldNames ? '' : 'shareId') + ..a<$core.int>(9, _omitFieldNames ? '' : 'shareMode', $pb.PbFieldType.O3) + ..a<$core.int>(10, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOS(11, _omitFieldNames ? '' : 'pattern') + ..aOM(12, _omitFieldNames ? '' : 'config', + subBuilder: Config.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') + DynDetailReq clone() => DynDetailReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynDetailReq copyWith(void Function(DynDetailReq) updates) => + super.copyWith((message) => updates(message as DynDetailReq)) + as DynDetailReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynDetailReq create() => DynDetailReq._(); + DynDetailReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynDetailReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynDetailReq? _defaultInstance; + + /// up主uid + @$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); + + /// 动态ID + @$pb.TagNumber(2) + $core.String get dynamicId => $_getSZ(1); + @$pb.TagNumber(2) + set dynamicId($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDynamicId() => $_has(1); + @$pb.TagNumber(2) + void clearDynamicId() => clearField(2); + + /// 动态类型 + @$pb.TagNumber(3) + $fixnum.Int64 get dynType => $_getI64(2); + @$pb.TagNumber(3) + set dynType($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDynType() => $_has(2); + @$pb.TagNumber(3) + void clearDynType() => clearField(3); + + /// 业务方资源id + @$pb.TagNumber(4) + $fixnum.Int64 get rid => $_getI64(3); + @$pb.TagNumber(4) + set rid($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasRid() => $_has(3); + @$pb.TagNumber(4) + void clearRid() => clearField(4); + + /// 广告参数 + @$pb.TagNumber(5) + AdParam get adParam => $_getN(4); + @$pb.TagNumber(5) + set adParam(AdParam v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasAdParam() => $_has(4); + @$pb.TagNumber(5) + void clearAdParam() => clearField(5); + @$pb.TagNumber(5) + AdParam ensureAdParam() => $_ensure(4); + + /// From来源 + @$pb.TagNumber(6) + $core.String get from => $_getSZ(5); + @$pb.TagNumber(6) + set from($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasFrom() => $_has(5); + @$pb.TagNumber(6) + void clearFrom() => clearField(6); + + /// 秒开参数 + @$pb.TagNumber(7) + $1.PlayerArgs get playerArgs => $_getN(6); + @$pb.TagNumber(7) + set playerArgs($1.PlayerArgs v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasPlayerArgs() => $_has(6); + @$pb.TagNumber(7) + void clearPlayerArgs() => clearField(7); + @$pb.TagNumber(7) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(6); + + /// 分享id + @$pb.TagNumber(8) + $core.String get shareId => $_getSZ(7); + @$pb.TagNumber(8) + set shareId($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasShareId() => $_has(7); + @$pb.TagNumber(8) + void clearShareId() => clearField(8); + + /// 分享类型 + /// 1:文字 2:图片 3:链接 4:视频 5:音频 + @$pb.TagNumber(9) + $core.int get shareMode => $_getIZ(8); + @$pb.TagNumber(9) + set shareMode($core.int v) { + $_setSignedInt32(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasShareMode() => $_has(8); + @$pb.TagNumber(9) + void clearShareMode() => clearField(9); + + /// 客户端时区 兼容UTC-14和Etc/GMT+12,时区区间[-12,14] 东八区为8 + @$pb.TagNumber(10) + $core.int get localTime => $_getIZ(9); + @$pb.TagNumber(10) + set localTime($core.int v) { + $_setSignedInt32(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasLocalTime() => $_has(9); + @$pb.TagNumber(10) + void clearLocalTime() => clearField(10); + + /// pattern + @$pb.TagNumber(11) + $core.String get pattern => $_getSZ(10); + @$pb.TagNumber(11) + set pattern($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasPattern() => $_has(10); + @$pb.TagNumber(11) + void clearPattern() => clearField(11); + + @$pb.TagNumber(12) + Config get config => $_getN(11); + @$pb.TagNumber(12) + set config(Config v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasConfig() => $_has(11); + @$pb.TagNumber(12) + void clearConfig() => clearField(12); + @$pb.TagNumber(12) + Config ensureConfig() => $_ensure(11); +} + +/// 批量动态id获取动态详情-响应 +class DynDetailsReply extends $pb.GeneratedMessage { + factory DynDetailsReply({ + $core.Iterable? list, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + return $result; + } + DynDetailsReply._() : super(); + factory DynDetailsReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynDetailsReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynDetailsReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.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') + DynDetailsReply clone() => DynDetailsReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynDetailsReply copyWith(void Function(DynDetailsReply) updates) => + super.copyWith((message) => updates(message as DynDetailsReply)) + as DynDetailsReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynDetailsReply create() => DynDetailsReply._(); + DynDetailsReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynDetailsReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynDetailsReply? _defaultInstance; + + /// 动态列表 + @$pb.TagNumber(1) + $core.List get list => $_getList(0); +} + +/// 批量动态id获取动态详情-请求 +class DynDetailsReq extends $pb.GeneratedMessage { + factory DynDetailsReq({ + $core.String? dynamicIds, + PlayurlParam? playurlParam, + $core.int? localTime, + $1.PlayerArgs? playerArgs, + Config? config, + }) { + final $result = create(); + if (dynamicIds != null) { + $result.dynamicIds = dynamicIds; + } + if (playurlParam != null) { + $result.playurlParam = playurlParam; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (config != null) { + $result.config = config; + } + return $result; + } + DynDetailsReq._() : super(); + factory DynDetailsReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynDetailsReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynDetailsReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'dynamicIds') + ..aOM(2, _omitFieldNames ? '' : 'playurlParam', + subBuilder: PlayurlParam.create) + ..a<$core.int>(3, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOM<$1.PlayerArgs>(4, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..aOM(5, _omitFieldNames ? '' : 'config', subBuilder: Config.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') + DynDetailsReq clone() => DynDetailsReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynDetailsReq copyWith(void Function(DynDetailsReq) updates) => + super.copyWith((message) => updates(message as DynDetailsReq)) + as DynDetailsReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynDetailsReq create() => DynDetailsReq._(); + DynDetailsReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynDetailsReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynDetailsReq? _defaultInstance; + + /// 动态id + @$pb.TagNumber(1) + $core.String get dynamicIds => $_getSZ(0); + @$pb.TagNumber(1) + set dynamicIds($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasDynamicIds() => $_has(0); + @$pb.TagNumber(1) + void clearDynamicIds() => clearField(1); + + /// 秒开参数 新版本废弃,统一使用player_args + @$pb.TagNumber(2) + PlayurlParam get playurlParam => $_getN(1); + @$pb.TagNumber(2) + set playurlParam(PlayurlParam v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasPlayurlParam() => $_has(1); + @$pb.TagNumber(2) + void clearPlayurlParam() => clearField(2); + @$pb.TagNumber(2) + PlayurlParam ensurePlayurlParam() => $_ensure(1); + + /// 客户端时区 兼容UTC-14和Etc/GMT+12,时区区间[-12,14] 东八区为8 + @$pb.TagNumber(3) + $core.int get localTime => $_getIZ(2); + @$pb.TagNumber(3) + set localTime($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasLocalTime() => $_has(2); + @$pb.TagNumber(3) + void clearLocalTime() => clearField(3); + + /// 秒开参数 + @$pb.TagNumber(4) + $1.PlayerArgs get playerArgs => $_getN(3); + @$pb.TagNumber(4) + set playerArgs($1.PlayerArgs v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasPlayerArgs() => $_has(3); + @$pb.TagNumber(4) + void clearPlayerArgs() => clearField(4); + @$pb.TagNumber(4) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(3); + + @$pb.TagNumber(5) + Config get config => $_getN(4); + @$pb.TagNumber(5) + set config(Config v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasConfig() => $_has(4); + @$pb.TagNumber(5) + void clearConfig() => clearField(5); + @$pb.TagNumber(5) + Config ensureConfig() => $_ensure(4); +} + +/// 动态发布生成临时卡-响应 +class DynFakeCardReply extends $pb.GeneratedMessage { + factory DynFakeCardReply({ + DynamicItem? item, + }) { + final $result = create(); + if (item != null) { + $result.item = item; + } + return $result; + } + DynFakeCardReply._() : super(); + factory DynFakeCardReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynFakeCardReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynFakeCardReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'item', + subBuilder: DynamicItem.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') + DynFakeCardReply clone() => DynFakeCardReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynFakeCardReply copyWith(void Function(DynFakeCardReply) updates) => + super.copyWith((message) => updates(message as DynFakeCardReply)) + as DynFakeCardReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynFakeCardReply create() => DynFakeCardReply._(); + DynFakeCardReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynFakeCardReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynFakeCardReply? _defaultInstance; + + /// 动态卡片 + @$pb.TagNumber(1) + DynamicItem get item => $_getN(0); + @$pb.TagNumber(1) + set item(DynamicItem v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasItem() => $_has(0); + @$pb.TagNumber(1) + void clearItem() => clearField(1); + @$pb.TagNumber(1) + DynamicItem ensureItem() => $_ensure(0); +} + +/// 动态发布生成临时卡-请求 +class DynFakeCardReq extends $pb.GeneratedMessage { + factory DynFakeCardReq({ + $core.String? content, + }) { + final $result = create(); + if (content != null) { + $result.content = content; + } + return $result; + } + DynFakeCardReq._() : super(); + factory DynFakeCardReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynFakeCardReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynFakeCardReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'content') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynFakeCardReq clone() => DynFakeCardReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynFakeCardReq copyWith(void Function(DynFakeCardReq) updates) => + super.copyWith((message) => updates(message as DynFakeCardReq)) + as DynFakeCardReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynFakeCardReq create() => DynFakeCardReq._(); + DynFakeCardReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynFakeCardReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynFakeCardReq? _defaultInstance; + + /// 卡片内容json string + @$pb.TagNumber(1) + $core.String get content => $_getSZ(0); + @$pb.TagNumber(1) + set content($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasContent() => $_has(0); + @$pb.TagNumber(1) + void clearContent() => clearField(1); +} + +class DynFeatureGate extends $pb.GeneratedMessage { + factory DynFeatureGate({ + $core.bool? enhancedInteraction, + }) { + final $result = create(); + if (enhancedInteraction != null) { + $result.enhancedInteraction = enhancedInteraction; + } + return $result; + } + DynFeatureGate._() : super(); + factory DynFeatureGate.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynFeatureGate.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynFeatureGate', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'enhancedInteraction') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynFeatureGate clone() => DynFeatureGate()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynFeatureGate copyWith(void Function(DynFeatureGate) updates) => + super.copyWith((message) => updates(message as DynFeatureGate)) + as DynFeatureGate; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynFeatureGate create() => DynFeatureGate._(); + DynFeatureGate createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynFeatureGate getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynFeatureGate? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get enhancedInteraction => $_getBF(0); + @$pb.TagNumber(1) + set enhancedInteraction($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasEnhancedInteraction() => $_has(0); + @$pb.TagNumber(1) + void clearEnhancedInteraction() => clearField(1); +} + +class DynFriendReply extends $pb.GeneratedMessage { + factory DynFriendReply({ + $core.Iterable? dynList, + $core.bool? hasMore, + $core.String? offset, + }) { + final $result = create(); + if (dynList != null) { + $result.dynList.addAll(dynList); + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (offset != null) { + $result.offset = offset; + } + return $result; + } + DynFriendReply._() : super(); + factory DynFriendReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynFriendReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynFriendReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'dynList', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOB(2, _omitFieldNames ? '' : 'hasMore') + ..aOS(3, _omitFieldNames ? '' : 'offset') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynFriendReply clone() => DynFriendReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynFriendReply copyWith(void Function(DynFriendReply) updates) => + super.copyWith((message) => updates(message as DynFriendReply)) + as DynFriendReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynFriendReply create() => DynFriendReply._(); + DynFriendReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynFriendReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynFriendReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get dynList => $_getList(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); + + @$pb.TagNumber(3) + $core.String get offset => $_getSZ(2); + @$pb.TagNumber(3) + set offset($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOffset() => $_has(2); + @$pb.TagNumber(3) + void clearOffset() => clearField(3); +} + +class DynFriendReq extends $pb.GeneratedMessage { + factory DynFriendReq({ + $core.String? offset, + $core.int? localTime, + $1.PlayerArgs? playerArgs, + }) { + final $result = create(); + if (offset != null) { + $result.offset = offset; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + return $result; + } + DynFriendReq._() : super(); + factory DynFriendReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynFriendReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynFriendReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'offset') + ..a<$core.int>(2, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOM<$1.PlayerArgs>(3, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.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') + DynFriendReq clone() => DynFriendReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynFriendReq copyWith(void Function(DynFriendReq) updates) => + super.copyWith((message) => updates(message as DynFriendReq)) + as DynFriendReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynFriendReq create() => DynFriendReq._(); + DynFriendReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynFriendReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynFriendReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get offset => $_getSZ(0); + @$pb.TagNumber(1) + set offset($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasOffset() => $_has(0); + @$pb.TagNumber(1) + void clearOffset() => clearField(1); + + @$pb.TagNumber(2) + $core.int get localTime => $_getIZ(1); + @$pb.TagNumber(2) + set localTime($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasLocalTime() => $_has(1); + @$pb.TagNumber(2) + void clearLocalTime() => clearField(2); + + @$pb.TagNumber(3) + $1.PlayerArgs get playerArgs => $_getN(2); + @$pb.TagNumber(3) + set playerArgs($1.PlayerArgs v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasPlayerArgs() => $_has(2); + @$pb.TagNumber(3) + void clearPlayerArgs() => clearField(3); + @$pb.TagNumber(3) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(2); +} + +/// 轻浏览-响应 +class DynLightReply extends $pb.GeneratedMessage { + factory DynLightReply({ + DynamicList? dynamicList, + }) { + final $result = create(); + if (dynamicList != null) { + $result.dynamicList = dynamicList; + } + return $result; + } + DynLightReply._() : super(); + factory DynLightReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynLightReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynLightReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'dynamicList', + subBuilder: DynamicList.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') + DynLightReply clone() => DynLightReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynLightReply copyWith(void Function(DynLightReply) updates) => + super.copyWith((message) => updates(message as DynLightReply)) + as DynLightReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynLightReply create() => DynLightReply._(); + DynLightReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynLightReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynLightReply? _defaultInstance; + + /// 卡片列表 + @$pb.TagNumber(1) + DynamicList get dynamicList => $_getN(0); + @$pb.TagNumber(1) + set dynamicList(DynamicList v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasDynamicList() => $_has(0); + @$pb.TagNumber(1) + void clearDynamicList() => clearField(1); + @$pb.TagNumber(1) + DynamicList ensureDynamicList() => $_ensure(0); +} + +/// 轻浏览-请求 +class DynLightReq extends $pb.GeneratedMessage { + factory DynLightReq({ + $core.String? historyOffset, + $core.int? page, + $core.String? from, + $1.PlayerArgs? playerArgs, + $core.int? localTime, + $core.int? fromType, + $fixnum.Int64? fakeUid, + }) { + final $result = create(); + if (historyOffset != null) { + $result.historyOffset = historyOffset; + } + if (page != null) { + $result.page = page; + } + if (from != null) { + $result.from = from; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (fromType != null) { + $result.fromType = fromType; + } + if (fakeUid != null) { + $result.fakeUid = fakeUid; + } + return $result; + } + DynLightReq._() : super(); + factory DynLightReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynLightReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynLightReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'historyOffset') + ..a<$core.int>(2, _omitFieldNames ? '' : 'page', $pb.PbFieldType.O3) + ..aOS(3, _omitFieldNames ? '' : 'from') + ..aOM<$1.PlayerArgs>(4, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..a<$core.int>(5, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..a<$core.int>(6, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.O3) + ..aInt64(7, _omitFieldNames ? '' : 'fakeUid') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynLightReq clone() => DynLightReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynLightReq copyWith(void Function(DynLightReq) updates) => + super.copyWith((message) => updates(message as DynLightReq)) + as DynLightReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynLightReq create() => DynLightReq._(); + DynLightReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynLightReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynLightReq? _defaultInstance; + + /// 透传 history_offset + @$pb.TagNumber(1) + $core.String get historyOffset => $_getSZ(0); + @$pb.TagNumber(1) + set historyOffset($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHistoryOffset() => $_has(0); + @$pb.TagNumber(1) + void clearHistoryOffset() => clearField(1); + + /// 向下翻页数 + @$pb.TagNumber(2) + $core.int get page => $_getIZ(1); + @$pb.TagNumber(2) + set page($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasPage() => $_has(1); + @$pb.TagNumber(2) + void clearPage() => clearField(2); + + /// 来源 + @$pb.TagNumber(3) + $core.String get from => $_getSZ(2); + @$pb.TagNumber(3) + set from($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasFrom() => $_has(2); + @$pb.TagNumber(3) + void clearFrom() => clearField(3); + + /// 秒开参数 + @$pb.TagNumber(4) + $1.PlayerArgs get playerArgs => $_getN(3); + @$pb.TagNumber(4) + set playerArgs($1.PlayerArgs v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasPlayerArgs() => $_has(3); + @$pb.TagNumber(4) + void clearPlayerArgs() => clearField(4); + @$pb.TagNumber(4) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(3); + + /// 客户端时区 兼容UTC-14和Etc/GMT+12,时区区间[-12,14] 东八区为8 + @$pb.TagNumber(5) + $core.int get localTime => $_getIZ(4); + @$pb.TagNumber(5) + set localTime($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasLocalTime() => $_has(4); + @$pb.TagNumber(5) + void clearLocalTime() => clearField(5); + + @$pb.TagNumber(6) + $core.int get fromType => $_getIZ(5); + @$pb.TagNumber(6) + set fromType($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasFromType() => $_has(5); + @$pb.TagNumber(6) + void clearFromType() => clearField(6); + + @$pb.TagNumber(7) + $fixnum.Int64 get fakeUid => $_getI64(6); + @$pb.TagNumber(7) + set fakeUid($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasFakeUid() => $_has(6); + @$pb.TagNumber(7) + void clearFakeUid() => clearField(7); +} + +/// 查看更多-列表-响应 +class DynMixUpListViewMoreReply extends $pb.GeneratedMessage { + factory DynMixUpListViewMoreReply({ + $core.Iterable? items, + $core.String? searchDefaultText, + $core.Iterable? sortTypes, + $core.bool? showMoreSortTypes, + $core.int? defaultSortType, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (searchDefaultText != null) { + $result.searchDefaultText = searchDefaultText; + } + if (sortTypes != null) { + $result.sortTypes.addAll(sortTypes); + } + if (showMoreSortTypes != null) { + $result.showMoreSortTypes = showMoreSortTypes; + } + if (defaultSortType != null) { + $result.defaultSortType = defaultSortType; + } + return $result; + } + DynMixUpListViewMoreReply._() : super(); + factory DynMixUpListViewMoreReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynMixUpListViewMoreReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynMixUpListViewMoreReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: MixUpListItem.create) + ..aOS(2, _omitFieldNames ? '' : 'searchDefaultText') + ..pc(3, _omitFieldNames ? '' : 'sortTypes', $pb.PbFieldType.PM, + subBuilder: SortType.create) + ..aOB(4, _omitFieldNames ? '' : 'showMoreSortTypes') + ..a<$core.int>( + 5, _omitFieldNames ? '' : 'defaultSortType', $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') + DynMixUpListViewMoreReply clone() => + DynMixUpListViewMoreReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynMixUpListViewMoreReply copyWith( + void Function(DynMixUpListViewMoreReply) updates) => + super.copyWith((message) => updates(message as DynMixUpListViewMoreReply)) + as DynMixUpListViewMoreReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynMixUpListViewMoreReply create() => DynMixUpListViewMoreReply._(); + DynMixUpListViewMoreReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynMixUpListViewMoreReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynMixUpListViewMoreReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get items => $_getList(0); + + @$pb.TagNumber(2) + $core.String get searchDefaultText => $_getSZ(1); + @$pb.TagNumber(2) + set searchDefaultText($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasSearchDefaultText() => $_has(1); + @$pb.TagNumber(2) + void clearSearchDefaultText() => clearField(2); + + /// 排序类型列表 + @$pb.TagNumber(3) + $core.List get sortTypes => $_getList(2); + + /// 是否展示更多的排序策略 + @$pb.TagNumber(4) + $core.bool get showMoreSortTypes => $_getBF(3); + @$pb.TagNumber(4) + set showMoreSortTypes($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasShowMoreSortTypes() => $_has(3); + @$pb.TagNumber(4) + void clearShowMoreSortTypes() => clearField(4); + + /// 默认排序策略 + @$pb.TagNumber(5) + $core.int get defaultSortType => $_getIZ(4); + @$pb.TagNumber(5) + set defaultSortType($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDefaultSortType() => $_has(4); + @$pb.TagNumber(5) + void clearDefaultSortType() => clearField(5); +} + +/// 查看更多-请求 +class DynMixUpListViewMoreReq extends $pb.GeneratedMessage { + factory DynMixUpListViewMoreReq({ + $core.int? sortType, + }) { + final $result = create(); + if (sortType != null) { + $result.sortType = sortType; + } + return $result; + } + DynMixUpListViewMoreReq._() : super(); + factory DynMixUpListViewMoreReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynMixUpListViewMoreReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynMixUpListViewMoreReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'sortType', $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') + DynMixUpListViewMoreReq clone() => + DynMixUpListViewMoreReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynMixUpListViewMoreReq copyWith( + void Function(DynMixUpListViewMoreReq) updates) => + super.copyWith((message) => updates(message as DynMixUpListViewMoreReq)) + as DynMixUpListViewMoreReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynMixUpListViewMoreReq create() => DynMixUpListViewMoreReq._(); + DynMixUpListViewMoreReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynMixUpListViewMoreReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynMixUpListViewMoreReq? _defaultInstance; + + /// 排序策略 + /// 1:推荐排序 2:最常访问 3:最近关注,其他值为默认排序 + @$pb.TagNumber(1) + $core.int get sortType => $_getIZ(0); + @$pb.TagNumber(1) + set sortType($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasSortType() => $_has(0); + @$pb.TagNumber(1) + void clearSortType() => clearField(1); +} + +/// 推荐页-响应 +class DynRcmdReply extends $pb.GeneratedMessage { + factory DynRcmdReply({ + DynRegionRcmd? regionRcmd, + DynamicList? dynamicList, + }) { + final $result = create(); + if (regionRcmd != null) { + $result.regionRcmd = regionRcmd; + } + if (dynamicList != null) { + $result.dynamicList = dynamicList; + } + return $result; + } + DynRcmdReply._() : super(); + factory DynRcmdReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynRcmdReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynRcmdReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'regionRcmd', + subBuilder: DynRegionRcmd.create) + ..aOM(2, _omitFieldNames ? '' : 'dynamicList', + subBuilder: DynamicList.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') + DynRcmdReply clone() => DynRcmdReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynRcmdReply copyWith(void Function(DynRcmdReply) updates) => + super.copyWith((message) => updates(message as DynRcmdReply)) + as DynRcmdReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynRcmdReply create() => DynRcmdReply._(); + DynRcmdReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynRcmdReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynRcmdReply? _defaultInstance; + + /// 推荐页返回参数 + @$pb.TagNumber(1) + DynRegionRcmd get regionRcmd => $_getN(0); + @$pb.TagNumber(1) + set regionRcmd(DynRegionRcmd v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasRegionRcmd() => $_has(0); + @$pb.TagNumber(1) + void clearRegionRcmd() => clearField(1); + @$pb.TagNumber(1) + DynRegionRcmd ensureRegionRcmd() => $_ensure(0); + + @$pb.TagNumber(2) + DynamicList get dynamicList => $_getN(1); + @$pb.TagNumber(2) + set dynamicList(DynamicList v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasDynamicList() => $_has(1); + @$pb.TagNumber(2) + void clearDynamicList() => clearField(2); + @$pb.TagNumber(2) + DynamicList ensureDynamicList() => $_ensure(1); +} + +/// 推荐页-请求 +class DynRcmdReq extends $pb.GeneratedMessage { + factory DynRcmdReq({ + $1.PlayerArgs? playerArgs, + $core.int? localTime, + $fixnum.Int64? fakeUid, + $core.bool? isRefresh, + }) { + final $result = create(); + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (fakeUid != null) { + $result.fakeUid = fakeUid; + } + if (isRefresh != null) { + $result.isRefresh = isRefresh; + } + return $result; + } + DynRcmdReq._() : super(); + factory DynRcmdReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynRcmdReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynRcmdReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM<$1.PlayerArgs>(1, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..a<$core.int>(2, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aInt64(3, _omitFieldNames ? '' : 'fakeUid') + ..aOB(4, _omitFieldNames ? '' : 'isRefresh') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynRcmdReq clone() => DynRcmdReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynRcmdReq copyWith(void Function(DynRcmdReq) updates) => + super.copyWith((message) => updates(message as DynRcmdReq)) as DynRcmdReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynRcmdReq create() => DynRcmdReq._(); + DynRcmdReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynRcmdReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynRcmdReq? _defaultInstance; + + /// 秒开参数 + @$pb.TagNumber(1) + $1.PlayerArgs get playerArgs => $_getN(0); + @$pb.TagNumber(1) + set playerArgs($1.PlayerArgs v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasPlayerArgs() => $_has(0); + @$pb.TagNumber(1) + void clearPlayerArgs() => clearField(1); + @$pb.TagNumber(1) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(0); + + /// 客户端时区 兼容UTC-14和Etc/GMT+12,时区区间[-12,14] 东八区为8 + @$pb.TagNumber(2) + $core.int get localTime => $_getIZ(1); + @$pb.TagNumber(2) + set localTime($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasLocalTime() => $_has(1); + @$pb.TagNumber(2) + void clearLocalTime() => clearField(2); + + @$pb.TagNumber(3) + $fixnum.Int64 get fakeUid => $_getI64(2); + @$pb.TagNumber(3) + set fakeUid($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasFakeUid() => $_has(2); + @$pb.TagNumber(3) + void clearFakeUid() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get isRefresh => $_getBF(3); + @$pb.TagNumber(4) + set isRefresh($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIsRefresh() => $_has(3); + @$pb.TagNumber(4) + void clearIsRefresh() => clearField(4); +} + +/// 关注推荐up主换一换-响应 +class DynRcmdUpExchangeReply extends $pb.GeneratedMessage { + factory DynRcmdUpExchangeReply({ + Unfollow? unfollow, + }) { + final $result = create(); + if (unfollow != null) { + $result.unfollow = unfollow; + } + return $result; + } + DynRcmdUpExchangeReply._() : super(); + factory DynRcmdUpExchangeReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynRcmdUpExchangeReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynRcmdUpExchangeReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'unfollow', + subBuilder: Unfollow.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') + DynRcmdUpExchangeReply clone() => + DynRcmdUpExchangeReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynRcmdUpExchangeReply copyWith( + void Function(DynRcmdUpExchangeReply) updates) => + super.copyWith((message) => updates(message as DynRcmdUpExchangeReply)) + as DynRcmdUpExchangeReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynRcmdUpExchangeReply create() => DynRcmdUpExchangeReply._(); + DynRcmdUpExchangeReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynRcmdUpExchangeReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynRcmdUpExchangeReply? _defaultInstance; + + /// 无关注推荐 + @$pb.TagNumber(1) + Unfollow get unfollow => $_getN(0); + @$pb.TagNumber(1) + set unfollow(Unfollow v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasUnfollow() => $_has(0); + @$pb.TagNumber(1) + void clearUnfollow() => clearField(1); + @$pb.TagNumber(1) + Unfollow ensureUnfollow() => $_ensure(0); +} + +/// 关注推荐up主换一换-请求 +class DynRcmdUpExchangeReq extends $pb.GeneratedMessage { + factory DynRcmdUpExchangeReq({ + $fixnum.Int64? uid, + $fixnum.Int64? dislikeTs, + $core.String? from, + }) { + final $result = create(); + if (uid != null) { + $result.uid = uid; + } + if (dislikeTs != null) { + $result.dislikeTs = dislikeTs; + } + if (from != null) { + $result.from = from; + } + return $result; + } + DynRcmdUpExchangeReq._() : super(); + factory DynRcmdUpExchangeReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynRcmdUpExchangeReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynRcmdUpExchangeReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'uid') + ..aInt64(2, _omitFieldNames ? '' : 'dislikeTs', protoName: 'dislikeTs') + ..aOS(3, _omitFieldNames ? '' : 'from') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynRcmdUpExchangeReq clone() => + DynRcmdUpExchangeReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynRcmdUpExchangeReq copyWith(void Function(DynRcmdUpExchangeReq) updates) => + super.copyWith((message) => updates(message as DynRcmdUpExchangeReq)) + as DynRcmdUpExchangeReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynRcmdUpExchangeReq create() => DynRcmdUpExchangeReq._(); + DynRcmdUpExchangeReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynRcmdUpExchangeReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynRcmdUpExchangeReq? _defaultInstance; + + /// 登录用户id + @$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); + + /// 上一次不感兴趣的ts,单位:秒;该字段透传给搜索 + @$pb.TagNumber(2) + $fixnum.Int64 get dislikeTs => $_getI64(1); + @$pb.TagNumber(2) + set dislikeTs($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDislikeTs() => $_has(1); + @$pb.TagNumber(2) + void clearDislikeTs() => clearField(2); + + /// 需要与服务端确认或参照客户端现有参数 + @$pb.TagNumber(3) + $core.String get from => $_getSZ(2); + @$pb.TagNumber(3) + set from($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasFrom() => $_has(2); + @$pb.TagNumber(3) + void clearFrom() => clearField(3); +} + +/// 推荐页返回参数 +class DynRegionRcmd extends $pb.GeneratedMessage { + factory DynRegionRcmd({ + $core.Iterable? items, + RcmdOption? opts, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (opts != null) { + $result.opts = opts; + } + return $result; + } + DynRegionRcmd._() : super(); + factory DynRegionRcmd.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynRegionRcmd.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynRegionRcmd', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: DynRegionRcmdItem.create) + ..aOM(2, _omitFieldNames ? '' : 'opts', + subBuilder: RcmdOption.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') + DynRegionRcmd clone() => DynRegionRcmd()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynRegionRcmd copyWith(void Function(DynRegionRcmd) updates) => + super.copyWith((message) => updates(message as DynRegionRcmd)) + as DynRegionRcmd; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynRegionRcmd create() => DynRegionRcmd._(); + DynRegionRcmd createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynRegionRcmd getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynRegionRcmd? _defaultInstance; + + /// 分区推荐项目列表 + @$pb.TagNumber(1) + $core.List get items => $_getList(0); + + /// 分区聚类推荐选项 + @$pb.TagNumber(2) + RcmdOption get opts => $_getN(1); + @$pb.TagNumber(2) + set opts(RcmdOption v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasOpts() => $_has(1); + @$pb.TagNumber(2) + void clearOpts() => clearField(2); + @$pb.TagNumber(2) + RcmdOption ensureOpts() => $_ensure(1); +} + +/// 分区推荐项目 +class DynRegionRcmdItem extends $pb.GeneratedMessage { + factory DynRegionRcmdItem({ + $fixnum.Int64? rid, + $core.String? title, + $core.Iterable? items, + }) { + final $result = create(); + if (rid != null) { + $result.rid = rid; + } + if (title != null) { + $result.title = title; + } + if (items != null) { + $result.items.addAll(items); + } + return $result; + } + DynRegionRcmdItem._() : super(); + factory DynRegionRcmdItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynRegionRcmdItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynRegionRcmdItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'rid') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..pc(3, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: ModuleRcmd.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') + DynRegionRcmdItem clone() => DynRegionRcmdItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynRegionRcmdItem copyWith(void Function(DynRegionRcmdItem) updates) => + super.copyWith((message) => updates(message as DynRegionRcmdItem)) + as DynRegionRcmdItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynRegionRcmdItem create() => DynRegionRcmdItem._(); + DynRegionRcmdItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynRegionRcmdItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynRegionRcmdItem? _defaultInstance; + + /// 分区id + @$pb.TagNumber(1) + $fixnum.Int64 get rid => $_getI64(0); + @$pb.TagNumber(1) + set rid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasRid() => $_has(0); + @$pb.TagNumber(1) + void clearRid() => 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.List get items => $_getList(2); +} + +class DynScreenTab extends $pb.GeneratedMessage { + factory DynScreenTab({ + $core.String? title, + $core.String? name, + $core.bool? defaultTab, + $core.bool? strategyShowOnEntrance, + $core.bool? strategyShowOnRefresh, + $core.bool? strategyShowOnPullUp, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (name != null) { + $result.name = name; + } + if (defaultTab != null) { + $result.defaultTab = defaultTab; + } + if (strategyShowOnEntrance != null) { + $result.strategyShowOnEntrance = strategyShowOnEntrance; + } + if (strategyShowOnRefresh != null) { + $result.strategyShowOnRefresh = strategyShowOnRefresh; + } + if (strategyShowOnPullUp != null) { + $result.strategyShowOnPullUp = strategyShowOnPullUp; + } + return $result; + } + DynScreenTab._() : super(); + factory DynScreenTab.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynScreenTab.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynScreenTab', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aOB(3, _omitFieldNames ? '' : 'defaultTab') + ..aOB(4, _omitFieldNames ? '' : 'strategyShowOnEntrance') + ..aOB(5, _omitFieldNames ? '' : 'strategyShowOnRefresh') + ..aOB(6, _omitFieldNames ? '' : 'strategyShowOnPullUp') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynScreenTab clone() => DynScreenTab()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynScreenTab copyWith(void Function(DynScreenTab) updates) => + super.copyWith((message) => updates(message as DynScreenTab)) + as DynScreenTab; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynScreenTab create() => DynScreenTab._(); + DynScreenTab createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynScreenTab getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynScreenTab? _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 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) + $core.bool get defaultTab => $_getBF(2); + @$pb.TagNumber(3) + set defaultTab($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDefaultTab() => $_has(2); + @$pb.TagNumber(3) + void clearDefaultTab() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get strategyShowOnEntrance => $_getBF(3); + @$pb.TagNumber(4) + set strategyShowOnEntrance($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasStrategyShowOnEntrance() => $_has(3); + @$pb.TagNumber(4) + void clearStrategyShowOnEntrance() => clearField(4); + + @$pb.TagNumber(5) + $core.bool get strategyShowOnRefresh => $_getBF(4); + @$pb.TagNumber(5) + set strategyShowOnRefresh($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasStrategyShowOnRefresh() => $_has(4); + @$pb.TagNumber(5) + void clearStrategyShowOnRefresh() => clearField(5); + + @$pb.TagNumber(6) + $core.bool get strategyShowOnPullUp => $_getBF(5); + @$pb.TagNumber(6) + set strategyShowOnPullUp($core.bool v) { + $_setBool(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasStrategyShowOnPullUp() => $_has(5); + @$pb.TagNumber(6) + void clearStrategyShowOnPullUp() => clearField(6); +} + +class DynSearchReply extends $pb.GeneratedMessage { + factory DynSearchReply({ + SearchChannel? channelInfo, + SearchTopic? searchTopic, + SearchInfo? searchInfo, + }) { + final $result = create(); + if (channelInfo != null) { + $result.channelInfo = channelInfo; + } + if (searchTopic != null) { + $result.searchTopic = searchTopic; + } + if (searchInfo != null) { + $result.searchInfo = searchInfo; + } + return $result; + } + DynSearchReply._() : super(); + factory DynSearchReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynSearchReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynSearchReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'channelInfo', + subBuilder: SearchChannel.create) + ..aOM(2, _omitFieldNames ? '' : 'searchTopic', + subBuilder: SearchTopic.create) + ..aOM(3, _omitFieldNames ? '' : 'searchInfo', + subBuilder: SearchInfo.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') + DynSearchReply clone() => DynSearchReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynSearchReply copyWith(void Function(DynSearchReply) updates) => + super.copyWith((message) => updates(message as DynSearchReply)) + as DynSearchReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynSearchReply create() => DynSearchReply._(); + DynSearchReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynSearchReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynSearchReply? _defaultInstance; + + @$pb.TagNumber(1) + SearchChannel get channelInfo => $_getN(0); + @$pb.TagNumber(1) + set channelInfo(SearchChannel v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasChannelInfo() => $_has(0); + @$pb.TagNumber(1) + void clearChannelInfo() => clearField(1); + @$pb.TagNumber(1) + SearchChannel ensureChannelInfo() => $_ensure(0); + + @$pb.TagNumber(2) + SearchTopic get searchTopic => $_getN(1); + @$pb.TagNumber(2) + set searchTopic(SearchTopic v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasSearchTopic() => $_has(1); + @$pb.TagNumber(2) + void clearSearchTopic() => clearField(2); + @$pb.TagNumber(2) + SearchTopic ensureSearchTopic() => $_ensure(1); + + @$pb.TagNumber(3) + SearchInfo get searchInfo => $_getN(2); + @$pb.TagNumber(3) + set searchInfo(SearchInfo v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasSearchInfo() => $_has(2); + @$pb.TagNumber(3) + void clearSearchInfo() => clearField(3); + @$pb.TagNumber(3) + SearchInfo ensureSearchInfo() => $_ensure(2); +} + +class DynSearchReq extends $pb.GeneratedMessage { + factory DynSearchReq({ + $core.String? keyword, + $core.int? page, + $core.int? localTime, + $1.PlayerArgs? playerArgs, + }) { + final $result = create(); + if (keyword != null) { + $result.keyword = keyword; + } + if (page != null) { + $result.page = page; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + return $result; + } + DynSearchReq._() : super(); + factory DynSearchReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynSearchReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynSearchReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'keyword') + ..a<$core.int>(2, _omitFieldNames ? '' : 'page', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOM<$1.PlayerArgs>(4, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.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') + DynSearchReq clone() => DynSearchReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynSearchReq copyWith(void Function(DynSearchReq) updates) => + super.copyWith((message) => updates(message as DynSearchReq)) + as DynSearchReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynSearchReq create() => DynSearchReq._(); + DynSearchReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynSearchReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynSearchReq? _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) + $core.int get page => $_getIZ(1); + @$pb.TagNumber(2) + set page($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasPage() => $_has(1); + @$pb.TagNumber(2) + void clearPage() => clearField(2); + + @$pb.TagNumber(3) + $core.int get localTime => $_getIZ(2); + @$pb.TagNumber(3) + set localTime($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasLocalTime() => $_has(2); + @$pb.TagNumber(3) + void clearLocalTime() => clearField(3); + + @$pb.TagNumber(4) + $1.PlayerArgs get playerArgs => $_getN(3); + @$pb.TagNumber(4) + set playerArgs($1.PlayerArgs v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasPlayerArgs() => $_has(3); + @$pb.TagNumber(4) + void clearPlayerArgs() => clearField(4); + @$pb.TagNumber(4) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(3); +} + +class DynServerDetailsReply extends $pb.GeneratedMessage { + factory DynServerDetailsReply({ + $core.Map<$fixnum.Int64, DynamicItem>? items, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + return $result; + } + DynServerDetailsReply._() : super(); + factory DynServerDetailsReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynServerDetailsReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynServerDetailsReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..m<$fixnum.Int64, DynamicItem>(1, _omitFieldNames ? '' : 'items', + entryClassName: 'DynServerDetailsReply.ItemsEntry', + keyFieldType: $pb.PbFieldType.O6, + valueFieldType: $pb.PbFieldType.OM, + valueCreator: DynamicItem.create, + valueDefaultOrMaker: DynamicItem.getDefault, + packageName: const $pb.PackageName('bilibili.app.dynamic.v2')) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynServerDetailsReply clone() => + DynServerDetailsReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynServerDetailsReply copyWith( + void Function(DynServerDetailsReply) updates) => + super.copyWith((message) => updates(message as DynServerDetailsReply)) + as DynServerDetailsReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynServerDetailsReply create() => DynServerDetailsReply._(); + DynServerDetailsReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynServerDetailsReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynServerDetailsReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.Map<$fixnum.Int64, DynamicItem> get items => $_getMap(0); +} + +class DynServerDetailsReq extends $pb.GeneratedMessage { + factory DynServerDetailsReq({ + $core.int? localTime, + $1.PlayerArgs? playerArgs, + $core.String? mobiApp, + $core.String? device, + $core.String? buvid, + $fixnum.Int64? build, + $fixnum.Int64? mid, + $core.String? platform, + $core.bool? isMaster, + $core.Iterable<$fixnum.Int64>? topDynamicIds, + }) { + final $result = create(); + if (localTime != null) { + $result.localTime = localTime; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (mobiApp != null) { + $result.mobiApp = mobiApp; + } + if (device != null) { + $result.device = device; + } + if (buvid != null) { + $result.buvid = buvid; + } + if (build != null) { + $result.build = build; + } + if (mid != null) { + $result.mid = mid; + } + if (platform != null) { + $result.platform = platform; + } + if (isMaster != null) { + $result.isMaster = isMaster; + } + if (topDynamicIds != null) { + $result.topDynamicIds.addAll(topDynamicIds); + } + return $result; + } + DynServerDetailsReq._() : super(); + factory DynServerDetailsReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynServerDetailsReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynServerDetailsReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(2, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOM<$1.PlayerArgs>(3, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..aOS(4, _omitFieldNames ? '' : 'mobiApp') + ..aOS(5, _omitFieldNames ? '' : 'device') + ..aOS(6, _omitFieldNames ? '' : 'buvid') + ..aInt64(7, _omitFieldNames ? '' : 'build') + ..aInt64(8, _omitFieldNames ? '' : 'mid') + ..aOS(9, _omitFieldNames ? '' : 'platform') + ..aOB(10, _omitFieldNames ? '' : 'isMaster') + ..p<$fixnum.Int64>( + 11, _omitFieldNames ? '' : 'topDynamicIds', $pb.PbFieldType.K6) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynServerDetailsReq clone() => DynServerDetailsReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynServerDetailsReq copyWith(void Function(DynServerDetailsReq) updates) => + super.copyWith((message) => updates(message as DynServerDetailsReq)) + as DynServerDetailsReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynServerDetailsReq create() => DynServerDetailsReq._(); + DynServerDetailsReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynServerDetailsReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynServerDetailsReq? _defaultInstance; + + @$pb.TagNumber(2) + $core.int get localTime => $_getIZ(0); + @$pb.TagNumber(2) + set localTime($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(2) + $core.bool hasLocalTime() => $_has(0); + @$pb.TagNumber(2) + void clearLocalTime() => clearField(2); + + @$pb.TagNumber(3) + $1.PlayerArgs get playerArgs => $_getN(1); + @$pb.TagNumber(3) + set playerArgs($1.PlayerArgs v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasPlayerArgs() => $_has(1); + @$pb.TagNumber(3) + void clearPlayerArgs() => clearField(3); + @$pb.TagNumber(3) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(1); + + @$pb.TagNumber(4) + $core.String get mobiApp => $_getSZ(2); + @$pb.TagNumber(4) + set mobiApp($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(4) + $core.bool hasMobiApp() => $_has(2); + @$pb.TagNumber(4) + void clearMobiApp() => clearField(4); + + @$pb.TagNumber(5) + $core.String get device => $_getSZ(3); + @$pb.TagNumber(5) + set device($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(5) + $core.bool hasDevice() => $_has(3); + @$pb.TagNumber(5) + void clearDevice() => clearField(5); + + @$pb.TagNumber(6) + $core.String get buvid => $_getSZ(4); + @$pb.TagNumber(6) + set buvid($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(6) + $core.bool hasBuvid() => $_has(4); + @$pb.TagNumber(6) + void clearBuvid() => clearField(6); + + @$pb.TagNumber(7) + $fixnum.Int64 get build => $_getI64(5); + @$pb.TagNumber(7) + set build($fixnum.Int64 v) { + $_setInt64(5, v); + } + + @$pb.TagNumber(7) + $core.bool hasBuild() => $_has(5); + @$pb.TagNumber(7) + void clearBuild() => clearField(7); + + @$pb.TagNumber(8) + $fixnum.Int64 get mid => $_getI64(6); + @$pb.TagNumber(8) + set mid($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(8) + $core.bool hasMid() => $_has(6); + @$pb.TagNumber(8) + void clearMid() => clearField(8); + + @$pb.TagNumber(9) + $core.String get platform => $_getSZ(7); + @$pb.TagNumber(9) + set platform($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(9) + $core.bool hasPlatform() => $_has(7); + @$pb.TagNumber(9) + void clearPlatform() => clearField(9); + + @$pb.TagNumber(10) + $core.bool get isMaster => $_getBF(8); + @$pb.TagNumber(10) + set isMaster($core.bool v) { + $_setBool(8, v); + } + + @$pb.TagNumber(10) + $core.bool hasIsMaster() => $_has(8); + @$pb.TagNumber(10) + void clearIsMaster() => clearField(10); + + @$pb.TagNumber(11) + $core.List<$fixnum.Int64> get topDynamicIds => $_getList(9); +} + +/// 空间页动态-请求 +class DynSpaceReq extends $pb.GeneratedMessage { + factory DynSpaceReq({ + $fixnum.Int64? hostUid, + $core.String? historyOffset, + $1.PlayerArgs? playerArgs, + $core.int? localTime, + $fixnum.Int64? page, + $core.String? from, + }) { + final $result = create(); + if (hostUid != null) { + $result.hostUid = hostUid; + } + if (historyOffset != null) { + $result.historyOffset = historyOffset; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (page != null) { + $result.page = page; + } + if (from != null) { + $result.from = from; + } + return $result; + } + DynSpaceReq._() : super(); + factory DynSpaceReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynSpaceReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynSpaceReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'hostUid') + ..aOS(2, _omitFieldNames ? '' : 'historyOffset') + ..aOM<$1.PlayerArgs>(3, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..a<$core.int>(4, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aInt64(5, _omitFieldNames ? '' : 'page') + ..aOS(6, _omitFieldNames ? '' : 'from') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynSpaceReq clone() => DynSpaceReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynSpaceReq copyWith(void Function(DynSpaceReq) updates) => + super.copyWith((message) => updates(message as DynSpaceReq)) + as DynSpaceReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynSpaceReq create() => DynSpaceReq._(); + DynSpaceReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynSpaceReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynSpaceReq? _defaultInstance; + + /// 被访问者,也就是空间主人的uid + @$pb.TagNumber(1) + $fixnum.Int64 get hostUid => $_getI64(0); + @$pb.TagNumber(1) + set hostUid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHostUid() => $_has(0); + @$pb.TagNumber(1) + void clearHostUid() => clearField(1); + + /// 动态偏移history_offset + @$pb.TagNumber(2) + $core.String get historyOffset => $_getSZ(1); + @$pb.TagNumber(2) + set historyOffset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasHistoryOffset() => $_has(1); + @$pb.TagNumber(2) + void clearHistoryOffset() => clearField(2); + + /// 秒开参数 + @$pb.TagNumber(3) + $1.PlayerArgs get playerArgs => $_getN(2); + @$pb.TagNumber(3) + set playerArgs($1.PlayerArgs v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasPlayerArgs() => $_has(2); + @$pb.TagNumber(3) + void clearPlayerArgs() => clearField(3); + @$pb.TagNumber(3) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(2); + + /// 客户端时区 兼容UTC-14和Etc/GMT+12,时区区间[-12,14] 东八区为8 + @$pb.TagNumber(4) + $core.int get localTime => $_getIZ(3); + @$pb.TagNumber(4) + set localTime($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasLocalTime() => $_has(3); + @$pb.TagNumber(4) + void clearLocalTime() => clearField(4); + + /// 向下翻页数,默认从1开始 + @$pb.TagNumber(5) + $fixnum.Int64 get page => $_getI64(4); + @$pb.TagNumber(5) + set page($fixnum.Int64 v) { + $_setInt64(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasPage() => $_has(4); + @$pb.TagNumber(5) + void clearPage() => clearField(5); + + /// 来源,空间页:space,直播tab:live + @$pb.TagNumber(6) + $core.String get from => $_getSZ(5); + @$pb.TagNumber(6) + set from($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasFrom() => $_has(5); + @$pb.TagNumber(6) + void clearFrom() => clearField(6); +} + +/// 空间页动态-响应 +class DynSpaceRsp extends $pb.GeneratedMessage { + factory DynSpaceRsp({ + $core.Iterable? list, + $core.String? historyOffset, + $core.bool? hasMore, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (historyOffset != null) { + $result.historyOffset = historyOffset; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + return $result; + } + DynSpaceRsp._() : super(); + factory DynSpaceRsp.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynSpaceRsp.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynSpaceRsp', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOS(2, _omitFieldNames ? '' : 'historyOffset') + ..aOB(3, _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') + DynSpaceRsp clone() => DynSpaceRsp()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynSpaceRsp copyWith(void Function(DynSpaceRsp) updates) => + super.copyWith((message) => updates(message as DynSpaceRsp)) + as DynSpaceRsp; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynSpaceRsp create() => DynSpaceRsp._(); + DynSpaceRsp createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynSpaceRsp getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynSpaceRsp? _defaultInstance; + + /// 卡片列表 + @$pb.TagNumber(1) + $core.List get list => $_getList(0); + + /// 历史偏移 + @$pb.TagNumber(2) + $core.String get historyOffset => $_getSZ(1); + @$pb.TagNumber(2) + set historyOffset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasHistoryOffset() => $_has(1); + @$pb.TagNumber(2) + void clearHistoryOffset() => clearField(2); + + /// 是否还有更多数据 + @$pb.TagNumber(3) + $core.bool get hasMore => $_getBF(2); + @$pb.TagNumber(3) + set hasMore($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHasMore() => $_has(2); + @$pb.TagNumber(3) + void clearHasMore() => clearField(3); +} + +class DynSpaceSearchDetailsReply extends $pb.GeneratedMessage { + factory DynSpaceSearchDetailsReply({ + $core.Map<$fixnum.Int64, DynamicItem>? items, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + return $result; + } + DynSpaceSearchDetailsReply._() : super(); + factory DynSpaceSearchDetailsReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynSpaceSearchDetailsReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynSpaceSearchDetailsReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..m<$fixnum.Int64, DynamicItem>(1, _omitFieldNames ? '' : 'items', + entryClassName: 'DynSpaceSearchDetailsReply.ItemsEntry', + keyFieldType: $pb.PbFieldType.O6, + valueFieldType: $pb.PbFieldType.OM, + valueCreator: DynamicItem.create, + valueDefaultOrMaker: DynamicItem.getDefault, + packageName: const $pb.PackageName('bilibili.app.dynamic.v2')) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynSpaceSearchDetailsReply clone() => + DynSpaceSearchDetailsReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynSpaceSearchDetailsReply copyWith( + void Function(DynSpaceSearchDetailsReply) updates) => + super.copyWith( + (message) => updates(message as DynSpaceSearchDetailsReply)) + as DynSpaceSearchDetailsReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynSpaceSearchDetailsReply create() => DynSpaceSearchDetailsReply._(); + DynSpaceSearchDetailsReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynSpaceSearchDetailsReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynSpaceSearchDetailsReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.Map<$fixnum.Int64, DynamicItem> get items => $_getMap(0); +} + +class DynSpaceSearchDetailsReq extends $pb.GeneratedMessage { + factory DynSpaceSearchDetailsReq({ + $core.Iterable<$core.String>? searchWords, + $core.int? localTime, + $1.PlayerArgs? playerArgs, + $core.String? mobiApp, + $core.String? device, + $core.String? buvid, + $fixnum.Int64? build, + $fixnum.Int64? mid, + $core.String? platform, + $core.String? ip, + $core.int? netType, + $core.int? tfType, + }) { + final $result = create(); + if (searchWords != null) { + $result.searchWords.addAll(searchWords); + } + if (localTime != null) { + $result.localTime = localTime; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (mobiApp != null) { + $result.mobiApp = mobiApp; + } + if (device != null) { + $result.device = device; + } + if (buvid != null) { + $result.buvid = buvid; + } + if (build != null) { + $result.build = build; + } + if (mid != null) { + $result.mid = mid; + } + if (platform != null) { + $result.platform = platform; + } + if (ip != null) { + $result.ip = ip; + } + if (netType != null) { + $result.netType = netType; + } + if (tfType != null) { + $result.tfType = tfType; + } + return $result; + } + DynSpaceSearchDetailsReq._() : super(); + factory DynSpaceSearchDetailsReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynSpaceSearchDetailsReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynSpaceSearchDetailsReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pPS(2, _omitFieldNames ? '' : 'searchWords') + ..a<$core.int>(3, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOM<$1.PlayerArgs>(4, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..aOS(5, _omitFieldNames ? '' : 'mobiApp') + ..aOS(6, _omitFieldNames ? '' : 'device') + ..aOS(7, _omitFieldNames ? '' : 'buvid') + ..aInt64(8, _omitFieldNames ? '' : 'build') + ..aInt64(9, _omitFieldNames ? '' : 'mid') + ..aOS(10, _omitFieldNames ? '' : 'platform') + ..aOS(11, _omitFieldNames ? '' : 'ip') + ..a<$core.int>(12, _omitFieldNames ? '' : 'netType', $pb.PbFieldType.O3) + ..a<$core.int>(13, _omitFieldNames ? '' : 'tfType', $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') + DynSpaceSearchDetailsReq clone() => + DynSpaceSearchDetailsReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynSpaceSearchDetailsReq copyWith( + void Function(DynSpaceSearchDetailsReq) updates) => + super.copyWith((message) => updates(message as DynSpaceSearchDetailsReq)) + as DynSpaceSearchDetailsReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynSpaceSearchDetailsReq create() => DynSpaceSearchDetailsReq._(); + DynSpaceSearchDetailsReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynSpaceSearchDetailsReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynSpaceSearchDetailsReq? _defaultInstance; + + @$pb.TagNumber(2) + $core.List<$core.String> get searchWords => $_getList(0); + + @$pb.TagNumber(3) + $core.int get localTime => $_getIZ(1); + @$pb.TagNumber(3) + set localTime($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(3) + $core.bool hasLocalTime() => $_has(1); + @$pb.TagNumber(3) + void clearLocalTime() => clearField(3); + + @$pb.TagNumber(4) + $1.PlayerArgs get playerArgs => $_getN(2); + @$pb.TagNumber(4) + set playerArgs($1.PlayerArgs v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasPlayerArgs() => $_has(2); + @$pb.TagNumber(4) + void clearPlayerArgs() => clearField(4); + @$pb.TagNumber(4) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(2); + + @$pb.TagNumber(5) + $core.String get mobiApp => $_getSZ(3); + @$pb.TagNumber(5) + set mobiApp($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(5) + $core.bool hasMobiApp() => $_has(3); + @$pb.TagNumber(5) + void clearMobiApp() => clearField(5); + + @$pb.TagNumber(6) + $core.String get device => $_getSZ(4); + @$pb.TagNumber(6) + set device($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(6) + $core.bool hasDevice() => $_has(4); + @$pb.TagNumber(6) + void clearDevice() => clearField(6); + + @$pb.TagNumber(7) + $core.String get buvid => $_getSZ(5); + @$pb.TagNumber(7) + set buvid($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(7) + $core.bool hasBuvid() => $_has(5); + @$pb.TagNumber(7) + void clearBuvid() => clearField(7); + + @$pb.TagNumber(8) + $fixnum.Int64 get build => $_getI64(6); + @$pb.TagNumber(8) + set build($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(8) + $core.bool hasBuild() => $_has(6); + @$pb.TagNumber(8) + void clearBuild() => clearField(8); + + @$pb.TagNumber(9) + $fixnum.Int64 get mid => $_getI64(7); + @$pb.TagNumber(9) + set mid($fixnum.Int64 v) { + $_setInt64(7, v); + } + + @$pb.TagNumber(9) + $core.bool hasMid() => $_has(7); + @$pb.TagNumber(9) + void clearMid() => clearField(9); + + @$pb.TagNumber(10) + $core.String get platform => $_getSZ(8); + @$pb.TagNumber(10) + set platform($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(10) + $core.bool hasPlatform() => $_has(8); + @$pb.TagNumber(10) + void clearPlatform() => clearField(10); + + @$pb.TagNumber(11) + $core.String get ip => $_getSZ(9); + @$pb.TagNumber(11) + set ip($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(11) + $core.bool hasIp() => $_has(9); + @$pb.TagNumber(11) + void clearIp() => clearField(11); + + @$pb.TagNumber(12) + $core.int get netType => $_getIZ(10); + @$pb.TagNumber(12) + set netType($core.int v) { + $_setSignedInt32(10, v); + } + + @$pb.TagNumber(12) + $core.bool hasNetType() => $_has(10); + @$pb.TagNumber(12) + void clearNetType() => clearField(12); + + @$pb.TagNumber(13) + $core.int get tfType => $_getIZ(11); + @$pb.TagNumber(13) + set tfType($core.int v) { + $_setSignedInt32(11, v); + } + + @$pb.TagNumber(13) + $core.bool hasTfType() => $_has(11); + @$pb.TagNumber(13) + void clearTfType() => clearField(13); +} + +class DynTab extends $pb.GeneratedMessage { + factory DynTab({ + $core.String? title, + $core.String? uri, + $core.String? bubble, + $core.int? redPoint, + $fixnum.Int64? cityId, + $core.int? isPopup, + Popup? popup, + $core.bool? defaultTab, + $core.String? subTitle, + $core.String? anchor, + $core.String? internalTest, + $core.int? type, + DynTab? backUp, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (uri != null) { + $result.uri = uri; + } + if (bubble != null) { + $result.bubble = bubble; + } + if (redPoint != null) { + $result.redPoint = redPoint; + } + if (cityId != null) { + $result.cityId = cityId; + } + if (isPopup != null) { + $result.isPopup = isPopup; + } + if (popup != null) { + $result.popup = popup; + } + if (defaultTab != null) { + $result.defaultTab = defaultTab; + } + if (subTitle != null) { + $result.subTitle = subTitle; + } + if (anchor != null) { + $result.anchor = anchor; + } + if (internalTest != null) { + $result.internalTest = internalTest; + } + if (type != null) { + $result.type = type; + } + if (backUp != null) { + $result.backUp = backUp; + } + return $result; + } + DynTab._() : super(); + factory DynTab.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynTab.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynTab', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'bubble') + ..a<$core.int>(4, _omitFieldNames ? '' : 'redPoint', $pb.PbFieldType.O3) + ..aInt64(5, _omitFieldNames ? '' : 'cityId') + ..a<$core.int>(6, _omitFieldNames ? '' : 'isPopup', $pb.PbFieldType.O3) + ..aOM(7, _omitFieldNames ? '' : 'popup', subBuilder: Popup.create) + ..aOB(8, _omitFieldNames ? '' : 'defaultTab') + ..aOS(9, _omitFieldNames ? '' : 'subTitle') + ..aOS(10, _omitFieldNames ? '' : 'anchor') + ..aOS(11, _omitFieldNames ? '' : 'internalTest') + ..a<$core.int>(12, _omitFieldNames ? '' : 'type', $pb.PbFieldType.O3) + ..aOM(13, _omitFieldNames ? '' : 'backUp', + subBuilder: DynTab.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') + DynTab clone() => DynTab()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynTab copyWith(void Function(DynTab) updates) => + super.copyWith((message) => updates(message as DynTab)) as DynTab; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynTab create() => DynTab._(); + DynTab createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynTab getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DynTab? _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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + @$pb.TagNumber(3) + $core.String get bubble => $_getSZ(2); + @$pb.TagNumber(3) + set bubble($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasBubble() => $_has(2); + @$pb.TagNumber(3) + void clearBubble() => clearField(3); + + @$pb.TagNumber(4) + $core.int get redPoint => $_getIZ(3); + @$pb.TagNumber(4) + set redPoint($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasRedPoint() => $_has(3); + @$pb.TagNumber(4) + void clearRedPoint() => clearField(4); + + @$pb.TagNumber(5) + $fixnum.Int64 get cityId => $_getI64(4); + @$pb.TagNumber(5) + set cityId($fixnum.Int64 v) { + $_setInt64(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCityId() => $_has(4); + @$pb.TagNumber(5) + void clearCityId() => clearField(5); + + @$pb.TagNumber(6) + $core.int get isPopup => $_getIZ(5); + @$pb.TagNumber(6) + set isPopup($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasIsPopup() => $_has(5); + @$pb.TagNumber(6) + void clearIsPopup() => clearField(6); + + @$pb.TagNumber(7) + Popup get popup => $_getN(6); + @$pb.TagNumber(7) + set popup(Popup v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasPopup() => $_has(6); + @$pb.TagNumber(7) + void clearPopup() => clearField(7); + @$pb.TagNumber(7) + Popup ensurePopup() => $_ensure(6); + + @$pb.TagNumber(8) + $core.bool get defaultTab => $_getBF(7); + @$pb.TagNumber(8) + set defaultTab($core.bool v) { + $_setBool(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasDefaultTab() => $_has(7); + @$pb.TagNumber(8) + void clearDefaultTab() => clearField(8); + + @$pb.TagNumber(9) + $core.String get subTitle => $_getSZ(8); + @$pb.TagNumber(9) + set subTitle($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasSubTitle() => $_has(8); + @$pb.TagNumber(9) + void clearSubTitle() => clearField(9); + + @$pb.TagNumber(10) + $core.String get anchor => $_getSZ(9); + @$pb.TagNumber(10) + set anchor($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasAnchor() => $_has(9); + @$pb.TagNumber(10) + void clearAnchor() => clearField(10); + + @$pb.TagNumber(11) + $core.String get internalTest => $_getSZ(10); + @$pb.TagNumber(11) + set internalTest($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasInternalTest() => $_has(10); + @$pb.TagNumber(11) + void clearInternalTest() => clearField(11); + + @$pb.TagNumber(12) + $core.int get type => $_getIZ(11); + @$pb.TagNumber(12) + set type($core.int v) { + $_setSignedInt32(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasType() => $_has(11); + @$pb.TagNumber(12) + void clearType() => clearField(12); + + @$pb.TagNumber(13) + DynTab get backUp => $_getN(12); + @$pb.TagNumber(13) + set backUp(DynTab v) { + setField(13, v); + } + + @$pb.TagNumber(13) + $core.bool hasBackUp() => $_has(12); + @$pb.TagNumber(13) + void clearBackUp() => clearField(13); + @$pb.TagNumber(13) + DynTab ensureBackUp() => $_ensure(12); +} + +class DynTabReply extends $pb.GeneratedMessage { + factory DynTabReply({ + $core.Iterable? dynTab, + $core.Iterable? screenTab, + }) { + final $result = create(); + if (dynTab != null) { + $result.dynTab.addAll(dynTab); + } + if (screenTab != null) { + $result.screenTab.addAll(screenTab); + } + return $result; + } + DynTabReply._() : super(); + factory DynTabReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynTabReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynTabReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'dynTab', $pb.PbFieldType.PM, + subBuilder: DynTab.create) + ..pc( + 2, _omitFieldNames ? '' : 'screenTab', $pb.PbFieldType.PM, + subBuilder: DynScreenTab.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') + DynTabReply clone() => DynTabReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynTabReply copyWith(void Function(DynTabReply) updates) => + super.copyWith((message) => updates(message as DynTabReply)) + as DynTabReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynTabReply create() => DynTabReply._(); + DynTabReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynTabReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynTabReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get dynTab => $_getList(0); + + @$pb.TagNumber(2) + $core.List get screenTab => $_getList(1); +} + +class DynTabReq extends $pb.GeneratedMessage { + factory DynTabReq({ + $core.int? teenagersMode, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (teenagersMode != null) { + $result.teenagersMode = teenagersMode; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + DynTabReq._() : super(); + factory DynTabReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynTabReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynTabReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>( + 1, _omitFieldNames ? '' : 'teenagersMode', $pb.PbFieldType.O3) + ..e( + 2, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + DynTabReq clone() => DynTabReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynTabReq copyWith(void Function(DynTabReq) updates) => + super.copyWith((message) => updates(message as DynTabReq)) as DynTabReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynTabReq create() => DynTabReq._(); + DynTabReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynTabReq getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DynTabReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get teenagersMode => $_getIZ(0); + @$pb.TagNumber(1) + set teenagersMode($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasTeenagersMode() => $_has(0); + @$pb.TagNumber(1) + void clearTeenagersMode() => clearField(1); + + @$pb.TagNumber(2) + CampusReqFromType get fromType => $_getN(1); + @$pb.TagNumber(2) + set fromType(CampusReqFromType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasFromType() => $_has(1); + @$pb.TagNumber(2) + void clearFromType() => clearField(2); +} + +/// 动态点赞-请求 +class DynThumbReq extends $pb.GeneratedMessage { + factory DynThumbReq({ + $fixnum.Int64? uid, + $core.String? dynId, + $fixnum.Int64? dynType, + $core.String? rid, + ThumbType? type, + }) { + final $result = create(); + if (uid != null) { + $result.uid = uid; + } + if (dynId != null) { + $result.dynId = dynId; + } + if (dynType != null) { + $result.dynType = dynType; + } + if (rid != null) { + $result.rid = rid; + } + if (type != null) { + $result.type = type; + } + return $result; + } + DynThumbReq._() : super(); + factory DynThumbReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynThumbReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynThumbReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'uid') + ..aOS(2, _omitFieldNames ? '' : 'dynId') + ..aInt64(3, _omitFieldNames ? '' : 'dynType') + ..aOS(4, _omitFieldNames ? '' : 'rid') + ..e(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: ThumbType.cancel, + valueOf: ThumbType.valueOf, + enumValues: ThumbType.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') + DynThumbReq clone() => DynThumbReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynThumbReq copyWith(void Function(DynThumbReq) updates) => + super.copyWith((message) => updates(message as DynThumbReq)) + as DynThumbReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynThumbReq create() => DynThumbReq._(); + DynThumbReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynThumbReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynThumbReq? _defaultInstance; + + /// 用户uid + @$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); + + /// 动态id + @$pb.TagNumber(2) + $core.String get dynId => $_getSZ(1); + @$pb.TagNumber(2) + set dynId($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDynId() => $_has(1); + @$pb.TagNumber(2) + void clearDynId() => clearField(2); + + /// 动态类型(透传extend中的dyn_type) + @$pb.TagNumber(3) + $fixnum.Int64 get dynType => $_getI64(2); + @$pb.TagNumber(3) + set dynType($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDynType() => $_has(2); + @$pb.TagNumber(3) + void clearDynType() => clearField(3); + + /// 业务方资源id + @$pb.TagNumber(4) + $core.String get rid => $_getSZ(3); + @$pb.TagNumber(4) + set rid($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasRid() => $_has(3); + @$pb.TagNumber(4) + void clearRid() => clearField(4); + + /// 点赞类型 + @$pb.TagNumber(5) + ThumbType get type => $_getN(4); + @$pb.TagNumber(5) + set type(ThumbType v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasType() => $_has(4); + @$pb.TagNumber(5) + void clearType() => clearField(5); +} + +/// 最近访问-个人feed流列表-响应 +class DynVideoPersonalReply extends $pb.GeneratedMessage { + factory DynVideoPersonalReply({ + $core.Iterable? list, + $core.String? offset, + $core.bool? hasMore, + $core.String? readOffset, + Relation? relation, + TopAdditionUP? additionUp, + $core.String? title, + $core.String? titleSub, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (offset != null) { + $result.offset = offset; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (readOffset != null) { + $result.readOffset = readOffset; + } + if (relation != null) { + $result.relation = relation; + } + if (additionUp != null) { + $result.additionUp = additionUp; + } + if (title != null) { + $result.title = title; + } + if (titleSub != null) { + $result.titleSub = titleSub; + } + return $result; + } + DynVideoPersonalReply._() : super(); + factory DynVideoPersonalReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynVideoPersonalReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynVideoPersonalReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..aOB(3, _omitFieldNames ? '' : 'hasMore') + ..aOS(4, _omitFieldNames ? '' : 'readOffset') + ..aOM(5, _omitFieldNames ? '' : 'relation', + subBuilder: Relation.create) + ..aOM(6, _omitFieldNames ? '' : 'additionUp', + subBuilder: TopAdditionUP.create) + ..aOS(7, _omitFieldNames ? '' : 'title') + ..aOS(8, _omitFieldNames ? '' : 'titleSub') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynVideoPersonalReply clone() => + DynVideoPersonalReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynVideoPersonalReply copyWith( + void Function(DynVideoPersonalReply) updates) => + super.copyWith((message) => updates(message as DynVideoPersonalReply)) + as DynVideoPersonalReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynVideoPersonalReply create() => DynVideoPersonalReply._(); + DynVideoPersonalReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynVideoPersonalReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynVideoPersonalReply? _defaultInstance; + + /// 动态列表 + @$pb.TagNumber(1) + $core.List get list => $_getList(0); + + /// 偏移量 + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + /// 是否还有更多数据 + @$pb.TagNumber(3) + $core.bool get hasMore => $_getBF(2); + @$pb.TagNumber(3) + set hasMore($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHasMore() => $_has(2); + @$pb.TagNumber(3) + void clearHasMore() => clearField(3); + + /// 已读进度 + @$pb.TagNumber(4) + $core.String get readOffset => $_getSZ(3); + @$pb.TagNumber(4) + set readOffset($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasReadOffset() => $_has(3); + @$pb.TagNumber(4) + void clearReadOffset() => clearField(4); + + /// 关注状态 + @$pb.TagNumber(5) + Relation get relation => $_getN(4); + @$pb.TagNumber(5) + set relation(Relation v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasRelation() => $_has(4); + @$pb.TagNumber(5) + void clearRelation() => clearField(5); + @$pb.TagNumber(5) + Relation ensureRelation() => $_ensure(4); + + /// 顶部预约卡 + @$pb.TagNumber(6) + TopAdditionUP get additionUp => $_getN(5); + @$pb.TagNumber(6) + set additionUp(TopAdditionUP v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasAdditionUp() => $_has(5); + @$pb.TagNumber(6) + void clearAdditionUp() => clearField(6); + @$pb.TagNumber(6) + TopAdditionUP ensureAdditionUp() => $_ensure(5); + + @$pb.TagNumber(7) + $core.String get title => $_getSZ(6); + @$pb.TagNumber(7) + set title($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasTitle() => $_has(6); + @$pb.TagNumber(7) + void clearTitle() => clearField(7); + + @$pb.TagNumber(8) + $core.String get titleSub => $_getSZ(7); + @$pb.TagNumber(8) + set titleSub($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasTitleSub() => $_has(7); + @$pb.TagNumber(8) + void clearTitleSub() => clearField(8); +} + +/// 最近访问-个人feed流列表-请求 +class DynVideoPersonalReq extends $pb.GeneratedMessage { + factory DynVideoPersonalReq({ + $fixnum.Int64? hostUid, + $core.String? offset, + $core.int? page, + $core.int? isPreload, + PlayurlParam? playurlParam, + $core.int? localTime, + $core.String? footprint, + $core.String? from, + $1.PlayerArgs? playerArgs, + $fixnum.Int64? pegasusAvid, + $core.String? personalExtra, + }) { + final $result = create(); + if (hostUid != null) { + $result.hostUid = hostUid; + } + if (offset != null) { + $result.offset = offset; + } + if (page != null) { + $result.page = page; + } + if (isPreload != null) { + $result.isPreload = isPreload; + } + if (playurlParam != null) { + $result.playurlParam = playurlParam; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (footprint != null) { + $result.footprint = footprint; + } + if (from != null) { + $result.from = from; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (pegasusAvid != null) { + $result.pegasusAvid = pegasusAvid; + } + if (personalExtra != null) { + $result.personalExtra = personalExtra; + } + return $result; + } + DynVideoPersonalReq._() : super(); + factory DynVideoPersonalReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynVideoPersonalReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynVideoPersonalReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'hostUid') + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..a<$core.int>(3, _omitFieldNames ? '' : 'page', $pb.PbFieldType.O3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'isPreload', $pb.PbFieldType.O3) + ..aOM(5, _omitFieldNames ? '' : 'playurlParam', + subBuilder: PlayurlParam.create) + ..a<$core.int>(6, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOS(7, _omitFieldNames ? '' : 'footprint') + ..aOS(8, _omitFieldNames ? '' : 'from') + ..aOM<$1.PlayerArgs>(9, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..aInt64(10, _omitFieldNames ? '' : 'pegasusAvid') + ..aOS(11, _omitFieldNames ? '' : 'personalExtra') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynVideoPersonalReq clone() => DynVideoPersonalReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynVideoPersonalReq copyWith(void Function(DynVideoPersonalReq) updates) => + super.copyWith((message) => updates(message as DynVideoPersonalReq)) + as DynVideoPersonalReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynVideoPersonalReq create() => DynVideoPersonalReq._(); + DynVideoPersonalReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynVideoPersonalReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynVideoPersonalReq? _defaultInstance; + + /// 被访问者的 UID + @$pb.TagNumber(1) + $fixnum.Int64 get hostUid => $_getI64(0); + @$pb.TagNumber(1) + set hostUid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHostUid() => $_has(0); + @$pb.TagNumber(1) + void clearHostUid() => clearField(1); + + /// 偏移量 第一页可传空 + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + /// 标明下拉几次 + @$pb.TagNumber(3) + $core.int get page => $_getIZ(2); + @$pb.TagNumber(3) + set page($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasPage() => $_has(2); + @$pb.TagNumber(3) + void clearPage() => clearField(3); + + /// 是否是预加载 + @$pb.TagNumber(4) + $core.int get isPreload => $_getIZ(3); + @$pb.TagNumber(4) + set isPreload($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIsPreload() => $_has(3); + @$pb.TagNumber(4) + void clearIsPreload() => clearField(4); + + /// 秒开参数 新版本废弃,统一使用player_args + @$pb.TagNumber(5) + PlayurlParam get playurlParam => $_getN(4); + @$pb.TagNumber(5) + set playurlParam(PlayurlParam v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasPlayurlParam() => $_has(4); + @$pb.TagNumber(5) + void clearPlayurlParam() => clearField(5); + @$pb.TagNumber(5) + PlayurlParam ensurePlayurlParam() => $_ensure(4); + + /// 客户端时区 兼容UTC-14和Etc/GMT+12,时区区间[-12,14] 东八区为8 + @$pb.TagNumber(6) + $core.int get localTime => $_getIZ(5); + @$pb.TagNumber(6) + set localTime($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasLocalTime() => $_has(5); + @$pb.TagNumber(6) + void clearLocalTime() => clearField(6); + + /// 服务端生成的透传上报字段 + @$pb.TagNumber(7) + $core.String get footprint => $_getSZ(6); + @$pb.TagNumber(7) + set footprint($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasFootprint() => $_has(6); + @$pb.TagNumber(7) + void clearFootprint() => clearField(7); + + /// 来源 + @$pb.TagNumber(8) + $core.String get from => $_getSZ(7); + @$pb.TagNumber(8) + set from($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasFrom() => $_has(7); + @$pb.TagNumber(8) + void clearFrom() => clearField(8); + + /// 秒开参数 + @$pb.TagNumber(9) + $1.PlayerArgs get playerArgs => $_getN(8); + @$pb.TagNumber(9) + set playerArgs($1.PlayerArgs v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasPlayerArgs() => $_has(8); + @$pb.TagNumber(9) + void clearPlayerArgs() => clearField(9); + @$pb.TagNumber(9) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(8); + + @$pb.TagNumber(10) + $fixnum.Int64 get pegasusAvid => $_getI64(9); + @$pb.TagNumber(10) + set pegasusAvid($fixnum.Int64 v) { + $_setInt64(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasPegasusAvid() => $_has(9); + @$pb.TagNumber(10) + void clearPegasusAvid() => clearField(10); + + @$pb.TagNumber(11) + $core.String get personalExtra => $_getSZ(10); + @$pb.TagNumber(11) + set personalExtra($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasPersonalExtra() => $_has(10); + @$pb.TagNumber(11) + void clearPersonalExtra() => clearField(11); +} + +/// 动态视频页-响应 +class DynVideoReply extends $pb.GeneratedMessage { + factory DynVideoReply({ + CardVideoDynList? dynamicList, + CardVideoUpList? videoUpList, + CardVideoFollowList? videoFollowList, + }) { + final $result = create(); + if (dynamicList != null) { + $result.dynamicList = dynamicList; + } + if (videoUpList != null) { + $result.videoUpList = videoUpList; + } + if (videoFollowList != null) { + $result.videoFollowList = videoFollowList; + } + return $result; + } + DynVideoReply._() : super(); + factory DynVideoReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynVideoReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynVideoReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'dynamicList', + subBuilder: CardVideoDynList.create) + ..aOM(2, _omitFieldNames ? '' : 'videoUpList', + subBuilder: CardVideoUpList.create) + ..aOM(3, _omitFieldNames ? '' : 'videoFollowList', + subBuilder: CardVideoFollowList.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') + DynVideoReply clone() => DynVideoReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynVideoReply copyWith(void Function(DynVideoReply) updates) => + super.copyWith((message) => updates(message as DynVideoReply)) + as DynVideoReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynVideoReply create() => DynVideoReply._(); + DynVideoReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynVideoReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynVideoReply? _defaultInstance; + + /// 卡片列表 + @$pb.TagNumber(1) + CardVideoDynList get dynamicList => $_getN(0); + @$pb.TagNumber(1) + set dynamicList(CardVideoDynList v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasDynamicList() => $_has(0); + @$pb.TagNumber(1) + void clearDynamicList() => clearField(1); + @$pb.TagNumber(1) + CardVideoDynList ensureDynamicList() => $_ensure(0); + + /// 动态卡片 + @$pb.TagNumber(2) + CardVideoUpList get videoUpList => $_getN(1); + @$pb.TagNumber(2) + set videoUpList(CardVideoUpList v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasVideoUpList() => $_has(1); + @$pb.TagNumber(2) + void clearVideoUpList() => clearField(2); + @$pb.TagNumber(2) + CardVideoUpList ensureVideoUpList() => $_ensure(1); + + /// 视频页-我的追番 + @$pb.TagNumber(3) + CardVideoFollowList get videoFollowList => $_getN(2); + @$pb.TagNumber(3) + set videoFollowList(CardVideoFollowList v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasVideoFollowList() => $_has(2); + @$pb.TagNumber(3) + void clearVideoFollowList() => clearField(3); + @$pb.TagNumber(3) + CardVideoFollowList ensureVideoFollowList() => $_ensure(2); +} + +/// 动态视频页-请求 +class DynVideoReq extends $pb.GeneratedMessage { + factory DynVideoReq({ + $core.String? updateBaseline, + $core.String? offset, + $core.int? page, + Refresh? refreshType, + PlayurlParam? playurlParam, + $core.String? assistBaseline, + $core.int? localTime, + $core.String? from, + $1.PlayerArgs? playerArgs, + }) { + final $result = create(); + if (updateBaseline != null) { + $result.updateBaseline = updateBaseline; + } + if (offset != null) { + $result.offset = offset; + } + if (page != null) { + $result.page = page; + } + if (refreshType != null) { + $result.refreshType = refreshType; + } + if (playurlParam != null) { + $result.playurlParam = playurlParam; + } + if (assistBaseline != null) { + $result.assistBaseline = assistBaseline; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (from != null) { + $result.from = from; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + return $result; + } + DynVideoReq._() : super(); + factory DynVideoReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynVideoReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynVideoReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'updateBaseline') + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..a<$core.int>(3, _omitFieldNames ? '' : 'page', $pb.PbFieldType.O3) + ..e(4, _omitFieldNames ? '' : 'refreshType', $pb.PbFieldType.OE, + defaultOrMaker: Refresh.refresh_new, + valueOf: Refresh.valueOf, + enumValues: Refresh.values) + ..aOM(5, _omitFieldNames ? '' : 'playurlParam', + subBuilder: PlayurlParam.create) + ..aOS(6, _omitFieldNames ? '' : 'assistBaseline') + ..a<$core.int>(7, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOS(8, _omitFieldNames ? '' : 'from') + ..aOM<$1.PlayerArgs>(9, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.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') + DynVideoReq clone() => DynVideoReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynVideoReq copyWith(void Function(DynVideoReq) updates) => + super.copyWith((message) => updates(message as DynVideoReq)) + as DynVideoReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynVideoReq create() => DynVideoReq._(); + DynVideoReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynVideoReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynVideoReq? _defaultInstance; + + /// 透传 update_baseline + @$pb.TagNumber(1) + $core.String get updateBaseline => $_getSZ(0); + @$pb.TagNumber(1) + set updateBaseline($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasUpdateBaseline() => $_has(0); + @$pb.TagNumber(1) + void clearUpdateBaseline() => clearField(1); + + /// 透传 history_offset + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + /// 向下翻页数 + @$pb.TagNumber(3) + $core.int get page => $_getIZ(2); + @$pb.TagNumber(3) + set page($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasPage() => $_has(2); + @$pb.TagNumber(3) + void clearPage() => clearField(3); + + /// 刷新方式 + /// 1:向上刷新 2:向下翻页 + @$pb.TagNumber(4) + Refresh get refreshType => $_getN(3); + @$pb.TagNumber(4) + set refreshType(Refresh v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasRefreshType() => $_has(3); + @$pb.TagNumber(4) + void clearRefreshType() => clearField(4); + + /// 秒开参数 新版本废弃,统一使用player_args + @$pb.TagNumber(5) + PlayurlParam get playurlParam => $_getN(4); + @$pb.TagNumber(5) + set playurlParam(PlayurlParam v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasPlayurlParam() => $_has(4); + @$pb.TagNumber(5) + void clearPlayurlParam() => clearField(5); + @$pb.TagNumber(5) + PlayurlParam ensurePlayurlParam() => $_ensure(4); + + /// 综合页当前更新的最大值 + @$pb.TagNumber(6) + $core.String get assistBaseline => $_getSZ(5); + @$pb.TagNumber(6) + set assistBaseline($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasAssistBaseline() => $_has(5); + @$pb.TagNumber(6) + void clearAssistBaseline() => clearField(6); + + /// 客户端时区 兼容UTC-14和Etc/GMT+12,时区区间[-12,14] 东八区为8 + @$pb.TagNumber(7) + $core.int get localTime => $_getIZ(6); + @$pb.TagNumber(7) + set localTime($core.int v) { + $_setSignedInt32(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasLocalTime() => $_has(6); + @$pb.TagNumber(7) + void clearLocalTime() => clearField(7); + + /// 来源 + @$pb.TagNumber(8) + $core.String get from => $_getSZ(7); + @$pb.TagNumber(8) + set from($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasFrom() => $_has(7); + @$pb.TagNumber(8) + void clearFrom() => clearField(8); + + /// 秒开参数 + @$pb.TagNumber(9) + $1.PlayerArgs get playerArgs => $_getN(8); + @$pb.TagNumber(9) + set playerArgs($1.PlayerArgs v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasPlayerArgs() => $_has(8); + @$pb.TagNumber(9) + void clearPlayerArgs() => clearField(9); + @$pb.TagNumber(9) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(8); +} + +/// 最近访问-标记已读-请求 +class DynVideoUpdOffsetReq extends $pb.GeneratedMessage { + factory DynVideoUpdOffsetReq({ + $fixnum.Int64? hostUid, + $core.String? readOffset, + $core.String? footprint, + $core.String? personalExtra, + }) { + final $result = create(); + if (hostUid != null) { + $result.hostUid = hostUid; + } + if (readOffset != null) { + $result.readOffset = readOffset; + } + if (footprint != null) { + $result.footprint = footprint; + } + if (personalExtra != null) { + $result.personalExtra = personalExtra; + } + return $result; + } + DynVideoUpdOffsetReq._() : super(); + factory DynVideoUpdOffsetReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynVideoUpdOffsetReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynVideoUpdOffsetReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'hostUid') + ..aOS(2, _omitFieldNames ? '' : 'readOffset') + ..aOS(3, _omitFieldNames ? '' : 'footprint') + ..aOS(4, _omitFieldNames ? '' : 'personalExtra') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynVideoUpdOffsetReq clone() => + DynVideoUpdOffsetReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynVideoUpdOffsetReq copyWith(void Function(DynVideoUpdOffsetReq) updates) => + super.copyWith((message) => updates(message as DynVideoUpdOffsetReq)) + as DynVideoUpdOffsetReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynVideoUpdOffsetReq create() => DynVideoUpdOffsetReq._(); + DynVideoUpdOffsetReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynVideoUpdOffsetReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynVideoUpdOffsetReq? _defaultInstance; + + /// 被访问者的UID + @$pb.TagNumber(1) + $fixnum.Int64 get hostUid => $_getI64(0); + @$pb.TagNumber(1) + set hostUid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHostUid() => $_has(0); + @$pb.TagNumber(1) + void clearHostUid() => clearField(1); + + /// 用户已读进度 + @$pb.TagNumber(2) + $core.String get readOffset => $_getSZ(1); + @$pb.TagNumber(2) + set readOffset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasReadOffset() => $_has(1); + @$pb.TagNumber(2) + void clearReadOffset() => clearField(2); + + /// 服务端生成的透传上报字段 + @$pb.TagNumber(3) + $core.String get footprint => $_getSZ(2); + @$pb.TagNumber(3) + set footprint($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasFootprint() => $_has(2); + @$pb.TagNumber(3) + void clearFootprint() => clearField(3); + + @$pb.TagNumber(4) + $core.String get personalExtra => $_getSZ(3); + @$pb.TagNumber(4) + set personalExtra($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasPersonalExtra() => $_has(3); + @$pb.TagNumber(4) + void clearPersonalExtra() => clearField(4); +} + +/// 投票操作-响应 +class DynVoteReply extends $pb.GeneratedMessage { + factory DynVoteReply({ + AdditionVote2? item, + $core.String? toast, + }) { + final $result = create(); + if (item != null) { + $result.item = item; + } + if (toast != null) { + $result.toast = toast; + } + return $result; + } + DynVoteReply._() : super(); + factory DynVoteReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynVoteReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynVoteReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'item', + subBuilder: AdditionVote2.create) + ..aOS(2, _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') + DynVoteReply clone() => DynVoteReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynVoteReply copyWith(void Function(DynVoteReply) updates) => + super.copyWith((message) => updates(message as DynVoteReply)) + as DynVoteReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynVoteReply create() => DynVoteReply._(); + DynVoteReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynVoteReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynVoteReply? _defaultInstance; + + /// 投票详情 + @$pb.TagNumber(1) + AdditionVote2 get item => $_getN(0); + @$pb.TagNumber(1) + set item(AdditionVote2 v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasItem() => $_has(0); + @$pb.TagNumber(1) + void clearItem() => clearField(1); + @$pb.TagNumber(1) + AdditionVote2 ensureItem() => $_ensure(0); + + /// 投票操作返回状态 + @$pb.TagNumber(2) + $core.String get toast => $_getSZ(1); + @$pb.TagNumber(2) + set toast($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasToast() => $_has(1); + @$pb.TagNumber(2) + void clearToast() => clearField(2); +} + +/// 投票操作-请求 +class DynVoteReq extends $pb.GeneratedMessage { + factory DynVoteReq({ + $fixnum.Int64? voteId, + $core.Iterable<$fixnum.Int64>? votes, + VoteStatus? status, + $core.String? dynamicId, + $core.bool? share, + }) { + final $result = create(); + if (voteId != null) { + $result.voteId = voteId; + } + if (votes != null) { + $result.votes.addAll(votes); + } + if (status != null) { + $result.status = status; + } + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (share != null) { + $result.share = share; + } + return $result; + } + DynVoteReq._() : super(); + factory DynVoteReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory DynVoteReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'DynVoteReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'voteId') + ..p<$fixnum.Int64>(2, _omitFieldNames ? '' : 'votes', $pb.PbFieldType.K6) + ..e(3, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, + defaultOrMaker: VoteStatus.normal, + valueOf: VoteStatus.valueOf, + enumValues: VoteStatus.values) + ..aOS(4, _omitFieldNames ? '' : 'dynamicId') + ..aOB(5, _omitFieldNames ? '' : 'share') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DynVoteReq clone() => DynVoteReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DynVoteReq copyWith(void Function(DynVoteReq) updates) => + super.copyWith((message) => updates(message as DynVoteReq)) as DynVoteReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DynVoteReq create() => DynVoteReq._(); + DynVoteReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DynVoteReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static DynVoteReq? _defaultInstance; + + /// 投票ID + @$pb.TagNumber(1) + $fixnum.Int64 get voteId => $_getI64(0); + @$pb.TagNumber(1) + set voteId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasVoteId() => $_has(0); + @$pb.TagNumber(1) + void clearVoteId() => clearField(1); + + /// 选项索引数组 + @$pb.TagNumber(2) + $core.List<$fixnum.Int64> get votes => $_getList(1); + + /// 状态 + @$pb.TagNumber(3) + VoteStatus get status => $_getN(2); + @$pb.TagNumber(3) + set status(VoteStatus v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasStatus() => $_has(2); + @$pb.TagNumber(3) + void clearStatus() => clearField(3); + + /// 动态ID + @$pb.TagNumber(4) + $core.String get dynamicId => $_getSZ(3); + @$pb.TagNumber(4) + set dynamicId($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDynamicId() => $_has(3); + @$pb.TagNumber(4) + void clearDynamicId() => clearField(4); + + /// 是否分享 + @$pb.TagNumber(5) + $core.bool get share => $_getBF(4); + @$pb.TagNumber(5) + set share($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasShare() => $_has(4); + @$pb.TagNumber(5) + void clearShare() => clearField(5); +} + +class EmojiSizeSpec extends $pb.GeneratedMessage { + factory EmojiSizeSpec({ + $fixnum.Int64? width, + }) { + final $result = create(); + if (width != null) { + $result.width = width; + } + return $result; + } + EmojiSizeSpec._() : super(); + factory EmojiSizeSpec.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory EmojiSizeSpec.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EmojiSizeSpec', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'width') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EmojiSizeSpec clone() => EmojiSizeSpec()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EmojiSizeSpec copyWith(void Function(EmojiSizeSpec) updates) => + super.copyWith((message) => updates(message as EmojiSizeSpec)) + as EmojiSizeSpec; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EmojiSizeSpec create() => EmojiSizeSpec._(); + EmojiSizeSpec createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EmojiSizeSpec getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static EmojiSizeSpec? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get width => $_getI64(0); + @$pb.TagNumber(1) + set width($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasWidth() => $_has(0); + @$pb.TagNumber(1) + void clearWidth() => clearField(1); +} + +class EmoteNode extends $pb.GeneratedMessage { + factory EmoteNode({ + WordNode? rawText, + $core.String? emoteUrl, + EmoteSize? emoteWidth, + $core.bool? isInlineImg, + ImgInlineCfg? inlineImgCfg, + }) { + final $result = create(); + if (rawText != null) { + $result.rawText = rawText; + } + if (emoteUrl != null) { + $result.emoteUrl = emoteUrl; + } + if (emoteWidth != null) { + $result.emoteWidth = emoteWidth; + } + if (isInlineImg != null) { + $result.isInlineImg = isInlineImg; + } + if (inlineImgCfg != null) { + $result.inlineImgCfg = inlineImgCfg; + } + return $result; + } + EmoteNode._() : super(); + factory EmoteNode.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory EmoteNode.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EmoteNode', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'rawText', + subBuilder: WordNode.create) + ..aOS(2, _omitFieldNames ? '' : 'emoteUrl') + ..aOM(3, _omitFieldNames ? '' : 'emoteWidth', + subBuilder: EmoteSize.create) + ..aOB(4, _omitFieldNames ? '' : 'isInlineImg') + ..aOM(5, _omitFieldNames ? '' : 'inlineImgCfg', + subBuilder: ImgInlineCfg.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') + EmoteNode clone() => EmoteNode()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EmoteNode copyWith(void Function(EmoteNode) updates) => + super.copyWith((message) => updates(message as EmoteNode)) as EmoteNode; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EmoteNode create() => EmoteNode._(); + EmoteNode createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EmoteNode getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EmoteNode? _defaultInstance; + + @$pb.TagNumber(1) + WordNode get rawText => $_getN(0); + @$pb.TagNumber(1) + set rawText(WordNode v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasRawText() => $_has(0); + @$pb.TagNumber(1) + void clearRawText() => clearField(1); + @$pb.TagNumber(1) + WordNode ensureRawText() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get emoteUrl => $_getSZ(1); + @$pb.TagNumber(2) + set emoteUrl($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasEmoteUrl() => $_has(1); + @$pb.TagNumber(2) + void clearEmoteUrl() => clearField(2); + + @$pb.TagNumber(3) + EmoteSize get emoteWidth => $_getN(2); + @$pb.TagNumber(3) + set emoteWidth(EmoteSize v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasEmoteWidth() => $_has(2); + @$pb.TagNumber(3) + void clearEmoteWidth() => clearField(3); + @$pb.TagNumber(3) + EmoteSize ensureEmoteWidth() => $_ensure(2); + + @$pb.TagNumber(4) + $core.bool get isInlineImg => $_getBF(3); + @$pb.TagNumber(4) + set isInlineImg($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIsInlineImg() => $_has(3); + @$pb.TagNumber(4) + void clearIsInlineImg() => clearField(4); + + @$pb.TagNumber(5) + ImgInlineCfg get inlineImgCfg => $_getN(4); + @$pb.TagNumber(5) + set inlineImgCfg(ImgInlineCfg v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasInlineImgCfg() => $_has(4); + @$pb.TagNumber(5) + void clearInlineImgCfg() => clearField(5); + @$pb.TagNumber(5) + ImgInlineCfg ensureInlineImgCfg() => $_ensure(4); +} + +class EmoteSize extends $pb.GeneratedMessage { + factory EmoteSize({ + $core.double? width, + $core.int? emojiSize, + }) { + final $result = create(); + if (width != null) { + $result.width = width; + } + if (emojiSize != null) { + $result.emojiSize = emojiSize; + } + return $result; + } + EmoteSize._() : super(); + factory EmoteSize.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory EmoteSize.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'EmoteSize', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OD) + ..a<$core.int>(2, _omitFieldNames ? '' : 'emojiSize', $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') + EmoteSize clone() => EmoteSize()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EmoteSize copyWith(void Function(EmoteSize) updates) => + super.copyWith((message) => updates(message as EmoteSize)) as EmoteSize; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EmoteSize create() => EmoteSize._(); + EmoteSize createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EmoteSize getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EmoteSize? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get width => $_getN(0); + @$pb.TagNumber(1) + set width($core.double v) { + $_setDouble(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasWidth() => $_has(0); + @$pb.TagNumber(1) + void clearWidth() => clearField(1); + + @$pb.TagNumber(2) + $core.int get emojiSize => $_getIZ(1); + @$pb.TagNumber(2) + set emojiSize($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasEmojiSize() => $_has(1); + @$pb.TagNumber(2) + void clearEmojiSize() => clearField(2); +} + +/// 扩展字段,用于动态部分操作使用 +class Extend extends $pb.GeneratedMessage { + factory Extend({ + $core.String? dynIdStr, + $core.String? businessId, + $core.String? origDynIdStr, + $core.String? origName, + $core.String? origImgUrl, + $core.Iterable? origDesc, + $core.Iterable? desc, + DynamicType? origDynType, + $core.String? shareType, + $core.String? shareScene, + $core.bool? isFastShare, + $core.int? rType, + $fixnum.Int64? dynType, + $fixnum.Int64? uid, + $core.String? cardUrl, + $2.Any? sourceContent, + $core.String? origFace, + ExtendReply? reply, + $core.String? trackId, + ModuleOpusSummary? opusSummary, + OnlyFansProperty? onlyFansProperty, + DynFeatureGate? featureGate, + $core.bool? isInAudit, + $core.Map<$core.String, $core.String>? historyReport, + }) { + final $result = create(); + if (dynIdStr != null) { + $result.dynIdStr = dynIdStr; + } + if (businessId != null) { + $result.businessId = businessId; + } + if (origDynIdStr != null) { + $result.origDynIdStr = origDynIdStr; + } + if (origName != null) { + $result.origName = origName; + } + if (origImgUrl != null) { + $result.origImgUrl = origImgUrl; + } + if (origDesc != null) { + $result.origDesc.addAll(origDesc); + } + if (desc != null) { + $result.desc.addAll(desc); + } + if (origDynType != null) { + $result.origDynType = origDynType; + } + if (shareType != null) { + $result.shareType = shareType; + } + if (shareScene != null) { + $result.shareScene = shareScene; + } + if (isFastShare != null) { + $result.isFastShare = isFastShare; + } + if (rType != null) { + $result.rType = rType; + } + if (dynType != null) { + $result.dynType = dynType; + } + if (uid != null) { + $result.uid = uid; + } + if (cardUrl != null) { + $result.cardUrl = cardUrl; + } + if (sourceContent != null) { + $result.sourceContent = sourceContent; + } + if (origFace != null) { + $result.origFace = origFace; + } + if (reply != null) { + $result.reply = reply; + } + if (trackId != null) { + $result.trackId = trackId; + } + if (opusSummary != null) { + $result.opusSummary = opusSummary; + } + if (onlyFansProperty != null) { + $result.onlyFansProperty = onlyFansProperty; + } + if (featureGate != null) { + $result.featureGate = featureGate; + } + if (isInAudit != null) { + $result.isInAudit = isInAudit; + } + if (historyReport != null) { + $result.historyReport.addAll(historyReport); + } + return $result; + } + Extend._() : super(); + factory Extend.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Extend.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Extend', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'dynIdStr') + ..aOS(2, _omitFieldNames ? '' : 'businessId') + ..aOS(3, _omitFieldNames ? '' : 'origDynIdStr') + ..aOS(4, _omitFieldNames ? '' : 'origName') + ..aOS(5, _omitFieldNames ? '' : 'origImgUrl') + ..pc(6, _omitFieldNames ? '' : 'origDesc', $pb.PbFieldType.PM, + subBuilder: Description.create) + ..pc(7, _omitFieldNames ? '' : 'desc', $pb.PbFieldType.PM, + subBuilder: Description.create) + ..e( + 8, _omitFieldNames ? '' : 'origDynType', $pb.PbFieldType.OE, + defaultOrMaker: DynamicType.dyn_none, + valueOf: DynamicType.valueOf, + enumValues: DynamicType.values) + ..aOS(9, _omitFieldNames ? '' : 'shareType') + ..aOS(10, _omitFieldNames ? '' : 'shareScene') + ..aOB(11, _omitFieldNames ? '' : 'isFastShare') + ..a<$core.int>(12, _omitFieldNames ? '' : 'rType', $pb.PbFieldType.O3) + ..aInt64(13, _omitFieldNames ? '' : 'dynType') + ..aInt64(14, _omitFieldNames ? '' : 'uid') + ..aOS(15, _omitFieldNames ? '' : 'cardUrl') + ..aOM<$2.Any>(16, _omitFieldNames ? '' : 'sourceContent', + subBuilder: $2.Any.create) + ..aOS(17, _omitFieldNames ? '' : 'origFace') + ..aOM(18, _omitFieldNames ? '' : 'reply', + subBuilder: ExtendReply.create) + ..aOS(19, _omitFieldNames ? '' : 'trackId') + ..aOM(20, _omitFieldNames ? '' : 'opusSummary', + subBuilder: ModuleOpusSummary.create) + ..aOM(21, _omitFieldNames ? '' : 'onlyFansProperty', + subBuilder: OnlyFansProperty.create) + ..aOM(22, _omitFieldNames ? '' : 'featureGate', + subBuilder: DynFeatureGate.create) + ..aOB(23, _omitFieldNames ? '' : 'isInAudit') + ..m<$core.String, $core.String>(24, _omitFieldNames ? '' : 'historyReport', + entryClassName: 'Extend.HistoryReportEntry', + keyFieldType: $pb.PbFieldType.OS, + valueFieldType: $pb.PbFieldType.OS, + packageName: const $pb.PackageName('bilibili.app.dynamic.v2')) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Extend clone() => Extend()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Extend copyWith(void Function(Extend) updates) => + super.copyWith((message) => updates(message as Extend)) as Extend; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Extend create() => Extend._(); + Extend createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Extend getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Extend? _defaultInstance; + + /// 动态id + @$pb.TagNumber(1) + $core.String get dynIdStr => $_getSZ(0); + @$pb.TagNumber(1) + set dynIdStr($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasDynIdStr() => $_has(0); + @$pb.TagNumber(1) + void clearDynIdStr() => clearField(1); + + /// 业务方id + @$pb.TagNumber(2) + $core.String get businessId => $_getSZ(1); + @$pb.TagNumber(2) + set businessId($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasBusinessId() => $_has(1); + @$pb.TagNumber(2) + void clearBusinessId() => clearField(2); + + /// 源动态id + @$pb.TagNumber(3) + $core.String get origDynIdStr => $_getSZ(2); + @$pb.TagNumber(3) + set origDynIdStr($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOrigDynIdStr() => $_has(2); + @$pb.TagNumber(3) + void clearOrigDynIdStr() => clearField(3); + + /// 转发卡:用户名 + @$pb.TagNumber(4) + $core.String get origName => $_getSZ(3); + @$pb.TagNumber(4) + set origName($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasOrigName() => $_has(3); + @$pb.TagNumber(4) + void clearOrigName() => clearField(4); + + /// 转发卡:图片url + @$pb.TagNumber(5) + $core.String get origImgUrl => $_getSZ(4); + @$pb.TagNumber(5) + set origImgUrl($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasOrigImgUrl() => $_has(4); + @$pb.TagNumber(5) + void clearOrigImgUrl() => clearField(5); + + /// 转发卡:文字内容 + @$pb.TagNumber(6) + $core.List get origDesc => $_getList(5); + + /// 填充文字内容 + @$pb.TagNumber(7) + $core.List get desc => $_getList(6); + + /// 被转发的源动态类型 + @$pb.TagNumber(8) + DynamicType get origDynType => $_getN(7); + @$pb.TagNumber(8) + set origDynType(DynamicType v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasOrigDynType() => $_has(7); + @$pb.TagNumber(8) + void clearOrigDynType() => clearField(8); + + /// 分享到站外展示类型 + @$pb.TagNumber(9) + $core.String get shareType => $_getSZ(8); + @$pb.TagNumber(9) + set shareType($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasShareType() => $_has(8); + @$pb.TagNumber(9) + void clearShareType() => clearField(9); + + /// 分享的场景 + @$pb.TagNumber(10) + $core.String get shareScene => $_getSZ(9); + @$pb.TagNumber(10) + set shareScene($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasShareScene() => $_has(9); + @$pb.TagNumber(10) + void clearShareScene() => clearField(10); + + /// 是否快速转发 + @$pb.TagNumber(11) + $core.bool get isFastShare => $_getBF(10); + @$pb.TagNumber(11) + set isFastShare($core.bool v) { + $_setBool(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasIsFastShare() => $_has(10); + @$pb.TagNumber(11) + void clearIsFastShare() => clearField(11); + + /// r_type 分享和转发 + @$pb.TagNumber(12) + $core.int get rType => $_getIZ(11); + @$pb.TagNumber(12) + set rType($core.int v) { + $_setSignedInt32(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasRType() => $_has(11); + @$pb.TagNumber(12) + void clearRType() => clearField(12); + + /// 数据源的动态类型 + @$pb.TagNumber(13) + $fixnum.Int64 get dynType => $_getI64(12); + @$pb.TagNumber(13) + set dynType($fixnum.Int64 v) { + $_setInt64(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasDynType() => $_has(12); + @$pb.TagNumber(13) + void clearDynType() => clearField(13); + + /// 用户id + @$pb.TagNumber(14) + $fixnum.Int64 get uid => $_getI64(13); + @$pb.TagNumber(14) + set uid($fixnum.Int64 v) { + $_setInt64(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasUid() => $_has(13); + @$pb.TagNumber(14) + void clearUid() => clearField(14); + + /// 卡片跳转 + @$pb.TagNumber(15) + $core.String get cardUrl => $_getSZ(14); + @$pb.TagNumber(15) + set cardUrl($core.String v) { + $_setString(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasCardUrl() => $_has(14); + @$pb.TagNumber(15) + void clearCardUrl() => clearField(15); + + /// 透传字段 + @$pb.TagNumber(16) + $2.Any get sourceContent => $_getN(15); + @$pb.TagNumber(16) + set sourceContent($2.Any v) { + setField(16, v); + } + + @$pb.TagNumber(16) + $core.bool hasSourceContent() => $_has(15); + @$pb.TagNumber(16) + void clearSourceContent() => clearField(16); + @$pb.TagNumber(16) + $2.Any ensureSourceContent() => $_ensure(15); + + /// 转发卡:用户头像 + @$pb.TagNumber(17) + $core.String get origFace => $_getSZ(16); + @$pb.TagNumber(17) + set origFace($core.String v) { + $_setString(16, v); + } + + @$pb.TagNumber(17) + $core.bool hasOrigFace() => $_has(16); + @$pb.TagNumber(17) + void clearOrigFace() => clearField(17); + + /// 评论跳转 + @$pb.TagNumber(18) + ExtendReply get reply => $_getN(17); + @$pb.TagNumber(18) + set reply(ExtendReply v) { + setField(18, v); + } + + @$pb.TagNumber(18) + $core.bool hasReply() => $_has(17); + @$pb.TagNumber(18) + void clearReply() => clearField(18); + @$pb.TagNumber(18) + ExtendReply ensureReply() => $_ensure(17); + + @$pb.TagNumber(19) + $core.String get trackId => $_getSZ(18); + @$pb.TagNumber(19) + set trackId($core.String v) { + $_setString(18, v); + } + + @$pb.TagNumber(19) + $core.bool hasTrackId() => $_has(18); + @$pb.TagNumber(19) + void clearTrackId() => clearField(19); + + @$pb.TagNumber(20) + ModuleOpusSummary get opusSummary => $_getN(19); + @$pb.TagNumber(20) + set opusSummary(ModuleOpusSummary v) { + setField(20, v); + } + + @$pb.TagNumber(20) + $core.bool hasOpusSummary() => $_has(19); + @$pb.TagNumber(20) + void clearOpusSummary() => clearField(20); + @$pb.TagNumber(20) + ModuleOpusSummary ensureOpusSummary() => $_ensure(19); + + @$pb.TagNumber(21) + OnlyFansProperty get onlyFansProperty => $_getN(20); + @$pb.TagNumber(21) + set onlyFansProperty(OnlyFansProperty v) { + setField(21, v); + } + + @$pb.TagNumber(21) + $core.bool hasOnlyFansProperty() => $_has(20); + @$pb.TagNumber(21) + void clearOnlyFansProperty() => clearField(21); + @$pb.TagNumber(21) + OnlyFansProperty ensureOnlyFansProperty() => $_ensure(20); + + @$pb.TagNumber(22) + DynFeatureGate get featureGate => $_getN(21); + @$pb.TagNumber(22) + set featureGate(DynFeatureGate v) { + setField(22, v); + } + + @$pb.TagNumber(22) + $core.bool hasFeatureGate() => $_has(21); + @$pb.TagNumber(22) + void clearFeatureGate() => clearField(22); + @$pb.TagNumber(22) + DynFeatureGate ensureFeatureGate() => $_ensure(21); + + @$pb.TagNumber(23) + $core.bool get isInAudit => $_getBF(22); + @$pb.TagNumber(23) + set isInAudit($core.bool v) { + $_setBool(22, v); + } + + @$pb.TagNumber(23) + $core.bool hasIsInAudit() => $_has(22); + @$pb.TagNumber(23) + void clearIsInAudit() => clearField(23); + + @$pb.TagNumber(24) + $core.Map<$core.String, $core.String> get historyReport => $_getMap(23); +} + +/// 评论扩展 +class ExtendReply extends $pb.GeneratedMessage { + factory ExtendReply({ + $core.String? uri, + $core.Iterable? params, + }) { + final $result = create(); + if (uri != null) { + $result.uri = uri; + } + if (params != null) { + $result.params.addAll(params); + } + return $result; + } + ExtendReply._() : super(); + factory ExtendReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ExtendReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ExtendReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'uri') + ..pc( + 2, _omitFieldNames ? '' : 'params', $pb.PbFieldType.PM, + subBuilder: ExtendReplyParam.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') + ExtendReply clone() => ExtendReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtendReply copyWith(void Function(ExtendReply) updates) => + super.copyWith((message) => updates(message as ExtendReply)) + as ExtendReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtendReply create() => ExtendReply._(); + ExtendReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ExtendReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ExtendReply? _defaultInstance; + + /// 基础跳转地址 + @$pb.TagNumber(1) + $core.String get uri => $_getSZ(0); + @$pb.TagNumber(1) + set uri($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasUri() => $_has(0); + @$pb.TagNumber(1) + void clearUri() => clearField(1); + + /// 参数部分 + @$pb.TagNumber(2) + $core.List get params => $_getList(1); +} + +/// 评论扩展参数部分 +class ExtendReplyParam extends $pb.GeneratedMessage { + factory ExtendReplyParam({ + $core.String? key, + $core.String? value, + }) { + final $result = create(); + if (key != null) { + $result.key = key; + } + if (value != null) { + $result.value = value; + } + return $result; + } + ExtendReplyParam._() : super(); + factory ExtendReplyParam.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ExtendReplyParam.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ExtendReplyParam', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'key') + ..aOS(2, _omitFieldNames ? '' : 'value') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ExtendReplyParam clone() => ExtendReplyParam()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtendReplyParam copyWith(void Function(ExtendReplyParam) updates) => + super.copyWith((message) => updates(message as ExtendReplyParam)) + as ExtendReplyParam; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtendReplyParam create() => ExtendReplyParam._(); + ExtendReplyParam createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ExtendReplyParam getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ExtendReplyParam? _defaultInstance; + + /// 参数名 + @$pb.TagNumber(1) + $core.String get key => $_getSZ(0); + @$pb.TagNumber(1) + set key($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasKey() => $_has(0); + @$pb.TagNumber(1) + void clearKey() => clearField(1); + + /// 参数值 + @$pb.TagNumber(2) + $core.String get value => $_getSZ(1); + @$pb.TagNumber(2) + set value($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasValue() => $_has(1); + @$pb.TagNumber(2) + void clearValue() => clearField(2); +} + +/// 动态-拓展小卡模块-通用小卡 +class ExtInfoCommon extends $pb.GeneratedMessage { + factory ExtInfoCommon({ + $core.String? title, + $core.String? uri, + $core.String? icon, + $core.int? poiType, + DynExtendType? type, + $core.String? subModule, + $core.String? actionText, + $core.String? actionUrl, + $fixnum.Int64? rid, + $core.bool? isShowLight, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (uri != null) { + $result.uri = uri; + } + if (icon != null) { + $result.icon = icon; + } + if (poiType != null) { + $result.poiType = poiType; + } + if (type != null) { + $result.type = type; + } + if (subModule != null) { + $result.subModule = subModule; + } + if (actionText != null) { + $result.actionText = actionText; + } + if (actionUrl != null) { + $result.actionUrl = actionUrl; + } + if (rid != null) { + $result.rid = rid; + } + if (isShowLight != null) { + $result.isShowLight = isShowLight; + } + return $result; + } + ExtInfoCommon._() : super(); + factory ExtInfoCommon.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ExtInfoCommon.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ExtInfoCommon', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'icon') + ..a<$core.int>(4, _omitFieldNames ? '' : 'poiType', $pb.PbFieldType.O3) + ..e(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: DynExtendType.dyn_ext_type_none, + valueOf: DynExtendType.valueOf, + enumValues: DynExtendType.values) + ..aOS(6, _omitFieldNames ? '' : 'subModule') + ..aOS(7, _omitFieldNames ? '' : 'actionText') + ..aOS(8, _omitFieldNames ? '' : 'actionUrl') + ..aInt64(9, _omitFieldNames ? '' : 'rid') + ..aOB(10, _omitFieldNames ? '' : 'isShowLight') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ExtInfoCommon clone() => ExtInfoCommon()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtInfoCommon copyWith(void Function(ExtInfoCommon) updates) => + super.copyWith((message) => updates(message as ExtInfoCommon)) + as ExtInfoCommon; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtInfoCommon create() => ExtInfoCommon._(); + ExtInfoCommon createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ExtInfoCommon getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ExtInfoCommon? _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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 小图标 + @$pb.TagNumber(3) + $core.String get icon => $_getSZ(2); + @$pb.TagNumber(3) + set icon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIcon() => $_has(2); + @$pb.TagNumber(3) + void clearIcon() => clearField(3); + + /// poiType + @$pb.TagNumber(4) + $core.int get poiType => $_getIZ(3); + @$pb.TagNumber(4) + set poiType($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasPoiType() => $_has(3); + @$pb.TagNumber(4) + void clearPoiType() => clearField(4); + + /// 类型 + @$pb.TagNumber(5) + DynExtendType get type => $_getN(4); + @$pb.TagNumber(5) + set type(DynExtendType v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasType() => $_has(4); + @$pb.TagNumber(5) + void clearType() => clearField(5); + + /// 客户端埋点用 + @$pb.TagNumber(6) + $core.String get subModule => $_getSZ(5); + @$pb.TagNumber(6) + set subModule($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasSubModule() => $_has(5); + @$pb.TagNumber(6) + void clearSubModule() => clearField(6); + + /// 行动点文案 + @$pb.TagNumber(7) + $core.String get actionText => $_getSZ(6); + @$pb.TagNumber(7) + set actionText($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasActionText() => $_has(6); + @$pb.TagNumber(7) + void clearActionText() => clearField(7); + + /// 行动点链接 + @$pb.TagNumber(8) + $core.String get actionUrl => $_getSZ(7); + @$pb.TagNumber(8) + set actionUrl($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasActionUrl() => $_has(7); + @$pb.TagNumber(8) + void clearActionUrl() => clearField(8); + + /// 资源rid + @$pb.TagNumber(9) + $fixnum.Int64 get rid => $_getI64(8); + @$pb.TagNumber(9) + set rid($fixnum.Int64 v) { + $_setInt64(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasRid() => $_has(8); + @$pb.TagNumber(9) + void clearRid() => clearField(9); + + /// 轻浏览是否展示 + @$pb.TagNumber(10) + $core.bool get isShowLight => $_getBF(9); + @$pb.TagNumber(10) + set isShowLight($core.bool v) { + $_setBool(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasIsShowLight() => $_has(9); + @$pb.TagNumber(10) + void clearIsShowLight() => clearField(10); +} + +/// 动态-拓展小卡模块-游戏小卡 +class ExtInfoGame extends $pb.GeneratedMessage { + factory ExtInfoGame({ + $core.String? title, + $core.String? uri, + $core.String? icon, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (uri != null) { + $result.uri = uri; + } + if (icon != null) { + $result.icon = icon; + } + return $result; + } + ExtInfoGame._() : super(); + factory ExtInfoGame.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ExtInfoGame.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ExtInfoGame', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'icon') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ExtInfoGame clone() => ExtInfoGame()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtInfoGame copyWith(void Function(ExtInfoGame) updates) => + super.copyWith((message) => updates(message as ExtInfoGame)) + as ExtInfoGame; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtInfoGame create() => ExtInfoGame._(); + ExtInfoGame createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ExtInfoGame getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ExtInfoGame? _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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 小图标 + @$pb.TagNumber(3) + $core.String get icon => $_getSZ(2); + @$pb.TagNumber(3) + set icon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIcon() => $_has(2); + @$pb.TagNumber(3) + void clearIcon() => clearField(3); +} + +/// 动态-拓展小卡模块-热门小卡 +class ExtInfoHot extends $pb.GeneratedMessage { + factory ExtInfoHot({ + $core.String? title, + $core.String? uri, + $core.String? icon, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (uri != null) { + $result.uri = uri; + } + if (icon != null) { + $result.icon = icon; + } + return $result; + } + ExtInfoHot._() : super(); + factory ExtInfoHot.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ExtInfoHot.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ExtInfoHot', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'icon') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ExtInfoHot clone() => ExtInfoHot()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtInfoHot copyWith(void Function(ExtInfoHot) updates) => + super.copyWith((message) => updates(message as ExtInfoHot)) as ExtInfoHot; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtInfoHot create() => ExtInfoHot._(); + ExtInfoHot createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ExtInfoHot getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ExtInfoHot? _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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 小图标 + @$pb.TagNumber(3) + $core.String get icon => $_getSZ(2); + @$pb.TagNumber(3) + set icon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIcon() => $_has(2); + @$pb.TagNumber(3) + void clearIcon() => clearField(3); +} + +/// 动态-拓展小卡模块-lbs小卡 +class ExtInfoLBS extends $pb.GeneratedMessage { + factory ExtInfoLBS({ + $core.String? title, + $core.String? uri, + $core.String? icon, + $core.int? poiType, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (uri != null) { + $result.uri = uri; + } + if (icon != null) { + $result.icon = icon; + } + if (poiType != null) { + $result.poiType = poiType; + } + return $result; + } + ExtInfoLBS._() : super(); + factory ExtInfoLBS.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ExtInfoLBS.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ExtInfoLBS', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'icon') + ..a<$core.int>(4, _omitFieldNames ? '' : 'poiType', $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') + ExtInfoLBS clone() => ExtInfoLBS()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtInfoLBS copyWith(void Function(ExtInfoLBS) updates) => + super.copyWith((message) => updates(message as ExtInfoLBS)) as ExtInfoLBS; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtInfoLBS create() => ExtInfoLBS._(); + ExtInfoLBS createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ExtInfoLBS getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ExtInfoLBS? _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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 小图标 + @$pb.TagNumber(3) + $core.String get icon => $_getSZ(2); + @$pb.TagNumber(3) + set icon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIcon() => $_has(2); + @$pb.TagNumber(3) + void clearIcon() => clearField(3); + + /// poiType + @$pb.TagNumber(4) + $core.int get poiType => $_getIZ(3); + @$pb.TagNumber(4) + set poiType($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasPoiType() => $_has(3); + @$pb.TagNumber(4) + void clearPoiType() => clearField(4); +} + +/// 动态-拓展小卡模块-ogv小卡 +class ExtInfoOGV extends $pb.GeneratedMessage { + factory ExtInfoOGV({ + $core.Iterable? infoOgv, + }) { + final $result = create(); + if (infoOgv != null) { + $result.infoOgv.addAll(infoOgv); + } + return $result; + } + ExtInfoOGV._() : super(); + factory ExtInfoOGV.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ExtInfoOGV.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ExtInfoOGV', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'infoOgv', $pb.PbFieldType.PM, + subBuilder: InfoOGV.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') + ExtInfoOGV clone() => ExtInfoOGV()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtInfoOGV copyWith(void Function(ExtInfoOGV) updates) => + super.copyWith((message) => updates(message as ExtInfoOGV)) as ExtInfoOGV; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtInfoOGV create() => ExtInfoOGV._(); + ExtInfoOGV createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ExtInfoOGV getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ExtInfoOGV? _defaultInstance; + + /// ogv小卡 + @$pb.TagNumber(1) + $core.List get infoOgv => $_getList(0); +} + +/// 动态-拓展小卡模块-话题小卡 +class ExtInfoTopic extends $pb.GeneratedMessage { + factory ExtInfoTopic({ + $core.String? title, + $core.String? uri, + $core.String? icon, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (uri != null) { + $result.uri = uri; + } + if (icon != null) { + $result.icon = icon; + } + return $result; + } + ExtInfoTopic._() : super(); + factory ExtInfoTopic.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ExtInfoTopic.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ExtInfoTopic', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'icon') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ExtInfoTopic clone() => ExtInfoTopic()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtInfoTopic copyWith(void Function(ExtInfoTopic) updates) => + super.copyWith((message) => updates(message as ExtInfoTopic)) + as ExtInfoTopic; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtInfoTopic create() => ExtInfoTopic._(); + ExtInfoTopic createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ExtInfoTopic getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ExtInfoTopic? _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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 小图标 + @$pb.TagNumber(3) + $core.String get icon => $_getSZ(2); + @$pb.TagNumber(3) + set icon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIcon() => $_has(2); + @$pb.TagNumber(3) + void clearIcon() => clearField(3); +} + +class FeedFilterReply extends $pb.GeneratedMessage { + factory FeedFilterReply({ + $core.String? offset, + $core.bool? hasMore, + $core.Iterable? list, + }) { + final $result = create(); + if (offset != null) { + $result.offset = offset; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (list != null) { + $result.list.addAll(list); + } + return $result; + } + FeedFilterReply._() : super(); + factory FeedFilterReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory FeedFilterReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'FeedFilterReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'offset') + ..aOB(2, _omitFieldNames ? '' : 'hasMore') + ..pc(3, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.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') + FeedFilterReply clone() => FeedFilterReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FeedFilterReply copyWith(void Function(FeedFilterReply) updates) => + super.copyWith((message) => updates(message as FeedFilterReply)) + as FeedFilterReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FeedFilterReply create() => FeedFilterReply._(); + FeedFilterReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FeedFilterReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static FeedFilterReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get offset => $_getSZ(0); + @$pb.TagNumber(1) + set offset($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasOffset() => $_has(0); + @$pb.TagNumber(1) + void clearOffset() => clearField(1); + + @$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); + + @$pb.TagNumber(3) + $core.List get list => $_getList(2); +} + +class FeedFilterReq extends $pb.GeneratedMessage { + factory FeedFilterReq({ + $core.String? offset, + $core.String? tab, + $core.int? localTime, + $1.PlayerArgs? playerArgs, + AdParam? adParam, + $core.int? coldStart, + $fixnum.Int64? page, + }) { + final $result = create(); + if (offset != null) { + $result.offset = offset; + } + if (tab != null) { + $result.tab = tab; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + if (adParam != null) { + $result.adParam = adParam; + } + if (coldStart != null) { + $result.coldStart = coldStart; + } + if (page != null) { + $result.page = page; + } + return $result; + } + FeedFilterReq._() : super(); + factory FeedFilterReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory FeedFilterReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'FeedFilterReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'offset') + ..aOS(2, _omitFieldNames ? '' : 'tab') + ..a<$core.int>(3, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOM<$1.PlayerArgs>(4, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.create) + ..aOM(5, _omitFieldNames ? '' : 'adParam', + subBuilder: AdParam.create) + ..a<$core.int>(6, _omitFieldNames ? '' : 'coldStart', $pb.PbFieldType.O3) + ..aInt64(7, _omitFieldNames ? '' : 'page') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FeedFilterReq clone() => FeedFilterReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FeedFilterReq copyWith(void Function(FeedFilterReq) updates) => + super.copyWith((message) => updates(message as FeedFilterReq)) + as FeedFilterReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FeedFilterReq create() => FeedFilterReq._(); + FeedFilterReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FeedFilterReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static FeedFilterReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get offset => $_getSZ(0); + @$pb.TagNumber(1) + set offset($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasOffset() => $_has(0); + @$pb.TagNumber(1) + void clearOffset() => clearField(1); + + @$pb.TagNumber(2) + $core.String get tab => $_getSZ(1); + @$pb.TagNumber(2) + set tab($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasTab() => $_has(1); + @$pb.TagNumber(2) + void clearTab() => clearField(2); + + @$pb.TagNumber(3) + $core.int get localTime => $_getIZ(2); + @$pb.TagNumber(3) + set localTime($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasLocalTime() => $_has(2); + @$pb.TagNumber(3) + void clearLocalTime() => clearField(3); + + @$pb.TagNumber(4) + $1.PlayerArgs get playerArgs => $_getN(3); + @$pb.TagNumber(4) + set playerArgs($1.PlayerArgs v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasPlayerArgs() => $_has(3); + @$pb.TagNumber(4) + void clearPlayerArgs() => clearField(4); + @$pb.TagNumber(4) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(3); + + @$pb.TagNumber(5) + AdParam get adParam => $_getN(4); + @$pb.TagNumber(5) + set adParam(AdParam v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasAdParam() => $_has(4); + @$pb.TagNumber(5) + void clearAdParam() => clearField(5); + @$pb.TagNumber(5) + AdParam ensureAdParam() => $_ensure(4); + + @$pb.TagNumber(6) + $core.int get coldStart => $_getIZ(5); + @$pb.TagNumber(6) + set coldStart($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasColdStart() => $_has(5); + @$pb.TagNumber(6) + void clearColdStart() => clearField(6); + + @$pb.TagNumber(7) + $fixnum.Int64 get page => $_getI64(6); + @$pb.TagNumber(7) + set page($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasPage() => $_has(6); + @$pb.TagNumber(7) + void clearPage() => clearField(7); +} + +class FetchTabSettingReply extends $pb.GeneratedMessage { + factory FetchTabSettingReply({ + $core.int? status, + }) { + final $result = create(); + if (status != null) { + $result.status = status; + } + return $result; + } + FetchTabSettingReply._() : super(); + factory FetchTabSettingReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory FetchTabSettingReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'FetchTabSettingReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'status', $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') + FetchTabSettingReply clone() => + FetchTabSettingReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FetchTabSettingReply copyWith(void Function(FetchTabSettingReply) updates) => + super.copyWith((message) => updates(message as FetchTabSettingReply)) + as FetchTabSettingReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FetchTabSettingReply create() => FetchTabSettingReply._(); + FetchTabSettingReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FetchTabSettingReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static FetchTabSettingReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get status => $_getIZ(0); + @$pb.TagNumber(1) + set status($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasStatus() => $_has(0); + @$pb.TagNumber(1) + void clearStatus() => clearField(1); +} + +/// 视频页-我的追番-番剧信息 +class FollowListItem extends $pb.GeneratedMessage { + factory FollowListItem({ + $fixnum.Int64? seasonId, + $core.String? title, + $core.String? cover, + $core.String? url, + NewEP? newEp, + $core.String? subTitle, + $fixnum.Int64? pos, + }) { + final $result = create(); + if (seasonId != null) { + $result.seasonId = seasonId; + } + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (url != null) { + $result.url = url; + } + if (newEp != null) { + $result.newEp = newEp; + } + if (subTitle != null) { + $result.subTitle = subTitle; + } + if (pos != null) { + $result.pos = pos; + } + return $result; + } + FollowListItem._() : super(); + factory FollowListItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory FollowListItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'FollowListItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'seasonId') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'cover') + ..aOS(4, _omitFieldNames ? '' : 'url') + ..aOM(5, _omitFieldNames ? '' : 'newEp', subBuilder: NewEP.create) + ..aOS(6, _omitFieldNames ? '' : 'subTitle') + ..aInt64(7, _omitFieldNames ? '' : 'pos') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FollowListItem clone() => FollowListItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FollowListItem copyWith(void Function(FollowListItem) updates) => + super.copyWith((message) => updates(message as FollowListItem)) + as FollowListItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FollowListItem create() => FollowListItem._(); + FollowListItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FollowListItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static FollowListItem? _defaultInstance; + + /// season_id + @$pb.TagNumber(1) + $fixnum.Int64 get seasonId => $_getI64(0); + @$pb.TagNumber(1) + set seasonId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasSeasonId() => $_has(0); + @$pb.TagNumber(1) + void clearSeasonId() => 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 cover => $_getSZ(2); + @$pb.TagNumber(3) + set cover($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCover() => $_has(2); + @$pb.TagNumber(3) + void clearCover() => 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); + + /// new_ep + @$pb.TagNumber(5) + NewEP get newEp => $_getN(4); + @$pb.TagNumber(5) + set newEp(NewEP v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasNewEp() => $_has(4); + @$pb.TagNumber(5) + void clearNewEp() => clearField(5); + @$pb.TagNumber(5) + NewEP ensureNewEp() => $_ensure(4); + + /// 子标题 + @$pb.TagNumber(6) + $core.String get subTitle => $_getSZ(5); + @$pb.TagNumber(6) + set subTitle($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasSubTitle() => $_has(5); + @$pb.TagNumber(6) + void clearSubTitle() => clearField(6); + + /// 卡片位次 + @$pb.TagNumber(7) + $fixnum.Int64 get pos => $_getI64(6); + @$pb.TagNumber(7) + set pos($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasPos() => $_has(6); + @$pb.TagNumber(7) + void clearPos() => clearField(7); +} + +/// 动态-附加卡-商品卡-商品 +class GoodsItem extends $pb.GeneratedMessage { + factory GoodsItem({ + $core.String? cover, + $core.String? schemaPackageName, + $core.int? sourceType, + $core.String? jumpUrl, + $core.String? jumpDesc, + $core.String? title, + $core.String? brief, + $core.String? price, + $fixnum.Int64? itemId, + $core.String? schemaUrl, + $core.Iterable<$core.String>? openWhiteList, + $core.bool? userWebV2, + $core.String? adMark, + $core.String? appName, + GoodsJumpType? jumpType, + }) { + final $result = create(); + if (cover != null) { + $result.cover = cover; + } + if (schemaPackageName != null) { + $result.schemaPackageName = schemaPackageName; + } + if (sourceType != null) { + $result.sourceType = sourceType; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + if (jumpDesc != null) { + $result.jumpDesc = jumpDesc; + } + if (title != null) { + $result.title = title; + } + if (brief != null) { + $result.brief = brief; + } + if (price != null) { + $result.price = price; + } + if (itemId != null) { + $result.itemId = itemId; + } + if (schemaUrl != null) { + $result.schemaUrl = schemaUrl; + } + if (openWhiteList != null) { + $result.openWhiteList.addAll(openWhiteList); + } + if (userWebV2 != null) { + $result.userWebV2 = userWebV2; + } + if (adMark != null) { + $result.adMark = adMark; + } + if (appName != null) { + $result.appName = appName; + } + if (jumpType != null) { + $result.jumpType = jumpType; + } + return $result; + } + GoodsItem._() : super(); + factory GoodsItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory GoodsItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'GoodsItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'cover') + ..aOS(2, _omitFieldNames ? '' : 'schemaPackageName') + ..a<$core.int>(3, _omitFieldNames ? '' : 'sourceType', $pb.PbFieldType.O3) + ..aOS(4, _omitFieldNames ? '' : 'jumpUrl') + ..aOS(5, _omitFieldNames ? '' : 'jumpDesc') + ..aOS(6, _omitFieldNames ? '' : 'title') + ..aOS(7, _omitFieldNames ? '' : 'brief') + ..aOS(8, _omitFieldNames ? '' : 'price') + ..aInt64(9, _omitFieldNames ? '' : 'itemId') + ..aOS(10, _omitFieldNames ? '' : 'schemaUrl') + ..pPS(11, _omitFieldNames ? '' : 'openWhiteList') + ..aOB(12, _omitFieldNames ? '' : 'userWebV2') + ..aOS(13, _omitFieldNames ? '' : 'adMark') + ..aOS(14, _omitFieldNames ? '' : 'appName') + ..e( + 15, _omitFieldNames ? '' : 'jumpType', $pb.PbFieldType.OE, + defaultOrMaker: GoodsJumpType.goods_none, + valueOf: GoodsJumpType.valueOf, + enumValues: GoodsJumpType.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') + GoodsItem clone() => GoodsItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GoodsItem copyWith(void Function(GoodsItem) updates) => + super.copyWith((message) => updates(message as GoodsItem)) as GoodsItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GoodsItem create() => GoodsItem._(); + GoodsItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GoodsItem getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GoodsItem? _defaultInstance; + + /// 图片 + @$pb.TagNumber(1) + $core.String get cover => $_getSZ(0); + @$pb.TagNumber(1) + set cover($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCover() => $_has(0); + @$pb.TagNumber(1) + void clearCover() => clearField(1); + + /// schemaPackageName(Android用) + @$pb.TagNumber(2) + $core.String get schemaPackageName => $_getSZ(1); + @$pb.TagNumber(2) + set schemaPackageName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasSchemaPackageName() => $_has(1); + @$pb.TagNumber(2) + void clearSchemaPackageName() => clearField(2); + + /// 商品类型 + /// 1:淘宝 2:会员购 + @$pb.TagNumber(3) + $core.int get sourceType => $_getIZ(2); + @$pb.TagNumber(3) + set sourceType($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasSourceType() => $_has(2); + @$pb.TagNumber(3) + void clearSourceType() => clearField(3); + + /// 跳转链接 + @$pb.TagNumber(4) + $core.String get jumpUrl => $_getSZ(3); + @$pb.TagNumber(4) + set jumpUrl($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasJumpUrl() => $_has(3); + @$pb.TagNumber(4) + void clearJumpUrl() => clearField(4); + + /// 跳转文案 + @$pb.TagNumber(5) + $core.String get jumpDesc => $_getSZ(4); + @$pb.TagNumber(5) + set jumpDesc($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasJumpDesc() => $_has(4); + @$pb.TagNumber(5) + void clearJumpDesc() => clearField(5); + + /// 标题 + @$pb.TagNumber(6) + $core.String get title => $_getSZ(5); + @$pb.TagNumber(6) + set title($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasTitle() => $_has(5); + @$pb.TagNumber(6) + void clearTitle() => clearField(6); + + /// 摘要 + @$pb.TagNumber(7) + $core.String get brief => $_getSZ(6); + @$pb.TagNumber(7) + set brief($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasBrief() => $_has(6); + @$pb.TagNumber(7) + void clearBrief() => clearField(7); + + /// 价格 + @$pb.TagNumber(8) + $core.String get price => $_getSZ(7); + @$pb.TagNumber(8) + set price($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasPrice() => $_has(7); + @$pb.TagNumber(8) + void clearPrice() => clearField(8); + + /// item_id + @$pb.TagNumber(9) + $fixnum.Int64 get itemId => $_getI64(8); + @$pb.TagNumber(9) + set itemId($fixnum.Int64 v) { + $_setInt64(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasItemId() => $_has(8); + @$pb.TagNumber(9) + void clearItemId() => clearField(9); + + /// schema_url + @$pb.TagNumber(10) + $core.String get schemaUrl => $_getSZ(9); + @$pb.TagNumber(10) + set schemaUrl($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasSchemaUrl() => $_has(9); + @$pb.TagNumber(10) + void clearSchemaUrl() => clearField(10); + + /// open_white_list + @$pb.TagNumber(11) + $core.List<$core.String> get openWhiteList => $_getList(10); + + /// use_web_v2 + @$pb.TagNumber(12) + $core.bool get userWebV2 => $_getBF(11); + @$pb.TagNumber(12) + set userWebV2($core.bool v) { + $_setBool(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasUserWebV2() => $_has(11); + @$pb.TagNumber(12) + void clearUserWebV2() => clearField(12); + + /// ad mark + @$pb.TagNumber(13) + $core.String get adMark => $_getSZ(12); + @$pb.TagNumber(13) + set adMark($core.String v) { + $_setString(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasAdMark() => $_has(12); + @$pb.TagNumber(13) + void clearAdMark() => clearField(13); + + @$pb.TagNumber(14) + $core.String get appName => $_getSZ(13); + @$pb.TagNumber(14) + set appName($core.String v) { + $_setString(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasAppName() => $_has(13); + @$pb.TagNumber(14) + void clearAppName() => clearField(14); + + @$pb.TagNumber(15) + GoodsJumpType get jumpType => $_getN(14); + @$pb.TagNumber(15) + set jumpType(GoodsJumpType v) { + setField(15, v); + } + + @$pb.TagNumber(15) + $core.bool hasJumpType() => $_has(14); + @$pb.TagNumber(15) + void clearJumpType() => clearField(15); +} + +class GuideBarInfo extends $pb.GeneratedMessage { + factory GuideBarInfo({ + $core.int? show, + $core.int? page, + $core.int? position, + $core.String? desc, + $core.int? jumpPage, + $core.int? jumpPosition, + }) { + final $result = create(); + if (show != null) { + $result.show = show; + } + if (page != null) { + $result.page = page; + } + if (position != null) { + $result.position = position; + } + if (desc != null) { + $result.desc = desc; + } + if (jumpPage != null) { + $result.jumpPage = jumpPage; + } + if (jumpPosition != null) { + $result.jumpPosition = jumpPosition; + } + return $result; + } + GuideBarInfo._() : super(); + factory GuideBarInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory GuideBarInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'GuideBarInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'show', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'page', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'position', $pb.PbFieldType.O3) + ..aOS(4, _omitFieldNames ? '' : 'desc') + ..a<$core.int>(5, _omitFieldNames ? '' : 'jumpPage', $pb.PbFieldType.O3) + ..a<$core.int>(6, _omitFieldNames ? '' : 'jumpPosition', $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') + GuideBarInfo clone() => GuideBarInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GuideBarInfo copyWith(void Function(GuideBarInfo) updates) => + super.copyWith((message) => updates(message as GuideBarInfo)) + as GuideBarInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GuideBarInfo create() => GuideBarInfo._(); + GuideBarInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GuideBarInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static GuideBarInfo? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get show => $_getIZ(0); + @$pb.TagNumber(1) + set show($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasShow() => $_has(0); + @$pb.TagNumber(1) + void clearShow() => clearField(1); + + @$pb.TagNumber(2) + $core.int get page => $_getIZ(1); + @$pb.TagNumber(2) + set page($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasPage() => $_has(1); + @$pb.TagNumber(2) + void clearPage() => clearField(2); + + @$pb.TagNumber(3) + $core.int get position => $_getIZ(2); + @$pb.TagNumber(3) + set position($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasPosition() => $_has(2); + @$pb.TagNumber(3) + void clearPosition() => clearField(3); + + @$pb.TagNumber(4) + $core.String get desc => $_getSZ(3); + @$pb.TagNumber(4) + set desc($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDesc() => $_has(3); + @$pb.TagNumber(4) + void clearDesc() => clearField(4); + + @$pb.TagNumber(5) + $core.int get jumpPage => $_getIZ(4); + @$pb.TagNumber(5) + set jumpPage($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasJumpPage() => $_has(4); + @$pb.TagNumber(5) + void clearJumpPage() => clearField(5); + + @$pb.TagNumber(6) + $core.int get jumpPosition => $_getIZ(5); + @$pb.TagNumber(6) + set jumpPosition($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasJumpPosition() => $_has(5); + @$pb.TagNumber(6) + void clearJumpPosition() => clearField(6); +} + +/// 高亮文本 +class HighlightText extends $pb.GeneratedMessage { + factory HighlightText({ + $core.String? text, + HighlightTextStyle? textStyle, + $core.String? jumpUrl, + $core.String? icon, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + if (textStyle != null) { + $result.textStyle = textStyle; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + if (icon != null) { + $result.icon = icon; + } + return $result; + } + HighlightText._() : super(); + factory HighlightText.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory HighlightText.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'HighlightText', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..e( + 2, _omitFieldNames ? '' : 'textStyle', $pb.PbFieldType.OE, + defaultOrMaker: HighlightTextStyle.style_none, + valueOf: HighlightTextStyle.valueOf, + enumValues: HighlightTextStyle.values) + ..aOS(3, _omitFieldNames ? '' : 'jumpUrl') + ..aOS(4, _omitFieldNames ? '' : 'icon') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + HighlightText clone() => HighlightText()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + HighlightText copyWith(void Function(HighlightText) updates) => + super.copyWith((message) => updates(message as HighlightText)) + as HighlightText; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static HighlightText create() => HighlightText._(); + HighlightText createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static HighlightText getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static HighlightText? _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); + + /// 高亮类型 + @$pb.TagNumber(2) + HighlightTextStyle get textStyle => $_getN(1); + @$pb.TagNumber(2) + set textStyle(HighlightTextStyle v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasTextStyle() => $_has(1); + @$pb.TagNumber(2) + void clearTextStyle() => clearField(2); + + @$pb.TagNumber(3) + $core.String get jumpUrl => $_getSZ(2); + @$pb.TagNumber(3) + set jumpUrl($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasJumpUrl() => $_has(2); + @$pb.TagNumber(3) + void clearJumpUrl() => clearField(3); + + @$pb.TagNumber(4) + $core.String get icon => $_getSZ(3); + @$pb.TagNumber(4) + set icon($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIcon() => $_has(3); + @$pb.TagNumber(4) + void clearIcon() => clearField(4); +} + +class HomeSubscribeReply extends $pb.GeneratedMessage { + factory HomeSubscribeReply({ + $core.int? online, + }) { + final $result = create(); + if (online != null) { + $result.online = online; + } + return $result; + } + HomeSubscribeReply._() : super(); + factory HomeSubscribeReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory HomeSubscribeReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'HomeSubscribeReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'online', $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') + HomeSubscribeReply clone() => HomeSubscribeReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + HomeSubscribeReply copyWith(void Function(HomeSubscribeReply) updates) => + super.copyWith((message) => updates(message as HomeSubscribeReply)) + as HomeSubscribeReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static HomeSubscribeReply create() => HomeSubscribeReply._(); + HomeSubscribeReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static HomeSubscribeReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static HomeSubscribeReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get online => $_getIZ(0); + @$pb.TagNumber(1) + set online($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasOnline() => $_has(0); + @$pb.TagNumber(1) + void clearOnline() => clearField(1); +} + +class HomeSubscribeReq extends $pb.GeneratedMessage { + factory HomeSubscribeReq({ + $fixnum.Int64? campusId, + $core.String? campusName, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + return $result; + } + HomeSubscribeReq._() : super(); + factory HomeSubscribeReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory HomeSubscribeReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'HomeSubscribeReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + HomeSubscribeReq clone() => HomeSubscribeReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + HomeSubscribeReq copyWith(void Function(HomeSubscribeReq) updates) => + super.copyWith((message) => updates(message as HomeSubscribeReq)) + as HomeSubscribeReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static HomeSubscribeReq create() => HomeSubscribeReq._(); + HomeSubscribeReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static HomeSubscribeReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static HomeSubscribeReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); +} + +class IconBadge extends $pb.GeneratedMessage { + factory IconBadge({ + $core.String? iconBgUrl, + $core.String? text, + }) { + final $result = create(); + if (iconBgUrl != null) { + $result.iconBgUrl = iconBgUrl; + } + if (text != null) { + $result.text = text; + } + return $result; + } + IconBadge._() : super(); + factory IconBadge.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory IconBadge.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'IconBadge', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'iconBgUrl') + ..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') + IconBadge clone() => IconBadge()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + IconBadge copyWith(void Function(IconBadge) updates) => + super.copyWith((message) => updates(message as IconBadge)) as IconBadge; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static IconBadge create() => IconBadge._(); + IconBadge createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static IconBadge getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static IconBadge? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get iconBgUrl => $_getSZ(0); + @$pb.TagNumber(1) + set iconBgUrl($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasIconBgUrl() => $_has(0); + @$pb.TagNumber(1) + void clearIconBgUrl() => 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 IconButton extends $pb.GeneratedMessage { + factory IconButton({ + $core.String? text, + $core.String? iconHead, + $core.String? iconTail, + $core.String? jumpUri, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + if (iconHead != null) { + $result.iconHead = iconHead; + } + if (iconTail != null) { + $result.iconTail = iconTail; + } + if (jumpUri != null) { + $result.jumpUri = jumpUri; + } + return $result; + } + IconButton._() : super(); + factory IconButton.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory IconButton.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'IconButton', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..aOS(2, _omitFieldNames ? '' : 'iconHead') + ..aOS(3, _omitFieldNames ? '' : 'iconTail') + ..aOS(4, _omitFieldNames ? '' : 'jumpUri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + IconButton clone() => IconButton()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + IconButton copyWith(void Function(IconButton) updates) => + super.copyWith((message) => updates(message as IconButton)) as IconButton; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static IconButton create() => IconButton._(); + IconButton createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static IconButton getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static IconButton? _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); + + @$pb.TagNumber(2) + $core.String get iconHead => $_getSZ(1); + @$pb.TagNumber(2) + set iconHead($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasIconHead() => $_has(1); + @$pb.TagNumber(2) + void clearIconHead() => clearField(2); + + @$pb.TagNumber(3) + $core.String get iconTail => $_getSZ(2); + @$pb.TagNumber(3) + set iconTail($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIconTail() => $_has(2); + @$pb.TagNumber(3) + void clearIconTail() => clearField(3); + + @$pb.TagNumber(4) + $core.String get jumpUri => $_getSZ(3); + @$pb.TagNumber(4) + set jumpUri($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasJumpUri() => $_has(3); + @$pb.TagNumber(4) + void clearJumpUri() => clearField(4); +} + +class ImageSet extends $pb.GeneratedMessage { + factory ImageSet({ + $core.String? imgDay, + $core.String? imgDark, + }) { + final $result = create(); + if (imgDay != null) { + $result.imgDay = imgDay; + } + if (imgDark != null) { + $result.imgDark = imgDark; + } + return $result; + } + ImageSet._() : super(); + factory ImageSet.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ImageSet.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ImageSet', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'imgDay') + ..aOS(2, _omitFieldNames ? '' : 'imgDark') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ImageSet clone() => ImageSet()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ImageSet copyWith(void Function(ImageSet) updates) => + super.copyWith((message) => updates(message as ImageSet)) as ImageSet; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ImageSet create() => ImageSet._(); + ImageSet createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ImageSet getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ImageSet? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get imgDay => $_getSZ(0); + @$pb.TagNumber(1) + set imgDay($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasImgDay() => $_has(0); + @$pb.TagNumber(1) + void clearImgDay() => clearField(1); + + @$pb.TagNumber(2) + $core.String get imgDark => $_getSZ(1); + @$pb.TagNumber(2) + set imgDark($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasImgDark() => $_has(1); + @$pb.TagNumber(2) + void clearImgDark() => clearField(2); +} + +class ImgInlineCfg extends $pb.GeneratedMessage { + factory ImgInlineCfg({ + $core.double? width, + $core.double? height, + Colors? color, + }) { + final $result = create(); + if (width != null) { + $result.width = width; + } + if (height != null) { + $result.height = height; + } + if (color != null) { + $result.color = color; + } + return $result; + } + ImgInlineCfg._() : super(); + factory ImgInlineCfg.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ImgInlineCfg.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ImgInlineCfg', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OD) + ..a<$core.double>(2, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OD) + ..aOM(3, _omitFieldNames ? '' : 'color', subBuilder: Colors.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') + ImgInlineCfg clone() => ImgInlineCfg()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ImgInlineCfg copyWith(void Function(ImgInlineCfg) updates) => + super.copyWith((message) => updates(message as ImgInlineCfg)) + as ImgInlineCfg; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ImgInlineCfg create() => ImgInlineCfg._(); + ImgInlineCfg createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ImgInlineCfg getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ImgInlineCfg? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get width => $_getN(0); + @$pb.TagNumber(1) + set width($core.double v) { + $_setDouble(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasWidth() => $_has(0); + @$pb.TagNumber(1) + void clearWidth() => clearField(1); + + @$pb.TagNumber(2) + $core.double get height => $_getN(1); + @$pb.TagNumber(2) + set height($core.double v) { + $_setDouble(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasHeight() => $_has(1); + @$pb.TagNumber(2) + void clearHeight() => clearField(2); + + @$pb.TagNumber(3) + Colors get color => $_getN(2); + @$pb.TagNumber(3) + set color(Colors v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasColor() => $_has(2); + @$pb.TagNumber(3) + void clearColor() => clearField(3); + @$pb.TagNumber(3) + Colors ensureColor() => $_ensure(2); +} + +/// 动态-拓展小卡模块-ogv小卡-(one of 片单、榜单、分区) +class InfoOGV extends $pb.GeneratedMessage { + factory InfoOGV({ + $core.String? title, + $core.String? uri, + $core.String? icon, + $core.String? subModule, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (uri != null) { + $result.uri = uri; + } + if (icon != null) { + $result.icon = icon; + } + if (subModule != null) { + $result.subModule = subModule; + } + return $result; + } + InfoOGV._() : super(); + factory InfoOGV.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory InfoOGV.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'InfoOGV', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'icon') + ..aOS(4, _omitFieldNames ? '' : 'subModule') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + InfoOGV clone() => InfoOGV()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + InfoOGV copyWith(void Function(InfoOGV) updates) => + super.copyWith((message) => updates(message as InfoOGV)) as InfoOGV; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static InfoOGV create() => InfoOGV._(); + InfoOGV createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static InfoOGV getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static InfoOGV? _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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 小图标 + @$pb.TagNumber(3) + $core.String get icon => $_getSZ(2); + @$pb.TagNumber(3) + set icon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIcon() => $_has(2); + @$pb.TagNumber(3) + void clearIcon() => clearField(3); + + /// 客户端埋点用 + @$pb.TagNumber(4) + $core.String get subModule => $_getSZ(3); + @$pb.TagNumber(4) + set subModule($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasSubModule() => $_has(3); + @$pb.TagNumber(4) + void clearSubModule() => clearField(4); +} + +class InteractionFace extends $pb.GeneratedMessage { + factory InteractionFace({ + $fixnum.Int64? mid, + $core.String? face, + }) { + final $result = create(); + if (mid != null) { + $result.mid = mid; + } + if (face != null) { + $result.face = face; + } + return $result; + } + InteractionFace._() : super(); + factory InteractionFace.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory InteractionFace.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'InteractionFace', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'mid') + ..aOS(2, _omitFieldNames ? '' : 'face') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + InteractionFace clone() => InteractionFace()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + InteractionFace copyWith(void Function(InteractionFace) updates) => + super.copyWith((message) => updates(message as InteractionFace)) + as InteractionFace; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static InteractionFace create() => InteractionFace._(); + InteractionFace createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static InteractionFace getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static InteractionFace? _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); +} + +/// 外露交互模块 +class InteractionItem extends $pb.GeneratedMessage { + factory InteractionItem({ + LocalIconType? iconType, + $core.Iterable? desc, + $core.String? uri, + $core.String? dynamicId, + $fixnum.Int64? commentMid, + $core.Iterable? faces, + InteractionStat? stat, + $core.String? icon, + }) { + final $result = create(); + if (iconType != null) { + $result.iconType = iconType; + } + if (desc != null) { + $result.desc.addAll(desc); + } + if (uri != null) { + $result.uri = uri; + } + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (commentMid != null) { + $result.commentMid = commentMid; + } + if (faces != null) { + $result.faces.addAll(faces); + } + if (stat != null) { + $result.stat = stat; + } + if (icon != null) { + $result.icon = icon; + } + return $result; + } + InteractionItem._() : super(); + factory InteractionItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory InteractionItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'InteractionItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'iconType', $pb.PbFieldType.OE, + defaultOrMaker: LocalIconType.local_icon_comment, + valueOf: LocalIconType.valueOf, + enumValues: LocalIconType.values) + ..pc(2, _omitFieldNames ? '' : 'desc', $pb.PbFieldType.PM, + subBuilder: Description.create) + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'dynamicId') + ..aInt64(6, _omitFieldNames ? '' : 'commentMid') + ..pc(7, _omitFieldNames ? '' : 'faces', $pb.PbFieldType.PM, + subBuilder: InteractionFace.create) + ..aOM(8, _omitFieldNames ? '' : 'stat', + subBuilder: InteractionStat.create) + ..aOS(9, _omitFieldNames ? '' : 'icon') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + InteractionItem clone() => InteractionItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + InteractionItem copyWith(void Function(InteractionItem) updates) => + super.copyWith((message) => updates(message as InteractionItem)) + as InteractionItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static InteractionItem create() => InteractionItem._(); + InteractionItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static InteractionItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static InteractionItem? _defaultInstance; + + /// 外露模块类型 + @$pb.TagNumber(1) + LocalIconType get iconType => $_getN(0); + @$pb.TagNumber(1) + set iconType(LocalIconType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasIconType() => $_has(0); + @$pb.TagNumber(1) + void clearIconType() => clearField(1); + + /// 外露模块文案 + @$pb.TagNumber(2) + $core.List get desc => $_getList(1); + + /// 外露模块uri相关 根据type不同用法不同 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// 动态id + @$pb.TagNumber(4) + $core.String get dynamicId => $_getSZ(3); + @$pb.TagNumber(4) + set dynamicId($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDynamicId() => $_has(3); + @$pb.TagNumber(4) + void clearDynamicId() => clearField(4); + + /// 评论mid + @$pb.TagNumber(6) + $fixnum.Int64 get commentMid => $_getI64(4); + @$pb.TagNumber(6) + set commentMid($fixnum.Int64 v) { + $_setInt64(4, v); + } + + @$pb.TagNumber(6) + $core.bool hasCommentMid() => $_has(4); + @$pb.TagNumber(6) + void clearCommentMid() => clearField(6); + + @$pb.TagNumber(7) + $core.List get faces => $_getList(5); + + @$pb.TagNumber(8) + InteractionStat get stat => $_getN(6); + @$pb.TagNumber(8) + set stat(InteractionStat v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasStat() => $_has(6); + @$pb.TagNumber(8) + void clearStat() => clearField(8); + @$pb.TagNumber(8) + InteractionStat ensureStat() => $_ensure(6); + + @$pb.TagNumber(9) + $core.String get icon => $_getSZ(7); + @$pb.TagNumber(9) + set icon($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(9) + $core.bool hasIcon() => $_has(7); + @$pb.TagNumber(9) + void clearIcon() => clearField(9); +} + +class InteractionStat extends $pb.GeneratedMessage { + factory InteractionStat({ + $fixnum.Int64? like, + }) { + final $result = create(); + if (like != null) { + $result.like = like; + } + return $result; + } + InteractionStat._() : super(); + factory InteractionStat.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory InteractionStat.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'InteractionStat', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'like') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + InteractionStat clone() => InteractionStat()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + InteractionStat copyWith(void Function(InteractionStat) updates) => + super.copyWith((message) => updates(message as InteractionStat)) + as InteractionStat; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static InteractionStat create() => InteractionStat._(); + InteractionStat createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static InteractionStat getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static InteractionStat? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get like => $_getI64(0); + @$pb.TagNumber(1) + set like($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasLike() => $_has(0); + @$pb.TagNumber(1) + void clearLike() => clearField(1); +} + +class LbsPoiDetail extends $pb.GeneratedMessage { + factory LbsPoiDetail({ + $core.String? poi, + $fixnum.Int64? type, + $core.Iterable<$core.String>? basePic, + $core.Iterable<$core.String>? cover, + $core.String? address, + $core.String? title, + }) { + final $result = create(); + if (poi != null) { + $result.poi = poi; + } + if (type != null) { + $result.type = type; + } + if (basePic != null) { + $result.basePic.addAll(basePic); + } + if (cover != null) { + $result.cover.addAll(cover); + } + if (address != null) { + $result.address = address; + } + if (title != null) { + $result.title = title; + } + return $result; + } + LbsPoiDetail._() : super(); + factory LbsPoiDetail.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LbsPoiDetail.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LbsPoiDetail', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'poi') + ..aInt64(2, _omitFieldNames ? '' : 'type') + ..pPS(3, _omitFieldNames ? '' : 'basePic') + ..pPS(4, _omitFieldNames ? '' : 'cover') + ..aOS(5, _omitFieldNames ? '' : 'address') + ..aOS(6, _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') + LbsPoiDetail clone() => LbsPoiDetail()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LbsPoiDetail copyWith(void Function(LbsPoiDetail) updates) => + super.copyWith((message) => updates(message as LbsPoiDetail)) + as LbsPoiDetail; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LbsPoiDetail create() => LbsPoiDetail._(); + LbsPoiDetail createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LbsPoiDetail getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static LbsPoiDetail? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get poi => $_getSZ(0); + @$pb.TagNumber(1) + set poi($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasPoi() => $_has(0); + @$pb.TagNumber(1) + void clearPoi() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get type => $_getI64(1); + @$pb.TagNumber(2) + set type($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasType() => $_has(1); + @$pb.TagNumber(2) + void clearType() => clearField(2); + + @$pb.TagNumber(3) + $core.List<$core.String> get basePic => $_getList(2); + + @$pb.TagNumber(4) + $core.List<$core.String> get cover => $_getList(3); + + @$pb.TagNumber(5) + $core.String get address => $_getSZ(4); + @$pb.TagNumber(5) + set address($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasAddress() => $_has(4); + @$pb.TagNumber(5) + void clearAddress() => clearField(5); + + @$pb.TagNumber(6) + $core.String get title => $_getSZ(5); + @$pb.TagNumber(6) + set title($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasTitle() => $_has(5); + @$pb.TagNumber(6) + void clearTitle() => clearField(6); +} + +class LbsPoiReply extends $pb.GeneratedMessage { + factory LbsPoiReply({ + $core.bool? hasMore, + $core.String? offset, + LbsPoiDetail? detail, + $core.Iterable? list, + }) { + final $result = create(); + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (offset != null) { + $result.offset = offset; + } + if (detail != null) { + $result.detail = detail; + } + if (list != null) { + $result.list.addAll(list); + } + return $result; + } + LbsPoiReply._() : super(); + factory LbsPoiReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LbsPoiReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LbsPoiReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'hasMore') + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..aOM(3, _omitFieldNames ? '' : 'detail', + subBuilder: LbsPoiDetail.create) + ..pc(4, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.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') + LbsPoiReply clone() => LbsPoiReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LbsPoiReply copyWith(void Function(LbsPoiReply) updates) => + super.copyWith((message) => updates(message as LbsPoiReply)) + as LbsPoiReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LbsPoiReply create() => LbsPoiReply._(); + LbsPoiReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LbsPoiReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static LbsPoiReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get hasMore => $_getBF(0); + @$pb.TagNumber(1) + set hasMore($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHasMore() => $_has(0); + @$pb.TagNumber(1) + void clearHasMore() => clearField(1); + + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + @$pb.TagNumber(3) + LbsPoiDetail get detail => $_getN(2); + @$pb.TagNumber(3) + set detail(LbsPoiDetail v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasDetail() => $_has(2); + @$pb.TagNumber(3) + void clearDetail() => clearField(3); + @$pb.TagNumber(3) + LbsPoiDetail ensureDetail() => $_ensure(2); + + @$pb.TagNumber(4) + $core.List get list => $_getList(3); +} + +class LbsPoiReq extends $pb.GeneratedMessage { + factory LbsPoiReq({ + $core.String? poi, + $fixnum.Int64? type, + $core.String? offset, + $core.int? refreshType, + $core.int? localTime, + $1.PlayerArgs? playerArgs, + }) { + final $result = create(); + if (poi != null) { + $result.poi = poi; + } + if (type != null) { + $result.type = type; + } + if (offset != null) { + $result.offset = offset; + } + if (refreshType != null) { + $result.refreshType = refreshType; + } + if (localTime != null) { + $result.localTime = localTime; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + return $result; + } + LbsPoiReq._() : super(); + factory LbsPoiReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LbsPoiReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LbsPoiReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'poi') + ..aInt64(2, _omitFieldNames ? '' : 'type') + ..aOS(3, _omitFieldNames ? '' : 'offset') + ..a<$core.int>(4, _omitFieldNames ? '' : 'refreshType', $pb.PbFieldType.O3) + ..a<$core.int>(5, _omitFieldNames ? '' : 'localTime', $pb.PbFieldType.O3) + ..aOM<$1.PlayerArgs>(6, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.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') + LbsPoiReq clone() => LbsPoiReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LbsPoiReq copyWith(void Function(LbsPoiReq) updates) => + super.copyWith((message) => updates(message as LbsPoiReq)) as LbsPoiReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LbsPoiReq create() => LbsPoiReq._(); + LbsPoiReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LbsPoiReq getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LbsPoiReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get poi => $_getSZ(0); + @$pb.TagNumber(1) + set poi($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasPoi() => $_has(0); + @$pb.TagNumber(1) + void clearPoi() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get type => $_getI64(1); + @$pb.TagNumber(2) + set type($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasType() => $_has(1); + @$pb.TagNumber(2) + void clearType() => clearField(2); + + @$pb.TagNumber(3) + $core.String get offset => $_getSZ(2); + @$pb.TagNumber(3) + set offset($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOffset() => $_has(2); + @$pb.TagNumber(3) + void clearOffset() => clearField(3); + + @$pb.TagNumber(4) + $core.int get refreshType => $_getIZ(3); + @$pb.TagNumber(4) + set refreshType($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasRefreshType() => $_has(3); + @$pb.TagNumber(4) + void clearRefreshType() => clearField(4); + + @$pb.TagNumber(5) + $core.int get localTime => $_getIZ(4); + @$pb.TagNumber(5) + set localTime($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasLocalTime() => $_has(4); + @$pb.TagNumber(5) + void clearLocalTime() => clearField(5); + + @$pb.TagNumber(6) + $1.PlayerArgs get playerArgs => $_getN(5); + @$pb.TagNumber(6) + set playerArgs($1.PlayerArgs v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasPlayerArgs() => $_has(5); + @$pb.TagNumber(6) + void clearPlayerArgs() => clearField(6); + @$pb.TagNumber(6) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(5); +} + +class LegacyTopicFeedReply extends $pb.GeneratedMessage { + factory LegacyTopicFeedReply({ + $core.Iterable? list, + $core.bool? hasMore, + $core.String? offset, + $core.Iterable? supportedSortTypes, + $core.Iterable? feedCardFilters, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (offset != null) { + $result.offset = offset; + } + if (supportedSortTypes != null) { + $result.supportedSortTypes.addAll(supportedSortTypes); + } + if (feedCardFilters != null) { + $result.feedCardFilters.addAll(feedCardFilters); + } + return $result; + } + LegacyTopicFeedReply._() : super(); + factory LegacyTopicFeedReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LegacyTopicFeedReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LegacyTopicFeedReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOB(2, _omitFieldNames ? '' : 'hasMore') + ..aOS(3, _omitFieldNames ? '' : 'offset') + ..pc( + 4, _omitFieldNames ? '' : 'supportedSortTypes', $pb.PbFieldType.PM, + subBuilder: SortType.create) + ..pc( + 5, _omitFieldNames ? '' : 'feedCardFilters', $pb.PbFieldType.PM, + subBuilder: SortType.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') + LegacyTopicFeedReply clone() => + LegacyTopicFeedReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LegacyTopicFeedReply copyWith(void Function(LegacyTopicFeedReply) updates) => + super.copyWith((message) => updates(message as LegacyTopicFeedReply)) + as LegacyTopicFeedReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LegacyTopicFeedReply create() => LegacyTopicFeedReply._(); + LegacyTopicFeedReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LegacyTopicFeedReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static LegacyTopicFeedReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get list => $_getList(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); + + @$pb.TagNumber(3) + $core.String get offset => $_getSZ(2); + @$pb.TagNumber(3) + set offset($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOffset() => $_has(2); + @$pb.TagNumber(3) + void clearOffset() => clearField(3); + + @$pb.TagNumber(4) + $core.List get supportedSortTypes => $_getList(3); + + @$pb.TagNumber(5) + $core.List get feedCardFilters => $_getList(4); +} + +class LegacyTopicFeedReq extends $pb.GeneratedMessage { + factory LegacyTopicFeedReq({ + $fixnum.Int64? topicId, + $core.String? topicName, + $core.String? offset, + SortType? sortType, + SortType? cardFilter, + }) { + final $result = create(); + if (topicId != null) { + $result.topicId = topicId; + } + if (topicName != null) { + $result.topicName = topicName; + } + if (offset != null) { + $result.offset = offset; + } + if (sortType != null) { + $result.sortType = sortType; + } + if (cardFilter != null) { + $result.cardFilter = cardFilter; + } + return $result; + } + LegacyTopicFeedReq._() : super(); + factory LegacyTopicFeedReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LegacyTopicFeedReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LegacyTopicFeedReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'topicId') + ..aOS(2, _omitFieldNames ? '' : 'topicName') + ..aOS(3, _omitFieldNames ? '' : 'offset') + ..aOM(4, _omitFieldNames ? '' : 'sortType', + subBuilder: SortType.create) + ..aOM(5, _omitFieldNames ? '' : 'cardFilter', + subBuilder: SortType.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') + LegacyTopicFeedReq clone() => LegacyTopicFeedReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LegacyTopicFeedReq copyWith(void Function(LegacyTopicFeedReq) updates) => + super.copyWith((message) => updates(message as LegacyTopicFeedReq)) + as LegacyTopicFeedReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LegacyTopicFeedReq create() => LegacyTopicFeedReq._(); + LegacyTopicFeedReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LegacyTopicFeedReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static LegacyTopicFeedReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get topicId => $_getI64(0); + @$pb.TagNumber(1) + set topicId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasTopicId() => $_has(0); + @$pb.TagNumber(1) + void clearTopicId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get topicName => $_getSZ(1); + @$pb.TagNumber(2) + set topicName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasTopicName() => $_has(1); + @$pb.TagNumber(2) + void clearTopicName() => clearField(2); + + @$pb.TagNumber(3) + $core.String get offset => $_getSZ(2); + @$pb.TagNumber(3) + set offset($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOffset() => $_has(2); + @$pb.TagNumber(3) + void clearOffset() => clearField(3); + + @$pb.TagNumber(4) + SortType get sortType => $_getN(3); + @$pb.TagNumber(4) + set sortType(SortType v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasSortType() => $_has(3); + @$pb.TagNumber(4) + void clearSortType() => clearField(4); + @$pb.TagNumber(4) + SortType ensureSortType() => $_ensure(3); + + @$pb.TagNumber(5) + SortType get cardFilter => $_getN(4); + @$pb.TagNumber(5) + set cardFilter(SortType v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasCardFilter() => $_has(4); + @$pb.TagNumber(5) + void clearCardFilter() => clearField(5); + @$pb.TagNumber(5) + SortType ensureCardFilter() => $_ensure(4); +} + +/// 点赞动画 +class LikeAnimation extends $pb.GeneratedMessage { + factory LikeAnimation({ + $core.String? begin, + $core.String? proc, + $core.String? end, + $fixnum.Int64? likeIconId, + }) { + final $result = create(); + if (begin != null) { + $result.begin = begin; + } + if (proc != null) { + $result.proc = proc; + } + if (end != null) { + $result.end = end; + } + if (likeIconId != null) { + $result.likeIconId = likeIconId; + } + return $result; + } + LikeAnimation._() : super(); + factory LikeAnimation.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LikeAnimation.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LikeAnimation', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'begin') + ..aOS(2, _omitFieldNames ? '' : 'proc') + ..aOS(3, _omitFieldNames ? '' : 'end') + ..aInt64(4, _omitFieldNames ? '' : 'likeIconId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LikeAnimation clone() => LikeAnimation()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LikeAnimation copyWith(void Function(LikeAnimation) updates) => + super.copyWith((message) => updates(message as LikeAnimation)) + as LikeAnimation; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LikeAnimation create() => LikeAnimation._(); + LikeAnimation createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LikeAnimation getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static LikeAnimation? _defaultInstance; + + /// 开始动画 + @$pb.TagNumber(1) + $core.String get begin => $_getSZ(0); + @$pb.TagNumber(1) + set begin($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasBegin() => $_has(0); + @$pb.TagNumber(1) + void clearBegin() => clearField(1); + + /// 过程动画 + @$pb.TagNumber(2) + $core.String get proc => $_getSZ(1); + @$pb.TagNumber(2) + set proc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasProc() => $_has(1); + @$pb.TagNumber(2) + void clearProc() => clearField(2); + + /// 结束动画 + @$pb.TagNumber(3) + $core.String get end => $_getSZ(2); + @$pb.TagNumber(3) + set end($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasEnd() => $_has(2); + @$pb.TagNumber(3) + void clearEnd() => clearField(3); + + /// id + @$pb.TagNumber(4) + $fixnum.Int64 get likeIconId => $_getI64(3); + @$pb.TagNumber(4) + set likeIconId($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasLikeIconId() => $_has(3); + @$pb.TagNumber(4) + void clearLikeIconId() => clearField(4); +} + +/// 点赞拓展信息 +class LikeInfo extends $pb.GeneratedMessage { + factory LikeInfo({ + LikeAnimation? animation, + $core.bool? isLike, + }) { + final $result = create(); + if (animation != null) { + $result.animation = animation; + } + if (isLike != null) { + $result.isLike = isLike; + } + return $result; + } + LikeInfo._() : super(); + factory LikeInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LikeInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LikeInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'animation', + subBuilder: LikeAnimation.create) + ..aOB(2, _omitFieldNames ? '' : 'isLike') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LikeInfo clone() => LikeInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LikeInfo copyWith(void Function(LikeInfo) updates) => + super.copyWith((message) => updates(message as LikeInfo)) as LikeInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LikeInfo create() => LikeInfo._(); + LikeInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LikeInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LikeInfo? _defaultInstance; + + /// 点赞动画 + @$pb.TagNumber(1) + LikeAnimation get animation => $_getN(0); + @$pb.TagNumber(1) + set animation(LikeAnimation v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasAnimation() => $_has(0); + @$pb.TagNumber(1) + void clearAnimation() => clearField(1); + @$pb.TagNumber(1) + LikeAnimation ensureAnimation() => $_ensure(0); + + /// 是否点赞 + @$pb.TagNumber(2) + $core.bool get isLike => $_getBF(1); + @$pb.TagNumber(2) + set isLike($core.bool v) { + $_setBool(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasIsLike() => $_has(1); + @$pb.TagNumber(2) + void clearIsLike() => clearField(2); +} + +/// 点赞列表-响应 +class LikeListReply extends $pb.GeneratedMessage { + factory LikeListReply({ + $core.Iterable? list, + $core.bool? hasMore, + $fixnum.Int64? totalCount, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (totalCount != null) { + $result.totalCount = totalCount; + } + return $result; + } + LikeListReply._() : super(); + factory LikeListReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LikeListReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LikeListReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: ModuleAuthor.create) + ..aOB(2, _omitFieldNames ? '' : 'hasMore') + ..aInt64(3, _omitFieldNames ? '' : 'totalCount') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LikeListReply clone() => LikeListReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LikeListReply copyWith(void Function(LikeListReply) updates) => + super.copyWith((message) => updates(message as LikeListReply)) + as LikeListReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LikeListReply create() => LikeListReply._(); + LikeListReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LikeListReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static LikeListReply? _defaultInstance; + + /// 用户模块列表 + @$pb.TagNumber(1) + $core.List get list => $_getList(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); + + /// 点赞总数 + @$pb.TagNumber(3) + $fixnum.Int64 get totalCount => $_getI64(2); + @$pb.TagNumber(3) + set totalCount($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasTotalCount() => $_has(2); + @$pb.TagNumber(3) + void clearTotalCount() => clearField(3); +} + +/// 点赞列表-请求 +class LikeListReq extends $pb.GeneratedMessage { + factory LikeListReq({ + $core.String? dynamicId, + $fixnum.Int64? dynType, + $fixnum.Int64? rid, + $fixnum.Int64? uidOffset, + $core.int? page, + }) { + final $result = create(); + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (dynType != null) { + $result.dynType = dynType; + } + if (rid != null) { + $result.rid = rid; + } + if (uidOffset != null) { + $result.uidOffset = uidOffset; + } + if (page != null) { + $result.page = page; + } + return $result; + } + LikeListReq._() : super(); + factory LikeListReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LikeListReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LikeListReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'dynamicId') + ..aInt64(2, _omitFieldNames ? '' : 'dynType') + ..aInt64(3, _omitFieldNames ? '' : 'rid') + ..aInt64(4, _omitFieldNames ? '' : 'uidOffset') + ..a<$core.int>(5, _omitFieldNames ? '' : 'page', $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') + LikeListReq clone() => LikeListReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LikeListReq copyWith(void Function(LikeListReq) updates) => + super.copyWith((message) => updates(message as LikeListReq)) + as LikeListReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LikeListReq create() => LikeListReq._(); + LikeListReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LikeListReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static LikeListReq? _defaultInstance; + + /// 动态ID + @$pb.TagNumber(1) + $core.String get dynamicId => $_getSZ(0); + @$pb.TagNumber(1) + set dynamicId($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasDynamicId() => $_has(0); + @$pb.TagNumber(1) + void clearDynamicId() => clearField(1); + + /// 动态类型 + @$pb.TagNumber(2) + $fixnum.Int64 get dynType => $_getI64(1); + @$pb.TagNumber(2) + set dynType($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDynType() => $_has(1); + @$pb.TagNumber(2) + void clearDynType() => clearField(2); + + /// 业务方资源id + @$pb.TagNumber(3) + $fixnum.Int64 get rid => $_getI64(2); + @$pb.TagNumber(3) + set rid($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasRid() => $_has(2); + @$pb.TagNumber(3) + void clearRid() => clearField(3); + + /// 上一页最后一个uid + @$pb.TagNumber(4) + $fixnum.Int64 get uidOffset => $_getI64(3); + @$pb.TagNumber(4) + set uidOffset($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasUidOffset() => $_has(3); + @$pb.TagNumber(4) + void clearUidOffset() => clearField(4); + + /// 下拉页数 + @$pb.TagNumber(5) + $core.int get page => $_getIZ(4); + @$pb.TagNumber(5) + set page($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasPage() => $_has(4); + @$pb.TagNumber(5) + void clearPage() => clearField(5); +} + +/// 点赞用户 +class LikeUser extends $pb.GeneratedMessage { + factory LikeUser({ + $fixnum.Int64? uid, + $core.String? uname, + $core.String? uri, + }) { + final $result = create(); + if (uid != null) { + $result.uid = uid; + } + if (uname != null) { + $result.uname = uname; + } + if (uri != null) { + $result.uri = uri; + } + return $result; + } + LikeUser._() : super(); + factory LikeUser.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LikeUser.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LikeUser', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'uid') + ..aOS(2, _omitFieldNames ? '' : 'uname') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LikeUser clone() => LikeUser()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LikeUser copyWith(void Function(LikeUser) updates) => + super.copyWith((message) => updates(message as LikeUser)) as LikeUser; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LikeUser create() => LikeUser._(); + LikeUser createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LikeUser getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LikeUser? _defaultInstance; + + /// 用户mid + @$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.String get uname => $_getSZ(1); + @$pb.TagNumber(2) + set uname($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUname() => $_has(1); + @$pb.TagNumber(2) + void clearUname() => clearField(2); + + /// 点击跳转链接 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); +} + +class LineParagraph extends $pb.GeneratedMessage { + factory LineParagraph({ + MdlDynDrawItem? pic, + }) { + final $result = create(); + if (pic != null) { + $result.pic = pic; + } + return $result; + } + LineParagraph._() : super(); + factory LineParagraph.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LineParagraph.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LineParagraph', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'pic', + subBuilder: MdlDynDrawItem.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') + LineParagraph clone() => LineParagraph()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LineParagraph copyWith(void Function(LineParagraph) updates) => + super.copyWith((message) => updates(message as LineParagraph)) + as LineParagraph; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LineParagraph create() => LineParagraph._(); + LineParagraph createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LineParagraph getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static LineParagraph? _defaultInstance; + + @$pb.TagNumber(1) + MdlDynDrawItem get pic => $_getN(0); + @$pb.TagNumber(1) + set pic(MdlDynDrawItem v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasPic() => $_has(0); + @$pb.TagNumber(1) + void clearPic() => clearField(1); + @$pb.TagNumber(1) + MdlDynDrawItem ensurePic() => $_ensure(0); +} + +class LinkNode extends $pb.GeneratedMessage { + factory LinkNode({ + $core.String? showText, + $core.String? link, + $core.String? icon, + $core.String? iconSuffix, + $core.String? linkType, + LinkNodeType? linkTypeEnum, + $core.String? bizId, + $fixnum.Int64? timestamp, + GoodsItem? goodsItem, + NoteVideoTS? noteVideoTs, + }) { + final $result = create(); + if (showText != null) { + $result.showText = showText; + } + if (link != null) { + $result.link = link; + } + if (icon != null) { + $result.icon = icon; + } + if (iconSuffix != null) { + $result.iconSuffix = iconSuffix; + } + if (linkType != null) { + $result.linkType = linkType; + } + if (linkTypeEnum != null) { + $result.linkTypeEnum = linkTypeEnum; + } + if (bizId != null) { + $result.bizId = bizId; + } + if (timestamp != null) { + $result.timestamp = timestamp; + } + if (goodsItem != null) { + $result.goodsItem = goodsItem; + } + if (noteVideoTs != null) { + $result.noteVideoTs = noteVideoTs; + } + return $result; + } + LinkNode._() : super(); + factory LinkNode.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LinkNode.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LinkNode', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'showText') + ..aOS(2, _omitFieldNames ? '' : 'link') + ..aOS(3, _omitFieldNames ? '' : 'icon') + ..aOS(4, _omitFieldNames ? '' : 'iconSuffix') + ..aOS(5, _omitFieldNames ? '' : 'linkType') + ..e( + 6, _omitFieldNames ? '' : 'linkTypeEnum', $pb.PbFieldType.OE, + defaultOrMaker: LinkNodeType.INVALID, + valueOf: LinkNodeType.valueOf, + enumValues: LinkNodeType.values) + ..aOS(7, _omitFieldNames ? '' : 'bizId') + ..aInt64(8, _omitFieldNames ? '' : 'timestamp') + ..aOM(9, _omitFieldNames ? '' : 'goodsItem', + subBuilder: GoodsItem.create) + ..aOM(10, _omitFieldNames ? '' : 'noteVideoTs', + subBuilder: NoteVideoTS.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') + LinkNode clone() => LinkNode()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LinkNode copyWith(void Function(LinkNode) updates) => + super.copyWith((message) => updates(message as LinkNode)) as LinkNode; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LinkNode create() => LinkNode._(); + LinkNode createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LinkNode getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LinkNode? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get showText => $_getSZ(0); + @$pb.TagNumber(1) + set showText($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasShowText() => $_has(0); + @$pb.TagNumber(1) + void clearShowText() => clearField(1); + + @$pb.TagNumber(2) + $core.String get link => $_getSZ(1); + @$pb.TagNumber(2) + set link($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasLink() => $_has(1); + @$pb.TagNumber(2) + void clearLink() => clearField(2); + + @$pb.TagNumber(3) + $core.String get icon => $_getSZ(2); + @$pb.TagNumber(3) + set icon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIcon() => $_has(2); + @$pb.TagNumber(3) + void clearIcon() => clearField(3); + + @$pb.TagNumber(4) + $core.String get iconSuffix => $_getSZ(3); + @$pb.TagNumber(4) + set iconSuffix($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIconSuffix() => $_has(3); + @$pb.TagNumber(4) + void clearIconSuffix() => clearField(4); + + @$pb.TagNumber(5) + $core.String get linkType => $_getSZ(4); + @$pb.TagNumber(5) + set linkType($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasLinkType() => $_has(4); + @$pb.TagNumber(5) + void clearLinkType() => clearField(5); + + @$pb.TagNumber(6) + LinkNodeType get linkTypeEnum => $_getN(5); + @$pb.TagNumber(6) + set linkTypeEnum(LinkNodeType v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasLinkTypeEnum() => $_has(5); + @$pb.TagNumber(6) + void clearLinkTypeEnum() => clearField(6); + + @$pb.TagNumber(7) + $core.String get bizId => $_getSZ(6); + @$pb.TagNumber(7) + set bizId($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasBizId() => $_has(6); + @$pb.TagNumber(7) + void clearBizId() => clearField(7); + + @$pb.TagNumber(8) + $fixnum.Int64 get timestamp => $_getI64(7); + @$pb.TagNumber(8) + set timestamp($fixnum.Int64 v) { + $_setInt64(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasTimestamp() => $_has(7); + @$pb.TagNumber(8) + void clearTimestamp() => clearField(8); + + @$pb.TagNumber(9) + GoodsItem get goodsItem => $_getN(8); + @$pb.TagNumber(9) + set goodsItem(GoodsItem v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasGoodsItem() => $_has(8); + @$pb.TagNumber(9) + void clearGoodsItem() => clearField(9); + @$pb.TagNumber(9) + GoodsItem ensureGoodsItem() => $_ensure(8); + + @$pb.TagNumber(10) + NoteVideoTS get noteVideoTs => $_getN(9); + @$pb.TagNumber(10) + set noteVideoTs(NoteVideoTS v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasNoteVideoTs() => $_has(9); + @$pb.TagNumber(10) + void clearNoteVideoTs() => clearField(10); + @$pb.TagNumber(10) + NoteVideoTS ensureNoteVideoTs() => $_ensure(9); +} + +/// 直播信息 +class LiveInfo extends $pb.GeneratedMessage { + factory LiveInfo({ + $core.int? isLiving, + $core.String? uri, + LiveState? liveState, + }) { + final $result = create(); + if (isLiving != null) { + $result.isLiving = isLiving; + } + if (uri != null) { + $result.uri = uri; + } + if (liveState != null) { + $result.liveState = liveState; + } + return $result; + } + LiveInfo._() : super(); + factory LiveInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LiveInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LiveInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'isLiving', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..e(3, _omitFieldNames ? '' : 'liveState', $pb.PbFieldType.OE, + defaultOrMaker: LiveState.live_none, + valueOf: LiveState.valueOf, + enumValues: LiveState.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') + LiveInfo clone() => LiveInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LiveInfo copyWith(void Function(LiveInfo) updates) => + super.copyWith((message) => updates(message as LiveInfo)) as LiveInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LiveInfo create() => LiveInfo._(); + LiveInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LiveInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LiveInfo? _defaultInstance; + + /// 是否在直播 + /// 0:未直播 1:正在直播 (废弃) + @$pb.TagNumber(1) + $core.int get isLiving => $_getIZ(0); + @$pb.TagNumber(1) + set isLiving($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasIsLiving() => $_has(0); + @$pb.TagNumber(1) + void clearIsLiving() => clearField(1); + + /// 跳转链接 + @$pb.TagNumber(2) + $core.String get uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 直播状态 + @$pb.TagNumber(3) + LiveState get liveState => $_getN(2); + @$pb.TagNumber(3) + set liveState(LiveState v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasLiveState() => $_has(2); + @$pb.TagNumber(3) + void clearLiveState() => clearField(3); +} + +class LivePendant extends $pb.GeneratedMessage { + factory LivePendant({ + $core.String? text, + $core.String? icon, + $fixnum.Int64? pendantId, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + if (icon != null) { + $result.icon = icon; + } + if (pendantId != null) { + $result.pendantId = pendantId; + } + return $result; + } + LivePendant._() : super(); + factory LivePendant.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory LivePendant.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'LivePendant', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..aOS(2, _omitFieldNames ? '' : 'icon') + ..aInt64(3, _omitFieldNames ? '' : 'pendantId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LivePendant clone() => LivePendant()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LivePendant copyWith(void Function(LivePendant) updates) => + super.copyWith((message) => updates(message as LivePendant)) + as LivePendant; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LivePendant create() => LivePendant._(); + LivePendant createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LivePendant getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static LivePendant? _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); + + @$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) + $fixnum.Int64 get pendantId => $_getI64(2); + @$pb.TagNumber(3) + set pendantId($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasPendantId() => $_has(2); + @$pb.TagNumber(3) + void clearPendantId() => clearField(3); +} + +/// 动态-附加卡-电竞卡-战队 +class MatchTeam extends $pb.GeneratedMessage { + factory MatchTeam({ + $fixnum.Int64? id, + $core.String? name, + $core.String? cover, + $core.String? color, + $core.String? nightColor, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (name != null) { + $result.name = name; + } + if (cover != null) { + $result.cover = cover; + } + if (color != null) { + $result.color = color; + } + if (nightColor != null) { + $result.nightColor = nightColor; + } + return $result; + } + MatchTeam._() : super(); + factory MatchTeam.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MatchTeam.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MatchTeam', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aOS(3, _omitFieldNames ? '' : 'cover') + ..aOS(4, _omitFieldNames ? '' : 'color') + ..aOS(5, _omitFieldNames ? '' : 'nightColor') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MatchTeam clone() => MatchTeam()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MatchTeam copyWith(void Function(MatchTeam) updates) => + super.copyWith((message) => updates(message as MatchTeam)) as MatchTeam; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MatchTeam create() => MatchTeam._(); + MatchTeam createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MatchTeam getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MatchTeam? _defaultInstance; + + /// 战队ID + @$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) + $core.String get cover => $_getSZ(2); + @$pb.TagNumber(3) + set cover($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCover() => $_has(2); + @$pb.TagNumber(3) + void clearCover() => clearField(3); + + /// 日间色值 + @$pb.TagNumber(4) + $core.String get color => $_getSZ(3); + @$pb.TagNumber(4) + set color($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasColor() => $_has(3); + @$pb.TagNumber(4) + void clearColor() => clearField(4); + + /// 夜间色值 + @$pb.TagNumber(5) + $core.String get nightColor => $_getSZ(4); + @$pb.TagNumber(5) + set nightColor($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasNightColor() => $_has(4); + @$pb.TagNumber(5) + void clearNightColor() => clearField(5); +} + +/// 动态列表渲染部分-详情模块-小程序/小游戏 +class MdlDynApplet extends $pb.GeneratedMessage { + factory MdlDynApplet({ + $fixnum.Int64? id, + $core.String? uri, + $core.String? title, + $core.String? subTitle, + $core.String? cover, + $core.String? icon, + $core.String? label, + $core.String? buttonTitle, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (uri != null) { + $result.uri = uri; + } + if (title != null) { + $result.title = title; + } + if (subTitle != null) { + $result.subTitle = subTitle; + } + if (cover != null) { + $result.cover = cover; + } + if (icon != null) { + $result.icon = icon; + } + if (label != null) { + $result.label = label; + } + if (buttonTitle != null) { + $result.buttonTitle = buttonTitle; + } + return $result; + } + MdlDynApplet._() : super(); + factory MdlDynApplet.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynApplet.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynApplet', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'title') + ..aOS(5, _omitFieldNames ? '' : 'subTitle') + ..aOS(6, _omitFieldNames ? '' : 'cover') + ..aOS(7, _omitFieldNames ? '' : 'icon') + ..aOS(8, _omitFieldNames ? '' : 'label') + ..aOS(9, _omitFieldNames ? '' : 'buttonTitle') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynApplet clone() => MdlDynApplet()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynApplet copyWith(void Function(MdlDynApplet) updates) => + super.copyWith((message) => updates(message as MdlDynApplet)) + as MdlDynApplet; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynApplet create() => MdlDynApplet._(); + MdlDynApplet createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynApplet getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynApplet? _defaultInstance; + + /// 小程序id + @$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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 主标题 + @$pb.TagNumber(4) + $core.String get title => $_getSZ(2); + @$pb.TagNumber(4) + set title($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(4) + $core.bool hasTitle() => $_has(2); + @$pb.TagNumber(4) + void clearTitle() => clearField(4); + + /// 副标题 + @$pb.TagNumber(5) + $core.String get subTitle => $_getSZ(3); + @$pb.TagNumber(5) + set subTitle($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(5) + $core.bool hasSubTitle() => $_has(3); + @$pb.TagNumber(5) + void clearSubTitle() => clearField(5); + + /// 封面图 + @$pb.TagNumber(6) + $core.String get cover => $_getSZ(4); + @$pb.TagNumber(6) + set cover($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(6) + $core.bool hasCover() => $_has(4); + @$pb.TagNumber(6) + void clearCover() => clearField(6); + + /// 小程序icon + @$pb.TagNumber(7) + $core.String get icon => $_getSZ(5); + @$pb.TagNumber(7) + set icon($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(7) + $core.bool hasIcon() => $_has(5); + @$pb.TagNumber(7) + void clearIcon() => clearField(7); + + /// 小程序标题 + @$pb.TagNumber(8) + $core.String get label => $_getSZ(6); + @$pb.TagNumber(8) + set label($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(8) + $core.bool hasLabel() => $_has(6); + @$pb.TagNumber(8) + void clearLabel() => clearField(8); + + /// 按钮文案 + @$pb.TagNumber(9) + $core.String get buttonTitle => $_getSZ(7); + @$pb.TagNumber(9) + set buttonTitle($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(9) + $core.bool hasButtonTitle() => $_has(7); + @$pb.TagNumber(9) + void clearButtonTitle() => clearField(9); +} + +/// 动态-详情模块-稿件 +class MdlDynArchive extends $pb.GeneratedMessage { + factory MdlDynArchive({ + $core.String? title, + $core.String? cover, + $core.String? uri, + $core.String? coverLeftText1, + $core.String? coverLeftText2, + $core.String? coverLeftText3, + $fixnum.Int64? avid, + $fixnum.Int64? cid, + MediaType? mediaType, + Dimension? dimension, + $core.Iterable? badge, + $core.bool? canPlay, + VideoType? stype, + $core.bool? isPGC, + $core.String? inlineURL, + $fixnum.Int64? episodeId, + $core.int? subType, + $fixnum.Int64? pgcSeasonId, + $core.String? playIcon, + $fixnum.Int64? duration, + $core.String? jumpUrl, + $core.bool? isPreview, + $core.Iterable? badgeCategory, + $core.bool? isFeature, + ReserveType? reserveType, + $core.String? bvid, + $core.int? view, + $core.bool? showPremiereBadge, + $core.bool? premiereCard, + $core.bool? showProgress, + $fixnum.Int64? partDuration, + $fixnum.Int64? partProgress, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (uri != null) { + $result.uri = uri; + } + if (coverLeftText1 != null) { + $result.coverLeftText1 = coverLeftText1; + } + if (coverLeftText2 != null) { + $result.coverLeftText2 = coverLeftText2; + } + if (coverLeftText3 != null) { + $result.coverLeftText3 = coverLeftText3; + } + if (avid != null) { + $result.avid = avid; + } + if (cid != null) { + $result.cid = cid; + } + if (mediaType != null) { + $result.mediaType = mediaType; + } + if (dimension != null) { + $result.dimension = dimension; + } + if (badge != null) { + $result.badge.addAll(badge); + } + if (canPlay != null) { + $result.canPlay = canPlay; + } + if (stype != null) { + $result.stype = stype; + } + if (isPGC != null) { + $result.isPGC = isPGC; + } + if (inlineURL != null) { + $result.inlineURL = inlineURL; + } + if (episodeId != null) { + $result.episodeId = episodeId; + } + if (subType != null) { + $result.subType = subType; + } + if (pgcSeasonId != null) { + $result.pgcSeasonId = pgcSeasonId; + } + if (playIcon != null) { + $result.playIcon = playIcon; + } + if (duration != null) { + $result.duration = duration; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + if (isPreview != null) { + $result.isPreview = isPreview; + } + if (badgeCategory != null) { + $result.badgeCategory.addAll(badgeCategory); + } + if (isFeature != null) { + $result.isFeature = isFeature; + } + if (reserveType != null) { + $result.reserveType = reserveType; + } + if (bvid != null) { + $result.bvid = bvid; + } + if (view != null) { + $result.view = view; + } + if (showPremiereBadge != null) { + $result.showPremiereBadge = showPremiereBadge; + } + if (premiereCard != null) { + $result.premiereCard = premiereCard; + } + if (showProgress != null) { + $result.showProgress = showProgress; + } + if (partDuration != null) { + $result.partDuration = partDuration; + } + if (partProgress != null) { + $result.partProgress = partProgress; + } + return $result; + } + MdlDynArchive._() : super(); + factory MdlDynArchive.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynArchive.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynArchive', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'coverLeftText1', + protoName: 'cover_left_text_1') + ..aOS(5, _omitFieldNames ? '' : 'coverLeftText2', + protoName: 'cover_left_text_2') + ..aOS(6, _omitFieldNames ? '' : 'coverLeftText3', + protoName: 'cover_left_text_3') + ..aInt64(7, _omitFieldNames ? '' : 'avid') + ..aInt64(8, _omitFieldNames ? '' : 'cid') + ..e(9, _omitFieldNames ? '' : 'mediaType', $pb.PbFieldType.OE, + defaultOrMaker: MediaType.MediaTypeNone, + valueOf: MediaType.valueOf, + enumValues: MediaType.values) + ..aOM(10, _omitFieldNames ? '' : 'dimension', + subBuilder: Dimension.create) + ..pc(11, _omitFieldNames ? '' : 'badge', $pb.PbFieldType.PM, + subBuilder: VideoBadge.create) + ..aOB(12, _omitFieldNames ? '' : 'canPlay') + ..e(13, _omitFieldNames ? '' : 'stype', $pb.PbFieldType.OE, + defaultOrMaker: VideoType.video_type_general, + valueOf: VideoType.valueOf, + enumValues: VideoType.values) + ..aOB(14, _omitFieldNames ? '' : 'isPGC', protoName: 'isPGC') + ..aOS(15, _omitFieldNames ? '' : 'inlineURL', protoName: 'inlineURL') + ..aInt64(16, _omitFieldNames ? '' : 'EpisodeId', protoName: 'EpisodeId') + ..a<$core.int>(17, _omitFieldNames ? '' : 'SubType', $pb.PbFieldType.O3, + protoName: 'SubType') + ..aInt64(18, _omitFieldNames ? '' : 'PgcSeasonId', protoName: 'PgcSeasonId') + ..aOS(19, _omitFieldNames ? '' : 'playIcon') + ..aInt64(20, _omitFieldNames ? '' : 'duration') + ..aOS(21, _omitFieldNames ? '' : 'jumpUrl') + ..aOB(22, _omitFieldNames ? '' : 'isPreview') + ..pc( + 23, _omitFieldNames ? '' : 'badgeCategory', $pb.PbFieldType.PM, + subBuilder: VideoBadge.create) + ..aOB(24, _omitFieldNames ? '' : 'isFeature') + ..e( + 25, _omitFieldNames ? '' : 'reserveType', $pb.PbFieldType.OE, + defaultOrMaker: ReserveType.reserve_none, + valueOf: ReserveType.valueOf, + enumValues: ReserveType.values) + ..aOS(26, _omitFieldNames ? '' : 'bvid') + ..a<$core.int>(27, _omitFieldNames ? '' : 'view', $pb.PbFieldType.O3) + ..aOB(28, _omitFieldNames ? '' : 'showPremiereBadge') + ..aOB(29, _omitFieldNames ? '' : 'premiereCard') + ..aOB(30, _omitFieldNames ? '' : 'showProgress') + ..aInt64(31, _omitFieldNames ? '' : 'partDuration') + ..aInt64(32, _omitFieldNames ? '' : 'partProgress') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynArchive clone() => MdlDynArchive()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynArchive copyWith(void Function(MdlDynArchive) updates) => + super.copyWith((message) => updates(message as MdlDynArchive)) + as MdlDynArchive; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynArchive create() => MdlDynArchive._(); + MdlDynArchive createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynArchive getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynArchive? _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 cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + /// 秒开地址 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// 视频封面展示项 1 + @$pb.TagNumber(4) + $core.String get coverLeftText1 => $_getSZ(3); + @$pb.TagNumber(4) + set coverLeftText1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasCoverLeftText1() => $_has(3); + @$pb.TagNumber(4) + void clearCoverLeftText1() => clearField(4); + + /// 视频封面展示项 2 + @$pb.TagNumber(5) + $core.String get coverLeftText2 => $_getSZ(4); + @$pb.TagNumber(5) + set coverLeftText2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCoverLeftText2() => $_has(4); + @$pb.TagNumber(5) + void clearCoverLeftText2() => clearField(5); + + /// 封面视频展示项 3 + @$pb.TagNumber(6) + $core.String get coverLeftText3 => $_getSZ(5); + @$pb.TagNumber(6) + set coverLeftText3($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCoverLeftText3() => $_has(5); + @$pb.TagNumber(6) + void clearCoverLeftText3() => clearField(6); + + /// avid + @$pb.TagNumber(7) + $fixnum.Int64 get avid => $_getI64(6); + @$pb.TagNumber(7) + set avid($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasAvid() => $_has(6); + @$pb.TagNumber(7) + void clearAvid() => clearField(7); + + /// cid + @$pb.TagNumber(8) + $fixnum.Int64 get cid => $_getI64(7); + @$pb.TagNumber(8) + set cid($fixnum.Int64 v) { + $_setInt64(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasCid() => $_has(7); + @$pb.TagNumber(8) + void clearCid() => clearField(8); + + /// 视频源类型 + @$pb.TagNumber(9) + MediaType get mediaType => $_getN(8); + @$pb.TagNumber(9) + set mediaType(MediaType v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasMediaType() => $_has(8); + @$pb.TagNumber(9) + void clearMediaType() => clearField(9); + + /// 尺寸信息 + @$pb.TagNumber(10) + Dimension get dimension => $_getN(9); + @$pb.TagNumber(10) + set dimension(Dimension v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasDimension() => $_has(9); + @$pb.TagNumber(10) + void clearDimension() => clearField(10); + @$pb.TagNumber(10) + Dimension ensureDimension() => $_ensure(9); + + /// 角标,多个角标之前有间距 + @$pb.TagNumber(11) + $core.List get badge => $_getList(10); + + /// 是否能够自动播放 + @$pb.TagNumber(12) + $core.bool get canPlay => $_getBF(11); + @$pb.TagNumber(12) + set canPlay($core.bool v) { + $_setBool(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasCanPlay() => $_has(11); + @$pb.TagNumber(12) + void clearCanPlay() => clearField(12); + + /// stype + @$pb.TagNumber(13) + VideoType get stype => $_getN(12); + @$pb.TagNumber(13) + set stype(VideoType v) { + setField(13, v); + } + + @$pb.TagNumber(13) + $core.bool hasStype() => $_has(12); + @$pb.TagNumber(13) + void clearStype() => clearField(13); + + /// 是否PGC + @$pb.TagNumber(14) + $core.bool get isPGC => $_getBF(13); + @$pb.TagNumber(14) + set isPGC($core.bool v) { + $_setBool(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasIsPGC() => $_has(13); + @$pb.TagNumber(14) + void clearIsPGC() => clearField(14); + + /// inline播放地址 + @$pb.TagNumber(15) + $core.String get inlineURL => $_getSZ(14); + @$pb.TagNumber(15) + set inlineURL($core.String v) { + $_setString(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasInlineURL() => $_has(14); + @$pb.TagNumber(15) + void clearInlineURL() => clearField(15); + + /// PGC的epid + @$pb.TagNumber(16) + $fixnum.Int64 get episodeId => $_getI64(15); + @$pb.TagNumber(16) + set episodeId($fixnum.Int64 v) { + $_setInt64(15, v); + } + + @$pb.TagNumber(16) + $core.bool hasEpisodeId() => $_has(15); + @$pb.TagNumber(16) + void clearEpisodeId() => clearField(16); + + /// 子类型 + @$pb.TagNumber(17) + $core.int get subType => $_getIZ(16); + @$pb.TagNumber(17) + set subType($core.int v) { + $_setSignedInt32(16, v); + } + + @$pb.TagNumber(17) + $core.bool hasSubType() => $_has(16); + @$pb.TagNumber(17) + void clearSubType() => clearField(17); + + /// PGC的ssid + @$pb.TagNumber(18) + $fixnum.Int64 get pgcSeasonId => $_getI64(17); + @$pb.TagNumber(18) + set pgcSeasonId($fixnum.Int64 v) { + $_setInt64(17, v); + } + + @$pb.TagNumber(18) + $core.bool hasPgcSeasonId() => $_has(17); + @$pb.TagNumber(18) + void clearPgcSeasonId() => clearField(18); + + /// 播放按钮 + @$pb.TagNumber(19) + $core.String get playIcon => $_getSZ(18); + @$pb.TagNumber(19) + set playIcon($core.String v) { + $_setString(18, v); + } + + @$pb.TagNumber(19) + $core.bool hasPlayIcon() => $_has(18); + @$pb.TagNumber(19) + void clearPlayIcon() => clearField(19); + + /// 时长 + @$pb.TagNumber(20) + $fixnum.Int64 get duration => $_getI64(19); + @$pb.TagNumber(20) + set duration($fixnum.Int64 v) { + $_setInt64(19, v); + } + + @$pb.TagNumber(20) + $core.bool hasDuration() => $_has(19); + @$pb.TagNumber(20) + void clearDuration() => clearField(20); + + /// 跳转地址 + @$pb.TagNumber(21) + $core.String get jumpUrl => $_getSZ(20); + @$pb.TagNumber(21) + set jumpUrl($core.String v) { + $_setString(20, v); + } + + @$pb.TagNumber(21) + $core.bool hasJumpUrl() => $_has(20); + @$pb.TagNumber(21) + void clearJumpUrl() => clearField(21); + + /// 番剧是否为预览视频 + @$pb.TagNumber(22) + $core.bool get isPreview => $_getBF(21); + @$pb.TagNumber(22) + set isPreview($core.bool v) { + $_setBool(21, v); + } + + @$pb.TagNumber(22) + $core.bool hasIsPreview() => $_has(21); + @$pb.TagNumber(22) + void clearIsPreview() => clearField(22); + + /// 新角标,多个角标之前没有间距 + @$pb.TagNumber(23) + $core.List get badgeCategory => $_getList(22); + + /// 当前是否是pgc正片 + @$pb.TagNumber(24) + $core.bool get isFeature => $_getBF(23); + @$pb.TagNumber(24) + set isFeature($core.bool v) { + $_setBool(23, v); + } + + @$pb.TagNumber(24) + $core.bool hasIsFeature() => $_has(23); + @$pb.TagNumber(24) + void clearIsFeature() => clearField(24); + + /// 是否是预约召回 + @$pb.TagNumber(25) + ReserveType get reserveType => $_getN(24); + @$pb.TagNumber(25) + set reserveType(ReserveType v) { + setField(25, v); + } + + @$pb.TagNumber(25) + $core.bool hasReserveType() => $_has(24); + @$pb.TagNumber(25) + void clearReserveType() => clearField(25); + + /// bvid + @$pb.TagNumber(26) + $core.String get bvid => $_getSZ(25); + @$pb.TagNumber(26) + set bvid($core.String v) { + $_setString(25, v); + } + + @$pb.TagNumber(26) + $core.bool hasBvid() => $_has(25); + @$pb.TagNumber(26) + void clearBvid() => clearField(26); + + /// 播放数 + @$pb.TagNumber(27) + $core.int get view => $_getIZ(26); + @$pb.TagNumber(27) + set view($core.int v) { + $_setSignedInt32(26, v); + } + + @$pb.TagNumber(27) + $core.bool hasView() => $_has(26); + @$pb.TagNumber(27) + void clearView() => clearField(27); + + @$pb.TagNumber(28) + $core.bool get showPremiereBadge => $_getBF(27); + @$pb.TagNumber(28) + set showPremiereBadge($core.bool v) { + $_setBool(27, v); + } + + @$pb.TagNumber(28) + $core.bool hasShowPremiereBadge() => $_has(27); + @$pb.TagNumber(28) + void clearShowPremiereBadge() => clearField(28); + + @$pb.TagNumber(29) + $core.bool get premiereCard => $_getBF(28); + @$pb.TagNumber(29) + set premiereCard($core.bool v) { + $_setBool(28, v); + } + + @$pb.TagNumber(29) + $core.bool hasPremiereCard() => $_has(28); + @$pb.TagNumber(29) + void clearPremiereCard() => clearField(29); + + @$pb.TagNumber(30) + $core.bool get showProgress => $_getBF(29); + @$pb.TagNumber(30) + set showProgress($core.bool v) { + $_setBool(29, v); + } + + @$pb.TagNumber(30) + $core.bool hasShowProgress() => $_has(29); + @$pb.TagNumber(30) + void clearShowProgress() => clearField(30); + + @$pb.TagNumber(31) + $fixnum.Int64 get partDuration => $_getI64(30); + @$pb.TagNumber(31) + set partDuration($fixnum.Int64 v) { + $_setInt64(30, v); + } + + @$pb.TagNumber(31) + $core.bool hasPartDuration() => $_has(30); + @$pb.TagNumber(31) + void clearPartDuration() => clearField(31); + + @$pb.TagNumber(32) + $fixnum.Int64 get partProgress => $_getI64(31); + @$pb.TagNumber(32) + set partProgress($fixnum.Int64 v) { + $_setInt64(31, v); + } + + @$pb.TagNumber(32) + $core.bool hasPartProgress() => $_has(31); + @$pb.TagNumber(32) + void clearPartProgress() => clearField(32); +} + +/// 动态列表渲染部分-详情模块-专栏模块 +class MdlDynArticle extends $pb.GeneratedMessage { + factory MdlDynArticle({ + $fixnum.Int64? id, + $core.String? uri, + $core.String? title, + $core.String? desc, + $core.Iterable<$core.String>? covers, + $core.String? label, + $core.int? templateID, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (uri != null) { + $result.uri = uri; + } + if (title != null) { + $result.title = title; + } + if (desc != null) { + $result.desc = desc; + } + if (covers != null) { + $result.covers.addAll(covers); + } + if (label != null) { + $result.label = label; + } + if (templateID != null) { + $result.templateID = templateID; + } + return $result; + } + MdlDynArticle._() : super(); + factory MdlDynArticle.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynArticle.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynArticle', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'title') + ..aOS(4, _omitFieldNames ? '' : 'desc') + ..pPS(5, _omitFieldNames ? '' : 'covers') + ..aOS(6, _omitFieldNames ? '' : 'label') + ..a<$core.int>(7, _omitFieldNames ? '' : 'templateID', $pb.PbFieldType.O3, + protoName: 'templateID') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynArticle clone() => MdlDynArticle()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynArticle copyWith(void Function(MdlDynArticle) updates) => + super.copyWith((message) => updates(message as MdlDynArticle)) + as MdlDynArticle; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynArticle create() => MdlDynArticle._(); + MdlDynArticle createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynArticle getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynArticle? _defaultInstance; + + /// 专栏id + @$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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 标题 + @$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 desc => $_getSZ(3); + @$pb.TagNumber(4) + set desc($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDesc() => $_has(3); + @$pb.TagNumber(4) + void clearDesc() => clearField(4); + + /// 配图 + @$pb.TagNumber(5) + $core.List<$core.String> get covers => $_getList(4); + + /// 阅读量标签 + @$pb.TagNumber(6) + $core.String get label => $_getSZ(5); + @$pb.TagNumber(6) + set label($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasLabel() => $_has(5); + @$pb.TagNumber(6) + void clearLabel() => clearField(6); + + /// 模板类型 + @$pb.TagNumber(7) + $core.int get templateID => $_getIZ(6); + @$pb.TagNumber(7) + set templateID($core.int v) { + $_setSignedInt32(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasTemplateID() => $_has(6); + @$pb.TagNumber(7) + void clearTemplateID() => clearField(7); +} + +/// 动态列表渲染部分-详情模块-通用 +class MdlDynCommon extends $pb.GeneratedMessage { + factory MdlDynCommon({ + $fixnum.Int64? oid, + $core.String? uri, + $core.String? title, + $core.String? desc, + $core.String? cover, + $core.String? label, + $core.int? bizType, + $fixnum.Int64? sketchID, + MdlDynCommonType? style, + $core.Iterable? badge, + AdditionalButton? button, + }) { + final $result = create(); + if (oid != null) { + $result.oid = oid; + } + if (uri != null) { + $result.uri = uri; + } + if (title != null) { + $result.title = title; + } + if (desc != null) { + $result.desc = desc; + } + if (cover != null) { + $result.cover = cover; + } + if (label != null) { + $result.label = label; + } + if (bizType != null) { + $result.bizType = bizType; + } + if (sketchID != null) { + $result.sketchID = sketchID; + } + if (style != null) { + $result.style = style; + } + if (badge != null) { + $result.badge.addAll(badge); + } + if (button != null) { + $result.button = button; + } + return $result; + } + MdlDynCommon._() : super(); + factory MdlDynCommon.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynCommon.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynCommon', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'oid') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'title') + ..aOS(4, _omitFieldNames ? '' : 'desc') + ..aOS(5, _omitFieldNames ? '' : 'cover') + ..aOS(6, _omitFieldNames ? '' : 'label') + ..a<$core.int>(7, _omitFieldNames ? '' : 'bizType', $pb.PbFieldType.O3, + protoName: 'bizType') + ..aInt64(8, _omitFieldNames ? '' : 'sketchID', protoName: 'sketchID') + ..e(9, _omitFieldNames ? '' : 'style', $pb.PbFieldType.OE, + defaultOrMaker: MdlDynCommonType.mdl_dyn_common_none, + valueOf: MdlDynCommonType.valueOf, + enumValues: MdlDynCommonType.values) + ..pc(10, _omitFieldNames ? '' : 'badge', $pb.PbFieldType.PM, + subBuilder: VideoBadge.create) + ..aOM(11, _omitFieldNames ? '' : 'button', + subBuilder: AdditionalButton.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') + MdlDynCommon clone() => MdlDynCommon()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynCommon copyWith(void Function(MdlDynCommon) updates) => + super.copyWith((message) => updates(message as MdlDynCommon)) + as MdlDynCommon; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynCommon create() => MdlDynCommon._(); + MdlDynCommon createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynCommon getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynCommon? _defaultInstance; + + /// 物料id + @$pb.TagNumber(1) + $fixnum.Int64 get oid => $_getI64(0); + @$pb.TagNumber(1) + set oid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasOid() => $_has(0); + @$pb.TagNumber(1) + void clearOid() => clearField(1); + + /// 跳转地址 + @$pb.TagNumber(2) + $core.String get uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 标题 + @$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 desc => $_getSZ(3); + @$pb.TagNumber(4) + set desc($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDesc() => $_has(3); + @$pb.TagNumber(4) + void clearDesc() => clearField(4); + + /// 封面 + @$pb.TagNumber(5) + $core.String get cover => $_getSZ(4); + @$pb.TagNumber(5) + set cover($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCover() => $_has(4); + @$pb.TagNumber(5) + void clearCover() => clearField(5); + + /// 标签1 漫画卡标题下第二行 + @$pb.TagNumber(6) + $core.String get label => $_getSZ(5); + @$pb.TagNumber(6) + set label($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasLabel() => $_has(5); + @$pb.TagNumber(6) + void clearLabel() => clearField(6); + + /// 所属业务类型 + @$pb.TagNumber(7) + $core.int get bizType => $_getIZ(6); + @$pb.TagNumber(7) + set bizType($core.int v) { + $_setSignedInt32(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasBizType() => $_has(6); + @$pb.TagNumber(7) + void clearBizType() => clearField(7); + + /// 镜像数据ID + @$pb.TagNumber(8) + $fixnum.Int64 get sketchID => $_getI64(7); + @$pb.TagNumber(8) + set sketchID($fixnum.Int64 v) { + $_setInt64(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasSketchID() => $_has(7); + @$pb.TagNumber(8) + void clearSketchID() => clearField(8); + + /// 卡片样式 + @$pb.TagNumber(9) + MdlDynCommonType get style => $_getN(8); + @$pb.TagNumber(9) + set style(MdlDynCommonType v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasStyle() => $_has(8); + @$pb.TagNumber(9) + void clearStyle() => clearField(9); + + /// 角标 + @$pb.TagNumber(10) + $core.List get badge => $_getList(9); + + @$pb.TagNumber(11) + AdditionalButton get button => $_getN(10); + @$pb.TagNumber(11) + set button(AdditionalButton v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasButton() => $_has(10); + @$pb.TagNumber(11) + void clearButton() => clearField(11); + @$pb.TagNumber(11) + AdditionalButton ensureButton() => $_ensure(10); +} + +/// 动态-详情模块-付费课程批次 +class MdlDynCourBatch extends $pb.GeneratedMessage { + factory MdlDynCourBatch({ + $core.String? title, + $core.String? cover, + $core.String? uri, + $core.String? text1, + $core.String? text2, + VideoBadge? badge, + $core.String? playIcon, + $core.bool? canPlay, + $core.bool? isPreview, + $core.String? coverLeftText1, + $core.String? coverLeftText2, + $core.String? coverLeftText3, + $fixnum.Int64? avid, + $fixnum.Int64? cid, + $fixnum.Int64? epid, + $fixnum.Int64? duration, + $fixnum.Int64? seasonId, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (uri != null) { + $result.uri = uri; + } + if (text1 != null) { + $result.text1 = text1; + } + if (text2 != null) { + $result.text2 = text2; + } + if (badge != null) { + $result.badge = badge; + } + if (playIcon != null) { + $result.playIcon = playIcon; + } + if (canPlay != null) { + $result.canPlay = canPlay; + } + if (isPreview != null) { + $result.isPreview = isPreview; + } + if (coverLeftText1 != null) { + $result.coverLeftText1 = coverLeftText1; + } + if (coverLeftText2 != null) { + $result.coverLeftText2 = coverLeftText2; + } + if (coverLeftText3 != null) { + $result.coverLeftText3 = coverLeftText3; + } + if (avid != null) { + $result.avid = avid; + } + if (cid != null) { + $result.cid = cid; + } + if (epid != null) { + $result.epid = epid; + } + if (duration != null) { + $result.duration = duration; + } + if (seasonId != null) { + $result.seasonId = seasonId; + } + return $result; + } + MdlDynCourBatch._() : super(); + factory MdlDynCourBatch.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynCourBatch.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynCourBatch', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'text1', protoName: 'text_1') + ..aOS(5, _omitFieldNames ? '' : 'text2', protoName: 'text_2') + ..aOM(6, _omitFieldNames ? '' : 'badge', + subBuilder: VideoBadge.create) + ..aOS(7, _omitFieldNames ? '' : 'playIcon') + ..aOB(8, _omitFieldNames ? '' : 'canPlay') + ..aOB(9, _omitFieldNames ? '' : 'isPreview') + ..aOS(10, _omitFieldNames ? '' : 'coverLeftText1', + protoName: 'cover_left_text_1') + ..aOS(11, _omitFieldNames ? '' : 'coverLeftText2', + protoName: 'cover_left_text_2') + ..aOS(12, _omitFieldNames ? '' : 'coverLeftText3', + protoName: 'cover_left_text_3') + ..aInt64(13, _omitFieldNames ? '' : 'avid') + ..aInt64(14, _omitFieldNames ? '' : 'cid') + ..aInt64(15, _omitFieldNames ? '' : 'epid') + ..aInt64(16, _omitFieldNames ? '' : 'duration') + ..aInt64(17, _omitFieldNames ? '' : 'seasonId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynCourBatch clone() => MdlDynCourBatch()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynCourBatch copyWith(void Function(MdlDynCourBatch) updates) => + super.copyWith((message) => updates(message as MdlDynCourBatch)) + as MdlDynCourBatch; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynCourBatch create() => MdlDynCourBatch._(); + MdlDynCourBatch createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynCourBatch getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynCourBatch? _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 cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + /// 跳转地址 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// 展示项 1(本集标题) + @$pb.TagNumber(4) + $core.String get text1 => $_getSZ(3); + @$pb.TagNumber(4) + set text1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasText1() => $_has(3); + @$pb.TagNumber(4) + void clearText1() => clearField(4); + + /// 展示项 2(更新了多少个视频) + @$pb.TagNumber(5) + $core.String get text2 => $_getSZ(4); + @$pb.TagNumber(5) + set text2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasText2() => $_has(4); + @$pb.TagNumber(5) + void clearText2() => clearField(5); + + /// 角标 + @$pb.TagNumber(6) + VideoBadge get badge => $_getN(5); + @$pb.TagNumber(6) + set badge(VideoBadge v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasBadge() => $_has(5); + @$pb.TagNumber(6) + void clearBadge() => clearField(6); + @$pb.TagNumber(6) + VideoBadge ensureBadge() => $_ensure(5); + + /// 播放按钮 + @$pb.TagNumber(7) + $core.String get playIcon => $_getSZ(6); + @$pb.TagNumber(7) + set playIcon($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasPlayIcon() => $_has(6); + @$pb.TagNumber(7) + void clearPlayIcon() => clearField(7); + + @$pb.TagNumber(8) + $core.bool get canPlay => $_getBF(7); + @$pb.TagNumber(8) + set canPlay($core.bool v) { + $_setBool(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasCanPlay() => $_has(7); + @$pb.TagNumber(8) + void clearCanPlay() => clearField(8); + + @$pb.TagNumber(9) + $core.bool get isPreview => $_getBF(8); + @$pb.TagNumber(9) + set isPreview($core.bool v) { + $_setBool(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasIsPreview() => $_has(8); + @$pb.TagNumber(9) + void clearIsPreview() => clearField(9); + + @$pb.TagNumber(10) + $core.String get coverLeftText1 => $_getSZ(9); + @$pb.TagNumber(10) + set coverLeftText1($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasCoverLeftText1() => $_has(9); + @$pb.TagNumber(10) + void clearCoverLeftText1() => clearField(10); + + @$pb.TagNumber(11) + $core.String get coverLeftText2 => $_getSZ(10); + @$pb.TagNumber(11) + set coverLeftText2($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasCoverLeftText2() => $_has(10); + @$pb.TagNumber(11) + void clearCoverLeftText2() => clearField(11); + + @$pb.TagNumber(12) + $core.String get coverLeftText3 => $_getSZ(11); + @$pb.TagNumber(12) + set coverLeftText3($core.String v) { + $_setString(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasCoverLeftText3() => $_has(11); + @$pb.TagNumber(12) + void clearCoverLeftText3() => clearField(12); + + @$pb.TagNumber(13) + $fixnum.Int64 get avid => $_getI64(12); + @$pb.TagNumber(13) + set avid($fixnum.Int64 v) { + $_setInt64(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasAvid() => $_has(12); + @$pb.TagNumber(13) + void clearAvid() => clearField(13); + + @$pb.TagNumber(14) + $fixnum.Int64 get cid => $_getI64(13); + @$pb.TagNumber(14) + set cid($fixnum.Int64 v) { + $_setInt64(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasCid() => $_has(13); + @$pb.TagNumber(14) + void clearCid() => clearField(14); + + @$pb.TagNumber(15) + $fixnum.Int64 get epid => $_getI64(14); + @$pb.TagNumber(15) + set epid($fixnum.Int64 v) { + $_setInt64(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasEpid() => $_has(14); + @$pb.TagNumber(15) + void clearEpid() => clearField(15); + + @$pb.TagNumber(16) + $fixnum.Int64 get duration => $_getI64(15); + @$pb.TagNumber(16) + set duration($fixnum.Int64 v) { + $_setInt64(15, v); + } + + @$pb.TagNumber(16) + $core.bool hasDuration() => $_has(15); + @$pb.TagNumber(16) + void clearDuration() => clearField(16); + + @$pb.TagNumber(17) + $fixnum.Int64 get seasonId => $_getI64(16); + @$pb.TagNumber(17) + set seasonId($fixnum.Int64 v) { + $_setInt64(16, v); + } + + @$pb.TagNumber(17) + $core.bool hasSeasonId() => $_has(16); + @$pb.TagNumber(17) + void clearSeasonId() => clearField(17); +} + +/// 动态-详情模块-付费课程系列 +class MdlDynCourSeason extends $pb.GeneratedMessage { + factory MdlDynCourSeason({ + $core.String? title, + $core.String? cover, + $core.String? uri, + $core.String? text1, + $core.String? desc, + VideoBadge? badge, + $core.String? playIcon, + $core.bool? canPlay, + $core.bool? isPreview, + $fixnum.Int64? avid, + $fixnum.Int64? cid, + $fixnum.Int64? epid, + $fixnum.Int64? duration, + $fixnum.Int64? seasonId, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (uri != null) { + $result.uri = uri; + } + if (text1 != null) { + $result.text1 = text1; + } + if (desc != null) { + $result.desc = desc; + } + if (badge != null) { + $result.badge = badge; + } + if (playIcon != null) { + $result.playIcon = playIcon; + } + if (canPlay != null) { + $result.canPlay = canPlay; + } + if (isPreview != null) { + $result.isPreview = isPreview; + } + if (avid != null) { + $result.avid = avid; + } + if (cid != null) { + $result.cid = cid; + } + if (epid != null) { + $result.epid = epid; + } + if (duration != null) { + $result.duration = duration; + } + if (seasonId != null) { + $result.seasonId = seasonId; + } + return $result; + } + MdlDynCourSeason._() : super(); + factory MdlDynCourSeason.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynCourSeason.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynCourSeason', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'text1', protoName: 'text_1') + ..aOS(5, _omitFieldNames ? '' : 'desc') + ..aOM(6, _omitFieldNames ? '' : 'badge', + subBuilder: VideoBadge.create) + ..aOS(7, _omitFieldNames ? '' : 'playIcon') + ..aOB(8, _omitFieldNames ? '' : 'canPlay') + ..aOB(9, _omitFieldNames ? '' : 'isPreview') + ..aInt64(10, _omitFieldNames ? '' : 'avid') + ..aInt64(11, _omitFieldNames ? '' : 'cid') + ..aInt64(12, _omitFieldNames ? '' : 'epid') + ..aInt64(13, _omitFieldNames ? '' : 'duration') + ..aInt64(14, _omitFieldNames ? '' : 'seasonId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynCourSeason clone() => MdlDynCourSeason()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynCourSeason copyWith(void Function(MdlDynCourSeason) updates) => + super.copyWith((message) => updates(message as MdlDynCourSeason)) + as MdlDynCourSeason; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynCourSeason create() => MdlDynCourSeason._(); + MdlDynCourSeason createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynCourSeason getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynCourSeason? _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 cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + /// 跳转地址 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// 展示项 1(更新信息) + @$pb.TagNumber(4) + $core.String get text1 => $_getSZ(3); + @$pb.TagNumber(4) + set text1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasText1() => $_has(3); + @$pb.TagNumber(4) + void clearText1() => clearField(4); + + /// 描述信息 + @$pb.TagNumber(5) + $core.String get desc => $_getSZ(4); + @$pb.TagNumber(5) + set desc($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDesc() => $_has(4); + @$pb.TagNumber(5) + void clearDesc() => clearField(5); + + /// 角标 + @$pb.TagNumber(6) + VideoBadge get badge => $_getN(5); + @$pb.TagNumber(6) + set badge(VideoBadge v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasBadge() => $_has(5); + @$pb.TagNumber(6) + void clearBadge() => clearField(6); + @$pb.TagNumber(6) + VideoBadge ensureBadge() => $_ensure(5); + + /// 播放按钮 + @$pb.TagNumber(7) + $core.String get playIcon => $_getSZ(6); + @$pb.TagNumber(7) + set playIcon($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasPlayIcon() => $_has(6); + @$pb.TagNumber(7) + void clearPlayIcon() => clearField(7); + + @$pb.TagNumber(8) + $core.bool get canPlay => $_getBF(7); + @$pb.TagNumber(8) + set canPlay($core.bool v) { + $_setBool(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasCanPlay() => $_has(7); + @$pb.TagNumber(8) + void clearCanPlay() => clearField(8); + + @$pb.TagNumber(9) + $core.bool get isPreview => $_getBF(8); + @$pb.TagNumber(9) + set isPreview($core.bool v) { + $_setBool(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasIsPreview() => $_has(8); + @$pb.TagNumber(9) + void clearIsPreview() => clearField(9); + + @$pb.TagNumber(10) + $fixnum.Int64 get avid => $_getI64(9); + @$pb.TagNumber(10) + set avid($fixnum.Int64 v) { + $_setInt64(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasAvid() => $_has(9); + @$pb.TagNumber(10) + void clearAvid() => clearField(10); + + @$pb.TagNumber(11) + $fixnum.Int64 get cid => $_getI64(10); + @$pb.TagNumber(11) + set cid($fixnum.Int64 v) { + $_setInt64(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasCid() => $_has(10); + @$pb.TagNumber(11) + void clearCid() => clearField(11); + + @$pb.TagNumber(12) + $fixnum.Int64 get epid => $_getI64(11); + @$pb.TagNumber(12) + set epid($fixnum.Int64 v) { + $_setInt64(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasEpid() => $_has(11); + @$pb.TagNumber(12) + void clearEpid() => clearField(12); + + @$pb.TagNumber(13) + $fixnum.Int64 get duration => $_getI64(12); + @$pb.TagNumber(13) + set duration($fixnum.Int64 v) { + $_setInt64(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasDuration() => $_has(12); + @$pb.TagNumber(13) + void clearDuration() => clearField(13); + + @$pb.TagNumber(14) + $fixnum.Int64 get seasonId => $_getI64(13); + @$pb.TagNumber(14) + set seasonId($fixnum.Int64 v) { + $_setInt64(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasSeasonId() => $_has(13); + @$pb.TagNumber(14) + void clearSeasonId() => clearField(14); +} + +class MdlDynCourUp extends $pb.GeneratedMessage { + factory MdlDynCourUp({ + $core.String? title, + $core.String? desc, + $core.String? cover, + $core.String? uri, + $core.String? text1, + VideoBadge? badge, + $core.String? playIcon, + $core.bool? canPlay, + $core.bool? isPreview, + $fixnum.Int64? avid, + $fixnum.Int64? cid, + $fixnum.Int64? epid, + $fixnum.Int64? duration, + $fixnum.Int64? seasonId, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (desc != null) { + $result.desc = desc; + } + if (cover != null) { + $result.cover = cover; + } + if (uri != null) { + $result.uri = uri; + } + if (text1 != null) { + $result.text1 = text1; + } + if (badge != null) { + $result.badge = badge; + } + if (playIcon != null) { + $result.playIcon = playIcon; + } + if (canPlay != null) { + $result.canPlay = canPlay; + } + if (isPreview != null) { + $result.isPreview = isPreview; + } + if (avid != null) { + $result.avid = avid; + } + if (cid != null) { + $result.cid = cid; + } + if (epid != null) { + $result.epid = epid; + } + if (duration != null) { + $result.duration = duration; + } + if (seasonId != null) { + $result.seasonId = seasonId; + } + return $result; + } + MdlDynCourUp._() : super(); + factory MdlDynCourUp.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynCourUp.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynCourUp', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'desc') + ..aOS(3, _omitFieldNames ? '' : 'cover') + ..aOS(4, _omitFieldNames ? '' : 'uri') + ..aOS(5, _omitFieldNames ? '' : 'text1', protoName: 'text_1') + ..aOM(6, _omitFieldNames ? '' : 'badge', + subBuilder: VideoBadge.create) + ..aOS(7, _omitFieldNames ? '' : 'playIcon') + ..aOB(8, _omitFieldNames ? '' : 'canPlay') + ..aOB(9, _omitFieldNames ? '' : 'isPreview') + ..aInt64(10, _omitFieldNames ? '' : 'avid') + ..aInt64(11, _omitFieldNames ? '' : 'cid') + ..aInt64(12, _omitFieldNames ? '' : 'epid') + ..aInt64(13, _omitFieldNames ? '' : 'duration') + ..aInt64(14, _omitFieldNames ? '' : 'seasonId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynCourUp clone() => MdlDynCourUp()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynCourUp copyWith(void Function(MdlDynCourUp) updates) => + super.copyWith((message) => updates(message as MdlDynCourUp)) + as MdlDynCourUp; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynCourUp create() => MdlDynCourUp._(); + MdlDynCourUp createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynCourUp getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynCourUp? _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 desc => $_getSZ(1); + @$pb.TagNumber(2) + set desc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDesc() => $_has(1); + @$pb.TagNumber(2) + void clearDesc() => clearField(2); + + @$pb.TagNumber(3) + $core.String get cover => $_getSZ(2); + @$pb.TagNumber(3) + set cover($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCover() => $_has(2); + @$pb.TagNumber(3) + void clearCover() => clearField(3); + + @$pb.TagNumber(4) + $core.String get uri => $_getSZ(3); + @$pb.TagNumber(4) + set uri($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasUri() => $_has(3); + @$pb.TagNumber(4) + void clearUri() => clearField(4); + + @$pb.TagNumber(5) + $core.String get text1 => $_getSZ(4); + @$pb.TagNumber(5) + set text1($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasText1() => $_has(4); + @$pb.TagNumber(5) + void clearText1() => clearField(5); + + @$pb.TagNumber(6) + VideoBadge get badge => $_getN(5); + @$pb.TagNumber(6) + set badge(VideoBadge v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasBadge() => $_has(5); + @$pb.TagNumber(6) + void clearBadge() => clearField(6); + @$pb.TagNumber(6) + VideoBadge ensureBadge() => $_ensure(5); + + @$pb.TagNumber(7) + $core.String get playIcon => $_getSZ(6); + @$pb.TagNumber(7) + set playIcon($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasPlayIcon() => $_has(6); + @$pb.TagNumber(7) + void clearPlayIcon() => clearField(7); + + @$pb.TagNumber(8) + $core.bool get canPlay => $_getBF(7); + @$pb.TagNumber(8) + set canPlay($core.bool v) { + $_setBool(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasCanPlay() => $_has(7); + @$pb.TagNumber(8) + void clearCanPlay() => clearField(8); + + @$pb.TagNumber(9) + $core.bool get isPreview => $_getBF(8); + @$pb.TagNumber(9) + set isPreview($core.bool v) { + $_setBool(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasIsPreview() => $_has(8); + @$pb.TagNumber(9) + void clearIsPreview() => clearField(9); + + @$pb.TagNumber(10) + $fixnum.Int64 get avid => $_getI64(9); + @$pb.TagNumber(10) + set avid($fixnum.Int64 v) { + $_setInt64(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasAvid() => $_has(9); + @$pb.TagNumber(10) + void clearAvid() => clearField(10); + + @$pb.TagNumber(11) + $fixnum.Int64 get cid => $_getI64(10); + @$pb.TagNumber(11) + set cid($fixnum.Int64 v) { + $_setInt64(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasCid() => $_has(10); + @$pb.TagNumber(11) + void clearCid() => clearField(11); + + @$pb.TagNumber(12) + $fixnum.Int64 get epid => $_getI64(11); + @$pb.TagNumber(12) + set epid($fixnum.Int64 v) { + $_setInt64(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasEpid() => $_has(11); + @$pb.TagNumber(12) + void clearEpid() => clearField(12); + + @$pb.TagNumber(13) + $fixnum.Int64 get duration => $_getI64(12); + @$pb.TagNumber(13) + set duration($fixnum.Int64 v) { + $_setInt64(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasDuration() => $_has(12); + @$pb.TagNumber(13) + void clearDuration() => clearField(13); + + @$pb.TagNumber(14) + $fixnum.Int64 get seasonId => $_getI64(13); + @$pb.TagNumber(14) + set seasonId($fixnum.Int64 v) { + $_setInt64(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasSeasonId() => $_has(13); + @$pb.TagNumber(14) + void clearSeasonId() => clearField(14); +} + +/// 动态列表渲染部分-详情模块-图文模块 +class MdlDynDraw extends $pb.GeneratedMessage { + factory MdlDynDraw({ + $core.Iterable? items, + $core.String? uri, + $fixnum.Int64? id, + $core.bool? isDrawFirst, + $core.bool? isBigCover, + $core.bool? isArticleCover, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (uri != null) { + $result.uri = uri; + } + if (id != null) { + $result.id = id; + } + if (isDrawFirst != null) { + $result.isDrawFirst = isDrawFirst; + } + if (isBigCover != null) { + $result.isBigCover = isBigCover; + } + if (isArticleCover != null) { + $result.isArticleCover = isArticleCover; + } + return $result; + } + MdlDynDraw._() : super(); + factory MdlDynDraw.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynDraw.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynDraw', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: MdlDynDrawItem.create) + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aInt64(3, _omitFieldNames ? '' : 'id') + ..aOB(4, _omitFieldNames ? '' : 'isDrawFirst') + ..aOB(5, _omitFieldNames ? '' : 'isBigCover') + ..aOB(6, _omitFieldNames ? '' : 'isArticleCover') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynDraw clone() => MdlDynDraw()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynDraw copyWith(void Function(MdlDynDraw) updates) => + super.copyWith((message) => updates(message as MdlDynDraw)) as MdlDynDraw; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynDraw create() => MdlDynDraw._(); + MdlDynDraw createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynDraw getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynDraw? _defaultInstance; + + /// 图片 + @$pb.TagNumber(1) + $core.List get items => $_getList(0); + + /// 跳转地址 + @$pb.TagNumber(2) + $core.String get uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 图文ID + @$pb.TagNumber(3) + $fixnum.Int64 get id => $_getI64(2); + @$pb.TagNumber(3) + set id($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasId() => $_has(2); + @$pb.TagNumber(3) + void clearId() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get isDrawFirst => $_getBF(3); + @$pb.TagNumber(4) + set isDrawFirst($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIsDrawFirst() => $_has(3); + @$pb.TagNumber(4) + void clearIsDrawFirst() => clearField(4); + + @$pb.TagNumber(5) + $core.bool get isBigCover => $_getBF(4); + @$pb.TagNumber(5) + set isBigCover($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasIsBigCover() => $_has(4); + @$pb.TagNumber(5) + void clearIsBigCover() => clearField(5); + + @$pb.TagNumber(6) + $core.bool get isArticleCover => $_getBF(5); + @$pb.TagNumber(6) + set isArticleCover($core.bool v) { + $_setBool(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasIsArticleCover() => $_has(5); + @$pb.TagNumber(6) + void clearIsArticleCover() => clearField(6); +} + +/// 动态列表渲染部分-详情模块-图文 +class MdlDynDrawItem extends $pb.GeneratedMessage { + factory MdlDynDrawItem({ + $core.String? src, + $fixnum.Int64? width, + $fixnum.Int64? height, + $core.double? size, + $core.Iterable? tags, + }) { + final $result = create(); + if (src != null) { + $result.src = src; + } + if (width != null) { + $result.width = width; + } + if (height != null) { + $result.height = height; + } + if (size != null) { + $result.size = size; + } + if (tags != null) { + $result.tags.addAll(tags); + } + return $result; + } + MdlDynDrawItem._() : super(); + factory MdlDynDrawItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynDrawItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynDrawItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'src') + ..aInt64(2, _omitFieldNames ? '' : 'width') + ..aInt64(3, _omitFieldNames ? '' : 'height') + ..a<$core.double>(4, _omitFieldNames ? '' : 'size', $pb.PbFieldType.OF) + ..pc(5, _omitFieldNames ? '' : 'tags', $pb.PbFieldType.PM, + subBuilder: MdlDynDrawTag.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') + MdlDynDrawItem clone() => MdlDynDrawItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynDrawItem copyWith(void Function(MdlDynDrawItem) updates) => + super.copyWith((message) => updates(message as MdlDynDrawItem)) + as MdlDynDrawItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynDrawItem create() => MdlDynDrawItem._(); + MdlDynDrawItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynDrawItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynDrawItem? _defaultInstance; + + /// 图片链接 + @$pb.TagNumber(1) + $core.String get src => $_getSZ(0); + @$pb.TagNumber(1) + set src($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasSrc() => $_has(0); + @$pb.TagNumber(1) + void clearSrc() => clearField(1); + + /// 图片宽度 + @$pb.TagNumber(2) + $fixnum.Int64 get width => $_getI64(1); + @$pb.TagNumber(2) + set width($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasWidth() => $_has(1); + @$pb.TagNumber(2) + void clearWidth() => clearField(2); + + /// 图片高度 + @$pb.TagNumber(3) + $fixnum.Int64 get height => $_getI64(2); + @$pb.TagNumber(3) + set height($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHeight() => $_has(2); + @$pb.TagNumber(3) + void clearHeight() => clearField(3); + + /// 图片大小 + @$pb.TagNumber(4) + $core.double get size => $_getN(3); + @$pb.TagNumber(4) + set size($core.double v) { + $_setFloat(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasSize() => $_has(3); + @$pb.TagNumber(4) + void clearSize() => clearField(4); + + /// 图片标签 + @$pb.TagNumber(5) + $core.List get tags => $_getList(4); +} + +/// 动态列表渲染部分-详情模块-图文-标签 +class MdlDynDrawTag extends $pb.GeneratedMessage { + factory MdlDynDrawTag({ + MdlDynDrawTagType? type, + MdlDynDrawTagItem? item, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (item != null) { + $result.item = item; + } + return $result; + } + MdlDynDrawTag._() : super(); + factory MdlDynDrawTag.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynDrawTag.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynDrawTag', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: MdlDynDrawTagType.mdl_draw_tag_none, + valueOf: MdlDynDrawTagType.valueOf, + enumValues: MdlDynDrawTagType.values) + ..aOM(2, _omitFieldNames ? '' : 'item', + subBuilder: MdlDynDrawTagItem.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') + MdlDynDrawTag clone() => MdlDynDrawTag()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynDrawTag copyWith(void Function(MdlDynDrawTag) updates) => + super.copyWith((message) => updates(message as MdlDynDrawTag)) + as MdlDynDrawTag; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynDrawTag create() => MdlDynDrawTag._(); + MdlDynDrawTag createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynDrawTag getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynDrawTag? _defaultInstance; + + /// 标签类型 + @$pb.TagNumber(1) + MdlDynDrawTagType get type => $_getN(0); + @$pb.TagNumber(1) + set type(MdlDynDrawTagType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + /// 标签详情 + @$pb.TagNumber(2) + MdlDynDrawTagItem get item => $_getN(1); + @$pb.TagNumber(2) + set item(MdlDynDrawTagItem v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasItem() => $_has(1); + @$pb.TagNumber(2) + void clearItem() => clearField(2); + @$pb.TagNumber(2) + MdlDynDrawTagItem ensureItem() => $_ensure(1); +} + +/// 动态列表部分-详情模块-图文-标签详情 +class MdlDynDrawTagItem extends $pb.GeneratedMessage { + factory MdlDynDrawTagItem({ + $core.String? url, + $core.String? text, + $fixnum.Int64? x, + $fixnum.Int64? y, + $core.int? orientation, + $core.int? source, + $fixnum.Int64? itemId, + $fixnum.Int64? mid, + $fixnum.Int64? tid, + $core.String? poi, + $core.String? schemaUrl, + }) { + final $result = create(); + if (url != null) { + $result.url = url; + } + if (text != null) { + $result.text = text; + } + if (x != null) { + $result.x = x; + } + if (y != null) { + $result.y = y; + } + if (orientation != null) { + $result.orientation = orientation; + } + if (source != null) { + $result.source = source; + } + if (itemId != null) { + $result.itemId = itemId; + } + if (mid != null) { + $result.mid = mid; + } + if (tid != null) { + $result.tid = tid; + } + if (poi != null) { + $result.poi = poi; + } + if (schemaUrl != null) { + $result.schemaUrl = schemaUrl; + } + return $result; + } + MdlDynDrawTagItem._() : super(); + factory MdlDynDrawTagItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynDrawTagItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynDrawTagItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'url') + ..aOS(2, _omitFieldNames ? '' : 'text') + ..aInt64(3, _omitFieldNames ? '' : 'x') + ..aInt64(4, _omitFieldNames ? '' : 'y') + ..a<$core.int>(5, _omitFieldNames ? '' : 'orientation', $pb.PbFieldType.O3) + ..a<$core.int>(6, _omitFieldNames ? '' : 'source', $pb.PbFieldType.O3) + ..aInt64(7, _omitFieldNames ? '' : 'itemId') + ..aInt64(8, _omitFieldNames ? '' : 'mid') + ..aInt64(9, _omitFieldNames ? '' : 'tid') + ..aOS(10, _omitFieldNames ? '' : 'poi') + ..aOS(11, _omitFieldNames ? '' : 'schemaUrl') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynDrawTagItem clone() => MdlDynDrawTagItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynDrawTagItem copyWith(void Function(MdlDynDrawTagItem) updates) => + super.copyWith((message) => updates(message as MdlDynDrawTagItem)) + as MdlDynDrawTagItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynDrawTagItem create() => MdlDynDrawTagItem._(); + MdlDynDrawTagItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynDrawTagItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynDrawTagItem? _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.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); + + /// 坐标-x + @$pb.TagNumber(3) + $fixnum.Int64 get x => $_getI64(2); + @$pb.TagNumber(3) + set x($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasX() => $_has(2); + @$pb.TagNumber(3) + void clearX() => clearField(3); + + /// 坐标-y + @$pb.TagNumber(4) + $fixnum.Int64 get y => $_getI64(3); + @$pb.TagNumber(4) + set y($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasY() => $_has(3); + @$pb.TagNumber(4) + void clearY() => clearField(4); + + /// 方向 + @$pb.TagNumber(5) + $core.int get orientation => $_getIZ(4); + @$pb.TagNumber(5) + set orientation($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasOrientation() => $_has(4); + @$pb.TagNumber(5) + void clearOrientation() => clearField(5); + + /// 来源 + /// 0:未知 1:淘宝 2:自营 + @$pb.TagNumber(6) + $core.int get source => $_getIZ(5); + @$pb.TagNumber(6) + set source($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasSource() => $_has(5); + @$pb.TagNumber(6) + void clearSource() => clearField(6); + + /// 商品id + @$pb.TagNumber(7) + $fixnum.Int64 get itemId => $_getI64(6); + @$pb.TagNumber(7) + set itemId($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasItemId() => $_has(6); + @$pb.TagNumber(7) + void clearItemId() => clearField(7); + + /// 用户mid + @$pb.TagNumber(8) + $fixnum.Int64 get mid => $_getI64(7); + @$pb.TagNumber(8) + set mid($fixnum.Int64 v) { + $_setInt64(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasMid() => $_has(7); + @$pb.TagNumber(8) + void clearMid() => clearField(8); + + /// 话题id + @$pb.TagNumber(9) + $fixnum.Int64 get tid => $_getI64(8); + @$pb.TagNumber(9) + set tid($fixnum.Int64 v) { + $_setInt64(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasTid() => $_has(8); + @$pb.TagNumber(9) + void clearTid() => clearField(9); + + /// lbs信息 + @$pb.TagNumber(10) + $core.String get poi => $_getSZ(9); + @$pb.TagNumber(10) + set poi($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasPoi() => $_has(9); + @$pb.TagNumber(10) + void clearPoi() => clearField(10); + + /// 商品标签链接 + @$pb.TagNumber(11) + $core.String get schemaUrl => $_getSZ(10); + @$pb.TagNumber(11) + set schemaUrl($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasSchemaUrl() => $_has(10); + @$pb.TagNumber(11) + void clearSchemaUrl() => clearField(11); +} + +/// 动态列表渲染部分-详情模块-转发模块 +class MdlDynForward extends $pb.GeneratedMessage { + factory MdlDynForward({ + DynamicItem? item, + $core.int? rtype, + }) { + final $result = create(); + if (item != null) { + $result.item = item; + } + if (rtype != null) { + $result.rtype = rtype; + } + return $result; + } + MdlDynForward._() : super(); + factory MdlDynForward.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynForward.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynForward', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'item', + subBuilder: DynamicItem.create) + ..a<$core.int>(2, _omitFieldNames ? '' : 'rtype', $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') + MdlDynForward clone() => MdlDynForward()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynForward copyWith(void Function(MdlDynForward) updates) => + super.copyWith((message) => updates(message as MdlDynForward)) + as MdlDynForward; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynForward create() => MdlDynForward._(); + MdlDynForward createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynForward getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynForward? _defaultInstance; + + /// 动态转发核心模块 套娃 + @$pb.TagNumber(1) + DynamicItem get item => $_getN(0); + @$pb.TagNumber(1) + set item(DynamicItem v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasItem() => $_has(0); + @$pb.TagNumber(1) + void clearItem() => clearField(1); + @$pb.TagNumber(1) + DynamicItem ensureItem() => $_ensure(0); + + /// 透传类型 + /// 0:分享 1:转发 + @$pb.TagNumber(2) + $core.int get rtype => $_getIZ(1); + @$pb.TagNumber(2) + set rtype($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasRtype() => $_has(1); + @$pb.TagNumber(2) + void clearRtype() => clearField(2); +} + +/// 动态列表渲染部分-详情模块-直播 +class MdlDynLive extends $pb.GeneratedMessage { + factory MdlDynLive({ + $fixnum.Int64? id, + $core.String? uri, + $core.String? title, + $core.String? cover, + $core.String? coverLabel, + $core.String? coverLabel2, + LiveState? liveState, + VideoBadge? badge, + ReserveType? reserveType, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (uri != null) { + $result.uri = uri; + } + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (coverLabel != null) { + $result.coverLabel = coverLabel; + } + if (coverLabel2 != null) { + $result.coverLabel2 = coverLabel2; + } + if (liveState != null) { + $result.liveState = liveState; + } + if (badge != null) { + $result.badge = badge; + } + if (reserveType != null) { + $result.reserveType = reserveType; + } + return $result; + } + MdlDynLive._() : super(); + factory MdlDynLive.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynLive.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynLive', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'title') + ..aOS(4, _omitFieldNames ? '' : 'cover') + ..aOS(5, _omitFieldNames ? '' : 'coverLabel') + ..aOS(6, _omitFieldNames ? '' : 'coverLabel2') + ..e(7, _omitFieldNames ? '' : 'liveState', $pb.PbFieldType.OE, + defaultOrMaker: LiveState.live_none, + valueOf: LiveState.valueOf, + enumValues: LiveState.values) + ..aOM(8, _omitFieldNames ? '' : 'badge', + subBuilder: VideoBadge.create) + ..e( + 9, _omitFieldNames ? '' : 'reserveType', $pb.PbFieldType.OE, + defaultOrMaker: ReserveType.reserve_none, + valueOf: ReserveType.valueOf, + enumValues: ReserveType.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') + MdlDynLive clone() => MdlDynLive()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynLive copyWith(void Function(MdlDynLive) updates) => + super.copyWith((message) => updates(message as MdlDynLive)) as MdlDynLive; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynLive create() => MdlDynLive._(); + MdlDynLive createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynLive getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynLive? _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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 直播间标题 + @$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 cover => $_getSZ(3); + @$pb.TagNumber(4) + set cover($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasCover() => $_has(3); + @$pb.TagNumber(4) + void clearCover() => clearField(4); + + /// 标题1 例: 陪伴学习 + @$pb.TagNumber(5) + $core.String get coverLabel => $_getSZ(4); + @$pb.TagNumber(5) + set coverLabel($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCoverLabel() => $_has(4); + @$pb.TagNumber(5) + void clearCoverLabel() => clearField(5); + + /// 标题2 例: 54.6万人气 + @$pb.TagNumber(6) + $core.String get coverLabel2 => $_getSZ(5); + @$pb.TagNumber(6) + set coverLabel2($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCoverLabel2() => $_has(5); + @$pb.TagNumber(6) + void clearCoverLabel2() => clearField(6); + + /// 直播状态 + @$pb.TagNumber(7) + LiveState get liveState => $_getN(6); + @$pb.TagNumber(7) + set liveState(LiveState v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasLiveState() => $_has(6); + @$pb.TagNumber(7) + void clearLiveState() => clearField(7); + + /// 直播角标 + @$pb.TagNumber(8) + VideoBadge get badge => $_getN(7); + @$pb.TagNumber(8) + set badge(VideoBadge v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasBadge() => $_has(7); + @$pb.TagNumber(8) + void clearBadge() => clearField(8); + @$pb.TagNumber(8) + VideoBadge ensureBadge() => $_ensure(7); + + /// 是否是预约召回 + @$pb.TagNumber(9) + ReserveType get reserveType => $_getN(8); + @$pb.TagNumber(9) + set reserveType(ReserveType v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasReserveType() => $_has(8); + @$pb.TagNumber(9) + void clearReserveType() => clearField(9); +} + +/// 动态列表渲染部分-详情模块-直播推荐 +class MdlDynLiveRcmd extends $pb.GeneratedMessage { + factory MdlDynLiveRcmd({ + $core.String? content, + ReserveType? reserveType, + LivePendant? pendant, + }) { + final $result = create(); + if (content != null) { + $result.content = content; + } + if (reserveType != null) { + $result.reserveType = reserveType; + } + if (pendant != null) { + $result.pendant = pendant; + } + return $result; + } + MdlDynLiveRcmd._() : super(); + factory MdlDynLiveRcmd.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynLiveRcmd.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynLiveRcmd', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'content') + ..e( + 2, _omitFieldNames ? '' : 'reserveType', $pb.PbFieldType.OE, + defaultOrMaker: ReserveType.reserve_none, + valueOf: ReserveType.valueOf, + enumValues: ReserveType.values) + ..aOM(3, _omitFieldNames ? '' : 'pendant', + subBuilder: LivePendant.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') + MdlDynLiveRcmd clone() => MdlDynLiveRcmd()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynLiveRcmd copyWith(void Function(MdlDynLiveRcmd) updates) => + super.copyWith((message) => updates(message as MdlDynLiveRcmd)) + as MdlDynLiveRcmd; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynLiveRcmd create() => MdlDynLiveRcmd._(); + MdlDynLiveRcmd createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynLiveRcmd getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynLiveRcmd? _defaultInstance; + + /// 直播数据 + @$pb.TagNumber(1) + $core.String get content => $_getSZ(0); + @$pb.TagNumber(1) + set content($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasContent() => $_has(0); + @$pb.TagNumber(1) + void clearContent() => clearField(1); + + /// 是否是预约召回 + @$pb.TagNumber(2) + ReserveType get reserveType => $_getN(1); + @$pb.TagNumber(2) + set reserveType(ReserveType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasReserveType() => $_has(1); + @$pb.TagNumber(2) + void clearReserveType() => clearField(2); + + @$pb.TagNumber(3) + LivePendant get pendant => $_getN(2); + @$pb.TagNumber(3) + set pendant(LivePendant v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasPendant() => $_has(2); + @$pb.TagNumber(3) + void clearPendant() => clearField(3); + @$pb.TagNumber(3) + LivePendant ensurePendant() => $_ensure(2); +} + +/// 动态列表渲染部分-详情模块-播单 +class MdlDynMedialist extends $pb.GeneratedMessage { + factory MdlDynMedialist({ + $fixnum.Int64? id, + $core.String? uri, + $core.String? title, + $core.String? subTitle, + $core.String? cover, + $core.int? coverType, + VideoBadge? badge, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (uri != null) { + $result.uri = uri; + } + if (title != null) { + $result.title = title; + } + if (subTitle != null) { + $result.subTitle = subTitle; + } + if (cover != null) { + $result.cover = cover; + } + if (coverType != null) { + $result.coverType = coverType; + } + if (badge != null) { + $result.badge = badge; + } + return $result; + } + MdlDynMedialist._() : super(); + factory MdlDynMedialist.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynMedialist.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynMedialist', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aOS(3, _omitFieldNames ? '' : 'title') + ..aOS(4, _omitFieldNames ? '' : 'subTitle') + ..aOS(5, _omitFieldNames ? '' : 'cover') + ..a<$core.int>(6, _omitFieldNames ? '' : 'coverType', $pb.PbFieldType.O3) + ..aOM(7, _omitFieldNames ? '' : 'badge', + subBuilder: VideoBadge.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') + MdlDynMedialist clone() => MdlDynMedialist()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynMedialist copyWith(void Function(MdlDynMedialist) updates) => + super.copyWith((message) => updates(message as MdlDynMedialist)) + as MdlDynMedialist; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynMedialist create() => MdlDynMedialist._(); + MdlDynMedialist createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynMedialist getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynMedialist? _defaultInstance; + + /// 播单id + @$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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// 主标题 + @$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 cover => $_getSZ(4); + @$pb.TagNumber(5) + set cover($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCover() => $_has(4); + @$pb.TagNumber(5) + void clearCover() => clearField(5); + + /// 封面类型 + @$pb.TagNumber(6) + $core.int get coverType => $_getIZ(5); + @$pb.TagNumber(6) + set coverType($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCoverType() => $_has(5); + @$pb.TagNumber(6) + void clearCoverType() => clearField(6); + + /// 角标 + @$pb.TagNumber(7) + VideoBadge get badge => $_getN(6); + @$pb.TagNumber(7) + set badge(VideoBadge v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasBadge() => $_has(6); + @$pb.TagNumber(7) + void clearBadge() => clearField(7); + @$pb.TagNumber(7) + VideoBadge ensureBadge() => $_ensure(6); +} + +/// 动态列表渲染部分-详情模块-音频模块 +class MdlDynMusic extends $pb.GeneratedMessage { + factory MdlDynMusic({ + $fixnum.Int64? id, + $core.String? uri, + $fixnum.Int64? upId, + $core.String? title, + $core.String? cover, + $core.String? label1, + $core.String? upper, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (uri != null) { + $result.uri = uri; + } + if (upId != null) { + $result.upId = upId; + } + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (label1 != null) { + $result.label1 = label1; + } + if (upper != null) { + $result.upper = upper; + } + return $result; + } + MdlDynMusic._() : super(); + factory MdlDynMusic.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynMusic.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynMusic', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..aInt64(3, _omitFieldNames ? '' : 'upId') + ..aOS(4, _omitFieldNames ? '' : 'title') + ..aOS(5, _omitFieldNames ? '' : 'cover') + ..aOS(6, _omitFieldNames ? '' : 'label1') + ..aOS(7, _omitFieldNames ? '' : 'upper') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynMusic clone() => MdlDynMusic()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynMusic copyWith(void Function(MdlDynMusic) updates) => + super.copyWith((message) => updates(message as MdlDynMusic)) + as MdlDynMusic; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynMusic create() => MdlDynMusic._(); + MdlDynMusic createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynMusic getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynMusic? _defaultInstance; + + /// 音频id + @$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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); + + /// upId + @$pb.TagNumber(3) + $fixnum.Int64 get upId => $_getI64(2); + @$pb.TagNumber(3) + set upId($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUpId() => $_has(2); + @$pb.TagNumber(3) + void clearUpId() => clearField(3); + + /// 歌名 + @$pb.TagNumber(4) + $core.String get title => $_getSZ(3); + @$pb.TagNumber(4) + set title($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTitle() => $_has(3); + @$pb.TagNumber(4) + void clearTitle() => clearField(4); + + /// 专辑封面 + @$pb.TagNumber(5) + $core.String get cover => $_getSZ(4); + @$pb.TagNumber(5) + set cover($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCover() => $_has(4); + @$pb.TagNumber(5) + void clearCover() => clearField(5); + + /// 展示项1 + @$pb.TagNumber(6) + $core.String get label1 => $_getSZ(5); + @$pb.TagNumber(6) + set label1($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasLabel1() => $_has(5); + @$pb.TagNumber(6) + void clearLabel1() => clearField(6); + + /// upper + @$pb.TagNumber(7) + $core.String get upper => $_getSZ(6); + @$pb.TagNumber(7) + set upper($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasUpper() => $_has(6); + @$pb.TagNumber(7) + void clearUpper() => clearField(7); +} + +/// 动态-详情模块-pgc +class MdlDynPGC extends $pb.GeneratedMessage { + factory MdlDynPGC({ + $core.String? title, + $core.String? cover, + $core.String? uri, + $core.String? coverLeftText1, + $core.String? coverLeftText2, + $core.String? coverLeftText3, + $fixnum.Int64? cid, + $fixnum.Int64? seasonId, + $fixnum.Int64? epid, + $fixnum.Int64? aid, + MediaType? mediaType, + VideoSubType? subType, + $core.bool? isPreview, + Dimension? dimension, + $core.Iterable? badge, + $core.bool? canPlay, + PGCSeason? season, + $core.String? playIcon, + $fixnum.Int64? duration, + $core.String? jumpUrl, + $core.Iterable? badgeCategory, + $core.bool? isFeature, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (uri != null) { + $result.uri = uri; + } + if (coverLeftText1 != null) { + $result.coverLeftText1 = coverLeftText1; + } + if (coverLeftText2 != null) { + $result.coverLeftText2 = coverLeftText2; + } + if (coverLeftText3 != null) { + $result.coverLeftText3 = coverLeftText3; + } + if (cid != null) { + $result.cid = cid; + } + if (seasonId != null) { + $result.seasonId = seasonId; + } + if (epid != null) { + $result.epid = epid; + } + if (aid != null) { + $result.aid = aid; + } + if (mediaType != null) { + $result.mediaType = mediaType; + } + if (subType != null) { + $result.subType = subType; + } + if (isPreview != null) { + $result.isPreview = isPreview; + } + if (dimension != null) { + $result.dimension = dimension; + } + if (badge != null) { + $result.badge.addAll(badge); + } + if (canPlay != null) { + $result.canPlay = canPlay; + } + if (season != null) { + $result.season = season; + } + if (playIcon != null) { + $result.playIcon = playIcon; + } + if (duration != null) { + $result.duration = duration; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + if (badgeCategory != null) { + $result.badgeCategory.addAll(badgeCategory); + } + if (isFeature != null) { + $result.isFeature = isFeature; + } + return $result; + } + MdlDynPGC._() : super(); + factory MdlDynPGC.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynPGC.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynPGC', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'coverLeftText1', + protoName: 'cover_left_text_1') + ..aOS(5, _omitFieldNames ? '' : 'coverLeftText2', + protoName: 'cover_left_text_2') + ..aOS(6, _omitFieldNames ? '' : 'coverLeftText3', + protoName: 'cover_left_text_3') + ..aInt64(7, _omitFieldNames ? '' : 'cid') + ..aInt64(8, _omitFieldNames ? '' : 'seasonId') + ..aInt64(9, _omitFieldNames ? '' : 'epid') + ..aInt64(10, _omitFieldNames ? '' : 'aid') + ..e(11, _omitFieldNames ? '' : 'mediaType', $pb.PbFieldType.OE, + defaultOrMaker: MediaType.MediaTypeNone, + valueOf: MediaType.valueOf, + enumValues: MediaType.values) + ..e(12, _omitFieldNames ? '' : 'subType', $pb.PbFieldType.OE, + defaultOrMaker: VideoSubType.VideoSubTypeNone, + valueOf: VideoSubType.valueOf, + enumValues: VideoSubType.values) + ..aOB(13, _omitFieldNames ? '' : 'isPreview') + ..aOM(14, _omitFieldNames ? '' : 'dimension', + subBuilder: Dimension.create) + ..pc(15, _omitFieldNames ? '' : 'badge', $pb.PbFieldType.PM, + subBuilder: VideoBadge.create) + ..aOB(16, _omitFieldNames ? '' : 'canPlay') + ..aOM(17, _omitFieldNames ? '' : 'season', + subBuilder: PGCSeason.create) + ..aOS(18, _omitFieldNames ? '' : 'playIcon') + ..aInt64(19, _omitFieldNames ? '' : 'duration') + ..aOS(20, _omitFieldNames ? '' : 'jumpUrl') + ..pc( + 21, _omitFieldNames ? '' : 'badgeCategory', $pb.PbFieldType.PM, + subBuilder: VideoBadge.create) + ..aOB(22, _omitFieldNames ? '' : 'isFeature') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynPGC clone() => MdlDynPGC()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynPGC copyWith(void Function(MdlDynPGC) updates) => + super.copyWith((message) => updates(message as MdlDynPGC)) as MdlDynPGC; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynPGC create() => MdlDynPGC._(); + MdlDynPGC createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynPGC getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynPGC? _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 cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + /// 秒开地址 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// 视频封面展示项 1 + @$pb.TagNumber(4) + $core.String get coverLeftText1 => $_getSZ(3); + @$pb.TagNumber(4) + set coverLeftText1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasCoverLeftText1() => $_has(3); + @$pb.TagNumber(4) + void clearCoverLeftText1() => clearField(4); + + /// 视频封面展示项 2 + @$pb.TagNumber(5) + $core.String get coverLeftText2 => $_getSZ(4); + @$pb.TagNumber(5) + set coverLeftText2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCoverLeftText2() => $_has(4); + @$pb.TagNumber(5) + void clearCoverLeftText2() => clearField(5); + + /// 封面视频展示项 3 + @$pb.TagNumber(6) + $core.String get coverLeftText3 => $_getSZ(5); + @$pb.TagNumber(6) + set coverLeftText3($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCoverLeftText3() => $_has(5); + @$pb.TagNumber(6) + void clearCoverLeftText3() => clearField(6); + + /// cid + @$pb.TagNumber(7) + $fixnum.Int64 get cid => $_getI64(6); + @$pb.TagNumber(7) + set cid($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasCid() => $_has(6); + @$pb.TagNumber(7) + void clearCid() => clearField(7); + + /// season_id + @$pb.TagNumber(8) + $fixnum.Int64 get seasonId => $_getI64(7); + @$pb.TagNumber(8) + set seasonId($fixnum.Int64 v) { + $_setInt64(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasSeasonId() => $_has(7); + @$pb.TagNumber(8) + void clearSeasonId() => clearField(8); + + /// epid + @$pb.TagNumber(9) + $fixnum.Int64 get epid => $_getI64(8); + @$pb.TagNumber(9) + set epid($fixnum.Int64 v) { + $_setInt64(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasEpid() => $_has(8); + @$pb.TagNumber(9) + void clearEpid() => clearField(9); + + /// aid + @$pb.TagNumber(10) + $fixnum.Int64 get aid => $_getI64(9); + @$pb.TagNumber(10) + set aid($fixnum.Int64 v) { + $_setInt64(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasAid() => $_has(9); + @$pb.TagNumber(10) + void clearAid() => clearField(10); + + /// 视频源类型 + @$pb.TagNumber(11) + MediaType get mediaType => $_getN(10); + @$pb.TagNumber(11) + set mediaType(MediaType v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasMediaType() => $_has(10); + @$pb.TagNumber(11) + void clearMediaType() => clearField(11); + + /// 番剧类型 + @$pb.TagNumber(12) + VideoSubType get subType => $_getN(11); + @$pb.TagNumber(12) + set subType(VideoSubType v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasSubType() => $_has(11); + @$pb.TagNumber(12) + void clearSubType() => clearField(12); + + /// 番剧是否为预览视频 + @$pb.TagNumber(13) + $core.bool get isPreview => $_getBF(12); + @$pb.TagNumber(13) + set isPreview($core.bool v) { + $_setBool(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasIsPreview() => $_has(12); + @$pb.TagNumber(13) + void clearIsPreview() => clearField(13); + + /// 尺寸信息 + @$pb.TagNumber(14) + Dimension get dimension => $_getN(13); + @$pb.TagNumber(14) + set dimension(Dimension v) { + setField(14, v); + } + + @$pb.TagNumber(14) + $core.bool hasDimension() => $_has(13); + @$pb.TagNumber(14) + void clearDimension() => clearField(14); + @$pb.TagNumber(14) + Dimension ensureDimension() => $_ensure(13); + + /// 角标,多个角标之前有间距 + @$pb.TagNumber(15) + $core.List get badge => $_getList(14); + + /// 是否能够自动播放 + @$pb.TagNumber(16) + $core.bool get canPlay => $_getBF(15); + @$pb.TagNumber(16) + set canPlay($core.bool v) { + $_setBool(15, v); + } + + @$pb.TagNumber(16) + $core.bool hasCanPlay() => $_has(15); + @$pb.TagNumber(16) + void clearCanPlay() => clearField(16); + + /// season + @$pb.TagNumber(17) + PGCSeason get season => $_getN(16); + @$pb.TagNumber(17) + set season(PGCSeason v) { + setField(17, v); + } + + @$pb.TagNumber(17) + $core.bool hasSeason() => $_has(16); + @$pb.TagNumber(17) + void clearSeason() => clearField(17); + @$pb.TagNumber(17) + PGCSeason ensureSeason() => $_ensure(16); + + /// 播放按钮 + @$pb.TagNumber(18) + $core.String get playIcon => $_getSZ(17); + @$pb.TagNumber(18) + set playIcon($core.String v) { + $_setString(17, v); + } + + @$pb.TagNumber(18) + $core.bool hasPlayIcon() => $_has(17); + @$pb.TagNumber(18) + void clearPlayIcon() => clearField(18); + + /// 时长 + @$pb.TagNumber(19) + $fixnum.Int64 get duration => $_getI64(18); + @$pb.TagNumber(19) + set duration($fixnum.Int64 v) { + $_setInt64(18, v); + } + + @$pb.TagNumber(19) + $core.bool hasDuration() => $_has(18); + @$pb.TagNumber(19) + void clearDuration() => clearField(19); + + /// 跳转地址 + @$pb.TagNumber(20) + $core.String get jumpUrl => $_getSZ(19); + @$pb.TagNumber(20) + set jumpUrl($core.String v) { + $_setString(19, v); + } + + @$pb.TagNumber(20) + $core.bool hasJumpUrl() => $_has(19); + @$pb.TagNumber(20) + void clearJumpUrl() => clearField(20); + + /// 新角标,多个角标之前没有间距 + @$pb.TagNumber(21) + $core.List get badgeCategory => $_getList(20); + + /// 当前是否是pgc正片 + @$pb.TagNumber(22) + $core.bool get isFeature => $_getBF(21); + @$pb.TagNumber(22) + set isFeature($core.bool v) { + $_setBool(21, v); + } + + @$pb.TagNumber(22) + $core.bool hasIsFeature() => $_has(21); + @$pb.TagNumber(22) + void clearIsFeature() => clearField(22); +} + +/// 动态列表渲染部分-详情模块-订阅卡 +class MdlDynSubscription extends $pb.GeneratedMessage { + factory MdlDynSubscription({ + $fixnum.Int64? id, + $fixnum.Int64? adId, + $core.String? uri, + $core.String? title, + $core.String? cover, + $core.String? adTitle, + VideoBadge? badge, + $core.String? tips, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (adId != null) { + $result.adId = adId; + } + if (uri != null) { + $result.uri = uri; + } + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (adTitle != null) { + $result.adTitle = adTitle; + } + if (badge != null) { + $result.badge = badge; + } + if (tips != null) { + $result.tips = tips; + } + return $result; + } + MdlDynSubscription._() : super(); + factory MdlDynSubscription.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynSubscription.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynSubscription', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aInt64(2, _omitFieldNames ? '' : 'adId') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'title') + ..aOS(5, _omitFieldNames ? '' : 'cover') + ..aOS(6, _omitFieldNames ? '' : 'adTitle') + ..aOM(7, _omitFieldNames ? '' : 'badge', + subBuilder: VideoBadge.create) + ..aOS(8, _omitFieldNames ? '' : 'tips') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynSubscription clone() => MdlDynSubscription()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynSubscription copyWith(void Function(MdlDynSubscription) updates) => + super.copyWith((message) => updates(message as MdlDynSubscription)) + as MdlDynSubscription; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynSubscription create() => MdlDynSubscription._(); + MdlDynSubscription createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynSubscription getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynSubscription? _defaultInstance; + + /// 卡片物料id + @$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); + + /// 广告创意id + @$pb.TagNumber(2) + $fixnum.Int64 get adId => $_getI64(1); + @$pb.TagNumber(2) + set adId($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasAdId() => $_has(1); + @$pb.TagNumber(2) + void clearAdId() => clearField(2); + + /// 跳转地址 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// 标题 + @$pb.TagNumber(4) + $core.String get title => $_getSZ(3); + @$pb.TagNumber(4) + set title($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTitle() => $_has(3); + @$pb.TagNumber(4) + void clearTitle() => clearField(4); + + /// 封面图 + @$pb.TagNumber(5) + $core.String get cover => $_getSZ(4); + @$pb.TagNumber(5) + set cover($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCover() => $_has(4); + @$pb.TagNumber(5) + void clearCover() => clearField(5); + + /// 广告标题 + @$pb.TagNumber(6) + $core.String get adTitle => $_getSZ(5); + @$pb.TagNumber(6) + set adTitle($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasAdTitle() => $_has(5); + @$pb.TagNumber(6) + void clearAdTitle() => clearField(6); + + /// 角标 + @$pb.TagNumber(7) + VideoBadge get badge => $_getN(6); + @$pb.TagNumber(7) + set badge(VideoBadge v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasBadge() => $_has(6); + @$pb.TagNumber(7) + void clearBadge() => clearField(7); + @$pb.TagNumber(7) + VideoBadge ensureBadge() => $_ensure(6); + + /// 小提示 + @$pb.TagNumber(8) + $core.String get tips => $_getSZ(7); + @$pb.TagNumber(8) + set tips($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasTips() => $_has(7); + @$pb.TagNumber(8) + void clearTips() => clearField(8); +} + +enum MdlDynSubscriptionNew_Item { dynSubscription, dynLiveRcmd, notSet } + +/// 动态新附加卡 +class MdlDynSubscriptionNew extends $pb.GeneratedMessage { + factory MdlDynSubscriptionNew({ + MdlDynSubscriptionNewStyle? style, + MdlDynSubscription? dynSubscription, + MdlDynLiveRcmd? dynLiveRcmd, + }) { + final $result = create(); + if (style != null) { + $result.style = style; + } + if (dynSubscription != null) { + $result.dynSubscription = dynSubscription; + } + if (dynLiveRcmd != null) { + $result.dynLiveRcmd = dynLiveRcmd; + } + return $result; + } + MdlDynSubscriptionNew._() : super(); + factory MdlDynSubscriptionNew.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynSubscriptionNew.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, MdlDynSubscriptionNew_Item> + _MdlDynSubscriptionNew_ItemByTag = { + 2: MdlDynSubscriptionNew_Item.dynSubscription, + 3: MdlDynSubscriptionNew_Item.dynLiveRcmd, + 0: MdlDynSubscriptionNew_Item.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynSubscriptionNew', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [2, 3]) + ..e( + 1, _omitFieldNames ? '' : 'style', $pb.PbFieldType.OE, + defaultOrMaker: + MdlDynSubscriptionNewStyle.mdl_dyn_subscription_new_style_nont, + valueOf: MdlDynSubscriptionNewStyle.valueOf, + enumValues: MdlDynSubscriptionNewStyle.values) + ..aOM(2, _omitFieldNames ? '' : 'dynSubscription', + subBuilder: MdlDynSubscription.create) + ..aOM(3, _omitFieldNames ? '' : 'dynLiveRcmd', + subBuilder: MdlDynLiveRcmd.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') + MdlDynSubscriptionNew clone() => + MdlDynSubscriptionNew()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynSubscriptionNew copyWith( + void Function(MdlDynSubscriptionNew) updates) => + super.copyWith((message) => updates(message as MdlDynSubscriptionNew)) + as MdlDynSubscriptionNew; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynSubscriptionNew create() => MdlDynSubscriptionNew._(); + MdlDynSubscriptionNew createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynSubscriptionNew getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynSubscriptionNew? _defaultInstance; + + MdlDynSubscriptionNew_Item whichItem() => + _MdlDynSubscriptionNew_ItemByTag[$_whichOneof(0)]!; + void clearItem() => clearField($_whichOneof(0)); + + /// 样式类型 + @$pb.TagNumber(1) + MdlDynSubscriptionNewStyle get style => $_getN(0); + @$pb.TagNumber(1) + set style(MdlDynSubscriptionNewStyle v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasStyle() => $_has(0); + @$pb.TagNumber(1) + void clearStyle() => clearField(1); + + @$pb.TagNumber(2) + MdlDynSubscription get dynSubscription => $_getN(1); + @$pb.TagNumber(2) + set dynSubscription(MdlDynSubscription v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasDynSubscription() => $_has(1); + @$pb.TagNumber(2) + void clearDynSubscription() => clearField(2); + @$pb.TagNumber(2) + MdlDynSubscription ensureDynSubscription() => $_ensure(1); + + /// 直播推荐 + @$pb.TagNumber(3) + MdlDynLiveRcmd get dynLiveRcmd => $_getN(2); + @$pb.TagNumber(3) + set dynLiveRcmd(MdlDynLiveRcmd v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasDynLiveRcmd() => $_has(2); + @$pb.TagNumber(3) + void clearDynLiveRcmd() => clearField(3); + @$pb.TagNumber(3) + MdlDynLiveRcmd ensureDynLiveRcmd() => $_ensure(2); +} + +class MdlDynTopicSet extends $pb.GeneratedMessage { + factory MdlDynTopicSet({ + $core.Iterable? topics, + IconButton? moreBtn, + $fixnum.Int64? topicSetId, + $fixnum.Int64? pushId, + }) { + final $result = create(); + if (topics != null) { + $result.topics.addAll(topics); + } + if (moreBtn != null) { + $result.moreBtn = moreBtn; + } + if (topicSetId != null) { + $result.topicSetId = topicSetId; + } + if (pushId != null) { + $result.pushId = pushId; + } + return $result; + } + MdlDynTopicSet._() : super(); + factory MdlDynTopicSet.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynTopicSet.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynTopicSet', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'topics', $pb.PbFieldType.PM, + subBuilder: TopicItem.create) + ..aOM(2, _omitFieldNames ? '' : 'moreBtn', + subBuilder: IconButton.create) + ..aInt64(3, _omitFieldNames ? '' : 'topicSetId') + ..aInt64(4, _omitFieldNames ? '' : 'pushId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynTopicSet clone() => MdlDynTopicSet()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynTopicSet copyWith(void Function(MdlDynTopicSet) updates) => + super.copyWith((message) => updates(message as MdlDynTopicSet)) + as MdlDynTopicSet; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynTopicSet create() => MdlDynTopicSet._(); + MdlDynTopicSet createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynTopicSet getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynTopicSet? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get topics => $_getList(0); + + @$pb.TagNumber(2) + IconButton get moreBtn => $_getN(1); + @$pb.TagNumber(2) + set moreBtn(IconButton v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasMoreBtn() => $_has(1); + @$pb.TagNumber(2) + void clearMoreBtn() => clearField(2); + @$pb.TagNumber(2) + IconButton ensureMoreBtn() => $_ensure(1); + + @$pb.TagNumber(3) + $fixnum.Int64 get topicSetId => $_getI64(2); + @$pb.TagNumber(3) + set topicSetId($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasTopicSetId() => $_has(2); + @$pb.TagNumber(3) + void clearTopicSetId() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get pushId => $_getI64(3); + @$pb.TagNumber(4) + set pushId($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasPushId() => $_has(3); + @$pb.TagNumber(4) + void clearPushId() => clearField(4); +} + +/// 动态列表渲染部分-UGC合集 +class MdlDynUGCSeason extends $pb.GeneratedMessage { + factory MdlDynUGCSeason({ + $core.String? title, + $core.String? cover, + $core.String? uri, + $core.String? coverLeftText1, + $core.String? coverLeftText2, + $core.String? coverLeftText3, + $fixnum.Int64? id, + $core.String? inlineURL, + $core.bool? canPlay, + $core.String? playIcon, + $fixnum.Int64? avid, + $fixnum.Int64? cid, + Dimension? dimension, + $fixnum.Int64? duration, + $core.String? jumpUrl, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (uri != null) { + $result.uri = uri; + } + if (coverLeftText1 != null) { + $result.coverLeftText1 = coverLeftText1; + } + if (coverLeftText2 != null) { + $result.coverLeftText2 = coverLeftText2; + } + if (coverLeftText3 != null) { + $result.coverLeftText3 = coverLeftText3; + } + if (id != null) { + $result.id = id; + } + if (inlineURL != null) { + $result.inlineURL = inlineURL; + } + if (canPlay != null) { + $result.canPlay = canPlay; + } + if (playIcon != null) { + $result.playIcon = playIcon; + } + if (avid != null) { + $result.avid = avid; + } + if (cid != null) { + $result.cid = cid; + } + if (dimension != null) { + $result.dimension = dimension; + } + if (duration != null) { + $result.duration = duration; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + return $result; + } + MdlDynUGCSeason._() : super(); + factory MdlDynUGCSeason.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MdlDynUGCSeason.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MdlDynUGCSeason', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'coverLeftText1', + protoName: 'cover_left_text_1') + ..aOS(5, _omitFieldNames ? '' : 'coverLeftText2', + protoName: 'cover_left_text_2') + ..aOS(6, _omitFieldNames ? '' : 'coverLeftText3', + protoName: 'cover_left_text_3') + ..aInt64(7, _omitFieldNames ? '' : 'id') + ..aOS(8, _omitFieldNames ? '' : 'inlineURL', protoName: 'inlineURL') + ..aOB(9, _omitFieldNames ? '' : 'canPlay') + ..aOS(10, _omitFieldNames ? '' : 'playIcon') + ..aInt64(11, _omitFieldNames ? '' : 'avid') + ..aInt64(12, _omitFieldNames ? '' : 'cid') + ..aOM(13, _omitFieldNames ? '' : 'dimension', + subBuilder: Dimension.create) + ..aInt64(14, _omitFieldNames ? '' : 'duration') + ..aOS(15, _omitFieldNames ? '' : 'jumpUrl') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MdlDynUGCSeason clone() => MdlDynUGCSeason()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MdlDynUGCSeason copyWith(void Function(MdlDynUGCSeason) updates) => + super.copyWith((message) => updates(message as MdlDynUGCSeason)) + as MdlDynUGCSeason; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MdlDynUGCSeason create() => MdlDynUGCSeason._(); + MdlDynUGCSeason createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MdlDynUGCSeason getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MdlDynUGCSeason? _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 cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + /// 秒开地址 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// 视频封面展示项 1 + @$pb.TagNumber(4) + $core.String get coverLeftText1 => $_getSZ(3); + @$pb.TagNumber(4) + set coverLeftText1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasCoverLeftText1() => $_has(3); + @$pb.TagNumber(4) + void clearCoverLeftText1() => clearField(4); + + /// 视频封面展示项 2 + @$pb.TagNumber(5) + $core.String get coverLeftText2 => $_getSZ(4); + @$pb.TagNumber(5) + set coverLeftText2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCoverLeftText2() => $_has(4); + @$pb.TagNumber(5) + void clearCoverLeftText2() => clearField(5); + + /// 封面视频展示项 3 + @$pb.TagNumber(6) + $core.String get coverLeftText3 => $_getSZ(5); + @$pb.TagNumber(6) + set coverLeftText3($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCoverLeftText3() => $_has(5); + @$pb.TagNumber(6) + void clearCoverLeftText3() => clearField(6); + + /// 卡片物料id + @$pb.TagNumber(7) + $fixnum.Int64 get id => $_getI64(6); + @$pb.TagNumber(7) + set id($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasId() => $_has(6); + @$pb.TagNumber(7) + void clearId() => clearField(7); + + /// inline播放地址 + @$pb.TagNumber(8) + $core.String get inlineURL => $_getSZ(7); + @$pb.TagNumber(8) + set inlineURL($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasInlineURL() => $_has(7); + @$pb.TagNumber(8) + void clearInlineURL() => clearField(8); + + /// 是否能够自动播放 + @$pb.TagNumber(9) + $core.bool get canPlay => $_getBF(8); + @$pb.TagNumber(9) + set canPlay($core.bool v) { + $_setBool(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasCanPlay() => $_has(8); + @$pb.TagNumber(9) + void clearCanPlay() => clearField(9); + + /// 播放按钮 + @$pb.TagNumber(10) + $core.String get playIcon => $_getSZ(9); + @$pb.TagNumber(10) + set playIcon($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasPlayIcon() => $_has(9); + @$pb.TagNumber(10) + void clearPlayIcon() => clearField(10); + + /// avid + @$pb.TagNumber(11) + $fixnum.Int64 get avid => $_getI64(10); + @$pb.TagNumber(11) + set avid($fixnum.Int64 v) { + $_setInt64(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasAvid() => $_has(10); + @$pb.TagNumber(11) + void clearAvid() => clearField(11); + + /// cid + @$pb.TagNumber(12) + $fixnum.Int64 get cid => $_getI64(11); + @$pb.TagNumber(12) + set cid($fixnum.Int64 v) { + $_setInt64(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasCid() => $_has(11); + @$pb.TagNumber(12) + void clearCid() => clearField(12); + + /// 尺寸信息 + @$pb.TagNumber(13) + Dimension get dimension => $_getN(12); + @$pb.TagNumber(13) + set dimension(Dimension v) { + setField(13, v); + } + + @$pb.TagNumber(13) + $core.bool hasDimension() => $_has(12); + @$pb.TagNumber(13) + void clearDimension() => clearField(13); + @$pb.TagNumber(13) + Dimension ensureDimension() => $_ensure(12); + + /// 时长 + @$pb.TagNumber(14) + $fixnum.Int64 get duration => $_getI64(13); + @$pb.TagNumber(14) + set duration($fixnum.Int64 v) { + $_setInt64(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasDuration() => $_has(13); + @$pb.TagNumber(14) + void clearDuration() => clearField(14); + + /// 跳转地址 + @$pb.TagNumber(15) + $core.String get jumpUrl => $_getSZ(14); + @$pb.TagNumber(15) + set jumpUrl($core.String v) { + $_setString(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasJumpUrl() => $_has(14); + @$pb.TagNumber(15) + void clearJumpUrl() => clearField(15); +} + +/// 查看更多-列表单条数据 +class MixUpListItem extends $pb.GeneratedMessage { + factory MixUpListItem({ + $fixnum.Int64? uid, + $core.int? specialAttention, + $core.int? reddotState, + MixUpListLiveItem? liveInfo, + $core.String? name, + $core.String? face, + OfficialVerify? official, + VipInfo? vip, + Relation? relation, + $core.int? permireState, + $core.String? uri, + }) { + final $result = create(); + if (uid != null) { + $result.uid = uid; + } + if (specialAttention != null) { + $result.specialAttention = specialAttention; + } + if (reddotState != null) { + $result.reddotState = reddotState; + } + if (liveInfo != null) { + $result.liveInfo = liveInfo; + } + if (name != null) { + $result.name = name; + } + if (face != null) { + $result.face = face; + } + if (official != null) { + $result.official = official; + } + if (vip != null) { + $result.vip = vip; + } + if (relation != null) { + $result.relation = relation; + } + if (permireState != null) { + $result.permireState = permireState; + } + if (uri != null) { + $result.uri = uri; + } + return $result; + } + MixUpListItem._() : super(); + factory MixUpListItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MixUpListItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MixUpListItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'uid') + ..a<$core.int>( + 2, _omitFieldNames ? '' : 'specialAttention', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'reddotState', $pb.PbFieldType.O3) + ..aOM(4, _omitFieldNames ? '' : 'liveInfo', + subBuilder: MixUpListLiveItem.create) + ..aOS(5, _omitFieldNames ? '' : 'name') + ..aOS(6, _omitFieldNames ? '' : 'face') + ..aOM(7, _omitFieldNames ? '' : 'official', + subBuilder: OfficialVerify.create) + ..aOM(8, _omitFieldNames ? '' : 'vip', subBuilder: VipInfo.create) + ..aOM(9, _omitFieldNames ? '' : 'relation', + subBuilder: Relation.create) + ..a<$core.int>( + 10, _omitFieldNames ? '' : 'permireState', $pb.PbFieldType.O3) + ..aOS(11, _omitFieldNames ? '' : 'uri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MixUpListItem clone() => MixUpListItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MixUpListItem copyWith(void Function(MixUpListItem) updates) => + super.copyWith((message) => updates(message as MixUpListItem)) + as MixUpListItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MixUpListItem create() => MixUpListItem._(); + MixUpListItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MixUpListItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MixUpListItem? _defaultInstance; + + /// 用户mid + @$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); + + /// 特别关注 + /// 0:否 1:是 + @$pb.TagNumber(2) + $core.int get specialAttention => $_getIZ(1); + @$pb.TagNumber(2) + set specialAttention($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasSpecialAttention() => $_has(1); + @$pb.TagNumber(2) + void clearSpecialAttention() => clearField(2); + + /// 小红点状态 + /// 0:没有 1:有 + @$pb.TagNumber(3) + $core.int get reddotState => $_getIZ(2); + @$pb.TagNumber(3) + set reddotState($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasReddotState() => $_has(2); + @$pb.TagNumber(3) + void clearReddotState() => clearField(3); + + /// 直播信息 + @$pb.TagNumber(4) + MixUpListLiveItem get liveInfo => $_getN(3); + @$pb.TagNumber(4) + set liveInfo(MixUpListLiveItem v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasLiveInfo() => $_has(3); + @$pb.TagNumber(4) + void clearLiveInfo() => clearField(4); + @$pb.TagNumber(4) + MixUpListLiveItem ensureLiveInfo() => $_ensure(3); + + /// 昵称 + @$pb.TagNumber(5) + $core.String get name => $_getSZ(4); + @$pb.TagNumber(5) + set name($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasName() => $_has(4); + @$pb.TagNumber(5) + void clearName() => clearField(5); + + /// 头像 + @$pb.TagNumber(6) + $core.String get face => $_getSZ(5); + @$pb.TagNumber(6) + set face($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasFace() => $_has(5); + @$pb.TagNumber(6) + void clearFace() => clearField(6); + + /// 认证信息 + @$pb.TagNumber(7) + OfficialVerify get official => $_getN(6); + @$pb.TagNumber(7) + set official(OfficialVerify v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasOfficial() => $_has(6); + @$pb.TagNumber(7) + void clearOfficial() => clearField(7); + @$pb.TagNumber(7) + OfficialVerify ensureOfficial() => $_ensure(6); + + /// 大会员信息 + @$pb.TagNumber(8) + VipInfo get vip => $_getN(7); + @$pb.TagNumber(8) + set vip(VipInfo v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasVip() => $_has(7); + @$pb.TagNumber(8) + void clearVip() => clearField(8); + @$pb.TagNumber(8) + VipInfo ensureVip() => $_ensure(7); + + /// 关注状态 + @$pb.TagNumber(9) + Relation get relation => $_getN(8); + @$pb.TagNumber(9) + set relation(Relation v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasRelation() => $_has(8); + @$pb.TagNumber(9) + void clearRelation() => clearField(9); + @$pb.TagNumber(9) + Relation ensureRelation() => $_ensure(8); + + @$pb.TagNumber(10) + $core.int get permireState => $_getIZ(9); + @$pb.TagNumber(10) + set permireState($core.int v) { + $_setSignedInt32(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasPermireState() => $_has(9); + @$pb.TagNumber(10) + void clearPermireState() => clearField(10); + + @$pb.TagNumber(11) + $core.String get uri => $_getSZ(10); + @$pb.TagNumber(11) + set uri($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasUri() => $_has(10); + @$pb.TagNumber(11) + void clearUri() => clearField(11); +} + +class MixUpListLiveItem extends $pb.GeneratedMessage { + factory MixUpListLiveItem({ + $core.bool? status, + $fixnum.Int64? roomId, + $core.String? uri, + }) { + final $result = create(); + if (status != null) { + $result.status = status; + } + if (roomId != null) { + $result.roomId = roomId; + } + if (uri != null) { + $result.uri = uri; + } + return $result; + } + MixUpListLiveItem._() : super(); + factory MixUpListLiveItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory MixUpListLiveItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'MixUpListLiveItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'status') + ..aInt64(2, _omitFieldNames ? '' : 'roomId') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MixUpListLiveItem clone() => MixUpListLiveItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MixUpListLiveItem copyWith(void Function(MixUpListLiveItem) updates) => + super.copyWith((message) => updates(message as MixUpListLiveItem)) + as MixUpListLiveItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MixUpListLiveItem create() => MixUpListLiveItem._(); + MixUpListLiveItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MixUpListLiveItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static MixUpListLiveItem? _defaultInstance; + + /// 直播状态 + /// 0:未直播 1:直播中 + @$pb.TagNumber(1) + $core.bool get status => $_getBF(0); + @$pb.TagNumber(1) + set status($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasStatus() => $_has(0); + @$pb.TagNumber(1) + void clearStatus() => clearField(1); + + /// 房间号 + @$pb.TagNumber(2) + $fixnum.Int64 get roomId => $_getI64(1); + @$pb.TagNumber(2) + set roomId($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasRoomId() => $_has(1); + @$pb.TagNumber(2) + void clearRoomId() => clearField(2); + + /// 跳转地址 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); +} + +enum Module_ModuleItem { + moduleAuthor, + moduleDispute, + moduleDesc, + moduleDynamic, + moduleLikeUser, + moduleExtend, + moduleAdditional, + moduleStat, + moduleFold, + moduleComment, + moduleInteraction, + moduleAuthorForward, + moduleAd, + moduleBanner, + moduleItemNull, + moduleShareInfo, + moduleRecommend, + moduleTop, + moduleButtom, + moduleStatForward, + moduleStory, + moduleTopic, + moduleTopicDetailsExt, + moduleTopTag, + moduleTopicBrief, + moduleTitle, + moduleButton, + moduleNotice, + moduleOpusSummary, + moduleCopyright, + moduleParagraph, + moduleBlocked, + moduleTextNotice, + moduleOpusCollection, + notSet +} + +/// 动态模块 +class Module extends $pb.GeneratedMessage { + factory Module({ + DynModuleType? moduleType, + ModuleAuthor? moduleAuthor, + ModuleDispute? moduleDispute, + ModuleDesc? moduleDesc, + ModuleDynamic? moduleDynamic, + ModuleLikeUser? moduleLikeUser, + ModuleExtend? moduleExtend, + ModuleAdditional? moduleAdditional, + ModuleStat? moduleStat, + ModuleFold? moduleFold, + ModuleComment? moduleComment, + ModuleInteraction? moduleInteraction, + ModuleAuthorForward? moduleAuthorForward, + ModuleAd? moduleAd, + ModuleBanner? moduleBanner, + ModuleItemNull? moduleItemNull, + ModuleShareInfo? moduleShareInfo, + ModuleRecommend? moduleRecommend, + ModuleTop? moduleTop, + ModuleButtom? moduleButtom, + ModuleStat? moduleStatForward, + ModuleStory? moduleStory, + ModuleTopic? moduleTopic, + ModuleTopicDetailsExt? moduleTopicDetailsExt, + ModuleTopTag? moduleTopTag, + ModuleTopicBrief? moduleTopicBrief, + ModuleTitle? moduleTitle, + ModuleButton? moduleButton, + ModuleNotice? moduleNotice, + ModuleOpusSummary? moduleOpusSummary, + ModuleCopyright? moduleCopyright, + ModuleParagraph? moduleParagraph, + ModuleBlocked? moduleBlocked, + ModuleTextNotice? moduleTextNotice, + ModuleOpusCollection? moduleOpusCollection, + }) { + final $result = create(); + if (moduleType != null) { + $result.moduleType = moduleType; + } + if (moduleAuthor != null) { + $result.moduleAuthor = moduleAuthor; + } + if (moduleDispute != null) { + $result.moduleDispute = moduleDispute; + } + if (moduleDesc != null) { + $result.moduleDesc = moduleDesc; + } + if (moduleDynamic != null) { + $result.moduleDynamic = moduleDynamic; + } + if (moduleLikeUser != null) { + $result.moduleLikeUser = moduleLikeUser; + } + if (moduleExtend != null) { + $result.moduleExtend = moduleExtend; + } + if (moduleAdditional != null) { + $result.moduleAdditional = moduleAdditional; + } + if (moduleStat != null) { + $result.moduleStat = moduleStat; + } + if (moduleFold != null) { + $result.moduleFold = moduleFold; + } + if (moduleComment != null) { + $result.moduleComment = moduleComment; + } + if (moduleInteraction != null) { + $result.moduleInteraction = moduleInteraction; + } + if (moduleAuthorForward != null) { + $result.moduleAuthorForward = moduleAuthorForward; + } + if (moduleAd != null) { + $result.moduleAd = moduleAd; + } + if (moduleBanner != null) { + $result.moduleBanner = moduleBanner; + } + if (moduleItemNull != null) { + $result.moduleItemNull = moduleItemNull; + } + if (moduleShareInfo != null) { + $result.moduleShareInfo = moduleShareInfo; + } + if (moduleRecommend != null) { + $result.moduleRecommend = moduleRecommend; + } + if (moduleTop != null) { + $result.moduleTop = moduleTop; + } + if (moduleButtom != null) { + $result.moduleButtom = moduleButtom; + } + if (moduleStatForward != null) { + $result.moduleStatForward = moduleStatForward; + } + if (moduleStory != null) { + $result.moduleStory = moduleStory; + } + if (moduleTopic != null) { + $result.moduleTopic = moduleTopic; + } + if (moduleTopicDetailsExt != null) { + $result.moduleTopicDetailsExt = moduleTopicDetailsExt; + } + if (moduleTopTag != null) { + $result.moduleTopTag = moduleTopTag; + } + if (moduleTopicBrief != null) { + $result.moduleTopicBrief = moduleTopicBrief; + } + if (moduleTitle != null) { + $result.moduleTitle = moduleTitle; + } + if (moduleButton != null) { + $result.moduleButton = moduleButton; + } + if (moduleNotice != null) { + $result.moduleNotice = moduleNotice; + } + if (moduleOpusSummary != null) { + $result.moduleOpusSummary = moduleOpusSummary; + } + if (moduleCopyright != null) { + $result.moduleCopyright = moduleCopyright; + } + if (moduleParagraph != null) { + $result.moduleParagraph = moduleParagraph; + } + if (moduleBlocked != null) { + $result.moduleBlocked = moduleBlocked; + } + if (moduleTextNotice != null) { + $result.moduleTextNotice = moduleTextNotice; + } + if (moduleOpusCollection != null) { + $result.moduleOpusCollection = moduleOpusCollection; + } + return $result; + } + Module._() : super(); + factory Module.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Module.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, Module_ModuleItem> _Module_ModuleItemByTag = + { + 2: Module_ModuleItem.moduleAuthor, + 3: Module_ModuleItem.moduleDispute, + 4: Module_ModuleItem.moduleDesc, + 5: Module_ModuleItem.moduleDynamic, + 6: Module_ModuleItem.moduleLikeUser, + 7: Module_ModuleItem.moduleExtend, + 8: Module_ModuleItem.moduleAdditional, + 9: Module_ModuleItem.moduleStat, + 10: Module_ModuleItem.moduleFold, + 11: Module_ModuleItem.moduleComment, + 12: Module_ModuleItem.moduleInteraction, + 13: Module_ModuleItem.moduleAuthorForward, + 14: Module_ModuleItem.moduleAd, + 15: Module_ModuleItem.moduleBanner, + 16: Module_ModuleItem.moduleItemNull, + 17: Module_ModuleItem.moduleShareInfo, + 18: Module_ModuleItem.moduleRecommend, + 19: Module_ModuleItem.moduleTop, + 20: Module_ModuleItem.moduleButtom, + 21: Module_ModuleItem.moduleStatForward, + 22: Module_ModuleItem.moduleStory, + 23: Module_ModuleItem.moduleTopic, + 24: Module_ModuleItem.moduleTopicDetailsExt, + 25: Module_ModuleItem.moduleTopTag, + 26: Module_ModuleItem.moduleTopicBrief, + 27: Module_ModuleItem.moduleTitle, + 28: Module_ModuleItem.moduleButton, + 29: Module_ModuleItem.moduleNotice, + 30: Module_ModuleItem.moduleOpusSummary, + 31: Module_ModuleItem.moduleCopyright, + 32: Module_ModuleItem.moduleParagraph, + 33: Module_ModuleItem.moduleBlocked, + 34: Module_ModuleItem.moduleTextNotice, + 35: Module_ModuleItem.moduleOpusCollection, + 0: Module_ModuleItem.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Module', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [ + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35 + ]) + ..e( + 1, _omitFieldNames ? '' : 'moduleType', $pb.PbFieldType.OE, + defaultOrMaker: DynModuleType.module_none, + valueOf: DynModuleType.valueOf, + enumValues: DynModuleType.values) + ..aOM(2, _omitFieldNames ? '' : 'moduleAuthor', + subBuilder: ModuleAuthor.create) + ..aOM(3, _omitFieldNames ? '' : 'moduleDispute', + subBuilder: ModuleDispute.create) + ..aOM(4, _omitFieldNames ? '' : 'moduleDesc', + subBuilder: ModuleDesc.create) + ..aOM(5, _omitFieldNames ? '' : 'moduleDynamic', + subBuilder: ModuleDynamic.create) + ..aOM(6, _omitFieldNames ? '' : 'moduleLikeUser', + protoName: 'module_likeUser', subBuilder: ModuleLikeUser.create) + ..aOM(7, _omitFieldNames ? '' : 'moduleExtend', + subBuilder: ModuleExtend.create) + ..aOM(8, _omitFieldNames ? '' : 'moduleAdditional', + subBuilder: ModuleAdditional.create) + ..aOM(9, _omitFieldNames ? '' : 'moduleStat', + subBuilder: ModuleStat.create) + ..aOM(10, _omitFieldNames ? '' : 'moduleFold', + subBuilder: ModuleFold.create) + ..aOM(11, _omitFieldNames ? '' : 'moduleComment', + subBuilder: ModuleComment.create) + ..aOM(12, _omitFieldNames ? '' : 'moduleInteraction', + subBuilder: ModuleInteraction.create) + ..aOM(13, _omitFieldNames ? '' : 'moduleAuthorForward', + subBuilder: ModuleAuthorForward.create) + ..aOM(14, _omitFieldNames ? '' : 'moduleAd', + subBuilder: ModuleAd.create) + ..aOM(15, _omitFieldNames ? '' : 'moduleBanner', + subBuilder: ModuleBanner.create) + ..aOM(16, _omitFieldNames ? '' : 'moduleItemNull', + subBuilder: ModuleItemNull.create) + ..aOM(17, _omitFieldNames ? '' : 'moduleShareInfo', + subBuilder: ModuleShareInfo.create) + ..aOM(18, _omitFieldNames ? '' : 'moduleRecommend', + subBuilder: ModuleRecommend.create) + ..aOM(19, _omitFieldNames ? '' : 'moduleTop', + subBuilder: ModuleTop.create) + ..aOM(20, _omitFieldNames ? '' : 'moduleButtom', + subBuilder: ModuleButtom.create) + ..aOM(21, _omitFieldNames ? '' : 'moduleStatForward', + subBuilder: ModuleStat.create) + ..aOM(22, _omitFieldNames ? '' : 'moduleStory', + subBuilder: ModuleStory.create) + ..aOM(23, _omitFieldNames ? '' : 'moduleTopic', + subBuilder: ModuleTopic.create) + ..aOM( + 24, _omitFieldNames ? '' : 'moduleTopicDetailsExt', + subBuilder: ModuleTopicDetailsExt.create) + ..aOM(25, _omitFieldNames ? '' : 'moduleTopTag', + subBuilder: ModuleTopTag.create) + ..aOM(26, _omitFieldNames ? '' : 'moduleTopicBrief', + subBuilder: ModuleTopicBrief.create) + ..aOM(27, _omitFieldNames ? '' : 'moduleTitle', + subBuilder: ModuleTitle.create) + ..aOM(28, _omitFieldNames ? '' : 'moduleButton', + subBuilder: ModuleButton.create) + ..aOM(29, _omitFieldNames ? '' : 'moduleNotice', + subBuilder: ModuleNotice.create) + ..aOM(30, _omitFieldNames ? '' : 'moduleOpusSummary', + subBuilder: ModuleOpusSummary.create) + ..aOM(31, _omitFieldNames ? '' : 'moduleCopyright', + subBuilder: ModuleCopyright.create) + ..aOM(32, _omitFieldNames ? '' : 'moduleParagraph', + subBuilder: ModuleParagraph.create) + ..aOM(33, _omitFieldNames ? '' : 'moduleBlocked', + subBuilder: ModuleBlocked.create) + ..aOM(34, _omitFieldNames ? '' : 'moduleTextNotice', + subBuilder: ModuleTextNotice.create) + ..aOM( + 35, _omitFieldNames ? '' : 'moduleOpusCollection', + subBuilder: ModuleOpusCollection.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') + Module clone() => Module()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Module copyWith(void Function(Module) updates) => + super.copyWith((message) => updates(message as Module)) as Module; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Module create() => Module._(); + Module createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Module getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Module? _defaultInstance; + + Module_ModuleItem whichModuleItem() => + _Module_ModuleItemByTag[$_whichOneof(0)]!; + void clearModuleItem() => clearField($_whichOneof(0)); + + /// 类型 + @$pb.TagNumber(1) + DynModuleType get moduleType => $_getN(0); + @$pb.TagNumber(1) + set moduleType(DynModuleType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasModuleType() => $_has(0); + @$pb.TagNumber(1) + void clearModuleType() => clearField(1); + + /// 用户模块 1 + @$pb.TagNumber(2) + ModuleAuthor get moduleAuthor => $_getN(1); + @$pb.TagNumber(2) + set moduleAuthor(ModuleAuthor v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasModuleAuthor() => $_has(1); + @$pb.TagNumber(2) + void clearModuleAuthor() => clearField(2); + @$pb.TagNumber(2) + ModuleAuthor ensureModuleAuthor() => $_ensure(1); + + /// 争议黄条模块 2 + @$pb.TagNumber(3) + ModuleDispute get moduleDispute => $_getN(2); + @$pb.TagNumber(3) + set moduleDispute(ModuleDispute v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasModuleDispute() => $_has(2); + @$pb.TagNumber(3) + void clearModuleDispute() => clearField(3); + @$pb.TagNumber(3) + ModuleDispute ensureModuleDispute() => $_ensure(2); + + /// 动态正文模块 3 + @$pb.TagNumber(4) + ModuleDesc get moduleDesc => $_getN(3); + @$pb.TagNumber(4) + set moduleDesc(ModuleDesc v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasModuleDesc() => $_has(3); + @$pb.TagNumber(4) + void clearModuleDesc() => clearField(4); + @$pb.TagNumber(4) + ModuleDesc ensureModuleDesc() => $_ensure(3); + + /// 动态卡模块 4 + @$pb.TagNumber(5) + ModuleDynamic get moduleDynamic => $_getN(4); + @$pb.TagNumber(5) + set moduleDynamic(ModuleDynamic v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasModuleDynamic() => $_has(4); + @$pb.TagNumber(5) + void clearModuleDynamic() => clearField(5); + @$pb.TagNumber(5) + ModuleDynamic ensureModuleDynamic() => $_ensure(4); + + /// 点赞外露(废弃) + @$pb.TagNumber(6) + ModuleLikeUser get moduleLikeUser => $_getN(5); + @$pb.TagNumber(6) + set moduleLikeUser(ModuleLikeUser v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasModuleLikeUser() => $_has(5); + @$pb.TagNumber(6) + void clearModuleLikeUser() => clearField(6); + @$pb.TagNumber(6) + ModuleLikeUser ensureModuleLikeUser() => $_ensure(5); + + /// 小卡模块 6 + @$pb.TagNumber(7) + ModuleExtend get moduleExtend => $_getN(6); + @$pb.TagNumber(7) + set moduleExtend(ModuleExtend v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasModuleExtend() => $_has(6); + @$pb.TagNumber(7) + void clearModuleExtend() => clearField(7); + @$pb.TagNumber(7) + ModuleExtend ensureModuleExtend() => $_ensure(6); + + /// 大卡模块 5 + @$pb.TagNumber(8) + ModuleAdditional get moduleAdditional => $_getN(7); + @$pb.TagNumber(8) + set moduleAdditional(ModuleAdditional v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasModuleAdditional() => $_has(7); + @$pb.TagNumber(8) + void clearModuleAdditional() => clearField(8); + @$pb.TagNumber(8) + ModuleAdditional ensureModuleAdditional() => $_ensure(7); + + /// 计数模块 8 + @$pb.TagNumber(9) + ModuleStat get moduleStat => $_getN(8); + @$pb.TagNumber(9) + set moduleStat(ModuleStat v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasModuleStat() => $_has(8); + @$pb.TagNumber(9) + void clearModuleStat() => clearField(9); + @$pb.TagNumber(9) + ModuleStat ensureModuleStat() => $_ensure(8); + + /// 折叠模块 9 + @$pb.TagNumber(10) + ModuleFold get moduleFold => $_getN(9); + @$pb.TagNumber(10) + set moduleFold(ModuleFold v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasModuleFold() => $_has(9); + @$pb.TagNumber(10) + void clearModuleFold() => clearField(10); + @$pb.TagNumber(10) + ModuleFold ensureModuleFold() => $_ensure(9); + + /// 评论外露(废弃) + @$pb.TagNumber(11) + ModuleComment get moduleComment => $_getN(10); + @$pb.TagNumber(11) + set moduleComment(ModuleComment v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasModuleComment() => $_has(10); + @$pb.TagNumber(11) + void clearModuleComment() => clearField(11); + @$pb.TagNumber(11) + ModuleComment ensureModuleComment() => $_ensure(10); + + /// 外露交互模块(点赞、评论) 7 + @$pb.TagNumber(12) + ModuleInteraction get moduleInteraction => $_getN(11); + @$pb.TagNumber(12) + set moduleInteraction(ModuleInteraction v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasModuleInteraction() => $_has(11); + @$pb.TagNumber(12) + void clearModuleInteraction() => clearField(12); + @$pb.TagNumber(12) + ModuleInteraction ensureModuleInteraction() => $_ensure(11); + + /// 转发卡-原卡用户模块 + @$pb.TagNumber(13) + ModuleAuthorForward get moduleAuthorForward => $_getN(12); + @$pb.TagNumber(13) + set moduleAuthorForward(ModuleAuthorForward v) { + setField(13, v); + } + + @$pb.TagNumber(13) + $core.bool hasModuleAuthorForward() => $_has(12); + @$pb.TagNumber(13) + void clearModuleAuthorForward() => clearField(13); + @$pb.TagNumber(13) + ModuleAuthorForward ensureModuleAuthorForward() => $_ensure(12); + + /// 广告卡 + @$pb.TagNumber(14) + ModuleAd get moduleAd => $_getN(13); + @$pb.TagNumber(14) + set moduleAd(ModuleAd v) { + setField(14, v); + } + + @$pb.TagNumber(14) + $core.bool hasModuleAd() => $_has(13); + @$pb.TagNumber(14) + void clearModuleAd() => clearField(14); + @$pb.TagNumber(14) + ModuleAd ensureModuleAd() => $_ensure(13); + + /// 通栏 + @$pb.TagNumber(15) + ModuleBanner get moduleBanner => $_getN(14); + @$pb.TagNumber(15) + set moduleBanner(ModuleBanner v) { + setField(15, v); + } + + @$pb.TagNumber(15) + $core.bool hasModuleBanner() => $_has(14); + @$pb.TagNumber(15) + void clearModuleBanner() => clearField(15); + @$pb.TagNumber(15) + ModuleBanner ensureModuleBanner() => $_ensure(14); + + /// 获取物料失败 + @$pb.TagNumber(16) + ModuleItemNull get moduleItemNull => $_getN(15); + @$pb.TagNumber(16) + set moduleItemNull(ModuleItemNull v) { + setField(16, v); + } + + @$pb.TagNumber(16) + $core.bool hasModuleItemNull() => $_has(15); + @$pb.TagNumber(16) + void clearModuleItemNull() => clearField(16); + @$pb.TagNumber(16) + ModuleItemNull ensureModuleItemNull() => $_ensure(15); + + /// 分享组件 + @$pb.TagNumber(17) + ModuleShareInfo get moduleShareInfo => $_getN(16); + @$pb.TagNumber(17) + set moduleShareInfo(ModuleShareInfo v) { + setField(17, v); + } + + @$pb.TagNumber(17) + $core.bool hasModuleShareInfo() => $_has(16); + @$pb.TagNumber(17) + void clearModuleShareInfo() => clearField(17); + @$pb.TagNumber(17) + ModuleShareInfo ensureModuleShareInfo() => $_ensure(16); + + /// 相关推荐模块 + @$pb.TagNumber(18) + ModuleRecommend get moduleRecommend => $_getN(17); + @$pb.TagNumber(18) + set moduleRecommend(ModuleRecommend v) { + setField(18, v); + } + + @$pb.TagNumber(18) + $core.bool hasModuleRecommend() => $_has(17); + @$pb.TagNumber(18) + void clearModuleRecommend() => clearField(18); + @$pb.TagNumber(18) + ModuleRecommend ensureModuleRecommend() => $_ensure(17); + + /// 顶部模块 + @$pb.TagNumber(19) + ModuleTop get moduleTop => $_getN(18); + @$pb.TagNumber(19) + set moduleTop(ModuleTop v) { + setField(19, v); + } + + @$pb.TagNumber(19) + $core.bool hasModuleTop() => $_has(18); + @$pb.TagNumber(19) + void clearModuleTop() => clearField(19); + @$pb.TagNumber(19) + ModuleTop ensureModuleTop() => $_ensure(18); + + /// 底部模块 + @$pb.TagNumber(20) + ModuleButtom get moduleButtom => $_getN(19); + @$pb.TagNumber(20) + set moduleButtom(ModuleButtom v) { + setField(20, v); + } + + @$pb.TagNumber(20) + $core.bool hasModuleButtom() => $_has(19); + @$pb.TagNumber(20) + void clearModuleButtom() => clearField(20); + @$pb.TagNumber(20) + ModuleButtom ensureModuleButtom() => $_ensure(19); + + /// 转发卡计数模块 + @$pb.TagNumber(21) + ModuleStat get moduleStatForward => $_getN(20); + @$pb.TagNumber(21) + set moduleStatForward(ModuleStat v) { + setField(21, v); + } + + @$pb.TagNumber(21) + $core.bool hasModuleStatForward() => $_has(20); + @$pb.TagNumber(21) + void clearModuleStatForward() => clearField(21); + @$pb.TagNumber(21) + ModuleStat ensureModuleStatForward() => $_ensure(20); + + @$pb.TagNumber(22) + ModuleStory get moduleStory => $_getN(21); + @$pb.TagNumber(22) + set moduleStory(ModuleStory v) { + setField(22, v); + } + + @$pb.TagNumber(22) + $core.bool hasModuleStory() => $_has(21); + @$pb.TagNumber(22) + void clearModuleStory() => clearField(22); + @$pb.TagNumber(22) + ModuleStory ensureModuleStory() => $_ensure(21); + + @$pb.TagNumber(23) + ModuleTopic get moduleTopic => $_getN(22); + @$pb.TagNumber(23) + set moduleTopic(ModuleTopic v) { + setField(23, v); + } + + @$pb.TagNumber(23) + $core.bool hasModuleTopic() => $_has(22); + @$pb.TagNumber(23) + void clearModuleTopic() => clearField(23); + @$pb.TagNumber(23) + ModuleTopic ensureModuleTopic() => $_ensure(22); + + @$pb.TagNumber(24) + ModuleTopicDetailsExt get moduleTopicDetailsExt => $_getN(23); + @$pb.TagNumber(24) + set moduleTopicDetailsExt(ModuleTopicDetailsExt v) { + setField(24, v); + } + + @$pb.TagNumber(24) + $core.bool hasModuleTopicDetailsExt() => $_has(23); + @$pb.TagNumber(24) + void clearModuleTopicDetailsExt() => clearField(24); + @$pb.TagNumber(24) + ModuleTopicDetailsExt ensureModuleTopicDetailsExt() => $_ensure(23); + + @$pb.TagNumber(25) + ModuleTopTag get moduleTopTag => $_getN(24); + @$pb.TagNumber(25) + set moduleTopTag(ModuleTopTag v) { + setField(25, v); + } + + @$pb.TagNumber(25) + $core.bool hasModuleTopTag() => $_has(24); + @$pb.TagNumber(25) + void clearModuleTopTag() => clearField(25); + @$pb.TagNumber(25) + ModuleTopTag ensureModuleTopTag() => $_ensure(24); + + @$pb.TagNumber(26) + ModuleTopicBrief get moduleTopicBrief => $_getN(25); + @$pb.TagNumber(26) + set moduleTopicBrief(ModuleTopicBrief v) { + setField(26, v); + } + + @$pb.TagNumber(26) + $core.bool hasModuleTopicBrief() => $_has(25); + @$pb.TagNumber(26) + void clearModuleTopicBrief() => clearField(26); + @$pb.TagNumber(26) + ModuleTopicBrief ensureModuleTopicBrief() => $_ensure(25); + + @$pb.TagNumber(27) + ModuleTitle get moduleTitle => $_getN(26); + @$pb.TagNumber(27) + set moduleTitle(ModuleTitle v) { + setField(27, v); + } + + @$pb.TagNumber(27) + $core.bool hasModuleTitle() => $_has(26); + @$pb.TagNumber(27) + void clearModuleTitle() => clearField(27); + @$pb.TagNumber(27) + ModuleTitle ensureModuleTitle() => $_ensure(26); + + @$pb.TagNumber(28) + ModuleButton get moduleButton => $_getN(27); + @$pb.TagNumber(28) + set moduleButton(ModuleButton v) { + setField(28, v); + } + + @$pb.TagNumber(28) + $core.bool hasModuleButton() => $_has(27); + @$pb.TagNumber(28) + void clearModuleButton() => clearField(28); + @$pb.TagNumber(28) + ModuleButton ensureModuleButton() => $_ensure(27); + + @$pb.TagNumber(29) + ModuleNotice get moduleNotice => $_getN(28); + @$pb.TagNumber(29) + set moduleNotice(ModuleNotice v) { + setField(29, v); + } + + @$pb.TagNumber(29) + $core.bool hasModuleNotice() => $_has(28); + @$pb.TagNumber(29) + void clearModuleNotice() => clearField(29); + @$pb.TagNumber(29) + ModuleNotice ensureModuleNotice() => $_ensure(28); + + @$pb.TagNumber(30) + ModuleOpusSummary get moduleOpusSummary => $_getN(29); + @$pb.TagNumber(30) + set moduleOpusSummary(ModuleOpusSummary v) { + setField(30, v); + } + + @$pb.TagNumber(30) + $core.bool hasModuleOpusSummary() => $_has(29); + @$pb.TagNumber(30) + void clearModuleOpusSummary() => clearField(30); + @$pb.TagNumber(30) + ModuleOpusSummary ensureModuleOpusSummary() => $_ensure(29); + + @$pb.TagNumber(31) + ModuleCopyright get moduleCopyright => $_getN(30); + @$pb.TagNumber(31) + set moduleCopyright(ModuleCopyright v) { + setField(31, v); + } + + @$pb.TagNumber(31) + $core.bool hasModuleCopyright() => $_has(30); + @$pb.TagNumber(31) + void clearModuleCopyright() => clearField(31); + @$pb.TagNumber(31) + ModuleCopyright ensureModuleCopyright() => $_ensure(30); + + @$pb.TagNumber(32) + ModuleParagraph get moduleParagraph => $_getN(31); + @$pb.TagNumber(32) + set moduleParagraph(ModuleParagraph v) { + setField(32, v); + } + + @$pb.TagNumber(32) + $core.bool hasModuleParagraph() => $_has(31); + @$pb.TagNumber(32) + void clearModuleParagraph() => clearField(32); + @$pb.TagNumber(32) + ModuleParagraph ensureModuleParagraph() => $_ensure(31); + + @$pb.TagNumber(33) + ModuleBlocked get moduleBlocked => $_getN(32); + @$pb.TagNumber(33) + set moduleBlocked(ModuleBlocked v) { + setField(33, v); + } + + @$pb.TagNumber(33) + $core.bool hasModuleBlocked() => $_has(32); + @$pb.TagNumber(33) + void clearModuleBlocked() => clearField(33); + @$pb.TagNumber(33) + ModuleBlocked ensureModuleBlocked() => $_ensure(32); + + @$pb.TagNumber(34) + ModuleTextNotice get moduleTextNotice => $_getN(33); + @$pb.TagNumber(34) + set moduleTextNotice(ModuleTextNotice v) { + setField(34, v); + } + + @$pb.TagNumber(34) + $core.bool hasModuleTextNotice() => $_has(33); + @$pb.TagNumber(34) + void clearModuleTextNotice() => clearField(34); + @$pb.TagNumber(34) + ModuleTextNotice ensureModuleTextNotice() => $_ensure(33); + + @$pb.TagNumber(35) + ModuleOpusCollection get moduleOpusCollection => $_getN(34); + @$pb.TagNumber(35) + set moduleOpusCollection(ModuleOpusCollection v) { + setField(35, v); + } + + @$pb.TagNumber(35) + $core.bool hasModuleOpusCollection() => $_has(34); + @$pb.TagNumber(35) + void clearModuleOpusCollection() => clearField(35); + @$pb.TagNumber(35) + ModuleOpusCollection ensureModuleOpusCollection() => $_ensure(34); +} + +/// 动态列表-用户模块-广告卡 +class ModuleAd extends $pb.GeneratedMessage { + factory ModuleAd({ + $2.Any? sourceContent, + ModuleAuthor? moduleAuthor, + $core.int? adContentType, + $core.String? coverLeftText1, + $core.String? coverLeftText2, + $core.String? coverLeftText3, + }) { + final $result = create(); + if (sourceContent != null) { + $result.sourceContent = sourceContent; + } + if (moduleAuthor != null) { + $result.moduleAuthor = moduleAuthor; + } + if (adContentType != null) { + $result.adContentType = adContentType; + } + if (coverLeftText1 != null) { + $result.coverLeftText1 = coverLeftText1; + } + if (coverLeftText2 != null) { + $result.coverLeftText2 = coverLeftText2; + } + if (coverLeftText3 != null) { + $result.coverLeftText3 = coverLeftText3; + } + return $result; + } + ModuleAd._() : super(); + factory ModuleAd.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleAd.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleAd', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM<$2.Any>(1, _omitFieldNames ? '' : 'sourceContent', + subBuilder: $2.Any.create) + ..aOM(2, _omitFieldNames ? '' : 'moduleAuthor', + subBuilder: ModuleAuthor.create) + ..a<$core.int>( + 3, _omitFieldNames ? '' : 'adContentType', $pb.PbFieldType.O3) + ..aOS(4, _omitFieldNames ? '' : 'coverLeftText1') + ..aOS(5, _omitFieldNames ? '' : 'coverLeftText2') + ..aOS(6, _omitFieldNames ? '' : 'coverLeftText3') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleAd clone() => ModuleAd()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleAd copyWith(void Function(ModuleAd) updates) => + super.copyWith((message) => updates(message as ModuleAd)) as ModuleAd; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleAd create() => ModuleAd._(); + ModuleAd createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleAd getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ModuleAd? _defaultInstance; + + /// 广告透传信息 + @$pb.TagNumber(1) + $2.Any get sourceContent => $_getN(0); + @$pb.TagNumber(1) + set sourceContent($2.Any v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasSourceContent() => $_has(0); + @$pb.TagNumber(1) + void clearSourceContent() => clearField(1); + @$pb.TagNumber(1) + $2.Any ensureSourceContent() => $_ensure(0); + + /// 用户模块 + @$pb.TagNumber(2) + ModuleAuthor get moduleAuthor => $_getN(1); + @$pb.TagNumber(2) + set moduleAuthor(ModuleAuthor v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasModuleAuthor() => $_has(1); + @$pb.TagNumber(2) + void clearModuleAuthor() => clearField(2); + @$pb.TagNumber(2) + ModuleAuthor ensureModuleAuthor() => $_ensure(1); + + @$pb.TagNumber(3) + $core.int get adContentType => $_getIZ(2); + @$pb.TagNumber(3) + set adContentType($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasAdContentType() => $_has(2); + @$pb.TagNumber(3) + void clearAdContentType() => clearField(3); + + @$pb.TagNumber(4) + $core.String get coverLeftText1 => $_getSZ(3); + @$pb.TagNumber(4) + set coverLeftText1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasCoverLeftText1() => $_has(3); + @$pb.TagNumber(4) + void clearCoverLeftText1() => clearField(4); + + @$pb.TagNumber(5) + $core.String get coverLeftText2 => $_getSZ(4); + @$pb.TagNumber(5) + set coverLeftText2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCoverLeftText2() => $_has(4); + @$pb.TagNumber(5) + void clearCoverLeftText2() => clearField(5); + + @$pb.TagNumber(6) + $core.String get coverLeftText3 => $_getSZ(5); + @$pb.TagNumber(6) + set coverLeftText3($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCoverLeftText3() => $_has(5); + @$pb.TagNumber(6) + void clearCoverLeftText3() => clearField(6); +} + +enum ModuleAdditional_Item { + pgc, + goods, + vote, + common, + esport, + vote2, + ugc, + up, + article, + live, + notSet +} + +/// 动态-附加卡模块 +class ModuleAdditional extends $pb.GeneratedMessage { + factory ModuleAdditional({ + AdditionalType? type, + AdditionalPGC? pgc, + AdditionGoods? goods, + AdditionVote? vote, + AdditionCommon? common, + AdditionEsport? esport, + $fixnum.Int64? rid, + AdditionVote2? vote2, + AdditionUgc? ugc, + AdditionUP? up, + $core.bool? needWriteCalender, + AdditionArticle? article, + AdditionLiveRoom? live, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (pgc != null) { + $result.pgc = pgc; + } + if (goods != null) { + $result.goods = goods; + } + if (vote != null) { + $result.vote = vote; + } + if (common != null) { + $result.common = common; + } + if (esport != null) { + $result.esport = esport; + } + if (rid != null) { + $result.rid = rid; + } + if (vote2 != null) { + $result.vote2 = vote2; + } + if (ugc != null) { + $result.ugc = ugc; + } + if (up != null) { + $result.up = up; + } + if (needWriteCalender != null) { + $result.needWriteCalender = needWriteCalender; + } + if (article != null) { + $result.article = article; + } + if (live != null) { + $result.live = live; + } + return $result; + } + ModuleAdditional._() : super(); + factory ModuleAdditional.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleAdditional.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, ModuleAdditional_Item> + _ModuleAdditional_ItemByTag = { + 2: ModuleAdditional_Item.pgc, + 3: ModuleAdditional_Item.goods, + 4: ModuleAdditional_Item.vote, + 5: ModuleAdditional_Item.common, + 6: ModuleAdditional_Item.esport, + 8: ModuleAdditional_Item.vote2, + 9: ModuleAdditional_Item.ugc, + 10: ModuleAdditional_Item.up, + 12: ModuleAdditional_Item.article, + 13: ModuleAdditional_Item.live, + 0: ModuleAdditional_Item.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleAdditional', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [2, 3, 4, 5, 6, 8, 9, 10, 12, 13]) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: AdditionalType.additional_none, + valueOf: AdditionalType.valueOf, + enumValues: AdditionalType.values) + ..aOM(2, _omitFieldNames ? '' : 'pgc', + subBuilder: AdditionalPGC.create) + ..aOM(3, _omitFieldNames ? '' : 'goods', + subBuilder: AdditionGoods.create) + ..aOM(4, _omitFieldNames ? '' : 'vote', + subBuilder: AdditionVote.create) + ..aOM(5, _omitFieldNames ? '' : 'common', + subBuilder: AdditionCommon.create) + ..aOM(6, _omitFieldNames ? '' : 'esport', + subBuilder: AdditionEsport.create) + ..aInt64(7, _omitFieldNames ? '' : 'rid') + ..aOM(8, _omitFieldNames ? '' : 'vote2', + subBuilder: AdditionVote2.create) + ..aOM(9, _omitFieldNames ? '' : 'ugc', + subBuilder: AdditionUgc.create) + ..aOM(10, _omitFieldNames ? '' : 'up', + subBuilder: AdditionUP.create) + ..aOB(11, _omitFieldNames ? '' : 'needWriteCalender') + ..aOM(12, _omitFieldNames ? '' : 'article', + subBuilder: AdditionArticle.create) + ..aOM(13, _omitFieldNames ? '' : 'live', + subBuilder: AdditionLiveRoom.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') + ModuleAdditional clone() => ModuleAdditional()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleAdditional copyWith(void Function(ModuleAdditional) updates) => + super.copyWith((message) => updates(message as ModuleAdditional)) + as ModuleAdditional; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleAdditional create() => ModuleAdditional._(); + ModuleAdditional createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleAdditional getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleAdditional? _defaultInstance; + + ModuleAdditional_Item whichItem() => + _ModuleAdditional_ItemByTag[$_whichOneof(0)]!; + void clearItem() => clearField($_whichOneof(0)); + + /// 类型 + @$pb.TagNumber(1) + AdditionalType get type => $_getN(0); + @$pb.TagNumber(1) + set type(AdditionalType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + /// 废弃 + @$pb.TagNumber(2) + AdditionalPGC get pgc => $_getN(1); + @$pb.TagNumber(2) + set pgc(AdditionalPGC v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasPgc() => $_has(1); + @$pb.TagNumber(2) + void clearPgc() => clearField(2); + @$pb.TagNumber(2) + AdditionalPGC ensurePgc() => $_ensure(1); + + @$pb.TagNumber(3) + AdditionGoods get goods => $_getN(2); + @$pb.TagNumber(3) + set goods(AdditionGoods v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasGoods() => $_has(2); + @$pb.TagNumber(3) + void clearGoods() => clearField(3); + @$pb.TagNumber(3) + AdditionGoods ensureGoods() => $_ensure(2); + + /// 废弃 + @$pb.TagNumber(4) + AdditionVote get vote => $_getN(3); + @$pb.TagNumber(4) + set vote(AdditionVote v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasVote() => $_has(3); + @$pb.TagNumber(4) + void clearVote() => clearField(4); + @$pb.TagNumber(4) + AdditionVote ensureVote() => $_ensure(3); + + @$pb.TagNumber(5) + AdditionCommon get common => $_getN(4); + @$pb.TagNumber(5) + set common(AdditionCommon v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasCommon() => $_has(4); + @$pb.TagNumber(5) + void clearCommon() => clearField(5); + @$pb.TagNumber(5) + AdditionCommon ensureCommon() => $_ensure(4); + + @$pb.TagNumber(6) + AdditionEsport get esport => $_getN(5); + @$pb.TagNumber(6) + set esport(AdditionEsport v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasEsport() => $_has(5); + @$pb.TagNumber(6) + void clearEsport() => clearField(6); + @$pb.TagNumber(6) + AdditionEsport ensureEsport() => $_ensure(5); + + /// 附加卡物料ID + @$pb.TagNumber(7) + $fixnum.Int64 get rid => $_getI64(6); + @$pb.TagNumber(7) + set rid($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasRid() => $_has(6); + @$pb.TagNumber(7) + void clearRid() => clearField(7); + + /// 投票 + @$pb.TagNumber(8) + AdditionVote2 get vote2 => $_getN(7); + @$pb.TagNumber(8) + set vote2(AdditionVote2 v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasVote2() => $_has(7); + @$pb.TagNumber(8) + void clearVote2() => clearField(8); + @$pb.TagNumber(8) + AdditionVote2 ensureVote2() => $_ensure(7); + + @$pb.TagNumber(9) + AdditionUgc get ugc => $_getN(8); + @$pb.TagNumber(9) + set ugc(AdditionUgc v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasUgc() => $_has(8); + @$pb.TagNumber(9) + void clearUgc() => clearField(9); + @$pb.TagNumber(9) + AdditionUgc ensureUgc() => $_ensure(8); + + /// up主预约发布卡 + @$pb.TagNumber(10) + AdditionUP get up => $_getN(9); + @$pb.TagNumber(10) + set up(AdditionUP v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasUp() => $_has(9); + @$pb.TagNumber(10) + void clearUp() => clearField(10); + @$pb.TagNumber(10) + AdditionUP ensureUp() => $_ensure(9); + + @$pb.TagNumber(11) + $core.bool get needWriteCalender => $_getBF(10); + @$pb.TagNumber(11) + set needWriteCalender($core.bool v) { + $_setBool(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasNeedWriteCalender() => $_has(10); + @$pb.TagNumber(11) + void clearNeedWriteCalender() => clearField(11); + + @$pb.TagNumber(12) + AdditionArticle get article => $_getN(11); + @$pb.TagNumber(12) + set article(AdditionArticle v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasArticle() => $_has(11); + @$pb.TagNumber(12) + void clearArticle() => clearField(12); + @$pb.TagNumber(12) + AdditionArticle ensureArticle() => $_ensure(11); + + @$pb.TagNumber(13) + AdditionLiveRoom get live => $_getN(12); + @$pb.TagNumber(13) + set live(AdditionLiveRoom v) { + setField(13, v); + } + + @$pb.TagNumber(13) + $core.bool hasLive() => $_has(12); + @$pb.TagNumber(13) + void clearLive() => clearField(13); + @$pb.TagNumber(13) + AdditionLiveRoom ensureLive() => $_ensure(12); +} + +/// 动态-发布人模块 +class ModuleAuthor extends $pb.GeneratedMessage { + factory ModuleAuthor({ + $fixnum.Int64? mid, + $core.String? ptimeLabelText, + UserInfo? author, + DecorateCard? decorateCard, + $core.String? uri, + $core.Iterable? tpList, + ModuleAuthorBadgeType? badgeType, + ModuleAuthorBadgeButton? badgeButton, + $core.int? attend, + Relation? relation, + Weight? weight, + $core.bool? showFollow, + $core.bool? isTop, + $core.String? ptimeLocationText, + $core.bool? showLevel, + OnlyFans? onlyFans, + }) { + final $result = create(); + if (mid != null) { + $result.mid = mid; + } + if (ptimeLabelText != null) { + $result.ptimeLabelText = ptimeLabelText; + } + if (author != null) { + $result.author = author; + } + if (decorateCard != null) { + $result.decorateCard = decorateCard; + } + if (uri != null) { + $result.uri = uri; + } + if (tpList != null) { + $result.tpList.addAll(tpList); + } + if (badgeType != null) { + $result.badgeType = badgeType; + } + if (badgeButton != null) { + $result.badgeButton = badgeButton; + } + if (attend != null) { + $result.attend = attend; + } + if (relation != null) { + $result.relation = relation; + } + if (weight != null) { + $result.weight = weight; + } + if (showFollow != null) { + $result.showFollow = showFollow; + } + if (isTop != null) { + $result.isTop = isTop; + } + if (ptimeLocationText != null) { + $result.ptimeLocationText = ptimeLocationText; + } + if (showLevel != null) { + $result.showLevel = showLevel; + } + if (onlyFans != null) { + $result.onlyFans = onlyFans; + } + return $result; + } + ModuleAuthor._() : super(); + factory ModuleAuthor.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleAuthor.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleAuthor', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'mid') + ..aOS(2, _omitFieldNames ? '' : 'ptimeLabelText') + ..aOM(3, _omitFieldNames ? '' : 'author', + subBuilder: UserInfo.create) + ..aOM(4, _omitFieldNames ? '' : 'decorateCard', + subBuilder: DecorateCard.create) + ..aOS(5, _omitFieldNames ? '' : 'uri') + ..pc(6, _omitFieldNames ? '' : 'tpList', $pb.PbFieldType.PM, + subBuilder: ThreePointItem.create) + ..e( + 7, _omitFieldNames ? '' : 'badgeType', $pb.PbFieldType.OE, + defaultOrMaker: ModuleAuthorBadgeType.module_author_badge_type_none, + valueOf: ModuleAuthorBadgeType.valueOf, + enumValues: ModuleAuthorBadgeType.values) + ..aOM(8, _omitFieldNames ? '' : 'badgeButton', + subBuilder: ModuleAuthorBadgeButton.create) + ..a<$core.int>(9, _omitFieldNames ? '' : 'attend', $pb.PbFieldType.O3) + ..aOM(10, _omitFieldNames ? '' : 'relation', + subBuilder: Relation.create) + ..aOM(11, _omitFieldNames ? '' : 'weight', + subBuilder: Weight.create) + ..aOB(12, _omitFieldNames ? '' : 'showFollow') + ..aOB(13, _omitFieldNames ? '' : 'isTop') + ..aOS(14, _omitFieldNames ? '' : 'ptimeLocationText') + ..aOB(15, _omitFieldNames ? '' : 'showLevel') + ..aOM(16, _omitFieldNames ? '' : 'onlyFans', + subBuilder: OnlyFans.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') + ModuleAuthor clone() => ModuleAuthor()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleAuthor copyWith(void Function(ModuleAuthor) updates) => + super.copyWith((message) => updates(message as ModuleAuthor)) + as ModuleAuthor; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleAuthor create() => ModuleAuthor._(); + ModuleAuthor createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleAuthor getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleAuthor? _defaultInstance; + + /// 用户mid + @$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 ptimeLabelText => $_getSZ(1); + @$pb.TagNumber(2) + set ptimeLabelText($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasPtimeLabelText() => $_has(1); + @$pb.TagNumber(2) + void clearPtimeLabelText() => clearField(2); + + /// 用户详情 + @$pb.TagNumber(3) + UserInfo get author => $_getN(2); + @$pb.TagNumber(3) + set author(UserInfo v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasAuthor() => $_has(2); + @$pb.TagNumber(3) + void clearAuthor() => clearField(3); + @$pb.TagNumber(3) + UserInfo ensureAuthor() => $_ensure(2); + + /// 装扮卡片 + @$pb.TagNumber(4) + DecorateCard get decorateCard => $_getN(3); + @$pb.TagNumber(4) + set decorateCard(DecorateCard v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasDecorateCard() => $_has(3); + @$pb.TagNumber(4) + void clearDecorateCard() => clearField(4); + @$pb.TagNumber(4) + DecorateCard ensureDecorateCard() => $_ensure(3); + + /// 点击跳转链接 + @$pb.TagNumber(5) + $core.String get uri => $_getSZ(4); + @$pb.TagNumber(5) + set uri($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasUri() => $_has(4); + @$pb.TagNumber(5) + void clearUri() => clearField(5); + + /// 右侧操作区域 - 三点样式 + @$pb.TagNumber(6) + $core.List get tpList => $_getList(5); + + /// 右侧操作区域样式枚举 + @$pb.TagNumber(7) + ModuleAuthorBadgeType get badgeType => $_getN(6); + @$pb.TagNumber(7) + set badgeType(ModuleAuthorBadgeType v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasBadgeType() => $_has(6); + @$pb.TagNumber(7) + void clearBadgeType() => clearField(7); + + /// 右侧操作区域 - 按钮样式 + @$pb.TagNumber(8) + ModuleAuthorBadgeButton get badgeButton => $_getN(7); + @$pb.TagNumber(8) + set badgeButton(ModuleAuthorBadgeButton v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasBadgeButton() => $_has(7); + @$pb.TagNumber(8) + void clearBadgeButton() => clearField(8); + @$pb.TagNumber(8) + ModuleAuthorBadgeButton ensureBadgeButton() => $_ensure(7); + + /// 是否关注 + /// 1:关注 0:不关注 默认0,注:点赞列表使用,其他场景不使用该字段 + @$pb.TagNumber(9) + $core.int get attend => $_getIZ(8); + @$pb.TagNumber(9) + set attend($core.int v) { + $_setSignedInt32(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasAttend() => $_has(8); + @$pb.TagNumber(9) + void clearAttend() => clearField(9); + + /// 关注状态 + @$pb.TagNumber(10) + Relation get relation => $_getN(9); + @$pb.TagNumber(10) + set relation(Relation v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasRelation() => $_has(9); + @$pb.TagNumber(10) + void clearRelation() => clearField(10); + @$pb.TagNumber(10) + Relation ensureRelation() => $_ensure(9); + + /// 右侧操作区域 - 提权样式 + @$pb.TagNumber(11) + Weight get weight => $_getN(10); + @$pb.TagNumber(11) + set weight(Weight v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasWeight() => $_has(10); + @$pb.TagNumber(11) + void clearWeight() => clearField(11); + @$pb.TagNumber(11) + Weight ensureWeight() => $_ensure(10); + + /// 是否展示关注 + @$pb.TagNumber(12) + $core.bool get showFollow => $_getBF(11); + @$pb.TagNumber(12) + set showFollow($core.bool v) { + $_setBool(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasShowFollow() => $_has(11); + @$pb.TagNumber(12) + void clearShowFollow() => clearField(12); + + /// 是否置顶 + @$pb.TagNumber(13) + $core.bool get isTop => $_getBF(12); + @$pb.TagNumber(13) + set isTop($core.bool v) { + $_setBool(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasIsTop() => $_has(12); + @$pb.TagNumber(13) + void clearIsTop() => clearField(13); + + /// ip属地 + @$pb.TagNumber(14) + $core.String get ptimeLocationText => $_getSZ(13); + @$pb.TagNumber(14) + set ptimeLocationText($core.String v) { + $_setString(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasPtimeLocationText() => $_has(13); + @$pb.TagNumber(14) + void clearPtimeLocationText() => clearField(14); + + @$pb.TagNumber(15) + $core.bool get showLevel => $_getBF(14); + @$pb.TagNumber(15) + set showLevel($core.bool v) { + $_setBool(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasShowLevel() => $_has(14); + @$pb.TagNumber(15) + void clearShowLevel() => clearField(15); + + @$pb.TagNumber(16) + OnlyFans get onlyFans => $_getN(15); + @$pb.TagNumber(16) + set onlyFans(OnlyFans v) { + setField(16, v); + } + + @$pb.TagNumber(16) + $core.bool hasOnlyFans() => $_has(15); + @$pb.TagNumber(16) + void clearOnlyFans() => clearField(16); + @$pb.TagNumber(16) + OnlyFans ensureOnlyFans() => $_ensure(15); +} + +/// 动态列表渲染部分-用户模块-按钮 +class ModuleAuthorBadgeButton extends $pb.GeneratedMessage { + factory ModuleAuthorBadgeButton({ + $core.String? icon, + $core.String? title, + $core.int? state, + $fixnum.Int64? id, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + if (state != null) { + $result.state = state; + } + if (id != null) { + $result.id = id; + } + return $result; + } + ModuleAuthorBadgeButton._() : super(); + factory ModuleAuthorBadgeButton.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleAuthorBadgeButton.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleAuthorBadgeButton', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..a<$core.int>(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.O3) + ..aInt64(4, _omitFieldNames ? '' : 'id') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleAuthorBadgeButton clone() => + ModuleAuthorBadgeButton()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleAuthorBadgeButton copyWith( + void Function(ModuleAuthorBadgeButton) updates) => + super.copyWith((message) => updates(message as ModuleAuthorBadgeButton)) + as ModuleAuthorBadgeButton; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleAuthorBadgeButton create() => ModuleAuthorBadgeButton._(); + ModuleAuthorBadgeButton createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleAuthorBadgeButton getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleAuthorBadgeButton? _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 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.int get state => $_getIZ(2); + @$pb.TagNumber(3) + set state($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasState() => $_has(2); + @$pb.TagNumber(3) + void clearState() => clearField(3); + + /// 物料ID + @$pb.TagNumber(4) + $fixnum.Int64 get id => $_getI64(3); + @$pb.TagNumber(4) + set id($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasId() => $_has(3); + @$pb.TagNumber(4) + void clearId() => clearField(4); +} + +/// 动态列表-用户模块-转发模板 +class ModuleAuthorForward extends $pb.GeneratedMessage { + factory ModuleAuthorForward({ + $core.Iterable? title, + $core.String? url, + $fixnum.Int64? uid, + $core.String? ptimeLabelText, + $core.bool? showFollow, + $core.String? faceUrl, + Relation? relation, + $core.Iterable? tpList, + }) { + final $result = create(); + if (title != null) { + $result.title.addAll(title); + } + if (url != null) { + $result.url = url; + } + if (uid != null) { + $result.uid = uid; + } + if (ptimeLabelText != null) { + $result.ptimeLabelText = ptimeLabelText; + } + if (showFollow != null) { + $result.showFollow = showFollow; + } + if (faceUrl != null) { + $result.faceUrl = faceUrl; + } + if (relation != null) { + $result.relation = relation; + } + if (tpList != null) { + $result.tpList.addAll(tpList); + } + return $result; + } + ModuleAuthorForward._() : super(); + factory ModuleAuthorForward.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleAuthorForward.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleAuthorForward', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'title', $pb.PbFieldType.PM, + subBuilder: ModuleAuthorForwardTitle.create) + ..aOS(2, _omitFieldNames ? '' : 'url') + ..aInt64(3, _omitFieldNames ? '' : 'uid') + ..aOS(4, _omitFieldNames ? '' : 'ptimeLabelText') + ..aOB(5, _omitFieldNames ? '' : 'showFollow') + ..aOS(6, _omitFieldNames ? '' : 'faceUrl') + ..aOM(7, _omitFieldNames ? '' : 'relation', + subBuilder: Relation.create) + ..pc(8, _omitFieldNames ? '' : 'tpList', $pb.PbFieldType.PM, + subBuilder: ThreePointItem.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') + ModuleAuthorForward clone() => ModuleAuthorForward()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleAuthorForward copyWith(void Function(ModuleAuthorForward) updates) => + super.copyWith((message) => updates(message as ModuleAuthorForward)) + as ModuleAuthorForward; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleAuthorForward create() => ModuleAuthorForward._(); + ModuleAuthorForward createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleAuthorForward getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleAuthorForward? _defaultInstance; + + /// 展示标题 + @$pb.TagNumber(1) + $core.List get title => $_getList(0); + + /// 源卡片跳转链接 + @$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); + + /// 用户uid + @$pb.TagNumber(3) + $fixnum.Int64 get uid => $_getI64(2); + @$pb.TagNumber(3) + set uid($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUid() => $_has(2); + @$pb.TagNumber(3) + void clearUid() => clearField(3); + + /// 时间标签 + @$pb.TagNumber(4) + $core.String get ptimeLabelText => $_getSZ(3); + @$pb.TagNumber(4) + set ptimeLabelText($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasPtimeLabelText() => $_has(3); + @$pb.TagNumber(4) + void clearPtimeLabelText() => clearField(4); + + /// 是否展示关注 + @$pb.TagNumber(5) + $core.bool get showFollow => $_getBF(4); + @$pb.TagNumber(5) + set showFollow($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasShowFollow() => $_has(4); + @$pb.TagNumber(5) + void clearShowFollow() => clearField(5); + + /// 源up主头像 + @$pb.TagNumber(6) + $core.String get faceUrl => $_getSZ(5); + @$pb.TagNumber(6) + set faceUrl($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasFaceUrl() => $_has(5); + @$pb.TagNumber(6) + void clearFaceUrl() => clearField(6); + + /// 双向关系 + @$pb.TagNumber(7) + Relation get relation => $_getN(6); + @$pb.TagNumber(7) + set relation(Relation v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasRelation() => $_has(6); + @$pb.TagNumber(7) + void clearRelation() => clearField(7); + @$pb.TagNumber(7) + Relation ensureRelation() => $_ensure(6); + + /// 右侧操作区域 - 三点样式 + @$pb.TagNumber(8) + $core.List get tpList => $_getList(7); +} + +/// 动态列表-用户模块-转发模板-title部分 +class ModuleAuthorForwardTitle extends $pb.GeneratedMessage { + factory ModuleAuthorForwardTitle({ + $core.String? text, + $core.String? url, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + if (url != null) { + $result.url = url; + } + return $result; + } + ModuleAuthorForwardTitle._() : super(); + factory ModuleAuthorForwardTitle.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleAuthorForwardTitle.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleAuthorForwardTitle', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..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') + ModuleAuthorForwardTitle clone() => + ModuleAuthorForwardTitle()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleAuthorForwardTitle copyWith( + void Function(ModuleAuthorForwardTitle) updates) => + super.copyWith((message) => updates(message as ModuleAuthorForwardTitle)) + as ModuleAuthorForwardTitle; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleAuthorForwardTitle create() => ModuleAuthorForwardTitle._(); + ModuleAuthorForwardTitle createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleAuthorForwardTitle getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleAuthorForwardTitle? _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); + + /// 跳转链接 + @$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); +} + +enum ModuleBanner_Item { user, notSet } + +/// 动态列表-通栏 +class ModuleBanner extends $pb.GeneratedMessage { + factory ModuleBanner({ + $core.String? title, + ModuleBannerType? type, + ModuleBannerUser? user, + $core.String? dislikeText, + $core.String? dislikeIcon, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (type != null) { + $result.type = type; + } + if (user != null) { + $result.user = user; + } + if (dislikeText != null) { + $result.dislikeText = dislikeText; + } + if (dislikeIcon != null) { + $result.dislikeIcon = dislikeIcon; + } + return $result; + } + ModuleBanner._() : super(); + factory ModuleBanner.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleBanner.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, ModuleBanner_Item> _ModuleBanner_ItemByTag = + {3: ModuleBanner_Item.user, 0: ModuleBanner_Item.notSet}; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleBanner', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [3]) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: ModuleBannerType.module_banner_type_none, + valueOf: ModuleBannerType.valueOf, + enumValues: ModuleBannerType.values) + ..aOM(3, _omitFieldNames ? '' : 'user', + subBuilder: ModuleBannerUser.create) + ..aOS(4, _omitFieldNames ? '' : 'dislikeText') + ..aOS(5, _omitFieldNames ? '' : 'dislikeIcon') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleBanner clone() => ModuleBanner()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleBanner copyWith(void Function(ModuleBanner) updates) => + super.copyWith((message) => updates(message as ModuleBanner)) + as ModuleBanner; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleBanner create() => ModuleBanner._(); + ModuleBanner createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleBanner getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleBanner? _defaultInstance; + + ModuleBanner_Item whichItem() => _ModuleBanner_ItemByTag[$_whichOneof(0)]!; + void clearItem() => clearField($_whichOneof(0)); + + /// 模块标题 + @$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) + ModuleBannerType get type => $_getN(1); + @$pb.TagNumber(2) + set type(ModuleBannerType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasType() => $_has(1); + @$pb.TagNumber(2) + void clearType() => clearField(2); + + @$pb.TagNumber(3) + ModuleBannerUser get user => $_getN(2); + @$pb.TagNumber(3) + set user(ModuleBannerUser v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasUser() => $_has(2); + @$pb.TagNumber(3) + void clearUser() => clearField(3); + @$pb.TagNumber(3) + ModuleBannerUser ensureUser() => $_ensure(2); + + /// 不感兴趣文案 + @$pb.TagNumber(4) + $core.String get dislikeText => $_getSZ(3); + @$pb.TagNumber(4) + set dislikeText($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDislikeText() => $_has(3); + @$pb.TagNumber(4) + void clearDislikeText() => clearField(4); + + /// 不感兴趣图标 + @$pb.TagNumber(5) + $core.String get dislikeIcon => $_getSZ(4); + @$pb.TagNumber(5) + set dislikeIcon($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDislikeIcon() => $_has(4); + @$pb.TagNumber(5) + void clearDislikeIcon() => clearField(5); +} + +/// 动态通栏-用户 +class ModuleBannerUser extends $pb.GeneratedMessage { + factory ModuleBannerUser({ + $core.Iterable? list, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + return $result; + } + ModuleBannerUser._() : super(); + factory ModuleBannerUser.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleBannerUser.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleBannerUser', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: ModuleBannerUserItem.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') + ModuleBannerUser clone() => ModuleBannerUser()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleBannerUser copyWith(void Function(ModuleBannerUser) updates) => + super.copyWith((message) => updates(message as ModuleBannerUser)) + as ModuleBannerUser; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleBannerUser create() => ModuleBannerUser._(); + ModuleBannerUser createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleBannerUser getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleBannerUser? _defaultInstance; + + /// 卡片列表 + @$pb.TagNumber(1) + $core.List get list => $_getList(0); +} + +/// 动态通栏-推荐用户卡 +class ModuleBannerUserItem extends $pb.GeneratedMessage { + factory ModuleBannerUserItem({ + $core.String? face, + $core.String? name, + $fixnum.Int64? uid, + LiveState? liveState, + OfficialVerify? official, + VipInfo? vip, + $core.String? label, + AdditionalButton? button, + $core.String? uri, + Relation? relation, + }) { + final $result = create(); + if (face != null) { + $result.face = face; + } + if (name != null) { + $result.name = name; + } + if (uid != null) { + $result.uid = uid; + } + if (liveState != null) { + $result.liveState = liveState; + } + if (official != null) { + $result.official = official; + } + if (vip != null) { + $result.vip = vip; + } + if (label != null) { + $result.label = label; + } + if (button != null) { + $result.button = button; + } + if (uri != null) { + $result.uri = uri; + } + if (relation != null) { + $result.relation = relation; + } + return $result; + } + ModuleBannerUserItem._() : super(); + factory ModuleBannerUserItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleBannerUserItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleBannerUserItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'face') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aInt64(3, _omitFieldNames ? '' : 'uid') + ..e(4, _omitFieldNames ? '' : 'liveState', $pb.PbFieldType.OE, + defaultOrMaker: LiveState.live_none, + valueOf: LiveState.valueOf, + enumValues: LiveState.values) + ..aOM(5, _omitFieldNames ? '' : 'official', + subBuilder: OfficialVerify.create) + ..aOM(6, _omitFieldNames ? '' : 'vip', subBuilder: VipInfo.create) + ..aOS(7, _omitFieldNames ? '' : 'label') + ..aOM(8, _omitFieldNames ? '' : 'button', + subBuilder: AdditionalButton.create) + ..aOS(9, _omitFieldNames ? '' : 'uri') + ..aOM(10, _omitFieldNames ? '' : 'relation', + subBuilder: Relation.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') + ModuleBannerUserItem clone() => + ModuleBannerUserItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleBannerUserItem copyWith(void Function(ModuleBannerUserItem) updates) => + super.copyWith((message) => updates(message as ModuleBannerUserItem)) + as ModuleBannerUserItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleBannerUserItem create() => ModuleBannerUserItem._(); + ModuleBannerUserItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleBannerUserItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleBannerUserItem? _defaultInstance; + + /// up主头像 + @$pb.TagNumber(1) + $core.String get face => $_getSZ(0); + @$pb.TagNumber(1) + set face($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasFace() => $_has(0); + @$pb.TagNumber(1) + void clearFace() => clearField(1); + + /// up主昵称 + @$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); + + /// up主uid + @$pb.TagNumber(3) + $fixnum.Int64 get uid => $_getI64(2); + @$pb.TagNumber(3) + set uid($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUid() => $_has(2); + @$pb.TagNumber(3) + void clearUid() => clearField(3); + + /// 直播状态 + @$pb.TagNumber(4) + LiveState get liveState => $_getN(3); + @$pb.TagNumber(4) + set liveState(LiveState v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasLiveState() => $_has(3); + @$pb.TagNumber(4) + void clearLiveState() => clearField(4); + + /// 认证信息 + @$pb.TagNumber(5) + OfficialVerify get official => $_getN(4); + @$pb.TagNumber(5) + set official(OfficialVerify v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasOfficial() => $_has(4); + @$pb.TagNumber(5) + void clearOfficial() => clearField(5); + @$pb.TagNumber(5) + OfficialVerify ensureOfficial() => $_ensure(4); + + /// 大会员信息 + @$pb.TagNumber(6) + VipInfo get vip => $_getN(5); + @$pb.TagNumber(6) + set vip(VipInfo v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasVip() => $_has(5); + @$pb.TagNumber(6) + void clearVip() => clearField(6); + @$pb.TagNumber(6) + VipInfo ensureVip() => $_ensure(5); + + /// 标签信息 + @$pb.TagNumber(7) + $core.String get label => $_getSZ(6); + @$pb.TagNumber(7) + set label($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasLabel() => $_has(6); + @$pb.TagNumber(7) + void clearLabel() => clearField(7); + + /// 按钮 + @$pb.TagNumber(8) + AdditionalButton get button => $_getN(7); + @$pb.TagNumber(8) + set button(AdditionalButton v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasButton() => $_has(7); + @$pb.TagNumber(8) + void clearButton() => clearField(8); + @$pb.TagNumber(8) + AdditionalButton ensureButton() => $_ensure(7); + + /// 跳转地址 + @$pb.TagNumber(9) + $core.String get uri => $_getSZ(8); + @$pb.TagNumber(9) + set uri($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasUri() => $_has(8); + @$pb.TagNumber(9) + void clearUri() => clearField(9); + + @$pb.TagNumber(10) + Relation get relation => $_getN(9); + @$pb.TagNumber(10) + set relation(Relation v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasRelation() => $_has(9); + @$pb.TagNumber(10) + void clearRelation() => clearField(10); + @$pb.TagNumber(10) + Relation ensureRelation() => $_ensure(9); +} + +class ModuleBlocked extends $pb.GeneratedMessage { + factory ModuleBlocked({ + ImageSet? icon, + ImageSet? bgImg, + $core.String? hintMessage, + IconButton? actBtn, + MdlBlockedStyle? blockStyle, + $core.String? subHintMessage, + OneLineText? videoBottomTextUpper, + OneLineText? videoBottomTextLower, + $core.String? archiveTitle, + OneLineText? hintMessageOneLine, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (bgImg != null) { + $result.bgImg = bgImg; + } + if (hintMessage != null) { + $result.hintMessage = hintMessage; + } + if (actBtn != null) { + $result.actBtn = actBtn; + } + if (blockStyle != null) { + $result.blockStyle = blockStyle; + } + if (subHintMessage != null) { + $result.subHintMessage = subHintMessage; + } + if (videoBottomTextUpper != null) { + $result.videoBottomTextUpper = videoBottomTextUpper; + } + if (videoBottomTextLower != null) { + $result.videoBottomTextLower = videoBottomTextLower; + } + if (archiveTitle != null) { + $result.archiveTitle = archiveTitle; + } + if (hintMessageOneLine != null) { + $result.hintMessageOneLine = hintMessageOneLine; + } + return $result; + } + ModuleBlocked._() : super(); + factory ModuleBlocked.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleBlocked.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleBlocked', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'icon', + subBuilder: ImageSet.create) + ..aOM(2, _omitFieldNames ? '' : 'bgImg', + subBuilder: ImageSet.create) + ..aOS(3, _omitFieldNames ? '' : 'hintMessage') + ..aOM(4, _omitFieldNames ? '' : 'actBtn', + subBuilder: IconButton.create) + ..e( + 5, _omitFieldNames ? '' : 'blockStyle', $pb.PbFieldType.OE, + defaultOrMaker: MdlBlockedStyle.BLOCKED_STYLE_DEFAULT, + valueOf: MdlBlockedStyle.valueOf, + enumValues: MdlBlockedStyle.values) + ..aOS(6, _omitFieldNames ? '' : 'subHintMessage') + ..aOM(7, _omitFieldNames ? '' : 'videoBottomTextUpper', + subBuilder: OneLineText.create) + ..aOM(8, _omitFieldNames ? '' : 'videoBottomTextLower', + subBuilder: OneLineText.create) + ..aOS(9, _omitFieldNames ? '' : 'archiveTitle') + ..aOM(10, _omitFieldNames ? '' : 'hintMessageOneLine', + subBuilder: OneLineText.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') + ModuleBlocked clone() => ModuleBlocked()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleBlocked copyWith(void Function(ModuleBlocked) updates) => + super.copyWith((message) => updates(message as ModuleBlocked)) + as ModuleBlocked; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleBlocked create() => ModuleBlocked._(); + ModuleBlocked createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleBlocked getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleBlocked? _defaultInstance; + + @$pb.TagNumber(1) + ImageSet get icon => $_getN(0); + @$pb.TagNumber(1) + set icon(ImageSet v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasIcon() => $_has(0); + @$pb.TagNumber(1) + void clearIcon() => clearField(1); + @$pb.TagNumber(1) + ImageSet ensureIcon() => $_ensure(0); + + @$pb.TagNumber(2) + ImageSet get bgImg => $_getN(1); + @$pb.TagNumber(2) + set bgImg(ImageSet v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasBgImg() => $_has(1); + @$pb.TagNumber(2) + void clearBgImg() => clearField(2); + @$pb.TagNumber(2) + ImageSet ensureBgImg() => $_ensure(1); + + @$pb.TagNumber(3) + $core.String get hintMessage => $_getSZ(2); + @$pb.TagNumber(3) + set hintMessage($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHintMessage() => $_has(2); + @$pb.TagNumber(3) + void clearHintMessage() => clearField(3); + + @$pb.TagNumber(4) + IconButton get actBtn => $_getN(3); + @$pb.TagNumber(4) + set actBtn(IconButton v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasActBtn() => $_has(3); + @$pb.TagNumber(4) + void clearActBtn() => clearField(4); + @$pb.TagNumber(4) + IconButton ensureActBtn() => $_ensure(3); + + @$pb.TagNumber(5) + MdlBlockedStyle get blockStyle => $_getN(4); + @$pb.TagNumber(5) + set blockStyle(MdlBlockedStyle v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasBlockStyle() => $_has(4); + @$pb.TagNumber(5) + void clearBlockStyle() => clearField(5); + + @$pb.TagNumber(6) + $core.String get subHintMessage => $_getSZ(5); + @$pb.TagNumber(6) + set subHintMessage($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasSubHintMessage() => $_has(5); + @$pb.TagNumber(6) + void clearSubHintMessage() => clearField(6); + + @$pb.TagNumber(7) + OneLineText get videoBottomTextUpper => $_getN(6); + @$pb.TagNumber(7) + set videoBottomTextUpper(OneLineText v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasVideoBottomTextUpper() => $_has(6); + @$pb.TagNumber(7) + void clearVideoBottomTextUpper() => clearField(7); + @$pb.TagNumber(7) + OneLineText ensureVideoBottomTextUpper() => $_ensure(6); + + @$pb.TagNumber(8) + OneLineText get videoBottomTextLower => $_getN(7); + @$pb.TagNumber(8) + set videoBottomTextLower(OneLineText v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasVideoBottomTextLower() => $_has(7); + @$pb.TagNumber(8) + void clearVideoBottomTextLower() => clearField(8); + @$pb.TagNumber(8) + OneLineText ensureVideoBottomTextLower() => $_ensure(7); + + @$pb.TagNumber(9) + $core.String get archiveTitle => $_getSZ(8); + @$pb.TagNumber(9) + set archiveTitle($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasArchiveTitle() => $_has(8); + @$pb.TagNumber(9) + void clearArchiveTitle() => clearField(9); + + @$pb.TagNumber(10) + OneLineText get hintMessageOneLine => $_getN(9); + @$pb.TagNumber(10) + set hintMessageOneLine(OneLineText v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasHintMessageOneLine() => $_has(9); + @$pb.TagNumber(10) + void clearHintMessageOneLine() => clearField(10); + @$pb.TagNumber(10) + OneLineText ensureHintMessageOneLine() => $_ensure(9); +} + +/// 底部模块 +class ModuleButtom extends $pb.GeneratedMessage { + factory ModuleButtom({ + ModuleStat? moduleStat, + $core.bool? commentBox, + $core.String? commentBoxMsg, + $core.Iterable? interactionIcons, + $core.Iterable? faces, + }) { + final $result = create(); + if (moduleStat != null) { + $result.moduleStat = moduleStat; + } + if (commentBox != null) { + $result.commentBox = commentBox; + } + if (commentBoxMsg != null) { + $result.commentBoxMsg = commentBoxMsg; + } + if (interactionIcons != null) { + $result.interactionIcons.addAll(interactionIcons); + } + if (faces != null) { + $result.faces.addAll(faces); + } + return $result; + } + ModuleButtom._() : super(); + factory ModuleButtom.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleButtom.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleButtom', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'moduleStat', + subBuilder: ModuleStat.create) + ..aOB(2, _omitFieldNames ? '' : 'commentBox') + ..aOS(3, _omitFieldNames ? '' : 'commentBoxMsg') + ..pc( + 4, _omitFieldNames ? '' : 'interactionIcons', $pb.PbFieldType.KE, + valueOf: ModuleButtom_InteractionIcon.valueOf, + enumValues: ModuleButtom_InteractionIcon.values, + defaultEnumValue: ModuleButtom_InteractionIcon.ICON_INVALID) + ..pc(5, _omitFieldNames ? '' : 'faces', $pb.PbFieldType.PM, + subBuilder: InteractionFace.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') + ModuleButtom clone() => ModuleButtom()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleButtom copyWith(void Function(ModuleButtom) updates) => + super.copyWith((message) => updates(message as ModuleButtom)) + as ModuleButtom; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleButtom create() => ModuleButtom._(); + ModuleButtom createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleButtom getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleButtom? _defaultInstance; + + /// 计数模块 + @$pb.TagNumber(1) + ModuleStat get moduleStat => $_getN(0); + @$pb.TagNumber(1) + set moduleStat(ModuleStat v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasModuleStat() => $_has(0); + @$pb.TagNumber(1) + void clearModuleStat() => clearField(1); + @$pb.TagNumber(1) + ModuleStat ensureModuleStat() => $_ensure(0); + + @$pb.TagNumber(2) + $core.bool get commentBox => $_getBF(1); + @$pb.TagNumber(2) + set commentBox($core.bool v) { + $_setBool(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCommentBox() => $_has(1); + @$pb.TagNumber(2) + void clearCommentBox() => clearField(2); + + @$pb.TagNumber(3) + $core.String get commentBoxMsg => $_getSZ(2); + @$pb.TagNumber(3) + set commentBoxMsg($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCommentBoxMsg() => $_has(2); + @$pb.TagNumber(3) + void clearCommentBoxMsg() => clearField(3); + + @$pb.TagNumber(4) + $core.List get interactionIcons => $_getList(3); + + @$pb.TagNumber(5) + $core.List get faces => $_getList(4); +} + +class ModuleButton extends $pb.GeneratedMessage { + factory ModuleButton({ + IconButton? btn, + }) { + final $result = create(); + if (btn != null) { + $result.btn = btn; + } + return $result; + } + ModuleButton._() : super(); + factory ModuleButton.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleButton.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleButton', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'btn', + subBuilder: IconButton.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') + ModuleButton clone() => ModuleButton()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleButton copyWith(void Function(ModuleButton) updates) => + super.copyWith((message) => updates(message as ModuleButton)) + as ModuleButton; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleButton create() => ModuleButton._(); + ModuleButton createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleButton getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleButton? _defaultInstance; + + @$pb.TagNumber(1) + IconButton get btn => $_getN(0); + @$pb.TagNumber(1) + set btn(IconButton v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasBtn() => $_has(0); + @$pb.TagNumber(1) + void clearBtn() => clearField(1); + @$pb.TagNumber(1) + IconButton ensureBtn() => $_ensure(0); +} + +/// 评论外露模块 +class ModuleComment extends $pb.GeneratedMessage { + factory ModuleComment({ + $core.Iterable? cmtShowItem, + }) { + final $result = create(); + if (cmtShowItem != null) { + $result.cmtShowItem.addAll(cmtShowItem); + } + return $result; + } + ModuleComment._() : super(); + factory ModuleComment.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleComment.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleComment', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'cmtShowItem', $pb.PbFieldType.PM, + protoName: 'cmtShowItem', subBuilder: CmtShowItem.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') + ModuleComment clone() => ModuleComment()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleComment copyWith(void Function(ModuleComment) updates) => + super.copyWith((message) => updates(message as ModuleComment)) + as ModuleComment; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleComment create() => ModuleComment._(); + ModuleComment createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleComment getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleComment? _defaultInstance; + + /// 评论外露展示项 + @$pb.TagNumber(1) + $core.List get cmtShowItem => $_getList(0); +} + +class ModuleCopyright extends $pb.GeneratedMessage { + factory ModuleCopyright({ + $core.String? leftText, + $core.String? rightText, + }) { + final $result = create(); + if (leftText != null) { + $result.leftText = leftText; + } + if (rightText != null) { + $result.rightText = rightText; + } + return $result; + } + ModuleCopyright._() : super(); + factory ModuleCopyright.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleCopyright.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleCopyright', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'leftText') + ..aOS(2, _omitFieldNames ? '' : 'rightText') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleCopyright clone() => ModuleCopyright()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleCopyright copyWith(void Function(ModuleCopyright) updates) => + super.copyWith((message) => updates(message as ModuleCopyright)) + as ModuleCopyright; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleCopyright create() => ModuleCopyright._(); + ModuleCopyright createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleCopyright getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleCopyright? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get leftText => $_getSZ(0); + @$pb.TagNumber(1) + set leftText($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasLeftText() => $_has(0); + @$pb.TagNumber(1) + void clearLeftText() => clearField(1); + + @$pb.TagNumber(2) + $core.String get rightText => $_getSZ(1); + @$pb.TagNumber(2) + set rightText($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasRightText() => $_has(1); + @$pb.TagNumber(2) + void clearRightText() => clearField(2); +} + +/// 动态-描述文字模块 +class ModuleDesc extends $pb.GeneratedMessage { + factory ModuleDesc({ + $core.Iterable? desc, + $core.String? jumpUri, + $core.String? text, + }) { + final $result = create(); + if (desc != null) { + $result.desc.addAll(desc); + } + if (jumpUri != null) { + $result.jumpUri = jumpUri; + } + if (text != null) { + $result.text = text; + } + return $result; + } + ModuleDesc._() : super(); + factory ModuleDesc.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleDesc.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleDesc', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'desc', $pb.PbFieldType.PM, + subBuilder: Description.create) + ..aOS(2, _omitFieldNames ? '' : 'jumpUri') + ..aOS(3, _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') + ModuleDesc clone() => ModuleDesc()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleDesc copyWith(void Function(ModuleDesc) updates) => + super.copyWith((message) => updates(message as ModuleDesc)) as ModuleDesc; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleDesc create() => ModuleDesc._(); + ModuleDesc createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleDesc getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleDesc? _defaultInstance; + + /// 描述信息(已按高亮拆分) + @$pb.TagNumber(1) + $core.List get desc => $_getList(0); + + /// 点击跳转链接 + @$pb.TagNumber(2) + $core.String get jumpUri => $_getSZ(1); + @$pb.TagNumber(2) + set jumpUri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasJumpUri() => $_has(1); + @$pb.TagNumber(2) + void clearJumpUri() => clearField(2); + + /// 文本原本 + @$pb.TagNumber(3) + $core.String get text => $_getSZ(2); + @$pb.TagNumber(3) + set text($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasText() => $_has(2); + @$pb.TagNumber(3) + void clearText() => clearField(3); +} + +/// 正文商品卡参数 +class ModuleDescGoods extends $pb.GeneratedMessage { + factory ModuleDescGoods({ + $core.int? sourceType, + $core.String? jumpUrl, + $core.String? schemaUrl, + $fixnum.Int64? itemId, + $core.Iterable<$core.String>? openWhiteList, + $core.bool? userWebV2, + $core.String? adMark, + $core.String? schemaPackageName, + $core.int? jumpType, + $core.String? appName, + }) { + final $result = create(); + if (sourceType != null) { + $result.sourceType = sourceType; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + if (schemaUrl != null) { + $result.schemaUrl = schemaUrl; + } + if (itemId != null) { + $result.itemId = itemId; + } + if (openWhiteList != null) { + $result.openWhiteList.addAll(openWhiteList); + } + if (userWebV2 != null) { + $result.userWebV2 = userWebV2; + } + if (adMark != null) { + $result.adMark = adMark; + } + if (schemaPackageName != null) { + $result.schemaPackageName = schemaPackageName; + } + if (jumpType != null) { + $result.jumpType = jumpType; + } + if (appName != null) { + $result.appName = appName; + } + return $result; + } + ModuleDescGoods._() : super(); + factory ModuleDescGoods.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleDescGoods.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleDescGoods', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'sourceType', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'jumpUrl') + ..aOS(3, _omitFieldNames ? '' : 'schemaUrl') + ..aInt64(4, _omitFieldNames ? '' : 'itemId') + ..pPS(5, _omitFieldNames ? '' : 'openWhiteList') + ..aOB(6, _omitFieldNames ? '' : 'userWebV2') + ..aOS(7, _omitFieldNames ? '' : 'adMark') + ..aOS(8, _omitFieldNames ? '' : 'schemaPackageName') + ..a<$core.int>(9, _omitFieldNames ? '' : 'jumpType', $pb.PbFieldType.O3) + ..aOS(10, _omitFieldNames ? '' : 'appName') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleDescGoods clone() => ModuleDescGoods()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleDescGoods copyWith(void Function(ModuleDescGoods) updates) => + super.copyWith((message) => updates(message as ModuleDescGoods)) + as ModuleDescGoods; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleDescGoods create() => ModuleDescGoods._(); + ModuleDescGoods createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleDescGoods getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleDescGoods? _defaultInstance; + + /// 商品类型 + /// 1:淘宝 2:会员购 + @$pb.TagNumber(1) + $core.int get sourceType => $_getIZ(0); + @$pb.TagNumber(1) + set sourceType($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasSourceType() => $_has(0); + @$pb.TagNumber(1) + void clearSourceType() => clearField(1); + + /// 跳转链接 + @$pb.TagNumber(2) + $core.String get jumpUrl => $_getSZ(1); + @$pb.TagNumber(2) + set jumpUrl($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasJumpUrl() => $_has(1); + @$pb.TagNumber(2) + void clearJumpUrl() => clearField(2); + + /// schema_url + @$pb.TagNumber(3) + $core.String get schemaUrl => $_getSZ(2); + @$pb.TagNumber(3) + set schemaUrl($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasSchemaUrl() => $_has(2); + @$pb.TagNumber(3) + void clearSchemaUrl() => clearField(3); + + /// item_id + @$pb.TagNumber(4) + $fixnum.Int64 get itemId => $_getI64(3); + @$pb.TagNumber(4) + set itemId($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasItemId() => $_has(3); + @$pb.TagNumber(4) + void clearItemId() => clearField(4); + + /// open_white_list + @$pb.TagNumber(5) + $core.List<$core.String> get openWhiteList => $_getList(4); + + /// use_web_v2 + @$pb.TagNumber(6) + $core.bool get userWebV2 => $_getBF(5); + @$pb.TagNumber(6) + set userWebV2($core.bool v) { + $_setBool(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasUserWebV2() => $_has(5); + @$pb.TagNumber(6) + void clearUserWebV2() => clearField(6); + + /// ad mark + @$pb.TagNumber(7) + $core.String get adMark => $_getSZ(6); + @$pb.TagNumber(7) + set adMark($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasAdMark() => $_has(6); + @$pb.TagNumber(7) + void clearAdMark() => clearField(7); + + /// schemaPackageName(Android用) + @$pb.TagNumber(8) + $core.String get schemaPackageName => $_getSZ(7); + @$pb.TagNumber(8) + set schemaPackageName($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasSchemaPackageName() => $_has(7); + @$pb.TagNumber(8) + void clearSchemaPackageName() => clearField(8); + + @$pb.TagNumber(9) + $core.int get jumpType => $_getIZ(8); + @$pb.TagNumber(9) + set jumpType($core.int v) { + $_setSignedInt32(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasJumpType() => $_has(8); + @$pb.TagNumber(9) + void clearJumpType() => clearField(9); + + @$pb.TagNumber(10) + $core.String get appName => $_getSZ(9); + @$pb.TagNumber(10) + set appName($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasAppName() => $_has(9); + @$pb.TagNumber(10) + void clearAppName() => clearField(10); +} + +/// 动态-争议小黄条模块 +class ModuleDispute extends $pb.GeneratedMessage { + factory ModuleDispute({ + $core.String? title, + $core.String? desc, + $core.String? uri, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (desc != null) { + $result.desc = desc; + } + if (uri != null) { + $result.uri = uri; + } + return $result; + } + ModuleDispute._() : super(); + factory ModuleDispute.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleDispute.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleDispute', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'desc') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleDispute clone() => ModuleDispute()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleDispute copyWith(void Function(ModuleDispute) updates) => + super.copyWith((message) => updates(message as ModuleDispute)) + as ModuleDispute; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleDispute create() => ModuleDispute._(); + ModuleDispute createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleDispute getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleDispute? _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 desc => $_getSZ(1); + @$pb.TagNumber(2) + set desc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDesc() => $_has(1); + @$pb.TagNumber(2) + void clearDesc() => clearField(2); + + /// 跳转链接 + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); +} + +enum ModuleDynamic_ModuleItem { + dynArchive, + dynPgc, + dynCourSeason, + dynCourBatch, + dynForward, + dynDraw, + dynArticle, + dynMusic, + dynCommon, + dynCommonLive, + dynMedialist, + dynApplet, + dynSubscription, + dynLiveRcmd, + dynUgcSeason, + dynSubscriptionNew, + dynCourBatchUp, + dynTopicSet, + notSet +} + +/// 动态-详情模块 +class ModuleDynamic extends $pb.GeneratedMessage { + factory ModuleDynamic({ + ModuleDynamicType? type, + MdlDynArchive? dynArchive, + MdlDynPGC? dynPgc, + MdlDynCourSeason? dynCourSeason, + MdlDynCourBatch? dynCourBatch, + MdlDynForward? dynForward, + MdlDynDraw? dynDraw, + MdlDynArticle? dynArticle, + MdlDynMusic? dynMusic, + MdlDynCommon? dynCommon, + MdlDynLive? dynCommonLive, + MdlDynMedialist? dynMedialist, + MdlDynApplet? dynApplet, + MdlDynSubscription? dynSubscription, + MdlDynLiveRcmd? dynLiveRcmd, + MdlDynUGCSeason? dynUgcSeason, + MdlDynSubscriptionNew? dynSubscriptionNew, + MdlDynCourUp? dynCourBatchUp, + MdlDynTopicSet? dynTopicSet, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (dynArchive != null) { + $result.dynArchive = dynArchive; + } + if (dynPgc != null) { + $result.dynPgc = dynPgc; + } + if (dynCourSeason != null) { + $result.dynCourSeason = dynCourSeason; + } + if (dynCourBatch != null) { + $result.dynCourBatch = dynCourBatch; + } + if (dynForward != null) { + $result.dynForward = dynForward; + } + if (dynDraw != null) { + $result.dynDraw = dynDraw; + } + if (dynArticle != null) { + $result.dynArticle = dynArticle; + } + if (dynMusic != null) { + $result.dynMusic = dynMusic; + } + if (dynCommon != null) { + $result.dynCommon = dynCommon; + } + if (dynCommonLive != null) { + $result.dynCommonLive = dynCommonLive; + } + if (dynMedialist != null) { + $result.dynMedialist = dynMedialist; + } + if (dynApplet != null) { + $result.dynApplet = dynApplet; + } + if (dynSubscription != null) { + $result.dynSubscription = dynSubscription; + } + if (dynLiveRcmd != null) { + $result.dynLiveRcmd = dynLiveRcmd; + } + if (dynUgcSeason != null) { + $result.dynUgcSeason = dynUgcSeason; + } + if (dynSubscriptionNew != null) { + $result.dynSubscriptionNew = dynSubscriptionNew; + } + if (dynCourBatchUp != null) { + $result.dynCourBatchUp = dynCourBatchUp; + } + if (dynTopicSet != null) { + $result.dynTopicSet = dynTopicSet; + } + return $result; + } + ModuleDynamic._() : super(); + factory ModuleDynamic.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleDynamic.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, ModuleDynamic_ModuleItem> + _ModuleDynamic_ModuleItemByTag = { + 2: ModuleDynamic_ModuleItem.dynArchive, + 3: ModuleDynamic_ModuleItem.dynPgc, + 4: ModuleDynamic_ModuleItem.dynCourSeason, + 5: ModuleDynamic_ModuleItem.dynCourBatch, + 6: ModuleDynamic_ModuleItem.dynForward, + 7: ModuleDynamic_ModuleItem.dynDraw, + 8: ModuleDynamic_ModuleItem.dynArticle, + 9: ModuleDynamic_ModuleItem.dynMusic, + 10: ModuleDynamic_ModuleItem.dynCommon, + 11: ModuleDynamic_ModuleItem.dynCommonLive, + 12: ModuleDynamic_ModuleItem.dynMedialist, + 13: ModuleDynamic_ModuleItem.dynApplet, + 14: ModuleDynamic_ModuleItem.dynSubscription, + 15: ModuleDynamic_ModuleItem.dynLiveRcmd, + 16: ModuleDynamic_ModuleItem.dynUgcSeason, + 17: ModuleDynamic_ModuleItem.dynSubscriptionNew, + 18: ModuleDynamic_ModuleItem.dynCourBatchUp, + 19: ModuleDynamic_ModuleItem.dynTopicSet, + 0: ModuleDynamic_ModuleItem.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleDynamic', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: ModuleDynamicType.mdl_dyn_archive, + valueOf: ModuleDynamicType.valueOf, + enumValues: ModuleDynamicType.values) + ..aOM(2, _omitFieldNames ? '' : 'dynArchive', + subBuilder: MdlDynArchive.create) + ..aOM(3, _omitFieldNames ? '' : 'dynPgc', + subBuilder: MdlDynPGC.create) + ..aOM(4, _omitFieldNames ? '' : 'dynCourSeason', + subBuilder: MdlDynCourSeason.create) + ..aOM(5, _omitFieldNames ? '' : 'dynCourBatch', + subBuilder: MdlDynCourBatch.create) + ..aOM(6, _omitFieldNames ? '' : 'dynForward', + subBuilder: MdlDynForward.create) + ..aOM(7, _omitFieldNames ? '' : 'dynDraw', + subBuilder: MdlDynDraw.create) + ..aOM(8, _omitFieldNames ? '' : 'dynArticle', + subBuilder: MdlDynArticle.create) + ..aOM(9, _omitFieldNames ? '' : 'dynMusic', + subBuilder: MdlDynMusic.create) + ..aOM(10, _omitFieldNames ? '' : 'dynCommon', + subBuilder: MdlDynCommon.create) + ..aOM(11, _omitFieldNames ? '' : 'dynCommonLive', + subBuilder: MdlDynLive.create) + ..aOM(12, _omitFieldNames ? '' : 'dynMedialist', + subBuilder: MdlDynMedialist.create) + ..aOM(13, _omitFieldNames ? '' : 'dynApplet', + subBuilder: MdlDynApplet.create) + ..aOM(14, _omitFieldNames ? '' : 'dynSubscription', + subBuilder: MdlDynSubscription.create) + ..aOM(15, _omitFieldNames ? '' : 'dynLiveRcmd', + subBuilder: MdlDynLiveRcmd.create) + ..aOM(16, _omitFieldNames ? '' : 'dynUgcSeason', + subBuilder: MdlDynUGCSeason.create) + ..aOM( + 17, _omitFieldNames ? '' : 'dynSubscriptionNew', + subBuilder: MdlDynSubscriptionNew.create) + ..aOM(18, _omitFieldNames ? '' : 'dynCourBatchUp', + subBuilder: MdlDynCourUp.create) + ..aOM(19, _omitFieldNames ? '' : 'dynTopicSet', + subBuilder: MdlDynTopicSet.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') + ModuleDynamic clone() => ModuleDynamic()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleDynamic copyWith(void Function(ModuleDynamic) updates) => + super.copyWith((message) => updates(message as ModuleDynamic)) + as ModuleDynamic; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleDynamic create() => ModuleDynamic._(); + ModuleDynamic createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleDynamic getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleDynamic? _defaultInstance; + + ModuleDynamic_ModuleItem whichModuleItem() => + _ModuleDynamic_ModuleItemByTag[$_whichOneof(0)]!; + void clearModuleItem() => clearField($_whichOneof(0)); + + /// 类型 + @$pb.TagNumber(1) + ModuleDynamicType get type => $_getN(0); + @$pb.TagNumber(1) + set type(ModuleDynamicType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + /// 稿件 + @$pb.TagNumber(2) + MdlDynArchive get dynArchive => $_getN(1); + @$pb.TagNumber(2) + set dynArchive(MdlDynArchive v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasDynArchive() => $_has(1); + @$pb.TagNumber(2) + void clearDynArchive() => clearField(2); + @$pb.TagNumber(2) + MdlDynArchive ensureDynArchive() => $_ensure(1); + + /// pgc + @$pb.TagNumber(3) + MdlDynPGC get dynPgc => $_getN(2); + @$pb.TagNumber(3) + set dynPgc(MdlDynPGC v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasDynPgc() => $_has(2); + @$pb.TagNumber(3) + void clearDynPgc() => clearField(3); + @$pb.TagNumber(3) + MdlDynPGC ensureDynPgc() => $_ensure(2); + + /// 付费课程-系列 + @$pb.TagNumber(4) + MdlDynCourSeason get dynCourSeason => $_getN(3); + @$pb.TagNumber(4) + set dynCourSeason(MdlDynCourSeason v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasDynCourSeason() => $_has(3); + @$pb.TagNumber(4) + void clearDynCourSeason() => clearField(4); + @$pb.TagNumber(4) + MdlDynCourSeason ensureDynCourSeason() => $_ensure(3); + + /// 付费课程-批次 + @$pb.TagNumber(5) + MdlDynCourBatch get dynCourBatch => $_getN(4); + @$pb.TagNumber(5) + set dynCourBatch(MdlDynCourBatch v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasDynCourBatch() => $_has(4); + @$pb.TagNumber(5) + void clearDynCourBatch() => clearField(5); + @$pb.TagNumber(5) + MdlDynCourBatch ensureDynCourBatch() => $_ensure(4); + + /// 转发卡 + @$pb.TagNumber(6) + MdlDynForward get dynForward => $_getN(5); + @$pb.TagNumber(6) + set dynForward(MdlDynForward v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasDynForward() => $_has(5); + @$pb.TagNumber(6) + void clearDynForward() => clearField(6); + @$pb.TagNumber(6) + MdlDynForward ensureDynForward() => $_ensure(5); + + /// 图文 + @$pb.TagNumber(7) + MdlDynDraw get dynDraw => $_getN(6); + @$pb.TagNumber(7) + set dynDraw(MdlDynDraw v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasDynDraw() => $_has(6); + @$pb.TagNumber(7) + void clearDynDraw() => clearField(7); + @$pb.TagNumber(7) + MdlDynDraw ensureDynDraw() => $_ensure(6); + + /// 专栏 + @$pb.TagNumber(8) + MdlDynArticle get dynArticle => $_getN(7); + @$pb.TagNumber(8) + set dynArticle(MdlDynArticle v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasDynArticle() => $_has(7); + @$pb.TagNumber(8) + void clearDynArticle() => clearField(8); + @$pb.TagNumber(8) + MdlDynArticle ensureDynArticle() => $_ensure(7); + + /// 音频 + @$pb.TagNumber(9) + MdlDynMusic get dynMusic => $_getN(8); + @$pb.TagNumber(9) + set dynMusic(MdlDynMusic v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasDynMusic() => $_has(8); + @$pb.TagNumber(9) + void clearDynMusic() => clearField(9); + @$pb.TagNumber(9) + MdlDynMusic ensureDynMusic() => $_ensure(8); + + /// 通用卡方 + @$pb.TagNumber(10) + MdlDynCommon get dynCommon => $_getN(9); + @$pb.TagNumber(10) + set dynCommon(MdlDynCommon v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasDynCommon() => $_has(9); + @$pb.TagNumber(10) + void clearDynCommon() => clearField(10); + @$pb.TagNumber(10) + MdlDynCommon ensureDynCommon() => $_ensure(9); + + /// 直播卡 + @$pb.TagNumber(11) + MdlDynLive get dynCommonLive => $_getN(10); + @$pb.TagNumber(11) + set dynCommonLive(MdlDynLive v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasDynCommonLive() => $_has(10); + @$pb.TagNumber(11) + void clearDynCommonLive() => clearField(11); + @$pb.TagNumber(11) + MdlDynLive ensureDynCommonLive() => $_ensure(10); + + /// 播单 + @$pb.TagNumber(12) + MdlDynMedialist get dynMedialist => $_getN(11); + @$pb.TagNumber(12) + set dynMedialist(MdlDynMedialist v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasDynMedialist() => $_has(11); + @$pb.TagNumber(12) + void clearDynMedialist() => clearField(12); + @$pb.TagNumber(12) + MdlDynMedialist ensureDynMedialist() => $_ensure(11); + + /// 小程序卡 + @$pb.TagNumber(13) + MdlDynApplet get dynApplet => $_getN(12); + @$pb.TagNumber(13) + set dynApplet(MdlDynApplet v) { + setField(13, v); + } + + @$pb.TagNumber(13) + $core.bool hasDynApplet() => $_has(12); + @$pb.TagNumber(13) + void clearDynApplet() => clearField(13); + @$pb.TagNumber(13) + MdlDynApplet ensureDynApplet() => $_ensure(12); + + /// 订阅卡 + @$pb.TagNumber(14) + MdlDynSubscription get dynSubscription => $_getN(13); + @$pb.TagNumber(14) + set dynSubscription(MdlDynSubscription v) { + setField(14, v); + } + + @$pb.TagNumber(14) + $core.bool hasDynSubscription() => $_has(13); + @$pb.TagNumber(14) + void clearDynSubscription() => clearField(14); + @$pb.TagNumber(14) + MdlDynSubscription ensureDynSubscription() => $_ensure(13); + + /// 直播推荐卡 + @$pb.TagNumber(15) + MdlDynLiveRcmd get dynLiveRcmd => $_getN(14); + @$pb.TagNumber(15) + set dynLiveRcmd(MdlDynLiveRcmd v) { + setField(15, v); + } + + @$pb.TagNumber(15) + $core.bool hasDynLiveRcmd() => $_has(14); + @$pb.TagNumber(15) + void clearDynLiveRcmd() => clearField(15); + @$pb.TagNumber(15) + MdlDynLiveRcmd ensureDynLiveRcmd() => $_ensure(14); + + /// UGC合集 + @$pb.TagNumber(16) + MdlDynUGCSeason get dynUgcSeason => $_getN(15); + @$pb.TagNumber(16) + set dynUgcSeason(MdlDynUGCSeason v) { + setField(16, v); + } + + @$pb.TagNumber(16) + $core.bool hasDynUgcSeason() => $_has(15); + @$pb.TagNumber(16) + void clearDynUgcSeason() => clearField(16); + @$pb.TagNumber(16) + MdlDynUGCSeason ensureDynUgcSeason() => $_ensure(15); + + /// 订阅卡 + @$pb.TagNumber(17) + MdlDynSubscriptionNew get dynSubscriptionNew => $_getN(16); + @$pb.TagNumber(17) + set dynSubscriptionNew(MdlDynSubscriptionNew v) { + setField(17, v); + } + + @$pb.TagNumber(17) + $core.bool hasDynSubscriptionNew() => $_has(16); + @$pb.TagNumber(17) + void clearDynSubscriptionNew() => clearField(17); + @$pb.TagNumber(17) + MdlDynSubscriptionNew ensureDynSubscriptionNew() => $_ensure(16); + + /// 课程 + @$pb.TagNumber(18) + MdlDynCourUp get dynCourBatchUp => $_getN(17); + @$pb.TagNumber(18) + set dynCourBatchUp(MdlDynCourUp v) { + setField(18, v); + } + + @$pb.TagNumber(18) + $core.bool hasDynCourBatchUp() => $_has(17); + @$pb.TagNumber(18) + void clearDynCourBatchUp() => clearField(18); + @$pb.TagNumber(18) + MdlDynCourUp ensureDynCourBatchUp() => $_ensure(17); + + /// 话题集合 + @$pb.TagNumber(19) + MdlDynTopicSet get dynTopicSet => $_getN(18); + @$pb.TagNumber(19) + set dynTopicSet(MdlDynTopicSet v) { + setField(19, v); + } + + @$pb.TagNumber(19) + $core.bool hasDynTopicSet() => $_has(18); + @$pb.TagNumber(19) + void clearDynTopicSet() => clearField(19); + @$pb.TagNumber(19) + MdlDynTopicSet ensureDynTopicSet() => $_ensure(18); +} + +/// 动态-小卡模块 +class ModuleExtend extends $pb.GeneratedMessage { + factory ModuleExtend({ + $core.Iterable? extend, + $core.String? uri, + }) { + final $result = create(); + if (extend != null) { + $result.extend.addAll(extend); + } + if (uri != null) { + $result.uri = uri; + } + return $result; + } + ModuleExtend._() : super(); + factory ModuleExtend.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleExtend.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleExtend', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'extend', $pb.PbFieldType.PM, + subBuilder: ModuleExtendItem.create) + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleExtend clone() => ModuleExtend()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleExtend copyWith(void Function(ModuleExtend) updates) => + super.copyWith((message) => updates(message as ModuleExtend)) + as ModuleExtend; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleExtend create() => ModuleExtend._(); + ModuleExtend createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleExtend getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleExtend? _defaultInstance; + + /// 详情 + @$pb.TagNumber(1) + $core.List get extend => $_getList(0); + + /// 模块整体跳转uri + @$pb.TagNumber(2) + $core.String get uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); +} + +enum ModuleExtendItem_Extend { + extInfoTopic, + extInfoLbs, + extInfoHot, + extInfoGame, + extInfoCommon, + extInfoOgv, + notSet +} + +/// 动态-拓展小卡模块 +class ModuleExtendItem extends $pb.GeneratedMessage { + factory ModuleExtendItem({ + DynExtendType? type, + ExtInfoTopic? extInfoTopic, + ExtInfoLBS? extInfoLbs, + ExtInfoHot? extInfoHot, + ExtInfoGame? extInfoGame, + ExtInfoCommon? extInfoCommon, + ExtInfoOGV? extInfoOgv, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (extInfoTopic != null) { + $result.extInfoTopic = extInfoTopic; + } + if (extInfoLbs != null) { + $result.extInfoLbs = extInfoLbs; + } + if (extInfoHot != null) { + $result.extInfoHot = extInfoHot; + } + if (extInfoGame != null) { + $result.extInfoGame = extInfoGame; + } + if (extInfoCommon != null) { + $result.extInfoCommon = extInfoCommon; + } + if (extInfoOgv != null) { + $result.extInfoOgv = extInfoOgv; + } + return $result; + } + ModuleExtendItem._() : super(); + factory ModuleExtendItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleExtendItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, ModuleExtendItem_Extend> + _ModuleExtendItem_ExtendByTag = { + 2: ModuleExtendItem_Extend.extInfoTopic, + 3: ModuleExtendItem_Extend.extInfoLbs, + 4: ModuleExtendItem_Extend.extInfoHot, + 5: ModuleExtendItem_Extend.extInfoGame, + 6: ModuleExtendItem_Extend.extInfoCommon, + 7: ModuleExtendItem_Extend.extInfoOgv, + 0: ModuleExtendItem_Extend.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleExtendItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [2, 3, 4, 5, 6, 7]) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: DynExtendType.dyn_ext_type_none, + valueOf: DynExtendType.valueOf, + enumValues: DynExtendType.values) + ..aOM(2, _omitFieldNames ? '' : 'extInfoTopic', + subBuilder: ExtInfoTopic.create) + ..aOM(3, _omitFieldNames ? '' : 'extInfoLbs', + subBuilder: ExtInfoLBS.create) + ..aOM(4, _omitFieldNames ? '' : 'extInfoHot', + subBuilder: ExtInfoHot.create) + ..aOM(5, _omitFieldNames ? '' : 'extInfoGame', + subBuilder: ExtInfoGame.create) + ..aOM(6, _omitFieldNames ? '' : 'extInfoCommon', + subBuilder: ExtInfoCommon.create) + ..aOM(7, _omitFieldNames ? '' : 'extInfoOgv', + subBuilder: ExtInfoOGV.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') + ModuleExtendItem clone() => ModuleExtendItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleExtendItem copyWith(void Function(ModuleExtendItem) updates) => + super.copyWith((message) => updates(message as ModuleExtendItem)) + as ModuleExtendItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleExtendItem create() => ModuleExtendItem._(); + ModuleExtendItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleExtendItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleExtendItem? _defaultInstance; + + ModuleExtendItem_Extend whichExtend() => + _ModuleExtendItem_ExtendByTag[$_whichOneof(0)]!; + void clearExtend() => clearField($_whichOneof(0)); + + /// 类型 + @$pb.TagNumber(1) + DynExtendType get type => $_getN(0); + @$pb.TagNumber(1) + set type(DynExtendType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + /// 废弃 + @$pb.TagNumber(2) + ExtInfoTopic get extInfoTopic => $_getN(1); + @$pb.TagNumber(2) + set extInfoTopic(ExtInfoTopic v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasExtInfoTopic() => $_has(1); + @$pb.TagNumber(2) + void clearExtInfoTopic() => clearField(2); + @$pb.TagNumber(2) + ExtInfoTopic ensureExtInfoTopic() => $_ensure(1); + + /// 废弃 + @$pb.TagNumber(3) + ExtInfoLBS get extInfoLbs => $_getN(2); + @$pb.TagNumber(3) + set extInfoLbs(ExtInfoLBS v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasExtInfoLbs() => $_has(2); + @$pb.TagNumber(3) + void clearExtInfoLbs() => clearField(3); + @$pb.TagNumber(3) + ExtInfoLBS ensureExtInfoLbs() => $_ensure(2); + + /// 废弃 + @$pb.TagNumber(4) + ExtInfoHot get extInfoHot => $_getN(3); + @$pb.TagNumber(4) + set extInfoHot(ExtInfoHot v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasExtInfoHot() => $_has(3); + @$pb.TagNumber(4) + void clearExtInfoHot() => clearField(4); + @$pb.TagNumber(4) + ExtInfoHot ensureExtInfoHot() => $_ensure(3); + + /// 废弃 + @$pb.TagNumber(5) + ExtInfoGame get extInfoGame => $_getN(4); + @$pb.TagNumber(5) + set extInfoGame(ExtInfoGame v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasExtInfoGame() => $_has(4); + @$pb.TagNumber(5) + void clearExtInfoGame() => clearField(5); + @$pb.TagNumber(5) + ExtInfoGame ensureExtInfoGame() => $_ensure(4); + + @$pb.TagNumber(6) + ExtInfoCommon get extInfoCommon => $_getN(5); + @$pb.TagNumber(6) + set extInfoCommon(ExtInfoCommon v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasExtInfoCommon() => $_has(5); + @$pb.TagNumber(6) + void clearExtInfoCommon() => clearField(6); + @$pb.TagNumber(6) + ExtInfoCommon ensureExtInfoCommon() => $_ensure(5); + + @$pb.TagNumber(7) + ExtInfoOGV get extInfoOgv => $_getN(6); + @$pb.TagNumber(7) + set extInfoOgv(ExtInfoOGV v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasExtInfoOgv() => $_has(6); + @$pb.TagNumber(7) + void clearExtInfoOgv() => clearField(7); + @$pb.TagNumber(7) + ExtInfoOGV ensureExtInfoOgv() => $_ensure(6); +} + +/// 动态-折叠模块 +class ModuleFold extends $pb.GeneratedMessage { + factory ModuleFold({ + FoldType? foldType, + $core.String? text, + $core.String? foldIds, + $core.Iterable? foldUsers, + TopicMergedResource? topicMergedResource, + }) { + final $result = create(); + if (foldType != null) { + $result.foldType = foldType; + } + if (text != null) { + $result.text = text; + } + if (foldIds != null) { + $result.foldIds = foldIds; + } + if (foldUsers != null) { + $result.foldUsers.addAll(foldUsers); + } + if (topicMergedResource != null) { + $result.topicMergedResource = topicMergedResource; + } + return $result; + } + ModuleFold._() : super(); + factory ModuleFold.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleFold.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleFold', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'foldType', $pb.PbFieldType.OE, + defaultOrMaker: FoldType.FoldTypeZore, + valueOf: FoldType.valueOf, + enumValues: FoldType.values) + ..aOS(2, _omitFieldNames ? '' : 'text') + ..aOS(3, _omitFieldNames ? '' : 'foldIds') + ..pc(4, _omitFieldNames ? '' : 'foldUsers', $pb.PbFieldType.PM, + subBuilder: UserInfo.create) + ..aOM(5, _omitFieldNames ? '' : 'topicMergedResource', + subBuilder: TopicMergedResource.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') + ModuleFold clone() => ModuleFold()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleFold copyWith(void Function(ModuleFold) updates) => + super.copyWith((message) => updates(message as ModuleFold)) as ModuleFold; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleFold create() => ModuleFold._(); + ModuleFold createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleFold getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleFold? _defaultInstance; + + /// 折叠分类 + @$pb.TagNumber(1) + FoldType get foldType => $_getN(0); + @$pb.TagNumber(1) + set foldType(FoldType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasFoldType() => $_has(0); + @$pb.TagNumber(1) + void clearFoldType() => 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.String get foldIds => $_getSZ(2); + @$pb.TagNumber(3) + set foldIds($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasFoldIds() => $_has(2); + @$pb.TagNumber(3) + void clearFoldIds() => clearField(3); + + /// 被折叠的用户信息 + @$pb.TagNumber(4) + $core.List get foldUsers => $_getList(3); + + @$pb.TagNumber(5) + TopicMergedResource get topicMergedResource => $_getN(4); + @$pb.TagNumber(5) + set topicMergedResource(TopicMergedResource v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasTopicMergedResource() => $_has(4); + @$pb.TagNumber(5) + void clearTopicMergedResource() => clearField(5); + @$pb.TagNumber(5) + TopicMergedResource ensureTopicMergedResource() => $_ensure(4); +} + +/// 外露交互模块 +class ModuleInteraction extends $pb.GeneratedMessage { + factory ModuleInteraction({ + $core.Iterable? interactionItem, + }) { + final $result = create(); + if (interactionItem != null) { + $result.interactionItem.addAll(interactionItem); + } + return $result; + } + ModuleInteraction._() : super(); + factory ModuleInteraction.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleInteraction.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleInteraction', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'interactionItem', $pb.PbFieldType.PM, + subBuilder: InteractionItem.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') + ModuleInteraction clone() => ModuleInteraction()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleInteraction copyWith(void Function(ModuleInteraction) updates) => + super.copyWith((message) => updates(message as ModuleInteraction)) + as ModuleInteraction; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleInteraction create() => ModuleInteraction._(); + ModuleInteraction createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleInteraction getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleInteraction? _defaultInstance; + + /// 外露交互模块 + @$pb.TagNumber(1) + $core.List get interactionItem => $_getList(0); +} + +/// 获取物料失败模块 +class ModuleItemNull extends $pb.GeneratedMessage { + factory ModuleItemNull({ + $core.String? icon, + $core.String? text, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (text != null) { + $result.text = text; + } + return $result; + } + ModuleItemNull._() : super(); + factory ModuleItemNull.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleItemNull.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleItemNull', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + 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') + ModuleItemNull clone() => ModuleItemNull()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleItemNull copyWith(void Function(ModuleItemNull) updates) => + super.copyWith((message) => updates(message as ModuleItemNull)) + as ModuleItemNull; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleItemNull create() => ModuleItemNull._(); + ModuleItemNull createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleItemNull getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleItemNull? _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 ModuleLikeUser extends $pb.GeneratedMessage { + factory ModuleLikeUser({ + $core.Iterable? likeUsers, + $core.String? displayText, + }) { + final $result = create(); + if (likeUsers != null) { + $result.likeUsers.addAll(likeUsers); + } + if (displayText != null) { + $result.displayText = displayText; + } + return $result; + } + ModuleLikeUser._() : super(); + factory ModuleLikeUser.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleLikeUser.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleLikeUser', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'likeUsers', $pb.PbFieldType.PM, + subBuilder: LikeUser.create) + ..aOS(2, _omitFieldNames ? '' : 'displayText') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleLikeUser clone() => ModuleLikeUser()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleLikeUser copyWith(void Function(ModuleLikeUser) updates) => + super.copyWith((message) => updates(message as ModuleLikeUser)) + as ModuleLikeUser; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleLikeUser create() => ModuleLikeUser._(); + ModuleLikeUser createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleLikeUser getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleLikeUser? _defaultInstance; + + /// 点赞用户 + @$pb.TagNumber(1) + $core.List get likeUsers => $_getList(0); + + /// 文案 + @$pb.TagNumber(2) + $core.String get displayText => $_getSZ(1); + @$pb.TagNumber(2) + set displayText($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDisplayText() => $_has(1); + @$pb.TagNumber(2) + void clearDisplayText() => clearField(2); +} + +class ModuleNotice extends $pb.GeneratedMessage { + factory ModuleNotice({ + $core.String? identity, + $core.String? icon, + $core.String? title, + $core.String? url, + $core.int? noticeType, + }) { + final $result = create(); + if (identity != null) { + $result.identity = identity; + } + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + if (url != null) { + $result.url = url; + } + if (noticeType != null) { + $result.noticeType = noticeType; + } + return $result; + } + ModuleNotice._() : super(); + factory ModuleNotice.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleNotice.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleNotice', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'identity') + ..aOS(2, _omitFieldNames ? '' : 'icon') + ..aOS(3, _omitFieldNames ? '' : 'title') + ..aOS(4, _omitFieldNames ? '' : 'url') + ..a<$core.int>(5, _omitFieldNames ? '' : 'noticeType', $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') + ModuleNotice clone() => ModuleNotice()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleNotice copyWith(void Function(ModuleNotice) updates) => + super.copyWith((message) => updates(message as ModuleNotice)) + as ModuleNotice; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleNotice create() => ModuleNotice._(); + ModuleNotice createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleNotice getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleNotice? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get identity => $_getSZ(0); + @$pb.TagNumber(1) + set identity($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasIdentity() => $_has(0); + @$pb.TagNumber(1) + void clearIdentity() => 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 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 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) + $core.int get noticeType => $_getIZ(4); + @$pb.TagNumber(5) + set noticeType($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasNoticeType() => $_has(4); + @$pb.TagNumber(5) + void clearNoticeType() => clearField(5); +} + +class ModuleOpusCollection extends $pb.GeneratedMessage { + factory ModuleOpusCollection({ + OpusCollection? collectionInfo, + $core.String? titleUpper, + $core.String? title, + $core.String? titlePrefixIcon, + $core.String? totalText, + }) { + final $result = create(); + if (collectionInfo != null) { + $result.collectionInfo = collectionInfo; + } + if (titleUpper != null) { + $result.titleUpper = titleUpper; + } + if (title != null) { + $result.title = title; + } + if (titlePrefixIcon != null) { + $result.titlePrefixIcon = titlePrefixIcon; + } + if (totalText != null) { + $result.totalText = totalText; + } + return $result; + } + ModuleOpusCollection._() : super(); + factory ModuleOpusCollection.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleOpusCollection.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleOpusCollection', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'collectionInfo', + subBuilder: OpusCollection.create) + ..aOS(2, _omitFieldNames ? '' : 'titleUpper') + ..aOS(3, _omitFieldNames ? '' : 'title') + ..aOS(4, _omitFieldNames ? '' : 'titlePrefixIcon') + ..aOS(5, _omitFieldNames ? '' : 'totalText') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleOpusCollection clone() => + ModuleOpusCollection()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleOpusCollection copyWith(void Function(ModuleOpusCollection) updates) => + super.copyWith((message) => updates(message as ModuleOpusCollection)) + as ModuleOpusCollection; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleOpusCollection create() => ModuleOpusCollection._(); + ModuleOpusCollection createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleOpusCollection getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleOpusCollection? _defaultInstance; + + @$pb.TagNumber(1) + OpusCollection get collectionInfo => $_getN(0); + @$pb.TagNumber(1) + set collectionInfo(OpusCollection v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasCollectionInfo() => $_has(0); + @$pb.TagNumber(1) + void clearCollectionInfo() => clearField(1); + @$pb.TagNumber(1) + OpusCollection ensureCollectionInfo() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get titleUpper => $_getSZ(1); + @$pb.TagNumber(2) + set titleUpper($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasTitleUpper() => $_has(1); + @$pb.TagNumber(2) + void clearTitleUpper() => clearField(2); + + @$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 titlePrefixIcon => $_getSZ(3); + @$pb.TagNumber(4) + set titlePrefixIcon($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTitlePrefixIcon() => $_has(3); + @$pb.TagNumber(4) + void clearTitlePrefixIcon() => clearField(4); + + @$pb.TagNumber(5) + $core.String get totalText => $_getSZ(4); + @$pb.TagNumber(5) + set totalText($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasTotalText() => $_has(4); + @$pb.TagNumber(5) + void clearTotalText() => clearField(5); +} + +class ModuleOpusSummary extends $pb.GeneratedMessage { + factory ModuleOpusSummary({ + Paragraph? title, + Paragraph? summary, + $core.String? summaryJumpBtnText, + $core.Iterable? covers, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (summary != null) { + $result.summary = summary; + } + if (summaryJumpBtnText != null) { + $result.summaryJumpBtnText = summaryJumpBtnText; + } + if (covers != null) { + $result.covers.addAll(covers); + } + return $result; + } + ModuleOpusSummary._() : super(); + factory ModuleOpusSummary.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleOpusSummary.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleOpusSummary', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'title', + subBuilder: Paragraph.create) + ..aOM(2, _omitFieldNames ? '' : 'summary', + subBuilder: Paragraph.create) + ..aOS(3, _omitFieldNames ? '' : 'summaryJumpBtnText') + ..pc(4, _omitFieldNames ? '' : 'covers', $pb.PbFieldType.PM, + subBuilder: MdlDynDrawItem.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') + ModuleOpusSummary clone() => ModuleOpusSummary()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleOpusSummary copyWith(void Function(ModuleOpusSummary) updates) => + super.copyWith((message) => updates(message as ModuleOpusSummary)) + as ModuleOpusSummary; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleOpusSummary create() => ModuleOpusSummary._(); + ModuleOpusSummary createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleOpusSummary getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleOpusSummary? _defaultInstance; + + @$pb.TagNumber(1) + Paragraph get title => $_getN(0); + @$pb.TagNumber(1) + set title(Paragraph v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasTitle() => $_has(0); + @$pb.TagNumber(1) + void clearTitle() => clearField(1); + @$pb.TagNumber(1) + Paragraph ensureTitle() => $_ensure(0); + + @$pb.TagNumber(2) + Paragraph get summary => $_getN(1); + @$pb.TagNumber(2) + set summary(Paragraph v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasSummary() => $_has(1); + @$pb.TagNumber(2) + void clearSummary() => clearField(2); + @$pb.TagNumber(2) + Paragraph ensureSummary() => $_ensure(1); + + @$pb.TagNumber(3) + $core.String get summaryJumpBtnText => $_getSZ(2); + @$pb.TagNumber(3) + set summaryJumpBtnText($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasSummaryJumpBtnText() => $_has(2); + @$pb.TagNumber(3) + void clearSummaryJumpBtnText() => clearField(3); + + @$pb.TagNumber(4) + $core.List get covers => $_getList(3); +} + +class ModuleParagraph extends $pb.GeneratedMessage { + factory ModuleParagraph({ + Paragraph? paragraph, + $core.bool? isArticleTitle, + ParaSpacing? paraSpacing, + }) { + final $result = create(); + if (paragraph != null) { + $result.paragraph = paragraph; + } + if (isArticleTitle != null) { + $result.isArticleTitle = isArticleTitle; + } + if (paraSpacing != null) { + $result.paraSpacing = paraSpacing; + } + return $result; + } + ModuleParagraph._() : super(); + factory ModuleParagraph.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleParagraph.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleParagraph', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'paragraph', + subBuilder: Paragraph.create) + ..aOB(2, _omitFieldNames ? '' : 'isArticleTitle') + ..aOM(3, _omitFieldNames ? '' : 'paraSpacing', + subBuilder: ParaSpacing.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') + ModuleParagraph clone() => ModuleParagraph()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleParagraph copyWith(void Function(ModuleParagraph) updates) => + super.copyWith((message) => updates(message as ModuleParagraph)) + as ModuleParagraph; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleParagraph create() => ModuleParagraph._(); + ModuleParagraph createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleParagraph getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleParagraph? _defaultInstance; + + @$pb.TagNumber(1) + Paragraph get paragraph => $_getN(0); + @$pb.TagNumber(1) + set paragraph(Paragraph v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasParagraph() => $_has(0); + @$pb.TagNumber(1) + void clearParagraph() => clearField(1); + @$pb.TagNumber(1) + Paragraph ensureParagraph() => $_ensure(0); + + @$pb.TagNumber(2) + $core.bool get isArticleTitle => $_getBF(1); + @$pb.TagNumber(2) + set isArticleTitle($core.bool v) { + $_setBool(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasIsArticleTitle() => $_has(1); + @$pb.TagNumber(2) + void clearIsArticleTitle() => clearField(2); + + @$pb.TagNumber(3) + ParaSpacing get paraSpacing => $_getN(2); + @$pb.TagNumber(3) + set paraSpacing(ParaSpacing v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasParaSpacing() => $_has(2); + @$pb.TagNumber(3) + void clearParaSpacing() => clearField(3); + @$pb.TagNumber(3) + ParaSpacing ensureParaSpacing() => $_ensure(2); +} + +/// 推荐模块 +class ModuleRcmd extends $pb.GeneratedMessage { + factory ModuleRcmd({ + RcmdAuthor? author, + $core.Iterable? items, + $core.String? serverInfo, + }) { + final $result = create(); + if (author != null) { + $result.author = author; + } + if (items != null) { + $result.items.addAll(items); + } + if (serverInfo != null) { + $result.serverInfo = serverInfo; + } + return $result; + } + ModuleRcmd._() : super(); + factory ModuleRcmd.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleRcmd.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleRcmd', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'author', + subBuilder: RcmdAuthor.create) + ..pc(2, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: RcmdItem.create) + ..aOS(3, _omitFieldNames ? '' : 'serverInfo') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleRcmd clone() => ModuleRcmd()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleRcmd copyWith(void Function(ModuleRcmd) updates) => + super.copyWith((message) => updates(message as ModuleRcmd)) as ModuleRcmd; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleRcmd create() => ModuleRcmd._(); + ModuleRcmd createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleRcmd getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleRcmd? _defaultInstance; + + /// 用户头像 + @$pb.TagNumber(1) + RcmdAuthor get author => $_getN(0); + @$pb.TagNumber(1) + set author(RcmdAuthor v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasAuthor() => $_has(0); + @$pb.TagNumber(1) + void clearAuthor() => clearField(1); + @$pb.TagNumber(1) + RcmdAuthor ensureAuthor() => $_ensure(0); + + /// 推荐卡片列表 + @$pb.TagNumber(2) + $core.List get items => $_getList(1); + + /// 透传到客户端的埋点字段 + @$pb.TagNumber(3) + $core.String get serverInfo => $_getSZ(2); + @$pb.TagNumber(3) + set serverInfo($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasServerInfo() => $_has(2); + @$pb.TagNumber(3) + void clearServerInfo() => clearField(3); +} + +/// 相关推荐模块 +class ModuleRecommend extends $pb.GeneratedMessage { + factory ModuleRecommend({ + $core.String? moduleTitle, + $core.String? image, + $core.String? tag, + $core.String? title, + $core.String? jumpUrl, + $core.Iterable<$2.Any>? ad, + }) { + final $result = create(); + if (moduleTitle != null) { + $result.moduleTitle = moduleTitle; + } + if (image != null) { + $result.image = image; + } + if (tag != null) { + $result.tag = tag; + } + if (title != null) { + $result.title = title; + } + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + if (ad != null) { + $result.ad.addAll(ad); + } + return $result; + } + ModuleRecommend._() : super(); + factory ModuleRecommend.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleRecommend.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleRecommend', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'moduleTitle') + ..aOS(2, _omitFieldNames ? '' : 'image') + ..aOS(3, _omitFieldNames ? '' : 'tag') + ..aOS(4, _omitFieldNames ? '' : 'title') + ..aOS(5, _omitFieldNames ? '' : 'jumpUrl') + ..pc<$2.Any>(6, _omitFieldNames ? '' : 'ad', $pb.PbFieldType.PM, + subBuilder: $2.Any.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') + ModuleRecommend clone() => ModuleRecommend()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleRecommend copyWith(void Function(ModuleRecommend) updates) => + super.copyWith((message) => updates(message as ModuleRecommend)) + as ModuleRecommend; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleRecommend create() => ModuleRecommend._(); + ModuleRecommend createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleRecommend getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleRecommend? _defaultInstance; + + /// 模块标题 + @$pb.TagNumber(1) + $core.String get moduleTitle => $_getSZ(0); + @$pb.TagNumber(1) + set moduleTitle($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasModuleTitle() => $_has(0); + @$pb.TagNumber(1) + void clearModuleTitle() => clearField(1); + + /// 图片 + @$pb.TagNumber(2) + $core.String get image => $_getSZ(1); + @$pb.TagNumber(2) + set image($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasImage() => $_has(1); + @$pb.TagNumber(2) + void clearImage() => clearField(2); + + /// 标签 + @$pb.TagNumber(3) + $core.String get tag => $_getSZ(2); + @$pb.TagNumber(3) + set tag($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasTag() => $_has(2); + @$pb.TagNumber(3) + void clearTag() => clearField(3); + + /// 标题 + @$pb.TagNumber(4) + $core.String get title => $_getSZ(3); + @$pb.TagNumber(4) + set title($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTitle() => $_has(3); + @$pb.TagNumber(4) + void clearTitle() => clearField(4); + + /// 跳转链接 + @$pb.TagNumber(5) + $core.String get jumpUrl => $_getSZ(4); + @$pb.TagNumber(5) + set jumpUrl($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasJumpUrl() => $_has(4); + @$pb.TagNumber(5) + void clearJumpUrl() => clearField(5); + + /// 序列化的广告信息 + @$pb.TagNumber(6) + $core.List<$2.Any> get ad => $_getList(5); +} + +/// 分享模块 +class ModuleShareInfo extends $pb.GeneratedMessage { + factory ModuleShareInfo({ + $core.String? title, + $core.Iterable? shareChannels, + $core.String? shareOrigin, + $core.String? oid, + $core.String? sid, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (shareChannels != null) { + $result.shareChannels.addAll(shareChannels); + } + if (shareOrigin != null) { + $result.shareOrigin = shareOrigin; + } + if (oid != null) { + $result.oid = oid; + } + if (sid != null) { + $result.sid = sid; + } + return $result; + } + ModuleShareInfo._() : super(); + factory ModuleShareInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleShareInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleShareInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc( + 2, _omitFieldNames ? '' : 'shareChannels', $pb.PbFieldType.PM, + subBuilder: ShareChannel.create) + ..aOS(3, _omitFieldNames ? '' : 'shareOrigin') + ..aOS(4, _omitFieldNames ? '' : 'oid') + ..aOS(5, _omitFieldNames ? '' : 'sid') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleShareInfo clone() => ModuleShareInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleShareInfo copyWith(void Function(ModuleShareInfo) updates) => + super.copyWith((message) => updates(message as ModuleShareInfo)) + as ModuleShareInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleShareInfo create() => ModuleShareInfo._(); + ModuleShareInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleShareInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleShareInfo? _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.List get shareChannels => $_getList(1); + + /// share_origin + @$pb.TagNumber(3) + $core.String get shareOrigin => $_getSZ(2); + @$pb.TagNumber(3) + set shareOrigin($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasShareOrigin() => $_has(2); + @$pb.TagNumber(3) + void clearShareOrigin() => clearField(3); + + /// 业务id + @$pb.TagNumber(4) + $core.String get oid => $_getSZ(3); + @$pb.TagNumber(4) + set oid($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasOid() => $_has(3); + @$pb.TagNumber(4) + void clearOid() => clearField(4); + + /// sid + @$pb.TagNumber(5) + $core.String get sid => $_getSZ(4); + @$pb.TagNumber(5) + set sid($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasSid() => $_has(4); + @$pb.TagNumber(5) + void clearSid() => clearField(5); +} + +/// 动态-计数模块 +class ModuleStat extends $pb.GeneratedMessage { + factory ModuleStat({ + $fixnum.Int64? repost, + $fixnum.Int64? like, + $fixnum.Int64? reply, + LikeInfo? likeInfo, + $core.bool? noComment, + $core.bool? noForward, + $core.String? replyUrl, + $core.String? noCommentText, + $core.String? noForwardText, + }) { + final $result = create(); + if (repost != null) { + $result.repost = repost; + } + if (like != null) { + $result.like = like; + } + if (reply != null) { + $result.reply = reply; + } + if (likeInfo != null) { + $result.likeInfo = likeInfo; + } + if (noComment != null) { + $result.noComment = noComment; + } + if (noForward != null) { + $result.noForward = noForward; + } + if (replyUrl != null) { + $result.replyUrl = replyUrl; + } + if (noCommentText != null) { + $result.noCommentText = noCommentText; + } + if (noForwardText != null) { + $result.noForwardText = noForwardText; + } + return $result; + } + ModuleStat._() : super(); + factory ModuleStat.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleStat.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleStat', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'repost') + ..aInt64(2, _omitFieldNames ? '' : 'like') + ..aInt64(3, _omitFieldNames ? '' : 'reply') + ..aOM(4, _omitFieldNames ? '' : 'likeInfo', + subBuilder: LikeInfo.create) + ..aOB(5, _omitFieldNames ? '' : 'noComment') + ..aOB(6, _omitFieldNames ? '' : 'noForward') + ..aOS(7, _omitFieldNames ? '' : 'replyUrl') + ..aOS(8, _omitFieldNames ? '' : 'noCommentText') + ..aOS(9, _omitFieldNames ? '' : 'noForwardText') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleStat clone() => ModuleStat()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleStat copyWith(void Function(ModuleStat) updates) => + super.copyWith((message) => updates(message as ModuleStat)) as ModuleStat; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleStat create() => ModuleStat._(); + ModuleStat createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleStat getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleStat? _defaultInstance; + + /// 转发数 + @$pb.TagNumber(1) + $fixnum.Int64 get repost => $_getI64(0); + @$pb.TagNumber(1) + set repost($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasRepost() => $_has(0); + @$pb.TagNumber(1) + void clearRepost() => clearField(1); + + /// 点赞数 + @$pb.TagNumber(2) + $fixnum.Int64 get like => $_getI64(1); + @$pb.TagNumber(2) + set like($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasLike() => $_has(1); + @$pb.TagNumber(2) + void clearLike() => clearField(2); + + /// 评论数 + @$pb.TagNumber(3) + $fixnum.Int64 get reply => $_getI64(2); + @$pb.TagNumber(3) + set reply($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasReply() => $_has(2); + @$pb.TagNumber(3) + void clearReply() => clearField(3); + + /// 点赞拓展信息 + @$pb.TagNumber(4) + LikeInfo get likeInfo => $_getN(3); + @$pb.TagNumber(4) + set likeInfo(LikeInfo v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasLikeInfo() => $_has(3); + @$pb.TagNumber(4) + void clearLikeInfo() => clearField(4); + @$pb.TagNumber(4) + LikeInfo ensureLikeInfo() => $_ensure(3); + + /// 禁评 + @$pb.TagNumber(5) + $core.bool get noComment => $_getBF(4); + @$pb.TagNumber(5) + set noComment($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasNoComment() => $_has(4); + @$pb.TagNumber(5) + void clearNoComment() => clearField(5); + + /// 禁转 + @$pb.TagNumber(6) + $core.bool get noForward => $_getBF(5); + @$pb.TagNumber(6) + set noForward($core.bool v) { + $_setBool(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasNoForward() => $_has(5); + @$pb.TagNumber(6) + void clearNoForward() => clearField(6); + + /// 点击评论跳转链接 + @$pb.TagNumber(7) + $core.String get replyUrl => $_getSZ(6); + @$pb.TagNumber(7) + set replyUrl($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasReplyUrl() => $_has(6); + @$pb.TagNumber(7) + void clearReplyUrl() => clearField(7); + + /// 禁评文案 + @$pb.TagNumber(8) + $core.String get noCommentText => $_getSZ(7); + @$pb.TagNumber(8) + set noCommentText($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasNoCommentText() => $_has(7); + @$pb.TagNumber(8) + void clearNoCommentText() => clearField(8); + + /// 禁转文案 + @$pb.TagNumber(9) + $core.String get noForwardText => $_getSZ(8); + @$pb.TagNumber(9) + set noForwardText($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasNoForwardText() => $_has(8); + @$pb.TagNumber(9) + void clearNoForwardText() => clearField(9); +} + +class ModuleStory extends $pb.GeneratedMessage { + factory ModuleStory({ + $core.String? title, + $core.Iterable? items, + $core.bool? showPublishEntrance, + $fixnum.Int64? foldState, + $core.String? uri, + $core.String? cover, + $core.String? publishText, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (items != null) { + $result.items.addAll(items); + } + if (showPublishEntrance != null) { + $result.showPublishEntrance = showPublishEntrance; + } + if (foldState != null) { + $result.foldState = foldState; + } + if (uri != null) { + $result.uri = uri; + } + if (cover != null) { + $result.cover = cover; + } + if (publishText != null) { + $result.publishText = publishText; + } + return $result; + } + ModuleStory._() : super(); + factory ModuleStory.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleStory.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleStory', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: StoryItem.create) + ..aOB(3, _omitFieldNames ? '' : 'showPublishEntrance') + ..aInt64(4, _omitFieldNames ? '' : 'foldState') + ..aOS(5, _omitFieldNames ? '' : 'uri') + ..aOS(6, _omitFieldNames ? '' : 'cover') + ..aOS(7, _omitFieldNames ? '' : 'publishText') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleStory clone() => ModuleStory()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleStory copyWith(void Function(ModuleStory) updates) => + super.copyWith((message) => updates(message as ModuleStory)) + as ModuleStory; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleStory create() => ModuleStory._(); + ModuleStory createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleStory getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleStory? _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.List get items => $_getList(1); + + @$pb.TagNumber(3) + $core.bool get showPublishEntrance => $_getBF(2); + @$pb.TagNumber(3) + set showPublishEntrance($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasShowPublishEntrance() => $_has(2); + @$pb.TagNumber(3) + void clearShowPublishEntrance() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get foldState => $_getI64(3); + @$pb.TagNumber(4) + set foldState($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasFoldState() => $_has(3); + @$pb.TagNumber(4) + void clearFoldState() => clearField(4); + + @$pb.TagNumber(5) + $core.String get uri => $_getSZ(4); + @$pb.TagNumber(5) + set uri($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasUri() => $_has(4); + @$pb.TagNumber(5) + void clearUri() => clearField(5); + + @$pb.TagNumber(6) + $core.String get cover => $_getSZ(5); + @$pb.TagNumber(6) + set cover($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCover() => $_has(5); + @$pb.TagNumber(6) + void clearCover() => clearField(6); + + @$pb.TagNumber(7) + $core.String get publishText => $_getSZ(6); + @$pb.TagNumber(7) + set publishText($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasPublishText() => $_has(6); + @$pb.TagNumber(7) + void clearPublishText() => clearField(7); +} + +class ModuleTextNotice extends $pb.GeneratedMessage { + factory ModuleTextNotice({ + OneLineText? notice, + }) { + final $result = create(); + if (notice != null) { + $result.notice = notice; + } + return $result; + } + ModuleTextNotice._() : super(); + factory ModuleTextNotice.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleTextNotice.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleTextNotice', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'notice', + subBuilder: OneLineText.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') + ModuleTextNotice clone() => ModuleTextNotice()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleTextNotice copyWith(void Function(ModuleTextNotice) updates) => + super.copyWith((message) => updates(message as ModuleTextNotice)) + as ModuleTextNotice; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleTextNotice create() => ModuleTextNotice._(); + ModuleTextNotice createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleTextNotice getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleTextNotice? _defaultInstance; + + @$pb.TagNumber(1) + OneLineText get notice => $_getN(0); + @$pb.TagNumber(1) + set notice(OneLineText v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasNotice() => $_has(0); + @$pb.TagNumber(1) + void clearNotice() => clearField(1); + @$pb.TagNumber(1) + OneLineText ensureNotice() => $_ensure(0); +} + +class ModuleTitle extends $pb.GeneratedMessage { + factory ModuleTitle({ + $core.String? title, + IconButton? rightBtn, + $core.int? titleStyle, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (rightBtn != null) { + $result.rightBtn = rightBtn; + } + if (titleStyle != null) { + $result.titleStyle = titleStyle; + } + return $result; + } + ModuleTitle._() : super(); + factory ModuleTitle.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleTitle.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleTitle', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOM(2, _omitFieldNames ? '' : 'rightBtn', + subBuilder: IconButton.create) + ..a<$core.int>(3, _omitFieldNames ? '' : 'titleStyle', $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') + ModuleTitle clone() => ModuleTitle()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleTitle copyWith(void Function(ModuleTitle) updates) => + super.copyWith((message) => updates(message as ModuleTitle)) + as ModuleTitle; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleTitle create() => ModuleTitle._(); + ModuleTitle createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleTitle getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleTitle? _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) + IconButton get rightBtn => $_getN(1); + @$pb.TagNumber(2) + set rightBtn(IconButton v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasRightBtn() => $_has(1); + @$pb.TagNumber(2) + void clearRightBtn() => clearField(2); + @$pb.TagNumber(2) + IconButton ensureRightBtn() => $_ensure(1); + + @$pb.TagNumber(3) + $core.int get titleStyle => $_getIZ(2); + @$pb.TagNumber(3) + set titleStyle($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasTitleStyle() => $_has(2); + @$pb.TagNumber(3) + void clearTitleStyle() => clearField(3); +} + +/// 顶部模块 +class ModuleTop extends $pb.GeneratedMessage { + factory ModuleTop({ + $core.Iterable? tpList, + MdlDynArchive? archive, + ModuleAuthor? author, + $core.bool? hiddenNavBar, + }) { + final $result = create(); + if (tpList != null) { + $result.tpList.addAll(tpList); + } + if (archive != null) { + $result.archive = archive; + } + if (author != null) { + $result.author = author; + } + if (hiddenNavBar != null) { + $result.hiddenNavBar = hiddenNavBar; + } + return $result; + } + ModuleTop._() : super(); + factory ModuleTop.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleTop.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleTop', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'tpList', $pb.PbFieldType.PM, + subBuilder: ThreePointItem.create) + ..aOM(2, _omitFieldNames ? '' : 'archive', + subBuilder: MdlDynArchive.create) + ..aOM(3, _omitFieldNames ? '' : 'author', + subBuilder: ModuleAuthor.create) + ..aOB(4, _omitFieldNames ? '' : 'hiddenNavBar') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleTop clone() => ModuleTop()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleTop copyWith(void Function(ModuleTop) updates) => + super.copyWith((message) => updates(message as ModuleTop)) as ModuleTop; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleTop create() => ModuleTop._(); + ModuleTop createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleTop getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ModuleTop? _defaultInstance; + + /// 三点模块 + @$pb.TagNumber(1) + $core.List get tpList => $_getList(0); + + @$pb.TagNumber(2) + MdlDynArchive get archive => $_getN(1); + @$pb.TagNumber(2) + set archive(MdlDynArchive v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasArchive() => $_has(1); + @$pb.TagNumber(2) + void clearArchive() => clearField(2); + @$pb.TagNumber(2) + MdlDynArchive ensureArchive() => $_ensure(1); + + @$pb.TagNumber(3) + ModuleAuthor get author => $_getN(2); + @$pb.TagNumber(3) + set author(ModuleAuthor v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasAuthor() => $_has(2); + @$pb.TagNumber(3) + void clearAuthor() => clearField(3); + @$pb.TagNumber(3) + ModuleAuthor ensureAuthor() => $_ensure(2); + + @$pb.TagNumber(4) + $core.bool get hiddenNavBar => $_getBF(3); + @$pb.TagNumber(4) + set hiddenNavBar($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasHiddenNavBar() => $_has(3); + @$pb.TagNumber(4) + void clearHiddenNavBar() => clearField(4); +} + +class ModuleTopic extends $pb.GeneratedMessage { + factory ModuleTopic({ + $fixnum.Int64? id, + $core.String? name, + $core.String? url, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (name != null) { + $result.name = name; + } + if (url != null) { + $result.url = url; + } + return $result; + } + ModuleTopic._() : super(); + factory ModuleTopic.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleTopic.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleTopic', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..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') + ModuleTopic clone() => ModuleTopic()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleTopic copyWith(void Function(ModuleTopic) updates) => + super.copyWith((message) => updates(message as ModuleTopic)) + as ModuleTopic; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleTopic create() => ModuleTopic._(); + ModuleTopic createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleTopic getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleTopic? _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) + $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 ModuleTopicBrief extends $pb.GeneratedMessage { + factory ModuleTopicBrief({ + TopicItem? topic, + }) { + final $result = create(); + if (topic != null) { + $result.topic = topic; + } + return $result; + } + ModuleTopicBrief._() : super(); + factory ModuleTopicBrief.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleTopicBrief.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleTopicBrief', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'topic', + subBuilder: TopicItem.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') + ModuleTopicBrief clone() => ModuleTopicBrief()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleTopicBrief copyWith(void Function(ModuleTopicBrief) updates) => + super.copyWith((message) => updates(message as ModuleTopicBrief)) + as ModuleTopicBrief; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleTopicBrief create() => ModuleTopicBrief._(); + ModuleTopicBrief createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleTopicBrief getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleTopicBrief? _defaultInstance; + + @$pb.TagNumber(1) + TopicItem get topic => $_getN(0); + @$pb.TagNumber(1) + set topic(TopicItem v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasTopic() => $_has(0); + @$pb.TagNumber(1) + void clearTopic() => clearField(1); + @$pb.TagNumber(1) + TopicItem ensureTopic() => $_ensure(0); +} + +class ModuleTopicDetailsExt extends $pb.GeneratedMessage { + factory ModuleTopicDetailsExt({ + $core.String? commentGuide, + }) { + final $result = create(); + if (commentGuide != null) { + $result.commentGuide = commentGuide; + } + return $result; + } + ModuleTopicDetailsExt._() : super(); + factory ModuleTopicDetailsExt.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleTopicDetailsExt.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleTopicDetailsExt', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'commentGuide') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleTopicDetailsExt clone() => + ModuleTopicDetailsExt()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleTopicDetailsExt copyWith( + void Function(ModuleTopicDetailsExt) updates) => + super.copyWith((message) => updates(message as ModuleTopicDetailsExt)) + as ModuleTopicDetailsExt; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleTopicDetailsExt create() => ModuleTopicDetailsExt._(); + ModuleTopicDetailsExt createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleTopicDetailsExt getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleTopicDetailsExt? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get commentGuide => $_getSZ(0); + @$pb.TagNumber(1) + set commentGuide($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCommentGuide() => $_has(0); + @$pb.TagNumber(1) + void clearCommentGuide() => clearField(1); +} + +class ModuleTopTag extends $pb.GeneratedMessage { + factory ModuleTopTag({ + $core.String? tagName, + }) { + final $result = create(); + if (tagName != null) { + $result.tagName = tagName; + } + return $result; + } + ModuleTopTag._() : super(); + factory ModuleTopTag.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ModuleTopTag.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ModuleTopTag', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'tagName') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleTopTag clone() => ModuleTopTag()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleTopTag copyWith(void Function(ModuleTopTag) updates) => + super.copyWith((message) => updates(message as ModuleTopTag)) + as ModuleTopTag; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleTopTag create() => ModuleTopTag._(); + ModuleTopTag createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleTopTag getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ModuleTopTag? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get tagName => $_getSZ(0); + @$pb.TagNumber(1) + set tagName($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasTagName() => $_has(0); + @$pb.TagNumber(1) + void clearTagName() => clearField(1); +} + +/// 认证名牌 +class Nameplate extends $pb.GeneratedMessage { + factory Nameplate({ + $fixnum.Int64? nid, + $core.String? name, + $core.String? image, + $core.String? imageSmall, + $core.String? level, + $core.String? condition, + }) { + final $result = create(); + if (nid != null) { + $result.nid = nid; + } + if (name != null) { + $result.name = name; + } + if (image != null) { + $result.image = image; + } + if (imageSmall != null) { + $result.imageSmall = imageSmall; + } + if (level != null) { + $result.level = level; + } + if (condition != null) { + $result.condition = condition; + } + return $result; + } + Nameplate._() : super(); + factory Nameplate.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Nameplate.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Nameplate', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'nid') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aOS(3, _omitFieldNames ? '' : 'image') + ..aOS(4, _omitFieldNames ? '' : 'imageSmall') + ..aOS(5, _omitFieldNames ? '' : 'level') + ..aOS(6, _omitFieldNames ? '' : 'condition') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Nameplate clone() => Nameplate()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Nameplate copyWith(void Function(Nameplate) updates) => + super.copyWith((message) => updates(message as Nameplate)) as Nameplate; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Nameplate create() => Nameplate._(); + Nameplate createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Nameplate getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Nameplate? _defaultInstance; + + /// nid + @$pb.TagNumber(1) + $fixnum.Int64 get nid => $_getI64(0); + @$pb.TagNumber(1) + set nid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasNid() => $_has(0); + @$pb.TagNumber(1) + void clearNid() => 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) + $core.String get image => $_getSZ(2); + @$pb.TagNumber(3) + set image($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasImage() => $_has(2); + @$pb.TagNumber(3) + void clearImage() => clearField(3); + + /// 小图地址 + @$pb.TagNumber(4) + $core.String get imageSmall => $_getSZ(3); + @$pb.TagNumber(4) + set imageSmall($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasImageSmall() => $_has(3); + @$pb.TagNumber(4) + void clearImageSmall() => clearField(4); + + /// 等级 + @$pb.TagNumber(5) + $core.String get level => $_getSZ(4); + @$pb.TagNumber(5) + set level($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasLevel() => $_has(4); + @$pb.TagNumber(5) + void clearLevel() => clearField(5); + + /// 获取条件 + @$pb.TagNumber(6) + $core.String get condition => $_getSZ(5); + @$pb.TagNumber(6) + set condition($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCondition() => $_has(5); + @$pb.TagNumber(6) + void clearCondition() => clearField(6); +} + +/// 最新ep +class NewEP extends $pb.GeneratedMessage { + factory NewEP({ + $core.int? id, + $core.String? indexShow, + $core.String? cover, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (indexShow != null) { + $result.indexShow = indexShow; + } + if (cover != null) { + $result.cover = cover; + } + return $result; + } + NewEP._() : super(); + factory NewEP.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory NewEP.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'NewEP', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'indexShow') + ..aOS(3, _omitFieldNames ? '' : 'cover') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NewEP clone() => NewEP()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NewEP copyWith(void Function(NewEP) updates) => + super.copyWith((message) => updates(message as NewEP)) as NewEP; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NewEP create() => NewEP._(); + NewEP createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NewEP getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NewEP? _defaultInstance; + + /// 最新话epid + @$pb.TagNumber(1) + $core.int get id => $_getIZ(0); + @$pb.TagNumber(1) + set id($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => clearField(1); + + /// 更新至XX话 + @$pb.TagNumber(2) + $core.String get indexShow => $_getSZ(1); + @$pb.TagNumber(2) + set indexShow($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasIndexShow() => $_has(1); + @$pb.TagNumber(2) + void clearIndexShow() => clearField(2); + + /// 更新剧集的封面 + @$pb.TagNumber(3) + $core.String get cover => $_getSZ(2); + @$pb.TagNumber(3) + set cover($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCover() => $_has(2); + @$pb.TagNumber(3) + void clearCover() => clearField(3); +} + +class NFTInfo extends $pb.GeneratedMessage { + factory NFTInfo({ + NFTRegionType? regionType, + $core.String? regionIcon, + NFTShowStatus? regionShowStatus, + }) { + final $result = create(); + if (regionType != null) { + $result.regionType = regionType; + } + if (regionIcon != null) { + $result.regionIcon = regionIcon; + } + if (regionShowStatus != null) { + $result.regionShowStatus = regionShowStatus; + } + return $result; + } + NFTInfo._() : super(); + factory NFTInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory NFTInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'NFTInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'regionType', $pb.PbFieldType.OE, + defaultOrMaker: NFTRegionType.nft_region_default, + valueOf: NFTRegionType.valueOf, + enumValues: NFTRegionType.values) + ..aOS(2, _omitFieldNames ? '' : 'regionIcon') + ..e( + 3, _omitFieldNames ? '' : 'regionShowStatus', $pb.PbFieldType.OE, + defaultOrMaker: NFTShowStatus.nft_show_default, + valueOf: NFTShowStatus.valueOf, + enumValues: NFTShowStatus.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') + NFTInfo clone() => NFTInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NFTInfo copyWith(void Function(NFTInfo) updates) => + super.copyWith((message) => updates(message as NFTInfo)) as NFTInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NFTInfo create() => NFTInfo._(); + NFTInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NFTInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NFTInfo? _defaultInstance; + + @$pb.TagNumber(1) + NFTRegionType get regionType => $_getN(0); + @$pb.TagNumber(1) + set regionType(NFTRegionType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasRegionType() => $_has(0); + @$pb.TagNumber(1) + void clearRegionType() => clearField(1); + + @$pb.TagNumber(2) + $core.String get regionIcon => $_getSZ(1); + @$pb.TagNumber(2) + set regionIcon($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasRegionIcon() => $_has(1); + @$pb.TagNumber(2) + void clearRegionIcon() => clearField(2); + + @$pb.TagNumber(3) + NFTShowStatus get regionShowStatus => $_getN(2); + @$pb.TagNumber(3) + set regionShowStatus(NFTShowStatus v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasRegionShowStatus() => $_has(2); + @$pb.TagNumber(3) + void clearRegionShowStatus() => clearField(3); +} + +/// 空响应 +class NoReply extends $pb.GeneratedMessage { + factory NoReply() => create(); + NoReply._() : super(); + factory NoReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory NoReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'NoReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + 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') + NoReply clone() => NoReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NoReply copyWith(void Function(NoReply) updates) => + super.copyWith((message) => updates(message as NoReply)) as NoReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NoReply create() => NoReply._(); + NoReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NoReply getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NoReply? _defaultInstance; +} + +/// 空请求 +class NoReq extends $pb.GeneratedMessage { + factory NoReq() => create(); + NoReq._() : super(); + factory NoReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory NoReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'NoReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + 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') + NoReq clone() => NoReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NoReq copyWith(void Function(NoReq) updates) => + super.copyWith((message) => updates(message as NoReq)) as NoReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NoReq create() => NoReq._(); + NoReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NoReq getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NoReq? _defaultInstance; +} + +class NoteVideoTS extends $pb.GeneratedMessage { + factory NoteVideoTS({ + $fixnum.Int64? cid, + $fixnum.Int64? oidType, + $fixnum.Int64? status, + $fixnum.Int64? index, + $fixnum.Int64? seconds, + $fixnum.Int64? cidCount, + $core.String? key, + $core.String? title, + $fixnum.Int64? epid, + $core.String? desc, + }) { + final $result = create(); + if (cid != null) { + $result.cid = cid; + } + if (oidType != null) { + $result.oidType = oidType; + } + if (status != null) { + $result.status = status; + } + if (index != null) { + $result.index = index; + } + if (seconds != null) { + $result.seconds = seconds; + } + if (cidCount != null) { + $result.cidCount = cidCount; + } + if (key != null) { + $result.key = key; + } + if (title != null) { + $result.title = title; + } + if (epid != null) { + $result.epid = epid; + } + if (desc != null) { + $result.desc = desc; + } + return $result; + } + NoteVideoTS._() : super(); + factory NoteVideoTS.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory NoteVideoTS.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'NoteVideoTS', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'cid') + ..aInt64(2, _omitFieldNames ? '' : 'oidType') + ..aInt64(3, _omitFieldNames ? '' : 'status') + ..aInt64(4, _omitFieldNames ? '' : 'index') + ..aInt64(5, _omitFieldNames ? '' : 'seconds') + ..aInt64(6, _omitFieldNames ? '' : 'cidCount') + ..aOS(7, _omitFieldNames ? '' : 'key') + ..aOS(8, _omitFieldNames ? '' : 'title') + ..aInt64(9, _omitFieldNames ? '' : 'epid') + ..aOS(10, _omitFieldNames ? '' : 'desc') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NoteVideoTS clone() => NoteVideoTS()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NoteVideoTS copyWith(void Function(NoteVideoTS) updates) => + super.copyWith((message) => updates(message as NoteVideoTS)) + as NoteVideoTS; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NoteVideoTS create() => NoteVideoTS._(); + NoteVideoTS createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NoteVideoTS getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static NoteVideoTS? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get cid => $_getI64(0); + @$pb.TagNumber(1) + set cid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCid() => $_has(0); + @$pb.TagNumber(1) + void clearCid() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get oidType => $_getI64(1); + @$pb.TagNumber(2) + set oidType($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOidType() => $_has(1); + @$pb.TagNumber(2) + void clearOidType() => clearField(2); + + @$pb.TagNumber(3) + $fixnum.Int64 get status => $_getI64(2); + @$pb.TagNumber(3) + set status($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasStatus() => $_has(2); + @$pb.TagNumber(3) + void clearStatus() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get index => $_getI64(3); + @$pb.TagNumber(4) + set index($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIndex() => $_has(3); + @$pb.TagNumber(4) + void clearIndex() => clearField(4); + + @$pb.TagNumber(5) + $fixnum.Int64 get seconds => $_getI64(4); + @$pb.TagNumber(5) + set seconds($fixnum.Int64 v) { + $_setInt64(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasSeconds() => $_has(4); + @$pb.TagNumber(5) + void clearSeconds() => clearField(5); + + @$pb.TagNumber(6) + $fixnum.Int64 get cidCount => $_getI64(5); + @$pb.TagNumber(6) + set cidCount($fixnum.Int64 v) { + $_setInt64(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCidCount() => $_has(5); + @$pb.TagNumber(6) + void clearCidCount() => clearField(6); + + @$pb.TagNumber(7) + $core.String get key => $_getSZ(6); + @$pb.TagNumber(7) + set key($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasKey() => $_has(6); + @$pb.TagNumber(7) + void clearKey() => clearField(7); + + @$pb.TagNumber(8) + $core.String get title => $_getSZ(7); + @$pb.TagNumber(8) + set title($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasTitle() => $_has(7); + @$pb.TagNumber(8) + void clearTitle() => clearField(8); + + @$pb.TagNumber(9) + $fixnum.Int64 get epid => $_getI64(8); + @$pb.TagNumber(9) + set epid($fixnum.Int64 v) { + $_setInt64(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasEpid() => $_has(8); + @$pb.TagNumber(9) + void clearEpid() => clearField(9); + + @$pb.TagNumber(10) + $core.String get desc => $_getSZ(9); + @$pb.TagNumber(10) + set desc($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasDesc() => $_has(9); + @$pb.TagNumber(10) + void clearDesc() => clearField(10); +} + +class OfficialAccountInfo extends $pb.GeneratedMessage { + factory OfficialAccountInfo({ + UserInfo? author, + $fixnum.Int64? mid, + $core.String? uri, + Relation? relation, + $core.String? descText1, + $core.String? descText2, + }) { + final $result = create(); + if (author != null) { + $result.author = author; + } + if (mid != null) { + $result.mid = mid; + } + if (uri != null) { + $result.uri = uri; + } + if (relation != null) { + $result.relation = relation; + } + if (descText1 != null) { + $result.descText1 = descText1; + } + if (descText2 != null) { + $result.descText2 = descText2; + } + return $result; + } + OfficialAccountInfo._() : super(); + factory OfficialAccountInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OfficialAccountInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OfficialAccountInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'author', + subBuilder: UserInfo.create) + ..aInt64(2, _omitFieldNames ? '' : 'mid') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOM(4, _omitFieldNames ? '' : 'relation', + subBuilder: Relation.create) + ..aOS(5, _omitFieldNames ? '' : 'descText1') + ..aOS(6, _omitFieldNames ? '' : 'descText2') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OfficialAccountInfo clone() => OfficialAccountInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OfficialAccountInfo copyWith(void Function(OfficialAccountInfo) updates) => + super.copyWith((message) => updates(message as OfficialAccountInfo)) + as OfficialAccountInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OfficialAccountInfo create() => OfficialAccountInfo._(); + OfficialAccountInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OfficialAccountInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OfficialAccountInfo? _defaultInstance; + + @$pb.TagNumber(1) + UserInfo get author => $_getN(0); + @$pb.TagNumber(1) + set author(UserInfo v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasAuthor() => $_has(0); + @$pb.TagNumber(1) + void clearAuthor() => clearField(1); + @$pb.TagNumber(1) + UserInfo ensureAuthor() => $_ensure(0); + + @$pb.TagNumber(2) + $fixnum.Int64 get mid => $_getI64(1); + @$pb.TagNumber(2) + set mid($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasMid() => $_has(1); + @$pb.TagNumber(2) + void clearMid() => clearField(2); + + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + @$pb.TagNumber(4) + Relation get relation => $_getN(3); + @$pb.TagNumber(4) + set relation(Relation v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasRelation() => $_has(3); + @$pb.TagNumber(4) + void clearRelation() => clearField(4); + @$pb.TagNumber(4) + Relation ensureRelation() => $_ensure(3); + + @$pb.TagNumber(5) + $core.String get descText1 => $_getSZ(4); + @$pb.TagNumber(5) + set descText1($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDescText1() => $_has(4); + @$pb.TagNumber(5) + void clearDescText1() => clearField(5); + + @$pb.TagNumber(6) + $core.String get descText2 => $_getSZ(5); + @$pb.TagNumber(6) + set descText2($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasDescText2() => $_has(5); + @$pb.TagNumber(6) + void clearDescText2() => clearField(6); +} + +class OfficialAccountsReply extends $pb.GeneratedMessage { + factory OfficialAccountsReply({ + $core.Iterable? items, + $core.bool? hasMore, + $fixnum.Int64? offset, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (offset != null) { + $result.offset = offset; + } + return $result; + } + OfficialAccountsReply._() : super(); + factory OfficialAccountsReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OfficialAccountsReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OfficialAccountsReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: OfficialAccountInfo.create) + ..aOB(2, _omitFieldNames ? '' : 'hasMore') + ..aInt64(3, _omitFieldNames ? '' : 'offset') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OfficialAccountsReply clone() => + OfficialAccountsReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OfficialAccountsReply copyWith( + void Function(OfficialAccountsReply) updates) => + super.copyWith((message) => updates(message as OfficialAccountsReply)) + as OfficialAccountsReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OfficialAccountsReply create() => OfficialAccountsReply._(); + OfficialAccountsReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OfficialAccountsReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OfficialAccountsReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get items => $_getList(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); + + @$pb.TagNumber(3) + $fixnum.Int64 get offset => $_getI64(2); + @$pb.TagNumber(3) + set offset($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOffset() => $_has(2); + @$pb.TagNumber(3) + void clearOffset() => clearField(3); +} + +class OfficialAccountsReq extends $pb.GeneratedMessage { + factory OfficialAccountsReq({ + $fixnum.Int64? campusId, + $core.String? campusName, + $fixnum.Int64? offset, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (offset != null) { + $result.offset = offset; + } + return $result; + } + OfficialAccountsReq._() : super(); + factory OfficialAccountsReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OfficialAccountsReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OfficialAccountsReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..aInt64(3, _omitFieldNames ? '' : 'offset') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OfficialAccountsReq clone() => OfficialAccountsReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OfficialAccountsReq copyWith(void Function(OfficialAccountsReq) updates) => + super.copyWith((message) => updates(message as OfficialAccountsReq)) + as OfficialAccountsReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OfficialAccountsReq create() => OfficialAccountsReq._(); + OfficialAccountsReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OfficialAccountsReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OfficialAccountsReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(3) + $fixnum.Int64 get offset => $_getI64(2); + @$pb.TagNumber(3) + set offset($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOffset() => $_has(2); + @$pb.TagNumber(3) + void clearOffset() => clearField(3); +} + +class OfficialDynamicsReply extends $pb.GeneratedMessage { + factory OfficialDynamicsReply({ + $core.Iterable? items, + $fixnum.Int64? offset, + $core.bool? hasMore, + $1.PlayerArgs? playerArgs, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (offset != null) { + $result.offset = offset; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (playerArgs != null) { + $result.playerArgs = playerArgs; + } + return $result; + } + OfficialDynamicsReply._() : super(); + factory OfficialDynamicsReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OfficialDynamicsReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OfficialDynamicsReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: OfficialItem.create) + ..aInt64(2, _omitFieldNames ? '' : 'offset') + ..aOB(3, _omitFieldNames ? '' : 'hasMore') + ..aOM<$1.PlayerArgs>(4, _omitFieldNames ? '' : 'playerArgs', + subBuilder: $1.PlayerArgs.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') + OfficialDynamicsReply clone() => + OfficialDynamicsReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OfficialDynamicsReply copyWith( + void Function(OfficialDynamicsReply) updates) => + super.copyWith((message) => updates(message as OfficialDynamicsReply)) + as OfficialDynamicsReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OfficialDynamicsReply create() => OfficialDynamicsReply._(); + OfficialDynamicsReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OfficialDynamicsReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OfficialDynamicsReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get items => $_getList(0); + + @$pb.TagNumber(2) + $fixnum.Int64 get offset => $_getI64(1); + @$pb.TagNumber(2) + set offset($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + @$pb.TagNumber(3) + $core.bool get hasMore => $_getBF(2); + @$pb.TagNumber(3) + set hasMore($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHasMore() => $_has(2); + @$pb.TagNumber(3) + void clearHasMore() => clearField(3); + + @$pb.TagNumber(4) + $1.PlayerArgs get playerArgs => $_getN(3); + @$pb.TagNumber(4) + set playerArgs($1.PlayerArgs v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasPlayerArgs() => $_has(3); + @$pb.TagNumber(4) + void clearPlayerArgs() => clearField(4); + @$pb.TagNumber(4) + $1.PlayerArgs ensurePlayerArgs() => $_ensure(3); +} + +class OfficialDynamicsReq extends $pb.GeneratedMessage { + factory OfficialDynamicsReq({ + $fixnum.Int64? campusId, + $core.String? campusName, + $fixnum.Int64? offset, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (offset != null) { + $result.offset = offset; + } + return $result; + } + OfficialDynamicsReq._() : super(); + factory OfficialDynamicsReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OfficialDynamicsReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OfficialDynamicsReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..aInt64(3, _omitFieldNames ? '' : 'offset') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OfficialDynamicsReq clone() => OfficialDynamicsReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OfficialDynamicsReq copyWith(void Function(OfficialDynamicsReq) updates) => + super.copyWith((message) => updates(message as OfficialDynamicsReq)) + as OfficialDynamicsReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OfficialDynamicsReq create() => OfficialDynamicsReq._(); + OfficialDynamicsReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OfficialDynamicsReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OfficialDynamicsReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(3) + $fixnum.Int64 get offset => $_getI64(2); + @$pb.TagNumber(3) + set offset($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOffset() => $_has(2); + @$pb.TagNumber(3) + void clearOffset() => clearField(3); +} + +enum OfficialItem_RcmdItem { rcmdArchive, rcmdDynamic, notSet } + +class OfficialItem extends $pb.GeneratedMessage { + factory OfficialItem({ + $core.int? type, + OfficialRcmdArchive? rcmdArchive, + OfficialRcmdDynamic? rcmdDynamic, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (rcmdArchive != null) { + $result.rcmdArchive = rcmdArchive; + } + if (rcmdDynamic != null) { + $result.rcmdDynamic = rcmdDynamic; + } + return $result; + } + OfficialItem._() : super(); + factory OfficialItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OfficialItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, OfficialItem_RcmdItem> + _OfficialItem_RcmdItemByTag = { + 2: OfficialItem_RcmdItem.rcmdArchive, + 3: OfficialItem_RcmdItem.rcmdDynamic, + 0: OfficialItem_RcmdItem.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OfficialItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [2, 3]) + ..a<$core.int>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.O3) + ..aOM(2, _omitFieldNames ? '' : 'rcmdArchive', + subBuilder: OfficialRcmdArchive.create) + ..aOM(3, _omitFieldNames ? '' : 'rcmdDynamic', + subBuilder: OfficialRcmdDynamic.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') + OfficialItem clone() => OfficialItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OfficialItem copyWith(void Function(OfficialItem) updates) => + super.copyWith((message) => updates(message as OfficialItem)) + as OfficialItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OfficialItem create() => OfficialItem._(); + OfficialItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OfficialItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OfficialItem? _defaultInstance; + + OfficialItem_RcmdItem whichRcmdItem() => + _OfficialItem_RcmdItemByTag[$_whichOneof(0)]!; + void clearRcmdItem() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $core.int get type => $_getIZ(0); + @$pb.TagNumber(1) + set type($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + @$pb.TagNumber(2) + OfficialRcmdArchive get rcmdArchive => $_getN(1); + @$pb.TagNumber(2) + set rcmdArchive(OfficialRcmdArchive v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasRcmdArchive() => $_has(1); + @$pb.TagNumber(2) + void clearRcmdArchive() => clearField(2); + @$pb.TagNumber(2) + OfficialRcmdArchive ensureRcmdArchive() => $_ensure(1); + + @$pb.TagNumber(3) + OfficialRcmdDynamic get rcmdDynamic => $_getN(2); + @$pb.TagNumber(3) + set rcmdDynamic(OfficialRcmdDynamic v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasRcmdDynamic() => $_has(2); + @$pb.TagNumber(3) + void clearRcmdDynamic() => clearField(3); + @$pb.TagNumber(3) + OfficialRcmdDynamic ensureRcmdDynamic() => $_ensure(2); +} + +class OfficialRcmdArchive extends $pb.GeneratedMessage { + factory OfficialRcmdArchive({ + $core.String? title, + $core.String? cover, + $core.String? coverRightText, + $core.int? descIcon1, + $core.String? descText1, + $core.int? descIcon2, + $core.String? descText2, + $core.String? reason, + $core.bool? showThreePoint, + $core.String? uri, + $fixnum.Int64? aid, + $fixnum.Int64? mid, + $core.String? name, + $fixnum.Int64? dynamicId, + $fixnum.Int64? cid, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (coverRightText != null) { + $result.coverRightText = coverRightText; + } + if (descIcon1 != null) { + $result.descIcon1 = descIcon1; + } + if (descText1 != null) { + $result.descText1 = descText1; + } + if (descIcon2 != null) { + $result.descIcon2 = descIcon2; + } + if (descText2 != null) { + $result.descText2 = descText2; + } + if (reason != null) { + $result.reason = reason; + } + if (showThreePoint != null) { + $result.showThreePoint = showThreePoint; + } + if (uri != null) { + $result.uri = uri; + } + if (aid != null) { + $result.aid = aid; + } + if (mid != null) { + $result.mid = mid; + } + if (name != null) { + $result.name = name; + } + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (cid != null) { + $result.cid = cid; + } + return $result; + } + OfficialRcmdArchive._() : super(); + factory OfficialRcmdArchive.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OfficialRcmdArchive.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OfficialRcmdArchive', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..aOS(3, _omitFieldNames ? '' : 'coverRightText') + ..a<$core.int>(4, _omitFieldNames ? '' : 'descIcon1', $pb.PbFieldType.O3) + ..aOS(5, _omitFieldNames ? '' : 'descText1') + ..a<$core.int>(6, _omitFieldNames ? '' : 'descIcon2', $pb.PbFieldType.O3) + ..aOS(7, _omitFieldNames ? '' : 'descText2') + ..aOS(8, _omitFieldNames ? '' : 'reason') + ..aOB(9, _omitFieldNames ? '' : 'showThreePoint') + ..aOS(10, _omitFieldNames ? '' : 'uri') + ..aInt64(11, _omitFieldNames ? '' : 'aid') + ..aInt64(12, _omitFieldNames ? '' : 'mid') + ..aOS(13, _omitFieldNames ? '' : 'name') + ..aInt64(14, _omitFieldNames ? '' : 'dynamicId') + ..aInt64(15, _omitFieldNames ? '' : 'cid') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OfficialRcmdArchive clone() => OfficialRcmdArchive()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OfficialRcmdArchive copyWith(void Function(OfficialRcmdArchive) updates) => + super.copyWith((message) => updates(message as OfficialRcmdArchive)) + as OfficialRcmdArchive; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OfficialRcmdArchive create() => OfficialRcmdArchive._(); + OfficialRcmdArchive createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OfficialRcmdArchive getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OfficialRcmdArchive? _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 cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + @$pb.TagNumber(3) + $core.String get coverRightText => $_getSZ(2); + @$pb.TagNumber(3) + set coverRightText($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCoverRightText() => $_has(2); + @$pb.TagNumber(3) + void clearCoverRightText() => clearField(3); + + @$pb.TagNumber(4) + $core.int get descIcon1 => $_getIZ(3); + @$pb.TagNumber(4) + set descIcon1($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDescIcon1() => $_has(3); + @$pb.TagNumber(4) + void clearDescIcon1() => clearField(4); + + @$pb.TagNumber(5) + $core.String get descText1 => $_getSZ(4); + @$pb.TagNumber(5) + set descText1($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDescText1() => $_has(4); + @$pb.TagNumber(5) + void clearDescText1() => clearField(5); + + @$pb.TagNumber(6) + $core.int get descIcon2 => $_getIZ(5); + @$pb.TagNumber(6) + set descIcon2($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasDescIcon2() => $_has(5); + @$pb.TagNumber(6) + void clearDescIcon2() => clearField(6); + + @$pb.TagNumber(7) + $core.String get descText2 => $_getSZ(6); + @$pb.TagNumber(7) + set descText2($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasDescText2() => $_has(6); + @$pb.TagNumber(7) + void clearDescText2() => clearField(7); + + @$pb.TagNumber(8) + $core.String get reason => $_getSZ(7); + @$pb.TagNumber(8) + set reason($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasReason() => $_has(7); + @$pb.TagNumber(8) + void clearReason() => clearField(8); + + @$pb.TagNumber(9) + $core.bool get showThreePoint => $_getBF(8); + @$pb.TagNumber(9) + set showThreePoint($core.bool v) { + $_setBool(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasShowThreePoint() => $_has(8); + @$pb.TagNumber(9) + void clearShowThreePoint() => clearField(9); + + @$pb.TagNumber(10) + $core.String get uri => $_getSZ(9); + @$pb.TagNumber(10) + set uri($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasUri() => $_has(9); + @$pb.TagNumber(10) + void clearUri() => clearField(10); + + @$pb.TagNumber(11) + $fixnum.Int64 get aid => $_getI64(10); + @$pb.TagNumber(11) + set aid($fixnum.Int64 v) { + $_setInt64(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasAid() => $_has(10); + @$pb.TagNumber(11) + void clearAid() => clearField(11); + + @$pb.TagNumber(12) + $fixnum.Int64 get mid => $_getI64(11); + @$pb.TagNumber(12) + set mid($fixnum.Int64 v) { + $_setInt64(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasMid() => $_has(11); + @$pb.TagNumber(12) + void clearMid() => clearField(12); + + @$pb.TagNumber(13) + $core.String get name => $_getSZ(12); + @$pb.TagNumber(13) + set name($core.String v) { + $_setString(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasName() => $_has(12); + @$pb.TagNumber(13) + void clearName() => clearField(13); + + @$pb.TagNumber(14) + $fixnum.Int64 get dynamicId => $_getI64(13); + @$pb.TagNumber(14) + set dynamicId($fixnum.Int64 v) { + $_setInt64(13, v); + } + + @$pb.TagNumber(14) + $core.bool hasDynamicId() => $_has(13); + @$pb.TagNumber(14) + void clearDynamicId() => clearField(14); + + @$pb.TagNumber(15) + $fixnum.Int64 get cid => $_getI64(14); + @$pb.TagNumber(15) + set cid($fixnum.Int64 v) { + $_setInt64(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasCid() => $_has(14); + @$pb.TagNumber(15) + void clearCid() => clearField(15); +} + +class OfficialRcmdDynamic extends $pb.GeneratedMessage { + factory OfficialRcmdDynamic({ + $core.String? title, + $core.String? cover, + $core.String? coverRightTopText, + $core.int? descIcon1, + $core.String? descText1, + $core.int? descIcon2, + $core.String? descText2, + $core.String? reason, + $core.String? uri, + $fixnum.Int64? dynamicId, + $fixnum.Int64? mid, + $core.String? userName, + $fixnum.Int64? rid, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (coverRightTopText != null) { + $result.coverRightTopText = coverRightTopText; + } + if (descIcon1 != null) { + $result.descIcon1 = descIcon1; + } + if (descText1 != null) { + $result.descText1 = descText1; + } + if (descIcon2 != null) { + $result.descIcon2 = descIcon2; + } + if (descText2 != null) { + $result.descText2 = descText2; + } + if (reason != null) { + $result.reason = reason; + } + if (uri != null) { + $result.uri = uri; + } + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (mid != null) { + $result.mid = mid; + } + if (userName != null) { + $result.userName = userName; + } + if (rid != null) { + $result.rid = rid; + } + return $result; + } + OfficialRcmdDynamic._() : super(); + factory OfficialRcmdDynamic.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OfficialRcmdDynamic.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OfficialRcmdDynamic', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..aOS(3, _omitFieldNames ? '' : 'coverRightTopText') + ..a<$core.int>(4, _omitFieldNames ? '' : 'descIcon1', $pb.PbFieldType.O3) + ..aOS(5, _omitFieldNames ? '' : 'descText1') + ..a<$core.int>(6, _omitFieldNames ? '' : 'descIcon2', $pb.PbFieldType.O3) + ..aOS(7, _omitFieldNames ? '' : 'descText2') + ..aOS(8, _omitFieldNames ? '' : 'reason') + ..aOS(9, _omitFieldNames ? '' : 'uri') + ..aInt64(10, _omitFieldNames ? '' : 'dynamicId') + ..aInt64(11, _omitFieldNames ? '' : 'mid') + ..aOS(12, _omitFieldNames ? '' : 'userName') + ..aInt64(13, _omitFieldNames ? '' : 'rid') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OfficialRcmdDynamic clone() => OfficialRcmdDynamic()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OfficialRcmdDynamic copyWith(void Function(OfficialRcmdDynamic) updates) => + super.copyWith((message) => updates(message as OfficialRcmdDynamic)) + as OfficialRcmdDynamic; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OfficialRcmdDynamic create() => OfficialRcmdDynamic._(); + OfficialRcmdDynamic createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OfficialRcmdDynamic getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OfficialRcmdDynamic? _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 cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + @$pb.TagNumber(3) + $core.String get coverRightTopText => $_getSZ(2); + @$pb.TagNumber(3) + set coverRightTopText($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCoverRightTopText() => $_has(2); + @$pb.TagNumber(3) + void clearCoverRightTopText() => clearField(3); + + @$pb.TagNumber(4) + $core.int get descIcon1 => $_getIZ(3); + @$pb.TagNumber(4) + set descIcon1($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDescIcon1() => $_has(3); + @$pb.TagNumber(4) + void clearDescIcon1() => clearField(4); + + @$pb.TagNumber(5) + $core.String get descText1 => $_getSZ(4); + @$pb.TagNumber(5) + set descText1($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDescText1() => $_has(4); + @$pb.TagNumber(5) + void clearDescText1() => clearField(5); + + @$pb.TagNumber(6) + $core.int get descIcon2 => $_getIZ(5); + @$pb.TagNumber(6) + set descIcon2($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasDescIcon2() => $_has(5); + @$pb.TagNumber(6) + void clearDescIcon2() => clearField(6); + + @$pb.TagNumber(7) + $core.String get descText2 => $_getSZ(6); + @$pb.TagNumber(7) + set descText2($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasDescText2() => $_has(6); + @$pb.TagNumber(7) + void clearDescText2() => clearField(7); + + @$pb.TagNumber(8) + $core.String get reason => $_getSZ(7); + @$pb.TagNumber(8) + set reason($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasReason() => $_has(7); + @$pb.TagNumber(8) + void clearReason() => clearField(8); + + @$pb.TagNumber(9) + $core.String get uri => $_getSZ(8); + @$pb.TagNumber(9) + set uri($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasUri() => $_has(8); + @$pb.TagNumber(9) + void clearUri() => clearField(9); + + @$pb.TagNumber(10) + $fixnum.Int64 get dynamicId => $_getI64(9); + @$pb.TagNumber(10) + set dynamicId($fixnum.Int64 v) { + $_setInt64(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasDynamicId() => $_has(9); + @$pb.TagNumber(10) + void clearDynamicId() => clearField(10); + + @$pb.TagNumber(11) + $fixnum.Int64 get mid => $_getI64(10); + @$pb.TagNumber(11) + set mid($fixnum.Int64 v) { + $_setInt64(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasMid() => $_has(10); + @$pb.TagNumber(11) + void clearMid() => clearField(11); + + @$pb.TagNumber(12) + $core.String get userName => $_getSZ(11); + @$pb.TagNumber(12) + set userName($core.String v) { + $_setString(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasUserName() => $_has(11); + @$pb.TagNumber(12) + void clearUserName() => clearField(12); + + @$pb.TagNumber(13) + $fixnum.Int64 get rid => $_getI64(12); + @$pb.TagNumber(13) + set rid($fixnum.Int64 v) { + $_setInt64(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasRid() => $_has(12); + @$pb.TagNumber(13) + void clearRid() => clearField(13); +} + +/// 认证信息 +class OfficialVerify extends $pb.GeneratedMessage { + factory OfficialVerify({ + $core.int? type, + $core.String? desc, + $core.int? isAtten, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (desc != null) { + $result.desc = desc; + } + if (isAtten != null) { + $result.isAtten = isAtten; + } + return $result; + } + OfficialVerify._() : super(); + factory OfficialVerify.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OfficialVerify.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OfficialVerify', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'desc') + ..a<$core.int>(3, _omitFieldNames ? '' : 'isAtten', $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') + OfficialVerify clone() => OfficialVerify()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OfficialVerify copyWith(void Function(OfficialVerify) updates) => + super.copyWith((message) => updates(message as OfficialVerify)) + as OfficialVerify; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OfficialVerify create() => OfficialVerify._(); + OfficialVerify createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OfficialVerify getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OfficialVerify? _defaultInstance; + + /// 127:未认证 0:个人 1:机构 + @$pb.TagNumber(1) + $core.int get type => $_getIZ(0); + @$pb.TagNumber(1) + set type($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + /// 认证描述 + @$pb.TagNumber(2) + $core.String get desc => $_getSZ(1); + @$pb.TagNumber(2) + set desc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDesc() => $_has(1); + @$pb.TagNumber(2) + void clearDesc() => clearField(2); + + /// 是否关注 + @$pb.TagNumber(3) + $core.int get isAtten => $_getIZ(2); + @$pb.TagNumber(3) + set isAtten($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIsAtten() => $_has(2); + @$pb.TagNumber(3) + void clearIsAtten() => clearField(3); +} + +class OneLineText extends $pb.GeneratedMessage { + factory OneLineText({ + $core.Iterable? texts, + }) { + final $result = create(); + if (texts != null) { + $result.texts.addAll(texts); + } + return $result; + } + OneLineText._() : super(); + factory OneLineText.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OneLineText.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OneLineText', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc( + 1, _omitFieldNames ? '' : 'texts', $pb.PbFieldType.PM, + subBuilder: TextWithPriority.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') + OneLineText clone() => OneLineText()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OneLineText copyWith(void Function(OneLineText) updates) => + super.copyWith((message) => updates(message as OneLineText)) + as OneLineText; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OneLineText create() => OneLineText._(); + OneLineText createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OneLineText getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OneLineText? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get texts => $_getList(0); +} + +class OnlyFans extends $pb.GeneratedMessage { + factory OnlyFans({ + $core.bool? isOnlyFans, + IconBadge? badge, + }) { + final $result = create(); + if (isOnlyFans != null) { + $result.isOnlyFans = isOnlyFans; + } + if (badge != null) { + $result.badge = badge; + } + return $result; + } + OnlyFans._() : super(); + factory OnlyFans.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OnlyFans.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OnlyFans', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'isOnlyFans') + ..aOM(2, _omitFieldNames ? '' : 'badge', + subBuilder: IconBadge.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') + OnlyFans clone() => OnlyFans()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OnlyFans copyWith(void Function(OnlyFans) updates) => + super.copyWith((message) => updates(message as OnlyFans)) as OnlyFans; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OnlyFans create() => OnlyFans._(); + OnlyFans createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OnlyFans getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OnlyFans? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get isOnlyFans => $_getBF(0); + @$pb.TagNumber(1) + set isOnlyFans($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasIsOnlyFans() => $_has(0); + @$pb.TagNumber(1) + void clearIsOnlyFans() => clearField(1); + + @$pb.TagNumber(2) + IconBadge get badge => $_getN(1); + @$pb.TagNumber(2) + set badge(IconBadge v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasBadge() => $_has(1); + @$pb.TagNumber(2) + void clearBadge() => clearField(2); + @$pb.TagNumber(2) + IconBadge ensureBadge() => $_ensure(1); +} + +class OnlyFansProperty extends $pb.GeneratedMessage { + factory OnlyFansProperty({ + $core.bool? hasPrivilege, + $core.bool? isOnlyFans, + }) { + final $result = create(); + if (hasPrivilege != null) { + $result.hasPrivilege = hasPrivilege; + } + if (isOnlyFans != null) { + $result.isOnlyFans = isOnlyFans; + } + return $result; + } + OnlyFansProperty._() : super(); + factory OnlyFansProperty.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OnlyFansProperty.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OnlyFansProperty', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'hasPrivilege') + ..aOB(2, _omitFieldNames ? '' : 'isOnlyFans') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OnlyFansProperty clone() => OnlyFansProperty()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OnlyFansProperty copyWith(void Function(OnlyFansProperty) updates) => + super.copyWith((message) => updates(message as OnlyFansProperty)) + as OnlyFansProperty; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OnlyFansProperty create() => OnlyFansProperty._(); + OnlyFansProperty createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OnlyFansProperty getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OnlyFansProperty? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get hasPrivilege => $_getBF(0); + @$pb.TagNumber(1) + set hasPrivilege($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHasPrivilege() => $_has(0); + @$pb.TagNumber(1) + void clearHasPrivilege() => clearField(1); + + @$pb.TagNumber(2) + $core.bool get isOnlyFans => $_getBF(1); + @$pb.TagNumber(2) + set isOnlyFans($core.bool v) { + $_setBool(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasIsOnlyFans() => $_has(1); + @$pb.TagNumber(2) + void clearIsOnlyFans() => clearField(2); +} + +class OpusCollection extends $pb.GeneratedMessage { + factory OpusCollection({ + $fixnum.Int64? collectionId, + OneLineText? title, + $core.String? detailUri, + $core.String? intro, + $core.Iterable? allItems, + }) { + final $result = create(); + if (collectionId != null) { + $result.collectionId = collectionId; + } + if (title != null) { + $result.title = title; + } + if (detailUri != null) { + $result.detailUri = detailUri; + } + if (intro != null) { + $result.intro = intro; + } + if (allItems != null) { + $result.allItems.addAll(allItems); + } + return $result; + } + OpusCollection._() : super(); + factory OpusCollection.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OpusCollection.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OpusCollection', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'collectionId') + ..aOM(2, _omitFieldNames ? '' : 'title', + subBuilder: OneLineText.create) + ..aOS(3, _omitFieldNames ? '' : 'detailUri') + ..aOS(4, _omitFieldNames ? '' : 'intro') + ..pc( + 5, _omitFieldNames ? '' : 'allItems', $pb.PbFieldType.PM, + subBuilder: OpusCollectionItem.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') + OpusCollection clone() => OpusCollection()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OpusCollection copyWith(void Function(OpusCollection) updates) => + super.copyWith((message) => updates(message as OpusCollection)) + as OpusCollection; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OpusCollection create() => OpusCollection._(); + OpusCollection createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OpusCollection getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OpusCollection? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get collectionId => $_getI64(0); + @$pb.TagNumber(1) + set collectionId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCollectionId() => $_has(0); + @$pb.TagNumber(1) + void clearCollectionId() => clearField(1); + + @$pb.TagNumber(2) + OneLineText get title => $_getN(1); + @$pb.TagNumber(2) + set title(OneLineText v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasTitle() => $_has(1); + @$pb.TagNumber(2) + void clearTitle() => clearField(2); + @$pb.TagNumber(2) + OneLineText ensureTitle() => $_ensure(1); + + @$pb.TagNumber(3) + $core.String get detailUri => $_getSZ(2); + @$pb.TagNumber(3) + set detailUri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDetailUri() => $_has(2); + @$pb.TagNumber(3) + void clearDetailUri() => clearField(3); + + @$pb.TagNumber(4) + $core.String get intro => $_getSZ(3); + @$pb.TagNumber(4) + set intro($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIntro() => $_has(3); + @$pb.TagNumber(4) + void clearIntro() => clearField(4); + + @$pb.TagNumber(5) + $core.List get allItems => $_getList(4); +} + +class OpusCollectionItem extends $pb.GeneratedMessage { + factory OpusCollectionItem({ + $fixnum.Int64? opusId, + $core.String? title, + $core.String? pubTime, + $core.String? uri, + $core.bool? isSelectedHighlight, + }) { + final $result = create(); + if (opusId != null) { + $result.opusId = opusId; + } + if (title != null) { + $result.title = title; + } + if (pubTime != null) { + $result.pubTime = pubTime; + } + if (uri != null) { + $result.uri = uri; + } + if (isSelectedHighlight != null) { + $result.isSelectedHighlight = isSelectedHighlight; + } + return $result; + } + OpusCollectionItem._() : super(); + factory OpusCollectionItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory OpusCollectionItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'OpusCollectionItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'opusId') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'pubTime') + ..aOS(4, _omitFieldNames ? '' : 'uri') + ..aOB(5, _omitFieldNames ? '' : 'isSelectedHighlight') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OpusCollectionItem clone() => OpusCollectionItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OpusCollectionItem copyWith(void Function(OpusCollectionItem) updates) => + super.copyWith((message) => updates(message as OpusCollectionItem)) + as OpusCollectionItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OpusCollectionItem create() => OpusCollectionItem._(); + OpusCollectionItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OpusCollectionItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static OpusCollectionItem? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get opusId => $_getI64(0); + @$pb.TagNumber(1) + set opusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasOpusId() => $_has(0); + @$pb.TagNumber(1) + void clearOpusId() => 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 pubTime => $_getSZ(2); + @$pb.TagNumber(3) + set pubTime($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasPubTime() => $_has(2); + @$pb.TagNumber(3) + void clearPubTime() => clearField(3); + + @$pb.TagNumber(4) + $core.String get uri => $_getSZ(3); + @$pb.TagNumber(4) + set uri($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasUri() => $_has(3); + @$pb.TagNumber(4) + void clearUri() => clearField(4); + + @$pb.TagNumber(5) + $core.bool get isSelectedHighlight => $_getBF(4); + @$pb.TagNumber(5) + set isSelectedHighlight($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasIsSelectedHighlight() => $_has(4); + @$pb.TagNumber(5) + void clearIsSelectedHighlight() => clearField(5); +} + +class Paragraph_ListFormat extends $pb.GeneratedMessage { + factory Paragraph_ListFormat({ + $core.int? level, + $core.int? order, + $core.String? theme, + }) { + final $result = create(); + if (level != null) { + $result.level = level; + } + if (order != null) { + $result.order = order; + } + if (theme != null) { + $result.theme = theme; + } + return $result; + } + Paragraph_ListFormat._() : super(); + factory Paragraph_ListFormat.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Paragraph_ListFormat.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Paragraph.ListFormat', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'level', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'order', $pb.PbFieldType.O3) + ..aOS(3, _omitFieldNames ? '' : 'theme') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Paragraph_ListFormat clone() => + Paragraph_ListFormat()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Paragraph_ListFormat copyWith(void Function(Paragraph_ListFormat) updates) => + super.copyWith((message) => updates(message as Paragraph_ListFormat)) + as Paragraph_ListFormat; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Paragraph_ListFormat create() => Paragraph_ListFormat._(); + Paragraph_ListFormat createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Paragraph_ListFormat getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static Paragraph_ListFormat? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get level => $_getIZ(0); + @$pb.TagNumber(1) + set level($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasLevel() => $_has(0); + @$pb.TagNumber(1) + void clearLevel() => clearField(1); + + @$pb.TagNumber(2) + $core.int get order => $_getIZ(1); + @$pb.TagNumber(2) + set order($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOrder() => $_has(1); + @$pb.TagNumber(2) + void clearOrder() => clearField(2); + + @$pb.TagNumber(3) + $core.String get theme => $_getSZ(2); + @$pb.TagNumber(3) + set theme($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasTheme() => $_has(2); + @$pb.TagNumber(3) + void clearTheme() => clearField(3); +} + +class Paragraph_ParagraphFormat extends $pb.GeneratedMessage { + factory Paragraph_ParagraphFormat({ + Paragraph_ParagraphAlign? align, + Paragraph_ListFormat? listFormat, + }) { + final $result = create(); + if (align != null) { + $result.align = align; + } + if (listFormat != null) { + $result.listFormat = listFormat; + } + return $result; + } + Paragraph_ParagraphFormat._() : super(); + factory Paragraph_ParagraphFormat.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Paragraph_ParagraphFormat.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Paragraph.ParagraphFormat', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'align', $pb.PbFieldType.OE, + defaultOrMaker: Paragraph_ParagraphAlign.LEFT, + valueOf: Paragraph_ParagraphAlign.valueOf, + enumValues: Paragraph_ParagraphAlign.values) + ..aOM(2, _omitFieldNames ? '' : 'listFormat', + subBuilder: Paragraph_ListFormat.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') + Paragraph_ParagraphFormat clone() => + Paragraph_ParagraphFormat()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Paragraph_ParagraphFormat copyWith( + void Function(Paragraph_ParagraphFormat) updates) => + super.copyWith((message) => updates(message as Paragraph_ParagraphFormat)) + as Paragraph_ParagraphFormat; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Paragraph_ParagraphFormat create() => Paragraph_ParagraphFormat._(); + Paragraph_ParagraphFormat createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Paragraph_ParagraphFormat getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static Paragraph_ParagraphFormat? _defaultInstance; + + @$pb.TagNumber(1) + Paragraph_ParagraphAlign get align => $_getN(0); + @$pb.TagNumber(1) + set align(Paragraph_ParagraphAlign v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasAlign() => $_has(0); + @$pb.TagNumber(1) + void clearAlign() => clearField(1); + + @$pb.TagNumber(2) + Paragraph_ListFormat get listFormat => $_getN(1); + @$pb.TagNumber(2) + set listFormat(Paragraph_ListFormat v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasListFormat() => $_has(1); + @$pb.TagNumber(2) + void clearListFormat() => clearField(2); + @$pb.TagNumber(2) + Paragraph_ListFormat ensureListFormat() => $_ensure(1); +} + +enum Paragraph_Content { text, pic, line, linkCard, notSet } + +class Paragraph extends $pb.GeneratedMessage { + factory Paragraph({ + Paragraph_ParagraphType? paraType, + Paragraph_ParagraphFormat? paraFormat, + TextParagraph? text, + PicParagraph? pic, + LineParagraph? line, + CardParagraph? linkCard, + }) { + final $result = create(); + if (paraType != null) { + $result.paraType = paraType; + } + if (paraFormat != null) { + $result.paraFormat = paraFormat; + } + if (text != null) { + $result.text = text; + } + if (pic != null) { + $result.pic = pic; + } + if (line != null) { + $result.line = line; + } + if (linkCard != null) { + $result.linkCard = linkCard; + } + return $result; + } + Paragraph._() : super(); + factory Paragraph.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Paragraph.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, Paragraph_Content> _Paragraph_ContentByTag = + { + 3: Paragraph_Content.text, + 4: Paragraph_Content.pic, + 5: Paragraph_Content.line, + 6: Paragraph_Content.linkCard, + 0: Paragraph_Content.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Paragraph', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [3, 4, 5, 6]) + ..e( + 1, _omitFieldNames ? '' : 'paraType', $pb.PbFieldType.OE, + defaultOrMaker: Paragraph_ParagraphType.INVALID, + valueOf: Paragraph_ParagraphType.valueOf, + enumValues: Paragraph_ParagraphType.values) + ..aOM(2, _omitFieldNames ? '' : 'paraFormat', + subBuilder: Paragraph_ParagraphFormat.create) + ..aOM(3, _omitFieldNames ? '' : 'text', + subBuilder: TextParagraph.create) + ..aOM(4, _omitFieldNames ? '' : 'pic', + subBuilder: PicParagraph.create) + ..aOM(5, _omitFieldNames ? '' : 'line', + subBuilder: LineParagraph.create) + ..aOM(6, _omitFieldNames ? '' : 'linkCard', + subBuilder: CardParagraph.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') + Paragraph clone() => Paragraph()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Paragraph copyWith(void Function(Paragraph) updates) => + super.copyWith((message) => updates(message as Paragraph)) as Paragraph; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Paragraph create() => Paragraph._(); + Paragraph createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Paragraph getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Paragraph? _defaultInstance; + + Paragraph_Content whichContent() => _Paragraph_ContentByTag[$_whichOneof(0)]!; + void clearContent() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + Paragraph_ParagraphType get paraType => $_getN(0); + @$pb.TagNumber(1) + set paraType(Paragraph_ParagraphType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasParaType() => $_has(0); + @$pb.TagNumber(1) + void clearParaType() => clearField(1); + + @$pb.TagNumber(2) + Paragraph_ParagraphFormat get paraFormat => $_getN(1); + @$pb.TagNumber(2) + set paraFormat(Paragraph_ParagraphFormat v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasParaFormat() => $_has(1); + @$pb.TagNumber(2) + void clearParaFormat() => clearField(2); + @$pb.TagNumber(2) + Paragraph_ParagraphFormat ensureParaFormat() => $_ensure(1); + + @$pb.TagNumber(3) + TextParagraph get text => $_getN(2); + @$pb.TagNumber(3) + set text(TextParagraph v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasText() => $_has(2); + @$pb.TagNumber(3) + void clearText() => clearField(3); + @$pb.TagNumber(3) + TextParagraph ensureText() => $_ensure(2); + + @$pb.TagNumber(4) + PicParagraph get pic => $_getN(3); + @$pb.TagNumber(4) + set pic(PicParagraph v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasPic() => $_has(3); + @$pb.TagNumber(4) + void clearPic() => clearField(4); + @$pb.TagNumber(4) + PicParagraph ensurePic() => $_ensure(3); + + @$pb.TagNumber(5) + LineParagraph get line => $_getN(4); + @$pb.TagNumber(5) + set line(LineParagraph v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasLine() => $_has(4); + @$pb.TagNumber(5) + void clearLine() => clearField(5); + @$pb.TagNumber(5) + LineParagraph ensureLine() => $_ensure(4); + + @$pb.TagNumber(6) + CardParagraph get linkCard => $_getN(5); + @$pb.TagNumber(6) + set linkCard(CardParagraph v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasLinkCard() => $_has(5); + @$pb.TagNumber(6) + void clearLinkCard() => clearField(6); + @$pb.TagNumber(6) + CardParagraph ensureLinkCard() => $_ensure(5); +} + +class ParaSpacing extends $pb.GeneratedMessage { + factory ParaSpacing({ + $core.double? spacingBeforePara, + $core.double? spacingAfterPara, + $core.double? lineSpacing, + }) { + final $result = create(); + if (spacingBeforePara != null) { + $result.spacingBeforePara = spacingBeforePara; + } + if (spacingAfterPara != null) { + $result.spacingAfterPara = spacingAfterPara; + } + if (lineSpacing != null) { + $result.lineSpacing = lineSpacing; + } + return $result; + } + ParaSpacing._() : super(); + factory ParaSpacing.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ParaSpacing.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ParaSpacing', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.double>( + 1, _omitFieldNames ? '' : 'spacingBeforePara', $pb.PbFieldType.OD) + ..a<$core.double>( + 2, _omitFieldNames ? '' : 'spacingAfterPara', $pb.PbFieldType.OD) + ..a<$core.double>( + 3, _omitFieldNames ? '' : 'lineSpacing', $pb.PbFieldType.OD) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ParaSpacing clone() => ParaSpacing()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ParaSpacing copyWith(void Function(ParaSpacing) updates) => + super.copyWith((message) => updates(message as ParaSpacing)) + as ParaSpacing; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ParaSpacing create() => ParaSpacing._(); + ParaSpacing createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ParaSpacing getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ParaSpacing? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get spacingBeforePara => $_getN(0); + @$pb.TagNumber(1) + set spacingBeforePara($core.double v) { + $_setDouble(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasSpacingBeforePara() => $_has(0); + @$pb.TagNumber(1) + void clearSpacingBeforePara() => clearField(1); + + @$pb.TagNumber(2) + $core.double get spacingAfterPara => $_getN(1); + @$pb.TagNumber(2) + set spacingAfterPara($core.double v) { + $_setDouble(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasSpacingAfterPara() => $_has(1); + @$pb.TagNumber(2) + void clearSpacingAfterPara() => clearField(2); + + @$pb.TagNumber(3) + $core.double get lineSpacing => $_getN(2); + @$pb.TagNumber(3) + set lineSpacing($core.double v) { + $_setDouble(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasLineSpacing() => $_has(2); + @$pb.TagNumber(3) + void clearLineSpacing() => clearField(3); +} + +/// PGC单季信息 +class PGCSeason extends $pb.GeneratedMessage { + factory PGCSeason({ + $core.int? isFinish, + $core.String? title, + $core.int? type, + }) { + final $result = create(); + if (isFinish != null) { + $result.isFinish = isFinish; + } + if (title != null) { + $result.title = title; + } + if (type != null) { + $result.type = type; + } + return $result; + } + PGCSeason._() : super(); + factory PGCSeason.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PGCSeason.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PGCSeason', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'isFinish', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'title') + ..a<$core.int>(3, _omitFieldNames ? '' : 'type', $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') + PGCSeason clone() => PGCSeason()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PGCSeason copyWith(void Function(PGCSeason) updates) => + super.copyWith((message) => updates(message as PGCSeason)) as PGCSeason; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PGCSeason create() => PGCSeason._(); + PGCSeason createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PGCSeason getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PGCSeason? _defaultInstance; + + /// 是否完结 + @$pb.TagNumber(1) + $core.int get isFinish => $_getIZ(0); + @$pb.TagNumber(1) + set isFinish($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasIsFinish() => $_has(0); + @$pb.TagNumber(1) + void clearIsFinish() => 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.int get type => $_getIZ(2); + @$pb.TagNumber(3) + set type($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasType() => $_has(2); + @$pb.TagNumber(3) + void clearType() => clearField(3); +} + +class PicParagraph extends $pb.GeneratedMessage { + factory PicParagraph({ + MdlDynDraw? pics, + PicParagraph_PicParagraphStyle? style, + }) { + final $result = create(); + if (pics != null) { + $result.pics = pics; + } + if (style != null) { + $result.style = style; + } + return $result; + } + PicParagraph._() : super(); + factory PicParagraph.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PicParagraph.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PicParagraph', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'pics', + subBuilder: MdlDynDraw.create) + ..e( + 2, _omitFieldNames ? '' : 'style', $pb.PbFieldType.OE, + defaultOrMaker: PicParagraph_PicParagraphStyle.INVALID, + valueOf: PicParagraph_PicParagraphStyle.valueOf, + enumValues: PicParagraph_PicParagraphStyle.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') + PicParagraph clone() => PicParagraph()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PicParagraph copyWith(void Function(PicParagraph) updates) => + super.copyWith((message) => updates(message as PicParagraph)) + as PicParagraph; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PicParagraph create() => PicParagraph._(); + PicParagraph createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PicParagraph getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static PicParagraph? _defaultInstance; + + @$pb.TagNumber(1) + MdlDynDraw get pics => $_getN(0); + @$pb.TagNumber(1) + set pics(MdlDynDraw v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasPics() => $_has(0); + @$pb.TagNumber(1) + void clearPics() => clearField(1); + @$pb.TagNumber(1) + MdlDynDraw ensurePics() => $_ensure(0); + + @$pb.TagNumber(2) + PicParagraph_PicParagraphStyle get style => $_getN(1); + @$pb.TagNumber(2) + set style(PicParagraph_PicParagraphStyle v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasStyle() => $_has(1); + @$pb.TagNumber(2) + void clearStyle() => clearField(2); +} + +/// 秒开通用参数 +class PlayurlParam extends $pb.GeneratedMessage { + factory PlayurlParam({ + $core.int? qn, + $core.int? fnver, + $core.int? fnval, + $core.int? forceHost, + $core.int? fourk, + }) { + final $result = create(); + if (qn != null) { + $result.qn = qn; + } + if (fnver != null) { + $result.fnver = fnver; + } + if (fnval != null) { + $result.fnval = fnval; + } + if (forceHost != null) { + $result.forceHost = forceHost; + } + if (fourk != null) { + $result.fourk = fourk; + } + return $result; + } + PlayurlParam._() : super(); + factory PlayurlParam.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory PlayurlParam.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'PlayurlParam', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'qn', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'fnver', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'fnval', $pb.PbFieldType.O3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'forceHost', $pb.PbFieldType.O3) + ..a<$core.int>(5, _omitFieldNames ? '' : 'fourk', $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') + PlayurlParam clone() => PlayurlParam()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PlayurlParam copyWith(void Function(PlayurlParam) updates) => + super.copyWith((message) => updates(message as PlayurlParam)) + as PlayurlParam; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PlayurlParam create() => PlayurlParam._(); + PlayurlParam createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PlayurlParam getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static PlayurlParam? _defaultInstance; + + /// 清晰度 + @$pb.TagNumber(1) + $core.int get qn => $_getIZ(0); + @$pb.TagNumber(1) + set qn($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasQn() => $_has(0); + @$pb.TagNumber(1) + void clearQn() => clearField(1); + + /// 流版本 + @$pb.TagNumber(2) + $core.int get fnver => $_getIZ(1); + @$pb.TagNumber(2) + set fnver($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasFnver() => $_has(1); + @$pb.TagNumber(2) + void clearFnver() => clearField(2); + + /// 流类型 + @$pb.TagNumber(3) + $core.int get fnval => $_getIZ(2); + @$pb.TagNumber(3) + set fnval($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasFnval() => $_has(2); + @$pb.TagNumber(3) + void clearFnval() => clearField(3); + + /// 是否强制使用域名 + @$pb.TagNumber(4) + $core.int get forceHost => $_getIZ(3); + @$pb.TagNumber(4) + set forceHost($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasForceHost() => $_has(3); + @$pb.TagNumber(4) + void clearForceHost() => clearField(4); + + /// 是否4k + @$pb.TagNumber(5) + $core.int get fourk => $_getIZ(4); + @$pb.TagNumber(5) + set fourk($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasFourk() => $_has(4); + @$pb.TagNumber(5) + void clearFourk() => clearField(5); +} + +class Popup extends $pb.GeneratedMessage { + factory Popup({ + $core.String? title, + $core.String? desc, + $core.String? uri, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (desc != null) { + $result.desc = desc; + } + if (uri != null) { + $result.uri = uri; + } + return $result; + } + Popup._() : super(); + factory Popup.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Popup.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Popup', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'desc') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Popup clone() => Popup()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Popup copyWith(void Function(Popup) updates) => + super.copyWith((message) => updates(message as Popup)) as Popup; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Popup create() => Popup._(); + Popup createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Popup getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Popup? _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 desc => $_getSZ(1); + @$pb.TagNumber(2) + set desc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDesc() => $_has(1); + @$pb.TagNumber(2) + void clearDesc() => clearField(2); + + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); +} + +class RcmdArchive extends $pb.GeneratedMessage { + factory RcmdArchive({ + $core.String? title, + $core.String? cover, + CoverIcon? coverLeftIcon1, + $core.String? coverLeftText1, + $core.String? uri, + $core.bool? isPgc, + $fixnum.Int64? aid, + IconBadge? badge, + $core.int? coverLeftIcon2, + $core.String? coverLeftText2, + $core.int? coverLeftIcon3, + $core.String? coverLeftText3, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (cover != null) { + $result.cover = cover; + } + if (coverLeftIcon1 != null) { + $result.coverLeftIcon1 = coverLeftIcon1; + } + if (coverLeftText1 != null) { + $result.coverLeftText1 = coverLeftText1; + } + if (uri != null) { + $result.uri = uri; + } + if (isPgc != null) { + $result.isPgc = isPgc; + } + if (aid != null) { + $result.aid = aid; + } + if (badge != null) { + $result.badge = badge; + } + if (coverLeftIcon2 != null) { + $result.coverLeftIcon2 = coverLeftIcon2; + } + if (coverLeftText2 != null) { + $result.coverLeftText2 = coverLeftText2; + } + if (coverLeftIcon3 != null) { + $result.coverLeftIcon3 = coverLeftIcon3; + } + if (coverLeftText3 != null) { + $result.coverLeftText3 = coverLeftText3; + } + return $result; + } + RcmdArchive._() : super(); + factory RcmdArchive.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RcmdArchive.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RcmdArchive', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'cover') + ..e( + 3, _omitFieldNames ? '' : 'coverLeftIcon1', $pb.PbFieldType.OE, + protoName: 'cover_left_icon_1', + defaultOrMaker: CoverIcon.cover_icon_none, + valueOf: CoverIcon.valueOf, + enumValues: CoverIcon.values) + ..aOS(4, _omitFieldNames ? '' : 'coverLeftText1', + protoName: 'cover_left_text_1') + ..aOS(5, _omitFieldNames ? '' : 'uri') + ..aOB(6, _omitFieldNames ? '' : 'isPgc') + ..aInt64(7, _omitFieldNames ? '' : 'aid') + ..aOM(8, _omitFieldNames ? '' : 'badge', + subBuilder: IconBadge.create) + ..a<$core.int>( + 9, _omitFieldNames ? '' : 'coverLeftIcon2', $pb.PbFieldType.O3) + ..aOS(10, _omitFieldNames ? '' : 'coverLeftText2') + ..a<$core.int>( + 11, _omitFieldNames ? '' : 'coverLeftIcon3', $pb.PbFieldType.O3) + ..aOS(12, _omitFieldNames ? '' : 'coverLeftText3') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RcmdArchive clone() => RcmdArchive()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RcmdArchive copyWith(void Function(RcmdArchive) updates) => + super.copyWith((message) => updates(message as RcmdArchive)) + as RcmdArchive; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RcmdArchive create() => RcmdArchive._(); + RcmdArchive createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RcmdArchive getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static RcmdArchive? _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 cover => $_getSZ(1); + @$pb.TagNumber(2) + set cover($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCover() => $_has(1); + @$pb.TagNumber(2) + void clearCover() => clearField(2); + + /// 视频封面展示项 1 + @$pb.TagNumber(3) + CoverIcon get coverLeftIcon1 => $_getN(2); + @$pb.TagNumber(3) + set coverLeftIcon1(CoverIcon v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasCoverLeftIcon1() => $_has(2); + @$pb.TagNumber(3) + void clearCoverLeftIcon1() => clearField(3); + + /// 视频封面展示项 1 + @$pb.TagNumber(4) + $core.String get coverLeftText1 => $_getSZ(3); + @$pb.TagNumber(4) + set coverLeftText1($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasCoverLeftText1() => $_has(3); + @$pb.TagNumber(4) + void clearCoverLeftText1() => clearField(4); + + /// 秒开地址 + @$pb.TagNumber(5) + $core.String get uri => $_getSZ(4); + @$pb.TagNumber(5) + set uri($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasUri() => $_has(4); + @$pb.TagNumber(5) + void clearUri() => clearField(5); + + /// 是否PGC + @$pb.TagNumber(6) + $core.bool get isPgc => $_getBF(5); + @$pb.TagNumber(6) + set isPgc($core.bool v) { + $_setBool(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasIsPgc() => $_has(5); + @$pb.TagNumber(6) + void clearIsPgc() => clearField(6); + + /// aid + @$pb.TagNumber(7) + $fixnum.Int64 get aid => $_getI64(6); + @$pb.TagNumber(7) + set aid($fixnum.Int64 v) { + $_setInt64(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasAid() => $_has(6); + @$pb.TagNumber(7) + void clearAid() => clearField(7); + + @$pb.TagNumber(8) + IconBadge get badge => $_getN(7); + @$pb.TagNumber(8) + set badge(IconBadge v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasBadge() => $_has(7); + @$pb.TagNumber(8) + void clearBadge() => clearField(8); + @$pb.TagNumber(8) + IconBadge ensureBadge() => $_ensure(7); + + @$pb.TagNumber(9) + $core.int get coverLeftIcon2 => $_getIZ(8); + @$pb.TagNumber(9) + set coverLeftIcon2($core.int v) { + $_setSignedInt32(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasCoverLeftIcon2() => $_has(8); + @$pb.TagNumber(9) + void clearCoverLeftIcon2() => clearField(9); + + @$pb.TagNumber(10) + $core.String get coverLeftText2 => $_getSZ(9); + @$pb.TagNumber(10) + set coverLeftText2($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasCoverLeftText2() => $_has(9); + @$pb.TagNumber(10) + void clearCoverLeftText2() => clearField(10); + + @$pb.TagNumber(11) + $core.int get coverLeftIcon3 => $_getIZ(10); + @$pb.TagNumber(11) + set coverLeftIcon3($core.int v) { + $_setSignedInt32(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasCoverLeftIcon3() => $_has(10); + @$pb.TagNumber(11) + void clearCoverLeftIcon3() => clearField(11); + + @$pb.TagNumber(12) + $core.String get coverLeftText3 => $_getSZ(11); + @$pb.TagNumber(12) + set coverLeftText3($core.String v) { + $_setString(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasCoverLeftText3() => $_has(11); + @$pb.TagNumber(12) + void clearCoverLeftText3() => clearField(12); +} + +/// 推荐UP主用户模块 +class RcmdAuthor extends $pb.GeneratedMessage { + factory RcmdAuthor({ + UserInfo? author, + $core.String? desc, + Relation? relation, + }) { + final $result = create(); + if (author != null) { + $result.author = author; + } + if (desc != null) { + $result.desc = desc; + } + if (relation != null) { + $result.relation = relation; + } + return $result; + } + RcmdAuthor._() : super(); + factory RcmdAuthor.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RcmdAuthor.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RcmdAuthor', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'author', + subBuilder: UserInfo.create) + ..aOS(2, _omitFieldNames ? '' : 'desc') + ..aOM(3, _omitFieldNames ? '' : 'relation', + subBuilder: Relation.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') + RcmdAuthor clone() => RcmdAuthor()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RcmdAuthor copyWith(void Function(RcmdAuthor) updates) => + super.copyWith((message) => updates(message as RcmdAuthor)) as RcmdAuthor; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RcmdAuthor create() => RcmdAuthor._(); + RcmdAuthor createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RcmdAuthor getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static RcmdAuthor? _defaultInstance; + + /// 用户详情 + @$pb.TagNumber(1) + UserInfo get author => $_getN(0); + @$pb.TagNumber(1) + set author(UserInfo v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasAuthor() => $_has(0); + @$pb.TagNumber(1) + void clearAuthor() => clearField(1); + @$pb.TagNumber(1) + UserInfo ensureAuthor() => $_ensure(0); + + /// 描述:粉丝数、推荐理由 + @$pb.TagNumber(2) + $core.String get desc => $_getSZ(1); + @$pb.TagNumber(2) + set desc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDesc() => $_has(1); + @$pb.TagNumber(2) + void clearDesc() => clearField(2); + + /// 关注状态 + @$pb.TagNumber(3) + Relation get relation => $_getN(2); + @$pb.TagNumber(3) + set relation(Relation v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasRelation() => $_has(2); + @$pb.TagNumber(3) + void clearRelation() => clearField(3); + @$pb.TagNumber(3) + Relation ensureRelation() => $_ensure(2); +} + +class RcmdCampusBrief extends $pb.GeneratedMessage { + factory RcmdCampusBrief({ + $fixnum.Int64? campusId, + $core.String? campusName, + $core.String? campusBadge, + $core.String? url, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (campusBadge != null) { + $result.campusBadge = campusBadge; + } + if (url != null) { + $result.url = url; + } + return $result; + } + RcmdCampusBrief._() : super(); + factory RcmdCampusBrief.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RcmdCampusBrief.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RcmdCampusBrief', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..aOS(4, _omitFieldNames ? '' : 'campusBadge') + ..aOS(5, _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') + RcmdCampusBrief clone() => RcmdCampusBrief()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RcmdCampusBrief copyWith(void Function(RcmdCampusBrief) updates) => + super.copyWith((message) => updates(message as RcmdCampusBrief)) + as RcmdCampusBrief; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RcmdCampusBrief create() => RcmdCampusBrief._(); + RcmdCampusBrief createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RcmdCampusBrief getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static RcmdCampusBrief? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(4) + $core.String get campusBadge => $_getSZ(2); + @$pb.TagNumber(4) + set campusBadge($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(4) + $core.bool hasCampusBadge() => $_has(2); + @$pb.TagNumber(4) + void clearCampusBadge() => clearField(4); + + @$pb.TagNumber(5) + $core.String get url => $_getSZ(3); + @$pb.TagNumber(5) + set url($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(5) + $core.bool hasUrl() => $_has(3); + @$pb.TagNumber(5) + void clearUrl() => clearField(5); +} + +enum RcmdItem_RcmdItem { rcmdArchive, notSet } + +/// 推荐卡片列表 +class RcmdItem extends $pb.GeneratedMessage { + factory RcmdItem({ + RcmdType? type, + RcmdArchive? rcmdArchive, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (rcmdArchive != null) { + $result.rcmdArchive = rcmdArchive; + } + return $result; + } + RcmdItem._() : super(); + factory RcmdItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RcmdItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, RcmdItem_RcmdItem> _RcmdItem_RcmdItemByTag = + {2: RcmdItem_RcmdItem.rcmdArchive, 0: RcmdItem_RcmdItem.notSet}; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RcmdItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [2]) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: RcmdType.rcmd_archive, + valueOf: RcmdType.valueOf, + enumValues: RcmdType.values) + ..aOM(2, _omitFieldNames ? '' : 'rcmdArchive', + subBuilder: RcmdArchive.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') + RcmdItem clone() => RcmdItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RcmdItem copyWith(void Function(RcmdItem) updates) => + super.copyWith((message) => updates(message as RcmdItem)) as RcmdItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RcmdItem create() => RcmdItem._(); + RcmdItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RcmdItem getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RcmdItem? _defaultInstance; + + RcmdItem_RcmdItem whichRcmdItem() => + _RcmdItem_RcmdItemByTag[$_whichOneof(0)]!; + void clearRcmdItem() => clearField($_whichOneof(0)); + + /// 卡片类型 + @$pb.TagNumber(1) + RcmdType get type => $_getN(0); + @$pb.TagNumber(1) + set type(RcmdType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + @$pb.TagNumber(2) + RcmdArchive get rcmdArchive => $_getN(1); + @$pb.TagNumber(2) + set rcmdArchive(RcmdArchive v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasRcmdArchive() => $_has(1); + @$pb.TagNumber(2) + void clearRcmdArchive() => clearField(2); + @$pb.TagNumber(2) + RcmdArchive ensureRcmdArchive() => $_ensure(1); +} + +/// 分区聚类推荐选项 +class RcmdOption extends $pb.GeneratedMessage { + factory RcmdOption({ + $core.bool? showTitle, + }) { + final $result = create(); + if (showTitle != null) { + $result.showTitle = showTitle; + } + return $result; + } + RcmdOption._() : super(); + factory RcmdOption.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RcmdOption.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RcmdOption', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'showTitle') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RcmdOption clone() => RcmdOption()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RcmdOption copyWith(void Function(RcmdOption) updates) => + super.copyWith((message) => updates(message as RcmdOption)) as RcmdOption; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RcmdOption create() => RcmdOption._(); + RcmdOption createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RcmdOption getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static RcmdOption? _defaultInstance; + + /// 视频是否展示标题 + @$pb.TagNumber(1) + $core.bool get showTitle => $_getBF(0); + @$pb.TagNumber(1) + set showTitle($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasShowTitle() => $_has(0); + @$pb.TagNumber(1) + void clearShowTitle() => clearField(1); +} + +class RcmdReason extends $pb.GeneratedMessage { + factory RcmdReason({ + $core.String? campusName, + RcmdReasonStyle? style, + $core.String? rcmdReason, + $core.String? upName, + }) { + final $result = create(); + if (campusName != null) { + $result.campusName = campusName; + } + if (style != null) { + $result.style = style; + } + if (rcmdReason != null) { + $result.rcmdReason = rcmdReason; + } + if (upName != null) { + $result.upName = upName; + } + return $result; + } + RcmdReason._() : super(); + factory RcmdReason.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RcmdReason.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RcmdReason', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'campusName') + ..e(2, _omitFieldNames ? '' : 'style', $pb.PbFieldType.OE, + defaultOrMaker: RcmdReasonStyle.rcmd_reason_style_none, + valueOf: RcmdReasonStyle.valueOf, + enumValues: RcmdReasonStyle.values) + ..aOS(3, _omitFieldNames ? '' : 'rcmdReason') + ..aOS(4, _omitFieldNames ? '' : 'upName') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RcmdReason clone() => RcmdReason()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RcmdReason copyWith(void Function(RcmdReason) updates) => + super.copyWith((message) => updates(message as RcmdReason)) as RcmdReason; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RcmdReason create() => RcmdReason._(); + RcmdReason createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RcmdReason getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static RcmdReason? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get campusName => $_getSZ(0); + @$pb.TagNumber(1) + set campusName($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusName() => $_has(0); + @$pb.TagNumber(1) + void clearCampusName() => clearField(1); + + @$pb.TagNumber(2) + RcmdReasonStyle get style => $_getN(1); + @$pb.TagNumber(2) + set style(RcmdReasonStyle v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasStyle() => $_has(1); + @$pb.TagNumber(2) + void clearStyle() => clearField(2); + + @$pb.TagNumber(3) + $core.String get rcmdReason => $_getSZ(2); + @$pb.TagNumber(3) + set rcmdReason($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasRcmdReason() => $_has(2); + @$pb.TagNumber(3) + void clearRcmdReason() => clearField(3); + + @$pb.TagNumber(4) + $core.String get upName => $_getSZ(3); + @$pb.TagNumber(4) + set upName($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasUpName() => $_has(3); + @$pb.TagNumber(4) + void clearUpName() => clearField(4); +} + +class RcmdTopButton extends $pb.GeneratedMessage { + factory RcmdTopButton({ + $core.String? text, + $core.String? url, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + if (url != null) { + $result.url = url; + } + return $result; + } + RcmdTopButton._() : super(); + factory RcmdTopButton.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RcmdTopButton.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RcmdTopButton', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..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') + RcmdTopButton clone() => RcmdTopButton()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RcmdTopButton copyWith(void Function(RcmdTopButton) updates) => + super.copyWith((message) => updates(message as RcmdTopButton)) + as RcmdTopButton; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RcmdTopButton create() => RcmdTopButton._(); + RcmdTopButton createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RcmdTopButton getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static RcmdTopButton? _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); + + @$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); +} + +/// 推荐up主入参 +class RcmdUPsParam extends $pb.GeneratedMessage { + factory RcmdUPsParam({ + $fixnum.Int64? dislikeTs, + }) { + final $result = create(); + if (dislikeTs != null) { + $result.dislikeTs = dislikeTs; + } + return $result; + } + RcmdUPsParam._() : super(); + factory RcmdUPsParam.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RcmdUPsParam.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RcmdUPsParam', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'dislikeTs') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RcmdUPsParam clone() => RcmdUPsParam()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RcmdUPsParam copyWith(void Function(RcmdUPsParam) updates) => + super.copyWith((message) => updates(message as RcmdUPsParam)) + as RcmdUPsParam; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RcmdUPsParam create() => RcmdUPsParam._(); + RcmdUPsParam createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RcmdUPsParam getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static RcmdUPsParam? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get dislikeTs => $_getI64(0); + @$pb.TagNumber(1) + set dislikeTs($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasDislikeTs() => $_has(0); + @$pb.TagNumber(1) + void clearDislikeTs() => clearField(1); +} + +class ReactionListItem extends $pb.GeneratedMessage { + factory ReactionListItem({ + UserInfo? user, + Relation? relation, + $core.String? actText, + $core.String? rcmdReason, + }) { + final $result = create(); + if (user != null) { + $result.user = user; + } + if (relation != null) { + $result.relation = relation; + } + if (actText != null) { + $result.actText = actText; + } + if (rcmdReason != null) { + $result.rcmdReason = rcmdReason; + } + return $result; + } + ReactionListItem._() : super(); + factory ReactionListItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ReactionListItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ReactionListItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'user', + subBuilder: UserInfo.create) + ..aOM(2, _omitFieldNames ? '' : 'relation', + subBuilder: Relation.create) + ..aOS(3, _omitFieldNames ? '' : 'actText') + ..aOS(4, _omitFieldNames ? '' : 'rcmdReason') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ReactionListItem clone() => ReactionListItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ReactionListItem copyWith(void Function(ReactionListItem) updates) => + super.copyWith((message) => updates(message as ReactionListItem)) + as ReactionListItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ReactionListItem create() => ReactionListItem._(); + ReactionListItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ReactionListItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ReactionListItem? _defaultInstance; + + /// 用户信息 + @$pb.TagNumber(1) + UserInfo get user => $_getN(0); + @$pb.TagNumber(1) + set user(UserInfo v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasUser() => $_has(0); + @$pb.TagNumber(1) + void clearUser() => clearField(1); + @$pb.TagNumber(1) + UserInfo ensureUser() => $_ensure(0); + + /// 关注关系 + @$pb.TagNumber(2) + Relation get relation => $_getN(1); + @$pb.TagNumber(2) + set relation(Relation v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasRelation() => $_has(1); + @$pb.TagNumber(2) + void clearRelation() => clearField(2); + @$pb.TagNumber(2) + Relation ensureRelation() => $_ensure(1); + + /// 显示文字 + @$pb.TagNumber(3) + $core.String get actText => $_getSZ(2); + @$pb.TagNumber(3) + set actText($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasActText() => $_has(2); + @$pb.TagNumber(3) + void clearActText() => clearField(3); + + @$pb.TagNumber(4) + $core.String get rcmdReason => $_getSZ(3); + @$pb.TagNumber(4) + set rcmdReason($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasRcmdReason() => $_has(3); + @$pb.TagNumber(4) + void clearRcmdReason() => clearField(4); +} + +/// 新版动态转发点赞列表-响应 +class ReactionListReply extends $pb.GeneratedMessage { + factory ReactionListReply({ + $core.String? title, + $core.Iterable? list, + $core.String? offset, + $core.bool? hasMore, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (list != null) { + $result.list.addAll(list); + } + if (offset != null) { + $result.offset = offset; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + return $result; + } + ReactionListReply._() : super(); + factory ReactionListReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ReactionListReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ReactionListReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: ReactionListItem.create) + ..aOS(3, _omitFieldNames ? '' : 'offset') + ..aOB(4, _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') + ReactionListReply clone() => ReactionListReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ReactionListReply copyWith(void Function(ReactionListReply) updates) => + super.copyWith((message) => updates(message as ReactionListReply)) + as ReactionListReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ReactionListReply create() => ReactionListReply._(); + ReactionListReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ReactionListReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ReactionListReply? _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.List get list => $_getList(1); + + /// 偏移 + @$pb.TagNumber(3) + $core.String get offset => $_getSZ(2); + @$pb.TagNumber(3) + set offset($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOffset() => $_has(2); + @$pb.TagNumber(3) + void clearOffset() => clearField(3); + + /// 是否还有更多 + @$pb.TagNumber(4) + $core.bool get hasMore => $_getBF(3); + @$pb.TagNumber(4) + set hasMore($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasHasMore() => $_has(3); + @$pb.TagNumber(4) + void clearHasMore() => clearField(4); +} + +/// 新版动态转发点赞列表-请求 +class ReactionListReq extends $pb.GeneratedMessage { + factory ReactionListReq({ + $fixnum.Int64? dynamicId, + $fixnum.Int64? dynType, + $fixnum.Int64? rid, + $core.String? offset, + }) { + final $result = create(); + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (dynType != null) { + $result.dynType = dynType; + } + if (rid != null) { + $result.rid = rid; + } + if (offset != null) { + $result.offset = offset; + } + return $result; + } + ReactionListReq._() : super(); + factory ReactionListReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ReactionListReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ReactionListReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'dynamicId') + ..aInt64(2, _omitFieldNames ? '' : 'dynType') + ..aInt64(3, _omitFieldNames ? '' : 'rid') + ..aOS(4, _omitFieldNames ? '' : 'offset') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ReactionListReq clone() => ReactionListReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ReactionListReq copyWith(void Function(ReactionListReq) updates) => + super.copyWith((message) => updates(message as ReactionListReq)) + as ReactionListReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ReactionListReq create() => ReactionListReq._(); + ReactionListReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ReactionListReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ReactionListReq? _defaultInstance; + + /// 动态ID + @$pb.TagNumber(1) + $fixnum.Int64 get dynamicId => $_getI64(0); + @$pb.TagNumber(1) + set dynamicId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasDynamicId() => $_has(0); + @$pb.TagNumber(1) + void clearDynamicId() => clearField(1); + + /// 动态类型 + @$pb.TagNumber(2) + $fixnum.Int64 get dynType => $_getI64(1); + @$pb.TagNumber(2) + set dynType($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDynType() => $_has(1); + @$pb.TagNumber(2) + void clearDynType() => clearField(2); + + /// 业务方资源id + @$pb.TagNumber(3) + $fixnum.Int64 get rid => $_getI64(2); + @$pb.TagNumber(3) + set rid($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasRid() => $_has(2); + @$pb.TagNumber(3) + void clearRid() => clearField(3); + + /// 偏移,使用上一页回包中的offset字段;第一页不传。 + @$pb.TagNumber(4) + $core.String get offset => $_getSZ(3); + @$pb.TagNumber(4) + set offset($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasOffset() => $_has(3); + @$pb.TagNumber(4) + void clearOffset() => clearField(4); +} + +/// 关注关系 +class Relation extends $pb.GeneratedMessage { + factory Relation({ + RelationStatus? status, + $core.int? isFollow, + $core.int? isFollowed, + $core.String? title, + }) { + final $result = create(); + if (status != null) { + $result.status = status; + } + if (isFollow != null) { + $result.isFollow = isFollow; + } + if (isFollowed != null) { + $result.isFollowed = isFollowed; + } + if (title != null) { + $result.title = title; + } + return $result; + } + Relation._() : super(); + factory Relation.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Relation.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Relation', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, + defaultOrMaker: RelationStatus.relation_status_none, + valueOf: RelationStatus.valueOf, + enumValues: RelationStatus.values) + ..a<$core.int>(2, _omitFieldNames ? '' : 'isFollow', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'isFollowed', $pb.PbFieldType.O3) + ..aOS(4, _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') + Relation clone() => Relation()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Relation copyWith(void Function(Relation) updates) => + super.copyWith((message) => updates(message as Relation)) as Relation; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Relation create() => Relation._(); + Relation createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Relation getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Relation? _defaultInstance; + + /// 关注状态 + @$pb.TagNumber(1) + RelationStatus get status => $_getN(0); + @$pb.TagNumber(1) + set status(RelationStatus v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasStatus() => $_has(0); + @$pb.TagNumber(1) + void clearStatus() => clearField(1); + + /// 关注 + @$pb.TagNumber(2) + $core.int get isFollow => $_getIZ(1); + @$pb.TagNumber(2) + set isFollow($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasIsFollow() => $_has(1); + @$pb.TagNumber(2) + void clearIsFollow() => clearField(2); + + /// 被关注 + @$pb.TagNumber(3) + $core.int get isFollowed => $_getIZ(2); + @$pb.TagNumber(3) + set isFollowed($core.int v) { + $_setSignedInt32(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIsFollowed() => $_has(2); + @$pb.TagNumber(3) + void clearIsFollowed() => clearField(3); + + /// 文案 + @$pb.TagNumber(4) + $core.String get title => $_getSZ(3); + @$pb.TagNumber(4) + set title($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTitle() => $_has(3); + @$pb.TagNumber(4) + void clearTitle() => clearField(4); +} + +/// 转发列表-请求 +class RepostListReq extends $pb.GeneratedMessage { + factory RepostListReq({ + $core.String? dynamicId, + $fixnum.Int64? dynType, + $fixnum.Int64? rid, + $core.String? offset, + $core.String? from, + RepostType? repostType, + }) { + final $result = create(); + if (dynamicId != null) { + $result.dynamicId = dynamicId; + } + if (dynType != null) { + $result.dynType = dynType; + } + if (rid != null) { + $result.rid = rid; + } + if (offset != null) { + $result.offset = offset; + } + if (from != null) { + $result.from = from; + } + if (repostType != null) { + $result.repostType = repostType; + } + return $result; + } + RepostListReq._() : super(); + factory RepostListReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RepostListReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RepostListReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'dynamicId') + ..aInt64(2, _omitFieldNames ? '' : 'dynType') + ..aInt64(3, _omitFieldNames ? '' : 'rid') + ..aOS(4, _omitFieldNames ? '' : 'offset') + ..aOS(5, _omitFieldNames ? '' : 'from') + ..e(6, _omitFieldNames ? '' : 'repostType', $pb.PbFieldType.OE, + defaultOrMaker: RepostType.repost_hot, + valueOf: RepostType.valueOf, + enumValues: RepostType.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') + RepostListReq clone() => RepostListReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RepostListReq copyWith(void Function(RepostListReq) updates) => + super.copyWith((message) => updates(message as RepostListReq)) + as RepostListReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RepostListReq create() => RepostListReq._(); + RepostListReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RepostListReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static RepostListReq? _defaultInstance; + + /// 动态ID + @$pb.TagNumber(1) + $core.String get dynamicId => $_getSZ(0); + @$pb.TagNumber(1) + set dynamicId($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasDynamicId() => $_has(0); + @$pb.TagNumber(1) + void clearDynamicId() => clearField(1); + + /// 动态类型 + @$pb.TagNumber(2) + $fixnum.Int64 get dynType => $_getI64(1); + @$pb.TagNumber(2) + set dynType($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDynType() => $_has(1); + @$pb.TagNumber(2) + void clearDynType() => clearField(2); + + /// 业务方资源id + @$pb.TagNumber(3) + $fixnum.Int64 get rid => $_getI64(2); + @$pb.TagNumber(3) + set rid($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasRid() => $_has(2); + @$pb.TagNumber(3) + void clearRid() => clearField(3); + + /// 偏移,使用上一页回包中的offset字段;第一页不传。 + @$pb.TagNumber(4) + $core.String get offset => $_getSZ(3); + @$pb.TagNumber(4) + set offset($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasOffset() => $_has(3); + @$pb.TagNumber(4) + void clearOffset() => clearField(4); + + /// 来源 + @$pb.TagNumber(5) + $core.String get from => $_getSZ(4); + @$pb.TagNumber(5) + set from($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasFrom() => $_has(4); + @$pb.TagNumber(5) + void clearFrom() => clearField(5); + + /// 评论类型 + @$pb.TagNumber(6) + RepostType get repostType => $_getN(5); + @$pb.TagNumber(6) + set repostType(RepostType v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasRepostType() => $_has(5); + @$pb.TagNumber(6) + void clearRepostType() => clearField(6); +} + +/// 转发列表-响应 +class RepostListRsp extends $pb.GeneratedMessage { + factory RepostListRsp({ + $core.Iterable? list, + $core.String? offset, + $core.bool? hasMore, + $fixnum.Int64? totalCount, + RepostType? repostType, + }) { + final $result = create(); + if (list != null) { + $result.list.addAll(list); + } + if (offset != null) { + $result.offset = offset; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (totalCount != null) { + $result.totalCount = totalCount; + } + if (repostType != null) { + $result.repostType = repostType; + } + return $result; + } + RepostListRsp._() : super(); + factory RepostListRsp.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory RepostListRsp.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'RepostListRsp', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..aOB(3, _omitFieldNames ? '' : 'hasMore') + ..aInt64(4, _omitFieldNames ? '' : 'totalCount') + ..e(5, _omitFieldNames ? '' : 'repostType', $pb.PbFieldType.OE, + defaultOrMaker: RepostType.repost_hot, + valueOf: RepostType.valueOf, + enumValues: RepostType.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') + RepostListRsp clone() => RepostListRsp()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RepostListRsp copyWith(void Function(RepostListRsp) updates) => + super.copyWith((message) => updates(message as RepostListRsp)) + as RepostListRsp; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RepostListRsp create() => RepostListRsp._(); + RepostListRsp createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RepostListRsp getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static RepostListRsp? _defaultInstance; + + /// 列表 + @$pb.TagNumber(1) + $core.List get list => $_getList(0); + + /// 偏移 + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); + + /// 是否还有更多 + @$pb.TagNumber(3) + $core.bool get hasMore => $_getBF(2); + @$pb.TagNumber(3) + set hasMore($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasHasMore() => $_has(2); + @$pb.TagNumber(3) + void clearHasMore() => clearField(3); + + /// 转发总数 + @$pb.TagNumber(4) + $fixnum.Int64 get totalCount => $_getI64(3); + @$pb.TagNumber(4) + set totalCount($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTotalCount() => $_has(3); + @$pb.TagNumber(4) + void clearTotalCount() => clearField(4); + + /// 评论类型 + @$pb.TagNumber(5) + RepostType get repostType => $_getN(4); + @$pb.TagNumber(5) + set repostType(RepostType v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasRepostType() => $_has(4); + @$pb.TagNumber(5) + void clearRepostType() => clearField(5); +} + +class SchoolRecommendReply extends $pb.GeneratedMessage { + factory SchoolRecommendReply({ + $core.Iterable? items, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + return $result; + } + SchoolRecommendReply._() : super(); + factory SchoolRecommendReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SchoolRecommendReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SchoolRecommendReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: CampusInfo.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') + SchoolRecommendReply clone() => + SchoolRecommendReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SchoolRecommendReply copyWith(void Function(SchoolRecommendReply) updates) => + super.copyWith((message) => updates(message as SchoolRecommendReply)) + as SchoolRecommendReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SchoolRecommendReply create() => SchoolRecommendReply._(); + SchoolRecommendReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SchoolRecommendReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SchoolRecommendReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get items => $_getList(0); +} + +class SchoolRecommendReq extends $pb.GeneratedMessage { + factory SchoolRecommendReq({ + $core.double? lat, + $core.double? lng, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (lat != null) { + $result.lat = lat; + } + if (lng != null) { + $result.lng = lng; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + SchoolRecommendReq._() : super(); + factory SchoolRecommendReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SchoolRecommendReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SchoolRecommendReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'lat', $pb.PbFieldType.OF) + ..a<$core.double>(2, _omitFieldNames ? '' : 'lng', $pb.PbFieldType.OF) + ..e( + 3, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + SchoolRecommendReq clone() => SchoolRecommendReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SchoolRecommendReq copyWith(void Function(SchoolRecommendReq) updates) => + super.copyWith((message) => updates(message as SchoolRecommendReq)) + as SchoolRecommendReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SchoolRecommendReq create() => SchoolRecommendReq._(); + SchoolRecommendReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SchoolRecommendReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SchoolRecommendReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get lat => $_getN(0); + @$pb.TagNumber(1) + set lat($core.double v) { + $_setFloat(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasLat() => $_has(0); + @$pb.TagNumber(1) + void clearLat() => clearField(1); + + @$pb.TagNumber(2) + $core.double get lng => $_getN(1); + @$pb.TagNumber(2) + set lng($core.double v) { + $_setFloat(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasLng() => $_has(1); + @$pb.TagNumber(2) + void clearLng() => clearField(2); + + @$pb.TagNumber(3) + CampusReqFromType get fromType => $_getN(2); + @$pb.TagNumber(3) + set fromType(CampusReqFromType v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasFromType() => $_has(2); + @$pb.TagNumber(3) + void clearFromType() => clearField(3); +} + +class SchoolSearchReply extends $pb.GeneratedMessage { + factory SchoolSearchReply({ + $core.Iterable? items, + SearchToast? toast, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (toast != null) { + $result.toast = toast; + } + return $result; + } + SchoolSearchReply._() : super(); + factory SchoolSearchReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SchoolSearchReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SchoolSearchReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: CampusInfo.create) + ..aOM(2, _omitFieldNames ? '' : 'toast', + subBuilder: SearchToast.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') + SchoolSearchReply clone() => SchoolSearchReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SchoolSearchReply copyWith(void Function(SchoolSearchReply) updates) => + super.copyWith((message) => updates(message as SchoolSearchReply)) + as SchoolSearchReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SchoolSearchReply create() => SchoolSearchReply._(); + SchoolSearchReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SchoolSearchReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SchoolSearchReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get items => $_getList(0); + + @$pb.TagNumber(2) + SearchToast get toast => $_getN(1); + @$pb.TagNumber(2) + set toast(SearchToast v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasToast() => $_has(1); + @$pb.TagNumber(2) + void clearToast() => clearField(2); + @$pb.TagNumber(2) + SearchToast ensureToast() => $_ensure(1); +} + +class SchoolSearchReq extends $pb.GeneratedMessage { + factory SchoolSearchReq({ + $core.String? keyword, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (keyword != null) { + $result.keyword = keyword; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + SchoolSearchReq._() : super(); + factory SchoolSearchReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SchoolSearchReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SchoolSearchReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'keyword') + ..e( + 2, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + SchoolSearchReq clone() => SchoolSearchReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SchoolSearchReq copyWith(void Function(SchoolSearchReq) updates) => + super.copyWith((message) => updates(message as SchoolSearchReq)) + as SchoolSearchReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SchoolSearchReq create() => SchoolSearchReq._(); + SchoolSearchReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SchoolSearchReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SchoolSearchReq? _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) + CampusReqFromType get fromType => $_getN(1); + @$pb.TagNumber(2) + set fromType(CampusReqFromType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasFromType() => $_has(1); + @$pb.TagNumber(2) + void clearFromType() => clearField(2); +} + +class SearchChannel extends $pb.GeneratedMessage { + factory SearchChannel({ + $core.String? title, + SearchTopicButton? moreButton, + $core.Iterable? channels, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (moreButton != null) { + $result.moreButton = moreButton; + } + if (channels != null) { + $result.channels.addAll(channels); + } + return $result; + } + SearchChannel._() : super(); + factory SearchChannel.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SearchChannel.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SearchChannel', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOM(2, _omitFieldNames ? '' : 'moreButton', + subBuilder: SearchTopicButton.create) + ..pc(3, _omitFieldNames ? '' : 'channels', $pb.PbFieldType.PM, + subBuilder: ChannelInfo.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') + SearchChannel clone() => SearchChannel()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SearchChannel copyWith(void Function(SearchChannel) updates) => + super.copyWith((message) => updates(message as SearchChannel)) + as SearchChannel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SearchChannel create() => SearchChannel._(); + SearchChannel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SearchChannel getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SearchChannel? _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) + SearchTopicButton get moreButton => $_getN(1); + @$pb.TagNumber(2) + set moreButton(SearchTopicButton v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasMoreButton() => $_has(1); + @$pb.TagNumber(2) + void clearMoreButton() => clearField(2); + @$pb.TagNumber(2) + SearchTopicButton ensureMoreButton() => $_ensure(1); + + @$pb.TagNumber(3) + $core.List get channels => $_getList(2); +} + +class SearchInfo extends $pb.GeneratedMessage { + factory SearchInfo({ + $core.String? title, + $core.Iterable? list, + $core.String? trackId, + $fixnum.Int64? total, + $core.bool? hasMore, + $core.String? version, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (list != null) { + $result.list.addAll(list); + } + if (trackId != null) { + $result.trackId = trackId; + } + if (total != null) { + $result.total = total; + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (version != null) { + $result.version = version; + } + return $result; + } + SearchInfo._() : super(); + factory SearchInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SearchInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SearchInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: DynamicItem.create) + ..aOS(3, _omitFieldNames ? '' : 'trackId') + ..aInt64(4, _omitFieldNames ? '' : 'total') + ..aOB(5, _omitFieldNames ? '' : 'hasMore') + ..aOS(6, _omitFieldNames ? '' : 'version') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SearchInfo clone() => SearchInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SearchInfo copyWith(void Function(SearchInfo) updates) => + super.copyWith((message) => updates(message as SearchInfo)) as SearchInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SearchInfo create() => SearchInfo._(); + SearchInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SearchInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SearchInfo? _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.List get list => $_getList(1); + + @$pb.TagNumber(3) + $core.String get trackId => $_getSZ(2); + @$pb.TagNumber(3) + set trackId($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasTrackId() => $_has(2); + @$pb.TagNumber(3) + void clearTrackId() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get total => $_getI64(3); + @$pb.TagNumber(4) + set total($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTotal() => $_has(3); + @$pb.TagNumber(4) + void clearTotal() => clearField(4); + + @$pb.TagNumber(5) + $core.bool get hasMore => $_getBF(4); + @$pb.TagNumber(5) + set hasMore($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasHasMore() => $_has(4); + @$pb.TagNumber(5) + void clearHasMore() => clearField(5); + + @$pb.TagNumber(6) + $core.String get version => $_getSZ(5); + @$pb.TagNumber(6) + set version($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasVersion() => $_has(5); + @$pb.TagNumber(6) + void clearVersion() => clearField(6); +} + +class SearchToast extends $pb.GeneratedMessage { + factory SearchToast({ + $core.String? descText1, + $core.String? descText2, + }) { + final $result = create(); + if (descText1 != null) { + $result.descText1 = descText1; + } + if (descText2 != null) { + $result.descText2 = descText2; + } + return $result; + } + SearchToast._() : super(); + factory SearchToast.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SearchToast.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SearchToast', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'descText1') + ..aOS(2, _omitFieldNames ? '' : 'descText2') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SearchToast clone() => SearchToast()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SearchToast copyWith(void Function(SearchToast) updates) => + super.copyWith((message) => updates(message as SearchToast)) + as SearchToast; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SearchToast create() => SearchToast._(); + SearchToast createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SearchToast getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SearchToast? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get descText1 => $_getSZ(0); + @$pb.TagNumber(1) + set descText1($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasDescText1() => $_has(0); + @$pb.TagNumber(1) + void clearDescText1() => clearField(1); + + @$pb.TagNumber(2) + $core.String get descText2 => $_getSZ(1); + @$pb.TagNumber(2) + set descText2($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDescText2() => $_has(1); + @$pb.TagNumber(2) + void clearDescText2() => clearField(2); +} + +class SearchTopic extends $pb.GeneratedMessage { + factory SearchTopic({ + $core.String? title, + SearchTopicButton? moreButton, + $core.Iterable? items, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (moreButton != null) { + $result.moreButton = moreButton; + } + if (items != null) { + $result.items.addAll(items); + } + return $result; + } + SearchTopic._() : super(); + factory SearchTopic.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SearchTopic.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SearchTopic', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOM(2, _omitFieldNames ? '' : 'moreButton', + subBuilder: SearchTopicButton.create) + ..pc(3, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: SearchTopicItem.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') + SearchTopic clone() => SearchTopic()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SearchTopic copyWith(void Function(SearchTopic) updates) => + super.copyWith((message) => updates(message as SearchTopic)) + as SearchTopic; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SearchTopic create() => SearchTopic._(); + SearchTopic createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SearchTopic getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SearchTopic? _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) + SearchTopicButton get moreButton => $_getN(1); + @$pb.TagNumber(2) + set moreButton(SearchTopicButton v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasMoreButton() => $_has(1); + @$pb.TagNumber(2) + void clearMoreButton() => clearField(2); + @$pb.TagNumber(2) + SearchTopicButton ensureMoreButton() => $_ensure(1); + + @$pb.TagNumber(3) + $core.List get items => $_getList(2); +} + +class SearchTopicButton extends $pb.GeneratedMessage { + factory SearchTopicButton({ + $core.String? title, + $core.String? jumpUri, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (jumpUri != null) { + $result.jumpUri = jumpUri; + } + return $result; + } + SearchTopicButton._() : super(); + factory SearchTopicButton.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SearchTopicButton.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SearchTopicButton', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'jumpUri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SearchTopicButton clone() => SearchTopicButton()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SearchTopicButton copyWith(void Function(SearchTopicButton) updates) => + super.copyWith((message) => updates(message as SearchTopicButton)) + as SearchTopicButton; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SearchTopicButton create() => SearchTopicButton._(); + SearchTopicButton createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SearchTopicButton getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SearchTopicButton? _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 jumpUri => $_getSZ(1); + @$pb.TagNumber(2) + set jumpUri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasJumpUri() => $_has(1); + @$pb.TagNumber(2) + void clearJumpUri() => clearField(2); +} + +class SearchTopicItem extends $pb.GeneratedMessage { + factory SearchTopicItem({ + $fixnum.Int64? topicId, + $core.String? topicName, + $core.String? desc, + $core.String? url, + $core.bool? isActivity, + }) { + final $result = create(); + if (topicId != null) { + $result.topicId = topicId; + } + if (topicName != null) { + $result.topicName = topicName; + } + if (desc != null) { + $result.desc = desc; + } + if (url != null) { + $result.url = url; + } + if (isActivity != null) { + $result.isActivity = isActivity; + } + return $result; + } + SearchTopicItem._() : super(); + factory SearchTopicItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SearchTopicItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SearchTopicItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'topicId') + ..aOS(2, _omitFieldNames ? '' : 'topicName') + ..aOS(3, _omitFieldNames ? '' : 'desc') + ..aOS(4, _omitFieldNames ? '' : 'url') + ..aOB(5, _omitFieldNames ? '' : 'isActivity') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SearchTopicItem clone() => SearchTopicItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SearchTopicItem copyWith(void Function(SearchTopicItem) updates) => + super.copyWith((message) => updates(message as SearchTopicItem)) + as SearchTopicItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SearchTopicItem create() => SearchTopicItem._(); + SearchTopicItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SearchTopicItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SearchTopicItem? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get topicId => $_getI64(0); + @$pb.TagNumber(1) + set topicId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasTopicId() => $_has(0); + @$pb.TagNumber(1) + void clearTopicId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get topicName => $_getSZ(1); + @$pb.TagNumber(2) + set topicName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasTopicName() => $_has(1); + @$pb.TagNumber(2) + void clearTopicName() => clearField(2); + + @$pb.TagNumber(3) + $core.String get desc => $_getSZ(2); + @$pb.TagNumber(3) + set desc($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDesc() => $_has(2); + @$pb.TagNumber(3) + void clearDesc() => 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) + $core.bool get isActivity => $_getBF(4); + @$pb.TagNumber(5) + set isActivity($core.bool v) { + $_setBool(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasIsActivity() => $_has(4); + @$pb.TagNumber(5) + void clearIsActivity() => clearField(5); +} + +class SetDecisionReq extends $pb.GeneratedMessage { + factory SetDecisionReq({ + $core.int? result, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (result != null) { + $result.result = result; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + SetDecisionReq._() : super(); + factory SetDecisionReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SetDecisionReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SetDecisionReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'result', $pb.PbFieldType.O3) + ..e( + 2, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + SetDecisionReq clone() => SetDecisionReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SetDecisionReq copyWith(void Function(SetDecisionReq) updates) => + super.copyWith((message) => updates(message as SetDecisionReq)) + as SetDecisionReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SetDecisionReq create() => SetDecisionReq._(); + SetDecisionReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SetDecisionReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SetDecisionReq? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get result => $_getIZ(0); + @$pb.TagNumber(1) + set result($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasResult() => $_has(0); + @$pb.TagNumber(1) + void clearResult() => clearField(1); + + @$pb.TagNumber(2) + CampusReqFromType get fromType => $_getN(1); + @$pb.TagNumber(2) + set fromType(CampusReqFromType v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasFromType() => $_has(1); + @$pb.TagNumber(2) + void clearFromType() => clearField(2); +} + +class SetRecentCampusReq extends $pb.GeneratedMessage { + factory SetRecentCampusReq({ + $fixnum.Int64? campusId, + $core.String? campusName, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + SetRecentCampusReq._() : super(); + factory SetRecentCampusReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SetRecentCampusReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SetRecentCampusReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..e( + 3, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + SetRecentCampusReq clone() => SetRecentCampusReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SetRecentCampusReq copyWith(void Function(SetRecentCampusReq) updates) => + super.copyWith((message) => updates(message as SetRecentCampusReq)) + as SetRecentCampusReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SetRecentCampusReq create() => SetRecentCampusReq._(); + SetRecentCampusReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SetRecentCampusReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SetRecentCampusReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(3) + CampusReqFromType get fromType => $_getN(2); + @$pb.TagNumber(3) + set fromType(CampusReqFromType v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasFromType() => $_has(2); + @$pb.TagNumber(3) + void clearFromType() => clearField(3); +} + +/// 分享渠道组件 +class ShareChannel extends $pb.GeneratedMessage { + factory ShareChannel({ + $core.String? name, + $core.String? image, + $core.String? channel, + ShareReserve? reserve, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (image != null) { + $result.image = image; + } + if (channel != null) { + $result.channel = channel; + } + if (reserve != null) { + $result.reserve = reserve; + } + return $result; + } + ShareChannel._() : super(); + factory ShareChannel.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ShareChannel.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ShareChannel', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'image') + ..aOS(3, _omitFieldNames ? '' : 'channel') + ..aOM(4, _omitFieldNames ? '' : 'reserve', + subBuilder: ShareReserve.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') + ShareChannel clone() => ShareChannel()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ShareChannel copyWith(void Function(ShareChannel) updates) => + super.copyWith((message) => updates(message as ShareChannel)) + as ShareChannel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ShareChannel create() => ShareChannel._(); + ShareChannel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ShareChannel getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ShareChannel? _defaultInstance; + + /// 分享名称 + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// 分享按钮图片 + @$pb.TagNumber(2) + $core.String get image => $_getSZ(1); + @$pb.TagNumber(2) + set image($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasImage() => $_has(1); + @$pb.TagNumber(2) + void clearImage() => clearField(2); + + /// 分享渠道 + @$pb.TagNumber(3) + $core.String get channel => $_getSZ(2); + @$pb.TagNumber(3) + set channel($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasChannel() => $_has(2); + @$pb.TagNumber(3) + void clearChannel() => clearField(3); + + /// 预约卡分享图信息,仅分享有预约信息的动态时存在 + @$pb.TagNumber(4) + ShareReserve get reserve => $_getN(3); + @$pb.TagNumber(4) + set reserve(ShareReserve v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasReserve() => $_has(3); + @$pb.TagNumber(4) + void clearReserve() => clearField(4); + @$pb.TagNumber(4) + ShareReserve ensureReserve() => $_ensure(3); +} + +/// 预约卡分享图信息 +class ShareReserve extends $pb.GeneratedMessage { + factory ShareReserve({ + $core.String? title, + $core.String? desc, + $core.String? qrCodeIcon, + $core.String? qrCodeText, + $core.String? qrCodeUrl, + AdditionUserInfo? userInfo, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (desc != null) { + $result.desc = desc; + } + if (qrCodeIcon != null) { + $result.qrCodeIcon = qrCodeIcon; + } + if (qrCodeText != null) { + $result.qrCodeText = qrCodeText; + } + if (qrCodeUrl != null) { + $result.qrCodeUrl = qrCodeUrl; + } + if (userInfo != null) { + $result.userInfo = userInfo; + } + return $result; + } + ShareReserve._() : super(); + factory ShareReserve.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ShareReserve.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ShareReserve', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'desc') + ..aOS(3, _omitFieldNames ? '' : 'qrCodeIcon') + ..aOS(4, _omitFieldNames ? '' : 'qrCodeText') + ..aOS(5, _omitFieldNames ? '' : 'qrCodeUrl') + ..aOM(6, _omitFieldNames ? '' : 'userInfo', + subBuilder: AdditionUserInfo.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') + ShareReserve clone() => ShareReserve()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ShareReserve copyWith(void Function(ShareReserve) updates) => + super.copyWith((message) => updates(message as ShareReserve)) + as ShareReserve; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ShareReserve create() => ShareReserve._(); + ShareReserve createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ShareReserve getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ShareReserve? _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 desc => $_getSZ(1); + @$pb.TagNumber(2) + set desc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDesc() => $_has(1); + @$pb.TagNumber(2) + void clearDesc() => clearField(2); + + /// 二维码附带icon + @$pb.TagNumber(3) + $core.String get qrCodeIcon => $_getSZ(2); + @$pb.TagNumber(3) + set qrCodeIcon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasQrCodeIcon() => $_has(2); + @$pb.TagNumber(3) + void clearQrCodeIcon() => clearField(3); + + /// 二维码附带文本 + @$pb.TagNumber(4) + $core.String get qrCodeText => $_getSZ(3); + @$pb.TagNumber(4) + set qrCodeText($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasQrCodeText() => $_has(3); + @$pb.TagNumber(4) + void clearQrCodeText() => clearField(4); + + /// 二维码url + @$pb.TagNumber(5) + $core.String get qrCodeUrl => $_getSZ(4); + @$pb.TagNumber(5) + set qrCodeUrl($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasQrCodeUrl() => $_has(4); + @$pb.TagNumber(5) + void clearQrCodeUrl() => clearField(5); + + @$pb.TagNumber(6) + AdditionUserInfo get userInfo => $_getN(5); + @$pb.TagNumber(6) + set userInfo(AdditionUserInfo v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasUserInfo() => $_has(5); + @$pb.TagNumber(6) + void clearUserInfo() => clearField(6); + @$pb.TagNumber(6) + AdditionUserInfo ensureUserInfo() => $_ensure(5); +} + +/// 排序类型 +class SortType extends $pb.GeneratedMessage { + factory SortType({ + $core.int? sortType, + $core.String? sortTypeName, + }) { + final $result = create(); + if (sortType != null) { + $result.sortType = sortType; + } + if (sortTypeName != null) { + $result.sortTypeName = sortTypeName; + } + return $result; + } + SortType._() : super(); + factory SortType.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SortType.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SortType', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'sortType', $pb.PbFieldType.O3) + ..aOS(2, _omitFieldNames ? '' : 'sortTypeName') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SortType clone() => SortType()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SortType copyWith(void Function(SortType) updates) => + super.copyWith((message) => updates(message as SortType)) as SortType; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SortType create() => SortType._(); + SortType createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SortType getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SortType? _defaultInstance; + + /// 排序策略 + /// 1:推荐排序 2:最常访问 3:最近关注 + @$pb.TagNumber(1) + $core.int get sortType => $_getIZ(0); + @$pb.TagNumber(1) + set sortType($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasSortType() => $_has(0); + @$pb.TagNumber(1) + void clearSortType() => clearField(1); + + /// 排序策略名称 + @$pb.TagNumber(2) + $core.String get sortTypeName => $_getSZ(1); + @$pb.TagNumber(2) + set sortTypeName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasSortTypeName() => $_has(1); + @$pb.TagNumber(2) + void clearSortTypeName() => clearField(2); +} + +class StoryArchive extends $pb.GeneratedMessage { + factory StoryArchive({ + $core.String? cover, + $fixnum.Int64? aid, + $core.String? uri, + Dimension? dimension, + }) { + final $result = create(); + if (cover != null) { + $result.cover = cover; + } + if (aid != null) { + $result.aid = aid; + } + if (uri != null) { + $result.uri = uri; + } + if (dimension != null) { + $result.dimension = dimension; + } + return $result; + } + StoryArchive._() : super(); + factory StoryArchive.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory StoryArchive.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'StoryArchive', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'cover') + ..aInt64(2, _omitFieldNames ? '' : 'aid') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOM(4, _omitFieldNames ? '' : 'dimension', + subBuilder: Dimension.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') + StoryArchive clone() => StoryArchive()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StoryArchive copyWith(void Function(StoryArchive) updates) => + super.copyWith((message) => updates(message as StoryArchive)) + as StoryArchive; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static StoryArchive create() => StoryArchive._(); + StoryArchive createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static StoryArchive getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static StoryArchive? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get cover => $_getSZ(0); + @$pb.TagNumber(1) + set cover($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCover() => $_has(0); + @$pb.TagNumber(1) + void clearCover() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get aid => $_getI64(1); + @$pb.TagNumber(2) + set aid($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasAid() => $_has(1); + @$pb.TagNumber(2) + void clearAid() => clearField(2); + + @$pb.TagNumber(3) + $core.String get uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + @$pb.TagNumber(4) + Dimension get dimension => $_getN(3); + @$pb.TagNumber(4) + set dimension(Dimension v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasDimension() => $_has(3); + @$pb.TagNumber(4) + void clearDimension() => clearField(4); + @$pb.TagNumber(4) + Dimension ensureDimension() => $_ensure(3); +} + +enum StoryItem_RcmdItem { storyArchive, notSet } + +class StoryItem extends $pb.GeneratedMessage { + factory StoryItem({ + UserInfo? author, + $core.String? desc, + $fixnum.Int64? status, + $core.int? type, + StoryArchive? storyArchive, + }) { + final $result = create(); + if (author != null) { + $result.author = author; + } + if (desc != null) { + $result.desc = desc; + } + if (status != null) { + $result.status = status; + } + if (type != null) { + $result.type = type; + } + if (storyArchive != null) { + $result.storyArchive = storyArchive; + } + return $result; + } + StoryItem._() : super(); + factory StoryItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory StoryItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, StoryItem_RcmdItem> + _StoryItem_RcmdItemByTag = { + 5: StoryItem_RcmdItem.storyArchive, + 0: StoryItem_RcmdItem.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'StoryItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [5]) + ..aOM(1, _omitFieldNames ? '' : 'author', + subBuilder: UserInfo.create) + ..aOS(2, _omitFieldNames ? '' : 'desc') + ..aInt64(3, _omitFieldNames ? '' : 'status') + ..a<$core.int>(4, _omitFieldNames ? '' : 'type', $pb.PbFieldType.O3) + ..aOM(5, _omitFieldNames ? '' : 'storyArchive', + subBuilder: StoryArchive.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') + StoryItem clone() => StoryItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StoryItem copyWith(void Function(StoryItem) updates) => + super.copyWith((message) => updates(message as StoryItem)) as StoryItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static StoryItem create() => StoryItem._(); + StoryItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static StoryItem getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StoryItem? _defaultInstance; + + StoryItem_RcmdItem whichRcmdItem() => + _StoryItem_RcmdItemByTag[$_whichOneof(0)]!; + void clearRcmdItem() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + UserInfo get author => $_getN(0); + @$pb.TagNumber(1) + set author(UserInfo v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasAuthor() => $_has(0); + @$pb.TagNumber(1) + void clearAuthor() => clearField(1); + @$pb.TagNumber(1) + UserInfo ensureAuthor() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get desc => $_getSZ(1); + @$pb.TagNumber(2) + set desc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDesc() => $_has(1); + @$pb.TagNumber(2) + void clearDesc() => clearField(2); + + @$pb.TagNumber(3) + $fixnum.Int64 get status => $_getI64(2); + @$pb.TagNumber(3) + set status($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasStatus() => $_has(2); + @$pb.TagNumber(3) + void clearStatus() => clearField(3); + + @$pb.TagNumber(4) + $core.int get type => $_getIZ(3); + @$pb.TagNumber(4) + set type($core.int v) { + $_setSignedInt32(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasType() => $_has(3); + @$pb.TagNumber(4) + void clearType() => clearField(4); + + @$pb.TagNumber(5) + StoryArchive get storyArchive => $_getN(4); + @$pb.TagNumber(5) + set storyArchive(StoryArchive v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasStoryArchive() => $_has(4); + @$pb.TagNumber(5) + void clearStoryArchive() => clearField(5); + @$pb.TagNumber(5) + StoryArchive ensureStoryArchive() => $_ensure(4); +} + +class SubscribeCampusReq extends $pb.GeneratedMessage { + factory SubscribeCampusReq({ + $fixnum.Int64? campusId, + $core.String? campusName, + CampusReqFromType? fromType, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (campusName != null) { + $result.campusName = campusName; + } + if (fromType != null) { + $result.fromType = fromType; + } + return $result; + } + SubscribeCampusReq._() : super(); + factory SubscribeCampusReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory SubscribeCampusReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'SubscribeCampusReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'campusName') + ..e( + 3, _omitFieldNames ? '' : 'fromType', $pb.PbFieldType.OE, + defaultOrMaker: CampusReqFromType.DYNAMIC, + valueOf: CampusReqFromType.valueOf, + enumValues: CampusReqFromType.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') + SubscribeCampusReq clone() => SubscribeCampusReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SubscribeCampusReq copyWith(void Function(SubscribeCampusReq) updates) => + super.copyWith((message) => updates(message as SubscribeCampusReq)) + as SubscribeCampusReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SubscribeCampusReq create() => SubscribeCampusReq._(); + SubscribeCampusReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SubscribeCampusReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static SubscribeCampusReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get campusName => $_getSZ(1); + @$pb.TagNumber(2) + set campusName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasCampusName() => $_has(1); + @$pb.TagNumber(2) + void clearCampusName() => clearField(2); + + @$pb.TagNumber(3) + CampusReqFromType get fromType => $_getN(2); + @$pb.TagNumber(3) + set fromType(CampusReqFromType v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasFromType() => $_has(2); + @$pb.TagNumber(3) + void clearFromType() => clearField(3); +} + +enum TextNode_Text { word, emote, link, notSet } + +class TextNode extends $pb.GeneratedMessage { + factory TextNode({ + TextNode_TextNodeType? nodeType, + $core.String? rawText, + WordNode? word, + EmoteNode? emote, + LinkNode? link, + }) { + final $result = create(); + if (nodeType != null) { + $result.nodeType = nodeType; + } + if (rawText != null) { + $result.rawText = rawText; + } + if (word != null) { + $result.word = word; + } + if (emote != null) { + $result.emote = emote; + } + if (link != null) { + $result.link = link; + } + return $result; + } + TextNode._() : super(); + factory TextNode.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TextNode.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, TextNode_Text> _TextNode_TextByTag = { + 3: TextNode_Text.word, + 4: TextNode_Text.emote, + 5: TextNode_Text.link, + 0: TextNode_Text.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TextNode', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [3, 4, 5]) + ..e( + 1, _omitFieldNames ? '' : 'nodeType', $pb.PbFieldType.OE, + defaultOrMaker: TextNode_TextNodeType.INVALID, + valueOf: TextNode_TextNodeType.valueOf, + enumValues: TextNode_TextNodeType.values) + ..aOS(2, _omitFieldNames ? '' : 'rawText') + ..aOM(3, _omitFieldNames ? '' : 'word', + subBuilder: WordNode.create) + ..aOM(4, _omitFieldNames ? '' : 'emote', + subBuilder: EmoteNode.create) + ..aOM(5, _omitFieldNames ? '' : 'link', + subBuilder: LinkNode.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') + TextNode clone() => TextNode()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TextNode copyWith(void Function(TextNode) updates) => + super.copyWith((message) => updates(message as TextNode)) as TextNode; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TextNode create() => TextNode._(); + TextNode createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TextNode getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TextNode? _defaultInstance; + + TextNode_Text whichText() => _TextNode_TextByTag[$_whichOneof(0)]!; + void clearText() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + TextNode_TextNodeType get nodeType => $_getN(0); + @$pb.TagNumber(1) + set nodeType(TextNode_TextNodeType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasNodeType() => $_has(0); + @$pb.TagNumber(1) + void clearNodeType() => clearField(1); + + @$pb.TagNumber(2) + $core.String get rawText => $_getSZ(1); + @$pb.TagNumber(2) + set rawText($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasRawText() => $_has(1); + @$pb.TagNumber(2) + void clearRawText() => clearField(2); + + @$pb.TagNumber(3) + WordNode get word => $_getN(2); + @$pb.TagNumber(3) + set word(WordNode v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasWord() => $_has(2); + @$pb.TagNumber(3) + void clearWord() => clearField(3); + @$pb.TagNumber(3) + WordNode ensureWord() => $_ensure(2); + + @$pb.TagNumber(4) + EmoteNode get emote => $_getN(3); + @$pb.TagNumber(4) + set emote(EmoteNode v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasEmote() => $_has(3); + @$pb.TagNumber(4) + void clearEmote() => clearField(4); + @$pb.TagNumber(4) + EmoteNode ensureEmote() => $_ensure(3); + + @$pb.TagNumber(5) + LinkNode get link => $_getN(4); + @$pb.TagNumber(5) + set link(LinkNode v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasLink() => $_has(4); + @$pb.TagNumber(5) + void clearLink() => clearField(5); + @$pb.TagNumber(5) + LinkNode ensureLink() => $_ensure(4); +} + +class TextParagraph extends $pb.GeneratedMessage { + factory TextParagraph({ + $core.Iterable? nodes, + }) { + final $result = create(); + if (nodes != null) { + $result.nodes.addAll(nodes); + } + return $result; + } + TextParagraph._() : super(); + factory TextParagraph.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TextParagraph.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TextParagraph', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'nodes', $pb.PbFieldType.PM, + subBuilder: TextNode.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') + TextParagraph clone() => TextParagraph()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TextParagraph copyWith(void Function(TextParagraph) updates) => + super.copyWith((message) => updates(message as TextParagraph)) + as TextParagraph; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TextParagraph create() => TextParagraph._(); + TextParagraph createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TextParagraph getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TextParagraph? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get nodes => $_getList(0); +} + +class TextWithPriority extends $pb.GeneratedMessage { + factory TextWithPriority({ + $core.String? text, + $fixnum.Int64? priority, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + if (priority != null) { + $result.priority = priority; + } + return $result; + } + TextWithPriority._() : super(); + factory TextWithPriority.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TextWithPriority.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TextWithPriority', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..aInt64(2, _omitFieldNames ? '' : 'priority') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TextWithPriority clone() => TextWithPriority()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TextWithPriority copyWith(void Function(TextWithPriority) updates) => + super.copyWith((message) => updates(message as TextWithPriority)) + as TextWithPriority; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TextWithPriority create() => TextWithPriority._(); + TextWithPriority createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TextWithPriority getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TextWithPriority? _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); + + @$pb.TagNumber(2) + $fixnum.Int64 get priority => $_getI64(1); + @$pb.TagNumber(2) + set priority($fixnum.Int64 v) { + $_setInt64(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasPriority() => $_has(1); + @$pb.TagNumber(2) + void clearPriority() => clearField(2); +} + +/// 三点-关注 +class ThreePointAttention extends $pb.GeneratedMessage { + factory ThreePointAttention({ + $core.String? attentionIcon, + $core.String? attentionText, + $core.String? notAttentionIcon, + $core.String? notAttentionText, + ThreePointAttentionStatus? status, + }) { + final $result = create(); + if (attentionIcon != null) { + $result.attentionIcon = attentionIcon; + } + if (attentionText != null) { + $result.attentionText = attentionText; + } + if (notAttentionIcon != null) { + $result.notAttentionIcon = notAttentionIcon; + } + if (notAttentionText != null) { + $result.notAttentionText = notAttentionText; + } + if (status != null) { + $result.status = status; + } + return $result; + } + ThreePointAttention._() : super(); + factory ThreePointAttention.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointAttention.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointAttention', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'attentionIcon') + ..aOS(2, _omitFieldNames ? '' : 'attentionText') + ..aOS(3, _omitFieldNames ? '' : 'notAttentionIcon') + ..aOS(4, _omitFieldNames ? '' : 'notAttentionText') + ..e( + 5, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, + defaultOrMaker: ThreePointAttentionStatus.tp_not_attention, + valueOf: ThreePointAttentionStatus.valueOf, + enumValues: ThreePointAttentionStatus.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') + ThreePointAttention clone() => ThreePointAttention()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointAttention copyWith(void Function(ThreePointAttention) updates) => + super.copyWith((message) => updates(message as ThreePointAttention)) + as ThreePointAttention; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointAttention create() => ThreePointAttention._(); + ThreePointAttention createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointAttention getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointAttention? _defaultInstance; + + /// attention icon + @$pb.TagNumber(1) + $core.String get attentionIcon => $_getSZ(0); + @$pb.TagNumber(1) + set attentionIcon($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasAttentionIcon() => $_has(0); + @$pb.TagNumber(1) + void clearAttentionIcon() => clearField(1); + + /// 关注时显示的文案 + @$pb.TagNumber(2) + $core.String get attentionText => $_getSZ(1); + @$pb.TagNumber(2) + set attentionText($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasAttentionText() => $_has(1); + @$pb.TagNumber(2) + void clearAttentionText() => clearField(2); + + /// not attention icon + @$pb.TagNumber(3) + $core.String get notAttentionIcon => $_getSZ(2); + @$pb.TagNumber(3) + set notAttentionIcon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasNotAttentionIcon() => $_has(2); + @$pb.TagNumber(3) + void clearNotAttentionIcon() => clearField(3); + + /// 未关注时显示的文案 + @$pb.TagNumber(4) + $core.String get notAttentionText => $_getSZ(3); + @$pb.TagNumber(4) + set notAttentionText($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasNotAttentionText() => $_has(3); + @$pb.TagNumber(4) + void clearNotAttentionText() => clearField(4); + + /// 当前关注状态 + @$pb.TagNumber(5) + ThreePointAttentionStatus get status => $_getN(4); + @$pb.TagNumber(5) + set status(ThreePointAttentionStatus v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasStatus() => $_has(4); + @$pb.TagNumber(5) + void clearStatus() => clearField(5); +} + +/// 三点-自动播放 旧版不维护 +class ThreePointAutoPlay extends $pb.GeneratedMessage { + factory ThreePointAutoPlay({ + $core.String? openIcon, + $core.String? openText, + $core.String? closeIcon, + $core.String? closeText, + $core.String? openTextV2, + $core.String? closeTextV2, + $core.String? onlyIcon, + $core.String? onlyText, + $core.String? openIconV2, + $core.String? closeIconV2, + }) { + final $result = create(); + if (openIcon != null) { + $result.openIcon = openIcon; + } + if (openText != null) { + $result.openText = openText; + } + if (closeIcon != null) { + $result.closeIcon = closeIcon; + } + if (closeText != null) { + $result.closeText = closeText; + } + if (openTextV2 != null) { + $result.openTextV2 = openTextV2; + } + if (closeTextV2 != null) { + $result.closeTextV2 = closeTextV2; + } + if (onlyIcon != null) { + $result.onlyIcon = onlyIcon; + } + if (onlyText != null) { + $result.onlyText = onlyText; + } + if (openIconV2 != null) { + $result.openIconV2 = openIconV2; + } + if (closeIconV2 != null) { + $result.closeIconV2 = closeIconV2; + } + return $result; + } + ThreePointAutoPlay._() : super(); + factory ThreePointAutoPlay.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointAutoPlay.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointAutoPlay', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'openIcon') + ..aOS(2, _omitFieldNames ? '' : 'openText') + ..aOS(3, _omitFieldNames ? '' : 'closeIcon') + ..aOS(4, _omitFieldNames ? '' : 'closeText') + ..aOS(5, _omitFieldNames ? '' : 'openTextV2') + ..aOS(6, _omitFieldNames ? '' : 'closeTextV2') + ..aOS(7, _omitFieldNames ? '' : 'onlyIcon') + ..aOS(8, _omitFieldNames ? '' : 'onlyText') + ..aOS(9, _omitFieldNames ? '' : 'openIconV2') + ..aOS(10, _omitFieldNames ? '' : 'closeIconV2') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ThreePointAutoPlay clone() => ThreePointAutoPlay()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointAutoPlay copyWith(void Function(ThreePointAutoPlay) updates) => + super.copyWith((message) => updates(message as ThreePointAutoPlay)) + as ThreePointAutoPlay; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointAutoPlay create() => ThreePointAutoPlay._(); + ThreePointAutoPlay createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointAutoPlay getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointAutoPlay? _defaultInstance; + + /// open icon + @$pb.TagNumber(1) + $core.String get openIcon => $_getSZ(0); + @$pb.TagNumber(1) + set openIcon($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasOpenIcon() => $_has(0); + @$pb.TagNumber(1) + void clearOpenIcon() => clearField(1); + + /// 开启时显示文案 + @$pb.TagNumber(2) + $core.String get openText => $_getSZ(1); + @$pb.TagNumber(2) + set openText($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOpenText() => $_has(1); + @$pb.TagNumber(2) + void clearOpenText() => clearField(2); + + /// close icon + @$pb.TagNumber(3) + $core.String get closeIcon => $_getSZ(2); + @$pb.TagNumber(3) + set closeIcon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCloseIcon() => $_has(2); + @$pb.TagNumber(3) + void clearCloseIcon() => clearField(3); + + /// 关闭时显示文案 + @$pb.TagNumber(4) + $core.String get closeText => $_getSZ(3); + @$pb.TagNumber(4) + set closeText($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasCloseText() => $_has(3); + @$pb.TagNumber(4) + void clearCloseText() => clearField(4); + + /// 开启时显示文案v2 + @$pb.TagNumber(5) + $core.String get openTextV2 => $_getSZ(4); + @$pb.TagNumber(5) + set openTextV2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasOpenTextV2() => $_has(4); + @$pb.TagNumber(5) + void clearOpenTextV2() => clearField(5); + + /// 关闭时显示文案v2 + @$pb.TagNumber(6) + $core.String get closeTextV2 => $_getSZ(5); + @$pb.TagNumber(6) + set closeTextV2($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCloseTextV2() => $_has(5); + @$pb.TagNumber(6) + void clearCloseTextV2() => clearField(6); + + /// 仅wifi/免流 icon + @$pb.TagNumber(7) + $core.String get onlyIcon => $_getSZ(6); + @$pb.TagNumber(7) + set onlyIcon($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasOnlyIcon() => $_has(6); + @$pb.TagNumber(7) + void clearOnlyIcon() => clearField(7); + + /// 仅wifi/免流 文案 + @$pb.TagNumber(8) + $core.String get onlyText => $_getSZ(7); + @$pb.TagNumber(8) + set onlyText($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasOnlyText() => $_has(7); + @$pb.TagNumber(8) + void clearOnlyText() => clearField(8); + + /// open icon v2 + @$pb.TagNumber(9) + $core.String get openIconV2 => $_getSZ(8); + @$pb.TagNumber(9) + set openIconV2($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasOpenIconV2() => $_has(8); + @$pb.TagNumber(9) + void clearOpenIconV2() => clearField(9); + + /// close icon v2 + @$pb.TagNumber(10) + $core.String get closeIconV2 => $_getSZ(9); + @$pb.TagNumber(10) + set closeIconV2($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasCloseIconV2() => $_has(9); + @$pb.TagNumber(10) + void clearCloseIconV2() => clearField(10); +} + +/// 三点-评论 +class ThreePointComment extends $pb.GeneratedMessage { + factory ThreePointComment({ + CommentDetail? upSelection, + CommentDetail? upClose, + $core.String? icon, + $core.String? title, + }) { + final $result = create(); + if (upSelection != null) { + $result.upSelection = upSelection; + } + if (upClose != null) { + $result.upClose = upClose; + } + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + return $result; + } + ThreePointComment._() : super(); + factory ThreePointComment.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointComment.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointComment', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'upSelection', + subBuilder: CommentDetail.create) + ..aOM(2, _omitFieldNames ? '' : 'upClose', + subBuilder: CommentDetail.create) + ..aOS(3, _omitFieldNames ? '' : 'icon') + ..aOS(4, _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') + ThreePointComment clone() => ThreePointComment()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointComment copyWith(void Function(ThreePointComment) updates) => + super.copyWith((message) => updates(message as ThreePointComment)) + as ThreePointComment; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointComment create() => ThreePointComment._(); + ThreePointComment createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointComment getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointComment? _defaultInstance; + + /// 精选评论区功能 + @$pb.TagNumber(1) + CommentDetail get upSelection => $_getN(0); + @$pb.TagNumber(1) + set upSelection(CommentDetail v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasUpSelection() => $_has(0); + @$pb.TagNumber(1) + void clearUpSelection() => clearField(1); + @$pb.TagNumber(1) + CommentDetail ensureUpSelection() => $_ensure(0); + + /// up关闭评论区功能 + @$pb.TagNumber(2) + CommentDetail get upClose => $_getN(1); + @$pb.TagNumber(2) + set upClose(CommentDetail v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasUpClose() => $_has(1); + @$pb.TagNumber(2) + void clearUpClose() => clearField(2); + @$pb.TagNumber(2) + CommentDetail ensureUpClose() => $_ensure(1); + + /// icon + @$pb.TagNumber(3) + $core.String get icon => $_getSZ(2); + @$pb.TagNumber(3) + set icon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIcon() => $_has(2); + @$pb.TagNumber(3) + void clearIcon() => clearField(3); + + /// 标题 + @$pb.TagNumber(4) + $core.String get title => $_getSZ(3); + @$pb.TagNumber(4) + set title($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTitle() => $_has(3); + @$pb.TagNumber(4) + void clearTitle() => clearField(4); +} + +/// 三点-默认结构(使用此背景、举报、删除) +class ThreePointDefault extends $pb.GeneratedMessage { + factory ThreePointDefault({ + $core.String? icon, + $core.String? title, + $core.String? uri, + $core.String? id, + ThreePointDefaultToast? toast, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + if (uri != null) { + $result.uri = uri; + } + if (id != null) { + $result.id = id; + } + if (toast != null) { + $result.toast = toast; + } + return $result; + } + ThreePointDefault._() : super(); + factory ThreePointDefault.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointDefault.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointDefault', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'uri') + ..aOS(4, _omitFieldNames ? '' : 'id') + ..aOM(5, _omitFieldNames ? '' : 'toast', + subBuilder: ThreePointDefaultToast.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') + ThreePointDefault clone() => ThreePointDefault()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointDefault copyWith(void Function(ThreePointDefault) updates) => + super.copyWith((message) => updates(message as ThreePointDefault)) + as ThreePointDefault; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointDefault create() => ThreePointDefault._(); + ThreePointDefault createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointDefault getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointDefault? _defaultInstance; + + /// icon + @$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 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 uri => $_getSZ(2); + @$pb.TagNumber(3) + set uri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasUri() => $_has(2); + @$pb.TagNumber(3) + void clearUri() => clearField(3); + + /// id + @$pb.TagNumber(4) + $core.String get id => $_getSZ(3); + @$pb.TagNumber(4) + set id($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasId() => $_has(3); + @$pb.TagNumber(4) + void clearId() => clearField(4); + + @$pb.TagNumber(5) + ThreePointDefaultToast get toast => $_getN(4); + @$pb.TagNumber(5) + set toast(ThreePointDefaultToast v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasToast() => $_has(4); + @$pb.TagNumber(5) + void clearToast() => clearField(5); + @$pb.TagNumber(5) + ThreePointDefaultToast ensureToast() => $_ensure(4); +} + +class ThreePointDefaultToast extends $pb.GeneratedMessage { + factory ThreePointDefaultToast({ + $core.String? title, + $core.String? desc, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (desc != null) { + $result.desc = desc; + } + return $result; + } + ThreePointDefaultToast._() : super(); + factory ThreePointDefaultToast.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointDefaultToast.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointDefaultToast', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'desc') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ThreePointDefaultToast clone() => + ThreePointDefaultToast()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointDefaultToast copyWith( + void Function(ThreePointDefaultToast) updates) => + super.copyWith((message) => updates(message as ThreePointDefaultToast)) + as ThreePointDefaultToast; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointDefaultToast create() => ThreePointDefaultToast._(); + ThreePointDefaultToast createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointDefaultToast getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointDefaultToast? _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 desc => $_getSZ(1); + @$pb.TagNumber(2) + set desc($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasDesc() => $_has(1); + @$pb.TagNumber(2) + void clearDesc() => clearField(2); +} + +/// 三点-不感兴趣 +class ThreePointDislike extends $pb.GeneratedMessage { + factory ThreePointDislike({ + $core.String? icon, + $core.String? title, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + return $result; + } + ThreePointDislike._() : super(); + factory ThreePointDislike.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointDislike.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointDislike', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..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') + ThreePointDislike clone() => ThreePointDislike()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointDislike copyWith(void Function(ThreePointDislike) updates) => + super.copyWith((message) => updates(message as ThreePointDislike)) + as ThreePointDislike; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointDislike create() => ThreePointDislike._(); + ThreePointDislike createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointDislike getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointDislike? _defaultInstance; + + /// icon + @$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 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 ThreePointFavorite extends $pb.GeneratedMessage { + factory ThreePointFavorite({ + $core.String? icon, + $core.String? title, + $fixnum.Int64? id, + $core.bool? isFavourite, + $core.String? cancelIcon, + $core.String? cancelTitle, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + if (id != null) { + $result.id = id; + } + if (isFavourite != null) { + $result.isFavourite = isFavourite; + } + if (cancelIcon != null) { + $result.cancelIcon = cancelIcon; + } + if (cancelTitle != null) { + $result.cancelTitle = cancelTitle; + } + return $result; + } + ThreePointFavorite._() : super(); + factory ThreePointFavorite.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointFavorite.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointFavorite', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aInt64(3, _omitFieldNames ? '' : 'id') + ..aOB(4, _omitFieldNames ? '' : 'isFavourite') + ..aOS(5, _omitFieldNames ? '' : 'cancelIcon') + ..aOS(6, _omitFieldNames ? '' : 'cancelTitle') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ThreePointFavorite clone() => ThreePointFavorite()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointFavorite copyWith(void Function(ThreePointFavorite) updates) => + super.copyWith((message) => updates(message as ThreePointFavorite)) + as ThreePointFavorite; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointFavorite create() => ThreePointFavorite._(); + ThreePointFavorite createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointFavorite getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointFavorite? _defaultInstance; + + /// icon + @$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 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); + + /// 物料ID + @$pb.TagNumber(3) + $fixnum.Int64 get id => $_getI64(2); + @$pb.TagNumber(3) + set id($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasId() => $_has(2); + @$pb.TagNumber(3) + void clearId() => clearField(3); + + /// 是否订阅 + @$pb.TagNumber(4) + $core.bool get isFavourite => $_getBF(3); + @$pb.TagNumber(4) + set isFavourite($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasIsFavourite() => $_has(3); + @$pb.TagNumber(4) + void clearIsFavourite() => clearField(4); + + /// 取消收藏图标 + @$pb.TagNumber(5) + $core.String get cancelIcon => $_getSZ(4); + @$pb.TagNumber(5) + set cancelIcon($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasCancelIcon() => $_has(4); + @$pb.TagNumber(5) + void clearCancelIcon() => clearField(5); + + /// 取消收藏文案 + @$pb.TagNumber(6) + $core.String get cancelTitle => $_getSZ(5); + @$pb.TagNumber(6) + set cancelTitle($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasCancelTitle() => $_has(5); + @$pb.TagNumber(6) + void clearCancelTitle() => clearField(6); +} + +class ThreePointHide extends $pb.GeneratedMessage { + factory ThreePointHide({ + $core.String? icon, + $core.String? title, + ThreePointHideInteractive? interactive, + $fixnum.Int64? blookFid, + $core.String? blookType, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + if (interactive != null) { + $result.interactive = interactive; + } + if (blookFid != null) { + $result.blookFid = blookFid; + } + if (blookType != null) { + $result.blookType = blookType; + } + return $result; + } + ThreePointHide._() : super(); + factory ThreePointHide.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointHide.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointHide', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOM(3, _omitFieldNames ? '' : 'interactive', + subBuilder: ThreePointHideInteractive.create) + ..aInt64(4, _omitFieldNames ? '' : 'blookFid') + ..aOS(5, _omitFieldNames ? '' : 'blookType') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ThreePointHide clone() => ThreePointHide()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointHide copyWith(void Function(ThreePointHide) updates) => + super.copyWith((message) => updates(message as ThreePointHide)) + as ThreePointHide; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointHide create() => ThreePointHide._(); + ThreePointHide createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointHide getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointHide? _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 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) + ThreePointHideInteractive get interactive => $_getN(2); + @$pb.TagNumber(3) + set interactive(ThreePointHideInteractive v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasInteractive() => $_has(2); + @$pb.TagNumber(3) + void clearInteractive() => clearField(3); + @$pb.TagNumber(3) + ThreePointHideInteractive ensureInteractive() => $_ensure(2); + + @$pb.TagNumber(4) + $fixnum.Int64 get blookFid => $_getI64(3); + @$pb.TagNumber(4) + set blookFid($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasBlookFid() => $_has(3); + @$pb.TagNumber(4) + void clearBlookFid() => clearField(4); + + @$pb.TagNumber(5) + $core.String get blookType => $_getSZ(4); + @$pb.TagNumber(5) + set blookType($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasBlookType() => $_has(4); + @$pb.TagNumber(5) + void clearBlookType() => clearField(5); +} + +class ThreePointHideInteractive extends $pb.GeneratedMessage { + factory ThreePointHideInteractive({ + $core.String? title, + $core.String? confirm, + $core.String? cancel, + $core.String? toast, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (confirm != null) { + $result.confirm = confirm; + } + if (cancel != null) { + $result.cancel = cancel; + } + if (toast != null) { + $result.toast = toast; + } + return $result; + } + ThreePointHideInteractive._() : super(); + factory ThreePointHideInteractive.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointHideInteractive.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointHideInteractive', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'confirm') + ..aOS(3, _omitFieldNames ? '' : 'cancel') + ..aOS(4, _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') + ThreePointHideInteractive clone() => + ThreePointHideInteractive()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointHideInteractive copyWith( + void Function(ThreePointHideInteractive) updates) => + super.copyWith((message) => updates(message as ThreePointHideInteractive)) + as ThreePointHideInteractive; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointHideInteractive create() => ThreePointHideInteractive._(); + ThreePointHideInteractive createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointHideInteractive getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointHideInteractive? _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 confirm => $_getSZ(1); + @$pb.TagNumber(2) + set confirm($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasConfirm() => $_has(1); + @$pb.TagNumber(2) + void clearConfirm() => clearField(2); + + @$pb.TagNumber(3) + $core.String get cancel => $_getSZ(2); + @$pb.TagNumber(3) + set cancel($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasCancel() => $_has(2); + @$pb.TagNumber(3) + void clearCancel() => clearField(3); + + @$pb.TagNumber(4) + $core.String get toast => $_getSZ(3); + @$pb.TagNumber(4) + set toast($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasToast() => $_has(3); + @$pb.TagNumber(4) + void clearToast() => clearField(4); +} + +enum ThreePointItem_Item { + default_2, + autoPlayer, + share, + attention, + wait, + dislike, + favorite, + top, + comment, + hide, + topicIrrelevant, + notSet +} + +/// 三点Item +class ThreePointItem extends $pb.GeneratedMessage { + factory ThreePointItem({ + ThreePointType? type, + ThreePointDefault? default_2, + ThreePointAutoPlay? autoPlayer, + ThreePointShare? share, + ThreePointAttention? attention, + ThreePointWait? wait, + ThreePointDislike? dislike, + ThreePointFavorite? favorite, + ThreePointTop? top, + ThreePointComment? comment, + ThreePointHide? hide, + ThreePointTopicIrrelevant? topicIrrelevant, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (default_2 != null) { + $result.default_2 = default_2; + } + if (autoPlayer != null) { + $result.autoPlayer = autoPlayer; + } + if (share != null) { + $result.share = share; + } + if (attention != null) { + $result.attention = attention; + } + if (wait != null) { + $result.wait = wait; + } + if (dislike != null) { + $result.dislike = dislike; + } + if (favorite != null) { + $result.favorite = favorite; + } + if (top != null) { + $result.top = top; + } + if (comment != null) { + $result.comment = comment; + } + if (hide != null) { + $result.hide = hide; + } + if (topicIrrelevant != null) { + $result.topicIrrelevant = topicIrrelevant; + } + return $result; + } + ThreePointItem._() : super(); + factory ThreePointItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, ThreePointItem_Item> + _ThreePointItem_ItemByTag = { + 2: ThreePointItem_Item.default_2, + 3: ThreePointItem_Item.autoPlayer, + 4: ThreePointItem_Item.share, + 5: ThreePointItem_Item.attention, + 6: ThreePointItem_Item.wait, + 7: ThreePointItem_Item.dislike, + 8: ThreePointItem_Item.favorite, + 9: ThreePointItem_Item.top, + 10: ThreePointItem_Item.comment, + 11: ThreePointItem_Item.hide, + 12: ThreePointItem_Item.topicIrrelevant, + 0: ThreePointItem_Item.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: ThreePointType.tp_none, + valueOf: ThreePointType.valueOf, + enumValues: ThreePointType.values) + ..aOM(2, _omitFieldNames ? '' : 'default', + subBuilder: ThreePointDefault.create) + ..aOM(3, _omitFieldNames ? '' : 'autoPlayer', + subBuilder: ThreePointAutoPlay.create) + ..aOM(4, _omitFieldNames ? '' : 'share', + subBuilder: ThreePointShare.create) + ..aOM(5, _omitFieldNames ? '' : 'attention', + subBuilder: ThreePointAttention.create) + ..aOM(6, _omitFieldNames ? '' : 'wait', + subBuilder: ThreePointWait.create) + ..aOM(7, _omitFieldNames ? '' : 'dislike', + subBuilder: ThreePointDislike.create) + ..aOM(8, _omitFieldNames ? '' : 'favorite', + subBuilder: ThreePointFavorite.create) + ..aOM(9, _omitFieldNames ? '' : 'top', + subBuilder: ThreePointTop.create) + ..aOM(10, _omitFieldNames ? '' : 'comment', + subBuilder: ThreePointComment.create) + ..aOM(11, _omitFieldNames ? '' : 'hide', + subBuilder: ThreePointHide.create) + ..aOM( + 12, _omitFieldNames ? '' : 'topicIrrelevant', + subBuilder: ThreePointTopicIrrelevant.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') + ThreePointItem clone() => ThreePointItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointItem copyWith(void Function(ThreePointItem) updates) => + super.copyWith((message) => updates(message as ThreePointItem)) + as ThreePointItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointItem create() => ThreePointItem._(); + ThreePointItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointItem? _defaultInstance; + + ThreePointItem_Item whichItem() => + _ThreePointItem_ItemByTag[$_whichOneof(0)]!; + void clearItem() => clearField($_whichOneof(0)); + + /// 类型 + @$pb.TagNumber(1) + ThreePointType get type => $_getN(0); + @$pb.TagNumber(1) + set type(ThreePointType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + /// 默认结构 + @$pb.TagNumber(2) + ThreePointDefault get default_2 => $_getN(1); + @$pb.TagNumber(2) + set default_2(ThreePointDefault v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasDefault_2() => $_has(1); + @$pb.TagNumber(2) + void clearDefault_2() => clearField(2); + @$pb.TagNumber(2) + ThreePointDefault ensureDefault_2() => $_ensure(1); + + /// 自动播放 + @$pb.TagNumber(3) + ThreePointAutoPlay get autoPlayer => $_getN(2); + @$pb.TagNumber(3) + set autoPlayer(ThreePointAutoPlay v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasAutoPlayer() => $_has(2); + @$pb.TagNumber(3) + void clearAutoPlayer() => clearField(3); + @$pb.TagNumber(3) + ThreePointAutoPlay ensureAutoPlayer() => $_ensure(2); + + /// 分享 + @$pb.TagNumber(4) + ThreePointShare get share => $_getN(3); + @$pb.TagNumber(4) + set share(ThreePointShare v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasShare() => $_has(3); + @$pb.TagNumber(4) + void clearShare() => clearField(4); + @$pb.TagNumber(4) + ThreePointShare ensureShare() => $_ensure(3); + + /// 关注 + @$pb.TagNumber(5) + ThreePointAttention get attention => $_getN(4); + @$pb.TagNumber(5) + set attention(ThreePointAttention v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasAttention() => $_has(4); + @$pb.TagNumber(5) + void clearAttention() => clearField(5); + @$pb.TagNumber(5) + ThreePointAttention ensureAttention() => $_ensure(4); + + /// 稍后在看 + @$pb.TagNumber(6) + ThreePointWait get wait => $_getN(5); + @$pb.TagNumber(6) + set wait(ThreePointWait v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasWait() => $_has(5); + @$pb.TagNumber(6) + void clearWait() => clearField(6); + @$pb.TagNumber(6) + ThreePointWait ensureWait() => $_ensure(5); + + /// 不感兴趣 + @$pb.TagNumber(7) + ThreePointDislike get dislike => $_getN(6); + @$pb.TagNumber(7) + set dislike(ThreePointDislike v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasDislike() => $_has(6); + @$pb.TagNumber(7) + void clearDislike() => clearField(7); + @$pb.TagNumber(7) + ThreePointDislike ensureDislike() => $_ensure(6); + + /// 收藏 + @$pb.TagNumber(8) + ThreePointFavorite get favorite => $_getN(7); + @$pb.TagNumber(8) + set favorite(ThreePointFavorite v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasFavorite() => $_has(7); + @$pb.TagNumber(8) + void clearFavorite() => clearField(8); + @$pb.TagNumber(8) + ThreePointFavorite ensureFavorite() => $_ensure(7); + + /// 置顶 + @$pb.TagNumber(9) + ThreePointTop get top => $_getN(8); + @$pb.TagNumber(9) + set top(ThreePointTop v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasTop() => $_has(8); + @$pb.TagNumber(9) + void clearTop() => clearField(9); + @$pb.TagNumber(9) + ThreePointTop ensureTop() => $_ensure(8); + + /// 评论 + @$pb.TagNumber(10) + ThreePointComment get comment => $_getN(9); + @$pb.TagNumber(10) + set comment(ThreePointComment v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasComment() => $_has(9); + @$pb.TagNumber(10) + void clearComment() => clearField(10); + @$pb.TagNumber(10) + ThreePointComment ensureComment() => $_ensure(9); + + @$pb.TagNumber(11) + ThreePointHide get hide => $_getN(10); + @$pb.TagNumber(11) + set hide(ThreePointHide v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasHide() => $_has(10); + @$pb.TagNumber(11) + void clearHide() => clearField(11); + @$pb.TagNumber(11) + ThreePointHide ensureHide() => $_ensure(10); + + @$pb.TagNumber(12) + ThreePointTopicIrrelevant get topicIrrelevant => $_getN(11); + @$pb.TagNumber(12) + set topicIrrelevant(ThreePointTopicIrrelevant v) { + setField(12, v); + } + + @$pb.TagNumber(12) + $core.bool hasTopicIrrelevant() => $_has(11); + @$pb.TagNumber(12) + void clearTopicIrrelevant() => clearField(12); + @$pb.TagNumber(12) + ThreePointTopicIrrelevant ensureTopicIrrelevant() => $_ensure(11); +} + +/// 三点-分享 +class ThreePointShare extends $pb.GeneratedMessage { + factory ThreePointShare({ + $core.String? icon, + $core.String? title, + $core.Iterable? channel, + $core.String? channelName, + ShareReserve? reserve, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + if (channel != null) { + $result.channel.addAll(channel); + } + if (channelName != null) { + $result.channelName = channelName; + } + if (reserve != null) { + $result.reserve = reserve; + } + return $result; + } + ThreePointShare._() : super(); + factory ThreePointShare.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointShare.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointShare', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..pc( + 3, _omitFieldNames ? '' : 'channel', $pb.PbFieldType.PM, + subBuilder: ThreePointShareChannel.create) + ..aOS(4, _omitFieldNames ? '' : 'channelName') + ..aOM(5, _omitFieldNames ? '' : 'reserve', + subBuilder: ShareReserve.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') + ThreePointShare clone() => ThreePointShare()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointShare copyWith(void Function(ThreePointShare) updates) => + super.copyWith((message) => updates(message as ThreePointShare)) + as ThreePointShare; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointShare create() => ThreePointShare._(); + ThreePointShare createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointShare getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointShare? _defaultInstance; + + /// icon + @$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 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.List get channel => $_getList(2); + + /// 分享渠道名 + @$pb.TagNumber(4) + $core.String get channelName => $_getSZ(3); + @$pb.TagNumber(4) + set channelName($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasChannelName() => $_has(3); + @$pb.TagNumber(4) + void clearChannelName() => clearField(4); + + /// 预约卡分享图信息,仅分享有预约信息的动态时存在 + @$pb.TagNumber(5) + ShareReserve get reserve => $_getN(4); + @$pb.TagNumber(5) + set reserve(ShareReserve v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasReserve() => $_has(4); + @$pb.TagNumber(5) + void clearReserve() => clearField(5); + @$pb.TagNumber(5) + ShareReserve ensureReserve() => $_ensure(4); +} + +/// 三点-分享渠道 +class ThreePointShareChannel extends $pb.GeneratedMessage { + factory ThreePointShareChannel({ + $core.String? icon, + $core.String? title, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + return $result; + } + ThreePointShareChannel._() : super(); + factory ThreePointShareChannel.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointShareChannel.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointShareChannel', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..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') + ThreePointShareChannel clone() => + ThreePointShareChannel()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointShareChannel copyWith( + void Function(ThreePointShareChannel) updates) => + super.copyWith((message) => updates(message as ThreePointShareChannel)) + as ThreePointShareChannel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointShareChannel create() => ThreePointShareChannel._(); + ThreePointShareChannel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointShareChannel getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointShareChannel? _defaultInstance; + + /// icon + @$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 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 ThreePointTop extends $pb.GeneratedMessage { + factory ThreePointTop({ + $core.String? icon, + $core.String? title, + TopType? type, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + if (type != null) { + $result.type = type; + } + return $result; + } + ThreePointTop._() : super(); + factory ThreePointTop.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointTop.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointTop', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..e(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: TopType.top_none, + valueOf: TopType.valueOf, + enumValues: TopType.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') + ThreePointTop clone() => ThreePointTop()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointTop copyWith(void Function(ThreePointTop) updates) => + super.copyWith((message) => updates(message as ThreePointTop)) + as ThreePointTop; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointTop create() => ThreePointTop._(); + ThreePointTop createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointTop getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointTop? _defaultInstance; + + /// icon + @$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 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) + TopType get type => $_getN(2); + @$pb.TagNumber(3) + set type(TopType v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasType() => $_has(2); + @$pb.TagNumber(3) + void clearType() => clearField(3); +} + +class ThreePointTopicIrrelevant extends $pb.GeneratedMessage { + factory ThreePointTopicIrrelevant({ + $core.String? icon, + $core.String? title, + $core.String? toast, + $fixnum.Int64? topicId, + $fixnum.Int64? resId, + $fixnum.Int64? resType, + $core.String? reason, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + if (toast != null) { + $result.toast = toast; + } + if (topicId != null) { + $result.topicId = topicId; + } + if (resId != null) { + $result.resId = resId; + } + if (resType != null) { + $result.resType = resType; + } + if (reason != null) { + $result.reason = reason; + } + return $result; + } + ThreePointTopicIrrelevant._() : super(); + factory ThreePointTopicIrrelevant.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointTopicIrrelevant.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointTopicIrrelevant', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'toast') + ..aInt64(4, _omitFieldNames ? '' : 'topicId') + ..aInt64(5, _omitFieldNames ? '' : 'resId') + ..aInt64(6, _omitFieldNames ? '' : 'resType') + ..aOS(7, _omitFieldNames ? '' : 'reason') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ThreePointTopicIrrelevant clone() => + ThreePointTopicIrrelevant()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointTopicIrrelevant copyWith( + void Function(ThreePointTopicIrrelevant) updates) => + super.copyWith((message) => updates(message as ThreePointTopicIrrelevant)) + as ThreePointTopicIrrelevant; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointTopicIrrelevant create() => ThreePointTopicIrrelevant._(); + ThreePointTopicIrrelevant createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointTopicIrrelevant getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointTopicIrrelevant? _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 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 toast => $_getSZ(2); + @$pb.TagNumber(3) + set toast($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasToast() => $_has(2); + @$pb.TagNumber(3) + void clearToast() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get topicId => $_getI64(3); + @$pb.TagNumber(4) + set topicId($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTopicId() => $_has(3); + @$pb.TagNumber(4) + void clearTopicId() => clearField(4); + + @$pb.TagNumber(5) + $fixnum.Int64 get resId => $_getI64(4); + @$pb.TagNumber(5) + set resId($fixnum.Int64 v) { + $_setInt64(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasResId() => $_has(4); + @$pb.TagNumber(5) + void clearResId() => clearField(5); + + @$pb.TagNumber(6) + $fixnum.Int64 get resType => $_getI64(5); + @$pb.TagNumber(6) + set resType($fixnum.Int64 v) { + $_setInt64(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasResType() => $_has(5); + @$pb.TagNumber(6) + void clearResType() => clearField(6); + + @$pb.TagNumber(7) + $core.String get reason => $_getSZ(6); + @$pb.TagNumber(7) + set reason($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasReason() => $_has(6); + @$pb.TagNumber(7) + void clearReason() => clearField(7); +} + +/// 三点-稍后在看 +class ThreePointWait extends $pb.GeneratedMessage { + factory ThreePointWait({ + $core.String? additionIcon, + $core.String? additionText, + $core.String? noAdditionIcon, + $core.String? noAdditionText, + $fixnum.Int64? id, + }) { + final $result = create(); + if (additionIcon != null) { + $result.additionIcon = additionIcon; + } + if (additionText != null) { + $result.additionText = additionText; + } + if (noAdditionIcon != null) { + $result.noAdditionIcon = noAdditionIcon; + } + if (noAdditionText != null) { + $result.noAdditionText = noAdditionText; + } + if (id != null) { + $result.id = id; + } + return $result; + } + ThreePointWait._() : super(); + factory ThreePointWait.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory ThreePointWait.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'ThreePointWait', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'additionIcon') + ..aOS(2, _omitFieldNames ? '' : 'additionText') + ..aOS(3, _omitFieldNames ? '' : 'noAdditionIcon') + ..aOS(4, _omitFieldNames ? '' : 'noAdditionText') + ..aInt64(5, _omitFieldNames ? '' : 'id') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ThreePointWait clone() => ThreePointWait()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ThreePointWait copyWith(void Function(ThreePointWait) updates) => + super.copyWith((message) => updates(message as ThreePointWait)) + as ThreePointWait; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ThreePointWait create() => ThreePointWait._(); + ThreePointWait createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ThreePointWait getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static ThreePointWait? _defaultInstance; + + /// addition icon + @$pb.TagNumber(1) + $core.String get additionIcon => $_getSZ(0); + @$pb.TagNumber(1) + set additionIcon($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasAdditionIcon() => $_has(0); + @$pb.TagNumber(1) + void clearAdditionIcon() => clearField(1); + + /// 已添加时的文案 + @$pb.TagNumber(2) + $core.String get additionText => $_getSZ(1); + @$pb.TagNumber(2) + set additionText($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasAdditionText() => $_has(1); + @$pb.TagNumber(2) + void clearAdditionText() => clearField(2); + + /// no addition icon + @$pb.TagNumber(3) + $core.String get noAdditionIcon => $_getSZ(2); + @$pb.TagNumber(3) + set noAdditionIcon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasNoAdditionIcon() => $_has(2); + @$pb.TagNumber(3) + void clearNoAdditionIcon() => clearField(3); + + /// 未添加时的文案 + @$pb.TagNumber(4) + $core.String get noAdditionText => $_getSZ(3); + @$pb.TagNumber(4) + set noAdditionText($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasNoAdditionText() => $_has(3); + @$pb.TagNumber(4) + void clearNoAdditionText() => clearField(4); + + /// avid + @$pb.TagNumber(5) + $fixnum.Int64 get id => $_getI64(4); + @$pb.TagNumber(5) + set id($fixnum.Int64 v) { + $_setInt64(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasId() => $_has(4); + @$pb.TagNumber(5) + void clearId() => clearField(5); +} + +/// 顶部预约卡 +class TopAdditionUP extends $pb.GeneratedMessage { + factory TopAdditionUP({ + $core.Iterable? up, + $core.int? hasFold, + }) { + final $result = create(); + if (up != null) { + $result.up.addAll(up); + } + if (hasFold != null) { + $result.hasFold = hasFold; + } + return $result; + } + TopAdditionUP._() : super(); + factory TopAdditionUP.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopAdditionUP.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopAdditionUP', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'up', $pb.PbFieldType.PM, + subBuilder: AdditionUP.create) + ..a<$core.int>(2, _omitFieldNames ? '' : 'hasFold', $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') + TopAdditionUP clone() => TopAdditionUP()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopAdditionUP copyWith(void Function(TopAdditionUP) updates) => + super.copyWith((message) => updates(message as TopAdditionUP)) + as TopAdditionUP; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopAdditionUP create() => TopAdditionUP._(); + TopAdditionUP createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopAdditionUP getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopAdditionUP? _defaultInstance; + + /// 预约卡 + @$pb.TagNumber(1) + $core.List get up => $_getList(0); + + /// 折叠数量,大于多少个进行折叠 + @$pb.TagNumber(2) + $core.int get hasFold => $_getIZ(1); + @$pb.TagNumber(2) + set hasFold($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasHasFold() => $_has(1); + @$pb.TagNumber(2) + void clearHasFold() => clearField(2); +} + +/// 话题广场操作按钮 +class TopicButton extends $pb.GeneratedMessage { + factory TopicButton({ + $core.String? icon, + $core.String? title, + $core.String? jumpUri, + $core.bool? redDot, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (title != null) { + $result.title = title; + } + if (jumpUri != null) { + $result.jumpUri = jumpUri; + } + if (redDot != null) { + $result.redDot = redDot; + } + return $result; + } + TopicButton._() : super(); + factory TopicButton.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicButton.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicButton', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'title') + ..aOS(3, _omitFieldNames ? '' : 'jumpUri') + ..aOB(4, _omitFieldNames ? '' : 'redDot') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TopicButton clone() => TopicButton()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicButton copyWith(void Function(TopicButton) updates) => + super.copyWith((message) => updates(message as TopicButton)) + as TopicButton; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicButton create() => TopicButton._(); + TopicButton createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicButton getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopicButton? _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 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 jumpUri => $_getSZ(2); + @$pb.TagNumber(3) + set jumpUri($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasJumpUri() => $_has(2); + @$pb.TagNumber(3) + void clearJumpUri() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get redDot => $_getBF(3); + @$pb.TagNumber(4) + set redDot($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasRedDot() => $_has(3); + @$pb.TagNumber(4) + void clearRedDot() => clearField(4); +} + +class TopicItem extends $pb.GeneratedMessage { + factory TopicItem({ + $fixnum.Int64? topicId, + $core.String? topicName, + $core.String? url, + $core.String? desc, + $core.String? desc2, + $core.String? rcmdDesc, + }) { + final $result = create(); + if (topicId != null) { + $result.topicId = topicId; + } + if (topicName != null) { + $result.topicName = topicName; + } + if (url != null) { + $result.url = url; + } + if (desc != null) { + $result.desc = desc; + } + if (desc2 != null) { + $result.desc2 = desc2; + } + if (rcmdDesc != null) { + $result.rcmdDesc = rcmdDesc; + } + return $result; + } + TopicItem._() : super(); + factory TopicItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'topicId') + ..aOS(2, _omitFieldNames ? '' : 'topicName') + ..aOS(3, _omitFieldNames ? '' : 'url') + ..aOS(4, _omitFieldNames ? '' : 'desc') + ..aOS(5, _omitFieldNames ? '' : 'desc2') + ..aOS(6, _omitFieldNames ? '' : 'rcmdDesc') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TopicItem clone() => TopicItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicItem copyWith(void Function(TopicItem) updates) => + super.copyWith((message) => updates(message as TopicItem)) as TopicItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicItem create() => TopicItem._(); + TopicItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicItem getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TopicItem? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get topicId => $_getI64(0); + @$pb.TagNumber(1) + set topicId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasTopicId() => $_has(0); + @$pb.TagNumber(1) + void clearTopicId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get topicName => $_getSZ(1); + @$pb.TagNumber(2) + set topicName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasTopicName() => $_has(1); + @$pb.TagNumber(2) + void clearTopicName() => 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 desc => $_getSZ(3); + @$pb.TagNumber(4) + set desc($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasDesc() => $_has(3); + @$pb.TagNumber(4) + void clearDesc() => clearField(4); + + @$pb.TagNumber(5) + $core.String get desc2 => $_getSZ(4); + @$pb.TagNumber(5) + set desc2($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDesc2() => $_has(4); + @$pb.TagNumber(5) + void clearDesc2() => clearField(5); + + @$pb.TagNumber(6) + $core.String get rcmdDesc => $_getSZ(5); + @$pb.TagNumber(6) + set rcmdDesc($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasRcmdDesc() => $_has(5); + @$pb.TagNumber(6) + void clearRcmdDesc() => clearField(6); +} + +/// 综合页-话题广场 +class TopicList extends $pb.GeneratedMessage { + factory TopicList({ + $core.String? title, + $core.Iterable? topicListItem, + TopicButton? actButton, + TopicButton? moreButton, + $core.String? serverInfo, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (topicListItem != null) { + $result.topicListItem.addAll(topicListItem); + } + if (actButton != null) { + $result.actButton = actButton; + } + if (moreButton != null) { + $result.moreButton = moreButton; + } + if (serverInfo != null) { + $result.serverInfo = serverInfo; + } + return $result; + } + TopicList._() : super(); + factory TopicList.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicList.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicList', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc( + 2, _omitFieldNames ? '' : 'topicListItem', $pb.PbFieldType.PM, + subBuilder: TopicListItem.create) + ..aOM(3, _omitFieldNames ? '' : 'actButton', + subBuilder: TopicButton.create) + ..aOM(4, _omitFieldNames ? '' : 'moreButton', + subBuilder: TopicButton.create) + ..aOS(5, _omitFieldNames ? '' : 'serverInfo') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TopicList clone() => TopicList()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicList copyWith(void Function(TopicList) updates) => + super.copyWith((message) => updates(message as TopicList)) as TopicList; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicList create() => TopicList._(); + TopicList createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicList getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TopicList? _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.List get topicListItem => $_getList(1); + + /// 发起活动 + @$pb.TagNumber(3) + TopicButton get actButton => $_getN(2); + @$pb.TagNumber(3) + set actButton(TopicButton v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasActButton() => $_has(2); + @$pb.TagNumber(3) + void clearActButton() => clearField(3); + @$pb.TagNumber(3) + TopicButton ensureActButton() => $_ensure(2); + + /// 查看更多 + @$pb.TagNumber(4) + TopicButton get moreButton => $_getN(3); + @$pb.TagNumber(4) + set moreButton(TopicButton v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasMoreButton() => $_has(3); + @$pb.TagNumber(4) + void clearMoreButton() => clearField(4); + @$pb.TagNumber(4) + TopicButton ensureMoreButton() => $_ensure(3); + + /// 透传服务端上报 + @$pb.TagNumber(5) + $core.String get serverInfo => $_getSZ(4); + @$pb.TagNumber(5) + set serverInfo($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasServerInfo() => $_has(4); + @$pb.TagNumber(5) + void clearServerInfo() => clearField(5); +} + +/// 综合页-话题广场-话题 +class TopicListItem extends $pb.GeneratedMessage { + factory TopicListItem({ + $core.String? icon, + $core.String? iconTitle, + $fixnum.Int64? topicId, + $core.String? topicName, + $core.String? url, + $fixnum.Int64? pos, + $core.String? serverInfo, + $core.String? headIconUrl, + $fixnum.Int64? upMid, + $core.String? tailIconUrl, + $core.String? extension_11, + }) { + final $result = create(); + if (icon != null) { + $result.icon = icon; + } + if (iconTitle != null) { + $result.iconTitle = iconTitle; + } + if (topicId != null) { + $result.topicId = topicId; + } + if (topicName != null) { + $result.topicName = topicName; + } + if (url != null) { + $result.url = url; + } + if (pos != null) { + $result.pos = pos; + } + if (serverInfo != null) { + $result.serverInfo = serverInfo; + } + if (headIconUrl != null) { + $result.headIconUrl = headIconUrl; + } + if (upMid != null) { + $result.upMid = upMid; + } + if (tailIconUrl != null) { + $result.tailIconUrl = tailIconUrl; + } + if (extension_11 != null) { + $result.extension_11 = extension_11; + } + return $result; + } + TopicListItem._() : super(); + factory TopicListItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicListItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicListItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'icon') + ..aOS(2, _omitFieldNames ? '' : 'iconTitle') + ..aInt64(3, _omitFieldNames ? '' : 'topicId') + ..aOS(4, _omitFieldNames ? '' : 'topicName') + ..aOS(5, _omitFieldNames ? '' : 'url') + ..aInt64(6, _omitFieldNames ? '' : 'pos') + ..aOS(7, _omitFieldNames ? '' : 'serverInfo') + ..aOS(8, _omitFieldNames ? '' : 'headIconUrl') + ..aInt64(9, _omitFieldNames ? '' : 'upMid') + ..aOS(10, _omitFieldNames ? '' : 'tailIconUrl') + ..aOS(11, _omitFieldNames ? '' : 'extension') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TopicListItem clone() => TopicListItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicListItem copyWith(void Function(TopicListItem) updates) => + super.copyWith((message) => updates(message as TopicListItem)) + as TopicListItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicListItem create() => TopicListItem._(); + TopicListItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicListItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopicListItem? _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 iconTitle => $_getSZ(1); + @$pb.TagNumber(2) + set iconTitle($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasIconTitle() => $_has(1); + @$pb.TagNumber(2) + void clearIconTitle() => clearField(2); + + /// 话题id + @$pb.TagNumber(3) + $fixnum.Int64 get topicId => $_getI64(2); + @$pb.TagNumber(3) + set topicId($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasTopicId() => $_has(2); + @$pb.TagNumber(3) + void clearTopicId() => clearField(3); + + /// 话题名 + @$pb.TagNumber(4) + $core.String get topicName => $_getSZ(3); + @$pb.TagNumber(4) + set topicName($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasTopicName() => $_has(3); + @$pb.TagNumber(4) + void clearTopicName() => 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) + $fixnum.Int64 get pos => $_getI64(5); + @$pb.TagNumber(6) + set pos($fixnum.Int64 v) { + $_setInt64(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasPos() => $_has(5); + @$pb.TagNumber(6) + void clearPos() => clearField(6); + + /// 透传服务端上报 + @$pb.TagNumber(7) + $core.String get serverInfo => $_getSZ(6); + @$pb.TagNumber(7) + set serverInfo($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasServerInfo() => $_has(6); + @$pb.TagNumber(7) + void clearServerInfo() => clearField(7); + + @$pb.TagNumber(8) + $core.String get headIconUrl => $_getSZ(7); + @$pb.TagNumber(8) + set headIconUrl($core.String v) { + $_setString(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasHeadIconUrl() => $_has(7); + @$pb.TagNumber(8) + void clearHeadIconUrl() => clearField(8); + + @$pb.TagNumber(9) + $fixnum.Int64 get upMid => $_getI64(8); + @$pb.TagNumber(9) + set upMid($fixnum.Int64 v) { + $_setInt64(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasUpMid() => $_has(8); + @$pb.TagNumber(9) + void clearUpMid() => clearField(9); + + @$pb.TagNumber(10) + $core.String get tailIconUrl => $_getSZ(9); + @$pb.TagNumber(10) + set tailIconUrl($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasTailIconUrl() => $_has(9); + @$pb.TagNumber(10) + void clearTailIconUrl() => clearField(10); + + @$pb.TagNumber(11) + $core.String get extension_11 => $_getSZ(10); + @$pb.TagNumber(11) + set extension_11($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasExtension_11() => $_has(10); + @$pb.TagNumber(11) + void clearExtension_11() => clearField(11); +} + +class TopicListReply extends $pb.GeneratedMessage { + factory TopicListReply({ + $core.Iterable? items, + $core.bool? hasMore, + $core.String? offset, + }) { + final $result = create(); + if (items != null) { + $result.items.addAll(items); + } + if (hasMore != null) { + $result.hasMore = hasMore; + } + if (offset != null) { + $result.offset = offset; + } + return $result; + } + TopicListReply._() : super(); + factory TopicListReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicListReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicListReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: TopicItem.create) + ..aOB(2, _omitFieldNames ? '' : 'hasMore') + ..aOS(3, _omitFieldNames ? '' : 'offset') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TopicListReply clone() => TopicListReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicListReply copyWith(void Function(TopicListReply) updates) => + super.copyWith((message) => updates(message as TopicListReply)) + as TopicListReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicListReply create() => TopicListReply._(); + TopicListReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicListReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopicListReply? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get items => $_getList(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); + + @$pb.TagNumber(3) + $core.String get offset => $_getSZ(2); + @$pb.TagNumber(3) + set offset($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasOffset() => $_has(2); + @$pb.TagNumber(3) + void clearOffset() => clearField(3); +} + +class TopicListReq extends $pb.GeneratedMessage { + factory TopicListReq({ + $fixnum.Int64? campusId, + $core.String? offset, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + if (offset != null) { + $result.offset = offset; + } + return $result; + } + TopicListReq._() : super(); + factory TopicListReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicListReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicListReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..aOS(2, _omitFieldNames ? '' : 'offset') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TopicListReq clone() => TopicListReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicListReq copyWith(void Function(TopicListReq) updates) => + super.copyWith((message) => updates(message as TopicListReq)) + as TopicListReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicListReq create() => TopicListReq._(); + TopicListReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicListReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopicListReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get offset => $_getSZ(1); + @$pb.TagNumber(2) + set offset($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasOffset() => $_has(1); + @$pb.TagNumber(2) + void clearOffset() => clearField(2); +} + +class TopicMergedResource extends $pb.GeneratedMessage { + factory TopicMergedResource({ + $core.int? mergeType, + $core.int? mergedResCnt, + }) { + final $result = create(); + if (mergeType != null) { + $result.mergeType = mergeType; + } + if (mergedResCnt != null) { + $result.mergedResCnt = mergedResCnt; + } + return $result; + } + TopicMergedResource._() : super(); + factory TopicMergedResource.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicMergedResource.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicMergedResource', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'mergeType', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'mergedResCnt', $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') + TopicMergedResource clone() => TopicMergedResource()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicMergedResource copyWith(void Function(TopicMergedResource) updates) => + super.copyWith((message) => updates(message as TopicMergedResource)) + as TopicMergedResource; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicMergedResource create() => TopicMergedResource._(); + TopicMergedResource createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicMergedResource getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopicMergedResource? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get mergeType => $_getIZ(0); + @$pb.TagNumber(1) + set mergeType($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasMergeType() => $_has(0); + @$pb.TagNumber(1) + void clearMergeType() => clearField(1); + + @$pb.TagNumber(2) + $core.int get mergedResCnt => $_getIZ(1); + @$pb.TagNumber(2) + set mergedResCnt($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasMergedResCnt() => $_has(1); + @$pb.TagNumber(2) + void clearMergedResCnt() => clearField(2); +} + +class TopicRcmdCard extends $pb.GeneratedMessage { + factory TopicRcmdCard({ + $fixnum.Int64? topicId, + $core.String? topicName, + $core.String? url, + CampusLabel? button, + $core.String? desc1, + $core.String? desc2, + $core.String? updateDesc, + }) { + final $result = create(); + if (topicId != null) { + $result.topicId = topicId; + } + if (topicName != null) { + $result.topicName = topicName; + } + if (url != null) { + $result.url = url; + } + if (button != null) { + $result.button = button; + } + if (desc1 != null) { + $result.desc1 = desc1; + } + if (desc2 != null) { + $result.desc2 = desc2; + } + if (updateDesc != null) { + $result.updateDesc = updateDesc; + } + return $result; + } + TopicRcmdCard._() : super(); + factory TopicRcmdCard.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicRcmdCard.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicRcmdCard', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'topicId') + ..aOS(2, _omitFieldNames ? '' : 'topicName') + ..aOS(3, _omitFieldNames ? '' : 'url') + ..aOM(4, _omitFieldNames ? '' : 'button', + subBuilder: CampusLabel.create) + ..aOS(5, _omitFieldNames ? '' : 'desc1') + ..aOS(6, _omitFieldNames ? '' : 'desc2') + ..aOS(7, _omitFieldNames ? '' : 'updateDesc') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TopicRcmdCard clone() => TopicRcmdCard()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicRcmdCard copyWith(void Function(TopicRcmdCard) updates) => + super.copyWith((message) => updates(message as TopicRcmdCard)) + as TopicRcmdCard; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicRcmdCard create() => TopicRcmdCard._(); + TopicRcmdCard createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicRcmdCard getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopicRcmdCard? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get topicId => $_getI64(0); + @$pb.TagNumber(1) + set topicId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasTopicId() => $_has(0); + @$pb.TagNumber(1) + void clearTopicId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get topicName => $_getSZ(1); + @$pb.TagNumber(2) + set topicName($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasTopicName() => $_has(1); + @$pb.TagNumber(2) + void clearTopicName() => 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) + CampusLabel get button => $_getN(3); + @$pb.TagNumber(4) + set button(CampusLabel v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasButton() => $_has(3); + @$pb.TagNumber(4) + void clearButton() => clearField(4); + @$pb.TagNumber(4) + CampusLabel ensureButton() => $_ensure(3); + + @$pb.TagNumber(5) + $core.String get desc1 => $_getSZ(4); + @$pb.TagNumber(5) + set desc1($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasDesc1() => $_has(4); + @$pb.TagNumber(5) + void clearDesc1() => clearField(5); + + @$pb.TagNumber(6) + $core.String get desc2 => $_getSZ(5); + @$pb.TagNumber(6) + set desc2($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasDesc2() => $_has(5); + @$pb.TagNumber(6) + void clearDesc2() => clearField(6); + + @$pb.TagNumber(7) + $core.String get updateDesc => $_getSZ(6); + @$pb.TagNumber(7) + set updateDesc($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasUpdateDesc() => $_has(6); + @$pb.TagNumber(7) + void clearUpdateDesc() => clearField(7); +} + +class TopicSquareInfo extends $pb.GeneratedMessage { + factory TopicSquareInfo({ + $core.String? title, + CampusLabel? button, + TopicRcmdCard? rcmd, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (button != null) { + $result.button = button; + } + if (rcmd != null) { + $result.rcmd = rcmd; + } + return $result; + } + TopicSquareInfo._() : super(); + factory TopicSquareInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicSquareInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicSquareInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOM(2, _omitFieldNames ? '' : 'button', + subBuilder: CampusLabel.create) + ..aOM(3, _omitFieldNames ? '' : 'rcmd', + subBuilder: TopicRcmdCard.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') + TopicSquareInfo clone() => TopicSquareInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicSquareInfo copyWith(void Function(TopicSquareInfo) updates) => + super.copyWith((message) => updates(message as TopicSquareInfo)) + as TopicSquareInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicSquareInfo create() => TopicSquareInfo._(); + TopicSquareInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicSquareInfo getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopicSquareInfo? _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) + CampusLabel get button => $_getN(1); + @$pb.TagNumber(2) + set button(CampusLabel v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasButton() => $_has(1); + @$pb.TagNumber(2) + void clearButton() => clearField(2); + @$pb.TagNumber(2) + CampusLabel ensureButton() => $_ensure(1); + + @$pb.TagNumber(3) + TopicRcmdCard get rcmd => $_getN(2); + @$pb.TagNumber(3) + set rcmd(TopicRcmdCard v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasRcmd() => $_has(2); + @$pb.TagNumber(3) + void clearRcmd() => clearField(3); + @$pb.TagNumber(3) + TopicRcmdCard ensureRcmd() => $_ensure(2); +} + +class TopicSquareReply extends $pb.GeneratedMessage { + factory TopicSquareReply({ + TopicSquareInfo? info, + }) { + final $result = create(); + if (info != null) { + $result.info = info; + } + return $result; + } + TopicSquareReply._() : super(); + factory TopicSquareReply.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicSquareReply.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicSquareReply', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'info', + subBuilder: TopicSquareInfo.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') + TopicSquareReply clone() => TopicSquareReply()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicSquareReply copyWith(void Function(TopicSquareReply) updates) => + super.copyWith((message) => updates(message as TopicSquareReply)) + as TopicSquareReply; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicSquareReply create() => TopicSquareReply._(); + TopicSquareReply createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicSquareReply getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopicSquareReply? _defaultInstance; + + @$pb.TagNumber(1) + TopicSquareInfo get info => $_getN(0); + @$pb.TagNumber(1) + set info(TopicSquareInfo v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasInfo() => $_has(0); + @$pb.TagNumber(1) + void clearInfo() => clearField(1); + @$pb.TagNumber(1) + TopicSquareInfo ensureInfo() => $_ensure(0); +} + +class TopicSquareReq extends $pb.GeneratedMessage { + factory TopicSquareReq({ + $fixnum.Int64? campusId, + }) { + final $result = create(); + if (campusId != null) { + $result.campusId = campusId; + } + return $result; + } + TopicSquareReq._() : super(); + factory TopicSquareReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory TopicSquareReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'TopicSquareReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'campusId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TopicSquareReq clone() => TopicSquareReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TopicSquareReq copyWith(void Function(TopicSquareReq) updates) => + super.copyWith((message) => updates(message as TopicSquareReq)) + as TopicSquareReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TopicSquareReq create() => TopicSquareReq._(); + TopicSquareReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TopicSquareReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static TopicSquareReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get campusId => $_getI64(0); + @$pb.TagNumber(1) + set campusId($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCampusId() => $_has(0); + @$pb.TagNumber(1) + void clearCampusId() => clearField(1); +} + +/// 综合页-无关注列表 +class Unfollow extends $pb.GeneratedMessage { + factory Unfollow({ + $core.String? title, + $core.Iterable? list, + $core.String? trackId, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (list != null) { + $result.list.addAll(list); + } + if (trackId != null) { + $result.trackId = trackId; + } + return $result; + } + Unfollow._() : super(); + factory Unfollow.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Unfollow.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Unfollow', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, + subBuilder: UnfollowUserItem.create) + ..aOS(3, _omitFieldNames ? '' : 'TrackId', protoName: 'TrackId') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Unfollow clone() => Unfollow()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Unfollow copyWith(void Function(Unfollow) updates) => + super.copyWith((message) => updates(message as Unfollow)) as Unfollow; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Unfollow create() => Unfollow._(); + Unfollow createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Unfollow getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Unfollow? _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.List get list => $_getList(1); + + /// trackID + @$pb.TagNumber(3) + $core.String get trackId => $_getSZ(2); + @$pb.TagNumber(3) + set trackId($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasTrackId() => $_has(2); + @$pb.TagNumber(3) + void clearTrackId() => clearField(3); +} + +class UnfollowMatchReq extends $pb.GeneratedMessage { + factory UnfollowMatchReq({ + $fixnum.Int64? cid, + }) { + final $result = create(); + if (cid != null) { + $result.cid = cid; + } + return $result; + } + UnfollowMatchReq._() : super(); + factory UnfollowMatchReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UnfollowMatchReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UnfollowMatchReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'cid') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UnfollowMatchReq clone() => UnfollowMatchReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UnfollowMatchReq copyWith(void Function(UnfollowMatchReq) updates) => + super.copyWith((message) => updates(message as UnfollowMatchReq)) + as UnfollowMatchReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UnfollowMatchReq create() => UnfollowMatchReq._(); + UnfollowMatchReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UnfollowMatchReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UnfollowMatchReq? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get cid => $_getI64(0); + @$pb.TagNumber(1) + set cid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasCid() => $_has(0); + @$pb.TagNumber(1) + void clearCid() => clearField(1); +} + +/// 综合页-无关注列表 +class UnfollowUserItem extends $pb.GeneratedMessage { + factory UnfollowUserItem({ + $core.bool? hasUpdate, + $core.String? face, + $core.String? name, + $fixnum.Int64? uid, + $core.int? pos, + LiveState? liveState, + OfficialVerify? official, + VipInfo? vip, + $core.String? sign, + $core.String? label, + AdditionalButton? button, + $core.String? uri, + }) { + final $result = create(); + if (hasUpdate != null) { + $result.hasUpdate = hasUpdate; + } + if (face != null) { + $result.face = face; + } + if (name != null) { + $result.name = name; + } + if (uid != null) { + $result.uid = uid; + } + if (pos != null) { + $result.pos = pos; + } + if (liveState != null) { + $result.liveState = liveState; + } + if (official != null) { + $result.official = official; + } + if (vip != null) { + $result.vip = vip; + } + if (sign != null) { + $result.sign = sign; + } + if (label != null) { + $result.label = label; + } + if (button != null) { + $result.button = button; + } + if (uri != null) { + $result.uri = uri; + } + return $result; + } + UnfollowUserItem._() : super(); + factory UnfollowUserItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UnfollowUserItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UnfollowUserItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'hasUpdate') + ..aOS(2, _omitFieldNames ? '' : 'face') + ..aOS(3, _omitFieldNames ? '' : 'name') + ..aInt64(4, _omitFieldNames ? '' : 'uid') + ..a<$core.int>(5, _omitFieldNames ? '' : 'pos', $pb.PbFieldType.O3) + ..e(6, _omitFieldNames ? '' : 'liveState', $pb.PbFieldType.OE, + defaultOrMaker: LiveState.live_none, + valueOf: LiveState.valueOf, + enumValues: LiveState.values) + ..aOM(7, _omitFieldNames ? '' : 'official', + subBuilder: OfficialVerify.create) + ..aOM(8, _omitFieldNames ? '' : 'vip', subBuilder: VipInfo.create) + ..aOS(9, _omitFieldNames ? '' : 'sign') + ..aOS(10, _omitFieldNames ? '' : 'label') + ..aOM(11, _omitFieldNames ? '' : 'button', + subBuilder: AdditionalButton.create) + ..aOS(12, _omitFieldNames ? '' : 'uri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UnfollowUserItem clone() => UnfollowUserItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UnfollowUserItem copyWith(void Function(UnfollowUserItem) updates) => + super.copyWith((message) => updates(message as UnfollowUserItem)) + as UnfollowUserItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UnfollowUserItem create() => UnfollowUserItem._(); + UnfollowUserItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UnfollowUserItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UnfollowUserItem? _defaultInstance; + + /// 是否有更新 + @$pb.TagNumber(1) + $core.bool get hasUpdate => $_getBF(0); + @$pb.TagNumber(1) + set hasUpdate($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHasUpdate() => $_has(0); + @$pb.TagNumber(1) + void clearHasUpdate() => clearField(1); + + /// up主头像 + @$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); + + /// up主昵称 + @$pb.TagNumber(3) + $core.String get name => $_getSZ(2); + @$pb.TagNumber(3) + set name($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasName() => $_has(2); + @$pb.TagNumber(3) + void clearName() => clearField(3); + + /// up主uid + @$pb.TagNumber(4) + $fixnum.Int64 get uid => $_getI64(3); + @$pb.TagNumber(4) + set uid($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasUid() => $_has(3); + @$pb.TagNumber(4) + void clearUid() => clearField(4); + + /// 排序字段 从1开始 + @$pb.TagNumber(5) + $core.int get pos => $_getIZ(4); + @$pb.TagNumber(5) + set pos($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasPos() => $_has(4); + @$pb.TagNumber(5) + void clearPos() => clearField(5); + + /// 直播状态 + @$pb.TagNumber(6) + LiveState get liveState => $_getN(5); + @$pb.TagNumber(6) + set liveState(LiveState v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasLiveState() => $_has(5); + @$pb.TagNumber(6) + void clearLiveState() => clearField(6); + + /// 认证信息 + @$pb.TagNumber(7) + OfficialVerify get official => $_getN(6); + @$pb.TagNumber(7) + set official(OfficialVerify v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasOfficial() => $_has(6); + @$pb.TagNumber(7) + void clearOfficial() => clearField(7); + @$pb.TagNumber(7) + OfficialVerify ensureOfficial() => $_ensure(6); + + /// 大会员信息 + @$pb.TagNumber(8) + VipInfo get vip => $_getN(7); + @$pb.TagNumber(8) + set vip(VipInfo v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasVip() => $_has(7); + @$pb.TagNumber(8) + void clearVip() => clearField(8); + @$pb.TagNumber(8) + VipInfo ensureVip() => $_ensure(7); + + /// up介绍 + @$pb.TagNumber(9) + $core.String get sign => $_getSZ(8); + @$pb.TagNumber(9) + set sign($core.String v) { + $_setString(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasSign() => $_has(8); + @$pb.TagNumber(9) + void clearSign() => clearField(9); + + /// 标签信息 + @$pb.TagNumber(10) + $core.String get label => $_getSZ(9); + @$pb.TagNumber(10) + set label($core.String v) { + $_setString(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasLabel() => $_has(9); + @$pb.TagNumber(10) + void clearLabel() => clearField(10); + + /// 按钮 + @$pb.TagNumber(11) + AdditionalButton get button => $_getN(10); + @$pb.TagNumber(11) + set button(AdditionalButton v) { + setField(11, v); + } + + @$pb.TagNumber(11) + $core.bool hasButton() => $_has(10); + @$pb.TagNumber(11) + void clearButton() => clearField(11); + @$pb.TagNumber(11) + AdditionalButton ensureButton() => $_ensure(10); + + /// 跳转地址 + @$pb.TagNumber(12) + $core.String get uri => $_getSZ(11); + @$pb.TagNumber(12) + set uri($core.String v) { + $_setString(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasUri() => $_has(11); + @$pb.TagNumber(12) + void clearUri() => clearField(12); +} + +class UpdateTabSettingReq extends $pb.GeneratedMessage { + factory UpdateTabSettingReq({ + HomePageTabSttingStatus? status, + }) { + final $result = create(); + if (status != null) { + $result.status = status; + } + return $result; + } + UpdateTabSettingReq._() : super(); + factory UpdateTabSettingReq.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UpdateTabSettingReq.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpdateTabSettingReq', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..e( + 1, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, + defaultOrMaker: HomePageTabSttingStatus.SETTING_INVALID, + valueOf: HomePageTabSttingStatus.valueOf, + enumValues: HomePageTabSttingStatus.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') + UpdateTabSettingReq clone() => UpdateTabSettingReq()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateTabSettingReq copyWith(void Function(UpdateTabSettingReq) updates) => + super.copyWith((message) => updates(message as UpdateTabSettingReq)) + as UpdateTabSettingReq; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateTabSettingReq create() => UpdateTabSettingReq._(); + UpdateTabSettingReq createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdateTabSettingReq getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UpdateTabSettingReq? _defaultInstance; + + @$pb.TagNumber(1) + HomePageTabSttingStatus get status => $_getN(0); + @$pb.TagNumber(1) + set status(HomePageTabSttingStatus v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasStatus() => $_has(0); + @$pb.TagNumber(1) + void clearStatus() => clearField(1); +} + +/// 动态顶部up列表-up主信息 +class UpListItem extends $pb.GeneratedMessage { + factory UpListItem({ + $core.bool? hasUpdate, + $core.String? face, + $core.String? name, + $fixnum.Int64? uid, + $fixnum.Int64? pos, + UserItemType? userItemType, + UserItemStyle? displayStyleDay, + UserItemStyle? displayStyleNight, + $fixnum.Int64? styleId, + LiveState? liveState, + $core.bool? separator, + $core.String? uri, + $core.bool? isRecall, + IconBadge? updateIcon, + $core.String? liveRcmdReason, + $core.String? liveCover, + $core.String? personalExtra, + }) { + final $result = create(); + if (hasUpdate != null) { + $result.hasUpdate = hasUpdate; + } + if (face != null) { + $result.face = face; + } + if (name != null) { + $result.name = name; + } + if (uid != null) { + $result.uid = uid; + } + if (pos != null) { + $result.pos = pos; + } + if (userItemType != null) { + $result.userItemType = userItemType; + } + if (displayStyleDay != null) { + $result.displayStyleDay = displayStyleDay; + } + if (displayStyleNight != null) { + $result.displayStyleNight = displayStyleNight; + } + if (styleId != null) { + $result.styleId = styleId; + } + if (liveState != null) { + $result.liveState = liveState; + } + if (separator != null) { + $result.separator = separator; + } + if (uri != null) { + $result.uri = uri; + } + if (isRecall != null) { + $result.isRecall = isRecall; + } + if (updateIcon != null) { + $result.updateIcon = updateIcon; + } + if (liveRcmdReason != null) { + $result.liveRcmdReason = liveRcmdReason; + } + if (liveCover != null) { + $result.liveCover = liveCover; + } + if (personalExtra != null) { + $result.personalExtra = personalExtra; + } + return $result; + } + UpListItem._() : super(); + factory UpListItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UpListItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpListItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'hasUpdate') + ..aOS(2, _omitFieldNames ? '' : 'face') + ..aOS(3, _omitFieldNames ? '' : 'name') + ..aInt64(4, _omitFieldNames ? '' : 'uid') + ..aInt64(5, _omitFieldNames ? '' : 'pos') + ..e( + 6, _omitFieldNames ? '' : 'userItemType', $pb.PbFieldType.OE, + defaultOrMaker: UserItemType.user_item_type_none, + valueOf: UserItemType.valueOf, + enumValues: UserItemType.values) + ..aOM(7, _omitFieldNames ? '' : 'displayStyleDay', + subBuilder: UserItemStyle.create) + ..aOM(8, _omitFieldNames ? '' : 'displayStyleNight', + subBuilder: UserItemStyle.create) + ..aInt64(9, _omitFieldNames ? '' : 'styleId') + ..e(10, _omitFieldNames ? '' : 'liveState', $pb.PbFieldType.OE, + defaultOrMaker: LiveState.live_none, + valueOf: LiveState.valueOf, + enumValues: LiveState.values) + ..aOB(11, _omitFieldNames ? '' : 'separator') + ..aOS(12, _omitFieldNames ? '' : 'uri') + ..aOB(13, _omitFieldNames ? '' : 'isRecall') + ..aOM(14, _omitFieldNames ? '' : 'updateIcon', + subBuilder: IconBadge.create) + ..aOS(15, _omitFieldNames ? '' : 'liveRcmdReason') + ..aOS(16, _omitFieldNames ? '' : 'liveCover') + ..aOS(17, _omitFieldNames ? '' : 'personalExtra') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpListItem clone() => UpListItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpListItem copyWith(void Function(UpListItem) updates) => + super.copyWith((message) => updates(message as UpListItem)) as UpListItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpListItem create() => UpListItem._(); + UpListItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpListItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UpListItem? _defaultInstance; + + /// 是否有更新 + @$pb.TagNumber(1) + $core.bool get hasUpdate => $_getBF(0); + @$pb.TagNumber(1) + set hasUpdate($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasHasUpdate() => $_has(0); + @$pb.TagNumber(1) + void clearHasUpdate() => clearField(1); + + /// up主头像 + @$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); + + /// up主昵称 + @$pb.TagNumber(3) + $core.String get name => $_getSZ(2); + @$pb.TagNumber(3) + set name($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasName() => $_has(2); + @$pb.TagNumber(3) + void clearName() => clearField(3); + + /// up主uid + @$pb.TagNumber(4) + $fixnum.Int64 get uid => $_getI64(3); + @$pb.TagNumber(4) + set uid($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasUid() => $_has(3); + @$pb.TagNumber(4) + void clearUid() => clearField(4); + + /// 排序字段 从1开始 + @$pb.TagNumber(5) + $fixnum.Int64 get pos => $_getI64(4); + @$pb.TagNumber(5) + set pos($fixnum.Int64 v) { + $_setInt64(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasPos() => $_has(4); + @$pb.TagNumber(5) + void clearPos() => clearField(5); + + /// 用户类型 + @$pb.TagNumber(6) + UserItemType get userItemType => $_getN(5); + @$pb.TagNumber(6) + set userItemType(UserItemType v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasUserItemType() => $_has(5); + @$pb.TagNumber(6) + void clearUserItemType() => clearField(6); + + /// 直播头像样式-日 + @$pb.TagNumber(7) + UserItemStyle get displayStyleDay => $_getN(6); + @$pb.TagNumber(7) + set displayStyleDay(UserItemStyle v) { + setField(7, v); + } + + @$pb.TagNumber(7) + $core.bool hasDisplayStyleDay() => $_has(6); + @$pb.TagNumber(7) + void clearDisplayStyleDay() => clearField(7); + @$pb.TagNumber(7) + UserItemStyle ensureDisplayStyleDay() => $_ensure(6); + + /// 直播头像样式-夜 + @$pb.TagNumber(8) + UserItemStyle get displayStyleNight => $_getN(7); + @$pb.TagNumber(8) + set displayStyleNight(UserItemStyle v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasDisplayStyleNight() => $_has(7); + @$pb.TagNumber(8) + void clearDisplayStyleNight() => clearField(8); + @$pb.TagNumber(8) + UserItemStyle ensureDisplayStyleNight() => $_ensure(7); + + /// 直播埋点 + @$pb.TagNumber(9) + $fixnum.Int64 get styleId => $_getI64(8); + @$pb.TagNumber(9) + set styleId($fixnum.Int64 v) { + $_setInt64(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasStyleId() => $_has(8); + @$pb.TagNumber(9) + void clearStyleId() => clearField(9); + + /// 直播状态 + @$pb.TagNumber(10) + LiveState get liveState => $_getN(9); + @$pb.TagNumber(10) + set liveState(LiveState v) { + setField(10, v); + } + + @$pb.TagNumber(10) + $core.bool hasLiveState() => $_has(9); + @$pb.TagNumber(10) + void clearLiveState() => clearField(10); + + /// 分割线 + @$pb.TagNumber(11) + $core.bool get separator => $_getBF(10); + @$pb.TagNumber(11) + set separator($core.bool v) { + $_setBool(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasSeparator() => $_has(10); + @$pb.TagNumber(11) + void clearSeparator() => clearField(11); + + /// 跳转 + @$pb.TagNumber(12) + $core.String get uri => $_getSZ(11); + @$pb.TagNumber(12) + set uri($core.String v) { + $_setString(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasUri() => $_has(11); + @$pb.TagNumber(12) + void clearUri() => clearField(12); + + /// UP主预约上报使用 + @$pb.TagNumber(13) + $core.bool get isRecall => $_getBF(12); + @$pb.TagNumber(13) + set isRecall($core.bool v) { + $_setBool(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasIsRecall() => $_has(12); + @$pb.TagNumber(13) + void clearIsRecall() => clearField(13); + + @$pb.TagNumber(14) + IconBadge get updateIcon => $_getN(13); + @$pb.TagNumber(14) + set updateIcon(IconBadge v) { + setField(14, v); + } + + @$pb.TagNumber(14) + $core.bool hasUpdateIcon() => $_has(13); + @$pb.TagNumber(14) + void clearUpdateIcon() => clearField(14); + @$pb.TagNumber(14) + IconBadge ensureUpdateIcon() => $_ensure(13); + + @$pb.TagNumber(15) + $core.String get liveRcmdReason => $_getSZ(14); + @$pb.TagNumber(15) + set liveRcmdReason($core.String v) { + $_setString(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasLiveRcmdReason() => $_has(14); + @$pb.TagNumber(15) + void clearLiveRcmdReason() => clearField(15); + + @$pb.TagNumber(16) + $core.String get liveCover => $_getSZ(15); + @$pb.TagNumber(16) + set liveCover($core.String v) { + $_setString(15, v); + } + + @$pb.TagNumber(16) + $core.bool hasLiveCover() => $_has(15); + @$pb.TagNumber(16) + void clearLiveCover() => clearField(16); + + @$pb.TagNumber(17) + $core.String get personalExtra => $_getSZ(16); + @$pb.TagNumber(17) + set personalExtra($core.String v) { + $_setString(16, v); + } + + @$pb.TagNumber(17) + $core.bool hasPersonalExtra() => $_has(16); + @$pb.TagNumber(17) + void clearPersonalExtra() => clearField(17); +} + +/// 最常访问-查看更多 +class UpListMoreLabel extends $pb.GeneratedMessage { + factory UpListMoreLabel({ + $core.String? title, + $core.String? uri, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (uri != null) { + $result.uri = uri; + } + return $result; + } + UpListMoreLabel._() : super(); + factory UpListMoreLabel.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UpListMoreLabel.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UpListMoreLabel', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..aOS(2, _omitFieldNames ? '' : 'uri') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpListMoreLabel clone() => UpListMoreLabel()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpListMoreLabel copyWith(void Function(UpListMoreLabel) updates) => + super.copyWith((message) => updates(message as UpListMoreLabel)) + as UpListMoreLabel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpListMoreLabel create() => UpListMoreLabel._(); + UpListMoreLabel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpListMoreLabel getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UpListMoreLabel? _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 uri => $_getSZ(1); + @$pb.TagNumber(2) + set uri($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasUri() => $_has(1); + @$pb.TagNumber(2) + void clearUri() => clearField(2); +} + +/// 用户信息 +class UserInfo extends $pb.GeneratedMessage { + factory UserInfo({ + $fixnum.Int64? mid, + $core.String? name, + $core.String? face, + OfficialVerify? official, + VipInfo? vip, + LiveInfo? live, + $core.String? uri, + UserPendant? pendant, + Nameplate? nameplate, + $core.int? level, + $core.String? sign, + $core.int? faceNft, + $core.int? faceNftNew, + NFTInfo? nftInfo, + $core.int? isSeniorMember, + $3.AvatarItem? avatar, + }) { + final $result = create(); + if (mid != null) { + $result.mid = mid; + } + if (name != null) { + $result.name = name; + } + if (face != null) { + $result.face = face; + } + if (official != null) { + $result.official = official; + } + if (vip != null) { + $result.vip = vip; + } + if (live != null) { + $result.live = live; + } + if (uri != null) { + $result.uri = uri; + } + if (pendant != null) { + $result.pendant = pendant; + } + if (nameplate != null) { + $result.nameplate = nameplate; + } + if (level != null) { + $result.level = level; + } + if (sign != null) { + $result.sign = sign; + } + if (faceNft != null) { + $result.faceNft = faceNft; + } + if (faceNftNew != null) { + $result.faceNftNew = faceNftNew; + } + if (nftInfo != null) { + $result.nftInfo = nftInfo; + } + if (isSeniorMember != null) { + $result.isSeniorMember = isSeniorMember; + } + if (avatar != null) { + $result.avatar = avatar; + } + return $result; + } + UserInfo._() : super(); + factory UserInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UserInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UserInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'mid') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aOS(3, _omitFieldNames ? '' : 'face') + ..aOM(4, _omitFieldNames ? '' : 'official', + subBuilder: OfficialVerify.create) + ..aOM(5, _omitFieldNames ? '' : 'vip', subBuilder: VipInfo.create) + ..aOM(6, _omitFieldNames ? '' : 'live', + subBuilder: LiveInfo.create) + ..aOS(7, _omitFieldNames ? '' : 'uri') + ..aOM(8, _omitFieldNames ? '' : 'pendant', + subBuilder: UserPendant.create) + ..aOM(9, _omitFieldNames ? '' : 'nameplate', + subBuilder: Nameplate.create) + ..a<$core.int>(10, _omitFieldNames ? '' : 'level', $pb.PbFieldType.O3) + ..aOS(11, _omitFieldNames ? '' : 'sign') + ..a<$core.int>(12, _omitFieldNames ? '' : 'faceNft', $pb.PbFieldType.O3) + ..a<$core.int>(13, _omitFieldNames ? '' : 'faceNftNew', $pb.PbFieldType.O3) + ..aOM(14, _omitFieldNames ? '' : 'nftInfo', + subBuilder: NFTInfo.create) + ..a<$core.int>( + 15, _omitFieldNames ? '' : 'isSeniorMember', $pb.PbFieldType.O3) + ..aOM<$3.AvatarItem>(16, _omitFieldNames ? '' : 'avatar', + subBuilder: $3.AvatarItem.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') + UserInfo clone() => UserInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UserInfo copyWith(void Function(UserInfo) updates) => + super.copyWith((message) => updates(message as UserInfo)) as UserInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UserInfo create() => UserInfo._(); + UserInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UserInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UserInfo? _defaultInstance; + + /// 用户mid + @$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 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) + $core.String get face => $_getSZ(2); + @$pb.TagNumber(3) + set face($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasFace() => $_has(2); + @$pb.TagNumber(3) + void clearFace() => clearField(3); + + /// 认证信息 + @$pb.TagNumber(4) + OfficialVerify get official => $_getN(3); + @$pb.TagNumber(4) + set official(OfficialVerify v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasOfficial() => $_has(3); + @$pb.TagNumber(4) + void clearOfficial() => clearField(4); + @$pb.TagNumber(4) + OfficialVerify ensureOfficial() => $_ensure(3); + + /// 大会员信息 + @$pb.TagNumber(5) + VipInfo get vip => $_getN(4); + @$pb.TagNumber(5) + set vip(VipInfo v) { + setField(5, v); + } + + @$pb.TagNumber(5) + $core.bool hasVip() => $_has(4); + @$pb.TagNumber(5) + void clearVip() => clearField(5); + @$pb.TagNumber(5) + VipInfo ensureVip() => $_ensure(4); + + /// 直播信息 + @$pb.TagNumber(6) + LiveInfo get live => $_getN(5); + @$pb.TagNumber(6) + set live(LiveInfo v) { + setField(6, v); + } + + @$pb.TagNumber(6) + $core.bool hasLive() => $_has(5); + @$pb.TagNumber(6) + void clearLive() => clearField(6); + @$pb.TagNumber(6) + LiveInfo ensureLive() => $_ensure(5); + + /// 空间页跳转链接 + @$pb.TagNumber(7) + $core.String get uri => $_getSZ(6); + @$pb.TagNumber(7) + set uri($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasUri() => $_has(6); + @$pb.TagNumber(7) + void clearUri() => clearField(7); + + /// 挂件信息 + @$pb.TagNumber(8) + UserPendant get pendant => $_getN(7); + @$pb.TagNumber(8) + set pendant(UserPendant v) { + setField(8, v); + } + + @$pb.TagNumber(8) + $core.bool hasPendant() => $_has(7); + @$pb.TagNumber(8) + void clearPendant() => clearField(8); + @$pb.TagNumber(8) + UserPendant ensurePendant() => $_ensure(7); + + /// 认证名牌 + @$pb.TagNumber(9) + Nameplate get nameplate => $_getN(8); + @$pb.TagNumber(9) + set nameplate(Nameplate v) { + setField(9, v); + } + + @$pb.TagNumber(9) + $core.bool hasNameplate() => $_has(8); + @$pb.TagNumber(9) + void clearNameplate() => clearField(9); + @$pb.TagNumber(9) + Nameplate ensureNameplate() => $_ensure(8); + + /// 用户等级 + @$pb.TagNumber(10) + $core.int get level => $_getIZ(9); + @$pb.TagNumber(10) + set level($core.int v) { + $_setSignedInt32(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasLevel() => $_has(9); + @$pb.TagNumber(10) + void clearLevel() => clearField(10); + + /// 用户简介 + @$pb.TagNumber(11) + $core.String get sign => $_getSZ(10); + @$pb.TagNumber(11) + set sign($core.String v) { + $_setString(10, v); + } + + @$pb.TagNumber(11) + $core.bool hasSign() => $_has(10); + @$pb.TagNumber(11) + void clearSign() => clearField(11); + + @$pb.TagNumber(12) + $core.int get faceNft => $_getIZ(11); + @$pb.TagNumber(12) + set faceNft($core.int v) { + $_setSignedInt32(11, v); + } + + @$pb.TagNumber(12) + $core.bool hasFaceNft() => $_has(11); + @$pb.TagNumber(12) + void clearFaceNft() => clearField(12); + + @$pb.TagNumber(13) + $core.int get faceNftNew => $_getIZ(12); + @$pb.TagNumber(13) + set faceNftNew($core.int v) { + $_setSignedInt32(12, v); + } + + @$pb.TagNumber(13) + $core.bool hasFaceNftNew() => $_has(12); + @$pb.TagNumber(13) + void clearFaceNftNew() => clearField(13); + + @$pb.TagNumber(14) + NFTInfo get nftInfo => $_getN(13); + @$pb.TagNumber(14) + set nftInfo(NFTInfo v) { + setField(14, v); + } + + @$pb.TagNumber(14) + $core.bool hasNftInfo() => $_has(13); + @$pb.TagNumber(14) + void clearNftInfo() => clearField(14); + @$pb.TagNumber(14) + NFTInfo ensureNftInfo() => $_ensure(13); + + @$pb.TagNumber(15) + $core.int get isSeniorMember => $_getIZ(14); + @$pb.TagNumber(15) + set isSeniorMember($core.int v) { + $_setSignedInt32(14, v); + } + + @$pb.TagNumber(15) + $core.bool hasIsSeniorMember() => $_has(14); + @$pb.TagNumber(15) + void clearIsSeniorMember() => clearField(15); + + @$pb.TagNumber(16) + $3.AvatarItem get avatar => $_getN(15); + @$pb.TagNumber(16) + set avatar($3.AvatarItem v) { + setField(16, v); + } + + @$pb.TagNumber(16) + $core.bool hasAvatar() => $_has(15); + @$pb.TagNumber(16) + void clearAvatar() => clearField(16); + @$pb.TagNumber(16) + $3.AvatarItem ensureAvatar() => $_ensure(15); +} + +/// 直播头像样式 +class UserItemStyle extends $pb.GeneratedMessage { + factory UserItemStyle({ + $core.String? rectText, + $core.String? rectTextColor, + $core.String? rectIcon, + $core.String? rectBgColor, + $core.String? outerAnimation, + }) { + final $result = create(); + if (rectText != null) { + $result.rectText = rectText; + } + if (rectTextColor != null) { + $result.rectTextColor = rectTextColor; + } + if (rectIcon != null) { + $result.rectIcon = rectIcon; + } + if (rectBgColor != null) { + $result.rectBgColor = rectBgColor; + } + if (outerAnimation != null) { + $result.outerAnimation = outerAnimation; + } + return $result; + } + UserItemStyle._() : super(); + factory UserItemStyle.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UserItemStyle.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UserItemStyle', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'rectText') + ..aOS(2, _omitFieldNames ? '' : 'rectTextColor') + ..aOS(3, _omitFieldNames ? '' : 'rectIcon') + ..aOS(4, _omitFieldNames ? '' : 'rectBgColor') + ..aOS(5, _omitFieldNames ? '' : 'outerAnimation') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UserItemStyle clone() => UserItemStyle()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UserItemStyle copyWith(void Function(UserItemStyle) updates) => + super.copyWith((message) => updates(message as UserItemStyle)) + as UserItemStyle; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UserItemStyle create() => UserItemStyle._(); + UserItemStyle createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UserItemStyle getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UserItemStyle? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get rectText => $_getSZ(0); + @$pb.TagNumber(1) + set rectText($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasRectText() => $_has(0); + @$pb.TagNumber(1) + void clearRectText() => clearField(1); + + @$pb.TagNumber(2) + $core.String get rectTextColor => $_getSZ(1); + @$pb.TagNumber(2) + set rectTextColor($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasRectTextColor() => $_has(1); + @$pb.TagNumber(2) + void clearRectTextColor() => clearField(2); + + @$pb.TagNumber(3) + $core.String get rectIcon => $_getSZ(2); + @$pb.TagNumber(3) + set rectIcon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasRectIcon() => $_has(2); + @$pb.TagNumber(3) + void clearRectIcon() => clearField(3); + + @$pb.TagNumber(4) + $core.String get rectBgColor => $_getSZ(3); + @$pb.TagNumber(4) + set rectBgColor($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasRectBgColor() => $_has(3); + @$pb.TagNumber(4) + void clearRectBgColor() => clearField(4); + + @$pb.TagNumber(5) + $core.String get outerAnimation => $_getSZ(4); + @$pb.TagNumber(5) + set outerAnimation($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasOuterAnimation() => $_has(4); + @$pb.TagNumber(5) + void clearOuterAnimation() => clearField(5); +} + +/// 头像挂件信息 +class UserPendant extends $pb.GeneratedMessage { + factory UserPendant({ + $fixnum.Int64? pid, + $core.String? name, + $core.String? image, + $fixnum.Int64? expire, + }) { + final $result = create(); + if (pid != null) { + $result.pid = pid; + } + if (name != null) { + $result.name = name; + } + if (image != null) { + $result.image = image; + } + if (expire != null) { + $result.expire = expire; + } + return $result; + } + UserPendant._() : super(); + factory UserPendant.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory UserPendant.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'UserPendant', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'pid') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aOS(3, _omitFieldNames ? '' : 'image') + ..aInt64(4, _omitFieldNames ? '' : 'expire') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UserPendant clone() => UserPendant()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UserPendant copyWith(void Function(UserPendant) updates) => + super.copyWith((message) => updates(message as UserPendant)) + as UserPendant; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UserPendant create() => UserPendant._(); + UserPendant createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UserPendant getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static UserPendant? _defaultInstance; + + /// pid + @$pb.TagNumber(1) + $fixnum.Int64 get pid => $_getI64(0); + @$pb.TagNumber(1) + set pid($fixnum.Int64 v) { + $_setInt64(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasPid() => $_has(0); + @$pb.TagNumber(1) + void clearPid() => 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) + $core.String get image => $_getSZ(2); + @$pb.TagNumber(3) + set image($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasImage() => $_has(2); + @$pb.TagNumber(3) + void clearImage() => clearField(3); + + /// 有效期 + @$pb.TagNumber(4) + $fixnum.Int64 get expire => $_getI64(3); + @$pb.TagNumber(4) + set expire($fixnum.Int64 v) { + $_setInt64(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasExpire() => $_has(3); + @$pb.TagNumber(4) + void clearExpire() => clearField(4); +} + +/// 角标信息 +class VideoBadge extends $pb.GeneratedMessage { + factory VideoBadge({ + $core.String? text, + $core.String? textColor, + $core.String? textColorNight, + $core.String? bgColor, + $core.String? bgColorNight, + $core.String? borderColor, + $core.String? borderColorNight, + $core.int? bgStyle, + $core.int? bgAlpha, + $core.int? bgAlphaNight, + }) { + final $result = create(); + if (text != null) { + $result.text = text; + } + if (textColor != null) { + $result.textColor = textColor; + } + if (textColorNight != null) { + $result.textColorNight = textColorNight; + } + if (bgColor != null) { + $result.bgColor = bgColor; + } + if (bgColorNight != null) { + $result.bgColorNight = bgColorNight; + } + if (borderColor != null) { + $result.borderColor = borderColor; + } + if (borderColorNight != null) { + $result.borderColorNight = borderColorNight; + } + if (bgStyle != null) { + $result.bgStyle = bgStyle; + } + if (bgAlpha != null) { + $result.bgAlpha = bgAlpha; + } + if (bgAlphaNight != null) { + $result.bgAlphaNight = bgAlphaNight; + } + return $result; + } + VideoBadge._() : super(); + factory VideoBadge.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory VideoBadge.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VideoBadge', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'text') + ..aOS(2, _omitFieldNames ? '' : 'textColor') + ..aOS(3, _omitFieldNames ? '' : 'textColorNight') + ..aOS(4, _omitFieldNames ? '' : 'bgColor') + ..aOS(5, _omitFieldNames ? '' : 'bgColorNight') + ..aOS(6, _omitFieldNames ? '' : 'borderColor') + ..aOS(7, _omitFieldNames ? '' : 'borderColorNight') + ..a<$core.int>(8, _omitFieldNames ? '' : 'bgStyle', $pb.PbFieldType.O3) + ..a<$core.int>(9, _omitFieldNames ? '' : 'bgAlpha', $pb.PbFieldType.O3) + ..a<$core.int>( + 10, _omitFieldNames ? '' : 'bgAlphaNight', $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') + VideoBadge clone() => VideoBadge()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VideoBadge copyWith(void Function(VideoBadge) updates) => + super.copyWith((message) => updates(message as VideoBadge)) as VideoBadge; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static VideoBadge create() => VideoBadge._(); + VideoBadge createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static VideoBadge getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static VideoBadge? _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); + + /// 文案颜色-日间 + @$pb.TagNumber(2) + $core.String get textColor => $_getSZ(1); + @$pb.TagNumber(2) + set textColor($core.String v) { + $_setString(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasTextColor() => $_has(1); + @$pb.TagNumber(2) + void clearTextColor() => clearField(2); + + /// 文案颜色-夜间 + @$pb.TagNumber(3) + $core.String get textColorNight => $_getSZ(2); + @$pb.TagNumber(3) + set textColorNight($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasTextColorNight() => $_has(2); + @$pb.TagNumber(3) + void clearTextColorNight() => clearField(3); + + /// 背景颜色-日间 + @$pb.TagNumber(4) + $core.String get bgColor => $_getSZ(3); + @$pb.TagNumber(4) + set bgColor($core.String v) { + $_setString(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasBgColor() => $_has(3); + @$pb.TagNumber(4) + void clearBgColor() => clearField(4); + + /// 背景颜色-夜间 + @$pb.TagNumber(5) + $core.String get bgColorNight => $_getSZ(4); + @$pb.TagNumber(5) + set bgColorNight($core.String v) { + $_setString(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasBgColorNight() => $_has(4); + @$pb.TagNumber(5) + void clearBgColorNight() => clearField(5); + + /// 边框颜色-日间 + @$pb.TagNumber(6) + $core.String get borderColor => $_getSZ(5); + @$pb.TagNumber(6) + set borderColor($core.String v) { + $_setString(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasBorderColor() => $_has(5); + @$pb.TagNumber(6) + void clearBorderColor() => clearField(6); + + /// 边框颜色-夜间 + @$pb.TagNumber(7) + $core.String get borderColorNight => $_getSZ(6); + @$pb.TagNumber(7) + set borderColorNight($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasBorderColorNight() => $_has(6); + @$pb.TagNumber(7) + void clearBorderColorNight() => clearField(7); + + /// 样式 + @$pb.TagNumber(8) + $core.int get bgStyle => $_getIZ(7); + @$pb.TagNumber(8) + set bgStyle($core.int v) { + $_setSignedInt32(7, v); + } + + @$pb.TagNumber(8) + $core.bool hasBgStyle() => $_has(7); + @$pb.TagNumber(8) + void clearBgStyle() => clearField(8); + + /// 背景透明度-日间 + @$pb.TagNumber(9) + $core.int get bgAlpha => $_getIZ(8); + @$pb.TagNumber(9) + set bgAlpha($core.int v) { + $_setSignedInt32(8, v); + } + + @$pb.TagNumber(9) + $core.bool hasBgAlpha() => $_has(8); + @$pb.TagNumber(9) + void clearBgAlpha() => clearField(9); + + /// 背景透明度-夜间 + @$pb.TagNumber(10) + $core.int get bgAlphaNight => $_getIZ(9); + @$pb.TagNumber(10) + set bgAlphaNight($core.int v) { + $_setSignedInt32(9, v); + } + + @$pb.TagNumber(10) + $core.bool hasBgAlphaNight() => $_has(9); + @$pb.TagNumber(10) + void clearBgAlphaNight() => clearField(10); +} + +/// 大会员信息 +class VipInfo extends $pb.GeneratedMessage { + factory VipInfo({ + $core.int? type, + $core.int? status, + $fixnum.Int64? dueDate, + VipLabel? label, + $core.int? themeType, + $core.int? avatarSubscript, + $core.String? nicknameColor, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (status != null) { + $result.status = status; + } + if (dueDate != null) { + $result.dueDate = dueDate; + } + if (label != null) { + $result.label = label; + } + if (themeType != null) { + $result.themeType = themeType; + } + if (avatarSubscript != null) { + $result.avatarSubscript = avatarSubscript; + } + if (nicknameColor != null) { + $result.nicknameColor = nicknameColor; + } + return $result; + } + VipInfo._() : super(); + factory VipInfo.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory VipInfo.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VipInfo', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.O3, + protoName: 'Type') + ..a<$core.int>(2, _omitFieldNames ? '' : 'status', $pb.PbFieldType.O3) + ..aInt64(3, _omitFieldNames ? '' : 'dueDate') + ..aOM(4, _omitFieldNames ? '' : 'label', + subBuilder: VipLabel.create) + ..a<$core.int>(5, _omitFieldNames ? '' : 'themeType', $pb.PbFieldType.O3) + ..a<$core.int>( + 6, _omitFieldNames ? '' : 'avatarSubscript', $pb.PbFieldType.O3) + ..aOS(7, _omitFieldNames ? '' : 'nicknameColor') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + VipInfo clone() => VipInfo()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VipInfo copyWith(void Function(VipInfo) updates) => + super.copyWith((message) => updates(message as VipInfo)) as VipInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static VipInfo create() => VipInfo._(); + VipInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static VipInfo getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static VipInfo? _defaultInstance; + + /// 大会员类型 + @$pb.TagNumber(1) + $core.int get type => $_getIZ(0); + @$pb.TagNumber(1) + set type($core.int v) { + $_setSignedInt32(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + /// 大会员状态 + @$pb.TagNumber(2) + $core.int get status => $_getIZ(1); + @$pb.TagNumber(2) + set status($core.int v) { + $_setSignedInt32(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasStatus() => $_has(1); + @$pb.TagNumber(2) + void clearStatus() => clearField(2); + + /// 到期时间 + @$pb.TagNumber(3) + $fixnum.Int64 get dueDate => $_getI64(2); + @$pb.TagNumber(3) + set dueDate($fixnum.Int64 v) { + $_setInt64(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasDueDate() => $_has(2); + @$pb.TagNumber(3) + void clearDueDate() => clearField(3); + + /// 标签 + @$pb.TagNumber(4) + VipLabel get label => $_getN(3); + @$pb.TagNumber(4) + set label(VipLabel v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasLabel() => $_has(3); + @$pb.TagNumber(4) + void clearLabel() => clearField(4); + @$pb.TagNumber(4) + VipLabel ensureLabel() => $_ensure(3); + + /// 主题 + @$pb.TagNumber(5) + $core.int get themeType => $_getIZ(4); + @$pb.TagNumber(5) + set themeType($core.int v) { + $_setSignedInt32(4, v); + } + + @$pb.TagNumber(5) + $core.bool hasThemeType() => $_has(4); + @$pb.TagNumber(5) + void clearThemeType() => clearField(5); + + /// 大会员角标 + /// 0:无角标 1:粉色大会员角标 2:绿色小会员角标 + @$pb.TagNumber(6) + $core.int get avatarSubscript => $_getIZ(5); + @$pb.TagNumber(6) + set avatarSubscript($core.int v) { + $_setSignedInt32(5, v); + } + + @$pb.TagNumber(6) + $core.bool hasAvatarSubscript() => $_has(5); + @$pb.TagNumber(6) + void clearAvatarSubscript() => clearField(6); + + /// 昵称色值,可能为空,色值示例:#FFFB9E60 + @$pb.TagNumber(7) + $core.String get nicknameColor => $_getSZ(6); + @$pb.TagNumber(7) + set nicknameColor($core.String v) { + $_setString(6, v); + } + + @$pb.TagNumber(7) + $core.bool hasNicknameColor() => $_has(6); + @$pb.TagNumber(7) + void clearNicknameColor() => clearField(7); +} + +/// 大会员标签 +class VipLabel extends $pb.GeneratedMessage { + factory VipLabel({ + $core.String? path, + $core.String? text, + $core.String? labelTheme, + }) { + final $result = create(); + if (path != null) { + $result.path = path; + } + if (text != null) { + $result.text = text; + } + if (labelTheme != null) { + $result.labelTheme = labelTheme; + } + return $result; + } + VipLabel._() : super(); + factory VipLabel.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory VipLabel.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'VipLabel', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'path') + ..aOS(2, _omitFieldNames ? '' : 'text') + ..aOS(3, _omitFieldNames ? '' : 'labelTheme') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + VipLabel clone() => VipLabel()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + VipLabel copyWith(void Function(VipLabel) updates) => + super.copyWith((message) => updates(message as VipLabel)) as VipLabel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static VipLabel create() => VipLabel._(); + VipLabel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static VipLabel getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static VipLabel? _defaultInstance; + + /// 图片地址 + @$pb.TagNumber(1) + $core.String get path => $_getSZ(0); + @$pb.TagNumber(1) + set path($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasPath() => $_has(0); + @$pb.TagNumber(1) + void clearPath() => 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.String get labelTheme => $_getSZ(2); + @$pb.TagNumber(3) + set labelTheme($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasLabelTheme() => $_has(2); + @$pb.TagNumber(3) + void clearLabelTheme() => clearField(3); +} + +/// 提权样式 +class Weight extends $pb.GeneratedMessage { + factory Weight({ + $core.String? title, + $core.Iterable? items, + $core.String? icon, + }) { + final $result = create(); + if (title != null) { + $result.title = title; + } + if (items != null) { + $result.items.addAll(items); + } + if (icon != null) { + $result.icon = icon; + } + return $result; + } + Weight._() : super(); + factory Weight.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Weight.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Weight', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'title') + ..pc(2, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, + subBuilder: WeightItem.create) + ..aOS(3, _omitFieldNames ? '' : 'icon') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Weight clone() => Weight()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Weight copyWith(void Function(Weight) updates) => + super.copyWith((message) => updates(message as Weight)) as Weight; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Weight create() => Weight._(); + Weight createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Weight getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Weight? _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.List get items => $_getList(1); + + /// icon + @$pb.TagNumber(3) + $core.String get icon => $_getSZ(2); + @$pb.TagNumber(3) + set icon($core.String v) { + $_setString(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasIcon() => $_has(2); + @$pb.TagNumber(3) + void clearIcon() => clearField(3); +} + +/// 热门默认跳转按钮 +class WeightButton extends $pb.GeneratedMessage { + factory WeightButton({ + $core.String? jumpUrl, + $core.String? title, + }) { + final $result = create(); + if (jumpUrl != null) { + $result.jumpUrl = jumpUrl; + } + if (title != null) { + $result.title = title; + } + return $result; + } + WeightButton._() : super(); + factory WeightButton.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory WeightButton.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'WeightButton', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'jumpUrl') + ..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') + WeightButton clone() => WeightButton()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + WeightButton copyWith(void Function(WeightButton) updates) => + super.copyWith((message) => updates(message as WeightButton)) + as WeightButton; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static WeightButton create() => WeightButton._(); + WeightButton createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static WeightButton getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static WeightButton? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get jumpUrl => $_getSZ(0); + @$pb.TagNumber(1) + set jumpUrl($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasJumpUrl() => $_has(0); + @$pb.TagNumber(1) + void clearJumpUrl() => 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 WeightDislike extends $pb.GeneratedMessage { + factory WeightDislike({ + $core.String? feedBackType, + $core.String? title, + }) { + final $result = create(); + if (feedBackType != null) { + $result.feedBackType = feedBackType; + } + if (title != null) { + $result.title = title; + } + return $result; + } + WeightDislike._() : super(); + factory WeightDislike.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory WeightDislike.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'WeightDislike', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'feedBackType') + ..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') + WeightDislike clone() => WeightDislike()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + WeightDislike copyWith(void Function(WeightDislike) updates) => + super.copyWith((message) => updates(message as WeightDislike)) + as WeightDislike; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static WeightDislike create() => WeightDislike._(); + WeightDislike createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static WeightDislike getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static WeightDislike? _defaultInstance; + + /// 负反馈业务类型 作为客户端调用负反馈接口的参数 + @$pb.TagNumber(1) + $core.String get feedBackType => $_getSZ(0); + @$pb.TagNumber(1) + set feedBackType($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasFeedBackType() => $_has(0); + @$pb.TagNumber(1) + void clearFeedBackType() => 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); +} + +enum WeightItem_Item { button, dislike, notSet } + +/// 提权样式 +class WeightItem extends $pb.GeneratedMessage { + factory WeightItem({ + WeightType? type, + WeightButton? button, + WeightDislike? dislike, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (button != null) { + $result.button = button; + } + if (dislike != null) { + $result.dislike = dislike; + } + return $result; + } + WeightItem._() : super(); + factory WeightItem.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory WeightItem.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, WeightItem_Item> _WeightItem_ItemByTag = { + 2: WeightItem_Item.button, + 3: WeightItem_Item.dislike, + 0: WeightItem_Item.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'WeightItem', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..oo(0, [2, 3]) + ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, + defaultOrMaker: WeightType.weight_none, + valueOf: WeightType.valueOf, + enumValues: WeightType.values) + ..aOM(2, _omitFieldNames ? '' : 'button', + subBuilder: WeightButton.create) + ..aOM(3, _omitFieldNames ? '' : 'dislike', + subBuilder: WeightDislike.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') + WeightItem clone() => WeightItem()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + WeightItem copyWith(void Function(WeightItem) updates) => + super.copyWith((message) => updates(message as WeightItem)) as WeightItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static WeightItem create() => WeightItem._(); + WeightItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static WeightItem getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static WeightItem? _defaultInstance; + + WeightItem_Item whichItem() => _WeightItem_ItemByTag[$_whichOneof(0)]!; + void clearItem() => clearField($_whichOneof(0)); + + /// 类型 + @$pb.TagNumber(1) + WeightType get type => $_getN(0); + @$pb.TagNumber(1) + set type(WeightType v) { + setField(1, v); + } + + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + /// 热门默认跳转按钮 + @$pb.TagNumber(2) + WeightButton get button => $_getN(1); + @$pb.TagNumber(2) + set button(WeightButton v) { + setField(2, v); + } + + @$pb.TagNumber(2) + $core.bool hasButton() => $_has(1); + @$pb.TagNumber(2) + void clearButton() => clearField(2); + @$pb.TagNumber(2) + WeightButton ensureButton() => $_ensure(1); + + /// 提权不感兴趣 + @$pb.TagNumber(3) + WeightDislike get dislike => $_getN(2); + @$pb.TagNumber(3) + set dislike(WeightDislike v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasDislike() => $_has(2); + @$pb.TagNumber(3) + void clearDislike() => clearField(3); + @$pb.TagNumber(3) + WeightDislike ensureDislike() => $_ensure(2); +} + +class WordNode_WordNodeStyle extends $pb.GeneratedMessage { + factory WordNode_WordNodeStyle({ + $core.bool? bold, + $core.bool? italic, + $core.bool? strikethrough, + $core.bool? underline, + }) { + final $result = create(); + if (bold != null) { + $result.bold = bold; + } + if (italic != null) { + $result.italic = italic; + } + if (strikethrough != null) { + $result.strikethrough = strikethrough; + } + if (underline != null) { + $result.underline = underline; + } + return $result; + } + WordNode_WordNodeStyle._() : super(); + factory WordNode_WordNodeStyle.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory WordNode_WordNodeStyle.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'WordNode.WordNodeStyle', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'bold') + ..aOB(2, _omitFieldNames ? '' : 'italic') + ..aOB(3, _omitFieldNames ? '' : 'strikethrough') + ..aOB(4, _omitFieldNames ? '' : 'underline') + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + WordNode_WordNodeStyle clone() => + WordNode_WordNodeStyle()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + WordNode_WordNodeStyle copyWith( + void Function(WordNode_WordNodeStyle) updates) => + super.copyWith((message) => updates(message as WordNode_WordNodeStyle)) + as WordNode_WordNodeStyle; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static WordNode_WordNodeStyle create() => WordNode_WordNodeStyle._(); + WordNode_WordNodeStyle createEmptyInstance() => create(); + static $pb.PbList createRepeated() => + $pb.PbList(); + @$core.pragma('dart2js:noInline') + static WordNode_WordNodeStyle getDefault() => _defaultInstance ??= + $pb.GeneratedMessage.$_defaultFor(create); + static WordNode_WordNodeStyle? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get bold => $_getBF(0); + @$pb.TagNumber(1) + set bold($core.bool v) { + $_setBool(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasBold() => $_has(0); + @$pb.TagNumber(1) + void clearBold() => clearField(1); + + @$pb.TagNumber(2) + $core.bool get italic => $_getBF(1); + @$pb.TagNumber(2) + set italic($core.bool v) { + $_setBool(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasItalic() => $_has(1); + @$pb.TagNumber(2) + void clearItalic() => clearField(2); + + @$pb.TagNumber(3) + $core.bool get strikethrough => $_getBF(2); + @$pb.TagNumber(3) + set strikethrough($core.bool v) { + $_setBool(2, v); + } + + @$pb.TagNumber(3) + $core.bool hasStrikethrough() => $_has(2); + @$pb.TagNumber(3) + void clearStrikethrough() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get underline => $_getBF(3); + @$pb.TagNumber(4) + set underline($core.bool v) { + $_setBool(3, v); + } + + @$pb.TagNumber(4) + $core.bool hasUnderline() => $_has(3); + @$pb.TagNumber(4) + void clearUnderline() => clearField(4); +} + +class WordNode extends $pb.GeneratedMessage { + factory WordNode({ + $core.String? words, + $core.double? fontSize, + Colors? color, + WordNode_WordNodeStyle? style, + }) { + final $result = create(); + if (words != null) { + $result.words = words; + } + if (fontSize != null) { + $result.fontSize = fontSize; + } + if (color != null) { + $result.color = color; + } + if (style != null) { + $result.style = style; + } + return $result; + } + WordNode._() : super(); + factory WordNode.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory WordNode.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'WordNode', + package: const $pb.PackageName( + _omitMessageNames ? '' : 'bilibili.app.dynamic.v2'), + createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'words') + ..a<$core.double>(2, _omitFieldNames ? '' : 'fontSize', $pb.PbFieldType.OD) + ..aOM(3, _omitFieldNames ? '' : 'color', subBuilder: Colors.create) + ..aOM(4, _omitFieldNames ? '' : 'style', + subBuilder: WordNode_WordNodeStyle.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') + WordNode clone() => WordNode()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + WordNode copyWith(void Function(WordNode) updates) => + super.copyWith((message) => updates(message as WordNode)) as WordNode; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static WordNode create() => WordNode._(); + WordNode createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static WordNode getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static WordNode? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get words => $_getSZ(0); + @$pb.TagNumber(1) + set words($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasWords() => $_has(0); + @$pb.TagNumber(1) + void clearWords() => clearField(1); + + @$pb.TagNumber(2) + $core.double get fontSize => $_getN(1); + @$pb.TagNumber(2) + set fontSize($core.double v) { + $_setDouble(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasFontSize() => $_has(1); + @$pb.TagNumber(2) + void clearFontSize() => clearField(2); + + @$pb.TagNumber(3) + Colors get color => $_getN(2); + @$pb.TagNumber(3) + set color(Colors v) { + setField(3, v); + } + + @$pb.TagNumber(3) + $core.bool hasColor() => $_has(2); + @$pb.TagNumber(3) + void clearColor() => clearField(3); + @$pb.TagNumber(3) + Colors ensureColor() => $_ensure(2); + + @$pb.TagNumber(4) + WordNode_WordNodeStyle get style => $_getN(3); + @$pb.TagNumber(4) + set style(WordNode_WordNodeStyle v) { + setField(4, v); + } + + @$pb.TagNumber(4) + $core.bool hasStyle() => $_has(3); + @$pb.TagNumber(4) + void clearStyle() => clearField(4); + @$pb.TagNumber(4) + WordNode_WordNodeStyle ensureStyle() => $_ensure(3); +} + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/grpc/app/dynamic/v2/dynamic.pbenum.dart b/lib/grpc/app/dynamic/v2/dynamic.pbenum.dart new file mode 100644 index 00000000..d4ed3677 --- /dev/null +++ b/lib/grpc/app/dynamic/v2/dynamic.pbenum.dart @@ -0,0 +1,1635 @@ +// +// Generated code. Do not modify. +// source: bilibili/app/dynamic/v2/dynamic.proto +// +// @dart = 2.12 + +// 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 AddButtonBgStyle extends $pb.ProtobufEnum { + static const AddButtonBgStyle fill = AddButtonBgStyle._(0, _omitEnumNames ? '' : 'fill'); + static const AddButtonBgStyle stroke = AddButtonBgStyle._(1, _omitEnumNames ? '' : 'stroke'); + static const AddButtonBgStyle gray = AddButtonBgStyle._(2, _omitEnumNames ? '' : 'gray'); + + static const $core.List values = [ + fill, + stroke, + gray, + ]; + + static final $core.Map<$core.int, AddButtonBgStyle> _byValue = $pb.ProtobufEnum.initByValue(values); + static AddButtonBgStyle? valueOf($core.int value) => _byValue[value]; + + const AddButtonBgStyle._($core.int v, $core.String n) : super(v, n); +} + +/// 按钮类型 +class AddButtonType extends $pb.ProtobufEnum { + static const AddButtonType bt_none = AddButtonType._(0, _omitEnumNames ? '' : 'bt_none'); + static const AddButtonType bt_jump = AddButtonType._(1, _omitEnumNames ? '' : 'bt_jump'); + static const AddButtonType bt_button = AddButtonType._(2, _omitEnumNames ? '' : 'bt_button'); + + static const $core.List values = [ + bt_none, + bt_jump, + bt_button, + ]; + + static final $core.Map<$core.int, AddButtonType> _byValue = $pb.ProtobufEnum.initByValue(values); + static AddButtonType? valueOf($core.int value) => _byValue[value]; + + const AddButtonType._($core.int v, $core.String n) : super(v, n); +} + +/// 附加卡按钮点击类型 +class AdditionalButtonClickType extends $pb.ProtobufEnum { + static const AdditionalButtonClickType click_none = AdditionalButtonClickType._(0, _omitEnumNames ? '' : 'click_none'); + static const AdditionalButtonClickType click_up = AdditionalButtonClickType._(1, _omitEnumNames ? '' : 'click_up'); + + static const $core.List values = [ + click_none, + click_up, + ]; + + static final $core.Map<$core.int, AdditionalButtonClickType> _byValue = $pb.ProtobufEnum.initByValue(values); + static AdditionalButtonClickType? valueOf($core.int value) => _byValue[value]; + + const AdditionalButtonClickType._($core.int v, $core.String n) : super(v, n); +} + +/// 附加卡按钮状态 +class AdditionalButtonStatus extends $pb.ProtobufEnum { + static const AdditionalButtonStatus none = AdditionalButtonStatus._(0, _omitEnumNames ? '' : 'none'); + static const AdditionalButtonStatus uncheck = AdditionalButtonStatus._(1, _omitEnumNames ? '' : 'uncheck'); + static const AdditionalButtonStatus check = AdditionalButtonStatus._(2, _omitEnumNames ? '' : 'check'); + + static const $core.List values = [ + none, + uncheck, + check, + ]; + + static final $core.Map<$core.int, AdditionalButtonStatus> _byValue = $pb.ProtobufEnum.initByValue(values); + static AdditionalButtonStatus? valueOf($core.int value) => _byValue[value]; + + const AdditionalButtonStatus._($core.int v, $core.String n) : super(v, n); +} + +class AdditionalShareShowType extends $pb.ProtobufEnum { + static const AdditionalShareShowType st_none = AdditionalShareShowType._(0, _omitEnumNames ? '' : 'st_none'); + static const AdditionalShareShowType st_show = AdditionalShareShowType._(1, _omitEnumNames ? '' : 'st_show'); + + static const $core.List values = [ + st_none, + st_show, + ]; + + static final $core.Map<$core.int, AdditionalShareShowType> _byValue = $pb.ProtobufEnum.initByValue(values); + static AdditionalShareShowType? valueOf($core.int value) => _byValue[value]; + + const AdditionalShareShowType._($core.int v, $core.String n) : super(v, n); +} + +/// 枚举-动态附加卡 +class AdditionalType extends $pb.ProtobufEnum { + static const AdditionalType additional_none = AdditionalType._(0, _omitEnumNames ? '' : 'additional_none'); + static const AdditionalType additional_type_pgc = AdditionalType._(1, _omitEnumNames ? '' : 'additional_type_pgc'); + static const AdditionalType additional_type_goods = AdditionalType._(2, _omitEnumNames ? '' : 'additional_type_goods'); + static const AdditionalType additional_type_vote = AdditionalType._(3, _omitEnumNames ? '' : 'additional_type_vote'); + static const AdditionalType additional_type_common = AdditionalType._(4, _omitEnumNames ? '' : 'additional_type_common'); + static const AdditionalType additional_type_esport = AdditionalType._(5, _omitEnumNames ? '' : 'additional_type_esport'); + static const AdditionalType additional_type_up_rcmd = AdditionalType._(6, _omitEnumNames ? '' : 'additional_type_up_rcmd'); + static const AdditionalType additional_type_ugc = AdditionalType._(7, _omitEnumNames ? '' : 'additional_type_ugc'); + static const AdditionalType additional_type_up_reservation = AdditionalType._(8, _omitEnumNames ? '' : 'additional_type_up_reservation'); + + static const $core.List values = [ + additional_none, + additional_type_pgc, + additional_type_goods, + additional_type_vote, + additional_type_common, + additional_type_esport, + additional_type_up_rcmd, + additional_type_ugc, + additional_type_up_reservation, + ]; + + static final $core.Map<$core.int, AdditionalType> _byValue = $pb.ProtobufEnum.initByValue(values); + static AdditionalType? valueOf($core.int value) => _byValue[value]; + + const AdditionalType._($core.int v, $core.String n) : super(v, n); +} + +/// 投票状态 +class AdditionVoteState extends $pb.ProtobufEnum { + static const AdditionVoteState addition_vote_state_none = AdditionVoteState._(0, _omitEnumNames ? '' : 'addition_vote_state_none'); + static const AdditionVoteState addition_vote_state_open = AdditionVoteState._(1, _omitEnumNames ? '' : 'addition_vote_state_open'); + static const AdditionVoteState addition_vote_state_close = AdditionVoteState._(2, _omitEnumNames ? '' : 'addition_vote_state_close'); + + static const $core.List values = [ + addition_vote_state_none, + addition_vote_state_open, + addition_vote_state_close, + ]; + + static final $core.Map<$core.int, AdditionVoteState> _byValue = $pb.ProtobufEnum.initByValue(values); + static AdditionVoteState? valueOf($core.int value) => _byValue[value]; + + const AdditionVoteState._($core.int v, $core.String n) : super(v, n); +} + +/// 投票类型 +class AdditionVoteType extends $pb.ProtobufEnum { + static const AdditionVoteType addition_vote_type_none = AdditionVoteType._(0, _omitEnumNames ? '' : 'addition_vote_type_none'); + static const AdditionVoteType addition_vote_type_word = AdditionVoteType._(1, _omitEnumNames ? '' : 'addition_vote_type_word'); + static const AdditionVoteType addition_vote_type_pic = AdditionVoteType._(2, _omitEnumNames ? '' : 'addition_vote_type_pic'); + static const AdditionVoteType addition_vote_type_default = AdditionVoteType._(3, _omitEnumNames ? '' : 'addition_vote_type_default'); + + static const $core.List values = [ + addition_vote_type_none, + addition_vote_type_word, + addition_vote_type_pic, + addition_vote_type_default, + ]; + + static final $core.Map<$core.int, AdditionVoteType> _byValue = $pb.ProtobufEnum.initByValue(values); + static AdditionVoteType? valueOf($core.int value) => _byValue[value]; + + const AdditionVoteType._($core.int v, $core.String n) : super(v, n); +} + +class CampusEntryType extends $pb.ProtobufEnum { + static const CampusEntryType NONE = CampusEntryType._(0, _omitEnumNames ? '' : 'NONE'); + static const CampusEntryType ENTRY_DYNAMIC = CampusEntryType._(1, _omitEnumNames ? '' : 'ENTRY_DYNAMIC'); + static const CampusEntryType ENTRY_HOME = CampusEntryType._(2, _omitEnumNames ? '' : 'ENTRY_HOME'); + + static const $core.List values = [ + NONE, + ENTRY_DYNAMIC, + ENTRY_HOME, + ]; + + static final $core.Map<$core.int, CampusEntryType> _byValue = $pb.ProtobufEnum.initByValue(values); + static CampusEntryType? valueOf($core.int value) => _byValue[value]; + + const CampusEntryType._($core.int v, $core.String n) : super(v, n); +} + +class CampusRcmdReqFrom extends $pb.ProtobufEnum { + static const CampusRcmdReqFrom CAMPUS_RCMD_FROM_UNKNOWN = CampusRcmdReqFrom._(0, _omitEnumNames ? '' : 'CAMPUS_RCMD_FROM_UNKNOWN'); + static const CampusRcmdReqFrom CAMPUS_RCMD_FROM_HOME_UN_OPEN = CampusRcmdReqFrom._(1, _omitEnumNames ? '' : 'CAMPUS_RCMD_FROM_HOME_UN_OPEN'); + static const CampusRcmdReqFrom CAMPUS_RCMD_FROM_VISIT_OTHER = CampusRcmdReqFrom._(2, _omitEnumNames ? '' : 'CAMPUS_RCMD_FROM_VISIT_OTHER'); + static const CampusRcmdReqFrom CAMPUS_RCMD_FROM_HOME_MOMENT = CampusRcmdReqFrom._(3, _omitEnumNames ? '' : 'CAMPUS_RCMD_FROM_HOME_MOMENT'); + static const CampusRcmdReqFrom CAMPUS_RCMD_FROM_DYN_MOMENT = CampusRcmdReqFrom._(4, _omitEnumNames ? '' : 'CAMPUS_RCMD_FROM_DYN_MOMENT'); + static const CampusRcmdReqFrom CAMPUS_RCMD_FROM_PAGE_SUBORDINATE_MOMENT = CampusRcmdReqFrom._(5, _omitEnumNames ? '' : 'CAMPUS_RCMD_FROM_PAGE_SUBORDINATE_MOMENT'); + + static const $core.List values = [ + CAMPUS_RCMD_FROM_UNKNOWN, + CAMPUS_RCMD_FROM_HOME_UN_OPEN, + CAMPUS_RCMD_FROM_VISIT_OTHER, + CAMPUS_RCMD_FROM_HOME_MOMENT, + CAMPUS_RCMD_FROM_DYN_MOMENT, + CAMPUS_RCMD_FROM_PAGE_SUBORDINATE_MOMENT, + ]; + + static final $core.Map<$core.int, CampusRcmdReqFrom> _byValue = $pb.ProtobufEnum.initByValue(values); + static CampusRcmdReqFrom? valueOf($core.int value) => _byValue[value]; + + const CampusRcmdReqFrom._($core.int v, $core.String n) : super(v, n); +} + +class CampusHomePageType extends $pb.ProtobufEnum { + static const CampusHomePageType PAGE_MAJOR = CampusHomePageType._(0, _omitEnumNames ? '' : 'PAGE_MAJOR'); + static const CampusHomePageType PAGE_SUBORDINATE = CampusHomePageType._(1, _omitEnumNames ? '' : 'PAGE_SUBORDINATE'); + static const CampusHomePageType PAGE_MAJOR_DETAIL = CampusHomePageType._(2, _omitEnumNames ? '' : 'PAGE_MAJOR_DETAIL'); + + static const $core.List values = [ + PAGE_MAJOR, + PAGE_SUBORDINATE, + PAGE_MAJOR_DETAIL, + ]; + + static final $core.Map<$core.int, CampusHomePageType> _byValue = $pb.ProtobufEnum.initByValue(values); + static CampusHomePageType? valueOf($core.int value) => _byValue[value]; + + const CampusHomePageType._($core.int v, $core.String n) : super(v, n); +} + +class CampusMngAuditStatus extends $pb.ProtobufEnum { + static const CampusMngAuditStatus campus_mng_audit_none = CampusMngAuditStatus._(0, _omitEnumNames ? '' : 'campus_mng_audit_none'); + static const CampusMngAuditStatus campus_mng_audit_in_process = CampusMngAuditStatus._(1, _omitEnumNames ? '' : 'campus_mng_audit_in_process'); + static const CampusMngAuditStatus campus_mng_audit_failed = CampusMngAuditStatus._(2, _omitEnumNames ? '' : 'campus_mng_audit_failed'); + + static const $core.List values = [ + campus_mng_audit_none, + campus_mng_audit_in_process, + campus_mng_audit_failed, + ]; + + static final $core.Map<$core.int, CampusMngAuditStatus> _byValue = $pb.ProtobufEnum.initByValue(values); + static CampusMngAuditStatus? valueOf($core.int value) => _byValue[value]; + + const CampusMngAuditStatus._($core.int v, $core.String n) : super(v, n); +} + +class CampusMngItemType extends $pb.ProtobufEnum { + static const CampusMngItemType campus_mng_none = CampusMngItemType._(0, _omitEnumNames ? '' : 'campus_mng_none'); + static const CampusMngItemType campus_mng_basic_info = CampusMngItemType._(1, _omitEnumNames ? '' : 'campus_mng_basic_info'); + static const CampusMngItemType campus_mng_badge = CampusMngItemType._(2, _omitEnumNames ? '' : 'campus_mng_badge'); + static const CampusMngItemType campus_mng_slogan = CampusMngItemType._(3, _omitEnumNames ? '' : 'campus_mng_slogan'); + static const CampusMngItemType campus_mng_quiz = CampusMngItemType._(4, _omitEnumNames ? '' : 'campus_mng_quiz'); + + static const $core.List values = [ + campus_mng_none, + campus_mng_basic_info, + campus_mng_badge, + campus_mng_slogan, + campus_mng_quiz, + ]; + + static final $core.Map<$core.int, CampusMngItemType> _byValue = $pb.ProtobufEnum.initByValue(values); + static CampusMngItemType? valueOf($core.int value) => _byValue[value]; + + const CampusMngItemType._($core.int v, $core.String n) : super(v, n); +} + +class CampusMngQuizAction extends $pb.ProtobufEnum { + static const CampusMngQuizAction campus_mng_quiz_act_list = CampusMngQuizAction._(0, _omitEnumNames ? '' : 'campus_mng_quiz_act_list'); + static const CampusMngQuizAction campus_mng_quiz_act_add = CampusMngQuizAction._(1, _omitEnumNames ? '' : 'campus_mng_quiz_act_add'); + static const CampusMngQuizAction campus_mng_quiz_act_del = CampusMngQuizAction._(2, _omitEnumNames ? '' : 'campus_mng_quiz_act_del'); + + static const $core.List values = [ + campus_mng_quiz_act_list, + campus_mng_quiz_act_add, + campus_mng_quiz_act_del, + ]; + + static final $core.Map<$core.int, CampusMngQuizAction> _byValue = $pb.ProtobufEnum.initByValue(values); + static CampusMngQuizAction? valueOf($core.int value) => _byValue[value]; + + const CampusMngQuizAction._($core.int v, $core.String n) : super(v, n); +} + +class CampusOnlineStatus extends $pb.ProtobufEnum { + static const CampusOnlineStatus campus_online_offline = CampusOnlineStatus._(0, _omitEnumNames ? '' : 'campus_online_offline'); + static const CampusOnlineStatus campus_online_online = CampusOnlineStatus._(1, _omitEnumNames ? '' : 'campus_online_online'); + + static const $core.List values = [ + campus_online_offline, + campus_online_online, + ]; + + static final $core.Map<$core.int, CampusOnlineStatus> _byValue = $pb.ProtobufEnum.initByValue(values); + static CampusOnlineStatus? valueOf($core.int value) => _byValue[value]; + + const CampusOnlineStatus._($core.int v, $core.String n) : super(v, n); +} + +class CampusReqFromType extends $pb.ProtobufEnum { + static const CampusReqFromType DYNAMIC = CampusReqFromType._(0, _omitEnumNames ? '' : 'DYNAMIC'); + static const CampusReqFromType HOME = CampusReqFromType._(1, _omitEnumNames ? '' : 'HOME'); + + static const $core.List values = [ + DYNAMIC, + HOME, + ]; + + static final $core.Map<$core.int, CampusReqFromType> _byValue = $pb.ProtobufEnum.initByValue(values); + static CampusReqFromType? valueOf($core.int value) => _byValue[value]; + + const CampusReqFromType._($core.int v, $core.String n) : super(v, n); +} + +class CampusTabType extends $pb.ProtobufEnum { + static const CampusTabType campus_none = CampusTabType._(0, _omitEnumNames ? '' : 'campus_none'); + static const CampusTabType campus_school = CampusTabType._(1, _omitEnumNames ? '' : 'campus_school'); + static const CampusTabType campus_dynamic = CampusTabType._(2, _omitEnumNames ? '' : 'campus_dynamic'); + static const CampusTabType campus_account = CampusTabType._(3, _omitEnumNames ? '' : 'campus_account'); + static const CampusTabType campus_billboard = CampusTabType._(4, _omitEnumNames ? '' : 'campus_billboard'); + static const CampusTabType campus_topic = CampusTabType._(5, _omitEnumNames ? '' : 'campus_topic'); + static const CampusTabType campues_other = CampusTabType._(6, _omitEnumNames ? '' : 'campues_other'); + + static const $core.List values = [ + campus_none, + campus_school, + campus_dynamic, + campus_account, + campus_billboard, + campus_topic, + campues_other, + ]; + + static final $core.Map<$core.int, CampusTabType> _byValue = $pb.ProtobufEnum.initByValue(values); + static CampusTabType? valueOf($core.int value) => _byValue[value]; + + const CampusTabType._($core.int v, $core.String n) : super(v, n); +} + +class CoverIcon extends $pb.ProtobufEnum { + static const CoverIcon cover_icon_none = CoverIcon._(0, _omitEnumNames ? '' : 'cover_icon_none'); + static const CoverIcon cover_icon_play = CoverIcon._(1, _omitEnumNames ? '' : 'cover_icon_play'); + static const CoverIcon cover_icon_danmaku = CoverIcon._(2, _omitEnumNames ? '' : 'cover_icon_danmaku'); + static const CoverIcon cover_icon_up = CoverIcon._(3, _omitEnumNames ? '' : 'cover_icon_up'); + static const CoverIcon cover_icon_vt = CoverIcon._(4, _omitEnumNames ? '' : 'cover_icon_vt'); + + static const $core.List values = [ + cover_icon_none, + cover_icon_play, + cover_icon_danmaku, + cover_icon_up, + cover_icon_vt, + ]; + + static final $core.Map<$core.int, CoverIcon> _byValue = $pb.ProtobufEnum.initByValue(values); + static CoverIcon? valueOf($core.int value) => _byValue[value]; + + const CoverIcon._($core.int v, $core.String n) : super(v, n); +} + +/// 文本类型 +class DescType extends $pb.ProtobufEnum { + static const DescType desc_type_none = DescType._(0, _omitEnumNames ? '' : 'desc_type_none'); + static const DescType desc_type_text = DescType._(1, _omitEnumNames ? '' : 'desc_type_text'); + static const DescType desc_type_aite = DescType._(2, _omitEnumNames ? '' : 'desc_type_aite'); + static const DescType desc_type_lottery = DescType._(3, _omitEnumNames ? '' : 'desc_type_lottery'); + static const DescType desc_type_vote = DescType._(4, _omitEnumNames ? '' : 'desc_type_vote'); + static const DescType desc_type_topic = DescType._(5, _omitEnumNames ? '' : 'desc_type_topic'); + static const DescType desc_type_goods = DescType._(6, _omitEnumNames ? '' : 'desc_type_goods'); + static const DescType desc_type_bv = DescType._(7, _omitEnumNames ? '' : 'desc_type_bv'); + static const DescType desc_type_av = DescType._(8, _omitEnumNames ? '' : 'desc_type_av'); + static const DescType desc_type_emoji = DescType._(9, _omitEnumNames ? '' : 'desc_type_emoji'); + static const DescType desc_type_user = DescType._(10, _omitEnumNames ? '' : 'desc_type_user'); + static const DescType desc_type_cv = DescType._(11, _omitEnumNames ? '' : 'desc_type_cv'); + static const DescType desc_type_vc = DescType._(12, _omitEnumNames ? '' : 'desc_type_vc'); + static const DescType desc_type_web = DescType._(13, _omitEnumNames ? '' : 'desc_type_web'); + static const DescType desc_type_taobao = DescType._(14, _omitEnumNames ? '' : 'desc_type_taobao'); + static const DescType desc_type_mail = DescType._(15, _omitEnumNames ? '' : 'desc_type_mail'); + static const DescType desc_type_ogv_season = DescType._(16, _omitEnumNames ? '' : 'desc_type_ogv_season'); + static const DescType desc_type_ogv_ep = DescType._(17, _omitEnumNames ? '' : 'desc_type_ogv_ep'); + static const DescType desc_type_search_word = DescType._(18, _omitEnumNames ? '' : 'desc_type_search_word'); + + static const $core.List values = [ + desc_type_none, + desc_type_text, + desc_type_aite, + desc_type_lottery, + desc_type_vote, + desc_type_topic, + desc_type_goods, + desc_type_bv, + desc_type_av, + desc_type_emoji, + desc_type_user, + desc_type_cv, + desc_type_vc, + desc_type_web, + desc_type_taobao, + desc_type_mail, + desc_type_ogv_season, + desc_type_ogv_ep, + desc_type_search_word, + ]; + + static final $core.Map<$core.int, DescType> _byValue = $pb.ProtobufEnum.initByValue(values); + static DescType? valueOf($core.int value) => _byValue[value]; + + const DescType._($core.int v, $core.String n) : super(v, n); +} + +class DisableState extends $pb.ProtobufEnum { + static const DisableState highlight = DisableState._(0, _omitEnumNames ? '' : 'highlight'); + static const DisableState gary = DisableState._(1, _omitEnumNames ? '' : 'gary'); + + static const $core.List values = [ + highlight, + gary, + ]; + + static final $core.Map<$core.int, DisableState> _byValue = $pb.ProtobufEnum.initByValue(values); + static DisableState? valueOf($core.int value) => _byValue[value]; + + const DisableState._($core.int v, $core.String n) : super(v, n); +} + +/// 枚举-动态类型 +class DynamicType extends $pb.ProtobufEnum { + static const DynamicType dyn_none = DynamicType._(0, _omitEnumNames ? '' : 'dyn_none'); + static const DynamicType forward = DynamicType._(1, _omitEnumNames ? '' : 'forward'); + static const DynamicType av = DynamicType._(2, _omitEnumNames ? '' : 'av'); + static const DynamicType pgc = DynamicType._(3, _omitEnumNames ? '' : 'pgc'); + static const DynamicType courses = DynamicType._(4, _omitEnumNames ? '' : 'courses'); + static const DynamicType fold = DynamicType._(5, _omitEnumNames ? '' : 'fold'); + static const DynamicType word = DynamicType._(6, _omitEnumNames ? '' : 'word'); + static const DynamicType draw = DynamicType._(7, _omitEnumNames ? '' : 'draw'); + static const DynamicType article = DynamicType._(8, _omitEnumNames ? '' : 'article'); + static const DynamicType music = DynamicType._(9, _omitEnumNames ? '' : 'music'); + static const DynamicType common_square = DynamicType._(10, _omitEnumNames ? '' : 'common_square'); + static const DynamicType common_vertical = DynamicType._(11, _omitEnumNames ? '' : 'common_vertical'); + static const DynamicType live = DynamicType._(12, _omitEnumNames ? '' : 'live'); + static const DynamicType medialist = DynamicType._(13, _omitEnumNames ? '' : 'medialist'); + static const DynamicType courses_season = DynamicType._(14, _omitEnumNames ? '' : 'courses_season'); + static const DynamicType ad = DynamicType._(15, _omitEnumNames ? '' : 'ad'); + static const DynamicType applet = DynamicType._(16, _omitEnumNames ? '' : 'applet'); + static const DynamicType subscription = DynamicType._(17, _omitEnumNames ? '' : 'subscription'); + static const DynamicType live_rcmd = DynamicType._(18, _omitEnumNames ? '' : 'live_rcmd'); + static const DynamicType banner = DynamicType._(19, _omitEnumNames ? '' : 'banner'); + static const DynamicType ugc_season = DynamicType._(20, _omitEnumNames ? '' : 'ugc_season'); + static const DynamicType subscription_new = DynamicType._(21, _omitEnumNames ? '' : 'subscription_new'); + static const DynamicType story = DynamicType._(22, _omitEnumNames ? '' : 'story'); + static const DynamicType topic_rcmd = DynamicType._(23, _omitEnumNames ? '' : 'topic_rcmd'); + static const DynamicType cour_up = DynamicType._(24, _omitEnumNames ? '' : 'cour_up'); + static const DynamicType topic_set = DynamicType._(25, _omitEnumNames ? '' : 'topic_set'); + static const DynamicType notice = DynamicType._(26, _omitEnumNames ? '' : 'notice'); + static const DynamicType text_notice = DynamicType._(27, _omitEnumNames ? '' : 'text_notice'); + + static const $core.List values = [ + dyn_none, + forward, + av, + pgc, + courses, + fold, + word, + draw, + article, + music, + common_square, + common_vertical, + live, + medialist, + courses_season, + ad, + applet, + subscription, + live_rcmd, + banner, + ugc_season, + subscription_new, + story, + topic_rcmd, + cour_up, + topic_set, + notice, + text_notice, + ]; + + static final $core.Map<$core.int, DynamicType> _byValue = $pb.ProtobufEnum.initByValue(values); + static DynamicType? valueOf($core.int value) => _byValue[value]; + + const DynamicType._($core.int v, $core.String n) : super(v, n); +} + +/// 动态小卡类型 +class DynExtendType extends $pb.ProtobufEnum { + static const DynExtendType dyn_ext_type_none = DynExtendType._(0, _omitEnumNames ? '' : 'dyn_ext_type_none'); + static const DynExtendType dyn_ext_type_topic = DynExtendType._(1, _omitEnumNames ? '' : 'dyn_ext_type_topic'); + static const DynExtendType dyn_ext_type_lbs = DynExtendType._(2, _omitEnumNames ? '' : 'dyn_ext_type_lbs'); + static const DynExtendType dyn_ext_type_hot = DynExtendType._(3, _omitEnumNames ? '' : 'dyn_ext_type_hot'); + static const DynExtendType dyn_ext_type_game = DynExtendType._(4, _omitEnumNames ? '' : 'dyn_ext_type_game'); + static const DynExtendType dyn_ext_type_common = DynExtendType._(5, _omitEnumNames ? '' : 'dyn_ext_type_common'); + static const DynExtendType dyn_ext_type_biliCut = DynExtendType._(6, _omitEnumNames ? '' : 'dyn_ext_type_biliCut'); + static const DynExtendType dyn_ext_type_ogv = DynExtendType._(7, _omitEnumNames ? '' : 'dyn_ext_type_ogv'); + static const DynExtendType dyn_ext_type_auto_ogv = DynExtendType._(8, _omitEnumNames ? '' : 'dyn_ext_type_auto_ogv'); + + static const $core.List values = [ + dyn_ext_type_none, + dyn_ext_type_topic, + dyn_ext_type_lbs, + dyn_ext_type_hot, + dyn_ext_type_game, + dyn_ext_type_common, + dyn_ext_type_biliCut, + dyn_ext_type_ogv, + dyn_ext_type_auto_ogv, + ]; + + static final $core.Map<$core.int, DynExtendType> _byValue = $pb.ProtobufEnum.initByValue(values); + static DynExtendType? valueOf($core.int value) => _byValue[value]; + + const DynExtendType._($core.int v, $core.String n) : super(v, n); +} + +/// 动态模块类型 +class DynModuleType extends $pb.ProtobufEnum { + static const DynModuleType module_none = DynModuleType._(0, _omitEnumNames ? '' : 'module_none'); + static const DynModuleType module_author = DynModuleType._(1, _omitEnumNames ? '' : 'module_author'); + static const DynModuleType module_dispute = DynModuleType._(2, _omitEnumNames ? '' : 'module_dispute'); + static const DynModuleType module_desc = DynModuleType._(3, _omitEnumNames ? '' : 'module_desc'); + static const DynModuleType module_dynamic = DynModuleType._(4, _omitEnumNames ? '' : 'module_dynamic'); + static const DynModuleType module_forward = DynModuleType._(5, _omitEnumNames ? '' : 'module_forward'); + static const DynModuleType module_likeUser = DynModuleType._(6, _omitEnumNames ? '' : 'module_likeUser'); + static const DynModuleType module_extend = DynModuleType._(7, _omitEnumNames ? '' : 'module_extend'); + static const DynModuleType module_additional = DynModuleType._(8, _omitEnumNames ? '' : 'module_additional'); + static const DynModuleType module_stat = DynModuleType._(9, _omitEnumNames ? '' : 'module_stat'); + static const DynModuleType module_fold = DynModuleType._(10, _omitEnumNames ? '' : 'module_fold'); + static const DynModuleType module_comment = DynModuleType._(11, _omitEnumNames ? '' : 'module_comment'); + static const DynModuleType module_interaction = DynModuleType._(12, _omitEnumNames ? '' : 'module_interaction'); + static const DynModuleType module_author_forward = DynModuleType._(13, _omitEnumNames ? '' : 'module_author_forward'); + static const DynModuleType module_ad = DynModuleType._(14, _omitEnumNames ? '' : 'module_ad'); + static const DynModuleType module_banner = DynModuleType._(15, _omitEnumNames ? '' : 'module_banner'); + static const DynModuleType module_item_null = DynModuleType._(16, _omitEnumNames ? '' : 'module_item_null'); + static const DynModuleType module_share_info = DynModuleType._(17, _omitEnumNames ? '' : 'module_share_info'); + static const DynModuleType module_recommend = DynModuleType._(18, _omitEnumNames ? '' : 'module_recommend'); + static const DynModuleType module_stat_forward = DynModuleType._(19, _omitEnumNames ? '' : 'module_stat_forward'); + static const DynModuleType module_top = DynModuleType._(20, _omitEnumNames ? '' : 'module_top'); + static const DynModuleType module_bottom = DynModuleType._(21, _omitEnumNames ? '' : 'module_bottom'); + static const DynModuleType module_story = DynModuleType._(22, _omitEnumNames ? '' : 'module_story'); + static const DynModuleType module_topic = DynModuleType._(23, _omitEnumNames ? '' : 'module_topic'); + static const DynModuleType module_topic_details_ext = DynModuleType._(24, _omitEnumNames ? '' : 'module_topic_details_ext'); + static const DynModuleType module_top_tag = DynModuleType._(25, _omitEnumNames ? '' : 'module_top_tag'); + static const DynModuleType module_topic_brief = DynModuleType._(26, _omitEnumNames ? '' : 'module_topic_brief'); + static const DynModuleType module_title = DynModuleType._(27, _omitEnumNames ? '' : 'module_title'); + static const DynModuleType module_button = DynModuleType._(28, _omitEnumNames ? '' : 'module_button'); + static const DynModuleType module_notice = DynModuleType._(29, _omitEnumNames ? '' : 'module_notice'); + static const DynModuleType module_opus_summary = DynModuleType._(30, _omitEnumNames ? '' : 'module_opus_summary'); + static const DynModuleType module_copyright = DynModuleType._(31, _omitEnumNames ? '' : 'module_copyright'); + static const DynModuleType module_paragraph = DynModuleType._(32, _omitEnumNames ? '' : 'module_paragraph'); + static const DynModuleType module_blocked = DynModuleType._(33, _omitEnumNames ? '' : 'module_blocked'); + static const DynModuleType module_text_notice = DynModuleType._(34, _omitEnumNames ? '' : 'module_text_notice'); + static const DynModuleType module_opus_collection = DynModuleType._(35, _omitEnumNames ? '' : 'module_opus_collection'); + + static const $core.List values = [ + module_none, + module_author, + module_dispute, + module_desc, + module_dynamic, + module_forward, + module_likeUser, + module_extend, + module_additional, + module_stat, + module_fold, + module_comment, + module_interaction, + module_author_forward, + module_ad, + module_banner, + module_item_null, + module_share_info, + module_recommend, + module_stat_forward, + module_top, + module_bottom, + module_story, + module_topic, + module_topic_details_ext, + module_top_tag, + module_topic_brief, + module_title, + module_button, + module_notice, + module_opus_summary, + module_copyright, + module_paragraph, + module_blocked, + module_text_notice, + module_opus_collection, + ]; + + static final $core.Map<$core.int, DynModuleType> _byValue = $pb.ProtobufEnum.initByValue(values); + static DynModuleType? valueOf($core.int value) => _byValue[value]; + + const DynModuleType._($core.int v, $core.String n) : super(v, n); +} + +/// 表情包类型 +class EmojiType extends $pb.ProtobufEnum { + static const EmojiType emoji_none = EmojiType._(0, _omitEnumNames ? '' : 'emoji_none'); + static const EmojiType emoji_old = EmojiType._(1, _omitEnumNames ? '' : 'emoji_old'); + static const EmojiType emoji_new = EmojiType._(2, _omitEnumNames ? '' : 'emoji_new'); + static const EmojiType vip = EmojiType._(3, _omitEnumNames ? '' : 'vip'); + + static const $core.List values = [ + emoji_none, + emoji_old, + emoji_new, + vip, + ]; + + static final $core.Map<$core.int, EmojiType> _byValue = $pb.ProtobufEnum.initByValue(values); + static EmojiType? valueOf($core.int value) => _byValue[value]; + + const EmojiType._($core.int v, $core.String n) : super(v, n); +} + +/// 附加大卡-电竞卡样式 +class EspaceStyle extends $pb.ProtobufEnum { + static const EspaceStyle moba = EspaceStyle._(0, _omitEnumNames ? '' : 'moba'); + + static const $core.List values = [ + moba, + ]; + + static final $core.Map<$core.int, EspaceStyle> _byValue = $pb.ProtobufEnum.initByValue(values); + static EspaceStyle? valueOf($core.int value) => _byValue[value]; + + const EspaceStyle._($core.int v, $core.String n) : super(v, n); +} + +/// 折叠类型 +class FoldType extends $pb.ProtobufEnum { + static const FoldType FoldTypeZore = FoldType._(0, _omitEnumNames ? '' : 'FoldTypeZore'); + static const FoldType FoldTypePublish = FoldType._(1, _omitEnumNames ? '' : 'FoldTypePublish'); + static const FoldType FoldTypeFrequent = FoldType._(2, _omitEnumNames ? '' : 'FoldTypeFrequent'); + static const FoldType FoldTypeUnite = FoldType._(3, _omitEnumNames ? '' : 'FoldTypeUnite'); + static const FoldType FoldTypeLimit = FoldType._(4, _omitEnumNames ? '' : 'FoldTypeLimit'); + static const FoldType FoldTypeTopicMerged = FoldType._(5, _omitEnumNames ? '' : 'FoldTypeTopicMerged'); + + static const $core.List values = [ + FoldTypeZore, + FoldTypePublish, + FoldTypeFrequent, + FoldTypeUnite, + FoldTypeLimit, + FoldTypeTopicMerged, + ]; + + static final $core.Map<$core.int, FoldType> _byValue = $pb.ProtobufEnum.initByValue(values); + static FoldType? valueOf($core.int value) => _byValue[value]; + + const FoldType._($core.int v, $core.String n) : super(v, n); +} + +class FollowType extends $pb.ProtobufEnum { + static const FollowType ft_not_follow = FollowType._(0, _omitEnumNames ? '' : 'ft_not_follow'); + static const FollowType ft_follow = FollowType._(1, _omitEnumNames ? '' : 'ft_follow'); + + static const $core.List values = [ + ft_not_follow, + ft_follow, + ]; + + static final $core.Map<$core.int, FollowType> _byValue = $pb.ProtobufEnum.initByValue(values); + static FollowType? valueOf($core.int value) => _byValue[value]; + + const FollowType._($core.int v, $core.String n) : super(v, n); +} + +class GoodsJumpType extends $pb.ProtobufEnum { + static const GoodsJumpType goods_none = GoodsJumpType._(0, _omitEnumNames ? '' : 'goods_none'); + static const GoodsJumpType goods_schema = GoodsJumpType._(1, _omitEnumNames ? '' : 'goods_schema'); + static const GoodsJumpType goods_url = GoodsJumpType._(2, _omitEnumNames ? '' : 'goods_url'); + + static const $core.List values = [ + goods_none, + goods_schema, + goods_url, + ]; + + static final $core.Map<$core.int, GoodsJumpType> _byValue = $pb.ProtobufEnum.initByValue(values); + static GoodsJumpType? valueOf($core.int value) => _byValue[value]; + + const GoodsJumpType._($core.int v, $core.String n) : super(v, n); +} + +/// 文本高亮枚举 +class HighlightTextStyle extends $pb.ProtobufEnum { + static const HighlightTextStyle style_none = HighlightTextStyle._(0, _omitEnumNames ? '' : 'style_none'); + static const HighlightTextStyle style_highlight = HighlightTextStyle._(1, _omitEnumNames ? '' : 'style_highlight'); + + static const $core.List values = [ + style_none, + style_highlight, + ]; + + static final $core.Map<$core.int, HighlightTextStyle> _byValue = $pb.ProtobufEnum.initByValue(values); + static HighlightTextStyle? valueOf($core.int value) => _byValue[value]; + + const HighlightTextStyle._($core.int v, $core.String n) : super(v, n); +} + +class HomePageTabSttingStatus extends $pb.ProtobufEnum { + static const HomePageTabSttingStatus SETTING_INVALID = HomePageTabSttingStatus._(0, _omitEnumNames ? '' : 'SETTING_INVALID'); + static const HomePageTabSttingStatus SETTING_OPEN = HomePageTabSttingStatus._(1, _omitEnumNames ? '' : 'SETTING_OPEN'); + static const HomePageTabSttingStatus SETTING_CLOSE = HomePageTabSttingStatus._(2, _omitEnumNames ? '' : 'SETTING_CLOSE'); + + static const $core.List values = [ + SETTING_INVALID, + SETTING_OPEN, + SETTING_CLOSE, + ]; + + static final $core.Map<$core.int, HomePageTabSttingStatus> _byValue = $pb.ProtobufEnum.initByValue(values); + static HomePageTabSttingStatus? valueOf($core.int value) => _byValue[value]; + + const HomePageTabSttingStatus._($core.int v, $core.String n) : super(v, n); +} + +class IconResLocal extends $pb.ProtobufEnum { + static const IconResLocal ICON_RES_LOCAL_NONE = IconResLocal._(0, _omitEnumNames ? '' : 'ICON_RES_LOCAL_NONE'); + static const IconResLocal ICON_RES_LOCAL_LIVE = IconResLocal._(1, _omitEnumNames ? '' : 'ICON_RES_LOCAL_LIVE'); + + static const $core.List values = [ + ICON_RES_LOCAL_NONE, + ICON_RES_LOCAL_LIVE, + ]; + + static final $core.Map<$core.int, IconResLocal> _byValue = $pb.ProtobufEnum.initByValue(values); + static IconResLocal? valueOf($core.int value) => _byValue[value]; + + const IconResLocal._($core.int v, $core.String n) : super(v, n); +} + +/// 枚举-附加卡样式 +class ImageStyle extends $pb.ProtobufEnum { + static const ImageStyle add_style_vertical = ImageStyle._(0, _omitEnumNames ? '' : 'add_style_vertical'); + static const ImageStyle add_style_square = ImageStyle._(1, _omitEnumNames ? '' : 'add_style_square'); + + static const $core.List values = [ + add_style_vertical, + add_style_square, + ]; + + static final $core.Map<$core.int, ImageStyle> _byValue = $pb.ProtobufEnum.initByValue(values); + static ImageStyle? valueOf($core.int value) => _byValue[value]; + + const ImageStyle._($core.int v, $core.String n) : super(v, n); +} + +class LightFromType extends $pb.ProtobufEnum { + static const LightFromType from_login = LightFromType._(0, _omitEnumNames ? '' : 'from_login'); + static const LightFromType from_unlogin = LightFromType._(1, _omitEnumNames ? '' : 'from_unlogin'); + + static const $core.List values = [ + from_login, + from_unlogin, + ]; + + static final $core.Map<$core.int, LightFromType> _byValue = $pb.ProtobufEnum.initByValue(values); + static LightFromType? valueOf($core.int value) => _byValue[value]; + + const LightFromType._($core.int v, $core.String n) : super(v, n); +} + +class LinkNodeType extends $pb.ProtobufEnum { + static const LinkNodeType INVALID = LinkNodeType._(0, _omitEnumNames ? '' : 'INVALID'); + static const LinkNodeType VIDEO = LinkNodeType._(1, _omitEnumNames ? '' : 'VIDEO'); + static const LinkNodeType RESERVE = LinkNodeType._(2, _omitEnumNames ? '' : 'RESERVE'); + static const LinkNodeType VOTE = LinkNodeType._(3, _omitEnumNames ? '' : 'VOTE'); + static const LinkNodeType LIVE = LinkNodeType._(4, _omitEnumNames ? '' : 'LIVE'); + static const LinkNodeType LOTTERY = LinkNodeType._(5, _omitEnumNames ? '' : 'LOTTERY'); + static const LinkNodeType MATCH = LinkNodeType._(6, _omitEnumNames ? '' : 'MATCH'); + static const LinkNodeType GOODS = LinkNodeType._(7, _omitEnumNames ? '' : 'GOODS'); + static const LinkNodeType OGV_SS = LinkNodeType._(8, _omitEnumNames ? '' : 'OGV_SS'); + static const LinkNodeType OGV_EP = LinkNodeType._(9, _omitEnumNames ? '' : 'OGV_EP'); + static const LinkNodeType MANGA = LinkNodeType._(10, _omitEnumNames ? '' : 'MANGA'); + static const LinkNodeType CHEESE = LinkNodeType._(11, _omitEnumNames ? '' : 'CHEESE'); + static const LinkNodeType VIDEO_TS = LinkNodeType._(12, _omitEnumNames ? '' : 'VIDEO_TS'); + static const LinkNodeType AT = LinkNodeType._(13, _omitEnumNames ? '' : 'AT'); + static const LinkNodeType HASH_TAG = LinkNodeType._(14, _omitEnumNames ? '' : 'HASH_TAG'); + static const LinkNodeType ARTICLE = LinkNodeType._(15, _omitEnumNames ? '' : 'ARTICLE'); + static const LinkNodeType URL = LinkNodeType._(16, _omitEnumNames ? '' : 'URL'); + static const LinkNodeType MAIL = LinkNodeType._(17, _omitEnumNames ? '' : 'MAIL'); + static const LinkNodeType LBS = LinkNodeType._(18, _omitEnumNames ? '' : 'LBS'); + static const LinkNodeType ACTIVITY = LinkNodeType._(19, _omitEnumNames ? '' : 'ACTIVITY'); + static const LinkNodeType ATTACH_CARD_OFFICIAL_ACTIVITY = LinkNodeType._(20, _omitEnumNames ? '' : 'ATTACH_CARD_OFFICIAL_ACTIVITY'); + static const LinkNodeType GAME = LinkNodeType._(21, _omitEnumNames ? '' : 'GAME'); + static const LinkNodeType DECORATION = LinkNodeType._(22, _omitEnumNames ? '' : 'DECORATION'); + static const LinkNodeType UP_TOPIC = LinkNodeType._(23, _omitEnumNames ? '' : 'UP_TOPIC'); + static const LinkNodeType UP_ACTIVITY = LinkNodeType._(24, _omitEnumNames ? '' : 'UP_ACTIVITY'); + static const LinkNodeType UP_MAOER = LinkNodeType._(25, _omitEnumNames ? '' : 'UP_MAOER'); + static const LinkNodeType MEMBER_GOODS = LinkNodeType._(26, _omitEnumNames ? '' : 'MEMBER_GOODS'); + static const LinkNodeType OPENMALL_UP_ITEMS = LinkNodeType._(27, _omitEnumNames ? '' : 'OPENMALL_UP_ITEMS'); + static const LinkNodeType SEARCH = LinkNodeType._(28, _omitEnumNames ? '' : 'SEARCH'); + + static const $core.List values = [ + INVALID, + VIDEO, + RESERVE, + VOTE, + LIVE, + LOTTERY, + MATCH, + GOODS, + OGV_SS, + OGV_EP, + MANGA, + CHEESE, + VIDEO_TS, + AT, + HASH_TAG, + ARTICLE, + URL, + MAIL, + LBS, + ACTIVITY, + ATTACH_CARD_OFFICIAL_ACTIVITY, + GAME, + DECORATION, + UP_TOPIC, + UP_ACTIVITY, + UP_MAOER, + MEMBER_GOODS, + OPENMALL_UP_ITEMS, + SEARCH, + ]; + + static final $core.Map<$core.int, LinkNodeType> _byValue = $pb.ProtobufEnum.initByValue(values); + static LinkNodeType? valueOf($core.int value) => _byValue[value]; + + const LinkNodeType._($core.int v, $core.String n) : super(v, n); +} + +/// 直播状态 +class LiveState extends $pb.ProtobufEnum { + static const LiveState live_none = LiveState._(0, _omitEnumNames ? '' : 'live_none'); + static const LiveState live_live = LiveState._(1, _omitEnumNames ? '' : 'live_live'); + static const LiveState live_rotation = LiveState._(2, _omitEnumNames ? '' : 'live_rotation'); + + static const $core.List values = [ + live_none, + live_live, + live_rotation, + ]; + + static final $core.Map<$core.int, LiveState> _byValue = $pb.ProtobufEnum.initByValue(values); + static LiveState? valueOf($core.int value) => _byValue[value]; + + const LiveState._($core.int v, $core.String n) : super(v, n); +} + +/// 外露模块类型 +class LocalIconType extends $pb.ProtobufEnum { + static const LocalIconType local_icon_comment = LocalIconType._(0, _omitEnumNames ? '' : 'local_icon_comment'); + static const LocalIconType local_icon_like = LocalIconType._(1, _omitEnumNames ? '' : 'local_icon_like'); + static const LocalIconType local_icon_avatar = LocalIconType._(2, _omitEnumNames ? '' : 'local_icon_avatar'); + static const LocalIconType local_icon_cover = LocalIconType._(3, _omitEnumNames ? '' : 'local_icon_cover'); + static const LocalIconType local_icon_like_and_forward = LocalIconType._(4, _omitEnumNames ? '' : 'local_icon_like_and_forward'); + + static const $core.List values = [ + local_icon_comment, + local_icon_like, + local_icon_avatar, + local_icon_cover, + local_icon_like_and_forward, + ]; + + static final $core.Map<$core.int, LocalIconType> _byValue = $pb.ProtobufEnum.initByValue(values); + static LocalIconType? valueOf($core.int value) => _byValue[value]; + + const LocalIconType._($core.int v, $core.String n) : super(v, n); +} + +class MdlBlockedStyle extends $pb.ProtobufEnum { + static const MdlBlockedStyle BLOCKED_STYLE_DEFAULT = MdlBlockedStyle._(0, _omitEnumNames ? '' : 'BLOCKED_STYLE_DEFAULT'); + static const MdlBlockedStyle BLOCKED_STYLE_IN_AUDIT = MdlBlockedStyle._(1, _omitEnumNames ? '' : 'BLOCKED_STYLE_IN_AUDIT'); + static const MdlBlockedStyle BLOCKED_STYLE_ONLY_FANS_LIST = MdlBlockedStyle._(2, _omitEnumNames ? '' : 'BLOCKED_STYLE_ONLY_FANS_LIST'); + static const MdlBlockedStyle BLOCKED_STYLE_ONLY_FANS_VIDEO = MdlBlockedStyle._(3, _omitEnumNames ? '' : 'BLOCKED_STYLE_ONLY_FANS_VIDEO'); + + static const $core.List values = [ + BLOCKED_STYLE_DEFAULT, + BLOCKED_STYLE_IN_AUDIT, + BLOCKED_STYLE_ONLY_FANS_LIST, + BLOCKED_STYLE_ONLY_FANS_VIDEO, + ]; + + static final $core.Map<$core.int, MdlBlockedStyle> _byValue = $pb.ProtobufEnum.initByValue(values); + static MdlBlockedStyle? valueOf($core.int value) => _byValue[value]; + + const MdlBlockedStyle._($core.int v, $core.String n) : super(v, n); +} + +class MdlDynCommonType extends $pb.ProtobufEnum { + static const MdlDynCommonType mdl_dyn_common_none = MdlDynCommonType._(0, _omitEnumNames ? '' : 'mdl_dyn_common_none'); + static const MdlDynCommonType mdl_dyn_common_square = MdlDynCommonType._(1, _omitEnumNames ? '' : 'mdl_dyn_common_square'); + static const MdlDynCommonType mdl_dyn_common_vertica = MdlDynCommonType._(2, _omitEnumNames ? '' : 'mdl_dyn_common_vertica'); + + static const $core.List values = [ + mdl_dyn_common_none, + mdl_dyn_common_square, + mdl_dyn_common_vertica, + ]; + + static final $core.Map<$core.int, MdlDynCommonType> _byValue = $pb.ProtobufEnum.initByValue(values); + static MdlDynCommonType? valueOf($core.int value) => _byValue[value]; + + const MdlDynCommonType._($core.int v, $core.String n) : super(v, n); +} + +/// 图文标签类型 +class MdlDynDrawTagType extends $pb.ProtobufEnum { + static const MdlDynDrawTagType mdl_draw_tag_none = MdlDynDrawTagType._(0, _omitEnumNames ? '' : 'mdl_draw_tag_none'); + static const MdlDynDrawTagType mdl_draw_tag_common = MdlDynDrawTagType._(1, _omitEnumNames ? '' : 'mdl_draw_tag_common'); + static const MdlDynDrawTagType mdl_draw_tag_goods = MdlDynDrawTagType._(2, _omitEnumNames ? '' : 'mdl_draw_tag_goods'); + static const MdlDynDrawTagType mdl_draw_tag_user = MdlDynDrawTagType._(3, _omitEnumNames ? '' : 'mdl_draw_tag_user'); + static const MdlDynDrawTagType mdl_draw_tag_topic = MdlDynDrawTagType._(4, _omitEnumNames ? '' : 'mdl_draw_tag_topic'); + static const MdlDynDrawTagType mdl_draw_tag_lbs = MdlDynDrawTagType._(5, _omitEnumNames ? '' : 'mdl_draw_tag_lbs'); + + static const $core.List values = [ + mdl_draw_tag_none, + mdl_draw_tag_common, + mdl_draw_tag_goods, + mdl_draw_tag_user, + mdl_draw_tag_topic, + mdl_draw_tag_lbs, + ]; + + static final $core.Map<$core.int, MdlDynDrawTagType> _byValue = $pb.ProtobufEnum.initByValue(values); + static MdlDynDrawTagType? valueOf($core.int value) => _byValue[value]; + + const MdlDynDrawTagType._($core.int v, $core.String n) : super(v, n); +} + +class MdlDynSubscriptionNewStyle extends $pb.ProtobufEnum { + static const MdlDynSubscriptionNewStyle mdl_dyn_subscription_new_style_nont = MdlDynSubscriptionNewStyle._(0, _omitEnumNames ? '' : 'mdl_dyn_subscription_new_style_nont'); + static const MdlDynSubscriptionNewStyle mdl_dyn_subscription_new_style_live = MdlDynSubscriptionNewStyle._(1, _omitEnumNames ? '' : 'mdl_dyn_subscription_new_style_live'); + static const MdlDynSubscriptionNewStyle mdl_dyn_subscription_new_style_draw = MdlDynSubscriptionNewStyle._(2, _omitEnumNames ? '' : 'mdl_dyn_subscription_new_style_draw'); + + static const $core.List values = [ + mdl_dyn_subscription_new_style_nont, + mdl_dyn_subscription_new_style_live, + mdl_dyn_subscription_new_style_draw, + ]; + + static final $core.Map<$core.int, MdlDynSubscriptionNewStyle> _byValue = $pb.ProtobufEnum.initByValue(values); + static MdlDynSubscriptionNewStyle? valueOf($core.int value) => _byValue[value]; + + const MdlDynSubscriptionNewStyle._($core.int v, $core.String n) : super(v, n); +} + +/// 播放器类型 +class MediaType extends $pb.ProtobufEnum { + static const MediaType MediaTypeNone = MediaType._(0, _omitEnumNames ? '' : 'MediaTypeNone'); + static const MediaType MediaTypeUGC = MediaType._(1, _omitEnumNames ? '' : 'MediaTypeUGC'); + static const MediaType MediaTypePGC = MediaType._(2, _omitEnumNames ? '' : 'MediaTypePGC'); + static const MediaType MediaTypeLive = MediaType._(3, _omitEnumNames ? '' : 'MediaTypeLive'); + static const MediaType MediaTypeVCS = MediaType._(4, _omitEnumNames ? '' : 'MediaTypeVCS'); + + static const $core.List values = [ + MediaTypeNone, + MediaTypeUGC, + MediaTypePGC, + MediaTypeLive, + MediaTypeVCS, + ]; + + static final $core.Map<$core.int, MediaType> _byValue = $pb.ProtobufEnum.initByValue(values); + static MediaType? valueOf($core.int value) => _byValue[value]; + + const MediaType._($core.int v, $core.String n) : super(v, n); +} + +/// 右侧操作区域样式枚举 +class ModuleAuthorBadgeType extends $pb.ProtobufEnum { + static const ModuleAuthorBadgeType module_author_badge_type_none = ModuleAuthorBadgeType._(0, _omitEnumNames ? '' : 'module_author_badge_type_none'); + static const ModuleAuthorBadgeType module_author_badge_type_threePoint = ModuleAuthorBadgeType._(1, _omitEnumNames ? '' : 'module_author_badge_type_threePoint'); + static const ModuleAuthorBadgeType module_author_badge_type_button = ModuleAuthorBadgeType._(2, _omitEnumNames ? '' : 'module_author_badge_type_button'); + static const ModuleAuthorBadgeType module_author_badge_type_weight = ModuleAuthorBadgeType._(3, _omitEnumNames ? '' : 'module_author_badge_type_weight'); + + static const $core.List values = [ + module_author_badge_type_none, + module_author_badge_type_threePoint, + module_author_badge_type_button, + module_author_badge_type_weight, + ]; + + static final $core.Map<$core.int, ModuleAuthorBadgeType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ModuleAuthorBadgeType? valueOf($core.int value) => _byValue[value]; + + const ModuleAuthorBadgeType._($core.int v, $core.String n) : super(v, n); +} + +/// 动态列表-通栏类型 +class ModuleBannerType extends $pb.ProtobufEnum { + static const ModuleBannerType module_banner_type_none = ModuleBannerType._(0, _omitEnumNames ? '' : 'module_banner_type_none'); + static const ModuleBannerType module_banner_type_user = ModuleBannerType._(1, _omitEnumNames ? '' : 'module_banner_type_user'); + + static const $core.List values = [ + module_banner_type_none, + module_banner_type_user, + ]; + + static final $core.Map<$core.int, ModuleBannerType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ModuleBannerType? valueOf($core.int value) => _byValue[value]; + + const ModuleBannerType._($core.int v, $core.String n) : super(v, n); +} + +/// 动态详情模块类型 +class ModuleDynamicType extends $pb.ProtobufEnum { + static const ModuleDynamicType mdl_dyn_archive = ModuleDynamicType._(0, _omitEnumNames ? '' : 'mdl_dyn_archive'); + static const ModuleDynamicType mdl_dyn_pgc = ModuleDynamicType._(1, _omitEnumNames ? '' : 'mdl_dyn_pgc'); + static const ModuleDynamicType mdl_dyn_cour_season = ModuleDynamicType._(2, _omitEnumNames ? '' : 'mdl_dyn_cour_season'); + static const ModuleDynamicType mdl_dyn_cour_batch = ModuleDynamicType._(3, _omitEnumNames ? '' : 'mdl_dyn_cour_batch'); + static const ModuleDynamicType mdl_dyn_forward = ModuleDynamicType._(4, _omitEnumNames ? '' : 'mdl_dyn_forward'); + static const ModuleDynamicType mdl_dyn_draw = ModuleDynamicType._(5, _omitEnumNames ? '' : 'mdl_dyn_draw'); + static const ModuleDynamicType mdl_dyn_article = ModuleDynamicType._(6, _omitEnumNames ? '' : 'mdl_dyn_article'); + static const ModuleDynamicType mdl_dyn_music = ModuleDynamicType._(7, _omitEnumNames ? '' : 'mdl_dyn_music'); + static const ModuleDynamicType mdl_dyn_common = ModuleDynamicType._(8, _omitEnumNames ? '' : 'mdl_dyn_common'); + static const ModuleDynamicType mdl_dyn_live = ModuleDynamicType._(9, _omitEnumNames ? '' : 'mdl_dyn_live'); + static const ModuleDynamicType mdl_dyn_medialist = ModuleDynamicType._(10, _omitEnumNames ? '' : 'mdl_dyn_medialist'); + static const ModuleDynamicType mdl_dyn_applet = ModuleDynamicType._(11, _omitEnumNames ? '' : 'mdl_dyn_applet'); + static const ModuleDynamicType mdl_dyn_subscription = ModuleDynamicType._(12, _omitEnumNames ? '' : 'mdl_dyn_subscription'); + static const ModuleDynamicType mdl_dyn_live_rcmd = ModuleDynamicType._(13, _omitEnumNames ? '' : 'mdl_dyn_live_rcmd'); + static const ModuleDynamicType mdl_dyn_ugc_season = ModuleDynamicType._(14, _omitEnumNames ? '' : 'mdl_dyn_ugc_season'); + static const ModuleDynamicType mdl_dyn_subscription_new = ModuleDynamicType._(15, _omitEnumNames ? '' : 'mdl_dyn_subscription_new'); + static const ModuleDynamicType mdl_dyn_cour_batch_up = ModuleDynamicType._(16, _omitEnumNames ? '' : 'mdl_dyn_cour_batch_up'); + static const ModuleDynamicType mdl_dyn_topic_set = ModuleDynamicType._(17, _omitEnumNames ? '' : 'mdl_dyn_topic_set'); + + static const $core.List values = [ + mdl_dyn_archive, + mdl_dyn_pgc, + mdl_dyn_cour_season, + mdl_dyn_cour_batch, + mdl_dyn_forward, + mdl_dyn_draw, + mdl_dyn_article, + mdl_dyn_music, + mdl_dyn_common, + mdl_dyn_live, + mdl_dyn_medialist, + mdl_dyn_applet, + mdl_dyn_subscription, + mdl_dyn_live_rcmd, + mdl_dyn_ugc_season, + mdl_dyn_subscription_new, + mdl_dyn_cour_batch_up, + mdl_dyn_topic_set, + ]; + + static final $core.Map<$core.int, ModuleDynamicType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ModuleDynamicType? valueOf($core.int value) => _byValue[value]; + + const ModuleDynamicType._($core.int v, $core.String n) : super(v, n); +} + +class NetworkType extends $pb.ProtobufEnum { + static const NetworkType NT_UNKNOWN = NetworkType._(0, _omitEnumNames ? '' : 'NT_UNKNOWN'); + static const NetworkType WIFI = NetworkType._(1, _omitEnumNames ? '' : 'WIFI'); + static const NetworkType CELLULAR = NetworkType._(2, _omitEnumNames ? '' : 'CELLULAR'); + static const NetworkType OFFLINE = NetworkType._(3, _omitEnumNames ? '' : 'OFFLINE'); + static const NetworkType OTHERNET = NetworkType._(4, _omitEnumNames ? '' : 'OTHERNET'); + static const NetworkType ETHERNET = NetworkType._(5, _omitEnumNames ? '' : 'ETHERNET'); + + static const $core.List values = [ + NT_UNKNOWN, + WIFI, + CELLULAR, + OFFLINE, + OTHERNET, + ETHERNET, + ]; + + static final $core.Map<$core.int, NetworkType> _byValue = $pb.ProtobufEnum.initByValue(values); + static NetworkType? valueOf($core.int value) => _byValue[value]; + + const NetworkType._($core.int v, $core.String n) : super(v, n); +} + +class NFTRegionType extends $pb.ProtobufEnum { + static const NFTRegionType nft_region_default = NFTRegionType._(0, _omitEnumNames ? '' : 'nft_region_default'); + static const NFTRegionType nft_region_mainlang = NFTRegionType._(1, _omitEnumNames ? '' : 'nft_region_mainlang'); + static const NFTRegionType nft_region_gat = NFTRegionType._(2, _omitEnumNames ? '' : 'nft_region_gat'); + + static const $core.List values = [ + nft_region_default, + nft_region_mainlang, + nft_region_gat, + ]; + + static final $core.Map<$core.int, NFTRegionType> _byValue = $pb.ProtobufEnum.initByValue(values); + static NFTRegionType? valueOf($core.int value) => _byValue[value]; + + const NFTRegionType._($core.int v, $core.String n) : super(v, n); +} + +class NFTShowStatus extends $pb.ProtobufEnum { + static const NFTShowStatus nft_show_default = NFTShowStatus._(0, _omitEnumNames ? '' : 'nft_show_default'); + static const NFTShowStatus nft_show_zoominmainlang = NFTShowStatus._(1, _omitEnumNames ? '' : 'nft_show_zoominmainlang'); + static const NFTShowStatus nft_show_raw = NFTShowStatus._(2, _omitEnumNames ? '' : 'nft_show_raw'); + + static const $core.List values = [ + nft_show_default, + nft_show_zoominmainlang, + nft_show_raw, + ]; + + static final $core.Map<$core.int, NFTShowStatus> _byValue = $pb.ProtobufEnum.initByValue(values); + static NFTShowStatus? valueOf($core.int value) => _byValue[value]; + + const NFTShowStatus._($core.int v, $core.String n) : super(v, n); +} + +class RcmdReasonStyle extends $pb.ProtobufEnum { + static const RcmdReasonStyle rcmd_reason_style_none = RcmdReasonStyle._(0, _omitEnumNames ? '' : 'rcmd_reason_style_none'); + static const RcmdReasonStyle rcmd_reason_style_campus_nearby = RcmdReasonStyle._(1, _omitEnumNames ? '' : 'rcmd_reason_style_campus_nearby'); + static const RcmdReasonStyle rcmd_reason_style_campus_up = RcmdReasonStyle._(2, _omitEnumNames ? '' : 'rcmd_reason_style_campus_up'); + static const RcmdReasonStyle rcmd_reason_style_campus_near_up_mix = RcmdReasonStyle._(3, _omitEnumNames ? '' : 'rcmd_reason_style_campus_near_up_mix'); + + static const $core.List values = [ + rcmd_reason_style_none, + rcmd_reason_style_campus_nearby, + rcmd_reason_style_campus_up, + rcmd_reason_style_campus_near_up_mix, + ]; + + static final $core.Map<$core.int, RcmdReasonStyle> _byValue = $pb.ProtobufEnum.initByValue(values); + static RcmdReasonStyle? valueOf($core.int value) => _byValue[value]; + + const RcmdReasonStyle._($core.int v, $core.String n) : super(v, n); +} + +/// 推荐模块数据类型 +class RcmdType extends $pb.ProtobufEnum { + static const RcmdType rcmd_archive = RcmdType._(0, _omitEnumNames ? '' : 'rcmd_archive'); + static const RcmdType rcmd_dynamic = RcmdType._(1, _omitEnumNames ? '' : 'rcmd_dynamic'); + + static const $core.List values = [ + rcmd_archive, + rcmd_dynamic, + ]; + + static final $core.Map<$core.int, RcmdType> _byValue = $pb.ProtobufEnum.initByValue(values); + static RcmdType? valueOf($core.int value) => _byValue[value]; + + const RcmdType._($core.int v, $core.String n) : super(v, n); +} + +/// 刷新方式 +class Refresh extends $pb.ProtobufEnum { + static const Refresh refresh_new = Refresh._(0, _omitEnumNames ? '' : 'refresh_new'); + static const Refresh refresh_history = Refresh._(1, _omitEnumNames ? '' : 'refresh_history'); + + static const $core.List values = [ + refresh_new, + refresh_history, + ]; + + static final $core.Map<$core.int, Refresh> _byValue = $pb.ProtobufEnum.initByValue(values); + static Refresh? valueOf($core.int value) => _byValue[value]; + + const Refresh._($core.int v, $core.String n) : super(v, n); +} + +/// 关注关系 枚举 +class RelationStatus extends $pb.ProtobufEnum { + static const RelationStatus relation_status_none = RelationStatus._(0, _omitEnumNames ? '' : 'relation_status_none'); + static const RelationStatus relation_status_nofollow = RelationStatus._(1, _omitEnumNames ? '' : 'relation_status_nofollow'); + static const RelationStatus relation_status_follow = RelationStatus._(2, _omitEnumNames ? '' : 'relation_status_follow'); + static const RelationStatus relation_status_followed = RelationStatus._(3, _omitEnumNames ? '' : 'relation_status_followed'); + static const RelationStatus relation_status_mutual_concern = RelationStatus._(4, _omitEnumNames ? '' : 'relation_status_mutual_concern'); + static const RelationStatus relation_status_special = RelationStatus._(5, _omitEnumNames ? '' : 'relation_status_special'); + + static const $core.List values = [ + relation_status_none, + relation_status_nofollow, + relation_status_follow, + relation_status_followed, + relation_status_mutual_concern, + relation_status_special, + ]; + + static final $core.Map<$core.int, RelationStatus> _byValue = $pb.ProtobufEnum.initByValue(values); + static RelationStatus? valueOf($core.int value) => _byValue[value]; + + const RelationStatus._($core.int v, $core.String n) : super(v, n); +} + +/// 评论类型 +class RepostType extends $pb.ProtobufEnum { + static const RepostType repost_hot = RepostType._(0, _omitEnumNames ? '' : 'repost_hot'); + static const RepostType repost_general = RepostType._(1, _omitEnumNames ? '' : 'repost_general'); + + static const $core.List values = [ + repost_hot, + repost_general, + ]; + + static final $core.Map<$core.int, RepostType> _byValue = $pb.ProtobufEnum.initByValue(values); + static RepostType? valueOf($core.int value) => _byValue[value]; + + const RepostType._($core.int v, $core.String n) : super(v, n); +} + +class ReserveRelationLotteryType extends $pb.ProtobufEnum { + static const ReserveRelationLotteryType reserve_relation_lottery_type_default = ReserveRelationLotteryType._(0, _omitEnumNames ? '' : 'reserve_relation_lottery_type_default'); + static const ReserveRelationLotteryType reserve_relation_lottery_type_cron = ReserveRelationLotteryType._(1, _omitEnumNames ? '' : 'reserve_relation_lottery_type_cron'); + + static const $core.List values = [ + reserve_relation_lottery_type_default, + reserve_relation_lottery_type_cron, + ]; + + static final $core.Map<$core.int, ReserveRelationLotteryType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ReserveRelationLotteryType? valueOf($core.int value) => _byValue[value]; + + const ReserveRelationLotteryType._($core.int v, $core.String n) : super(v, n); +} + +class ReserveType extends $pb.ProtobufEnum { + static const ReserveType reserve_none = ReserveType._(0, _omitEnumNames ? '' : 'reserve_none'); + static const ReserveType reserve_recall = ReserveType._(1, _omitEnumNames ? '' : 'reserve_recall'); + + static const $core.List values = [ + reserve_none, + reserve_recall, + ]; + + static final $core.Map<$core.int, ReserveType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ReserveType? valueOf($core.int value) => _byValue[value]; + + const ReserveType._($core.int v, $core.String n) : super(v, n); +} + +class RouterAction extends $pb.ProtobufEnum { + static const RouterAction OPEN = RouterAction._(0, _omitEnumNames ? '' : 'OPEN'); + static const RouterAction EMBED = RouterAction._(1, _omitEnumNames ? '' : 'EMBED'); + + static const $core.List values = [ + OPEN, + EMBED, + ]; + + static final $core.Map<$core.int, RouterAction> _byValue = $pb.ProtobufEnum.initByValue(values); + static RouterAction? valueOf($core.int value) => _byValue[value]; + + const RouterAction._($core.int v, $core.String n) : super(v, n); +} + +class ShowType extends $pb.ProtobufEnum { + static const ShowType show_type_none = ShowType._(0, _omitEnumNames ? '' : 'show_type_none'); + static const ShowType show_type_backup = ShowType._(1, _omitEnumNames ? '' : 'show_type_backup'); + + static const $core.List values = [ + show_type_none, + show_type_backup, + ]; + + static final $core.Map<$core.int, ShowType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ShowType? valueOf($core.int value) => _byValue[value]; + + const ShowType._($core.int v, $core.String n) : super(v, n); +} + +class StyleType extends $pb.ProtobufEnum { + static const StyleType STYLE_TYPE_NONE = StyleType._(0, _omitEnumNames ? '' : 'STYLE_TYPE_NONE'); + static const StyleType STYLE_TYPE_LIVE = StyleType._(1, _omitEnumNames ? '' : 'STYLE_TYPE_LIVE'); + static const StyleType STYLE_TYPE_DYN_UP = StyleType._(2, _omitEnumNames ? '' : 'STYLE_TYPE_DYN_UP'); + + static const $core.List values = [ + STYLE_TYPE_NONE, + STYLE_TYPE_LIVE, + STYLE_TYPE_DYN_UP, + ]; + + static final $core.Map<$core.int, StyleType> _byValue = $pb.ProtobufEnum.initByValue(values); + static StyleType? valueOf($core.int value) => _byValue[value]; + + const StyleType._($core.int v, $core.String n) : super(v, n); +} + +/// 免流类型 +class TFType extends $pb.ProtobufEnum { + static const TFType TF_UNKNOWN = TFType._(0, _omitEnumNames ? '' : 'TF_UNKNOWN'); + static const TFType U_CARD = TFType._(1, _omitEnumNames ? '' : 'U_CARD'); + static const TFType U_PKG = TFType._(2, _omitEnumNames ? '' : 'U_PKG'); + static const TFType C_CARD = TFType._(3, _omitEnumNames ? '' : 'C_CARD'); + static const TFType C_PKG = TFType._(4, _omitEnumNames ? '' : 'C_PKG'); + static const TFType T_CARD = TFType._(5, _omitEnumNames ? '' : 'T_CARD'); + static const TFType T_PKG = TFType._(6, _omitEnumNames ? '' : 'T_PKG'); + + static const $core.List values = [ + TF_UNKNOWN, + U_CARD, + U_PKG, + C_CARD, + C_PKG, + T_CARD, + T_PKG, + ]; + + static final $core.Map<$core.int, TFType> _byValue = $pb.ProtobufEnum.initByValue(values); + static TFType? valueOf($core.int value) => _byValue[value]; + + const TFType._($core.int v, $core.String n) : super(v, n); +} + +/// 枚举-三点关注状态 +class ThreePointAttentionStatus extends $pb.ProtobufEnum { + static const ThreePointAttentionStatus tp_not_attention = ThreePointAttentionStatus._(0, _omitEnumNames ? '' : 'tp_not_attention'); + static const ThreePointAttentionStatus tp_attention = ThreePointAttentionStatus._(1, _omitEnumNames ? '' : 'tp_attention'); + + static const $core.List values = [ + tp_not_attention, + tp_attention, + ]; + + static final $core.Map<$core.int, ThreePointAttentionStatus> _byValue = $pb.ProtobufEnum.initByValue(values); + static ThreePointAttentionStatus? valueOf($core.int value) => _byValue[value]; + + const ThreePointAttentionStatus._($core.int v, $core.String n) : super(v, n); +} + +/// 三点类型 +class ThreePointType extends $pb.ProtobufEnum { + static const ThreePointType tp_none = ThreePointType._(0, _omitEnumNames ? '' : 'tp_none'); + static const ThreePointType background = ThreePointType._(1, _omitEnumNames ? '' : 'background'); + static const ThreePointType auto_play = ThreePointType._(2, _omitEnumNames ? '' : 'auto_play'); + static const ThreePointType share = ThreePointType._(3, _omitEnumNames ? '' : 'share'); + static const ThreePointType wait = ThreePointType._(4, _omitEnumNames ? '' : 'wait'); + static const ThreePointType attention = ThreePointType._(5, _omitEnumNames ? '' : 'attention'); + static const ThreePointType report = ThreePointType._(6, _omitEnumNames ? '' : 'report'); + static const ThreePointType delete = ThreePointType._(7, _omitEnumNames ? '' : 'delete'); + static const ThreePointType dislike = ThreePointType._(8, _omitEnumNames ? '' : 'dislike'); + static const ThreePointType favorite = ThreePointType._(9, _omitEnumNames ? '' : 'favorite'); + static const ThreePointType top = ThreePointType._(10, _omitEnumNames ? '' : 'top'); + static const ThreePointType comment = ThreePointType._(11, _omitEnumNames ? '' : 'comment'); + static const ThreePointType hide = ThreePointType._(12, _omitEnumNames ? '' : 'hide'); + static const ThreePointType campus_delete = ThreePointType._(13, _omitEnumNames ? '' : 'campus_delete'); + static const ThreePointType topic_irrelevant = ThreePointType._(14, _omitEnumNames ? '' : 'topic_irrelevant'); + + static const $core.List values = [ + tp_none, + background, + auto_play, + share, + wait, + attention, + report, + delete, + dislike, + favorite, + top, + comment, + hide, + campus_delete, + topic_irrelevant, + ]; + + static final $core.Map<$core.int, ThreePointType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ThreePointType? valueOf($core.int value) => _byValue[value]; + + const ThreePointType._($core.int v, $core.String n) : super(v, n); +} + +class ThumbType extends $pb.ProtobufEnum { + static const ThumbType cancel = ThumbType._(0, _omitEnumNames ? '' : 'cancel'); + static const ThumbType thumb = ThumbType._(1, _omitEnumNames ? '' : 'thumb'); + + static const $core.List values = [ + cancel, + thumb, + ]; + + static final $core.Map<$core.int, ThumbType> _byValue = $pb.ProtobufEnum.initByValue(values); + static ThumbType? valueOf($core.int value) => _byValue[value]; + + const ThumbType._($core.int v, $core.String n) : super(v, n); +} + +/// 状态 +class TopType extends $pb.ProtobufEnum { + static const TopType top_none = TopType._(0, _omitEnumNames ? '' : 'top_none'); + static const TopType top_cancel = TopType._(1, _omitEnumNames ? '' : 'top_cancel'); + + static const $core.List values = [ + top_none, + top_cancel, + ]; + + static final $core.Map<$core.int, TopType> _byValue = $pb.ProtobufEnum.initByValue(values); + static TopType? valueOf($core.int value) => _byValue[value]; + + const TopType._($core.int v, $core.String n) : super(v, n); +} + +/// 用户类型 +class UserItemType extends $pb.ProtobufEnum { + static const UserItemType user_item_type_none = UserItemType._(0, _omitEnumNames ? '' : 'user_item_type_none'); + static const UserItemType user_item_type_live = UserItemType._(1, _omitEnumNames ? '' : 'user_item_type_live'); + static const UserItemType user_item_type_live_custom = UserItemType._(2, _omitEnumNames ? '' : 'user_item_type_live_custom'); + static const UserItemType user_item_type_normal = UserItemType._(3, _omitEnumNames ? '' : 'user_item_type_normal'); + static const UserItemType user_item_type_extend = UserItemType._(4, _omitEnumNames ? '' : 'user_item_type_extend'); + static const UserItemType user_item_type_premiere_reserve = UserItemType._(5, _omitEnumNames ? '' : 'user_item_type_premiere_reserve'); + static const UserItemType user_item_type_premiere = UserItemType._(6, _omitEnumNames ? '' : 'user_item_type_premiere'); + static const UserItemType user_item_type_live_card = UserItemType._(7, _omitEnumNames ? '' : 'user_item_type_live_card'); + static const UserItemType user_item_type_ogv_season = UserItemType._(8, _omitEnumNames ? '' : 'user_item_type_ogv_season'); + static const UserItemType user_item_type_ugc_season = UserItemType._(9, _omitEnumNames ? '' : 'user_item_type_ugc_season'); + + static const $core.List values = [ + user_item_type_none, + user_item_type_live, + user_item_type_live_custom, + user_item_type_normal, + user_item_type_extend, + user_item_type_premiere_reserve, + user_item_type_premiere, + user_item_type_live_card, + user_item_type_ogv_season, + user_item_type_ugc_season, + ]; + + static final $core.Map<$core.int, UserItemType> _byValue = $pb.ProtobufEnum.initByValue(values); + static UserItemType? valueOf($core.int value) => _byValue[value]; + + const UserItemType._($core.int v, $core.String n) : super(v, n); +} + +/// 番剧类型 +class VideoSubType extends $pb.ProtobufEnum { + static const VideoSubType VideoSubTypeNone = VideoSubType._(0, _omitEnumNames ? '' : 'VideoSubTypeNone'); + static const VideoSubType VideoSubTypeBangumi = VideoSubType._(1, _omitEnumNames ? '' : 'VideoSubTypeBangumi'); + static const VideoSubType VideoSubTypeMovie = VideoSubType._(2, _omitEnumNames ? '' : 'VideoSubTypeMovie'); + static const VideoSubType VideoSubTypeDocumentary = VideoSubType._(3, _omitEnumNames ? '' : 'VideoSubTypeDocumentary'); + static const VideoSubType VideoSubTypeDomestic = VideoSubType._(4, _omitEnumNames ? '' : 'VideoSubTypeDomestic'); + static const VideoSubType VideoSubTypeTeleplay = VideoSubType._(5, _omitEnumNames ? '' : 'VideoSubTypeTeleplay'); + + static const $core.List values = [ + VideoSubTypeNone, + VideoSubTypeBangumi, + VideoSubTypeMovie, + VideoSubTypeDocumentary, + VideoSubTypeDomestic, + VideoSubTypeTeleplay, + ]; + + static final $core.Map<$core.int, VideoSubType> _byValue = $pb.ProtobufEnum.initByValue(values); + static VideoSubType? valueOf($core.int value) => _byValue[value]; + + const VideoSubType._($core.int v, $core.String n) : super(v, n); +} + +/// 视频类型 +class VideoType extends $pb.ProtobufEnum { + static const VideoType video_type_general = VideoType._(0, _omitEnumNames ? '' : 'video_type_general'); + static const VideoType video_type_dynamic = VideoType._(1, _omitEnumNames ? '' : 'video_type_dynamic'); + static const VideoType video_type_playback = VideoType._(2, _omitEnumNames ? '' : 'video_type_playback'); + static const VideoType video_type_story = VideoType._(3, _omitEnumNames ? '' : 'video_type_story'); + + static const $core.List values = [ + video_type_general, + video_type_dynamic, + video_type_playback, + video_type_story, + ]; + + static final $core.Map<$core.int, VideoType> _byValue = $pb.ProtobufEnum.initByValue(values); + static VideoType? valueOf($core.int value) => _byValue[value]; + + const VideoType._($core.int v, $core.String n) : super(v, n); +} + +/// 状态 +class VoteStatus extends $pb.ProtobufEnum { + static const VoteStatus normal = VoteStatus._(0, _omitEnumNames ? '' : 'normal'); + static const VoteStatus anonymous = VoteStatus._(1, _omitEnumNames ? '' : 'anonymous'); + + static const $core.List values = [ + normal, + anonymous, + ]; + + static final $core.Map<$core.int, VoteStatus> _byValue = $pb.ProtobufEnum.initByValue(values); + static VoteStatus? valueOf($core.int value) => _byValue[value]; + + const VoteStatus._($core.int v, $core.String n) : super(v, n); +} + +/// 枚举-提权类型 +class WeightType extends $pb.ProtobufEnum { + static const WeightType weight_none = WeightType._(0, _omitEnumNames ? '' : 'weight_none'); + static const WeightType weight_dislike = WeightType._(1, _omitEnumNames ? '' : 'weight_dislike'); + static const WeightType weight_jump = WeightType._(2, _omitEnumNames ? '' : 'weight_jump'); + + static const $core.List values = [ + weight_none, + weight_dislike, + weight_jump, + ]; + + static final $core.Map<$core.int, WeightType> _byValue = $pb.ProtobufEnum.initByValue(values); + static WeightType? valueOf($core.int value) => _byValue[value]; + + const WeightType._($core.int v, $core.String n) : super(v, n); +} + +class WFItemType extends $pb.ProtobufEnum { + static const WFItemType WATER_FLOW_TYPE_NONE = WFItemType._(0, _omitEnumNames ? '' : 'WATER_FLOW_TYPE_NONE'); + static const WFItemType WATER_FLOW_TYPE_ARCHIVE = WFItemType._(1, _omitEnumNames ? '' : 'WATER_FLOW_TYPE_ARCHIVE'); + static const WFItemType WATER_FLOW_TYPE_DYNAMIC = WFItemType._(2, _omitEnumNames ? '' : 'WATER_FLOW_TYPE_DYNAMIC'); + + static const $core.List values = [ + WATER_FLOW_TYPE_NONE, + WATER_FLOW_TYPE_ARCHIVE, + WATER_FLOW_TYPE_DYNAMIC, + ]; + + static final $core.Map<$core.int, WFItemType> _byValue = $pb.ProtobufEnum.initByValue(values); + static WFItemType? valueOf($core.int value) => _byValue[value]; + + const WFItemType._($core.int v, $core.String n) : super(v, n); +} + +class ModuleButtom_InteractionIcon extends $pb.ProtobufEnum { + static const ModuleButtom_InteractionIcon ICON_INVALID = ModuleButtom_InteractionIcon._(0, _omitEnumNames ? '' : 'ICON_INVALID'); + static const ModuleButtom_InteractionIcon ICON_FORWARD = ModuleButtom_InteractionIcon._(1, _omitEnumNames ? '' : 'ICON_FORWARD'); + static const ModuleButtom_InteractionIcon ICON_COMMENT = ModuleButtom_InteractionIcon._(2, _omitEnumNames ? '' : 'ICON_COMMENT'); + static const ModuleButtom_InteractionIcon ICON_FAVORITE = ModuleButtom_InteractionIcon._(3, _omitEnumNames ? '' : 'ICON_FAVORITE'); + static const ModuleButtom_InteractionIcon ICON_LIKE = ModuleButtom_InteractionIcon._(4, _omitEnumNames ? '' : 'ICON_LIKE'); + + static const $core.List values = [ + ICON_INVALID, + ICON_FORWARD, + ICON_COMMENT, + ICON_FAVORITE, + ICON_LIKE, + ]; + + static final $core.Map<$core.int, ModuleButtom_InteractionIcon> _byValue = $pb.ProtobufEnum.initByValue(values); + static ModuleButtom_InteractionIcon? valueOf($core.int value) => _byValue[value]; + + const ModuleButtom_InteractionIcon._($core.int v, $core.String n) : super(v, n); +} + +class Paragraph_ParagraphAlign extends $pb.ProtobufEnum { + static const Paragraph_ParagraphAlign LEFT = Paragraph_ParagraphAlign._(0, _omitEnumNames ? '' : 'LEFT'); + static const Paragraph_ParagraphAlign MIDDLE = Paragraph_ParagraphAlign._(1, _omitEnumNames ? '' : 'MIDDLE'); + static const Paragraph_ParagraphAlign RIGHT = Paragraph_ParagraphAlign._(2, _omitEnumNames ? '' : 'RIGHT'); + + static const $core.List values = [ + LEFT, + MIDDLE, + RIGHT, + ]; + + static final $core.Map<$core.int, Paragraph_ParagraphAlign> _byValue = $pb.ProtobufEnum.initByValue(values); + static Paragraph_ParagraphAlign? valueOf($core.int value) => _byValue[value]; + + const Paragraph_ParagraphAlign._($core.int v, $core.String n) : super(v, n); +} + +class Paragraph_ParagraphType extends $pb.ProtobufEnum { + static const Paragraph_ParagraphType INVALID = Paragraph_ParagraphType._(0, _omitEnumNames ? '' : 'INVALID'); + static const Paragraph_ParagraphType TEXT = Paragraph_ParagraphType._(1, _omitEnumNames ? '' : 'TEXT'); + static const Paragraph_ParagraphType PICTURES = Paragraph_ParagraphType._(2, _omitEnumNames ? '' : 'PICTURES'); + static const Paragraph_ParagraphType LINE = Paragraph_ParagraphType._(3, _omitEnumNames ? '' : 'LINE'); + static const Paragraph_ParagraphType REFERENCE = Paragraph_ParagraphType._(4, _omitEnumNames ? '' : 'REFERENCE'); + static const Paragraph_ParagraphType SORTED_LIST = Paragraph_ParagraphType._(5, _omitEnumNames ? '' : 'SORTED_LIST'); + static const Paragraph_ParagraphType UNSORTED_LIST = Paragraph_ParagraphType._(6, _omitEnumNames ? '' : 'UNSORTED_LIST'); + static const Paragraph_ParagraphType LINK_CARD = Paragraph_ParagraphType._(7, _omitEnumNames ? '' : 'LINK_CARD'); + + static const $core.List values = [ + INVALID, + TEXT, + PICTURES, + LINE, + REFERENCE, + SORTED_LIST, + UNSORTED_LIST, + LINK_CARD, + ]; + + static final $core.Map<$core.int, Paragraph_ParagraphType> _byValue = $pb.ProtobufEnum.initByValue(values); + static Paragraph_ParagraphType? valueOf($core.int value) => _byValue[value]; + + const Paragraph_ParagraphType._($core.int v, $core.String n) : super(v, n); +} + +class PicParagraph_PicParagraphStyle extends $pb.ProtobufEnum { + static const PicParagraph_PicParagraphStyle INVALID = PicParagraph_PicParagraphStyle._(0, _omitEnumNames ? '' : 'INVALID'); + static const PicParagraph_PicParagraphStyle NINE_CELL = PicParagraph_PicParagraphStyle._(1, _omitEnumNames ? '' : 'NINE_CELL'); + static const PicParagraph_PicParagraphStyle BIG_SCROLL = PicParagraph_PicParagraphStyle._(2, _omitEnumNames ? '' : 'BIG_SCROLL'); + + static const $core.List values = [ + INVALID, + NINE_CELL, + BIG_SCROLL, + ]; + + static final $core.Map<$core.int, PicParagraph_PicParagraphStyle> _byValue = $pb.ProtobufEnum.initByValue(values); + static PicParagraph_PicParagraphStyle? valueOf($core.int value) => _byValue[value]; + + const PicParagraph_PicParagraphStyle._($core.int v, $core.String n) : super(v, n); +} + +class TextNode_TextNodeType extends $pb.ProtobufEnum { + static const TextNode_TextNodeType INVALID = TextNode_TextNodeType._(0, _omitEnumNames ? '' : 'INVALID'); + static const TextNode_TextNodeType WORDS = TextNode_TextNodeType._(1, _omitEnumNames ? '' : 'WORDS'); + static const TextNode_TextNodeType EMOTE = TextNode_TextNodeType._(2, _omitEnumNames ? '' : 'EMOTE'); + static const TextNode_TextNodeType AT = TextNode_TextNodeType._(3, _omitEnumNames ? '' : 'AT'); + static const TextNode_TextNodeType BIZ_LINK = TextNode_TextNodeType._(4, _omitEnumNames ? '' : 'BIZ_LINK'); + + static const $core.List values = [ + INVALID, + WORDS, + EMOTE, + AT, + BIZ_LINK, + ]; + + static final $core.Map<$core.int, TextNode_TextNodeType> _byValue = $pb.ProtobufEnum.initByValue(values); + static TextNode_TextNodeType? valueOf($core.int value) => _byValue[value]; + + const TextNode_TextNodeType._($core.int v, $core.String n) : super(v, n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/grpc/app/dynamic/v2/dynamic.pbgrpc.dart b/lib/grpc/app/dynamic/v2/dynamic.pbgrpc.dart new file mode 100644 index 00000000..37f5c925 --- /dev/null +++ b/lib/grpc/app/dynamic/v2/dynamic.pbgrpc.dart @@ -0,0 +1,1159 @@ +// +// Generated code. Do not modify. +// source: bilibili/app/dynamic/v2/dynamic.proto +// +// @dart = 2.12 + +// 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:async' as $async; +import 'dart:core' as $core; + +import 'package:grpc/service_api.dart' as $grpc; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'dynamic.pb.dart' as $0; + +export 'dynamic.pb.dart'; + +@$pb.GrpcServiceName('bilibili.app.dynamic.v2.Dynamic') +class DynamicClient extends $grpc.Client { + static final _$alumniDynamics = $grpc.ClientMethod<$0.AlumniDynamicsReq, $0.AlumniDynamicsReply>( + '/bilibili.app.dynamic.v2.Dynamic/AlumniDynamics', + ($0.AlumniDynamicsReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.AlumniDynamicsReply.fromBuffer(value)); + static final _$campusBillBoard = $grpc.ClientMethod<$0.CampusBillBoardReq, $0.CampusBillBoardReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusBillBoard', + ($0.CampusBillBoardReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusBillBoardReply.fromBuffer(value)); + static final _$campusEntryTab = $grpc.ClientMethod<$0.CampusEntryTabReq, $0.CampusEntryTabResp>( + '/bilibili.app.dynamic.v2.Dynamic/CampusEntryTab', + ($0.CampusEntryTabReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusEntryTabResp.fromBuffer(value)); + static final _$campusFeedback = $grpc.ClientMethod<$0.CampusFeedbackReq, $0.CampusFeedbackReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusFeedback', + ($0.CampusFeedbackReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusFeedbackReply.fromBuffer(value)); + static final _$campusHomePages = $grpc.ClientMethod<$0.CampusHomePagesReq, $0.CampusHomePagesReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusHomePages', + ($0.CampusHomePagesReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusHomePagesReply.fromBuffer(value)); + static final _$campusMateLikeList = $grpc.ClientMethod<$0.CampusMateLikeListReq, $0.CampusMateLikeListReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusMateLikeList', + ($0.CampusMateLikeListReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusMateLikeListReply.fromBuffer(value)); + static final _$campusMngDetail = $grpc.ClientMethod<$0.CampusMngDetailReq, $0.CampusMngDetailReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusMngDetail', + ($0.CampusMngDetailReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusMngDetailReply.fromBuffer(value)); + static final _$campusMngQuizOperate = $grpc.ClientMethod<$0.CampusMngQuizOperateReq, $0.CampusMngQuizOperateReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusMngQuizOperate', + ($0.CampusMngQuizOperateReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusMngQuizOperateReply.fromBuffer(value)); + static final _$campusMngSubmit = $grpc.ClientMethod<$0.CampusMngSubmitReq, $0.CampusMngSubmitReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusMngSubmit', + ($0.CampusMngSubmitReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusMngSubmitReply.fromBuffer(value)); + static final _$campusRcmd = $grpc.ClientMethod<$0.CampusRcmdReq, $0.CampusRcmdReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusRcmd', + ($0.CampusRcmdReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusRcmdReply.fromBuffer(value)); + static final _$campusRcmdFeed = $grpc.ClientMethod<$0.CampusRcmdFeedReq, $0.CampusRcmdFeedReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusRcmdFeed', + ($0.CampusRcmdFeedReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusRcmdFeedReply.fromBuffer(value)); + static final _$campusRecommend = $grpc.ClientMethod<$0.CampusRecommendReq, $0.CampusRecommendReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusRecommend', + ($0.CampusRecommendReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusRecommendReply.fromBuffer(value)); + static final _$campusRedDot = $grpc.ClientMethod<$0.CampusRedDotReq, $0.CampusRedDotReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusRedDot', + ($0.CampusRedDotReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusRedDotReply.fromBuffer(value)); + static final _$campusSquare = $grpc.ClientMethod<$0.CampusSquareReq, $0.CampusSquareReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusSquare', + ($0.CampusSquareReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusSquareReply.fromBuffer(value)); + static final _$campusTopicRcmdFeed = $grpc.ClientMethod<$0.CampusTopicRcmdFeedReq, $0.CampusTopicRcmdFeedReply>( + '/bilibili.app.dynamic.v2.Dynamic/CampusTopicRcmdFeed', + ($0.CampusTopicRcmdFeedReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.CampusTopicRcmdFeedReply.fromBuffer(value)); + static final _$dynAdditionCommonFollow = $grpc.ClientMethod<$0.DynAdditionCommonFollowReq, $0.DynAdditionCommonFollowReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynAdditionCommonFollow', + ($0.DynAdditionCommonFollowReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynAdditionCommonFollowReply.fromBuffer(value)); + static final _$dynAll = $grpc.ClientMethod<$0.DynAllReq, $0.DynAllReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynAll', + ($0.DynAllReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynAllReply.fromBuffer(value)); + static final _$dynAllPersonal = $grpc.ClientMethod<$0.DynAllPersonalReq, $0.DynAllPersonalReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynAllPersonal', + ($0.DynAllPersonalReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynAllPersonalReply.fromBuffer(value)); + static final _$dynAllUpdOffset = $grpc.ClientMethod<$0.DynAllUpdOffsetReq, $0.NoReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynAllUpdOffset', + ($0.DynAllUpdOffsetReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.NoReply.fromBuffer(value)); + static final _$dynDetail = $grpc.ClientMethod<$0.DynDetailReq, $0.DynDetailReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynDetail', + ($0.DynDetailReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynDetailReply.fromBuffer(value)); + static final _$dynDetails = $grpc.ClientMethod<$0.DynDetailsReq, $0.DynDetailsReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynDetails', + ($0.DynDetailsReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynDetailsReply.fromBuffer(value)); + static final _$dynFakeCard = $grpc.ClientMethod<$0.DynFakeCardReq, $0.DynFakeCardReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynFakeCard', + ($0.DynFakeCardReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynFakeCardReply.fromBuffer(value)); + static final _$dynFriend = $grpc.ClientMethod<$0.DynFriendReq, $0.DynFriendReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynFriend', + ($0.DynFriendReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynFriendReply.fromBuffer(value)); + static final _$dynLight = $grpc.ClientMethod<$0.DynLightReq, $0.DynLightReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynLight', + ($0.DynLightReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynLightReply.fromBuffer(value)); + static final _$dynMixUpListViewMore = $grpc.ClientMethod<$0.DynMixUpListViewMoreReq, $0.DynMixUpListViewMoreReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynMixUpListViewMore', + ($0.DynMixUpListViewMoreReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynMixUpListViewMoreReply.fromBuffer(value)); + static final _$dynRcmdUpExchange = $grpc.ClientMethod<$0.DynRcmdUpExchangeReq, $0.DynRcmdUpExchangeReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynRcmdUpExchange', + ($0.DynRcmdUpExchangeReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynRcmdUpExchangeReply.fromBuffer(value)); + static final _$dynSearch = $grpc.ClientMethod<$0.DynSearchReq, $0.DynSearchReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynSearch', + ($0.DynSearchReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynSearchReply.fromBuffer(value)); + static final _$dynServerDetails = $grpc.ClientMethod<$0.DynServerDetailsReq, $0.DynServerDetailsReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynServerDetails', + ($0.DynServerDetailsReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynServerDetailsReply.fromBuffer(value)); + static final _$dynSpace = $grpc.ClientMethod<$0.DynSpaceReq, $0.DynSpaceRsp>( + '/bilibili.app.dynamic.v2.Dynamic/DynSpace', + ($0.DynSpaceReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynSpaceRsp.fromBuffer(value)); + static final _$dynSpaceSearchDetails = $grpc.ClientMethod<$0.DynSpaceSearchDetailsReq, $0.DynSpaceSearchDetailsReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynSpaceSearchDetails', + ($0.DynSpaceSearchDetailsReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynSpaceSearchDetailsReply.fromBuffer(value)); + static final _$dynTab = $grpc.ClientMethod<$0.DynTabReq, $0.DynTabReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynTab', + ($0.DynTabReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynTabReply.fromBuffer(value)); + static final _$dynThumb = $grpc.ClientMethod<$0.DynThumbReq, $0.NoReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynThumb', + ($0.DynThumbReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.NoReply.fromBuffer(value)); + static final _$dynUnLoginRcmd = $grpc.ClientMethod<$0.DynRcmdReq, $0.DynRcmdReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynUnLoginRcmd', + ($0.DynRcmdReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynRcmdReply.fromBuffer(value)); + static final _$dynVideo = $grpc.ClientMethod<$0.DynVideoReq, $0.DynVideoReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynVideo', + ($0.DynVideoReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynVideoReply.fromBuffer(value)); + static final _$dynVideoPersonal = $grpc.ClientMethod<$0.DynVideoPersonalReq, $0.DynVideoPersonalReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynVideoPersonal', + ($0.DynVideoPersonalReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynVideoPersonalReply.fromBuffer(value)); + static final _$dynVideoUpdOffset = $grpc.ClientMethod<$0.DynVideoUpdOffsetReq, $0.NoReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynVideoUpdOffset', + ($0.DynVideoUpdOffsetReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.NoReply.fromBuffer(value)); + static final _$dynVote = $grpc.ClientMethod<$0.DynVoteReq, $0.DynVoteReply>( + '/bilibili.app.dynamic.v2.Dynamic/DynVote', + ($0.DynVoteReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.DynVoteReply.fromBuffer(value)); + static final _$feedFilter = $grpc.ClientMethod<$0.FeedFilterReq, $0.FeedFilterReply>( + '/bilibili.app.dynamic.v2.Dynamic/FeedFilter', + ($0.FeedFilterReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.FeedFilterReply.fromBuffer(value)); + static final _$fetchTabSetting = $grpc.ClientMethod<$0.NoReq, $0.FetchTabSettingReply>( + '/bilibili.app.dynamic.v2.Dynamic/FetchTabSetting', + ($0.NoReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.FetchTabSettingReply.fromBuffer(value)); + static final _$homeSubscribe = $grpc.ClientMethod<$0.HomeSubscribeReq, $0.HomeSubscribeReply>( + '/bilibili.app.dynamic.v2.Dynamic/HomeSubscribe', + ($0.HomeSubscribeReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.HomeSubscribeReply.fromBuffer(value)); + static final _$lbsPoi = $grpc.ClientMethod<$0.LbsPoiReq, $0.LbsPoiReply>( + '/bilibili.app.dynamic.v2.Dynamic/LbsPoi', + ($0.LbsPoiReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.LbsPoiReply.fromBuffer(value)); + static final _$legacyTopicFeed = $grpc.ClientMethod<$0.LegacyTopicFeedReq, $0.LegacyTopicFeedReply>( + '/bilibili.app.dynamic.v2.Dynamic/LegacyTopicFeed', + ($0.LegacyTopicFeedReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.LegacyTopicFeedReply.fromBuffer(value)); + static final _$likeList = $grpc.ClientMethod<$0.LikeListReq, $0.LikeListReply>( + '/bilibili.app.dynamic.v2.Dynamic/LikeList', + ($0.LikeListReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.LikeListReply.fromBuffer(value)); + static final _$officialAccounts = $grpc.ClientMethod<$0.OfficialAccountsReq, $0.OfficialAccountsReply>( + '/bilibili.app.dynamic.v2.Dynamic/OfficialAccounts', + ($0.OfficialAccountsReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.OfficialAccountsReply.fromBuffer(value)); + static final _$officialDynamics = $grpc.ClientMethod<$0.OfficialDynamicsReq, $0.OfficialDynamicsReply>( + '/bilibili.app.dynamic.v2.Dynamic/OfficialDynamics', + ($0.OfficialDynamicsReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.OfficialDynamicsReply.fromBuffer(value)); + static final _$reactionList = $grpc.ClientMethod<$0.ReactionListReq, $0.ReactionListReply>( + '/bilibili.app.dynamic.v2.Dynamic/ReactionList', + ($0.ReactionListReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.ReactionListReply.fromBuffer(value)); + static final _$repostList = $grpc.ClientMethod<$0.RepostListReq, $0.RepostListRsp>( + '/bilibili.app.dynamic.v2.Dynamic/RepostList', + ($0.RepostListReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.RepostListRsp.fromBuffer(value)); + static final _$schoolRecommend = $grpc.ClientMethod<$0.SchoolRecommendReq, $0.SchoolRecommendReply>( + '/bilibili.app.dynamic.v2.Dynamic/SchoolRecommend', + ($0.SchoolRecommendReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.SchoolRecommendReply.fromBuffer(value)); + static final _$schoolSearch = $grpc.ClientMethod<$0.SchoolSearchReq, $0.SchoolSearchReply>( + '/bilibili.app.dynamic.v2.Dynamic/SchoolSearch', + ($0.SchoolSearchReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.SchoolSearchReply.fromBuffer(value)); + static final _$setDecision = $grpc.ClientMethod<$0.SetDecisionReq, $0.NoReply>( + '/bilibili.app.dynamic.v2.Dynamic/SetDecision', + ($0.SetDecisionReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.NoReply.fromBuffer(value)); + static final _$setRecentCampus = $grpc.ClientMethod<$0.SetRecentCampusReq, $0.NoReply>( + '/bilibili.app.dynamic.v2.Dynamic/SetRecentCampus', + ($0.SetRecentCampusReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.NoReply.fromBuffer(value)); + static final _$subscribeCampus = $grpc.ClientMethod<$0.SubscribeCampusReq, $0.NoReply>( + '/bilibili.app.dynamic.v2.Dynamic/SubscribeCampus', + ($0.SubscribeCampusReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.NoReply.fromBuffer(value)); + static final _$topicList = $grpc.ClientMethod<$0.TopicListReq, $0.TopicListReply>( + '/bilibili.app.dynamic.v2.Dynamic/TopicList', + ($0.TopicListReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.TopicListReply.fromBuffer(value)); + static final _$topicSquare = $grpc.ClientMethod<$0.TopicSquareReq, $0.TopicSquareReply>( + '/bilibili.app.dynamic.v2.Dynamic/TopicSquare', + ($0.TopicSquareReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.TopicSquareReply.fromBuffer(value)); + static final _$unfollowMatch = $grpc.ClientMethod<$0.UnfollowMatchReq, $0.NoReply>( + '/bilibili.app.dynamic.v2.Dynamic/UnfollowMatch', + ($0.UnfollowMatchReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.NoReply.fromBuffer(value)); + static final _$updateTabSetting = $grpc.ClientMethod<$0.UpdateTabSettingReq, $0.NoReply>( + '/bilibili.app.dynamic.v2.Dynamic/UpdateTabSetting', + ($0.UpdateTabSettingReq value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.NoReply.fromBuffer(value)); + + DynamicClient($grpc.ClientChannel channel, + {$grpc.CallOptions? options, + $core.Iterable<$grpc.ClientInterceptor>? interceptors}) + : super(channel, options: options, + interceptors: interceptors); + + $grpc.ResponseFuture<$0.AlumniDynamicsReply> alumniDynamics($0.AlumniDynamicsReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$alumniDynamics, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusBillBoardReply> campusBillBoard($0.CampusBillBoardReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusBillBoard, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusEntryTabResp> campusEntryTab($0.CampusEntryTabReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusEntryTab, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusFeedbackReply> campusFeedback($0.CampusFeedbackReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusFeedback, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusHomePagesReply> campusHomePages($0.CampusHomePagesReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusHomePages, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusMateLikeListReply> campusMateLikeList($0.CampusMateLikeListReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusMateLikeList, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusMngDetailReply> campusMngDetail($0.CampusMngDetailReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusMngDetail, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusMngQuizOperateReply> campusMngQuizOperate($0.CampusMngQuizOperateReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusMngQuizOperate, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusMngSubmitReply> campusMngSubmit($0.CampusMngSubmitReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusMngSubmit, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusRcmdReply> campusRcmd($0.CampusRcmdReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusRcmd, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusRcmdFeedReply> campusRcmdFeed($0.CampusRcmdFeedReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusRcmdFeed, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusRecommendReply> campusRecommend($0.CampusRecommendReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusRecommend, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusRedDotReply> campusRedDot($0.CampusRedDotReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusRedDot, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusSquareReply> campusSquare($0.CampusSquareReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusSquare, request, options: options); + } + + $grpc.ResponseFuture<$0.CampusTopicRcmdFeedReply> campusTopicRcmdFeed($0.CampusTopicRcmdFeedReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$campusTopicRcmdFeed, request, options: options); + } + + $grpc.ResponseFuture<$0.DynAdditionCommonFollowReply> dynAdditionCommonFollow($0.DynAdditionCommonFollowReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynAdditionCommonFollow, request, options: options); + } + + $grpc.ResponseFuture<$0.DynAllReply> dynAll($0.DynAllReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynAll, request, options: options); + } + + $grpc.ResponseFuture<$0.DynAllPersonalReply> dynAllPersonal($0.DynAllPersonalReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynAllPersonal, request, options: options); + } + + $grpc.ResponseFuture<$0.NoReply> dynAllUpdOffset($0.DynAllUpdOffsetReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynAllUpdOffset, request, options: options); + } + + $grpc.ResponseFuture<$0.DynDetailReply> dynDetail($0.DynDetailReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynDetail, request, options: options); + } + + $grpc.ResponseFuture<$0.DynDetailsReply> dynDetails($0.DynDetailsReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynDetails, request, options: options); + } + + $grpc.ResponseFuture<$0.DynFakeCardReply> dynFakeCard($0.DynFakeCardReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynFakeCard, request, options: options); + } + + $grpc.ResponseFuture<$0.DynFriendReply> dynFriend($0.DynFriendReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynFriend, request, options: options); + } + + $grpc.ResponseFuture<$0.DynLightReply> dynLight($0.DynLightReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynLight, request, options: options); + } + + $grpc.ResponseFuture<$0.DynMixUpListViewMoreReply> dynMixUpListViewMore($0.DynMixUpListViewMoreReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynMixUpListViewMore, request, options: options); + } + + $grpc.ResponseFuture<$0.DynRcmdUpExchangeReply> dynRcmdUpExchange($0.DynRcmdUpExchangeReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynRcmdUpExchange, request, options: options); + } + + $grpc.ResponseFuture<$0.DynSearchReply> dynSearch($0.DynSearchReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynSearch, request, options: options); + } + + $grpc.ResponseFuture<$0.DynServerDetailsReply> dynServerDetails($0.DynServerDetailsReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynServerDetails, request, options: options); + } + + $grpc.ResponseFuture<$0.DynSpaceRsp> dynSpace($0.DynSpaceReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynSpace, request, options: options); + } + + $grpc.ResponseFuture<$0.DynSpaceSearchDetailsReply> dynSpaceSearchDetails($0.DynSpaceSearchDetailsReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynSpaceSearchDetails, request, options: options); + } + + $grpc.ResponseFuture<$0.DynTabReply> dynTab($0.DynTabReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynTab, request, options: options); + } + + $grpc.ResponseFuture<$0.NoReply> dynThumb($0.DynThumbReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynThumb, request, options: options); + } + + $grpc.ResponseFuture<$0.DynRcmdReply> dynUnLoginRcmd($0.DynRcmdReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynUnLoginRcmd, request, options: options); + } + + $grpc.ResponseFuture<$0.DynVideoReply> dynVideo($0.DynVideoReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynVideo, request, options: options); + } + + $grpc.ResponseFuture<$0.DynVideoPersonalReply> dynVideoPersonal($0.DynVideoPersonalReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynVideoPersonal, request, options: options); + } + + $grpc.ResponseFuture<$0.NoReply> dynVideoUpdOffset($0.DynVideoUpdOffsetReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynVideoUpdOffset, request, options: options); + } + + $grpc.ResponseFuture<$0.DynVoteReply> dynVote($0.DynVoteReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$dynVote, request, options: options); + } + + $grpc.ResponseFuture<$0.FeedFilterReply> feedFilter($0.FeedFilterReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$feedFilter, request, options: options); + } + + $grpc.ResponseFuture<$0.FetchTabSettingReply> fetchTabSetting($0.NoReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$fetchTabSetting, request, options: options); + } + + $grpc.ResponseFuture<$0.HomeSubscribeReply> homeSubscribe($0.HomeSubscribeReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$homeSubscribe, request, options: options); + } + + $grpc.ResponseFuture<$0.LbsPoiReply> lbsPoi($0.LbsPoiReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$lbsPoi, request, options: options); + } + + $grpc.ResponseFuture<$0.LegacyTopicFeedReply> legacyTopicFeed($0.LegacyTopicFeedReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$legacyTopicFeed, request, options: options); + } + + $grpc.ResponseFuture<$0.LikeListReply> likeList($0.LikeListReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$likeList, request, options: options); + } + + $grpc.ResponseFuture<$0.OfficialAccountsReply> officialAccounts($0.OfficialAccountsReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$officialAccounts, request, options: options); + } + + $grpc.ResponseFuture<$0.OfficialDynamicsReply> officialDynamics($0.OfficialDynamicsReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$officialDynamics, request, options: options); + } + + $grpc.ResponseFuture<$0.ReactionListReply> reactionList($0.ReactionListReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$reactionList, request, options: options); + } + + $grpc.ResponseFuture<$0.RepostListRsp> repostList($0.RepostListReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$repostList, request, options: options); + } + + $grpc.ResponseFuture<$0.SchoolRecommendReply> schoolRecommend($0.SchoolRecommendReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$schoolRecommend, request, options: options); + } + + $grpc.ResponseFuture<$0.SchoolSearchReply> schoolSearch($0.SchoolSearchReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$schoolSearch, request, options: options); + } + + $grpc.ResponseFuture<$0.NoReply> setDecision($0.SetDecisionReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$setDecision, request, options: options); + } + + $grpc.ResponseFuture<$0.NoReply> setRecentCampus($0.SetRecentCampusReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$setRecentCampus, request, options: options); + } + + $grpc.ResponseFuture<$0.NoReply> subscribeCampus($0.SubscribeCampusReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$subscribeCampus, request, options: options); + } + + $grpc.ResponseFuture<$0.TopicListReply> topicList($0.TopicListReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$topicList, request, options: options); + } + + $grpc.ResponseFuture<$0.TopicSquareReply> topicSquare($0.TopicSquareReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$topicSquare, request, options: options); + } + + $grpc.ResponseFuture<$0.NoReply> unfollowMatch($0.UnfollowMatchReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$unfollowMatch, request, options: options); + } + + $grpc.ResponseFuture<$0.NoReply> updateTabSetting($0.UpdateTabSettingReq request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$updateTabSetting, request, options: options); + } +} + +@$pb.GrpcServiceName('bilibili.app.dynamic.v2.Dynamic') +abstract class DynamicServiceBase extends $grpc.Service { + $core.String get $name => 'bilibili.app.dynamic.v2.Dynamic'; + + DynamicServiceBase() { + $addMethod($grpc.ServiceMethod<$0.AlumniDynamicsReq, $0.AlumniDynamicsReply>( + 'AlumniDynamics', + alumniDynamics_Pre, + false, + false, + ($core.List<$core.int> value) => $0.AlumniDynamicsReq.fromBuffer(value), + ($0.AlumniDynamicsReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusBillBoardReq, $0.CampusBillBoardReply>( + 'CampusBillBoard', + campusBillBoard_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusBillBoardReq.fromBuffer(value), + ($0.CampusBillBoardReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusEntryTabReq, $0.CampusEntryTabResp>( + 'CampusEntryTab', + campusEntryTab_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusEntryTabReq.fromBuffer(value), + ($0.CampusEntryTabResp value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusFeedbackReq, $0.CampusFeedbackReply>( + 'CampusFeedback', + campusFeedback_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusFeedbackReq.fromBuffer(value), + ($0.CampusFeedbackReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusHomePagesReq, $0.CampusHomePagesReply>( + 'CampusHomePages', + campusHomePages_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusHomePagesReq.fromBuffer(value), + ($0.CampusHomePagesReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusMateLikeListReq, $0.CampusMateLikeListReply>( + 'CampusMateLikeList', + campusMateLikeList_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusMateLikeListReq.fromBuffer(value), + ($0.CampusMateLikeListReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusMngDetailReq, $0.CampusMngDetailReply>( + 'CampusMngDetail', + campusMngDetail_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusMngDetailReq.fromBuffer(value), + ($0.CampusMngDetailReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusMngQuizOperateReq, $0.CampusMngQuizOperateReply>( + 'CampusMngQuizOperate', + campusMngQuizOperate_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusMngQuizOperateReq.fromBuffer(value), + ($0.CampusMngQuizOperateReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusMngSubmitReq, $0.CampusMngSubmitReply>( + 'CampusMngSubmit', + campusMngSubmit_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusMngSubmitReq.fromBuffer(value), + ($0.CampusMngSubmitReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusRcmdReq, $0.CampusRcmdReply>( + 'CampusRcmd', + campusRcmd_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusRcmdReq.fromBuffer(value), + ($0.CampusRcmdReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusRcmdFeedReq, $0.CampusRcmdFeedReply>( + 'CampusRcmdFeed', + campusRcmdFeed_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusRcmdFeedReq.fromBuffer(value), + ($0.CampusRcmdFeedReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusRecommendReq, $0.CampusRecommendReply>( + 'CampusRecommend', + campusRecommend_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusRecommendReq.fromBuffer(value), + ($0.CampusRecommendReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusRedDotReq, $0.CampusRedDotReply>( + 'CampusRedDot', + campusRedDot_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusRedDotReq.fromBuffer(value), + ($0.CampusRedDotReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusSquareReq, $0.CampusSquareReply>( + 'CampusSquare', + campusSquare_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusSquareReq.fromBuffer(value), + ($0.CampusSquareReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.CampusTopicRcmdFeedReq, $0.CampusTopicRcmdFeedReply>( + 'CampusTopicRcmdFeed', + campusTopicRcmdFeed_Pre, + false, + false, + ($core.List<$core.int> value) => $0.CampusTopicRcmdFeedReq.fromBuffer(value), + ($0.CampusTopicRcmdFeedReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynAdditionCommonFollowReq, $0.DynAdditionCommonFollowReply>( + 'DynAdditionCommonFollow', + dynAdditionCommonFollow_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynAdditionCommonFollowReq.fromBuffer(value), + ($0.DynAdditionCommonFollowReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynAllReq, $0.DynAllReply>( + 'DynAll', + dynAll_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynAllReq.fromBuffer(value), + ($0.DynAllReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynAllPersonalReq, $0.DynAllPersonalReply>( + 'DynAllPersonal', + dynAllPersonal_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynAllPersonalReq.fromBuffer(value), + ($0.DynAllPersonalReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynAllUpdOffsetReq, $0.NoReply>( + 'DynAllUpdOffset', + dynAllUpdOffset_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynAllUpdOffsetReq.fromBuffer(value), + ($0.NoReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynDetailReq, $0.DynDetailReply>( + 'DynDetail', + dynDetail_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynDetailReq.fromBuffer(value), + ($0.DynDetailReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynDetailsReq, $0.DynDetailsReply>( + 'DynDetails', + dynDetails_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynDetailsReq.fromBuffer(value), + ($0.DynDetailsReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynFakeCardReq, $0.DynFakeCardReply>( + 'DynFakeCard', + dynFakeCard_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynFakeCardReq.fromBuffer(value), + ($0.DynFakeCardReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynFriendReq, $0.DynFriendReply>( + 'DynFriend', + dynFriend_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynFriendReq.fromBuffer(value), + ($0.DynFriendReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynLightReq, $0.DynLightReply>( + 'DynLight', + dynLight_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynLightReq.fromBuffer(value), + ($0.DynLightReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynMixUpListViewMoreReq, $0.DynMixUpListViewMoreReply>( + 'DynMixUpListViewMore', + dynMixUpListViewMore_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynMixUpListViewMoreReq.fromBuffer(value), + ($0.DynMixUpListViewMoreReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynRcmdUpExchangeReq, $0.DynRcmdUpExchangeReply>( + 'DynRcmdUpExchange', + dynRcmdUpExchange_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynRcmdUpExchangeReq.fromBuffer(value), + ($0.DynRcmdUpExchangeReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynSearchReq, $0.DynSearchReply>( + 'DynSearch', + dynSearch_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynSearchReq.fromBuffer(value), + ($0.DynSearchReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynServerDetailsReq, $0.DynServerDetailsReply>( + 'DynServerDetails', + dynServerDetails_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynServerDetailsReq.fromBuffer(value), + ($0.DynServerDetailsReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynSpaceReq, $0.DynSpaceRsp>( + 'DynSpace', + dynSpace_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynSpaceReq.fromBuffer(value), + ($0.DynSpaceRsp value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynSpaceSearchDetailsReq, $0.DynSpaceSearchDetailsReply>( + 'DynSpaceSearchDetails', + dynSpaceSearchDetails_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynSpaceSearchDetailsReq.fromBuffer(value), + ($0.DynSpaceSearchDetailsReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynTabReq, $0.DynTabReply>( + 'DynTab', + dynTab_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynTabReq.fromBuffer(value), + ($0.DynTabReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynThumbReq, $0.NoReply>( + 'DynThumb', + dynThumb_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynThumbReq.fromBuffer(value), + ($0.NoReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynRcmdReq, $0.DynRcmdReply>( + 'DynUnLoginRcmd', + dynUnLoginRcmd_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynRcmdReq.fromBuffer(value), + ($0.DynRcmdReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynVideoReq, $0.DynVideoReply>( + 'DynVideo', + dynVideo_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynVideoReq.fromBuffer(value), + ($0.DynVideoReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynVideoPersonalReq, $0.DynVideoPersonalReply>( + 'DynVideoPersonal', + dynVideoPersonal_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynVideoPersonalReq.fromBuffer(value), + ($0.DynVideoPersonalReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynVideoUpdOffsetReq, $0.NoReply>( + 'DynVideoUpdOffset', + dynVideoUpdOffset_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynVideoUpdOffsetReq.fromBuffer(value), + ($0.NoReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DynVoteReq, $0.DynVoteReply>( + 'DynVote', + dynVote_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DynVoteReq.fromBuffer(value), + ($0.DynVoteReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.FeedFilterReq, $0.FeedFilterReply>( + 'FeedFilter', + feedFilter_Pre, + false, + false, + ($core.List<$core.int> value) => $0.FeedFilterReq.fromBuffer(value), + ($0.FeedFilterReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.NoReq, $0.FetchTabSettingReply>( + 'FetchTabSetting', + fetchTabSetting_Pre, + false, + false, + ($core.List<$core.int> value) => $0.NoReq.fromBuffer(value), + ($0.FetchTabSettingReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.HomeSubscribeReq, $0.HomeSubscribeReply>( + 'HomeSubscribe', + homeSubscribe_Pre, + false, + false, + ($core.List<$core.int> value) => $0.HomeSubscribeReq.fromBuffer(value), + ($0.HomeSubscribeReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.LbsPoiReq, $0.LbsPoiReply>( + 'LbsPoi', + lbsPoi_Pre, + false, + false, + ($core.List<$core.int> value) => $0.LbsPoiReq.fromBuffer(value), + ($0.LbsPoiReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.LegacyTopicFeedReq, $0.LegacyTopicFeedReply>( + 'LegacyTopicFeed', + legacyTopicFeed_Pre, + false, + false, + ($core.List<$core.int> value) => $0.LegacyTopicFeedReq.fromBuffer(value), + ($0.LegacyTopicFeedReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.LikeListReq, $0.LikeListReply>( + 'LikeList', + likeList_Pre, + false, + false, + ($core.List<$core.int> value) => $0.LikeListReq.fromBuffer(value), + ($0.LikeListReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.OfficialAccountsReq, $0.OfficialAccountsReply>( + 'OfficialAccounts', + officialAccounts_Pre, + false, + false, + ($core.List<$core.int> value) => $0.OfficialAccountsReq.fromBuffer(value), + ($0.OfficialAccountsReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.OfficialDynamicsReq, $0.OfficialDynamicsReply>( + 'OfficialDynamics', + officialDynamics_Pre, + false, + false, + ($core.List<$core.int> value) => $0.OfficialDynamicsReq.fromBuffer(value), + ($0.OfficialDynamicsReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ReactionListReq, $0.ReactionListReply>( + 'ReactionList', + reactionList_Pre, + false, + false, + ($core.List<$core.int> value) => $0.ReactionListReq.fromBuffer(value), + ($0.ReactionListReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.RepostListReq, $0.RepostListRsp>( + 'RepostList', + repostList_Pre, + false, + false, + ($core.List<$core.int> value) => $0.RepostListReq.fromBuffer(value), + ($0.RepostListRsp value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.SchoolRecommendReq, $0.SchoolRecommendReply>( + 'SchoolRecommend', + schoolRecommend_Pre, + false, + false, + ($core.List<$core.int> value) => $0.SchoolRecommendReq.fromBuffer(value), + ($0.SchoolRecommendReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.SchoolSearchReq, $0.SchoolSearchReply>( + 'SchoolSearch', + schoolSearch_Pre, + false, + false, + ($core.List<$core.int> value) => $0.SchoolSearchReq.fromBuffer(value), + ($0.SchoolSearchReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.SetDecisionReq, $0.NoReply>( + 'SetDecision', + setDecision_Pre, + false, + false, + ($core.List<$core.int> value) => $0.SetDecisionReq.fromBuffer(value), + ($0.NoReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.SetRecentCampusReq, $0.NoReply>( + 'SetRecentCampus', + setRecentCampus_Pre, + false, + false, + ($core.List<$core.int> value) => $0.SetRecentCampusReq.fromBuffer(value), + ($0.NoReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.SubscribeCampusReq, $0.NoReply>( + 'SubscribeCampus', + subscribeCampus_Pre, + false, + false, + ($core.List<$core.int> value) => $0.SubscribeCampusReq.fromBuffer(value), + ($0.NoReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.TopicListReq, $0.TopicListReply>( + 'TopicList', + topicList_Pre, + false, + false, + ($core.List<$core.int> value) => $0.TopicListReq.fromBuffer(value), + ($0.TopicListReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.TopicSquareReq, $0.TopicSquareReply>( + 'TopicSquare', + topicSquare_Pre, + false, + false, + ($core.List<$core.int> value) => $0.TopicSquareReq.fromBuffer(value), + ($0.TopicSquareReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UnfollowMatchReq, $0.NoReply>( + 'UnfollowMatch', + unfollowMatch_Pre, + false, + false, + ($core.List<$core.int> value) => $0.UnfollowMatchReq.fromBuffer(value), + ($0.NoReply value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.UpdateTabSettingReq, $0.NoReply>( + 'UpdateTabSetting', + updateTabSetting_Pre, + false, + false, + ($core.List<$core.int> value) => $0.UpdateTabSettingReq.fromBuffer(value), + ($0.NoReply value) => value.writeToBuffer())); + } + + $async.Future<$0.AlumniDynamicsReply> alumniDynamics_Pre($grpc.ServiceCall call, $async.Future<$0.AlumniDynamicsReq> request) async { + return alumniDynamics(call, await request); + } + + $async.Future<$0.CampusBillBoardReply> campusBillBoard_Pre($grpc.ServiceCall call, $async.Future<$0.CampusBillBoardReq> request) async { + return campusBillBoard(call, await request); + } + + $async.Future<$0.CampusEntryTabResp> campusEntryTab_Pre($grpc.ServiceCall call, $async.Future<$0.CampusEntryTabReq> request) async { + return campusEntryTab(call, await request); + } + + $async.Future<$0.CampusFeedbackReply> campusFeedback_Pre($grpc.ServiceCall call, $async.Future<$0.CampusFeedbackReq> request) async { + return campusFeedback(call, await request); + } + + $async.Future<$0.CampusHomePagesReply> campusHomePages_Pre($grpc.ServiceCall call, $async.Future<$0.CampusHomePagesReq> request) async { + return campusHomePages(call, await request); + } + + $async.Future<$0.CampusMateLikeListReply> campusMateLikeList_Pre($grpc.ServiceCall call, $async.Future<$0.CampusMateLikeListReq> request) async { + return campusMateLikeList(call, await request); + } + + $async.Future<$0.CampusMngDetailReply> campusMngDetail_Pre($grpc.ServiceCall call, $async.Future<$0.CampusMngDetailReq> request) async { + return campusMngDetail(call, await request); + } + + $async.Future<$0.CampusMngQuizOperateReply> campusMngQuizOperate_Pre($grpc.ServiceCall call, $async.Future<$0.CampusMngQuizOperateReq> request) async { + return campusMngQuizOperate(call, await request); + } + + $async.Future<$0.CampusMngSubmitReply> campusMngSubmit_Pre($grpc.ServiceCall call, $async.Future<$0.CampusMngSubmitReq> request) async { + return campusMngSubmit(call, await request); + } + + $async.Future<$0.CampusRcmdReply> campusRcmd_Pre($grpc.ServiceCall call, $async.Future<$0.CampusRcmdReq> request) async { + return campusRcmd(call, await request); + } + + $async.Future<$0.CampusRcmdFeedReply> campusRcmdFeed_Pre($grpc.ServiceCall call, $async.Future<$0.CampusRcmdFeedReq> request) async { + return campusRcmdFeed(call, await request); + } + + $async.Future<$0.CampusRecommendReply> campusRecommend_Pre($grpc.ServiceCall call, $async.Future<$0.CampusRecommendReq> request) async { + return campusRecommend(call, await request); + } + + $async.Future<$0.CampusRedDotReply> campusRedDot_Pre($grpc.ServiceCall call, $async.Future<$0.CampusRedDotReq> request) async { + return campusRedDot(call, await request); + } + + $async.Future<$0.CampusSquareReply> campusSquare_Pre($grpc.ServiceCall call, $async.Future<$0.CampusSquareReq> request) async { + return campusSquare(call, await request); + } + + $async.Future<$0.CampusTopicRcmdFeedReply> campusTopicRcmdFeed_Pre($grpc.ServiceCall call, $async.Future<$0.CampusTopicRcmdFeedReq> request) async { + return campusTopicRcmdFeed(call, await request); + } + + $async.Future<$0.DynAdditionCommonFollowReply> dynAdditionCommonFollow_Pre($grpc.ServiceCall call, $async.Future<$0.DynAdditionCommonFollowReq> request) async { + return dynAdditionCommonFollow(call, await request); + } + + $async.Future<$0.DynAllReply> dynAll_Pre($grpc.ServiceCall call, $async.Future<$0.DynAllReq> request) async { + return dynAll(call, await request); + } + + $async.Future<$0.DynAllPersonalReply> dynAllPersonal_Pre($grpc.ServiceCall call, $async.Future<$0.DynAllPersonalReq> request) async { + return dynAllPersonal(call, await request); + } + + $async.Future<$0.NoReply> dynAllUpdOffset_Pre($grpc.ServiceCall call, $async.Future<$0.DynAllUpdOffsetReq> request) async { + return dynAllUpdOffset(call, await request); + } + + $async.Future<$0.DynDetailReply> dynDetail_Pre($grpc.ServiceCall call, $async.Future<$0.DynDetailReq> request) async { + return dynDetail(call, await request); + } + + $async.Future<$0.DynDetailsReply> dynDetails_Pre($grpc.ServiceCall call, $async.Future<$0.DynDetailsReq> request) async { + return dynDetails(call, await request); + } + + $async.Future<$0.DynFakeCardReply> dynFakeCard_Pre($grpc.ServiceCall call, $async.Future<$0.DynFakeCardReq> request) async { + return dynFakeCard(call, await request); + } + + $async.Future<$0.DynFriendReply> dynFriend_Pre($grpc.ServiceCall call, $async.Future<$0.DynFriendReq> request) async { + return dynFriend(call, await request); + } + + $async.Future<$0.DynLightReply> dynLight_Pre($grpc.ServiceCall call, $async.Future<$0.DynLightReq> request) async { + return dynLight(call, await request); + } + + $async.Future<$0.DynMixUpListViewMoreReply> dynMixUpListViewMore_Pre($grpc.ServiceCall call, $async.Future<$0.DynMixUpListViewMoreReq> request) async { + return dynMixUpListViewMore(call, await request); + } + + $async.Future<$0.DynRcmdUpExchangeReply> dynRcmdUpExchange_Pre($grpc.ServiceCall call, $async.Future<$0.DynRcmdUpExchangeReq> request) async { + return dynRcmdUpExchange(call, await request); + } + + $async.Future<$0.DynSearchReply> dynSearch_Pre($grpc.ServiceCall call, $async.Future<$0.DynSearchReq> request) async { + return dynSearch(call, await request); + } + + $async.Future<$0.DynServerDetailsReply> dynServerDetails_Pre($grpc.ServiceCall call, $async.Future<$0.DynServerDetailsReq> request) async { + return dynServerDetails(call, await request); + } + + $async.Future<$0.DynSpaceRsp> dynSpace_Pre($grpc.ServiceCall call, $async.Future<$0.DynSpaceReq> request) async { + return dynSpace(call, await request); + } + + $async.Future<$0.DynSpaceSearchDetailsReply> dynSpaceSearchDetails_Pre($grpc.ServiceCall call, $async.Future<$0.DynSpaceSearchDetailsReq> request) async { + return dynSpaceSearchDetails(call, await request); + } + + $async.Future<$0.DynTabReply> dynTab_Pre($grpc.ServiceCall call, $async.Future<$0.DynTabReq> request) async { + return dynTab(call, await request); + } + + $async.Future<$0.NoReply> dynThumb_Pre($grpc.ServiceCall call, $async.Future<$0.DynThumbReq> request) async { + return dynThumb(call, await request); + } + + $async.Future<$0.DynRcmdReply> dynUnLoginRcmd_Pre($grpc.ServiceCall call, $async.Future<$0.DynRcmdReq> request) async { + return dynUnLoginRcmd(call, await request); + } + + $async.Future<$0.DynVideoReply> dynVideo_Pre($grpc.ServiceCall call, $async.Future<$0.DynVideoReq> request) async { + return dynVideo(call, await request); + } + + $async.Future<$0.DynVideoPersonalReply> dynVideoPersonal_Pre($grpc.ServiceCall call, $async.Future<$0.DynVideoPersonalReq> request) async { + return dynVideoPersonal(call, await request); + } + + $async.Future<$0.NoReply> dynVideoUpdOffset_Pre($grpc.ServiceCall call, $async.Future<$0.DynVideoUpdOffsetReq> request) async { + return dynVideoUpdOffset(call, await request); + } + + $async.Future<$0.DynVoteReply> dynVote_Pre($grpc.ServiceCall call, $async.Future<$0.DynVoteReq> request) async { + return dynVote(call, await request); + } + + $async.Future<$0.FeedFilterReply> feedFilter_Pre($grpc.ServiceCall call, $async.Future<$0.FeedFilterReq> request) async { + return feedFilter(call, await request); + } + + $async.Future<$0.FetchTabSettingReply> fetchTabSetting_Pre($grpc.ServiceCall call, $async.Future<$0.NoReq> request) async { + return fetchTabSetting(call, await request); + } + + $async.Future<$0.HomeSubscribeReply> homeSubscribe_Pre($grpc.ServiceCall call, $async.Future<$0.HomeSubscribeReq> request) async { + return homeSubscribe(call, await request); + } + + $async.Future<$0.LbsPoiReply> lbsPoi_Pre($grpc.ServiceCall call, $async.Future<$0.LbsPoiReq> request) async { + return lbsPoi(call, await request); + } + + $async.Future<$0.LegacyTopicFeedReply> legacyTopicFeed_Pre($grpc.ServiceCall call, $async.Future<$0.LegacyTopicFeedReq> request) async { + return legacyTopicFeed(call, await request); + } + + $async.Future<$0.LikeListReply> likeList_Pre($grpc.ServiceCall call, $async.Future<$0.LikeListReq> request) async { + return likeList(call, await request); + } + + $async.Future<$0.OfficialAccountsReply> officialAccounts_Pre($grpc.ServiceCall call, $async.Future<$0.OfficialAccountsReq> request) async { + return officialAccounts(call, await request); + } + + $async.Future<$0.OfficialDynamicsReply> officialDynamics_Pre($grpc.ServiceCall call, $async.Future<$0.OfficialDynamicsReq> request) async { + return officialDynamics(call, await request); + } + + $async.Future<$0.ReactionListReply> reactionList_Pre($grpc.ServiceCall call, $async.Future<$0.ReactionListReq> request) async { + return reactionList(call, await request); + } + + $async.Future<$0.RepostListRsp> repostList_Pre($grpc.ServiceCall call, $async.Future<$0.RepostListReq> request) async { + return repostList(call, await request); + } + + $async.Future<$0.SchoolRecommendReply> schoolRecommend_Pre($grpc.ServiceCall call, $async.Future<$0.SchoolRecommendReq> request) async { + return schoolRecommend(call, await request); + } + + $async.Future<$0.SchoolSearchReply> schoolSearch_Pre($grpc.ServiceCall call, $async.Future<$0.SchoolSearchReq> request) async { + return schoolSearch(call, await request); + } + + $async.Future<$0.NoReply> setDecision_Pre($grpc.ServiceCall call, $async.Future<$0.SetDecisionReq> request) async { + return setDecision(call, await request); + } + + $async.Future<$0.NoReply> setRecentCampus_Pre($grpc.ServiceCall call, $async.Future<$0.SetRecentCampusReq> request) async { + return setRecentCampus(call, await request); + } + + $async.Future<$0.NoReply> subscribeCampus_Pre($grpc.ServiceCall call, $async.Future<$0.SubscribeCampusReq> request) async { + return subscribeCampus(call, await request); + } + + $async.Future<$0.TopicListReply> topicList_Pre($grpc.ServiceCall call, $async.Future<$0.TopicListReq> request) async { + return topicList(call, await request); + } + + $async.Future<$0.TopicSquareReply> topicSquare_Pre($grpc.ServiceCall call, $async.Future<$0.TopicSquareReq> request) async { + return topicSquare(call, await request); + } + + $async.Future<$0.NoReply> unfollowMatch_Pre($grpc.ServiceCall call, $async.Future<$0.UnfollowMatchReq> request) async { + return unfollowMatch(call, await request); + } + + $async.Future<$0.NoReply> updateTabSetting_Pre($grpc.ServiceCall call, $async.Future<$0.UpdateTabSettingReq> request) async { + return updateTabSetting(call, await request); + } + + $async.Future<$0.AlumniDynamicsReply> alumniDynamics($grpc.ServiceCall call, $0.AlumniDynamicsReq request); + $async.Future<$0.CampusBillBoardReply> campusBillBoard($grpc.ServiceCall call, $0.CampusBillBoardReq request); + $async.Future<$0.CampusEntryTabResp> campusEntryTab($grpc.ServiceCall call, $0.CampusEntryTabReq request); + $async.Future<$0.CampusFeedbackReply> campusFeedback($grpc.ServiceCall call, $0.CampusFeedbackReq request); + $async.Future<$0.CampusHomePagesReply> campusHomePages($grpc.ServiceCall call, $0.CampusHomePagesReq request); + $async.Future<$0.CampusMateLikeListReply> campusMateLikeList($grpc.ServiceCall call, $0.CampusMateLikeListReq request); + $async.Future<$0.CampusMngDetailReply> campusMngDetail($grpc.ServiceCall call, $0.CampusMngDetailReq request); + $async.Future<$0.CampusMngQuizOperateReply> campusMngQuizOperate($grpc.ServiceCall call, $0.CampusMngQuizOperateReq request); + $async.Future<$0.CampusMngSubmitReply> campusMngSubmit($grpc.ServiceCall call, $0.CampusMngSubmitReq request); + $async.Future<$0.CampusRcmdReply> campusRcmd($grpc.ServiceCall call, $0.CampusRcmdReq request); + $async.Future<$0.CampusRcmdFeedReply> campusRcmdFeed($grpc.ServiceCall call, $0.CampusRcmdFeedReq request); + $async.Future<$0.CampusRecommendReply> campusRecommend($grpc.ServiceCall call, $0.CampusRecommendReq request); + $async.Future<$0.CampusRedDotReply> campusRedDot($grpc.ServiceCall call, $0.CampusRedDotReq request); + $async.Future<$0.CampusSquareReply> campusSquare($grpc.ServiceCall call, $0.CampusSquareReq request); + $async.Future<$0.CampusTopicRcmdFeedReply> campusTopicRcmdFeed($grpc.ServiceCall call, $0.CampusTopicRcmdFeedReq request); + $async.Future<$0.DynAdditionCommonFollowReply> dynAdditionCommonFollow($grpc.ServiceCall call, $0.DynAdditionCommonFollowReq request); + $async.Future<$0.DynAllReply> dynAll($grpc.ServiceCall call, $0.DynAllReq request); + $async.Future<$0.DynAllPersonalReply> dynAllPersonal($grpc.ServiceCall call, $0.DynAllPersonalReq request); + $async.Future<$0.NoReply> dynAllUpdOffset($grpc.ServiceCall call, $0.DynAllUpdOffsetReq request); + $async.Future<$0.DynDetailReply> dynDetail($grpc.ServiceCall call, $0.DynDetailReq request); + $async.Future<$0.DynDetailsReply> dynDetails($grpc.ServiceCall call, $0.DynDetailsReq request); + $async.Future<$0.DynFakeCardReply> dynFakeCard($grpc.ServiceCall call, $0.DynFakeCardReq request); + $async.Future<$0.DynFriendReply> dynFriend($grpc.ServiceCall call, $0.DynFriendReq request); + $async.Future<$0.DynLightReply> dynLight($grpc.ServiceCall call, $0.DynLightReq request); + $async.Future<$0.DynMixUpListViewMoreReply> dynMixUpListViewMore($grpc.ServiceCall call, $0.DynMixUpListViewMoreReq request); + $async.Future<$0.DynRcmdUpExchangeReply> dynRcmdUpExchange($grpc.ServiceCall call, $0.DynRcmdUpExchangeReq request); + $async.Future<$0.DynSearchReply> dynSearch($grpc.ServiceCall call, $0.DynSearchReq request); + $async.Future<$0.DynServerDetailsReply> dynServerDetails($grpc.ServiceCall call, $0.DynServerDetailsReq request); + $async.Future<$0.DynSpaceRsp> dynSpace($grpc.ServiceCall call, $0.DynSpaceReq request); + $async.Future<$0.DynSpaceSearchDetailsReply> dynSpaceSearchDetails($grpc.ServiceCall call, $0.DynSpaceSearchDetailsReq request); + $async.Future<$0.DynTabReply> dynTab($grpc.ServiceCall call, $0.DynTabReq request); + $async.Future<$0.NoReply> dynThumb($grpc.ServiceCall call, $0.DynThumbReq request); + $async.Future<$0.DynRcmdReply> dynUnLoginRcmd($grpc.ServiceCall call, $0.DynRcmdReq request); + $async.Future<$0.DynVideoReply> dynVideo($grpc.ServiceCall call, $0.DynVideoReq request); + $async.Future<$0.DynVideoPersonalReply> dynVideoPersonal($grpc.ServiceCall call, $0.DynVideoPersonalReq request); + $async.Future<$0.NoReply> dynVideoUpdOffset($grpc.ServiceCall call, $0.DynVideoUpdOffsetReq request); + $async.Future<$0.DynVoteReply> dynVote($grpc.ServiceCall call, $0.DynVoteReq request); + $async.Future<$0.FeedFilterReply> feedFilter($grpc.ServiceCall call, $0.FeedFilterReq request); + $async.Future<$0.FetchTabSettingReply> fetchTabSetting($grpc.ServiceCall call, $0.NoReq request); + $async.Future<$0.HomeSubscribeReply> homeSubscribe($grpc.ServiceCall call, $0.HomeSubscribeReq request); + $async.Future<$0.LbsPoiReply> lbsPoi($grpc.ServiceCall call, $0.LbsPoiReq request); + $async.Future<$0.LegacyTopicFeedReply> legacyTopicFeed($grpc.ServiceCall call, $0.LegacyTopicFeedReq request); + $async.Future<$0.LikeListReply> likeList($grpc.ServiceCall call, $0.LikeListReq request); + $async.Future<$0.OfficialAccountsReply> officialAccounts($grpc.ServiceCall call, $0.OfficialAccountsReq request); + $async.Future<$0.OfficialDynamicsReply> officialDynamics($grpc.ServiceCall call, $0.OfficialDynamicsReq request); + $async.Future<$0.ReactionListReply> reactionList($grpc.ServiceCall call, $0.ReactionListReq request); + $async.Future<$0.RepostListRsp> repostList($grpc.ServiceCall call, $0.RepostListReq request); + $async.Future<$0.SchoolRecommendReply> schoolRecommend($grpc.ServiceCall call, $0.SchoolRecommendReq request); + $async.Future<$0.SchoolSearchReply> schoolSearch($grpc.ServiceCall call, $0.SchoolSearchReq request); + $async.Future<$0.NoReply> setDecision($grpc.ServiceCall call, $0.SetDecisionReq request); + $async.Future<$0.NoReply> setRecentCampus($grpc.ServiceCall call, $0.SetRecentCampusReq request); + $async.Future<$0.NoReply> subscribeCampus($grpc.ServiceCall call, $0.SubscribeCampusReq request); + $async.Future<$0.TopicListReply> topicList($grpc.ServiceCall call, $0.TopicListReq request); + $async.Future<$0.TopicSquareReply> topicSquare($grpc.ServiceCall call, $0.TopicSquareReq request); + $async.Future<$0.NoReply> unfollowMatch($grpc.ServiceCall call, $0.UnfollowMatchReq request); + $async.Future<$0.NoReply> updateTabSetting($grpc.ServiceCall call, $0.UpdateTabSettingReq request); +} diff --git a/lib/grpc/app/dynamic/v2/dynamic.pbjson.dart b/lib/grpc/app/dynamic/v2/dynamic.pbjson.dart new file mode 100644 index 00000000..cca5aa94 --- /dev/null +++ b/lib/grpc/app/dynamic/v2/dynamic.pbjson.dart @@ -0,0 +1,8213 @@ +// +// Generated code. Do not modify. +// source: bilibili/app/dynamic/v2/dynamic.proto +// +// @dart = 2.12 + +// 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 addButtonBgStyleDescriptor instead') +const AddButtonBgStyle$json = { + '1': 'AddButtonBgStyle', + '2': [ + {'1': 'fill', '2': 0}, + {'1': 'stroke', '2': 1}, + {'1': 'gray', '2': 2}, + ], +}; + +/// Descriptor for `AddButtonBgStyle`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List addButtonBgStyleDescriptor = $convert.base64Decode( + 'ChBBZGRCdXR0b25CZ1N0eWxlEggKBGZpbGwQABIKCgZzdHJva2UQARIICgRncmF5EAI='); + +@$core.Deprecated('Use addButtonTypeDescriptor instead') +const AddButtonType$json = { + '1': 'AddButtonType', + '2': [ + {'1': 'bt_none', '2': 0}, + {'1': 'bt_jump', '2': 1}, + {'1': 'bt_button', '2': 2}, + ], +}; + +/// Descriptor for `AddButtonType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List addButtonTypeDescriptor = $convert.base64Decode( + 'Cg1BZGRCdXR0b25UeXBlEgsKB2J0X25vbmUQABILCgdidF9qdW1wEAESDQoJYnRfYnV0dG9uEA' + 'I='); + +@$core.Deprecated('Use additionalButtonClickTypeDescriptor instead') +const AdditionalButtonClickType$json = { + '1': 'AdditionalButtonClickType', + '2': [ + {'1': 'click_none', '2': 0}, + {'1': 'click_up', '2': 1}, + ], +}; + +/// Descriptor for `AdditionalButtonClickType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List additionalButtonClickTypeDescriptor = $convert.base64Decode( + 'ChlBZGRpdGlvbmFsQnV0dG9uQ2xpY2tUeXBlEg4KCmNsaWNrX25vbmUQABIMCghjbGlja191cB' + 'AB'); + +@$core.Deprecated('Use additionalButtonStatusDescriptor instead') +const AdditionalButtonStatus$json = { + '1': 'AdditionalButtonStatus', + '2': [ + {'1': 'none', '2': 0}, + {'1': 'uncheck', '2': 1}, + {'1': 'check', '2': 2}, + ], +}; + +/// Descriptor for `AdditionalButtonStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List additionalButtonStatusDescriptor = $convert.base64Decode( + 'ChZBZGRpdGlvbmFsQnV0dG9uU3RhdHVzEggKBG5vbmUQABILCgd1bmNoZWNrEAESCQoFY2hlY2' + 'sQAg=='); + +@$core.Deprecated('Use additionalShareShowTypeDescriptor instead') +const AdditionalShareShowType$json = { + '1': 'AdditionalShareShowType', + '2': [ + {'1': 'st_none', '2': 0}, + {'1': 'st_show', '2': 1}, + ], +}; + +/// Descriptor for `AdditionalShareShowType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List additionalShareShowTypeDescriptor = $convert.base64Decode( + 'ChdBZGRpdGlvbmFsU2hhcmVTaG93VHlwZRILCgdzdF9ub25lEAASCwoHc3Rfc2hvdxAB'); + +@$core.Deprecated('Use additionalTypeDescriptor instead') +const AdditionalType$json = { + '1': 'AdditionalType', + '2': [ + {'1': 'additional_none', '2': 0}, + {'1': 'additional_type_pgc', '2': 1}, + {'1': 'additional_type_goods', '2': 2}, + {'1': 'additional_type_vote', '2': 3}, + {'1': 'additional_type_common', '2': 4}, + {'1': 'additional_type_esport', '2': 5}, + {'1': 'additional_type_up_rcmd', '2': 6}, + {'1': 'additional_type_ugc', '2': 7}, + {'1': 'additional_type_up_reservation', '2': 8}, + ], +}; + +/// Descriptor for `AdditionalType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List additionalTypeDescriptor = $convert.base64Decode( + 'Cg5BZGRpdGlvbmFsVHlwZRITCg9hZGRpdGlvbmFsX25vbmUQABIXChNhZGRpdGlvbmFsX3R5cG' + 'VfcGdjEAESGQoVYWRkaXRpb25hbF90eXBlX2dvb2RzEAISGAoUYWRkaXRpb25hbF90eXBlX3Zv' + 'dGUQAxIaChZhZGRpdGlvbmFsX3R5cGVfY29tbW9uEAQSGgoWYWRkaXRpb25hbF90eXBlX2VzcG' + '9ydBAFEhsKF2FkZGl0aW9uYWxfdHlwZV91cF9yY21kEAYSFwoTYWRkaXRpb25hbF90eXBlX3Vn' + 'YxAHEiIKHmFkZGl0aW9uYWxfdHlwZV91cF9yZXNlcnZhdGlvbhAI'); + +@$core.Deprecated('Use additionVoteStateDescriptor instead') +const AdditionVoteState$json = { + '1': 'AdditionVoteState', + '2': [ + {'1': 'addition_vote_state_none', '2': 0}, + {'1': 'addition_vote_state_open', '2': 1}, + {'1': 'addition_vote_state_close', '2': 2}, + ], +}; + +/// Descriptor for `AdditionVoteState`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List additionVoteStateDescriptor = $convert.base64Decode( + 'ChFBZGRpdGlvblZvdGVTdGF0ZRIcChhhZGRpdGlvbl92b3RlX3N0YXRlX25vbmUQABIcChhhZG' + 'RpdGlvbl92b3RlX3N0YXRlX29wZW4QARIdChlhZGRpdGlvbl92b3RlX3N0YXRlX2Nsb3NlEAI='); + +@$core.Deprecated('Use additionVoteTypeDescriptor instead') +const AdditionVoteType$json = { + '1': 'AdditionVoteType', + '2': [ + {'1': 'addition_vote_type_none', '2': 0}, + {'1': 'addition_vote_type_word', '2': 1}, + {'1': 'addition_vote_type_pic', '2': 2}, + {'1': 'addition_vote_type_default', '2': 3}, + ], +}; + +/// Descriptor for `AdditionVoteType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List additionVoteTypeDescriptor = $convert.base64Decode( + 'ChBBZGRpdGlvblZvdGVUeXBlEhsKF2FkZGl0aW9uX3ZvdGVfdHlwZV9ub25lEAASGwoXYWRkaX' + 'Rpb25fdm90ZV90eXBlX3dvcmQQARIaChZhZGRpdGlvbl92b3RlX3R5cGVfcGljEAISHgoaYWRk' + 'aXRpb25fdm90ZV90eXBlX2RlZmF1bHQQAw=='); + +@$core.Deprecated('Use campusEntryTypeDescriptor instead') +const CampusEntryType$json = { + '1': 'CampusEntryType', + '2': [ + {'1': 'NONE', '2': 0}, + {'1': 'ENTRY_DYNAMIC', '2': 1}, + {'1': 'ENTRY_HOME', '2': 2}, + ], +}; + +/// Descriptor for `CampusEntryType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List campusEntryTypeDescriptor = $convert.base64Decode( + 'Cg9DYW1wdXNFbnRyeVR5cGUSCAoETk9ORRAAEhEKDUVOVFJZX0RZTkFNSUMQARIOCgpFTlRSWV' + '9IT01FEAI='); + +@$core.Deprecated('Use campusRcmdReqFromDescriptor instead') +const CampusRcmdReqFrom$json = { + '1': 'CampusRcmdReqFrom', + '2': [ + {'1': 'CAMPUS_RCMD_FROM_UNKNOWN', '2': 0}, + {'1': 'CAMPUS_RCMD_FROM_HOME_UN_OPEN', '2': 1}, + {'1': 'CAMPUS_RCMD_FROM_VISIT_OTHER', '2': 2}, + {'1': 'CAMPUS_RCMD_FROM_HOME_MOMENT', '2': 3}, + {'1': 'CAMPUS_RCMD_FROM_DYN_MOMENT', '2': 4}, + {'1': 'CAMPUS_RCMD_FROM_PAGE_SUBORDINATE_MOMENT', '2': 5}, + ], +}; + +/// Descriptor for `CampusRcmdReqFrom`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List campusRcmdReqFromDescriptor = $convert.base64Decode( + 'ChFDYW1wdXNSY21kUmVxRnJvbRIcChhDQU1QVVNfUkNNRF9GUk9NX1VOS05PV04QABIhCh1DQU' + '1QVVNfUkNNRF9GUk9NX0hPTUVfVU5fT1BFThABEiAKHENBTVBVU19SQ01EX0ZST01fVklTSVRf' + 'T1RIRVIQAhIgChxDQU1QVVNfUkNNRF9GUk9NX0hPTUVfTU9NRU5UEAMSHwobQ0FNUFVTX1JDTU' + 'RfRlJPTV9EWU5fTU9NRU5UEAQSLAooQ0FNUFVTX1JDTURfRlJPTV9QQUdFX1NVQk9SRElOQVRF' + 'X01PTUVOVBAF'); + +@$core.Deprecated('Use campusHomePageTypeDescriptor instead') +const CampusHomePageType$json = { + '1': 'CampusHomePageType', + '2': [ + {'1': 'PAGE_MAJOR', '2': 0}, + {'1': 'PAGE_SUBORDINATE', '2': 1}, + {'1': 'PAGE_MAJOR_DETAIL', '2': 2}, + ], +}; + +/// Descriptor for `CampusHomePageType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List campusHomePageTypeDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNIb21lUGFnZVR5cGUSDgoKUEFHRV9NQUpPUhAAEhQKEFBBR0VfU1VCT1JESU5BVE' + 'UQARIVChFQQUdFX01BSk9SX0RFVEFJTBAC'); + +@$core.Deprecated('Use campusMngAuditStatusDescriptor instead') +const CampusMngAuditStatus$json = { + '1': 'CampusMngAuditStatus', + '2': [ + {'1': 'campus_mng_audit_none', '2': 0}, + {'1': 'campus_mng_audit_in_process', '2': 1}, + {'1': 'campus_mng_audit_failed', '2': 2}, + ], +}; + +/// Descriptor for `CampusMngAuditStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List campusMngAuditStatusDescriptor = $convert.base64Decode( + 'ChRDYW1wdXNNbmdBdWRpdFN0YXR1cxIZChVjYW1wdXNfbW5nX2F1ZGl0X25vbmUQABIfChtjYW' + '1wdXNfbW5nX2F1ZGl0X2luX3Byb2Nlc3MQARIbChdjYW1wdXNfbW5nX2F1ZGl0X2ZhaWxlZBAC'); + +@$core.Deprecated('Use campusMngItemTypeDescriptor instead') +const CampusMngItemType$json = { + '1': 'CampusMngItemType', + '2': [ + {'1': 'campus_mng_none', '2': 0}, + {'1': 'campus_mng_basic_info', '2': 1}, + {'1': 'campus_mng_badge', '2': 2}, + {'1': 'campus_mng_slogan', '2': 3}, + {'1': 'campus_mng_quiz', '2': 4}, + ], +}; + +/// Descriptor for `CampusMngItemType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List campusMngItemTypeDescriptor = $convert.base64Decode( + 'ChFDYW1wdXNNbmdJdGVtVHlwZRITCg9jYW1wdXNfbW5nX25vbmUQABIZChVjYW1wdXNfbW5nX2' + 'Jhc2ljX2luZm8QARIUChBjYW1wdXNfbW5nX2JhZGdlEAISFQoRY2FtcHVzX21uZ19zbG9nYW4Q' + 'AxITCg9jYW1wdXNfbW5nX3F1aXoQBA=='); + +@$core.Deprecated('Use campusMngQuizActionDescriptor instead') +const CampusMngQuizAction$json = { + '1': 'CampusMngQuizAction', + '2': [ + {'1': 'campus_mng_quiz_act_list', '2': 0}, + {'1': 'campus_mng_quiz_act_add', '2': 1}, + {'1': 'campus_mng_quiz_act_del', '2': 2}, + ], +}; + +/// Descriptor for `CampusMngQuizAction`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List campusMngQuizActionDescriptor = $convert.base64Decode( + 'ChNDYW1wdXNNbmdRdWl6QWN0aW9uEhwKGGNhbXB1c19tbmdfcXVpel9hY3RfbGlzdBAAEhsKF2' + 'NhbXB1c19tbmdfcXVpel9hY3RfYWRkEAESGwoXY2FtcHVzX21uZ19xdWl6X2FjdF9kZWwQAg=='); + +@$core.Deprecated('Use campusOnlineStatusDescriptor instead') +const CampusOnlineStatus$json = { + '1': 'CampusOnlineStatus', + '2': [ + {'1': 'campus_online_offline', '2': 0}, + {'1': 'campus_online_online', '2': 1}, + ], +}; + +/// Descriptor for `CampusOnlineStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List campusOnlineStatusDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNPbmxpbmVTdGF0dXMSGQoVY2FtcHVzX29ubGluZV9vZmZsaW5lEAASGAoUY2FtcH' + 'VzX29ubGluZV9vbmxpbmUQAQ=='); + +@$core.Deprecated('Use campusReqFromTypeDescriptor instead') +const CampusReqFromType$json = { + '1': 'CampusReqFromType', + '2': [ + {'1': 'DYNAMIC', '2': 0}, + {'1': 'HOME', '2': 1}, + ], +}; + +/// Descriptor for `CampusReqFromType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List campusReqFromTypeDescriptor = $convert.base64Decode( + 'ChFDYW1wdXNSZXFGcm9tVHlwZRILCgdEWU5BTUlDEAASCAoESE9NRRAB'); + +@$core.Deprecated('Use campusTabTypeDescriptor instead') +const CampusTabType$json = { + '1': 'CampusTabType', + '2': [ + {'1': 'campus_none', '2': 0}, + {'1': 'campus_school', '2': 1}, + {'1': 'campus_dynamic', '2': 2}, + {'1': 'campus_account', '2': 3}, + {'1': 'campus_billboard', '2': 4}, + {'1': 'campus_topic', '2': 5}, + {'1': 'campues_other', '2': 6}, + ], +}; + +/// Descriptor for `CampusTabType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List campusTabTypeDescriptor = $convert.base64Decode( + 'Cg1DYW1wdXNUYWJUeXBlEg8KC2NhbXB1c19ub25lEAASEQoNY2FtcHVzX3NjaG9vbBABEhIKDm' + 'NhbXB1c19keW5hbWljEAISEgoOY2FtcHVzX2FjY291bnQQAxIUChBjYW1wdXNfYmlsbGJvYXJk' + 'EAQSEAoMY2FtcHVzX3RvcGljEAUSEQoNY2FtcHVlc19vdGhlchAG'); + +@$core.Deprecated('Use coverIconDescriptor instead') +const CoverIcon$json = { + '1': 'CoverIcon', + '2': [ + {'1': 'cover_icon_none', '2': 0}, + {'1': 'cover_icon_play', '2': 1}, + {'1': 'cover_icon_danmaku', '2': 2}, + {'1': 'cover_icon_up', '2': 3}, + {'1': 'cover_icon_vt', '2': 4}, + ], +}; + +/// Descriptor for `CoverIcon`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List coverIconDescriptor = $convert.base64Decode( + 'CglDb3Zlckljb24SEwoPY292ZXJfaWNvbl9ub25lEAASEwoPY292ZXJfaWNvbl9wbGF5EAESFg' + 'oSY292ZXJfaWNvbl9kYW5tYWt1EAISEQoNY292ZXJfaWNvbl91cBADEhEKDWNvdmVyX2ljb25f' + 'dnQQBA=='); + +@$core.Deprecated('Use descTypeDescriptor instead') +const DescType$json = { + '1': 'DescType', + '2': [ + {'1': 'desc_type_none', '2': 0}, + {'1': 'desc_type_text', '2': 1}, + {'1': 'desc_type_aite', '2': 2}, + {'1': 'desc_type_lottery', '2': 3}, + {'1': 'desc_type_vote', '2': 4}, + {'1': 'desc_type_topic', '2': 5}, + {'1': 'desc_type_goods', '2': 6}, + {'1': 'desc_type_bv', '2': 7}, + {'1': 'desc_type_av', '2': 8}, + {'1': 'desc_type_emoji', '2': 9}, + {'1': 'desc_type_user', '2': 10}, + {'1': 'desc_type_cv', '2': 11}, + {'1': 'desc_type_vc', '2': 12}, + {'1': 'desc_type_web', '2': 13}, + {'1': 'desc_type_taobao', '2': 14}, + {'1': 'desc_type_mail', '2': 15}, + {'1': 'desc_type_ogv_season', '2': 16}, + {'1': 'desc_type_ogv_ep', '2': 17}, + {'1': 'desc_type_search_word', '2': 18}, + ], +}; + +/// Descriptor for `DescType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List descTypeDescriptor = $convert.base64Decode( + 'CghEZXNjVHlwZRISCg5kZXNjX3R5cGVfbm9uZRAAEhIKDmRlc2NfdHlwZV90ZXh0EAESEgoOZG' + 'VzY190eXBlX2FpdGUQAhIVChFkZXNjX3R5cGVfbG90dGVyeRADEhIKDmRlc2NfdHlwZV92b3Rl' + 'EAQSEwoPZGVzY190eXBlX3RvcGljEAUSEwoPZGVzY190eXBlX2dvb2RzEAYSEAoMZGVzY190eX' + 'BlX2J2EAcSEAoMZGVzY190eXBlX2F2EAgSEwoPZGVzY190eXBlX2Vtb2ppEAkSEgoOZGVzY190' + 'eXBlX3VzZXIQChIQCgxkZXNjX3R5cGVfY3YQCxIQCgxkZXNjX3R5cGVfdmMQDBIRCg1kZXNjX3' + 'R5cGVfd2ViEA0SFAoQZGVzY190eXBlX3Rhb2JhbxAOEhIKDmRlc2NfdHlwZV9tYWlsEA8SGAoU' + 'ZGVzY190eXBlX29ndl9zZWFzb24QEBIUChBkZXNjX3R5cGVfb2d2X2VwEBESGQoVZGVzY190eX' + 'BlX3NlYXJjaF93b3JkEBI='); + +@$core.Deprecated('Use disableStateDescriptor instead') +const DisableState$json = { + '1': 'DisableState', + '2': [ + {'1': 'highlight', '2': 0}, + {'1': 'gary', '2': 1}, + ], +}; + +/// Descriptor for `DisableState`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List disableStateDescriptor = $convert.base64Decode( + 'CgxEaXNhYmxlU3RhdGUSDQoJaGlnaGxpZ2h0EAASCAoEZ2FyeRAB'); + +@$core.Deprecated('Use dynamicTypeDescriptor instead') +const DynamicType$json = { + '1': 'DynamicType', + '2': [ + {'1': 'dyn_none', '2': 0}, + {'1': 'forward', '2': 1}, + {'1': 'av', '2': 2}, + {'1': 'pgc', '2': 3}, + {'1': 'courses', '2': 4}, + {'1': 'fold', '2': 5}, + {'1': 'word', '2': 6}, + {'1': 'draw', '2': 7}, + {'1': 'article', '2': 8}, + {'1': 'music', '2': 9}, + {'1': 'common_square', '2': 10}, + {'1': 'common_vertical', '2': 11}, + {'1': 'live', '2': 12}, + {'1': 'medialist', '2': 13}, + {'1': 'courses_season', '2': 14}, + {'1': 'ad', '2': 15}, + {'1': 'applet', '2': 16}, + {'1': 'subscription', '2': 17}, + {'1': 'live_rcmd', '2': 18}, + {'1': 'banner', '2': 19}, + {'1': 'ugc_season', '2': 20}, + {'1': 'subscription_new', '2': 21}, + {'1': 'story', '2': 22}, + {'1': 'topic_rcmd', '2': 23}, + {'1': 'cour_up', '2': 24}, + {'1': 'topic_set', '2': 25}, + {'1': 'notice', '2': 26}, + {'1': 'text_notice', '2': 27}, + ], +}; + +/// Descriptor for `DynamicType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List dynamicTypeDescriptor = $convert.base64Decode( + 'CgtEeW5hbWljVHlwZRIMCghkeW5fbm9uZRAAEgsKB2ZvcndhcmQQARIGCgJhdhACEgcKA3BnYx' + 'ADEgsKB2NvdXJzZXMQBBIICgRmb2xkEAUSCAoEd29yZBAGEggKBGRyYXcQBxILCgdhcnRpY2xl' + 'EAgSCQoFbXVzaWMQCRIRCg1jb21tb25fc3F1YXJlEAoSEwoPY29tbW9uX3ZlcnRpY2FsEAsSCA' + 'oEbGl2ZRAMEg0KCW1lZGlhbGlzdBANEhIKDmNvdXJzZXNfc2Vhc29uEA4SBgoCYWQQDxIKCgZh' + 'cHBsZXQQEBIQCgxzdWJzY3JpcHRpb24QERINCglsaXZlX3JjbWQQEhIKCgZiYW5uZXIQExIOCg' + 'p1Z2Nfc2Vhc29uEBQSFAoQc3Vic2NyaXB0aW9uX25ldxAVEgkKBXN0b3J5EBYSDgoKdG9waWNf' + 'cmNtZBAXEgsKB2NvdXJfdXAQGBINCgl0b3BpY19zZXQQGRIKCgZub3RpY2UQGhIPCgt0ZXh0X2' + '5vdGljZRAb'); + +@$core.Deprecated('Use dynExtendTypeDescriptor instead') +const DynExtendType$json = { + '1': 'DynExtendType', + '2': [ + {'1': 'dyn_ext_type_none', '2': 0}, + {'1': 'dyn_ext_type_topic', '2': 1}, + {'1': 'dyn_ext_type_lbs', '2': 2}, + {'1': 'dyn_ext_type_hot', '2': 3}, + {'1': 'dyn_ext_type_game', '2': 4}, + {'1': 'dyn_ext_type_common', '2': 5}, + {'1': 'dyn_ext_type_biliCut', '2': 6}, + {'1': 'dyn_ext_type_ogv', '2': 7}, + {'1': 'dyn_ext_type_auto_ogv', '2': 8}, + ], +}; + +/// Descriptor for `DynExtendType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List dynExtendTypeDescriptor = $convert.base64Decode( + 'Cg1EeW5FeHRlbmRUeXBlEhUKEWR5bl9leHRfdHlwZV9ub25lEAASFgoSZHluX2V4dF90eXBlX3' + 'RvcGljEAESFAoQZHluX2V4dF90eXBlX2xicxACEhQKEGR5bl9leHRfdHlwZV9ob3QQAxIVChFk' + 'eW5fZXh0X3R5cGVfZ2FtZRAEEhcKE2R5bl9leHRfdHlwZV9jb21tb24QBRIYChRkeW5fZXh0X3' + 'R5cGVfYmlsaUN1dBAGEhQKEGR5bl9leHRfdHlwZV9vZ3YQBxIZChVkeW5fZXh0X3R5cGVfYXV0' + 'b19vZ3YQCA=='); + +@$core.Deprecated('Use dynModuleTypeDescriptor instead') +const DynModuleType$json = { + '1': 'DynModuleType', + '2': [ + {'1': 'module_none', '2': 0}, + {'1': 'module_author', '2': 1}, + {'1': 'module_dispute', '2': 2}, + {'1': 'module_desc', '2': 3}, + {'1': 'module_dynamic', '2': 4}, + {'1': 'module_forward', '2': 5}, + {'1': 'module_likeUser', '2': 6}, + {'1': 'module_extend', '2': 7}, + {'1': 'module_additional', '2': 8}, + {'1': 'module_stat', '2': 9}, + {'1': 'module_fold', '2': 10}, + {'1': 'module_comment', '2': 11}, + {'1': 'module_interaction', '2': 12}, + {'1': 'module_author_forward', '2': 13}, + {'1': 'module_ad', '2': 14}, + {'1': 'module_banner', '2': 15}, + {'1': 'module_item_null', '2': 16}, + {'1': 'module_share_info', '2': 17}, + {'1': 'module_recommend', '2': 18}, + {'1': 'module_stat_forward', '2': 19}, + {'1': 'module_top', '2': 20}, + {'1': 'module_bottom', '2': 21}, + {'1': 'module_story', '2': 22}, + {'1': 'module_topic', '2': 23}, + {'1': 'module_topic_details_ext', '2': 24}, + {'1': 'module_top_tag', '2': 25}, + {'1': 'module_topic_brief', '2': 26}, + {'1': 'module_title', '2': 27}, + {'1': 'module_button', '2': 28}, + {'1': 'module_notice', '2': 29}, + {'1': 'module_opus_summary', '2': 30}, + {'1': 'module_copyright', '2': 31}, + {'1': 'module_paragraph', '2': 32}, + {'1': 'module_blocked', '2': 33}, + {'1': 'module_text_notice', '2': 34}, + {'1': 'module_opus_collection', '2': 35}, + ], +}; + +/// Descriptor for `DynModuleType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List dynModuleTypeDescriptor = $convert.base64Decode( + 'Cg1EeW5Nb2R1bGVUeXBlEg8KC21vZHVsZV9ub25lEAASEQoNbW9kdWxlX2F1dGhvchABEhIKDm' + '1vZHVsZV9kaXNwdXRlEAISDwoLbW9kdWxlX2Rlc2MQAxISCg5tb2R1bGVfZHluYW1pYxAEEhIK' + 'Dm1vZHVsZV9mb3J3YXJkEAUSEwoPbW9kdWxlX2xpa2VVc2VyEAYSEQoNbW9kdWxlX2V4dGVuZB' + 'AHEhUKEW1vZHVsZV9hZGRpdGlvbmFsEAgSDwoLbW9kdWxlX3N0YXQQCRIPCgttb2R1bGVfZm9s' + 'ZBAKEhIKDm1vZHVsZV9jb21tZW50EAsSFgoSbW9kdWxlX2ludGVyYWN0aW9uEAwSGQoVbW9kdW' + 'xlX2F1dGhvcl9mb3J3YXJkEA0SDQoJbW9kdWxlX2FkEA4SEQoNbW9kdWxlX2Jhbm5lchAPEhQK' + 'EG1vZHVsZV9pdGVtX251bGwQEBIVChFtb2R1bGVfc2hhcmVfaW5mbxAREhQKEG1vZHVsZV9yZW' + 'NvbW1lbmQQEhIXChNtb2R1bGVfc3RhdF9mb3J3YXJkEBMSDgoKbW9kdWxlX3RvcBAUEhEKDW1v' + 'ZHVsZV9ib3R0b20QFRIQCgxtb2R1bGVfc3RvcnkQFhIQCgxtb2R1bGVfdG9waWMQFxIcChhtb2' + 'R1bGVfdG9waWNfZGV0YWlsc19leHQQGBISCg5tb2R1bGVfdG9wX3RhZxAZEhYKEm1vZHVsZV90' + 'b3BpY19icmllZhAaEhAKDG1vZHVsZV90aXRsZRAbEhEKDW1vZHVsZV9idXR0b24QHBIRCg1tb2' + 'R1bGVfbm90aWNlEB0SFwoTbW9kdWxlX29wdXNfc3VtbWFyeRAeEhQKEG1vZHVsZV9jb3B5cmln' + 'aHQQHxIUChBtb2R1bGVfcGFyYWdyYXBoECASEgoObW9kdWxlX2Jsb2NrZWQQIRIWChJtb2R1bG' + 'VfdGV4dF9ub3RpY2UQIhIaChZtb2R1bGVfb3B1c19jb2xsZWN0aW9uECM='); + +@$core.Deprecated('Use emojiTypeDescriptor instead') +const EmojiType$json = { + '1': 'EmojiType', + '2': [ + {'1': 'emoji_none', '2': 0}, + {'1': 'emoji_old', '2': 1}, + {'1': 'emoji_new', '2': 2}, + {'1': 'vip', '2': 3}, + ], +}; + +/// Descriptor for `EmojiType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List emojiTypeDescriptor = $convert.base64Decode( + 'CglFbW9qaVR5cGUSDgoKZW1vamlfbm9uZRAAEg0KCWVtb2ppX29sZBABEg0KCWVtb2ppX25ldx' + 'ACEgcKA3ZpcBAD'); + +@$core.Deprecated('Use espaceStyleDescriptor instead') +const EspaceStyle$json = { + '1': 'EspaceStyle', + '2': [ + {'1': 'moba', '2': 0}, + ], +}; + +/// Descriptor for `EspaceStyle`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List espaceStyleDescriptor = $convert.base64Decode( + 'CgtFc3BhY2VTdHlsZRIICgRtb2JhEAA='); + +@$core.Deprecated('Use foldTypeDescriptor instead') +const FoldType$json = { + '1': 'FoldType', + '2': [ + {'1': 'FoldTypeZore', '2': 0}, + {'1': 'FoldTypePublish', '2': 1}, + {'1': 'FoldTypeFrequent', '2': 2}, + {'1': 'FoldTypeUnite', '2': 3}, + {'1': 'FoldTypeLimit', '2': 4}, + {'1': 'FoldTypeTopicMerged', '2': 5}, + ], +}; + +/// Descriptor for `FoldType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List foldTypeDescriptor = $convert.base64Decode( + 'CghGb2xkVHlwZRIQCgxGb2xkVHlwZVpvcmUQABITCg9Gb2xkVHlwZVB1Ymxpc2gQARIUChBGb2' + 'xkVHlwZUZyZXF1ZW50EAISEQoNRm9sZFR5cGVVbml0ZRADEhEKDUZvbGRUeXBlTGltaXQQBBIX' + 'ChNGb2xkVHlwZVRvcGljTWVyZ2VkEAU='); + +@$core.Deprecated('Use followTypeDescriptor instead') +const FollowType$json = { + '1': 'FollowType', + '2': [ + {'1': 'ft_not_follow', '2': 0}, + {'1': 'ft_follow', '2': 1}, + ], +}; + +/// Descriptor for `FollowType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List followTypeDescriptor = $convert.base64Decode( + 'CgpGb2xsb3dUeXBlEhEKDWZ0X25vdF9mb2xsb3cQABINCglmdF9mb2xsb3cQAQ=='); + +@$core.Deprecated('Use goodsJumpTypeDescriptor instead') +const GoodsJumpType$json = { + '1': 'GoodsJumpType', + '2': [ + {'1': 'goods_none', '2': 0}, + {'1': 'goods_schema', '2': 1}, + {'1': 'goods_url', '2': 2}, + ], +}; + +/// Descriptor for `GoodsJumpType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List goodsJumpTypeDescriptor = $convert.base64Decode( + 'Cg1Hb29kc0p1bXBUeXBlEg4KCmdvb2RzX25vbmUQABIQCgxnb29kc19zY2hlbWEQARINCglnb2' + '9kc191cmwQAg=='); + +@$core.Deprecated('Use highlightTextStyleDescriptor instead') +const HighlightTextStyle$json = { + '1': 'HighlightTextStyle', + '2': [ + {'1': 'style_none', '2': 0}, + {'1': 'style_highlight', '2': 1}, + ], +}; + +/// Descriptor for `HighlightTextStyle`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List highlightTextStyleDescriptor = $convert.base64Decode( + 'ChJIaWdobGlnaHRUZXh0U3R5bGUSDgoKc3R5bGVfbm9uZRAAEhMKD3N0eWxlX2hpZ2hsaWdodB' + 'AB'); + +@$core.Deprecated('Use homePageTabSttingStatusDescriptor instead') +const HomePageTabSttingStatus$json = { + '1': 'HomePageTabSttingStatus', + '2': [ + {'1': 'SETTING_INVALID', '2': 0}, + {'1': 'SETTING_OPEN', '2': 1}, + {'1': 'SETTING_CLOSE', '2': 2}, + ], +}; + +/// Descriptor for `HomePageTabSttingStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List homePageTabSttingStatusDescriptor = $convert.base64Decode( + 'ChdIb21lUGFnZVRhYlN0dGluZ1N0YXR1cxITCg9TRVRUSU5HX0lOVkFMSUQQABIQCgxTRVRUSU' + '5HX09QRU4QARIRCg1TRVRUSU5HX0NMT1NFEAI='); + +@$core.Deprecated('Use iconResLocalDescriptor instead') +const IconResLocal$json = { + '1': 'IconResLocal', + '2': [ + {'1': 'ICON_RES_LOCAL_NONE', '2': 0}, + {'1': 'ICON_RES_LOCAL_LIVE', '2': 1}, + ], +}; + +/// Descriptor for `IconResLocal`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List iconResLocalDescriptor = $convert.base64Decode( + 'CgxJY29uUmVzTG9jYWwSFwoTSUNPTl9SRVNfTE9DQUxfTk9ORRAAEhcKE0lDT05fUkVTX0xPQ0' + 'FMX0xJVkUQAQ=='); + +@$core.Deprecated('Use imageStyleDescriptor instead') +const ImageStyle$json = { + '1': 'ImageStyle', + '2': [ + {'1': 'add_style_vertical', '2': 0}, + {'1': 'add_style_square', '2': 1}, + ], +}; + +/// Descriptor for `ImageStyle`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List imageStyleDescriptor = $convert.base64Decode( + 'CgpJbWFnZVN0eWxlEhYKEmFkZF9zdHlsZV92ZXJ0aWNhbBAAEhQKEGFkZF9zdHlsZV9zcXVhcm' + 'UQAQ=='); + +@$core.Deprecated('Use lightFromTypeDescriptor instead') +const LightFromType$json = { + '1': 'LightFromType', + '2': [ + {'1': 'from_login', '2': 0}, + {'1': 'from_unlogin', '2': 1}, + ], +}; + +/// Descriptor for `LightFromType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List lightFromTypeDescriptor = $convert.base64Decode( + 'Cg1MaWdodEZyb21UeXBlEg4KCmZyb21fbG9naW4QABIQCgxmcm9tX3VubG9naW4QAQ=='); + +@$core.Deprecated('Use linkNodeTypeDescriptor instead') +const LinkNodeType$json = { + '1': 'LinkNodeType', + '2': [ + {'1': 'INVALID', '2': 0}, + {'1': 'VIDEO', '2': 1}, + {'1': 'RESERVE', '2': 2}, + {'1': 'VOTE', '2': 3}, + {'1': 'LIVE', '2': 4}, + {'1': 'LOTTERY', '2': 5}, + {'1': 'MATCH', '2': 6}, + {'1': 'GOODS', '2': 7}, + {'1': 'OGV_SS', '2': 8}, + {'1': 'OGV_EP', '2': 9}, + {'1': 'MANGA', '2': 10}, + {'1': 'CHEESE', '2': 11}, + {'1': 'VIDEO_TS', '2': 12}, + {'1': 'AT', '2': 13}, + {'1': 'HASH_TAG', '2': 14}, + {'1': 'ARTICLE', '2': 15}, + {'1': 'URL', '2': 16}, + {'1': 'MAIL', '2': 17}, + {'1': 'LBS', '2': 18}, + {'1': 'ACTIVITY', '2': 19}, + {'1': 'ATTACH_CARD_OFFICIAL_ACTIVITY', '2': 20}, + {'1': 'GAME', '2': 21}, + {'1': 'DECORATION', '2': 22}, + {'1': 'UP_TOPIC', '2': 23}, + {'1': 'UP_ACTIVITY', '2': 24}, + {'1': 'UP_MAOER', '2': 25}, + {'1': 'MEMBER_GOODS', '2': 26}, + {'1': 'OPENMALL_UP_ITEMS', '2': 27}, + {'1': 'SEARCH', '2': 28}, + ], +}; + +/// Descriptor for `LinkNodeType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List linkNodeTypeDescriptor = $convert.base64Decode( + 'CgxMaW5rTm9kZVR5cGUSCwoHSU5WQUxJRBAAEgkKBVZJREVPEAESCwoHUkVTRVJWRRACEggKBF' + 'ZPVEUQAxIICgRMSVZFEAQSCwoHTE9UVEVSWRAFEgkKBU1BVENIEAYSCQoFR09PRFMQBxIKCgZP' + 'R1ZfU1MQCBIKCgZPR1ZfRVAQCRIJCgVNQU5HQRAKEgoKBkNIRUVTRRALEgwKCFZJREVPX1RTEA' + 'wSBgoCQVQQDRIMCghIQVNIX1RBRxAOEgsKB0FSVElDTEUQDxIHCgNVUkwQEBIICgRNQUlMEBES' + 'BwoDTEJTEBISDAoIQUNUSVZJVFkQExIhCh1BVFRBQ0hfQ0FSRF9PRkZJQ0lBTF9BQ1RJVklUWR' + 'AUEggKBEdBTUUQFRIOCgpERUNPUkFUSU9OEBYSDAoIVVBfVE9QSUMQFxIPCgtVUF9BQ1RJVklU' + 'WRAYEgwKCFVQX01BT0VSEBkSEAoMTUVNQkVSX0dPT0RTEBoSFQoRT1BFTk1BTExfVVBfSVRFTV' + 'MQGxIKCgZTRUFSQ0gQHA=='); + +@$core.Deprecated('Use liveStateDescriptor instead') +const LiveState$json = { + '1': 'LiveState', + '2': [ + {'1': 'live_none', '2': 0}, + {'1': 'live_live', '2': 1}, + {'1': 'live_rotation', '2': 2}, + ], +}; + +/// Descriptor for `LiveState`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List liveStateDescriptor = $convert.base64Decode( + 'CglMaXZlU3RhdGUSDQoJbGl2ZV9ub25lEAASDQoJbGl2ZV9saXZlEAESEQoNbGl2ZV9yb3RhdG' + 'lvbhAC'); + +@$core.Deprecated('Use localIconTypeDescriptor instead') +const LocalIconType$json = { + '1': 'LocalIconType', + '2': [ + {'1': 'local_icon_comment', '2': 0}, + {'1': 'local_icon_like', '2': 1}, + {'1': 'local_icon_avatar', '2': 2}, + {'1': 'local_icon_cover', '2': 3}, + {'1': 'local_icon_like_and_forward', '2': 4}, + ], +}; + +/// Descriptor for `LocalIconType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List localIconTypeDescriptor = $convert.base64Decode( + 'Cg1Mb2NhbEljb25UeXBlEhYKEmxvY2FsX2ljb25fY29tbWVudBAAEhMKD2xvY2FsX2ljb25fbG' + 'lrZRABEhUKEWxvY2FsX2ljb25fYXZhdGFyEAISFAoQbG9jYWxfaWNvbl9jb3ZlchADEh8KG2xv' + 'Y2FsX2ljb25fbGlrZV9hbmRfZm9yd2FyZBAE'); + +@$core.Deprecated('Use mdlBlockedStyleDescriptor instead') +const MdlBlockedStyle$json = { + '1': 'MdlBlockedStyle', + '2': [ + {'1': 'BLOCKED_STYLE_DEFAULT', '2': 0}, + {'1': 'BLOCKED_STYLE_IN_AUDIT', '2': 1}, + {'1': 'BLOCKED_STYLE_ONLY_FANS_LIST', '2': 2}, + {'1': 'BLOCKED_STYLE_ONLY_FANS_VIDEO', '2': 3}, + ], +}; + +/// Descriptor for `MdlBlockedStyle`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List mdlBlockedStyleDescriptor = $convert.base64Decode( + 'Cg9NZGxCbG9ja2VkU3R5bGUSGQoVQkxPQ0tFRF9TVFlMRV9ERUZBVUxUEAASGgoWQkxPQ0tFRF' + '9TVFlMRV9JTl9BVURJVBABEiAKHEJMT0NLRURfU1RZTEVfT05MWV9GQU5TX0xJU1QQAhIhCh1C' + 'TE9DS0VEX1NUWUxFX09OTFlfRkFOU19WSURFTxAD'); + +@$core.Deprecated('Use mdlDynCommonTypeDescriptor instead') +const MdlDynCommonType$json = { + '1': 'MdlDynCommonType', + '2': [ + {'1': 'mdl_dyn_common_none', '2': 0}, + {'1': 'mdl_dyn_common_square', '2': 1}, + {'1': 'mdl_dyn_common_vertica', '2': 2}, + ], +}; + +/// Descriptor for `MdlDynCommonType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List mdlDynCommonTypeDescriptor = $convert.base64Decode( + 'ChBNZGxEeW5Db21tb25UeXBlEhcKE21kbF9keW5fY29tbW9uX25vbmUQABIZChVtZGxfZHluX2' + 'NvbW1vbl9zcXVhcmUQARIaChZtZGxfZHluX2NvbW1vbl92ZXJ0aWNhEAI='); + +@$core.Deprecated('Use mdlDynDrawTagTypeDescriptor instead') +const MdlDynDrawTagType$json = { + '1': 'MdlDynDrawTagType', + '2': [ + {'1': 'mdl_draw_tag_none', '2': 0}, + {'1': 'mdl_draw_tag_common', '2': 1}, + {'1': 'mdl_draw_tag_goods', '2': 2}, + {'1': 'mdl_draw_tag_user', '2': 3}, + {'1': 'mdl_draw_tag_topic', '2': 4}, + {'1': 'mdl_draw_tag_lbs', '2': 5}, + ], +}; + +/// Descriptor for `MdlDynDrawTagType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List mdlDynDrawTagTypeDescriptor = $convert.base64Decode( + 'ChFNZGxEeW5EcmF3VGFnVHlwZRIVChFtZGxfZHJhd190YWdfbm9uZRAAEhcKE21kbF9kcmF3X3' + 'RhZ19jb21tb24QARIWChJtZGxfZHJhd190YWdfZ29vZHMQAhIVChFtZGxfZHJhd190YWdfdXNl' + 'chADEhYKEm1kbF9kcmF3X3RhZ190b3BpYxAEEhQKEG1kbF9kcmF3X3RhZ19sYnMQBQ=='); + +@$core.Deprecated('Use mdlDynSubscriptionNewStyleDescriptor instead') +const MdlDynSubscriptionNewStyle$json = { + '1': 'MdlDynSubscriptionNewStyle', + '2': [ + {'1': 'mdl_dyn_subscription_new_style_nont', '2': 0}, + {'1': 'mdl_dyn_subscription_new_style_live', '2': 1}, + {'1': 'mdl_dyn_subscription_new_style_draw', '2': 2}, + ], +}; + +/// Descriptor for `MdlDynSubscriptionNewStyle`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List mdlDynSubscriptionNewStyleDescriptor = $convert.base64Decode( + 'ChpNZGxEeW5TdWJzY3JpcHRpb25OZXdTdHlsZRInCiNtZGxfZHluX3N1YnNjcmlwdGlvbl9uZX' + 'dfc3R5bGVfbm9udBAAEicKI21kbF9keW5fc3Vic2NyaXB0aW9uX25ld19zdHlsZV9saXZlEAES' + 'JwojbWRsX2R5bl9zdWJzY3JpcHRpb25fbmV3X3N0eWxlX2RyYXcQAg=='); + +@$core.Deprecated('Use mediaTypeDescriptor instead') +const MediaType$json = { + '1': 'MediaType', + '2': [ + {'1': 'MediaTypeNone', '2': 0}, + {'1': 'MediaTypeUGC', '2': 1}, + {'1': 'MediaTypePGC', '2': 2}, + {'1': 'MediaTypeLive', '2': 3}, + {'1': 'MediaTypeVCS', '2': 4}, + ], +}; + +/// Descriptor for `MediaType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List mediaTypeDescriptor = $convert.base64Decode( + 'CglNZWRpYVR5cGUSEQoNTWVkaWFUeXBlTm9uZRAAEhAKDE1lZGlhVHlwZVVHQxABEhAKDE1lZG' + 'lhVHlwZVBHQxACEhEKDU1lZGlhVHlwZUxpdmUQAxIQCgxNZWRpYVR5cGVWQ1MQBA=='); + +@$core.Deprecated('Use moduleAuthorBadgeTypeDescriptor instead') +const ModuleAuthorBadgeType$json = { + '1': 'ModuleAuthorBadgeType', + '2': [ + {'1': 'module_author_badge_type_none', '2': 0}, + {'1': 'module_author_badge_type_threePoint', '2': 1}, + {'1': 'module_author_badge_type_button', '2': 2}, + {'1': 'module_author_badge_type_weight', '2': 3}, + ], +}; + +/// Descriptor for `ModuleAuthorBadgeType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List moduleAuthorBadgeTypeDescriptor = $convert.base64Decode( + 'ChVNb2R1bGVBdXRob3JCYWRnZVR5cGUSIQodbW9kdWxlX2F1dGhvcl9iYWRnZV90eXBlX25vbm' + 'UQABInCiNtb2R1bGVfYXV0aG9yX2JhZGdlX3R5cGVfdGhyZWVQb2ludBABEiMKH21vZHVsZV9h' + 'dXRob3JfYmFkZ2VfdHlwZV9idXR0b24QAhIjCh9tb2R1bGVfYXV0aG9yX2JhZGdlX3R5cGVfd2' + 'VpZ2h0EAM='); + +@$core.Deprecated('Use moduleBannerTypeDescriptor instead') +const ModuleBannerType$json = { + '1': 'ModuleBannerType', + '2': [ + {'1': 'module_banner_type_none', '2': 0}, + {'1': 'module_banner_type_user', '2': 1}, + ], +}; + +/// Descriptor for `ModuleBannerType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List moduleBannerTypeDescriptor = $convert.base64Decode( + 'ChBNb2R1bGVCYW5uZXJUeXBlEhsKF21vZHVsZV9iYW5uZXJfdHlwZV9ub25lEAASGwoXbW9kdW' + 'xlX2Jhbm5lcl90eXBlX3VzZXIQAQ=='); + +@$core.Deprecated('Use moduleDynamicTypeDescriptor instead') +const ModuleDynamicType$json = { + '1': 'ModuleDynamicType', + '2': [ + {'1': 'mdl_dyn_archive', '2': 0}, + {'1': 'mdl_dyn_pgc', '2': 1}, + {'1': 'mdl_dyn_cour_season', '2': 2}, + {'1': 'mdl_dyn_cour_batch', '2': 3}, + {'1': 'mdl_dyn_forward', '2': 4}, + {'1': 'mdl_dyn_draw', '2': 5}, + {'1': 'mdl_dyn_article', '2': 6}, + {'1': 'mdl_dyn_music', '2': 7}, + {'1': 'mdl_dyn_common', '2': 8}, + {'1': 'mdl_dyn_live', '2': 9}, + {'1': 'mdl_dyn_medialist', '2': 10}, + {'1': 'mdl_dyn_applet', '2': 11}, + {'1': 'mdl_dyn_subscription', '2': 12}, + {'1': 'mdl_dyn_live_rcmd', '2': 13}, + {'1': 'mdl_dyn_ugc_season', '2': 14}, + {'1': 'mdl_dyn_subscription_new', '2': 15}, + {'1': 'mdl_dyn_cour_batch_up', '2': 16}, + {'1': 'mdl_dyn_topic_set', '2': 17}, + ], +}; + +/// Descriptor for `ModuleDynamicType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List moduleDynamicTypeDescriptor = $convert.base64Decode( + 'ChFNb2R1bGVEeW5hbWljVHlwZRITCg9tZGxfZHluX2FyY2hpdmUQABIPCgttZGxfZHluX3BnYx' + 'ABEhcKE21kbF9keW5fY291cl9zZWFzb24QAhIWChJtZGxfZHluX2NvdXJfYmF0Y2gQAxITCg9t' + 'ZGxfZHluX2ZvcndhcmQQBBIQCgxtZGxfZHluX2RyYXcQBRITCg9tZGxfZHluX2FydGljbGUQBh' + 'IRCg1tZGxfZHluX211c2ljEAcSEgoObWRsX2R5bl9jb21tb24QCBIQCgxtZGxfZHluX2xpdmUQ' + 'CRIVChFtZGxfZHluX21lZGlhbGlzdBAKEhIKDm1kbF9keW5fYXBwbGV0EAsSGAoUbWRsX2R5bl' + '9zdWJzY3JpcHRpb24QDBIVChFtZGxfZHluX2xpdmVfcmNtZBANEhYKEm1kbF9keW5fdWdjX3Nl' + 'YXNvbhAOEhwKGG1kbF9keW5fc3Vic2NyaXB0aW9uX25ldxAPEhkKFW1kbF9keW5fY291cl9iYX' + 'RjaF91cBAQEhUKEW1kbF9keW5fdG9waWNfc2V0EBE='); + +@$core.Deprecated('Use networkTypeDescriptor instead') +const NetworkType$json = { + '1': 'NetworkType', + '2': [ + {'1': 'NT_UNKNOWN', '2': 0}, + {'1': 'WIFI', '2': 1}, + {'1': 'CELLULAR', '2': 2}, + {'1': 'OFFLINE', '2': 3}, + {'1': 'OTHERNET', '2': 4}, + {'1': 'ETHERNET', '2': 5}, + ], +}; + +/// Descriptor for `NetworkType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List networkTypeDescriptor = $convert.base64Decode( + 'CgtOZXR3b3JrVHlwZRIOCgpOVF9VTktOT1dOEAASCAoEV0lGSRABEgwKCENFTExVTEFSEAISCw' + 'oHT0ZGTElORRADEgwKCE9USEVSTkVUEAQSDAoIRVRIRVJORVQQBQ=='); + +@$core.Deprecated('Use nFTRegionTypeDescriptor instead') +const NFTRegionType$json = { + '1': 'NFTRegionType', + '2': [ + {'1': 'nft_region_default', '2': 0}, + {'1': 'nft_region_mainlang', '2': 1}, + {'1': 'nft_region_gat', '2': 2}, + ], +}; + +/// Descriptor for `NFTRegionType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List nFTRegionTypeDescriptor = $convert.base64Decode( + 'Cg1ORlRSZWdpb25UeXBlEhYKEm5mdF9yZWdpb25fZGVmYXVsdBAAEhcKE25mdF9yZWdpb25fbW' + 'FpbmxhbmcQARISCg5uZnRfcmVnaW9uX2dhdBAC'); + +@$core.Deprecated('Use nFTShowStatusDescriptor instead') +const NFTShowStatus$json = { + '1': 'NFTShowStatus', + '2': [ + {'1': 'nft_show_default', '2': 0}, + {'1': 'nft_show_zoominmainlang', '2': 1}, + {'1': 'nft_show_raw', '2': 2}, + ], +}; + +/// Descriptor for `NFTShowStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List nFTShowStatusDescriptor = $convert.base64Decode( + 'Cg1ORlRTaG93U3RhdHVzEhQKEG5mdF9zaG93X2RlZmF1bHQQABIbChduZnRfc2hvd196b29taW' + '5tYWlubGFuZxABEhAKDG5mdF9zaG93X3JhdxAC'); + +@$core.Deprecated('Use rcmdReasonStyleDescriptor instead') +const RcmdReasonStyle$json = { + '1': 'RcmdReasonStyle', + '2': [ + {'1': 'rcmd_reason_style_none', '2': 0}, + {'1': 'rcmd_reason_style_campus_nearby', '2': 1}, + {'1': 'rcmd_reason_style_campus_up', '2': 2}, + {'1': 'rcmd_reason_style_campus_near_up_mix', '2': 3}, + ], +}; + +/// Descriptor for `RcmdReasonStyle`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List rcmdReasonStyleDescriptor = $convert.base64Decode( + 'Cg9SY21kUmVhc29uU3R5bGUSGgoWcmNtZF9yZWFzb25fc3R5bGVfbm9uZRAAEiMKH3JjbWRfcm' + 'Vhc29uX3N0eWxlX2NhbXB1c19uZWFyYnkQARIfChtyY21kX3JlYXNvbl9zdHlsZV9jYW1wdXNf' + 'dXAQAhIoCiRyY21kX3JlYXNvbl9zdHlsZV9jYW1wdXNfbmVhcl91cF9taXgQAw=='); + +@$core.Deprecated('Use rcmdTypeDescriptor instead') +const RcmdType$json = { + '1': 'RcmdType', + '2': [ + {'1': 'rcmd_archive', '2': 0}, + {'1': 'rcmd_dynamic', '2': 1}, + ], +}; + +/// Descriptor for `RcmdType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List rcmdTypeDescriptor = $convert.base64Decode( + 'CghSY21kVHlwZRIQCgxyY21kX2FyY2hpdmUQABIQCgxyY21kX2R5bmFtaWMQAQ=='); + +@$core.Deprecated('Use refreshDescriptor instead') +const Refresh$json = { + '1': 'Refresh', + '2': [ + {'1': 'refresh_new', '2': 0}, + {'1': 'refresh_history', '2': 1}, + ], +}; + +/// Descriptor for `Refresh`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List refreshDescriptor = $convert.base64Decode( + 'CgdSZWZyZXNoEg8KC3JlZnJlc2hfbmV3EAASEwoPcmVmcmVzaF9oaXN0b3J5EAE='); + +@$core.Deprecated('Use relationStatusDescriptor instead') +const RelationStatus$json = { + '1': 'RelationStatus', + '2': [ + {'1': 'relation_status_none', '2': 0}, + {'1': 'relation_status_nofollow', '2': 1}, + {'1': 'relation_status_follow', '2': 2}, + {'1': 'relation_status_followed', '2': 3}, + {'1': 'relation_status_mutual_concern', '2': 4}, + {'1': 'relation_status_special', '2': 5}, + ], +}; + +/// Descriptor for `RelationStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List relationStatusDescriptor = $convert.base64Decode( + 'Cg5SZWxhdGlvblN0YXR1cxIYChRyZWxhdGlvbl9zdGF0dXNfbm9uZRAAEhwKGHJlbGF0aW9uX3' + 'N0YXR1c19ub2ZvbGxvdxABEhoKFnJlbGF0aW9uX3N0YXR1c19mb2xsb3cQAhIcChhyZWxhdGlv' + 'bl9zdGF0dXNfZm9sbG93ZWQQAxIiCh5yZWxhdGlvbl9zdGF0dXNfbXV0dWFsX2NvbmNlcm4QBB' + 'IbChdyZWxhdGlvbl9zdGF0dXNfc3BlY2lhbBAF'); + +@$core.Deprecated('Use repostTypeDescriptor instead') +const RepostType$json = { + '1': 'RepostType', + '2': [ + {'1': 'repost_hot', '2': 0}, + {'1': 'repost_general', '2': 1}, + ], +}; + +/// Descriptor for `RepostType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List repostTypeDescriptor = $convert.base64Decode( + 'CgpSZXBvc3RUeXBlEg4KCnJlcG9zdF9ob3QQABISCg5yZXBvc3RfZ2VuZXJhbBAB'); + +@$core.Deprecated('Use reserveRelationLotteryTypeDescriptor instead') +const ReserveRelationLotteryType$json = { + '1': 'ReserveRelationLotteryType', + '2': [ + {'1': 'reserve_relation_lottery_type_default', '2': 0}, + {'1': 'reserve_relation_lottery_type_cron', '2': 1}, + ], +}; + +/// Descriptor for `ReserveRelationLotteryType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List reserveRelationLotteryTypeDescriptor = $convert.base64Decode( + 'ChpSZXNlcnZlUmVsYXRpb25Mb3R0ZXJ5VHlwZRIpCiVyZXNlcnZlX3JlbGF0aW9uX2xvdHRlcn' + 'lfdHlwZV9kZWZhdWx0EAASJgoicmVzZXJ2ZV9yZWxhdGlvbl9sb3R0ZXJ5X3R5cGVfY3JvbhAB'); + +@$core.Deprecated('Use reserveTypeDescriptor instead') +const ReserveType$json = { + '1': 'ReserveType', + '2': [ + {'1': 'reserve_none', '2': 0}, + {'1': 'reserve_recall', '2': 1}, + ], +}; + +/// Descriptor for `ReserveType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List reserveTypeDescriptor = $convert.base64Decode( + 'CgtSZXNlcnZlVHlwZRIQCgxyZXNlcnZlX25vbmUQABISCg5yZXNlcnZlX3JlY2FsbBAB'); + +@$core.Deprecated('Use routerActionDescriptor instead') +const RouterAction$json = { + '1': 'RouterAction', + '2': [ + {'1': 'OPEN', '2': 0}, + {'1': 'EMBED', '2': 1}, + ], +}; + +/// Descriptor for `RouterAction`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List routerActionDescriptor = $convert.base64Decode( + 'CgxSb3V0ZXJBY3Rpb24SCAoET1BFThAAEgkKBUVNQkVEEAE='); + +@$core.Deprecated('Use showTypeDescriptor instead') +const ShowType$json = { + '1': 'ShowType', + '2': [ + {'1': 'show_type_none', '2': 0}, + {'1': 'show_type_backup', '2': 1}, + ], +}; + +/// Descriptor for `ShowType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List showTypeDescriptor = $convert.base64Decode( + 'CghTaG93VHlwZRISCg5zaG93X3R5cGVfbm9uZRAAEhQKEHNob3dfdHlwZV9iYWNrdXAQAQ=='); + +@$core.Deprecated('Use styleTypeDescriptor instead') +const StyleType$json = { + '1': 'StyleType', + '2': [ + {'1': 'STYLE_TYPE_NONE', '2': 0}, + {'1': 'STYLE_TYPE_LIVE', '2': 1}, + {'1': 'STYLE_TYPE_DYN_UP', '2': 2}, + ], +}; + +/// Descriptor for `StyleType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List styleTypeDescriptor = $convert.base64Decode( + 'CglTdHlsZVR5cGUSEwoPU1RZTEVfVFlQRV9OT05FEAASEwoPU1RZTEVfVFlQRV9MSVZFEAESFQ' + 'oRU1RZTEVfVFlQRV9EWU5fVVAQAg=='); + +@$core.Deprecated('Use tFTypeDescriptor instead') +const TFType$json = { + '1': 'TFType', + '2': [ + {'1': 'TF_UNKNOWN', '2': 0}, + {'1': 'U_CARD', '2': 1}, + {'1': 'U_PKG', '2': 2}, + {'1': 'C_CARD', '2': 3}, + {'1': 'C_PKG', '2': 4}, + {'1': 'T_CARD', '2': 5}, + {'1': 'T_PKG', '2': 6}, + ], +}; + +/// Descriptor for `TFType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List tFTypeDescriptor = $convert.base64Decode( + 'CgZURlR5cGUSDgoKVEZfVU5LTk9XThAAEgoKBlVfQ0FSRBABEgkKBVVfUEtHEAISCgoGQ19DQV' + 'JEEAMSCQoFQ19QS0cQBBIKCgZUX0NBUkQQBRIJCgVUX1BLRxAG'); + +@$core.Deprecated('Use threePointAttentionStatusDescriptor instead') +const ThreePointAttentionStatus$json = { + '1': 'ThreePointAttentionStatus', + '2': [ + {'1': 'tp_not_attention', '2': 0}, + {'1': 'tp_attention', '2': 1}, + ], +}; + +/// Descriptor for `ThreePointAttentionStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List threePointAttentionStatusDescriptor = $convert.base64Decode( + 'ChlUaHJlZVBvaW50QXR0ZW50aW9uU3RhdHVzEhQKEHRwX25vdF9hdHRlbnRpb24QABIQCgx0cF' + '9hdHRlbnRpb24QAQ=='); + +@$core.Deprecated('Use threePointTypeDescriptor instead') +const ThreePointType$json = { + '1': 'ThreePointType', + '2': [ + {'1': 'tp_none', '2': 0}, + {'1': 'background', '2': 1}, + {'1': 'auto_play', '2': 2}, + {'1': 'share', '2': 3}, + {'1': 'wait', '2': 4}, + {'1': 'attention', '2': 5}, + {'1': 'report', '2': 6}, + {'1': 'delete', '2': 7}, + {'1': 'dislike', '2': 8}, + {'1': 'favorite', '2': 9}, + {'1': 'top', '2': 10}, + {'1': 'comment', '2': 11}, + {'1': 'hide', '2': 12}, + {'1': 'campus_delete', '2': 13}, + {'1': 'topic_irrelevant', '2': 14}, + ], +}; + +/// Descriptor for `ThreePointType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List threePointTypeDescriptor = $convert.base64Decode( + 'Cg5UaHJlZVBvaW50VHlwZRILCgd0cF9ub25lEAASDgoKYmFja2dyb3VuZBABEg0KCWF1dG9fcG' + 'xheRACEgkKBXNoYXJlEAMSCAoEd2FpdBAEEg0KCWF0dGVudGlvbhAFEgoKBnJlcG9ydBAGEgoK' + 'BmRlbGV0ZRAHEgsKB2Rpc2xpa2UQCBIMCghmYXZvcml0ZRAJEgcKA3RvcBAKEgsKB2NvbW1lbn' + 'QQCxIICgRoaWRlEAwSEQoNY2FtcHVzX2RlbGV0ZRANEhQKEHRvcGljX2lycmVsZXZhbnQQDg=='); + +@$core.Deprecated('Use thumbTypeDescriptor instead') +const ThumbType$json = { + '1': 'ThumbType', + '2': [ + {'1': 'cancel', '2': 0}, + {'1': 'thumb', '2': 1}, + ], +}; + +/// Descriptor for `ThumbType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List thumbTypeDescriptor = $convert.base64Decode( + 'CglUaHVtYlR5cGUSCgoGY2FuY2VsEAASCQoFdGh1bWIQAQ=='); + +@$core.Deprecated('Use topTypeDescriptor instead') +const TopType$json = { + '1': 'TopType', + '2': [ + {'1': 'top_none', '2': 0}, + {'1': 'top_cancel', '2': 1}, + ], +}; + +/// Descriptor for `TopType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List topTypeDescriptor = $convert.base64Decode( + 'CgdUb3BUeXBlEgwKCHRvcF9ub25lEAASDgoKdG9wX2NhbmNlbBAB'); + +@$core.Deprecated('Use userItemTypeDescriptor instead') +const UserItemType$json = { + '1': 'UserItemType', + '2': [ + {'1': 'user_item_type_none', '2': 0}, + {'1': 'user_item_type_live', '2': 1}, + {'1': 'user_item_type_live_custom', '2': 2}, + {'1': 'user_item_type_normal', '2': 3}, + {'1': 'user_item_type_extend', '2': 4}, + {'1': 'user_item_type_premiere_reserve', '2': 5}, + {'1': 'user_item_type_premiere', '2': 6}, + {'1': 'user_item_type_live_card', '2': 7}, + {'1': 'user_item_type_ogv_season', '2': 8}, + {'1': 'user_item_type_ugc_season', '2': 9}, + ], +}; + +/// Descriptor for `UserItemType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List userItemTypeDescriptor = $convert.base64Decode( + 'CgxVc2VySXRlbVR5cGUSFwoTdXNlcl9pdGVtX3R5cGVfbm9uZRAAEhcKE3VzZXJfaXRlbV90eX' + 'BlX2xpdmUQARIeChp1c2VyX2l0ZW1fdHlwZV9saXZlX2N1c3RvbRACEhkKFXVzZXJfaXRlbV90' + 'eXBlX25vcm1hbBADEhkKFXVzZXJfaXRlbV90eXBlX2V4dGVuZBAEEiMKH3VzZXJfaXRlbV90eX' + 'BlX3ByZW1pZXJlX3Jlc2VydmUQBRIbChd1c2VyX2l0ZW1fdHlwZV9wcmVtaWVyZRAGEhwKGHVz' + 'ZXJfaXRlbV90eXBlX2xpdmVfY2FyZBAHEh0KGXVzZXJfaXRlbV90eXBlX29ndl9zZWFzb24QCB' + 'IdChl1c2VyX2l0ZW1fdHlwZV91Z2Nfc2Vhc29uEAk='); + +@$core.Deprecated('Use videoSubTypeDescriptor instead') +const VideoSubType$json = { + '1': 'VideoSubType', + '2': [ + {'1': 'VideoSubTypeNone', '2': 0}, + {'1': 'VideoSubTypeBangumi', '2': 1}, + {'1': 'VideoSubTypeMovie', '2': 2}, + {'1': 'VideoSubTypeDocumentary', '2': 3}, + {'1': 'VideoSubTypeDomestic', '2': 4}, + {'1': 'VideoSubTypeTeleplay', '2': 5}, + ], +}; + +/// Descriptor for `VideoSubType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List videoSubTypeDescriptor = $convert.base64Decode( + 'CgxWaWRlb1N1YlR5cGUSFAoQVmlkZW9TdWJUeXBlTm9uZRAAEhcKE1ZpZGVvU3ViVHlwZUJhbm' + 'd1bWkQARIVChFWaWRlb1N1YlR5cGVNb3ZpZRACEhsKF1ZpZGVvU3ViVHlwZURvY3VtZW50YXJ5' + 'EAMSGAoUVmlkZW9TdWJUeXBlRG9tZXN0aWMQBBIYChRWaWRlb1N1YlR5cGVUZWxlcGxheRAF'); + +@$core.Deprecated('Use videoTypeDescriptor instead') +const VideoType$json = { + '1': 'VideoType', + '2': [ + {'1': 'video_type_general', '2': 0}, + {'1': 'video_type_dynamic', '2': 1}, + {'1': 'video_type_playback', '2': 2}, + {'1': 'video_type_story', '2': 3}, + ], +}; + +/// Descriptor for `VideoType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List videoTypeDescriptor = $convert.base64Decode( + 'CglWaWRlb1R5cGUSFgoSdmlkZW9fdHlwZV9nZW5lcmFsEAASFgoSdmlkZW9fdHlwZV9keW5hbW' + 'ljEAESFwoTdmlkZW9fdHlwZV9wbGF5YmFjaxACEhQKEHZpZGVvX3R5cGVfc3RvcnkQAw=='); + +@$core.Deprecated('Use voteStatusDescriptor instead') +const VoteStatus$json = { + '1': 'VoteStatus', + '2': [ + {'1': 'normal', '2': 0}, + {'1': 'anonymous', '2': 1}, + ], +}; + +/// Descriptor for `VoteStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List voteStatusDescriptor = $convert.base64Decode( + 'CgpWb3RlU3RhdHVzEgoKBm5vcm1hbBAAEg0KCWFub255bW91cxAB'); + +@$core.Deprecated('Use weightTypeDescriptor instead') +const WeightType$json = { + '1': 'WeightType', + '2': [ + {'1': 'weight_none', '2': 0}, + {'1': 'weight_dislike', '2': 1}, + {'1': 'weight_jump', '2': 2}, + ], +}; + +/// Descriptor for `WeightType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List weightTypeDescriptor = $convert.base64Decode( + 'CgpXZWlnaHRUeXBlEg8KC3dlaWdodF9ub25lEAASEgoOd2VpZ2h0X2Rpc2xpa2UQARIPCgt3ZW' + 'lnaHRfanVtcBAC'); + +@$core.Deprecated('Use wFItemTypeDescriptor instead') +const WFItemType$json = { + '1': 'WFItemType', + '2': [ + {'1': 'WATER_FLOW_TYPE_NONE', '2': 0}, + {'1': 'WATER_FLOW_TYPE_ARCHIVE', '2': 1}, + {'1': 'WATER_FLOW_TYPE_DYNAMIC', '2': 2}, + ], +}; + +/// Descriptor for `WFItemType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List wFItemTypeDescriptor = $convert.base64Decode( + 'CgpXRkl0ZW1UeXBlEhgKFFdBVEVSX0ZMT1dfVFlQRV9OT05FEAASGwoXV0FURVJfRkxPV19UWV' + 'BFX0FSQ0hJVkUQARIbChdXQVRFUl9GTE9XX1RZUEVfRFlOQU1JQxAC'); + +@$core.Deprecated('Use additionalActSkinDescriptor instead') +const AdditionalActSkin$json = { + '1': 'AdditionalActSkin', + '2': [ + {'1': 'svga', '3': 1, '4': 1, '5': 9, '10': 'svga'}, + {'1': 'last_image', '3': 2, '4': 1, '5': 9, '10': 'lastImage'}, + {'1': 'play_times', '3': 3, '4': 1, '5': 3, '10': 'playTimes'}, + ], +}; + +/// Descriptor for `AdditionalActSkin`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionalActSkinDescriptor = $convert.base64Decode( + 'ChFBZGRpdGlvbmFsQWN0U2tpbhISCgRzdmdhGAEgASgJUgRzdmdhEh0KCmxhc3RfaW1hZ2UYAi' + 'ABKAlSCWxhc3RJbWFnZRIdCgpwbGF5X3RpbWVzGAMgASgDUglwbGF5VGltZXM='); + +@$core.Deprecated('Use additionalButtonDescriptor instead') +const AdditionalButton$json = { + '1': 'AdditionalButton', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.AddButtonType', '10': 'type'}, + {'1': 'jump_style', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButtonStyle', '10': 'jumpStyle'}, + {'1': 'jump_url', '3': 3, '4': 1, '5': 9, '10': 'jumpUrl'}, + {'1': 'uncheck', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButtonStyle', '10': 'uncheck'}, + {'1': 'check', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButtonStyle', '10': 'check'}, + {'1': 'status', '3': 6, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.AdditionalButtonStatus', '10': 'status'}, + {'1': 'click_type', '3': 7, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.AdditionalButtonClickType', '10': 'clickType'}, + ], +}; + +/// Descriptor for `AdditionalButton`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionalButtonDescriptor = $convert.base64Decode( + 'ChBBZGRpdGlvbmFsQnV0dG9uEjoKBHR5cGUYASABKA4yJi5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5BZGRCdXR0b25UeXBlUgR0eXBlEk0KCmp1bXBfc3R5bGUYAiABKAsyLi5iaWxpYmlsaS5h' + 'cHAuZHluYW1pYy52Mi5BZGRpdGlvbmFsQnV0dG9uU3R5bGVSCWp1bXBTdHlsZRIZCghqdW1wX3' + 'VybBgDIAEoCVIHanVtcFVybBJICgd1bmNoZWNrGAQgASgLMi4uYmlsaWJpbGkuYXBwLmR5bmFt' + 'aWMudjIuQWRkaXRpb25hbEJ1dHRvblN0eWxlUgd1bmNoZWNrEkQKBWNoZWNrGAUgASgLMi4uYm' + 'lsaWJpbGkuYXBwLmR5bmFtaWMudjIuQWRkaXRpb25hbEJ1dHRvblN0eWxlUgVjaGVjaxJHCgZz' + 'dGF0dXMYBiABKA4yLy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5BZGRpdGlvbmFsQnV0dG9uU3' + 'RhdHVzUgZzdGF0dXMSUQoKY2xpY2tfdHlwZRgHIAEoDjIyLmJpbGliaWxpLmFwcC5keW5hbWlj' + 'LnYyLkFkZGl0aW9uYWxCdXR0b25DbGlja1R5cGVSCWNsaWNrVHlwZQ=='); + +@$core.Deprecated('Use additionalButtonInteractiveDescriptor instead') +const AdditionalButtonInteractive$json = { + '1': 'AdditionalButtonInteractive', + '2': [ + {'1': 'popups', '3': 1, '4': 1, '5': 9, '10': 'popups'}, + {'1': 'confirm', '3': 2, '4': 1, '5': 9, '10': 'confirm'}, + {'1': 'cancel', '3': 3, '4': 1, '5': 9, '10': 'cancel'}, + {'1': 'desc', '3': 4, '4': 1, '5': 9, '10': 'desc'}, + ], +}; + +/// Descriptor for `AdditionalButtonInteractive`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionalButtonInteractiveDescriptor = $convert.base64Decode( + 'ChtBZGRpdGlvbmFsQnV0dG9uSW50ZXJhY3RpdmUSFgoGcG9wdXBzGAEgASgJUgZwb3B1cHMSGA' + 'oHY29uZmlybRgCIAEoCVIHY29uZmlybRIWCgZjYW5jZWwYAyABKAlSBmNhbmNlbBISCgRkZXNj' + 'GAQgASgJUgRkZXNj'); + +@$core.Deprecated('Use additionalButtonShareDescriptor instead') +const AdditionalButtonShare$json = { + '1': 'AdditionalButtonShare', + '2': [ + {'1': 'show', '3': 1, '4': 1, '5': 5, '10': 'show'}, + {'1': 'icon', '3': 2, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'text', '3': 3, '4': 1, '5': 9, '10': 'text'}, + ], +}; + +/// Descriptor for `AdditionalButtonShare`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionalButtonShareDescriptor = $convert.base64Decode( + 'ChVBZGRpdGlvbmFsQnV0dG9uU2hhcmUSEgoEc2hvdxgBIAEoBVIEc2hvdxISCgRpY29uGAIgAS' + 'gJUgRpY29uEhIKBHRleHQYAyABKAlSBHRleHQ='); + +@$core.Deprecated('Use additionalButtonStyleDescriptor instead') +const AdditionalButtonStyle$json = { + '1': 'AdditionalButtonStyle', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + {'1': 'interactive', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButtonInteractive', '10': 'interactive'}, + {'1': 'bg_style', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.AddButtonBgStyle', '10': 'bgStyle'}, + {'1': 'toast', '3': 5, '4': 1, '5': 9, '10': 'toast'}, + {'1': 'disable', '3': 6, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.DisableState', '10': 'disable'}, + {'1': 'share', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButtonShare', '10': 'share'}, + ], +}; + +/// Descriptor for `AdditionalButtonStyle`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionalButtonStyleDescriptor = $convert.base64Decode( + 'ChVBZGRpdGlvbmFsQnV0dG9uU3R5bGUSEgoEaWNvbhgBIAEoCVIEaWNvbhISCgR0ZXh0GAIgAS' + 'gJUgR0ZXh0ElYKC2ludGVyYWN0aXZlGAMgASgLMjQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIu' + 'QWRkaXRpb25hbEJ1dHRvbkludGVyYWN0aXZlUgtpbnRlcmFjdGl2ZRJECghiZ19zdHlsZRgEIA' + 'EoDjIpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFkZEJ1dHRvbkJnU3R5bGVSB2JnU3R5bGUS' + 'FAoFdG9hc3QYBSABKAlSBXRvYXN0Ej8KB2Rpc2FibGUYBiABKA4yJS5iaWxpYmlsaS5hcHAuZH' + 'luYW1pYy52Mi5EaXNhYmxlU3RhdGVSB2Rpc2FibGUSRAoFc2hhcmUYByABKAsyLi5iaWxpYmls' + 'aS5hcHAuZHluYW1pYy52Mi5BZGRpdGlvbmFsQnV0dG9uU2hhcmVSBXNoYXJl'); + +@$core.Deprecated('Use additionalPGCDescriptor instead') +const AdditionalPGC$json = { + '1': 'AdditionalPGC', + '2': [ + {'1': 'head_text', '3': 1, '4': 1, '5': 9, '10': 'headText'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'image_url', '3': 3, '4': 1, '5': 9, '10': 'imageUrl'}, + {'1': 'desc_text_1', '3': 4, '4': 1, '5': 9, '10': 'descText1'}, + {'1': 'desc_text_2', '3': 5, '4': 1, '5': 9, '10': 'descText2'}, + {'1': 'url', '3': 6, '4': 1, '5': 9, '10': 'url'}, + {'1': 'button', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButton', '10': 'button'}, + {'1': 'head_icon', '3': 8, '4': 1, '5': 9, '10': 'headIcon'}, + {'1': 'style', '3': 9, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ImageStyle', '10': 'style'}, + {'1': 'type', '3': 10, '4': 1, '5': 9, '10': 'type'}, + ], +}; + +/// Descriptor for `AdditionalPGC`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionalPGCDescriptor = $convert.base64Decode( + 'Cg1BZGRpdGlvbmFsUEdDEhsKCWhlYWRfdGV4dBgBIAEoCVIIaGVhZFRleHQSFAoFdGl0bGUYAi' + 'ABKAlSBXRpdGxlEhsKCWltYWdlX3VybBgDIAEoCVIIaW1hZ2VVcmwSHgoLZGVzY190ZXh0XzEY' + 'BCABKAlSCWRlc2NUZXh0MRIeCgtkZXNjX3RleHRfMhgFIAEoCVIJZGVzY1RleHQyEhAKA3VybB' + 'gGIAEoCVIDdXJsEkEKBmJ1dHRvbhgHIAEoCzIpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFk' + 'ZGl0aW9uYWxCdXR0b25SBmJ1dHRvbhIbCgloZWFkX2ljb24YCCABKAlSCGhlYWRJY29uEjkKBX' + 'N0eWxlGAkgASgOMiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuSW1hZ2VTdHlsZVIFc3R5bGUS' + 'EgoEdHlwZRgKIAEoCVIEdHlwZQ=='); + +@$core.Deprecated('Use additionArticleDescriptor instead') +const AdditionArticle$json = { + '1': 'AdditionArticle', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynDrawItem', '10': 'cover'}, + {'1': 'desc_text_left', '3': 3, '4': 1, '5': 9, '10': 'descTextLeft'}, + {'1': 'desc_text_right', '3': 4, '4': 1, '5': 9, '10': 'descTextRight'}, + {'1': 'uri', '3': 5, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'card_type', '3': 6, '4': 1, '5': 9, '10': 'cardType'}, + ], +}; + +/// Descriptor for `AdditionArticle`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionArticleDescriptor = $convert.base64Decode( + 'Cg9BZGRpdGlvbkFydGljbGUSFAoFdGl0bGUYASABKAlSBXRpdGxlEj0KBWNvdmVyGAIgASgLMi' + 'cuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTWRsRHluRHJhd0l0ZW1SBWNvdmVyEiQKDmRlc2Nf' + 'dGV4dF9sZWZ0GAMgASgJUgxkZXNjVGV4dExlZnQSJgoPZGVzY190ZXh0X3JpZ2h0GAQgASgJUg' + '1kZXNjVGV4dFJpZ2h0EhAKA3VyaRgFIAEoCVIDdXJpEhsKCWNhcmRfdHlwZRgGIAEoCVIIY2Fy' + 'ZFR5cGU='); + +@$core.Deprecated('Use additionCommonDescriptor instead') +const AdditionCommon$json = { + '1': 'AdditionCommon', + '2': [ + {'1': 'head_text', '3': 1, '4': 1, '5': 9, '10': 'headText'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'image_url', '3': 3, '4': 1, '5': 9, '10': 'imageUrl'}, + {'1': 'desc_text_1', '3': 4, '4': 1, '5': 9, '10': 'descText1'}, + {'1': 'desc_text_2', '3': 5, '4': 1, '5': 9, '10': 'descText2'}, + {'1': 'url', '3': 6, '4': 1, '5': 9, '10': 'url'}, + {'1': 'button', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButton', '10': 'button'}, + {'1': 'head_icon', '3': 8, '4': 1, '5': 9, '10': 'headIcon'}, + {'1': 'style', '3': 9, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ImageStyle', '10': 'style'}, + {'1': 'type', '3': 10, '4': 1, '5': 9, '10': 'type'}, + {'1': 'card_type', '3': 11, '4': 1, '5': 9, '10': 'cardType'}, + ], +}; + +/// Descriptor for `AdditionCommon`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionCommonDescriptor = $convert.base64Decode( + 'Cg5BZGRpdGlvbkNvbW1vbhIbCgloZWFkX3RleHQYASABKAlSCGhlYWRUZXh0EhQKBXRpdGxlGA' + 'IgASgJUgV0aXRsZRIbCglpbWFnZV91cmwYAyABKAlSCGltYWdlVXJsEh4KC2Rlc2NfdGV4dF8x' + 'GAQgASgJUglkZXNjVGV4dDESHgoLZGVzY190ZXh0XzIYBSABKAlSCWRlc2NUZXh0MhIQCgN1cm' + 'wYBiABKAlSA3VybBJBCgZidXR0b24YByABKAsyKS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5B' + 'ZGRpdGlvbmFsQnV0dG9uUgZidXR0b24SGwoJaGVhZF9pY29uGAggASgJUghoZWFkSWNvbhI5Cg' + 'VzdHlsZRgJIAEoDjIjLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkltYWdlU3R5bGVSBXN0eWxl' + 'EhIKBHR5cGUYCiABKAlSBHR5cGUSGwoJY2FyZF90eXBlGAsgASgJUghjYXJkVHlwZQ=='); + +@$core.Deprecated('Use additionEsportDescriptor instead') +const AdditionEsport$json = { + '1': 'AdditionEsport', + '2': [ + {'1': 'style', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.EspaceStyle', '10': 'style'}, + {'1': 'addition_esport_moba', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionEsportMoba', '9': 0, '10': 'additionEsportMoba'}, + {'1': 'type', '3': 3, '4': 1, '5': 9, '10': 'type'}, + {'1': 'card_type', '3': 4, '4': 1, '5': 9, '10': 'cardType'}, + ], + '8': [ + {'1': 'item'}, + ], +}; + +/// Descriptor for `AdditionEsport`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionEsportDescriptor = $convert.base64Decode( + 'Cg5BZGRpdGlvbkVzcG9ydBI6CgVzdHlsZRgBIAEoDjIkLmJpbGliaWxpLmFwcC5keW5hbWljLn' + 'YyLkVzcGFjZVN0eWxlUgVzdHlsZRJfChRhZGRpdGlvbl9lc3BvcnRfbW9iYRgCIAEoCzIrLmJp' + 'bGliaWxpLmFwcC5keW5hbWljLnYyLkFkZGl0aW9uRXNwb3J0TW9iYUgAUhJhZGRpdGlvbkVzcG' + '9ydE1vYmESEgoEdHlwZRgDIAEoCVIEdHlwZRIbCgljYXJkX3R5cGUYBCABKAlSCGNhcmRUeXBl' + 'QgYKBGl0ZW0='); + +@$core.Deprecated('Use additionEsportMobaDescriptor instead') +const AdditionEsportMoba$json = { + '1': 'AdditionEsportMoba', + '2': [ + {'1': 'head_text', '3': 1, '4': 1, '5': 9, '10': 'headText'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'match_team', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.MatchTeam', '10': 'matchTeam'}, + {'1': 'addition_esport_moba_status', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionEsportMobaStatus', '10': 'additionEsportMobaStatus'}, + {'1': 'uri', '3': 5, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'button', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButton', '10': 'button'}, + {'1': 'sub_title', '3': 7, '4': 1, '5': 9, '10': 'subTitle'}, + {'1': 'type', '3': 10, '4': 1, '5': 9, '10': 'type'}, + {'1': 'card_type', '3': 11, '4': 1, '5': 9, '10': 'cardType'}, + {'1': 'head_icon', '3': 12, '4': 1, '5': 9, '10': 'headIcon'}, + ], +}; + +/// Descriptor for `AdditionEsportMoba`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionEsportMobaDescriptor = $convert.base64Decode( + 'ChJBZGRpdGlvbkVzcG9ydE1vYmESGwoJaGVhZF90ZXh0GAEgASgJUghoZWFkVGV4dBIUCgV0aX' + 'RsZRgCIAEoCVIFdGl0bGUSQQoKbWF0Y2hfdGVhbRgDIAMoCzIiLmJpbGliaWxpLmFwcC5keW5h' + 'bWljLnYyLk1hdGNoVGVhbVIJbWF0Y2hUZWFtEnAKG2FkZGl0aW9uX2VzcG9ydF9tb2JhX3N0YX' + 'R1cxgEIAEoCzIxLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFkZGl0aW9uRXNwb3J0TW9iYVN0' + 'YXR1c1IYYWRkaXRpb25Fc3BvcnRNb2JhU3RhdHVzEhAKA3VyaRgFIAEoCVIDdXJpEkEKBmJ1dH' + 'RvbhgGIAEoCzIpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFkZGl0aW9uYWxCdXR0b25SBmJ1' + 'dHRvbhIbCglzdWJfdGl0bGUYByABKAlSCHN1YlRpdGxlEhIKBHR5cGUYCiABKAlSBHR5cGUSGw' + 'oJY2FyZF90eXBlGAsgASgJUghjYXJkVHlwZRIbCgloZWFkX2ljb24YDCABKAlSCGhlYWRJY29u'); + +@$core.Deprecated('Use additionEsportMobaStatusDescriptor instead') +const AdditionEsportMobaStatus$json = { + '1': 'AdditionEsportMobaStatus', + '2': [ + {'1': 'addition_esport_moba_status_desc', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionEsportMobaStatusDesc', '10': 'additionEsportMobaStatusDesc'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'status', '3': 3, '4': 1, '5': 5, '10': 'status'}, + {'1': 'color', '3': 4, '4': 1, '5': 9, '10': 'color'}, + {'1': 'night_color', '3': 5, '4': 1, '5': 9, '10': 'nightColor'}, + ], +}; + +/// Descriptor for `AdditionEsportMobaStatus`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionEsportMobaStatusDescriptor = $convert.base64Decode( + 'ChhBZGRpdGlvbkVzcG9ydE1vYmFTdGF0dXMSfQogYWRkaXRpb25fZXNwb3J0X21vYmFfc3RhdH' + 'VzX2Rlc2MYASADKAsyNS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5BZGRpdGlvbkVzcG9ydE1v' + 'YmFTdGF0dXNEZXNjUhxhZGRpdGlvbkVzcG9ydE1vYmFTdGF0dXNEZXNjEhQKBXRpdGxlGAIgAS' + 'gJUgV0aXRsZRIWCgZzdGF0dXMYAyABKAVSBnN0YXR1cxIUCgVjb2xvchgEIAEoCVIFY29sb3IS' + 'HwoLbmlnaHRfY29sb3IYBSABKAlSCm5pZ2h0Q29sb3I='); + +@$core.Deprecated('Use additionEsportMobaStatusDescDescriptor instead') +const AdditionEsportMobaStatusDesc$json = { + '1': 'AdditionEsportMobaStatusDesc', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'color', '3': 2, '4': 1, '5': 9, '10': 'color'}, + {'1': 'night_color', '3': 3, '4': 1, '5': 9, '10': 'nightColor'}, + ], +}; + +/// Descriptor for `AdditionEsportMobaStatusDesc`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionEsportMobaStatusDescDescriptor = $convert.base64Decode( + 'ChxBZGRpdGlvbkVzcG9ydE1vYmFTdGF0dXNEZXNjEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIUCg' + 'Vjb2xvchgCIAEoCVIFY29sb3ISHwoLbmlnaHRfY29sb3IYAyABKAlSCm5pZ2h0Q29sb3I='); + +@$core.Deprecated('Use additionGoodsDescriptor instead') +const AdditionGoods$json = { + '1': 'AdditionGoods', + '2': [ + {'1': 'rcmd_desc', '3': 1, '4': 1, '5': 9, '10': 'rcmdDesc'}, + {'1': 'goods_items', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.GoodsItem', '10': 'goodsItems'}, + {'1': 'card_type', '3': 3, '4': 1, '5': 9, '10': 'cardType'}, + {'1': 'icon', '3': 4, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'uri', '3': 5, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'source_type', '3': 6, '4': 1, '5': 5, '10': 'sourceType'}, + {'1': 'jump_type', '3': 7, '4': 1, '5': 5, '10': 'jumpType'}, + {'1': 'app_name', '3': 8, '4': 1, '5': 9, '10': 'appName'}, + {'1': 'ad_mark_icon', '3': 9, '4': 1, '5': 9, '10': 'adMarkIcon'}, + ], +}; + +/// Descriptor for `AdditionGoods`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionGoodsDescriptor = $convert.base64Decode( + 'Cg1BZGRpdGlvbkdvb2RzEhsKCXJjbWRfZGVzYxgBIAEoCVIIcmNtZERlc2MSQwoLZ29vZHNfaX' + 'RlbXMYAiADKAsyIi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Hb29kc0l0ZW1SCmdvb2RzSXRl' + 'bXMSGwoJY2FyZF90eXBlGAMgASgJUghjYXJkVHlwZRISCgRpY29uGAQgASgJUgRpY29uEhAKA3' + 'VyaRgFIAEoCVIDdXJpEh8KC3NvdXJjZV90eXBlGAYgASgFUgpzb3VyY2VUeXBlEhsKCWp1bXBf' + 'dHlwZRgHIAEoBVIIanVtcFR5cGUSGQoIYXBwX25hbWUYCCABKAlSB2FwcE5hbWUSIAoMYWRfbW' + 'Fya19pY29uGAkgASgJUgphZE1hcmtJY29u'); + +@$core.Deprecated('Use additionLiveRoomDescriptor instead') +const AdditionLiveRoom$json = { + '1': 'AdditionLiveRoom', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'badge', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + {'1': 'desc_text_upper', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CoverIconWithText', '10': 'descTextUpper'}, + {'1': 'desc_text_lower', '3': 5, '4': 1, '5': 9, '10': 'descTextLower'}, + {'1': 'uri', '3': 6, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'card_type', '3': 7, '4': 1, '5': 9, '10': 'cardType'}, + ], +}; + +/// Descriptor for `AdditionLiveRoom`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionLiveRoomDescriptor = $convert.base64Decode( + 'ChBBZGRpdGlvbkxpdmVSb29tEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIUCgVjb3ZlchgCIAEoCV' + 'IFY292ZXISOQoFYmFkZ2UYAyABKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5WaWRlb0Jh' + 'ZGdlUgViYWRnZRJSCg9kZXNjX3RleHRfdXBwZXIYBCABKAsyKi5iaWxpYmlsaS5hcHAuZHluYW' + '1pYy52Mi5Db3Zlckljb25XaXRoVGV4dFINZGVzY1RleHRVcHBlchImCg9kZXNjX3RleHRfbG93' + 'ZXIYBSABKAlSDWRlc2NUZXh0TG93ZXISEAoDdXJpGAYgASgJUgN1cmkSGwoJY2FyZF90eXBlGA' + 'cgASgJUghjYXJkVHlwZQ=='); + +@$core.Deprecated('Use additionUgcDescriptor instead') +const AdditionUgc$json = { + '1': 'AdditionUgc', + '2': [ + {'1': 'head_text', '3': 1, '4': 1, '5': 9, '10': 'headText'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 3, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'desc_text_1', '3': 4, '4': 1, '5': 9, '10': 'descText1'}, + {'1': 'desc_text_2', '3': 5, '4': 1, '5': 9, '10': 'descText2'}, + {'1': 'uri', '3': 6, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'duration', '3': 7, '4': 1, '5': 9, '10': 'duration'}, + {'1': 'line_feed', '3': 8, '4': 1, '5': 8, '10': 'lineFeed'}, + {'1': 'card_type', '3': 9, '4': 1, '5': 9, '10': 'cardType'}, + ], +}; + +/// Descriptor for `AdditionUgc`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionUgcDescriptor = $convert.base64Decode( + 'CgtBZGRpdGlvblVnYxIbCgloZWFkX3RleHQYASABKAlSCGhlYWRUZXh0EhQKBXRpdGxlGAIgAS' + 'gJUgV0aXRsZRIUCgVjb3ZlchgDIAEoCVIFY292ZXISHgoLZGVzY190ZXh0XzEYBCABKAlSCWRl' + 'c2NUZXh0MRIeCgtkZXNjX3RleHRfMhgFIAEoCVIJZGVzY1RleHQyEhAKA3VyaRgGIAEoCVIDdX' + 'JpEhoKCGR1cmF0aW9uGAcgASgJUghkdXJhdGlvbhIbCglsaW5lX2ZlZWQYCCABKAhSCGxpbmVG' + 'ZWVkEhsKCWNhcmRfdHlwZRgJIAEoCVIIY2FyZFR5cGU='); + +@$core.Deprecated('Use additionUPDescriptor instead') +const AdditionUP$json = { + '1': 'AdditionUP', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc_text_1', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.HighlightText', '10': 'descText1'}, + {'1': 'desc_text_2', '3': 3, '4': 1, '5': 9, '10': 'descText2'}, + {'1': 'url', '3': 4, '4': 1, '5': 9, '10': 'url'}, + {'1': 'button', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButton', '10': 'button'}, + {'1': 'card_type', '3': 6, '4': 1, '5': 9, '10': 'cardType'}, + {'1': 'reserve_total', '3': 7, '4': 1, '5': 3, '10': 'reserveTotal'}, + {'1': 'act_skin', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalActSkin', '10': 'actSkin'}, + {'1': 'rid', '3': 9, '4': 1, '5': 3, '10': 'rid'}, + {'1': 'lottery_type', '3': 10, '4': 1, '5': 5, '10': 'lotteryType'}, + {'1': 'desc_text3', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.HighlightText', '10': 'descText3'}, + {'1': 'up_mid', '3': 12, '4': 1, '5': 3, '10': 'upMid'}, + {'1': 'user_info', '3': 13, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionUserInfo', '10': 'userInfo'}, + {'1': 'dynamic_id', '3': 14, '4': 1, '5': 9, '10': 'dynamicId'}, + {'1': 'show_text2', '3': 15, '4': 1, '5': 8, '10': 'showText2'}, + {'1': 'dyn_type', '3': 16, '4': 1, '5': 3, '10': 'dynType'}, + {'1': 'business_id', '3': 17, '4': 1, '5': 9, '10': 'businessId'}, + {'1': 'badge_text', '3': 18, '4': 1, '5': 9, '10': 'badgeText'}, + {'1': 'is_premiere', '3': 19, '4': 1, '5': 8, '10': 'isPremiere'}, + ], +}; + +/// Descriptor for `AdditionUP`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionUPDescriptor = $convert.base64Decode( + 'CgpBZGRpdGlvblVQEhQKBXRpdGxlGAEgASgJUgV0aXRsZRJGCgtkZXNjX3RleHRfMRgCIAEoCz' + 'ImLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkhpZ2hsaWdodFRleHRSCWRlc2NUZXh0MRIeCgtk' + 'ZXNjX3RleHRfMhgDIAEoCVIJZGVzY1RleHQyEhAKA3VybBgEIAEoCVIDdXJsEkEKBmJ1dHRvbh' + 'gFIAEoCzIpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFkZGl0aW9uYWxCdXR0b25SBmJ1dHRv' + 'bhIbCgljYXJkX3R5cGUYBiABKAlSCGNhcmRUeXBlEiMKDXJlc2VydmVfdG90YWwYByABKANSDH' + 'Jlc2VydmVUb3RhbBJFCghhY3Rfc2tpbhgIIAEoCzIqLmJpbGliaWxpLmFwcC5keW5hbWljLnYy' + 'LkFkZGl0aW9uYWxBY3RTa2luUgdhY3RTa2luEhAKA3JpZBgJIAEoA1IDcmlkEiEKDGxvdHRlcn' + 'lfdHlwZRgKIAEoBVILbG90dGVyeVR5cGUSRQoKZGVzY190ZXh0MxgLIAEoCzImLmJpbGliaWxp' + 'LmFwcC5keW5hbWljLnYyLkhpZ2hsaWdodFRleHRSCWRlc2NUZXh0MxIVCgZ1cF9taWQYDCABKA' + 'NSBXVwTWlkEkYKCXVzZXJfaW5mbxgNIAEoCzIpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFk' + 'ZGl0aW9uVXNlckluZm9SCHVzZXJJbmZvEh0KCmR5bmFtaWNfaWQYDiABKAlSCWR5bmFtaWNJZB' + 'IdCgpzaG93X3RleHQyGA8gASgIUglzaG93VGV4dDISGQoIZHluX3R5cGUYECABKANSB2R5blR5' + 'cGUSHwoLYnVzaW5lc3NfaWQYESABKAlSCmJ1c2luZXNzSWQSHQoKYmFkZ2VfdGV4dBgSIAEoCV' + 'IJYmFkZ2VUZXh0Eh8KC2lzX3ByZW1pZXJlGBMgASgIUgppc1ByZW1pZXJl'); + +@$core.Deprecated('Use additionUserInfoDescriptor instead') +const AdditionUserInfo$json = { + '1': 'AdditionUserInfo', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'face', '3': 2, '4': 1, '5': 9, '10': 'face'}, + ], +}; + +/// Descriptor for `AdditionUserInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionUserInfoDescriptor = $convert.base64Decode( + 'ChBBZGRpdGlvblVzZXJJbmZvEhIKBG5hbWUYASABKAlSBG5hbWUSEgoEZmFjZRgCIAEoCVIEZm' + 'FjZQ=='); + +@$core.Deprecated('Use additionVoteDescriptor instead') +const AdditionVote$json = { + '1': 'AdditionVote', + '2': [ + {'1': 'image_url', '3': 1, '4': 1, '5': 9, '10': 'imageUrl'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'text_1', '3': 3, '4': 1, '5': 9, '10': 'text1'}, + {'1': 'button_text', '3': 4, '4': 1, '5': 9, '10': 'buttonText'}, + {'1': 'url', '3': 5, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `AdditionVote`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionVoteDescriptor = $convert.base64Decode( + 'CgxBZGRpdGlvblZvdGUSGwoJaW1hZ2VfdXJsGAEgASgJUghpbWFnZVVybBIUCgV0aXRsZRgCIA' + 'EoCVIFdGl0bGUSFQoGdGV4dF8xGAMgASgJUgV0ZXh0MRIfCgtidXR0b25fdGV4dBgEIAEoCVIK' + 'YnV0dG9uVGV4dBIQCgN1cmwYBSABKAlSA3VybA=='); + +@$core.Deprecated('Use additionVote2Descriptor instead') +const AdditionVote2$json = { + '1': 'AdditionVote2', + '2': [ + {'1': 'addition_vote_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.AdditionVoteType', '10': 'additionVoteType'}, + {'1': 'vote_id', '3': 2, '4': 1, '5': 3, '10': 'voteId'}, + {'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'}, + {'1': 'label', '3': 4, '4': 1, '5': 9, '10': 'label'}, + {'1': 'deadline', '3': 5, '4': 1, '5': 3, '10': 'deadline'}, + {'1': 'open_text', '3': 6, '4': 1, '5': 9, '10': 'openText'}, + {'1': 'close_text', '3': 7, '4': 1, '5': 9, '10': 'closeText'}, + {'1': 'voted_text', '3': 8, '4': 1, '5': 9, '10': 'votedText'}, + {'1': 'state', '3': 9, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.AdditionVoteState', '10': 'state'}, + {'1': 'addition_vote_word', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionVoteWord', '9': 0, '10': 'additionVoteWord'}, + {'1': 'addition_vote_pic', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionVotePic', '9': 0, '10': 'additionVotePic'}, + {'1': 'addition_vote_defaule', '3': 12, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionVoteDefaule', '9': 0, '10': 'additionVoteDefaule'}, + {'1': 'biz_type', '3': 13, '4': 1, '5': 5, '10': 'bizType'}, + {'1': 'total', '3': 14, '4': 1, '5': 3, '10': 'total'}, + {'1': 'card_type', '3': 15, '4': 1, '5': 9, '10': 'cardType'}, + {'1': 'tips', '3': 16, '4': 1, '5': 9, '10': 'tips'}, + {'1': 'uri', '3': 17, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'is_voted', '3': 18, '4': 1, '5': 8, '10': 'isVoted'}, + {'1': 'choice_cnt', '3': 19, '4': 1, '5': 5, '10': 'choiceCnt'}, + {'1': 'defaule_select_share', '3': 20, '4': 1, '5': 8, '10': 'defauleSelectShare'}, + ], + '8': [ + {'1': 'item'}, + ], +}; + +/// Descriptor for `AdditionVote2`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionVote2Descriptor = $convert.base64Decode( + 'Cg1BZGRpdGlvblZvdGUyElcKEmFkZGl0aW9uX3ZvdGVfdHlwZRgBIAEoDjIpLmJpbGliaWxpLm' + 'FwcC5keW5hbWljLnYyLkFkZGl0aW9uVm90ZVR5cGVSEGFkZGl0aW9uVm90ZVR5cGUSFwoHdm90' + 'ZV9pZBgCIAEoA1IGdm90ZUlkEhQKBXRpdGxlGAMgASgJUgV0aXRsZRIUCgVsYWJlbBgEIAEoCV' + 'IFbGFiZWwSGgoIZGVhZGxpbmUYBSABKANSCGRlYWRsaW5lEhsKCW9wZW5fdGV4dBgGIAEoCVII' + 'b3BlblRleHQSHQoKY2xvc2VfdGV4dBgHIAEoCVIJY2xvc2VUZXh0Eh0KCnZvdGVkX3RleHQYCC' + 'ABKAlSCXZvdGVkVGV4dBJACgVzdGF0ZRgJIAEoDjIqLmJpbGliaWxpLmFwcC5keW5hbWljLnYy' + 'LkFkZGl0aW9uVm90ZVN0YXRlUgVzdGF0ZRJZChJhZGRpdGlvbl92b3RlX3dvcmQYCiABKAsyKS' + '5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5BZGRpdGlvblZvdGVXb3JkSABSEGFkZGl0aW9uVm90' + 'ZVdvcmQSVgoRYWRkaXRpb25fdm90ZV9waWMYCyABKAsyKC5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5BZGRpdGlvblZvdGVQaWNIAFIPYWRkaXRpb25Wb3RlUGljEmIKFWFkZGl0aW9uX3ZvdGVf' + 'ZGVmYXVsZRgMIAEoCzIsLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFkZGl0aW9uVm90ZURlZm' + 'F1bGVIAFITYWRkaXRpb25Wb3RlRGVmYXVsZRIZCghiaXpfdHlwZRgNIAEoBVIHYml6VHlwZRIU' + 'CgV0b3RhbBgOIAEoA1IFdG90YWwSGwoJY2FyZF90eXBlGA8gASgJUghjYXJkVHlwZRISCgR0aX' + 'BzGBAgASgJUgR0aXBzEhAKA3VyaRgRIAEoCVIDdXJpEhkKCGlzX3ZvdGVkGBIgASgIUgdpc1Zv' + 'dGVkEh0KCmNob2ljZV9jbnQYEyABKAVSCWNob2ljZUNudBIwChRkZWZhdWxlX3NlbGVjdF9zaG' + 'FyZRgUIAEoCFISZGVmYXVsZVNlbGVjdFNoYXJlQgYKBGl0ZW0='); + +@$core.Deprecated('Use additionVoteDefauleDescriptor instead') +const AdditionVoteDefaule$json = { + '1': 'AdditionVoteDefaule', + '2': [ + {'1': 'cover', '3': 1, '4': 3, '5': 9, '10': 'cover'}, + ], +}; + +/// Descriptor for `AdditionVoteDefaule`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionVoteDefauleDescriptor = $convert.base64Decode( + 'ChNBZGRpdGlvblZvdGVEZWZhdWxlEhQKBWNvdmVyGAEgAygJUgVjb3Zlcg=='); + +@$core.Deprecated('Use additionVotePicDescriptor instead') +const AdditionVotePic$json = { + '1': 'AdditionVotePic', + '2': [ + {'1': 'item', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionVotePicItem', '10': 'item'}, + ], +}; + +/// Descriptor for `AdditionVotePic`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionVotePicDescriptor = $convert.base64Decode( + 'Cg9BZGRpdGlvblZvdGVQaWMSQAoEaXRlbRgBIAMoCzIsLmJpbGliaWxpLmFwcC5keW5hbWljLn' + 'YyLkFkZGl0aW9uVm90ZVBpY0l0ZW1SBGl0ZW0='); + +@$core.Deprecated('Use additionVotePicItemDescriptor instead') +const AdditionVotePicItem$json = { + '1': 'AdditionVotePicItem', + '2': [ + {'1': 'opt_idx', '3': 1, '4': 1, '5': 5, '10': 'optIdx'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'is_vote', '3': 3, '4': 1, '5': 8, '10': 'isVote'}, + {'1': 'total', '3': 4, '4': 1, '5': 5, '10': 'total'}, + {'1': 'persent', '3': 5, '4': 1, '5': 1, '10': 'persent'}, + {'1': 'title', '3': 6, '4': 1, '5': 9, '10': 'title'}, + {'1': 'is_max_option', '3': 7, '4': 1, '5': 8, '10': 'isMaxOption'}, + ], +}; + +/// Descriptor for `AdditionVotePicItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionVotePicItemDescriptor = $convert.base64Decode( + 'ChNBZGRpdGlvblZvdGVQaWNJdGVtEhcKB29wdF9pZHgYASABKAVSBm9wdElkeBIUCgVjb3Zlch' + 'gCIAEoCVIFY292ZXISFwoHaXNfdm90ZRgDIAEoCFIGaXNWb3RlEhQKBXRvdGFsGAQgASgFUgV0' + 'b3RhbBIYCgdwZXJzZW50GAUgASgBUgdwZXJzZW50EhQKBXRpdGxlGAYgASgJUgV0aXRsZRIiCg' + '1pc19tYXhfb3B0aW9uGAcgASgIUgtpc01heE9wdGlvbg=='); + +@$core.Deprecated('Use additionVoteWordDescriptor instead') +const AdditionVoteWord$json = { + '1': 'AdditionVoteWord', + '2': [ + {'1': 'item', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionVoteWordItem', '10': 'item'}, + ], +}; + +/// Descriptor for `AdditionVoteWord`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionVoteWordDescriptor = $convert.base64Decode( + 'ChBBZGRpdGlvblZvdGVXb3JkEkEKBGl0ZW0YASADKAsyLS5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5BZGRpdGlvblZvdGVXb3JkSXRlbVIEaXRlbQ=='); + +@$core.Deprecated('Use additionVoteWordItemDescriptor instead') +const AdditionVoteWordItem$json = { + '1': 'AdditionVoteWordItem', + '2': [ + {'1': 'opt_idx', '3': 1, '4': 1, '5': 5, '10': 'optIdx'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'is_vote', '3': 3, '4': 1, '5': 8, '10': 'isVote'}, + {'1': 'total', '3': 4, '4': 1, '5': 5, '10': 'total'}, + {'1': 'persent', '3': 5, '4': 1, '5': 1, '10': 'persent'}, + {'1': 'is_max_option', '3': 6, '4': 1, '5': 8, '10': 'isMaxOption'}, + ], +}; + +/// Descriptor for `AdditionVoteWordItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List additionVoteWordItemDescriptor = $convert.base64Decode( + 'ChRBZGRpdGlvblZvdGVXb3JkSXRlbRIXCgdvcHRfaWR4GAEgASgFUgZvcHRJZHgSFAoFdGl0bG' + 'UYAiABKAlSBXRpdGxlEhcKB2lzX3ZvdGUYAyABKAhSBmlzVm90ZRIUCgV0b3RhbBgEIAEoBVIF' + 'dG90YWwSGAoHcGVyc2VudBgFIAEoAVIHcGVyc2VudBIiCg1pc19tYXhfb3B0aW9uGAYgASgIUg' + 'tpc01heE9wdGlvbg=='); + +@$core.Deprecated('Use adParamDescriptor instead') +const AdParam$json = { + '1': 'AdParam', + '2': [ + {'1': 'ad_extra', '3': 1, '4': 1, '5': 9, '10': 'adExtra'}, + {'1': 'request_id', '3': 2, '4': 1, '5': 9, '10': 'requestId'}, + ], +}; + +/// Descriptor for `AdParam`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List adParamDescriptor = $convert.base64Decode( + 'CgdBZFBhcmFtEhkKCGFkX2V4dHJhGAEgASgJUgdhZEV4dHJhEh0KCnJlcXVlc3RfaWQYAiABKA' + 'lSCXJlcXVlc3RJZA=='); + +@$core.Deprecated('Use alumniDynamicsReplyDescriptor instead') +const AlumniDynamicsReply$json = { + '1': 'AlumniDynamicsReply', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'toast', '3': 2, '4': 1, '5': 9, '10': 'toast'}, + ], +}; + +/// Descriptor for `AlumniDynamicsReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List alumniDynamicsReplyDescriptor = $convert.base64Decode( + 'ChNBbHVtbmlEeW5hbWljc1JlcGx5EjgKBGxpc3QYASADKAsyJC5iaWxpYmlsaS5hcHAuZHluYW' + '1pYy52Mi5EeW5hbWljSXRlbVIEbGlzdBIUCgV0b2FzdBgCIAEoCVIFdG9hc3Q='); + +@$core.Deprecated('Use alumniDynamicsReqDescriptor instead') +const AlumniDynamicsReq$json = { + '1': 'AlumniDynamicsReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'first_time', '3': 2, '4': 1, '5': 5, '10': 'firstTime'}, + {'1': 'player_args', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'local_time', '3': 4, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'page', '3': 5, '4': 1, '5': 5, '10': 'page'}, + {'1': 'from_type', '3': 6, '4': 1, '5': 5, '10': 'fromType'}, + ], +}; + +/// Descriptor for `AlumniDynamicsReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List alumniDynamicsReqDescriptor = $convert.base64Decode( + 'ChFBbHVtbmlEeW5hbWljc1JlcRIbCgljYW1wdXNfaWQYASABKANSCGNhbXB1c0lkEh0KCmZpcn' + 'N0X3RpbWUYAiABKAVSCWZpcnN0VGltZRJPCgtwbGF5ZXJfYXJncxgDIAEoCzIuLmJpbGliaWxp' + 'LmFwcC5hcmNoaXZlLm1pZGRsZXdhcmUudjEuUGxheWVyQXJnc1IKcGxheWVyQXJncxIdCgpsb2' + 'NhbF90aW1lGAQgASgFUglsb2NhbFRpbWUSEgoEcGFnZRgFIAEoBVIEcGFnZRIbCglmcm9tX3R5' + 'cGUYBiABKAVSCGZyb21UeXBl'); + +@$core.Deprecated('Use campusBannerInfoDescriptor instead') +const CampusBannerInfo$json = { + '1': 'CampusBannerInfo', + '2': [ + {'1': 'image', '3': 1, '4': 1, '5': 9, '10': 'image'}, + {'1': 'jump_url', '3': 2, '4': 1, '5': 9, '10': 'jumpUrl'}, + ], +}; + +/// Descriptor for `CampusBannerInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusBannerInfoDescriptor = $convert.base64Decode( + 'ChBDYW1wdXNCYW5uZXJJbmZvEhQKBWltYWdlGAEgASgJUgVpbWFnZRIZCghqdW1wX3VybBgCIA' + 'EoCVIHanVtcFVybA=='); + +@$core.Deprecated('Use campusBillboardInternalReqDescriptor instead') +const CampusBillboardInternalReq$json = { + '1': 'CampusBillboardInternalReq', + '2': [ + {'1': 'mid', '3': 1, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'campus_id', '3': 2, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'version_code', '3': 3, '4': 1, '5': 9, '10': 'versionCode'}, + ], +}; + +/// Descriptor for `CampusBillboardInternalReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusBillboardInternalReqDescriptor = $convert.base64Decode( + 'ChpDYW1wdXNCaWxsYm9hcmRJbnRlcm5hbFJlcRIQCgNtaWQYASABKANSA21pZBIbCgljYW1wdX' + 'NfaWQYAiABKANSCGNhbXB1c0lkEiEKDHZlcnNpb25fY29kZRgDIAEoCVILdmVyc2lvbkNvZGU='); + +@$core.Deprecated('Use campusBillBoardReplyDescriptor instead') +const CampusBillBoardReply$json = { + '1': 'CampusBillBoardReply', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'help_uri', '3': 2, '4': 1, '5': 9, '10': 'helpUri'}, + {'1': 'campus_name', '3': 3, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'build_time', '3': 4, '4': 1, '5': 3, '10': 'buildTime'}, + {'1': 'version_code', '3': 5, '4': 1, '5': 9, '10': 'versionCode'}, + {'1': 'list', '3': 6, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.OfficialItem', '10': 'list'}, + {'1': 'share_uri', '3': 7, '4': 1, '5': 9, '10': 'shareUri'}, + {'1': 'bind_notice', '3': 8, '4': 1, '5': 5, '10': 'bindNotice'}, + {'1': 'update_toast', '3': 9, '4': 1, '5': 9, '10': 'updateToast'}, + {'1': 'campus_id', '3': 10, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'open_progress', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusFeatureProgress', '10': 'openProgress'}, + ], +}; + +/// Descriptor for `CampusBillBoardReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusBillBoardReplyDescriptor = $convert.base64Decode( + 'ChRDYW1wdXNCaWxsQm9hcmRSZXBseRIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSGQoIaGVscF91cm' + 'kYAiABKAlSB2hlbHBVcmkSHwoLY2FtcHVzX25hbWUYAyABKAlSCmNhbXB1c05hbWUSHQoKYnVp' + 'bGRfdGltZRgEIAEoA1IJYnVpbGRUaW1lEiEKDHZlcnNpb25fY29kZRgFIAEoCVILdmVyc2lvbk' + 'NvZGUSOQoEbGlzdBgGIAMoCzIlLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk9mZmljaWFsSXRl' + 'bVIEbGlzdBIbCglzaGFyZV91cmkYByABKAlSCHNoYXJlVXJpEh8KC2JpbmRfbm90aWNlGAggAS' + 'gFUgpiaW5kTm90aWNlEiEKDHVwZGF0ZV90b2FzdBgJIAEoCVILdXBkYXRlVG9hc3QSGwoJY2Ft' + 'cHVzX2lkGAogASgDUghjYW1wdXNJZBJTCg1vcGVuX3Byb2dyZXNzGAsgASgLMi4uYmlsaWJpbG' + 'kuYXBwLmR5bmFtaWMudjIuQ2FtcHVzRmVhdHVyZVByb2dyZXNzUgxvcGVuUHJvZ3Jlc3M='); + +@$core.Deprecated('Use campusBillBoardReqDescriptor instead') +const CampusBillBoardReq$json = { + '1': 'CampusBillBoardReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'version_code', '3': 2, '4': 1, '5': 9, '10': 'versionCode'}, + {'1': 'player_args', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'from_type', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `CampusBillBoardReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusBillBoardReqDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNCaWxsQm9hcmRSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIhCgx2ZX' + 'JzaW9uX2NvZGUYAiABKAlSC3ZlcnNpb25Db2RlEk8KC3BsYXllcl9hcmdzGAMgASgLMi4uYmls' + 'aWJpbGkuYXBwLmFyY2hpdmUubWlkZGxld2FyZS52MS5QbGF5ZXJBcmdzUgpwbGF5ZXJBcmdzEk' + 'cKCWZyb21fdHlwZRgEIAEoDjIqLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c1JlcUZy' + 'b21UeXBlUghmcm9tVHlwZQ=='); + +@$core.Deprecated('Use campusEntryTabReqDescriptor instead') +const CampusEntryTabReq$json = { + '1': 'CampusEntryTabReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + ], +}; + +/// Descriptor for `CampusEntryTabReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusEntryTabReqDescriptor = $convert.base64Decode( + 'ChFDYW1wdXNFbnRyeVRhYlJlcRIbCgljYW1wdXNfaWQYASABKANSCGNhbXB1c0lk'); + +@$core.Deprecated('Use campusEntryTabRespDescriptor instead') +const CampusEntryTabResp$json = { + '1': 'CampusEntryTabResp', + '2': [ + {'1': 'entry_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusEntryType', '10': 'entryType'}, + ], +}; + +/// Descriptor for `CampusEntryTabResp`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusEntryTabRespDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNFbnRyeVRhYlJlc3ASRwoKZW50cnlfdHlwZRgBIAEoDjIoLmJpbGliaWxpLmFwcC' + '5keW5hbWljLnYyLkNhbXB1c0VudHJ5VHlwZVIJZW50cnlUeXBl'); + +@$core.Deprecated('Use campusFeatureProgressDescriptor instead') +const CampusFeatureProgress$json = { + '1': 'CampusFeatureProgress', + '2': [ + {'1': 'progress_full', '3': 1, '4': 1, '5': 3, '10': 'progressFull'}, + {'1': 'progress_achieved', '3': 2, '4': 1, '5': 3, '10': 'progressAchieved'}, + {'1': 'desc_title', '3': 3, '4': 1, '5': 9, '10': 'descTitle'}, + {'1': 'desc_1', '3': 4, '4': 1, '5': 9, '10': 'desc1'}, + {'1': 'btn', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'btn'}, + ], +}; + +/// Descriptor for `CampusFeatureProgress`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusFeatureProgressDescriptor = $convert.base64Decode( + 'ChVDYW1wdXNGZWF0dXJlUHJvZ3Jlc3MSIwoNcHJvZ3Jlc3NfZnVsbBgBIAEoA1IMcHJvZ3Jlc3' + 'NGdWxsEisKEXByb2dyZXNzX2FjaGlldmVkGAIgASgDUhBwcm9ncmVzc0FjaGlldmVkEh0KCmRl' + 'c2NfdGl0bGUYAyABKAlSCWRlc2NUaXRsZRIVCgZkZXNjXzEYBCABKAlSBWRlc2MxEjYKA2J0bh' + 'gFIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c0xhYmVsUgNidG4='); + +@$core.Deprecated('Use campusFeedbackInfoDescriptor instead') +const CampusFeedbackInfo$json = { + '1': 'CampusFeedbackInfo', + '2': [ + {'1': 'biz_type', '3': 1, '4': 1, '5': 5, '10': 'bizType'}, + {'1': 'biz_id', '3': 2, '4': 1, '5': 3, '10': 'bizId'}, + {'1': 'campus_id', '3': 3, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'reason', '3': 4, '4': 1, '5': 9, '10': 'reason'}, + ], +}; + +/// Descriptor for `CampusFeedbackInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusFeedbackInfoDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNGZWVkYmFja0luZm8SGQoIYml6X3R5cGUYASABKAVSB2JpelR5cGUSFQoGYml6X2' + 'lkGAIgASgDUgViaXpJZBIbCgljYW1wdXNfaWQYAyABKANSCGNhbXB1c0lkEhYKBnJlYXNvbhgE' + 'IAEoCVIGcmVhc29u'); + +@$core.Deprecated('Use campusFeedbackReplyDescriptor instead') +const CampusFeedbackReply$json = { + '1': 'CampusFeedbackReply', + '2': [ + {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, + ], +}; + +/// Descriptor for `CampusFeedbackReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusFeedbackReplyDescriptor = $convert.base64Decode( + 'ChNDYW1wdXNGZWVkYmFja1JlcGx5EhgKB21lc3NhZ2UYASABKAlSB21lc3NhZ2U='); + +@$core.Deprecated('Use campusFeedbackReqDescriptor instead') +const CampusFeedbackReq$json = { + '1': 'CampusFeedbackReq', + '2': [ + {'1': 'infos', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusFeedbackInfo', '10': 'infos'}, + {'1': 'from', '3': 2, '4': 1, '5': 5, '10': 'from'}, + ], +}; + +/// Descriptor for `CampusFeedbackReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusFeedbackReqDescriptor = $convert.base64Decode( + 'ChFDYW1wdXNGZWVkYmFja1JlcRJBCgVpbmZvcxgBIAMoCzIrLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLkNhbXB1c0ZlZWRiYWNrSW5mb1IFaW5mb3MSEgoEZnJvbRgCIAEoBVIEZnJvbQ=='); + +@$core.Deprecated('Use campusHomePagesReplyDescriptor instead') +const CampusHomePagesReply$json = { + '1': 'CampusHomePagesReply', + '2': [ + {'1': 'top', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusRcmdTop', '10': 'top'}, + {'1': 'campus_top', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusTop', '10': 'campusTop'}, + {'1': 'page_type', '3': 3, '4': 1, '5': 5, '10': 'pageType'}, + ], +}; + +/// Descriptor for `CampusHomePagesReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusHomePagesReplyDescriptor = $convert.base64Decode( + 'ChRDYW1wdXNIb21lUGFnZXNSZXBseRI4CgN0b3AYASABKAsyJi5iaWxpYmlsaS5hcHAuZHluYW' + '1pYy52Mi5DYW1wdXNSY21kVG9wUgN0b3ASQQoKY2FtcHVzX3RvcBgCIAEoCzIiLmJpbGliaWxp' + 'LmFwcC5keW5hbWljLnYyLkNhbXB1c1RvcFIJY2FtcHVzVG9wEhsKCXBhZ2VfdHlwZRgDIAEoBV' + 'IIcGFnZVR5cGU='); + +@$core.Deprecated('Use campusHomePagesReqDescriptor instead') +const CampusHomePagesReq$json = { + '1': 'CampusHomePagesReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'lat', '3': 3, '4': 1, '5': 1, '10': 'lat'}, + {'1': 'lng', '3': 4, '4': 1, '5': 1, '10': 'lng'}, + {'1': 'player_args', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'page_type', '3': 6, '4': 1, '5': 5, '10': 'pageType'}, + ], +}; + +/// Descriptor for `CampusHomePagesReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusHomePagesReqDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNIb21lUGFnZXNSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIfCgtjYW' + '1wdXNfbmFtZRgCIAEoCVIKY2FtcHVzTmFtZRIQCgNsYXQYAyABKAFSA2xhdBIQCgNsbmcYBCAB' + 'KAFSA2xuZxJPCgtwbGF5ZXJfYXJncxgFIAEoCzIuLmJpbGliaWxpLmFwcC5hcmNoaXZlLm1pZG' + 'RsZXdhcmUudjEuUGxheWVyQXJnc1IKcGxheWVyQXJncxIbCglwYWdlX3R5cGUYBiABKAVSCHBh' + 'Z2VUeXBl'); + +@$core.Deprecated('Use campusHomeRcmdTopicDescriptor instead') +const CampusHomeRcmdTopic$json = { + '1': 'CampusHomeRcmdTopic', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleTitle', '10': 'title'}, + {'1': 'topic', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicItem', '10': 'topic'}, + ], +}; + +/// Descriptor for `CampusHomeRcmdTopic`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusHomeRcmdTopicDescriptor = $convert.base64Decode( + 'ChNDYW1wdXNIb21lUmNtZFRvcGljEjoKBXRpdGxlGAEgASgLMiQuYmlsaWJpbGkuYXBwLmR5bm' + 'FtaWMudjIuTW9kdWxlVGl0bGVSBXRpdGxlEjgKBXRvcGljGAIgAygLMiIuYmlsaWJpbGkuYXBw' + 'LmR5bmFtaWMudjIuVG9waWNJdGVtUgV0b3BpYw=='); + +@$core.Deprecated('Use campusInfoDescriptor instead') +const CampusInfo$json = { + '1': 'CampusInfo', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'desc', '3': 3, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'online', '3': 4, '4': 1, '5': 3, '10': 'online'}, + {'1': 'url', '3': 5, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `CampusInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusInfoDescriptor = $convert.base64Decode( + 'CgpDYW1wdXNJbmZvEhsKCWNhbXB1c19pZBgBIAEoA1IIY2FtcHVzSWQSHwoLY2FtcHVzX25hbW' + 'UYAiABKAlSCmNhbXB1c05hbWUSEgoEZGVzYxgDIAEoCVIEZGVzYxIWCgZvbmxpbmUYBCABKANS' + 'Bm9ubGluZRIQCgN1cmwYBSABKAlSA3VybA=='); + +@$core.Deprecated('Use campusLabelDescriptor instead') +const CampusLabel$json = { + '1': 'CampusLabel', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, + {'1': 'desc', '3': 3, '4': 1, '5': 9, '10': 'desc'}, + ], +}; + +/// Descriptor for `CampusLabel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusLabelDescriptor = $convert.base64Decode( + 'CgtDYW1wdXNMYWJlbBISCgR0ZXh0GAEgASgJUgR0ZXh0EhAKA3VybBgCIAEoCVIDdXJsEhIKBG' + 'Rlc2MYAyABKAlSBGRlc2M='); + +@$core.Deprecated('Use campusMateLikeListReplyDescriptor instead') +const CampusMateLikeListReply$json = { + '1': 'CampusMateLikeListReply', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAuthor', '10': 'list'}, + ], +}; + +/// Descriptor for `CampusMateLikeListReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMateLikeListReplyDescriptor = $convert.base64Decode( + 'ChdDYW1wdXNNYXRlTGlrZUxpc3RSZXBseRI5CgRsaXN0GAEgAygLMiUuYmlsaWJpbGkuYXBwLm' + 'R5bmFtaWMudjIuTW9kdWxlQXV0aG9yUgRsaXN0'); + +@$core.Deprecated('Use campusMateLikeListReqDescriptor instead') +const CampusMateLikeListReq$json = { + '1': 'CampusMateLikeListReq', + '2': [ + {'1': 'dynamic_id', '3': 1, '4': 1, '5': 3, '10': 'dynamicId'}, + {'1': 'from_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `CampusMateLikeListReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMateLikeListReqDescriptor = $convert.base64Decode( + 'ChVDYW1wdXNNYXRlTGlrZUxpc3RSZXESHQoKZHluYW1pY19pZBgBIAEoA1IJZHluYW1pY0lkEk' + 'cKCWZyb21fdHlwZRgCIAEoDjIqLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c1JlcUZy' + 'b21UeXBlUghmcm9tVHlwZQ=='); + +@$core.Deprecated('Use campusMngBadgeDescriptor instead') +const CampusMngBadge$json = { + '1': 'CampusMngBadge', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'badge_url', '3': 2, '4': 1, '5': 9, '10': 'badgeUrl'}, + {'1': 'upload_hint_msg', '3': 3, '4': 1, '5': 9, '10': 'uploadHintMsg'}, + ], +}; + +/// Descriptor for `CampusMngBadge`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngBadgeDescriptor = $convert.base64Decode( + 'Cg5DYW1wdXNNbmdCYWRnZRIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSGwoJYmFkZ2VfdXJsGAIgAS' + 'gJUghiYWRnZVVybBImCg91cGxvYWRfaGludF9tc2cYAyABKAlSDXVwbG9hZEhpbnRNc2c='); + +@$core.Deprecated('Use campusMngBasicInfoDescriptor instead') +const CampusMngBasicInfo$json = { + '1': 'CampusMngBasicInfo', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'hint_msg', '3': 3, '4': 1, '5': 9, '10': 'hintMsg'}, + ], +}; + +/// Descriptor for `CampusMngBasicInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngBasicInfoDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNNbmdCYXNpY0luZm8SGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIfCgtjYW' + '1wdXNfbmFtZRgCIAEoCVIKY2FtcHVzTmFtZRIZCghoaW50X21zZxgDIAEoCVIHaGludE1zZw=='); + +@$core.Deprecated('Use campusMngDetailReplyDescriptor instead') +const CampusMngDetailReply$json = { + '1': 'CampusMngDetailReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusMngItem', '10': 'items'}, + {'1': 'top_hint_bar_msg', '3': 2, '4': 1, '5': 9, '10': 'topHintBarMsg'}, + {'1': 'bottom_submit_hint_msg', '3': 3, '4': 1, '5': 9, '10': 'bottomSubmitHintMsg'}, + {'1': 'campus_id', '3': 4, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 5, '4': 1, '5': 9, '10': 'campusName'}, + ], +}; + +/// Descriptor for `CampusMngDetailReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngDetailReplyDescriptor = $convert.base64Decode( + 'ChRDYW1wdXNNbmdEZXRhaWxSZXBseRI8CgVpdGVtcxgBIAMoCzImLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLkNhbXB1c01uZ0l0ZW1SBWl0ZW1zEicKEHRvcF9oaW50X2Jhcl9tc2cYAiABKAlS' + 'DXRvcEhpbnRCYXJNc2cSMwoWYm90dG9tX3N1Ym1pdF9oaW50X21zZxgDIAEoCVITYm90dG9tU3' + 'VibWl0SGludE1zZxIbCgljYW1wdXNfaWQYBCABKANSCGNhbXB1c0lkEh8KC2NhbXB1c19uYW1l' + 'GAUgASgJUgpjYW1wdXNOYW1l'); + +@$core.Deprecated('Use campusMngDetailReqDescriptor instead') +const CampusMngDetailReq$json = { + '1': 'CampusMngDetailReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + ], +}; + +/// Descriptor for `CampusMngDetailReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngDetailReqDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNNbmdEZXRhaWxSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZA=='); + +@$core.Deprecated('Use campusMngItemDescriptor instead') +const CampusMngItem$json = { + '1': 'CampusMngItem', + '2': [ + {'1': 'audit_status', '3': 1, '4': 1, '5': 5, '10': 'auditStatus'}, + {'1': 'audit_message', '3': 2, '4': 1, '5': 9, '10': 'auditMessage'}, + {'1': 'item_type', '3': 3, '4': 1, '5': 5, '10': 'itemType'}, + {'1': 'mng_item_id', '3': 4, '4': 1, '5': 9, '10': 'mngItemId'}, + {'1': 'is_del', '3': 5, '4': 1, '5': 8, '10': 'isDel'}, + {'1': 'basic_info', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusMngBasicInfo', '9': 0, '10': 'basicInfo'}, + {'1': 'badge', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusMngBadge', '9': 0, '10': 'badge'}, + {'1': 'slogan', '3': 8, '4': 1, '5': 9, '9': 0, '10': 'slogan'}, + {'1': 'quiz', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusMngQuiz', '9': 0, '10': 'quiz'}, + ], + '8': [ + {'1': 'item'}, + ], +}; + +/// Descriptor for `CampusMngItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngItemDescriptor = $convert.base64Decode( + 'Cg1DYW1wdXNNbmdJdGVtEiEKDGF1ZGl0X3N0YXR1cxgBIAEoBVILYXVkaXRTdGF0dXMSIwoNYX' + 'VkaXRfbWVzc2FnZRgCIAEoCVIMYXVkaXRNZXNzYWdlEhsKCWl0ZW1fdHlwZRgDIAEoBVIIaXRl' + 'bVR5cGUSHgoLbW5nX2l0ZW1faWQYBCABKAlSCW1uZ0l0ZW1JZBIVCgZpc19kZWwYBSABKAhSBW' + 'lzRGVsEkwKCmJhc2ljX2luZm8YBiABKAsyKy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW1w' + 'dXNNbmdCYXNpY0luZm9IAFIJYmFzaWNJbmZvEj8KBWJhZGdlGAcgASgLMicuYmlsaWJpbGkuYX' + 'BwLmR5bmFtaWMudjIuQ2FtcHVzTW5nQmFkZ2VIAFIFYmFkZ2USGAoGc2xvZ2FuGAggASgJSABS' + 'BnNsb2dhbhI8CgRxdWl6GAkgASgLMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQ2FtcHVzTW' + '5nUXVpekgAUgRxdWl6QgYKBGl0ZW0='); + +@$core.Deprecated('Use campusMngQuizDescriptor instead') +const CampusMngQuiz$json = { + '1': 'CampusMngQuiz', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'more_label', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'moreLabel'}, + {'1': 'add_label', '3': 3, '4': 1, '5': 9, '10': 'addLabel'}, + {'1': 'submit_label', '3': 4, '4': 1, '5': 9, '10': 'submitLabel'}, + {'1': 'quiz_count', '3': 5, '4': 1, '5': 3, '10': 'quizCount'}, + ], +}; + +/// Descriptor for `CampusMngQuiz`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngQuizDescriptor = $convert.base64Decode( + 'Cg1DYW1wdXNNbmdRdWl6EhQKBXRpdGxlGAEgASgJUgV0aXRsZRJDCgptb3JlX2xhYmVsGAIgAS' + 'gLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQ2FtcHVzTGFiZWxSCW1vcmVMYWJlbBIbCglh' + 'ZGRfbGFiZWwYAyABKAlSCGFkZExhYmVsEiEKDHN1Ym1pdF9sYWJlbBgEIAEoCVILc3VibWl0TG' + 'FiZWwSHQoKcXVpel9jb3VudBgFIAEoA1IJcXVpekNvdW50'); + +@$core.Deprecated('Use campusMngQuizDetailDescriptor instead') +const CampusMngQuizDetail$json = { + '1': 'CampusMngQuizDetail', + '2': [ + {'1': 'quiz_id', '3': 1, '4': 1, '5': 3, '10': 'quizId'}, + {'1': 'question', '3': 2, '4': 1, '5': 9, '10': 'question'}, + {'1': 'correct_answer', '3': 3, '4': 1, '5': 9, '10': 'correctAnswer'}, + {'1': 'wrong_answer_list', '3': 4, '4': 3, '5': 9, '10': 'wrongAnswerList'}, + {'1': 'audit_status', '3': 5, '4': 1, '5': 5, '10': 'auditStatus'}, + {'1': 'audit_message', '3': 6, '4': 1, '5': 9, '10': 'auditMessage'}, + ], +}; + +/// Descriptor for `CampusMngQuizDetail`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngQuizDetailDescriptor = $convert.base64Decode( + 'ChNDYW1wdXNNbmdRdWl6RGV0YWlsEhcKB3F1aXpfaWQYASABKANSBnF1aXpJZBIaCghxdWVzdG' + 'lvbhgCIAEoCVIIcXVlc3Rpb24SJQoOY29ycmVjdF9hbnN3ZXIYAyABKAlSDWNvcnJlY3RBbnN3' + 'ZXISKgoRd3JvbmdfYW5zd2VyX2xpc3QYBCADKAlSD3dyb25nQW5zd2VyTGlzdBIhCgxhdWRpdF' + '9zdGF0dXMYBSABKAVSC2F1ZGl0U3RhdHVzEiMKDWF1ZGl0X21lc3NhZ2UYBiABKAlSDGF1ZGl0' + 'TWVzc2FnZQ=='); + +@$core.Deprecated('Use campusMngQuizOperateReplyDescriptor instead') +const CampusMngQuizOperateReply$json = { + '1': 'CampusMngQuizOperateReply', + '2': [ + {'1': 'toast', '3': 1, '4': 1, '5': 9, '10': 'toast'}, + {'1': 'quiz', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusMngQuizDetail', '10': 'quiz'}, + {'1': 'quiz_total', '3': 3, '4': 1, '5': 3, '10': 'quizTotal'}, + ], +}; + +/// Descriptor for `CampusMngQuizOperateReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngQuizOperateReplyDescriptor = $convert.base64Decode( + 'ChlDYW1wdXNNbmdRdWl6T3BlcmF0ZVJlcGx5EhQKBXRvYXN0GAEgASgJUgV0b2FzdBJACgRxdW' + 'l6GAIgAygLMiwuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQ2FtcHVzTW5nUXVpekRldGFpbFIE' + 'cXVpehIdCgpxdWl6X3RvdGFsGAMgASgDUglxdWl6VG90YWw='); + +@$core.Deprecated('Use campusMngQuizOperateReqDescriptor instead') +const CampusMngQuizOperateReq$json = { + '1': 'CampusMngQuizOperateReq', + '2': [ + {'1': 'action', '3': 1, '4': 1, '5': 5, '10': 'action'}, + {'1': 'campus_id', '3': 2, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'quiz', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusMngQuizDetail', '10': 'quiz'}, + ], +}; + +/// Descriptor for `CampusMngQuizOperateReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngQuizOperateReqDescriptor = $convert.base64Decode( + 'ChdDYW1wdXNNbmdRdWl6T3BlcmF0ZVJlcRIWCgZhY3Rpb24YASABKAVSBmFjdGlvbhIbCgljYW' + '1wdXNfaWQYAiABKANSCGNhbXB1c0lkEkAKBHF1aXoYAyADKAsyLC5iaWxpYmlsaS5hcHAuZHlu' + 'YW1pYy52Mi5DYW1wdXNNbmdRdWl6RGV0YWlsUgRxdWl6'); + +@$core.Deprecated('Use campusMngSloganDescriptor instead') +const CampusMngSlogan$json = { + '1': 'CampusMngSlogan', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'slogan', '3': 2, '4': 1, '5': 9, '10': 'slogan'}, + {'1': 'input_hint_msg', '3': 3, '4': 1, '5': 9, '10': 'inputHintMsg'}, + ], +}; + +/// Descriptor for `CampusMngSlogan`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngSloganDescriptor = $convert.base64Decode( + 'Cg9DYW1wdXNNbmdTbG9nYW4SFAoFdGl0bGUYASABKAlSBXRpdGxlEhYKBnNsb2dhbhgCIAEoCV' + 'IGc2xvZ2FuEiQKDmlucHV0X2hpbnRfbXNnGAMgASgJUgxpbnB1dEhpbnRNc2c='); + +@$core.Deprecated('Use campusMngSubmitReplyDescriptor instead') +const CampusMngSubmitReply$json = { + '1': 'CampusMngSubmitReply', + '2': [ + {'1': 'toast', '3': 1, '4': 1, '5': 9, '10': 'toast'}, + ], +}; + +/// Descriptor for `CampusMngSubmitReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngSubmitReplyDescriptor = $convert.base64Decode( + 'ChRDYW1wdXNNbmdTdWJtaXRSZXBseRIUCgV0b2FzdBgBIAEoCVIFdG9hc3Q='); + +@$core.Deprecated('Use campusMngSubmitReqDescriptor instead') +const CampusMngSubmitReq$json = { + '1': 'CampusMngSubmitReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'modified_items', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusMngItem', '10': 'modifiedItems'}, + ], +}; + +/// Descriptor for `CampusMngSubmitReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusMngSubmitReqDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNNbmdTdWJtaXRSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBJNCg5tb2' + 'RpZmllZF9pdGVtcxgCIAMoCzImLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c01uZ0l0' + 'ZW1SDW1vZGlmaWVkSXRlbXM='); + +@$core.Deprecated('Use campusNoticeInfoDescriptor instead') +const CampusNoticeInfo$json = { + '1': 'CampusNoticeInfo', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 2, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'button', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'button'}, + ], +}; + +/// Descriptor for `CampusNoticeInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusNoticeInfoDescriptor = $convert.base64Decode( + 'ChBDYW1wdXNOb3RpY2VJbmZvEhQKBXRpdGxlGAEgASgJUgV0aXRsZRISCgRkZXNjGAIgASgJUg' + 'RkZXNjEjwKBmJ1dHRvbhgDIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c0xh' + 'YmVsUgZidXR0b24='); + +@$core.Deprecated('Use campusRcmdFeedReplyDescriptor instead') +const CampusRcmdFeedReply$json = { + '1': 'CampusRcmdFeedReply', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'toast', '3': 2, '4': 1, '5': 9, '10': 'toast'}, + {'1': 'guide_bar', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.GuideBarInfo', '10': 'guideBar'}, + {'1': 'has_more', '3': 4, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'update', '3': 5, '4': 1, '5': 8, '10': 'update'}, + ], +}; + +/// Descriptor for `CampusRcmdFeedReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRcmdFeedReplyDescriptor = $convert.base64Decode( + 'ChNDYW1wdXNSY21kRmVlZFJlcGx5EjgKBGxpc3QYASADKAsyJC5iaWxpYmlsaS5hcHAuZHluYW' + '1pYy52Mi5EeW5hbWljSXRlbVIEbGlzdBIUCgV0b2FzdBgCIAEoCVIFdG9hc3QSQgoJZ3VpZGVf' + 'YmFyGAMgASgLMiUuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuR3VpZGVCYXJJbmZvUghndWlkZU' + 'JhchIZCghoYXNfbW9yZRgEIAEoCFIHaGFzTW9yZRIWCgZ1cGRhdGUYBSABKAhSBnVwZGF0ZQ=='); + +@$core.Deprecated('Use campusRcmdFeedReqDescriptor instead') +const CampusRcmdFeedReq$json = { + '1': 'CampusRcmdFeedReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'first_time', '3': 2, '4': 1, '5': 5, '10': 'firstTime'}, + {'1': 'player_args', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'local_time', '3': 4, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'page', '3': 5, '4': 1, '5': 5, '10': 'page'}, + {'1': 'scroll', '3': 6, '4': 1, '5': 5, '10': 'scroll'}, + {'1': 'view_dyn_id', '3': 7, '4': 1, '5': 9, '10': 'viewDynId'}, + {'1': 'from_type', '3': 8, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `CampusRcmdFeedReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRcmdFeedReqDescriptor = $convert.base64Decode( + 'ChFDYW1wdXNSY21kRmVlZFJlcRIbCgljYW1wdXNfaWQYASABKANSCGNhbXB1c0lkEh0KCmZpcn' + 'N0X3RpbWUYAiABKAVSCWZpcnN0VGltZRJPCgtwbGF5ZXJfYXJncxgDIAEoCzIuLmJpbGliaWxp' + 'LmFwcC5hcmNoaXZlLm1pZGRsZXdhcmUudjEuUGxheWVyQXJnc1IKcGxheWVyQXJncxIdCgpsb2' + 'NhbF90aW1lGAQgASgFUglsb2NhbFRpbWUSEgoEcGFnZRgFIAEoBVIEcGFnZRIWCgZzY3JvbGwY' + 'BiABKAVSBnNjcm9sbBIeCgt2aWV3X2R5bl9pZBgHIAEoCVIJdmlld0R5bklkEkcKCWZyb21fdH' + 'lwZRgIIAEoDjIqLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c1JlcUZyb21UeXBlUghm' + 'cm9tVHlwZQ=='); + +@$core.Deprecated('Use campusRcmdInfoDescriptor instead') +const CampusRcmdInfo$json = { + '1': 'CampusRcmdInfo', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'items', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusRcmdItem', '10': 'items'}, + ], +}; + +/// Descriptor for `CampusRcmdInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRcmdInfoDescriptor = $convert.base64Decode( + 'Cg5DYW1wdXNSY21kSW5mbxIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSPQoFaXRlbXMYAiADKAsyJy' + '5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW1wdXNSY21kSXRlbVIFaXRlbXM='); + +@$core.Deprecated('Use campusRcmdItemDescriptor instead') +const CampusRcmdItem$json = { + '1': 'CampusRcmdItem', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'items', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdItem', '10': 'items'}, + {'1': 'campus_id', '3': 3, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'entry_label', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'entryLabel'}, + ], +}; + +/// Descriptor for `CampusRcmdItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRcmdItemDescriptor = $convert.base64Decode( + 'Cg5DYW1wdXNSY21kSXRlbRIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSNwoFaXRlbXMYAiADKAsyIS' + '5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5SY21kSXRlbVIFaXRlbXMSGwoJY2FtcHVzX2lkGAMg' + 'ASgDUghjYW1wdXNJZBJFCgtlbnRyeV9sYWJlbBgEIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLkNhbXB1c0xhYmVsUgplbnRyeUxhYmVs'); + +@$core.Deprecated('Use campusRcmdReplyDescriptor instead') +const CampusRcmdReply$json = { + '1': 'CampusRcmdReply', + '2': [ + {'1': 'top', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusRcmdTop', '10': 'top'}, + {'1': 'rcmd', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusRcmdInfo', '10': 'rcmd'}, + {'1': 'campus_top', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusTop', '10': 'campusTop'}, + {'1': 'page_type', '3': 4, '4': 1, '5': 5, '10': 'pageType'}, + {'1': 'jump_home_pop', '3': 5, '4': 1, '5': 5, '10': 'jumpHomePop'}, + ], +}; + +/// Descriptor for `CampusRcmdReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRcmdReplyDescriptor = $convert.base64Decode( + 'Cg9DYW1wdXNSY21kUmVwbHkSOAoDdG9wGAEgASgLMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuQ2FtcHVzUmNtZFRvcFIDdG9wEjsKBHJjbWQYAiABKAsyJy5iaWxpYmlsaS5hcHAuZHluYW1p' + 'Yy52Mi5DYW1wdXNSY21kSW5mb1IEcmNtZBJBCgpjYW1wdXNfdG9wGAMgASgLMiIuYmlsaWJpbG' + 'kuYXBwLmR5bmFtaWMudjIuQ2FtcHVzVG9wUgljYW1wdXNUb3ASGwoJcGFnZV90eXBlGAQgASgF' + 'UghwYWdlVHlwZRIiCg1qdW1wX2hvbWVfcG9wGAUgASgFUgtqdW1wSG9tZVBvcA=='); + +@$core.Deprecated('Use campusRcmdReqDescriptor instead') +const CampusRcmdReq$json = { + '1': 'CampusRcmdReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'lat', '3': 3, '4': 1, '5': 1, '10': 'lat'}, + {'1': 'lng', '3': 4, '4': 1, '5': 1, '10': 'lng'}, + {'1': 'player_args', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'from_type', '3': 6, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + {'1': 'page_type', '3': 7, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusHomePageType', '10': 'pageType'}, + ], +}; + +/// Descriptor for `CampusRcmdReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRcmdReqDescriptor = $convert.base64Decode( + 'Cg1DYW1wdXNSY21kUmVxEhsKCWNhbXB1c19pZBgBIAEoA1IIY2FtcHVzSWQSHwoLY2FtcHVzX2' + '5hbWUYAiABKAlSCmNhbXB1c05hbWUSEAoDbGF0GAMgASgBUgNsYXQSEAoDbG5nGAQgASgBUgNs' + 'bmcSTwoLcGxheWVyX2FyZ3MYBSABKAsyLi5iaWxpYmlsaS5hcHAuYXJjaGl2ZS5taWRkbGV3YX' + 'JlLnYxLlBsYXllckFyZ3NSCnBsYXllckFyZ3MSRwoJZnJvbV90eXBlGAYgASgOMiouYmlsaWJp' + 'bGkuYXBwLmR5bmFtaWMudjIuQ2FtcHVzUmVxRnJvbVR5cGVSCGZyb21UeXBlEkgKCXBhZ2VfdH' + 'lwZRgHIAEoDjIrLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c0hvbWVQYWdlVHlwZVII' + 'cGFnZVR5cGU='); + +@$core.Deprecated('Use campusRcmdTopDescriptor instead') +const CampusRcmdTop$json = { + '1': 'CampusRcmdTop', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 4, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'type', '3': 5, '4': 1, '5': 5, '10': 'type'}, + {'1': 'button', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdTopButton', '10': 'button'}, + {'1': 'switch_label', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'switchLabel'}, + {'1': 'notice_label', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'noticeLabel'}, + {'1': 'desc2', '3': 9, '4': 1, '5': 9, '10': 'desc2'}, + {'1': 'desc3', '3': 10, '4': 1, '5': 9, '10': 'desc3'}, + {'1': 'invite_label', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'inviteLabel'}, + {'1': 'reserve_label', '3': 12, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'reserveLabel'}, + {'1': 'reserve_number', '3': 13, '4': 1, '5': 3, '10': 'reserveNumber'}, + {'1': 'max_reserve', '3': 14, '4': 1, '5': 3, '10': 'maxReserve'}, + {'1': 'school_label', '3': 15, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'schoolLabel'}, + {'1': 'mng_label', '3': 16, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'mngLabel'}, + {'1': 'rcmd_topic', '3': 17, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusHomeRcmdTopic', '10': 'rcmdTopic'}, + {'1': 'audit_before_open', '3': 18, '4': 1, '5': 8, '10': 'auditBeforeOpen'}, + {'1': 'audit_message', '3': 19, '4': 1, '5': 9, '10': 'auditMessage'}, + ], +}; + +/// Descriptor for `CampusRcmdTop`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRcmdTopDescriptor = $convert.base64Decode( + 'Cg1DYW1wdXNSY21kVG9wEhsKCWNhbXB1c19pZBgBIAEoA1IIY2FtcHVzSWQSHwoLY2FtcHVzX2' + '5hbWUYAiABKAlSCmNhbXB1c05hbWUSFAoFdGl0bGUYAyABKAlSBXRpdGxlEhIKBGRlc2MYBCAB' + 'KAlSBGRlc2MSEgoEdHlwZRgFIAEoBVIEdHlwZRI+CgZidXR0b24YBiABKAsyJi5iaWxpYmlsaS' + '5hcHAuZHluYW1pYy52Mi5SY21kVG9wQnV0dG9uUgZidXR0b24SRwoMc3dpdGNoX2xhYmVsGAcg' + 'ASgLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQ2FtcHVzTGFiZWxSC3N3aXRjaExhYmVsEk' + 'cKDG5vdGljZV9sYWJlbBgIIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c0xh' + 'YmVsUgtub3RpY2VMYWJlbBIUCgVkZXNjMhgJIAEoCVIFZGVzYzISFAoFZGVzYzMYCiABKAlSBW' + 'Rlc2MzEkcKDGludml0ZV9sYWJlbBgLIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNh' + 'bXB1c0xhYmVsUgtpbnZpdGVMYWJlbBJJCg1yZXNlcnZlX2xhYmVsGAwgASgLMiQuYmlsaWJpbG' + 'kuYXBwLmR5bmFtaWMudjIuQ2FtcHVzTGFiZWxSDHJlc2VydmVMYWJlbBIlCg5yZXNlcnZlX251' + 'bWJlchgNIAEoA1INcmVzZXJ2ZU51bWJlchIfCgttYXhfcmVzZXJ2ZRgOIAEoA1IKbWF4UmVzZX' + 'J2ZRJHCgxzY2hvb2xfbGFiZWwYDyABKAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW1w' + 'dXNMYWJlbFILc2Nob29sTGFiZWwSQQoJbW5nX2xhYmVsGBAgASgLMiQuYmlsaWJpbGkuYXBwLm' + 'R5bmFtaWMudjIuQ2FtcHVzTGFiZWxSCG1uZ0xhYmVsEksKCnJjbWRfdG9waWMYESABKAsyLC5i' + 'aWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW1wdXNIb21lUmNtZFRvcGljUglyY21kVG9waWMSKg' + 'oRYXVkaXRfYmVmb3JlX29wZW4YEiABKAhSD2F1ZGl0QmVmb3JlT3BlbhIjCg1hdWRpdF9tZXNz' + 'YWdlGBMgASgJUgxhdWRpdE1lc3NhZ2U='); + +@$core.Deprecated('Use campusRecommendReplyDescriptor instead') +const CampusRecommendReply$json = { + '1': 'CampusRecommendReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdItem', '10': 'items'}, + {'1': 'has_more', '3': 2, '4': 1, '5': 8, '10': 'hasMore'}, + ], +}; + +/// Descriptor for `CampusRecommendReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRecommendReplyDescriptor = $convert.base64Decode( + 'ChRDYW1wdXNSZWNvbW1lbmRSZXBseRI3CgVpdGVtcxgBIAMoCzIhLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLlJjbWRJdGVtUgVpdGVtcxIZCghoYXNfbW9yZRgCIAEoCFIHaGFzTW9yZQ=='); + +@$core.Deprecated('Use campusRecommendReqDescriptor instead') +const CampusRecommendReq$json = { + '1': 'CampusRecommendReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'page_no', '3': 2, '4': 1, '5': 3, '10': 'pageNo'}, + {'1': 'player_args', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'from', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusRcmdReqFrom', '10': 'from'}, + ], +}; + +/// Descriptor for `CampusRecommendReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRecommendReqDescriptor = $convert.base64Decode( + 'ChJDYW1wdXNSZWNvbW1lbmRSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIXCgdwYW' + 'dlX25vGAIgASgDUgZwYWdlTm8STwoLcGxheWVyX2FyZ3MYAyABKAsyLi5iaWxpYmlsaS5hcHAu' + 'YXJjaGl2ZS5taWRkbGV3YXJlLnYxLlBsYXllckFyZ3NSCnBsYXllckFyZ3MSPgoEZnJvbRgEIA' + 'EoDjIqLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c1JjbWRSZXFGcm9tUgRmcm9t'); + +@$core.Deprecated('Use campusRedDotReplyDescriptor instead') +const CampusRedDotReply$json = { + '1': 'CampusRedDotReply', + '2': [ + {'1': 'red_dot', '3': 1, '4': 1, '5': 5, '10': 'redDot'}, + ], +}; + +/// Descriptor for `CampusRedDotReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRedDotReplyDescriptor = $convert.base64Decode( + 'ChFDYW1wdXNSZWREb3RSZXBseRIXCgdyZWRfZG90GAEgASgFUgZyZWREb3Q='); + +@$core.Deprecated('Use campusRedDotReqDescriptor instead') +const CampusRedDotReq$json = { + '1': 'CampusRedDotReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'from_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `CampusRedDotReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusRedDotReqDescriptor = $convert.base64Decode( + 'Cg9DYW1wdXNSZWREb3RSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBJHCglmcm9tX3' + 'R5cGUYAiABKA4yKi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW1wdXNSZXFGcm9tVHlwZVII' + 'ZnJvbVR5cGU='); + +@$core.Deprecated('Use campusShowTabInfoDescriptor instead') +const CampusShowTabInfo$json = { + '1': 'CampusShowTabInfo', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, + {'1': 'type', '3': 3, '4': 1, '5': 5, '10': 'type'}, + {'1': 'red_dot', '3': 4, '4': 1, '5': 5, '10': 'redDot'}, + {'1': 'icon_url', '3': 5, '4': 1, '5': 9, '10': 'iconUrl'}, + ], +}; + +/// Descriptor for `CampusShowTabInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusShowTabInfoDescriptor = $convert.base64Decode( + 'ChFDYW1wdXNTaG93VGFiSW5mbxISCgRuYW1lGAEgASgJUgRuYW1lEhAKA3VybBgCIAEoCVIDdX' + 'JsEhIKBHR5cGUYAyABKAVSBHR5cGUSFwoHcmVkX2RvdBgEIAEoBVIGcmVkRG90EhkKCGljb25f' + 'dXJsGAUgASgJUgdpY29uVXJs'); + +@$core.Deprecated('Use campusSquareReplyDescriptor instead') +const CampusSquareReply$json = { + '1': 'CampusSquareReply', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'list', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdCampusBrief', '10': 'list'}, + {'1': 'button', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'button'}, + ], +}; + +/// Descriptor for `CampusSquareReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusSquareReplyDescriptor = $convert.base64Decode( + 'ChFDYW1wdXNTcXVhcmVSZXBseRIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSPAoEbGlzdBgCIAMoCz' + 'IoLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJjbWRDYW1wdXNCcmllZlIEbGlzdBI8CgZidXR0' + 'b24YAyABKAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW1wdXNMYWJlbFIGYnV0dG9u'); + +@$core.Deprecated('Use campusSquareReqDescriptor instead') +const CampusSquareReq$json = { + '1': 'CampusSquareReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'lat', '3': 2, '4': 1, '5': 1, '10': 'lat'}, + {'1': 'lng', '3': 3, '4': 1, '5': 1, '10': 'lng'}, + ], +}; + +/// Descriptor for `CampusSquareReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusSquareReqDescriptor = $convert.base64Decode( + 'Cg9DYW1wdXNTcXVhcmVSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIQCgNsYXQYAi' + 'ABKAFSA2xhdBIQCgNsbmcYAyABKAFSA2xuZw=='); + +@$core.Deprecated('Use campusTopDescriptor instead') +const CampusTop$json = { + '1': 'CampusTop', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'tabs', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusShowTabInfo', '10': 'tabs'}, + {'1': 'switch_label', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'switchLabel'}, + {'1': 'title', '3': 5, '4': 1, '5': 9, '10': 'title'}, + {'1': 'banner', '3': 6, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusBannerInfo', '10': 'banner'}, + {'1': 'invite_label', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'inviteLabel'}, + {'1': 'notice', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusNoticeInfo', '10': 'notice'}, + {'1': 'topic_square', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicSquareInfo', '10': 'topicSquare'}, + {'1': 'campus_badge', '3': 10, '4': 1, '5': 9, '10': 'campusBadge'}, + {'1': 'campus_background', '3': 11, '4': 1, '5': 9, '10': 'campusBackground'}, + {'1': 'campus_motto', '3': 12, '4': 1, '5': 9, '10': 'campusMotto'}, + {'1': 'mng_entry', '3': 13, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'mngEntry'}, + {'1': 'campus_intro', '3': 14, '4': 1, '5': 9, '10': 'campusIntro'}, + {'1': 'campus_name_link', '3': 15, '4': 1, '5': 9, '10': 'campusNameLink'}, + {'1': 'bottom_left_text', '3': 16, '4': 1, '5': 9, '10': 'bottomLeftText'}, + ], +}; + +/// Descriptor for `CampusTop`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusTopDescriptor = $convert.base64Decode( + 'CglDYW1wdXNUb3ASGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIfCgtjYW1wdXNfbmFtZR' + 'gCIAEoCVIKY2FtcHVzTmFtZRI+CgR0YWJzGAMgAygLMiouYmlsaWJpbGkuYXBwLmR5bmFtaWMu' + 'djIuQ2FtcHVzU2hvd1RhYkluZm9SBHRhYnMSRwoMc3dpdGNoX2xhYmVsGAQgASgLMiQuYmlsaW' + 'JpbGkuYXBwLmR5bmFtaWMudjIuQ2FtcHVzTGFiZWxSC3N3aXRjaExhYmVsEhQKBXRpdGxlGAUg' + 'ASgJUgV0aXRsZRJBCgZiYW5uZXIYBiADKAsyKS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW' + '1wdXNCYW5uZXJJbmZvUgZiYW5uZXISRwoMaW52aXRlX2xhYmVsGAcgASgLMiQuYmlsaWJpbGku' + 'YXBwLmR5bmFtaWMudjIuQ2FtcHVzTGFiZWxSC2ludml0ZUxhYmVsEkEKBm5vdGljZRgIIAEoCz' + 'IpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c05vdGljZUluZm9SBm5vdGljZRJLCgx0' + 'b3BpY19zcXVhcmUYCSABKAsyKC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Ub3BpY1NxdWFyZU' + 'luZm9SC3RvcGljU3F1YXJlEiEKDGNhbXB1c19iYWRnZRgKIAEoCVILY2FtcHVzQmFkZ2USKwoR' + 'Y2FtcHVzX2JhY2tncm91bmQYCyABKAlSEGNhbXB1c0JhY2tncm91bmQSIQoMY2FtcHVzX21vdH' + 'RvGAwgASgJUgtjYW1wdXNNb3R0bxJBCgltbmdfZW50cnkYDSABKAsyJC5iaWxpYmlsaS5hcHAu' + 'ZHluYW1pYy52Mi5DYW1wdXNMYWJlbFIIbW5nRW50cnkSIQoMY2FtcHVzX2ludHJvGA4gASgJUg' + 'tjYW1wdXNJbnRybxIoChBjYW1wdXNfbmFtZV9saW5rGA8gASgJUg5jYW1wdXNOYW1lTGluaxIo' + 'ChBib3R0b21fbGVmdF90ZXh0GBAgASgJUg5ib3R0b21MZWZ0VGV4dA=='); + +@$core.Deprecated('Use campusTopicRcmdFeedReplyDescriptor instead') +const CampusTopicRcmdFeedReply$json = { + '1': 'CampusTopicRcmdFeedReply', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'toast', '3': 2, '4': 1, '5': 9, '10': 'toast'}, + {'1': 'has_more', '3': 3, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'offset', '3': 4, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'join_discuss', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.IconButton', '10': 'joinDiscuss'}, + ], +}; + +/// Descriptor for `CampusTopicRcmdFeedReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusTopicRcmdFeedReplyDescriptor = $convert.base64Decode( + 'ChhDYW1wdXNUb3BpY1JjbWRGZWVkUmVwbHkSOAoEbGlzdBgBIAMoCzIkLmJpbGliaWxpLmFwcC' + '5keW5hbWljLnYyLkR5bmFtaWNJdGVtUgRsaXN0EhQKBXRvYXN0GAIgASgJUgV0b2FzdBIZCgho' + 'YXNfbW9yZRgDIAEoCFIHaGFzTW9yZRIWCgZvZmZzZXQYBCABKAlSBm9mZnNldBJGCgxqb2luX2' + 'Rpc2N1c3MYBSABKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5JY29uQnV0dG9uUgtqb2lu' + 'RGlzY3Vzcw=='); + +@$core.Deprecated('Use campusTopicRcmdFeedReqDescriptor instead') +const CampusTopicRcmdFeedReq$json = { + '1': 'CampusTopicRcmdFeedReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'player_args', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'local_time', '3': 4, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'from_type', '3': 5, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `CampusTopicRcmdFeedReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List campusTopicRcmdFeedReqDescriptor = $convert.base64Decode( + 'ChZDYW1wdXNUb3BpY1JjbWRGZWVkUmVxEhsKCWNhbXB1c19pZBgBIAEoA1IIY2FtcHVzSWQSFg' + 'oGb2Zmc2V0GAIgASgJUgZvZmZzZXQSTwoLcGxheWVyX2FyZ3MYAyABKAsyLi5iaWxpYmlsaS5h' + 'cHAuYXJjaGl2ZS5taWRkbGV3YXJlLnYxLlBsYXllckFyZ3NSCnBsYXllckFyZ3MSHQoKbG9jYW' + 'xfdGltZRgEIAEoBVIJbG9jYWxUaW1lEkcKCWZyb21fdHlwZRgFIAEoDjIqLmJpbGliaWxpLmFw' + 'cC5keW5hbWljLnYyLkNhbXB1c1JlcUZyb21UeXBlUghmcm9tVHlwZQ=='); + +@$core.Deprecated('Use cardParagraphDescriptor instead') +const CardParagraph$json = { + '1': 'CardParagraph', + '2': [ + {'1': 'additional_card', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAdditional', '10': 'additionalCard'}, + {'1': 'biz_id', '3': 3, '4': 1, '5': 9, '10': 'bizId'}, + {'1': 'biz_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.LinkNodeType', '10': 'bizType'}, + ], +}; + +/// Descriptor for `CardParagraph`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List cardParagraphDescriptor = $convert.base64Decode( + 'Cg1DYXJkUGFyYWdyYXBoElIKD2FkZGl0aW9uYWxfY2FyZBgBIAEoCzIpLmJpbGliaWxpLmFwcC' + '5keW5hbWljLnYyLk1vZHVsZUFkZGl0aW9uYWxSDmFkZGl0aW9uYWxDYXJkEhUKBmJpel9pZBgD' + 'IAEoCVIFYml6SWQSQAoIYml6X3R5cGUYAiABKA4yJS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5MaW5rTm9kZVR5cGVSB2JpelR5cGU='); + +@$core.Deprecated('Use cardVideoDynListDescriptor instead') +const CardVideoDynList$json = { + '1': 'CardVideoDynList', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'update_num', '3': 2, '4': 1, '5': 3, '10': 'updateNum'}, + {'1': 'history_offset', '3': 3, '4': 1, '5': 9, '10': 'historyOffset'}, + {'1': 'update_baseline', '3': 4, '4': 1, '5': 9, '10': 'updateBaseline'}, + {'1': 'has_more', '3': 5, '4': 1, '5': 8, '10': 'hasMore'}, + ], +}; + +/// Descriptor for `CardVideoDynList`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List cardVideoDynListDescriptor = $convert.base64Decode( + 'ChBDYXJkVmlkZW9EeW5MaXN0EjgKBGxpc3QYASADKAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5EeW5hbWljSXRlbVIEbGlzdBIdCgp1cGRhdGVfbnVtGAIgASgDUgl1cGRhdGVOdW0SJQoO' + 'aGlzdG9yeV9vZmZzZXQYAyABKAlSDWhpc3RvcnlPZmZzZXQSJwoPdXBkYXRlX2Jhc2VsaW5lGA' + 'QgASgJUg51cGRhdGVCYXNlbGluZRIZCghoYXNfbW9yZRgFIAEoCFIHaGFzTW9yZQ=='); + +@$core.Deprecated('Use cardVideoFollowListDescriptor instead') +const CardVideoFollowList$json = { + '1': 'CardVideoFollowList', + '2': [ + {'1': 'view_all_link', '3': 1, '4': 1, '5': 9, '10': 'viewAllLink'}, + {'1': 'list', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.FollowListItem', '10': 'list'}, + ], +}; + +/// Descriptor for `CardVideoFollowList`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List cardVideoFollowListDescriptor = $convert.base64Decode( + 'ChNDYXJkVmlkZW9Gb2xsb3dMaXN0EiIKDXZpZXdfYWxsX2xpbmsYASABKAlSC3ZpZXdBbGxMaW' + '5rEjsKBGxpc3QYAiADKAsyJy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Gb2xsb3dMaXN0SXRl' + 'bVIEbGlzdA=='); + +@$core.Deprecated('Use cardVideoUpListDescriptor instead') +const CardVideoUpList$json = { + '1': 'CardVideoUpList', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'list', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.UpListItem', '10': 'list'}, + {'1': 'footprint', '3': 3, '4': 1, '5': 9, '10': 'footprint'}, + {'1': 'show_live_num', '3': 4, '4': 1, '5': 5, '10': 'showLiveNum'}, + {'1': 'more_label', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.UpListMoreLabel', '10': 'moreLabel'}, + {'1': 'title_switch', '3': 6, '4': 1, '5': 5, '10': 'titleSwitch'}, + {'1': 'show_more_label', '3': 7, '4': 1, '5': 8, '10': 'showMoreLabel'}, + {'1': 'show_in_personal', '3': 8, '4': 1, '5': 8, '10': 'showInPersonal'}, + {'1': 'show_more_button', '3': 9, '4': 1, '5': 8, '10': 'showMoreButton'}, + {'1': 'list_second', '3': 10, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.UpListItem', '10': 'listSecond'}, + ], +}; + +/// Descriptor for `CardVideoUpList`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List cardVideoUpListDescriptor = $convert.base64Decode( + 'Cg9DYXJkVmlkZW9VcExpc3QSFAoFdGl0bGUYASABKAlSBXRpdGxlEjcKBGxpc3QYAiADKAsyIy' + '5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5VcExpc3RJdGVtUgRsaXN0EhwKCWZvb3RwcmludBgD' + 'IAEoCVIJZm9vdHByaW50EiIKDXNob3dfbGl2ZV9udW0YBCABKAVSC3Nob3dMaXZlTnVtEkcKCm' + '1vcmVfbGFiZWwYBSABKAsyKC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5VcExpc3RNb3JlTGFi' + 'ZWxSCW1vcmVMYWJlbBIhCgx0aXRsZV9zd2l0Y2gYBiABKAVSC3RpdGxlU3dpdGNoEiYKD3Nob3' + 'dfbW9yZV9sYWJlbBgHIAEoCFINc2hvd01vcmVMYWJlbBIoChBzaG93X2luX3BlcnNvbmFsGAgg' + 'ASgIUg5zaG93SW5QZXJzb25hbBIoChBzaG93X21vcmVfYnV0dG9uGAkgASgIUg5zaG93TW9yZU' + 'J1dHRvbhJECgtsaXN0X3NlY29uZBgKIAMoCzIjLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlVw' + 'TGlzdEl0ZW1SCmxpc3RTZWNvbmQ='); + +@$core.Deprecated('Use channelInfoDescriptor instead') +const ChannelInfo$json = { + '1': 'ChannelInfo', + '2': [ + {'1': 'channel_id', '3': 1, '4': 1, '5': 3, '10': 'channelId'}, + {'1': 'channel_name', '3': 2, '4': 1, '5': 9, '10': 'channelName'}, + {'1': 'desc', '3': 3, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'is_atten', '3': 4, '4': 1, '5': 8, '10': 'isAtten'}, + {'1': 'type_icon', '3': 5, '4': 1, '5': 9, '10': 'typeIcon'}, + {'1': 'items', '3': 6, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdItem', '10': 'items'}, + {'1': 'icon', '3': 7, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'jump_uri', '3': 8, '4': 1, '5': 9, '10': 'jumpUri'}, + ], +}; + +/// Descriptor for `ChannelInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List channelInfoDescriptor = $convert.base64Decode( + 'CgtDaGFubmVsSW5mbxIdCgpjaGFubmVsX2lkGAEgASgDUgljaGFubmVsSWQSIQoMY2hhbm5lbF' + '9uYW1lGAIgASgJUgtjaGFubmVsTmFtZRISCgRkZXNjGAMgASgJUgRkZXNjEhkKCGlzX2F0dGVu' + 'GAQgASgIUgdpc0F0dGVuEhsKCXR5cGVfaWNvbhgFIAEoCVIIdHlwZUljb24SNwoFaXRlbXMYBi' + 'ADKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5SY21kSXRlbVIFaXRlbXMSEgoEaWNvbhgH' + 'IAEoCVIEaWNvbhIZCghqdW1wX3VyaRgIIAEoCVIHanVtcFVyaQ=='); + +@$core.Deprecated('Use cmtShowItemDescriptor instead') +const CmtShowItem$json = { + '1': 'CmtShowItem', + '2': [ + {'1': 'uid', '3': 1, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'uname', '3': 2, '4': 1, '5': 9, '10': 'uname'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'comment', '3': 4, '4': 1, '5': 9, '10': 'comment'}, + ], +}; + +/// Descriptor for `CmtShowItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List cmtShowItemDescriptor = $convert.base64Decode( + 'CgtDbXRTaG93SXRlbRIQCgN1aWQYASABKANSA3VpZBIUCgV1bmFtZRgCIAEoCVIFdW5hbWUSEA' + 'oDdXJpGAMgASgJUgN1cmkSGAoHY29tbWVudBgEIAEoCVIHY29tbWVudA=='); + +@$core.Deprecated('Use colorsDescriptor instead') +const Colors$json = { + '1': 'Colors', + '2': [ + {'1': 'color_day', '3': 1, '4': 1, '5': 9, '10': 'colorDay'}, + {'1': 'color_night', '3': 2, '4': 1, '5': 9, '10': 'colorNight'}, + ], +}; + +/// Descriptor for `Colors`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List colorsDescriptor = $convert.base64Decode( + 'CgZDb2xvcnMSGwoJY29sb3JfZGF5GAEgASgJUghjb2xvckRheRIfCgtjb2xvcl9uaWdodBgCIA' + 'EoCVIKY29sb3JOaWdodA=='); + +@$core.Deprecated('Use commentDetailDescriptor instead') +const CommentDetail$json = { + '1': 'CommentDetail', + '2': [ + {'1': 'can_modify', '3': 1, '4': 1, '5': 8, '10': 'canModify'}, + {'1': 'status', '3': 2, '4': 1, '5': 3, '10': 'status'}, + ], +}; + +/// Descriptor for `CommentDetail`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List commentDetailDescriptor = $convert.base64Decode( + 'Cg1Db21tZW50RGV0YWlsEh0KCmNhbl9tb2RpZnkYASABKAhSCWNhbk1vZGlmeRIWCgZzdGF0dX' + 'MYAiABKANSBnN0YXR1cw=='); + +@$core.Deprecated('Use configDescriptor instead') +const Config$json = { + '1': 'Config', + '2': [ + {'1': 'story_vertical_exp', '3': 1, '4': 1, '5': 8, '10': 'storyVerticalExp'}, + {'1': 'detail_view_bits', '3': 2, '4': 1, '5': 3, '10': 'detailViewBits'}, + ], +}; + +/// Descriptor for `Config`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List configDescriptor = $convert.base64Decode( + 'CgZDb25maWcSLAoSc3RvcnlfdmVydGljYWxfZXhwGAEgASgIUhBzdG9yeVZlcnRpY2FsRXhwEi' + 'gKEGRldGFpbF92aWV3X2JpdHMYAiABKANSDmRldGFpbFZpZXdCaXRz'); + +@$core.Deprecated('Use coverIconWithTextDescriptor instead') +const CoverIconWithText$json = { + '1': 'CoverIconWithText', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 5, '10': 'icon'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + ], +}; + +/// Descriptor for `CoverIconWithText`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List coverIconWithTextDescriptor = $convert.base64Decode( + 'ChFDb3Zlckljb25XaXRoVGV4dBISCgRpY29uGAEgASgFUgRpY29uEhIKBHRleHQYAiABKAlSBH' + 'RleHQ='); + +@$core.Deprecated('Use decoCardFanDescriptor instead') +const DecoCardFan$json = { + '1': 'DecoCardFan', + '2': [ + {'1': 'is_fan', '3': 1, '4': 1, '5': 5, '10': 'isFan'}, + {'1': 'number', '3': 2, '4': 1, '5': 5, '10': 'number'}, + {'1': 'number_str', '3': 3, '4': 1, '5': 9, '10': 'numberStr'}, + {'1': 'color', '3': 4, '4': 1, '5': 9, '10': 'color'}, + ], +}; + +/// Descriptor for `DecoCardFan`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List decoCardFanDescriptor = $convert.base64Decode( + 'CgtEZWNvQ2FyZEZhbhIVCgZpc19mYW4YASABKAVSBWlzRmFuEhYKBm51bWJlchgCIAEoBVIGbn' + 'VtYmVyEh0KCm51bWJlcl9zdHIYAyABKAlSCW51bWJlclN0chIUCgVjb2xvchgEIAEoCVIFY29s' + 'b3I='); + +@$core.Deprecated('Use decorateCardDescriptor instead') +const DecorateCard$json = { + '1': 'DecorateCard', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'card_url', '3': 2, '4': 1, '5': 9, '10': 'cardUrl'}, + {'1': 'jump_url', '3': 3, '4': 1, '5': 9, '10': 'jumpUrl'}, + {'1': 'fan', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DecoCardFan', '10': 'fan'}, + ], +}; + +/// Descriptor for `DecorateCard`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List decorateCardDescriptor = $convert.base64Decode( + 'CgxEZWNvcmF0ZUNhcmQSDgoCaWQYASABKANSAmlkEhkKCGNhcmRfdXJsGAIgASgJUgdjYXJkVX' + 'JsEhkKCGp1bXBfdXJsGAMgASgJUgdqdW1wVXJsEjYKA2ZhbhgEIAEoCzIkLmJpbGliaWxpLmFw' + 'cC5keW5hbWljLnYyLkRlY29DYXJkRmFuUgNmYW4='); + +@$core.Deprecated('Use descriptionDescriptor instead') +const Description$json = { + '1': 'Description', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.DescType', '10': 'type'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'emoji_type', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.EmojiType', '10': 'emojiType'}, + {'1': 'goods_type', '3': 5, '4': 1, '5': 9, '10': 'goodsType'}, + {'1': 'icon_url', '3': 6, '4': 1, '5': 9, '10': 'iconUrl'}, + {'1': 'icon_name', '3': 7, '4': 1, '5': 9, '10': 'iconName'}, + {'1': 'rid', '3': 8, '4': 1, '5': 9, '10': 'rid'}, + {'1': 'goods', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleDescGoods', '10': 'goods'}, + {'1': 'orig_text', '3': 10, '4': 1, '5': 9, '10': 'origText'}, + {'1': 'emoji_size', '3': 11, '4': 1, '5': 5, '10': 'emojiSize'}, + {'1': 'emoji_size_spec', '3': 12, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.EmojiSizeSpec', '10': 'emojiSizeSpec'}, + ], +}; + +/// Descriptor for `Description`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List descriptionDescriptor = $convert.base64Decode( + 'CgtEZXNjcmlwdGlvbhISCgR0ZXh0GAEgASgJUgR0ZXh0EjUKBHR5cGUYAiABKA4yIS5iaWxpYm' + 'lsaS5hcHAuZHluYW1pYy52Mi5EZXNjVHlwZVIEdHlwZRIQCgN1cmkYAyABKAlSA3VyaRJBCgpl' + 'bW9qaV90eXBlGAQgASgOMiIuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuRW1vamlUeXBlUgllbW' + '9qaVR5cGUSHQoKZ29vZHNfdHlwZRgFIAEoCVIJZ29vZHNUeXBlEhkKCGljb25fdXJsGAYgASgJ' + 'UgdpY29uVXJsEhsKCWljb25fbmFtZRgHIAEoCVIIaWNvbk5hbWUSEAoDcmlkGAggASgJUgNyaW' + 'QSPgoFZ29vZHMYCSABKAsyKC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVEZXNjR29v' + 'ZHNSBWdvb2RzEhsKCW9yaWdfdGV4dBgKIAEoCVIIb3JpZ1RleHQSHQoKZW1vamlfc2l6ZRgLIA' + 'EoBVIJZW1vamlTaXplEk4KD2Vtb2ppX3NpemVfc3BlYxgMIAEoCzImLmJpbGliaWxpLmFwcC5k' + 'eW5hbWljLnYyLkVtb2ppU2l6ZVNwZWNSDWVtb2ppU2l6ZVNwZWM='); + +@$core.Deprecated('Use dimensionDescriptor instead') +const Dimension$json = { + '1': 'Dimension', + '2': [ + {'1': 'height', '3': 1, '4': 1, '5': 3, '10': 'height'}, + {'1': 'width', '3': 2, '4': 1, '5': 3, '10': 'width'}, + {'1': 'rotate', '3': 3, '4': 1, '5': 3, '10': 'rotate'}, + ], +}; + +/// Descriptor for `Dimension`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dimensionDescriptor = $convert.base64Decode( + 'CglEaW1lbnNpb24SFgoGaGVpZ2h0GAEgASgDUgZoZWlnaHQSFAoFd2lkdGgYAiABKANSBXdpZH' + 'RoEhYKBnJvdGF0ZRgDIAEoA1IGcm90YXRl'); + +@$core.Deprecated('Use dynAdditionCommonFollowReplyDescriptor instead') +const DynAdditionCommonFollowReply$json = { + '1': 'DynAdditionCommonFollowReply', + '2': [ + {'1': 'status', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.AdditionalButtonStatus', '10': 'status'}, + ], +}; + +/// Descriptor for `DynAdditionCommonFollowReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynAdditionCommonFollowReplyDescriptor = $convert.base64Decode( + 'ChxEeW5BZGRpdGlvbkNvbW1vbkZvbGxvd1JlcGx5EkcKBnN0YXR1cxgBIAEoDjIvLmJpbGliaW' + 'xpLmFwcC5keW5hbWljLnYyLkFkZGl0aW9uYWxCdXR0b25TdGF0dXNSBnN0YXR1cw=='); + +@$core.Deprecated('Use dynAdditionCommonFollowReqDescriptor instead') +const DynAdditionCommonFollowReq$json = { + '1': 'DynAdditionCommonFollowReq', + '2': [ + {'1': 'status', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.AdditionalButtonStatus', '10': 'status'}, + {'1': 'dyn_id', '3': 2, '4': 1, '5': 9, '10': 'dynId'}, + {'1': 'card_type', '3': 3, '4': 1, '5': 9, '10': 'cardType'}, + ], +}; + +/// Descriptor for `DynAdditionCommonFollowReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynAdditionCommonFollowReqDescriptor = $convert.base64Decode( + 'ChpEeW5BZGRpdGlvbkNvbW1vbkZvbGxvd1JlcRJHCgZzdGF0dXMYASABKA4yLy5iaWxpYmlsaS' + '5hcHAuZHluYW1pYy52Mi5BZGRpdGlvbmFsQnV0dG9uU3RhdHVzUgZzdGF0dXMSFQoGZHluX2lk' + 'GAIgASgJUgVkeW5JZBIbCgljYXJkX3R5cGUYAyABKAlSCGNhcmRUeXBl'); + +@$core.Deprecated('Use dynAllPersonalReplyDescriptor instead') +const DynAllPersonalReply$json = { + '1': 'DynAllPersonalReply', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'has_more', '3': 3, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'read_offset', '3': 4, '4': 1, '5': 9, '10': 'readOffset'}, + {'1': 'relation', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Relation', '10': 'relation'}, + {'1': 'addition_up', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopAdditionUP', '10': 'additionUp'}, + {'1': 'title', '3': 7, '4': 1, '5': 9, '10': 'title'}, + {'1': 'title_sub', '3': 8, '4': 1, '5': 9, '10': 'titleSub'}, + ], +}; + +/// Descriptor for `DynAllPersonalReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynAllPersonalReplyDescriptor = $convert.base64Decode( + 'ChNEeW5BbGxQZXJzb25hbFJlcGx5EjgKBGxpc3QYASADKAsyJC5iaWxpYmlsaS5hcHAuZHluYW' + '1pYy52Mi5EeW5hbWljSXRlbVIEbGlzdBIWCgZvZmZzZXQYAiABKAlSBm9mZnNldBIZCghoYXNf' + 'bW9yZRgDIAEoCFIHaGFzTW9yZRIfCgtyZWFkX29mZnNldBgEIAEoCVIKcmVhZE9mZnNldBI9Cg' + 'hyZWxhdGlvbhgFIAEoCzIhLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJlbGF0aW9uUghyZWxh' + 'dGlvbhJHCgthZGRpdGlvbl91cBgGIAEoCzImLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRvcE' + 'FkZGl0aW9uVVBSCmFkZGl0aW9uVXASFAoFdGl0bGUYByABKAlSBXRpdGxlEhsKCXRpdGxlX3N1' + 'YhgIIAEoCVIIdGl0bGVTdWI='); + +@$core.Deprecated('Use dynAllPersonalReqDescriptor instead') +const DynAllPersonalReq$json = { + '1': 'DynAllPersonalReq', + '2': [ + {'1': 'host_uid', '3': 1, '4': 1, '5': 3, '10': 'hostUid'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'page', '3': 3, '4': 1, '5': 5, '10': 'page'}, + {'1': 'is_preload', '3': 4, '4': 1, '5': 5, '10': 'isPreload'}, + {'1': 'playurl_param', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.PlayurlParam', '10': 'playurlParam'}, + {'1': 'local_time', '3': 6, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'footprint', '3': 7, '4': 1, '5': 9, '10': 'footprint'}, + {'1': 'from', '3': 8, '4': 1, '5': 9, '10': 'from'}, + {'1': 'player_args', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'personal_extra', '3': 10, '4': 1, '5': 9, '10': 'personalExtra'}, + ], +}; + +/// Descriptor for `DynAllPersonalReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynAllPersonalReqDescriptor = $convert.base64Decode( + 'ChFEeW5BbGxQZXJzb25hbFJlcRIZCghob3N0X3VpZBgBIAEoA1IHaG9zdFVpZBIWCgZvZmZzZX' + 'QYAiABKAlSBm9mZnNldBISCgRwYWdlGAMgASgFUgRwYWdlEh0KCmlzX3ByZWxvYWQYBCABKAVS' + 'CWlzUHJlbG9hZBJKCg1wbGF5dXJsX3BhcmFtGAUgASgLMiUuYmlsaWJpbGkuYXBwLmR5bmFtaW' + 'MudjIuUGxheXVybFBhcmFtUgxwbGF5dXJsUGFyYW0SHQoKbG9jYWxfdGltZRgGIAEoBVIJbG9j' + 'YWxUaW1lEhwKCWZvb3RwcmludBgHIAEoCVIJZm9vdHByaW50EhIKBGZyb20YCCABKAlSBGZyb2' + '0STwoLcGxheWVyX2FyZ3MYCSABKAsyLi5iaWxpYmlsaS5hcHAuYXJjaGl2ZS5taWRkbGV3YXJl' + 'LnYxLlBsYXllckFyZ3NSCnBsYXllckFyZ3MSJQoOcGVyc29uYWxfZXh0cmEYCiABKAlSDXBlcn' + 'NvbmFsRXh0cmE='); + +@$core.Deprecated('Use dynAllReplyDescriptor instead') +const DynAllReply$json = { + '1': 'DynAllReply', + '2': [ + {'1': 'dynamic_list', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicList', '10': 'dynamicList'}, + {'1': 'up_list', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CardVideoUpList', '10': 'upList'}, + {'1': 'topic_list', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicList', '10': 'topicList'}, + {'1': 'unfollow', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Unfollow', '10': 'unfollow'}, + {'1': 'region_rcmd', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynRegionRcmd', '10': 'regionRcmd'}, + {'1': 'config', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Config', '10': 'config'}, + ], +}; + +/// Descriptor for `DynAllReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynAllReplyDescriptor = $convert.base64Decode( + 'CgtEeW5BbGxSZXBseRJHCgxkeW5hbWljX2xpc3QYASABKAsyJC5iaWxpYmlsaS5hcHAuZHluYW' + '1pYy52Mi5EeW5hbWljTGlzdFILZHluYW1pY0xpc3QSQQoHdXBfbGlzdBgCIAEoCzIoLmJpbGli' + 'aWxpLmFwcC5keW5hbWljLnYyLkNhcmRWaWRlb1VwTGlzdFIGdXBMaXN0EkEKCnRvcGljX2xpc3' + 'QYAyABKAsyIi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Ub3BpY0xpc3RSCXRvcGljTGlzdBI9' + 'Cgh1bmZvbGxvdxgEIAEoCzIhLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlVuZm9sbG93Ugh1bm' + 'ZvbGxvdxJHCgtyZWdpb25fcmNtZBgFIAEoCzImLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkR5' + 'blJlZ2lvblJjbWRSCnJlZ2lvblJjbWQSNwoGY29uZmlnGAYgASgLMh8uYmlsaWJpbGkuYXBwLm' + 'R5bmFtaWMudjIuQ29uZmlnUgZjb25maWc='); + +@$core.Deprecated('Use dynAllReqDescriptor instead') +const DynAllReq$json = { + '1': 'DynAllReq', + '2': [ + {'1': 'update_baseline', '3': 1, '4': 1, '5': 9, '10': 'updateBaseline'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'page', '3': 3, '4': 1, '5': 5, '10': 'page'}, + {'1': 'refresh_type', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.Refresh', '10': 'refreshType'}, + {'1': 'playurl_param', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.PlayurlParam', '10': 'playurlParam'}, + {'1': 'assist_baseline', '3': 6, '4': 1, '5': 9, '10': 'assistBaseline'}, + {'1': 'local_time', '3': 7, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'rcmd_ups_param', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdUPsParam', '10': 'rcmdUpsParam'}, + {'1': 'ad_param', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdParam', '10': 'adParam'}, + {'1': 'cold_start', '3': 10, '4': 1, '5': 5, '10': 'coldStart'}, + {'1': 'from', '3': 11, '4': 1, '5': 9, '10': 'from'}, + {'1': 'player_args', '3': 12, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'tab_recall_uid', '3': 13, '4': 1, '5': 3, '10': 'tabRecallUid'}, + {'1': 'tab_recall_type', '3': 14, '4': 1, '5': 5, '10': 'tabRecallType'}, + ], +}; + +/// Descriptor for `DynAllReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynAllReqDescriptor = $convert.base64Decode( + 'CglEeW5BbGxSZXESJwoPdXBkYXRlX2Jhc2VsaW5lGAEgASgJUg51cGRhdGVCYXNlbGluZRIWCg' + 'ZvZmZzZXQYAiABKAlSBm9mZnNldBISCgRwYWdlGAMgASgFUgRwYWdlEkMKDHJlZnJlc2hfdHlw' + 'ZRgEIAEoDjIgLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJlZnJlc2hSC3JlZnJlc2hUeXBlEk' + 'oKDXBsYXl1cmxfcGFyYW0YBSABKAsyJS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5QbGF5dXJs' + 'UGFyYW1SDHBsYXl1cmxQYXJhbRInCg9hc3Npc3RfYmFzZWxpbmUYBiABKAlSDmFzc2lzdEJhc2' + 'VsaW5lEh0KCmxvY2FsX3RpbWUYByABKAVSCWxvY2FsVGltZRJLCg5yY21kX3Vwc19wYXJhbRgI' + 'IAEoCzIlLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJjbWRVUHNQYXJhbVIMcmNtZFVwc1Bhcm' + 'FtEjsKCGFkX3BhcmFtGAkgASgLMiAuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQWRQYXJhbVIH' + 'YWRQYXJhbRIdCgpjb2xkX3N0YXJ0GAogASgFUgljb2xkU3RhcnQSEgoEZnJvbRgLIAEoCVIEZn' + 'JvbRJPCgtwbGF5ZXJfYXJncxgMIAEoCzIuLmJpbGliaWxpLmFwcC5hcmNoaXZlLm1pZGRsZXdh' + 'cmUudjEuUGxheWVyQXJnc1IKcGxheWVyQXJncxIkCg50YWJfcmVjYWxsX3VpZBgNIAEoA1IMdG' + 'FiUmVjYWxsVWlkEiYKD3RhYl9yZWNhbGxfdHlwZRgOIAEoBVINdGFiUmVjYWxsVHlwZQ=='); + +@$core.Deprecated('Use dynAllUpdOffsetReqDescriptor instead') +const DynAllUpdOffsetReq$json = { + '1': 'DynAllUpdOffsetReq', + '2': [ + {'1': 'host_uid', '3': 1, '4': 1, '5': 3, '10': 'hostUid'}, + {'1': 'read_offset', '3': 2, '4': 1, '5': 9, '10': 'readOffset'}, + {'1': 'footprint', '3': 3, '4': 1, '5': 9, '10': 'footprint'}, + {'1': 'personal_extra', '3': 4, '4': 1, '5': 9, '10': 'personalExtra'}, + ], +}; + +/// Descriptor for `DynAllUpdOffsetReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynAllUpdOffsetReqDescriptor = $convert.base64Decode( + 'ChJEeW5BbGxVcGRPZmZzZXRSZXESGQoIaG9zdF91aWQYASABKANSB2hvc3RVaWQSHwoLcmVhZF' + '9vZmZzZXQYAiABKAlSCnJlYWRPZmZzZXQSHAoJZm9vdHByaW50GAMgASgJUglmb290cHJpbnQS' + 'JQoOcGVyc29uYWxfZXh0cmEYBCABKAlSDXBlcnNvbmFsRXh0cmE='); + +@$core.Deprecated('Use dynamicItemDescriptor instead') +const DynamicItem$json = { + '1': 'DynamicItem', + '2': [ + {'1': 'card_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.DynamicType', '10': 'cardType'}, + {'1': 'item_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.DynamicType', '10': 'itemType'}, + {'1': 'modules', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.Module', '10': 'modules'}, + {'1': 'extend', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Extend', '10': 'extend'}, + {'1': 'has_fold', '3': 5, '4': 1, '5': 5, '10': 'hasFold'}, + {'1': 'server_info', '3': 6, '4': 1, '5': 9, '10': 'serverInfo'}, + ], +}; + +/// Descriptor for `DynamicItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynamicItemDescriptor = $convert.base64Decode( + 'CgtEeW5hbWljSXRlbRJBCgljYXJkX3R5cGUYASABKA4yJC5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5EeW5hbWljVHlwZVIIY2FyZFR5cGUSQQoJaXRlbV90eXBlGAIgASgOMiQuYmlsaWJpbGku' + 'YXBwLmR5bmFtaWMudjIuRHluYW1pY1R5cGVSCGl0ZW1UeXBlEjkKB21vZHVsZXMYAyADKAsyHy' + '5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVSB21vZHVsZXMSNwoGZXh0ZW5kGAQgASgL' + 'Mh8uYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuRXh0ZW5kUgZleHRlbmQSGQoIaGFzX2ZvbGQYBS' + 'ABKAVSB2hhc0ZvbGQSHwoLc2VydmVyX2luZm8YBiABKAlSCnNlcnZlckluZm8='); + +@$core.Deprecated('Use dynamicListDescriptor instead') +const DynamicList$json = { + '1': 'DynamicList', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'update_num', '3': 2, '4': 1, '5': 3, '10': 'updateNum'}, + {'1': 'history_offset', '3': 3, '4': 1, '5': 9, '10': 'historyOffset'}, + {'1': 'update_baseline', '3': 4, '4': 1, '5': 9, '10': 'updateBaseline'}, + {'1': 'has_more', '3': 5, '4': 1, '5': 8, '10': 'hasMore'}, + ], +}; + +/// Descriptor for `DynamicList`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynamicListDescriptor = $convert.base64Decode( + 'CgtEeW5hbWljTGlzdBI4CgRsaXN0GAEgAygLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuRH' + 'luYW1pY0l0ZW1SBGxpc3QSHQoKdXBkYXRlX251bRgCIAEoA1IJdXBkYXRlTnVtEiUKDmhpc3Rv' + 'cnlfb2Zmc2V0GAMgASgJUg1oaXN0b3J5T2Zmc2V0EicKD3VwZGF0ZV9iYXNlbGluZRgEIAEoCV' + 'IOdXBkYXRlQmFzZWxpbmUSGQoIaGFzX21vcmUYBSABKAhSB2hhc01vcmU='); + +@$core.Deprecated('Use dynDetailReplyDescriptor instead') +const DynDetailReply$json = { + '1': 'DynDetailReply', + '2': [ + {'1': 'item', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'item'}, + ], +}; + +/// Descriptor for `DynDetailReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynDetailReplyDescriptor = $convert.base64Decode( + 'Cg5EeW5EZXRhaWxSZXBseRI4CgRpdGVtGAEgASgLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuRHluYW1pY0l0ZW1SBGl0ZW0='); + +@$core.Deprecated('Use dynDetailReqDescriptor instead') +const DynDetailReq$json = { + '1': 'DynDetailReq', + '2': [ + {'1': 'uid', '3': 1, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'dynamic_id', '3': 2, '4': 1, '5': 9, '10': 'dynamicId'}, + {'1': 'dyn_type', '3': 3, '4': 1, '5': 3, '10': 'dynType'}, + {'1': 'rid', '3': 4, '4': 1, '5': 3, '10': 'rid'}, + {'1': 'ad_param', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdParam', '10': 'adParam'}, + {'1': 'from', '3': 6, '4': 1, '5': 9, '10': 'from'}, + {'1': 'player_args', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'share_id', '3': 8, '4': 1, '5': 9, '10': 'shareId'}, + {'1': 'share_mode', '3': 9, '4': 1, '5': 5, '10': 'shareMode'}, + {'1': 'local_time', '3': 10, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'pattern', '3': 11, '4': 1, '5': 9, '10': 'pattern'}, + {'1': 'config', '3': 12, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Config', '10': 'config'}, + ], +}; + +/// Descriptor for `DynDetailReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynDetailReqDescriptor = $convert.base64Decode( + 'CgxEeW5EZXRhaWxSZXESEAoDdWlkGAEgASgDUgN1aWQSHQoKZHluYW1pY19pZBgCIAEoCVIJZH' + 'luYW1pY0lkEhkKCGR5bl90eXBlGAMgASgDUgdkeW5UeXBlEhAKA3JpZBgEIAEoA1IDcmlkEjsK' + 'CGFkX3BhcmFtGAUgASgLMiAuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQWRQYXJhbVIHYWRQYX' + 'JhbRISCgRmcm9tGAYgASgJUgRmcm9tEk8KC3BsYXllcl9hcmdzGAcgASgLMi4uYmlsaWJpbGku' + 'YXBwLmFyY2hpdmUubWlkZGxld2FyZS52MS5QbGF5ZXJBcmdzUgpwbGF5ZXJBcmdzEhkKCHNoYX' + 'JlX2lkGAggASgJUgdzaGFyZUlkEh0KCnNoYXJlX21vZGUYCSABKAVSCXNoYXJlTW9kZRIdCgps' + 'b2NhbF90aW1lGAogASgFUglsb2NhbFRpbWUSGAoHcGF0dGVybhgLIAEoCVIHcGF0dGVybhI3Cg' + 'Zjb25maWcYDCABKAsyHy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Db25maWdSBmNvbmZpZw=='); + +@$core.Deprecated('Use dynDetailsReplyDescriptor instead') +const DynDetailsReply$json = { + '1': 'DynDetailsReply', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + ], +}; + +/// Descriptor for `DynDetailsReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynDetailsReplyDescriptor = $convert.base64Decode( + 'Cg9EeW5EZXRhaWxzUmVwbHkSOAoEbGlzdBgBIAMoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLn' + 'YyLkR5bmFtaWNJdGVtUgRsaXN0'); + +@$core.Deprecated('Use dynDetailsReqDescriptor instead') +const DynDetailsReq$json = { + '1': 'DynDetailsReq', + '2': [ + {'1': 'dynamic_ids', '3': 1, '4': 1, '5': 9, '10': 'dynamicIds'}, + {'1': 'playurl_param', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.PlayurlParam', '10': 'playurlParam'}, + {'1': 'local_time', '3': 3, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'player_args', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'config', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Config', '10': 'config'}, + ], +}; + +/// Descriptor for `DynDetailsReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynDetailsReqDescriptor = $convert.base64Decode( + 'Cg1EeW5EZXRhaWxzUmVxEh8KC2R5bmFtaWNfaWRzGAEgASgJUgpkeW5hbWljSWRzEkoKDXBsYX' + 'l1cmxfcGFyYW0YAiABKAsyJS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5QbGF5dXJsUGFyYW1S' + 'DHBsYXl1cmxQYXJhbRIdCgpsb2NhbF90aW1lGAMgASgFUglsb2NhbFRpbWUSTwoLcGxheWVyX2' + 'FyZ3MYBCABKAsyLi5iaWxpYmlsaS5hcHAuYXJjaGl2ZS5taWRkbGV3YXJlLnYxLlBsYXllckFy' + 'Z3NSCnBsYXllckFyZ3MSNwoGY29uZmlnGAUgASgLMh8uYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuQ29uZmlnUgZjb25maWc='); + +@$core.Deprecated('Use dynFakeCardReplyDescriptor instead') +const DynFakeCardReply$json = { + '1': 'DynFakeCardReply', + '2': [ + {'1': 'item', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'item'}, + ], +}; + +/// Descriptor for `DynFakeCardReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynFakeCardReplyDescriptor = $convert.base64Decode( + 'ChBEeW5GYWtlQ2FyZFJlcGx5EjgKBGl0ZW0YASABKAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5EeW5hbWljSXRlbVIEaXRlbQ=='); + +@$core.Deprecated('Use dynFakeCardReqDescriptor instead') +const DynFakeCardReq$json = { + '1': 'DynFakeCardReq', + '2': [ + {'1': 'content', '3': 1, '4': 1, '5': 9, '10': 'content'}, + ], +}; + +/// Descriptor for `DynFakeCardReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynFakeCardReqDescriptor = $convert.base64Decode( + 'Cg5EeW5GYWtlQ2FyZFJlcRIYCgdjb250ZW50GAEgASgJUgdjb250ZW50'); + +@$core.Deprecated('Use dynFeatureGateDescriptor instead') +const DynFeatureGate$json = { + '1': 'DynFeatureGate', + '2': [ + {'1': 'enhanced_interaction', '3': 1, '4': 1, '5': 8, '10': 'enhancedInteraction'}, + ], +}; + +/// Descriptor for `DynFeatureGate`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynFeatureGateDescriptor = $convert.base64Decode( + 'Cg5EeW5GZWF0dXJlR2F0ZRIxChRlbmhhbmNlZF9pbnRlcmFjdGlvbhgBIAEoCFITZW5oYW5jZW' + 'RJbnRlcmFjdGlvbg=='); + +@$core.Deprecated('Use dynFriendReplyDescriptor instead') +const DynFriendReply$json = { + '1': 'DynFriendReply', + '2': [ + {'1': 'dyn_list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'dynList'}, + {'1': 'has_more', '3': 2, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'offset', '3': 3, '4': 1, '5': 9, '10': 'offset'}, + ], +}; + +/// Descriptor for `DynFriendReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynFriendReplyDescriptor = $convert.base64Decode( + 'Cg5EeW5GcmllbmRSZXBseRI/CghkeW5fbGlzdBgBIAMoCzIkLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLkR5bmFtaWNJdGVtUgdkeW5MaXN0EhkKCGhhc19tb3JlGAIgASgIUgdoYXNNb3JlEhYK' + 'Bm9mZnNldBgDIAEoCVIGb2Zmc2V0'); + +@$core.Deprecated('Use dynFriendReqDescriptor instead') +const DynFriendReq$json = { + '1': 'DynFriendReq', + '2': [ + {'1': 'offset', '3': 1, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'local_time', '3': 2, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'player_args', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + ], +}; + +/// Descriptor for `DynFriendReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynFriendReqDescriptor = $convert.base64Decode( + 'CgxEeW5GcmllbmRSZXESFgoGb2Zmc2V0GAEgASgJUgZvZmZzZXQSHQoKbG9jYWxfdGltZRgCIA' + 'EoBVIJbG9jYWxUaW1lEk8KC3BsYXllcl9hcmdzGAMgASgLMi4uYmlsaWJpbGkuYXBwLmFyY2hp' + 'dmUubWlkZGxld2FyZS52MS5QbGF5ZXJBcmdzUgpwbGF5ZXJBcmdz'); + +@$core.Deprecated('Use dynLightReplyDescriptor instead') +const DynLightReply$json = { + '1': 'DynLightReply', + '2': [ + {'1': 'dynamic_list', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicList', '10': 'dynamicList'}, + ], +}; + +/// Descriptor for `DynLightReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynLightReplyDescriptor = $convert.base64Decode( + 'Cg1EeW5MaWdodFJlcGx5EkcKDGR5bmFtaWNfbGlzdBgBIAEoCzIkLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLkR5bmFtaWNMaXN0UgtkeW5hbWljTGlzdA=='); + +@$core.Deprecated('Use dynLightReqDescriptor instead') +const DynLightReq$json = { + '1': 'DynLightReq', + '2': [ + {'1': 'history_offset', '3': 1, '4': 1, '5': 9, '10': 'historyOffset'}, + {'1': 'page', '3': 2, '4': 1, '5': 5, '10': 'page'}, + {'1': 'from', '3': 3, '4': 1, '5': 9, '10': 'from'}, + {'1': 'player_args', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'local_time', '3': 5, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'from_type', '3': 6, '4': 1, '5': 5, '10': 'fromType'}, + {'1': 'fake_uid', '3': 7, '4': 1, '5': 3, '10': 'fakeUid'}, + ], +}; + +/// Descriptor for `DynLightReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynLightReqDescriptor = $convert.base64Decode( + 'CgtEeW5MaWdodFJlcRIlCg5oaXN0b3J5X29mZnNldBgBIAEoCVINaGlzdG9yeU9mZnNldBISCg' + 'RwYWdlGAIgASgFUgRwYWdlEhIKBGZyb20YAyABKAlSBGZyb20STwoLcGxheWVyX2FyZ3MYBCAB' + 'KAsyLi5iaWxpYmlsaS5hcHAuYXJjaGl2ZS5taWRkbGV3YXJlLnYxLlBsYXllckFyZ3NSCnBsYX' + 'llckFyZ3MSHQoKbG9jYWxfdGltZRgFIAEoBVIJbG9jYWxUaW1lEhsKCWZyb21fdHlwZRgGIAEo' + 'BVIIZnJvbVR5cGUSGQoIZmFrZV91aWQYByABKANSB2Zha2VVaWQ='); + +@$core.Deprecated('Use dynMixUpListViewMoreReplyDescriptor instead') +const DynMixUpListViewMoreReply$json = { + '1': 'DynMixUpListViewMoreReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.MixUpListItem', '10': 'items'}, + {'1': 'search_default_text', '3': 2, '4': 1, '5': 9, '10': 'searchDefaultText'}, + {'1': 'sort_types', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.SortType', '10': 'sortTypes'}, + {'1': 'show_more_sort_types', '3': 4, '4': 1, '5': 8, '10': 'showMoreSortTypes'}, + {'1': 'default_sort_type', '3': 5, '4': 1, '5': 5, '10': 'defaultSortType'}, + ], +}; + +/// Descriptor for `DynMixUpListViewMoreReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynMixUpListViewMoreReplyDescriptor = $convert.base64Decode( + 'ChlEeW5NaXhVcExpc3RWaWV3TW9yZVJlcGx5EjwKBWl0ZW1zGAEgAygLMiYuYmlsaWJpbGkuYX' + 'BwLmR5bmFtaWMudjIuTWl4VXBMaXN0SXRlbVIFaXRlbXMSLgoTc2VhcmNoX2RlZmF1bHRfdGV4' + 'dBgCIAEoCVIRc2VhcmNoRGVmYXVsdFRleHQSQAoKc29ydF90eXBlcxgDIAMoCzIhLmJpbGliaW' + 'xpLmFwcC5keW5hbWljLnYyLlNvcnRUeXBlUglzb3J0VHlwZXMSLwoUc2hvd19tb3JlX3NvcnRf' + 'dHlwZXMYBCABKAhSEXNob3dNb3JlU29ydFR5cGVzEioKEWRlZmF1bHRfc29ydF90eXBlGAUgAS' + 'gFUg9kZWZhdWx0U29ydFR5cGU='); + +@$core.Deprecated('Use dynMixUpListViewMoreReqDescriptor instead') +const DynMixUpListViewMoreReq$json = { + '1': 'DynMixUpListViewMoreReq', + '2': [ + {'1': 'sort_type', '3': 1, '4': 1, '5': 5, '10': 'sortType'}, + ], +}; + +/// Descriptor for `DynMixUpListViewMoreReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynMixUpListViewMoreReqDescriptor = $convert.base64Decode( + 'ChdEeW5NaXhVcExpc3RWaWV3TW9yZVJlcRIbCglzb3J0X3R5cGUYASABKAVSCHNvcnRUeXBl'); + +@$core.Deprecated('Use dynRcmdReplyDescriptor instead') +const DynRcmdReply$json = { + '1': 'DynRcmdReply', + '2': [ + {'1': 'region_rcmd', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynRegionRcmd', '10': 'regionRcmd'}, + {'1': 'dynamic_list', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicList', '10': 'dynamicList'}, + ], +}; + +/// Descriptor for `DynRcmdReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynRcmdReplyDescriptor = $convert.base64Decode( + 'CgxEeW5SY21kUmVwbHkSRwoLcmVnaW9uX3JjbWQYASABKAsyJi5iaWxpYmlsaS5hcHAuZHluYW' + '1pYy52Mi5EeW5SZWdpb25SY21kUgpyZWdpb25SY21kEkcKDGR5bmFtaWNfbGlzdBgCIAEoCzIk' + 'LmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkR5bmFtaWNMaXN0UgtkeW5hbWljTGlzdA=='); + +@$core.Deprecated('Use dynRcmdReqDescriptor instead') +const DynRcmdReq$json = { + '1': 'DynRcmdReq', + '2': [ + {'1': 'player_args', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'local_time', '3': 2, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'fake_uid', '3': 3, '4': 1, '5': 3, '10': 'fakeUid'}, + {'1': 'is_refresh', '3': 4, '4': 1, '5': 8, '10': 'isRefresh'}, + ], +}; + +/// Descriptor for `DynRcmdReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynRcmdReqDescriptor = $convert.base64Decode( + 'CgpEeW5SY21kUmVxEk8KC3BsYXllcl9hcmdzGAEgASgLMi4uYmlsaWJpbGkuYXBwLmFyY2hpdm' + 'UubWlkZGxld2FyZS52MS5QbGF5ZXJBcmdzUgpwbGF5ZXJBcmdzEh0KCmxvY2FsX3RpbWUYAiAB' + 'KAVSCWxvY2FsVGltZRIZCghmYWtlX3VpZBgDIAEoA1IHZmFrZVVpZBIdCgppc19yZWZyZXNoGA' + 'QgASgIUglpc1JlZnJlc2g='); + +@$core.Deprecated('Use dynRcmdUpExchangeReplyDescriptor instead') +const DynRcmdUpExchangeReply$json = { + '1': 'DynRcmdUpExchangeReply', + '2': [ + {'1': 'unfollow', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Unfollow', '10': 'unfollow'}, + ], +}; + +/// Descriptor for `DynRcmdUpExchangeReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynRcmdUpExchangeReplyDescriptor = $convert.base64Decode( + 'ChZEeW5SY21kVXBFeGNoYW5nZVJlcGx5Ej0KCHVuZm9sbG93GAEgASgLMiEuYmlsaWJpbGkuYX' + 'BwLmR5bmFtaWMudjIuVW5mb2xsb3dSCHVuZm9sbG93'); + +@$core.Deprecated('Use dynRcmdUpExchangeReqDescriptor instead') +const DynRcmdUpExchangeReq$json = { + '1': 'DynRcmdUpExchangeReq', + '2': [ + {'1': 'uid', '3': 1, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'dislikeTs', '3': 2, '4': 1, '5': 3, '10': 'dislikeTs'}, + {'1': 'from', '3': 3, '4': 1, '5': 9, '10': 'from'}, + ], +}; + +/// Descriptor for `DynRcmdUpExchangeReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynRcmdUpExchangeReqDescriptor = $convert.base64Decode( + 'ChREeW5SY21kVXBFeGNoYW5nZVJlcRIQCgN1aWQYASABKANSA3VpZBIcCglkaXNsaWtlVHMYAi' + 'ABKANSCWRpc2xpa2VUcxISCgRmcm9tGAMgASgJUgRmcm9t'); + +@$core.Deprecated('Use dynRegionRcmdDescriptor instead') +const DynRegionRcmd$json = { + '1': 'DynRegionRcmd', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynRegionRcmdItem', '10': 'items'}, + {'1': 'opts', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdOption', '10': 'opts'}, + ], +}; + +/// Descriptor for `DynRegionRcmd`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynRegionRcmdDescriptor = $convert.base64Decode( + 'Cg1EeW5SZWdpb25SY21kEkAKBWl0ZW1zGAEgAygLMiouYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuRHluUmVnaW9uUmNtZEl0ZW1SBWl0ZW1zEjcKBG9wdHMYAiABKAsyIy5iaWxpYmlsaS5hcHAu' + 'ZHluYW1pYy52Mi5SY21kT3B0aW9uUgRvcHRz'); + +@$core.Deprecated('Use dynRegionRcmdItemDescriptor instead') +const DynRegionRcmdItem$json = { + '1': 'DynRegionRcmdItem', + '2': [ + {'1': 'rid', '3': 1, '4': 1, '5': 3, '10': 'rid'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'items', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleRcmd', '10': 'items'}, + ], +}; + +/// Descriptor for `DynRegionRcmdItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynRegionRcmdItemDescriptor = $convert.base64Decode( + 'ChFEeW5SZWdpb25SY21kSXRlbRIQCgNyaWQYASABKANSA3JpZBIUCgV0aXRsZRgCIAEoCVIFdG' + 'l0bGUSOQoFaXRlbXMYAyADKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVSY21k' + 'UgVpdGVtcw=='); + +@$core.Deprecated('Use dynScreenTabDescriptor instead') +const DynScreenTab$json = { + '1': 'DynScreenTab', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'default_tab', '3': 3, '4': 1, '5': 8, '10': 'defaultTab'}, + {'1': 'strategy_show_on_entrance', '3': 4, '4': 1, '5': 8, '10': 'strategyShowOnEntrance'}, + {'1': 'strategy_show_on_refresh', '3': 5, '4': 1, '5': 8, '10': 'strategyShowOnRefresh'}, + {'1': 'strategy_show_on_pull_up', '3': 6, '4': 1, '5': 8, '10': 'strategyShowOnPullUp'}, + ], +}; + +/// Descriptor for `DynScreenTab`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynScreenTabDescriptor = $convert.base64Decode( + 'CgxEeW5TY3JlZW5UYWISFAoFdGl0bGUYASABKAlSBXRpdGxlEhIKBG5hbWUYAiABKAlSBG5hbW' + 'USHwoLZGVmYXVsdF90YWIYAyABKAhSCmRlZmF1bHRUYWISOQoZc3RyYXRlZ3lfc2hvd19vbl9l' + 'bnRyYW5jZRgEIAEoCFIWc3RyYXRlZ3lTaG93T25FbnRyYW5jZRI3ChhzdHJhdGVneV9zaG93X2' + '9uX3JlZnJlc2gYBSABKAhSFXN0cmF0ZWd5U2hvd09uUmVmcmVzaBI2ChhzdHJhdGVneV9zaG93' + 'X29uX3B1bGxfdXAYBiABKAhSFHN0cmF0ZWd5U2hvd09uUHVsbFVw'); + +@$core.Deprecated('Use dynSearchReplyDescriptor instead') +const DynSearchReply$json = { + '1': 'DynSearchReply', + '2': [ + {'1': 'channel_info', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.SearchChannel', '10': 'channelInfo'}, + {'1': 'search_topic', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.SearchTopic', '10': 'searchTopic'}, + {'1': 'search_info', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.SearchInfo', '10': 'searchInfo'}, + ], +}; + +/// Descriptor for `DynSearchReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynSearchReplyDescriptor = $convert.base64Decode( + 'Cg5EeW5TZWFyY2hSZXBseRJJCgxjaGFubmVsX2luZm8YASABKAsyJi5iaWxpYmlsaS5hcHAuZH' + 'luYW1pYy52Mi5TZWFyY2hDaGFubmVsUgtjaGFubmVsSW5mbxJHCgxzZWFyY2hfdG9waWMYAiAB' + 'KAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5TZWFyY2hUb3BpY1ILc2VhcmNoVG9waWMSRA' + 'oLc2VhcmNoX2luZm8YAyABKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5TZWFyY2hJbmZv' + 'UgpzZWFyY2hJbmZv'); + +@$core.Deprecated('Use dynSearchReqDescriptor instead') +const DynSearchReq$json = { + '1': 'DynSearchReq', + '2': [ + {'1': 'keyword', '3': 1, '4': 1, '5': 9, '10': 'keyword'}, + {'1': 'page', '3': 2, '4': 1, '5': 5, '10': 'page'}, + {'1': 'local_time', '3': 3, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'player_args', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + ], +}; + +/// Descriptor for `DynSearchReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynSearchReqDescriptor = $convert.base64Decode( + 'CgxEeW5TZWFyY2hSZXESGAoHa2V5d29yZBgBIAEoCVIHa2V5d29yZBISCgRwYWdlGAIgASgFUg' + 'RwYWdlEh0KCmxvY2FsX3RpbWUYAyABKAVSCWxvY2FsVGltZRJPCgtwbGF5ZXJfYXJncxgEIAEo' + 'CzIuLmJpbGliaWxpLmFwcC5hcmNoaXZlLm1pZGRsZXdhcmUudjEuUGxheWVyQXJnc1IKcGxheW' + 'VyQXJncw=='); + +@$core.Deprecated('Use dynServerDetailsReplyDescriptor instead') +const DynServerDetailsReply$json = { + '1': 'DynServerDetailsReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynServerDetailsReply.ItemsEntry', '10': 'items'}, + ], + '3': [DynServerDetailsReply_ItemsEntry$json], +}; + +@$core.Deprecated('Use dynServerDetailsReplyDescriptor instead') +const DynServerDetailsReply_ItemsEntry$json = { + '1': 'ItemsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 3, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'value'}, + ], + '7': {'7': true}, +}; + +/// Descriptor for `DynServerDetailsReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynServerDetailsReplyDescriptor = $convert.base64Decode( + 'ChVEeW5TZXJ2ZXJEZXRhaWxzUmVwbHkSTwoFaXRlbXMYASADKAsyOS5iaWxpYmlsaS5hcHAuZH' + 'luYW1pYy52Mi5EeW5TZXJ2ZXJEZXRhaWxzUmVwbHkuSXRlbXNFbnRyeVIFaXRlbXMaXgoKSXRl' + 'bXNFbnRyeRIQCgNrZXkYASABKANSA2tleRI6CgV2YWx1ZRgCIAEoCzIkLmJpbGliaWxpLmFwcC' + '5keW5hbWljLnYyLkR5bmFtaWNJdGVtUgV2YWx1ZToCOAE='); + +@$core.Deprecated('Use dynServerDetailsReqDescriptor instead') +const DynServerDetailsReq$json = { + '1': 'DynServerDetailsReq', + '2': [ + {'1': 'local_time', '3': 2, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'player_args', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'mobi_app', '3': 4, '4': 1, '5': 9, '10': 'mobiApp'}, + {'1': 'device', '3': 5, '4': 1, '5': 9, '10': 'device'}, + {'1': 'buvid', '3': 6, '4': 1, '5': 9, '10': 'buvid'}, + {'1': 'build', '3': 7, '4': 1, '5': 3, '10': 'build'}, + {'1': 'mid', '3': 8, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'platform', '3': 9, '4': 1, '5': 9, '10': 'platform'}, + {'1': 'is_master', '3': 10, '4': 1, '5': 8, '10': 'isMaster'}, + {'1': 'top_dynamic_ids', '3': 11, '4': 3, '5': 3, '10': 'topDynamicIds'}, + ], +}; + +/// Descriptor for `DynServerDetailsReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynServerDetailsReqDescriptor = $convert.base64Decode( + 'ChNEeW5TZXJ2ZXJEZXRhaWxzUmVxEh0KCmxvY2FsX3RpbWUYAiABKAVSCWxvY2FsVGltZRJPCg' + 'twbGF5ZXJfYXJncxgDIAEoCzIuLmJpbGliaWxpLmFwcC5hcmNoaXZlLm1pZGRsZXdhcmUudjEu' + 'UGxheWVyQXJnc1IKcGxheWVyQXJncxIZCghtb2JpX2FwcBgEIAEoCVIHbW9iaUFwcBIWCgZkZX' + 'ZpY2UYBSABKAlSBmRldmljZRIUCgVidXZpZBgGIAEoCVIFYnV2aWQSFAoFYnVpbGQYByABKANS' + 'BWJ1aWxkEhAKA21pZBgIIAEoA1IDbWlkEhoKCHBsYXRmb3JtGAkgASgJUghwbGF0Zm9ybRIbCg' + 'lpc19tYXN0ZXIYCiABKAhSCGlzTWFzdGVyEiYKD3RvcF9keW5hbWljX2lkcxgLIAMoA1INdG9w' + 'RHluYW1pY0lkcw=='); + +@$core.Deprecated('Use dynSpaceReqDescriptor instead') +const DynSpaceReq$json = { + '1': 'DynSpaceReq', + '2': [ + {'1': 'host_uid', '3': 1, '4': 1, '5': 3, '10': 'hostUid'}, + {'1': 'history_offset', '3': 2, '4': 1, '5': 9, '10': 'historyOffset'}, + {'1': 'player_args', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'local_time', '3': 4, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'page', '3': 5, '4': 1, '5': 3, '10': 'page'}, + {'1': 'from', '3': 6, '4': 1, '5': 9, '10': 'from'}, + ], +}; + +/// Descriptor for `DynSpaceReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynSpaceReqDescriptor = $convert.base64Decode( + 'CgtEeW5TcGFjZVJlcRIZCghob3N0X3VpZBgBIAEoA1IHaG9zdFVpZBIlCg5oaXN0b3J5X29mZn' + 'NldBgCIAEoCVINaGlzdG9yeU9mZnNldBJPCgtwbGF5ZXJfYXJncxgDIAEoCzIuLmJpbGliaWxp' + 'LmFwcC5hcmNoaXZlLm1pZGRsZXdhcmUudjEuUGxheWVyQXJnc1IKcGxheWVyQXJncxIdCgpsb2' + 'NhbF90aW1lGAQgASgFUglsb2NhbFRpbWUSEgoEcGFnZRgFIAEoA1IEcGFnZRISCgRmcm9tGAYg' + 'ASgJUgRmcm9t'); + +@$core.Deprecated('Use dynSpaceRspDescriptor instead') +const DynSpaceRsp$json = { + '1': 'DynSpaceRsp', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'history_offset', '3': 2, '4': 1, '5': 9, '10': 'historyOffset'}, + {'1': 'has_more', '3': 3, '4': 1, '5': 8, '10': 'hasMore'}, + ], +}; + +/// Descriptor for `DynSpaceRsp`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynSpaceRspDescriptor = $convert.base64Decode( + 'CgtEeW5TcGFjZVJzcBI4CgRsaXN0GAEgAygLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuRH' + 'luYW1pY0l0ZW1SBGxpc3QSJQoOaGlzdG9yeV9vZmZzZXQYAiABKAlSDWhpc3RvcnlPZmZzZXQS' + 'GQoIaGFzX21vcmUYAyABKAhSB2hhc01vcmU='); + +@$core.Deprecated('Use dynSpaceSearchDetailsReplyDescriptor instead') +const DynSpaceSearchDetailsReply$json = { + '1': 'DynSpaceSearchDetailsReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynSpaceSearchDetailsReply.ItemsEntry', '10': 'items'}, + ], + '3': [DynSpaceSearchDetailsReply_ItemsEntry$json], +}; + +@$core.Deprecated('Use dynSpaceSearchDetailsReplyDescriptor instead') +const DynSpaceSearchDetailsReply_ItemsEntry$json = { + '1': 'ItemsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 3, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'value'}, + ], + '7': {'7': true}, +}; + +/// Descriptor for `DynSpaceSearchDetailsReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynSpaceSearchDetailsReplyDescriptor = $convert.base64Decode( + 'ChpEeW5TcGFjZVNlYXJjaERldGFpbHNSZXBseRJUCgVpdGVtcxgBIAMoCzI+LmJpbGliaWxpLm' + 'FwcC5keW5hbWljLnYyLkR5blNwYWNlU2VhcmNoRGV0YWlsc1JlcGx5Lkl0ZW1zRW50cnlSBWl0' + 'ZW1zGl4KCkl0ZW1zRW50cnkSEAoDa2V5GAEgASgDUgNrZXkSOgoFdmFsdWUYAiABKAsyJC5iaW' + 'xpYmlsaS5hcHAuZHluYW1pYy52Mi5EeW5hbWljSXRlbVIFdmFsdWU6AjgB'); + +@$core.Deprecated('Use dynSpaceSearchDetailsReqDescriptor instead') +const DynSpaceSearchDetailsReq$json = { + '1': 'DynSpaceSearchDetailsReq', + '2': [ + {'1': 'search_words', '3': 2, '4': 3, '5': 9, '10': 'searchWords'}, + {'1': 'local_time', '3': 3, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'player_args', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'mobi_app', '3': 5, '4': 1, '5': 9, '10': 'mobiApp'}, + {'1': 'device', '3': 6, '4': 1, '5': 9, '10': 'device'}, + {'1': 'buvid', '3': 7, '4': 1, '5': 9, '10': 'buvid'}, + {'1': 'build', '3': 8, '4': 1, '5': 3, '10': 'build'}, + {'1': 'mid', '3': 9, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'platform', '3': 10, '4': 1, '5': 9, '10': 'platform'}, + {'1': 'ip', '3': 11, '4': 1, '5': 9, '10': 'ip'}, + {'1': 'net_type', '3': 12, '4': 1, '5': 5, '10': 'netType'}, + {'1': 'tf_type', '3': 13, '4': 1, '5': 5, '10': 'tfType'}, + ], +}; + +/// Descriptor for `DynSpaceSearchDetailsReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynSpaceSearchDetailsReqDescriptor = $convert.base64Decode( + 'ChhEeW5TcGFjZVNlYXJjaERldGFpbHNSZXESIQoMc2VhcmNoX3dvcmRzGAIgAygJUgtzZWFyY2' + 'hXb3JkcxIdCgpsb2NhbF90aW1lGAMgASgFUglsb2NhbFRpbWUSTwoLcGxheWVyX2FyZ3MYBCAB' + 'KAsyLi5iaWxpYmlsaS5hcHAuYXJjaGl2ZS5taWRkbGV3YXJlLnYxLlBsYXllckFyZ3NSCnBsYX' + 'llckFyZ3MSGQoIbW9iaV9hcHAYBSABKAlSB21vYmlBcHASFgoGZGV2aWNlGAYgASgJUgZkZXZp' + 'Y2USFAoFYnV2aWQYByABKAlSBWJ1dmlkEhQKBWJ1aWxkGAggASgDUgVidWlsZBIQCgNtaWQYCS' + 'ABKANSA21pZBIaCghwbGF0Zm9ybRgKIAEoCVIIcGxhdGZvcm0SDgoCaXAYCyABKAlSAmlwEhkK' + 'CG5ldF90eXBlGAwgASgFUgduZXRUeXBlEhcKB3RmX3R5cGUYDSABKAVSBnRmVHlwZQ=='); + +@$core.Deprecated('Use dynTabDescriptor instead') +const DynTab$json = { + '1': 'DynTab', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'bubble', '3': 3, '4': 1, '5': 9, '10': 'bubble'}, + {'1': 'red_point', '3': 4, '4': 1, '5': 5, '10': 'redPoint'}, + {'1': 'city_id', '3': 5, '4': 1, '5': 3, '10': 'cityId'}, + {'1': 'is_popup', '3': 6, '4': 1, '5': 5, '10': 'isPopup'}, + {'1': 'popup', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Popup', '10': 'popup'}, + {'1': 'default_tab', '3': 8, '4': 1, '5': 8, '10': 'defaultTab'}, + {'1': 'sub_title', '3': 9, '4': 1, '5': 9, '10': 'subTitle'}, + {'1': 'anchor', '3': 10, '4': 1, '5': 9, '10': 'anchor'}, + {'1': 'internal_test', '3': 11, '4': 1, '5': 9, '10': 'internalTest'}, + {'1': 'type', '3': 12, '4': 1, '5': 5, '10': 'type'}, + {'1': 'back_up', '3': 13, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynTab', '10': 'backUp'}, + ], +}; + +/// Descriptor for `DynTab`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynTabDescriptor = $convert.base64Decode( + 'CgZEeW5UYWISFAoFdGl0bGUYASABKAlSBXRpdGxlEhAKA3VyaRgCIAEoCVIDdXJpEhYKBmJ1Ym' + 'JsZRgDIAEoCVIGYnViYmxlEhsKCXJlZF9wb2ludBgEIAEoBVIIcmVkUG9pbnQSFwoHY2l0eV9p' + 'ZBgFIAEoA1IGY2l0eUlkEhkKCGlzX3BvcHVwGAYgASgFUgdpc1BvcHVwEjQKBXBvcHVwGAcgAS' + 'gLMh4uYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuUG9wdXBSBXBvcHVwEh8KC2RlZmF1bHRfdGFi' + 'GAggASgIUgpkZWZhdWx0VGFiEhsKCXN1Yl90aXRsZRgJIAEoCVIIc3ViVGl0bGUSFgoGYW5jaG' + '9yGAogASgJUgZhbmNob3ISIwoNaW50ZXJuYWxfdGVzdBgLIAEoCVIMaW50ZXJuYWxUZXN0EhIK' + 'BHR5cGUYDCABKAVSBHR5cGUSOAoHYmFja191cBgNIAEoCzIfLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLkR5blRhYlIGYmFja1Vw'); + +@$core.Deprecated('Use dynTabReplyDescriptor instead') +const DynTabReply$json = { + '1': 'DynTabReply', + '2': [ + {'1': 'dyn_tab', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynTab', '10': 'dynTab'}, + {'1': 'screen_tab', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynScreenTab', '10': 'screenTab'}, + ], +}; + +/// Descriptor for `DynTabReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynTabReplyDescriptor = $convert.base64Decode( + 'CgtEeW5UYWJSZXBseRI4CgdkeW5fdGFiGAEgAygLMh8uYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuRHluVGFiUgZkeW5UYWISRAoKc2NyZWVuX3RhYhgCIAMoCzIlLmJpbGliaWxpLmFwcC5keW5h' + 'bWljLnYyLkR5blNjcmVlblRhYlIJc2NyZWVuVGFi'); + +@$core.Deprecated('Use dynTabReqDescriptor instead') +const DynTabReq$json = { + '1': 'DynTabReq', + '2': [ + {'1': 'teenagers_mode', '3': 1, '4': 1, '5': 5, '10': 'teenagersMode'}, + {'1': 'from_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `DynTabReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynTabReqDescriptor = $convert.base64Decode( + 'CglEeW5UYWJSZXESJQoOdGVlbmFnZXJzX21vZGUYASABKAVSDXRlZW5hZ2Vyc01vZGUSRwoJZn' + 'JvbV90eXBlGAIgASgOMiouYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQ2FtcHVzUmVxRnJvbVR5' + 'cGVSCGZyb21UeXBl'); + +@$core.Deprecated('Use dynThumbReqDescriptor instead') +const DynThumbReq$json = { + '1': 'DynThumbReq', + '2': [ + {'1': 'uid', '3': 1, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'dyn_id', '3': 2, '4': 1, '5': 9, '10': 'dynId'}, + {'1': 'dyn_type', '3': 3, '4': 1, '5': 3, '10': 'dynType'}, + {'1': 'rid', '3': 4, '4': 1, '5': 9, '10': 'rid'}, + {'1': 'type', '3': 5, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ThumbType', '10': 'type'}, + ], +}; + +/// Descriptor for `DynThumbReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynThumbReqDescriptor = $convert.base64Decode( + 'CgtEeW5UaHVtYlJlcRIQCgN1aWQYASABKANSA3VpZBIVCgZkeW5faWQYAiABKAlSBWR5bklkEh' + 'kKCGR5bl90eXBlGAMgASgDUgdkeW5UeXBlEhAKA3JpZBgEIAEoCVIDcmlkEjYKBHR5cGUYBSAB' + 'KA4yIi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5UaHVtYlR5cGVSBHR5cGU='); + +@$core.Deprecated('Use dynVideoPersonalReplyDescriptor instead') +const DynVideoPersonalReply$json = { + '1': 'DynVideoPersonalReply', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'has_more', '3': 3, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'read_offset', '3': 4, '4': 1, '5': 9, '10': 'readOffset'}, + {'1': 'relation', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Relation', '10': 'relation'}, + {'1': 'addition_up', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopAdditionUP', '10': 'additionUp'}, + {'1': 'title', '3': 7, '4': 1, '5': 9, '10': 'title'}, + {'1': 'title_sub', '3': 8, '4': 1, '5': 9, '10': 'titleSub'}, + ], +}; + +/// Descriptor for `DynVideoPersonalReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynVideoPersonalReplyDescriptor = $convert.base64Decode( + 'ChVEeW5WaWRlb1BlcnNvbmFsUmVwbHkSOAoEbGlzdBgBIAMoCzIkLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLkR5bmFtaWNJdGVtUgRsaXN0EhYKBm9mZnNldBgCIAEoCVIGb2Zmc2V0EhkKCGhh' + 'c19tb3JlGAMgASgIUgdoYXNNb3JlEh8KC3JlYWRfb2Zmc2V0GAQgASgJUgpyZWFkT2Zmc2V0Ej' + '0KCHJlbGF0aW9uGAUgASgLMiEuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuUmVsYXRpb25SCHJl' + 'bGF0aW9uEkcKC2FkZGl0aW9uX3VwGAYgASgLMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVG' + '9wQWRkaXRpb25VUFIKYWRkaXRpb25VcBIUCgV0aXRsZRgHIAEoCVIFdGl0bGUSGwoJdGl0bGVf' + 'c3ViGAggASgJUgh0aXRsZVN1Yg=='); + +@$core.Deprecated('Use dynVideoPersonalReqDescriptor instead') +const DynVideoPersonalReq$json = { + '1': 'DynVideoPersonalReq', + '2': [ + {'1': 'host_uid', '3': 1, '4': 1, '5': 3, '10': 'hostUid'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'page', '3': 3, '4': 1, '5': 5, '10': 'page'}, + {'1': 'is_preload', '3': 4, '4': 1, '5': 5, '10': 'isPreload'}, + {'1': 'playurl_param', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.PlayurlParam', '10': 'playurlParam'}, + {'1': 'local_time', '3': 6, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'footprint', '3': 7, '4': 1, '5': 9, '10': 'footprint'}, + {'1': 'from', '3': 8, '4': 1, '5': 9, '10': 'from'}, + {'1': 'player_args', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'pegasus_avid', '3': 10, '4': 1, '5': 3, '10': 'pegasusAvid'}, + {'1': 'personal_extra', '3': 11, '4': 1, '5': 9, '10': 'personalExtra'}, + ], +}; + +/// Descriptor for `DynVideoPersonalReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynVideoPersonalReqDescriptor = $convert.base64Decode( + 'ChNEeW5WaWRlb1BlcnNvbmFsUmVxEhkKCGhvc3RfdWlkGAEgASgDUgdob3N0VWlkEhYKBm9mZn' + 'NldBgCIAEoCVIGb2Zmc2V0EhIKBHBhZ2UYAyABKAVSBHBhZ2USHQoKaXNfcHJlbG9hZBgEIAEo' + 'BVIJaXNQcmVsb2FkEkoKDXBsYXl1cmxfcGFyYW0YBSABKAsyJS5iaWxpYmlsaS5hcHAuZHluYW' + '1pYy52Mi5QbGF5dXJsUGFyYW1SDHBsYXl1cmxQYXJhbRIdCgpsb2NhbF90aW1lGAYgASgFUgls' + 'b2NhbFRpbWUSHAoJZm9vdHByaW50GAcgASgJUglmb290cHJpbnQSEgoEZnJvbRgIIAEoCVIEZn' + 'JvbRJPCgtwbGF5ZXJfYXJncxgJIAEoCzIuLmJpbGliaWxpLmFwcC5hcmNoaXZlLm1pZGRsZXdh' + 'cmUudjEuUGxheWVyQXJnc1IKcGxheWVyQXJncxIhCgxwZWdhc3VzX2F2aWQYCiABKANSC3BlZ2' + 'FzdXNBdmlkEiUKDnBlcnNvbmFsX2V4dHJhGAsgASgJUg1wZXJzb25hbEV4dHJh'); + +@$core.Deprecated('Use dynVideoReplyDescriptor instead') +const DynVideoReply$json = { + '1': 'DynVideoReply', + '2': [ + {'1': 'dynamic_list', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CardVideoDynList', '10': 'dynamicList'}, + {'1': 'video_up_list', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CardVideoUpList', '10': 'videoUpList'}, + {'1': 'video_follow_list', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CardVideoFollowList', '10': 'videoFollowList'}, + ], +}; + +/// Descriptor for `DynVideoReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynVideoReplyDescriptor = $convert.base64Decode( + 'Cg1EeW5WaWRlb1JlcGx5EkwKDGR5bmFtaWNfbGlzdBgBIAEoCzIpLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLkNhcmRWaWRlb0R5bkxpc3RSC2R5bmFtaWNMaXN0EkwKDXZpZGVvX3VwX2xpc3QY' + 'AiABKAsyKC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYXJkVmlkZW9VcExpc3RSC3ZpZGVvVX' + 'BMaXN0ElgKEXZpZGVvX2ZvbGxvd19saXN0GAMgASgLMiwuYmlsaWJpbGkuYXBwLmR5bmFtaWMu' + 'djIuQ2FyZFZpZGVvRm9sbG93TGlzdFIPdmlkZW9Gb2xsb3dMaXN0'); + +@$core.Deprecated('Use dynVideoReqDescriptor instead') +const DynVideoReq$json = { + '1': 'DynVideoReq', + '2': [ + {'1': 'update_baseline', '3': 1, '4': 1, '5': 9, '10': 'updateBaseline'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'page', '3': 3, '4': 1, '5': 5, '10': 'page'}, + {'1': 'refresh_type', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.Refresh', '10': 'refreshType'}, + {'1': 'playurl_param', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.PlayurlParam', '10': 'playurlParam'}, + {'1': 'assist_baseline', '3': 6, '4': 1, '5': 9, '10': 'assistBaseline'}, + {'1': 'local_time', '3': 7, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'from', '3': 8, '4': 1, '5': 9, '10': 'from'}, + {'1': 'player_args', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + ], +}; + +/// Descriptor for `DynVideoReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynVideoReqDescriptor = $convert.base64Decode( + 'CgtEeW5WaWRlb1JlcRInCg91cGRhdGVfYmFzZWxpbmUYASABKAlSDnVwZGF0ZUJhc2VsaW5lEh' + 'YKBm9mZnNldBgCIAEoCVIGb2Zmc2V0EhIKBHBhZ2UYAyABKAVSBHBhZ2USQwoMcmVmcmVzaF90' + 'eXBlGAQgASgOMiAuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuUmVmcmVzaFILcmVmcmVzaFR5cG' + 'USSgoNcGxheXVybF9wYXJhbRgFIAEoCzIlLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlBsYXl1' + 'cmxQYXJhbVIMcGxheXVybFBhcmFtEicKD2Fzc2lzdF9iYXNlbGluZRgGIAEoCVIOYXNzaXN0Qm' + 'FzZWxpbmUSHQoKbG9jYWxfdGltZRgHIAEoBVIJbG9jYWxUaW1lEhIKBGZyb20YCCABKAlSBGZy' + 'b20STwoLcGxheWVyX2FyZ3MYCSABKAsyLi5iaWxpYmlsaS5hcHAuYXJjaGl2ZS5taWRkbGV3YX' + 'JlLnYxLlBsYXllckFyZ3NSCnBsYXllckFyZ3M='); + +@$core.Deprecated('Use dynVideoUpdOffsetReqDescriptor instead') +const DynVideoUpdOffsetReq$json = { + '1': 'DynVideoUpdOffsetReq', + '2': [ + {'1': 'host_uid', '3': 1, '4': 1, '5': 3, '10': 'hostUid'}, + {'1': 'read_offset', '3': 2, '4': 1, '5': 9, '10': 'readOffset'}, + {'1': 'footprint', '3': 3, '4': 1, '5': 9, '10': 'footprint'}, + {'1': 'personal_extra', '3': 4, '4': 1, '5': 9, '10': 'personalExtra'}, + ], +}; + +/// Descriptor for `DynVideoUpdOffsetReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynVideoUpdOffsetReqDescriptor = $convert.base64Decode( + 'ChREeW5WaWRlb1VwZE9mZnNldFJlcRIZCghob3N0X3VpZBgBIAEoA1IHaG9zdFVpZBIfCgtyZW' + 'FkX29mZnNldBgCIAEoCVIKcmVhZE9mZnNldBIcCglmb290cHJpbnQYAyABKAlSCWZvb3Rwcmlu' + 'dBIlCg5wZXJzb25hbF9leHRyYRgEIAEoCVINcGVyc29uYWxFeHRyYQ=='); + +@$core.Deprecated('Use dynVoteReplyDescriptor instead') +const DynVoteReply$json = { + '1': 'DynVoteReply', + '2': [ + {'1': 'item', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionVote2', '10': 'item'}, + {'1': 'toast', '3': 2, '4': 1, '5': 9, '10': 'toast'}, + ], +}; + +/// Descriptor for `DynVoteReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynVoteReplyDescriptor = $convert.base64Decode( + 'CgxEeW5Wb3RlUmVwbHkSOgoEaXRlbRgBIAEoCzImLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk' + 'FkZGl0aW9uVm90ZTJSBGl0ZW0SFAoFdG9hc3QYAiABKAlSBXRvYXN0'); + +@$core.Deprecated('Use dynVoteReqDescriptor instead') +const DynVoteReq$json = { + '1': 'DynVoteReq', + '2': [ + {'1': 'vote_id', '3': 1, '4': 1, '5': 3, '10': 'voteId'}, + {'1': 'votes', '3': 2, '4': 3, '5': 3, '10': 'votes'}, + {'1': 'status', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.VoteStatus', '10': 'status'}, + {'1': 'dynamic_id', '3': 4, '4': 1, '5': 9, '10': 'dynamicId'}, + {'1': 'share', '3': 5, '4': 1, '5': 8, '10': 'share'}, + ], +}; + +/// Descriptor for `DynVoteReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dynVoteReqDescriptor = $convert.base64Decode( + 'CgpEeW5Wb3RlUmVxEhcKB3ZvdGVfaWQYASABKANSBnZvdGVJZBIUCgV2b3RlcxgCIAMoA1IFdm' + '90ZXMSOwoGc3RhdHVzGAMgASgOMiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVm90ZVN0YXR1' + 'c1IGc3RhdHVzEh0KCmR5bmFtaWNfaWQYBCABKAlSCWR5bmFtaWNJZBIUCgVzaGFyZRgFIAEoCF' + 'IFc2hhcmU='); + +@$core.Deprecated('Use emojiSizeSpecDescriptor instead') +const EmojiSizeSpec$json = { + '1': 'EmojiSizeSpec', + '2': [ + {'1': 'width', '3': 1, '4': 1, '5': 3, '10': 'width'}, + ], +}; + +/// Descriptor for `EmojiSizeSpec`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List emojiSizeSpecDescriptor = $convert.base64Decode( + 'Cg1FbW9qaVNpemVTcGVjEhQKBXdpZHRoGAEgASgDUgV3aWR0aA=='); + +@$core.Deprecated('Use emoteNodeDescriptor instead') +const EmoteNode$json = { + '1': 'EmoteNode', + '2': [ + {'1': 'emote_url', '3': 2, '4': 1, '5': 9, '10': 'emoteUrl'}, + {'1': 'emote_width', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.EmoteSize', '10': 'emoteWidth'}, + {'1': 'inline_img_cfg', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ImgInlineCfg', '10': 'inlineImgCfg'}, + {'1': 'is_inline_img', '3': 4, '4': 1, '5': 8, '10': 'isInlineImg'}, + {'1': 'raw_text', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.WordNode', '10': 'rawText'}, + ], +}; + +/// Descriptor for `EmoteNode`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List emoteNodeDescriptor = $convert.base64Decode( + 'CglFbW90ZU5vZGUSGwoJZW1vdGVfdXJsGAIgASgJUghlbW90ZVVybBJDCgtlbW90ZV93aWR0aB' + 'gDIAEoCzIiLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkVtb3RlU2l6ZVIKZW1vdGVXaWR0aBJL' + 'Cg5pbmxpbmVfaW1nX2NmZxgFIAEoCzIlLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkltZ0lubG' + 'luZUNmZ1IMaW5saW5lSW1nQ2ZnEiIKDWlzX2lubGluZV9pbWcYBCABKAhSC2lzSW5saW5lSW1n' + 'EjwKCHJhd190ZXh0GAEgASgLMiEuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuV29yZE5vZGVSB3' + 'Jhd1RleHQ='); + +@$core.Deprecated('Use emoteSizeDescriptor instead') +const EmoteSize$json = { + '1': 'EmoteSize', + '2': [ + {'1': 'width', '3': 1, '4': 1, '5': 1, '10': 'width'}, + {'1': 'emoji_size', '3': 2, '4': 1, '5': 5, '10': 'emojiSize'}, + ], +}; + +/// Descriptor for `EmoteSize`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List emoteSizeDescriptor = $convert.base64Decode( + 'CglFbW90ZVNpemUSFAoFd2lkdGgYASABKAFSBXdpZHRoEh0KCmVtb2ppX3NpemUYAiABKAVSCW' + 'Vtb2ppU2l6ZQ=='); + +@$core.Deprecated('Use extendDescriptor instead') +const Extend$json = { + '1': 'Extend', + '2': [ + {'1': 'dyn_id_str', '3': 1, '4': 1, '5': 9, '10': 'dynIdStr'}, + {'1': 'business_id', '3': 2, '4': 1, '5': 9, '10': 'businessId'}, + {'1': 'orig_dyn_id_str', '3': 3, '4': 1, '5': 9, '10': 'origDynIdStr'}, + {'1': 'orig_name', '3': 4, '4': 1, '5': 9, '10': 'origName'}, + {'1': 'orig_img_url', '3': 5, '4': 1, '5': 9, '10': 'origImgUrl'}, + {'1': 'orig_desc', '3': 6, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.Description', '10': 'origDesc'}, + {'1': 'desc', '3': 7, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.Description', '10': 'desc'}, + {'1': 'orig_dyn_type', '3': 8, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.DynamicType', '10': 'origDynType'}, + {'1': 'share_type', '3': 9, '4': 1, '5': 9, '10': 'shareType'}, + {'1': 'share_scene', '3': 10, '4': 1, '5': 9, '10': 'shareScene'}, + {'1': 'is_fast_share', '3': 11, '4': 1, '5': 8, '10': 'isFastShare'}, + {'1': 'r_type', '3': 12, '4': 1, '5': 5, '10': 'rType'}, + {'1': 'dyn_type', '3': 13, '4': 1, '5': 3, '10': 'dynType'}, + {'1': 'uid', '3': 14, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'card_url', '3': 15, '4': 1, '5': 9, '10': 'cardUrl'}, + {'1': 'source_content', '3': 16, '4': 1, '5': 11, '6': '.google.protobuf.Any', '10': 'sourceContent'}, + {'1': 'orig_face', '3': 17, '4': 1, '5': 9, '10': 'origFace'}, + {'1': 'reply', '3': 18, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ExtendReply', '10': 'reply'}, + {'1': 'track_id', '3': 19, '4': 1, '5': 9, '10': 'trackId'}, + {'1': 'opus_summary', '3': 20, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleOpusSummary', '10': 'opusSummary'}, + {'1': 'only_fans_property', '3': 21, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OnlyFansProperty', '10': 'onlyFansProperty'}, + {'1': 'feature_gate', '3': 22, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynFeatureGate', '10': 'featureGate'}, + {'1': 'is_in_audit', '3': 23, '4': 1, '5': 8, '10': 'isInAudit'}, + {'1': 'history_report', '3': 24, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.Extend.HistoryReportEntry', '10': 'historyReport'}, + ], + '3': [Extend_HistoryReportEntry$json], +}; + +@$core.Deprecated('Use extendDescriptor instead') +const Extend_HistoryReportEntry$json = { + '1': 'HistoryReportEntry', + '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 `Extend`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extendDescriptor = $convert.base64Decode( + 'CgZFeHRlbmQSHAoKZHluX2lkX3N0chgBIAEoCVIIZHluSWRTdHISHwoLYnVzaW5lc3NfaWQYAi' + 'ABKAlSCmJ1c2luZXNzSWQSJQoPb3JpZ19keW5faWRfc3RyGAMgASgJUgxvcmlnRHluSWRTdHIS' + 'GwoJb3JpZ19uYW1lGAQgASgJUghvcmlnTmFtZRIgCgxvcmlnX2ltZ191cmwYBSABKAlSCm9yaW' + 'dJbWdVcmwSQQoJb3JpZ19kZXNjGAYgAygLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuRGVz' + 'Y3JpcHRpb25SCG9yaWdEZXNjEjgKBGRlc2MYByADKAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5EZXNjcmlwdGlvblIEZGVzYxJICg1vcmlnX2R5bl90eXBlGAggASgOMiQuYmlsaWJpbGku' + 'YXBwLmR5bmFtaWMudjIuRHluYW1pY1R5cGVSC29yaWdEeW5UeXBlEh0KCnNoYXJlX3R5cGUYCS' + 'ABKAlSCXNoYXJlVHlwZRIfCgtzaGFyZV9zY2VuZRgKIAEoCVIKc2hhcmVTY2VuZRIiCg1pc19m' + 'YXN0X3NoYXJlGAsgASgIUgtpc0Zhc3RTaGFyZRIVCgZyX3R5cGUYDCABKAVSBXJUeXBlEhkKCG' + 'R5bl90eXBlGA0gASgDUgdkeW5UeXBlEhAKA3VpZBgOIAEoA1IDdWlkEhkKCGNhcmRfdXJsGA8g' + 'ASgJUgdjYXJkVXJsEjsKDnNvdXJjZV9jb250ZW50GBAgASgLMhQuZ29vZ2xlLnByb3RvYnVmLk' + 'FueVINc291cmNlQ29udGVudBIbCglvcmlnX2ZhY2UYESABKAlSCG9yaWdGYWNlEjoKBXJlcGx5' + 'GBIgASgLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuRXh0ZW5kUmVwbHlSBXJlcGx5EhkKCH' + 'RyYWNrX2lkGBMgASgJUgd0cmFja0lkEk0KDG9wdXNfc3VtbWFyeRgUIAEoCzIqLmJpbGliaWxp' + 'LmFwcC5keW5hbWljLnYyLk1vZHVsZU9wdXNTdW1tYXJ5UgtvcHVzU3VtbWFyeRJXChJvbmx5X2' + 'ZhbnNfcHJvcGVydHkYFSABKAsyKS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Pbmx5RmFuc1By' + 'b3BlcnR5UhBvbmx5RmFuc1Byb3BlcnR5EkoKDGZlYXR1cmVfZ2F0ZRgWIAEoCzInLmJpbGliaW' + 'xpLmFwcC5keW5hbWljLnYyLkR5bkZlYXR1cmVHYXRlUgtmZWF0dXJlR2F0ZRIeCgtpc19pbl9h' + 'dWRpdBgXIAEoCFIJaXNJbkF1ZGl0ElkKDmhpc3RvcnlfcmVwb3J0GBggAygLMjIuYmlsaWJpbG' + 'kuYXBwLmR5bmFtaWMudjIuRXh0ZW5kLkhpc3RvcnlSZXBvcnRFbnRyeVINaGlzdG9yeVJlcG9y' + 'dBpAChJIaXN0b3J5UmVwb3J0RW50cnkSEAoDa2V5GAEgASgJUgNrZXkSFAoFdmFsdWUYAiABKA' + 'lSBXZhbHVlOgI4AQ=='); + +@$core.Deprecated('Use extendReplyDescriptor instead') +const ExtendReply$json = { + '1': 'ExtendReply', + '2': [ + {'1': 'uri', '3': 1, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'params', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ExtendReplyParam', '10': 'params'}, + ], +}; + +/// Descriptor for `ExtendReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extendReplyDescriptor = $convert.base64Decode( + 'CgtFeHRlbmRSZXBseRIQCgN1cmkYASABKAlSA3VyaRJBCgZwYXJhbXMYAiADKAsyKS5iaWxpYm' + 'lsaS5hcHAuZHluYW1pYy52Mi5FeHRlbmRSZXBseVBhcmFtUgZwYXJhbXM='); + +@$core.Deprecated('Use extendReplyParamDescriptor instead') +const ExtendReplyParam$json = { + '1': 'ExtendReplyParam', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, + ], +}; + +/// Descriptor for `ExtendReplyParam`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extendReplyParamDescriptor = $convert.base64Decode( + 'ChBFeHRlbmRSZXBseVBhcmFtEhAKA2tleRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUgV2YW' + 'x1ZQ=='); + +@$core.Deprecated('Use extInfoCommonDescriptor instead') +const ExtInfoCommon$json = { + '1': 'ExtInfoCommon', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'icon', '3': 3, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'poi_type', '3': 4, '4': 1, '5': 5, '10': 'poiType'}, + {'1': 'type', '3': 5, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.DynExtendType', '10': 'type'}, + {'1': 'sub_module', '3': 6, '4': 1, '5': 9, '10': 'subModule'}, + {'1': 'action_text', '3': 7, '4': 1, '5': 9, '10': 'actionText'}, + {'1': 'action_url', '3': 8, '4': 1, '5': 9, '10': 'actionUrl'}, + {'1': 'rid', '3': 9, '4': 1, '5': 3, '10': 'rid'}, + {'1': 'is_show_light', '3': 10, '4': 1, '5': 8, '10': 'isShowLight'}, + ], +}; + +/// Descriptor for `ExtInfoCommon`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extInfoCommonDescriptor = $convert.base64Decode( + 'Cg1FeHRJbmZvQ29tbW9uEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIQCgN1cmkYAiABKAlSA3VyaR' + 'ISCgRpY29uGAMgASgJUgRpY29uEhkKCHBvaV90eXBlGAQgASgFUgdwb2lUeXBlEjoKBHR5cGUY' + 'BSABKA4yJi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5EeW5FeHRlbmRUeXBlUgR0eXBlEh0KCn' + 'N1Yl9tb2R1bGUYBiABKAlSCXN1Yk1vZHVsZRIfCgthY3Rpb25fdGV4dBgHIAEoCVIKYWN0aW9u' + 'VGV4dBIdCgphY3Rpb25fdXJsGAggASgJUglhY3Rpb25VcmwSEAoDcmlkGAkgASgDUgNyaWQSIg' + 'oNaXNfc2hvd19saWdodBgKIAEoCFILaXNTaG93TGlnaHQ='); + +@$core.Deprecated('Use extInfoGameDescriptor instead') +const ExtInfoGame$json = { + '1': 'ExtInfoGame', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'icon', '3': 3, '4': 1, '5': 9, '10': 'icon'}, + ], +}; + +/// Descriptor for `ExtInfoGame`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extInfoGameDescriptor = $convert.base64Decode( + 'CgtFeHRJbmZvR2FtZRIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSEAoDdXJpGAIgASgJUgN1cmkSEg' + 'oEaWNvbhgDIAEoCVIEaWNvbg=='); + +@$core.Deprecated('Use extInfoHotDescriptor instead') +const ExtInfoHot$json = { + '1': 'ExtInfoHot', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'icon', '3': 3, '4': 1, '5': 9, '10': 'icon'}, + ], +}; + +/// Descriptor for `ExtInfoHot`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extInfoHotDescriptor = $convert.base64Decode( + 'CgpFeHRJbmZvSG90EhQKBXRpdGxlGAEgASgJUgV0aXRsZRIQCgN1cmkYAiABKAlSA3VyaRISCg' + 'RpY29uGAMgASgJUgRpY29u'); + +@$core.Deprecated('Use extInfoLBSDescriptor instead') +const ExtInfoLBS$json = { + '1': 'ExtInfoLBS', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'icon', '3': 3, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'poi_type', '3': 4, '4': 1, '5': 5, '10': 'poiType'}, + ], +}; + +/// Descriptor for `ExtInfoLBS`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extInfoLBSDescriptor = $convert.base64Decode( + 'CgpFeHRJbmZvTEJTEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIQCgN1cmkYAiABKAlSA3VyaRISCg' + 'RpY29uGAMgASgJUgRpY29uEhkKCHBvaV90eXBlGAQgASgFUgdwb2lUeXBl'); + +@$core.Deprecated('Use extInfoOGVDescriptor instead') +const ExtInfoOGV$json = { + '1': 'ExtInfoOGV', + '2': [ + {'1': 'info_ogv', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.InfoOGV', '10': 'infoOgv'}, + ], +}; + +/// Descriptor for `ExtInfoOGV`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extInfoOGVDescriptor = $convert.base64Decode( + 'CgpFeHRJbmZvT0dWEjsKCGluZm9fb2d2GAEgAygLMiAuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuSW5mb09HVlIHaW5mb09ndg=='); + +@$core.Deprecated('Use extInfoTopicDescriptor instead') +const ExtInfoTopic$json = { + '1': 'ExtInfoTopic', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'icon', '3': 3, '4': 1, '5': 9, '10': 'icon'}, + ], +}; + +/// Descriptor for `ExtInfoTopic`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extInfoTopicDescriptor = $convert.base64Decode( + 'CgxFeHRJbmZvVG9waWMSFAoFdGl0bGUYASABKAlSBXRpdGxlEhAKA3VyaRgCIAEoCVIDdXJpEh' + 'IKBGljb24YAyABKAlSBGljb24='); + +@$core.Deprecated('Use feedFilterReplyDescriptor instead') +const FeedFilterReply$json = { + '1': 'FeedFilterReply', + '2': [ + {'1': 'offset', '3': 1, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'has_more', '3': 2, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'list', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + ], +}; + +/// Descriptor for `FeedFilterReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List feedFilterReplyDescriptor = $convert.base64Decode( + 'Cg9GZWVkRmlsdGVyUmVwbHkSFgoGb2Zmc2V0GAEgASgJUgZvZmZzZXQSGQoIaGFzX21vcmUYAi' + 'ABKAhSB2hhc01vcmUSOAoEbGlzdBgDIAMoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkR5' + 'bmFtaWNJdGVtUgRsaXN0'); + +@$core.Deprecated('Use feedFilterReqDescriptor instead') +const FeedFilterReq$json = { + '1': 'FeedFilterReq', + '2': [ + {'1': 'offset', '3': 1, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'tab', '3': 2, '4': 1, '5': 9, '10': 'tab'}, + {'1': 'local_time', '3': 3, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'player_args', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + {'1': 'ad_param', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdParam', '10': 'adParam'}, + {'1': 'cold_start', '3': 6, '4': 1, '5': 5, '10': 'coldStart'}, + {'1': 'page', '3': 7, '4': 1, '5': 3, '10': 'page'}, + ], +}; + +/// Descriptor for `FeedFilterReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List feedFilterReqDescriptor = $convert.base64Decode( + 'Cg1GZWVkRmlsdGVyUmVxEhYKBm9mZnNldBgBIAEoCVIGb2Zmc2V0EhAKA3RhYhgCIAEoCVIDdG' + 'FiEh0KCmxvY2FsX3RpbWUYAyABKAVSCWxvY2FsVGltZRJPCgtwbGF5ZXJfYXJncxgEIAEoCzIu' + 'LmJpbGliaWxpLmFwcC5hcmNoaXZlLm1pZGRsZXdhcmUudjEuUGxheWVyQXJnc1IKcGxheWVyQX' + 'JncxI7CghhZF9wYXJhbRgFIAEoCzIgLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFkUGFyYW1S' + 'B2FkUGFyYW0SHQoKY29sZF9zdGFydBgGIAEoBVIJY29sZFN0YXJ0EhIKBHBhZ2UYByABKANSBH' + 'BhZ2U='); + +@$core.Deprecated('Use fetchTabSettingReplyDescriptor instead') +const FetchTabSettingReply$json = { + '1': 'FetchTabSettingReply', + '2': [ + {'1': 'status', '3': 1, '4': 1, '5': 5, '10': 'status'}, + ], +}; + +/// Descriptor for `FetchTabSettingReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fetchTabSettingReplyDescriptor = $convert.base64Decode( + 'ChRGZXRjaFRhYlNldHRpbmdSZXBseRIWCgZzdGF0dXMYASABKAVSBnN0YXR1cw=='); + +@$core.Deprecated('Use followListItemDescriptor instead') +const FollowListItem$json = { + '1': 'FollowListItem', + '2': [ + {'1': 'season_id', '3': 1, '4': 1, '5': 3, '10': 'seasonId'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 3, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'url', '3': 4, '4': 1, '5': 9, '10': 'url'}, + {'1': 'new_ep', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.NewEP', '10': 'newEp'}, + {'1': 'sub_title', '3': 6, '4': 1, '5': 9, '10': 'subTitle'}, + {'1': 'pos', '3': 7, '4': 1, '5': 3, '10': 'pos'}, + ], +}; + +/// Descriptor for `FollowListItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List followListItemDescriptor = $convert.base64Decode( + 'Cg5Gb2xsb3dMaXN0SXRlbRIbCglzZWFzb25faWQYASABKANSCHNlYXNvbklkEhQKBXRpdGxlGA' + 'IgASgJUgV0aXRsZRIUCgVjb3ZlchgDIAEoCVIFY292ZXISEAoDdXJsGAQgASgJUgN1cmwSNQoG' + 'bmV3X2VwGAUgASgLMh4uYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTmV3RVBSBW5ld0VwEhsKCX' + 'N1Yl90aXRsZRgGIAEoCVIIc3ViVGl0bGUSEAoDcG9zGAcgASgDUgNwb3M='); + +@$core.Deprecated('Use goodsItemDescriptor instead') +const GoodsItem$json = { + '1': 'GoodsItem', + '2': [ + {'1': 'cover', '3': 1, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'schema_package_name', '3': 2, '4': 1, '5': 9, '10': 'schemaPackageName'}, + {'1': 'source_type', '3': 3, '4': 1, '5': 5, '10': 'sourceType'}, + {'1': 'jump_url', '3': 4, '4': 1, '5': 9, '10': 'jumpUrl'}, + {'1': 'jump_desc', '3': 5, '4': 1, '5': 9, '10': 'jumpDesc'}, + {'1': 'title', '3': 6, '4': 1, '5': 9, '10': 'title'}, + {'1': 'brief', '3': 7, '4': 1, '5': 9, '10': 'brief'}, + {'1': 'price', '3': 8, '4': 1, '5': 9, '10': 'price'}, + {'1': 'item_id', '3': 9, '4': 1, '5': 3, '10': 'itemId'}, + {'1': 'schema_url', '3': 10, '4': 1, '5': 9, '10': 'schemaUrl'}, + {'1': 'open_white_list', '3': 11, '4': 3, '5': 9, '10': 'openWhiteList'}, + {'1': 'user_web_v2', '3': 12, '4': 1, '5': 8, '10': 'userWebV2'}, + {'1': 'ad_mark', '3': 13, '4': 1, '5': 9, '10': 'adMark'}, + {'1': 'app_name', '3': 14, '4': 1, '5': 9, '10': 'appName'}, + {'1': 'jump_type', '3': 15, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.GoodsJumpType', '10': 'jumpType'}, + ], +}; + +/// Descriptor for `GoodsItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List goodsItemDescriptor = $convert.base64Decode( + 'CglHb29kc0l0ZW0SFAoFY292ZXIYASABKAlSBWNvdmVyEi4KE3NjaGVtYV9wYWNrYWdlX25hbW' + 'UYAiABKAlSEXNjaGVtYVBhY2thZ2VOYW1lEh8KC3NvdXJjZV90eXBlGAMgASgFUgpzb3VyY2VU' + 'eXBlEhkKCGp1bXBfdXJsGAQgASgJUgdqdW1wVXJsEhsKCWp1bXBfZGVzYxgFIAEoCVIIanVtcE' + 'Rlc2MSFAoFdGl0bGUYBiABKAlSBXRpdGxlEhQKBWJyaWVmGAcgASgJUgVicmllZhIUCgVwcmlj' + 'ZRgIIAEoCVIFcHJpY2USFwoHaXRlbV9pZBgJIAEoA1IGaXRlbUlkEh0KCnNjaGVtYV91cmwYCi' + 'ABKAlSCXNjaGVtYVVybBImCg9vcGVuX3doaXRlX2xpc3QYCyADKAlSDW9wZW5XaGl0ZUxpc3QS' + 'HgoLdXNlcl93ZWJfdjIYDCABKAhSCXVzZXJXZWJWMhIXCgdhZF9tYXJrGA0gASgJUgZhZE1hcm' + 'sSGQoIYXBwX25hbWUYDiABKAlSB2FwcE5hbWUSQwoJanVtcF90eXBlGA8gASgOMiYuYmlsaWJp' + 'bGkuYXBwLmR5bmFtaWMudjIuR29vZHNKdW1wVHlwZVIIanVtcFR5cGU='); + +@$core.Deprecated('Use guideBarInfoDescriptor instead') +const GuideBarInfo$json = { + '1': 'GuideBarInfo', + '2': [ + {'1': 'show', '3': 1, '4': 1, '5': 5, '10': 'show'}, + {'1': 'page', '3': 2, '4': 1, '5': 5, '10': 'page'}, + {'1': 'position', '3': 3, '4': 1, '5': 5, '10': 'position'}, + {'1': 'desc', '3': 4, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'jump_page', '3': 5, '4': 1, '5': 5, '10': 'jumpPage'}, + {'1': 'jump_position', '3': 6, '4': 1, '5': 5, '10': 'jumpPosition'}, + ], +}; + +/// Descriptor for `GuideBarInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List guideBarInfoDescriptor = $convert.base64Decode( + 'CgxHdWlkZUJhckluZm8SEgoEc2hvdxgBIAEoBVIEc2hvdxISCgRwYWdlGAIgASgFUgRwYWdlEh' + 'oKCHBvc2l0aW9uGAMgASgFUghwb3NpdGlvbhISCgRkZXNjGAQgASgJUgRkZXNjEhsKCWp1bXBf' + 'cGFnZRgFIAEoBVIIanVtcFBhZ2USIwoNanVtcF9wb3NpdGlvbhgGIAEoBVIManVtcFBvc2l0aW' + '9u'); + +@$core.Deprecated('Use highlightTextDescriptor instead') +const HighlightText$json = { + '1': 'HighlightText', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + {'1': 'text_style', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.HighlightTextStyle', '10': 'textStyle'}, + {'1': 'jump_url', '3': 3, '4': 1, '5': 9, '10': 'jumpUrl'}, + {'1': 'icon', '3': 4, '4': 1, '5': 9, '10': 'icon'}, + ], +}; + +/// Descriptor for `HighlightText`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List highlightTextDescriptor = $convert.base64Decode( + 'Cg1IaWdobGlnaHRUZXh0EhIKBHRleHQYASABKAlSBHRleHQSSgoKdGV4dF9zdHlsZRgCIAEoDj' + 'IrLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkhpZ2hsaWdodFRleHRTdHlsZVIJdGV4dFN0eWxl' + 'EhkKCGp1bXBfdXJsGAMgASgJUgdqdW1wVXJsEhIKBGljb24YBCABKAlSBGljb24='); + +@$core.Deprecated('Use homeSubscribeReplyDescriptor instead') +const HomeSubscribeReply$json = { + '1': 'HomeSubscribeReply', + '2': [ + {'1': 'online', '3': 1, '4': 1, '5': 5, '10': 'online'}, + ], +}; + +/// Descriptor for `HomeSubscribeReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List homeSubscribeReplyDescriptor = $convert.base64Decode( + 'ChJIb21lU3Vic2NyaWJlUmVwbHkSFgoGb25saW5lGAEgASgFUgZvbmxpbmU='); + +@$core.Deprecated('Use homeSubscribeReqDescriptor instead') +const HomeSubscribeReq$json = { + '1': 'HomeSubscribeReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + ], +}; + +/// Descriptor for `HomeSubscribeReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List homeSubscribeReqDescriptor = $convert.base64Decode( + 'ChBIb21lU3Vic2NyaWJlUmVxEhsKCWNhbXB1c19pZBgBIAEoA1IIY2FtcHVzSWQSHwoLY2FtcH' + 'VzX25hbWUYAiABKAlSCmNhbXB1c05hbWU='); + +@$core.Deprecated('Use iconBadgeDescriptor instead') +const IconBadge$json = { + '1': 'IconBadge', + '2': [ + {'1': 'icon_bg_url', '3': 1, '4': 1, '5': 9, '10': 'iconBgUrl'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + ], +}; + +/// Descriptor for `IconBadge`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List iconBadgeDescriptor = $convert.base64Decode( + 'CglJY29uQmFkZ2USHgoLaWNvbl9iZ191cmwYASABKAlSCWljb25CZ1VybBISCgR0ZXh0GAIgAS' + 'gJUgR0ZXh0'); + +@$core.Deprecated('Use iconButtonDescriptor instead') +const IconButton$json = { + '1': 'IconButton', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + {'1': 'icon_head', '3': 2, '4': 1, '5': 9, '10': 'iconHead'}, + {'1': 'icon_tail', '3': 3, '4': 1, '5': 9, '10': 'iconTail'}, + {'1': 'jump_uri', '3': 4, '4': 1, '5': 9, '10': 'jumpUri'}, + ], +}; + +/// Descriptor for `IconButton`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List iconButtonDescriptor = $convert.base64Decode( + 'CgpJY29uQnV0dG9uEhIKBHRleHQYASABKAlSBHRleHQSGwoJaWNvbl9oZWFkGAIgASgJUghpY2' + '9uSGVhZBIbCglpY29uX3RhaWwYAyABKAlSCGljb25UYWlsEhkKCGp1bXBfdXJpGAQgASgJUgdq' + 'dW1wVXJp'); + +@$core.Deprecated('Use imageSetDescriptor instead') +const ImageSet$json = { + '1': 'ImageSet', + '2': [ + {'1': 'img_day', '3': 1, '4': 1, '5': 9, '10': 'imgDay'}, + {'1': 'img_dark', '3': 2, '4': 1, '5': 9, '10': 'imgDark'}, + ], +}; + +/// Descriptor for `ImageSet`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List imageSetDescriptor = $convert.base64Decode( + 'CghJbWFnZVNldBIXCgdpbWdfZGF5GAEgASgJUgZpbWdEYXkSGQoIaW1nX2RhcmsYAiABKAlSB2' + 'ltZ0Rhcms='); + +@$core.Deprecated('Use imgInlineCfgDescriptor instead') +const ImgInlineCfg$json = { + '1': 'ImgInlineCfg', + '2': [ + {'1': 'width', '3': 1, '4': 1, '5': 1, '10': 'width'}, + {'1': 'height', '3': 2, '4': 1, '5': 1, '10': 'height'}, + {'1': 'color', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Colors', '10': 'color'}, + ], +}; + +/// Descriptor for `ImgInlineCfg`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List imgInlineCfgDescriptor = $convert.base64Decode( + 'CgxJbWdJbmxpbmVDZmcSFAoFd2lkdGgYASABKAFSBXdpZHRoEhYKBmhlaWdodBgCIAEoAVIGaG' + 'VpZ2h0EjUKBWNvbG9yGAMgASgLMh8uYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQ29sb3JzUgVj' + 'b2xvcg=='); + +@$core.Deprecated('Use infoOGVDescriptor instead') +const InfoOGV$json = { + '1': 'InfoOGV', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'icon', '3': 3, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'sub_module', '3': 4, '4': 1, '5': 9, '10': 'subModule'}, + ], +}; + +/// Descriptor for `InfoOGV`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List infoOGVDescriptor = $convert.base64Decode( + 'CgdJbmZvT0dWEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIQCgN1cmkYAiABKAlSA3VyaRISCgRpY2' + '9uGAMgASgJUgRpY29uEh0KCnN1Yl9tb2R1bGUYBCABKAlSCXN1Yk1vZHVsZQ=='); + +@$core.Deprecated('Use interactionFaceDescriptor instead') +const InteractionFace$json = { + '1': 'InteractionFace', + '2': [ + {'1': 'mid', '3': 1, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'face', '3': 2, '4': 1, '5': 9, '10': 'face'}, + ], +}; + +/// Descriptor for `InteractionFace`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List interactionFaceDescriptor = $convert.base64Decode( + 'Cg9JbnRlcmFjdGlvbkZhY2USEAoDbWlkGAEgASgDUgNtaWQSEgoEZmFjZRgCIAEoCVIEZmFjZQ' + '=='); + +@$core.Deprecated('Use interactionItemDescriptor instead') +const InteractionItem$json = { + '1': 'InteractionItem', + '2': [ + {'1': 'icon_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.LocalIconType', '10': 'iconType'}, + {'1': 'desc', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.Description', '10': 'desc'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'dynamic_id', '3': 4, '4': 1, '5': 9, '10': 'dynamicId'}, + {'1': 'comment_mid', '3': 6, '4': 1, '5': 3, '10': 'commentMid'}, + {'1': 'faces', '3': 7, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.InteractionFace', '10': 'faces'}, + {'1': 'stat', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.InteractionStat', '10': 'stat'}, + {'1': 'icon', '3': 9, '4': 1, '5': 9, '10': 'icon'}, + ], +}; + +/// Descriptor for `InteractionItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List interactionItemDescriptor = $convert.base64Decode( + 'Cg9JbnRlcmFjdGlvbkl0ZW0SQwoJaWNvbl90eXBlGAEgASgOMiYuYmlsaWJpbGkuYXBwLmR5bm' + 'FtaWMudjIuTG9jYWxJY29uVHlwZVIIaWNvblR5cGUSOAoEZGVzYxgCIAMoCzIkLmJpbGliaWxp' + 'LmFwcC5keW5hbWljLnYyLkRlc2NyaXB0aW9uUgRkZXNjEhAKA3VyaRgDIAEoCVIDdXJpEh0KCm' + 'R5bmFtaWNfaWQYBCABKAlSCWR5bmFtaWNJZBIfCgtjb21tZW50X21pZBgGIAEoA1IKY29tbWVu' + 'dE1pZBI+CgVmYWNlcxgHIAMoCzIoLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkludGVyYWN0aW' + '9uRmFjZVIFZmFjZXMSPAoEc3RhdBgIIAEoCzIoLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLklu' + 'dGVyYWN0aW9uU3RhdFIEc3RhdBISCgRpY29uGAkgASgJUgRpY29u'); + +@$core.Deprecated('Use interactionStatDescriptor instead') +const InteractionStat$json = { + '1': 'InteractionStat', + '2': [ + {'1': 'like', '3': 1, '4': 1, '5': 3, '10': 'like'}, + ], +}; + +/// Descriptor for `InteractionStat`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List interactionStatDescriptor = $convert.base64Decode( + 'Cg9JbnRlcmFjdGlvblN0YXQSEgoEbGlrZRgBIAEoA1IEbGlrZQ=='); + +@$core.Deprecated('Use lbsPoiDetailDescriptor instead') +const LbsPoiDetail$json = { + '1': 'LbsPoiDetail', + '2': [ + {'1': 'poi', '3': 1, '4': 1, '5': 9, '10': 'poi'}, + {'1': 'type', '3': 2, '4': 1, '5': 3, '10': 'type'}, + {'1': 'base_pic', '3': 3, '4': 3, '5': 9, '10': 'basePic'}, + {'1': 'cover', '3': 4, '4': 3, '5': 9, '10': 'cover'}, + {'1': 'address', '3': 5, '4': 1, '5': 9, '10': 'address'}, + {'1': 'title', '3': 6, '4': 1, '5': 9, '10': 'title'}, + ], +}; + +/// Descriptor for `LbsPoiDetail`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List lbsPoiDetailDescriptor = $convert.base64Decode( + 'CgxMYnNQb2lEZXRhaWwSEAoDcG9pGAEgASgJUgNwb2kSEgoEdHlwZRgCIAEoA1IEdHlwZRIZCg' + 'hiYXNlX3BpYxgDIAMoCVIHYmFzZVBpYxIUCgVjb3ZlchgEIAMoCVIFY292ZXISGAoHYWRkcmVz' + 'cxgFIAEoCVIHYWRkcmVzcxIUCgV0aXRsZRgGIAEoCVIFdGl0bGU='); + +@$core.Deprecated('Use lbsPoiReplyDescriptor instead') +const LbsPoiReply$json = { + '1': 'LbsPoiReply', + '2': [ + {'1': 'has_more', '3': 1, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'detail', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.LbsPoiDetail', '10': 'detail'}, + {'1': 'list', '3': 4, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + ], +}; + +/// Descriptor for `LbsPoiReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List lbsPoiReplyDescriptor = $convert.base64Decode( + 'CgtMYnNQb2lSZXBseRIZCghoYXNfbW9yZRgBIAEoCFIHaGFzTW9yZRIWCgZvZmZzZXQYAiABKA' + 'lSBm9mZnNldBI9CgZkZXRhaWwYAyABKAsyJS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5MYnNQ' + 'b2lEZXRhaWxSBmRldGFpbBI4CgRsaXN0GAQgAygLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuRHluYW1pY0l0ZW1SBGxpc3Q='); + +@$core.Deprecated('Use lbsPoiReqDescriptor instead') +const LbsPoiReq$json = { + '1': 'LbsPoiReq', + '2': [ + {'1': 'poi', '3': 1, '4': 1, '5': 9, '10': 'poi'}, + {'1': 'type', '3': 2, '4': 1, '5': 3, '10': 'type'}, + {'1': 'offset', '3': 3, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'refresh_type', '3': 4, '4': 1, '5': 5, '10': 'refreshType'}, + {'1': 'local_time', '3': 5, '4': 1, '5': 5, '10': 'localTime'}, + {'1': 'player_args', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + ], +}; + +/// Descriptor for `LbsPoiReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List lbsPoiReqDescriptor = $convert.base64Decode( + 'CglMYnNQb2lSZXESEAoDcG9pGAEgASgJUgNwb2kSEgoEdHlwZRgCIAEoA1IEdHlwZRIWCgZvZm' + 'ZzZXQYAyABKAlSBm9mZnNldBIhCgxyZWZyZXNoX3R5cGUYBCABKAVSC3JlZnJlc2hUeXBlEh0K' + 'CmxvY2FsX3RpbWUYBSABKAVSCWxvY2FsVGltZRJPCgtwbGF5ZXJfYXJncxgGIAEoCzIuLmJpbG' + 'liaWxpLmFwcC5hcmNoaXZlLm1pZGRsZXdhcmUudjEuUGxheWVyQXJnc1IKcGxheWVyQXJncw=='); + +@$core.Deprecated('Use legacyTopicFeedReplyDescriptor instead') +const LegacyTopicFeedReply$json = { + '1': 'LegacyTopicFeedReply', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'has_more', '3': 2, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'offset', '3': 3, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'supported_sort_types', '3': 4, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.SortType', '10': 'supportedSortTypes'}, + {'1': 'feed_card_filters', '3': 5, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.SortType', '10': 'feedCardFilters'}, + ], +}; + +/// Descriptor for `LegacyTopicFeedReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List legacyTopicFeedReplyDescriptor = $convert.base64Decode( + 'ChRMZWdhY3lUb3BpY0ZlZWRSZXBseRI4CgRsaXN0GAEgAygLMiQuYmlsaWJpbGkuYXBwLmR5bm' + 'FtaWMudjIuRHluYW1pY0l0ZW1SBGxpc3QSGQoIaGFzX21vcmUYAiABKAhSB2hhc01vcmUSFgoG' + 'b2Zmc2V0GAMgASgJUgZvZmZzZXQSUwoUc3VwcG9ydGVkX3NvcnRfdHlwZXMYBCADKAsyIS5iaW' + 'xpYmlsaS5hcHAuZHluYW1pYy52Mi5Tb3J0VHlwZVISc3VwcG9ydGVkU29ydFR5cGVzEk0KEWZl' + 'ZWRfY2FyZF9maWx0ZXJzGAUgAygLMiEuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuU29ydFR5cG' + 'VSD2ZlZWRDYXJkRmlsdGVycw=='); + +@$core.Deprecated('Use legacyTopicFeedReqDescriptor instead') +const LegacyTopicFeedReq$json = { + '1': 'LegacyTopicFeedReq', + '2': [ + {'1': 'topic_id', '3': 1, '4': 1, '5': 3, '10': 'topicId'}, + {'1': 'topic_name', '3': 2, '4': 1, '5': 9, '10': 'topicName'}, + {'1': 'offset', '3': 3, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'sort_type', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.SortType', '10': 'sortType'}, + {'1': 'card_filter', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.SortType', '10': 'cardFilter'}, + ], +}; + +/// Descriptor for `LegacyTopicFeedReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List legacyTopicFeedReqDescriptor = $convert.base64Decode( + 'ChJMZWdhY3lUb3BpY0ZlZWRSZXESGQoIdG9waWNfaWQYASABKANSB3RvcGljSWQSHQoKdG9waW' + 'NfbmFtZRgCIAEoCVIJdG9waWNOYW1lEhYKBm9mZnNldBgDIAEoCVIGb2Zmc2V0Ej4KCXNvcnRf' + 'dHlwZRgEIAEoCzIhLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlNvcnRUeXBlUghzb3J0VHlwZR' + 'JCCgtjYXJkX2ZpbHRlchgFIAEoCzIhLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlNvcnRUeXBl' + 'UgpjYXJkRmlsdGVy'); + +@$core.Deprecated('Use likeAnimationDescriptor instead') +const LikeAnimation$json = { + '1': 'LikeAnimation', + '2': [ + {'1': 'begin', '3': 1, '4': 1, '5': 9, '10': 'begin'}, + {'1': 'proc', '3': 2, '4': 1, '5': 9, '10': 'proc'}, + {'1': 'end', '3': 3, '4': 1, '5': 9, '10': 'end'}, + {'1': 'like_icon_id', '3': 4, '4': 1, '5': 3, '10': 'likeIconId'}, + ], +}; + +/// Descriptor for `LikeAnimation`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List likeAnimationDescriptor = $convert.base64Decode( + 'Cg1MaWtlQW5pbWF0aW9uEhQKBWJlZ2luGAEgASgJUgViZWdpbhISCgRwcm9jGAIgASgJUgRwcm' + '9jEhAKA2VuZBgDIAEoCVIDZW5kEiAKDGxpa2VfaWNvbl9pZBgEIAEoA1IKbGlrZUljb25JZA=='); + +@$core.Deprecated('Use likeInfoDescriptor instead') +const LikeInfo$json = { + '1': 'LikeInfo', + '2': [ + {'1': 'animation', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.LikeAnimation', '10': 'animation'}, + {'1': 'is_like', '3': 2, '4': 1, '5': 8, '10': 'isLike'}, + ], +}; + +/// Descriptor for `LikeInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List likeInfoDescriptor = $convert.base64Decode( + 'CghMaWtlSW5mbxJECglhbmltYXRpb24YASABKAsyJi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5MaWtlQW5pbWF0aW9uUglhbmltYXRpb24SFwoHaXNfbGlrZRgCIAEoCFIGaXNMaWtl'); + +@$core.Deprecated('Use likeListReplyDescriptor instead') +const LikeListReply$json = { + '1': 'LikeListReply', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAuthor', '10': 'list'}, + {'1': 'has_more', '3': 2, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'total_count', '3': 3, '4': 1, '5': 3, '10': 'totalCount'}, + ], +}; + +/// Descriptor for `LikeListReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List likeListReplyDescriptor = $convert.base64Decode( + 'Cg1MaWtlTGlzdFJlcGx5EjkKBGxpc3QYASADKAsyJS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5Nb2R1bGVBdXRob3JSBGxpc3QSGQoIaGFzX21vcmUYAiABKAhSB2hhc01vcmUSHwoLdG90YWxf' + 'Y291bnQYAyABKANSCnRvdGFsQ291bnQ='); + +@$core.Deprecated('Use likeListReqDescriptor instead') +const LikeListReq$json = { + '1': 'LikeListReq', + '2': [ + {'1': 'dynamic_id', '3': 1, '4': 1, '5': 9, '10': 'dynamicId'}, + {'1': 'dyn_type', '3': 2, '4': 1, '5': 3, '10': 'dynType'}, + {'1': 'rid', '3': 3, '4': 1, '5': 3, '10': 'rid'}, + {'1': 'uid_offset', '3': 4, '4': 1, '5': 3, '10': 'uidOffset'}, + {'1': 'page', '3': 5, '4': 1, '5': 5, '10': 'page'}, + ], +}; + +/// Descriptor for `LikeListReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List likeListReqDescriptor = $convert.base64Decode( + 'CgtMaWtlTGlzdFJlcRIdCgpkeW5hbWljX2lkGAEgASgJUglkeW5hbWljSWQSGQoIZHluX3R5cG' + 'UYAiABKANSB2R5blR5cGUSEAoDcmlkGAMgASgDUgNyaWQSHQoKdWlkX29mZnNldBgEIAEoA1IJ' + 'dWlkT2Zmc2V0EhIKBHBhZ2UYBSABKAVSBHBhZ2U='); + +@$core.Deprecated('Use likeUserDescriptor instead') +const LikeUser$json = { + '1': 'LikeUser', + '2': [ + {'1': 'uid', '3': 1, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'uname', '3': 2, '4': 1, '5': 9, '10': 'uname'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + ], +}; + +/// Descriptor for `LikeUser`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List likeUserDescriptor = $convert.base64Decode( + 'CghMaWtlVXNlchIQCgN1aWQYASABKANSA3VpZBIUCgV1bmFtZRgCIAEoCVIFdW5hbWUSEAoDdX' + 'JpGAMgASgJUgN1cmk='); + +@$core.Deprecated('Use lineParagraphDescriptor instead') +const LineParagraph$json = { + '1': 'LineParagraph', + '2': [ + {'1': 'pic', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynDrawItem', '10': 'pic'}, + ], +}; + +/// Descriptor for `LineParagraph`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List lineParagraphDescriptor = $convert.base64Decode( + 'Cg1MaW5lUGFyYWdyYXBoEjkKA3BpYxgBIAEoCzInLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk' + '1kbER5bkRyYXdJdGVtUgNwaWM='); + +@$core.Deprecated('Use linkNodeDescriptor instead') +const LinkNode$json = { + '1': 'LinkNode', + '2': [ + {'1': 'show_text', '3': 1, '4': 1, '5': 9, '10': 'showText'}, + {'1': 'link', '3': 2, '4': 1, '5': 9, '10': 'link'}, + {'1': 'icon', '3': 3, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'icon_suffix', '3': 4, '4': 1, '5': 9, '10': 'iconSuffix'}, + {'1': 'link_type', '3': 5, '4': 1, '5': 9, '10': 'linkType'}, + {'1': 'link_type_enum', '3': 6, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.LinkNodeType', '10': 'linkTypeEnum'}, + {'1': 'biz_id', '3': 7, '4': 1, '5': 9, '10': 'bizId'}, + {'1': 'timestamp', '3': 8, '4': 1, '5': 3, '10': 'timestamp'}, + {'1': 'goods_item', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.GoodsItem', '10': 'goodsItem'}, + {'1': 'note_video_ts', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.NoteVideoTS', '10': 'noteVideoTs'}, + ], +}; + +/// Descriptor for `LinkNode`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List linkNodeDescriptor = $convert.base64Decode( + 'CghMaW5rTm9kZRIbCglzaG93X3RleHQYASABKAlSCHNob3dUZXh0EhIKBGxpbmsYAiABKAlSBG' + 'xpbmsSEgoEaWNvbhgDIAEoCVIEaWNvbhIfCgtpY29uX3N1ZmZpeBgEIAEoCVIKaWNvblN1ZmZp' + 'eBIbCglsaW5rX3R5cGUYBSABKAlSCGxpbmtUeXBlEksKDmxpbmtfdHlwZV9lbnVtGAYgASgOMi' + 'UuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTGlua05vZGVUeXBlUgxsaW5rVHlwZUVudW0SFQoG' + 'Yml6X2lkGAcgASgJUgViaXpJZBIcCgl0aW1lc3RhbXAYCCABKANSCXRpbWVzdGFtcBJBCgpnb2' + '9kc19pdGVtGAkgASgLMiIuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuR29vZHNJdGVtUglnb29k' + 'c0l0ZW0SSAoNbm90ZV92aWRlb190cxgKIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk' + '5vdGVWaWRlb1RTUgtub3RlVmlkZW9Ucw=='); + +@$core.Deprecated('Use liveInfoDescriptor instead') +const LiveInfo$json = { + '1': 'LiveInfo', + '2': [ + {'1': 'is_living', '3': 1, '4': 1, '5': 5, '10': 'isLiving'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'live_state', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.LiveState', '10': 'liveState'}, + ], +}; + +/// Descriptor for `LiveInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List liveInfoDescriptor = $convert.base64Decode( + 'CghMaXZlSW5mbxIbCglpc19saXZpbmcYASABKAVSCGlzTGl2aW5nEhAKA3VyaRgCIAEoCVIDdX' + 'JpEkEKCmxpdmVfc3RhdGUYAyABKA4yIi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5MaXZlU3Rh' + 'dGVSCWxpdmVTdGF0ZQ=='); + +@$core.Deprecated('Use livePendantDescriptor instead') +const LivePendant$json = { + '1': 'LivePendant', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + {'1': 'icon', '3': 2, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'pendant_id', '3': 3, '4': 1, '5': 3, '10': 'pendantId'}, + ], +}; + +/// Descriptor for `LivePendant`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List livePendantDescriptor = $convert.base64Decode( + 'CgtMaXZlUGVuZGFudBISCgR0ZXh0GAEgASgJUgR0ZXh0EhIKBGljb24YAiABKAlSBGljb24SHQ' + 'oKcGVuZGFudF9pZBgDIAEoA1IJcGVuZGFudElk'); + +@$core.Deprecated('Use matchTeamDescriptor instead') +const MatchTeam$json = { + '1': 'MatchTeam', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'cover', '3': 3, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'color', '3': 4, '4': 1, '5': 9, '10': 'color'}, + {'1': 'night_color', '3': 5, '4': 1, '5': 9, '10': 'nightColor'}, + ], +}; + +/// Descriptor for `MatchTeam`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List matchTeamDescriptor = $convert.base64Decode( + 'CglNYXRjaFRlYW0SDgoCaWQYASABKANSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSFAoFY292ZX' + 'IYAyABKAlSBWNvdmVyEhQKBWNvbG9yGAQgASgJUgVjb2xvchIfCgtuaWdodF9jb2xvchgFIAEo' + 'CVIKbmlnaHRDb2xvcg=='); + +@$core.Deprecated('Use mdlDynAppletDescriptor instead') +const MdlDynApplet$json = { + '1': 'MdlDynApplet', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'title', '3': 4, '4': 1, '5': 9, '10': 'title'}, + {'1': 'sub_title', '3': 5, '4': 1, '5': 9, '10': 'subTitle'}, + {'1': 'cover', '3': 6, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'icon', '3': 7, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'label', '3': 8, '4': 1, '5': 9, '10': 'label'}, + {'1': 'button_title', '3': 9, '4': 1, '5': 9, '10': 'buttonTitle'}, + ], +}; + +/// Descriptor for `MdlDynApplet`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynAppletDescriptor = $convert.base64Decode( + 'CgxNZGxEeW5BcHBsZXQSDgoCaWQYASABKANSAmlkEhAKA3VyaRgCIAEoCVIDdXJpEhQKBXRpdG' + 'xlGAQgASgJUgV0aXRsZRIbCglzdWJfdGl0bGUYBSABKAlSCHN1YlRpdGxlEhQKBWNvdmVyGAYg' + 'ASgJUgVjb3ZlchISCgRpY29uGAcgASgJUgRpY29uEhQKBWxhYmVsGAggASgJUgVsYWJlbBIhCg' + 'xidXR0b25fdGl0bGUYCSABKAlSC2J1dHRvblRpdGxl'); + +@$core.Deprecated('Use mdlDynArchiveDescriptor instead') +const MdlDynArchive$json = { + '1': 'MdlDynArchive', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'cover_left_text_1', '3': 4, '4': 1, '5': 9, '10': 'coverLeftText1'}, + {'1': 'cover_left_text_2', '3': 5, '4': 1, '5': 9, '10': 'coverLeftText2'}, + {'1': 'cover_left_text_3', '3': 6, '4': 1, '5': 9, '10': 'coverLeftText3'}, + {'1': 'avid', '3': 7, '4': 1, '5': 3, '10': 'avid'}, + {'1': 'cid', '3': 8, '4': 1, '5': 3, '10': 'cid'}, + {'1': 'media_type', '3': 9, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.MediaType', '10': 'mediaType'}, + {'1': 'dimension', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Dimension', '10': 'dimension'}, + {'1': 'badge', '3': 11, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + {'1': 'can_play', '3': 12, '4': 1, '5': 8, '10': 'canPlay'}, + {'1': 'stype', '3': 13, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.VideoType', '10': 'stype'}, + {'1': 'isPGC', '3': 14, '4': 1, '5': 8, '10': 'isPGC'}, + {'1': 'inlineURL', '3': 15, '4': 1, '5': 9, '10': 'inlineURL'}, + {'1': 'EpisodeId', '3': 16, '4': 1, '5': 3, '10': 'EpisodeId'}, + {'1': 'SubType', '3': 17, '4': 1, '5': 5, '10': 'SubType'}, + {'1': 'PgcSeasonId', '3': 18, '4': 1, '5': 3, '10': 'PgcSeasonId'}, + {'1': 'play_icon', '3': 19, '4': 1, '5': 9, '10': 'playIcon'}, + {'1': 'duration', '3': 20, '4': 1, '5': 3, '10': 'duration'}, + {'1': 'jump_url', '3': 21, '4': 1, '5': 9, '10': 'jumpUrl'}, + {'1': 'is_preview', '3': 22, '4': 1, '5': 8, '10': 'isPreview'}, + {'1': 'badge_category', '3': 23, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badgeCategory'}, + {'1': 'is_feature', '3': 24, '4': 1, '5': 8, '10': 'isFeature'}, + {'1': 'reserve_type', '3': 25, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ReserveType', '10': 'reserveType'}, + {'1': 'bvid', '3': 26, '4': 1, '5': 9, '10': 'bvid'}, + {'1': 'view', '3': 27, '4': 1, '5': 5, '10': 'view'}, + {'1': 'show_premiere_badge', '3': 28, '4': 1, '5': 8, '10': 'showPremiereBadge'}, + {'1': 'premiere_card', '3': 29, '4': 1, '5': 8, '10': 'premiereCard'}, + {'1': 'show_progress', '3': 30, '4': 1, '5': 8, '10': 'showProgress'}, + {'1': 'part_duration', '3': 31, '4': 1, '5': 3, '10': 'partDuration'}, + {'1': 'part_progress', '3': 32, '4': 1, '5': 3, '10': 'partProgress'}, + ], +}; + +/// Descriptor for `MdlDynArchive`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynArchiveDescriptor = $convert.base64Decode( + 'Cg1NZGxEeW5BcmNoaXZlEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIUCgVjb3ZlchgCIAEoCVIFY2' + '92ZXISEAoDdXJpGAMgASgJUgN1cmkSKQoRY292ZXJfbGVmdF90ZXh0XzEYBCABKAlSDmNvdmVy' + 'TGVmdFRleHQxEikKEWNvdmVyX2xlZnRfdGV4dF8yGAUgASgJUg5jb3ZlckxlZnRUZXh0MhIpCh' + 'Fjb3Zlcl9sZWZ0X3RleHRfMxgGIAEoCVIOY292ZXJMZWZ0VGV4dDMSEgoEYXZpZBgHIAEoA1IE' + 'YXZpZBIQCgNjaWQYCCABKANSA2NpZBJBCgptZWRpYV90eXBlGAkgASgOMiIuYmlsaWJpbGkuYX' + 'BwLmR5bmFtaWMudjIuTWVkaWFUeXBlUgltZWRpYVR5cGUSQAoJZGltZW5zaW9uGAogASgLMiIu' + 'YmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuRGltZW5zaW9uUglkaW1lbnNpb24SOQoFYmFkZ2UYCy' + 'ADKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5WaWRlb0JhZGdlUgViYWRnZRIZCghjYW5f' + 'cGxheRgMIAEoCFIHY2FuUGxheRI4CgVzdHlwZRgNIAEoDjIiLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLlZpZGVvVHlwZVIFc3R5cGUSFAoFaXNQR0MYDiABKAhSBWlzUEdDEhwKCWlubGluZVVS' + 'TBgPIAEoCVIJaW5saW5lVVJMEhwKCUVwaXNvZGVJZBgQIAEoA1IJRXBpc29kZUlkEhgKB1N1Yl' + 'R5cGUYESABKAVSB1N1YlR5cGUSIAoLUGdjU2Vhc29uSWQYEiABKANSC1BnY1NlYXNvbklkEhsK' + 'CXBsYXlfaWNvbhgTIAEoCVIIcGxheUljb24SGgoIZHVyYXRpb24YFCABKANSCGR1cmF0aW9uEh' + 'kKCGp1bXBfdXJsGBUgASgJUgdqdW1wVXJsEh0KCmlzX3ByZXZpZXcYFiABKAhSCWlzUHJldmll' + 'dxJKCg5iYWRnZV9jYXRlZ29yeRgXIAMoCzIjLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlZpZG' + 'VvQmFkZ2VSDWJhZGdlQ2F0ZWdvcnkSHQoKaXNfZmVhdHVyZRgYIAEoCFIJaXNGZWF0dXJlEkcK' + 'DHJlc2VydmVfdHlwZRgZIAEoDjIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJlc2VydmVUeX' + 'BlUgtyZXNlcnZlVHlwZRISCgRidmlkGBogASgJUgRidmlkEhIKBHZpZXcYGyABKAVSBHZpZXcS' + 'LgoTc2hvd19wcmVtaWVyZV9iYWRnZRgcIAEoCFIRc2hvd1ByZW1pZXJlQmFkZ2USIwoNcHJlbW' + 'llcmVfY2FyZBgdIAEoCFIMcHJlbWllcmVDYXJkEiMKDXNob3dfcHJvZ3Jlc3MYHiABKAhSDHNo' + 'b3dQcm9ncmVzcxIjCg1wYXJ0X2R1cmF0aW9uGB8gASgDUgxwYXJ0RHVyYXRpb24SIwoNcGFydF' + '9wcm9ncmVzcxggIAEoA1IMcGFydFByb2dyZXNz'); + +@$core.Deprecated('Use mdlDynArticleDescriptor instead') +const MdlDynArticle$json = { + '1': 'MdlDynArticle', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 4, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'covers', '3': 5, '4': 3, '5': 9, '10': 'covers'}, + {'1': 'label', '3': 6, '4': 1, '5': 9, '10': 'label'}, + {'1': 'templateID', '3': 7, '4': 1, '5': 5, '10': 'templateID'}, + ], +}; + +/// Descriptor for `MdlDynArticle`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynArticleDescriptor = $convert.base64Decode( + 'Cg1NZGxEeW5BcnRpY2xlEg4KAmlkGAEgASgDUgJpZBIQCgN1cmkYAiABKAlSA3VyaRIUCgV0aX' + 'RsZRgDIAEoCVIFdGl0bGUSEgoEZGVzYxgEIAEoCVIEZGVzYxIWCgZjb3ZlcnMYBSADKAlSBmNv' + 'dmVycxIUCgVsYWJlbBgGIAEoCVIFbGFiZWwSHgoKdGVtcGxhdGVJRBgHIAEoBVIKdGVtcGxhdG' + 'VJRA=='); + +@$core.Deprecated('Use mdlDynCommonDescriptor instead') +const MdlDynCommon$json = { + '1': 'MdlDynCommon', + '2': [ + {'1': 'oid', '3': 1, '4': 1, '5': 3, '10': 'oid'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 4, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'cover', '3': 5, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'label', '3': 6, '4': 1, '5': 9, '10': 'label'}, + {'1': 'bizType', '3': 7, '4': 1, '5': 5, '10': 'bizType'}, + {'1': 'sketchID', '3': 8, '4': 1, '5': 3, '10': 'sketchID'}, + {'1': 'style', '3': 9, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.MdlDynCommonType', '10': 'style'}, + {'1': 'badge', '3': 10, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + {'1': 'button', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButton', '10': 'button'}, + ], +}; + +/// Descriptor for `MdlDynCommon`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynCommonDescriptor = $convert.base64Decode( + 'CgxNZGxEeW5Db21tb24SEAoDb2lkGAEgASgDUgNvaWQSEAoDdXJpGAIgASgJUgN1cmkSFAoFdG' + 'l0bGUYAyABKAlSBXRpdGxlEhIKBGRlc2MYBCABKAlSBGRlc2MSFAoFY292ZXIYBSABKAlSBWNv' + 'dmVyEhQKBWxhYmVsGAYgASgJUgVsYWJlbBIYCgdiaXpUeXBlGAcgASgFUgdiaXpUeXBlEhoKCH' + 'NrZXRjaElEGAggASgDUghza2V0Y2hJRBI/CgVzdHlsZRgJIAEoDjIpLmJpbGliaWxpLmFwcC5k' + 'eW5hbWljLnYyLk1kbER5bkNvbW1vblR5cGVSBXN0eWxlEjkKBWJhZGdlGAogAygLMiMuYmlsaW' + 'JpbGkuYXBwLmR5bmFtaWMudjIuVmlkZW9CYWRnZVIFYmFkZ2USQQoGYnV0dG9uGAsgASgLMiku' + 'YmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQWRkaXRpb25hbEJ1dHRvblIGYnV0dG9u'); + +@$core.Deprecated('Use mdlDynCourBatchDescriptor instead') +const MdlDynCourBatch$json = { + '1': 'MdlDynCourBatch', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'text_1', '3': 4, '4': 1, '5': 9, '10': 'text1'}, + {'1': 'text_2', '3': 5, '4': 1, '5': 9, '10': 'text2'}, + {'1': 'badge', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + {'1': 'play_icon', '3': 7, '4': 1, '5': 9, '10': 'playIcon'}, + {'1': 'can_play', '3': 8, '4': 1, '5': 8, '10': 'canPlay'}, + {'1': 'is_preview', '3': 9, '4': 1, '5': 8, '10': 'isPreview'}, + {'1': 'cover_left_text_1', '3': 10, '4': 1, '5': 9, '10': 'coverLeftText1'}, + {'1': 'cover_left_text_2', '3': 11, '4': 1, '5': 9, '10': 'coverLeftText2'}, + {'1': 'cover_left_text_3', '3': 12, '4': 1, '5': 9, '10': 'coverLeftText3'}, + {'1': 'avid', '3': 13, '4': 1, '5': 3, '10': 'avid'}, + {'1': 'cid', '3': 14, '4': 1, '5': 3, '10': 'cid'}, + {'1': 'epid', '3': 15, '4': 1, '5': 3, '10': 'epid'}, + {'1': 'duration', '3': 16, '4': 1, '5': 3, '10': 'duration'}, + {'1': 'season_id', '3': 17, '4': 1, '5': 3, '10': 'seasonId'}, + ], +}; + +/// Descriptor for `MdlDynCourBatch`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynCourBatchDescriptor = $convert.base64Decode( + 'Cg9NZGxEeW5Db3VyQmF0Y2gSFAoFdGl0bGUYASABKAlSBXRpdGxlEhQKBWNvdmVyGAIgASgJUg' + 'Vjb3ZlchIQCgN1cmkYAyABKAlSA3VyaRIVCgZ0ZXh0XzEYBCABKAlSBXRleHQxEhUKBnRleHRf' + 'MhgFIAEoCVIFdGV4dDISOQoFYmFkZ2UYBiABKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5WaWRlb0JhZGdlUgViYWRnZRIbCglwbGF5X2ljb24YByABKAlSCHBsYXlJY29uEhkKCGNhbl9w' + 'bGF5GAggASgIUgdjYW5QbGF5Eh0KCmlzX3ByZXZpZXcYCSABKAhSCWlzUHJldmlldxIpChFjb3' + 'Zlcl9sZWZ0X3RleHRfMRgKIAEoCVIOY292ZXJMZWZ0VGV4dDESKQoRY292ZXJfbGVmdF90ZXh0' + 'XzIYCyABKAlSDmNvdmVyTGVmdFRleHQyEikKEWNvdmVyX2xlZnRfdGV4dF8zGAwgASgJUg5jb3' + 'ZlckxlZnRUZXh0MxISCgRhdmlkGA0gASgDUgRhdmlkEhAKA2NpZBgOIAEoA1IDY2lkEhIKBGVw' + 'aWQYDyABKANSBGVwaWQSGgoIZHVyYXRpb24YECABKANSCGR1cmF0aW9uEhsKCXNlYXNvbl9pZB' + 'gRIAEoA1IIc2Vhc29uSWQ='); + +@$core.Deprecated('Use mdlDynCourSeasonDescriptor instead') +const MdlDynCourSeason$json = { + '1': 'MdlDynCourSeason', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'text_1', '3': 4, '4': 1, '5': 9, '10': 'text1'}, + {'1': 'desc', '3': 5, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'badge', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + {'1': 'play_icon', '3': 7, '4': 1, '5': 9, '10': 'playIcon'}, + {'1': 'can_play', '3': 8, '4': 1, '5': 8, '10': 'canPlay'}, + {'1': 'is_preview', '3': 9, '4': 1, '5': 8, '10': 'isPreview'}, + {'1': 'avid', '3': 10, '4': 1, '5': 3, '10': 'avid'}, + {'1': 'cid', '3': 11, '4': 1, '5': 3, '10': 'cid'}, + {'1': 'epid', '3': 12, '4': 1, '5': 3, '10': 'epid'}, + {'1': 'duration', '3': 13, '4': 1, '5': 3, '10': 'duration'}, + {'1': 'season_id', '3': 14, '4': 1, '5': 3, '10': 'seasonId'}, + ], +}; + +/// Descriptor for `MdlDynCourSeason`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynCourSeasonDescriptor = $convert.base64Decode( + 'ChBNZGxEeW5Db3VyU2Vhc29uEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIUCgVjb3ZlchgCIAEoCV' + 'IFY292ZXISEAoDdXJpGAMgASgJUgN1cmkSFQoGdGV4dF8xGAQgASgJUgV0ZXh0MRISCgRkZXNj' + 'GAUgASgJUgRkZXNjEjkKBWJhZGdlGAYgASgLMiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVm' + 'lkZW9CYWRnZVIFYmFkZ2USGwoJcGxheV9pY29uGAcgASgJUghwbGF5SWNvbhIZCghjYW5fcGxh' + 'eRgIIAEoCFIHY2FuUGxheRIdCgppc19wcmV2aWV3GAkgASgIUglpc1ByZXZpZXcSEgoEYXZpZB' + 'gKIAEoA1IEYXZpZBIQCgNjaWQYCyABKANSA2NpZBISCgRlcGlkGAwgASgDUgRlcGlkEhoKCGR1' + 'cmF0aW9uGA0gASgDUghkdXJhdGlvbhIbCglzZWFzb25faWQYDiABKANSCHNlYXNvbklk'); + +@$core.Deprecated('Use mdlDynCourUpDescriptor instead') +const MdlDynCourUp$json = { + '1': 'MdlDynCourUp', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 2, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'cover', '3': 3, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'uri', '3': 4, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'text_1', '3': 5, '4': 1, '5': 9, '10': 'text1'}, + {'1': 'badge', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + {'1': 'play_icon', '3': 7, '4': 1, '5': 9, '10': 'playIcon'}, + {'1': 'can_play', '3': 8, '4': 1, '5': 8, '10': 'canPlay'}, + {'1': 'is_preview', '3': 9, '4': 1, '5': 8, '10': 'isPreview'}, + {'1': 'avid', '3': 10, '4': 1, '5': 3, '10': 'avid'}, + {'1': 'cid', '3': 11, '4': 1, '5': 3, '10': 'cid'}, + {'1': 'epid', '3': 12, '4': 1, '5': 3, '10': 'epid'}, + {'1': 'duration', '3': 13, '4': 1, '5': 3, '10': 'duration'}, + {'1': 'season_id', '3': 14, '4': 1, '5': 3, '10': 'seasonId'}, + ], +}; + +/// Descriptor for `MdlDynCourUp`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynCourUpDescriptor = $convert.base64Decode( + 'CgxNZGxEeW5Db3VyVXASFAoFdGl0bGUYASABKAlSBXRpdGxlEhIKBGRlc2MYAiABKAlSBGRlc2' + 'MSFAoFY292ZXIYAyABKAlSBWNvdmVyEhAKA3VyaRgEIAEoCVIDdXJpEhUKBnRleHRfMRgFIAEo' + 'CVIFdGV4dDESOQoFYmFkZ2UYBiABKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5WaWRlb0' + 'JhZGdlUgViYWRnZRIbCglwbGF5X2ljb24YByABKAlSCHBsYXlJY29uEhkKCGNhbl9wbGF5GAgg' + 'ASgIUgdjYW5QbGF5Eh0KCmlzX3ByZXZpZXcYCSABKAhSCWlzUHJldmlldxISCgRhdmlkGAogAS' + 'gDUgRhdmlkEhAKA2NpZBgLIAEoA1IDY2lkEhIKBGVwaWQYDCABKANSBGVwaWQSGgoIZHVyYXRp' + 'b24YDSABKANSCGR1cmF0aW9uEhsKCXNlYXNvbl9pZBgOIAEoA1IIc2Vhc29uSWQ='); + +@$core.Deprecated('Use mdlDynDrawDescriptor instead') +const MdlDynDraw$json = { + '1': 'MdlDynDraw', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynDrawItem', '10': 'items'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'id', '3': 3, '4': 1, '5': 3, '10': 'id'}, + {'1': 'is_draw_first', '3': 4, '4': 1, '5': 8, '10': 'isDrawFirst'}, + {'1': 'is_big_cover', '3': 5, '4': 1, '5': 8, '10': 'isBigCover'}, + {'1': 'is_article_cover', '3': 6, '4': 1, '5': 8, '10': 'isArticleCover'}, + ], +}; + +/// Descriptor for `MdlDynDraw`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynDrawDescriptor = $convert.base64Decode( + 'CgpNZGxEeW5EcmF3Ej0KBWl0ZW1zGAEgAygLMicuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW' + 'RsRHluRHJhd0l0ZW1SBWl0ZW1zEhAKA3VyaRgCIAEoCVIDdXJpEg4KAmlkGAMgASgDUgJpZBIi' + 'Cg1pc19kcmF3X2ZpcnN0GAQgASgIUgtpc0RyYXdGaXJzdBIgCgxpc19iaWdfY292ZXIYBSABKA' + 'hSCmlzQmlnQ292ZXISKAoQaXNfYXJ0aWNsZV9jb3ZlchgGIAEoCFIOaXNBcnRpY2xlQ292ZXI='); + +@$core.Deprecated('Use mdlDynDrawItemDescriptor instead') +const MdlDynDrawItem$json = { + '1': 'MdlDynDrawItem', + '2': [ + {'1': 'src', '3': 1, '4': 1, '5': 9, '10': 'src'}, + {'1': 'width', '3': 2, '4': 1, '5': 3, '10': 'width'}, + {'1': 'height', '3': 3, '4': 1, '5': 3, '10': 'height'}, + {'1': 'size', '3': 4, '4': 1, '5': 2, '10': 'size'}, + {'1': 'tags', '3': 5, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynDrawTag', '10': 'tags'}, + ], +}; + +/// Descriptor for `MdlDynDrawItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynDrawItemDescriptor = $convert.base64Decode( + 'Cg5NZGxEeW5EcmF3SXRlbRIQCgNzcmMYASABKAlSA3NyYxIUCgV3aWR0aBgCIAEoA1IFd2lkdG' + 'gSFgoGaGVpZ2h0GAMgASgDUgZoZWlnaHQSEgoEc2l6ZRgEIAEoAlIEc2l6ZRI6CgR0YWdzGAUg' + 'AygLMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTWRsRHluRHJhd1RhZ1IEdGFncw=='); + +@$core.Deprecated('Use mdlDynDrawTagDescriptor instead') +const MdlDynDrawTag$json = { + '1': 'MdlDynDrawTag', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.MdlDynDrawTagType', '10': 'type'}, + {'1': 'item', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynDrawTagItem', '10': 'item'}, + ], +}; + +/// Descriptor for `MdlDynDrawTag`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynDrawTagDescriptor = $convert.base64Decode( + 'Cg1NZGxEeW5EcmF3VGFnEj4KBHR5cGUYASABKA4yKi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5NZGxEeW5EcmF3VGFnVHlwZVIEdHlwZRI+CgRpdGVtGAIgASgLMiouYmlsaWJpbGkuYXBwLmR5' + 'bmFtaWMudjIuTWRsRHluRHJhd1RhZ0l0ZW1SBGl0ZW0='); + +@$core.Deprecated('Use mdlDynDrawTagItemDescriptor instead') +const MdlDynDrawTagItem$json = { + '1': 'MdlDynDrawTagItem', + '2': [ + {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + {'1': 'x', '3': 3, '4': 1, '5': 3, '10': 'x'}, + {'1': 'y', '3': 4, '4': 1, '5': 3, '10': 'y'}, + {'1': 'orientation', '3': 5, '4': 1, '5': 5, '10': 'orientation'}, + {'1': 'source', '3': 6, '4': 1, '5': 5, '10': 'source'}, + {'1': 'item_id', '3': 7, '4': 1, '5': 3, '10': 'itemId'}, + {'1': 'mid', '3': 8, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'tid', '3': 9, '4': 1, '5': 3, '10': 'tid'}, + {'1': 'poi', '3': 10, '4': 1, '5': 9, '10': 'poi'}, + {'1': 'schema_url', '3': 11, '4': 1, '5': 9, '10': 'schemaUrl'}, + ], +}; + +/// Descriptor for `MdlDynDrawTagItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynDrawTagItemDescriptor = $convert.base64Decode( + 'ChFNZGxEeW5EcmF3VGFnSXRlbRIQCgN1cmwYASABKAlSA3VybBISCgR0ZXh0GAIgASgJUgR0ZX' + 'h0EgwKAXgYAyABKANSAXgSDAoBeRgEIAEoA1IBeRIgCgtvcmllbnRhdGlvbhgFIAEoBVILb3Jp' + 'ZW50YXRpb24SFgoGc291cmNlGAYgASgFUgZzb3VyY2USFwoHaXRlbV9pZBgHIAEoA1IGaXRlbU' + 'lkEhAKA21pZBgIIAEoA1IDbWlkEhAKA3RpZBgJIAEoA1IDdGlkEhAKA3BvaRgKIAEoCVIDcG9p' + 'Eh0KCnNjaGVtYV91cmwYCyABKAlSCXNjaGVtYVVybA=='); + +@$core.Deprecated('Use mdlDynForwardDescriptor instead') +const MdlDynForward$json = { + '1': 'MdlDynForward', + '2': [ + {'1': 'item', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'item'}, + {'1': 'rtype', '3': 2, '4': 1, '5': 5, '10': 'rtype'}, + ], +}; + +/// Descriptor for `MdlDynForward`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynForwardDescriptor = $convert.base64Decode( + 'Cg1NZGxEeW5Gb3J3YXJkEjgKBGl0ZW0YASABKAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5EeW5hbWljSXRlbVIEaXRlbRIUCgVydHlwZRgCIAEoBVIFcnR5cGU='); + +@$core.Deprecated('Use mdlDynLiveDescriptor instead') +const MdlDynLive$json = { + '1': 'MdlDynLive', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 4, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'cover_label', '3': 5, '4': 1, '5': 9, '10': 'coverLabel'}, + {'1': 'cover_label2', '3': 6, '4': 1, '5': 9, '10': 'coverLabel2'}, + {'1': 'live_state', '3': 7, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.LiveState', '10': 'liveState'}, + {'1': 'badge', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + {'1': 'reserve_type', '3': 9, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ReserveType', '10': 'reserveType'}, + ], +}; + +/// Descriptor for `MdlDynLive`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynLiveDescriptor = $convert.base64Decode( + 'CgpNZGxEeW5MaXZlEg4KAmlkGAEgASgDUgJpZBIQCgN1cmkYAiABKAlSA3VyaRIUCgV0aXRsZR' + 'gDIAEoCVIFdGl0bGUSFAoFY292ZXIYBCABKAlSBWNvdmVyEh8KC2NvdmVyX2xhYmVsGAUgASgJ' + 'Ugpjb3ZlckxhYmVsEiEKDGNvdmVyX2xhYmVsMhgGIAEoCVILY292ZXJMYWJlbDISQQoKbGl2ZV' + '9zdGF0ZRgHIAEoDjIiLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkxpdmVTdGF0ZVIJbGl2ZVN0' + 'YXRlEjkKBWJhZGdlGAggASgLMiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVmlkZW9CYWRnZV' + 'IFYmFkZ2USRwoMcmVzZXJ2ZV90eXBlGAkgASgOMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIu' + 'UmVzZXJ2ZVR5cGVSC3Jlc2VydmVUeXBl'); + +@$core.Deprecated('Use mdlDynLiveRcmdDescriptor instead') +const MdlDynLiveRcmd$json = { + '1': 'MdlDynLiveRcmd', + '2': [ + {'1': 'content', '3': 1, '4': 1, '5': 9, '10': 'content'}, + {'1': 'reserve_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ReserveType', '10': 'reserveType'}, + {'1': 'pendant', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.LivePendant', '10': 'pendant'}, + ], +}; + +/// Descriptor for `MdlDynLiveRcmd`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynLiveRcmdDescriptor = $convert.base64Decode( + 'Cg5NZGxEeW5MaXZlUmNtZBIYCgdjb250ZW50GAEgASgJUgdjb250ZW50EkcKDHJlc2VydmVfdH' + 'lwZRgCIAEoDjIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJlc2VydmVUeXBlUgtyZXNlcnZl' + 'VHlwZRI+CgdwZW5kYW50GAMgASgLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTGl2ZVBlbm' + 'RhbnRSB3BlbmRhbnQ='); + +@$core.Deprecated('Use mdlDynMedialistDescriptor instead') +const MdlDynMedialist$json = { + '1': 'MdlDynMedialist', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'}, + {'1': 'sub_title', '3': 4, '4': 1, '5': 9, '10': 'subTitle'}, + {'1': 'cover', '3': 5, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'cover_type', '3': 6, '4': 1, '5': 5, '10': 'coverType'}, + {'1': 'badge', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + ], +}; + +/// Descriptor for `MdlDynMedialist`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynMedialistDescriptor = $convert.base64Decode( + 'Cg9NZGxEeW5NZWRpYWxpc3QSDgoCaWQYASABKANSAmlkEhAKA3VyaRgCIAEoCVIDdXJpEhQKBX' + 'RpdGxlGAMgASgJUgV0aXRsZRIbCglzdWJfdGl0bGUYBCABKAlSCHN1YlRpdGxlEhQKBWNvdmVy' + 'GAUgASgJUgVjb3ZlchIdCgpjb3Zlcl90eXBlGAYgASgFUgljb3ZlclR5cGUSOQoFYmFkZ2UYBy' + 'ABKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5WaWRlb0JhZGdlUgViYWRnZQ=='); + +@$core.Deprecated('Use mdlDynMusicDescriptor instead') +const MdlDynMusic$json = { + '1': 'MdlDynMusic', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'up_id', '3': 3, '4': 1, '5': 3, '10': 'upId'}, + {'1': 'title', '3': 4, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 5, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'label1', '3': 6, '4': 1, '5': 9, '10': 'label1'}, + {'1': 'upper', '3': 7, '4': 1, '5': 9, '10': 'upper'}, + ], +}; + +/// Descriptor for `MdlDynMusic`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynMusicDescriptor = $convert.base64Decode( + 'CgtNZGxEeW5NdXNpYxIOCgJpZBgBIAEoA1ICaWQSEAoDdXJpGAIgASgJUgN1cmkSEwoFdXBfaW' + 'QYAyABKANSBHVwSWQSFAoFdGl0bGUYBCABKAlSBXRpdGxlEhQKBWNvdmVyGAUgASgJUgVjb3Zl' + 'chIWCgZsYWJlbDEYBiABKAlSBmxhYmVsMRIUCgV1cHBlchgHIAEoCVIFdXBwZXI='); + +@$core.Deprecated('Use mdlDynPGCDescriptor instead') +const MdlDynPGC$json = { + '1': 'MdlDynPGC', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'cover_left_text_1', '3': 4, '4': 1, '5': 9, '10': 'coverLeftText1'}, + {'1': 'cover_left_text_2', '3': 5, '4': 1, '5': 9, '10': 'coverLeftText2'}, + {'1': 'cover_left_text_3', '3': 6, '4': 1, '5': 9, '10': 'coverLeftText3'}, + {'1': 'cid', '3': 7, '4': 1, '5': 3, '10': 'cid'}, + {'1': 'season_id', '3': 8, '4': 1, '5': 3, '10': 'seasonId'}, + {'1': 'epid', '3': 9, '4': 1, '5': 3, '10': 'epid'}, + {'1': 'aid', '3': 10, '4': 1, '5': 3, '10': 'aid'}, + {'1': 'media_type', '3': 11, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.MediaType', '10': 'mediaType'}, + {'1': 'sub_type', '3': 12, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.VideoSubType', '10': 'subType'}, + {'1': 'is_preview', '3': 13, '4': 1, '5': 8, '10': 'isPreview'}, + {'1': 'dimension', '3': 14, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Dimension', '10': 'dimension'}, + {'1': 'badge', '3': 15, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + {'1': 'can_play', '3': 16, '4': 1, '5': 8, '10': 'canPlay'}, + {'1': 'season', '3': 17, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.PGCSeason', '10': 'season'}, + {'1': 'play_icon', '3': 18, '4': 1, '5': 9, '10': 'playIcon'}, + {'1': 'duration', '3': 19, '4': 1, '5': 3, '10': 'duration'}, + {'1': 'jump_url', '3': 20, '4': 1, '5': 9, '10': 'jumpUrl'}, + {'1': 'badge_category', '3': 21, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badgeCategory'}, + {'1': 'is_feature', '3': 22, '4': 1, '5': 8, '10': 'isFeature'}, + ], +}; + +/// Descriptor for `MdlDynPGC`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynPGCDescriptor = $convert.base64Decode( + 'CglNZGxEeW5QR0MSFAoFdGl0bGUYASABKAlSBXRpdGxlEhQKBWNvdmVyGAIgASgJUgVjb3Zlch' + 'IQCgN1cmkYAyABKAlSA3VyaRIpChFjb3Zlcl9sZWZ0X3RleHRfMRgEIAEoCVIOY292ZXJMZWZ0' + 'VGV4dDESKQoRY292ZXJfbGVmdF90ZXh0XzIYBSABKAlSDmNvdmVyTGVmdFRleHQyEikKEWNvdm' + 'VyX2xlZnRfdGV4dF8zGAYgASgJUg5jb3ZlckxlZnRUZXh0MxIQCgNjaWQYByABKANSA2NpZBIb' + 'CglzZWFzb25faWQYCCABKANSCHNlYXNvbklkEhIKBGVwaWQYCSABKANSBGVwaWQSEAoDYWlkGA' + 'ogASgDUgNhaWQSQQoKbWVkaWFfdHlwZRgLIAEoDjIiLmJpbGliaWxpLmFwcC5keW5hbWljLnYy' + 'Lk1lZGlhVHlwZVIJbWVkaWFUeXBlEkAKCHN1Yl90eXBlGAwgASgOMiUuYmlsaWJpbGkuYXBwLm' + 'R5bmFtaWMudjIuVmlkZW9TdWJUeXBlUgdzdWJUeXBlEh0KCmlzX3ByZXZpZXcYDSABKAhSCWlz' + 'UHJldmlldxJACglkaW1lbnNpb24YDiABKAsyIi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5EaW' + '1lbnNpb25SCWRpbWVuc2lvbhI5CgViYWRnZRgPIAMoCzIjLmJpbGliaWxpLmFwcC5keW5hbWlj' + 'LnYyLlZpZGVvQmFkZ2VSBWJhZGdlEhkKCGNhbl9wbGF5GBAgASgIUgdjYW5QbGF5EjoKBnNlYX' + 'NvbhgRIAEoCzIiLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlBHQ1NlYXNvblIGc2Vhc29uEhsK' + 'CXBsYXlfaWNvbhgSIAEoCVIIcGxheUljb24SGgoIZHVyYXRpb24YEyABKANSCGR1cmF0aW9uEh' + 'kKCGp1bXBfdXJsGBQgASgJUgdqdW1wVXJsEkoKDmJhZGdlX2NhdGVnb3J5GBUgAygLMiMuYmls' + 'aWJpbGkuYXBwLmR5bmFtaWMudjIuVmlkZW9CYWRnZVINYmFkZ2VDYXRlZ29yeRIdCgppc19mZW' + 'F0dXJlGBYgASgIUglpc0ZlYXR1cmU='); + +@$core.Deprecated('Use mdlDynSubscriptionDescriptor instead') +const MdlDynSubscription$json = { + '1': 'MdlDynSubscription', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'ad_id', '3': 2, '4': 1, '5': 3, '10': 'adId'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'title', '3': 4, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 5, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'ad_title', '3': 6, '4': 1, '5': 9, '10': 'adTitle'}, + {'1': 'badge', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VideoBadge', '10': 'badge'}, + {'1': 'tips', '3': 8, '4': 1, '5': 9, '10': 'tips'}, + ], +}; + +/// Descriptor for `MdlDynSubscription`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynSubscriptionDescriptor = $convert.base64Decode( + 'ChJNZGxEeW5TdWJzY3JpcHRpb24SDgoCaWQYASABKANSAmlkEhMKBWFkX2lkGAIgASgDUgRhZE' + 'lkEhAKA3VyaRgDIAEoCVIDdXJpEhQKBXRpdGxlGAQgASgJUgV0aXRsZRIUCgVjb3ZlchgFIAEo' + 'CVIFY292ZXISGQoIYWRfdGl0bGUYBiABKAlSB2FkVGl0bGUSOQoFYmFkZ2UYByABKAsyIy5iaW' + 'xpYmlsaS5hcHAuZHluYW1pYy52Mi5WaWRlb0JhZGdlUgViYWRnZRISCgR0aXBzGAggASgJUgR0' + 'aXBz'); + +@$core.Deprecated('Use mdlDynSubscriptionNewDescriptor instead') +const MdlDynSubscriptionNew$json = { + '1': 'MdlDynSubscriptionNew', + '2': [ + {'1': 'style', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.MdlDynSubscriptionNewStyle', '10': 'style'}, + {'1': 'dyn_subscription', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynSubscription', '9': 0, '10': 'dynSubscription'}, + {'1': 'dyn_live_rcmd', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynLiveRcmd', '9': 0, '10': 'dynLiveRcmd'}, + ], + '8': [ + {'1': 'item'}, + ], +}; + +/// Descriptor for `MdlDynSubscriptionNew`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynSubscriptionNewDescriptor = $convert.base64Decode( + 'ChVNZGxEeW5TdWJzY3JpcHRpb25OZXcSSQoFc3R5bGUYASABKA4yMy5iaWxpYmlsaS5hcHAuZH' + 'luYW1pYy52Mi5NZGxEeW5TdWJzY3JpcHRpb25OZXdTdHlsZVIFc3R5bGUSWAoQZHluX3N1YnNj' + 'cmlwdGlvbhgCIAEoCzIrLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1kbER5blN1YnNjcmlwdG' + 'lvbkgAUg9keW5TdWJzY3JpcHRpb24STQoNZHluX2xpdmVfcmNtZBgDIAEoCzInLmJpbGliaWxp' + 'LmFwcC5keW5hbWljLnYyLk1kbER5bkxpdmVSY21kSABSC2R5bkxpdmVSY21kQgYKBGl0ZW0='); + +@$core.Deprecated('Use mdlDynTopicSetDescriptor instead') +const MdlDynTopicSet$json = { + '1': 'MdlDynTopicSet', + '2': [ + {'1': 'topics', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicItem', '10': 'topics'}, + {'1': 'more_btn', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.IconButton', '10': 'moreBtn'}, + {'1': 'topic_set_id', '3': 3, '4': 1, '5': 3, '10': 'topicSetId'}, + {'1': 'push_id', '3': 4, '4': 1, '5': 3, '10': 'pushId'}, + ], +}; + +/// Descriptor for `MdlDynTopicSet`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynTopicSetDescriptor = $convert.base64Decode( + 'Cg5NZGxEeW5Ub3BpY1NldBI6CgZ0b3BpY3MYASADKAsyIi5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5Ub3BpY0l0ZW1SBnRvcGljcxI+Cghtb3JlX2J0bhgCIAEoCzIjLmJpbGliaWxpLmFwcC5k' + 'eW5hbWljLnYyLkljb25CdXR0b25SB21vcmVCdG4SIAoMdG9waWNfc2V0X2lkGAMgASgDUgp0b3' + 'BpY1NldElkEhcKB3B1c2hfaWQYBCABKANSBnB1c2hJZA=='); + +@$core.Deprecated('Use mdlDynUGCSeasonDescriptor instead') +const MdlDynUGCSeason$json = { + '1': 'MdlDynUGCSeason', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'cover_left_text_1', '3': 4, '4': 1, '5': 9, '10': 'coverLeftText1'}, + {'1': 'cover_left_text_2', '3': 5, '4': 1, '5': 9, '10': 'coverLeftText2'}, + {'1': 'cover_left_text_3', '3': 6, '4': 1, '5': 9, '10': 'coverLeftText3'}, + {'1': 'id', '3': 7, '4': 1, '5': 3, '10': 'id'}, + {'1': 'inlineURL', '3': 8, '4': 1, '5': 9, '10': 'inlineURL'}, + {'1': 'can_play', '3': 9, '4': 1, '5': 8, '10': 'canPlay'}, + {'1': 'play_icon', '3': 10, '4': 1, '5': 9, '10': 'playIcon'}, + {'1': 'avid', '3': 11, '4': 1, '5': 3, '10': 'avid'}, + {'1': 'cid', '3': 12, '4': 1, '5': 3, '10': 'cid'}, + {'1': 'dimension', '3': 13, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Dimension', '10': 'dimension'}, + {'1': 'duration', '3': 14, '4': 1, '5': 3, '10': 'duration'}, + {'1': 'jump_url', '3': 15, '4': 1, '5': 9, '10': 'jumpUrl'}, + ], +}; + +/// Descriptor for `MdlDynUGCSeason`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mdlDynUGCSeasonDescriptor = $convert.base64Decode( + 'Cg9NZGxEeW5VR0NTZWFzb24SFAoFdGl0bGUYASABKAlSBXRpdGxlEhQKBWNvdmVyGAIgASgJUg' + 'Vjb3ZlchIQCgN1cmkYAyABKAlSA3VyaRIpChFjb3Zlcl9sZWZ0X3RleHRfMRgEIAEoCVIOY292' + 'ZXJMZWZ0VGV4dDESKQoRY292ZXJfbGVmdF90ZXh0XzIYBSABKAlSDmNvdmVyTGVmdFRleHQyEi' + 'kKEWNvdmVyX2xlZnRfdGV4dF8zGAYgASgJUg5jb3ZlckxlZnRUZXh0MxIOCgJpZBgHIAEoA1IC' + 'aWQSHAoJaW5saW5lVVJMGAggASgJUglpbmxpbmVVUkwSGQoIY2FuX3BsYXkYCSABKAhSB2Nhbl' + 'BsYXkSGwoJcGxheV9pY29uGAogASgJUghwbGF5SWNvbhISCgRhdmlkGAsgASgDUgRhdmlkEhAK' + 'A2NpZBgMIAEoA1IDY2lkEkAKCWRpbWVuc2lvbhgNIAEoCzIiLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLkRpbWVuc2lvblIJZGltZW5zaW9uEhoKCGR1cmF0aW9uGA4gASgDUghkdXJhdGlvbhIZ' + 'CghqdW1wX3VybBgPIAEoCVIHanVtcFVybA=='); + +@$core.Deprecated('Use mixUpListItemDescriptor instead') +const MixUpListItem$json = { + '1': 'MixUpListItem', + '2': [ + {'1': 'uid', '3': 1, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'special_attention', '3': 2, '4': 1, '5': 5, '10': 'specialAttention'}, + {'1': 'reddot_state', '3': 3, '4': 1, '5': 5, '10': 'reddotState'}, + {'1': 'live_info', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MixUpListLiveItem', '10': 'liveInfo'}, + {'1': 'name', '3': 5, '4': 1, '5': 9, '10': 'name'}, + {'1': 'face', '3': 6, '4': 1, '5': 9, '10': 'face'}, + {'1': 'official', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OfficialVerify', '10': 'official'}, + {'1': 'vip', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VipInfo', '10': 'vip'}, + {'1': 'relation', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Relation', '10': 'relation'}, + {'1': 'permire_state', '3': 10, '4': 1, '5': 5, '10': 'permireState'}, + {'1': 'uri', '3': 11, '4': 1, '5': 9, '10': 'uri'}, + ], +}; + +/// Descriptor for `MixUpListItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mixUpListItemDescriptor = $convert.base64Decode( + 'Cg1NaXhVcExpc3RJdGVtEhAKA3VpZBgBIAEoA1IDdWlkEisKEXNwZWNpYWxfYXR0ZW50aW9uGA' + 'IgASgFUhBzcGVjaWFsQXR0ZW50aW9uEiEKDHJlZGRvdF9zdGF0ZRgDIAEoBVILcmVkZG90U3Rh' + 'dGUSRwoJbGl2ZV9pbmZvGAQgASgLMiouYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTWl4VXBMaX' + 'N0TGl2ZUl0ZW1SCGxpdmVJbmZvEhIKBG5hbWUYBSABKAlSBG5hbWUSEgoEZmFjZRgGIAEoCVIE' + 'ZmFjZRJDCghvZmZpY2lhbBgHIAEoCzInLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk9mZmljaW' + 'FsVmVyaWZ5UghvZmZpY2lhbBIyCgN2aXAYCCABKAsyIC5iaWxpYmlsaS5hcHAuZHluYW1pYy52' + 'Mi5WaXBJbmZvUgN2aXASPQoIcmVsYXRpb24YCSABKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5SZWxhdGlvblIIcmVsYXRpb24SIwoNcGVybWlyZV9zdGF0ZRgKIAEoBVIMcGVybWlyZVN0' + 'YXRlEhAKA3VyaRgLIAEoCVIDdXJp'); + +@$core.Deprecated('Use mixUpListLiveItemDescriptor instead') +const MixUpListLiveItem$json = { + '1': 'MixUpListLiveItem', + '2': [ + {'1': 'status', '3': 1, '4': 1, '5': 8, '10': 'status'}, + {'1': 'room_id', '3': 2, '4': 1, '5': 3, '10': 'roomId'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + ], +}; + +/// Descriptor for `MixUpListLiveItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mixUpListLiveItemDescriptor = $convert.base64Decode( + 'ChFNaXhVcExpc3RMaXZlSXRlbRIWCgZzdGF0dXMYASABKAhSBnN0YXR1cxIXCgdyb29tX2lkGA' + 'IgASgDUgZyb29tSWQSEAoDdXJpGAMgASgJUgN1cmk='); + +@$core.Deprecated('Use moduleDescriptor instead') +const Module$json = { + '1': 'Module', + '2': [ + {'1': 'module_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.DynModuleType', '10': 'moduleType'}, + {'1': 'module_author', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAuthor', '9': 0, '10': 'moduleAuthor'}, + {'1': 'module_dispute', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleDispute', '9': 0, '10': 'moduleDispute'}, + {'1': 'module_desc', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleDesc', '9': 0, '10': 'moduleDesc'}, + {'1': 'module_dynamic', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleDynamic', '9': 0, '10': 'moduleDynamic'}, + {'1': 'module_likeUser', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleLikeUser', '9': 0, '10': 'moduleLikeUser'}, + {'1': 'module_extend', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleExtend', '9': 0, '10': 'moduleExtend'}, + {'1': 'module_additional', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAdditional', '9': 0, '10': 'moduleAdditional'}, + {'1': 'module_stat', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleStat', '9': 0, '10': 'moduleStat'}, + {'1': 'module_fold', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleFold', '9': 0, '10': 'moduleFold'}, + {'1': 'module_comment', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleComment', '9': 0, '10': 'moduleComment'}, + {'1': 'module_interaction', '3': 12, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleInteraction', '9': 0, '10': 'moduleInteraction'}, + {'1': 'module_author_forward', '3': 13, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAuthorForward', '9': 0, '10': 'moduleAuthorForward'}, + {'1': 'module_ad', '3': 14, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAd', '9': 0, '10': 'moduleAd'}, + {'1': 'module_banner', '3': 15, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleBanner', '9': 0, '10': 'moduleBanner'}, + {'1': 'module_item_null', '3': 16, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleItemNull', '9': 0, '10': 'moduleItemNull'}, + {'1': 'module_share_info', '3': 17, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleShareInfo', '9': 0, '10': 'moduleShareInfo'}, + {'1': 'module_recommend', '3': 18, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleRecommend', '9': 0, '10': 'moduleRecommend'}, + {'1': 'module_top', '3': 19, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleTop', '9': 0, '10': 'moduleTop'}, + {'1': 'module_buttom', '3': 20, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleButtom', '9': 0, '10': 'moduleButtom'}, + {'1': 'module_stat_forward', '3': 21, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleStat', '9': 0, '10': 'moduleStatForward'}, + {'1': 'module_story', '3': 22, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleStory', '9': 0, '10': 'moduleStory'}, + {'1': 'module_topic', '3': 23, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleTopic', '9': 0, '10': 'moduleTopic'}, + {'1': 'module_topic_details_ext', '3': 24, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleTopicDetailsExt', '9': 0, '10': 'moduleTopicDetailsExt'}, + {'1': 'module_top_tag', '3': 25, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleTopTag', '9': 0, '10': 'moduleTopTag'}, + {'1': 'module_topic_brief', '3': 26, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleTopicBrief', '9': 0, '10': 'moduleTopicBrief'}, + {'1': 'module_title', '3': 27, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleTitle', '9': 0, '10': 'moduleTitle'}, + {'1': 'module_button', '3': 28, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleButton', '9': 0, '10': 'moduleButton'}, + {'1': 'module_notice', '3': 29, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleNotice', '9': 0, '10': 'moduleNotice'}, + {'1': 'module_opus_summary', '3': 30, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleOpusSummary', '9': 0, '10': 'moduleOpusSummary'}, + {'1': 'module_copyright', '3': 31, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleCopyright', '9': 0, '10': 'moduleCopyright'}, + {'1': 'module_paragraph', '3': 32, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleParagraph', '9': 0, '10': 'moduleParagraph'}, + {'1': 'module_blocked', '3': 33, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleBlocked', '9': 0, '10': 'moduleBlocked'}, + {'1': 'module_text_notice', '3': 34, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleTextNotice', '9': 0, '10': 'moduleTextNotice'}, + {'1': 'module_opus_collection', '3': 35, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleOpusCollection', '9': 0, '10': 'moduleOpusCollection'}, + ], + '8': [ + {'1': 'module_item'}, + ], +}; + +/// Descriptor for `Module`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleDescriptor = $convert.base64Decode( + 'CgZNb2R1bGUSRwoLbW9kdWxlX3R5cGUYASABKA4yJi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5EeW5Nb2R1bGVUeXBlUgptb2R1bGVUeXBlEkwKDW1vZHVsZV9hdXRob3IYAiABKAsyJS5iaWxp' + 'YmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVBdXRob3JIAFIMbW9kdWxlQXV0aG9yEk8KDm1vZH' + 'VsZV9kaXNwdXRlGAMgASgLMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW9kdWxlRGlzcHV0' + 'ZUgAUg1tb2R1bGVEaXNwdXRlEkYKC21vZHVsZV9kZXNjGAQgASgLMiMuYmlsaWJpbGkuYXBwLm' + 'R5bmFtaWMudjIuTW9kdWxlRGVzY0gAUgptb2R1bGVEZXNjEk8KDm1vZHVsZV9keW5hbWljGAUg' + 'ASgLMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW9kdWxlRHluYW1pY0gAUg1tb2R1bGVEeW' + '5hbWljElIKD21vZHVsZV9saWtlVXNlchgGIAEoCzInLmJpbGliaWxpLmFwcC5keW5hbWljLnYy' + 'Lk1vZHVsZUxpa2VVc2VySABSDm1vZHVsZUxpa2VVc2VyEkwKDW1vZHVsZV9leHRlbmQYByABKA' + 'syJS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVFeHRlbmRIAFIMbW9kdWxlRXh0ZW5k' + 'ElgKEW1vZHVsZV9hZGRpdGlvbmFsGAggASgLMikuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW' + '9kdWxlQWRkaXRpb25hbEgAUhBtb2R1bGVBZGRpdGlvbmFsEkYKC21vZHVsZV9zdGF0GAkgASgL' + 'MiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW9kdWxlU3RhdEgAUgptb2R1bGVTdGF0EkYKC2' + '1vZHVsZV9mb2xkGAogASgLMiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW9kdWxlRm9sZEgA' + 'Ugptb2R1bGVGb2xkEk8KDm1vZHVsZV9jb21tZW50GAsgASgLMiYuYmlsaWJpbGkuYXBwLmR5bm' + 'FtaWMudjIuTW9kdWxlQ29tbWVudEgAUg1tb2R1bGVDb21tZW50ElsKEm1vZHVsZV9pbnRlcmFj' + 'dGlvbhgMIAEoCzIqLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1vZHVsZUludGVyYWN0aW9uSA' + 'BSEW1vZHVsZUludGVyYWN0aW9uEmIKFW1vZHVsZV9hdXRob3JfZm9yd2FyZBgNIAEoCzIsLmJp' + 'bGliaWxpLmFwcC5keW5hbWljLnYyLk1vZHVsZUF1dGhvckZvcndhcmRIAFITbW9kdWxlQXV0aG' + '9yRm9yd2FyZBJACgltb2R1bGVfYWQYDiABKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5N' + 'b2R1bGVBZEgAUghtb2R1bGVBZBJMCg1tb2R1bGVfYmFubmVyGA8gASgLMiUuYmlsaWJpbGkuYX' + 'BwLmR5bmFtaWMudjIuTW9kdWxlQmFubmVySABSDG1vZHVsZUJhbm5lchJTChBtb2R1bGVfaXRl' + 'bV9udWxsGBAgASgLMicuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW9kdWxlSXRlbU51bGxIAF' + 'IObW9kdWxlSXRlbU51bGwSVgoRbW9kdWxlX3NoYXJlX2luZm8YESABKAsyKC5iaWxpYmlsaS5h' + 'cHAuZHluYW1pYy52Mi5Nb2R1bGVTaGFyZUluZm9IAFIPbW9kdWxlU2hhcmVJbmZvElUKEG1vZH' + 'VsZV9yZWNvbW1lbmQYEiABKAsyKC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVSZWNv' + 'bW1lbmRIAFIPbW9kdWxlUmVjb21tZW5kEkMKCm1vZHVsZV90b3AYEyABKAsyIi5iaWxpYmlsaS' + '5hcHAuZHluYW1pYy52Mi5Nb2R1bGVUb3BIAFIJbW9kdWxlVG9wEkwKDW1vZHVsZV9idXR0b20Y' + 'FCABKAsyJS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVCdXR0b21IAFIMbW9kdWxlQn' + 'V0dG9tElUKE21vZHVsZV9zdGF0X2ZvcndhcmQYFSABKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1p' + 'Yy52Mi5Nb2R1bGVTdGF0SABSEW1vZHVsZVN0YXRGb3J3YXJkEkkKDG1vZHVsZV9zdG9yeRgWIA' + 'EoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1vZHVsZVN0b3J5SABSC21vZHVsZVN0b3J5' + 'EkkKDG1vZHVsZV90b3BpYxgXIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1vZHVsZV' + 'RvcGljSABSC21vZHVsZVRvcGljEmkKGG1vZHVsZV90b3BpY19kZXRhaWxzX2V4dBgYIAEoCzIu' + 'LmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1vZHVsZVRvcGljRGV0YWlsc0V4dEgAUhVtb2R1bG' + 'VUb3BpY0RldGFpbHNFeHQSTQoObW9kdWxlX3RvcF90YWcYGSABKAsyJS5iaWxpYmlsaS5hcHAu' + 'ZHluYW1pYy52Mi5Nb2R1bGVUb3BUYWdIAFIMbW9kdWxlVG9wVGFnElkKEm1vZHVsZV90b3BpY1' + '9icmllZhgaIAEoCzIpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1vZHVsZVRvcGljQnJpZWZI' + 'AFIQbW9kdWxlVG9waWNCcmllZhJJCgxtb2R1bGVfdGl0bGUYGyABKAsyJC5iaWxpYmlsaS5hcH' + 'AuZHluYW1pYy52Mi5Nb2R1bGVUaXRsZUgAUgttb2R1bGVUaXRsZRJMCg1tb2R1bGVfYnV0dG9u' + 'GBwgASgLMiUuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW9kdWxlQnV0dG9uSABSDG1vZHVsZU' + 'J1dHRvbhJMCg1tb2R1bGVfbm90aWNlGB0gASgLMiUuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIu' + 'TW9kdWxlTm90aWNlSABSDG1vZHVsZU5vdGljZRJcChNtb2R1bGVfb3B1c19zdW1tYXJ5GB4gAS' + 'gLMiouYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW9kdWxlT3B1c1N1bW1hcnlIAFIRbW9kdWxl' + 'T3B1c1N1bW1hcnkSVQoQbW9kdWxlX2NvcHlyaWdodBgfIAEoCzIoLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLk1vZHVsZUNvcHlyaWdodEgAUg9tb2R1bGVDb3B5cmlnaHQSVQoQbW9kdWxlX3Bh' + 'cmFncmFwaBggIAEoCzIoLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1vZHVsZVBhcmFncmFwaE' + 'gAUg9tb2R1bGVQYXJhZ3JhcGgSTwoObW9kdWxlX2Jsb2NrZWQYISABKAsyJi5iaWxpYmlsaS5h' + 'cHAuZHluYW1pYy52Mi5Nb2R1bGVCbG9ja2VkSABSDW1vZHVsZUJsb2NrZWQSWQoSbW9kdWxlX3' + 'RleHRfbm90aWNlGCIgASgLMikuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTW9kdWxlVGV4dE5v' + 'dGljZUgAUhBtb2R1bGVUZXh0Tm90aWNlEmUKFm1vZHVsZV9vcHVzX2NvbGxlY3Rpb24YIyABKA' + 'syLS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVPcHVzQ29sbGVjdGlvbkgAUhRtb2R1' + 'bGVPcHVzQ29sbGVjdGlvbkINCgttb2R1bGVfaXRlbQ=='); + +@$core.Deprecated('Use moduleAdDescriptor instead') +const ModuleAd$json = { + '1': 'ModuleAd', + '2': [ + {'1': 'source_content', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Any', '10': 'sourceContent'}, + {'1': 'module_author', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAuthor', '10': 'moduleAuthor'}, + {'1': 'ad_content_type', '3': 3, '4': 1, '5': 5, '10': 'adContentType'}, + {'1': 'cover_left_text1', '3': 4, '4': 1, '5': 9, '10': 'coverLeftText1'}, + {'1': 'cover_left_text2', '3': 5, '4': 1, '5': 9, '10': 'coverLeftText2'}, + {'1': 'cover_left_text3', '3': 6, '4': 1, '5': 9, '10': 'coverLeftText3'}, + ], +}; + +/// Descriptor for `ModuleAd`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleAdDescriptor = $convert.base64Decode( + 'CghNb2R1bGVBZBI7Cg5zb3VyY2VfY29udGVudBgBIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5Bbn' + 'lSDXNvdXJjZUNvbnRlbnQSSgoNbW9kdWxlX2F1dGhvchgCIAEoCzIlLmJpbGliaWxpLmFwcC5k' + 'eW5hbWljLnYyLk1vZHVsZUF1dGhvclIMbW9kdWxlQXV0aG9yEiYKD2FkX2NvbnRlbnRfdHlwZR' + 'gDIAEoBVINYWRDb250ZW50VHlwZRIoChBjb3Zlcl9sZWZ0X3RleHQxGAQgASgJUg5jb3Zlckxl' + 'ZnRUZXh0MRIoChBjb3Zlcl9sZWZ0X3RleHQyGAUgASgJUg5jb3ZlckxlZnRUZXh0MhIoChBjb3' + 'Zlcl9sZWZ0X3RleHQzGAYgASgJUg5jb3ZlckxlZnRUZXh0Mw=='); + +@$core.Deprecated('Use moduleAdditionalDescriptor instead') +const ModuleAdditional$json = { + '1': 'ModuleAdditional', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.AdditionalType', '10': 'type'}, + {'1': 'pgc', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalPGC', '9': 0, '10': 'pgc'}, + {'1': 'goods', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionGoods', '9': 0, '10': 'goods'}, + {'1': 'vote', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionVote', '9': 0, '10': 'vote'}, + {'1': 'common', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionCommon', '9': 0, '10': 'common'}, + {'1': 'esport', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionEsport', '9': 0, '10': 'esport'}, + {'1': 'vote2', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionVote2', '9': 0, '10': 'vote2'}, + {'1': 'ugc', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionUgc', '9': 0, '10': 'ugc'}, + {'1': 'up', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionUP', '9': 0, '10': 'up'}, + {'1': 'article', '3': 12, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionArticle', '9': 0, '10': 'article'}, + {'1': 'live', '3': 13, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionLiveRoom', '9': 0, '10': 'live'}, + {'1': 'rid', '3': 7, '4': 1, '5': 3, '10': 'rid'}, + {'1': 'need_write_calender', '3': 11, '4': 1, '5': 8, '10': 'needWriteCalender'}, + ], + '8': [ + {'1': 'item'}, + ], +}; + +/// Descriptor for `ModuleAdditional`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleAdditionalDescriptor = $convert.base64Decode( + 'ChBNb2R1bGVBZGRpdGlvbmFsEjsKBHR5cGUYASABKA4yJy5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5BZGRpdGlvbmFsVHlwZVIEdHlwZRI6CgNwZ2MYAiABKAsyJi5iaWxpYmlsaS5hcHAuZHlu' + 'YW1pYy52Mi5BZGRpdGlvbmFsUEdDSABSA3BnYxI+CgVnb29kcxgDIAEoCzImLmJpbGliaWxpLm' + 'FwcC5keW5hbWljLnYyLkFkZGl0aW9uR29vZHNIAFIFZ29vZHMSOwoEdm90ZRgEIAEoCzIlLmJp' + 'bGliaWxpLmFwcC5keW5hbWljLnYyLkFkZGl0aW9uVm90ZUgAUgR2b3RlEkEKBmNvbW1vbhgFIA' + 'EoCzInLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFkZGl0aW9uQ29tbW9uSABSBmNvbW1vbhJB' + 'CgZlc3BvcnQYBiABKAsyJy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5BZGRpdGlvbkVzcG9ydE' + 'gAUgZlc3BvcnQSPgoFdm90ZTIYCCABKAsyJi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5BZGRp' + 'dGlvblZvdGUySABSBXZvdGUyEjgKA3VnYxgJIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLn' + 'YyLkFkZGl0aW9uVWdjSABSA3VnYxI1CgJ1cBgKIAEoCzIjLmJpbGliaWxpLmFwcC5keW5hbWlj' + 'LnYyLkFkZGl0aW9uVVBIAFICdXASRAoHYXJ0aWNsZRgMIAEoCzIoLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLkFkZGl0aW9uQXJ0aWNsZUgAUgdhcnRpY2xlEj8KBGxpdmUYDSABKAsyKS5iaWxp' + 'YmlsaS5hcHAuZHluYW1pYy52Mi5BZGRpdGlvbkxpdmVSb29tSABSBGxpdmUSEAoDcmlkGAcgAS' + 'gDUgNyaWQSLgoTbmVlZF93cml0ZV9jYWxlbmRlchgLIAEoCFIRbmVlZFdyaXRlQ2FsZW5kZXJC' + 'BgoEaXRlbQ=='); + +@$core.Deprecated('Use moduleAuthorDescriptor instead') +const ModuleAuthor$json = { + '1': 'ModuleAuthor', + '2': [ + {'1': 'mid', '3': 1, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'ptime_label_text', '3': 2, '4': 1, '5': 9, '10': 'ptimeLabelText'}, + {'1': 'author', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.UserInfo', '10': 'author'}, + {'1': 'decorate_card', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.DecorateCard', '10': 'decorateCard'}, + {'1': 'uri', '3': 5, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'tp_list', '3': 6, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointItem', '10': 'tpList'}, + {'1': 'badge_type', '3': 7, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ModuleAuthorBadgeType', '10': 'badgeType'}, + {'1': 'badge_button', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAuthorBadgeButton', '10': 'badgeButton'}, + {'1': 'attend', '3': 9, '4': 1, '5': 5, '10': 'attend'}, + {'1': 'relation', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Relation', '10': 'relation'}, + {'1': 'weight', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Weight', '10': 'weight'}, + {'1': 'show_follow', '3': 12, '4': 1, '5': 8, '10': 'showFollow'}, + {'1': 'is_top', '3': 13, '4': 1, '5': 8, '10': 'isTop'}, + {'1': 'ptime_location_text', '3': 14, '4': 1, '5': 9, '10': 'ptimeLocationText'}, + {'1': 'show_level', '3': 15, '4': 1, '5': 8, '10': 'showLevel'}, + {'1': 'only_fans', '3': 16, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OnlyFans', '10': 'onlyFans'}, + ], +}; + +/// Descriptor for `ModuleAuthor`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleAuthorDescriptor = $convert.base64Decode( + 'CgxNb2R1bGVBdXRob3ISEAoDbWlkGAEgASgDUgNtaWQSKAoQcHRpbWVfbGFiZWxfdGV4dBgCIA' + 'EoCVIOcHRpbWVMYWJlbFRleHQSOQoGYXV0aG9yGAMgASgLMiEuYmlsaWJpbGkuYXBwLmR5bmFt' + 'aWMudjIuVXNlckluZm9SBmF1dGhvchJKCg1kZWNvcmF0ZV9jYXJkGAQgASgLMiUuYmlsaWJpbG' + 'kuYXBwLmR5bmFtaWMudjIuRGVjb3JhdGVDYXJkUgxkZWNvcmF0ZUNhcmQSEAoDdXJpGAUgASgJ' + 'UgN1cmkSQAoHdHBfbGlzdBgGIAMoCzInLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRocmVlUG' + '9pbnRJdGVtUgZ0cExpc3QSTQoKYmFkZ2VfdHlwZRgHIAEoDjIuLmJpbGliaWxpLmFwcC5keW5h' + 'bWljLnYyLk1vZHVsZUF1dGhvckJhZGdlVHlwZVIJYmFkZ2VUeXBlElMKDGJhZGdlX2J1dHRvbh' + 'gIIAEoCzIwLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1vZHVsZUF1dGhvckJhZGdlQnV0dG9u' + 'UgtiYWRnZUJ1dHRvbhIWCgZhdHRlbmQYCSABKAVSBmF0dGVuZBI9CghyZWxhdGlvbhgKIAEoCz' + 'IhLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJlbGF0aW9uUghyZWxhdGlvbhI3CgZ3ZWlnaHQY' + 'CyABKAsyHy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5XZWlnaHRSBndlaWdodBIfCgtzaG93X2' + 'ZvbGxvdxgMIAEoCFIKc2hvd0ZvbGxvdxIVCgZpc190b3AYDSABKAhSBWlzVG9wEi4KE3B0aW1l' + 'X2xvY2F0aW9uX3RleHQYDiABKAlSEXB0aW1lTG9jYXRpb25UZXh0Eh0KCnNob3dfbGV2ZWwYDy' + 'ABKAhSCXNob3dMZXZlbBI+Cglvbmx5X2ZhbnMYECABKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1p' + 'Yy52Mi5Pbmx5RmFuc1IIb25seUZhbnM='); + +@$core.Deprecated('Use moduleAuthorBadgeButtonDescriptor instead') +const ModuleAuthorBadgeButton$json = { + '1': 'ModuleAuthorBadgeButton', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'state', '3': 3, '4': 1, '5': 5, '10': 'state'}, + {'1': 'id', '3': 4, '4': 1, '5': 3, '10': 'id'}, + ], +}; + +/// Descriptor for `ModuleAuthorBadgeButton`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleAuthorBadgeButtonDescriptor = $convert.base64Decode( + 'ChdNb2R1bGVBdXRob3JCYWRnZUJ1dHRvbhISCgRpY29uGAEgASgJUgRpY29uEhQKBXRpdGxlGA' + 'IgASgJUgV0aXRsZRIUCgVzdGF0ZRgDIAEoBVIFc3RhdGUSDgoCaWQYBCABKANSAmlk'); + +@$core.Deprecated('Use moduleAuthorForwardDescriptor instead') +const ModuleAuthorForward$json = { + '1': 'ModuleAuthorForward', + '2': [ + {'1': 'title', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAuthorForwardTitle', '10': 'title'}, + {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, + {'1': 'uid', '3': 3, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'ptime_label_text', '3': 4, '4': 1, '5': 9, '10': 'ptimeLabelText'}, + {'1': 'show_follow', '3': 5, '4': 1, '5': 8, '10': 'showFollow'}, + {'1': 'face_url', '3': 6, '4': 1, '5': 9, '10': 'faceUrl'}, + {'1': 'relation', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Relation', '10': 'relation'}, + {'1': 'tp_list', '3': 8, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointItem', '10': 'tpList'}, + ], +}; + +/// Descriptor for `ModuleAuthorForward`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleAuthorForwardDescriptor = $convert.base64Decode( + 'ChNNb2R1bGVBdXRob3JGb3J3YXJkEkcKBXRpdGxlGAEgAygLMjEuYmlsaWJpbGkuYXBwLmR5bm' + 'FtaWMudjIuTW9kdWxlQXV0aG9yRm9yd2FyZFRpdGxlUgV0aXRsZRIQCgN1cmwYAiABKAlSA3Vy' + 'bBIQCgN1aWQYAyABKANSA3VpZBIoChBwdGltZV9sYWJlbF90ZXh0GAQgASgJUg5wdGltZUxhYm' + 'VsVGV4dBIfCgtzaG93X2ZvbGxvdxgFIAEoCFIKc2hvd0ZvbGxvdxIZCghmYWNlX3VybBgGIAEo' + 'CVIHZmFjZVVybBI9CghyZWxhdGlvbhgHIAEoCzIhLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLl' + 'JlbGF0aW9uUghyZWxhdGlvbhJACgd0cF9saXN0GAggAygLMicuYmlsaWJpbGkuYXBwLmR5bmFt' + 'aWMudjIuVGhyZWVQb2ludEl0ZW1SBnRwTGlzdA=='); + +@$core.Deprecated('Use moduleAuthorForwardTitleDescriptor instead') +const ModuleAuthorForwardTitle$json = { + '1': 'ModuleAuthorForwardTitle', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `ModuleAuthorForwardTitle`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleAuthorForwardTitleDescriptor = $convert.base64Decode( + 'ChhNb2R1bGVBdXRob3JGb3J3YXJkVGl0bGUSEgoEdGV4dBgBIAEoCVIEdGV4dBIQCgN1cmwYAi' + 'ABKAlSA3VybA=='); + +@$core.Deprecated('Use moduleBannerDescriptor instead') +const ModuleBanner$json = { + '1': 'ModuleBanner', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ModuleBannerType', '10': 'type'}, + {'1': 'user', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleBannerUser', '9': 0, '10': 'user'}, + {'1': 'dislike_text', '3': 4, '4': 1, '5': 9, '10': 'dislikeText'}, + {'1': 'dislike_icon', '3': 5, '4': 1, '5': 9, '10': 'dislikeIcon'}, + ], + '8': [ + {'1': 'item'}, + ], +}; + +/// Descriptor for `ModuleBanner`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleBannerDescriptor = $convert.base64Decode( + 'CgxNb2R1bGVCYW5uZXISFAoFdGl0bGUYASABKAlSBXRpdGxlEj0KBHR5cGUYAiABKA4yKS5iaW' + 'xpYmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVCYW5uZXJUeXBlUgR0eXBlEj8KBHVzZXIYAyAB' + 'KAsyKS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Nb2R1bGVCYW5uZXJVc2VySABSBHVzZXISIQ' + 'oMZGlzbGlrZV90ZXh0GAQgASgJUgtkaXNsaWtlVGV4dBIhCgxkaXNsaWtlX2ljb24YBSABKAlS' + 'C2Rpc2xpa2VJY29uQgYKBGl0ZW0='); + +@$core.Deprecated('Use moduleBannerUserDescriptor instead') +const ModuleBannerUser$json = { + '1': 'ModuleBannerUser', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleBannerUserItem', '10': 'list'}, + ], +}; + +/// Descriptor for `ModuleBannerUser`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleBannerUserDescriptor = $convert.base64Decode( + 'ChBNb2R1bGVCYW5uZXJVc2VyEkEKBGxpc3QYASADKAsyLS5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5Nb2R1bGVCYW5uZXJVc2VySXRlbVIEbGlzdA=='); + +@$core.Deprecated('Use moduleBannerUserItemDescriptor instead') +const ModuleBannerUserItem$json = { + '1': 'ModuleBannerUserItem', + '2': [ + {'1': 'face', '3': 1, '4': 1, '5': 9, '10': 'face'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'uid', '3': 3, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'live_state', '3': 4, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.LiveState', '10': 'liveState'}, + {'1': 'official', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OfficialVerify', '10': 'official'}, + {'1': 'vip', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VipInfo', '10': 'vip'}, + {'1': 'label', '3': 7, '4': 1, '5': 9, '10': 'label'}, + {'1': 'button', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButton', '10': 'button'}, + {'1': 'uri', '3': 9, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'relation', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Relation', '10': 'relation'}, + ], +}; + +/// Descriptor for `ModuleBannerUserItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleBannerUserItemDescriptor = $convert.base64Decode( + 'ChRNb2R1bGVCYW5uZXJVc2VySXRlbRISCgRmYWNlGAEgASgJUgRmYWNlEhIKBG5hbWUYAiABKA' + 'lSBG5hbWUSEAoDdWlkGAMgASgDUgN1aWQSQQoKbGl2ZV9zdGF0ZRgEIAEoDjIiLmJpbGliaWxp' + 'LmFwcC5keW5hbWljLnYyLkxpdmVTdGF0ZVIJbGl2ZVN0YXRlEkMKCG9mZmljaWFsGAUgASgLMi' + 'cuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuT2ZmaWNpYWxWZXJpZnlSCG9mZmljaWFsEjIKA3Zp' + 'cBgGIAEoCzIgLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlZpcEluZm9SA3ZpcBIUCgVsYWJlbB' + 'gHIAEoCVIFbGFiZWwSQQoGYnV0dG9uGAggASgLMikuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIu' + 'QWRkaXRpb25hbEJ1dHRvblIGYnV0dG9uEhAKA3VyaRgJIAEoCVIDdXJpEj0KCHJlbGF0aW9uGA' + 'ogASgLMiEuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuUmVsYXRpb25SCHJlbGF0aW9u'); + +@$core.Deprecated('Use moduleBlockedDescriptor instead') +const ModuleBlocked$json = { + '1': 'ModuleBlocked', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ImageSet', '10': 'icon'}, + {'1': 'bg_img', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ImageSet', '10': 'bgImg'}, + {'1': 'hint_message', '3': 3, '4': 1, '5': 9, '10': 'hintMessage'}, + {'1': 'act_btn', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.IconButton', '10': 'actBtn'}, + {'1': 'block_style', '3': 5, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.MdlBlockedStyle', '10': 'blockStyle'}, + {'1': 'sub_hint_message', '3': 6, '4': 1, '5': 9, '10': 'subHintMessage'}, + {'1': 'video_bottom_text_upper', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OneLineText', '10': 'videoBottomTextUpper'}, + {'1': 'video_bottom_text_lower', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OneLineText', '10': 'videoBottomTextLower'}, + {'1': 'archive_title', '3': 9, '4': 1, '5': 9, '10': 'archiveTitle'}, + {'1': 'hint_message_one_line', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OneLineText', '10': 'hintMessageOneLine'}, + ], +}; + +/// Descriptor for `ModuleBlocked`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleBlockedDescriptor = $convert.base64Decode( + 'Cg1Nb2R1bGVCbG9ja2VkEjUKBGljb24YASABKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5JbWFnZVNldFIEaWNvbhI4CgZiZ19pbWcYAiABKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy52' + 'Mi5JbWFnZVNldFIFYmdJbWcSIQoMaGludF9tZXNzYWdlGAMgASgJUgtoaW50TWVzc2FnZRI8Cg' + 'dhY3RfYnRuGAQgASgLMiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuSWNvbkJ1dHRvblIGYWN0' + 'QnRuEkkKC2Jsb2NrX3N0eWxlGAUgASgOMiguYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTWRsQm' + 'xvY2tlZFN0eWxlUgpibG9ja1N0eWxlEigKEHN1Yl9oaW50X21lc3NhZ2UYBiABKAlSDnN1Ykhp' + 'bnRNZXNzYWdlElsKF3ZpZGVvX2JvdHRvbV90ZXh0X3VwcGVyGAcgASgLMiQuYmlsaWJpbGkuYX' + 'BwLmR5bmFtaWMudjIuT25lTGluZVRleHRSFHZpZGVvQm90dG9tVGV4dFVwcGVyElsKF3ZpZGVv' + 'X2JvdHRvbV90ZXh0X2xvd2VyGAggASgLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuT25lTG' + 'luZVRleHRSFHZpZGVvQm90dG9tVGV4dExvd2VyEiMKDWFyY2hpdmVfdGl0bGUYCSABKAlSDGFy' + 'Y2hpdmVUaXRsZRJXChVoaW50X21lc3NhZ2Vfb25lX2xpbmUYCiABKAsyJC5iaWxpYmlsaS5hcH' + 'AuZHluYW1pYy52Mi5PbmVMaW5lVGV4dFISaGludE1lc3NhZ2VPbmVMaW5l'); + +@$core.Deprecated('Use moduleButtomDescriptor instead') +const ModuleButtom$json = { + '1': 'ModuleButtom', + '2': [ + {'1': 'module_stat', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleStat', '10': 'moduleStat'}, + {'1': 'comment_box', '3': 2, '4': 1, '5': 8, '10': 'commentBox'}, + {'1': 'comment_box_msg', '3': 3, '4': 1, '5': 9, '10': 'commentBoxMsg'}, + {'1': 'interaction_icons', '3': 4, '4': 3, '5': 14, '6': '.bilibili.app.dynamic.v2.ModuleButtom.InteractionIcon', '10': 'interactionIcons'}, + {'1': 'faces', '3': 5, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.InteractionFace', '10': 'faces'}, + ], + '4': [ModuleButtom_InteractionIcon$json], +}; + +@$core.Deprecated('Use moduleButtomDescriptor instead') +const ModuleButtom_InteractionIcon$json = { + '1': 'InteractionIcon', + '2': [ + {'1': 'ICON_INVALID', '2': 0}, + {'1': 'ICON_FORWARD', '2': 1}, + {'1': 'ICON_COMMENT', '2': 2}, + {'1': 'ICON_FAVORITE', '2': 3}, + {'1': 'ICON_LIKE', '2': 4}, + ], +}; + +/// Descriptor for `ModuleButtom`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleButtomDescriptor = $convert.base64Decode( + 'CgxNb2R1bGVCdXR0b20SRAoLbW9kdWxlX3N0YXQYASABKAsyIy5iaWxpYmlsaS5hcHAuZHluYW' + '1pYy52Mi5Nb2R1bGVTdGF0Ugptb2R1bGVTdGF0Eh8KC2NvbW1lbnRfYm94GAIgASgIUgpjb21t' + 'ZW50Qm94EiYKD2NvbW1lbnRfYm94X21zZxgDIAEoCVINY29tbWVudEJveE1zZxJiChFpbnRlcm' + 'FjdGlvbl9pY29ucxgEIAMoDjI1LmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1vZHVsZUJ1dHRv' + 'bS5JbnRlcmFjdGlvbkljb25SEGludGVyYWN0aW9uSWNvbnMSPgoFZmFjZXMYBSADKAsyKC5iaW' + 'xpYmlsaS5hcHAuZHluYW1pYy52Mi5JbnRlcmFjdGlvbkZhY2VSBWZhY2VzImkKD0ludGVyYWN0' + 'aW9uSWNvbhIQCgxJQ09OX0lOVkFMSUQQABIQCgxJQ09OX0ZPUldBUkQQARIQCgxJQ09OX0NPTU' + '1FTlQQAhIRCg1JQ09OX0ZBVk9SSVRFEAMSDQoJSUNPTl9MSUtFEAQ='); + +@$core.Deprecated('Use moduleButtonDescriptor instead') +const ModuleButton$json = { + '1': 'ModuleButton', + '2': [ + {'1': 'btn', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.IconButton', '10': 'btn'}, + ], +}; + +/// Descriptor for `ModuleButton`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleButtonDescriptor = $convert.base64Decode( + 'CgxNb2R1bGVCdXR0b24SNQoDYnRuGAEgASgLMiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuSW' + 'NvbkJ1dHRvblIDYnRu'); + +@$core.Deprecated('Use moduleCommentDescriptor instead') +const ModuleComment$json = { + '1': 'ModuleComment', + '2': [ + {'1': 'cmtShowItem', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CmtShowItem', '10': 'cmtShowItem'}, + ], +}; + +/// Descriptor for `ModuleComment`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleCommentDescriptor = $convert.base64Decode( + 'Cg1Nb2R1bGVDb21tZW50EkYKC2NtdFNob3dJdGVtGAEgAygLMiQuYmlsaWJpbGkuYXBwLmR5bm' + 'FtaWMudjIuQ210U2hvd0l0ZW1SC2NtdFNob3dJdGVt'); + +@$core.Deprecated('Use moduleCopyrightDescriptor instead') +const ModuleCopyright$json = { + '1': 'ModuleCopyright', + '2': [ + {'1': 'left_text', '3': 1, '4': 1, '5': 9, '10': 'leftText'}, + {'1': 'right_text', '3': 2, '4': 1, '5': 9, '10': 'rightText'}, + ], +}; + +/// Descriptor for `ModuleCopyright`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleCopyrightDescriptor = $convert.base64Decode( + 'Cg9Nb2R1bGVDb3B5cmlnaHQSGwoJbGVmdF90ZXh0GAEgASgJUghsZWZ0VGV4dBIdCgpyaWdodF' + '90ZXh0GAIgASgJUglyaWdodFRleHQ='); + +@$core.Deprecated('Use moduleDescDescriptor instead') +const ModuleDesc$json = { + '1': 'ModuleDesc', + '2': [ + {'1': 'desc', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.Description', '10': 'desc'}, + {'1': 'jump_uri', '3': 2, '4': 1, '5': 9, '10': 'jumpUri'}, + {'1': 'text', '3': 3, '4': 1, '5': 9, '10': 'text'}, + ], +}; + +/// Descriptor for `ModuleDesc`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleDescDescriptor = $convert.base64Decode( + 'CgpNb2R1bGVEZXNjEjgKBGRlc2MYASADKAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5EZX' + 'NjcmlwdGlvblIEZGVzYxIZCghqdW1wX3VyaRgCIAEoCVIHanVtcFVyaRISCgR0ZXh0GAMgASgJ' + 'UgR0ZXh0'); + +@$core.Deprecated('Use moduleDescGoodsDescriptor instead') +const ModuleDescGoods$json = { + '1': 'ModuleDescGoods', + '2': [ + {'1': 'source_type', '3': 1, '4': 1, '5': 5, '10': 'sourceType'}, + {'1': 'jump_url', '3': 2, '4': 1, '5': 9, '10': 'jumpUrl'}, + {'1': 'schema_url', '3': 3, '4': 1, '5': 9, '10': 'schemaUrl'}, + {'1': 'item_id', '3': 4, '4': 1, '5': 3, '10': 'itemId'}, + {'1': 'open_white_list', '3': 5, '4': 3, '5': 9, '10': 'openWhiteList'}, + {'1': 'user_web_v2', '3': 6, '4': 1, '5': 8, '10': 'userWebV2'}, + {'1': 'ad_mark', '3': 7, '4': 1, '5': 9, '10': 'adMark'}, + {'1': 'schema_package_name', '3': 8, '4': 1, '5': 9, '10': 'schemaPackageName'}, + {'1': 'jump_type', '3': 9, '4': 1, '5': 5, '10': 'jumpType'}, + {'1': 'app_name', '3': 10, '4': 1, '5': 9, '10': 'appName'}, + ], +}; + +/// Descriptor for `ModuleDescGoods`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleDescGoodsDescriptor = $convert.base64Decode( + 'Cg9Nb2R1bGVEZXNjR29vZHMSHwoLc291cmNlX3R5cGUYASABKAVSCnNvdXJjZVR5cGUSGQoIan' + 'VtcF91cmwYAiABKAlSB2p1bXBVcmwSHQoKc2NoZW1hX3VybBgDIAEoCVIJc2NoZW1hVXJsEhcK' + 'B2l0ZW1faWQYBCABKANSBml0ZW1JZBImCg9vcGVuX3doaXRlX2xpc3QYBSADKAlSDW9wZW5XaG' + 'l0ZUxpc3QSHgoLdXNlcl93ZWJfdjIYBiABKAhSCXVzZXJXZWJWMhIXCgdhZF9tYXJrGAcgASgJ' + 'UgZhZE1hcmsSLgoTc2NoZW1hX3BhY2thZ2VfbmFtZRgIIAEoCVIRc2NoZW1hUGFja2FnZU5hbW' + 'USGwoJanVtcF90eXBlGAkgASgFUghqdW1wVHlwZRIZCghhcHBfbmFtZRgKIAEoCVIHYXBwTmFt' + 'ZQ=='); + +@$core.Deprecated('Use moduleDisputeDescriptor instead') +const ModuleDispute$json = { + '1': 'ModuleDispute', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 2, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + ], +}; + +/// Descriptor for `ModuleDispute`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleDisputeDescriptor = $convert.base64Decode( + 'Cg1Nb2R1bGVEaXNwdXRlEhQKBXRpdGxlGAEgASgJUgV0aXRsZRISCgRkZXNjGAIgASgJUgRkZX' + 'NjEhAKA3VyaRgDIAEoCVIDdXJp'); + +@$core.Deprecated('Use moduleDynamicDescriptor instead') +const ModuleDynamic$json = { + '1': 'ModuleDynamic', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ModuleDynamicType', '10': 'type'}, + {'1': 'dyn_archive', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynArchive', '9': 0, '10': 'dynArchive'}, + {'1': 'dyn_pgc', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynPGC', '9': 0, '10': 'dynPgc'}, + {'1': 'dyn_cour_season', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynCourSeason', '9': 0, '10': 'dynCourSeason'}, + {'1': 'dyn_cour_batch', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynCourBatch', '9': 0, '10': 'dynCourBatch'}, + {'1': 'dyn_forward', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynForward', '9': 0, '10': 'dynForward'}, + {'1': 'dyn_draw', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynDraw', '9': 0, '10': 'dynDraw'}, + {'1': 'dyn_article', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynArticle', '9': 0, '10': 'dynArticle'}, + {'1': 'dyn_music', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynMusic', '9': 0, '10': 'dynMusic'}, + {'1': 'dyn_common', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynCommon', '9': 0, '10': 'dynCommon'}, + {'1': 'dyn_common_live', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynLive', '9': 0, '10': 'dynCommonLive'}, + {'1': 'dyn_medialist', '3': 12, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynMedialist', '9': 0, '10': 'dynMedialist'}, + {'1': 'dyn_applet', '3': 13, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynApplet', '9': 0, '10': 'dynApplet'}, + {'1': 'dyn_subscription', '3': 14, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynSubscription', '9': 0, '10': 'dynSubscription'}, + {'1': 'dyn_live_rcmd', '3': 15, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynLiveRcmd', '9': 0, '10': 'dynLiveRcmd'}, + {'1': 'dyn_ugc_season', '3': 16, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynUGCSeason', '9': 0, '10': 'dynUgcSeason'}, + {'1': 'dyn_subscription_new', '3': 17, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynSubscriptionNew', '9': 0, '10': 'dynSubscriptionNew'}, + {'1': 'dyn_cour_batch_up', '3': 18, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynCourUp', '9': 0, '10': 'dynCourBatchUp'}, + {'1': 'dyn_topic_set', '3': 19, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynTopicSet', '9': 0, '10': 'dynTopicSet'}, + ], + '8': [ + {'1': 'module_item'}, + ], +}; + +/// Descriptor for `ModuleDynamic`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleDynamicDescriptor = $convert.base64Decode( + 'Cg1Nb2R1bGVEeW5hbWljEj4KBHR5cGUYASABKA4yKi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5Nb2R1bGVEeW5hbWljVHlwZVIEdHlwZRJJCgtkeW5fYXJjaGl2ZRgCIAEoCzImLmJpbGliaWxp' + 'LmFwcC5keW5hbWljLnYyLk1kbER5bkFyY2hpdmVIAFIKZHluQXJjaGl2ZRI9CgdkeW5fcGdjGA' + 'MgASgLMiIuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTWRsRHluUEdDSABSBmR5blBnYxJTCg9k' + 'eW5fY291cl9zZWFzb24YBCABKAsyKS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5NZGxEeW5Db3' + 'VyU2Vhc29uSABSDWR5bkNvdXJTZWFzb24SUAoOZHluX2NvdXJfYmF0Y2gYBSABKAsyKC5iaWxp' + 'YmlsaS5hcHAuZHluYW1pYy52Mi5NZGxEeW5Db3VyQmF0Y2hIAFIMZHluQ291ckJhdGNoEkkKC2' + 'R5bl9mb3J3YXJkGAYgASgLMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTWRsRHluRm9yd2Fy' + 'ZEgAUgpkeW5Gb3J3YXJkEkAKCGR5bl9kcmF3GAcgASgLMiMuYmlsaWJpbGkuYXBwLmR5bmFtaW' + 'MudjIuTWRsRHluRHJhd0gAUgdkeW5EcmF3EkkKC2R5bl9hcnRpY2xlGAggASgLMiYuYmlsaWJp' + 'bGkuYXBwLmR5bmFtaWMudjIuTWRsRHluQXJ0aWNsZUgAUgpkeW5BcnRpY2xlEkMKCWR5bl9tdX' + 'NpYxgJIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1kbER5bk11c2ljSABSCGR5bk11' + 'c2ljEkYKCmR5bl9jb21tb24YCiABKAsyJS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5NZGxEeW' + '5Db21tb25IAFIJZHluQ29tbW9uEk0KD2R5bl9jb21tb25fbGl2ZRgLIAEoCzIjLmJpbGliaWxp' + 'LmFwcC5keW5hbWljLnYyLk1kbER5bkxpdmVIAFINZHluQ29tbW9uTGl2ZRJPCg1keW5fbWVkaW' + 'FsaXN0GAwgASgLMiguYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTWRsRHluTWVkaWFsaXN0SABS' + 'DGR5bk1lZGlhbGlzdBJGCgpkeW5fYXBwbGV0GA0gASgLMiUuYmlsaWJpbGkuYXBwLmR5bmFtaW' + 'MudjIuTWRsRHluQXBwbGV0SABSCWR5bkFwcGxldBJYChBkeW5fc3Vic2NyaXB0aW9uGA4gASgL' + 'MisuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTWRsRHluU3Vic2NyaXB0aW9uSABSD2R5blN1Yn' + 'NjcmlwdGlvbhJNCg1keW5fbGl2ZV9yY21kGA8gASgLMicuYmlsaWJpbGkuYXBwLmR5bmFtaWMu' + 'djIuTWRsRHluTGl2ZVJjbWRIAFILZHluTGl2ZVJjbWQSUAoOZHluX3VnY19zZWFzb24YECABKA' + 'syKC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5NZGxEeW5VR0NTZWFzb25IAFIMZHluVWdjU2Vh' + 'c29uEmIKFGR5bl9zdWJzY3JpcHRpb25fbmV3GBEgASgLMi4uYmlsaWJpbGkuYXBwLmR5bmFtaW' + 'MudjIuTWRsRHluU3Vic2NyaXB0aW9uTmV3SABSEmR5blN1YnNjcmlwdGlvbk5ldxJSChFkeW5f' + 'Y291cl9iYXRjaF91cBgSIAEoCzIlLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk1kbER5bkNvdX' + 'JVcEgAUg5keW5Db3VyQmF0Y2hVcBJNCg1keW5fdG9waWNfc2V0GBMgASgLMicuYmlsaWJpbGku' + 'YXBwLmR5bmFtaWMudjIuTWRsRHluVG9waWNTZXRIAFILZHluVG9waWNTZXRCDQoLbW9kdWxlX2' + 'l0ZW0='); + +@$core.Deprecated('Use moduleExtendDescriptor instead') +const ModuleExtend$json = { + '1': 'ModuleExtend', + '2': [ + {'1': 'extend', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleExtendItem', '10': 'extend'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + ], +}; + +/// Descriptor for `ModuleExtend`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleExtendDescriptor = $convert.base64Decode( + 'CgxNb2R1bGVFeHRlbmQSQQoGZXh0ZW5kGAEgAygLMikuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuTW9kdWxlRXh0ZW5kSXRlbVIGZXh0ZW5kEhAKA3VyaRgCIAEoCVIDdXJp'); + +@$core.Deprecated('Use moduleExtendItemDescriptor instead') +const ModuleExtendItem$json = { + '1': 'ModuleExtendItem', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.DynExtendType', '10': 'type'}, + {'1': 'ext_info_topic', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ExtInfoTopic', '9': 0, '10': 'extInfoTopic'}, + {'1': 'ext_info_lbs', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ExtInfoLBS', '9': 0, '10': 'extInfoLbs'}, + {'1': 'ext_info_hot', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ExtInfoHot', '9': 0, '10': 'extInfoHot'}, + {'1': 'ext_info_game', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ExtInfoGame', '9': 0, '10': 'extInfoGame'}, + {'1': 'ext_info_common', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ExtInfoCommon', '9': 0, '10': 'extInfoCommon'}, + {'1': 'ext_info_ogv', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ExtInfoOGV', '9': 0, '10': 'extInfoOgv'}, + ], + '8': [ + {'1': 'extend'}, + ], +}; + +/// Descriptor for `ModuleExtendItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleExtendItemDescriptor = $convert.base64Decode( + 'ChBNb2R1bGVFeHRlbmRJdGVtEjoKBHR5cGUYASABKA4yJi5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5EeW5FeHRlbmRUeXBlUgR0eXBlEk0KDmV4dF9pbmZvX3RvcGljGAIgASgLMiUuYmlsaWJp' + 'bGkuYXBwLmR5bmFtaWMudjIuRXh0SW5mb1RvcGljSABSDGV4dEluZm9Ub3BpYxJHCgxleHRfaW' + '5mb19sYnMYAyABKAsyIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5FeHRJbmZvTEJTSABSCmV4' + 'dEluZm9MYnMSRwoMZXh0X2luZm9faG90GAQgASgLMiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuRXh0SW5mb0hvdEgAUgpleHRJbmZvSG90EkoKDWV4dF9pbmZvX2dhbWUYBSABKAsyJC5iaWxp' + 'YmlsaS5hcHAuZHluYW1pYy52Mi5FeHRJbmZvR2FtZUgAUgtleHRJbmZvR2FtZRJQCg9leHRfaW' + '5mb19jb21tb24YBiABKAsyJi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5FeHRJbmZvQ29tbW9u' + 'SABSDWV4dEluZm9Db21tb24SRwoMZXh0X2luZm9fb2d2GAcgASgLMiMuYmlsaWJpbGkuYXBwLm' + 'R5bmFtaWMudjIuRXh0SW5mb09HVkgAUgpleHRJbmZvT2d2QggKBmV4dGVuZA=='); + +@$core.Deprecated('Use moduleFoldDescriptor instead') +const ModuleFold$json = { + '1': 'ModuleFold', + '2': [ + {'1': 'fold_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.FoldType', '10': 'foldType'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + {'1': 'fold_ids', '3': 3, '4': 1, '5': 9, '10': 'foldIds'}, + {'1': 'fold_users', '3': 4, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.UserInfo', '10': 'foldUsers'}, + {'1': 'topic_merged_resource', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicMergedResource', '10': 'topicMergedResource'}, + ], +}; + +/// Descriptor for `ModuleFold`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleFoldDescriptor = $convert.base64Decode( + 'CgpNb2R1bGVGb2xkEj4KCWZvbGRfdHlwZRgBIAEoDjIhLmJpbGliaWxpLmFwcC5keW5hbWljLn' + 'YyLkZvbGRUeXBlUghmb2xkVHlwZRISCgR0ZXh0GAIgASgJUgR0ZXh0EhkKCGZvbGRfaWRzGAMg' + 'ASgJUgdmb2xkSWRzEkAKCmZvbGRfdXNlcnMYBCADKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5Vc2VySW5mb1IJZm9sZFVzZXJzEmAKFXRvcGljX21lcmdlZF9yZXNvdXJjZRgFIAEoCzIs' + 'LmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRvcGljTWVyZ2VkUmVzb3VyY2VSE3RvcGljTWVyZ2' + 'VkUmVzb3VyY2U='); + +@$core.Deprecated('Use moduleInteractionDescriptor instead') +const ModuleInteraction$json = { + '1': 'ModuleInteraction', + '2': [ + {'1': 'interaction_item', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.InteractionItem', '10': 'interactionItem'}, + ], +}; + +/// Descriptor for `ModuleInteraction`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleInteractionDescriptor = $convert.base64Decode( + 'ChFNb2R1bGVJbnRlcmFjdGlvbhJTChBpbnRlcmFjdGlvbl9pdGVtGAEgAygLMiguYmlsaWJpbG' + 'kuYXBwLmR5bmFtaWMudjIuSW50ZXJhY3Rpb25JdGVtUg9pbnRlcmFjdGlvbkl0ZW0='); + +@$core.Deprecated('Use moduleItemNullDescriptor instead') +const ModuleItemNull$json = { + '1': 'ModuleItemNull', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + ], +}; + +/// Descriptor for `ModuleItemNull`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleItemNullDescriptor = $convert.base64Decode( + 'Cg5Nb2R1bGVJdGVtTnVsbBISCgRpY29uGAEgASgJUgRpY29uEhIKBHRleHQYAiABKAlSBHRleH' + 'Q='); + +@$core.Deprecated('Use moduleLikeUserDescriptor instead') +const ModuleLikeUser$json = { + '1': 'ModuleLikeUser', + '2': [ + {'1': 'like_users', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.LikeUser', '10': 'likeUsers'}, + {'1': 'display_text', '3': 2, '4': 1, '5': 9, '10': 'displayText'}, + ], +}; + +/// Descriptor for `ModuleLikeUser`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleLikeUserDescriptor = $convert.base64Decode( + 'Cg5Nb2R1bGVMaWtlVXNlchJACgpsaWtlX3VzZXJzGAEgAygLMiEuYmlsaWJpbGkuYXBwLmR5bm' + 'FtaWMudjIuTGlrZVVzZXJSCWxpa2VVc2VycxIhCgxkaXNwbGF5X3RleHQYAiABKAlSC2Rpc3Bs' + 'YXlUZXh0'); + +@$core.Deprecated('Use moduleNoticeDescriptor instead') +const ModuleNotice$json = { + '1': 'ModuleNotice', + '2': [ + {'1': 'identity', '3': 1, '4': 1, '5': 9, '10': 'identity'}, + {'1': 'icon', '3': 2, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'}, + {'1': 'url', '3': 4, '4': 1, '5': 9, '10': 'url'}, + {'1': 'notice_type', '3': 5, '4': 1, '5': 5, '10': 'noticeType'}, + ], +}; + +/// Descriptor for `ModuleNotice`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleNoticeDescriptor = $convert.base64Decode( + 'CgxNb2R1bGVOb3RpY2USGgoIaWRlbnRpdHkYASABKAlSCGlkZW50aXR5EhIKBGljb24YAiABKA' + 'lSBGljb24SFAoFdGl0bGUYAyABKAlSBXRpdGxlEhAKA3VybBgEIAEoCVIDdXJsEh8KC25vdGlj' + 'ZV90eXBlGAUgASgFUgpub3RpY2VUeXBl'); + +@$core.Deprecated('Use moduleOpusCollectionDescriptor instead') +const ModuleOpusCollection$json = { + '1': 'ModuleOpusCollection', + '2': [ + {'1': 'collection_info', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OpusCollection', '10': 'collectionInfo'}, + {'1': 'title_upper', '3': 2, '4': 1, '5': 9, '10': 'titleUpper'}, + {'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'}, + {'1': 'title_prefix_icon', '3': 4, '4': 1, '5': 9, '10': 'titlePrefixIcon'}, + {'1': 'total_text', '3': 5, '4': 1, '5': 9, '10': 'totalText'}, + ], +}; + +/// Descriptor for `ModuleOpusCollection`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleOpusCollectionDescriptor = $convert.base64Decode( + 'ChRNb2R1bGVPcHVzQ29sbGVjdGlvbhJQCg9jb2xsZWN0aW9uX2luZm8YASABKAsyJy5iaWxpYm' + 'lsaS5hcHAuZHluYW1pYy52Mi5PcHVzQ29sbGVjdGlvblIOY29sbGVjdGlvbkluZm8SHwoLdGl0' + 'bGVfdXBwZXIYAiABKAlSCnRpdGxlVXBwZXISFAoFdGl0bGUYAyABKAlSBXRpdGxlEioKEXRpdG' + 'xlX3ByZWZpeF9pY29uGAQgASgJUg90aXRsZVByZWZpeEljb24SHQoKdG90YWxfdGV4dBgFIAEo' + 'CVIJdG90YWxUZXh0'); + +@$core.Deprecated('Use moduleOpusSummaryDescriptor instead') +const ModuleOpusSummary$json = { + '1': 'ModuleOpusSummary', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Paragraph', '10': 'title'}, + {'1': 'summary', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Paragraph', '10': 'summary'}, + {'1': 'summary_jump_btn_text', '3': 3, '4': 1, '5': 9, '10': 'summaryJumpBtnText'}, + {'1': 'covers', '3': 4, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynDrawItem', '10': 'covers'}, + ], +}; + +/// Descriptor for `ModuleOpusSummary`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleOpusSummaryDescriptor = $convert.base64Decode( + 'ChFNb2R1bGVPcHVzU3VtbWFyeRI4CgV0aXRsZRgBIAEoCzIiLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLlBhcmFncmFwaFIFdGl0bGUSPAoHc3VtbWFyeRgCIAEoCzIiLmJpbGliaWxpLmFwcC5k' + 'eW5hbWljLnYyLlBhcmFncmFwaFIHc3VtbWFyeRIxChVzdW1tYXJ5X2p1bXBfYnRuX3RleHQYAy' + 'ABKAlSEnN1bW1hcnlKdW1wQnRuVGV4dBI/CgZjb3ZlcnMYBCADKAsyJy5iaWxpYmlsaS5hcHAu' + 'ZHluYW1pYy52Mi5NZGxEeW5EcmF3SXRlbVIGY292ZXJz'); + +@$core.Deprecated('Use moduleParagraphDescriptor instead') +const ModuleParagraph$json = { + '1': 'ModuleParagraph', + '2': [ + {'1': 'paragraph', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Paragraph', '10': 'paragraph'}, + {'1': 'is_article_title', '3': 2, '4': 1, '5': 8, '10': 'isArticleTitle'}, + {'1': 'para_spacing', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ParaSpacing', '10': 'paraSpacing'}, + ], +}; + +/// Descriptor for `ModuleParagraph`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleParagraphDescriptor = $convert.base64Decode( + 'Cg9Nb2R1bGVQYXJhZ3JhcGgSQAoJcGFyYWdyYXBoGAEgASgLMiIuYmlsaWJpbGkuYXBwLmR5bm' + 'FtaWMudjIuUGFyYWdyYXBoUglwYXJhZ3JhcGgSKAoQaXNfYXJ0aWNsZV90aXRsZRgCIAEoCFIO' + 'aXNBcnRpY2xlVGl0bGUSRwoMcGFyYV9zcGFjaW5nGAMgASgLMiQuYmlsaWJpbGkuYXBwLmR5bm' + 'FtaWMudjIuUGFyYVNwYWNpbmdSC3BhcmFTcGFjaW5n'); + +@$core.Deprecated('Use moduleRcmdDescriptor instead') +const ModuleRcmd$json = { + '1': 'ModuleRcmd', + '2': [ + {'1': 'author', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdAuthor', '10': 'author'}, + {'1': 'items', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdItem', '10': 'items'}, + {'1': 'server_info', '3': 3, '4': 1, '5': 9, '10': 'serverInfo'}, + ], +}; + +/// Descriptor for `ModuleRcmd`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleRcmdDescriptor = $convert.base64Decode( + 'CgpNb2R1bGVSY21kEjsKBmF1dGhvchgBIAEoCzIjLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLl' + 'JjbWRBdXRob3JSBmF1dGhvchI3CgVpdGVtcxgCIAMoCzIhLmJpbGliaWxpLmFwcC5keW5hbWlj' + 'LnYyLlJjbWRJdGVtUgVpdGVtcxIfCgtzZXJ2ZXJfaW5mbxgDIAEoCVIKc2VydmVySW5mbw=='); + +@$core.Deprecated('Use moduleRecommendDescriptor instead') +const ModuleRecommend$json = { + '1': 'ModuleRecommend', + '2': [ + {'1': 'module_title', '3': 1, '4': 1, '5': 9, '10': 'moduleTitle'}, + {'1': 'image', '3': 2, '4': 1, '5': 9, '10': 'image'}, + {'1': 'tag', '3': 3, '4': 1, '5': 9, '10': 'tag'}, + {'1': 'title', '3': 4, '4': 1, '5': 9, '10': 'title'}, + {'1': 'jump_url', '3': 5, '4': 1, '5': 9, '10': 'jumpUrl'}, + {'1': 'ad', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.Any', '10': 'ad'}, + ], +}; + +/// Descriptor for `ModuleRecommend`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleRecommendDescriptor = $convert.base64Decode( + 'Cg9Nb2R1bGVSZWNvbW1lbmQSIQoMbW9kdWxlX3RpdGxlGAEgASgJUgttb2R1bGVUaXRsZRIUCg' + 'VpbWFnZRgCIAEoCVIFaW1hZ2USEAoDdGFnGAMgASgJUgN0YWcSFAoFdGl0bGUYBCABKAlSBXRp' + 'dGxlEhkKCGp1bXBfdXJsGAUgASgJUgdqdW1wVXJsEiQKAmFkGAYgAygLMhQuZ29vZ2xlLnByb3' + 'RvYnVmLkFueVICYWQ='); + +@$core.Deprecated('Use moduleShareInfoDescriptor instead') +const ModuleShareInfo$json = { + '1': 'ModuleShareInfo', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'share_channels', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ShareChannel', '10': 'shareChannels'}, + {'1': 'share_origin', '3': 3, '4': 1, '5': 9, '10': 'shareOrigin'}, + {'1': 'oid', '3': 4, '4': 1, '5': 9, '10': 'oid'}, + {'1': 'sid', '3': 5, '4': 1, '5': 9, '10': 'sid'}, + ], +}; + +/// Descriptor for `ModuleShareInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleShareInfoDescriptor = $convert.base64Decode( + 'Cg9Nb2R1bGVTaGFyZUluZm8SFAoFdGl0bGUYASABKAlSBXRpdGxlEkwKDnNoYXJlX2NoYW5uZW' + 'xzGAIgAygLMiUuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuU2hhcmVDaGFubmVsUg1zaGFyZUNo' + 'YW5uZWxzEiEKDHNoYXJlX29yaWdpbhgDIAEoCVILc2hhcmVPcmlnaW4SEAoDb2lkGAQgASgJUg' + 'NvaWQSEAoDc2lkGAUgASgJUgNzaWQ='); + +@$core.Deprecated('Use moduleStatDescriptor instead') +const ModuleStat$json = { + '1': 'ModuleStat', + '2': [ + {'1': 'repost', '3': 1, '4': 1, '5': 3, '10': 'repost'}, + {'1': 'like', '3': 2, '4': 1, '5': 3, '10': 'like'}, + {'1': 'reply', '3': 3, '4': 1, '5': 3, '10': 'reply'}, + {'1': 'like_info', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.LikeInfo', '10': 'likeInfo'}, + {'1': 'no_comment', '3': 5, '4': 1, '5': 8, '10': 'noComment'}, + {'1': 'no_forward', '3': 6, '4': 1, '5': 8, '10': 'noForward'}, + {'1': 'reply_url', '3': 7, '4': 1, '5': 9, '10': 'replyUrl'}, + {'1': 'no_comment_text', '3': 8, '4': 1, '5': 9, '10': 'noCommentText'}, + {'1': 'no_forward_text', '3': 9, '4': 1, '5': 9, '10': 'noForwardText'}, + ], +}; + +/// Descriptor for `ModuleStat`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleStatDescriptor = $convert.base64Decode( + 'CgpNb2R1bGVTdGF0EhYKBnJlcG9zdBgBIAEoA1IGcmVwb3N0EhIKBGxpa2UYAiABKANSBGxpa2' + 'USFAoFcmVwbHkYAyABKANSBXJlcGx5Ej4KCWxpa2VfaW5mbxgEIAEoCzIhLmJpbGliaWxpLmFw' + 'cC5keW5hbWljLnYyLkxpa2VJbmZvUghsaWtlSW5mbxIdCgpub19jb21tZW50GAUgASgIUglub0' + 'NvbW1lbnQSHQoKbm9fZm9yd2FyZBgGIAEoCFIJbm9Gb3J3YXJkEhsKCXJlcGx5X3VybBgHIAEo' + 'CVIIcmVwbHlVcmwSJgoPbm9fY29tbWVudF90ZXh0GAggASgJUg1ub0NvbW1lbnRUZXh0EiYKD2' + '5vX2ZvcndhcmRfdGV4dBgJIAEoCVINbm9Gb3J3YXJkVGV4dA=='); + +@$core.Deprecated('Use moduleStoryDescriptor instead') +const ModuleStory$json = { + '1': 'ModuleStory', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'items', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.StoryItem', '10': 'items'}, + {'1': 'show_publish_entrance', '3': 3, '4': 1, '5': 8, '10': 'showPublishEntrance'}, + {'1': 'fold_state', '3': 4, '4': 1, '5': 3, '10': 'foldState'}, + {'1': 'uri', '3': 5, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'cover', '3': 6, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'publish_text', '3': 7, '4': 1, '5': 9, '10': 'publishText'}, + ], +}; + +/// Descriptor for `ModuleStory`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleStoryDescriptor = $convert.base64Decode( + 'CgtNb2R1bGVTdG9yeRIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSOAoFaXRlbXMYAiADKAsyIi5iaW' + 'xpYmlsaS5hcHAuZHluYW1pYy52Mi5TdG9yeUl0ZW1SBWl0ZW1zEjIKFXNob3dfcHVibGlzaF9l' + 'bnRyYW5jZRgDIAEoCFITc2hvd1B1Ymxpc2hFbnRyYW5jZRIdCgpmb2xkX3N0YXRlGAQgASgDUg' + 'lmb2xkU3RhdGUSEAoDdXJpGAUgASgJUgN1cmkSFAoFY292ZXIYBiABKAlSBWNvdmVyEiEKDHB1' + 'Ymxpc2hfdGV4dBgHIAEoCVILcHVibGlzaFRleHQ='); + +@$core.Deprecated('Use moduleTextNoticeDescriptor instead') +const ModuleTextNotice$json = { + '1': 'ModuleTextNotice', + '2': [ + {'1': 'notice', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OneLineText', '10': 'notice'}, + ], +}; + +/// Descriptor for `ModuleTextNotice`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleTextNoticeDescriptor = $convert.base64Decode( + 'ChBNb2R1bGVUZXh0Tm90aWNlEjwKBm5vdGljZRgBIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLk9uZUxpbmVUZXh0UgZub3RpY2U='); + +@$core.Deprecated('Use moduleTitleDescriptor instead') +const ModuleTitle$json = { + '1': 'ModuleTitle', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'right_btn', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.IconButton', '10': 'rightBtn'}, + {'1': 'title_style', '3': 3, '4': 1, '5': 5, '10': 'titleStyle'}, + ], +}; + +/// Descriptor for `ModuleTitle`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleTitleDescriptor = $convert.base64Decode( + 'CgtNb2R1bGVUaXRsZRIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSQAoJcmlnaHRfYnRuGAIgASgLMi' + 'MuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuSWNvbkJ1dHRvblIIcmlnaHRCdG4SHwoLdGl0bGVf' + 'c3R5bGUYAyABKAVSCnRpdGxlU3R5bGU='); + +@$core.Deprecated('Use moduleTopDescriptor instead') +const ModuleTop$json = { + '1': 'ModuleTop', + '2': [ + {'1': 'tp_list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointItem', '10': 'tpList'}, + {'1': 'archive', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynArchive', '10': 'archive'}, + {'1': 'author', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ModuleAuthor', '10': 'author'}, + {'1': 'hidden_nav_bar', '3': 4, '4': 1, '5': 8, '10': 'hiddenNavBar'}, + ], +}; + +/// Descriptor for `ModuleTop`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleTopDescriptor = $convert.base64Decode( + 'CglNb2R1bGVUb3ASQAoHdHBfbGlzdBgBIAMoCzInLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLl' + 'RocmVlUG9pbnRJdGVtUgZ0cExpc3QSQAoHYXJjaGl2ZRgCIAEoCzImLmJpbGliaWxpLmFwcC5k' + 'eW5hbWljLnYyLk1kbER5bkFyY2hpdmVSB2FyY2hpdmUSPQoGYXV0aG9yGAMgASgLMiUuYmlsaW' + 'JpbGkuYXBwLmR5bmFtaWMudjIuTW9kdWxlQXV0aG9yUgZhdXRob3ISJAoOaGlkZGVuX25hdl9i' + 'YXIYBCABKAhSDGhpZGRlbk5hdkJhcg=='); + +@$core.Deprecated('Use moduleTopicDescriptor instead') +const ModuleTopic$json = { + '1': 'ModuleTopic', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'url', '3': 3, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `ModuleTopic`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleTopicDescriptor = $convert.base64Decode( + 'CgtNb2R1bGVUb3BpYxIOCgJpZBgBIAEoA1ICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIQCgN1cm' + 'wYAyABKAlSA3VybA=='); + +@$core.Deprecated('Use moduleTopicBriefDescriptor instead') +const ModuleTopicBrief$json = { + '1': 'ModuleTopicBrief', + '2': [ + {'1': 'topic', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicItem', '10': 'topic'}, + ], +}; + +/// Descriptor for `ModuleTopicBrief`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleTopicBriefDescriptor = $convert.base64Decode( + 'ChBNb2R1bGVUb3BpY0JyaWVmEjgKBXRvcGljGAEgASgLMiIuYmlsaWJpbGkuYXBwLmR5bmFtaW' + 'MudjIuVG9waWNJdGVtUgV0b3BpYw=='); + +@$core.Deprecated('Use moduleTopicDetailsExtDescriptor instead') +const ModuleTopicDetailsExt$json = { + '1': 'ModuleTopicDetailsExt', + '2': [ + {'1': 'comment_guide', '3': 1, '4': 1, '5': 9, '10': 'commentGuide'}, + ], +}; + +/// Descriptor for `ModuleTopicDetailsExt`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleTopicDetailsExtDescriptor = $convert.base64Decode( + 'ChVNb2R1bGVUb3BpY0RldGFpbHNFeHQSIwoNY29tbWVudF9ndWlkZRgBIAEoCVIMY29tbWVudE' + 'd1aWRl'); + +@$core.Deprecated('Use moduleTopTagDescriptor instead') +const ModuleTopTag$json = { + '1': 'ModuleTopTag', + '2': [ + {'1': 'tag_name', '3': 1, '4': 1, '5': 9, '10': 'tagName'}, + ], +}; + +/// Descriptor for `ModuleTopTag`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleTopTagDescriptor = $convert.base64Decode( + 'CgxNb2R1bGVUb3BUYWcSGQoIdGFnX25hbWUYASABKAlSB3RhZ05hbWU='); + +@$core.Deprecated('Use nameplateDescriptor instead') +const Nameplate$json = { + '1': 'Nameplate', + '2': [ + {'1': 'nid', '3': 1, '4': 1, '5': 3, '10': 'nid'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'image', '3': 3, '4': 1, '5': 9, '10': 'image'}, + {'1': 'image_small', '3': 4, '4': 1, '5': 9, '10': 'imageSmall'}, + {'1': 'level', '3': 5, '4': 1, '5': 9, '10': 'level'}, + {'1': 'condition', '3': 6, '4': 1, '5': 9, '10': 'condition'}, + ], +}; + +/// Descriptor for `Nameplate`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List nameplateDescriptor = $convert.base64Decode( + 'CglOYW1lcGxhdGUSEAoDbmlkGAEgASgDUgNuaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIUCgVpbW' + 'FnZRgDIAEoCVIFaW1hZ2USHwoLaW1hZ2Vfc21hbGwYBCABKAlSCmltYWdlU21hbGwSFAoFbGV2' + 'ZWwYBSABKAlSBWxldmVsEhwKCWNvbmRpdGlvbhgGIAEoCVIJY29uZGl0aW9u'); + +@$core.Deprecated('Use newEPDescriptor instead') +const NewEP$json = { + '1': 'NewEP', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 5, '10': 'id'}, + {'1': 'index_show', '3': 2, '4': 1, '5': 9, '10': 'indexShow'}, + {'1': 'cover', '3': 3, '4': 1, '5': 9, '10': 'cover'}, + ], +}; + +/// Descriptor for `NewEP`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List newEPDescriptor = $convert.base64Decode( + 'CgVOZXdFUBIOCgJpZBgBIAEoBVICaWQSHQoKaW5kZXhfc2hvdxgCIAEoCVIJaW5kZXhTaG93Eh' + 'QKBWNvdmVyGAMgASgJUgVjb3Zlcg=='); + +@$core.Deprecated('Use nFTInfoDescriptor instead') +const NFTInfo$json = { + '1': 'NFTInfo', + '2': [ + {'1': 'region_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.NFTRegionType', '10': 'regionType'}, + {'1': 'region_icon', '3': 2, '4': 1, '5': 9, '10': 'regionIcon'}, + {'1': 'region_show_status', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.NFTShowStatus', '10': 'regionShowStatus'}, + ], +}; + +/// Descriptor for `NFTInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List nFTInfoDescriptor = $convert.base64Decode( + 'CgdORlRJbmZvEkcKC3JlZ2lvbl90eXBlGAEgASgOMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuTkZUUmVnaW9uVHlwZVIKcmVnaW9uVHlwZRIfCgtyZWdpb25faWNvbhgCIAEoCVIKcmVnaW9u' + 'SWNvbhJUChJyZWdpb25fc2hvd19zdGF0dXMYAyABKA4yJi5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5ORlRTaG93U3RhdHVzUhByZWdpb25TaG93U3RhdHVz'); + +@$core.Deprecated('Use noReplyDescriptor instead') +const NoReply$json = { + '1': 'NoReply', +}; + +/// Descriptor for `NoReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List noReplyDescriptor = $convert.base64Decode( + 'CgdOb1JlcGx5'); + +@$core.Deprecated('Use noReqDescriptor instead') +const NoReq$json = { + '1': 'NoReq', +}; + +/// Descriptor for `NoReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List noReqDescriptor = $convert.base64Decode( + 'CgVOb1JlcQ=='); + +@$core.Deprecated('Use noteVideoTSDescriptor instead') +const NoteVideoTS$json = { + '1': 'NoteVideoTS', + '2': [ + {'1': 'cid', '3': 1, '4': 1, '5': 3, '10': 'cid'}, + {'1': 'oid_type', '3': 2, '4': 1, '5': 3, '10': 'oidType'}, + {'1': 'status', '3': 3, '4': 1, '5': 3, '10': 'status'}, + {'1': 'index', '3': 4, '4': 1, '5': 3, '10': 'index'}, + {'1': 'seconds', '3': 5, '4': 1, '5': 3, '10': 'seconds'}, + {'1': 'cid_count', '3': 6, '4': 1, '5': 3, '10': 'cidCount'}, + {'1': 'key', '3': 7, '4': 1, '5': 9, '10': 'key'}, + {'1': 'epid', '3': 9, '4': 1, '5': 3, '10': 'epid'}, + {'1': 'title', '3': 8, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 10, '4': 1, '5': 9, '10': 'desc'}, + ], +}; + +/// Descriptor for `NoteVideoTS`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List noteVideoTSDescriptor = $convert.base64Decode( + 'CgtOb3RlVmlkZW9UUxIQCgNjaWQYASABKANSA2NpZBIZCghvaWRfdHlwZRgCIAEoA1IHb2lkVH' + 'lwZRIWCgZzdGF0dXMYAyABKANSBnN0YXR1cxIUCgVpbmRleBgEIAEoA1IFaW5kZXgSGAoHc2Vj' + 'b25kcxgFIAEoA1IHc2Vjb25kcxIbCgljaWRfY291bnQYBiABKANSCGNpZENvdW50EhAKA2tleR' + 'gHIAEoCVIDa2V5EhIKBGVwaWQYCSABKANSBGVwaWQSFAoFdGl0bGUYCCABKAlSBXRpdGxlEhIK' + 'BGRlc2MYCiABKAlSBGRlc2M='); + +@$core.Deprecated('Use officialAccountInfoDescriptor instead') +const OfficialAccountInfo$json = { + '1': 'OfficialAccountInfo', + '2': [ + {'1': 'author', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.UserInfo', '10': 'author'}, + {'1': 'mid', '3': 2, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'relation', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Relation', '10': 'relation'}, + {'1': 'desc_text1', '3': 5, '4': 1, '5': 9, '10': 'descText1'}, + {'1': 'desc_text2', '3': 6, '4': 1, '5': 9, '10': 'descText2'}, + ], +}; + +/// Descriptor for `OfficialAccountInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List officialAccountInfoDescriptor = $convert.base64Decode( + 'ChNPZmZpY2lhbEFjY291bnRJbmZvEjkKBmF1dGhvchgBIAEoCzIhLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLlVzZXJJbmZvUgZhdXRob3ISEAoDbWlkGAIgASgDUgNtaWQSEAoDdXJpGAMgASgJ' + 'UgN1cmkSPQoIcmVsYXRpb24YBCABKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5SZWxhdG' + 'lvblIIcmVsYXRpb24SHQoKZGVzY190ZXh0MRgFIAEoCVIJZGVzY1RleHQxEh0KCmRlc2NfdGV4' + 'dDIYBiABKAlSCWRlc2NUZXh0Mg=='); + +@$core.Deprecated('Use officialAccountsReplyDescriptor instead') +const OfficialAccountsReply$json = { + '1': 'OfficialAccountsReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.OfficialAccountInfo', '10': 'items'}, + {'1': 'has_more', '3': 2, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'offset', '3': 3, '4': 1, '5': 3, '10': 'offset'}, + ], +}; + +/// Descriptor for `OfficialAccountsReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List officialAccountsReplyDescriptor = $convert.base64Decode( + 'ChVPZmZpY2lhbEFjY291bnRzUmVwbHkSQgoFaXRlbXMYASADKAsyLC5iaWxpYmlsaS5hcHAuZH' + 'luYW1pYy52Mi5PZmZpY2lhbEFjY291bnRJbmZvUgVpdGVtcxIZCghoYXNfbW9yZRgCIAEoCFIH' + 'aGFzTW9yZRIWCgZvZmZzZXQYAyABKANSBm9mZnNldA=='); + +@$core.Deprecated('Use officialAccountsReqDescriptor instead') +const OfficialAccountsReq$json = { + '1': 'OfficialAccountsReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'offset', '3': 3, '4': 1, '5': 3, '10': 'offset'}, + ], +}; + +/// Descriptor for `OfficialAccountsReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List officialAccountsReqDescriptor = $convert.base64Decode( + 'ChNPZmZpY2lhbEFjY291bnRzUmVxEhsKCWNhbXB1c19pZBgBIAEoA1IIY2FtcHVzSWQSHwoLY2' + 'FtcHVzX25hbWUYAiABKAlSCmNhbXB1c05hbWUSFgoGb2Zmc2V0GAMgASgDUgZvZmZzZXQ='); + +@$core.Deprecated('Use officialDynamicsReplyDescriptor instead') +const OfficialDynamicsReply$json = { + '1': 'OfficialDynamicsReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.OfficialItem', '10': 'items'}, + {'1': 'offset', '3': 2, '4': 1, '5': 3, '10': 'offset'}, + {'1': 'has_more', '3': 3, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'player_args', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.archive.middleware.v1.PlayerArgs', '10': 'playerArgs'}, + ], +}; + +/// Descriptor for `OfficialDynamicsReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List officialDynamicsReplyDescriptor = $convert.base64Decode( + 'ChVPZmZpY2lhbER5bmFtaWNzUmVwbHkSOwoFaXRlbXMYASADKAsyJS5iaWxpYmlsaS5hcHAuZH' + 'luYW1pYy52Mi5PZmZpY2lhbEl0ZW1SBWl0ZW1zEhYKBm9mZnNldBgCIAEoA1IGb2Zmc2V0EhkK' + 'CGhhc19tb3JlGAMgASgIUgdoYXNNb3JlEk8KC3BsYXllcl9hcmdzGAQgASgLMi4uYmlsaWJpbG' + 'kuYXBwLmFyY2hpdmUubWlkZGxld2FyZS52MS5QbGF5ZXJBcmdzUgpwbGF5ZXJBcmdz'); + +@$core.Deprecated('Use officialDynamicsReqDescriptor instead') +const OfficialDynamicsReq$json = { + '1': 'OfficialDynamicsReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'offset', '3': 3, '4': 1, '5': 3, '10': 'offset'}, + ], +}; + +/// Descriptor for `OfficialDynamicsReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List officialDynamicsReqDescriptor = $convert.base64Decode( + 'ChNPZmZpY2lhbER5bmFtaWNzUmVxEhsKCWNhbXB1c19pZBgBIAEoA1IIY2FtcHVzSWQSHwoLY2' + 'FtcHVzX25hbWUYAiABKAlSCmNhbXB1c05hbWUSFgoGb2Zmc2V0GAMgASgDUgZvZmZzZXQ='); + +@$core.Deprecated('Use officialItemDescriptor instead') +const OfficialItem$json = { + '1': 'OfficialItem', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 5, '10': 'type'}, + {'1': 'rcmd_archive', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OfficialRcmdArchive', '9': 0, '10': 'rcmdArchive'}, + {'1': 'rcmd_dynamic', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OfficialRcmdDynamic', '9': 0, '10': 'rcmdDynamic'}, + ], + '8': [ + {'1': 'rcmd_item'}, + ], +}; + +/// Descriptor for `OfficialItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List officialItemDescriptor = $convert.base64Decode( + 'CgxPZmZpY2lhbEl0ZW0SEgoEdHlwZRgBIAEoBVIEdHlwZRJRCgxyY21kX2FyY2hpdmUYAiABKA' + 'syLC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5PZmZpY2lhbFJjbWRBcmNoaXZlSABSC3JjbWRB' + 'cmNoaXZlElEKDHJjbWRfZHluYW1pYxgDIAEoCzIsLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk' + '9mZmljaWFsUmNtZER5bmFtaWNIAFILcmNtZER5bmFtaWNCCwoJcmNtZF9pdGVt'); + +@$core.Deprecated('Use officialRcmdArchiveDescriptor instead') +const OfficialRcmdArchive$json = { + '1': 'OfficialRcmdArchive', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'cover_right_text', '3': 3, '4': 1, '5': 9, '10': 'coverRightText'}, + {'1': 'desc_icon1', '3': 4, '4': 1, '5': 5, '10': 'descIcon1'}, + {'1': 'desc_text1', '3': 5, '4': 1, '5': 9, '10': 'descText1'}, + {'1': 'desc_icon2', '3': 6, '4': 1, '5': 5, '10': 'descIcon2'}, + {'1': 'desc_text2', '3': 7, '4': 1, '5': 9, '10': 'descText2'}, + {'1': 'reason', '3': 8, '4': 1, '5': 9, '10': 'reason'}, + {'1': 'show_three_point', '3': 9, '4': 1, '5': 8, '10': 'showThreePoint'}, + {'1': 'uri', '3': 10, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'aid', '3': 11, '4': 1, '5': 3, '10': 'aid'}, + {'1': 'mid', '3': 12, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'name', '3': 13, '4': 1, '5': 9, '10': 'name'}, + {'1': 'dynamic_id', '3': 14, '4': 1, '5': 3, '10': 'dynamicId'}, + {'1': 'cid', '3': 15, '4': 1, '5': 3, '10': 'cid'}, + ], +}; + +/// Descriptor for `OfficialRcmdArchive`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List officialRcmdArchiveDescriptor = $convert.base64Decode( + 'ChNPZmZpY2lhbFJjbWRBcmNoaXZlEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIUCgVjb3ZlchgCIA' + 'EoCVIFY292ZXISKAoQY292ZXJfcmlnaHRfdGV4dBgDIAEoCVIOY292ZXJSaWdodFRleHQSHQoK' + 'ZGVzY19pY29uMRgEIAEoBVIJZGVzY0ljb24xEh0KCmRlc2NfdGV4dDEYBSABKAlSCWRlc2NUZX' + 'h0MRIdCgpkZXNjX2ljb24yGAYgASgFUglkZXNjSWNvbjISHQoKZGVzY190ZXh0MhgHIAEoCVIJ' + 'ZGVzY1RleHQyEhYKBnJlYXNvbhgIIAEoCVIGcmVhc29uEigKEHNob3dfdGhyZWVfcG9pbnQYCS' + 'ABKAhSDnNob3dUaHJlZVBvaW50EhAKA3VyaRgKIAEoCVIDdXJpEhAKA2FpZBgLIAEoA1IDYWlk' + 'EhAKA21pZBgMIAEoA1IDbWlkEhIKBG5hbWUYDSABKAlSBG5hbWUSHQoKZHluYW1pY19pZBgOIA' + 'EoA1IJZHluYW1pY0lkEhAKA2NpZBgPIAEoA1IDY2lk'); + +@$core.Deprecated('Use officialRcmdDynamicDescriptor instead') +const OfficialRcmdDynamic$json = { + '1': 'OfficialRcmdDynamic', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'cover_right_top_text', '3': 3, '4': 1, '5': 9, '10': 'coverRightTopText'}, + {'1': 'desc_icon1', '3': 4, '4': 1, '5': 5, '10': 'descIcon1'}, + {'1': 'desc_text1', '3': 5, '4': 1, '5': 9, '10': 'descText1'}, + {'1': 'desc_icon2', '3': 6, '4': 1, '5': 5, '10': 'descIcon2'}, + {'1': 'desc_text2', '3': 7, '4': 1, '5': 9, '10': 'descText2'}, + {'1': 'reason', '3': 8, '4': 1, '5': 9, '10': 'reason'}, + {'1': 'uri', '3': 9, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'dynamic_id', '3': 10, '4': 1, '5': 3, '10': 'dynamicId'}, + {'1': 'mid', '3': 11, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'user_name', '3': 12, '4': 1, '5': 9, '10': 'userName'}, + {'1': 'rid', '3': 13, '4': 1, '5': 3, '10': 'rid'}, + ], +}; + +/// Descriptor for `OfficialRcmdDynamic`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List officialRcmdDynamicDescriptor = $convert.base64Decode( + 'ChNPZmZpY2lhbFJjbWREeW5hbWljEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIUCgVjb3ZlchgCIA' + 'EoCVIFY292ZXISLwoUY292ZXJfcmlnaHRfdG9wX3RleHQYAyABKAlSEWNvdmVyUmlnaHRUb3BU' + 'ZXh0Eh0KCmRlc2NfaWNvbjEYBCABKAVSCWRlc2NJY29uMRIdCgpkZXNjX3RleHQxGAUgASgJUg' + 'lkZXNjVGV4dDESHQoKZGVzY19pY29uMhgGIAEoBVIJZGVzY0ljb24yEh0KCmRlc2NfdGV4dDIY' + 'ByABKAlSCWRlc2NUZXh0MhIWCgZyZWFzb24YCCABKAlSBnJlYXNvbhIQCgN1cmkYCSABKAlSA3' + 'VyaRIdCgpkeW5hbWljX2lkGAogASgDUglkeW5hbWljSWQSEAoDbWlkGAsgASgDUgNtaWQSGwoJ' + 'dXNlcl9uYW1lGAwgASgJUgh1c2VyTmFtZRIQCgNyaWQYDSABKANSA3JpZA=='); + +@$core.Deprecated('Use officialVerifyDescriptor instead') +const OfficialVerify$json = { + '1': 'OfficialVerify', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 5, '10': 'type'}, + {'1': 'desc', '3': 2, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'is_atten', '3': 3, '4': 1, '5': 5, '10': 'isAtten'}, + ], +}; + +/// Descriptor for `OfficialVerify`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List officialVerifyDescriptor = $convert.base64Decode( + 'Cg5PZmZpY2lhbFZlcmlmeRISCgR0eXBlGAEgASgFUgR0eXBlEhIKBGRlc2MYAiABKAlSBGRlc2' + 'MSGQoIaXNfYXR0ZW4YAyABKAVSB2lzQXR0ZW4='); + +@$core.Deprecated('Use oneLineTextDescriptor instead') +const OneLineText$json = { + '1': 'OneLineText', + '2': [ + {'1': 'texts', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.TextWithPriority', '10': 'texts'}, + ], +}; + +/// Descriptor for `OneLineText`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List oneLineTextDescriptor = $convert.base64Decode( + 'CgtPbmVMaW5lVGV4dBI/CgV0ZXh0cxgBIAMoCzIpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLl' + 'RleHRXaXRoUHJpb3JpdHlSBXRleHRz'); + +@$core.Deprecated('Use onlyFansDescriptor instead') +const OnlyFans$json = { + '1': 'OnlyFans', + '2': [ + {'1': 'is_only_fans', '3': 1, '4': 1, '5': 8, '10': 'isOnlyFans'}, + {'1': 'badge', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.IconBadge', '10': 'badge'}, + ], +}; + +/// Descriptor for `OnlyFans`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List onlyFansDescriptor = $convert.base64Decode( + 'CghPbmx5RmFucxIgCgxpc19vbmx5X2ZhbnMYASABKAhSCmlzT25seUZhbnMSOAoFYmFkZ2UYAi' + 'ABKAsyIi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5JY29uQmFkZ2VSBWJhZGdl'); + +@$core.Deprecated('Use onlyFansPropertyDescriptor instead') +const OnlyFansProperty$json = { + '1': 'OnlyFansProperty', + '2': [ + {'1': 'has_privilege', '3': 1, '4': 1, '5': 8, '10': 'hasPrivilege'}, + {'1': 'is_only_fans', '3': 2, '4': 1, '5': 8, '10': 'isOnlyFans'}, + ], +}; + +/// Descriptor for `OnlyFansProperty`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List onlyFansPropertyDescriptor = $convert.base64Decode( + 'ChBPbmx5RmFuc1Byb3BlcnR5EiMKDWhhc19wcml2aWxlZ2UYASABKAhSDGhhc1ByaXZpbGVnZR' + 'IgCgxpc19vbmx5X2ZhbnMYAiABKAhSCmlzT25seUZhbnM='); + +@$core.Deprecated('Use opusCollectionDescriptor instead') +const OpusCollection$json = { + '1': 'OpusCollection', + '2': [ + {'1': 'collection_id', '3': 1, '4': 1, '5': 3, '10': 'collectionId'}, + {'1': 'title', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OneLineText', '10': 'title'}, + {'1': 'detail_uri', '3': 3, '4': 1, '5': 9, '10': 'detailUri'}, + {'1': 'intro', '3': 4, '4': 1, '5': 9, '10': 'intro'}, + {'1': 'all_items', '3': 5, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.OpusCollectionItem', '10': 'allItems'}, + ], +}; + +/// Descriptor for `OpusCollection`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List opusCollectionDescriptor = $convert.base64Decode( + 'Cg5PcHVzQ29sbGVjdGlvbhIjCg1jb2xsZWN0aW9uX2lkGAEgASgDUgxjb2xsZWN0aW9uSWQSOg' + 'oFdGl0bGUYAiABKAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5PbmVMaW5lVGV4dFIFdGl0' + 'bGUSHQoKZGV0YWlsX3VyaRgDIAEoCVIJZGV0YWlsVXJpEhQKBWludHJvGAQgASgJUgVpbnRybx' + 'JICglhbGxfaXRlbXMYBSADKAsyKy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5PcHVzQ29sbGVj' + 'dGlvbkl0ZW1SCGFsbEl0ZW1z'); + +@$core.Deprecated('Use opusCollectionItemDescriptor instead') +const OpusCollectionItem$json = { + '1': 'OpusCollectionItem', + '2': [ + {'1': 'opus_id', '3': 1, '4': 1, '5': 3, '10': 'opusId'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'pub_time', '3': 3, '4': 1, '5': 9, '10': 'pubTime'}, + {'1': 'uri', '3': 4, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'is_selected_highlight', '3': 5, '4': 1, '5': 8, '10': 'isSelectedHighlight'}, + ], +}; + +/// Descriptor for `OpusCollectionItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List opusCollectionItemDescriptor = $convert.base64Decode( + 'ChJPcHVzQ29sbGVjdGlvbkl0ZW0SFwoHb3B1c19pZBgBIAEoA1IGb3B1c0lkEhQKBXRpdGxlGA' + 'IgASgJUgV0aXRsZRIZCghwdWJfdGltZRgDIAEoCVIHcHViVGltZRIQCgN1cmkYBCABKAlSA3Vy' + 'aRIyChVpc19zZWxlY3RlZF9oaWdobGlnaHQYBSABKAhSE2lzU2VsZWN0ZWRIaWdobGlnaHQ='); + +@$core.Deprecated('Use paragraphDescriptor instead') +const Paragraph$json = { + '1': 'Paragraph', + '2': [ + {'1': 'para_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.Paragraph.ParagraphType', '10': 'paraType'}, + {'1': 'para_format', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Paragraph.ParagraphFormat', '10': 'paraFormat'}, + {'1': 'text', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TextParagraph', '9': 0, '10': 'text'}, + {'1': 'pic', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.PicParagraph', '9': 0, '10': 'pic'}, + {'1': 'line', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.LineParagraph', '9': 0, '10': 'line'}, + {'1': 'link_card', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CardParagraph', '9': 0, '10': 'linkCard'}, + ], + '3': [Paragraph_ListFormat$json, Paragraph_ParagraphFormat$json], + '4': [Paragraph_ParagraphAlign$json, Paragraph_ParagraphType$json], + '8': [ + {'1': 'content'}, + ], +}; + +@$core.Deprecated('Use paragraphDescriptor instead') +const Paragraph_ListFormat$json = { + '1': 'ListFormat', + '2': [ + {'1': 'level', '3': 1, '4': 1, '5': 5, '10': 'level'}, + {'1': 'order', '3': 2, '4': 1, '5': 5, '10': 'order'}, + {'1': 'theme', '3': 3, '4': 1, '5': 9, '10': 'theme'}, + ], +}; + +@$core.Deprecated('Use paragraphDescriptor instead') +const Paragraph_ParagraphFormat$json = { + '1': 'ParagraphFormat', + '2': [ + {'1': 'align', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.Paragraph.ParagraphAlign', '10': 'align'}, + {'1': 'list_format', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Paragraph.ListFormat', '10': 'listFormat'}, + ], +}; + +@$core.Deprecated('Use paragraphDescriptor instead') +const Paragraph_ParagraphAlign$json = { + '1': 'ParagraphAlign', + '2': [ + {'1': 'LEFT', '2': 0}, + {'1': 'MIDDLE', '2': 1}, + {'1': 'RIGHT', '2': 2}, + ], +}; + +@$core.Deprecated('Use paragraphDescriptor instead') +const Paragraph_ParagraphType$json = { + '1': 'ParagraphType', + '2': [ + {'1': 'INVALID', '2': 0}, + {'1': 'TEXT', '2': 1}, + {'1': 'PICTURES', '2': 2}, + {'1': 'LINE', '2': 3}, + {'1': 'REFERENCE', '2': 4}, + {'1': 'SORTED_LIST', '2': 5}, + {'1': 'UNSORTED_LIST', '2': 6}, + {'1': 'LINK_CARD', '2': 7}, + ], +}; + +/// Descriptor for `Paragraph`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List paragraphDescriptor = $convert.base64Decode( + 'CglQYXJhZ3JhcGgSTQoJcGFyYV90eXBlGAEgASgOMjAuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuUGFyYWdyYXBoLlBhcmFncmFwaFR5cGVSCHBhcmFUeXBlElMKC3BhcmFfZm9ybWF0GAIgASgL' + 'MjIuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuUGFyYWdyYXBoLlBhcmFncmFwaEZvcm1hdFIKcG' + 'FyYUZvcm1hdBI8CgR0ZXh0GAMgASgLMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVGV4dFBh' + 'cmFncmFwaEgAUgR0ZXh0EjkKA3BpYxgEIAEoCzIlLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLl' + 'BpY1BhcmFncmFwaEgAUgNwaWMSPAoEbGluZRgFIAEoCzImLmJpbGliaWxpLmFwcC5keW5hbWlj' + 'LnYyLkxpbmVQYXJhZ3JhcGhIAFIEbGluZRJFCglsaW5rX2NhcmQYBiABKAsyJi5iaWxpYmlsaS' + '5hcHAuZHluYW1pYy52Mi5DYXJkUGFyYWdyYXBoSABSCGxpbmtDYXJkGk4KCkxpc3RGb3JtYXQS' + 'FAoFbGV2ZWwYASABKAVSBWxldmVsEhQKBW9yZGVyGAIgASgFUgVvcmRlchIUCgV0aGVtZRgDIA' + 'EoCVIFdGhlbWUaqgEKD1BhcmFncmFwaEZvcm1hdBJHCgVhbGlnbhgBIAEoDjIxLmJpbGliaWxp' + 'LmFwcC5keW5hbWljLnYyLlBhcmFncmFwaC5QYXJhZ3JhcGhBbGlnblIFYWxpZ24STgoLbGlzdF' + '9mb3JtYXQYAiABKAsyLS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5QYXJhZ3JhcGguTGlzdEZv' + 'cm1hdFIKbGlzdEZvcm1hdCIxCg5QYXJhZ3JhcGhBbGlnbhIICgRMRUZUEAASCgoGTUlERExFEA' + 'ESCQoFUklHSFQQAiKAAQoNUGFyYWdyYXBoVHlwZRILCgdJTlZBTElEEAASCAoEVEVYVBABEgwK' + 'CFBJQ1RVUkVTEAISCAoETElORRADEg0KCVJFRkVSRU5DRRAEEg8KC1NPUlRFRF9MSVNUEAUSEQ' + 'oNVU5TT1JURURfTElTVBAGEg0KCUxJTktfQ0FSRBAHQgkKB2NvbnRlbnQ='); + +@$core.Deprecated('Use paraSpacingDescriptor instead') +const ParaSpacing$json = { + '1': 'ParaSpacing', + '2': [ + {'1': 'spacing_before_para', '3': 1, '4': 1, '5': 1, '10': 'spacingBeforePara'}, + {'1': 'spacing_after_para', '3': 2, '4': 1, '5': 1, '10': 'spacingAfterPara'}, + {'1': 'line_spacing', '3': 3, '4': 1, '5': 1, '10': 'lineSpacing'}, + ], +}; + +/// Descriptor for `ParaSpacing`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List paraSpacingDescriptor = $convert.base64Decode( + 'CgtQYXJhU3BhY2luZxIuChNzcGFjaW5nX2JlZm9yZV9wYXJhGAEgASgBUhFzcGFjaW5nQmVmb3' + 'JlUGFyYRIsChJzcGFjaW5nX2FmdGVyX3BhcmEYAiABKAFSEHNwYWNpbmdBZnRlclBhcmESIQoM' + 'bGluZV9zcGFjaW5nGAMgASgBUgtsaW5lU3BhY2luZw=='); + +@$core.Deprecated('Use pGCSeasonDescriptor instead') +const PGCSeason$json = { + '1': 'PGCSeason', + '2': [ + {'1': 'is_finish', '3': 1, '4': 1, '5': 5, '10': 'isFinish'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'type', '3': 3, '4': 1, '5': 5, '10': 'type'}, + ], +}; + +/// Descriptor for `PGCSeason`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List pGCSeasonDescriptor = $convert.base64Decode( + 'CglQR0NTZWFzb24SGwoJaXNfZmluaXNoGAEgASgFUghpc0ZpbmlzaBIUCgV0aXRsZRgCIAEoCV' + 'IFdGl0bGUSEgoEdHlwZRgDIAEoBVIEdHlwZQ=='); + +@$core.Deprecated('Use picParagraphDescriptor instead') +const PicParagraph$json = { + '1': 'PicParagraph', + '2': [ + {'1': 'pics', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.MdlDynDraw', '10': 'pics'}, + {'1': 'style', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.PicParagraph.PicParagraphStyle', '10': 'style'}, + ], + '4': [PicParagraph_PicParagraphStyle$json], +}; + +@$core.Deprecated('Use picParagraphDescriptor instead') +const PicParagraph_PicParagraphStyle$json = { + '1': 'PicParagraphStyle', + '2': [ + {'1': 'INVALID', '2': 0}, + {'1': 'NINE_CELL', '2': 1}, + {'1': 'BIG_SCROLL', '2': 2}, + ], +}; + +/// Descriptor for `PicParagraph`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List picParagraphDescriptor = $convert.base64Decode( + 'CgxQaWNQYXJhZ3JhcGgSNwoEcGljcxgBIAEoCzIjLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLk' + '1kbER5bkRyYXdSBHBpY3MSTQoFc3R5bGUYAiABKA4yNy5iaWxpYmlsaS5hcHAuZHluYW1pYy52' + 'Mi5QaWNQYXJhZ3JhcGguUGljUGFyYWdyYXBoU3R5bGVSBXN0eWxlIj8KEVBpY1BhcmFncmFwaF' + 'N0eWxlEgsKB0lOVkFMSUQQABINCglOSU5FX0NFTEwQARIOCgpCSUdfU0NST0xMEAI='); + +@$core.Deprecated('Use playurlParamDescriptor instead') +const PlayurlParam$json = { + '1': 'PlayurlParam', + '2': [ + {'1': 'qn', '3': 1, '4': 1, '5': 5, '10': 'qn'}, + {'1': 'fnver', '3': 2, '4': 1, '5': 5, '10': 'fnver'}, + {'1': 'fnval', '3': 3, '4': 1, '5': 5, '10': 'fnval'}, + {'1': 'force_host', '3': 4, '4': 1, '5': 5, '10': 'forceHost'}, + {'1': 'fourk', '3': 5, '4': 1, '5': 5, '10': 'fourk'}, + ], +}; + +/// Descriptor for `PlayurlParam`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List playurlParamDescriptor = $convert.base64Decode( + 'CgxQbGF5dXJsUGFyYW0SDgoCcW4YASABKAVSAnFuEhQKBWZudmVyGAIgASgFUgVmbnZlchIUCg' + 'VmbnZhbBgDIAEoBVIFZm52YWwSHQoKZm9yY2VfaG9zdBgEIAEoBVIJZm9yY2VIb3N0EhQKBWZv' + 'dXJrGAUgASgFUgVmb3Vyaw=='); + +@$core.Deprecated('Use popupDescriptor instead') +const Popup$json = { + '1': 'Popup', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 2, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + ], +}; + +/// Descriptor for `Popup`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List popupDescriptor = $convert.base64Decode( + 'CgVQb3B1cBIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSEgoEZGVzYxgCIAEoCVIEZGVzYxIQCgN1cm' + 'kYAyABKAlSA3VyaQ=='); + +@$core.Deprecated('Use rcmdArchiveDescriptor instead') +const RcmdArchive$json = { + '1': 'RcmdArchive', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'cover', '3': 2, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'cover_left_icon_1', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CoverIcon', '10': 'coverLeftIcon1'}, + {'1': 'cover_left_text_1', '3': 4, '4': 1, '5': 9, '10': 'coverLeftText1'}, + {'1': 'uri', '3': 5, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'is_pgc', '3': 6, '4': 1, '5': 8, '10': 'isPgc'}, + {'1': 'aid', '3': 7, '4': 1, '5': 3, '10': 'aid'}, + {'1': 'badge', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.IconBadge', '10': 'badge'}, + {'1': 'cover_left_icon2', '3': 9, '4': 1, '5': 5, '10': 'coverLeftIcon2'}, + {'1': 'cover_left_text2', '3': 10, '4': 1, '5': 9, '10': 'coverLeftText2'}, + {'1': 'cover_left_icon3', '3': 11, '4': 1, '5': 5, '10': 'coverLeftIcon3'}, + {'1': 'cover_left_text3', '3': 12, '4': 1, '5': 9, '10': 'coverLeftText3'}, + ], +}; + +/// Descriptor for `RcmdArchive`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rcmdArchiveDescriptor = $convert.base64Decode( + 'CgtSY21kQXJjaGl2ZRIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSFAoFY292ZXIYAiABKAlSBWNvdm' + 'VyEk0KEWNvdmVyX2xlZnRfaWNvbl8xGAMgASgOMiIuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIu' + 'Q292ZXJJY29uUg5jb3ZlckxlZnRJY29uMRIpChFjb3Zlcl9sZWZ0X3RleHRfMRgEIAEoCVIOY2' + '92ZXJMZWZ0VGV4dDESEAoDdXJpGAUgASgJUgN1cmkSFQoGaXNfcGdjGAYgASgIUgVpc1BnYxIQ' + 'CgNhaWQYByABKANSA2FpZBI4CgViYWRnZRgIIAEoCzIiLmJpbGliaWxpLmFwcC5keW5hbWljLn' + 'YyLkljb25CYWRnZVIFYmFkZ2USKAoQY292ZXJfbGVmdF9pY29uMhgJIAEoBVIOY292ZXJMZWZ0' + 'SWNvbjISKAoQY292ZXJfbGVmdF90ZXh0MhgKIAEoCVIOY292ZXJMZWZ0VGV4dDISKAoQY292ZX' + 'JfbGVmdF9pY29uMxgLIAEoBVIOY292ZXJMZWZ0SWNvbjMSKAoQY292ZXJfbGVmdF90ZXh0MxgM' + 'IAEoCVIOY292ZXJMZWZ0VGV4dDM='); + +@$core.Deprecated('Use rcmdAuthorDescriptor instead') +const RcmdAuthor$json = { + '1': 'RcmdAuthor', + '2': [ + {'1': 'author', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.UserInfo', '10': 'author'}, + {'1': 'desc', '3': 2, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'relation', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Relation', '10': 'relation'}, + ], +}; + +/// Descriptor for `RcmdAuthor`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rcmdAuthorDescriptor = $convert.base64Decode( + 'CgpSY21kQXV0aG9yEjkKBmF1dGhvchgBIAEoCzIhLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLl' + 'VzZXJJbmZvUgZhdXRob3ISEgoEZGVzYxgCIAEoCVIEZGVzYxI9CghyZWxhdGlvbhgDIAEoCzIh' + 'LmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJlbGF0aW9uUghyZWxhdGlvbg=='); + +@$core.Deprecated('Use rcmdCampusBriefDescriptor instead') +const RcmdCampusBrief$json = { + '1': 'RcmdCampusBrief', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'campus_badge', '3': 4, '4': 1, '5': 9, '10': 'campusBadge'}, + {'1': 'url', '3': 5, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `RcmdCampusBrief`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rcmdCampusBriefDescriptor = $convert.base64Decode( + 'Cg9SY21kQ2FtcHVzQnJpZWYSGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIfCgtjYW1wdX' + 'NfbmFtZRgCIAEoCVIKY2FtcHVzTmFtZRIhCgxjYW1wdXNfYmFkZ2UYBCABKAlSC2NhbXB1c0Jh' + 'ZGdlEhAKA3VybBgFIAEoCVIDdXJs'); + +@$core.Deprecated('Use rcmdItemDescriptor instead') +const RcmdItem$json = { + '1': 'RcmdItem', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.RcmdType', '10': 'type'}, + {'1': 'rcmd_archive', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.RcmdArchive', '9': 0, '10': 'rcmdArchive'}, + ], + '8': [ + {'1': 'rcmd_item'}, + ], +}; + +/// Descriptor for `RcmdItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rcmdItemDescriptor = $convert.base64Decode( + 'CghSY21kSXRlbRI1CgR0eXBlGAEgASgOMiEuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuUmNtZF' + 'R5cGVSBHR5cGUSSQoMcmNtZF9hcmNoaXZlGAIgASgLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMu' + 'djIuUmNtZEFyY2hpdmVIAFILcmNtZEFyY2hpdmVCCwoJcmNtZF9pdGVt'); + +@$core.Deprecated('Use rcmdOptionDescriptor instead') +const RcmdOption$json = { + '1': 'RcmdOption', + '2': [ + {'1': 'show_title', '3': 1, '4': 1, '5': 8, '10': 'showTitle'}, + ], +}; + +/// Descriptor for `RcmdOption`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rcmdOptionDescriptor = $convert.base64Decode( + 'CgpSY21kT3B0aW9uEh0KCnNob3dfdGl0bGUYASABKAhSCXNob3dUaXRsZQ=='); + +@$core.Deprecated('Use rcmdReasonDescriptor instead') +const RcmdReason$json = { + '1': 'RcmdReason', + '2': [ + {'1': 'campus_name', '3': 1, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'style', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.RcmdReasonStyle', '10': 'style'}, + {'1': 'rcmd_reason', '3': 3, '4': 1, '5': 9, '10': 'rcmdReason'}, + {'1': 'up_name', '3': 4, '4': 1, '5': 9, '10': 'upName'}, + ], +}; + +/// Descriptor for `RcmdReason`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rcmdReasonDescriptor = $convert.base64Decode( + 'CgpSY21kUmVhc29uEh8KC2NhbXB1c19uYW1lGAEgASgJUgpjYW1wdXNOYW1lEj4KBXN0eWxlGA' + 'IgASgOMiguYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuUmNtZFJlYXNvblN0eWxlUgVzdHlsZRIf' + 'CgtyY21kX3JlYXNvbhgDIAEoCVIKcmNtZFJlYXNvbhIXCgd1cF9uYW1lGAQgASgJUgZ1cE5hbW' + 'U='); + +@$core.Deprecated('Use rcmdTopButtonDescriptor instead') +const RcmdTopButton$json = { + '1': 'RcmdTopButton', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `RcmdTopButton`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rcmdTopButtonDescriptor = $convert.base64Decode( + 'Cg1SY21kVG9wQnV0dG9uEhIKBHRleHQYASABKAlSBHRleHQSEAoDdXJsGAIgASgJUgN1cmw='); + +@$core.Deprecated('Use rcmdUPsParamDescriptor instead') +const RcmdUPsParam$json = { + '1': 'RcmdUPsParam', + '2': [ + {'1': 'dislike_ts', '3': 1, '4': 1, '5': 3, '10': 'dislikeTs'}, + ], +}; + +/// Descriptor for `RcmdUPsParam`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rcmdUPsParamDescriptor = $convert.base64Decode( + 'CgxSY21kVVBzUGFyYW0SHQoKZGlzbGlrZV90cxgBIAEoA1IJZGlzbGlrZVRz'); + +@$core.Deprecated('Use reactionListItemDescriptor instead') +const ReactionListItem$json = { + '1': 'ReactionListItem', + '2': [ + {'1': 'user', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.UserInfo', '10': 'user'}, + {'1': 'relation', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Relation', '10': 'relation'}, + {'1': 'act_text', '3': 3, '4': 1, '5': 9, '10': 'actText'}, + {'1': 'rcmd_reason', '3': 4, '4': 1, '5': 9, '10': 'rcmdReason'}, + ], +}; + +/// Descriptor for `ReactionListItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List reactionListItemDescriptor = $convert.base64Decode( + 'ChBSZWFjdGlvbkxpc3RJdGVtEjUKBHVzZXIYASABKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5Vc2VySW5mb1IEdXNlchI9CghyZWxhdGlvbhgCIAEoCzIhLmJpbGliaWxpLmFwcC5keW5h' + 'bWljLnYyLlJlbGF0aW9uUghyZWxhdGlvbhIZCghhY3RfdGV4dBgDIAEoCVIHYWN0VGV4dBIfCg' + 'tyY21kX3JlYXNvbhgEIAEoCVIKcmNtZFJlYXNvbg=='); + +@$core.Deprecated('Use reactionListReplyDescriptor instead') +const ReactionListReply$json = { + '1': 'ReactionListReply', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'list', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ReactionListItem', '10': 'list'}, + {'1': 'offset', '3': 3, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'has_more', '3': 4, '4': 1, '5': 8, '10': 'hasMore'}, + ], +}; + +/// Descriptor for `ReactionListReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List reactionListReplyDescriptor = $convert.base64Decode( + 'ChFSZWFjdGlvbkxpc3RSZXBseRIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSPQoEbGlzdBgCIAMoCz' + 'IpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJlYWN0aW9uTGlzdEl0ZW1SBGxpc3QSFgoGb2Zm' + 'c2V0GAMgASgJUgZvZmZzZXQSGQoIaGFzX21vcmUYBCABKAhSB2hhc01vcmU='); + +@$core.Deprecated('Use reactionListReqDescriptor instead') +const ReactionListReq$json = { + '1': 'ReactionListReq', + '2': [ + {'1': 'dynamic_id', '3': 1, '4': 1, '5': 3, '10': 'dynamicId'}, + {'1': 'dyn_type', '3': 2, '4': 1, '5': 3, '10': 'dynType'}, + {'1': 'rid', '3': 3, '4': 1, '5': 3, '10': 'rid'}, + {'1': 'offset', '3': 4, '4': 1, '5': 9, '10': 'offset'}, + ], +}; + +/// Descriptor for `ReactionListReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List reactionListReqDescriptor = $convert.base64Decode( + 'Cg9SZWFjdGlvbkxpc3RSZXESHQoKZHluYW1pY19pZBgBIAEoA1IJZHluYW1pY0lkEhkKCGR5bl' + '90eXBlGAIgASgDUgdkeW5UeXBlEhAKA3JpZBgDIAEoA1IDcmlkEhYKBm9mZnNldBgEIAEoCVIG' + 'b2Zmc2V0'); + +@$core.Deprecated('Use relationDescriptor instead') +const Relation$json = { + '1': 'Relation', + '2': [ + {'1': 'status', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.RelationStatus', '10': 'status'}, + {'1': 'is_follow', '3': 2, '4': 1, '5': 5, '10': 'isFollow'}, + {'1': 'is_followed', '3': 3, '4': 1, '5': 5, '10': 'isFollowed'}, + {'1': 'title', '3': 4, '4': 1, '5': 9, '10': 'title'}, + ], +}; + +/// Descriptor for `Relation`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List relationDescriptor = $convert.base64Decode( + 'CghSZWxhdGlvbhI/CgZzdGF0dXMYASABKA4yJy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5SZW' + 'xhdGlvblN0YXR1c1IGc3RhdHVzEhsKCWlzX2ZvbGxvdxgCIAEoBVIIaXNGb2xsb3cSHwoLaXNf' + 'Zm9sbG93ZWQYAyABKAVSCmlzRm9sbG93ZWQSFAoFdGl0bGUYBCABKAlSBXRpdGxl'); + +@$core.Deprecated('Use repostListReqDescriptor instead') +const RepostListReq$json = { + '1': 'RepostListReq', + '2': [ + {'1': 'dynamic_id', '3': 1, '4': 1, '5': 9, '10': 'dynamicId'}, + {'1': 'dyn_type', '3': 2, '4': 1, '5': 3, '10': 'dynType'}, + {'1': 'rid', '3': 3, '4': 1, '5': 3, '10': 'rid'}, + {'1': 'offset', '3': 4, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'from', '3': 5, '4': 1, '5': 9, '10': 'from'}, + {'1': 'repost_type', '3': 6, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.RepostType', '10': 'repostType'}, + ], +}; + +/// Descriptor for `RepostListReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List repostListReqDescriptor = $convert.base64Decode( + 'Cg1SZXBvc3RMaXN0UmVxEh0KCmR5bmFtaWNfaWQYASABKAlSCWR5bmFtaWNJZBIZCghkeW5fdH' + 'lwZRgCIAEoA1IHZHluVHlwZRIQCgNyaWQYAyABKANSA3JpZBIWCgZvZmZzZXQYBCABKAlSBm9m' + 'ZnNldBISCgRmcm9tGAUgASgJUgRmcm9tEkQKC3JlcG9zdF90eXBlGAYgASgOMiMuYmlsaWJpbG' + 'kuYXBwLmR5bmFtaWMudjIuUmVwb3N0VHlwZVIKcmVwb3N0VHlwZQ=='); + +@$core.Deprecated('Use repostListRspDescriptor instead') +const RepostListRsp$json = { + '1': 'RepostListRsp', + '2': [ + {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + {'1': 'has_more', '3': 3, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'total_count', '3': 4, '4': 1, '5': 3, '10': 'totalCount'}, + {'1': 'repost_type', '3': 5, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.RepostType', '10': 'repostType'}, + ], +}; + +/// Descriptor for `RepostListRsp`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List repostListRspDescriptor = $convert.base64Decode( + 'Cg1SZXBvc3RMaXN0UnNwEjgKBGxpc3QYASADKAsyJC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5EeW5hbWljSXRlbVIEbGlzdBIWCgZvZmZzZXQYAiABKAlSBm9mZnNldBIZCghoYXNfbW9yZRgD' + 'IAEoCFIHaGFzTW9yZRIfCgt0b3RhbF9jb3VudBgEIAEoA1IKdG90YWxDb3VudBJECgtyZXBvc3' + 'RfdHlwZRgFIAEoDjIjLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlJlcG9zdFR5cGVSCnJlcG9z' + 'dFR5cGU='); + +@$core.Deprecated('Use schoolRecommendReplyDescriptor instead') +const SchoolRecommendReply$json = { + '1': 'SchoolRecommendReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusInfo', '10': 'items'}, + ], +}; + +/// Descriptor for `SchoolRecommendReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List schoolRecommendReplyDescriptor = $convert.base64Decode( + 'ChRTY2hvb2xSZWNvbW1lbmRSZXBseRI5CgVpdGVtcxgBIAMoCzIjLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLkNhbXB1c0luZm9SBWl0ZW1z'); + +@$core.Deprecated('Use schoolRecommendReqDescriptor instead') +const SchoolRecommendReq$json = { + '1': 'SchoolRecommendReq', + '2': [ + {'1': 'lat', '3': 1, '4': 1, '5': 2, '10': 'lat'}, + {'1': 'lng', '3': 2, '4': 1, '5': 2, '10': 'lng'}, + {'1': 'from_type', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `SchoolRecommendReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List schoolRecommendReqDescriptor = $convert.base64Decode( + 'ChJTY2hvb2xSZWNvbW1lbmRSZXESEAoDbGF0GAEgASgCUgNsYXQSEAoDbG5nGAIgASgCUgNsbm' + 'cSRwoJZnJvbV90eXBlGAMgASgOMiouYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQ2FtcHVzUmVx' + 'RnJvbVR5cGVSCGZyb21UeXBl'); + +@$core.Deprecated('Use schoolSearchReplyDescriptor instead') +const SchoolSearchReply$json = { + '1': 'SchoolSearchReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusInfo', '10': 'items'}, + {'1': 'toast', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.SearchToast', '10': 'toast'}, + ], +}; + +/// Descriptor for `SchoolSearchReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List schoolSearchReplyDescriptor = $convert.base64Decode( + 'ChFTY2hvb2xTZWFyY2hSZXBseRI5CgVpdGVtcxgBIAMoCzIjLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLkNhbXB1c0luZm9SBWl0ZW1zEjoKBXRvYXN0GAIgASgLMiQuYmlsaWJpbGkuYXBwLmR5' + 'bmFtaWMudjIuU2VhcmNoVG9hc3RSBXRvYXN0'); + +@$core.Deprecated('Use schoolSearchReqDescriptor instead') +const SchoolSearchReq$json = { + '1': 'SchoolSearchReq', + '2': [ + {'1': 'keyword', '3': 1, '4': 1, '5': 9, '10': 'keyword'}, + {'1': 'from_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `SchoolSearchReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List schoolSearchReqDescriptor = $convert.base64Decode( + 'Cg9TY2hvb2xTZWFyY2hSZXESGAoHa2V5d29yZBgBIAEoCVIHa2V5d29yZBJHCglmcm9tX3R5cG' + 'UYAiABKA4yKi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW1wdXNSZXFGcm9tVHlwZVIIZnJv' + 'bVR5cGU='); + +@$core.Deprecated('Use searchChannelDescriptor instead') +const SearchChannel$json = { + '1': 'SearchChannel', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'more_button', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.SearchTopicButton', '10': 'moreButton'}, + {'1': 'channels', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ChannelInfo', '10': 'channels'}, + ], +}; + +/// Descriptor for `SearchChannel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List searchChannelDescriptor = $convert.base64Decode( + 'Cg1TZWFyY2hDaGFubmVsEhQKBXRpdGxlGAEgASgJUgV0aXRsZRJLCgttb3JlX2J1dHRvbhgCIA' + 'EoCzIqLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlNlYXJjaFRvcGljQnV0dG9uUgptb3JlQnV0' + 'dG9uEkAKCGNoYW5uZWxzGAMgAygLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQ2hhbm5lbE' + 'luZm9SCGNoYW5uZWxz'); + +@$core.Deprecated('Use searchInfoDescriptor instead') +const SearchInfo$json = { + '1': 'SearchInfo', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'list', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.DynamicItem', '10': 'list'}, + {'1': 'track_id', '3': 3, '4': 1, '5': 9, '10': 'trackId'}, + {'1': 'total', '3': 4, '4': 1, '5': 3, '10': 'total'}, + {'1': 'has_more', '3': 5, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'version', '3': 6, '4': 1, '5': 9, '10': 'version'}, + ], +}; + +/// Descriptor for `SearchInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List searchInfoDescriptor = $convert.base64Decode( + 'CgpTZWFyY2hJbmZvEhQKBXRpdGxlGAEgASgJUgV0aXRsZRI4CgRsaXN0GAIgAygLMiQuYmlsaW' + 'JpbGkuYXBwLmR5bmFtaWMudjIuRHluYW1pY0l0ZW1SBGxpc3QSGQoIdHJhY2tfaWQYAyABKAlS' + 'B3RyYWNrSWQSFAoFdG90YWwYBCABKANSBXRvdGFsEhkKCGhhc19tb3JlGAUgASgIUgdoYXNNb3' + 'JlEhgKB3ZlcnNpb24YBiABKAlSB3ZlcnNpb24='); + +@$core.Deprecated('Use searchToastDescriptor instead') +const SearchToast$json = { + '1': 'SearchToast', + '2': [ + {'1': 'desc_text1', '3': 1, '4': 1, '5': 9, '10': 'descText1'}, + {'1': 'desc_text2', '3': 2, '4': 1, '5': 9, '10': 'descText2'}, + ], +}; + +/// Descriptor for `SearchToast`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List searchToastDescriptor = $convert.base64Decode( + 'CgtTZWFyY2hUb2FzdBIdCgpkZXNjX3RleHQxGAEgASgJUglkZXNjVGV4dDESHQoKZGVzY190ZX' + 'h0MhgCIAEoCVIJZGVzY1RleHQy'); + +@$core.Deprecated('Use searchTopicDescriptor instead') +const SearchTopic$json = { + '1': 'SearchTopic', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'more_button', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.SearchTopicButton', '10': 'moreButton'}, + {'1': 'items', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.SearchTopicItem', '10': 'items'}, + ], +}; + +/// Descriptor for `SearchTopic`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List searchTopicDescriptor = $convert.base64Decode( + 'CgtTZWFyY2hUb3BpYxIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSSwoLbW9yZV9idXR0b24YAiABKA' + 'syKi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5TZWFyY2hUb3BpY0J1dHRvblIKbW9yZUJ1dHRv' + 'bhI+CgVpdGVtcxgDIAMoCzIoLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlNlYXJjaFRvcGljSX' + 'RlbVIFaXRlbXM='); + +@$core.Deprecated('Use searchTopicButtonDescriptor instead') +const SearchTopicButton$json = { + '1': 'SearchTopicButton', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'jump_uri', '3': 2, '4': 1, '5': 9, '10': 'jumpUri'}, + ], +}; + +/// Descriptor for `SearchTopicButton`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List searchTopicButtonDescriptor = $convert.base64Decode( + 'ChFTZWFyY2hUb3BpY0J1dHRvbhIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSGQoIanVtcF91cmkYAi' + 'ABKAlSB2p1bXBVcmk='); + +@$core.Deprecated('Use searchTopicItemDescriptor instead') +const SearchTopicItem$json = { + '1': 'SearchTopicItem', + '2': [ + {'1': 'topic_id', '3': 1, '4': 1, '5': 3, '10': 'topicId'}, + {'1': 'topic_name', '3': 2, '4': 1, '5': 9, '10': 'topicName'}, + {'1': 'desc', '3': 3, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'url', '3': 4, '4': 1, '5': 9, '10': 'url'}, + {'1': 'is_activity', '3': 5, '4': 1, '5': 8, '10': 'isActivity'}, + ], +}; + +/// Descriptor for `SearchTopicItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List searchTopicItemDescriptor = $convert.base64Decode( + 'Cg9TZWFyY2hUb3BpY0l0ZW0SGQoIdG9waWNfaWQYASABKANSB3RvcGljSWQSHQoKdG9waWNfbm' + 'FtZRgCIAEoCVIJdG9waWNOYW1lEhIKBGRlc2MYAyABKAlSBGRlc2MSEAoDdXJsGAQgASgJUgN1' + 'cmwSHwoLaXNfYWN0aXZpdHkYBSABKAhSCmlzQWN0aXZpdHk='); + +@$core.Deprecated('Use setDecisionReqDescriptor instead') +const SetDecisionReq$json = { + '1': 'SetDecisionReq', + '2': [ + {'1': 'result', '3': 1, '4': 1, '5': 5, '10': 'result'}, + {'1': 'from_type', '3': 2, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `SetDecisionReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List setDecisionReqDescriptor = $convert.base64Decode( + 'Cg5TZXREZWNpc2lvblJlcRIWCgZyZXN1bHQYASABKAVSBnJlc3VsdBJHCglmcm9tX3R5cGUYAi' + 'ABKA4yKi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW1wdXNSZXFGcm9tVHlwZVIIZnJvbVR5' + 'cGU='); + +@$core.Deprecated('Use setRecentCampusReqDescriptor instead') +const SetRecentCampusReq$json = { + '1': 'SetRecentCampusReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'from_type', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `SetRecentCampusReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List setRecentCampusReqDescriptor = $convert.base64Decode( + 'ChJTZXRSZWNlbnRDYW1wdXNSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIfCgtjYW' + '1wdXNfbmFtZRgCIAEoCVIKY2FtcHVzTmFtZRJHCglmcm9tX3R5cGUYAyABKA4yKi5iaWxpYmls' + 'aS5hcHAuZHluYW1pYy52Mi5DYW1wdXNSZXFGcm9tVHlwZVIIZnJvbVR5cGU='); + +@$core.Deprecated('Use shareChannelDescriptor instead') +const ShareChannel$json = { + '1': 'ShareChannel', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'image', '3': 2, '4': 1, '5': 9, '10': 'image'}, + {'1': 'channel', '3': 3, '4': 1, '5': 9, '10': 'channel'}, + {'1': 'reserve', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ShareReserve', '10': 'reserve'}, + ], +}; + +/// Descriptor for `ShareChannel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List shareChannelDescriptor = $convert.base64Decode( + 'CgxTaGFyZUNoYW5uZWwSEgoEbmFtZRgBIAEoCVIEbmFtZRIUCgVpbWFnZRgCIAEoCVIFaW1hZ2' + 'USGAoHY2hhbm5lbBgDIAEoCVIHY2hhbm5lbBI/CgdyZXNlcnZlGAQgASgLMiUuYmlsaWJpbGku' + 'YXBwLmR5bmFtaWMudjIuU2hhcmVSZXNlcnZlUgdyZXNlcnZl'); + +@$core.Deprecated('Use shareReserveDescriptor instead') +const ShareReserve$json = { + '1': 'ShareReserve', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 2, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'qr_code_icon', '3': 3, '4': 1, '5': 9, '10': 'qrCodeIcon'}, + {'1': 'qr_code_text', '3': 4, '4': 1, '5': 9, '10': 'qrCodeText'}, + {'1': 'qr_code_url', '3': 5, '4': 1, '5': 9, '10': 'qrCodeUrl'}, + {'1': 'user_info', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionUserInfo', '10': 'userInfo'}, + ], +}; + +/// Descriptor for `ShareReserve`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List shareReserveDescriptor = $convert.base64Decode( + 'CgxTaGFyZVJlc2VydmUSFAoFdGl0bGUYASABKAlSBXRpdGxlEhIKBGRlc2MYAiABKAlSBGRlc2' + 'MSIAoMcXJfY29kZV9pY29uGAMgASgJUgpxckNvZGVJY29uEiAKDHFyX2NvZGVfdGV4dBgEIAEo' + 'CVIKcXJDb2RlVGV4dBIeCgtxcl9jb2RlX3VybBgFIAEoCVIJcXJDb2RlVXJsEkYKCXVzZXJfaW' + '5mbxgGIAEoCzIpLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkFkZGl0aW9uVXNlckluZm9SCHVz' + 'ZXJJbmZv'); + +@$core.Deprecated('Use sortTypeDescriptor instead') +const SortType$json = { + '1': 'SortType', + '2': [ + {'1': 'sort_type', '3': 1, '4': 1, '5': 5, '10': 'sortType'}, + {'1': 'sort_type_name', '3': 2, '4': 1, '5': 9, '10': 'sortTypeName'}, + ], +}; + +/// Descriptor for `SortType`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sortTypeDescriptor = $convert.base64Decode( + 'CghTb3J0VHlwZRIbCglzb3J0X3R5cGUYASABKAVSCHNvcnRUeXBlEiQKDnNvcnRfdHlwZV9uYW' + '1lGAIgASgJUgxzb3J0VHlwZU5hbWU='); + +@$core.Deprecated('Use storyArchiveDescriptor instead') +const StoryArchive$json = { + '1': 'StoryArchive', + '2': [ + {'1': 'cover', '3': 1, '4': 1, '5': 9, '10': 'cover'}, + {'1': 'aid', '3': 2, '4': 1, '5': 3, '10': 'aid'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'dimension', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Dimension', '10': 'dimension'}, + ], +}; + +/// Descriptor for `StoryArchive`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List storyArchiveDescriptor = $convert.base64Decode( + 'CgxTdG9yeUFyY2hpdmUSFAoFY292ZXIYASABKAlSBWNvdmVyEhAKA2FpZBgCIAEoA1IDYWlkEh' + 'AKA3VyaRgDIAEoCVIDdXJpEkAKCWRpbWVuc2lvbhgEIAEoCzIiLmJpbGliaWxpLmFwcC5keW5h' + 'bWljLnYyLkRpbWVuc2lvblIJZGltZW5zaW9u'); + +@$core.Deprecated('Use storyItemDescriptor instead') +const StoryItem$json = { + '1': 'StoryItem', + '2': [ + {'1': 'author', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.UserInfo', '10': 'author'}, + {'1': 'desc', '3': 2, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'status', '3': 3, '4': 1, '5': 3, '10': 'status'}, + {'1': 'type', '3': 4, '4': 1, '5': 5, '10': 'type'}, + {'1': 'story_archive', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.StoryArchive', '9': 0, '10': 'storyArchive'}, + ], + '8': [ + {'1': 'rcmd_item'}, + ], +}; + +/// Descriptor for `StoryItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List storyItemDescriptor = $convert.base64Decode( + 'CglTdG9yeUl0ZW0SOQoGYXV0aG9yGAEgASgLMiEuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVX' + 'NlckluZm9SBmF1dGhvchISCgRkZXNjGAIgASgJUgRkZXNjEhYKBnN0YXR1cxgDIAEoA1IGc3Rh' + 'dHVzEhIKBHR5cGUYBCABKAVSBHR5cGUSTAoNc3RvcnlfYXJjaGl2ZRgFIAEoCzIlLmJpbGliaW' + 'xpLmFwcC5keW5hbWljLnYyLlN0b3J5QXJjaGl2ZUgAUgxzdG9yeUFyY2hpdmVCCwoJcmNtZF9p' + 'dGVt'); + +@$core.Deprecated('Use subscribeCampusReqDescriptor instead') +const SubscribeCampusReq$json = { + '1': 'SubscribeCampusReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'campus_name', '3': 2, '4': 1, '5': 9, '10': 'campusName'}, + {'1': 'from_type', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType'}, + ], +}; + +/// Descriptor for `SubscribeCampusReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List subscribeCampusReqDescriptor = $convert.base64Decode( + 'ChJTdWJzY3JpYmVDYW1wdXNSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIfCgtjYW' + '1wdXNfbmFtZRgCIAEoCVIKY2FtcHVzTmFtZRJHCglmcm9tX3R5cGUYAyABKA4yKi5iaWxpYmls' + 'aS5hcHAuZHluYW1pYy52Mi5DYW1wdXNSZXFGcm9tVHlwZVIIZnJvbVR5cGU='); + +@$core.Deprecated('Use textNodeDescriptor instead') +const TextNode$json = { + '1': 'TextNode', + '2': [ + {'1': 'node_type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.TextNode.TextNodeType', '10': 'nodeType'}, + {'1': 'raw_text', '3': 2, '4': 1, '5': 9, '10': 'rawText'}, + {'1': 'word', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.WordNode', '9': 0, '10': 'word'}, + {'1': 'emote', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.EmoteNode', '9': 0, '10': 'emote'}, + {'1': 'link', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.LinkNode', '9': 0, '10': 'link'}, + ], + '4': [TextNode_TextNodeType$json], + '8': [ + {'1': 'text'}, + ], +}; + +@$core.Deprecated('Use textNodeDescriptor instead') +const TextNode_TextNodeType$json = { + '1': 'TextNodeType', + '2': [ + {'1': 'INVALID', '2': 0}, + {'1': 'WORDS', '2': 1}, + {'1': 'EMOTE', '2': 2}, + {'1': 'AT', '2': 3}, + {'1': 'BIZ_LINK', '2': 4}, + ], +}; + +/// Descriptor for `TextNode`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List textNodeDescriptor = $convert.base64Decode( + 'CghUZXh0Tm9kZRJLCglub2RlX3R5cGUYASABKA4yLi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi' + '5UZXh0Tm9kZS5UZXh0Tm9kZVR5cGVSCG5vZGVUeXBlEhkKCHJhd190ZXh0GAIgASgJUgdyYXdU' + 'ZXh0EjcKBHdvcmQYAyABKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Xb3JkTm9kZUgAUg' + 'R3b3JkEjoKBWVtb3RlGAQgASgLMiIuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuRW1vdGVOb2Rl' + 'SABSBWVtb3RlEjcKBGxpbmsYBSABKAsyIS5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5MaW5rTm' + '9kZUgAUgRsaW5rIkcKDFRleHROb2RlVHlwZRILCgdJTlZBTElEEAASCQoFV09SRFMQARIJCgVF' + 'TU9URRACEgYKAkFUEAMSDAoIQklaX0xJTksQBEIGCgR0ZXh0'); + +@$core.Deprecated('Use textParagraphDescriptor instead') +const TextParagraph$json = { + '1': 'TextParagraph', + '2': [ + {'1': 'nodes', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.TextNode', '10': 'nodes'}, + ], +}; + +/// Descriptor for `TextParagraph`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List textParagraphDescriptor = $convert.base64Decode( + 'Cg1UZXh0UGFyYWdyYXBoEjcKBW5vZGVzGAEgAygLMiEuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuVGV4dE5vZGVSBW5vZGVz'); + +@$core.Deprecated('Use textWithPriorityDescriptor instead') +const TextWithPriority$json = { + '1': 'TextWithPriority', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + {'1': 'priority', '3': 2, '4': 1, '5': 3, '10': 'priority'}, + ], +}; + +/// Descriptor for `TextWithPriority`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List textWithPriorityDescriptor = $convert.base64Decode( + 'ChBUZXh0V2l0aFByaW9yaXR5EhIKBHRleHQYASABKAlSBHRleHQSGgoIcHJpb3JpdHkYAiABKA' + 'NSCHByaW9yaXR5'); + +@$core.Deprecated('Use threePointAttentionDescriptor instead') +const ThreePointAttention$json = { + '1': 'ThreePointAttention', + '2': [ + {'1': 'attention_icon', '3': 1, '4': 1, '5': 9, '10': 'attentionIcon'}, + {'1': 'attention_text', '3': 2, '4': 1, '5': 9, '10': 'attentionText'}, + {'1': 'not_attention_icon', '3': 3, '4': 1, '5': 9, '10': 'notAttentionIcon'}, + {'1': 'not_attention_text', '3': 4, '4': 1, '5': 9, '10': 'notAttentionText'}, + {'1': 'status', '3': 5, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ThreePointAttentionStatus', '10': 'status'}, + ], +}; + +/// Descriptor for `ThreePointAttention`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointAttentionDescriptor = $convert.base64Decode( + 'ChNUaHJlZVBvaW50QXR0ZW50aW9uEiUKDmF0dGVudGlvbl9pY29uGAEgASgJUg1hdHRlbnRpb2' + '5JY29uEiUKDmF0dGVudGlvbl90ZXh0GAIgASgJUg1hdHRlbnRpb25UZXh0EiwKEm5vdF9hdHRl' + 'bnRpb25faWNvbhgDIAEoCVIQbm90QXR0ZW50aW9uSWNvbhIsChJub3RfYXR0ZW50aW9uX3RleH' + 'QYBCABKAlSEG5vdEF0dGVudGlvblRleHQSSgoGc3RhdHVzGAUgASgOMjIuYmlsaWJpbGkuYXBw' + 'LmR5bmFtaWMudjIuVGhyZWVQb2ludEF0dGVudGlvblN0YXR1c1IGc3RhdHVz'); + +@$core.Deprecated('Use threePointAutoPlayDescriptor instead') +const ThreePointAutoPlay$json = { + '1': 'ThreePointAutoPlay', + '2': [ + {'1': 'open_icon', '3': 1, '4': 1, '5': 9, '10': 'openIcon'}, + {'1': 'open_text', '3': 2, '4': 1, '5': 9, '10': 'openText'}, + {'1': 'close_icon', '3': 3, '4': 1, '5': 9, '10': 'closeIcon'}, + {'1': 'close_text', '3': 4, '4': 1, '5': 9, '10': 'closeText'}, + {'1': 'open_text_v2', '3': 5, '4': 1, '5': 9, '10': 'openTextV2'}, + {'1': 'close_text_v2', '3': 6, '4': 1, '5': 9, '10': 'closeTextV2'}, + {'1': 'only_icon', '3': 7, '4': 1, '5': 9, '10': 'onlyIcon'}, + {'1': 'only_text', '3': 8, '4': 1, '5': 9, '10': 'onlyText'}, + {'1': 'open_icon_v2', '3': 9, '4': 1, '5': 9, '10': 'openIconV2'}, + {'1': 'close_icon_v2', '3': 10, '4': 1, '5': 9, '10': 'closeIconV2'}, + ], +}; + +/// Descriptor for `ThreePointAutoPlay`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointAutoPlayDescriptor = $convert.base64Decode( + 'ChJUaHJlZVBvaW50QXV0b1BsYXkSGwoJb3Blbl9pY29uGAEgASgJUghvcGVuSWNvbhIbCglvcG' + 'VuX3RleHQYAiABKAlSCG9wZW5UZXh0Eh0KCmNsb3NlX2ljb24YAyABKAlSCWNsb3NlSWNvbhId' + 'CgpjbG9zZV90ZXh0GAQgASgJUgljbG9zZVRleHQSIAoMb3Blbl90ZXh0X3YyGAUgASgJUgpvcG' + 'VuVGV4dFYyEiIKDWNsb3NlX3RleHRfdjIYBiABKAlSC2Nsb3NlVGV4dFYyEhsKCW9ubHlfaWNv' + 'bhgHIAEoCVIIb25seUljb24SGwoJb25seV90ZXh0GAggASgJUghvbmx5VGV4dBIgCgxvcGVuX2' + 'ljb25fdjIYCSABKAlSCm9wZW5JY29uVjISIgoNY2xvc2VfaWNvbl92MhgKIAEoCVILY2xvc2VJ' + 'Y29uVjI='); + +@$core.Deprecated('Use threePointCommentDescriptor instead') +const ThreePointComment$json = { + '1': 'ThreePointComment', + '2': [ + {'1': 'up_selection', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CommentDetail', '10': 'upSelection'}, + {'1': 'up_close', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CommentDetail', '10': 'upClose'}, + {'1': 'icon', '3': 3, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 4, '4': 1, '5': 9, '10': 'title'}, + ], +}; + +/// Descriptor for `ThreePointComment`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointCommentDescriptor = $convert.base64Decode( + 'ChFUaHJlZVBvaW50Q29tbWVudBJJCgx1cF9zZWxlY3Rpb24YASABKAsyJi5iaWxpYmlsaS5hcH' + 'AuZHluYW1pYy52Mi5Db21tZW50RGV0YWlsUgt1cFNlbGVjdGlvbhJBCgh1cF9jbG9zZRgCIAEo' + 'CzImLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNvbW1lbnREZXRhaWxSB3VwQ2xvc2USEgoEaW' + 'NvbhgDIAEoCVIEaWNvbhIUCgV0aXRsZRgEIAEoCVIFdGl0bGU='); + +@$core.Deprecated('Use threePointDefaultDescriptor instead') +const ThreePointDefault$json = { + '1': 'ThreePointDefault', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'uri', '3': 3, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'id', '3': 4, '4': 1, '5': 9, '10': 'id'}, + {'1': 'toast', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointDefaultToast', '10': 'toast'}, + ], +}; + +/// Descriptor for `ThreePointDefault`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointDefaultDescriptor = $convert.base64Decode( + 'ChFUaHJlZVBvaW50RGVmYXVsdBISCgRpY29uGAEgASgJUgRpY29uEhQKBXRpdGxlGAIgASgJUg' + 'V0aXRsZRIQCgN1cmkYAyABKAlSA3VyaRIOCgJpZBgEIAEoCVICaWQSRQoFdG9hc3QYBSABKAsy' + 'Ly5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5UaHJlZVBvaW50RGVmYXVsdFRvYXN0UgV0b2FzdA' + '=='); + +@$core.Deprecated('Use threePointDefaultToastDescriptor instead') +const ThreePointDefaultToast$json = { + '1': 'ThreePointDefaultToast', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'desc', '3': 2, '4': 1, '5': 9, '10': 'desc'}, + ], +}; + +/// Descriptor for `ThreePointDefaultToast`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointDefaultToastDescriptor = $convert.base64Decode( + 'ChZUaHJlZVBvaW50RGVmYXVsdFRvYXN0EhQKBXRpdGxlGAEgASgJUgV0aXRsZRISCgRkZXNjGA' + 'IgASgJUgRkZXNj'); + +@$core.Deprecated('Use threePointDislikeDescriptor instead') +const ThreePointDislike$json = { + '1': 'ThreePointDislike', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + ], +}; + +/// Descriptor for `ThreePointDislike`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointDislikeDescriptor = $convert.base64Decode( + 'ChFUaHJlZVBvaW50RGlzbGlrZRISCgRpY29uGAEgASgJUgRpY29uEhQKBXRpdGxlGAIgASgJUg' + 'V0aXRsZQ=='); + +@$core.Deprecated('Use threePointFavoriteDescriptor instead') +const ThreePointFavorite$json = { + '1': 'ThreePointFavorite', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'id', '3': 3, '4': 1, '5': 3, '10': 'id'}, + {'1': 'is_favourite', '3': 4, '4': 1, '5': 8, '10': 'isFavourite'}, + {'1': 'cancel_icon', '3': 5, '4': 1, '5': 9, '10': 'cancelIcon'}, + {'1': 'cancel_title', '3': 6, '4': 1, '5': 9, '10': 'cancelTitle'}, + ], +}; + +/// Descriptor for `ThreePointFavorite`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointFavoriteDescriptor = $convert.base64Decode( + 'ChJUaHJlZVBvaW50RmF2b3JpdGUSEgoEaWNvbhgBIAEoCVIEaWNvbhIUCgV0aXRsZRgCIAEoCV' + 'IFdGl0bGUSDgoCaWQYAyABKANSAmlkEiEKDGlzX2Zhdm91cml0ZRgEIAEoCFILaXNGYXZvdXJp' + 'dGUSHwoLY2FuY2VsX2ljb24YBSABKAlSCmNhbmNlbEljb24SIQoMY2FuY2VsX3RpdGxlGAYgAS' + 'gJUgtjYW5jZWxUaXRsZQ=='); + +@$core.Deprecated('Use threePointHideDescriptor instead') +const ThreePointHide$json = { + '1': 'ThreePointHide', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'interactive', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointHideInteractive', '10': 'interactive'}, + {'1': 'blook_fid', '3': 4, '4': 1, '5': 3, '10': 'blookFid'}, + {'1': 'blook_type', '3': 5, '4': 1, '5': 9, '10': 'blookType'}, + ], +}; + +/// Descriptor for `ThreePointHide`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointHideDescriptor = $convert.base64Decode( + 'Cg5UaHJlZVBvaW50SGlkZRISCgRpY29uGAEgASgJUgRpY29uEhQKBXRpdGxlGAIgASgJUgV0aX' + 'RsZRJUCgtpbnRlcmFjdGl2ZRgDIAEoCzIyLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRocmVl' + 'UG9pbnRIaWRlSW50ZXJhY3RpdmVSC2ludGVyYWN0aXZlEhsKCWJsb29rX2ZpZBgEIAEoA1IIYm' + 'xvb2tGaWQSHQoKYmxvb2tfdHlwZRgFIAEoCVIJYmxvb2tUeXBl'); + +@$core.Deprecated('Use threePointHideInteractiveDescriptor instead') +const ThreePointHideInteractive$json = { + '1': 'ThreePointHideInteractive', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'confirm', '3': 2, '4': 1, '5': 9, '10': 'confirm'}, + {'1': 'cancel', '3': 3, '4': 1, '5': 9, '10': 'cancel'}, + {'1': 'toast', '3': 4, '4': 1, '5': 9, '10': 'toast'}, + ], +}; + +/// Descriptor for `ThreePointHideInteractive`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointHideInteractiveDescriptor = $convert.base64Decode( + 'ChlUaHJlZVBvaW50SGlkZUludGVyYWN0aXZlEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIYCgdjb2' + '5maXJtGAIgASgJUgdjb25maXJtEhYKBmNhbmNlbBgDIAEoCVIGY2FuY2VsEhQKBXRvYXN0GAQg' + 'ASgJUgV0b2FzdA=='); + +@$core.Deprecated('Use threePointItemDescriptor instead') +const ThreePointItem$json = { + '1': 'ThreePointItem', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.ThreePointType', '10': 'type'}, + {'1': 'default', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointDefault', '9': 0, '10': 'default'}, + {'1': 'auto_player', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointAutoPlay', '9': 0, '10': 'autoPlayer'}, + {'1': 'share', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointShare', '9': 0, '10': 'share'}, + {'1': 'attention', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointAttention', '9': 0, '10': 'attention'}, + {'1': 'wait', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointWait', '9': 0, '10': 'wait'}, + {'1': 'dislike', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointDislike', '9': 0, '10': 'dislike'}, + {'1': 'favorite', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointFavorite', '9': 0, '10': 'favorite'}, + {'1': 'top', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointTop', '9': 0, '10': 'top'}, + {'1': 'comment', '3': 10, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointComment', '9': 0, '10': 'comment'}, + {'1': 'hide', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointHide', '9': 0, '10': 'hide'}, + {'1': 'topic_irrelevant', '3': 12, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointTopicIrrelevant', '9': 0, '10': 'topicIrrelevant'}, + ], + '8': [ + {'1': 'item'}, + ], +}; + +/// Descriptor for `ThreePointItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointItemDescriptor = $convert.base64Decode( + 'Cg5UaHJlZVBvaW50SXRlbRI7CgR0eXBlGAEgASgOMicuYmlsaWJpbGkuYXBwLmR5bmFtaWMudj' + 'IuVGhyZWVQb2ludFR5cGVSBHR5cGUSRgoHZGVmYXVsdBgCIAEoCzIqLmJpbGliaWxpLmFwcC5k' + 'eW5hbWljLnYyLlRocmVlUG9pbnREZWZhdWx0SABSB2RlZmF1bHQSTgoLYXV0b19wbGF5ZXIYAy' + 'ABKAsyKy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5UaHJlZVBvaW50QXV0b1BsYXlIAFIKYXV0' + 'b1BsYXllchJACgVzaGFyZRgEIAEoCzIoLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRocmVlUG' + '9pbnRTaGFyZUgAUgVzaGFyZRJMCglhdHRlbnRpb24YBSABKAsyLC5iaWxpYmlsaS5hcHAuZHlu' + 'YW1pYy52Mi5UaHJlZVBvaW50QXR0ZW50aW9uSABSCWF0dGVudGlvbhI9CgR3YWl0GAYgASgLMi' + 'cuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVGhyZWVQb2ludFdhaXRIAFIEd2FpdBJGCgdkaXNs' + 'aWtlGAcgASgLMiouYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVGhyZWVQb2ludERpc2xpa2VIAF' + 'IHZGlzbGlrZRJJCghmYXZvcml0ZRgIIAEoCzIrLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRo' + 'cmVlUG9pbnRGYXZvcml0ZUgAUghmYXZvcml0ZRI6CgN0b3AYCSABKAsyJi5iaWxpYmlsaS5hcH' + 'AuZHluYW1pYy52Mi5UaHJlZVBvaW50VG9wSABSA3RvcBJGCgdjb21tZW50GAogASgLMiouYmls' + 'aWJpbGkuYXBwLmR5bmFtaWMudjIuVGhyZWVQb2ludENvbW1lbnRIAFIHY29tbWVudBI9CgRoaW' + 'RlGAsgASgLMicuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVGhyZWVQb2ludEhpZGVIAFIEaGlk' + 'ZRJfChB0b3BpY19pcnJlbGV2YW50GAwgASgLMjIuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVG' + 'hyZWVQb2ludFRvcGljSXJyZWxldmFudEgAUg90b3BpY0lycmVsZXZhbnRCBgoEaXRlbQ=='); + +@$core.Deprecated('Use threePointShareDescriptor instead') +const ThreePointShare$json = { + '1': 'ThreePointShare', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'channel', '3': 3, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.ThreePointShareChannel', '10': 'channel'}, + {'1': 'channel_name', '3': 4, '4': 1, '5': 9, '10': 'channelName'}, + {'1': 'reserve', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.ShareReserve', '10': 'reserve'}, + ], +}; + +/// Descriptor for `ThreePointShare`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointShareDescriptor = $convert.base64Decode( + 'Cg9UaHJlZVBvaW50U2hhcmUSEgoEaWNvbhgBIAEoCVIEaWNvbhIUCgV0aXRsZRgCIAEoCVIFdG' + 'l0bGUSSQoHY2hhbm5lbBgDIAMoCzIvLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRocmVlUG9p' + 'bnRTaGFyZUNoYW5uZWxSB2NoYW5uZWwSIQoMY2hhbm5lbF9uYW1lGAQgASgJUgtjaGFubmVsTm' + 'FtZRI/CgdyZXNlcnZlGAUgASgLMiUuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuU2hhcmVSZXNl' + 'cnZlUgdyZXNlcnZl'); + +@$core.Deprecated('Use threePointShareChannelDescriptor instead') +const ThreePointShareChannel$json = { + '1': 'ThreePointShareChannel', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + ], +}; + +/// Descriptor for `ThreePointShareChannel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointShareChannelDescriptor = $convert.base64Decode( + 'ChZUaHJlZVBvaW50U2hhcmVDaGFubmVsEhIKBGljb24YASABKAlSBGljb24SFAoFdGl0bGUYAi' + 'ABKAlSBXRpdGxl'); + +@$core.Deprecated('Use threePointTopDescriptor instead') +const ThreePointTop$json = { + '1': 'ThreePointTop', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.TopType', '10': 'type'}, + ], +}; + +/// Descriptor for `ThreePointTop`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointTopDescriptor = $convert.base64Decode( + 'Cg1UaHJlZVBvaW50VG9wEhIKBGljb24YASABKAlSBGljb24SFAoFdGl0bGUYAiABKAlSBXRpdG' + 'xlEjQKBHR5cGUYAyABKA4yIC5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Ub3BUeXBlUgR0eXBl'); + +@$core.Deprecated('Use threePointTopicIrrelevantDescriptor instead') +const ThreePointTopicIrrelevant$json = { + '1': 'ThreePointTopicIrrelevant', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'toast', '3': 3, '4': 1, '5': 9, '10': 'toast'}, + {'1': 'topic_id', '3': 4, '4': 1, '5': 3, '10': 'topicId'}, + {'1': 'res_id', '3': 5, '4': 1, '5': 3, '10': 'resId'}, + {'1': 'res_type', '3': 6, '4': 1, '5': 3, '10': 'resType'}, + {'1': 'reason', '3': 7, '4': 1, '5': 9, '10': 'reason'}, + ], +}; + +/// Descriptor for `ThreePointTopicIrrelevant`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointTopicIrrelevantDescriptor = $convert.base64Decode( + 'ChlUaHJlZVBvaW50VG9waWNJcnJlbGV2YW50EhIKBGljb24YASABKAlSBGljb24SFAoFdGl0bG' + 'UYAiABKAlSBXRpdGxlEhQKBXRvYXN0GAMgASgJUgV0b2FzdBIZCgh0b3BpY19pZBgEIAEoA1IH' + 'dG9waWNJZBIVCgZyZXNfaWQYBSABKANSBXJlc0lkEhkKCHJlc190eXBlGAYgASgDUgdyZXNUeX' + 'BlEhYKBnJlYXNvbhgHIAEoCVIGcmVhc29u'); + +@$core.Deprecated('Use threePointWaitDescriptor instead') +const ThreePointWait$json = { + '1': 'ThreePointWait', + '2': [ + {'1': 'addition_icon', '3': 1, '4': 1, '5': 9, '10': 'additionIcon'}, + {'1': 'addition_text', '3': 2, '4': 1, '5': 9, '10': 'additionText'}, + {'1': 'no_addition_icon', '3': 3, '4': 1, '5': 9, '10': 'noAdditionIcon'}, + {'1': 'no_addition_text', '3': 4, '4': 1, '5': 9, '10': 'noAdditionText'}, + {'1': 'id', '3': 5, '4': 1, '5': 3, '10': 'id'}, + ], +}; + +/// Descriptor for `ThreePointWait`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List threePointWaitDescriptor = $convert.base64Decode( + 'Cg5UaHJlZVBvaW50V2FpdBIjCg1hZGRpdGlvbl9pY29uGAEgASgJUgxhZGRpdGlvbkljb24SIw' + 'oNYWRkaXRpb25fdGV4dBgCIAEoCVIMYWRkaXRpb25UZXh0EigKEG5vX2FkZGl0aW9uX2ljb24Y' + 'AyABKAlSDm5vQWRkaXRpb25JY29uEigKEG5vX2FkZGl0aW9uX3RleHQYBCABKAlSDm5vQWRkaX' + 'Rpb25UZXh0Eg4KAmlkGAUgASgDUgJpZA=='); + +@$core.Deprecated('Use topAdditionUPDescriptor instead') +const TopAdditionUP$json = { + '1': 'TopAdditionUP', + '2': [ + {'1': 'up', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionUP', '10': 'up'}, + {'1': 'has_fold', '3': 2, '4': 1, '5': 5, '10': 'hasFold'}, + ], +}; + +/// Descriptor for `TopAdditionUP`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topAdditionUPDescriptor = $convert.base64Decode( + 'Cg1Ub3BBZGRpdGlvblVQEjMKAnVwGAEgAygLMiMuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuQW' + 'RkaXRpb25VUFICdXASGQoIaGFzX2ZvbGQYAiABKAVSB2hhc0ZvbGQ='); + +@$core.Deprecated('Use topicButtonDescriptor instead') +const TopicButton$json = { + '1': 'TopicButton', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + {'1': 'jump_uri', '3': 3, '4': 1, '5': 9, '10': 'jumpUri'}, + {'1': 'red_dot', '3': 4, '4': 1, '5': 8, '10': 'redDot'}, + ], +}; + +/// Descriptor for `TopicButton`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicButtonDescriptor = $convert.base64Decode( + 'CgtUb3BpY0J1dHRvbhISCgRpY29uGAEgASgJUgRpY29uEhQKBXRpdGxlGAIgASgJUgV0aXRsZR' + 'IZCghqdW1wX3VyaRgDIAEoCVIHanVtcFVyaRIXCgdyZWRfZG90GAQgASgIUgZyZWREb3Q='); + +@$core.Deprecated('Use topicItemDescriptor instead') +const TopicItem$json = { + '1': 'TopicItem', + '2': [ + {'1': 'topic_id', '3': 1, '4': 1, '5': 3, '10': 'topicId'}, + {'1': 'topic_name', '3': 2, '4': 1, '5': 9, '10': 'topicName'}, + {'1': 'url', '3': 3, '4': 1, '5': 9, '10': 'url'}, + {'1': 'desc', '3': 4, '4': 1, '5': 9, '10': 'desc'}, + {'1': 'desc2', '3': 5, '4': 1, '5': 9, '10': 'desc2'}, + {'1': 'rcmd_desc', '3': 6, '4': 1, '5': 9, '10': 'rcmdDesc'}, + ], +}; + +/// Descriptor for `TopicItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicItemDescriptor = $convert.base64Decode( + 'CglUb3BpY0l0ZW0SGQoIdG9waWNfaWQYASABKANSB3RvcGljSWQSHQoKdG9waWNfbmFtZRgCIA' + 'EoCVIJdG9waWNOYW1lEhAKA3VybBgDIAEoCVIDdXJsEhIKBGRlc2MYBCABKAlSBGRlc2MSFAoF' + 'ZGVzYzIYBSABKAlSBWRlc2MyEhsKCXJjbWRfZGVzYxgGIAEoCVIIcmNtZERlc2M='); + +@$core.Deprecated('Use topicListDescriptor instead') +const TopicList$json = { + '1': 'TopicList', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'topic_list_item', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicListItem', '10': 'topicListItem'}, + {'1': 'act_button', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicButton', '10': 'actButton'}, + {'1': 'more_button', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicButton', '10': 'moreButton'}, + {'1': 'server_info', '3': 5, '4': 1, '5': 9, '10': 'serverInfo'}, + ], +}; + +/// Descriptor for `TopicList`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicListDescriptor = $convert.base64Decode( + 'CglUb3BpY0xpc3QSFAoFdGl0bGUYASABKAlSBXRpdGxlEk4KD3RvcGljX2xpc3RfaXRlbRgCIA' + 'MoCzImLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRvcGljTGlzdEl0ZW1SDXRvcGljTGlzdEl0' + 'ZW0SQwoKYWN0X2J1dHRvbhgDIAEoCzIkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRvcGljQn' + 'V0dG9uUglhY3RCdXR0b24SRQoLbW9yZV9idXR0b24YBCABKAsyJC5iaWxpYmlsaS5hcHAuZHlu' + 'YW1pYy52Mi5Ub3BpY0J1dHRvblIKbW9yZUJ1dHRvbhIfCgtzZXJ2ZXJfaW5mbxgFIAEoCVIKc2' + 'VydmVySW5mbw=='); + +@$core.Deprecated('Use topicListItemDescriptor instead') +const TopicListItem$json = { + '1': 'TopicListItem', + '2': [ + {'1': 'icon', '3': 1, '4': 1, '5': 9, '10': 'icon'}, + {'1': 'icon_title', '3': 2, '4': 1, '5': 9, '10': 'iconTitle'}, + {'1': 'topic_id', '3': 3, '4': 1, '5': 3, '10': 'topicId'}, + {'1': 'topic_name', '3': 4, '4': 1, '5': 9, '10': 'topicName'}, + {'1': 'url', '3': 5, '4': 1, '5': 9, '10': 'url'}, + {'1': 'pos', '3': 6, '4': 1, '5': 3, '10': 'pos'}, + {'1': 'server_info', '3': 7, '4': 1, '5': 9, '10': 'serverInfo'}, + {'1': 'head_icon_url', '3': 8, '4': 1, '5': 9, '10': 'headIconUrl'}, + {'1': 'up_mid', '3': 9, '4': 1, '5': 3, '10': 'upMid'}, + {'1': 'tail_icon_url', '3': 10, '4': 1, '5': 9, '10': 'tailIconUrl'}, + {'1': 'extension', '3': 11, '4': 1, '5': 9, '10': 'extension'}, + ], +}; + +/// Descriptor for `TopicListItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicListItemDescriptor = $convert.base64Decode( + 'Cg1Ub3BpY0xpc3RJdGVtEhIKBGljb24YASABKAlSBGljb24SHQoKaWNvbl90aXRsZRgCIAEoCV' + 'IJaWNvblRpdGxlEhkKCHRvcGljX2lkGAMgASgDUgd0b3BpY0lkEh0KCnRvcGljX25hbWUYBCAB' + 'KAlSCXRvcGljTmFtZRIQCgN1cmwYBSABKAlSA3VybBIQCgNwb3MYBiABKANSA3BvcxIfCgtzZX' + 'J2ZXJfaW5mbxgHIAEoCVIKc2VydmVySW5mbxIiCg1oZWFkX2ljb25fdXJsGAggASgJUgtoZWFk' + 'SWNvblVybBIVCgZ1cF9taWQYCSABKANSBXVwTWlkEiIKDXRhaWxfaWNvbl91cmwYCiABKAlSC3' + 'RhaWxJY29uVXJsEhwKCWV4dGVuc2lvbhgLIAEoCVIJZXh0ZW5zaW9u'); + +@$core.Deprecated('Use topicListReplyDescriptor instead') +const TopicListReply$json = { + '1': 'TopicListReply', + '2': [ + {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicItem', '10': 'items'}, + {'1': 'has_more', '3': 2, '4': 1, '5': 8, '10': 'hasMore'}, + {'1': 'offset', '3': 3, '4': 1, '5': 9, '10': 'offset'}, + ], +}; + +/// Descriptor for `TopicListReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicListReplyDescriptor = $convert.base64Decode( + 'Cg5Ub3BpY0xpc3RSZXBseRI4CgVpdGVtcxgBIAMoCzIiLmJpbGliaWxpLmFwcC5keW5hbWljLn' + 'YyLlRvcGljSXRlbVIFaXRlbXMSGQoIaGFzX21vcmUYAiABKAhSB2hhc01vcmUSFgoGb2Zmc2V0' + 'GAMgASgJUgZvZmZzZXQ='); + +@$core.Deprecated('Use topicListReqDescriptor instead') +const TopicListReq$json = { + '1': 'TopicListReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + {'1': 'offset', '3': 2, '4': 1, '5': 9, '10': 'offset'}, + ], +}; + +/// Descriptor for `TopicListReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicListReqDescriptor = $convert.base64Decode( + 'CgxUb3BpY0xpc3RSZXESGwoJY2FtcHVzX2lkGAEgASgDUghjYW1wdXNJZBIWCgZvZmZzZXQYAi' + 'ABKAlSBm9mZnNldA=='); + +@$core.Deprecated('Use topicMergedResourceDescriptor instead') +const TopicMergedResource$json = { + '1': 'TopicMergedResource', + '2': [ + {'1': 'merge_type', '3': 1, '4': 1, '5': 5, '10': 'mergeType'}, + {'1': 'merged_res_cnt', '3': 2, '4': 1, '5': 5, '10': 'mergedResCnt'}, + ], +}; + +/// Descriptor for `TopicMergedResource`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicMergedResourceDescriptor = $convert.base64Decode( + 'ChNUb3BpY01lcmdlZFJlc291cmNlEh0KCm1lcmdlX3R5cGUYASABKAVSCW1lcmdlVHlwZRIkCg' + '5tZXJnZWRfcmVzX2NudBgCIAEoBVIMbWVyZ2VkUmVzQ250'); + +@$core.Deprecated('Use topicRcmdCardDescriptor instead') +const TopicRcmdCard$json = { + '1': 'TopicRcmdCard', + '2': [ + {'1': 'topic_id', '3': 1, '4': 1, '5': 3, '10': 'topicId'}, + {'1': 'topic_name', '3': 2, '4': 1, '5': 9, '10': 'topicName'}, + {'1': 'url', '3': 3, '4': 1, '5': 9, '10': 'url'}, + {'1': 'button', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'button'}, + {'1': 'desc1', '3': 5, '4': 1, '5': 9, '10': 'desc1'}, + {'1': 'desc2', '3': 6, '4': 1, '5': 9, '10': 'desc2'}, + {'1': 'update_desc', '3': 7, '4': 1, '5': 9, '10': 'updateDesc'}, + ], +}; + +/// Descriptor for `TopicRcmdCard`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicRcmdCardDescriptor = $convert.base64Decode( + 'Cg1Ub3BpY1JjbWRDYXJkEhkKCHRvcGljX2lkGAEgASgDUgd0b3BpY0lkEh0KCnRvcGljX25hbW' + 'UYAiABKAlSCXRvcGljTmFtZRIQCgN1cmwYAyABKAlSA3VybBI8CgZidXR0b24YBCABKAsyJC5i' + 'aWxpYmlsaS5hcHAuZHluYW1pYy52Mi5DYW1wdXNMYWJlbFIGYnV0dG9uEhQKBWRlc2MxGAUgAS' + 'gJUgVkZXNjMRIUCgVkZXNjMhgGIAEoCVIFZGVzYzISHwoLdXBkYXRlX2Rlc2MYByABKAlSCnVw' + 'ZGF0ZURlc2M='); + +@$core.Deprecated('Use topicSquareInfoDescriptor instead') +const TopicSquareInfo$json = { + '1': 'TopicSquareInfo', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'button', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.CampusLabel', '10': 'button'}, + {'1': 'rcmd', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicRcmdCard', '10': 'rcmd'}, + ], +}; + +/// Descriptor for `TopicSquareInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicSquareInfoDescriptor = $convert.base64Decode( + 'Cg9Ub3BpY1NxdWFyZUluZm8SFAoFdGl0bGUYASABKAlSBXRpdGxlEjwKBmJ1dHRvbhgCIAEoCz' + 'IkLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNhbXB1c0xhYmVsUgZidXR0b24SOgoEcmNtZBgD' + 'IAEoCzImLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlRvcGljUmNtZENhcmRSBHJjbWQ='); + +@$core.Deprecated('Use topicSquareReplyDescriptor instead') +const TopicSquareReply$json = { + '1': 'TopicSquareReply', + '2': [ + {'1': 'info', '3': 1, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.TopicSquareInfo', '10': 'info'}, + ], +}; + +/// Descriptor for `TopicSquareReply`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicSquareReplyDescriptor = $convert.base64Decode( + 'ChBUb3BpY1NxdWFyZVJlcGx5EjwKBGluZm8YASABKAsyKC5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5Ub3BpY1NxdWFyZUluZm9SBGluZm8='); + +@$core.Deprecated('Use topicSquareReqDescriptor instead') +const TopicSquareReq$json = { + '1': 'TopicSquareReq', + '2': [ + {'1': 'campus_id', '3': 1, '4': 1, '5': 3, '10': 'campusId'}, + ], +}; + +/// Descriptor for `TopicSquareReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List topicSquareReqDescriptor = $convert.base64Decode( + 'Cg5Ub3BpY1NxdWFyZVJlcRIbCgljYW1wdXNfaWQYASABKANSCGNhbXB1c0lk'); + +@$core.Deprecated('Use unfollowDescriptor instead') +const Unfollow$json = { + '1': 'Unfollow', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'list', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.UnfollowUserItem', '10': 'list'}, + {'1': 'TrackId', '3': 3, '4': 1, '5': 9, '10': 'TrackId'}, + ], +}; + +/// Descriptor for `Unfollow`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List unfollowDescriptor = $convert.base64Decode( + 'CghVbmZvbGxvdxIUCgV0aXRsZRgBIAEoCVIFdGl0bGUSPQoEbGlzdBgCIAMoCzIpLmJpbGliaW' + 'xpLmFwcC5keW5hbWljLnYyLlVuZm9sbG93VXNlckl0ZW1SBGxpc3QSGAoHVHJhY2tJZBgDIAEo' + 'CVIHVHJhY2tJZA=='); + +@$core.Deprecated('Use unfollowMatchReqDescriptor instead') +const UnfollowMatchReq$json = { + '1': 'UnfollowMatchReq', + '2': [ + {'1': 'cid', '3': 1, '4': 1, '5': 3, '10': 'cid'}, + ], +}; + +/// Descriptor for `UnfollowMatchReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List unfollowMatchReqDescriptor = $convert.base64Decode( + 'ChBVbmZvbGxvd01hdGNoUmVxEhAKA2NpZBgBIAEoA1IDY2lk'); + +@$core.Deprecated('Use unfollowUserItemDescriptor instead') +const UnfollowUserItem$json = { + '1': 'UnfollowUserItem', + '2': [ + {'1': 'has_update', '3': 1, '4': 1, '5': 8, '10': 'hasUpdate'}, + {'1': 'face', '3': 2, '4': 1, '5': 9, '10': 'face'}, + {'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'}, + {'1': 'uid', '3': 4, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'pos', '3': 5, '4': 1, '5': 5, '10': 'pos'}, + {'1': 'live_state', '3': 6, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.LiveState', '10': 'liveState'}, + {'1': 'official', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OfficialVerify', '10': 'official'}, + {'1': 'vip', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VipInfo', '10': 'vip'}, + {'1': 'sign', '3': 9, '4': 1, '5': 9, '10': 'sign'}, + {'1': 'label', '3': 10, '4': 1, '5': 9, '10': 'label'}, + {'1': 'button', '3': 11, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.AdditionalButton', '10': 'button'}, + {'1': 'uri', '3': 12, '4': 1, '5': 9, '10': 'uri'}, + ], +}; + +/// Descriptor for `UnfollowUserItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List unfollowUserItemDescriptor = $convert.base64Decode( + 'ChBVbmZvbGxvd1VzZXJJdGVtEh0KCmhhc191cGRhdGUYASABKAhSCWhhc1VwZGF0ZRISCgRmYW' + 'NlGAIgASgJUgRmYWNlEhIKBG5hbWUYAyABKAlSBG5hbWUSEAoDdWlkGAQgASgDUgN1aWQSEAoD' + 'cG9zGAUgASgFUgNwb3MSQQoKbGl2ZV9zdGF0ZRgGIAEoDjIiLmJpbGliaWxpLmFwcC5keW5hbW' + 'ljLnYyLkxpdmVTdGF0ZVIJbGl2ZVN0YXRlEkMKCG9mZmljaWFsGAcgASgLMicuYmlsaWJpbGku' + 'YXBwLmR5bmFtaWMudjIuT2ZmaWNpYWxWZXJpZnlSCG9mZmljaWFsEjIKA3ZpcBgIIAEoCzIgLm' + 'JpbGliaWxpLmFwcC5keW5hbWljLnYyLlZpcEluZm9SA3ZpcBISCgRzaWduGAkgASgJUgRzaWdu' + 'EhQKBWxhYmVsGAogASgJUgVsYWJlbBJBCgZidXR0b24YCyABKAsyKS5iaWxpYmlsaS5hcHAuZH' + 'luYW1pYy52Mi5BZGRpdGlvbmFsQnV0dG9uUgZidXR0b24SEAoDdXJpGAwgASgJUgN1cmk='); + +@$core.Deprecated('Use updateTabSettingReqDescriptor instead') +const UpdateTabSettingReq$json = { + '1': 'UpdateTabSettingReq', + '2': [ + {'1': 'status', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.HomePageTabSttingStatus', '10': 'status'}, + ], +}; + +/// Descriptor for `UpdateTabSettingReq`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateTabSettingReqDescriptor = $convert.base64Decode( + 'ChNVcGRhdGVUYWJTZXR0aW5nUmVxEkgKBnN0YXR1cxgBIAEoDjIwLmJpbGliaWxpLmFwcC5keW' + '5hbWljLnYyLkhvbWVQYWdlVGFiU3R0aW5nU3RhdHVzUgZzdGF0dXM='); + +@$core.Deprecated('Use upListItemDescriptor instead') +const UpListItem$json = { + '1': 'UpListItem', + '2': [ + {'1': 'has_update', '3': 1, '4': 1, '5': 8, '10': 'hasUpdate'}, + {'1': 'face', '3': 2, '4': 1, '5': 9, '10': 'face'}, + {'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'}, + {'1': 'uid', '3': 4, '4': 1, '5': 3, '10': 'uid'}, + {'1': 'pos', '3': 5, '4': 1, '5': 3, '10': 'pos'}, + {'1': 'user_item_type', '3': 6, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.UserItemType', '10': 'userItemType'}, + {'1': 'display_style_day', '3': 7, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.UserItemStyle', '10': 'displayStyleDay'}, + {'1': 'display_style_night', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.UserItemStyle', '10': 'displayStyleNight'}, + {'1': 'style_id', '3': 9, '4': 1, '5': 3, '10': 'styleId'}, + {'1': 'live_state', '3': 10, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.LiveState', '10': 'liveState'}, + {'1': 'separator', '3': 11, '4': 1, '5': 8, '10': 'separator'}, + {'1': 'uri', '3': 12, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'is_recall', '3': 13, '4': 1, '5': 8, '10': 'isRecall'}, + {'1': 'update_icon', '3': 14, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.IconBadge', '10': 'updateIcon'}, + {'1': 'live_rcmd_reason', '3': 15, '4': 1, '5': 9, '10': 'liveRcmdReason'}, + {'1': 'live_cover', '3': 16, '4': 1, '5': 9, '10': 'liveCover'}, + {'1': 'personal_extra', '3': 17, '4': 1, '5': 9, '10': 'personalExtra'}, + ], +}; + +/// Descriptor for `UpListItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List upListItemDescriptor = $convert.base64Decode( + 'CgpVcExpc3RJdGVtEh0KCmhhc191cGRhdGUYASABKAhSCWhhc1VwZGF0ZRISCgRmYWNlGAIgAS' + 'gJUgRmYWNlEhIKBG5hbWUYAyABKAlSBG5hbWUSEAoDdWlkGAQgASgDUgN1aWQSEAoDcG9zGAUg' + 'ASgDUgNwb3MSSwoOdXNlcl9pdGVtX3R5cGUYBiABKA4yJS5iaWxpYmlsaS5hcHAuZHluYW1pYy' + '52Mi5Vc2VySXRlbVR5cGVSDHVzZXJJdGVtVHlwZRJSChFkaXNwbGF5X3N0eWxlX2RheRgHIAEo' + 'CzImLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLlVzZXJJdGVtU3R5bGVSD2Rpc3BsYXlTdHlsZU' + 'RheRJWChNkaXNwbGF5X3N0eWxlX25pZ2h0GAggASgLMiYuYmlsaWJpbGkuYXBwLmR5bmFtaWMu' + 'djIuVXNlckl0ZW1TdHlsZVIRZGlzcGxheVN0eWxlTmlnaHQSGQoIc3R5bGVfaWQYCSABKANSB3' + 'N0eWxlSWQSQQoKbGl2ZV9zdGF0ZRgKIAEoDjIiLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkxp' + 'dmVTdGF0ZVIJbGl2ZVN0YXRlEhwKCXNlcGFyYXRvchgLIAEoCFIJc2VwYXJhdG9yEhAKA3VyaR' + 'gMIAEoCVIDdXJpEhsKCWlzX3JlY2FsbBgNIAEoCFIIaXNSZWNhbGwSQwoLdXBkYXRlX2ljb24Y' + 'DiABKAsyIi5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5JY29uQmFkZ2VSCnVwZGF0ZUljb24SKA' + 'oQbGl2ZV9yY21kX3JlYXNvbhgPIAEoCVIObGl2ZVJjbWRSZWFzb24SHQoKbGl2ZV9jb3ZlchgQ' + 'IAEoCVIJbGl2ZUNvdmVyEiUKDnBlcnNvbmFsX2V4dHJhGBEgASgJUg1wZXJzb25hbEV4dHJh'); + +@$core.Deprecated('Use upListMoreLabelDescriptor instead') +const UpListMoreLabel$json = { + '1': 'UpListMoreLabel', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'uri', '3': 2, '4': 1, '5': 9, '10': 'uri'}, + ], +}; + +/// Descriptor for `UpListMoreLabel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List upListMoreLabelDescriptor = $convert.base64Decode( + 'Cg9VcExpc3RNb3JlTGFiZWwSFAoFdGl0bGUYASABKAlSBXRpdGxlEhAKA3VyaRgCIAEoCVIDdX' + 'Jp'); + +@$core.Deprecated('Use userInfoDescriptor instead') +const UserInfo$json = { + '1': 'UserInfo', + '2': [ + {'1': 'mid', '3': 1, '4': 1, '5': 3, '10': 'mid'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'face', '3': 3, '4': 1, '5': 9, '10': 'face'}, + {'1': 'official', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.OfficialVerify', '10': 'official'}, + {'1': 'vip', '3': 5, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VipInfo', '10': 'vip'}, + {'1': 'live', '3': 6, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.LiveInfo', '10': 'live'}, + {'1': 'uri', '3': 7, '4': 1, '5': 9, '10': 'uri'}, + {'1': 'pendant', '3': 8, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.UserPendant', '10': 'pendant'}, + {'1': 'nameplate', '3': 9, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Nameplate', '10': 'nameplate'}, + {'1': 'level', '3': 10, '4': 1, '5': 5, '10': 'level'}, + {'1': 'sign', '3': 11, '4': 1, '5': 9, '10': 'sign'}, + {'1': 'face_nft', '3': 12, '4': 1, '5': 5, '10': 'faceNft'}, + {'1': 'face_nft_new', '3': 13, '4': 1, '5': 5, '10': 'faceNftNew'}, + {'1': 'nft_info', '3': 14, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.NFTInfo', '10': 'nftInfo'}, + {'1': 'is_senior_member', '3': 15, '4': 1, '5': 5, '10': 'isSeniorMember'}, + {'1': 'avatar', '3': 16, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.AvatarItem', '10': 'avatar'}, + ], +}; + +/// Descriptor for `UserInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List userInfoDescriptor = $convert.base64Decode( + 'CghVc2VySW5mbxIQCgNtaWQYASABKANSA21pZBISCgRuYW1lGAIgASgJUgRuYW1lEhIKBGZhY2' + 'UYAyABKAlSBGZhY2USQwoIb2ZmaWNpYWwYBCABKAsyJy5iaWxpYmlsaS5hcHAuZHluYW1pYy52' + 'Mi5PZmZpY2lhbFZlcmlmeVIIb2ZmaWNpYWwSMgoDdmlwGAUgASgLMiAuYmlsaWJpbGkuYXBwLm' + 'R5bmFtaWMudjIuVmlwSW5mb1IDdmlwEjUKBGxpdmUYBiABKAsyIS5iaWxpYmlsaS5hcHAuZHlu' + 'YW1pYy52Mi5MaXZlSW5mb1IEbGl2ZRIQCgN1cmkYByABKAlSA3VyaRI+CgdwZW5kYW50GAggAS' + 'gLMiQuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuVXNlclBlbmRhbnRSB3BlbmRhbnQSQAoJbmFt' + 'ZXBsYXRlGAkgASgLMiIuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTmFtZXBsYXRlUgluYW1lcG' + 'xhdGUSFAoFbGV2ZWwYCiABKAVSBWxldmVsEhIKBHNpZ24YCyABKAlSBHNpZ24SGQoIZmFjZV9u' + 'ZnQYDCABKAVSB2ZhY2VOZnQSIAoMZmFjZV9uZnRfbmV3GA0gASgFUgpmYWNlTmZ0TmV3EjsKCG' + '5mdF9pbmZvGA4gASgLMiAuYmlsaWJpbGkuYXBwLmR5bmFtaWMudjIuTkZUSW5mb1IHbmZ0SW5m' + 'bxIoChBpc19zZW5pb3JfbWVtYmVyGA8gASgFUg5pc1Nlbmlvck1lbWJlchJFCgZhdmF0YXIYEC' + 'ABKAsyLS5iaWxpYmlsaS5kYWd3LmNvbXBvbmVudC5hdmF0YXIudjEuQXZhdGFySXRlbVIGYXZh' + 'dGFy'); + +@$core.Deprecated('Use userItemStyleDescriptor instead') +const UserItemStyle$json = { + '1': 'UserItemStyle', + '2': [ + {'1': 'rect_text', '3': 1, '4': 1, '5': 9, '10': 'rectText'}, + {'1': 'rect_text_color', '3': 2, '4': 1, '5': 9, '10': 'rectTextColor'}, + {'1': 'rect_icon', '3': 3, '4': 1, '5': 9, '10': 'rectIcon'}, + {'1': 'rect_bg_color', '3': 4, '4': 1, '5': 9, '10': 'rectBgColor'}, + {'1': 'outer_animation', '3': 5, '4': 1, '5': 9, '10': 'outerAnimation'}, + ], +}; + +/// Descriptor for `UserItemStyle`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List userItemStyleDescriptor = $convert.base64Decode( + 'Cg1Vc2VySXRlbVN0eWxlEhsKCXJlY3RfdGV4dBgBIAEoCVIIcmVjdFRleHQSJgoPcmVjdF90ZX' + 'h0X2NvbG9yGAIgASgJUg1yZWN0VGV4dENvbG9yEhsKCXJlY3RfaWNvbhgDIAEoCVIIcmVjdElj' + 'b24SIgoNcmVjdF9iZ19jb2xvchgEIAEoCVILcmVjdEJnQ29sb3ISJwoPb3V0ZXJfYW5pbWF0aW' + '9uGAUgASgJUg5vdXRlckFuaW1hdGlvbg=='); + +@$core.Deprecated('Use userPendantDescriptor instead') +const UserPendant$json = { + '1': 'UserPendant', + '2': [ + {'1': 'pid', '3': 1, '4': 1, '5': 3, '10': 'pid'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'image', '3': 3, '4': 1, '5': 9, '10': 'image'}, + {'1': 'expire', '3': 4, '4': 1, '5': 3, '10': 'expire'}, + ], +}; + +/// Descriptor for `UserPendant`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List userPendantDescriptor = $convert.base64Decode( + 'CgtVc2VyUGVuZGFudBIQCgNwaWQYASABKANSA3BpZBISCgRuYW1lGAIgASgJUgRuYW1lEhQKBW' + 'ltYWdlGAMgASgJUgVpbWFnZRIWCgZleHBpcmUYBCABKANSBmV4cGlyZQ=='); + +@$core.Deprecated('Use videoBadgeDescriptor instead') +const VideoBadge$json = { + '1': 'VideoBadge', + '2': [ + {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, + {'1': 'text_color', '3': 2, '4': 1, '5': 9, '10': 'textColor'}, + {'1': 'text_color_night', '3': 3, '4': 1, '5': 9, '10': 'textColorNight'}, + {'1': 'bg_color', '3': 4, '4': 1, '5': 9, '10': 'bgColor'}, + {'1': 'bg_color_night', '3': 5, '4': 1, '5': 9, '10': 'bgColorNight'}, + {'1': 'border_color', '3': 6, '4': 1, '5': 9, '10': 'borderColor'}, + {'1': 'border_color_night', '3': 7, '4': 1, '5': 9, '10': 'borderColorNight'}, + {'1': 'bg_style', '3': 8, '4': 1, '5': 5, '10': 'bgStyle'}, + {'1': 'bg_alpha', '3': 9, '4': 1, '5': 5, '10': 'bgAlpha'}, + {'1': 'bg_alpha_night', '3': 10, '4': 1, '5': 5, '10': 'bgAlphaNight'}, + ], +}; + +/// Descriptor for `VideoBadge`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List videoBadgeDescriptor = $convert.base64Decode( + 'CgpWaWRlb0JhZGdlEhIKBHRleHQYASABKAlSBHRleHQSHQoKdGV4dF9jb2xvchgCIAEoCVIJdG' + 'V4dENvbG9yEigKEHRleHRfY29sb3JfbmlnaHQYAyABKAlSDnRleHRDb2xvck5pZ2h0EhkKCGJn' + 'X2NvbG9yGAQgASgJUgdiZ0NvbG9yEiQKDmJnX2NvbG9yX25pZ2h0GAUgASgJUgxiZ0NvbG9yTm' + 'lnaHQSIQoMYm9yZGVyX2NvbG9yGAYgASgJUgtib3JkZXJDb2xvchIsChJib3JkZXJfY29sb3Jf' + 'bmlnaHQYByABKAlSEGJvcmRlckNvbG9yTmlnaHQSGQoIYmdfc3R5bGUYCCABKAVSB2JnU3R5bG' + 'USGQoIYmdfYWxwaGEYCSABKAVSB2JnQWxwaGESJAoOYmdfYWxwaGFfbmlnaHQYCiABKAVSDGJn' + 'QWxwaGFOaWdodA=='); + +@$core.Deprecated('Use vipInfoDescriptor instead') +const VipInfo$json = { + '1': 'VipInfo', + '2': [ + {'1': 'Type', '3': 1, '4': 1, '5': 5, '10': 'Type'}, + {'1': 'status', '3': 2, '4': 1, '5': 5, '10': 'status'}, + {'1': 'due_date', '3': 3, '4': 1, '5': 3, '10': 'dueDate'}, + {'1': 'label', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.VipLabel', '10': 'label'}, + {'1': 'theme_type', '3': 5, '4': 1, '5': 5, '10': 'themeType'}, + {'1': 'avatar_subscript', '3': 6, '4': 1, '5': 5, '10': 'avatarSubscript'}, + {'1': 'nickname_color', '3': 7, '4': 1, '5': 9, '10': 'nicknameColor'}, + ], +}; + +/// Descriptor for `VipInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List vipInfoDescriptor = $convert.base64Decode( + 'CgdWaXBJbmZvEhIKBFR5cGUYASABKAVSBFR5cGUSFgoGc3RhdHVzGAIgASgFUgZzdGF0dXMSGQ' + 'oIZHVlX2RhdGUYAyABKANSB2R1ZURhdGUSNwoFbGFiZWwYBCABKAsyIS5iaWxpYmlsaS5hcHAu' + 'ZHluYW1pYy52Mi5WaXBMYWJlbFIFbGFiZWwSHQoKdGhlbWVfdHlwZRgFIAEoBVIJdGhlbWVUeX' + 'BlEikKEGF2YXRhcl9zdWJzY3JpcHQYBiABKAVSD2F2YXRhclN1YnNjcmlwdBIlCg5uaWNrbmFt' + 'ZV9jb2xvchgHIAEoCVINbmlja25hbWVDb2xvcg=='); + +@$core.Deprecated('Use vipLabelDescriptor instead') +const VipLabel$json = { + '1': 'VipLabel', + '2': [ + {'1': 'path', '3': 1, '4': 1, '5': 9, '10': 'path'}, + {'1': 'text', '3': 2, '4': 1, '5': 9, '10': 'text'}, + {'1': 'label_theme', '3': 3, '4': 1, '5': 9, '10': 'labelTheme'}, + ], +}; + +/// Descriptor for `VipLabel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List vipLabelDescriptor = $convert.base64Decode( + 'CghWaXBMYWJlbBISCgRwYXRoGAEgASgJUgRwYXRoEhIKBHRleHQYAiABKAlSBHRleHQSHwoLbG' + 'FiZWxfdGhlbWUYAyABKAlSCmxhYmVsVGhlbWU='); + +@$core.Deprecated('Use weightDescriptor instead') +const Weight$json = { + '1': 'Weight', + '2': [ + {'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'}, + {'1': 'items', '3': 2, '4': 3, '5': 11, '6': '.bilibili.app.dynamic.v2.WeightItem', '10': 'items'}, + {'1': 'icon', '3': 3, '4': 1, '5': 9, '10': 'icon'}, + ], +}; + +/// Descriptor for `Weight`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List weightDescriptor = $convert.base64Decode( + 'CgZXZWlnaHQSFAoFdGl0bGUYASABKAlSBXRpdGxlEjkKBWl0ZW1zGAIgAygLMiMuYmlsaWJpbG' + 'kuYXBwLmR5bmFtaWMudjIuV2VpZ2h0SXRlbVIFaXRlbXMSEgoEaWNvbhgDIAEoCVIEaWNvbg=='); + +@$core.Deprecated('Use weightButtonDescriptor instead') +const WeightButton$json = { + '1': 'WeightButton', + '2': [ + {'1': 'jump_url', '3': 1, '4': 1, '5': 9, '10': 'jumpUrl'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + ], +}; + +/// Descriptor for `WeightButton`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List weightButtonDescriptor = $convert.base64Decode( + 'CgxXZWlnaHRCdXR0b24SGQoIanVtcF91cmwYASABKAlSB2p1bXBVcmwSFAoFdGl0bGUYAiABKA' + 'lSBXRpdGxl'); + +@$core.Deprecated('Use weightDislikeDescriptor instead') +const WeightDislike$json = { + '1': 'WeightDislike', + '2': [ + {'1': 'feed_back_type', '3': 1, '4': 1, '5': 9, '10': 'feedBackType'}, + {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, + ], +}; + +/// Descriptor for `WeightDislike`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List weightDislikeDescriptor = $convert.base64Decode( + 'Cg1XZWlnaHREaXNsaWtlEiQKDmZlZWRfYmFja190eXBlGAEgASgJUgxmZWVkQmFja1R5cGUSFA' + 'oFdGl0bGUYAiABKAlSBXRpdGxl'); + +@$core.Deprecated('Use weightItemDescriptor instead') +const WeightItem$json = { + '1': 'WeightItem', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.bilibili.app.dynamic.v2.WeightType', '10': 'type'}, + {'1': 'button', '3': 2, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.WeightButton', '9': 0, '10': 'button'}, + {'1': 'dislike', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.WeightDislike', '9': 0, '10': 'dislike'}, + ], + '8': [ + {'1': 'item'}, + ], +}; + +/// Descriptor for `WeightItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List weightItemDescriptor = $convert.base64Decode( + 'CgpXZWlnaHRJdGVtEjcKBHR5cGUYASABKA4yIy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5XZW' + 'lnaHRUeXBlUgR0eXBlEj8KBmJ1dHRvbhgCIAEoCzIlLmJpbGliaWxpLmFwcC5keW5hbWljLnYy' + 'LldlaWdodEJ1dHRvbkgAUgZidXR0b24SQgoHZGlzbGlrZRgDIAEoCzImLmJpbGliaWxpLmFwcC' + '5keW5hbWljLnYyLldlaWdodERpc2xpa2VIAFIHZGlzbGlrZUIGCgRpdGVt'); + +@$core.Deprecated('Use wordNodeDescriptor instead') +const WordNode$json = { + '1': 'WordNode', + '2': [ + {'1': 'words', '3': 1, '4': 1, '5': 9, '10': 'words'}, + {'1': 'font_size', '3': 2, '4': 1, '5': 1, '10': 'fontSize'}, + {'1': 'color', '3': 3, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.Colors', '10': 'color'}, + {'1': 'style', '3': 4, '4': 1, '5': 11, '6': '.bilibili.app.dynamic.v2.WordNode.WordNodeStyle', '10': 'style'}, + ], + '3': [WordNode_WordNodeStyle$json], +}; + +@$core.Deprecated('Use wordNodeDescriptor instead') +const WordNode_WordNodeStyle$json = { + '1': 'WordNodeStyle', + '2': [ + {'1': 'bold', '3': 1, '4': 1, '5': 8, '10': 'bold'}, + {'1': 'italic', '3': 2, '4': 1, '5': 8, '10': 'italic'}, + {'1': 'strikethrough', '3': 3, '4': 1, '5': 8, '10': 'strikethrough'}, + {'1': 'underline', '3': 4, '4': 1, '5': 8, '10': 'underline'}, + ], +}; + +/// Descriptor for `WordNode`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List wordNodeDescriptor = $convert.base64Decode( + 'CghXb3JkTm9kZRIUCgV3b3JkcxgBIAEoCVIFd29yZHMSGwoJZm9udF9zaXplGAIgASgBUghmb2' + '50U2l6ZRI1CgVjb2xvchgDIAEoCzIfLmJpbGliaWxpLmFwcC5keW5hbWljLnYyLkNvbG9yc1IF' + 'Y29sb3ISRQoFc3R5bGUYBCABKAsyLy5iaWxpYmlsaS5hcHAuZHluYW1pYy52Mi5Xb3JkTm9kZS' + '5Xb3JkTm9kZVN0eWxlUgVzdHlsZRp/Cg1Xb3JkTm9kZVN0eWxlEhIKBGJvbGQYASABKAhSBGJv' + 'bGQSFgoGaXRhbGljGAIgASgIUgZpdGFsaWMSJAoNc3RyaWtldGhyb3VnaBgDIAEoCFINc3RyaW' + 'tldGhyb3VnaBIcCgl1bmRlcmxpbmUYBCABKAhSCXVuZGVybGluZQ=='); + diff --git a/lib/grpc/dagw/component/avatar/common/common.pb.dart b/lib/grpc/dagw/component/avatar/common/common.pb.dart new file mode 100644 index 00000000..73899103 --- /dev/null +++ b/lib/grpc/dagw/component/avatar/common/common.pb.dart @@ -0,0 +1,783 @@ +// +// Generated code. Do not modify. +// source: bilibili/dagw/component/avatar/common/common.proto +// +// @dart = 2.12 + +// 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; + +import 'common.pbenum.dart'; + +export 'common.pbenum.dart'; + +class BasicRenderSpec extends $pb.GeneratedMessage { + factory BasicRenderSpec({ + $core.double? opacity, + }) { + final $result = create(); + if (opacity != null) { + $result.opacity = opacity; + } + return $result; + } + BasicRenderSpec._() : super(); + factory BasicRenderSpec.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BasicRenderSpec.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BasicRenderSpec', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'opacity', $pb.PbFieldType.OD) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BasicRenderSpec clone() => BasicRenderSpec()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BasicRenderSpec copyWith(void Function(BasicRenderSpec) updates) => super.copyWith((message) => updates(message as BasicRenderSpec)) as BasicRenderSpec; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BasicRenderSpec create() => BasicRenderSpec._(); + BasicRenderSpec createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BasicRenderSpec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BasicRenderSpec? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get opacity => $_getN(0); + @$pb.TagNumber(1) + set opacity($core.double v) { $_setDouble(0, v); } + @$pb.TagNumber(1) + $core.bool hasOpacity() => $_has(0); + @$pb.TagNumber(1) + void clearOpacity() => clearField(1); +} + +class ColorConfig extends $pb.GeneratedMessage { + factory ColorConfig({ + $core.bool? isDarkModeAware, + ColorSpec? day, + ColorSpec? night, + }) { + final $result = create(); + if (isDarkModeAware != null) { + $result.isDarkModeAware = isDarkModeAware; + } + if (day != null) { + $result.day = day; + } + if (night != null) { + $result.night = night; + } + return $result; + } + ColorConfig._() : super(); + factory ColorConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ColorConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ColorConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'isDarkModeAware') + ..aOM(2, _omitFieldNames ? '' : 'day', subBuilder: ColorSpec.create) + ..aOM(3, _omitFieldNames ? '' : 'night', subBuilder: ColorSpec.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') + ColorConfig clone() => ColorConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ColorConfig copyWith(void Function(ColorConfig) updates) => super.copyWith((message) => updates(message as ColorConfig)) as ColorConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ColorConfig create() => ColorConfig._(); + ColorConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ColorConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ColorConfig? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get isDarkModeAware => $_getBF(0); + @$pb.TagNumber(1) + set isDarkModeAware($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasIsDarkModeAware() => $_has(0); + @$pb.TagNumber(1) + void clearIsDarkModeAware() => clearField(1); + + @$pb.TagNumber(2) + ColorSpec get day => $_getN(1); + @$pb.TagNumber(2) + set day(ColorSpec v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasDay() => $_has(1); + @$pb.TagNumber(2) + void clearDay() => clearField(2); + @$pb.TagNumber(2) + ColorSpec ensureDay() => $_ensure(1); + + @$pb.TagNumber(3) + ColorSpec get night => $_getN(2); + @$pb.TagNumber(3) + set night(ColorSpec v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasNight() => $_has(2); + @$pb.TagNumber(3) + void clearNight() => clearField(3); + @$pb.TagNumber(3) + ColorSpec ensureNight() => $_ensure(2); +} + +class ColorSpec extends $pb.GeneratedMessage { + factory ColorSpec({ + $core.String? argb, + }) { + final $result = create(); + if (argb != null) { + $result.argb = argb; + } + return $result; + } + ColorSpec._() : super(); + factory ColorSpec.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ColorSpec.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ColorSpec', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'argb') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ColorSpec clone() => ColorSpec()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ColorSpec copyWith(void Function(ColorSpec) updates) => super.copyWith((message) => updates(message as ColorSpec)) as ColorSpec; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ColorSpec create() => ColorSpec._(); + ColorSpec createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ColorSpec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ColorSpec? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get argb => $_getSZ(0); + @$pb.TagNumber(1) + set argb($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasArgb() => $_has(0); + @$pb.TagNumber(1) + void clearArgb() => clearField(1); +} + +class LayerGeneralSpec extends $pb.GeneratedMessage { + factory LayerGeneralSpec({ + PositionSpec? posSpec, + SizeSpec? sizeSpec, + BasicRenderSpec? renderSpec, + }) { + final $result = create(); + if (posSpec != null) { + $result.posSpec = posSpec; + } + if (sizeSpec != null) { + $result.sizeSpec = sizeSpec; + } + if (renderSpec != null) { + $result.renderSpec = renderSpec; + } + return $result; + } + LayerGeneralSpec._() : super(); + factory LayerGeneralSpec.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory LayerGeneralSpec.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LayerGeneralSpec', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'posSpec', subBuilder: PositionSpec.create) + ..aOM(2, _omitFieldNames ? '' : 'sizeSpec', subBuilder: SizeSpec.create) + ..aOM(3, _omitFieldNames ? '' : 'renderSpec', subBuilder: BasicRenderSpec.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') + LayerGeneralSpec clone() => LayerGeneralSpec()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LayerGeneralSpec copyWith(void Function(LayerGeneralSpec) updates) => super.copyWith((message) => updates(message as LayerGeneralSpec)) as LayerGeneralSpec; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LayerGeneralSpec create() => LayerGeneralSpec._(); + LayerGeneralSpec createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LayerGeneralSpec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LayerGeneralSpec? _defaultInstance; + + @$pb.TagNumber(1) + PositionSpec get posSpec => $_getN(0); + @$pb.TagNumber(1) + set posSpec(PositionSpec v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasPosSpec() => $_has(0); + @$pb.TagNumber(1) + void clearPosSpec() => clearField(1); + @$pb.TagNumber(1) + PositionSpec ensurePosSpec() => $_ensure(0); + + @$pb.TagNumber(2) + SizeSpec get sizeSpec => $_getN(1); + @$pb.TagNumber(2) + set sizeSpec(SizeSpec v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasSizeSpec() => $_has(1); + @$pb.TagNumber(2) + void clearSizeSpec() => clearField(2); + @$pb.TagNumber(2) + SizeSpec ensureSizeSpec() => $_ensure(1); + + @$pb.TagNumber(3) + BasicRenderSpec get renderSpec => $_getN(2); + @$pb.TagNumber(3) + set renderSpec(BasicRenderSpec v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasRenderSpec() => $_has(2); + @$pb.TagNumber(3) + void clearRenderSpec() => clearField(3); + @$pb.TagNumber(3) + BasicRenderSpec ensureRenderSpec() => $_ensure(2); +} + +class MaskProperty extends $pb.GeneratedMessage { + factory MaskProperty({ + LayerGeneralSpec? generalSpec, + ResourceSource? maskSrc, + }) { + final $result = create(); + if (generalSpec != null) { + $result.generalSpec = generalSpec; + } + if (maskSrc != null) { + $result.maskSrc = maskSrc; + } + return $result; + } + MaskProperty._() : super(); + factory MaskProperty.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MaskProperty.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MaskProperty', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'generalSpec', subBuilder: LayerGeneralSpec.create) + ..aOM(2, _omitFieldNames ? '' : 'maskSrc', subBuilder: ResourceSource.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') + MaskProperty clone() => MaskProperty()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MaskProperty copyWith(void Function(MaskProperty) updates) => super.copyWith((message) => updates(message as MaskProperty)) as MaskProperty; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MaskProperty create() => MaskProperty._(); + MaskProperty createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MaskProperty getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MaskProperty? _defaultInstance; + + @$pb.TagNumber(1) + LayerGeneralSpec get generalSpec => $_getN(0); + @$pb.TagNumber(1) + set generalSpec(LayerGeneralSpec v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasGeneralSpec() => $_has(0); + @$pb.TagNumber(1) + void clearGeneralSpec() => clearField(1); + @$pb.TagNumber(1) + LayerGeneralSpec ensureGeneralSpec() => $_ensure(0); + + @$pb.TagNumber(2) + ResourceSource get maskSrc => $_getN(1); + @$pb.TagNumber(2) + set maskSrc(ResourceSource v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasMaskSrc() => $_has(1); + @$pb.TagNumber(2) + void clearMaskSrc() => clearField(2); + @$pb.TagNumber(2) + ResourceSource ensureMaskSrc() => $_ensure(1); +} + +class NativeDrawRes extends $pb.GeneratedMessage { + factory NativeDrawRes({ + $core.int? drawType, + $core.int? fillMode, + ColorConfig? colorConfig, + $core.double? edgeWeight, + }) { + final $result = create(); + if (drawType != null) { + $result.drawType = drawType; + } + if (fillMode != null) { + $result.fillMode = fillMode; + } + if (colorConfig != null) { + $result.colorConfig = colorConfig; + } + if (edgeWeight != null) { + $result.edgeWeight = edgeWeight; + } + return $result; + } + NativeDrawRes._() : super(); + factory NativeDrawRes.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NativeDrawRes.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NativeDrawRes', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'drawType', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'fillMode', $pb.PbFieldType.O3) + ..aOM(3, _omitFieldNames ? '' : 'colorConfig', subBuilder: ColorConfig.create) + ..a<$core.double>(4, _omitFieldNames ? '' : 'edgeWeight', $pb.PbFieldType.OD) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NativeDrawRes clone() => NativeDrawRes()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NativeDrawRes copyWith(void Function(NativeDrawRes) updates) => super.copyWith((message) => updates(message as NativeDrawRes)) as NativeDrawRes; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NativeDrawRes create() => NativeDrawRes._(); + NativeDrawRes createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NativeDrawRes getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NativeDrawRes? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get drawType => $_getIZ(0); + @$pb.TagNumber(1) + set drawType($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasDrawType() => $_has(0); + @$pb.TagNumber(1) + void clearDrawType() => clearField(1); + + @$pb.TagNumber(2) + $core.int get fillMode => $_getIZ(1); + @$pb.TagNumber(2) + set fillMode($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasFillMode() => $_has(1); + @$pb.TagNumber(2) + void clearFillMode() => clearField(2); + + @$pb.TagNumber(3) + ColorConfig get colorConfig => $_getN(2); + @$pb.TagNumber(3) + set colorConfig(ColorConfig v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasColorConfig() => $_has(2); + @$pb.TagNumber(3) + void clearColorConfig() => clearField(3); + @$pb.TagNumber(3) + ColorConfig ensureColorConfig() => $_ensure(2); + + @$pb.TagNumber(4) + $core.double get edgeWeight => $_getN(3); + @$pb.TagNumber(4) + set edgeWeight($core.double v) { $_setDouble(3, v); } + @$pb.TagNumber(4) + $core.bool hasEdgeWeight() => $_has(3); + @$pb.TagNumber(4) + void clearEdgeWeight() => clearField(4); +} + +class PositionSpec extends $pb.GeneratedMessage { + factory PositionSpec({ + $core.int? coordinatePos, + $core.double? axisX, + $core.double? axisY, + }) { + final $result = create(); + if (coordinatePos != null) { + $result.coordinatePos = coordinatePos; + } + if (axisX != null) { + $result.axisX = axisX; + } + if (axisY != null) { + $result.axisY = axisY; + } + return $result; + } + PositionSpec._() : super(); + factory PositionSpec.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PositionSpec.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PositionSpec', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'coordinatePos', $pb.PbFieldType.O3) + ..a<$core.double>(2, _omitFieldNames ? '' : 'axisX', $pb.PbFieldType.OD) + ..a<$core.double>(3, _omitFieldNames ? '' : 'axisY', $pb.PbFieldType.OD) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PositionSpec clone() => PositionSpec()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PositionSpec copyWith(void Function(PositionSpec) updates) => super.copyWith((message) => updates(message as PositionSpec)) as PositionSpec; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PositionSpec create() => PositionSpec._(); + PositionSpec createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PositionSpec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PositionSpec? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get coordinatePos => $_getIZ(0); + @$pb.TagNumber(1) + set coordinatePos($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasCoordinatePos() => $_has(0); + @$pb.TagNumber(1) + void clearCoordinatePos() => clearField(1); + + @$pb.TagNumber(2) + $core.double get axisX => $_getN(1); + @$pb.TagNumber(2) + set axisX($core.double v) { $_setDouble(1, v); } + @$pb.TagNumber(2) + $core.bool hasAxisX() => $_has(1); + @$pb.TagNumber(2) + void clearAxisX() => clearField(2); + + @$pb.TagNumber(3) + $core.double get axisY => $_getN(2); + @$pb.TagNumber(3) + set axisY($core.double v) { $_setDouble(2, v); } + @$pb.TagNumber(3) + $core.bool hasAxisY() => $_has(2); + @$pb.TagNumber(3) + void clearAxisY() => clearField(3); +} + +class RemoteRes extends $pb.GeneratedMessage { + factory RemoteRes({ + $core.String? url, + $core.String? bfsStyle, + }) { + final $result = create(); + if (url != null) { + $result.url = url; + } + if (bfsStyle != null) { + $result.bfsStyle = bfsStyle; + } + return $result; + } + RemoteRes._() : super(); + factory RemoteRes.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RemoteRes.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoteRes', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'url') + ..aOS(2, _omitFieldNames ? '' : 'bfsStyle') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RemoteRes clone() => RemoteRes()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RemoteRes copyWith(void Function(RemoteRes) updates) => super.copyWith((message) => updates(message as RemoteRes)) as RemoteRes; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RemoteRes create() => RemoteRes._(); + RemoteRes createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RemoteRes getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RemoteRes? _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.String get bfsStyle => $_getSZ(1); + @$pb.TagNumber(2) + set bfsStyle($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasBfsStyle() => $_has(1); + @$pb.TagNumber(2) + void clearBfsStyle() => clearField(2); +} + +enum ResourceSource_Res { + remote, + local, + draw, + notSet +} + +class ResourceSource extends $pb.GeneratedMessage { + factory ResourceSource({ + $core.int? srcType, + $core.int? placeholder, + RemoteRes? remote, + ResourceSource_LocalRes? local, + NativeDrawRes? draw, + }) { + final $result = create(); + if (srcType != null) { + $result.srcType = srcType; + } + if (placeholder != null) { + $result.placeholder = placeholder; + } + if (remote != null) { + $result.remote = remote; + } + if (local != null) { + $result.local = local; + } + if (draw != null) { + $result.draw = draw; + } + return $result; + } + ResourceSource._() : super(); + factory ResourceSource.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ResourceSource.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, ResourceSource_Res> _ResourceSource_ResByTag = { + 3 : ResourceSource_Res.remote, + 4 : ResourceSource_Res.local, + 5 : ResourceSource_Res.draw, + 0 : ResourceSource_Res.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceSource', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..oo(0, [3, 4, 5]) + ..a<$core.int>(1, _omitFieldNames ? '' : 'srcType', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'placeholder', $pb.PbFieldType.O3) + ..aOM(3, _omitFieldNames ? '' : 'remote', subBuilder: RemoteRes.create) + ..e(4, _omitFieldNames ? '' : 'local', $pb.PbFieldType.OE, defaultOrMaker: ResourceSource_LocalRes.LOCAL_RES_INVALID, valueOf: ResourceSource_LocalRes.valueOf, enumValues: ResourceSource_LocalRes.values) + ..aOM(5, _omitFieldNames ? '' : 'draw', subBuilder: NativeDrawRes.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') + ResourceSource clone() => ResourceSource()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ResourceSource copyWith(void Function(ResourceSource) updates) => super.copyWith((message) => updates(message as ResourceSource)) as ResourceSource; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ResourceSource create() => ResourceSource._(); + ResourceSource createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ResourceSource getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ResourceSource? _defaultInstance; + + ResourceSource_Res whichRes() => _ResourceSource_ResByTag[$_whichOneof(0)]!; + void clearRes() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $core.int get srcType => $_getIZ(0); + @$pb.TagNumber(1) + set srcType($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasSrcType() => $_has(0); + @$pb.TagNumber(1) + void clearSrcType() => clearField(1); + + @$pb.TagNumber(2) + $core.int get placeholder => $_getIZ(1); + @$pb.TagNumber(2) + set placeholder($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasPlaceholder() => $_has(1); + @$pb.TagNumber(2) + void clearPlaceholder() => clearField(2); + + @$pb.TagNumber(3) + RemoteRes get remote => $_getN(2); + @$pb.TagNumber(3) + set remote(RemoteRes v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasRemote() => $_has(2); + @$pb.TagNumber(3) + void clearRemote() => clearField(3); + @$pb.TagNumber(3) + RemoteRes ensureRemote() => $_ensure(2); + + @$pb.TagNumber(4) + ResourceSource_LocalRes get local => $_getN(3); + @$pb.TagNumber(4) + set local(ResourceSource_LocalRes v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasLocal() => $_has(3); + @$pb.TagNumber(4) + void clearLocal() => clearField(4); + + @$pb.TagNumber(5) + NativeDrawRes get draw => $_getN(4); + @$pb.TagNumber(5) + set draw(NativeDrawRes v) { setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasDraw() => $_has(4); + @$pb.TagNumber(5) + void clearDraw() => clearField(5); + @$pb.TagNumber(5) + NativeDrawRes ensureDraw() => $_ensure(4); +} + +class SizeSpec extends $pb.GeneratedMessage { + factory SizeSpec({ + $core.double? width, + $core.double? height, + }) { + final $result = create(); + if (width != null) { + $result.width = width; + } + if (height != null) { + $result.height = height; + } + return $result; + } + SizeSpec._() : super(); + factory SizeSpec.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SizeSpec.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SizeSpec', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.common'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'width', $pb.PbFieldType.OD) + ..a<$core.double>(2, _omitFieldNames ? '' : 'height', $pb.PbFieldType.OD) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SizeSpec clone() => SizeSpec()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SizeSpec copyWith(void Function(SizeSpec) updates) => super.copyWith((message) => updates(message as SizeSpec)) as SizeSpec; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SizeSpec create() => SizeSpec._(); + SizeSpec createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SizeSpec getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SizeSpec? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get width => $_getN(0); + @$pb.TagNumber(1) + set width($core.double v) { $_setDouble(0, v); } + @$pb.TagNumber(1) + $core.bool hasWidth() => $_has(0); + @$pb.TagNumber(1) + void clearWidth() => clearField(1); + + @$pb.TagNumber(2) + $core.double get height => $_getN(1); + @$pb.TagNumber(2) + set height($core.double v) { $_setDouble(1, v); } + @$pb.TagNumber(2) + $core.bool hasHeight() => $_has(1); + @$pb.TagNumber(2) + void clearHeight() => clearField(2); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/grpc/dagw/component/avatar/common/common.pbenum.dart b/lib/grpc/dagw/component/avatar/common/common.pbenum.dart new file mode 100644 index 00000000..ea76ba88 --- /dev/null +++ b/lib/grpc/dagw/component/avatar/common/common.pbenum.dart @@ -0,0 +1,42 @@ +// +// Generated code. Do not modify. +// source: bilibili/dagw/component/avatar/common/common.proto +// +// @dart = 2.12 + +// 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 ResourceSource_LocalRes extends $pb.ProtobufEnum { + static const ResourceSource_LocalRes LOCAL_RES_INVALID = ResourceSource_LocalRes._(0, _omitEnumNames ? '' : 'LOCAL_RES_INVALID'); + static const ResourceSource_LocalRes LOCAL_RES_ICON_VIP = ResourceSource_LocalRes._(1, _omitEnumNames ? '' : 'LOCAL_RES_ICON_VIP'); + static const ResourceSource_LocalRes LOCAL_RES_ICON_SMALL_VIP = ResourceSource_LocalRes._(2, _omitEnumNames ? '' : 'LOCAL_RES_ICON_SMALL_VIP'); + static const ResourceSource_LocalRes LOCAL_RES_ICON_PERSONAL_VERIFY = ResourceSource_LocalRes._(3, _omitEnumNames ? '' : 'LOCAL_RES_ICON_PERSONAL_VERIFY'); + static const ResourceSource_LocalRes LOCAL_RES_ICON_ENTERPRISE_VERIFY = ResourceSource_LocalRes._(4, _omitEnumNames ? '' : 'LOCAL_RES_ICON_ENTERPRISE_VERIFY'); + static const ResourceSource_LocalRes LOCAL_RES_ICON_NFT_MAINLAND = ResourceSource_LocalRes._(5, _omitEnumNames ? '' : 'LOCAL_RES_ICON_NFT_MAINLAND'); + static const ResourceSource_LocalRes LOCAL_RES_DEFAULT_AVATAR = ResourceSource_LocalRes._(6, _omitEnumNames ? '' : 'LOCAL_RES_DEFAULT_AVATAR'); + + static const $core.List values = [ + LOCAL_RES_INVALID, + LOCAL_RES_ICON_VIP, + LOCAL_RES_ICON_SMALL_VIP, + LOCAL_RES_ICON_PERSONAL_VERIFY, + LOCAL_RES_ICON_ENTERPRISE_VERIFY, + LOCAL_RES_ICON_NFT_MAINLAND, + LOCAL_RES_DEFAULT_AVATAR, + ]; + + static final $core.Map<$core.int, ResourceSource_LocalRes> _byValue = $pb.ProtobufEnum.initByValue(values); + static ResourceSource_LocalRes? valueOf($core.int value) => _byValue[value]; + + const ResourceSource_LocalRes._($core.int v, $core.String n) : super(v, n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/grpc/dagw/component/avatar/common/common.pbjson.dart b/lib/grpc/dagw/component/avatar/common/common.pbjson.dart new file mode 100644 index 00000000..c4bae818 --- /dev/null +++ b/lib/grpc/dagw/component/avatar/common/common.pbjson.dart @@ -0,0 +1,194 @@ +// +// Generated code. Do not modify. +// source: bilibili/dagw/component/avatar/common/common.proto +// +// @dart = 2.12 + +// 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 basicRenderSpecDescriptor instead') +const BasicRenderSpec$json = { + '1': 'BasicRenderSpec', + '2': [ + {'1': 'opacity', '3': 1, '4': 1, '5': 1, '10': 'opacity'}, + ], +}; + +/// Descriptor for `BasicRenderSpec`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List basicRenderSpecDescriptor = $convert.base64Decode( + 'Cg9CYXNpY1JlbmRlclNwZWMSGAoHb3BhY2l0eRgBIAEoAVIHb3BhY2l0eQ=='); + +@$core.Deprecated('Use colorConfigDescriptor instead') +const ColorConfig$json = { + '1': 'ColorConfig', + '2': [ + {'1': 'is_dark_mode_aware', '3': 1, '4': 1, '5': 8, '10': 'isDarkModeAware'}, + {'1': 'day', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorSpec', '10': 'day'}, + {'1': 'night', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorSpec', '10': 'night'}, + ], +}; + +/// Descriptor for `ColorConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List colorConfigDescriptor = $convert.base64Decode( + 'CgtDb2xvckNvbmZpZxIrChJpc19kYXJrX21vZGVfYXdhcmUYASABKAhSD2lzRGFya01vZGVBd2' + 'FyZRJCCgNkYXkYAiABKAsyMC5iaWxpYmlsaS5kYWd3LmNvbXBvbmVudC5hdmF0YXIuY29tbW9u' + 'LkNvbG9yU3BlY1IDZGF5EkYKBW5pZ2h0GAMgASgLMjAuYmlsaWJpbGkuZGFndy5jb21wb25lbn' + 'QuYXZhdGFyLmNvbW1vbi5Db2xvclNwZWNSBW5pZ2h0'); + +@$core.Deprecated('Use colorSpecDescriptor instead') +const ColorSpec$json = { + '1': 'ColorSpec', + '2': [ + {'1': 'argb', '3': 1, '4': 1, '5': 9, '10': 'argb'}, + ], +}; + +/// Descriptor for `ColorSpec`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List colorSpecDescriptor = $convert.base64Decode( + 'CglDb2xvclNwZWMSEgoEYXJnYhgBIAEoCVIEYXJnYg=='); + +@$core.Deprecated('Use layerGeneralSpecDescriptor instead') +const LayerGeneralSpec$json = { + '1': 'LayerGeneralSpec', + '2': [ + {'1': 'pos_spec', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.PositionSpec', '10': 'posSpec'}, + {'1': 'size_spec', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.SizeSpec', '10': 'sizeSpec'}, + {'1': 'render_spec', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.BasicRenderSpec', '10': 'renderSpec'}, + ], +}; + +/// Descriptor for `LayerGeneralSpec`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List layerGeneralSpecDescriptor = $convert.base64Decode( + 'ChBMYXllckdlbmVyYWxTcGVjEk4KCHBvc19zcGVjGAEgASgLMjMuYmlsaWJpbGkuZGFndy5jb2' + '1wb25lbnQuYXZhdGFyLmNvbW1vbi5Qb3NpdGlvblNwZWNSB3Bvc1NwZWMSTAoJc2l6ZV9zcGVj' + 'GAIgASgLMi8uYmlsaWJpbGkuZGFndy5jb21wb25lbnQuYXZhdGFyLmNvbW1vbi5TaXplU3BlY1' + 'IIc2l6ZVNwZWMSVwoLcmVuZGVyX3NwZWMYAyABKAsyNi5iaWxpYmlsaS5kYWd3LmNvbXBvbmVu' + 'dC5hdmF0YXIuY29tbW9uLkJhc2ljUmVuZGVyU3BlY1IKcmVuZGVyU3BlYw=='); + +@$core.Deprecated('Use maskPropertyDescriptor instead') +const MaskProperty$json = { + '1': 'MaskProperty', + '2': [ + {'1': 'general_spec', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.LayerGeneralSpec', '10': 'generalSpec'}, + {'1': 'mask_src', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'maskSrc'}, + ], +}; + +/// Descriptor for `MaskProperty`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List maskPropertyDescriptor = $convert.base64Decode( + 'CgxNYXNrUHJvcGVydHkSWgoMZ2VuZXJhbF9zcGVjGAEgASgLMjcuYmlsaWJpbGkuZGFndy5jb2' + '1wb25lbnQuYXZhdGFyLmNvbW1vbi5MYXllckdlbmVyYWxTcGVjUgtnZW5lcmFsU3BlYxJQCght' + 'YXNrX3NyYxgCIAEoCzI1LmJpbGliaWxpLmRhZ3cuY29tcG9uZW50LmF2YXRhci5jb21tb24uUm' + 'Vzb3VyY2VTb3VyY2VSB21hc2tTcmM='); + +@$core.Deprecated('Use nativeDrawResDescriptor instead') +const NativeDrawRes$json = { + '1': 'NativeDrawRes', + '2': [ + {'1': 'draw_type', '3': 1, '4': 1, '5': 5, '10': 'drawType'}, + {'1': 'fill_mode', '3': 2, '4': 1, '5': 5, '10': 'fillMode'}, + {'1': 'color_config', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorConfig', '10': 'colorConfig'}, + {'1': 'edge_weight', '3': 4, '4': 1, '5': 1, '10': 'edgeWeight'}, + ], +}; + +/// Descriptor for `NativeDrawRes`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List nativeDrawResDescriptor = $convert.base64Decode( + 'Cg1OYXRpdmVEcmF3UmVzEhsKCWRyYXdfdHlwZRgBIAEoBVIIZHJhd1R5cGUSGwoJZmlsbF9tb2' + 'RlGAIgASgFUghmaWxsTW9kZRJVCgxjb2xvcl9jb25maWcYAyABKAsyMi5iaWxpYmlsaS5kYWd3' + 'LmNvbXBvbmVudC5hdmF0YXIuY29tbW9uLkNvbG9yQ29uZmlnUgtjb2xvckNvbmZpZxIfCgtlZG' + 'dlX3dlaWdodBgEIAEoAVIKZWRnZVdlaWdodA=='); + +@$core.Deprecated('Use positionSpecDescriptor instead') +const PositionSpec$json = { + '1': 'PositionSpec', + '2': [ + {'1': 'coordinate_pos', '3': 1, '4': 1, '5': 5, '10': 'coordinatePos'}, + {'1': 'axis_x', '3': 2, '4': 1, '5': 1, '10': 'axisX'}, + {'1': 'axis_y', '3': 3, '4': 1, '5': 1, '10': 'axisY'}, + ], +}; + +/// Descriptor for `PositionSpec`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List positionSpecDescriptor = $convert.base64Decode( + 'CgxQb3NpdGlvblNwZWMSJQoOY29vcmRpbmF0ZV9wb3MYASABKAVSDWNvb3JkaW5hdGVQb3MSFQ' + 'oGYXhpc194GAIgASgBUgVheGlzWBIVCgZheGlzX3kYAyABKAFSBWF4aXNZ'); + +@$core.Deprecated('Use remoteResDescriptor instead') +const RemoteRes$json = { + '1': 'RemoteRes', + '2': [ + {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, + {'1': 'bfs_style', '3': 2, '4': 1, '5': 9, '10': 'bfsStyle'}, + ], +}; + +/// Descriptor for `RemoteRes`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List remoteResDescriptor = $convert.base64Decode( + 'CglSZW1vdGVSZXMSEAoDdXJsGAEgASgJUgN1cmwSGwoJYmZzX3N0eWxlGAIgASgJUghiZnNTdH' + 'lsZQ=='); + +@$core.Deprecated('Use resourceSourceDescriptor instead') +const ResourceSource$json = { + '1': 'ResourceSource', + '2': [ + {'1': 'src_type', '3': 1, '4': 1, '5': 5, '10': 'srcType'}, + {'1': 'placeholder', '3': 2, '4': 1, '5': 5, '10': 'placeholder'}, + {'1': 'remote', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.RemoteRes', '9': 0, '10': 'remote'}, + {'1': 'local', '3': 4, '4': 1, '5': 14, '6': '.bilibili.dagw.component.avatar.common.ResourceSource.LocalRes', '9': 0, '10': 'local'}, + {'1': 'draw', '3': 5, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.NativeDrawRes', '9': 0, '10': 'draw'}, + ], + '4': [ResourceSource_LocalRes$json], + '8': [ + {'1': 'res'}, + ], +}; + +@$core.Deprecated('Use resourceSourceDescriptor instead') +const ResourceSource_LocalRes$json = { + '1': 'LocalRes', + '2': [ + {'1': 'LOCAL_RES_INVALID', '2': 0}, + {'1': 'LOCAL_RES_ICON_VIP', '2': 1}, + {'1': 'LOCAL_RES_ICON_SMALL_VIP', '2': 2}, + {'1': 'LOCAL_RES_ICON_PERSONAL_VERIFY', '2': 3}, + {'1': 'LOCAL_RES_ICON_ENTERPRISE_VERIFY', '2': 4}, + {'1': 'LOCAL_RES_ICON_NFT_MAINLAND', '2': 5}, + {'1': 'LOCAL_RES_DEFAULT_AVATAR', '2': 6}, + ], +}; + +/// Descriptor for `ResourceSource`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List resourceSourceDescriptor = $convert.base64Decode( + 'Cg5SZXNvdXJjZVNvdXJjZRIZCghzcmNfdHlwZRgBIAEoBVIHc3JjVHlwZRIgCgtwbGFjZWhvbG' + 'RlchgCIAEoBVILcGxhY2Vob2xkZXISSgoGcmVtb3RlGAMgASgLMjAuYmlsaWJpbGkuZGFndy5j' + 'b21wb25lbnQuYXZhdGFyLmNvbW1vbi5SZW1vdGVSZXNIAFIGcmVtb3RlElYKBWxvY2FsGAQgAS' + 'gOMj4uYmlsaWJpbGkuZGFndy5jb21wb25lbnQuYXZhdGFyLmNvbW1vbi5SZXNvdXJjZVNvdXJj' + 'ZS5Mb2NhbFJlc0gAUgVsb2NhbBJKCgRkcmF3GAUgASgLMjQuYmlsaWJpbGkuZGFndy5jb21wb2' + '5lbnQuYXZhdGFyLmNvbW1vbi5OYXRpdmVEcmF3UmVzSABSBGRyYXci4AEKCExvY2FsUmVzEhUK' + 'EUxPQ0FMX1JFU19JTlZBTElEEAASFgoSTE9DQUxfUkVTX0lDT05fVklQEAESHAoYTE9DQUxfUk' + 'VTX0lDT05fU01BTExfVklQEAISIgoeTE9DQUxfUkVTX0lDT05fUEVSU09OQUxfVkVSSUZZEAMS' + 'JAogTE9DQUxfUkVTX0lDT05fRU5URVJQUklTRV9WRVJJRlkQBBIfChtMT0NBTF9SRVNfSUNPTl' + '9ORlRfTUFJTkxBTkQQBRIcChhMT0NBTF9SRVNfREVGQVVMVF9BVkFUQVIQBkIFCgNyZXM='); + +@$core.Deprecated('Use sizeSpecDescriptor instead') +const SizeSpec$json = { + '1': 'SizeSpec', + '2': [ + {'1': 'width', '3': 1, '4': 1, '5': 1, '10': 'width'}, + {'1': 'height', '3': 2, '4': 1, '5': 1, '10': 'height'}, + ], +}; + +/// Descriptor for `SizeSpec`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sizeSpecDescriptor = $convert.base64Decode( + 'CghTaXplU3BlYxIUCgV3aWR0aBgBIAEoAVIFd2lkdGgSFgoGaGVpZ2h0GAIgASgBUgZoZWlnaH' + 'Q='); + diff --git a/lib/grpc/dagw/component/avatar/v1/avatar.pb.dart b/lib/grpc/dagw/component/avatar/v1/avatar.pb.dart new file mode 100644 index 00000000..0149173a --- /dev/null +++ b/lib/grpc/dagw/component/avatar/v1/avatar.pb.dart @@ -0,0 +1,849 @@ +// +// Generated code. Do not modify. +// source: bilibili/dagw/component/avatar/v1/avatar.proto +// +// @dart = 2.12 + +// 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 '../common/common.pb.dart' as $0; +import 'plugin.pb.dart' as $1; + +class AvatarItem extends $pb.GeneratedMessage { + factory AvatarItem({ + $0.SizeSpec? containerSize, + $core.Iterable? layers, + LayerGroup? fallbackLayers, + $fixnum.Int64? mid, + }) { + final $result = create(); + if (containerSize != null) { + $result.containerSize = containerSize; + } + if (layers != null) { + $result.layers.addAll(layers); + } + if (fallbackLayers != null) { + $result.fallbackLayers = fallbackLayers; + } + if (mid != null) { + $result.mid = mid; + } + return $result; + } + AvatarItem._() : super(); + factory AvatarItem.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AvatarItem.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AvatarItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..aOM<$0.SizeSpec>(1, _omitFieldNames ? '' : 'containerSize', subBuilder: $0.SizeSpec.create) + ..pc(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: LayerGroup.create) + ..aOM(3, _omitFieldNames ? '' : 'fallbackLayers', subBuilder: LayerGroup.create) + ..aInt64(4, _omitFieldNames ? '' : 'mid') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AvatarItem clone() => AvatarItem()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AvatarItem copyWith(void Function(AvatarItem) updates) => super.copyWith((message) => updates(message as AvatarItem)) as AvatarItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static AvatarItem create() => AvatarItem._(); + AvatarItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static AvatarItem getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static AvatarItem? _defaultInstance; + + @$pb.TagNumber(1) + $0.SizeSpec get containerSize => $_getN(0); + @$pb.TagNumber(1) + set containerSize($0.SizeSpec v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasContainerSize() => $_has(0); + @$pb.TagNumber(1) + void clearContainerSize() => clearField(1); + @$pb.TagNumber(1) + $0.SizeSpec ensureContainerSize() => $_ensure(0); + + @$pb.TagNumber(2) + $core.List get layers => $_getList(1); + + @$pb.TagNumber(3) + LayerGroup get fallbackLayers => $_getN(2); + @$pb.TagNumber(3) + set fallbackLayers(LayerGroup v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasFallbackLayers() => $_has(2); + @$pb.TagNumber(3) + void clearFallbackLayers() => clearField(3); + @$pb.TagNumber(3) + LayerGroup ensureFallbackLayers() => $_ensure(2); + + @$pb.TagNumber(4) + $fixnum.Int64 get mid => $_getI64(3); + @$pb.TagNumber(4) + set mid($fixnum.Int64 v) { $_setInt64(3, v); } + @$pb.TagNumber(4) + $core.bool hasMid() => $_has(3); + @$pb.TagNumber(4) + void clearMid() => clearField(4); +} + +enum BasicLayerResource_Payload { + resImage, + resAnimation, + resNativeDraw, + notSet +} + +class BasicLayerResource extends $pb.GeneratedMessage { + factory BasicLayerResource({ + $core.int? resType, + ResImage? resImage, + ResAnimation? resAnimation, + ResNativeDraw? resNativeDraw, + }) { + final $result = create(); + if (resType != null) { + $result.resType = resType; + } + if (resImage != null) { + $result.resImage = resImage; + } + if (resAnimation != null) { + $result.resAnimation = resAnimation; + } + if (resNativeDraw != null) { + $result.resNativeDraw = resNativeDraw; + } + return $result; + } + BasicLayerResource._() : super(); + factory BasicLayerResource.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BasicLayerResource.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, BasicLayerResource_Payload> _BasicLayerResource_PayloadByTag = { + 2 : BasicLayerResource_Payload.resImage, + 3 : BasicLayerResource_Payload.resAnimation, + 4 : BasicLayerResource_Payload.resNativeDraw, + 0 : BasicLayerResource_Payload.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BasicLayerResource', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..oo(0, [2, 3, 4]) + ..a<$core.int>(1, _omitFieldNames ? '' : 'resType', $pb.PbFieldType.O3) + ..aOM(2, _omitFieldNames ? '' : 'resImage', subBuilder: ResImage.create) + ..aOM(3, _omitFieldNames ? '' : 'resAnimation', subBuilder: ResAnimation.create) + ..aOM(4, _omitFieldNames ? '' : 'resNativeDraw', subBuilder: ResNativeDraw.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') + BasicLayerResource clone() => BasicLayerResource()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BasicLayerResource copyWith(void Function(BasicLayerResource) updates) => super.copyWith((message) => updates(message as BasicLayerResource)) as BasicLayerResource; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BasicLayerResource create() => BasicLayerResource._(); + BasicLayerResource createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BasicLayerResource getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BasicLayerResource? _defaultInstance; + + BasicLayerResource_Payload whichPayload() => _BasicLayerResource_PayloadByTag[$_whichOneof(0)]!; + void clearPayload() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $core.int get resType => $_getIZ(0); + @$pb.TagNumber(1) + set resType($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasResType() => $_has(0); + @$pb.TagNumber(1) + void clearResType() => clearField(1); + + @$pb.TagNumber(2) + ResImage get resImage => $_getN(1); + @$pb.TagNumber(2) + set resImage(ResImage v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasResImage() => $_has(1); + @$pb.TagNumber(2) + void clearResImage() => clearField(2); + @$pb.TagNumber(2) + ResImage ensureResImage() => $_ensure(1); + + @$pb.TagNumber(3) + ResAnimation get resAnimation => $_getN(2); + @$pb.TagNumber(3) + set resAnimation(ResAnimation v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasResAnimation() => $_has(2); + @$pb.TagNumber(3) + void clearResAnimation() => clearField(3); + @$pb.TagNumber(3) + ResAnimation ensureResAnimation() => $_ensure(2); + + /// / + @$pb.TagNumber(4) + ResNativeDraw get resNativeDraw => $_getN(3); + @$pb.TagNumber(4) + set resNativeDraw(ResNativeDraw v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasResNativeDraw() => $_has(3); + @$pb.TagNumber(4) + void clearResNativeDraw() => clearField(4); + @$pb.TagNumber(4) + ResNativeDraw ensureResNativeDraw() => $_ensure(3); +} + +class GeneralConfig extends $pb.GeneratedMessage { + factory GeneralConfig({ + $core.Map<$core.String, $core.String>? webCssStyle, + }) { + final $result = create(); + if (webCssStyle != null) { + $result.webCssStyle.addAll(webCssStyle); + } + return $result; + } + GeneralConfig._() : super(); + factory GeneralConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GeneralConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeneralConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..m<$core.String, $core.String>(1, _omitFieldNames ? '' : 'webCssStyle', entryClassName: 'GeneralConfig.WebCssStyleEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('bilibili.dagw.component.avatar.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') + GeneralConfig clone() => GeneralConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GeneralConfig copyWith(void Function(GeneralConfig) updates) => super.copyWith((message) => updates(message as GeneralConfig)) as GeneralConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GeneralConfig create() => GeneralConfig._(); + GeneralConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GeneralConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GeneralConfig? _defaultInstance; + + @$pb.TagNumber(1) + $core.Map<$core.String, $core.String> get webCssStyle => $_getMap(0); +} + +class Layer extends $pb.GeneratedMessage { + factory Layer({ + $core.String? layerId, + $core.bool? visible, + $0.LayerGeneralSpec? generalSpec, + LayerConfig? layerConfig, + BasicLayerResource? resource, + }) { + final $result = create(); + if (layerId != null) { + $result.layerId = layerId; + } + if (visible != null) { + $result.visible = visible; + } + if (generalSpec != null) { + $result.generalSpec = generalSpec; + } + if (layerConfig != null) { + $result.layerConfig = layerConfig; + } + if (resource != null) { + $result.resource = resource; + } + return $result; + } + Layer._() : super(); + factory Layer.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Layer.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Layer', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'layerId') + ..aOB(2, _omitFieldNames ? '' : 'visible') + ..aOM<$0.LayerGeneralSpec>(3, _omitFieldNames ? '' : 'generalSpec', subBuilder: $0.LayerGeneralSpec.create) + ..aOM(4, _omitFieldNames ? '' : 'layerConfig', subBuilder: LayerConfig.create) + ..aOM(5, _omitFieldNames ? '' : 'resource', subBuilder: BasicLayerResource.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') + Layer clone() => Layer()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Layer copyWith(void Function(Layer) updates) => super.copyWith((message) => updates(message as Layer)) as Layer; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Layer create() => Layer._(); + Layer createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Layer getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Layer? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get layerId => $_getSZ(0); + @$pb.TagNumber(1) + set layerId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasLayerId() => $_has(0); + @$pb.TagNumber(1) + void clearLayerId() => clearField(1); + + @$pb.TagNumber(2) + $core.bool get visible => $_getBF(1); + @$pb.TagNumber(2) + set visible($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasVisible() => $_has(1); + @$pb.TagNumber(2) + void clearVisible() => clearField(2); + + @$pb.TagNumber(3) + $0.LayerGeneralSpec get generalSpec => $_getN(2); + @$pb.TagNumber(3) + set generalSpec($0.LayerGeneralSpec v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasGeneralSpec() => $_has(2); + @$pb.TagNumber(3) + void clearGeneralSpec() => clearField(3); + @$pb.TagNumber(3) + $0.LayerGeneralSpec ensureGeneralSpec() => $_ensure(2); + + @$pb.TagNumber(4) + LayerConfig get layerConfig => $_getN(3); + @$pb.TagNumber(4) + set layerConfig(LayerConfig v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasLayerConfig() => $_has(3); + @$pb.TagNumber(4) + void clearLayerConfig() => clearField(4); + @$pb.TagNumber(4) + LayerConfig ensureLayerConfig() => $_ensure(3); + + @$pb.TagNumber(5) + BasicLayerResource get resource => $_getN(4); + @$pb.TagNumber(5) + set resource(BasicLayerResource v) { setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasResource() => $_has(4); + @$pb.TagNumber(5) + void clearResource() => clearField(5); + @$pb.TagNumber(5) + BasicLayerResource ensureResource() => $_ensure(4); +} + +class LayerConfig extends $pb.GeneratedMessage { + factory LayerConfig({ + $core.Map<$core.String, LayerTagConfig>? tags, + $core.bool? isCritical, + $core.bool? allowOverPaint, + $0.MaskProperty? layerMask, + }) { + final $result = create(); + if (tags != null) { + $result.tags.addAll(tags); + } + if (isCritical != null) { + $result.isCritical = isCritical; + } + if (allowOverPaint != null) { + $result.allowOverPaint = allowOverPaint; + } + if (layerMask != null) { + $result.layerMask = layerMask; + } + return $result; + } + LayerConfig._() : super(); + factory LayerConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory LayerConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LayerConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..m<$core.String, LayerTagConfig>(1, _omitFieldNames ? '' : 'tags', entryClassName: 'LayerConfig.TagsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: LayerTagConfig.create, valueDefaultOrMaker: LayerTagConfig.getDefault, packageName: const $pb.PackageName('bilibili.dagw.component.avatar.v1')) + ..aOB(2, _omitFieldNames ? '' : 'isCritical') + ..aOB(3, _omitFieldNames ? '' : 'allowOverPaint') + ..aOM<$0.MaskProperty>(4, _omitFieldNames ? '' : 'layerMask', subBuilder: $0.MaskProperty.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') + LayerConfig clone() => LayerConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LayerConfig copyWith(void Function(LayerConfig) updates) => super.copyWith((message) => updates(message as LayerConfig)) as LayerConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LayerConfig create() => LayerConfig._(); + LayerConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LayerConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LayerConfig? _defaultInstance; + + @$pb.TagNumber(1) + $core.Map<$core.String, LayerTagConfig> get tags => $_getMap(0); + + @$pb.TagNumber(2) + $core.bool get isCritical => $_getBF(1); + @$pb.TagNumber(2) + set isCritical($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasIsCritical() => $_has(1); + @$pb.TagNumber(2) + void clearIsCritical() => clearField(2); + + @$pb.TagNumber(3) + $core.bool get allowOverPaint => $_getBF(2); + @$pb.TagNumber(3) + set allowOverPaint($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasAllowOverPaint() => $_has(2); + @$pb.TagNumber(3) + void clearAllowOverPaint() => clearField(3); + + @$pb.TagNumber(4) + $0.MaskProperty get layerMask => $_getN(3); + @$pb.TagNumber(4) + set layerMask($0.MaskProperty v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasLayerMask() => $_has(3); + @$pb.TagNumber(4) + void clearLayerMask() => clearField(4); + @$pb.TagNumber(4) + $0.MaskProperty ensureLayerMask() => $_ensure(3); +} + +class LayerGroup extends $pb.GeneratedMessage { + factory LayerGroup({ + $core.String? groupId, + $core.Iterable? layers, + $0.MaskProperty? groupMask, + $core.bool? isCriticalGroup, + }) { + final $result = create(); + if (groupId != null) { + $result.groupId = groupId; + } + if (layers != null) { + $result.layers.addAll(layers); + } + if (groupMask != null) { + $result.groupMask = groupMask; + } + if (isCriticalGroup != null) { + $result.isCriticalGroup = isCriticalGroup; + } + return $result; + } + LayerGroup._() : super(); + factory LayerGroup.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory LayerGroup.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LayerGroup', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'groupId') + ..pc(2, _omitFieldNames ? '' : 'layers', $pb.PbFieldType.PM, subBuilder: Layer.create) + ..aOM<$0.MaskProperty>(3, _omitFieldNames ? '' : 'groupMask', subBuilder: $0.MaskProperty.create) + ..aOB(4, _omitFieldNames ? '' : 'isCriticalGroup') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LayerGroup clone() => LayerGroup()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LayerGroup copyWith(void Function(LayerGroup) updates) => super.copyWith((message) => updates(message as LayerGroup)) as LayerGroup; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LayerGroup create() => LayerGroup._(); + LayerGroup createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LayerGroup getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LayerGroup? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get groupId => $_getSZ(0); + @$pb.TagNumber(1) + set groupId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasGroupId() => $_has(0); + @$pb.TagNumber(1) + void clearGroupId() => clearField(1); + + @$pb.TagNumber(2) + $core.List get layers => $_getList(1); + + @$pb.TagNumber(3) + $0.MaskProperty get groupMask => $_getN(2); + @$pb.TagNumber(3) + set groupMask($0.MaskProperty v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasGroupMask() => $_has(2); + @$pb.TagNumber(3) + void clearGroupMask() => clearField(3); + @$pb.TagNumber(3) + $0.MaskProperty ensureGroupMask() => $_ensure(2); + + @$pb.TagNumber(4) + $core.bool get isCriticalGroup => $_getBF(3); + @$pb.TagNumber(4) + set isCriticalGroup($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(4) + $core.bool hasIsCriticalGroup() => $_has(3); + @$pb.TagNumber(4) + void clearIsCriticalGroup() => clearField(4); +} + +enum LayerTagConfig_Config { + generalConfig, + gyroConfig, + commentDoubleClickConfig, + liveAnimeConfig, + notSet +} + +class LayerTagConfig extends $pb.GeneratedMessage { + factory LayerTagConfig({ + $core.int? configType, + GeneralConfig? generalConfig, + $1.GyroConfig? gyroConfig, + $1.CommentDoubleClickConfig? commentDoubleClickConfig, + $1.LiveAnimeConfig? liveAnimeConfig, + }) { + final $result = create(); + if (configType != null) { + $result.configType = configType; + } + if (generalConfig != null) { + $result.generalConfig = generalConfig; + } + if (gyroConfig != null) { + $result.gyroConfig = gyroConfig; + } + if (commentDoubleClickConfig != null) { + $result.commentDoubleClickConfig = commentDoubleClickConfig; + } + if (liveAnimeConfig != null) { + $result.liveAnimeConfig = liveAnimeConfig; + } + return $result; + } + LayerTagConfig._() : super(); + factory LayerTagConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory LayerTagConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, LayerTagConfig_Config> _LayerTagConfig_ConfigByTag = { + 2 : LayerTagConfig_Config.generalConfig, + 3 : LayerTagConfig_Config.gyroConfig, + 4 : LayerTagConfig_Config.commentDoubleClickConfig, + 5 : LayerTagConfig_Config.liveAnimeConfig, + 0 : LayerTagConfig_Config.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LayerTagConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..oo(0, [2, 3, 4, 5]) + ..a<$core.int>(1, _omitFieldNames ? '' : 'configType', $pb.PbFieldType.O3) + ..aOM(2, _omitFieldNames ? '' : 'generalConfig', subBuilder: GeneralConfig.create) + ..aOM<$1.GyroConfig>(3, _omitFieldNames ? '' : 'gyroConfig', subBuilder: $1.GyroConfig.create) + ..aOM<$1.CommentDoubleClickConfig>(4, _omitFieldNames ? '' : 'commentDoubleClickConfig', protoName: 'comment_doubleClick_config', subBuilder: $1.CommentDoubleClickConfig.create) + ..aOM<$1.LiveAnimeConfig>(5, _omitFieldNames ? '' : 'liveAnimeConfig', subBuilder: $1.LiveAnimeConfig.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') + LayerTagConfig clone() => LayerTagConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LayerTagConfig copyWith(void Function(LayerTagConfig) updates) => super.copyWith((message) => updates(message as LayerTagConfig)) as LayerTagConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LayerTagConfig create() => LayerTagConfig._(); + LayerTagConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LayerTagConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LayerTagConfig? _defaultInstance; + + LayerTagConfig_Config whichConfig() => _LayerTagConfig_ConfigByTag[$_whichOneof(0)]!; + void clearConfig() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $core.int get configType => $_getIZ(0); + @$pb.TagNumber(1) + set configType($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasConfigType() => $_has(0); + @$pb.TagNumber(1) + void clearConfigType() => clearField(1); + + @$pb.TagNumber(2) + GeneralConfig get generalConfig => $_getN(1); + @$pb.TagNumber(2) + set generalConfig(GeneralConfig v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasGeneralConfig() => $_has(1); + @$pb.TagNumber(2) + void clearGeneralConfig() => clearField(2); + @$pb.TagNumber(2) + GeneralConfig ensureGeneralConfig() => $_ensure(1); + + @$pb.TagNumber(3) + $1.GyroConfig get gyroConfig => $_getN(2); + @$pb.TagNumber(3) + set gyroConfig($1.GyroConfig v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasGyroConfig() => $_has(2); + @$pb.TagNumber(3) + void clearGyroConfig() => clearField(3); + @$pb.TagNumber(3) + $1.GyroConfig ensureGyroConfig() => $_ensure(2); + + @$pb.TagNumber(4) + $1.CommentDoubleClickConfig get commentDoubleClickConfig => $_getN(3); + @$pb.TagNumber(4) + set commentDoubleClickConfig($1.CommentDoubleClickConfig v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasCommentDoubleClickConfig() => $_has(3); + @$pb.TagNumber(4) + void clearCommentDoubleClickConfig() => clearField(4); + @$pb.TagNumber(4) + $1.CommentDoubleClickConfig ensureCommentDoubleClickConfig() => $_ensure(3); + + @$pb.TagNumber(5) + $1.LiveAnimeConfig get liveAnimeConfig => $_getN(4); + @$pb.TagNumber(5) + set liveAnimeConfig($1.LiveAnimeConfig v) { setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasLiveAnimeConfig() => $_has(4); + @$pb.TagNumber(5) + void clearLiveAnimeConfig() => clearField(5); + @$pb.TagNumber(5) + $1.LiveAnimeConfig ensureLiveAnimeConfig() => $_ensure(4); +} + +class ResAnimation extends $pb.GeneratedMessage { + factory ResAnimation({ + $0.ResourceSource? webpSrc, + }) { + final $result = create(); + if (webpSrc != null) { + $result.webpSrc = webpSrc; + } + return $result; + } + ResAnimation._() : super(); + factory ResAnimation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ResAnimation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResAnimation', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..aOM<$0.ResourceSource>(1, _omitFieldNames ? '' : 'webpSrc', subBuilder: $0.ResourceSource.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') + ResAnimation clone() => ResAnimation()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ResAnimation copyWith(void Function(ResAnimation) updates) => super.copyWith((message) => updates(message as ResAnimation)) as ResAnimation; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ResAnimation create() => ResAnimation._(); + ResAnimation createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ResAnimation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ResAnimation? _defaultInstance; + + @$pb.TagNumber(1) + $0.ResourceSource get webpSrc => $_getN(0); + @$pb.TagNumber(1) + set webpSrc($0.ResourceSource v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasWebpSrc() => $_has(0); + @$pb.TagNumber(1) + void clearWebpSrc() => clearField(1); + @$pb.TagNumber(1) + $0.ResourceSource ensureWebpSrc() => $_ensure(0); +} + +class ResImage extends $pb.GeneratedMessage { + factory ResImage({ + $0.ResourceSource? imageSrc, + }) { + final $result = create(); + if (imageSrc != null) { + $result.imageSrc = imageSrc; + } + return $result; + } + ResImage._() : super(); + factory ResImage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ResImage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResImage', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..aOM<$0.ResourceSource>(1, _omitFieldNames ? '' : 'imageSrc', subBuilder: $0.ResourceSource.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') + ResImage clone() => ResImage()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ResImage copyWith(void Function(ResImage) updates) => super.copyWith((message) => updates(message as ResImage)) as ResImage; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ResImage create() => ResImage._(); + ResImage createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ResImage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ResImage? _defaultInstance; + + @$pb.TagNumber(1) + $0.ResourceSource get imageSrc => $_getN(0); + @$pb.TagNumber(1) + set imageSrc($0.ResourceSource v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasImageSrc() => $_has(0); + @$pb.TagNumber(1) + void clearImageSrc() => clearField(1); + @$pb.TagNumber(1) + $0.ResourceSource ensureImageSrc() => $_ensure(0); +} + +class ResNativeDraw extends $pb.GeneratedMessage { + factory ResNativeDraw({ + $0.ResourceSource? drawSrc, + }) { + final $result = create(); + if (drawSrc != null) { + $result.drawSrc = drawSrc; + } + return $result; + } + ResNativeDraw._() : super(); + factory ResNativeDraw.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ResNativeDraw.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResNativeDraw', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1'), createEmptyInstance: create) + ..aOM<$0.ResourceSource>(1, _omitFieldNames ? '' : 'drawSrc', subBuilder: $0.ResourceSource.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') + ResNativeDraw clone() => ResNativeDraw()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ResNativeDraw copyWith(void Function(ResNativeDraw) updates) => super.copyWith((message) => updates(message as ResNativeDraw)) as ResNativeDraw; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ResNativeDraw create() => ResNativeDraw._(); + ResNativeDraw createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ResNativeDraw getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ResNativeDraw? _defaultInstance; + + @$pb.TagNumber(1) + $0.ResourceSource get drawSrc => $_getN(0); + @$pb.TagNumber(1) + set drawSrc($0.ResourceSource v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasDrawSrc() => $_has(0); + @$pb.TagNumber(1) + void clearDrawSrc() => clearField(1); + @$pb.TagNumber(1) + $0.ResourceSource ensureDrawSrc() => $_ensure(0); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/grpc/dagw/component/avatar/v1/avatar.pbenum.dart b/lib/grpc/dagw/component/avatar/v1/avatar.pbenum.dart new file mode 100644 index 00000000..532551bc --- /dev/null +++ b/lib/grpc/dagw/component/avatar/v1/avatar.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: bilibili/dagw/component/avatar/v1/avatar.proto +// +// @dart = 2.12 + +// 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 + diff --git a/lib/grpc/dagw/component/avatar/v1/avatar.pbjson.dart b/lib/grpc/dagw/component/avatar/v1/avatar.pbjson.dart new file mode 100644 index 00000000..2440b727 --- /dev/null +++ b/lib/grpc/dagw/component/avatar/v1/avatar.pbjson.dart @@ -0,0 +1,222 @@ +// +// Generated code. Do not modify. +// source: bilibili/dagw/component/avatar/v1/avatar.proto +// +// @dart = 2.12 + +// 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 avatarItemDescriptor instead') +const AvatarItem$json = { + '1': 'AvatarItem', + '2': [ + {'1': 'container_size', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.SizeSpec', '10': 'containerSize'}, + {'1': 'layers', '3': 2, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerGroup', '10': 'layers'}, + {'1': 'fallback_layers', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerGroup', '10': 'fallbackLayers'}, + {'1': 'mid', '3': 4, '4': 1, '5': 3, '10': 'mid'}, + ], +}; + +/// Descriptor for `AvatarItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List avatarItemDescriptor = $convert.base64Decode( + 'CgpBdmF0YXJJdGVtElYKDmNvbnRhaW5lcl9zaXplGAEgASgLMi8uYmlsaWJpbGkuZGFndy5jb2' + '1wb25lbnQuYXZhdGFyLmNvbW1vbi5TaXplU3BlY1INY29udGFpbmVyU2l6ZRJFCgZsYXllcnMY' + 'AiADKAsyLS5iaWxpYmlsaS5kYWd3LmNvbXBvbmVudC5hdmF0YXIudjEuTGF5ZXJHcm91cFIGbG' + 'F5ZXJzElYKD2ZhbGxiYWNrX2xheWVycxgDIAEoCzItLmJpbGliaWxpLmRhZ3cuY29tcG9uZW50' + 'LmF2YXRhci52MS5MYXllckdyb3VwUg5mYWxsYmFja0xheWVycxIQCgNtaWQYBCABKANSA21pZA' + '=='); + +@$core.Deprecated('Use basicLayerResourceDescriptor instead') +const BasicLayerResource$json = { + '1': 'BasicLayerResource', + '2': [ + {'1': 'res_type', '3': 1, '4': 1, '5': 5, '10': 'resType'}, + {'1': 'res_image', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.ResImage', '9': 0, '10': 'resImage'}, + {'1': 'res_animation', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.ResAnimation', '9': 0, '10': 'resAnimation'}, + {'1': 'res_native_draw', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.ResNativeDraw', '9': 0, '10': 'resNativeDraw'}, + ], + '8': [ + {'1': 'payload'}, + ], +}; + +/// Descriptor for `BasicLayerResource`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List basicLayerResourceDescriptor = $convert.base64Decode( + 'ChJCYXNpY0xheWVyUmVzb3VyY2USGQoIcmVzX3R5cGUYASABKAVSB3Jlc1R5cGUSSgoJcmVzX2' + 'ltYWdlGAIgASgLMisuYmlsaWJpbGkuZGFndy5jb21wb25lbnQuYXZhdGFyLnYxLlJlc0ltYWdl' + 'SABSCHJlc0ltYWdlElYKDXJlc19hbmltYXRpb24YAyABKAsyLy5iaWxpYmlsaS5kYWd3LmNvbX' + 'BvbmVudC5hdmF0YXIudjEuUmVzQW5pbWF0aW9uSABSDHJlc0FuaW1hdGlvbhJaCg9yZXNfbmF0' + 'aXZlX2RyYXcYBCABKAsyMC5iaWxpYmlsaS5kYWd3LmNvbXBvbmVudC5hdmF0YXIudjEuUmVzTm' + 'F0aXZlRHJhd0gAUg1yZXNOYXRpdmVEcmF3QgkKB3BheWxvYWQ='); + +@$core.Deprecated('Use generalConfigDescriptor instead') +const GeneralConfig$json = { + '1': 'GeneralConfig', + '2': [ + {'1': 'web_css_style', '3': 1, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.GeneralConfig.WebCssStyleEntry', '10': 'webCssStyle'}, + ], + '3': [GeneralConfig_WebCssStyleEntry$json], +}; + +@$core.Deprecated('Use generalConfigDescriptor instead') +const GeneralConfig_WebCssStyleEntry$json = { + '1': 'WebCssStyleEntry', + '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 `GeneralConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List generalConfigDescriptor = $convert.base64Decode( + 'Cg1HZW5lcmFsQ29uZmlnEmUKDXdlYl9jc3Nfc3R5bGUYASADKAsyQS5iaWxpYmlsaS5kYWd3Lm' + 'NvbXBvbmVudC5hdmF0YXIudjEuR2VuZXJhbENvbmZpZy5XZWJDc3NTdHlsZUVudHJ5Ugt3ZWJD' + 'c3NTdHlsZRo+ChBXZWJDc3NTdHlsZUVudHJ5EhAKA2tleRgBIAEoCVIDa2V5EhQKBXZhbHVlGA' + 'IgASgJUgV2YWx1ZToCOAE='); + +@$core.Deprecated('Use layerDescriptor instead') +const Layer$json = { + '1': 'Layer', + '2': [ + {'1': 'layer_id', '3': 1, '4': 1, '5': 9, '10': 'layerId'}, + {'1': 'visible', '3': 2, '4': 1, '5': 8, '10': 'visible'}, + {'1': 'general_spec', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.LayerGeneralSpec', '10': 'generalSpec'}, + {'1': 'layer_config', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerConfig', '10': 'layerConfig'}, + {'1': 'resource', '3': 5, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.BasicLayerResource', '10': 'resource'}, + ], +}; + +/// Descriptor for `Layer`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List layerDescriptor = $convert.base64Decode( + 'CgVMYXllchIZCghsYXllcl9pZBgBIAEoCVIHbGF5ZXJJZBIYCgd2aXNpYmxlGAIgASgIUgd2aX' + 'NpYmxlEloKDGdlbmVyYWxfc3BlYxgDIAEoCzI3LmJpbGliaWxpLmRhZ3cuY29tcG9uZW50LmF2' + 'YXRhci5jb21tb24uTGF5ZXJHZW5lcmFsU3BlY1ILZ2VuZXJhbFNwZWMSUQoMbGF5ZXJfY29uZm' + 'lnGAQgASgLMi4uYmlsaWJpbGkuZGFndy5jb21wb25lbnQuYXZhdGFyLnYxLkxheWVyQ29uZmln' + 'UgtsYXllckNvbmZpZxJRCghyZXNvdXJjZRgFIAEoCzI1LmJpbGliaWxpLmRhZ3cuY29tcG9uZW' + '50LmF2YXRhci52MS5CYXNpY0xheWVyUmVzb3VyY2VSCHJlc291cmNl'); + +@$core.Deprecated('Use layerConfigDescriptor instead') +const LayerConfig$json = { + '1': 'LayerConfig', + '2': [ + {'1': 'tags', '3': 1, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerConfig.TagsEntry', '10': 'tags'}, + {'1': 'is_critical', '3': 2, '4': 1, '5': 8, '10': 'isCritical'}, + {'1': 'allow_over_paint', '3': 3, '4': 1, '5': 8, '10': 'allowOverPaint'}, + {'1': 'layer_mask', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.MaskProperty', '10': 'layerMask'}, + ], + '3': [LayerConfig_TagsEntry$json], +}; + +@$core.Deprecated('Use layerConfigDescriptor instead') +const LayerConfig_TagsEntry$json = { + '1': 'TagsEntry', + '2': [ + {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, + {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.LayerTagConfig', '10': 'value'}, + ], + '7': {'7': true}, +}; + +/// Descriptor for `LayerConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List layerConfigDescriptor = $convert.base64Decode( + 'CgtMYXllckNvbmZpZxJMCgR0YWdzGAEgAygLMjguYmlsaWJpbGkuZGFndy5jb21wb25lbnQuYX' + 'ZhdGFyLnYxLkxheWVyQ29uZmlnLlRhZ3NFbnRyeVIEdGFncxIfCgtpc19jcml0aWNhbBgCIAEo' + 'CFIKaXNDcml0aWNhbBIoChBhbGxvd19vdmVyX3BhaW50GAMgASgIUg5hbGxvd092ZXJQYWludB' + 'JSCgpsYXllcl9tYXNrGAQgASgLMjMuYmlsaWJpbGkuZGFndy5jb21wb25lbnQuYXZhdGFyLmNv' + 'bW1vbi5NYXNrUHJvcGVydHlSCWxheWVyTWFzaxpqCglUYWdzRW50cnkSEAoDa2V5GAEgASgJUg' + 'NrZXkSRwoFdmFsdWUYAiABKAsyMS5iaWxpYmlsaS5kYWd3LmNvbXBvbmVudC5hdmF0YXIudjEu' + 'TGF5ZXJUYWdDb25maWdSBXZhbHVlOgI4AQ=='); + +@$core.Deprecated('Use layerGroupDescriptor instead') +const LayerGroup$json = { + '1': 'LayerGroup', + '2': [ + {'1': 'group_id', '3': 1, '4': 1, '5': 9, '10': 'groupId'}, + {'1': 'layers', '3': 2, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.Layer', '10': 'layers'}, + {'1': 'group_mask', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.MaskProperty', '10': 'groupMask'}, + {'1': 'is_critical_group', '3': 4, '4': 1, '5': 8, '10': 'isCriticalGroup'}, + ], +}; + +/// Descriptor for `LayerGroup`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List layerGroupDescriptor = $convert.base64Decode( + 'CgpMYXllckdyb3VwEhkKCGdyb3VwX2lkGAEgASgJUgdncm91cElkEkAKBmxheWVycxgCIAMoCz' + 'IoLmJpbGliaWxpLmRhZ3cuY29tcG9uZW50LmF2YXRhci52MS5MYXllclIGbGF5ZXJzElIKCmdy' + 'b3VwX21hc2sYAyABKAsyMy5iaWxpYmlsaS5kYWd3LmNvbXBvbmVudC5hdmF0YXIuY29tbW9uLk' + '1hc2tQcm9wZXJ0eVIJZ3JvdXBNYXNrEioKEWlzX2NyaXRpY2FsX2dyb3VwGAQgASgIUg9pc0Ny' + 'aXRpY2FsR3JvdXA='); + +@$core.Deprecated('Use layerTagConfigDescriptor instead') +const LayerTagConfig$json = { + '1': 'LayerTagConfig', + '2': [ + {'1': 'config_type', '3': 1, '4': 1, '5': 5, '10': 'configType'}, + {'1': 'general_config', '3': 2, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.GeneralConfig', '9': 0, '10': 'generalConfig'}, + {'1': 'gyro_config', '3': 3, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.GyroConfig', '9': 0, '10': 'gyroConfig'}, + {'1': 'comment_doubleClick_config', '3': 4, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.CommentDoubleClickConfig', '9': 0, '10': 'commentDoubleClickConfig'}, + {'1': 'live_anime_config', '3': 5, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.LiveAnimeConfig', '9': 0, '10': 'liveAnimeConfig'}, + ], + '8': [ + {'1': 'config'}, + ], +}; + +/// Descriptor for `LayerTagConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List layerTagConfigDescriptor = $convert.base64Decode( + 'Cg5MYXllclRhZ0NvbmZpZxIfCgtjb25maWdfdHlwZRgBIAEoBVIKY29uZmlnVHlwZRJZCg5nZW' + '5lcmFsX2NvbmZpZxgCIAEoCzIwLmJpbGliaWxpLmRhZ3cuY29tcG9uZW50LmF2YXRhci52MS5H' + 'ZW5lcmFsQ29uZmlnSABSDWdlbmVyYWxDb25maWcSVwoLZ3lyb19jb25maWcYAyABKAsyNC5iaW' + 'xpYmlsaS5kYWd3LmNvbXBvbmVudC5hdmF0YXIudjEucGx1Z2luLkd5cm9Db25maWdIAFIKZ3ly' + 'b0NvbmZpZxKCAQoaY29tbWVudF9kb3VibGVDbGlja19jb25maWcYBCABKAsyQi5iaWxpYmlsaS' + '5kYWd3LmNvbXBvbmVudC5hdmF0YXIudjEucGx1Z2luLkNvbW1lbnREb3VibGVDbGlja0NvbmZp' + 'Z0gAUhhjb21tZW50RG91YmxlQ2xpY2tDb25maWcSZwoRbGl2ZV9hbmltZV9jb25maWcYBSABKA' + 'syOS5iaWxpYmlsaS5kYWd3LmNvbXBvbmVudC5hdmF0YXIudjEucGx1Z2luLkxpdmVBbmltZUNv' + 'bmZpZ0gAUg9saXZlQW5pbWVDb25maWdCCAoGY29uZmln'); + +@$core.Deprecated('Use resAnimationDescriptor instead') +const ResAnimation$json = { + '1': 'ResAnimation', + '2': [ + {'1': 'webp_src', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'webpSrc'}, + ], +}; + +/// Descriptor for `ResAnimation`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List resAnimationDescriptor = $convert.base64Decode( + 'CgxSZXNBbmltYXRpb24SUAoId2VicF9zcmMYASABKAsyNS5iaWxpYmlsaS5kYWd3LmNvbXBvbm' + 'VudC5hdmF0YXIuY29tbW9uLlJlc291cmNlU291cmNlUgd3ZWJwU3Jj'); + +@$core.Deprecated('Use resImageDescriptor instead') +const ResImage$json = { + '1': 'ResImage', + '2': [ + {'1': 'image_src', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'imageSrc'}, + ], +}; + +/// Descriptor for `ResImage`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List resImageDescriptor = $convert.base64Decode( + 'CghSZXNJbWFnZRJSCglpbWFnZV9zcmMYASABKAsyNS5iaWxpYmlsaS5kYWd3LmNvbXBvbmVudC' + '5hdmF0YXIuY29tbW9uLlJlc291cmNlU291cmNlUghpbWFnZVNyYw=='); + +@$core.Deprecated('Use resNativeDrawDescriptor instead') +const ResNativeDraw$json = { + '1': 'ResNativeDraw', + '2': [ + {'1': 'draw_src', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ResourceSource', '10': 'drawSrc'}, + ], +}; + +/// Descriptor for `ResNativeDraw`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List resNativeDrawDescriptor = $convert.base64Decode( + 'Cg1SZXNOYXRpdmVEcmF3ElAKCGRyYXdfc3JjGAEgASgLMjUuYmlsaWJpbGkuZGFndy5jb21wb2' + '5lbnQuYXZhdGFyLmNvbW1vbi5SZXNvdXJjZVNvdXJjZVIHZHJhd1NyYw=='); + diff --git a/lib/grpc/dagw/component/avatar/v1/plugin.pb.dart b/lib/grpc/dagw/component/avatar/v1/plugin.pb.dart new file mode 100644 index 00000000..0e72fb27 --- /dev/null +++ b/lib/grpc/dagw/component/avatar/v1/plugin.pb.dart @@ -0,0 +1,699 @@ +// +// Generated code. Do not modify. +// source: bilibili/dagw/component/avatar/v1/plugin.proto +// +// @dart = 2.12 + +// 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 '../common/common.pb.dart' as $0; + +class CommentDoubleClickConfig extends $pb.GeneratedMessage { + factory CommentDoubleClickConfig({ + Interaction? interaction, + $core.double? animationScale, + }) { + final $result = create(); + if (interaction != null) { + $result.interaction = interaction; + } + if (animationScale != null) { + $result.animationScale = animationScale; + } + return $result; + } + CommentDoubleClickConfig._() : super(); + factory CommentDoubleClickConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CommentDoubleClickConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CommentDoubleClickConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'interaction', subBuilder: Interaction.create) + ..a<$core.double>(2, _omitFieldNames ? '' : 'animationScale', $pb.PbFieldType.OD) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CommentDoubleClickConfig clone() => CommentDoubleClickConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CommentDoubleClickConfig copyWith(void Function(CommentDoubleClickConfig) updates) => super.copyWith((message) => updates(message as CommentDoubleClickConfig)) as CommentDoubleClickConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CommentDoubleClickConfig create() => CommentDoubleClickConfig._(); + CommentDoubleClickConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CommentDoubleClickConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CommentDoubleClickConfig? _defaultInstance; + + @$pb.TagNumber(1) + Interaction get interaction => $_getN(0); + @$pb.TagNumber(1) + set interaction(Interaction v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasInteraction() => $_has(0); + @$pb.TagNumber(1) + void clearInteraction() => clearField(1); + @$pb.TagNumber(1) + Interaction ensureInteraction() => $_ensure(0); + + @$pb.TagNumber(2) + $core.double get animationScale => $_getN(1); + @$pb.TagNumber(2) + set animationScale($core.double v) { $_setDouble(1, v); } + @$pb.TagNumber(2) + $core.bool hasAnimationScale() => $_has(1); + @$pb.TagNumber(2) + void clearAnimationScale() => clearField(2); +} + +class GyroConfig extends $pb.GeneratedMessage { + factory GyroConfig({ + NFTImageV2? gyroscope, + }) { + final $result = create(); + if (gyroscope != null) { + $result.gyroscope = gyroscope; + } + return $result; + } + GyroConfig._() : super(); + factory GyroConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GyroConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GyroConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'gyroscope', subBuilder: NFTImageV2.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') + GyroConfig clone() => GyroConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GyroConfig copyWith(void Function(GyroConfig) updates) => super.copyWith((message) => updates(message as GyroConfig)) as GyroConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GyroConfig create() => GyroConfig._(); + GyroConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GyroConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GyroConfig? _defaultInstance; + + @$pb.TagNumber(1) + NFTImageV2 get gyroscope => $_getN(0); + @$pb.TagNumber(1) + set gyroscope(NFTImageV2 v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasGyroscope() => $_has(0); + @$pb.TagNumber(1) + void clearGyroscope() => clearField(1); + @$pb.TagNumber(1) + NFTImageV2 ensureGyroscope() => $_ensure(0); +} + +class GyroscopeContentV2 extends $pb.GeneratedMessage { + factory GyroscopeContentV2({ + $core.String? fileUrl, + $core.double? scale, + $core.Iterable? physicalOrientation, + }) { + final $result = create(); + if (fileUrl != null) { + $result.fileUrl = fileUrl; + } + if (scale != null) { + $result.scale = scale; + } + if (physicalOrientation != null) { + $result.physicalOrientation.addAll(physicalOrientation); + } + return $result; + } + GyroscopeContentV2._() : super(); + factory GyroscopeContentV2.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GyroscopeContentV2.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GyroscopeContentV2', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'fileUrl') + ..a<$core.double>(2, _omitFieldNames ? '' : 'scale', $pb.PbFieldType.OF) + ..pc(3, _omitFieldNames ? '' : 'physicalOrientation', $pb.PbFieldType.PM, subBuilder: PhysicalOrientationV2.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') + GyroscopeContentV2 clone() => GyroscopeContentV2()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GyroscopeContentV2 copyWith(void Function(GyroscopeContentV2) updates) => super.copyWith((message) => updates(message as GyroscopeContentV2)) as GyroscopeContentV2; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GyroscopeContentV2 create() => GyroscopeContentV2._(); + GyroscopeContentV2 createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GyroscopeContentV2 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GyroscopeContentV2? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get fileUrl => $_getSZ(0); + @$pb.TagNumber(1) + set fileUrl($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasFileUrl() => $_has(0); + @$pb.TagNumber(1) + void clearFileUrl() => clearField(1); + + @$pb.TagNumber(2) + $core.double get scale => $_getN(1); + @$pb.TagNumber(2) + set scale($core.double v) { $_setFloat(1, v); } + @$pb.TagNumber(2) + $core.bool hasScale() => $_has(1); + @$pb.TagNumber(2) + void clearScale() => clearField(2); + + @$pb.TagNumber(3) + $core.List get physicalOrientation => $_getList(2); +} + +class GyroscopeEntityV2 extends $pb.GeneratedMessage { + factory GyroscopeEntityV2({ + $core.String? displayType, + $core.Iterable? contents, + }) { + final $result = create(); + if (displayType != null) { + $result.displayType = displayType; + } + if (contents != null) { + $result.contents.addAll(contents); + } + return $result; + } + GyroscopeEntityV2._() : super(); + factory GyroscopeEntityV2.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GyroscopeEntityV2.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GyroscopeEntityV2', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'displayType') + ..pc(2, _omitFieldNames ? '' : 'contents', $pb.PbFieldType.PM, subBuilder: GyroscopeContentV2.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') + GyroscopeEntityV2 clone() => GyroscopeEntityV2()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GyroscopeEntityV2 copyWith(void Function(GyroscopeEntityV2) updates) => super.copyWith((message) => updates(message as GyroscopeEntityV2)) as GyroscopeEntityV2; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GyroscopeEntityV2 create() => GyroscopeEntityV2._(); + GyroscopeEntityV2 createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GyroscopeEntityV2 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GyroscopeEntityV2? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get displayType => $_getSZ(0); + @$pb.TagNumber(1) + set displayType($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasDisplayType() => $_has(0); + @$pb.TagNumber(1) + void clearDisplayType() => clearField(1); + + @$pb.TagNumber(2) + $core.List get contents => $_getList(1); +} + +class Interaction extends $pb.GeneratedMessage { + factory Interaction({ + $core.String? nftId, + $core.bool? enabled, + $core.String? itype, + $core.String? metadataUrl, + }) { + final $result = create(); + if (nftId != null) { + $result.nftId = nftId; + } + if (enabled != null) { + $result.enabled = enabled; + } + if (itype != null) { + $result.itype = itype; + } + if (metadataUrl != null) { + $result.metadataUrl = metadataUrl; + } + return $result; + } + Interaction._() : super(); + factory Interaction.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Interaction.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Interaction', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'nftId') + ..aOB(2, _omitFieldNames ? '' : 'enabled') + ..aOS(3, _omitFieldNames ? '' : 'itype') + ..aOS(4, _omitFieldNames ? '' : 'metadataUrl') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Interaction clone() => Interaction()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Interaction copyWith(void Function(Interaction) updates) => super.copyWith((message) => updates(message as Interaction)) as Interaction; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Interaction create() => Interaction._(); + Interaction createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Interaction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Interaction? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get nftId => $_getSZ(0); + @$pb.TagNumber(1) + set nftId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasNftId() => $_has(0); + @$pb.TagNumber(1) + void clearNftId() => clearField(1); + + @$pb.TagNumber(2) + $core.bool get enabled => $_getBF(1); + @$pb.TagNumber(2) + set enabled($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasEnabled() => $_has(1); + @$pb.TagNumber(2) + void clearEnabled() => clearField(2); + + @$pb.TagNumber(3) + $core.String get itype => $_getSZ(2); + @$pb.TagNumber(3) + set itype($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasItype() => $_has(2); + @$pb.TagNumber(3) + void clearItype() => clearField(3); + + @$pb.TagNumber(4) + $core.String get metadataUrl => $_getSZ(3); + @$pb.TagNumber(4) + set metadataUrl($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasMetadataUrl() => $_has(3); + @$pb.TagNumber(4) + void clearMetadataUrl() => clearField(4); +} + +class LiveAnimeConfig extends $pb.GeneratedMessage { + factory LiveAnimeConfig({ + $core.bool? isLive, + }) { + final $result = create(); + if (isLive != null) { + $result.isLive = isLive; + } + return $result; + } + LiveAnimeConfig._() : super(); + factory LiveAnimeConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory LiveAnimeConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LiveAnimeConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..aOB(1, _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') + LiveAnimeConfig clone() => LiveAnimeConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LiveAnimeConfig copyWith(void Function(LiveAnimeConfig) updates) => super.copyWith((message) => updates(message as LiveAnimeConfig)) as LiveAnimeConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LiveAnimeConfig create() => LiveAnimeConfig._(); + LiveAnimeConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LiveAnimeConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LiveAnimeConfig? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get isLive => $_getBF(0); + @$pb.TagNumber(1) + set isLive($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasIsLive() => $_has(0); + @$pb.TagNumber(1) + void clearIsLive() => clearField(1); +} + +class LiveAnimeItem extends $pb.GeneratedMessage { + factory LiveAnimeItem({ + $0.ColorConfig? color, + $core.double? startRatio, + $core.double? endRatio, + $core.double? startStroke, + $core.double? startOpacity, + $fixnum.Int64? phase, + }) { + final $result = create(); + if (color != null) { + $result.color = color; + } + if (startRatio != null) { + $result.startRatio = startRatio; + } + if (endRatio != null) { + $result.endRatio = endRatio; + } + if (startStroke != null) { + $result.startStroke = startStroke; + } + if (startOpacity != null) { + $result.startOpacity = startOpacity; + } + if (phase != null) { + $result.phase = phase; + } + return $result; + } + LiveAnimeItem._() : super(); + factory LiveAnimeItem.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory LiveAnimeItem.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LiveAnimeItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..aOM<$0.ColorConfig>(1, _omitFieldNames ? '' : 'color', subBuilder: $0.ColorConfig.create) + ..a<$core.double>(2, _omitFieldNames ? '' : 'startRatio', $pb.PbFieldType.OD) + ..a<$core.double>(3, _omitFieldNames ? '' : 'endRatio', $pb.PbFieldType.OD) + ..a<$core.double>(4, _omitFieldNames ? '' : 'startStroke', $pb.PbFieldType.OD) + ..a<$core.double>(5, _omitFieldNames ? '' : 'startOpacity', $pb.PbFieldType.OD) + ..aInt64(6, _omitFieldNames ? '' : 'phase') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LiveAnimeItem clone() => LiveAnimeItem()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LiveAnimeItem copyWith(void Function(LiveAnimeItem) updates) => super.copyWith((message) => updates(message as LiveAnimeItem)) as LiveAnimeItem; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LiveAnimeItem create() => LiveAnimeItem._(); + LiveAnimeItem createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LiveAnimeItem getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LiveAnimeItem? _defaultInstance; + + @$pb.TagNumber(1) + $0.ColorConfig get color => $_getN(0); + @$pb.TagNumber(1) + set color($0.ColorConfig v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasColor() => $_has(0); + @$pb.TagNumber(1) + void clearColor() => clearField(1); + @$pb.TagNumber(1) + $0.ColorConfig ensureColor() => $_ensure(0); + + @$pb.TagNumber(2) + $core.double get startRatio => $_getN(1); + @$pb.TagNumber(2) + set startRatio($core.double v) { $_setDouble(1, v); } + @$pb.TagNumber(2) + $core.bool hasStartRatio() => $_has(1); + @$pb.TagNumber(2) + void clearStartRatio() => clearField(2); + + @$pb.TagNumber(3) + $core.double get endRatio => $_getN(2); + @$pb.TagNumber(3) + set endRatio($core.double v) { $_setDouble(2, v); } + @$pb.TagNumber(3) + $core.bool hasEndRatio() => $_has(2); + @$pb.TagNumber(3) + void clearEndRatio() => clearField(3); + + @$pb.TagNumber(4) + $core.double get startStroke => $_getN(3); + @$pb.TagNumber(4) + set startStroke($core.double v) { $_setDouble(3, v); } + @$pb.TagNumber(4) + $core.bool hasStartStroke() => $_has(3); + @$pb.TagNumber(4) + void clearStartStroke() => clearField(4); + + @$pb.TagNumber(5) + $core.double get startOpacity => $_getN(4); + @$pb.TagNumber(5) + set startOpacity($core.double v) { $_setDouble(4, v); } + @$pb.TagNumber(5) + $core.bool hasStartOpacity() => $_has(4); + @$pb.TagNumber(5) + void clearStartOpacity() => clearField(5); + + @$pb.TagNumber(6) + $fixnum.Int64 get phase => $_getI64(5); + @$pb.TagNumber(6) + set phase($fixnum.Int64 v) { $_setInt64(5, v); } + @$pb.TagNumber(6) + $core.bool hasPhase() => $_has(5); + @$pb.TagNumber(6) + void clearPhase() => clearField(6); +} + +class NFTImageV2 extends $pb.GeneratedMessage { + factory NFTImageV2({ + $core.Iterable? gyroscope, + }) { + final $result = create(); + if (gyroscope != null) { + $result.gyroscope.addAll(gyroscope); + } + return $result; + } + NFTImageV2._() : super(); + factory NFTImageV2.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NFTImageV2.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NFTImageV2', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'gyroscope', $pb.PbFieldType.PM, subBuilder: GyroscopeEntityV2.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') + NFTImageV2 clone() => NFTImageV2()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NFTImageV2 copyWith(void Function(NFTImageV2) updates) => super.copyWith((message) => updates(message as NFTImageV2)) as NFTImageV2; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NFTImageV2 create() => NFTImageV2._(); + NFTImageV2 createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NFTImageV2 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NFTImageV2? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get gyroscope => $_getList(0); +} + +class PhysicalOrientationAnimation extends $pb.GeneratedMessage { + factory PhysicalOrientationAnimation({ + $core.String? type, + $core.String? bezier, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (bezier != null) { + $result.bezier = bezier; + } + return $result; + } + PhysicalOrientationAnimation._() : super(); + factory PhysicalOrientationAnimation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PhysicalOrientationAnimation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PhysicalOrientationAnimation', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'type') + ..aOS(3, _omitFieldNames ? '' : 'bezier') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PhysicalOrientationAnimation clone() => PhysicalOrientationAnimation()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PhysicalOrientationAnimation copyWith(void Function(PhysicalOrientationAnimation) updates) => super.copyWith((message) => updates(message as PhysicalOrientationAnimation)) as PhysicalOrientationAnimation; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PhysicalOrientationAnimation create() => PhysicalOrientationAnimation._(); + PhysicalOrientationAnimation createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PhysicalOrientationAnimation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PhysicalOrientationAnimation? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get type => $_getSZ(0); + @$pb.TagNumber(1) + set type($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + @$pb.TagNumber(3) + $core.String get bezier => $_getSZ(1); + @$pb.TagNumber(3) + set bezier($core.String v) { $_setString(1, v); } + @$pb.TagNumber(3) + $core.bool hasBezier() => $_has(1); + @$pb.TagNumber(3) + void clearBezier() => clearField(3); +} + +class PhysicalOrientationV2 extends $pb.GeneratedMessage { + factory PhysicalOrientationV2({ + $core.String? type, + $core.Iterable? animations, + }) { + final $result = create(); + if (type != null) { + $result.type = type; + } + if (animations != null) { + $result.animations.addAll(animations); + } + return $result; + } + PhysicalOrientationV2._() : super(); + factory PhysicalOrientationV2.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PhysicalOrientationV2.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PhysicalOrientationV2', package: const $pb.PackageName(_omitMessageNames ? '' : 'bilibili.dagw.component.avatar.v1.plugin'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'type') + ..pc(3, _omitFieldNames ? '' : 'animations', $pb.PbFieldType.PM, subBuilder: PhysicalOrientationAnimation.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') + PhysicalOrientationV2 clone() => PhysicalOrientationV2()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PhysicalOrientationV2 copyWith(void Function(PhysicalOrientationV2) updates) => super.copyWith((message) => updates(message as PhysicalOrientationV2)) as PhysicalOrientationV2; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PhysicalOrientationV2 create() => PhysicalOrientationV2._(); + PhysicalOrientationV2 createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PhysicalOrientationV2 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PhysicalOrientationV2? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get type => $_getSZ(0); + @$pb.TagNumber(1) + set type($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasType() => $_has(0); + @$pb.TagNumber(1) + void clearType() => clearField(1); + + @$pb.TagNumber(3) + $core.List get animations => $_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/dagw/component/avatar/v1/plugin.pbenum.dart b/lib/grpc/dagw/component/avatar/v1/plugin.pbenum.dart new file mode 100644 index 00000000..e400a704 --- /dev/null +++ b/lib/grpc/dagw/component/avatar/v1/plugin.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: bilibili/dagw/component/avatar/v1/plugin.proto +// +// @dart = 2.12 + +// 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 + diff --git a/lib/grpc/dagw/component/avatar/v1/plugin.pbjson.dart b/lib/grpc/dagw/component/avatar/v1/plugin.pbjson.dart new file mode 100644 index 00000000..6492a1e2 --- /dev/null +++ b/lib/grpc/dagw/component/avatar/v1/plugin.pbjson.dart @@ -0,0 +1,167 @@ +// +// Generated code. Do not modify. +// source: bilibili/dagw/component/avatar/v1/plugin.proto +// +// @dart = 2.12 + +// 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 commentDoubleClickConfigDescriptor instead') +const CommentDoubleClickConfig$json = { + '1': 'CommentDoubleClickConfig', + '2': [ + {'1': 'interaction', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.Interaction', '10': 'interaction'}, + {'1': 'animation_scale', '3': 2, '4': 1, '5': 1, '10': 'animationScale'}, + ], +}; + +/// Descriptor for `CommentDoubleClickConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List commentDoubleClickConfigDescriptor = $convert.base64Decode( + 'ChhDb21tZW50RG91YmxlQ2xpY2tDb25maWcSVwoLaW50ZXJhY3Rpb24YASABKAsyNS5iaWxpYm' + 'lsaS5kYWd3LmNvbXBvbmVudC5hdmF0YXIudjEucGx1Z2luLkludGVyYWN0aW9uUgtpbnRlcmFj' + 'dGlvbhInCg9hbmltYXRpb25fc2NhbGUYAiABKAFSDmFuaW1hdGlvblNjYWxl'); + +@$core.Deprecated('Use gyroConfigDescriptor instead') +const GyroConfig$json = { + '1': 'GyroConfig', + '2': [ + {'1': 'gyroscope', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.NFTImageV2', '10': 'gyroscope'}, + ], +}; + +/// Descriptor for `GyroConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List gyroConfigDescriptor = $convert.base64Decode( + 'CgpHeXJvQ29uZmlnElIKCWd5cm9zY29wZRgBIAEoCzI0LmJpbGliaWxpLmRhZ3cuY29tcG9uZW' + '50LmF2YXRhci52MS5wbHVnaW4uTkZUSW1hZ2VWMlIJZ3lyb3Njb3Bl'); + +@$core.Deprecated('Use gyroscopeContentV2Descriptor instead') +const GyroscopeContentV2$json = { + '1': 'GyroscopeContentV2', + '2': [ + {'1': 'file_url', '3': 1, '4': 1, '5': 9, '10': 'fileUrl'}, + {'1': 'scale', '3': 2, '4': 1, '5': 2, '10': 'scale'}, + {'1': 'physical_orientation', '3': 3, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.PhysicalOrientationV2', '10': 'physicalOrientation'}, + ], +}; + +/// Descriptor for `GyroscopeContentV2`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List gyroscopeContentV2Descriptor = $convert.base64Decode( + 'ChJHeXJvc2NvcGVDb250ZW50VjISGQoIZmlsZV91cmwYASABKAlSB2ZpbGVVcmwSFAoFc2NhbG' + 'UYAiABKAJSBXNjYWxlEnIKFHBoeXNpY2FsX29yaWVudGF0aW9uGAMgAygLMj8uYmlsaWJpbGku' + 'ZGFndy5jb21wb25lbnQuYXZhdGFyLnYxLnBsdWdpbi5QaHlzaWNhbE9yaWVudGF0aW9uVjJSE3' + 'BoeXNpY2FsT3JpZW50YXRpb24='); + +@$core.Deprecated('Use gyroscopeEntityV2Descriptor instead') +const GyroscopeEntityV2$json = { + '1': 'GyroscopeEntityV2', + '2': [ + {'1': 'display_type', '3': 1, '4': 1, '5': 9, '10': 'displayType'}, + {'1': 'contents', '3': 2, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.GyroscopeContentV2', '10': 'contents'}, + ], +}; + +/// Descriptor for `GyroscopeEntityV2`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List gyroscopeEntityV2Descriptor = $convert.base64Decode( + 'ChFHeXJvc2NvcGVFbnRpdHlWMhIhCgxkaXNwbGF5X3R5cGUYASABKAlSC2Rpc3BsYXlUeXBlEl' + 'gKCGNvbnRlbnRzGAIgAygLMjwuYmlsaWJpbGkuZGFndy5jb21wb25lbnQuYXZhdGFyLnYxLnBs' + 'dWdpbi5HeXJvc2NvcGVDb250ZW50VjJSCGNvbnRlbnRz'); + +@$core.Deprecated('Use interactionDescriptor instead') +const Interaction$json = { + '1': 'Interaction', + '2': [ + {'1': 'nft_id', '3': 1, '4': 1, '5': 9, '10': 'nftId'}, + {'1': 'enabled', '3': 2, '4': 1, '5': 8, '10': 'enabled'}, + {'1': 'itype', '3': 3, '4': 1, '5': 9, '10': 'itype'}, + {'1': 'metadata_url', '3': 4, '4': 1, '5': 9, '10': 'metadataUrl'}, + ], +}; + +/// Descriptor for `Interaction`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List interactionDescriptor = $convert.base64Decode( + 'CgtJbnRlcmFjdGlvbhIVCgZuZnRfaWQYASABKAlSBW5mdElkEhgKB2VuYWJsZWQYAiABKAhSB2' + 'VuYWJsZWQSFAoFaXR5cGUYAyABKAlSBWl0eXBlEiEKDG1ldGFkYXRhX3VybBgEIAEoCVILbWV0' + 'YWRhdGFVcmw='); + +@$core.Deprecated('Use liveAnimeConfigDescriptor instead') +const LiveAnimeConfig$json = { + '1': 'LiveAnimeConfig', + '2': [ + {'1': 'is_live', '3': 1, '4': 1, '5': 8, '10': 'isLive'}, + ], +}; + +/// Descriptor for `LiveAnimeConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List liveAnimeConfigDescriptor = $convert.base64Decode( + 'Cg9MaXZlQW5pbWVDb25maWcSFwoHaXNfbGl2ZRgBIAEoCFIGaXNMaXZl'); + +@$core.Deprecated('Use liveAnimeItemDescriptor instead') +const LiveAnimeItem$json = { + '1': 'LiveAnimeItem', + '2': [ + {'1': 'color', '3': 1, '4': 1, '5': 11, '6': '.bilibili.dagw.component.avatar.common.ColorConfig', '10': 'color'}, + {'1': 'start_ratio', '3': 2, '4': 1, '5': 1, '10': 'startRatio'}, + {'1': 'end_ratio', '3': 3, '4': 1, '5': 1, '10': 'endRatio'}, + {'1': 'start_stroke', '3': 4, '4': 1, '5': 1, '10': 'startStroke'}, + {'1': 'start_opacity', '3': 5, '4': 1, '5': 1, '10': 'startOpacity'}, + {'1': 'phase', '3': 6, '4': 1, '5': 3, '10': 'phase'}, + ], +}; + +/// Descriptor for `LiveAnimeItem`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List liveAnimeItemDescriptor = $convert.base64Decode( + 'Cg1MaXZlQW5pbWVJdGVtEkgKBWNvbG9yGAEgASgLMjIuYmlsaWJpbGkuZGFndy5jb21wb25lbn' + 'QuYXZhdGFyLmNvbW1vbi5Db2xvckNvbmZpZ1IFY29sb3ISHwoLc3RhcnRfcmF0aW8YAiABKAFS' + 'CnN0YXJ0UmF0aW8SGwoJZW5kX3JhdGlvGAMgASgBUghlbmRSYXRpbxIhCgxzdGFydF9zdHJva2' + 'UYBCABKAFSC3N0YXJ0U3Ryb2tlEiMKDXN0YXJ0X29wYWNpdHkYBSABKAFSDHN0YXJ0T3BhY2l0' + 'eRIUCgVwaGFzZRgGIAEoA1IFcGhhc2U='); + +@$core.Deprecated('Use nFTImageV2Descriptor instead') +const NFTImageV2$json = { + '1': 'NFTImageV2', + '2': [ + {'1': 'gyroscope', '3': 1, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.GyroscopeEntityV2', '10': 'gyroscope'}, + ], +}; + +/// Descriptor for `NFTImageV2`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List nFTImageV2Descriptor = $convert.base64Decode( + 'CgpORlRJbWFnZVYyElkKCWd5cm9zY29wZRgBIAMoCzI7LmJpbGliaWxpLmRhZ3cuY29tcG9uZW' + '50LmF2YXRhci52MS5wbHVnaW4uR3lyb3Njb3BlRW50aXR5VjJSCWd5cm9zY29wZQ=='); + +@$core.Deprecated('Use physicalOrientationAnimationDescriptor instead') +const PhysicalOrientationAnimation$json = { + '1': 'PhysicalOrientationAnimation', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, + {'1': 'bezier', '3': 3, '4': 1, '5': 9, '10': 'bezier'}, + ], +}; + +/// Descriptor for `PhysicalOrientationAnimation`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List physicalOrientationAnimationDescriptor = $convert.base64Decode( + 'ChxQaHlzaWNhbE9yaWVudGF0aW9uQW5pbWF0aW9uEhIKBHR5cGUYASABKAlSBHR5cGUSFgoGYm' + 'V6aWVyGAMgASgJUgZiZXppZXI='); + +@$core.Deprecated('Use physicalOrientationV2Descriptor instead') +const PhysicalOrientationV2$json = { + '1': 'PhysicalOrientationV2', + '2': [ + {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, + {'1': 'animations', '3': 3, '4': 3, '5': 11, '6': '.bilibili.dagw.component.avatar.v1.plugin.PhysicalOrientationAnimation', '10': 'animations'}, + ], +}; + +/// Descriptor for `PhysicalOrientationV2`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List physicalOrientationV2Descriptor = $convert.base64Decode( + 'ChVQaHlzaWNhbE9yaWVudGF0aW9uVjISEgoEdHlwZRgBIAEoCVIEdHlwZRJmCgphbmltYXRpb2' + '5zGAMgAygLMkYuYmlsaWJpbGkuZGFndy5jb21wb25lbnQuYXZhdGFyLnYxLnBsdWdpbi5QaHlz' + 'aWNhbE9yaWVudGF0aW9uQW5pbWF0aW9uUgphbmltYXRpb25z'); + diff --git a/lib/grpc/google/protobuf/any.pb.dart b/lib/grpc/google/protobuf/any.pb.dart new file mode 100644 index 00000000..1eac9903 --- /dev/null +++ b/lib/grpc/google/protobuf/any.pb.dart @@ -0,0 +1,224 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/any.proto +// +// @dart = 2.12 + +// 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; +import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; + +/// `Any` contains an arbitrary serialized protocol buffer message along with a +/// URL that describes the type of the serialized message. +/// +/// Protobuf library provides support to pack/unpack Any values in the form +/// of utility functions or additional generated methods of the Any type. +/// +/// Example 1: Pack and unpack a message in C++. +/// +/// Foo foo = ...; +/// Any any; +/// any.PackFrom(foo); +/// ... +/// if (any.UnpackTo(&foo)) { +/// ... +/// } +/// +/// Example 2: Pack and unpack a message in Java. +/// +/// Foo foo = ...; +/// Any any = Any.pack(foo); +/// ... +/// if (any.is(Foo.class)) { +/// foo = any.unpack(Foo.class); +/// } +/// // or ... +/// if (any.isSameTypeAs(Foo.getDefaultInstance())) { +/// foo = any.unpack(Foo.getDefaultInstance()); +/// } +/// +/// Example 3: Pack and unpack a message in Python. +/// +/// foo = Foo(...) +/// any = Any() +/// any.Pack(foo) +/// ... +/// if any.Is(Foo.DESCRIPTOR): +/// any.Unpack(foo) +/// ... +/// +/// Example 4: Pack and unpack a message in Go +/// +/// foo := &pb.Foo{...} +/// any, err := anypb.New(foo) +/// if err != nil { +/// ... +/// } +/// ... +/// foo := &pb.Foo{} +/// if err := any.UnmarshalTo(foo); err != nil { +/// ... +/// } +/// +/// The pack methods provided by protobuf library will by default use +/// 'type.googleapis.com/full.type.name' as the type URL and the unpack +/// methods only use the fully qualified type name after the last '/' +/// in the type URL, for example "foo.bar.com/x/y.z" will yield type +/// name "y.z". +/// +/// JSON +/// ==== +/// The JSON representation of an `Any` value uses the regular +/// representation of the deserialized, embedded message, with an +/// additional field `@type` which contains the type URL. Example: +/// +/// package google.profile; +/// message Person { +/// string first_name = 1; +/// string last_name = 2; +/// } +/// +/// { +/// "@type": "type.googleapis.com/google.profile.Person", +/// "firstName": , +/// "lastName": +/// } +/// +/// If the embedded message type is well-known and has a custom JSON +/// representation, that representation will be embedded adding a field +/// `value` which holds the custom JSON in addition to the `@type` +/// field. Example (for message [google.protobuf.Duration][]): +/// +/// { +/// "@type": "type.googleapis.com/google.protobuf.Duration", +/// "value": "1.212s" +/// } +class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { + factory Any({ + $core.String? typeUrl, + $core.List<$core.int>? value, + }) { + final result = create(); + if (typeUrl != null) { + result.typeUrl = typeUrl; + } + if (value != null) { + result.value = value; + } + return result; + } + Any._() : super(); + factory Any.fromBuffer($core.List<$core.int> i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromBuffer(i, r); + factory Any.fromJson($core.String i, + [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => + create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo( + _omitMessageNames ? '' : 'Any', + package: + const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), + createEmptyInstance: create, + toProto3Json: $mixin.AnyMixin.toProto3JsonHelper, + fromProto3Json: $mixin.AnyMixin.fromProto3JsonHelper) + ..aOS(1, _omitFieldNames ? '' : 'typeUrl') + ..a<$core.List<$core.int>>( + 2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY) + ..hasRequiredFields = false; + + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Any clone() => Any()..mergeFromMessage(this); + @$core.Deprecated('Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Any copyWith(void Function(Any) updates) => + super.copyWith((message) => updates(message as Any)) as Any; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Any create() => Any._(); + Any createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Any getDefault() => + _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Any? _defaultInstance; + + /// A URL/resource name that uniquely identifies the type of the serialized + /// protocol buffer message. This string must contain at least + /// one "/" character. The last segment of the URL's path must represent + /// the fully qualified name of the type (as in + /// `path/google.protobuf.Duration`). The name should be in a canonical form + /// (e.g., leading "." is not accepted). + /// + /// In practice, teams usually precompile into the binary all types that they + /// expect it to use in the context of Any. However, for URLs which use the + /// scheme `http`, `https`, or no scheme, one can optionally set up a type + /// server that maps type URLs to message definitions as follows: + /// + /// * If no scheme is provided, `https` is assumed. + /// * An HTTP GET on the URL must yield a [google.protobuf.Type][] + /// value in binary format, or produce an error. + /// * Applications are allowed to cache lookup results based on the + /// URL, or have them precompiled into a binary to avoid any + /// lookup. Therefore, binary compatibility needs to be preserved + /// on changes to types. (Use versioned type names to manage + /// breaking changes.) + /// + /// Note: this functionality is not currently available in the official + /// protobuf release, and it is not used for type URLs beginning with + /// type.googleapis.com. As of May 2023, there are no widely used type server + /// implementations and no plans to implement one. + /// + /// Schemes other than `http`, `https` (or the empty scheme) might be + /// used with implementation specific semantics. + @$pb.TagNumber(1) + $core.String get typeUrl => $_getSZ(0); + @$pb.TagNumber(1) + set typeUrl($core.String v) { + $_setString(0, v); + } + + @$pb.TagNumber(1) + $core.bool hasTypeUrl() => $_has(0); + @$pb.TagNumber(1) + void clearTypeUrl() => clearField(1); + + /// Must be a valid serialized protocol buffer of the above specified type. + @$pb.TagNumber(2) + $core.List<$core.int> get value => $_getN(1); + @$pb.TagNumber(2) + set value($core.List<$core.int> v) { + $_setBytes(1, v); + } + + @$pb.TagNumber(2) + $core.bool hasValue() => $_has(1); + @$pb.TagNumber(2) + void clearValue() => clearField(2); + + /// Creates a new [Any] encoding [message]. + /// + /// The [typeUrl] will be [typeUrlPrefix]/`fullName` where `fullName` is + /// the fully qualified name of the type of [message]. + static Any pack($pb.GeneratedMessage message, + {$core.String typeUrlPrefix = 'type.googleapis.com'}) { + final result = create(); + $mixin.AnyMixin.packIntoAny(result, message, typeUrlPrefix: typeUrlPrefix); + return result; + } +} + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = + $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/grpc/google/protobuf/any.pbenum.dart b/lib/grpc/google/protobuf/any.pbenum.dart new file mode 100644 index 00000000..3744f124 --- /dev/null +++ b/lib/grpc/google/protobuf/any.pbenum.dart @@ -0,0 +1,10 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/any.proto +// +// @dart = 2.12 + +// 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 diff --git a/lib/grpc/google/protobuf/any.pbjson.dart b/lib/grpc/google/protobuf/any.pbjson.dart new file mode 100644 index 00000000..eafbc6bd --- /dev/null +++ b/lib/grpc/google/protobuf/any.pbjson.dart @@ -0,0 +1,27 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/any.proto +// +// @dart = 2.12 + +// 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 anyDescriptor instead') +const Any$json = { + '1': 'Any', + '2': [ + {'1': 'type_url', '3': 1, '4': 1, '5': 9, '10': 'typeUrl'}, + {'1': 'value', '3': 2, '4': 1, '5': 12, '10': 'value'}, + ], +}; + +/// Descriptor for `Any`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List anyDescriptor = $convert.base64Decode( + 'CgNBbnkSGQoIdHlwZV91cmwYASABKAlSB3R5cGVVcmwSFAoFdmFsdWUYAiABKAxSBXZhbHVl'); diff --git a/lib/grpc/grpc_client.dart b/lib/grpc/grpc_client.dart index c3a0ab73..536d09a8 100644 --- a/lib/grpc/grpc_client.dart +++ b/lib/grpc/grpc_client.dart @@ -1,3 +1,4 @@ +import 'package:PiliPalaX/grpc/app/dynamic/v2/dynamic.pbgrpc.dart'; import 'package:PiliPalaX/grpc/app/main/community/reply/v1/reply.pbgrpc.dart'; import 'package:PiliPalaX/grpc/app/playeronline/v1/playeronline.pbgrpc.dart'; import 'package:PiliPalaX/grpc/app/show/popular/v1/popular.pbgrpc.dart'; @@ -8,6 +9,7 @@ class GrpcClient { PlayerOnlineClient? _playerOnlineClient; PopularClient? _popularClient; ReplyClient? _replyClient; + DynamicClient? _dynamicClient; GrpcClient._internal() { _channel = ClientChannel( @@ -37,6 +39,11 @@ class GrpcClient { return _replyClient!; } + DynamicClient get dynamicClient { + _dynamicClient ??= DynamicClient(_channel!); + return _dynamicClient!; + } + Future shutdown() async { await _channel?.shutdown(); } diff --git a/lib/grpc/grpc_repo.dart b/lib/grpc/grpc_repo.dart index 01408d0e..e62f90b8 100644 --- a/lib/grpc/grpc_repo.dart +++ b/lib/grpc/grpc_repo.dart @@ -1,6 +1,7 @@ import 'dart:convert'; import 'package:PiliPalaX/common/constants.dart'; +import 'package:PiliPalaX/grpc/app/dynamic/v2/dynamic.pb.dart'; import 'package:PiliPalaX/grpc/app/main/community/reply/v1/reply.pb.dart'; import 'package:PiliPalaX/grpc/app/playeronline/v1/playeronline.pbgrpc.dart'; import 'package:PiliPalaX/grpc/app/show/popular/v1/popular.pb.dart'; @@ -9,7 +10,7 @@ import 'package:PiliPalaX/grpc/fawkes/fawkes.pb.dart'; import 'package:PiliPalaX/grpc/grpc_client.dart'; import 'package:PiliPalaX/grpc/locale/locale.pb.dart'; import 'package:PiliPalaX/grpc/metadata/metadata.pb.dart'; -import 'package:PiliPalaX/grpc/network/network.pb.dart'; +import 'package:PiliPalaX/grpc/network/network.pb.dart' as network; import 'package:PiliPalaX/grpc/restriction/restriction.pb.dart'; import 'package:PiliPalaX/utils/login.dart'; import 'package:PiliPalaX/utils/storage.dart'; @@ -74,9 +75,9 @@ class GrpcRepo { ..fp = '' ..fts = Int64()) .writeToBuffer()), - 'x-bili-network-bin': base64Encode((Network() - ..type = NetworkType.WIFI - ..tf = TFType.TF_UNKNOWN + 'x-bili-network-bin': base64Encode((network.Network() + ..type = network.NetworkType.WIFI + ..tf = network.TFType.TF_UNKNOWN ..oid = '') .writeToBuffer()), 'x-bili-restriction-bin': base64Encode((Restriction() @@ -174,4 +175,20 @@ class GrpcRepo { return {'status': true, 'data': response}; }); } + + static Future dynSpace({ + required int uid, + required int page, + }) async { + return await _request(() async { + final request = DynSpaceReq() + ..hostUid = Int64(uid) + ..localTime = 8 + ..page = Int64(page) + ..from = 'space'; + final DynSpaceRsp response = await GrpcClient.instance.dynamicClient + .dynSpace(request, options: options); + return {'status': true, 'data': response}; + }); + } } diff --git a/lib/http/api.dart b/lib/http/api.dart index 09891746..6261b951 100644 --- a/lib/http/api.dart +++ b/lib/http/api.dart @@ -283,6 +283,25 @@ class Api { // https://api.bilibili.com/x/space/wbi/acc/info?mid=503427686&token=&platform=web&web_location=1550101&w_rid=d709892496ce93e3d94d6d37c95bde91&wts=1689301482 static const String memberInfo = '/x/space/wbi/acc/info'; + static const String space = '${HttpString.appBaseUrl}/x/v2/space'; + + static const String spaceArchive = + '${HttpString.appBaseUrl}/x/v2/space/archive/cursor'; + + static const String spaceChargingArchive = + '${HttpString.appBaseUrl}/x/v2/space/archive/charging'; + + static const String spaceSeason = + '${HttpString.appBaseUrl}/x/v2/space/season/videos'; + + static const String spaceSeries = + '${HttpString.appBaseUrl}/x/v2/space/series'; + + static const String spaceBangumi = + '${HttpString.appBaseUrl}/x/v2/space/bangumi'; + + static const String spaceFav = '/x/v3/fav/folder/space'; + // 用户名片信息 static const String memberCardInfo = '/x/web-interface/card'; diff --git a/lib/http/login.dart b/lib/http/login.dart index 4327bbfa..a47f55e9 100644 --- a/lib/http/login.dart +++ b/lib/http/login.dart @@ -211,7 +211,7 @@ class LoginHttp { String passwordEncrypted = Encrypter(RSA(publicKey: publicKey)).encrypt(salt + password).base64; - Map data = { + Map data = { 'appkey': Constants.appKey, 'bili_local_id': deviceId, 'build': '1462100', @@ -288,7 +288,7 @@ class LoginHttp { required String key, }) async { dynamic publicKey = RSAKeyParser().parse(key); - Map data = { + Map data = { 'appkey': Constants.appKey, 'bili_local_id': deviceId, 'build': '1462100', diff --git a/lib/http/member.dart b/lib/http/member.dart index 37e70b8c..c025a91e 100644 --- a/lib/http/member.dart +++ b/lib/http/member.dart @@ -1,8 +1,14 @@ +import 'package:PiliPalaX/common/constants.dart'; +import 'package:PiliPalaX/grpc/grpc_repo.dart'; import 'package:PiliPalaX/http/constants.dart'; import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/models/space/data.dart'; +import 'package:PiliPalaX/models/space_fav/space_fav.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/member_contribute.dart' + show ContributeType; +import 'package:PiliPalaX/utils/storage.dart'; import 'package:dio/dio.dart'; import 'package:flutter/material.dart'; -import 'package:get/get.dart' hide FormData; import '../models/dynamics/result.dart'; import '../models/follow/result.dart'; @@ -11,6 +17,7 @@ import '../models/member/coin.dart'; import '../models/member/info.dart'; import '../models/member/seasons.dart'; import '../models/member/tags.dart'; +import '../models/space_archive/data.dart' as archive; import '../utils/utils.dart'; import '../utils/wbi_sign.dart'; import 'index.dart'; @@ -39,11 +46,184 @@ class MemberHttp { }; } + static Future spaceDynamic({ + required int mid, + required int page, + }) async { + dynamic result = await GrpcRepo.dynSpace(uid: mid, page: page); + if (result['status']) { + return LoadingState.success(result['data']); + } else { + return LoadingState.error(result['msg']); + } + } + + static Future spaceFav({ + required int mid, + }) async { + String? accessKey = GStorage.localCache + .get(LocalCacheKey.accessKey, defaultValue: {})['value']; + Map data = { + if (accessKey != null) 'access_key': accessKey, + 'appkey': Constants.appKey, + 'build': '1462100', + 'c_locale': 'zh_CN', + 'channel': 'yingyongbao', + 'mobi_app': 'android_hd', + 'platform': 'android', + 's_locale': 'zh_CN', + 'statistics': Constants.statistics, + 'ts': (DateTime.now().millisecondsSinceEpoch ~/ 1000).toString(), + 'up_mid': mid.toString(), + }; + String sign = Utils.appSign( + data, + Constants.appKey, + Constants.appSec, + ); + data['sign'] = sign; + int? _mid = GStorage.userInfo.get('userInfoCache')?.mid; + dynamic res = await Request().get( + Api.spaceFav, + data: data, + options: Options( + headers: { + 'env': 'prod', + 'app-key': 'android_hd', + 'x-bili-mid': _mid, + 'bili-http-engine': 'cronet', + 'user-agent': Constants.userAgent, + }, + ), + ); + if (res.data['code'] == 0) { + return LoadingState.success(SpaceFav.fromJson(res.data).data); + } else { + return LoadingState.error(res.data['message']); + } + } + + static Future spaceArchive({ + required ContributeType type, + required int? mid, + String? aid, + String? order, + String? sort, + int? pn, + int? next, + int? seasonId, + int? seriesId, + }) async { + String? accessKey = GStorage.localCache + .get(LocalCacheKey.accessKey, defaultValue: {})['value']; + Map data = { + if (accessKey != null) 'access_key': accessKey, + if (aid != null) 'aid': aid.toString(), + 'appkey': Constants.appKey, + 'build': '1462100', + 'c_locale': 'zh_CN', + 'channel': 'yingyongbao', + 'mobi_app': 'android_hd', + 'platform': 'android', + 's_locale': 'zh_CN', + 'ps': '20', + if (pn != null) 'pn': pn.toString(), + if (next != null) 'next': next.toString(), + if (seasonId != null) 'season_id': seasonId.toString(), + if (seriesId != null) 'series_id': seriesId.toString(), + 'qn': type == ContributeType.video ? '80' : '32', + if (order != null) 'order': order, + if (sort != null) 'sort': sort, + 'statistics': Constants.statistics, + 'ts': (DateTime.now().millisecondsSinceEpoch ~/ 1000).toString(), + 'vmid': mid.toString(), + }; + String sign = Utils.appSign( + data, + Constants.appKey, + Constants.appSec, + ); + data['sign'] = sign; + int? _mid = GStorage.userInfo.get('userInfoCache')?.mid; + dynamic res = await Request().get( + type == ContributeType.video + ? Api.spaceArchive + : type == ContributeType.charging + ? Api.spaceChargingArchive + : type == ContributeType.season + ? Api.spaceSeason + : type == ContributeType.series + ? Api.spaceSeries + : Api.spaceBangumi, + data: data, + options: Options( + headers: { + 'env': 'prod', + 'app-key': 'android_hd', + 'x-bili-mid': _mid, + 'bili-http-engine': 'cronet', + 'user-agent': Constants.userAgent, + }, + ), + ); + if (res.data['code'] == 0) { + return LoadingState.success(archive.Data.fromJson(res.data['data'])); + } else { + return LoadingState.error(res.data['message']); + } + } + + static Future space({ + int? mid, + }) async { + String? accessKey = GStorage.localCache + .get(LocalCacheKey.accessKey, defaultValue: {})['value']; + Map data = { + if (accessKey != null) 'access_key': accessKey, + 'appkey': Constants.appKey, + 'build': '1462100', + 'c_locale': 'zh_CN', + 'channel': 'yingyongbao', + 'mobi_app': 'android_hd', + 'platform': 'android', + 's_locale': 'zh_CN', + 'statistics': Constants.statistics, + 'ts': (DateTime.now().millisecondsSinceEpoch ~/ 1000).toString(), + 'vmid': mid.toString(), + }; + String sign = Utils.appSign( + data, + Constants.appKey, + Constants.appSec, + ); + data['sign'] = sign; + int? _mid = GStorage.userInfo.get('userInfoCache')?.mid; + dynamic res = await Request().get( + Api.space, + data: data, + options: Options( + headers: { + 'env': 'prod', + 'app-key': 'android_hd', + 'x-bili-mid': _mid, + 'bili-http-engine': 'cronet', + 'user-agent': Constants.userAgent, + }, + ), + ); + if (res.data['code'] == 0) { + return LoadingState.success(Data.fromJson(res.data['data'])); + } else { + return LoadingState.error(res.data['message']); + } + } + static Future memberInfo({ int? mid, String token = '', dynamic wwebid, }) async { + space(mid: mid); Map params = await WbiSign().makSign({ 'mid': mid, 'token': token, diff --git a/lib/http/video.dart b/lib/http/video.dart index edd1a5f0..b54c4fa7 100644 --- a/lib/http/video.dart +++ b/lib/http/video.dart @@ -79,7 +79,7 @@ class VideoHttp { // 添加额外的loginState变量模拟未登录状态 static Future rcmdVideoListApp( {bool loginStatus = true, required int freshIdx}) async { - var data = { + Map data = { 'access_key': loginStatus ? (localCache .get(LocalCacheKey.accessKey, defaultValue: {})['value'] ?? diff --git a/lib/models/space/achieve.dart b/lib/models/space/achieve.dart new file mode 100644 index 00000000..ac310b6d --- /dev/null +++ b/lib/models/space/achieve.dart @@ -0,0 +1,20 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'achieve.g.dart'; + +@JsonSerializable() +class Achieve { + @JsonKey(name: 'is_default') + bool? isDefault; + String? image; + @JsonKey(name: 'achieve_url') + String? achieveUrl; + + Achieve({this.isDefault, this.image, this.achieveUrl}); + + factory Achieve.fromJson(Map json) { + return _$AchieveFromJson(json); + } + + Map toJson() => _$AchieveToJson(this); +} diff --git a/lib/models/space/achieve.g.dart b/lib/models/space/achieve.g.dart new file mode 100644 index 00000000..c69d1285 --- /dev/null +++ b/lib/models/space/achieve.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'achieve.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Achieve _$AchieveFromJson(Map json) => Achieve( + isDefault: json['is_default'] as bool?, + image: json['image'] as String?, + achieveUrl: json['achieve_url'] as String?, + ); + +Map _$AchieveToJson(Achieve instance) => { + 'is_default': instance.isDefault, + 'image': instance.image, + 'achieve_url': instance.achieveUrl, + }; diff --git a/lib/models/space/archive.dart b/lib/models/space/archive.dart new file mode 100644 index 00000000..cfab7ad2 --- /dev/null +++ b/lib/models/space/archive.dart @@ -0,0 +1,24 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'episodic_button.dart'; +import 'item.dart'; +import 'order.dart'; + +part 'archive.g.dart'; + +@JsonSerializable() +class Archive { + @JsonKey(name: 'episodic_button') + EpisodicButton? episodicButton; + List? order; + int? count; + List? item; + + Archive({this.episodicButton, this.order, this.count, this.item}); + + factory Archive.fromJson(Map json) { + return _$ArchiveFromJson(json); + } + + Map toJson() => _$ArchiveToJson(this); +} diff --git a/lib/models/space/archive.g.dart b/lib/models/space/archive.g.dart new file mode 100644 index 00000000..3d05e26c --- /dev/null +++ b/lib/models/space/archive.g.dart @@ -0,0 +1,28 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'archive.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Archive _$ArchiveFromJson(Map json) => Archive( + episodicButton: json['episodic_button'] == null + ? null + : EpisodicButton.fromJson( + json['episodic_button'] as Map), + order: (json['order'] as List?) + ?.map((e) => Order.fromJson(e as Map)) + .toList(), + count: (json['count'] as num?)?.toInt(), + item: (json['item'] as List?) + ?.map((e) => Item.fromJson(e as Map)) + .toList(), + ); + +Map _$ArchiveToJson(Archive instance) => { + 'episodic_button': instance.episodicButton, + 'order': instance.order, + 'count': instance.count, + 'item': instance.item, + }; diff --git a/lib/models/space/article.dart b/lib/models/space/article.dart new file mode 100644 index 00000000..415a0f3a --- /dev/null +++ b/lib/models/space/article.dart @@ -0,0 +1,20 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'article.g.dart'; + +@JsonSerializable() +class Article { + int? count; + List? item; + @JsonKey(name: 'lists_count') + int? listsCount; + List? lists; + + Article({this.count, this.item, this.listsCount, this.lists}); + + factory Article.fromJson(Map json) { + return _$ArticleFromJson(json); + } + + Map toJson() => _$ArticleToJson(this); +} diff --git a/lib/models/space/article.g.dart b/lib/models/space/article.g.dart new file mode 100644 index 00000000..d29b976b --- /dev/null +++ b/lib/models/space/article.g.dart @@ -0,0 +1,21 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'article.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Article _$ArticleFromJson(Map json) => Article( + count: (json['count'] as num?)?.toInt(), + item: json['item'] as List?, + listsCount: (json['lists_count'] as num?)?.toInt(), + lists: json['lists'] as List?, + ); + +Map _$ArticleToJson(Article instance) => { + 'count': instance.count, + 'item': instance.item, + 'lists_count': instance.listsCount, + 'lists': instance.lists, + }; diff --git a/lib/models/space/attention_tip.dart b/lib/models/space/attention_tip.dart new file mode 100644 index 00000000..999e4b53 --- /dev/null +++ b/lib/models/space/attention_tip.dart @@ -0,0 +1,18 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'attention_tip.g.dart'; + +@JsonSerializable() +class AttentionTip { + @JsonKey(name: 'card_num') + int? cardNum; + String? tip; + + AttentionTip({this.cardNum, this.tip}); + + factory AttentionTip.fromJson(Map json) { + return _$AttentionTipFromJson(json); + } + + Map toJson() => _$AttentionTipToJson(this); +} diff --git a/lib/models/space/attention_tip.g.dart b/lib/models/space/attention_tip.g.dart new file mode 100644 index 00000000..bae29f75 --- /dev/null +++ b/lib/models/space/attention_tip.g.dart @@ -0,0 +1,18 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'attention_tip.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +AttentionTip _$AttentionTipFromJson(Map json) => AttentionTip( + cardNum: (json['card_num'] as num?)?.toInt(), + tip: json['tip'] as String?, + ); + +Map _$AttentionTipToJson(AttentionTip instance) => + { + 'card_num': instance.cardNum, + 'tip': instance.tip, + }; diff --git a/lib/models/space/audios.dart b/lib/models/space/audios.dart new file mode 100644 index 00000000..9c19ee8d --- /dev/null +++ b/lib/models/space/audios.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'audios.g.dart'; + +@JsonSerializable() +class Audios { + int? count; + List? item; + + Audios({this.count, this.item}); + + factory Audios.fromJson(Map json) { + return _$AudiosFromJson(json); + } + + Map toJson() => _$AudiosToJson(this); +} diff --git a/lib/models/space/audios.g.dart b/lib/models/space/audios.g.dart new file mode 100644 index 00000000..dde715ef --- /dev/null +++ b/lib/models/space/audios.g.dart @@ -0,0 +1,17 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'audios.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Audios _$AudiosFromJson(Map json) => Audios( + count: (json['count'] as num?)?.toInt(), + item: json['item'] as List?, + ); + +Map _$AudiosToJson(Audios instance) => { + 'count': instance.count, + 'item': instance.item, + }; diff --git a/lib/models/space/avatar.dart b/lib/models/space/avatar.dart new file mode 100644 index 00000000..6594b88b --- /dev/null +++ b/lib/models/space/avatar.dart @@ -0,0 +1,23 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'container_size.dart'; +import 'fallback_layers.dart'; + +part 'avatar.g.dart'; + +@JsonSerializable() +class Avatar { + @JsonKey(name: 'container_size') + ContainerSize? containerSize; + @JsonKey(name: 'fallback_layers') + FallbackLayers? fallbackLayers; + String? mid; + + Avatar({this.containerSize, this.fallbackLayers, this.mid}); + + factory Avatar.fromJson(Map json) { + return _$AvatarFromJson(json); + } + + Map toJson() => _$AvatarToJson(this); +} diff --git a/lib/models/space/avatar.g.dart b/lib/models/space/avatar.g.dart new file mode 100644 index 00000000..2f3ec2e0 --- /dev/null +++ b/lib/models/space/avatar.g.dart @@ -0,0 +1,25 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'avatar.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Avatar _$AvatarFromJson(Map json) => Avatar( + containerSize: json['container_size'] == null + ? null + : ContainerSize.fromJson( + json['container_size'] as Map), + fallbackLayers: json['fallback_layers'] == null + ? null + : FallbackLayers.fromJson( + json['fallback_layers'] as Map), + mid: json['mid'] as String?, + ); + +Map _$AvatarToJson(Avatar instance) => { + 'container_size': instance.containerSize, + 'fallback_layers': instance.fallbackLayers, + 'mid': instance.mid, + }; diff --git a/lib/models/space/avatar_layer.dart b/lib/models/space/avatar_layer.dart new file mode 100644 index 00000000..b2af911f --- /dev/null +++ b/lib/models/space/avatar_layer.dart @@ -0,0 +1,14 @@ + +class AvatarLayer { + AvatarLayer(); + + factory AvatarLayer.fromJson(Map json) { + // TODO: implement fromJson + throw UnimplementedError('AvatarLayer.fromJson($json) is not implemented'); + } + + Map toJson() { + // TODO: implement toJson + throw UnimplementedError(); + } +} \ No newline at end of file diff --git a/lib/models/space/card.dart b/lib/models/space/card.dart new file mode 100644 index 00000000..6f068e17 --- /dev/null +++ b/lib/models/space/card.dart @@ -0,0 +1,148 @@ +import 'package:PiliPalaX/models/space/space_tag_bottom.dart'; +import 'package:json_annotation/json_annotation.dart'; + +import 'achieve.dart'; +import 'avatar.dart'; +import 'entrance.dart'; +import 'honours.dart'; +import 'level_info.dart'; +import 'likes.dart'; +import 'nameplate.dart'; +import 'nft_certificate.dart'; +import 'official_verify.dart'; +import 'pendant.dart'; +import 'pr_info.dart'; +import 'profession.dart'; +import 'profession_verify.dart'; +import 'relation.dart'; +import 'school.dart'; +import 'vip.dart'; + +part 'card.g.dart'; + +@JsonSerializable() +class Card { + Avatar? avatar; + String? mid; + String? name; + bool? approve; + String? rank; + String? face; + @JsonKey(name: 'DisplayRank') + String? displayRank; + int? regtime; + int? spacesta; + String? birthday; + String? place; + String? description; + int? article; + dynamic attentions; + int fans; + int? friend; + int attention; + String? sign; + @JsonKey(name: 'level_info') + LevelInfo? levelInfo; + Pendant? pendant; + Nameplate? nameplate; + @JsonKey(name: 'official_verify') + OfficialVerify? officialVerify; + @JsonKey(name: 'profession_verify') + ProfessionVerify? professionVerify; + Vip? vip; + int? silence; + @JsonKey(name: 'end_time') + int? endTime; + @JsonKey(name: 'silence_url') + String? silenceUrl; + Likes? likes; + Achieve? achieve; + @JsonKey(name: 'pendant_url') + String? pendantUrl; + @JsonKey(name: 'pendant_title') + String? pendantTitle; + // @JsonKey(name: 'pr_info') + // PrInfo? prInfo; + Relation? relation; + @JsonKey(name: 'is_deleted') + int? isDeleted; + Honours? honours; + // Profession? profession; + // School? school; + @JsonKey(name: 'space_tag') + List? spaceTag; + @JsonKey(name: 'face_nft_new') + int? faceNftNew; + @JsonKey(name: 'has_face_nft') + bool? hasFaceNft; + @JsonKey(name: 'nft_certificate') + NftCertificate? nftCertificate; + Entrance? entrance; + @JsonKey(name: 'nft_id') + String? nftId; + @JsonKey(name: 'nft_face_icon') + dynamic nftFaceIcon; + @JsonKey(name: 'space_tag_bottom') + List? spaceTagBottom; + @JsonKey(name: 'digital_id') + String? digitalId; + @JsonKey(name: 'digital_type') + int? digitalType; + @JsonKey(name: 'has_digital_asset') + bool? hasDigitalAsset; + + Card({ + this.avatar, + this.mid, + this.name, + this.approve, + this.rank, + this.face, + this.displayRank, + this.regtime, + this.spacesta, + this.birthday, + this.place, + this.description, + this.article, + this.attentions, + required this.fans, + this.friend, + required this.attention, + this.sign, + this.levelInfo, + this.pendant, + this.nameplate, + this.officialVerify, + this.professionVerify, + this.vip, + this.silence, + this.endTime, + this.silenceUrl, + this.likes, + this.achieve, + this.pendantUrl, + this.pendantTitle, + // this.prInfo, + this.relation, + this.isDeleted, + this.honours, + // this.profession, + // this.school, + this.spaceTag, + this.faceNftNew, + this.hasFaceNft, + this.nftCertificate, + this.entrance, + this.nftId, + this.nftFaceIcon, + this.spaceTagBottom, + this.digitalId, + this.digitalType, + this.hasDigitalAsset, + }); + + factory Card.fromJson(Map json) => _$CardFromJson(json); + + Map toJson() => _$CardToJson(this); +} diff --git a/lib/models/space/card.g.dart b/lib/models/space/card.g.dart new file mode 100644 index 00000000..a858fcd2 --- /dev/null +++ b/lib/models/space/card.g.dart @@ -0,0 +1,151 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'card.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Card _$CardFromJson(Map json) => Card( + avatar: json['avatar'] == null + ? null + : Avatar.fromJson(json['avatar'] as Map), + mid: json['mid'] as String?, + name: json['name'] as String?, + approve: json['approve'] as bool?, + rank: json['rank'] as String?, + face: json['face'] as String?, + displayRank: json['DisplayRank'] as String?, + regtime: (json['regtime'] as num?)?.toInt(), + spacesta: (json['spacesta'] as num?)?.toInt(), + birthday: json['birthday'] as String?, + place: json['place'] as String?, + description: json['description'] as String?, + article: (json['article'] as num?)?.toInt(), + attentions: json['attentions'], + fans: (json['fans'] as num?)?.toInt() ?? 0, + friend: (json['friend'] as num?)?.toInt(), + attention: (json['attention'] as num?)?.toInt() ?? 0, + sign: json['sign'] as String?, + levelInfo: json['level_info'] == null + ? null + : LevelInfo.fromJson(json['level_info'] as Map), + pendant: json['pendant'] == null + ? null + : Pendant.fromJson(json['pendant'] as Map), + nameplate: json['nameplate'] == null + ? null + : Nameplate.fromJson(json['nameplate'] as Map), + officialVerify: json['official_verify'] == null + ? null + : OfficialVerify.fromJson( + json['official_verify'] as Map), + professionVerify: json['profession_verify'] == null + ? null + : ProfessionVerify.fromJson( + json['profession_verify'] as Map), + vip: json['vip'] == null + ? null + : Vip.fromJson(json['vip'] as Map), + silence: (json['silence'] as num?)?.toInt(), + endTime: (json['end_time'] as num?)?.toInt(), + silenceUrl: json['silence_url'] as String?, + likes: json['likes'] == null + ? null + : Likes.fromJson(json['likes'] as Map), + achieve: json['achieve'] == null + ? null + : Achieve.fromJson(json['achieve'] as Map), + pendantUrl: json['pendant_url'] as String?, + pendantTitle: json['pendant_title'] as String?, + // prInfo: json['pr_info'] == null + // ? null + // : PrInfo.fromJson(json['pr_info'] as Map), + relation: json['relation'] == null + ? null + : Relation.fromJson(json['relation'] as Map), + isDeleted: (json['is_deleted'] as num?)?.toInt(), + honours: json['honours'] == null + ? null + : Honours.fromJson(json['honours'] as Map), + // profession: json['profession'] == null + // ? null + // : Profession.fromJson(json['profession'] as Map), + // school: json['school'] == null + // ? null + // : School.fromJson(json['school'] as Map), + spaceTag: (json['space_tag'] as List?) + ?.where( + (item) => (item['title'] as String?)?.startsWith('IP') == true) + .toList() + .map((item) => Item.fromJson(item)) + .toList(), + faceNftNew: (json['face_nft_new'] as num?)?.toInt(), + hasFaceNft: json['has_face_nft'] as bool?, + nftCertificate: json['nft_certificate'] == null + ? null + : NftCertificate.fromJson( + json['nft_certificate'] as Map), + entrance: json['entrance'] == null + ? null + : Entrance.fromJson(json['entrance'] as Map), + nftId: json['nft_id'] as String?, + nftFaceIcon: json['nft_face_icon'], + spaceTagBottom: (json['space_tag_bottom'] as List?) + ?.map((item) => Item.fromJson(item)) + .toList(), + digitalId: json['digital_id'] as String?, + digitalType: (json['digital_type'] as num?)?.toInt(), + hasDigitalAsset: json['has_digital_asset'] as bool?, + ); + +Map _$CardToJson(Card instance) => { + 'avatar': instance.avatar, + 'mid': instance.mid, + 'name': instance.name, + 'approve': instance.approve, + 'rank': instance.rank, + 'face': instance.face, + 'DisplayRank': instance.displayRank, + 'regtime': instance.regtime, + 'spacesta': instance.spacesta, + 'birthday': instance.birthday, + 'place': instance.place, + 'description': instance.description, + 'article': instance.article, + 'attentions': instance.attentions, + 'fans': instance.fans, + 'friend': instance.friend, + 'attention': instance.attention, + 'sign': instance.sign, + 'level_info': instance.levelInfo, + 'pendant': instance.pendant, + 'nameplate': instance.nameplate, + 'official_verify': instance.officialVerify, + 'profession_verify': instance.professionVerify, + 'vip': instance.vip, + 'silence': instance.silence, + 'end_time': instance.endTime, + 'silence_url': instance.silenceUrl, + 'likes': instance.likes, + 'achieve': instance.achieve, + 'pendant_url': instance.pendantUrl, + 'pendant_title': instance.pendantTitle, + // 'pr_info': instance.prInfo, + 'relation': instance.relation, + 'is_deleted': instance.isDeleted, + 'honours': instance.honours, + // 'profession': instance.profession, + // 'school': instance.school, + 'space_tag': instance.spaceTag, + 'face_nft_new': instance.faceNftNew, + 'has_face_nft': instance.hasFaceNft, + 'nft_certificate': instance.nftCertificate, + 'entrance': instance.entrance, + 'nft_id': instance.nftId, + 'nft_face_icon': instance.nftFaceIcon, + 'space_tag_bottom': instance.spaceTagBottom, + 'digital_id': instance.digitalId, + 'digital_type': instance.digitalType, + 'has_digital_asset': instance.hasDigitalAsset, + }; diff --git a/lib/models/space/coin_archive.dart b/lib/models/space/coin_archive.dart new file mode 100644 index 00000000..59af1bce --- /dev/null +++ b/lib/models/space/coin_archive.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'coin_archive.g.dart'; + +@JsonSerializable() +class CoinArchive { + int? count; + List? item; + + CoinArchive({this.count, this.item}); + + factory CoinArchive.fromJson(Map json) { + return _$CoinArchiveFromJson(json); + } + + Map toJson() => _$CoinArchiveToJson(this); +} diff --git a/lib/models/space/coin_archive.g.dart b/lib/models/space/coin_archive.g.dart new file mode 100644 index 00000000..8dddf620 --- /dev/null +++ b/lib/models/space/coin_archive.g.dart @@ -0,0 +1,18 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'coin_archive.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +CoinArchive _$CoinArchiveFromJson(Map json) => CoinArchive( + count: (json['count'] as num?)?.toInt(), + item: json['item'] as List?, + ); + +Map _$CoinArchiveToJson(CoinArchive instance) => + { + 'count': instance.count, + 'item': instance.item, + }; diff --git a/lib/models/space/color_config.dart b/lib/models/space/color_config.dart new file mode 100644 index 00000000..fa6d255d --- /dev/null +++ b/lib/models/space/color_config.dart @@ -0,0 +1,22 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'day.dart'; +import 'night.dart'; + +part 'color_config.g.dart'; + +@JsonSerializable() +class ColorConfig { + @JsonKey(name: 'is_dark_mode_aware') + bool? isDarkModeAware; + Day? day; + Night? night; + + ColorConfig({this.isDarkModeAware, this.day, this.night}); + + factory ColorConfig.fromJson(Map json) { + return _$ColorConfigFromJson(json); + } + + Map toJson() => _$ColorConfigToJson(this); +} diff --git a/lib/models/space/color_config.g.dart b/lib/models/space/color_config.g.dart new file mode 100644 index 00000000..ce6c5c17 --- /dev/null +++ b/lib/models/space/color_config.g.dart @@ -0,0 +1,24 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'color_config.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +ColorConfig _$ColorConfigFromJson(Map json) => ColorConfig( + isDarkModeAware: json['is_dark_mode_aware'] as bool?, + day: json['day'] == null + ? null + : Day.fromJson(json['day'] as Map), + night: json['night'] == null + ? null + : Night.fromJson(json['night'] as Map), + ); + +Map _$ColorConfigToJson(ColorConfig instance) => + { + 'is_dark_mode_aware': instance.isDarkModeAware, + 'day': instance.day, + 'night': instance.night, + }; diff --git a/lib/models/space/colour.dart b/lib/models/space/colour.dart new file mode 100644 index 00000000..46cc9bd2 --- /dev/null +++ b/lib/models/space/colour.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'colour.g.dart'; + +@JsonSerializable() +class Colour { + String? dark; + String? normal; + + Colour({this.dark, this.normal}); + + factory Colour.fromJson(Map json) { + return _$ColourFromJson(json); + } + + Map toJson() => _$ColourToJson(this); +} diff --git a/lib/models/space/colour.g.dart b/lib/models/space/colour.g.dart new file mode 100644 index 00000000..51015652 --- /dev/null +++ b/lib/models/space/colour.g.dart @@ -0,0 +1,17 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'colour.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Colour _$ColourFromJson(Map json) => Colour( + dark: json['dark'] as String?, + normal: json['normal'] as String?, + ); + +Map _$ColourToJson(Colour instance) => { + 'dark': instance.dark, + 'normal': instance.normal, + }; diff --git a/lib/models/space/container_size.dart b/lib/models/space/container_size.dart new file mode 100644 index 00000000..4b2ff79f --- /dev/null +++ b/lib/models/space/container_size.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'container_size.g.dart'; + +@JsonSerializable() +class ContainerSize { + double? width; + double? height; + + ContainerSize({this.width, this.height}); + + factory ContainerSize.fromJson(Map json) { + return _$ContainerSizeFromJson(json); + } + + Map toJson() => _$ContainerSizeToJson(this); +} diff --git a/lib/models/space/container_size.g.dart b/lib/models/space/container_size.g.dart new file mode 100644 index 00000000..8fe97223 --- /dev/null +++ b/lib/models/space/container_size.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'container_size.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +ContainerSize _$ContainerSizeFromJson(Map json) => + ContainerSize( + width: (json['width'] as num?)?.toDouble(), + height: (json['height'] as num?)?.toDouble(), + ); + +Map _$ContainerSizeToJson(ContainerSize instance) => + { + 'width': instance.width, + 'height': instance.height, + }; diff --git a/lib/models/space/data.dart b/lib/models/space/data.dart new file mode 100644 index 00000000..5de5d48b --- /dev/null +++ b/lib/models/space/data.dart @@ -0,0 +1,83 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'archive.dart'; +import 'article.dart'; +import 'attention_tip.dart'; +import 'audios.dart'; +import 'card.dart'; +import 'coin_archive.dart'; +import 'fans_effect.dart'; +import 'favourite2.dart'; +import 'images.dart'; +import 'like_archive.dart'; +import 'season.dart'; +import 'series.dart'; +import 'setting.dart'; +import 'tab.dart'; +import 'tab2.dart'; + +part 'data.g.dart'; + +@JsonSerializable() +class Data { + int? relation; + @JsonKey(name: 'guest_relation') + int? guestRelation; + @JsonKey(name: 'default_tab') + String? defaultTab; + @JsonKey(name: 'is_params') + bool? isParams; + Setting? setting; + Tab? tab; + Card? card; + Images? images; + Archive? archive; + Series? series; + Article? article; + Season? season; + @JsonKey(name: 'coin_archive') + CoinArchive? coinArchive; + @JsonKey(name: 'like_archive') + LikeArchive? likeArchive; + Audios? audios; + Favourite2? favourite2; + @JsonKey(name: 'attention_tip') + AttentionTip? attentionTip; + @JsonKey(name: 'fans_effect') + // FansEffect? fansEffect; + List? tab2; + @JsonKey(name: 'nft_face_button') + dynamic nftFaceButton; + @JsonKey(name: 'digital_button') + dynamic digitalButton; + dynamic entry; + + Data({ + this.relation, + this.guestRelation, + this.defaultTab, + this.isParams, + this.setting, + this.tab, + this.card, + this.images, + this.archive, + this.series, + this.article, + this.season, + this.coinArchive, + this.likeArchive, + this.audios, + this.favourite2, + this.attentionTip, + // this.fansEffect, + this.tab2, + this.nftFaceButton, + this.digitalButton, + this.entry, + }); + + factory Data.fromJson(Map json) => _$DataFromJson(json); + + Map toJson() => _$DataToJson(this); +} diff --git a/lib/models/space/data.g.dart b/lib/models/space/data.g.dart new file mode 100644 index 00000000..e29e1bd9 --- /dev/null +++ b/lib/models/space/data.g.dart @@ -0,0 +1,88 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'data.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Data _$DataFromJson(Map json) => Data( + relation: (json['relation'] as num?)?.toInt(), + guestRelation: (json['guest_relation'] as num?)?.toInt(), + defaultTab: json['default_tab'] as String?, + isParams: json['is_params'] as bool?, + setting: json['setting'] == null + ? null + : Setting.fromJson(json['setting'] as Map), + tab: json['tab'] == null + ? null + : Tab.fromJson(json['tab'] as Map), + card: json['card'] == null + ? null + : Card.fromJson(json['card'] as Map), + images: json['images'] == null + ? null + : Images.fromJson(json['images'] as Map), + archive: json['archive'] == null + ? null + : Archive.fromJson(json['archive'] as Map), + series: json['series'] == null + ? null + : Series.fromJson(json['series'] as Map), + article: json['article'] == null + ? null + : Article.fromJson(json['article'] as Map), + season: json['season'] == null + ? null + : Season.fromJson(json['season'] as Map), + coinArchive: json['coin_archive'] == null + ? null + : CoinArchive.fromJson(json['coin_archive'] as Map), + likeArchive: json['like_archive'] == null + ? null + : LikeArchive.fromJson(json['like_archive'] as Map), + audios: json['audios'] == null + ? null + : Audios.fromJson(json['audios'] as Map), + favourite2: json['favourite2'] == null + ? null + : Favourite2.fromJson(json['favourite2'] as Map), + attentionTip: json['attention_tip'] == null + ? null + : AttentionTip.fromJson( + json['attention_tip'] as Map), + // fansEffect: json['fans_effect'] == null + // ? null + // : FansEffect.fromJson(json['fans_effect'] as Map), + tab2: (json['tab2'] as List?) + ?.map((e) => Tab2.fromJson(e as Map)) + .toList(), + nftFaceButton: json['nft_face_button'], + digitalButton: json['digital_button'], + entry: json['entry'], + ); + +Map _$DataToJson(Data instance) => { + 'relation': instance.relation, + 'guest_relation': instance.guestRelation, + 'default_tab': instance.defaultTab, + 'is_params': instance.isParams, + 'setting': instance.setting, + 'tab': instance.tab, + 'card': instance.card, + 'images': instance.images, + 'archive': instance.archive, + 'series': instance.series, + 'article': instance.article, + 'season': instance.season, + 'coin_archive': instance.coinArchive, + 'like_archive': instance.likeArchive, + 'audios': instance.audios, + 'favourite2': instance.favourite2, + 'attention_tip': instance.attentionTip, + // 'fans_effect': instance.fansEffect, + 'tab2': instance.tab2, + 'nft_face_button': instance.nftFaceButton, + 'digital_button': instance.digitalButton, + 'entry': instance.entry, + }; diff --git a/lib/models/space/day.dart b/lib/models/space/day.dart new file mode 100644 index 00000000..765dffe7 --- /dev/null +++ b/lib/models/space/day.dart @@ -0,0 +1,14 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'day.g.dart'; + +@JsonSerializable() +class Day { + String? argb; + + Day({this.argb}); + + factory Day.fromJson(Map json) => _$DayFromJson(json); + + Map toJson() => _$DayToJson(this); +} diff --git a/lib/models/space/day.g.dart b/lib/models/space/day.g.dart new file mode 100644 index 00000000..36638a54 --- /dev/null +++ b/lib/models/space/day.g.dart @@ -0,0 +1,15 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'day.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Day _$DayFromJson(Map json) => Day( + argb: json['argb'] as String?, + ); + +Map _$DayToJson(Day instance) => { + 'argb': instance.argb, + }; diff --git a/lib/models/space/digital_info.dart b/lib/models/space/digital_info.dart new file mode 100644 index 00000000..b8e5cf16 --- /dev/null +++ b/lib/models/space/digital_info.dart @@ -0,0 +1,47 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'digital_info.g.dart'; + +@JsonSerializable() +class DigitalInfo { + bool? active; + @JsonKey(name: 'nft_type') + int? nftType; + @JsonKey(name: 'background_handle') + int? backgroundHandle; + @JsonKey(name: 'animation_first_frame') + String? animationFirstFrame; + @JsonKey(name: 'music_album') + dynamic musicAlbum; + dynamic animation; + @JsonKey(name: 'nft_region_title') + String? nftRegionTitle; + @JsonKey(name: 'card_id') + int? cardId; + @JsonKey(name: 'cut_space_bg') + String? cutSpaceBg; + @JsonKey(name: 'part_type') + int? partType; + @JsonKey(name: 'item_jump_url') + String? itemJumpUrl; + + DigitalInfo({ + this.active, + this.nftType, + this.backgroundHandle, + this.animationFirstFrame, + this.musicAlbum, + this.animation, + this.nftRegionTitle, + this.cardId, + this.cutSpaceBg, + this.partType, + this.itemJumpUrl, + }); + + factory DigitalInfo.fromJson(Map json) { + return _$DigitalInfoFromJson(json); + } + + Map toJson() => _$DigitalInfoToJson(this); +} diff --git a/lib/models/space/digital_info.g.dart b/lib/models/space/digital_info.g.dart new file mode 100644 index 00000000..fcf859a0 --- /dev/null +++ b/lib/models/space/digital_info.g.dart @@ -0,0 +1,36 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'digital_info.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +DigitalInfo _$DigitalInfoFromJson(Map json) => DigitalInfo( + active: json['active'] as bool?, + nftType: (json['nft_type'] as num?)?.toInt(), + backgroundHandle: (json['background_handle'] as num?)?.toInt(), + animationFirstFrame: json['animation_first_frame'] as String?, + musicAlbum: json['music_album'], + animation: json['animation'], + nftRegionTitle: json['nft_region_title'] as String?, + cardId: (json['card_id'] as num?)?.toInt(), + cutSpaceBg: json['cut_space_bg'] as String?, + partType: (json['part_type'] as num?)?.toInt(), + itemJumpUrl: json['item_jump_url'] as String?, + ); + +Map _$DigitalInfoToJson(DigitalInfo instance) => + { + 'active': instance.active, + 'nft_type': instance.nftType, + 'background_handle': instance.backgroundHandle, + 'animation_first_frame': instance.animationFirstFrame, + 'music_album': instance.musicAlbum, + 'animation': instance.animation, + 'nft_region_title': instance.nftRegionTitle, + 'card_id': instance.cardId, + 'cut_space_bg': instance.cutSpaceBg, + 'part_type': instance.partType, + 'item_jump_url': instance.itemJumpUrl, + }; diff --git a/lib/models/space/draw.dart b/lib/models/space/draw.dart new file mode 100644 index 00000000..2802aa9e --- /dev/null +++ b/lib/models/space/draw.dart @@ -0,0 +1,21 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'color_config.dart'; + +part 'draw.g.dart'; + +@JsonSerializable() +class Draw { + @JsonKey(name: 'draw_type') + int? drawType; + @JsonKey(name: 'fill_mode') + int? fillMode; + @JsonKey(name: 'color_config') + ColorConfig? colorConfig; + + Draw({this.drawType, this.fillMode, this.colorConfig}); + + factory Draw.fromJson(Map json) => _$DrawFromJson(json); + + Map toJson() => _$DrawToJson(this); +} diff --git a/lib/models/space/draw.g.dart b/lib/models/space/draw.g.dart new file mode 100644 index 00000000..87f0fc66 --- /dev/null +++ b/lib/models/space/draw.g.dart @@ -0,0 +1,21 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'draw.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Draw _$DrawFromJson(Map json) => Draw( + drawType: (json['draw_type'] as num?)?.toInt(), + fillMode: (json['fill_mode'] as num?)?.toInt(), + colorConfig: json['color_config'] == null + ? null + : ColorConfig.fromJson(json['color_config'] as Map), + ); + +Map _$DrawToJson(Draw instance) => { + 'draw_type': instance.drawType, + 'fill_mode': instance.fillMode, + 'color_config': instance.colorConfig, + }; diff --git a/lib/models/space/draw_src.dart b/lib/models/space/draw_src.dart new file mode 100644 index 00000000..d66dc02a --- /dev/null +++ b/lib/models/space/draw_src.dart @@ -0,0 +1,20 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'draw.dart'; + +part 'draw_src.g.dart'; + +@JsonSerializable() +class DrawSrc { + @JsonKey(name: 'src_type') + int? srcType; + Draw? draw; + + DrawSrc({this.srcType, this.draw}); + + factory DrawSrc.fromJson(Map json) { + return _$DrawSrcFromJson(json); + } + + Map toJson() => _$DrawSrcToJson(this); +} diff --git a/lib/models/space/draw_src.g.dart b/lib/models/space/draw_src.g.dart new file mode 100644 index 00000000..3b8ca722 --- /dev/null +++ b/lib/models/space/draw_src.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'draw_src.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +DrawSrc _$DrawSrcFromJson(Map json) => DrawSrc( + srcType: (json['src_type'] as num?)?.toInt(), + draw: json['draw'] == null + ? null + : Draw.fromJson(json['draw'] as Map), + ); + +Map _$DrawSrcToJson(DrawSrc instance) => { + 'src_type': instance.srcType, + 'draw': instance.draw, + }; diff --git a/lib/models/space/entrance.dart b/lib/models/space/entrance.dart new file mode 100644 index 00000000..b1cef01b --- /dev/null +++ b/lib/models/space/entrance.dart @@ -0,0 +1,20 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'entrance.g.dart'; + +@JsonSerializable() +class Entrance { + String? icon; + @JsonKey(name: 'jump_url') + String? jumpUrl; + @JsonKey(name: 'is_show_entrance') + bool? isShowEntrance; + + Entrance({this.icon, this.jumpUrl, this.isShowEntrance}); + + factory Entrance.fromJson(Map json) { + return _$EntranceFromJson(json); + } + + Map toJson() => _$EntranceToJson(this); +} diff --git a/lib/models/space/entrance.g.dart b/lib/models/space/entrance.g.dart new file mode 100644 index 00000000..0ef5e29b --- /dev/null +++ b/lib/models/space/entrance.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'entrance.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Entrance _$EntranceFromJson(Map json) => Entrance( + icon: json['icon'] as String?, + jumpUrl: json['jump_url'] as String?, + isShowEntrance: json['is_show_entrance'] as bool?, + ); + +Map _$EntranceToJson(Entrance instance) => { + 'icon': instance.icon, + 'jump_url': instance.jumpUrl, + 'is_show_entrance': instance.isShowEntrance, + }; diff --git a/lib/models/space/entrance_button.dart b/lib/models/space/entrance_button.dart new file mode 100644 index 00000000..9a7096ad --- /dev/null +++ b/lib/models/space/entrance_button.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'entrance_button.g.dart'; + +@JsonSerializable() +class EntranceButton { + String? uri; + String? title; + + EntranceButton({this.uri, this.title}); + + factory EntranceButton.fromJson(Map json) { + return _$EntranceButtonFromJson(json); + } + + Map toJson() => _$EntranceButtonToJson(this); +} diff --git a/lib/models/space/entrance_button.g.dart b/lib/models/space/entrance_button.g.dart new file mode 100644 index 00000000..fe6ddeb0 --- /dev/null +++ b/lib/models/space/entrance_button.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'entrance_button.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +EntranceButton _$EntranceButtonFromJson(Map json) => + EntranceButton( + uri: json['uri'] as String?, + title: json['title'] as String?, + ); + +Map _$EntranceButtonToJson(EntranceButton instance) => + { + 'uri': instance.uri, + 'title': instance.title, + }; diff --git a/lib/models/space/episodic_button.dart b/lib/models/space/episodic_button.dart new file mode 100644 index 00000000..a4523188 --- /dev/null +++ b/lib/models/space/episodic_button.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'episodic_button.g.dart'; + +@JsonSerializable() +class EpisodicButton { + String? text; + String? uri; + + EpisodicButton({this.text, this.uri}); + + factory EpisodicButton.fromJson(Map json) { + return _$EpisodicButtonFromJson(json); + } + + Map toJson() => _$EpisodicButtonToJson(this); +} diff --git a/lib/models/space/episodic_button.g.dart b/lib/models/space/episodic_button.g.dart new file mode 100644 index 00000000..0fbc3823 --- /dev/null +++ b/lib/models/space/episodic_button.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'episodic_button.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +EpisodicButton _$EpisodicButtonFromJson(Map json) => + EpisodicButton( + text: json['text'] as String?, + uri: json['uri'] as String?, + ); + +Map _$EpisodicButtonToJson(EpisodicButton instance) => + { + 'text': instance.text, + 'uri': instance.uri, + }; diff --git a/lib/models/space/fallback_layers.dart b/lib/models/space/fallback_layers.dart new file mode 100644 index 00000000..2f224195 --- /dev/null +++ b/lib/models/space/fallback_layers.dart @@ -0,0 +1,20 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'layer.dart'; + +part 'fallback_layers.g.dart'; + +@JsonSerializable() +class FallbackLayers { + List? layers; + @JsonKey(name: 'is_critical_group') + bool? isCriticalGroup; + + FallbackLayers({this.layers, this.isCriticalGroup}); + + factory FallbackLayers.fromJson(Map json) { + return _$FallbackLayersFromJson(json); + } + + Map toJson() => _$FallbackLayersToJson(this); +} diff --git a/lib/models/space/fallback_layers.g.dart b/lib/models/space/fallback_layers.g.dart new file mode 100644 index 00000000..af5cfafc --- /dev/null +++ b/lib/models/space/fallback_layers.g.dart @@ -0,0 +1,21 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'fallback_layers.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +FallbackLayers _$FallbackLayersFromJson(Map json) => + FallbackLayers( + layers: (json['layers'] as List?) + ?.map((e) => Layer.fromJson(e as Map)) + .toList(), + isCriticalGroup: json['is_critical_group'] as bool?, + ); + +Map _$FallbackLayersToJson(FallbackLayers instance) => + { + 'layers': instance.layers, + 'is_critical_group': instance.isCriticalGroup, + }; diff --git a/lib/models/space/fans_effect.dart b/lib/models/space/fans_effect.dart new file mode 100644 index 00000000..30de59c9 --- /dev/null +++ b/lib/models/space/fans_effect.dart @@ -0,0 +1,14 @@ + +class FansEffect { + FansEffect(); + + factory FansEffect.fromJson(Map json) { + // TODO: implement fromJson + throw UnimplementedError('FansEffect.fromJson($json) is not implemented'); + } + + Map toJson() { + // TODO: implement toJson + throw UnimplementedError(); + } +} \ No newline at end of file diff --git a/lib/models/space/favourite2.dart b/lib/models/space/favourite2.dart new file mode 100644 index 00000000..6968144d --- /dev/null +++ b/lib/models/space/favourite2.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'favourite2.g.dart'; + +@JsonSerializable() +class Favourite2 { + int? count; + List? item; + + Favourite2({this.count, this.item}); + + factory Favourite2.fromJson(Map json) { + return _$Favourite2FromJson(json); + } + + Map toJson() => _$Favourite2ToJson(this); +} diff --git a/lib/models/space/favourite2.g.dart b/lib/models/space/favourite2.g.dart new file mode 100644 index 00000000..55858366 --- /dev/null +++ b/lib/models/space/favourite2.g.dart @@ -0,0 +1,18 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'favourite2.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Favourite2 _$Favourite2FromJson(Map json) => Favourite2( + count: (json['count'] as num?)?.toInt(), + item: json['item'] as List?, + ); + +Map _$Favourite2ToJson(Favourite2 instance) => + { + 'count': instance.count, + 'item': instance.item, + }; diff --git a/lib/models/space/general_spec.dart b/lib/models/space/general_spec.dart new file mode 100644 index 00000000..4b3429f2 --- /dev/null +++ b/lib/models/space/general_spec.dart @@ -0,0 +1,25 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'pos_spec.dart'; +import 'render_spec.dart'; +import 'size_spec.dart'; + +part 'general_spec.g.dart'; + +@JsonSerializable() +class GeneralSpec { + @JsonKey(name: 'pos_spec') + PosSpec? posSpec; + @JsonKey(name: 'size_spec') + SizeSpec? sizeSpec; + @JsonKey(name: 'render_spec') + RenderSpec? renderSpec; + + GeneralSpec({this.posSpec, this.sizeSpec, this.renderSpec}); + + factory GeneralSpec.fromJson(Map json) { + return _$GeneralSpecFromJson(json); + } + + Map toJson() => _$GeneralSpecToJson(this); +} diff --git a/lib/models/space/general_spec.g.dart b/lib/models/space/general_spec.g.dart new file mode 100644 index 00000000..aa478ebd --- /dev/null +++ b/lib/models/space/general_spec.g.dart @@ -0,0 +1,26 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'general_spec.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +GeneralSpec _$GeneralSpecFromJson(Map json) => GeneralSpec( + posSpec: json['pos_spec'] == null + ? null + : PosSpec.fromJson(json['pos_spec'] as Map), + sizeSpec: json['size_spec'] == null + ? null + : SizeSpec.fromJson(json['size_spec'] as Map), + renderSpec: json['render_spec'] == null + ? null + : RenderSpec.fromJson(json['render_spec'] as Map), + ); + +Map _$GeneralSpecToJson(GeneralSpec instance) => + { + 'pos_spec': instance.posSpec, + 'size_spec': instance.sizeSpec, + 'render_spec': instance.renderSpec, + }; diff --git a/lib/models/space/honours.dart b/lib/models/space/honours.dart new file mode 100644 index 00000000..79623875 --- /dev/null +++ b/lib/models/space/honours.dart @@ -0,0 +1,19 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'colour.dart'; + +part 'honours.g.dart'; + +@JsonSerializable() +class Honours { + Colour? colour; + List? tags; + + Honours({this.colour, this.tags}); + + factory Honours.fromJson(Map json) { + return _$HonoursFromJson(json); + } + + Map toJson() => _$HonoursToJson(this); +} diff --git a/lib/models/space/honours.g.dart b/lib/models/space/honours.g.dart new file mode 100644 index 00000000..48ae48ed --- /dev/null +++ b/lib/models/space/honours.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'honours.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Honours _$HonoursFromJson(Map json) => Honours( + colour: json['colour'] == null + ? null + : Colour.fromJson(json['colour'] as Map), + tags: json['tags'] as List?, + ); + +Map _$HonoursToJson(Honours instance) => { + 'colour': instance.colour, + 'tags': instance.tags, + }; diff --git a/lib/models/space/images.dart b/lib/models/space/images.dart new file mode 100644 index 00000000..c3c5d5aa --- /dev/null +++ b/lib/models/space/images.dart @@ -0,0 +1,43 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'digital_info.dart'; +import 'entrance_button.dart'; +import 'purchase_button.dart'; + +part 'images.g.dart'; + +@JsonSerializable() +class Images { + String? imgUrl; + @JsonKey(name: 'night_imgurl') + String? nightImgurl; + @JsonKey(name: 'has_garb') + bool? hasGarb; + @JsonKey(name: 'goods_available') + bool? goodsAvailable; + @JsonKey(name: 'purchase_button') + PurchaseButton? purchaseButton; + @JsonKey(name: 'entrance_button') + EntranceButton? entranceButton; + @JsonKey(name: 'digital_info') + DigitalInfo? digitalInfo; + @JsonKey(name: 'collection_top_simple') + dynamic collectionTopSimple; + + Images({ + this.imgUrl, + this.nightImgurl, + this.hasGarb, + this.goodsAvailable, + this.purchaseButton, + this.entranceButton, + this.digitalInfo, + this.collectionTopSimple, + }); + + factory Images.fromJson(Map json) { + return _$ImagesFromJson(json); + } + + Map toJson() => _$ImagesToJson(this); +} diff --git a/lib/models/space/images.g.dart b/lib/models/space/images.g.dart new file mode 100644 index 00000000..7736b1de --- /dev/null +++ b/lib/models/space/images.g.dart @@ -0,0 +1,37 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'images.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Images _$ImagesFromJson(Map json) => Images( + imgUrl: json['imgUrl'] as String?, + nightImgurl: json['night_imgurl'] as String?, + hasGarb: json['has_garb'] as bool?, + goodsAvailable: json['goods_available'] as bool?, + purchaseButton: json['purchase_button'] == null + ? null + : PurchaseButton.fromJson( + json['purchase_button'] as Map), + entranceButton: json['entrance_button'] == null + ? null + : EntranceButton.fromJson( + json['entrance_button'] as Map), + digitalInfo: json['digital_info'] == null + ? null + : DigitalInfo.fromJson(json['digital_info'] as Map), + collectionTopSimple: json['collection_top_simple'], + ); + +Map _$ImagesToJson(Images instance) => { + 'imgUrl': instance.imgUrl, + 'night_imgurl': instance.nightImgurl, + 'has_garb': instance.hasGarb, + 'goods_available': instance.goodsAvailable, + 'purchase_button': instance.purchaseButton, + 'entrance_button': instance.entranceButton, + 'digital_info': instance.digitalInfo, + 'collection_top_simple': instance.collectionTopSimple, + }; diff --git a/lib/models/space/item.dart b/lib/models/space/item.dart new file mode 100644 index 00000000..98cc36a5 --- /dev/null +++ b/lib/models/space/item.dart @@ -0,0 +1,102 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'three_point.dart'; + +part 'item.g.dart'; + +@JsonSerializable() +class Item { + String? title; + String? subtitle; + String? tname; + String? cover; + @JsonKey(name: 'cover_icon') + String? coverIcon; + String? uri; + String? param; + @JsonKey(name: 'series_id') + int? seriesId; + @JsonKey(name: 'season_id') + int? seasonId; + String? goto; + String? length; + int? duration; + @JsonKey(name: 'is_popular') + bool? isPopular; + @JsonKey(name: 'is_steins') + bool? isSteins; + @JsonKey(name: 'is_ugcpay') + bool? isUgcpay; + @JsonKey(name: 'is_cooperation') + bool? isCooperation; + @JsonKey(name: 'is_pgc') + bool? isPgc; + @JsonKey(name: 'is_live_playback') + bool? isLivePlayback; + @JsonKey(name: 'is_pugv') + bool? isPugv; + @JsonKey(name: 'is_fold') + bool? isFold; + @JsonKey(name: 'is_oneself') + bool? isOneself; + int? play; + int? danmaku; + int? ctime; + @JsonKey(name: 'ugc_pay') + int? ugcPay; + String? author; + bool? state; + String? bvid; + int? videos; + // @JsonKey(name: 'three_point') + // List? threePoint; + @JsonKey(name: 'first_cid') + int? firstCid; + @JsonKey(name: 'view_content') + String? viewContent; + @JsonKey(name: 'icon_type') + int? iconType; + @JsonKey(name: 'publish_time_text') + String? publishTimeText; + + Item({ + this.title, + this.subtitle, + this.tname, + this.cover, + this.coverIcon, + this.uri, + this.param, + this.seriesId, + this.seasonId, + this.goto, + this.length, + this.duration, + this.isPopular, + this.isSteins, + this.isUgcpay, + this.isCooperation, + this.isPgc, + this.isLivePlayback, + this.isPugv, + this.isFold, + this.isOneself, + this.play, + this.danmaku, + this.ctime, + this.ugcPay, + this.author, + this.state, + this.bvid, + this.videos, + // this.threePoint, + this.firstCid, + this.viewContent, + this.iconType, + this.publishTimeText, + }); + + factory Item.fromJson(Map json) => _$ItemFromJson(json); + + Map toJson() => _$ItemToJson(this); +} diff --git a/lib/models/space/item.g.dart b/lib/models/space/item.g.dart new file mode 100644 index 00000000..136961a5 --- /dev/null +++ b/lib/models/space/item.g.dart @@ -0,0 +1,83 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'item.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Item _$ItemFromJson(Map json) => Item( + title: json['title'] as String?, + subtitle: json['subtitle'] as String?, + tname: json['tname'] as String?, + cover: json['cover'] as String?, + coverIcon: json['cover_icon'] as String?, + uri: json['uri'] as String?, + param: json['param'] as String?, + seriesId: (json['series_id'] as num?)?.toInt(), + seasonId: (json['season_id'] as num?)?.toInt(), + goto: json['goto'] as String?, + length: json['length'] as String?, + duration: (json['duration'] as num?)?.toInt(), + isPopular: json['is_popular'] as bool?, + isSteins: json['is_steins'] as bool?, + isUgcpay: json['is_ugcpay'] as bool?, + isCooperation: json['is_cooperation'] as bool?, + isPgc: json['is_pgc'] as bool?, + isLivePlayback: json['is_live_playback'] as bool?, + isPugv: json['is_pugv'] as bool?, + isFold: json['is_fold'] as bool?, + isOneself: json['is_oneself'] as bool?, + play: (json['play'] as num?)?.toInt(), + danmaku: (json['danmaku'] as num?)?.toInt(), + ctime: (json['ctime'] as num?)?.toInt(), + ugcPay: (json['ugc_pay'] as num?)?.toInt(), + author: json['author'] as String?, + state: json['state'] as bool?, + bvid: json['bvid'] as String?, + videos: (json['videos'] as num?)?.toInt(), + // threePoint: (json['three_point'] as List?) + // ?.map((e) => ThreePoint.fromJson(e as Map)) + // .toList(), + firstCid: (json['first_cid'] as num?)?.toInt(), + viewContent: json['view_content'] as String?, + iconType: (json['icon_type'] as num?)?.toInt(), + publishTimeText: json['publish_time_text'] as String?, + ); + +Map _$ItemToJson(Item instance) => { + 'title': instance.title, + 'subtitle': instance.subtitle, + 'tname': instance.tname, + 'cover': instance.cover, + 'cover_icon': instance.coverIcon, + 'uri': instance.uri, + 'param': instance.param, + 'series_id': instance.seriesId, + 'season_id': instance.seasonId, + 'goto': instance.goto, + 'length': instance.length, + 'duration': instance.duration, + 'is_popular': instance.isPopular, + 'is_steins': instance.isSteins, + 'is_ugcpay': instance.isUgcpay, + 'is_cooperation': instance.isCooperation, + 'is_pgc': instance.isPgc, + 'is_live_playback': instance.isLivePlayback, + 'is_pugv': instance.isPugv, + 'is_fold': instance.isFold, + 'is_oneself': instance.isOneself, + 'play': instance.play, + 'danmaku': instance.danmaku, + 'ctime': instance.ctime, + 'ugc_pay': instance.ugcPay, + 'author': instance.author, + 'state': instance.state, + 'bvid': instance.bvid, + 'videos': instance.videos, + // 'three_point': instance.threePoint, + 'first_cid': instance.firstCid, + 'view_content': instance.viewContent, + 'icon_type': instance.iconType, + 'publish_time_text': instance.publishTimeText, + }; diff --git a/lib/models/space/label.dart b/lib/models/space/label.dart new file mode 100644 index 00000000..9a8a5640 --- /dev/null +++ b/lib/models/space/label.dart @@ -0,0 +1,35 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'label.g.dart'; + +@JsonSerializable() +class Label { + String? path; + String? text; + @JsonKey(name: 'label_theme') + String? labelTheme; + @JsonKey(name: 'text_color') + String? textColor; + @JsonKey(name: 'bg_style') + int? bgStyle; + @JsonKey(name: 'bg_color') + String? bgColor; + @JsonKey(name: 'border_color') + String? borderColor; + String? image; + + Label({ + this.path, + this.text, + this.labelTheme, + this.textColor, + this.bgStyle, + this.bgColor, + this.borderColor, + this.image, + }); + + factory Label.fromJson(Map json) => _$LabelFromJson(json); + + Map toJson() => _$LabelToJson(this); +} diff --git a/lib/models/space/label.g.dart b/lib/models/space/label.g.dart new file mode 100644 index 00000000..f22d8f14 --- /dev/null +++ b/lib/models/space/label.g.dart @@ -0,0 +1,29 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'label.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Label _$LabelFromJson(Map json) => Label( + path: json['path'] as String?, + text: json['text'] as String?, + labelTheme: json['label_theme'] as String?, + textColor: json['text_color'] as String?, + bgStyle: (json['bg_style'] as num?)?.toInt(), + bgColor: json['bg_color'] as String?, + borderColor: json['border_color'] as String?, + image: json['image'] as String?, + ); + +Map _$LabelToJson(Label instance) => { + 'path': instance.path, + 'text': instance.text, + 'label_theme': instance.labelTheme, + 'text_color': instance.textColor, + 'bg_style': instance.bgStyle, + 'bg_color': instance.bgColor, + 'border_color': instance.borderColor, + 'image': instance.image, + }; diff --git a/lib/models/space/layer.dart b/lib/models/space/layer.dart new file mode 100644 index 00000000..91180f4b --- /dev/null +++ b/lib/models/space/layer.dart @@ -0,0 +1,23 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'general_spec.dart'; +import 'layer_config.dart'; +import 'resource.dart'; + +part 'layer.g.dart'; + +@JsonSerializable() +class Layer { + bool? visible; + @JsonKey(name: 'general_spec') + GeneralSpec? generalSpec; + @JsonKey(name: 'layer_config') + LayerConfig? layerConfig; + Resource? resource; + + Layer({this.visible, this.generalSpec, this.layerConfig, this.resource}); + + factory Layer.fromJson(Map json) => _$LayerFromJson(json); + + Map toJson() => _$LayerToJson(this); +} diff --git a/lib/models/space/layer.g.dart b/lib/models/space/layer.g.dart new file mode 100644 index 00000000..568d8ec6 --- /dev/null +++ b/lib/models/space/layer.g.dart @@ -0,0 +1,27 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'layer.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Layer _$LayerFromJson(Map json) => Layer( + visible: json['visible'] as bool?, + generalSpec: json['general_spec'] == null + ? null + : GeneralSpec.fromJson(json['general_spec'] as Map), + layerConfig: json['layer_config'] == null + ? null + : LayerConfig.fromJson(json['layer_config'] as Map), + resource: json['resource'] == null + ? null + : Resource.fromJson(json['resource'] as Map), + ); + +Map _$LayerToJson(Layer instance) => { + 'visible': instance.visible, + 'general_spec': instance.generalSpec, + 'layer_config': instance.layerConfig, + 'resource': instance.resource, + }; diff --git a/lib/models/space/layer_config.dart b/lib/models/space/layer_config.dart new file mode 100644 index 00000000..ca1e1e20 --- /dev/null +++ b/lib/models/space/layer_config.dart @@ -0,0 +1,23 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'tags.dart'; + +part 'layer_config.g.dart'; + +@JsonSerializable() +class LayerConfig { + // Tags? tags; + @JsonKey(name: 'is_critical') + bool? isCritical; + + LayerConfig({ + // this.tags, + this.isCritical, + }); + + factory LayerConfig.fromJson(Map json) { + return _$LayerConfigFromJson(json); + } + + Map toJson() => _$LayerConfigToJson(this); +} diff --git a/lib/models/space/layer_config.g.dart b/lib/models/space/layer_config.g.dart new file mode 100644 index 00000000..c67c9838 --- /dev/null +++ b/lib/models/space/layer_config.g.dart @@ -0,0 +1,20 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'layer_config.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +LayerConfig _$LayerConfigFromJson(Map json) => LayerConfig( + // tags: json['tags'] == null + // ? null + // : Tags.fromJson(json['tags'] as Map), + isCritical: json['is_critical'] as bool?, + ); + +Map _$LayerConfigToJson(LayerConfig instance) => + { + // 'tags': instance.tags, + 'is_critical': instance.isCritical, + }; diff --git a/lib/models/space/level_info.dart b/lib/models/space/level_info.dart new file mode 100644 index 00000000..f71c1d6b --- /dev/null +++ b/lib/models/space/level_info.dart @@ -0,0 +1,35 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'senior_inquiry.dart'; + +part 'level_info.g.dart'; + +@JsonSerializable() +class LevelInfo { + @JsonKey(name: 'current_level') + int? currentLevel; + @JsonKey(name: 'current_min') + int? currentMin; + @JsonKey(name: 'current_exp') + int? currentExp; + @JsonKey(name: 'next_exp') + dynamic nextExp; + int? identity; + @JsonKey(name: 'senior_inquiry') + SeniorInquiry? seniorInquiry; + + LevelInfo({ + this.currentLevel, + this.currentMin, + this.currentExp, + this.nextExp, + this.identity, + this.seniorInquiry, + }); + + factory LevelInfo.fromJson(Map json) { + return _$LevelInfoFromJson(json); + } + + Map toJson() => _$LevelInfoToJson(this); +} diff --git a/lib/models/space/level_info.g.dart b/lib/models/space/level_info.g.dart new file mode 100644 index 00000000..85331578 --- /dev/null +++ b/lib/models/space/level_info.g.dart @@ -0,0 +1,28 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'level_info.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +LevelInfo _$LevelInfoFromJson(Map json) => LevelInfo( + currentLevel: (json['current_level'] as num?)?.toInt(), + currentMin: (json['current_min'] as num?)?.toInt(), + currentExp: (json['current_exp'] as num?)?.toInt(), + nextExp: json['next_exp'], + identity: (json['identity'] as num?)?.toInt(), + seniorInquiry: json['senior_inquiry'] == null + ? null + : SeniorInquiry.fromJson( + json['senior_inquiry'] as Map), + ); + +Map _$LevelInfoToJson(LevelInfo instance) => { + 'current_level': instance.currentLevel, + 'current_min': instance.currentMin, + 'current_exp': instance.currentExp, + 'next_exp': instance.nextExp, + 'identity': instance.identity, + 'senior_inquiry': instance.seniorInquiry, + }; diff --git a/lib/models/space/like_archive.dart b/lib/models/space/like_archive.dart new file mode 100644 index 00000000..1ff59a4b --- /dev/null +++ b/lib/models/space/like_archive.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'like_archive.g.dart'; + +@JsonSerializable() +class LikeArchive { + int? count; + List? item; + + LikeArchive({this.count, this.item}); + + factory LikeArchive.fromJson(Map json) { + return _$LikeArchiveFromJson(json); + } + + Map toJson() => _$LikeArchiveToJson(this); +} diff --git a/lib/models/space/like_archive.g.dart b/lib/models/space/like_archive.g.dart new file mode 100644 index 00000000..59f39886 --- /dev/null +++ b/lib/models/space/like_archive.g.dart @@ -0,0 +1,18 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'like_archive.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +LikeArchive _$LikeArchiveFromJson(Map json) => LikeArchive( + count: (json['count'] as num?)?.toInt(), + item: json['item'] as List?, + ); + +Map _$LikeArchiveToJson(LikeArchive instance) => + { + 'count': instance.count, + 'item': instance.item, + }; diff --git a/lib/models/space/likes.dart b/lib/models/space/likes.dart new file mode 100644 index 00000000..cf755b36 --- /dev/null +++ b/lib/models/space/likes.dart @@ -0,0 +1,20 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'likes.g.dart'; + +@JsonSerializable() +class Likes { + @JsonKey(name: 'like_num') + int likeNum; + @JsonKey(name: 'skr_tip') + String? skrTip; + + Likes({ + required this.likeNum, + this.skrTip, + }); + + factory Likes.fromJson(Map json) => _$LikesFromJson(json); + + Map toJson() => _$LikesToJson(this); +} diff --git a/lib/models/space/likes.g.dart b/lib/models/space/likes.g.dart new file mode 100644 index 00000000..5dbb597b --- /dev/null +++ b/lib/models/space/likes.g.dart @@ -0,0 +1,17 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'likes.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Likes _$LikesFromJson(Map json) => Likes( + likeNum: (json['like_num'] as num?)?.toInt() ?? 0, + skrTip: json['skr_tip'] as String?, + ); + +Map _$LikesToJson(Likes instance) => { + 'like_num': instance.likeNum, + 'skr_tip': instance.skrTip, + }; diff --git a/lib/models/space/nameplate.dart b/lib/models/space/nameplate.dart new file mode 100644 index 00000000..e0ce7118 --- /dev/null +++ b/lib/models/space/nameplate.dart @@ -0,0 +1,29 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'nameplate.g.dart'; + +@JsonSerializable() +class Nameplate { + int? nid; + String? name; + String? image; + @JsonKey(name: 'image_small') + String? imageSmall; + String? level; + String? condition; + + Nameplate({ + this.nid, + this.name, + this.image, + this.imageSmall, + this.level, + this.condition, + }); + + factory Nameplate.fromJson(Map json) { + return _$NameplateFromJson(json); + } + + Map toJson() => _$NameplateToJson(this); +} diff --git a/lib/models/space/nameplate.g.dart b/lib/models/space/nameplate.g.dart new file mode 100644 index 00000000..8e0bc567 --- /dev/null +++ b/lib/models/space/nameplate.g.dart @@ -0,0 +1,25 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'nameplate.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Nameplate _$NameplateFromJson(Map json) => Nameplate( + nid: (json['nid'] as num?)?.toInt(), + name: json['name'] as String?, + image: json['image'] as String?, + imageSmall: json['image_small'] as String?, + level: json['level'] as String?, + condition: json['condition'] as String?, + ); + +Map _$NameplateToJson(Nameplate instance) => { + 'nid': instance.nid, + 'name': instance.name, + 'image': instance.image, + 'image_small': instance.imageSmall, + 'level': instance.level, + 'condition': instance.condition, + }; diff --git a/lib/models/space/nft_certificate.dart b/lib/models/space/nft_certificate.dart new file mode 100644 index 00000000..2d5f16e7 --- /dev/null +++ b/lib/models/space/nft_certificate.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'nft_certificate.g.dart'; + +@JsonSerializable() +class NftCertificate { + @JsonKey(name: 'detail_url') + String? detailUrl; + + NftCertificate({this.detailUrl}); + + factory NftCertificate.fromJson(Map json) { + return _$NftCertificateFromJson(json); + } + + Map toJson() => _$NftCertificateToJson(this); +} diff --git a/lib/models/space/nft_certificate.g.dart b/lib/models/space/nft_certificate.g.dart new file mode 100644 index 00000000..e6dbd8f0 --- /dev/null +++ b/lib/models/space/nft_certificate.g.dart @@ -0,0 +1,17 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'nft_certificate.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +NftCertificate _$NftCertificateFromJson(Map json) => + NftCertificate( + detailUrl: json['detail_url'] as String?, + ); + +Map _$NftCertificateToJson(NftCertificate instance) => + { + 'detail_url': instance.detailUrl, + }; diff --git a/lib/models/space/night.dart b/lib/models/space/night.dart new file mode 100644 index 00000000..c5646181 --- /dev/null +++ b/lib/models/space/night.dart @@ -0,0 +1,14 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'night.g.dart'; + +@JsonSerializable() +class Night { + String? argb; + + Night({this.argb}); + + factory Night.fromJson(Map json) => _$NightFromJson(json); + + Map toJson() => _$NightToJson(this); +} diff --git a/lib/models/space/night.g.dart b/lib/models/space/night.g.dart new file mode 100644 index 00000000..e2f34bfb --- /dev/null +++ b/lib/models/space/night.g.dart @@ -0,0 +1,15 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'night.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Night _$NightFromJson(Map json) => Night( + argb: json['argb'] as String?, + ); + +Map _$NightToJson(Night instance) => { + 'argb': instance.argb, + }; diff --git a/lib/models/space/official_verify.dart b/lib/models/space/official_verify.dart new file mode 100644 index 00000000..23b1b804 --- /dev/null +++ b/lib/models/space/official_verify.dart @@ -0,0 +1,29 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'official_verify.g.dart'; + +@JsonSerializable() +class OfficialVerify { + int? type; + String? desc; + int? role; + String? title; + String? icon; + @JsonKey(name: 'splice_title') + String? spliceTitle; + + OfficialVerify({ + this.type, + this.desc, + this.role, + this.title, + this.icon, + this.spliceTitle, + }); + + factory OfficialVerify.fromJson(Map json) { + return _$OfficialVerifyFromJson(json); + } + + Map toJson() => _$OfficialVerifyToJson(this); +} diff --git a/lib/models/space/official_verify.g.dart b/lib/models/space/official_verify.g.dart new file mode 100644 index 00000000..0cb53fe4 --- /dev/null +++ b/lib/models/space/official_verify.g.dart @@ -0,0 +1,27 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'official_verify.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +OfficialVerify _$OfficialVerifyFromJson(Map json) => + OfficialVerify( + type: (json['type'] as num?)?.toInt(), + desc: json['desc'] as String?, + role: (json['role'] as num?)?.toInt(), + title: json['title'] as String?, + icon: json['icon'] as String?, + spliceTitle: json['splice_title'] as String?, + ); + +Map _$OfficialVerifyToJson(OfficialVerify instance) => + { + 'type': instance.type, + 'desc': instance.desc, + 'role': instance.role, + 'title': instance.title, + 'icon': instance.icon, + 'splice_title': instance.spliceTitle, + }; diff --git a/lib/models/space/order.dart b/lib/models/space/order.dart new file mode 100644 index 00000000..26c7373d --- /dev/null +++ b/lib/models/space/order.dart @@ -0,0 +1,15 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'order.g.dart'; + +@JsonSerializable() +class Order { + String? title; + String? value; + + Order({this.title, this.value}); + + factory Order.fromJson(Map json) => _$OrderFromJson(json); + + Map toJson() => _$OrderToJson(this); +} diff --git a/lib/models/space/order.g.dart b/lib/models/space/order.g.dart new file mode 100644 index 00000000..0c372c3c --- /dev/null +++ b/lib/models/space/order.g.dart @@ -0,0 +1,17 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'order.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Order _$OrderFromJson(Map json) => Order( + title: json['title'] as String?, + value: json['value'] as String?, + ); + +Map _$OrderToJson(Order instance) => { + 'title': instance.title, + 'value': instance.value, + }; diff --git a/lib/models/space/pendant.dart b/lib/models/space/pendant.dart new file mode 100644 index 00000000..6280db28 --- /dev/null +++ b/lib/models/space/pendant.dart @@ -0,0 +1,33 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'pendant.g.dart'; + +@JsonSerializable() +class Pendant { + int? pid; + String? name; + String? image; + int? expire; + @JsonKey(name: 'image_enhance') + String? imageEnhance; + @JsonKey(name: 'image_enhance_frame') + String? imageEnhanceFrame; + @JsonKey(name: 'n_pid') + int? nPid; + + Pendant({ + this.pid, + this.name, + this.image, + this.expire, + this.imageEnhance, + this.imageEnhanceFrame, + this.nPid, + }); + + factory Pendant.fromJson(Map json) { + return _$PendantFromJson(json); + } + + Map toJson() => _$PendantToJson(this); +} diff --git a/lib/models/space/pendant.g.dart b/lib/models/space/pendant.g.dart new file mode 100644 index 00000000..edc778ce --- /dev/null +++ b/lib/models/space/pendant.g.dart @@ -0,0 +1,27 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'pendant.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Pendant _$PendantFromJson(Map json) => Pendant( + pid: (json['pid'] as num?)?.toInt(), + name: json['name'] as String?, + image: json['image'] as String?, + expire: (json['expire'] as num?)?.toInt(), + imageEnhance: json['image_enhance'] as String?, + imageEnhanceFrame: json['image_enhance_frame'] as String?, + nPid: (json['n_pid'] as num?)?.toInt(), + ); + +Map _$PendantToJson(Pendant instance) => { + 'pid': instance.pid, + 'name': instance.name, + 'image': instance.image, + 'expire': instance.expire, + 'image_enhance': instance.imageEnhance, + 'image_enhance_frame': instance.imageEnhanceFrame, + 'n_pid': instance.nPid, + }; diff --git a/lib/models/space/pos_spec.dart b/lib/models/space/pos_spec.dart new file mode 100644 index 00000000..49ac42ec --- /dev/null +++ b/lib/models/space/pos_spec.dart @@ -0,0 +1,21 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'pos_spec.g.dart'; + +@JsonSerializable() +class PosSpec { + @JsonKey(name: 'coordinate_pos') + int? coordinatePos; + @JsonKey(name: 'axis_x') + double? axisX; + @JsonKey(name: 'axis_y') + double? axisY; + + PosSpec({this.coordinatePos, this.axisX, this.axisY}); + + factory PosSpec.fromJson(Map json) { + return _$PosSpecFromJson(json); + } + + Map toJson() => _$PosSpecToJson(this); +} diff --git a/lib/models/space/pos_spec.g.dart b/lib/models/space/pos_spec.g.dart new file mode 100644 index 00000000..2f2d5ceb --- /dev/null +++ b/lib/models/space/pos_spec.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'pos_spec.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +PosSpec _$PosSpecFromJson(Map json) => PosSpec( + coordinatePos: (json['coordinate_pos'] as num?)?.toInt(), + axisX: (json['axis_x'] as num?)?.toDouble(), + axisY: (json['axis_y'] as num?)?.toDouble(), + ); + +Map _$PosSpecToJson(PosSpec instance) => { + 'coordinate_pos': instance.coordinatePos, + 'axis_x': instance.axisX, + 'axis_y': instance.axisY, + }; diff --git a/lib/models/space/pr_info.dart b/lib/models/space/pr_info.dart new file mode 100644 index 00000000..403cddf7 --- /dev/null +++ b/lib/models/space/pr_info.dart @@ -0,0 +1,14 @@ + +class PrInfo { + PrInfo(); + + factory PrInfo.fromJson(Map json) { + // TODO: implement fromJson + throw UnimplementedError('PrInfo.fromJson($json) is not implemented'); + } + + Map toJson() { + // TODO: implement toJson + throw UnimplementedError(); + } +} \ No newline at end of file diff --git a/lib/models/space/profession.dart b/lib/models/space/profession.dart new file mode 100644 index 00000000..6efd2f86 --- /dev/null +++ b/lib/models/space/profession.dart @@ -0,0 +1,14 @@ + +class Profession { + Profession(); + + factory Profession.fromJson(Map json) { + // TODO: implement fromJson + throw UnimplementedError('Profession.fromJson($json) is not implemented'); + } + + Map toJson() { + // TODO: implement toJson + throw UnimplementedError(); + } +} \ No newline at end of file diff --git a/lib/models/space/profession_verify.dart b/lib/models/space/profession_verify.dart new file mode 100644 index 00000000..067b5a1e --- /dev/null +++ b/lib/models/space/profession_verify.dart @@ -0,0 +1,18 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'profession_verify.g.dart'; + +@JsonSerializable() +class ProfessionVerify { + String? icon; + @JsonKey(name: 'show_desc') + String? showDesc; + + ProfessionVerify({this.icon, this.showDesc}); + + factory ProfessionVerify.fromJson(Map json) { + return _$ProfessionVerifyFromJson(json); + } + + Map toJson() => _$ProfessionVerifyToJson(this); +} diff --git a/lib/models/space/profession_verify.g.dart b/lib/models/space/profession_verify.g.dart new file mode 100644 index 00000000..119951ee --- /dev/null +++ b/lib/models/space/profession_verify.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'profession_verify.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +ProfessionVerify _$ProfessionVerifyFromJson(Map json) => + ProfessionVerify( + icon: json['icon'] as String?, + showDesc: json['show_desc'] as String?, + ); + +Map _$ProfessionVerifyToJson(ProfessionVerify instance) => + { + 'icon': instance.icon, + 'show_desc': instance.showDesc, + }; diff --git a/lib/models/space/purchase_button.dart b/lib/models/space/purchase_button.dart new file mode 100644 index 00000000..4d695ade --- /dev/null +++ b/lib/models/space/purchase_button.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'purchase_button.g.dart'; + +@JsonSerializable() +class PurchaseButton { + String? uri; + String? title; + + PurchaseButton({this.uri, this.title}); + + factory PurchaseButton.fromJson(Map json) { + return _$PurchaseButtonFromJson(json); + } + + Map toJson() => _$PurchaseButtonToJson(this); +} diff --git a/lib/models/space/purchase_button.g.dart b/lib/models/space/purchase_button.g.dart new file mode 100644 index 00000000..8efd6c3a --- /dev/null +++ b/lib/models/space/purchase_button.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'purchase_button.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +PurchaseButton _$PurchaseButtonFromJson(Map json) => + PurchaseButton( + uri: json['uri'] as String?, + title: json['title'] as String?, + ); + +Map _$PurchaseButtonToJson(PurchaseButton instance) => + { + 'uri': instance.uri, + 'title': instance.title, + }; diff --git a/lib/models/space/relation.dart b/lib/models/space/relation.dart new file mode 100644 index 00000000..ff2237e9 --- /dev/null +++ b/lib/models/space/relation.dart @@ -0,0 +1,18 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'relation.g.dart'; + +@JsonSerializable() +class Relation { + int? status; + @JsonKey(name: 'is_follow') + int? isFollow; + + Relation({this.status, this.isFollow}); + + factory Relation.fromJson(Map json) { + return _$RelationFromJson(json); + } + + Map toJson() => _$RelationToJson(this); +} diff --git a/lib/models/space/relation.g.dart b/lib/models/space/relation.g.dart new file mode 100644 index 00000000..1e9047c6 --- /dev/null +++ b/lib/models/space/relation.g.dart @@ -0,0 +1,17 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'relation.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Relation _$RelationFromJson(Map json) => Relation( + status: (json['status'] as num?)?.toInt(), + isFollow: (json['is_follow'] as num?)?.toInt(), + ); + +Map _$RelationToJson(Relation instance) => { + 'status': instance.status, + 'is_follow': instance.isFollow, + }; diff --git a/lib/models/space/render_spec.dart b/lib/models/space/render_spec.dart new file mode 100644 index 00000000..3b75fb0c --- /dev/null +++ b/lib/models/space/render_spec.dart @@ -0,0 +1,16 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'render_spec.g.dart'; + +@JsonSerializable() +class RenderSpec { + int? opacity; + + RenderSpec({this.opacity}); + + factory RenderSpec.fromJson(Map json) { + return _$RenderSpecFromJson(json); + } + + Map toJson() => _$RenderSpecToJson(this); +} diff --git a/lib/models/space/render_spec.g.dart b/lib/models/space/render_spec.g.dart new file mode 100644 index 00000000..00d9672f --- /dev/null +++ b/lib/models/space/render_spec.g.dart @@ -0,0 +1,16 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'render_spec.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +RenderSpec _$RenderSpecFromJson(Map json) => RenderSpec( + opacity: (json['opacity'] as num?)?.toInt(), + ); + +Map _$RenderSpecToJson(RenderSpec instance) => + { + 'opacity': instance.opacity, + }; diff --git a/lib/models/space/res_native_draw.dart b/lib/models/space/res_native_draw.dart new file mode 100644 index 00000000..5c82e113 --- /dev/null +++ b/lib/models/space/res_native_draw.dart @@ -0,0 +1,19 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'draw_src.dart'; + +part 'res_native_draw.g.dart'; + +@JsonSerializable() +class ResNativeDraw { + @JsonKey(name: 'draw_src') + DrawSrc? drawSrc; + + ResNativeDraw({this.drawSrc}); + + factory ResNativeDraw.fromJson(Map json) { + return _$ResNativeDrawFromJson(json); + } + + Map toJson() => _$ResNativeDrawToJson(this); +} diff --git a/lib/models/space/res_native_draw.g.dart b/lib/models/space/res_native_draw.g.dart new file mode 100644 index 00000000..74c0599c --- /dev/null +++ b/lib/models/space/res_native_draw.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'res_native_draw.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +ResNativeDraw _$ResNativeDrawFromJson(Map json) => + ResNativeDraw( + drawSrc: json['draw_src'] == null + ? null + : DrawSrc.fromJson(json['draw_src'] as Map), + ); + +Map _$ResNativeDrawToJson(ResNativeDraw instance) => + { + 'draw_src': instance.drawSrc, + }; diff --git a/lib/models/space/resource.dart b/lib/models/space/resource.dart new file mode 100644 index 00000000..2deb74ea --- /dev/null +++ b/lib/models/space/resource.dart @@ -0,0 +1,21 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'res_native_draw.dart'; + +part 'resource.g.dart'; + +@JsonSerializable() +class Resource { + @JsonKey(name: 'res_type') + int? resType; + @JsonKey(name: 'res_native_draw') + ResNativeDraw? resNativeDraw; + + Resource({this.resType, this.resNativeDraw}); + + factory Resource.fromJson(Map json) { + return _$ResourceFromJson(json); + } + + Map toJson() => _$ResourceToJson(this); +} diff --git a/lib/models/space/resource.g.dart b/lib/models/space/resource.g.dart new file mode 100644 index 00000000..57b49721 --- /dev/null +++ b/lib/models/space/resource.g.dart @@ -0,0 +1,20 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'resource.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Resource _$ResourceFromJson(Map json) => Resource( + resType: (json['res_type'] as num?)?.toInt(), + resNativeDraw: json['res_native_draw'] == null + ? null + : ResNativeDraw.fromJson( + json['res_native_draw'] as Map), + ); + +Map _$ResourceToJson(Resource instance) => { + 'res_type': instance.resType, + 'res_native_draw': instance.resNativeDraw, + }; diff --git a/lib/models/space/school.dart b/lib/models/space/school.dart new file mode 100644 index 00000000..6d19728c --- /dev/null +++ b/lib/models/space/school.dart @@ -0,0 +1,14 @@ + +class School { + School(); + + factory School.fromJson(Map json) { + // TODO: implement fromJson + throw UnimplementedError('School.fromJson($json) is not implemented'); + } + + Map toJson() { + // TODO: implement toJson + throw UnimplementedError(); + } +} \ No newline at end of file diff --git a/lib/models/space/season.dart b/lib/models/space/season.dart new file mode 100644 index 00000000..fd705bd4 --- /dev/null +++ b/lib/models/space/season.dart @@ -0,0 +1,18 @@ +import 'package:PiliPalaX/models/space_archive/item.dart'; +import 'package:json_annotation/json_annotation.dart'; + +part 'season.g.dart'; + +@JsonSerializable() +class Season { + int? count; + List? item; + + Season({this.count, this.item}); + + factory Season.fromJson(Map json) { + return _$SeasonFromJson(json); + } + + Map toJson() => _$SeasonToJson(this); +} diff --git a/lib/models/space/season.g.dart b/lib/models/space/season.g.dart new file mode 100644 index 00000000..4aa4de2e --- /dev/null +++ b/lib/models/space/season.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'season.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Season _$SeasonFromJson(Map json) => Season( + count: (json['count'] as num?)?.toInt(), + item: (json['item'] as List?) + ?.map((e) => Item.fromJson(e as Map)) + .toList(), + ); + +Map _$SeasonToJson(Season instance) => { + 'count': instance.count, + 'item': instance.item, + }; diff --git a/lib/models/space/senior_inquiry.dart b/lib/models/space/senior_inquiry.dart new file mode 100644 index 00000000..b6cd0433 --- /dev/null +++ b/lib/models/space/senior_inquiry.dart @@ -0,0 +1,19 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'senior_inquiry.g.dart'; + +@JsonSerializable() +class SeniorInquiry { + @JsonKey(name: 'inquiry_text') + String? inquiryText; + @JsonKey(name: 'inquiry_url') + String? inquiryUrl; + + SeniorInquiry({this.inquiryText, this.inquiryUrl}); + + factory SeniorInquiry.fromJson(Map json) { + return _$SeniorInquiryFromJson(json); + } + + Map toJson() => _$SeniorInquiryToJson(this); +} diff --git a/lib/models/space/senior_inquiry.g.dart b/lib/models/space/senior_inquiry.g.dart new file mode 100644 index 00000000..f246d9a2 --- /dev/null +++ b/lib/models/space/senior_inquiry.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'senior_inquiry.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +SeniorInquiry _$SeniorInquiryFromJson(Map json) => + SeniorInquiry( + inquiryText: json['inquiry_text'] as String?, + inquiryUrl: json['inquiry_url'] as String?, + ); + +Map _$SeniorInquiryToJson(SeniorInquiry instance) => + { + 'inquiry_text': instance.inquiryText, + 'inquiry_url': instance.inquiryUrl, + }; diff --git a/lib/models/space/series.dart b/lib/models/space/series.dart new file mode 100644 index 00000000..cc7fc255 --- /dev/null +++ b/lib/models/space/series.dart @@ -0,0 +1,16 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'series.g.dart'; + +@JsonSerializable() +class Series { + List? item; + + Series({this.item}); + + factory Series.fromJson(Map json) { + return _$SeriesFromJson(json); + } + + Map toJson() => _$SeriesToJson(this); +} diff --git a/lib/models/space/series.g.dart b/lib/models/space/series.g.dart new file mode 100644 index 00000000..0b155391 --- /dev/null +++ b/lib/models/space/series.g.dart @@ -0,0 +1,15 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'series.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Series _$SeriesFromJson(Map json) => Series( + item: json['item'] as List?, + ); + +Map _$SeriesToJson(Series instance) => { + 'item': instance.item, + }; diff --git a/lib/models/space/setting.dart b/lib/models/space/setting.dart new file mode 100644 index 00000000..184166bf --- /dev/null +++ b/lib/models/space/setting.dart @@ -0,0 +1,68 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'setting.g.dart'; + +@JsonSerializable() +class Setting { + int? channel; + @JsonKey(name: 'fav_video') + int? favVideo; + @JsonKey(name: 'coins_video') + int? coinsVideo; + @JsonKey(name: 'likes_video') + int? likesVideo; + int? bangumi; + @JsonKey(name: 'played_game') + int? playedGame; + int? groups; + int? comic; + int? bbq; + @JsonKey(name: 'dress_up') + int? dressUp; + @JsonKey(name: 'disable_following') + int? disableFollowing; + @JsonKey(name: 'live_playback') + int? livePlayback; + @JsonKey(name: 'close_space_medal') + int? closeSpaceMedal; + @JsonKey(name: 'only_show_wearing') + int? onlyShowWearing; + @JsonKey(name: 'disable_show_school') + int? disableShowSchool; + @JsonKey(name: 'disable_show_nft') + int? disableShowNft; + @JsonKey(name: 'disable_show_fans') + int? disableShowFans; + @JsonKey(name: 'charge_video') + int? chargeVideo; + @JsonKey(name: 'lesson_video') + int? lessonVideo; + + Setting({ + this.channel, + this.favVideo, + this.coinsVideo, + this.likesVideo, + this.bangumi, + this.playedGame, + this.groups, + this.comic, + this.bbq, + this.dressUp, + this.disableFollowing, + this.livePlayback, + this.closeSpaceMedal, + this.onlyShowWearing, + this.disableShowSchool, + this.disableShowNft, + this.disableShowFans, + this.chargeVideo, + this.lessonVideo, + }); + + factory Setting.fromJson(Map json) { + return _$SettingFromJson(json); + } + + Map toJson() => _$SettingToJson(this); +} diff --git a/lib/models/space/setting.g.dart b/lib/models/space/setting.g.dart new file mode 100644 index 00000000..c5803c0c --- /dev/null +++ b/lib/models/space/setting.g.dart @@ -0,0 +1,51 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'setting.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Setting _$SettingFromJson(Map json) => Setting( + channel: (json['channel'] as num?)?.toInt(), + favVideo: (json['fav_video'] as num?)?.toInt(), + coinsVideo: (json['coins_video'] as num?)?.toInt(), + likesVideo: (json['likes_video'] as num?)?.toInt(), + bangumi: (json['bangumi'] as num?)?.toInt(), + playedGame: (json['played_game'] as num?)?.toInt(), + groups: (json['groups'] as num?)?.toInt(), + comic: (json['comic'] as num?)?.toInt(), + bbq: (json['bbq'] as num?)?.toInt(), + dressUp: (json['dress_up'] as num?)?.toInt(), + disableFollowing: (json['disable_following'] as num?)?.toInt(), + livePlayback: (json['live_playback'] as num?)?.toInt(), + closeSpaceMedal: (json['close_space_medal'] as num?)?.toInt(), + onlyShowWearing: (json['only_show_wearing'] as num?)?.toInt(), + disableShowSchool: (json['disable_show_school'] as num?)?.toInt(), + disableShowNft: (json['disable_show_nft'] as num?)?.toInt(), + disableShowFans: (json['disable_show_fans'] as num?)?.toInt(), + chargeVideo: (json['charge_video'] as num?)?.toInt(), + lessonVideo: (json['lesson_video'] as num?)?.toInt(), + ); + +Map _$SettingToJson(Setting instance) => { + 'channel': instance.channel, + 'fav_video': instance.favVideo, + 'coins_video': instance.coinsVideo, + 'likes_video': instance.likesVideo, + 'bangumi': instance.bangumi, + 'played_game': instance.playedGame, + 'groups': instance.groups, + 'comic': instance.comic, + 'bbq': instance.bbq, + 'dress_up': instance.dressUp, + 'disable_following': instance.disableFollowing, + 'live_playback': instance.livePlayback, + 'close_space_medal': instance.closeSpaceMedal, + 'only_show_wearing': instance.onlyShowWearing, + 'disable_show_school': instance.disableShowSchool, + 'disable_show_nft': instance.disableShowNft, + 'disable_show_fans': instance.disableShowFans, + 'charge_video': instance.chargeVideo, + 'lesson_video': instance.lessonVideo, + }; diff --git a/lib/models/space/size_spec.dart b/lib/models/space/size_spec.dart new file mode 100644 index 00000000..21fa854e --- /dev/null +++ b/lib/models/space/size_spec.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'size_spec.g.dart'; + +@JsonSerializable() +class SizeSpec { + double? width; + double? height; + + SizeSpec({this.width, this.height}); + + factory SizeSpec.fromJson(Map json) { + return _$SizeSpecFromJson(json); + } + + Map toJson() => _$SizeSpecToJson(this); +} diff --git a/lib/models/space/size_spec.g.dart b/lib/models/space/size_spec.g.dart new file mode 100644 index 00000000..ce3c28b6 --- /dev/null +++ b/lib/models/space/size_spec.g.dart @@ -0,0 +1,17 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'size_spec.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +SizeSpec _$SizeSpecFromJson(Map json) => SizeSpec( + width: (json['width'] as num?)?.toDouble(), + height: (json['height'] as num?)?.toDouble(), + ); + +Map _$SizeSpecToJson(SizeSpec instance) => { + 'width': instance.width, + 'height': instance.height, + }; diff --git a/lib/models/space/space.dart b/lib/models/space/space.dart new file mode 100644 index 00000000..71de39b6 --- /dev/null +++ b/lib/models/space/space.dart @@ -0,0 +1,19 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'data.dart'; + +part 'space.g.dart'; + +@JsonSerializable() +class Space { + int? code; + String? message; + int? ttl; + Data? data; + + Space({this.code, this.message, this.ttl, this.data}); + + factory Space.fromJson(Map json) => _$SpaceFromJson(json); + + Map toJson() => _$SpaceToJson(this); +} diff --git a/lib/models/space/space.g.dart b/lib/models/space/space.g.dart new file mode 100644 index 00000000..c00fc9a9 --- /dev/null +++ b/lib/models/space/space.g.dart @@ -0,0 +1,23 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'space.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Space _$SpaceFromJson(Map json) => Space( + code: (json['code'] as num?)?.toInt(), + message: json['message'] as String?, + ttl: (json['ttl'] as num?)?.toInt(), + data: json['data'] == null + ? null + : Data.fromJson(json['data'] as Map), + ); + +Map _$SpaceToJson(Space instance) => { + 'code': instance.code, + 'message': instance.message, + 'ttl': instance.ttl, + 'data': instance.data, + }; diff --git a/lib/models/space/space_tag_bottom.dart b/lib/models/space/space_tag_bottom.dart new file mode 100644 index 00000000..e11e95c2 --- /dev/null +++ b/lib/models/space/space_tag_bottom.dart @@ -0,0 +1,19 @@ +class Item { + Item({ + this.type, + this.title, + this.uri, + this.icon, + }); + String? type; + String? title; + String? uri; + String? icon; + + Item.fromJson(Map json) { + type = json['type']; + title = json['title']; + uri = json['uri']; + icon = json['icon']; + } +} diff --git a/lib/models/space/tab.dart b/lib/models/space/tab.dart new file mode 100644 index 00000000..7f3a64b4 --- /dev/null +++ b/lib/models/space/tab.dart @@ -0,0 +1,63 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'tab.g.dart'; + +@JsonSerializable() +class Tab { + bool? archive; + bool? article; + bool? clip; + bool? album; + bool? favorite; + bool? bangumi; + bool? coin; + bool? like; + bool? community; + bool? dyn; + bool? audios; + bool? shop; + bool? mall; + @JsonKey(name: 'ugc_season') + bool? ugcSeason; + bool? comic; + bool? cheese; + @JsonKey(name: 'sub_comic') + bool? subComic; + bool? activity; + bool? series; + bool? charging; + bool? opus; + @JsonKey(name: 'cheese_video') + bool? cheeseVideo; + bool? brand; + + Tab({ + this.archive, + this.article, + this.clip, + this.album, + this.favorite, + this.bangumi, + this.coin, + this.like, + this.community, + this.dyn, + this.audios, + this.shop, + this.mall, + this.ugcSeason, + this.comic, + this.cheese, + this.subComic, + this.activity, + this.series, + this.charging, + this.opus, + this.cheeseVideo, + this.brand, + }); + + factory Tab.fromJson(Map json) => _$TabFromJson(json); + + Map toJson() => _$TabToJson(this); +} diff --git a/lib/models/space/tab.g.dart b/lib/models/space/tab.g.dart new file mode 100644 index 00000000..311023cb --- /dev/null +++ b/lib/models/space/tab.g.dart @@ -0,0 +1,59 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'tab.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Tab _$TabFromJson(Map json) => Tab( + archive: json['archive'] as bool?, + article: json['article'] as bool?, + clip: json['clip'] as bool?, + album: json['album'] as bool?, + favorite: json['favorite'] as bool?, + bangumi: json['bangumi'] as bool?, + coin: json['coin'] as bool?, + like: json['like'] as bool?, + community: json['community'] as bool?, + dyn: json['dynamic'] as bool?, + audios: json['audios'] as bool?, + shop: json['shop'] as bool?, + mall: json['mall'] as bool?, + ugcSeason: json['ugc_season'] as bool?, + comic: json['comic'] as bool?, + cheese: json['cheese'] as bool?, + subComic: json['sub_comic'] as bool?, + activity: json['activity'] as bool?, + series: json['series'] as bool?, + charging: json['charging'] as bool?, + opus: json['opus'] as bool?, + cheeseVideo: json['cheese_video'] as bool?, + brand: json['brand'] as bool?, + ); + +Map _$TabToJson(Tab instance) => { + 'archive': instance.archive, + 'article': instance.article, + 'clip': instance.clip, + 'album': instance.album, + 'favorite': instance.favorite, + 'bangumi': instance.bangumi, + 'coin': instance.coin, + 'like': instance.like, + 'community': instance.community, + 'dynamic': instance.dyn, + 'audios': instance.audios, + 'shop': instance.shop, + 'mall': instance.mall, + 'ugc_season': instance.ugcSeason, + 'comic': instance.comic, + 'cheese': instance.cheese, + 'sub_comic': instance.subComic, + 'activity': instance.activity, + 'series': instance.series, + 'charging': instance.charging, + 'opus': instance.opus, + 'cheese_video': instance.cheeseVideo, + 'brand': instance.brand, + }; diff --git a/lib/models/space/tab2.dart b/lib/models/space/tab2.dart new file mode 100644 index 00000000..99b396fa --- /dev/null +++ b/lib/models/space/tab2.dart @@ -0,0 +1,18 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'item.dart'; + +part 'tab2.g.dart'; + +@JsonSerializable() +class Tab2 { + String? title; + String? param; + List? items; + + Tab2({this.title, this.param, this.items}); + + factory Tab2.fromJson(Map json) => _$Tab2FromJson(json); + + Map toJson() => _$Tab2ToJson(this); +} diff --git a/lib/models/space/tab2.g.dart b/lib/models/space/tab2.g.dart new file mode 100644 index 00000000..bdc90690 --- /dev/null +++ b/lib/models/space/tab2.g.dart @@ -0,0 +1,21 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'tab2.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Tab2 _$Tab2FromJson(Map json) => Tab2( + title: json['title'] as String?, + param: json['param'] as String?, + items: (json['items'] as List?) + ?.map((e) => Item.fromJson(e as Map)) + .toList(), + ); + +Map _$Tab2ToJson(Tab2 instance) => { + 'title': instance.title, + 'param': instance.param, + 'items': instance.items, + }; diff --git a/lib/models/space/tags.dart b/lib/models/space/tags.dart new file mode 100644 index 00000000..73dccd94 --- /dev/null +++ b/lib/models/space/tags.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'avatar_layer.dart'; + +part 'tags.g.dart'; + +@JsonSerializable() +class Tags { + @JsonKey(name: 'AVATAR_LAYER') + AvatarLayer? avatarLayer; + + Tags({this.avatarLayer}); + + factory Tags.fromJson(Map json) => _$TagsFromJson(json); + + Map toJson() => _$TagsToJson(this); +} diff --git a/lib/models/space/tags.g.dart b/lib/models/space/tags.g.dart new file mode 100644 index 00000000..1f8c9eb3 --- /dev/null +++ b/lib/models/space/tags.g.dart @@ -0,0 +1,17 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'tags.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Tags _$TagsFromJson(Map json) => Tags( + avatarLayer: json['AVATAR_LAYER'] == null + ? null + : AvatarLayer.fromJson(json['AVATAR_LAYER'] as Map), + ); + +Map _$TagsToJson(Tags instance) => { + 'AVATAR_LAYER': instance.avatarLayer, + }; diff --git a/lib/models/space/three_point.dart b/lib/models/space/three_point.dart new file mode 100644 index 00000000..e86dc788 --- /dev/null +++ b/lib/models/space/three_point.dart @@ -0,0 +1,14 @@ + +class ThreePoint { + ThreePoint(); + + factory ThreePoint.fromJson(Map json) { + // TODO: implement fromJson + throw UnimplementedError('ThreePoint.fromJson($json) is not implemented'); + } + + Map toJson() { + // TODO: implement toJson + throw UnimplementedError(); + } +} \ No newline at end of file diff --git a/lib/models/space/vip.dart b/lib/models/space/vip.dart new file mode 100644 index 00000000..280bd4d7 --- /dev/null +++ b/lib/models/space/vip.dart @@ -0,0 +1,32 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'label.dart'; + +part 'vip.g.dart'; + +@JsonSerializable() +class Vip { + int? vipType; + int? vipDueDate; + String? dueRemark; + int? accessStatus; + int? vipStatus; + String? vipStatusWarn; + int? themeType; + Label? label; + + Vip({ + this.vipType, + this.vipDueDate, + this.dueRemark, + this.accessStatus, + this.vipStatus, + this.vipStatusWarn, + this.themeType, + this.label, + }); + + factory Vip.fromJson(Map json) => _$VipFromJson(json); + + Map toJson() => _$VipToJson(this); +} diff --git a/lib/models/space/vip.g.dart b/lib/models/space/vip.g.dart new file mode 100644 index 00000000..c437c751 --- /dev/null +++ b/lib/models/space/vip.g.dart @@ -0,0 +1,31 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'vip.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Vip _$VipFromJson(Map json) => Vip( + vipType: (json['vipType'] as num?)?.toInt(), + vipDueDate: (json['vipDueDate'] as num?)?.toInt(), + dueRemark: json['dueRemark'] as String?, + accessStatus: (json['accessStatus'] as num?)?.toInt(), + vipStatus: (json['vipStatus'] as num?)?.toInt(), + vipStatusWarn: json['vipStatusWarn'] as String?, + themeType: (json['themeType'] as num?)?.toInt(), + label: json['label'] == null + ? null + : Label.fromJson(json['label'] as Map), + ); + +Map _$VipToJson(Vip instance) => { + 'vipType': instance.vipType, + 'vipDueDate': instance.vipDueDate, + 'dueRemark': instance.dueRemark, + 'accessStatus': instance.accessStatus, + 'vipStatus': instance.vipStatus, + 'vipStatusWarn': instance.vipStatusWarn, + 'themeType': instance.themeType, + 'label': instance.label, + }; diff --git a/lib/models/space_archive/badge.dart b/lib/models/space_archive/badge.dart new file mode 100644 index 00000000..689b0e2d --- /dev/null +++ b/lib/models/space_archive/badge.dart @@ -0,0 +1,37 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'badge.g.dart'; + +@JsonSerializable() +class Badge { + String? text; + @JsonKey(name: 'text_color') + String? textColor; + @JsonKey(name: 'text_color_night') + String? textColorNight; + @JsonKey(name: 'bg_color') + String? bgColor; + @JsonKey(name: 'bg_color_night') + String? bgColorNight; + @JsonKey(name: 'border_color') + String? borderColor; + @JsonKey(name: 'border_color_night') + String? borderColorNight; + @JsonKey(name: 'bg_style') + int? bgStyle; + + Badge({ + this.text, + this.textColor, + this.textColorNight, + this.bgColor, + this.bgColorNight, + this.borderColor, + this.borderColorNight, + this.bgStyle, + }); + + factory Badge.fromJson(Map json) => _$BadgeFromJson(json); + + Map toJson() => _$BadgeToJson(this); +} diff --git a/lib/models/space_archive/badge.g.dart b/lib/models/space_archive/badge.g.dart new file mode 100644 index 00000000..3d76f822 --- /dev/null +++ b/lib/models/space_archive/badge.g.dart @@ -0,0 +1,29 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'badge.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Badge _$BadgeFromJson(Map json) => Badge( + text: json['text'] as String?, + textColor: json['text_color'] as String?, + textColorNight: json['text_color_night'] as String?, + bgColor: json['bg_color'] as String?, + bgColorNight: json['bg_color_night'] as String?, + borderColor: json['border_color'] as String?, + borderColorNight: json['border_color_night'] as String?, + bgStyle: (json['bg_style'] as num?)?.toInt(), + ); + +Map _$BadgeToJson(Badge instance) => { + 'text': instance.text, + 'text_color': instance.textColor, + 'text_color_night': instance.textColorNight, + 'bg_color': instance.bgColor, + 'bg_color_night': instance.bgColorNight, + 'border_color': instance.borderColor, + 'border_color_night': instance.borderColorNight, + 'bg_style': instance.bgStyle, + }; diff --git a/lib/models/space_archive/cursor_attr.dart b/lib/models/space_archive/cursor_attr.dart new file mode 100644 index 00000000..ca2d5f23 --- /dev/null +++ b/lib/models/space_archive/cursor_attr.dart @@ -0,0 +1,18 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'cursor_attr.g.dart'; + +@JsonSerializable() +class CursorAttr { + @JsonKey(name: 'is_last_watched_arc') + bool? isLastWatchedArc; + int? rank; + + CursorAttr({this.isLastWatchedArc, this.rank}); + + factory CursorAttr.fromJson(Map json) { + return _$CursorAttrFromJson(json); + } + + Map toJson() => _$CursorAttrToJson(this); +} diff --git a/lib/models/space_archive/cursor_attr.g.dart b/lib/models/space_archive/cursor_attr.g.dart new file mode 100644 index 00000000..7e099a07 --- /dev/null +++ b/lib/models/space_archive/cursor_attr.g.dart @@ -0,0 +1,18 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'cursor_attr.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +CursorAttr _$CursorAttrFromJson(Map json) => CursorAttr( + isLastWatchedArc: json['is_last_watched_arc'] as bool?, + rank: (json['rank'] as num?)?.toInt(), + ); + +Map _$CursorAttrToJson(CursorAttr instance) => + { + 'is_last_watched_arc': instance.isLastWatchedArc, + 'rank': instance.rank, + }; diff --git a/lib/models/space_archive/data.dart b/lib/models/space_archive/data.dart new file mode 100644 index 00000000..8c70ffa7 --- /dev/null +++ b/lib/models/space_archive/data.dart @@ -0,0 +1,39 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'episodic_button.dart'; +import 'item.dart'; +import 'last_watched_locator.dart'; +import 'order.dart'; + +part 'data.g.dart'; + +@JsonSerializable() +class Data { + @JsonKey(name: 'episodic_button') + EpisodicButton? episodicButton; + List? order; + int? count; + List? item; + @JsonKey(name: 'last_watched_locator') + LastWatchedLocator? lastWatchedLocator; + @JsonKey(name: 'has_next') + bool? hasNext; + @JsonKey(name: 'has_prev') + bool? hasPrev; + int? next; + + Data({ + this.episodicButton, + this.order, + this.count, + this.item, + this.lastWatchedLocator, + this.hasNext, + this.hasPrev, + this.next, + }); + + factory Data.fromJson(Map json) => _$DataFromJson(json); + + Map toJson() => _$DataToJson(this); +} diff --git a/lib/models/space_archive/data.g.dart b/lib/models/space_archive/data.g.dart new file mode 100644 index 00000000..70d1e33b --- /dev/null +++ b/lib/models/space_archive/data.g.dart @@ -0,0 +1,39 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'data.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Data _$DataFromJson(Map json) => Data( + episodicButton: json['episodic_button'] == null + ? null + : EpisodicButton.fromJson( + json['episodic_button'] as Map), + order: (json['order'] as List?) + ?.map((e) => Order.fromJson(e as Map)) + .toList(), + count: (json['count'] as num?)?.toInt(), + item: (json['item'] as List?) + ?.map((e) => Item.fromJson(e as Map)) + .toList(), + lastWatchedLocator: json['last_watched_locator'] == null + ? null + : LastWatchedLocator.fromJson( + json['last_watched_locator'] as Map), + hasNext: json['has_next'] as bool?, + hasPrev: json['has_prev'] as bool?, + next: json['next'], + ); + +Map _$DataToJson(Data instance) => { + 'episodic_button': instance.episodicButton, + 'order': instance.order, + 'count': instance.count, + 'item': instance.item, + 'last_watched_locator': instance.lastWatchedLocator, + 'has_next': instance.hasNext, + 'has_prev': instance.hasPrev, + 'next': instance.next, + }; diff --git a/lib/models/space_archive/episodic_button.dart b/lib/models/space_archive/episodic_button.dart new file mode 100644 index 00000000..a4523188 --- /dev/null +++ b/lib/models/space_archive/episodic_button.dart @@ -0,0 +1,17 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'episodic_button.g.dart'; + +@JsonSerializable() +class EpisodicButton { + String? text; + String? uri; + + EpisodicButton({this.text, this.uri}); + + factory EpisodicButton.fromJson(Map json) { + return _$EpisodicButtonFromJson(json); + } + + Map toJson() => _$EpisodicButtonToJson(this); +} diff --git a/lib/models/space_archive/episodic_button.g.dart b/lib/models/space_archive/episodic_button.g.dart new file mode 100644 index 00000000..0fbc3823 --- /dev/null +++ b/lib/models/space_archive/episodic_button.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'episodic_button.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +EpisodicButton _$EpisodicButtonFromJson(Map json) => + EpisodicButton( + text: json['text'] as String?, + uri: json['uri'] as String?, + ); + +Map _$EpisodicButtonToJson(EpisodicButton instance) => + { + 'text': instance.text, + 'uri': instance.uri, + }; diff --git a/lib/models/space_archive/item.dart b/lib/models/space_archive/item.dart new file mode 100644 index 00000000..d9ae962c --- /dev/null +++ b/lib/models/space_archive/item.dart @@ -0,0 +1,103 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'badge.dart'; +import 'cursor_attr.dart'; +import 'three_point.dart'; + +part 'item.g.dart'; + +@JsonSerializable() +class Item { + String? title; + String? subtitle; + String? tname; + String? cover; + @JsonKey(name: 'cover_icon') + String? coverIcon; + String? uri; + String? param; + String? goto; + String? length; + int? duration; + @JsonKey(name: 'is_popular') + bool? isPopular; + @JsonKey(name: 'is_steins') + bool? isSteins; + @JsonKey(name: 'is_ugcpay') + bool? isUgcpay; + @JsonKey(name: 'is_cooperation') + bool? isCooperation; + @JsonKey(name: 'is_pgc') + bool? isPgc; + @JsonKey(name: 'is_live_playback') + bool? isLivePlayback; + @JsonKey(name: 'is_pugv') + bool? isPugv; + @JsonKey(name: 'is_fold') + bool? isFold; + @JsonKey(name: 'is_oneself') + bool? isOneself; + int? play; + int? danmaku; + int? ctime; + @JsonKey(name: 'ugc_pay') + int? ugcPay; + String? author; + bool? state; + String? bvid; + int? videos; + @JsonKey(name: 'three_point') + List? threePoint; + @JsonKey(name: 'first_cid') + int? firstCid; + @JsonKey(name: 'cursor_attr') + CursorAttr? cursorAttr; + @JsonKey(name: 'view_content') + String? viewContent; + @JsonKey(name: 'icon_type') + int? iconType; + @JsonKey(name: 'publish_time_text') + String? publishTimeText; + List? badges; + + Item({ + this.title, + this.subtitle, + this.tname, + this.cover, + this.coverIcon, + this.uri, + this.param, + this.goto, + this.length, + this.duration, + this.isPopular, + this.isSteins, + this.isUgcpay, + this.isCooperation, + this.isPgc, + this.isLivePlayback, + this.isPugv, + this.isFold, + this.isOneself, + this.play, + this.danmaku, + this.ctime, + this.ugcPay, + this.author, + this.state, + this.bvid, + this.videos, + this.threePoint, + this.firstCid, + this.cursorAttr, + this.viewContent, + this.iconType, + this.publishTimeText, + this.badges, + }); + + factory Item.fromJson(Map json) => _$ItemFromJson(json); + + Map toJson() => _$ItemToJson(this); +} diff --git a/lib/models/space_archive/item.g.dart b/lib/models/space_archive/item.g.dart new file mode 100644 index 00000000..001fa263 --- /dev/null +++ b/lib/models/space_archive/item.g.dart @@ -0,0 +1,87 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'item.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Item _$ItemFromJson(Map json) => Item( + title: json['title'] as String?, + subtitle: json['subtitle'] as String?, + tname: json['tname'] as String?, + cover: json['cover'] as String?, + coverIcon: json['cover_icon'] as String?, + uri: json['uri'] as String?, + param: json['param'] as String?, + goto: json['goto'] as String?, + length: json['length'] as String?, + duration: (json['duration'] as num?)?.toInt(), + isPopular: json['is_popular'] as bool?, + isSteins: json['is_steins'] as bool?, + isUgcpay: json['is_ugcpay'] as bool?, + isCooperation: json['is_cooperation'] as bool?, + isPgc: json['is_pgc'] as bool?, + isLivePlayback: json['is_live_playback'] as bool?, + isPugv: json['is_pugv'] as bool?, + isFold: json['is_fold'] as bool?, + isOneself: json['is_oneself'] as bool?, + play: (json['play'] as num?)?.toInt(), + danmaku: (json['danmaku'] as num?)?.toInt(), + ctime: (json['ctime'] as num?)?.toInt(), + ugcPay: (json['ugc_pay'] as num?)?.toInt(), + author: json['author'] as String?, + state: json['state'] as bool?, + bvid: json['bvid'] as String?, + videos: (json['videos'] as num?)?.toInt(), + threePoint: (json['three_point'] as List?) + ?.map((e) => ThreePoint.fromJson(e as Map)) + .toList(), + firstCid: (json['first_cid'] as num?)?.toInt(), + cursorAttr: json['cursor_attr'] == null + ? null + : CursorAttr.fromJson(json['cursor_attr'] as Map), + viewContent: json['view_content'] as String?, + iconType: (json['icon_type'] as num?)?.toInt(), + publishTimeText: json['publish_time_text'] as String?, + badges: (json['badges'] as List?) + ?.map((e) => Badge.fromJson(e as Map)) + .toList(), + ); + +Map _$ItemToJson(Item instance) => { + 'title': instance.title, + 'subtitle': instance.subtitle, + 'tname': instance.tname, + 'cover': instance.cover, + 'cover_icon': instance.coverIcon, + 'uri': instance.uri, + 'param': instance.param, + 'goto': instance.goto, + 'length': instance.length, + 'duration': instance.duration, + 'is_popular': instance.isPopular, + 'is_steins': instance.isSteins, + 'is_ugcpay': instance.isUgcpay, + 'is_cooperation': instance.isCooperation, + 'is_pgc': instance.isPgc, + 'is_live_playback': instance.isLivePlayback, + 'is_pugv': instance.isPugv, + 'is_fold': instance.isFold, + 'is_oneself': instance.isOneself, + 'play': instance.play, + 'danmaku': instance.danmaku, + 'ctime': instance.ctime, + 'ugc_pay': instance.ugcPay, + 'author': instance.author, + 'state': instance.state, + 'bvid': instance.bvid, + 'videos': instance.videos, + 'three_point': instance.threePoint, + 'first_cid': instance.firstCid, + 'cursor_attr': instance.cursorAttr, + 'view_content': instance.viewContent, + 'icon_type': instance.iconType, + 'publish_time_text': instance.publishTimeText, + 'badges': instance.badges, + }; diff --git a/lib/models/space_archive/last_watched_locator.dart b/lib/models/space_archive/last_watched_locator.dart new file mode 100644 index 00000000..bf9974eb --- /dev/null +++ b/lib/models/space_archive/last_watched_locator.dart @@ -0,0 +1,24 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'last_watched_locator.g.dart'; + +@JsonSerializable() +class LastWatchedLocator { + @JsonKey(name: 'display_threshold') + int? displayThreshold; + @JsonKey(name: 'insert_ranking') + int? insertRanking; + String? text; + + LastWatchedLocator({ + this.displayThreshold, + this.insertRanking, + this.text, + }); + + factory LastWatchedLocator.fromJson(Map json) { + return _$LastWatchedLocatorFromJson(json); + } + + Map toJson() => _$LastWatchedLocatorToJson(this); +} diff --git a/lib/models/space_archive/last_watched_locator.g.dart b/lib/models/space_archive/last_watched_locator.g.dart new file mode 100644 index 00000000..38238131 --- /dev/null +++ b/lib/models/space_archive/last_watched_locator.g.dart @@ -0,0 +1,21 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'last_watched_locator.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +LastWatchedLocator _$LastWatchedLocatorFromJson(Map json) => + LastWatchedLocator( + displayThreshold: (json['display_threshold'] as num?)?.toInt(), + insertRanking: (json['insert_ranking'] as num?)?.toInt(), + text: json['text'] as String?, + ); + +Map _$LastWatchedLocatorToJson(LastWatchedLocator instance) => + { + 'display_threshold': instance.displayThreshold, + 'insert_ranking': instance.insertRanking, + 'text': instance.text, + }; diff --git a/lib/models/space_archive/order.dart b/lib/models/space_archive/order.dart new file mode 100644 index 00000000..26c7373d --- /dev/null +++ b/lib/models/space_archive/order.dart @@ -0,0 +1,15 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'order.g.dart'; + +@JsonSerializable() +class Order { + String? title; + String? value; + + Order({this.title, this.value}); + + factory Order.fromJson(Map json) => _$OrderFromJson(json); + + Map toJson() => _$OrderToJson(this); +} diff --git a/lib/models/space_archive/order.g.dart b/lib/models/space_archive/order.g.dart new file mode 100644 index 00000000..0c372c3c --- /dev/null +++ b/lib/models/space_archive/order.g.dart @@ -0,0 +1,17 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'order.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Order _$OrderFromJson(Map json) => Order( + title: json['title'] as String?, + value: json['value'] as String?, + ); + +Map _$OrderToJson(Order instance) => { + 'title': instance.title, + 'value': instance.value, + }; diff --git a/lib/models/space_archive/space_archive.dart b/lib/models/space_archive/space_archive.dart new file mode 100644 index 00000000..f13a1f08 --- /dev/null +++ b/lib/models/space_archive/space_archive.dart @@ -0,0 +1,21 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'data.dart'; + +part 'space_archive.g.dart'; + +@JsonSerializable() +class SpaceArchive { + int? code; + String? message; + int? ttl; + Data? data; + + SpaceArchive({this.code, this.message, this.ttl, this.data}); + + factory SpaceArchive.fromJson(Map json) { + return _$SpaceArchiveFromJson(json); + } + + Map toJson() => _$SpaceArchiveToJson(this); +} diff --git a/lib/models/space_archive/space_archive.g.dart b/lib/models/space_archive/space_archive.g.dart new file mode 100644 index 00000000..b9f609a7 --- /dev/null +++ b/lib/models/space_archive/space_archive.g.dart @@ -0,0 +1,24 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'space_archive.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +SpaceArchive _$SpaceArchiveFromJson(Map json) => SpaceArchive( + code: (json['code'] as num?)?.toInt(), + message: json['message'] as String?, + ttl: (json['ttl'] as num?)?.toInt(), + data: json['data'] == null + ? null + : Data.fromJson(json['data'] as Map), + ); + +Map _$SpaceArchiveToJson(SpaceArchive instance) => + { + 'code': instance.code, + 'message': instance.message, + 'ttl': instance.ttl, + 'data': instance.data, + }; diff --git a/lib/models/space_archive/three_point.dart b/lib/models/space_archive/three_point.dart new file mode 100644 index 00000000..8936438e --- /dev/null +++ b/lib/models/space_archive/three_point.dart @@ -0,0 +1,17 @@ +class ThreePoint { + ThreePoint({ + this.type, + this.icon, + this.text, + }); + + String? type; + String? icon; + String? text; + + ThreePoint.fromJson(Map json) { + type = json['type']; + icon = json['icon']; + text = json['text']; + } +} diff --git a/lib/models/space_fav/datum.dart b/lib/models/space_fav/datum.dart new file mode 100644 index 00000000..233b9c25 --- /dev/null +++ b/lib/models/space_fav/datum.dart @@ -0,0 +1,19 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'media_list_response.dart'; + +part 'datum.g.dart'; + +@JsonSerializable() +class Datum { + int? id; + String? name; + MediaListResponse? mediaListResponse; + String? uri; + + Datum({this.id, this.name, this.mediaListResponse, this.uri}); + + factory Datum.fromJson(Map json) => _$DatumFromJson(json); + + Map toJson() => _$DatumToJson(this); +} diff --git a/lib/models/space_fav/datum.g.dart b/lib/models/space_fav/datum.g.dart new file mode 100644 index 00000000..4dc029d6 --- /dev/null +++ b/lib/models/space_fav/datum.g.dart @@ -0,0 +1,24 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'datum.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Datum _$DatumFromJson(Map json) => Datum( + id: (json['id'] as num?)?.toInt(), + name: json['name'] as String?, + mediaListResponse: json['mediaListResponse'] == null + ? null + : MediaListResponse.fromJson( + json['mediaListResponse'] as Map), + uri: json['uri'] as String?, + ); + +Map _$DatumToJson(Datum instance) => { + 'id': instance.id, + 'name': instance.name, + 'mediaListResponse': instance.mediaListResponse, + 'uri': instance.uri, + }; diff --git a/lib/models/space_fav/list.dart b/lib/models/space_fav/list.dart new file mode 100644 index 00000000..3293a373 --- /dev/null +++ b/lib/models/space_fav/list.dart @@ -0,0 +1,70 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'upper.dart'; + +part 'list.g.dart'; + +@JsonSerializable() +class FavList { + int? id; + int? fid; + int? mid; + int? attr; + @JsonKey(name: 'attr_desc') + String? attrDesc; + String? title; + String? cover; + Upper? upper; + @JsonKey(name: 'cover_type') + int? coverType; + String? intro; + int? ctime; + int? mtime; + int? state; + @JsonKey(name: 'fav_state') + int? favState; + @JsonKey(name: 'media_count') + int? mediaCount; + @JsonKey(name: 'view_count') + int? viewCount; + int? vt; + @JsonKey(name: 'is_top') + bool? isTop; + @JsonKey(name: 'recent_fav') + dynamic recentFav; + @JsonKey(name: 'play_switch') + int? playSwitch; + int? type; + String? link; + String? bvid; + + FavList({ + this.id, + this.fid, + this.mid, + this.attr, + this.attrDesc, + this.title, + this.cover, + this.upper, + this.coverType, + this.intro, + this.ctime, + this.mtime, + this.state, + this.favState, + this.mediaCount, + this.viewCount, + this.vt, + this.isTop, + this.recentFav, + this.playSwitch, + this.type, + this.link, + this.bvid, + }); + + factory FavList.fromJson(Map json) => _$ListFromJson(json); + + Map toJson() => _$ListToJson(this); +} diff --git a/lib/models/space_fav/list.g.dart b/lib/models/space_fav/list.g.dart new file mode 100644 index 00000000..6b18e248 --- /dev/null +++ b/lib/models/space_fav/list.g.dart @@ -0,0 +1,61 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'list.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +FavList _$ListFromJson(Map json) => FavList( + id: (json['id'] as num?)?.toInt(), + fid: (json['fid'] as num?)?.toInt(), + mid: (json['mid'] as num?)?.toInt(), + attr: (json['attr'] as num?)?.toInt(), + attrDesc: json['attr_desc'] as String?, + title: json['title'] as String?, + cover: json['cover'] as String?, + upper: json['upper'] == null + ? null + : Upper.fromJson(json['upper'] as Map), + coverType: (json['cover_type'] as num?)?.toInt(), + intro: json['intro'] as String?, + ctime: (json['ctime'] as num?)?.toInt(), + mtime: (json['mtime'] as num?)?.toInt(), + state: (json['state'] as num?)?.toInt(), + favState: (json['fav_state'] as num?)?.toInt(), + mediaCount: (json['media_count'] as num?)?.toInt(), + viewCount: (json['view_count'] as num?)?.toInt(), + vt: (json['vt'] as num?)?.toInt(), + isTop: json['is_top'] as bool?, + recentFav: json['recent_fav'], + playSwitch: (json['play_switch'] as num?)?.toInt(), + type: (json['type'] as num?)?.toInt(), + link: json['link'] as String?, + bvid: json['bvid'] as String?, + ); + +Map _$ListToJson(FavList instance) => { + 'id': instance.id, + 'fid': instance.fid, + 'mid': instance.mid, + 'attr': instance.attr, + 'attr_desc': instance.attrDesc, + 'title': instance.title, + 'cover': instance.cover, + 'upper': instance.upper, + 'cover_type': instance.coverType, + 'intro': instance.intro, + 'ctime': instance.ctime, + 'mtime': instance.mtime, + 'state': instance.state, + 'fav_state': instance.favState, + 'media_count': instance.mediaCount, + 'view_count': instance.viewCount, + 'vt': instance.vt, + 'is_top': instance.isTop, + 'recent_fav': instance.recentFav, + 'play_switch': instance.playSwitch, + 'type': instance.type, + 'link': instance.link, + 'bvid': instance.bvid, + }; diff --git a/lib/models/space_fav/media_list_response.dart b/lib/models/space_fav/media_list_response.dart new file mode 100644 index 00000000..15a50e00 --- /dev/null +++ b/lib/models/space_fav/media_list_response.dart @@ -0,0 +1,21 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'list.dart'; + +part 'media_list_response.g.dart'; + +@JsonSerializable() +class MediaListResponse { + int? count; + List? list; + @JsonKey(name: 'has_more') + bool? hasMore; + + MediaListResponse({this.count, this.list, this.hasMore}); + + factory MediaListResponse.fromJson(Map json) { + return _$MediaListResponseFromJson(json); + } + + Map toJson() => _$MediaListResponseToJson(this); +} diff --git a/lib/models/space_fav/media_list_response.g.dart b/lib/models/space_fav/media_list_response.g.dart new file mode 100644 index 00000000..f599b1c1 --- /dev/null +++ b/lib/models/space_fav/media_list_response.g.dart @@ -0,0 +1,23 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'media_list_response.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +MediaListResponse _$MediaListResponseFromJson(Map json) => + MediaListResponse( + count: (json['count'] as num?)?.toInt(), + list: (json['list'] as List?) + ?.map((item) => FavList.fromJson(item)) + .toList(), + hasMore: json['has_more'] as bool?, + ); + +Map _$MediaListResponseToJson(MediaListResponse instance) => + { + 'count': instance.count, + 'list': instance.list, + 'has_more': instance.hasMore, + }; diff --git a/lib/models/space_fav/space_fav.dart b/lib/models/space_fav/space_fav.dart new file mode 100644 index 00000000..da918a1e --- /dev/null +++ b/lib/models/space_fav/space_fav.dart @@ -0,0 +1,21 @@ +import 'package:json_annotation/json_annotation.dart'; + +import 'datum.dart'; + +part 'space_fav.g.dart'; + +@JsonSerializable() +class SpaceFav { + int? code; + String? message; + int? ttl; + List? data; + + SpaceFav({this.code, this.message, this.ttl, this.data}); + + factory SpaceFav.fromJson(Map json) { + return _$SpaceFavFromJson(json); + } + + Map toJson() => _$SpaceFavToJson(this); +} diff --git a/lib/models/space_fav/space_fav.g.dart b/lib/models/space_fav/space_fav.g.dart new file mode 100644 index 00000000..0e137c8e --- /dev/null +++ b/lib/models/space_fav/space_fav.g.dart @@ -0,0 +1,23 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'space_fav.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +SpaceFav _$SpaceFavFromJson(Map json) => SpaceFav( + code: (json['code'] as num?)?.toInt(), + message: json['message'] as String?, + ttl: (json['ttl'] as num?)?.toInt(), + data: (json['data'] as List?) + ?.map((e) => Datum.fromJson(e as Map)) + .toList(), + ); + +Map _$SpaceFavToJson(SpaceFav instance) => { + 'code': instance.code, + 'message': instance.message, + 'ttl': instance.ttl, + 'data': instance.data, + }; diff --git a/lib/models/space_fav/upper.dart b/lib/models/space_fav/upper.dart new file mode 100644 index 00000000..dedcb2e2 --- /dev/null +++ b/lib/models/space_fav/upper.dart @@ -0,0 +1,16 @@ +import 'package:json_annotation/json_annotation.dart'; + +part 'upper.g.dart'; + +@JsonSerializable() +class Upper { + int? mid; + String? name; + String? face; + + Upper({this.mid, this.name, this.face}); + + factory Upper.fromJson(Map json) => _$UpperFromJson(json); + + Map toJson() => _$UpperToJson(this); +} diff --git a/lib/models/space_fav/upper.g.dart b/lib/models/space_fav/upper.g.dart new file mode 100644 index 00000000..e1f28cbc --- /dev/null +++ b/lib/models/space_fav/upper.g.dart @@ -0,0 +1,19 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'upper.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +Upper _$UpperFromJson(Map json) => Upper( + mid: (json['mid'] as num?)?.toInt(), + name: json['name'] as String?, + face: json['face'] as String?, + ); + +Map _$UpperToJson(Upper instance) => { + 'mid': instance.mid, + 'name': instance.name, + 'face': instance.face, + }; diff --git a/lib/pages/bangumi/widgets/bangumi_card_v_member_home.dart b/lib/pages/bangumi/widgets/bangumi_card_v_member_home.dart new file mode 100644 index 00000000..dec9e5d6 --- /dev/null +++ b/lib/pages/bangumi/widgets/bangumi_card_v_member_home.dart @@ -0,0 +1,172 @@ +import 'package:PiliPalaX/models/space_archive/item.dart'; +import 'package:flutter/material.dart'; +import 'package:PiliPalaX/common/constants.dart'; +import 'package:PiliPalaX/utils/utils.dart'; +import 'package:PiliPalaX/common/widgets/network_img_layer.dart'; + +// 视频卡片 - 垂直布局 +class BangumiCardVMemberHome extends StatelessWidget { + const BangumiCardVMemberHome({ + super.key, + required this.bangumiItem, + this.longPress, + this.longPressEnd, + }); + + final Item bangumiItem; + final Function()? longPress; + final Function()? longPressEnd; + + @override + Widget build(BuildContext context) { + String heroTag = Utils.makeHeroTag(bangumiItem.param); + return Card( + clipBehavior: Clip.hardEdge, + margin: EdgeInsets.zero, + child: InkWell( + onTap: () async { + final int seasonId = int.tryParse(bangumiItem.param ?? '') ?? -1; + Utils.viewBangumi(seasonId: seasonId); + // SmartDialog.showLoading(msg: '获取中...'); + // final res = await SearchHttp.bangumiInfo(seasonId: seasonId); + // SmartDialog.dismiss().then((value) { + // if (res['status']) { + // if (res['data'].episodes.isEmpty) { + // SmartDialog.showToast('资源加载失败'); + // return; + // } + // EpisodeItem episode = res['data'].episodes.first; + // int? epId = res['data'].userStatus?.progress?.lastEpId; + // if (epId == null) { + // epId = episode.epId; + // } else { + // for (var item in res['data'].episodes) { + // if (item.epId == epId) { + // episode = item; + // break; + // } + // } + // } + // String bvid = episode.bvid!; + // int cid = episode.cid!; + // String pic = episode.cover!; + // // print('epId'); + // // print(epId); + // String heroTag = Utils.makeHeroTag(cid); + // Get.toNamed( + // '/video?bvid=$bvid&cid=$cid&seasonId=$seasonId&epId=$epId', + // arguments: { + // 'pic': pic, + // 'heroTag': heroTag, + // 'videoType': SearchType.media_bangumi, + // 'bangumiItem': res['data'], + // }, + // ); + // } else { + // SmartDialog.showToast(res['msg']); + // } + // }); + }, + child: Column( + children: [ + ClipRRect( + borderRadius: const BorderRadius.only( + topLeft: StyleString.imgRadius, + topRight: StyleString.imgRadius, + bottomLeft: StyleString.imgRadius, + bottomRight: StyleString.imgRadius, + ), + child: AspectRatio( + aspectRatio: 0.65, + child: LayoutBuilder(builder: (context, boxConstraints) { + final double maxWidth = boxConstraints.maxWidth; + final double maxHeight = boxConstraints.maxHeight; + return Stack( + children: [ + Hero( + tag: heroTag, + child: NetworkImgLayer( + src: bangumiItem.cover, + width: maxWidth, + height: maxHeight, + ), + ), + // if (bangumiItem.badge != null) + // PBadge( + // text: bangumiItem.badge, + // top: 6, + // right: 6, + // bottom: null, + // left: null), + // if (bangumiItem.order != null) + // PBadge( + // text: bangumiItem.order, + // top: null, + // right: null, + // bottom: 6, + // left: 6, + // type: 'gray', + // ), + ], + ); + }), + ), + ), + bangumiContent(bangumiItem) + ], + ), + ), + ); + } +} + +Widget bangumiContent(Item bangumiItem) { + return Expanded( + child: Padding( + // 多列 + padding: const EdgeInsets.fromLTRB(4, 5, 0, 3), + // 单列 + // padding: const EdgeInsets.fromLTRB(14, 10, 4, 8), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + // mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Row( + children: [ + Expanded( + child: Text( + bangumiItem.title ?? '', + textAlign: TextAlign.start, + style: const TextStyle( + fontWeight: FontWeight.w400, + letterSpacing: 0.3, + ), + maxLines: 1, + overflow: TextOverflow.ellipsis, + )), + ], + ), + const SizedBox(height: 1), + // if (bangumiItem.indexShow != null) + // Text( + // bangumiItem.indexShow, + // maxLines: 1, + // style: TextStyle( + // fontSize: Theme.of(context).textTheme.labelMedium!.fontSize, + // color: Theme.of(context).colorScheme.outline, + // ), + // ), + // if (bangumiItem.progress != null) + // Text( + // bangumiItem.progress, + // maxLines: 1, + // style: TextStyle( + // fontSize: Theme.of(context).textTheme.labelMedium!.fontSize, + // color: Theme.of(context).colorScheme.outline, + // ), + // ), + ], + ), + ), + ); +} diff --git a/lib/pages/dynamics/detail/view.dart b/lib/pages/dynamics/detail/view.dart index 91b5a1b3..17f72a37 100644 --- a/lib/pages/dynamics/detail/view.dart +++ b/lib/pages/dynamics/detail/view.dart @@ -111,6 +111,7 @@ class _DynamicDetailPageState extends State int rpid = replyItem.id.toInt()!; Get.to( () => Scaffold( + resizeToAvoidBottomInset: false, appBar: AppBar( titleSpacing: 0, centerTitle: false, diff --git a/lib/pages/dynamics/widgets/author_panel_grpc.dart b/lib/pages/dynamics/widgets/author_panel_grpc.dart new file mode 100644 index 00000000..72977024 --- /dev/null +++ b/lib/pages/dynamics/widgets/author_panel_grpc.dart @@ -0,0 +1,289 @@ +import 'package:PiliPalaX/grpc/app/dynamic/v2/dynamic.pb.dart' as dyn; +import 'package:PiliPalaX/utils/storage.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; +import 'package:get/get.dart'; +import 'package:PiliPalaX/common/widgets/network_img_layer.dart'; +import 'package:PiliPalaX/http/user.dart'; +import 'package:PiliPalaX/utils/feed_back.dart'; +import 'package:PiliPalaX/utils/utils.dart'; +import 'package:share_plus/share_plus.dart'; + +import '../../../http/constants.dart'; +import '../controller.dart'; + +class AuthorPanelGrpc extends StatelessWidget { + final dyn.DynamicItem item; + final Function? addBannedList; + final String? source; + final Function? onRemove; + const AuthorPanelGrpc({ + super.key, + required this.item, + this.addBannedList, + this.source, + this.onRemove, + }); + + @override + Widget build(BuildContext context) { + String heroTag = Utils.makeHeroTag(item.modules.first.moduleAuthor.mid); + return Row( + children: [ + GestureDetector( + onTap: () { + // 番剧 + // if (item.modules.first.moduleAuthor.type == 'AUTHOR_TYPE_PGC') { + // return; + // } + feedBack(); + Get.toNamed( + '/member?mid=${item.modules.first.moduleAuthor.author.mid}', + arguments: { + 'face': item.modules.first.moduleAuthor.author.face, + 'heroTag': heroTag + }, + ); + }, + child: Hero( + tag: heroTag, + child: NetworkImgLayer( + width: 40, + height: 40, + type: 'avatar', + src: item.modules.first.moduleAuthor.author.face, + ), + ), + ), + const SizedBox(width: 10), + Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + children: [ + Text( + item.modules.first.moduleAuthor.author.name, + // semanticsLabel: "Up主:${item.modules.moduleAuthor.name}", + style: TextStyle( + color: item.modules.first.moduleAuthor.author.vip.status > 0 + ? Utils.vipColor + : Theme.of(context).colorScheme.onSurface, + fontSize: Theme.of(context).textTheme.titleSmall!.fontSize, + ), + ), + ], + ), + DefaultTextStyle.merge( + style: TextStyle( + color: Theme.of(context).colorScheme.outline, + fontSize: Theme.of(context).textTheme.labelSmall!.fontSize, + ), + child: Row( + children: [ + // Text(item.modules.first.moduleAuthor.pubTime), + // if (item.modules.first.moduleAuthor.pubTime != '' && + // item.modules.first.moduleAuthor.pubAction != '') + // const Text(' '), + // Text(item.modules.first.moduleAuthor.pubAction), + ], + ), + ) + ], + ), + const Spacer(), + // if (source != 'detail' && item.modules.first?.moduleTag?.text != null) + // Container( + // padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 2), + // decoration: BoxDecoration( + // color: Theme.of(context).colorScheme.surface, + // borderRadius: const BorderRadius.all(Radius.circular(4)), + // border: Border.all( + // width: 1.25, + // color: Theme.of(context).colorScheme.primary, + // ), + // ), + // child: Text( + // item.modules.first.moduleTag.text, + // style: TextStyle( + // height: 1, + // fontSize: 12, + // color: Theme.of(context).colorScheme.primary, + // ), + // strutStyle: const StrutStyle( + // leading: 0, + // height: 1, + // fontSize: 12, + // ), + // ), + // ), + SizedBox( + width: 32, + height: 32, + child: IconButton( + tooltip: '更多', + style: ButtonStyle( + padding: WidgetStateProperty.all(EdgeInsets.zero), + ), + onPressed: () { + showModalBottomSheet( + context: context, + useRootNavigator: true, + isScrollControlled: true, + builder: (context) { + return MorePanel( + item: item, + onRemove: onRemove, + ); + }, + ); + }, + icon: const Icon(Icons.more_vert_outlined, size: 18), + ), + ), + ], + ); + } +} + +class MorePanel extends StatelessWidget { + final dynamic item; + final Function? onRemove; + const MorePanel({ + super.key, + required this.item, + this.onRemove, + }); + + @override + Widget build(BuildContext context) { + return Container( + padding: EdgeInsets.only(bottom: MediaQuery.of(context).padding.bottom), + // clipBehavior: Clip.hardEdge, + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + InkWell( + onTap: () => Get.back(), + borderRadius: const BorderRadius.only( + topLeft: Radius.circular(28), + topRight: Radius.circular(28), + ), + child: Container( + height: 35, + padding: const EdgeInsets.only(bottom: 2), + child: Center( + child: Container( + width: 32, + height: 3, + decoration: BoxDecoration( + color: Theme.of(context).colorScheme.outline, + borderRadius: const BorderRadius.all(Radius.circular(3))), + ), + ), + ), + ), + if (item.type == 'DYNAMIC_TYPE_AV') + ListTile( + onTap: () async { + try { + String bvid = item.modules.moduleDynamic.major.archive.bvid; + var res = await UserHttp.toViewLater(bvid: bvid); + SmartDialog.showToast(res['msg']); + Get.back(); + } catch (err) { + SmartDialog.showToast('出错了:${err.toString()}'); + } + }, + minLeadingWidth: 0, + // dense: true, + leading: const Icon(Icons.watch_later_outlined, size: 19), + title: Text( + '稍后再看', + style: Theme.of(context).textTheme.titleSmall, + ), + ), + ListTile( + title: Text( + '分享动态', + style: Theme.of(context).textTheme.titleSmall, + ), + leading: const Icon(Icons.share_outlined, size: 19), + onTap: () { + Get.back(); + Share.share('${HttpString.dynamicShareBaseUrl}/${item.idStr}'); + }, + minLeadingWidth: 0, + ), + ListTile( + title: Text( + '临时屏蔽:${item.modules.moduleAuthor.name}', + style: Theme.of(context).textTheme.titleSmall, + ), + leading: const Icon(Icons.visibility_off_outlined, size: 19), + onTap: () { + Get.back(); + DynamicsController dynamicsController = + Get.find(); + dynamicsController.tempBannedList + .add(item.modules.moduleAuthor.mid); + SmartDialog.showToast( + '已临时屏蔽${item.modules.moduleAuthor.name}(${item.modules.moduleAuthor.mid}),重启恢复'); + }, + minLeadingWidth: 0, + ), + if (item.modules.moduleAuthor.mid == + GStorage.userInfo.get('userInfoCache').mid) + ListTile( + onTap: () async { + Get.back(); + showDialog( + context: context, + builder: (_) => AlertDialog( + title: const Text('确定删除该动态?'), + actions: [ + TextButton( + onPressed: Get.back, + child: Text( + '取消', + style: TextStyle( + color: Theme.of(context).colorScheme.outline, + ), + ), + ), + TextButton( + onPressed: () { + Get.back(); + if (onRemove != null) { + onRemove!(item.idStr); + } + }, + child: const Text('确定'), + ), + ], + )); + }, + minLeadingWidth: 0, + leading: Icon(Icons.delete_outline, + color: Theme.of(context).colorScheme.error, size: 19), + title: Text('删除', + style: Theme.of(context) + .textTheme + .titleSmall! + .copyWith(color: Theme.of(context).colorScheme.error)), + ), + const Divider(thickness: 0.1, height: 1), + ListTile( + onTap: () => Get.back(), + minLeadingWidth: 0, + dense: true, + title: Text( + '取消', + style: TextStyle(color: Theme.of(context).colorScheme.outline), + textAlign: TextAlign.center, + ), + ), + ], + ), + ); + } +} diff --git a/lib/pages/dynamics/widgets/content_panel_grpc.dart b/lib/pages/dynamics/widgets/content_panel_grpc.dart new file mode 100644 index 00000000..34a5d9c8 --- /dev/null +++ b/lib/pages/dynamics/widgets/content_panel_grpc.dart @@ -0,0 +1,81 @@ +// 内容 +import 'package:PiliPalaX/common/widgets/imageview.dart'; +import 'package:PiliPalaX/grpc/app/dynamic/v2/dynamic.pb.dart'; +import 'package:flutter/material.dart'; + +import 'rich_node_panel.dart'; + +class ContentGrpc extends StatelessWidget { + final DynamicItem item; + final String? source; + + const ContentGrpc({ + super.key, + required this.item, + this.source, + }); + + InlineSpan picsNodes() { + return WidgetSpan( + child: LayoutBuilder( + builder: (_, constraints) => image( + constraints.maxWidth, + item.modules.first.moduleDynamic.dynDraw.items + .map( + (item) => ImageModel( + width: item.width, + height: item.height, + url: item.src, + ), + ) + .toList(), + ), + ), + ); + } + + @override + Widget build(BuildContext context) { + TextStyle authorStyle = + TextStyle(color: Theme.of(context).colorScheme.primary); + + return Container( + width: double.infinity, + padding: const EdgeInsets.fromLTRB(12, 0, 12, 6), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + if (item.modules.first.moduleDynamic.hasDynTopicSet()) ...[ + GestureDetector( + child: Text( + '#${item.modules.first.moduleDynamic.dynTopicSet.topics.first.topicName}', + style: authorStyle, + ), + ), + ], + IgnorePointer( + // 禁用SelectableRegion的触摸交互功能 + ignoring: source == 'detail' ? false : true, + child: SelectableRegion( + magnifierConfiguration: const TextMagnifierConfiguration(), + focusNode: FocusNode(), + selectionControls: MaterialTextSelectionControls(), + child: Text.rich( + /// fix 默认20px高度 + style: const TextStyle(height: 0), + richNode(item, context), + maxLines: source == 'detail' ? 999 : 6, + overflow: TextOverflow.ellipsis, + ), + ), + ), + if (item.modules.first.moduleDynamic.hasDynDraw()) + Text.rich( + picsNodes(), + // semanticsLabel: '动态图片', + ), + ], + ), + ); + } +} diff --git a/lib/pages/dynamics/widgets/dynamic_panel_grpc.dart b/lib/pages/dynamics/widgets/dynamic_panel_grpc.dart new file mode 100644 index 00000000..9e193a3c --- /dev/null +++ b/lib/pages/dynamics/widgets/dynamic_panel_grpc.dart @@ -0,0 +1,68 @@ +import 'package:PiliPalaX/grpc/app/dynamic/v2/dynamic.pb.dart'; +import 'package:PiliPalaX/pages/dynamics/widgets/author_panel_grpc.dart'; +import 'package:PiliPalaX/pages/dynamics/widgets/content_panel_grpc.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; +import 'package:PiliPalaX/pages/dynamics/index.dart'; + +class DynamicPanelGrpc extends StatelessWidget { + final DynamicItem item; + final String? source; + final Function? onRemove; + + DynamicPanelGrpc({ + required this.item, + this.source, + this.onRemove, + super.key, + }); + + final DynamicsController _dynamicsController = Get.put(DynamicsController()); + + @override + Widget build(BuildContext context) { + return Container( + padding: source == 'detail' + ? const EdgeInsets.only(bottom: 12) + : EdgeInsets.zero, + // decoration: BoxDecoration( + // border: Border( + // bottom: BorderSide( + // width: 8, + // color: Theme.of(context).dividerColor.withOpacity(0.05), + // ), + // ), + // ), + child: Material( + elevation: 0, + clipBehavior: Clip.hardEdge, + color: Theme.of(context).cardColor.withOpacity(0.5), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(5), + ), + child: InkWell( + onTap: source == 'detail' && item.itemType == DynamicType.draw + ? null + : () => _dynamicsController.pushDetail(item, 1), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + children: [ + Padding( + padding: const EdgeInsets.fromLTRB(12, 12, 12, 6), + child: AuthorPanelGrpc( + item: item, + source: source, + onRemove: onRemove, + ), + ), + ContentGrpc(item: item, source: source), + // forWard(item, context, _dynamicsController, source), + const SizedBox(height: 2), + // if (source == null) ActionPanel(item: item), + ], + ), + ), + ), + ); + } +} diff --git a/lib/pages/fav_detail/controller.dart b/lib/pages/fav_detail/controller.dart index aefbc0d1..7fdb41c2 100644 --- a/lib/pages/fav_detail/controller.dart +++ b/lib/pages/fav_detail/controller.dart @@ -7,15 +7,18 @@ import 'package:PiliPalaX/http/video.dart'; import 'package:PiliPalaX/models/user/fav_folder.dart'; class FavDetailController extends CommonController { - FavFolderItemData? item; + // FavFolderItemData? item; int? mediaId; late String heroTag; RxString loadingText = '加载中...'.obs; int mediaCount = 0; + RxString title = ''.obs; + RxString cover = ''.obs; + RxString name = ''.obs; @override void onInit() { - item = Get.arguments; + // item = Get.arguments; if (Get.parameters.keys.isNotEmpty) { mediaId = int.parse(Get.parameters['mediaId']!); heroTag = Get.parameters['heroTag']!; @@ -42,6 +45,9 @@ class FavDetailController extends CommonController { @override bool customHandleResponse(Success response) { if (currentPage == 1) { + title.value = response.response.info['title']; + cover.value = response.response.info['cover']; + name.value = response.response.info['upper']['name']; mediaCount = response.response.info['media_count']; } List currentList = loadingState.value is Success diff --git a/lib/pages/fav_detail/view.dart b/lib/pages/fav_detail/view.dart index 3c98f012..e8fd590a 100644 --- a/lib/pages/fav_detail/view.dart +++ b/lib/pages/fav_detail/view.dart @@ -79,19 +79,21 @@ class _FavDetailPageState extends State { duration: const Duration(milliseconds: 500), child: Row( children: [ - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - _favDetailController.item!.title!, - style: Theme.of(context).textTheme.titleMedium, - ), - Text( - '共${_favDetailController.item!.mediaCount!}条视频', - style: Theme.of(context).textTheme.labelMedium, - ) - ], - ) + Obx( + () => Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + _favDetailController.title.value, + style: Theme.of(context).textTheme.titleMedium, + ), + Text( + '共${_favDetailController.mediaCount}条视频', + style: Theme.of(context).textTheme.labelMedium, + ) + ], + ), + ), ], ), ); @@ -134,52 +136,58 @@ class _FavDetailPageState extends State { // mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start, children: [ - Hero( - tag: _favDetailController.heroTag, - child: NetworkImgLayer( - width: 180, - height: 110, - src: _favDetailController.item!.cover, + Obx( + () => Hero( + tag: _favDetailController.heroTag, + child: NetworkImgLayer( + width: 180, + height: 110, + src: _favDetailController.cover.value, + ), ), ), const SizedBox(width: 14), - Expanded( - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const SizedBox(height: 4), - Text( - _favDetailController.item!.title!, - style: TextStyle( - fontSize: Theme.of(context) - .textTheme - .titleMedium! - .fontSize, - fontWeight: FontWeight.bold), - ), - const SizedBox(height: 4), - Text( - _favDetailController.item!.upper!.name!, - style: TextStyle( - fontSize: Theme.of(context) - .textTheme - .labelSmall! - .fontSize, - color: Theme.of(context).colorScheme.outline), - ), - const Spacer(), - Text( - '共${_favDetailController.item!.mediaCount!}条视频', - style: TextStyle( - fontSize: Theme.of(context) - .textTheme - .labelSmall! - .fontSize, - color: Theme.of(context).colorScheme.outline), - ), - const SizedBox(height: 20), - ], + Obx( + () => Expanded( + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + const SizedBox(height: 4), + Text( + _favDetailController.title.value, + style: TextStyle( + fontSize: Theme.of(context) + .textTheme + .titleMedium! + .fontSize, + fontWeight: FontWeight.bold), + ), + const SizedBox(height: 4), + Text( + _favDetailController.name.value, + style: TextStyle( + fontSize: Theme.of(context) + .textTheme + .labelSmall! + .fontSize, + color: + Theme.of(context).colorScheme.outline), + ), + const Spacer(), + Text( + '共${_favDetailController.mediaCount}条视频', + style: TextStyle( + fontSize: Theme.of(context) + .textTheme + .labelSmall! + .fontSize, + color: + Theme.of(context).colorScheme.outline), + ), + const SizedBox(height: 20), + ], + ), ), ), ], diff --git a/lib/pages/html/view.dart b/lib/pages/html/view.dart index 89c41eb7..4efd0710 100644 --- a/lib/pages/html/view.dart +++ b/lib/pages/html/view.dart @@ -114,6 +114,7 @@ class _HtmlRenderPageState extends State int rpid = replyItem.id.toInt(); Get.to( () => Scaffold( + resizeToAvoidBottomInset: false, appBar: AppBar( titleSpacing: 0, centerTitle: false, diff --git a/lib/pages/member/new/content/member_contribute/content/article/member_article.dart b/lib/pages/member/new/content/member_contribute/content/article/member_article.dart new file mode 100644 index 00000000..bde226f4 --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/content/article/member_article.dart @@ -0,0 +1,27 @@ +import 'package:flutter/material.dart'; + +class MemberArticle extends StatefulWidget { + const MemberArticle({ + super.key, + required this.heroTag, + }); + + final String? heroTag; + + @override + State createState() => _MemberArticleState(); +} + +class _MemberArticleState extends State + with AutomaticKeepAliveClientMixin { + @override + bool get wantKeepAlive => true; + + @override + Widget build(BuildContext context) { + super.build(context); + return Center( + child: Text('Article'), + ); + } +} diff --git a/lib/pages/member/new/content/member_contribute/content/audio/member_audio.dart b/lib/pages/member/new/content/member_contribute/content/audio/member_audio.dart new file mode 100644 index 00000000..4b7936f5 --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/content/audio/member_audio.dart @@ -0,0 +1,27 @@ +import 'package:flutter/material.dart'; + +class MemberAudio extends StatefulWidget { + const MemberAudio({ + super.key, + required this.heroTag, + }); + + final String? heroTag; + + @override + State createState() => _MemberAudioState(); +} + +class _MemberAudioState extends State + with AutomaticKeepAliveClientMixin { + @override + bool get wantKeepAlive => true; + + @override + Widget build(BuildContext context) { + super.build(context); + return Center( + child: Text('Audio'), + ); + } +} diff --git a/lib/pages/member/new/content/member_contribute/content/bangumi/member_bangumi.dart b/lib/pages/member/new/content/member_contribute/content/bangumi/member_bangumi.dart new file mode 100644 index 00000000..ababaa95 --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/content/bangumi/member_bangumi.dart @@ -0,0 +1,100 @@ +import 'package:PiliPalaX/common/constants.dart'; +import 'package:PiliPalaX/common/widgets/http_error.dart'; +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/pages/bangumi/widgets/bangumi_card_v_member_home.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/content/bangumi/member_bangumi_ctr.dart'; +import 'package:PiliPalaX/utils/grid.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; + +class MemberBangumi extends StatefulWidget { + const MemberBangumi({ + super.key, + required this.heroTag, + required this.mid, + }); + + final String? heroTag; + final int mid; + + @override + State createState() => _MemberBangumiState(); +} + +class _MemberBangumiState extends State + with AutomaticKeepAliveClientMixin { + @override + bool get wantKeepAlive => true; + + late final _controller = Get.put( + MemberBangumiCtr( + heroTag: widget.heroTag, + mid: widget.mid, + ), + tag: widget.heroTag, + ); + + @override + Widget build(BuildContext context) { + super.build(context); + return Obx(() => _buildBody(_controller.loadingState.value)); + } + + _buildBody(LoadingState loadingState) { + return loadingState is Success + ? RefreshIndicator( + onRefresh: () async { + await _controller.onRefresh(); + }, + child: CustomScrollView( + slivers: [ + SliverPadding( + padding: EdgeInsets.only( + left: StyleString.safeSpace, + right: StyleString.safeSpace, + top: StyleString.safeSpace, + bottom: StyleString.safeSpace + + MediaQuery.of(context).padding.bottom, + ), + sliver: SliverGrid( + gridDelegate: SliverGridDelegateWithExtentAndRatio( + mainAxisSpacing: StyleString.cardSpace - 2, + crossAxisSpacing: StyleString.cardSpace, + maxCrossAxisExtent: Grid.maxRowWidth / 3 * 2, + childAspectRatio: 0.65, + mainAxisExtent: + MediaQuery.textScalerOf(context).scale(60), + ), + delegate: SliverChildBuilderDelegate( + (context, index) { + if (index == loadingState.response.length - 1) { + _controller.onLoadMore(); + } + return BangumiCardVMemberHome( + bangumiItem: loadingState.response[index], + ); + }, + childCount: loadingState.response.length, + ), + ), + ), + ], + ), + ) + : loadingState is Error + ? Center( + child: CustomScrollView( + shrinkWrap: true, + slivers: [ + HttpError( + errMsg: loadingState.errMsg, + fn: _controller.onReload, + ), + ], + ), + ) + : Center( + child: CircularProgressIndicator(), + ); + } +} diff --git a/lib/pages/member/new/content/member_contribute/content/bangumi/member_bangumi_ctr.dart b/lib/pages/member/new/content/member_contribute/content/bangumi/member_bangumi_ctr.dart new file mode 100644 index 00000000..8834be4d --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/content/bangumi/member_bangumi_ctr.dart @@ -0,0 +1,62 @@ +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/http/member.dart'; +import 'package:PiliPalaX/models/space_archive/data.dart'; +import 'package:PiliPalaX/pages/common/common_controller.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/member_contribute.dart' + show ContributeType; +import 'package:PiliPalaX/pages/member/new/controller.dart'; +import 'package:get/get.dart'; + +class MemberBangumiCtr extends CommonController { + MemberBangumiCtr({ + required this.mid, + required this.heroTag, + }); + + final int mid; + final String? heroTag; + bool isEnd = false; + late final int count; + late final _ctr = Get.find(tag: heroTag); + + @override + void onInit() { + super.onInit(); + currentPage = 2; + dynamic res = (_ctr.loadingState.value as Success).response.season; + loadingState.value = LoadingState.success(res.item); + count = res.count; + isEnd = res.item!.length >= count; + } + + @override + Future onRefresh() async { + isEnd = false; + currentPage = 1; + await queryData(); + } + + @override + Future queryData([bool isRefresh = true]) { + if (isEnd) return Future.value(); + return super.queryData(isRefresh); + } + + @override + bool customHandleResponse(Success response) { + Data data = response.response; + if (currentPage != 1 && loadingState.value is Success) { + data.item?.insertAll(0, (loadingState.value as Success).response); + } + isEnd = data.item!.length >= count; + loadingState.value = LoadingState.success(data.item); + return true; + } + + @override + Future customGetData() => MemberHttp.spaceArchive( + type: ContributeType.bangumi, + mid: mid, + pn: currentPage, + ); +} diff --git a/lib/pages/member/new/content/member_contribute/content/favorite/member_favorite.dart b/lib/pages/member/new/content/member_contribute/content/favorite/member_favorite.dart new file mode 100644 index 00000000..dadcbc38 --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/content/favorite/member_favorite.dart @@ -0,0 +1,261 @@ +import 'package:PiliPalaX/common/constants.dart'; +import 'package:PiliPalaX/common/widgets/badge.dart'; +import 'package:PiliPalaX/common/widgets/http_error.dart'; +import 'package:PiliPalaX/common/widgets/network_img_layer.dart'; +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/models/space_fav/datum.dart'; +import 'package:PiliPalaX/models/space_fav/list.dart'; +import 'package:PiliPalaX/models/user/sub_folder.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/content/favorite/member_favorite_ctr.dart'; +import 'package:PiliPalaX/utils/app_scheme.dart'; +import 'package:PiliPalaX/utils/utils.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; + +class MemberFavorite extends StatefulWidget { + const MemberFavorite({ + super.key, + required this.heroTag, + required this.mid, + }); + + final String? heroTag; + final int mid; + + @override + State createState() => _MemberFavoriteState(); +} + +class _MemberFavoriteState extends State + with AutomaticKeepAliveClientMixin { + @override + bool get wantKeepAlive => true; + + late final _controller = Get.put( + MemberFavoriteCtr(mid: widget.mid), + tag: widget.heroTag, + ); + + @override + Widget build(BuildContext context) { + super.build(context); + return Obx(() => _buildBody(_controller.loadingState.value)); + } + + _buildBody(LoadingState loadingState) { + return loadingState is Success + ? RefreshIndicator( + onRefresh: () async { + await _controller.onRefresh(); + }, + child: CustomScrollView( + slivers: [ + SliverToBoxAdapter( + child: Obx( + () => _controller.first.value.mediaListResponse?.list + ?.isNotEmpty == + true + ? _buildItem(_controller.first.value, true) + : const SizedBox.shrink(), + ), + ), + SliverToBoxAdapter( + child: Obx( + () => _controller.second.value.mediaListResponse?.list + ?.isNotEmpty == + true + ? _buildItem(_controller.second.value, false) + : const SizedBox.shrink(), + ), + ), + SliverToBoxAdapter( + child: SizedBox( + height: 12 + MediaQuery.of(context).padding.bottom, + ), + ) + ], + ), + ) + : loadingState is Error + ? Center( + child: CustomScrollView( + shrinkWrap: true, + slivers: [ + HttpError( + errMsg: loadingState.errMsg, + fn: _controller.onReload, + ), + ], + ), + ) + : Center( + child: CircularProgressIndicator(), + ); + } + + _buildItem(Datum data, bool isFirst) { + return Theme( + data: Theme.of(context).copyWith( + dividerColor: Colors.transparent, + ), + child: ExpansionTile( + dense: true, + initiallyExpanded: true, + title: Text.rich( + TextSpan( + children: [ + TextSpan( + text: data.name, + style: TextStyle(fontSize: 14), + ), + TextSpan( + text: ' ${data.mediaListResponse?.count}', + style: TextStyle( + fontSize: 13, + color: Theme.of(context).colorScheme.outline, + ), + ), + ], + ), + ), + controlAffinity: ListTileControlAffinity.leading, + children: [ + ...(data.mediaListResponse?.list as List).map( + (item1) => ListTile( + onTap: () { + if (item1.state == 1) { + // invalid + return; + } + if (item1.type == 0) { + Get.toNamed( + '/favDetail', + parameters: { + 'mediaId': item1.id.toString(), + 'heroTag': widget.heroTag ?? '', + }, + ); + } else if (item1.type == 21) { + PiliScheme.routePush(Uri.parse(item1.link ?? '')); + } else if (item1.type == 11) { + Get.toNamed( + '/subDetail', + arguments: SubFolderItemData( + type: 11, + title: item1.title, + cover: item1.cover, + upper: Upper( + mid: item1.upper?.mid, + name: item1.upper?.name, + face: item1.upper?.face, + ), + mediaCount: item1.mediaCount, + viewCount: item1.viewCount, + ), + parameters: { + 'heroTag': widget.heroTag ?? '', + 'id': item1.id.toString(), + }, + ); + } + }, + leading: Container( + margin: const EdgeInsets.symmetric(vertical: 6), + child: LayoutBuilder( + builder: (_, constraints) { + return Stack( + children: [ + NetworkImgLayer( + radius: 6, + src: item1.cover, + width: + constraints.maxHeight * StyleString.aspectRatio, + height: constraints.maxHeight, + ), + if (item1.type == 21) + PBadge( + right: 3, + bottom: 3, + text: '合集', + bold: false, + size: 'small', + ) + else if (item1.type == 0 || item1.type == 11) + Positioned( + right: 3, + bottom: 3, + child: Container( + padding: const EdgeInsets.all(5), + decoration: BoxDecoration( + shape: BoxShape.circle, + color: Theme.of(context).colorScheme.primary, + ), + child: Icon( + Icons.video_library_outlined, + size: 12, + color: Theme.of(context).colorScheme.onPrimary, + ), + ), + ), + ], + ); + }, + ), + ), + title: Text( + item1.title ?? '', + style: TextStyle( + fontSize: 14, + ), + ), + subtitle: Text( + item1.type == 0 + ? '${item1.mediaCount}个内容 · ${[ + 0, + 2, + 22 + ].contains(item1.attr) ? '公开' : '私密'}' + : item1.type == 11 + ? '${item1.mediaCount}个内容 · ${item1.upper?.name}' + : item1.type == 21 + ? '创建者: ${item1.upper?.name}\n${item1.mediaCount}个视频 · ${Utils.numFormat(item1.viewCount)}播放' + : '${item1.mediaCount}个内容', + style: TextStyle( + fontSize: 13, + color: Theme.of(context).colorScheme.outline, + ), + ), + ), + ), + Obx( + () => (isFirst + ? _controller.firstEnd.value + : _controller.secondEnd.value) + ? const SizedBox.shrink() + : _buildLoadMoreItem(isFirst), + ), + ], + ), + ); + } + + _buildLoadMoreItem(bool isFirst) { + return ListTile( + dense: true, + onTap: () { + if (isFirst) { + _controller.userfavFolder(); + } else { + _controller.userSubFolder(); + } + }, + title: Text( + '查看更多内容', + textAlign: TextAlign.center, + style: TextStyle( + color: Theme.of(context).colorScheme.primary, + ), + ), + ); + } +} diff --git a/lib/pages/member/new/content/member_contribute/content/favorite/member_favorite_ctr.dart b/lib/pages/member/new/content/member_contribute/content/favorite/member_favorite_ctr.dart new file mode 100644 index 00000000..ce6e8b2d --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/content/favorite/member_favorite_ctr.dart @@ -0,0 +1,111 @@ +import 'package:PiliPalaX/http/api.dart'; +import 'package:PiliPalaX/http/init.dart'; +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/http/member.dart'; +import 'package:PiliPalaX/models/space_fav/datum.dart'; +import 'package:PiliPalaX/models/space_fav/list.dart'; +import 'package:PiliPalaX/models/space_fav/space_fav.dart'; +import 'package:PiliPalaX/models/user/fav_folder.dart'; +import 'package:PiliPalaX/pages/common/common_controller.dart'; +import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; +import 'package:get/get.dart'; + +class MemberFavoriteCtr extends CommonController { + MemberFavoriteCtr({ + required this.mid, + }); + + final int mid; + + Rx first = Datum().obs; + Rx second = Datum().obs; + + RxBool firstEnd = true.obs; + RxBool secondEnd = true.obs; + + late int page = 2; + late int page1 = 2; + + @override + void onInit() { + super.onInit(); + queryData(); + } + + @override + Future onRefresh() { + page = 2; + page1 = 2; + return super.onRefresh(); + } + + @override + bool customHandleResponse(Success response) { + try { + List res = response.response; + first.value = res.first; + second.value = res[1]; + + firstEnd.value = (res.first.mediaListResponse?.count ?? -1) <= + (res.first.mediaListResponse?.list?.length ?? -1); + secondEnd.value = (res[1].mediaListResponse?.count ?? -1) <= + (res[1].mediaListResponse?.list?.length ?? -1); + } catch (e) { + print(e.toString()); + } + loadingState.value = response; + return true; + } + + Future userfavFolder() async { + var res = await Request().get(Api.userFavFolder, data: { + 'pn': page, + 'ps': 20, + 'up_mid': mid, + }); + if (res.data['code'] == 0) { + page++; + firstEnd.value = res.data['data']['has_more'] == false; + if (res.data['data'] != null) { + List list = (res.data['data']['list'] as List?) + ?.map((item) => FavList.fromJson(item)) + .toList() ?? + []; + first.value.mediaListResponse?.list?.addAll(list); + first.refresh(); + } else { + firstEnd.value = true; + } + } else { + SmartDialog.showToast(res.data['message'] ?? '账号未登录'); + } + } + + Future userSubFolder() async { + var res = await Request().get(Api.userSubFolder, data: { + 'up_mid': mid, + 'ps': 20, + 'pn': page1, + 'platform': 'web', + }); + if (res.data['code'] == 0) { + page++; + secondEnd.value = res.data['data']['has_more'] == false; + if (res.data['data'] != null) { + List list = (res.data['data']['list'] as List?) + ?.map((item) => FavList.fromJson(item)) + .toList() ?? + []; + second.value.mediaListResponse?.list?.addAll(list); + second.refresh(); + } else { + secondEnd.value = true; + } + } else { + SmartDialog.showToast(res.data['message'] ?? '账号未登录'); + } + } + + @override + Future customGetData() => MemberHttp.spaceFav(mid: mid); +} diff --git a/lib/pages/member/new/content/member_contribute/content/video/member_video.dart b/lib/pages/member/new/content/member_contribute/content/video/member_video.dart new file mode 100644 index 00000000..3ec4e0b7 --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/content/video/member_video.dart @@ -0,0 +1,156 @@ +import 'package:PiliPalaX/common/constants.dart'; +import 'package:PiliPalaX/common/widgets/http_error.dart'; +import 'package:PiliPalaX/common/widgets/video_card_h_member_video.dart'; +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/content/video/member_video_ctr.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/member_contribute.dart' + show ContributeType; +import 'package:PiliPalaX/pages/video/detail/reply/view.dart'; +import 'package:PiliPalaX/utils/grid.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; + +class MemberVideo extends StatefulWidget { + const MemberVideo({ + super.key, + required this.type, + required this.heroTag, + required this.mid, + this.seasonId, + this.seriesId, + }); + + final ContributeType type; + final String? heroTag; + final int mid; + final int? seasonId; + final int? seriesId; + + @override + State createState() => _MemberVideoState(); +} + +class _MemberVideoState extends State + with AutomaticKeepAliveClientMixin { + @override + bool get wantKeepAlive => true; + + late final _controller = Get.put( + MemberVideoCtr( + type: widget.type, + mid: widget.mid, + seasonId: widget.seasonId, + seriesId: widget.seriesId, + ), + tag: + '${widget.heroTag}${widget.type.name}${widget.seasonId}${widget.seriesId}', + ); + + @override + Widget build(BuildContext context) { + super.build(context); + return Obx(() => _buildBody(_controller.loadingState.value)); + } + + _buildBody(LoadingState loadingState) { + return loadingState is Success + ? RefreshIndicator( + onRefresh: () async { + await _controller.onRefresh(); + }, + child: CustomScrollView( + slivers: [ + SliverPersistentHeader( + pinned: false, + floating: true, + delegate: MySliverPersistentHeaderDelegate( + child: Container( + height: 40, + padding: const EdgeInsets.fromLTRB(12, 0, 6, 0), + color: Theme.of(context).colorScheme.surface, + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Obx( + () => Text( + _controller.count.value != -1 + ? '共${_controller.count.value}视频' + : '', + style: const TextStyle(fontSize: 13), + ), + ), + SizedBox( + height: 35, + child: TextButton.icon( + onPressed: _controller.queryBySort, + icon: const Icon(Icons.sort, size: 16), + label: Obx( + () => Text( + widget.type == ContributeType.video + ? _controller.order.value == 'pubdate' + ? '最新发布' + : '最多播放' + : _controller.sort.value == 'desc' + ? '默认' + : '倒序', + style: const TextStyle(fontSize: 13), + ), + ), + ), + ) + ], + ), + ), + ), + ), + SliverPadding( + // 单列布局 EdgeInsets.zero + padding: EdgeInsets.fromLTRB( + StyleString.safeSpace, + StyleString.safeSpace - 5, + StyleString.safeSpace, + MediaQuery.of(context).padding.bottom + 10, + ), + sliver: SliverGrid( + gridDelegate: SliverGridDelegateWithExtentAndRatio( + mainAxisSpacing: StyleString.safeSpace, + crossAxisSpacing: StyleString.safeSpace, + maxCrossAxisExtent: Grid.maxRowWidth * 2, + childAspectRatio: StyleString.aspectRatio * 2.4, + mainAxisExtent: 0, + ), + delegate: SliverChildBuilderDelegate( + (context, index) { + if (widget.type != ContributeType.season && + index == loadingState.response.length - 1) { + _controller.onLoadMore(); + } + return VideoCardHMemberVideo( + videoItem: loadingState.response[index], + showPubdate: true, + ); + }, + childCount: loadingState.response.length, + ), + ), + ), + ], + ), + ) + : loadingState is Error + ? Center( + child: CustomScrollView( + shrinkWrap: true, + slivers: [ + HttpError( + errMsg: loadingState.errMsg, + fn: _controller.onReload, + ), + ], + ), + ) + : Center( + child: CircularProgressIndicator(), + ); + } +} diff --git a/lib/pages/member/new/content/member_contribute/content/video/member_video_ctr.dart b/lib/pages/member/new/content/member_contribute/content/video/member_video_ctr.dart new file mode 100644 index 00000000..ccfb5b1d --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/content/video/member_video_ctr.dart @@ -0,0 +1,90 @@ +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/http/member.dart'; +import 'package:PiliPalaX/models/space_archive/data.dart'; +import 'package:PiliPalaX/pages/common/common_controller.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/member_contribute.dart' + show ContributeType; +import 'package:get/get.dart'; + +class MemberVideoCtr extends CommonController { + MemberVideoCtr({ + required this.type, + required this.mid, + required this.seasonId, + required this.seriesId, + }); + + ContributeType type; + int? seasonId; + int? seriesId; + final int mid; + String? aid; + RxString order = 'pubdate'.obs; + RxString sort = 'desc'.obs; + bool isEnd = false; + RxInt count = (-1).obs; + int? next; + + @override + Future onRefresh() async { + isEnd = false; + aid = null; + next = null; + currentPage = 0; + await queryData(); + } + + @override + void onInit() { + super.onInit(); + currentPage = 0; + queryData(); + } + + @override + Future queryData([bool isRefresh = true]) { + if (isEnd) return Future.value(); + return super.queryData(isRefresh); + } + + @override + bool customHandleResponse(Success response) { + Data data = response.response; + next = data.next; + aid = data.item?.lastOrNull?.param; + isEnd = + type == ContributeType.video ? data.hasNext == false : data.next == 0; + if (currentPage == 0) { + count.value = type == ContributeType.season + ? (data.item?.length ?? -1) + : (data.count ?? -1); + } else if (loadingState.value is Success) { + data.item?.insertAll(0, (loadingState.value as Success).response); + } + loadingState.value = LoadingState.success(data.item); + return true; + } + + @override + Future customGetData() => MemberHttp.spaceArchive( + type: type, + mid: mid, + aid: type == ContributeType.video ? aid : null, + order: order.value, + sort: sort.value, + pn: type == ContributeType.charging ? currentPage : null, + next: next, + seasonId: seasonId, + seriesId: seriesId, + ); + + queryBySort() { + if (type == ContributeType.video) { + order.value = order.value == 'pubdate' ? 'click' : 'pubdate'; + } else { + sort.value = sort.value == 'desc' ? 'asc' : 'desc'; + } + loadingState.value = LoadingState.loading(); + onRefresh(); + } +} diff --git a/lib/pages/member/new/content/member_contribute/member_contribute.dart b/lib/pages/member/new/content/member_contribute/member_contribute.dart new file mode 100644 index 00000000..136658db --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/member_contribute.dart @@ -0,0 +1,120 @@ +import 'package:PiliPalaX/pages/member/new/content/member_contribute/content/article/member_article.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/content/audio/member_audio.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/content/video/member_video.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/member_contribute_ctr.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; + +enum ContributeType { video, charging, season, series, bangumi } + +class MemberContribute extends StatefulWidget { + const MemberContribute({ + super.key, + this.heroTag, + this.initialIndex, + required this.mid, + }); + + final String? heroTag; + final int? initialIndex; + final int mid; + + @override + State createState() => _MemberContributeState(); +} + +class _MemberContributeState extends State + with AutomaticKeepAliveClientMixin { + @override + bool get wantKeepAlive => true; + + late final _controller = Get.put( + MemberContributeCtr( + heroTag: widget.heroTag, + initialIndex: widget.initialIndex, + ), + tag: widget.heroTag, + ); + + @override + Widget build(BuildContext context) { + super.build(context); + return _controller.tabs != null + ? Column( + children: [ + Container( + width: double.infinity, + color: Theme.of(context).colorScheme.surface, + child: Theme( + data: ThemeData( + splashColor: Colors.transparent, + highlightColor: Colors.transparent, + ), + child: TabBar( + padding: const EdgeInsets.symmetric(horizontal: 8), + isScrollable: true, + tabs: _controller.tabs!, + tabAlignment: TabAlignment.start, + controller: _controller.tabController, + dividerHeight: 0, + indicatorWeight: 0, + indicatorPadding: + const EdgeInsets.symmetric(horizontal: 3, vertical: 8), + indicator: BoxDecoration( + color: Theme.of(context).colorScheme.secondaryContainer, + borderRadius: BorderRadius.circular(20), + ), + indicatorSize: TabBarIndicatorSize.tab, + labelStyle: const TextStyle(fontSize: 14), + labelColor: + Theme.of(context).colorScheme.onSecondaryContainer, + unselectedLabelColor: Theme.of(context).colorScheme.outline, + ), + ), + ), + Expanded( + child: TabBarView( + physics: const NeverScrollableScrollPhysics(), + controller: _controller.tabController, + children: _controller.items! + .map( + (item) => switch (item.param) { + 'video' => MemberVideo( + type: ContributeType.video, + heroTag: widget.heroTag, + mid: widget.mid, + ), + 'charging_video' => MemberVideo( + type: ContributeType.charging, + heroTag: widget.heroTag, + mid: widget.mid, + ), + 'article' => MemberArticle(heroTag: widget.heroTag), + 'audio' => MemberAudio(heroTag: widget.heroTag), + 'season_video' => MemberVideo( + type: ContributeType.season, + heroTag: widget.heroTag, + mid: widget.mid, + seasonId: item.seasonId, + ), + 'series' => MemberVideo( + type: ContributeType.series, + heroTag: widget.heroTag, + mid: widget.mid, + seriesId: item.seriesId, + ), + _ => Center(child: Text(item.title!)) + }, + ) + .toList(), + ), + ), + ], + ) + : MemberVideo( + type: ContributeType.video, + heroTag: widget.heroTag, + mid: widget.mid, + ); + } +} diff --git a/lib/pages/member/new/content/member_contribute/member_contribute_ctr.dart b/lib/pages/member/new/content/member_contribute/member_contribute_ctr.dart new file mode 100644 index 00000000..133eef11 --- /dev/null +++ b/lib/pages/member/new/content/member_contribute/member_contribute_ctr.dart @@ -0,0 +1,48 @@ +import 'dart:math'; + +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/models/space/tab2.dart'; +import 'package:PiliPalaX/pages/common/common_controller.dart'; +import 'package:PiliPalaX/pages/member/new/controller.dart'; +import 'package:PiliPalaX/utils/extension.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; + +import '../../../../../models/space/item.dart'; + +class MemberContributeCtr extends CommonController + with GetTickerProviderStateMixin { + MemberContributeCtr({ + required this.heroTag, + required this.initialIndex, + }); + final String? heroTag; + final int? initialIndex; + + TabController? tabController; + List? tabs; + late final _ctr = Get.find(tag: heroTag); + List? items; + + @override + void onInit() { + super.onInit(); + Tab2 contribute = + _ctr.tab2!.firstWhere((item) => item.param == 'contribute'); + if (contribute.items?.isNullOrEmpty == false && + contribute.items!.length > 1) { + items = contribute.items; + tabs = items!.map((item) => Tab(text: item.title)).toList(); + tabController = TabController( + vsync: this, + length: items!.length, + initialIndex: max(0, initialIndex ?? 0), + ); + } + } + + @override + Future customGetData() { + throw UnimplementedError(); + } +} diff --git a/lib/pages/member/new/content/member_dynamic/member_dynamic.dart b/lib/pages/member/new/content/member_dynamic/member_dynamic.dart new file mode 100644 index 00000000..71c5ea57 --- /dev/null +++ b/lib/pages/member/new/content/member_dynamic/member_dynamic.dart @@ -0,0 +1,75 @@ +import 'package:PiliPalaX/common/widgets/http_error.dart'; +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/pages/dynamics/widgets/dynamic_panel_grpc.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_dynamic/member_dynamic_ctr.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; + +class MemberDynamic extends StatefulWidget { + const MemberDynamic({ + super.key, + required this.mid, + }); + + final int mid; + + @override + State createState() => _MemberDynamicState(); +} + +class _MemberDynamicState extends State + with AutomaticKeepAliveClientMixin { + @override + bool get wantKeepAlive => true; + + late final _controller = Get.put(MemberDynamicCtr(mid: widget.mid)); + + @override + Widget build(BuildContext context) { + super.build(context); + return ListView.separated( + itemCount: 100, + itemBuilder: (_, index) { + return ListTile(title: Text(index.toString())); + }, + separatorBuilder: (_, index) => const SizedBox(height: 10), + ); + return Obx(() => _buildBody(_controller.loadingState.value)); + } + + _buildBody(LoadingState loadingState) { + return loadingState is Success + ? RefreshIndicator( + onRefresh: () async { + await _controller.onRefresh(); + }, + child: ListView.separated( + itemCount: loadingState.response.length, + itemBuilder: (_, index) { + if (index == loadingState.response.length - 1) { + _controller.onLoadMore(); + } + return DynamicPanelGrpc( + item: loadingState.response[index], + ); + }, + separatorBuilder: (_, index) => const SizedBox(height: 10), + ), + ) + : loadingState is Error + ? Center( + child: CustomScrollView( + shrinkWrap: true, + slivers: [ + HttpError( + errMsg: loadingState.errMsg, + fn: _controller.onReload, + ), + ], + ), + ) + : Center( + child: CircularProgressIndicator(), + ); + } +} diff --git a/lib/pages/member/new/content/member_dynamic/member_dynamic_ctr.dart b/lib/pages/member/new/content/member_dynamic/member_dynamic_ctr.dart new file mode 100644 index 00000000..3b7fab72 --- /dev/null +++ b/lib/pages/member/new/content/member_dynamic/member_dynamic_ctr.dart @@ -0,0 +1,48 @@ +import 'package:PiliPalaX/grpc/app/dynamic/v2/dynamic.pb.dart'; +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/http/member.dart'; +import 'package:PiliPalaX/pages/common/common_controller.dart'; + +class MemberDynamicCtr extends CommonController { + MemberDynamicCtr({ + required this.mid, + }); + int mid; + bool isEnd = false; + + @override + void onInit() { + super.onInit(); + // queryData(); + } + + @override + Future onRefresh() { + isEnd = false; + return super.onRefresh(); + } + + @override + Future queryData([bool isRefresh = true]) { + if (isEnd) return Future.value(); + return super.queryData(isRefresh); + } + + @override + bool customHandleResponse(Success response) { + DynSpaceRsp res = response.response; + isEnd = !res.hasMore; + if (currentPage != 1) { + res.list.insertAll( + 0, (loadingState.value as Success?)?.response ?? []); + } + loadingState.value = LoadingState.success(res.list); + return true; + } + + @override + Future customGetData() => MemberHttp.spaceDynamic( + mid: mid, + page: currentPage, + ); +} diff --git a/lib/pages/member/new/content/member_home/member_home.dart b/lib/pages/member/new/content/member_home/member_home.dart new file mode 100644 index 00000000..ca488000 --- /dev/null +++ b/lib/pages/member/new/content/member_home/member_home.dart @@ -0,0 +1,214 @@ +import 'dart:math'; + +import 'package:PiliPalaX/common/constants.dart'; +import 'package:PiliPalaX/common/widgets/video_card_v_member_home.dart'; +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/models/space/data.dart'; +import 'package:PiliPalaX/models/space/item.dart'; +import 'package:PiliPalaX/pages/bangumi/widgets/bangumi_card_v_member_home.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/member_contribute_ctr.dart'; +import 'package:PiliPalaX/pages/member/new/controller.dart'; +import 'package:PiliPalaX/utils/grid.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; + +class MemberHome extends StatefulWidget { + const MemberHome({super.key, this.heroTag}); + + final String? heroTag; + + @override + State createState() => _MemberHomeState(); +} + +class _MemberHomeState extends State + with AutomaticKeepAliveClientMixin { + @override + bool get wantKeepAlive => true; + + late final _ctr = Get.find(tag: widget.heroTag); + + @override + Widget build(BuildContext context) { + super.build(context); + return _buildBody(_ctr.loadingState.value); + } + + Widget _buildBody(LoadingState loadingState) { + return loadingState is Success && loadingState.response is Data + ? CustomScrollView( + slivers: [ + if (loadingState.response?.archive?.item?.isNotEmpty == true) ...[ + _videoHeader( + title: '视频', + param: 'contribute', + param1: 'video', + count: loadingState.response.archive.count, + ), + SliverPadding( + padding: const EdgeInsets.symmetric( + horizontal: StyleString.safeSpace, + ), + sliver: SliverGrid( + gridDelegate: SliverGridDelegateWithExtentAndRatio( + mainAxisSpacing: StyleString.cardSpace, + crossAxisSpacing: StyleString.cardSpace, + maxCrossAxisExtent: Grid.maxRowWidth, + childAspectRatio: StyleString.aspectRatio, + mainAxisExtent: + MediaQuery.textScalerOf(context).scale(90), + ), + delegate: SliverChildBuilderDelegate( + (context, index) { + return VideoCardVMemberHome( + videoItem: loadingState.response.archive.item[index], + ); + }, + childCount: + min(4, loadingState.response.archive.item.length), + ), + ), + ), + ], + if (loadingState.response?.article?.item?.isNotEmpty == true) ...[ + _videoHeader( + title: '专栏', + param: 'contribute', + param1: 'article', + count: loadingState.response.article.count, + ), + // TODO + ], + if (loadingState.response?.audios?.item?.isNotEmpty == true) ...[ + _videoHeader( + title: '音频', + param: 'contribute', + param1: 'audio', + count: loadingState.response.audios.count, + ), + // TODO + ], + if (loadingState.response?.season?.item?.isNotEmpty == true) ...[ + _videoHeader( + title: '追番', + param: 'bangumi', + count: loadingState.response.season.count, + ), + SliverPadding( + padding: const EdgeInsets.symmetric( + horizontal: StyleString.safeSpace, + ), + sliver: SliverGrid( + gridDelegate: SliverGridDelegateWithExtentAndRatio( + mainAxisSpacing: StyleString.cardSpace - 2, + crossAxisSpacing: StyleString.cardSpace, + maxCrossAxisExtent: Grid.maxRowWidth / 3 * 2, + childAspectRatio: 0.65, + mainAxisExtent: + MediaQuery.textScalerOf(context).scale(60), + ), + delegate: SliverChildBuilderDelegate( + (context, index) { + return BangumiCardVMemberHome( + bangumiItem: loadingState.response.season.item[index], + ); + }, + childCount: + min(3, loadingState.response.season.item.length), + ), + ), + ), + ], + SliverToBoxAdapter( + child: SizedBox( + height: 12 + MediaQuery.of(context).padding.bottom, + ), + ), + ], + ) + : const SizedBox.shrink(); + } + + Widget _videoHeader({ + required String title, + required String param, + String? param1, + required int count, + }) => + SliverToBoxAdapter( + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text.rich( + TextSpan( + children: [ + TextSpan(text: '$title '), + TextSpan( + text: count.toString(), + style: TextStyle( + fontSize: 13, + color: Theme.of(context).colorScheme.outline, + ), + ), + ], + ), + ), + GestureDetector( + onTap: () { + int index = + _ctr.tab2!.indexWhere((item) => item.param == param); + if (['video', 'article', 'audio'].contains(param1)) { + List items = _ctr.tab2! + .firstWhere((item) => item.param == param) + .items!; + int index1 = + items.indexWhere((item) => item.param == param1); + try { + final contributeCtr = + Get.find(tag: widget.heroTag); + // contributeCtr.tabController?.animateTo(index1); + if (contributeCtr.tabController?.index != index1) { + contributeCtr.tabController?.index = index1; + } + print('initialized'); + } catch (e) { + _ctr.contributeInitialIndex.value = index1; + print('not initialized'); + } + } + if (index != -1) { + _ctr.tabController.animateTo(index); + } + }, + child: Text.rich( + TextSpan( + children: [ + TextSpan( + text: '查看更多', + style: TextStyle( + color: Theme.of(context).colorScheme.outline, + ), + ), + WidgetSpan( + alignment: PlaceholderAlignment.top, + child: Icon( + Icons.arrow_forward_ios, + size: 14, + color: Theme.of(context).colorScheme.outline, + ), + style: TextStyle( + fontSize: 13, + color: Theme.of(context).colorScheme.outline, + ), + ), + ], + ), + ), + ), + ], + ), + ), + ); +} diff --git a/lib/pages/member/new/controller.dart b/lib/pages/member/new/controller.dart new file mode 100644 index 00000000..02ef2a3c --- /dev/null +++ b/lib/pages/member/new/controller.dart @@ -0,0 +1,112 @@ +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/http/member.dart'; +import 'package:PiliPalaX/http/video.dart'; +import 'package:PiliPalaX/models/space/tab2.dart'; +import 'package:PiliPalaX/pages/common/common_controller.dart'; +import 'package:PiliPalaX/utils/storage.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; +import 'package:get/get.dart'; +import 'package:share_plus/share_plus.dart'; + +class MemberControllerNew extends CommonController + with GetTickerProviderStateMixin { + MemberControllerNew({required this.mid}); + int? mid; + RxDouble scrollRatio = 0.0.obs; + String? username; + int? ownerMid; + RxBool isFollow = false.obs; + RxInt relation = 1.obs; + late final TabController tabController; + late final List tabs; + List? tab2; + RxInt contributeInitialIndex = 0.obs; + double? top; + + @override + void onInit() { + super.onInit(); + ownerMid = GStorage.userInfo.get('userInfoCache')?.mid; + queryData(); + } + + @override + bool customHandleResponse(Success response) { + username = response.response?.card?.name ?? ''; + isFollow.value = response.response?.card?.relation?.isFollow == 1; + relation.value = response.response?.relation ?? 1; + tab2 = response.response.tab2; + if (tab2 != null && tab2!.isNotEmpty) { + int initialIndex = tab2! + .indexWhere((item) => item.param == response.response.defaultTab); + if (initialIndex == 0 && + !response.response.tab.toJson().values.contains('true')) { + if (tab2!.length > 1) { + initialIndex = 1; + } + // TODO + // tab2!.removeAt(0); + } + tabs = tab2!.map((item) => Tab(text: item.title ?? '')).toList(); + tabController = TabController( + vsync: this, + length: response.response.tab2.length, + initialIndex: initialIndex == -1 + ? tab2!.length > 1 + ? 1 + : 0 + : initialIndex, + ); + } + loadingState.value = response; + return true; + } + + @override + Future customGetData() => MemberHttp.space(mid: mid); + + Future blockUser(BuildContext context) async { + if (ownerMid == null) { + SmartDialog.showToast('账号未登录'); + return; + } + await showDialog( + context: context, + builder: (context) { + return AlertDialog( + title: const Text('提示'), + content: Text(relation.value != -1 ? '确定拉黑UP主?' : '从黑名单移除UP主'), + actions: [ + TextButton( + onPressed: Get.back, + child: Text( + '点错了', + style: TextStyle(color: Theme.of(context).colorScheme.outline), + ), + ), + TextButton( + onPressed: () async { + Get.back(); + var res = await VideoHttp.relationMod( + mid: mid ?? -1, + act: relation.value != -1 ? 5 : 6, + reSrc: 11, + ); + if (res['status']) { + relation.value = relation.value != -1 ? -1 : 1; + isFollow.value = false; + } + }, + child: const Text('确认'), + ) + ], + ); + }, + ); + } + + void shareUser() { + Share.share('https://space.bilibili.com/$mid'); + } +} diff --git a/lib/pages/member/new/member_page.dart b/lib/pages/member/new/member_page.dart new file mode 100644 index 00000000..743e1945 --- /dev/null +++ b/lib/pages/member/new/member_page.dart @@ -0,0 +1,307 @@ +import 'dart:math'; + +import 'package:PiliPalaX/common/widgets/dynamic_sliver_appbar.dart'; +import 'package:PiliPalaX/common/widgets/http_error.dart'; +import 'package:PiliPalaX/http/loading_state.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/content/bangumi/member_bangumi.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/content/favorite/member_favorite.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_contribute/member_contribute.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_dynamic/member_dynamic.dart'; +import 'package:PiliPalaX/pages/member/new/content/member_home/member_home.dart'; +import 'package:PiliPalaX/pages/member/new/controller.dart'; +import 'package:PiliPalaX/pages/member/new/widget/user_info_card.dart'; +import 'package:PiliPalaX/pages/member/view.dart'; +import 'package:PiliPalaX/pages/member_dynamics/view.dart'; +import 'package:PiliPalaX/utils/utils.dart'; +import 'package:extended_nested_scroll_view/extended_nested_scroll_view.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; + +class MemberPageNew extends StatefulWidget { + const MemberPageNew({super.key}); + + @override + State createState() => _MemberPageNewState(); +} + +class _MemberPageNewState extends State + with TickerProviderStateMixin { + int? _mid; + String? _heroTag; + late final MemberControllerNew _userController; + + @override + void initState() { + super.initState(); + _mid = int.parse(Get.parameters['mid']!); + _heroTag = Get.arguments['heroTag'] ?? Utils.makeHeroTag(_mid); + _userController = Get.put( + MemberControllerNew(mid: _mid), + tag: _heroTag, + ); + _userController.scrollController.addListener(() { + _userController.scrollRatio.value = + min(1.0, _userController.scrollController.offset.round() / 150); + }); + } + + @override + Widget build(BuildContext context) { + _userController.top ??= MediaQuery.of(context).padding.top; + return Scaffold( + resizeToAvoidBottomInset: false, + body: Obx( + () => _userController.loadingState.value is Success + ? LayoutBuilder( + builder: (_, constraints) { + if (constraints.maxHeight > constraints.maxWidth) { + return ExtendedNestedScrollView( + controller: _userController.scrollController, + onlyOneScrollInBody: true, + headerSliverBuilder: (context, innerBoxIsScrolled) { + return [ + SliverOverlapAbsorber( + handle: ExtendedNestedScrollView + .sliverOverlapAbsorberHandleFor(context), + sliver: _buildAppBar(), + ), + ]; + }, + body: _userController.tab2 != null && + _userController.tab2!.isNotEmpty + ? LayoutBuilder( + builder: (context, _) { + return Padding( + padding: EdgeInsets.only( + top: ExtendedNestedScrollView + .sliverOverlapAbsorberHandleFor( + context) + .layoutExtent ?? + 0, + ), + child: _buildBody, + ); + }, + ) + : Center(child: const Text('EMPTY')), + ); + } else { + return Row( + children: [ + Expanded( + child: CustomScrollView( + slivers: [ + _buildAppBar(false), + ], + ), + ), + Expanded( + child: SafeArea( + top: false, + left: false, + bottom: false, + child: Column( + children: [ + SizedBox(height: _userController.top), + _buildTab, + Expanded(child: _buildBody), + ], + ), + ), + ), + ], + ); + } + }, + ) + : Center( + child: _buildUserInfo(_userController.loadingState.value), + ), + ), + ); + } + + Widget get _buildTab => TabBar( + controller: _userController.tabController, + tabs: _userController.tabs, + ); + + Widget get _buildBody => TabBarView( + controller: _userController.tabController, + children: _userController.tab2!.map((item) { + return switch (item.param!) { + 'home' => MemberHome(heroTag: _heroTag), + // 'dynamic' => MemberDynamic(mid: _mid ?? -1), + 'dynamic' => MemberDynamicsPage(mid: _mid), + 'contribute' => Obx( + () => MemberContribute( + heroTag: _heroTag, + initialIndex: _userController.contributeInitialIndex.value, + mid: _mid ?? -1, + ), + ), + 'bangumi' => MemberBangumi( + heroTag: _heroTag, + mid: _mid ?? -1, + ), + 'favorite' => MemberFavorite( + heroTag: _heroTag, + mid: _mid ?? -1, + ), + _ => Center(child: Text(item.title ?? '')), + }; + }).toList(), + ); + + Widget _buildAppBar([bool needTab = true]) => MediaQuery.removePadding( + context: context, + removeTop: true, + removeRight: true, + child: DynamicSliverAppBar( + leading: Padding( + padding: EdgeInsets.only(top: _userController.top ?? 0), + child: const BackButton(), + ), + title: Obx(() => _userController.scrollRatio.value == 1 && + _userController.username != null + ? Padding( + padding: EdgeInsets.only(top: _userController.top ?? 0), + child: Text(_userController.username!), + ) + : const SizedBox.shrink()), + pinned: true, + scrolledUnderElevation: 0, + flexibleSpace: _buildUserInfo(_userController.loadingState.value), + bottom: needTab && + _userController.tab2 != null && + _userController.tab2!.isNotEmpty + ? PreferredSize( + preferredSize: Size.fromHeight(48), + child: Material( + child: _buildTab, + ), + ) + : null, + actions: [ + Padding( + padding: EdgeInsets.only(top: _userController.top ?? 0), + child: IconButton( + tooltip: '搜索', + onPressed: () => Get.toNamed( + '/memberSearch?mid=$_mid&uname=${_userController.username}'), + icon: const Icon(Icons.search_outlined), + ), + ), + Padding( + padding: EdgeInsets.only(top: _userController.top ?? 0), + child: PopupMenuButton( + icon: const Icon(Icons.more_vert), + itemBuilder: (BuildContext context) => [ + if (_userController.ownerMid != _mid) ...[ + PopupMenuItem( + onTap: () => _userController.blockUser(context), + child: Row( + mainAxisSize: MainAxisSize.min, + children: [ + const Icon(Icons.block, size: 19), + const SizedBox(width: 10), + Text(_userController.relation.value != -1 + ? '加入黑名单' + : '移除黑名单'), + ], + ), + ) + ], + PopupMenuItem( + onTap: () => _userController.shareUser(), + child: Row( + mainAxisSize: MainAxisSize.min, + children: [ + const Icon(Icons.share_outlined, size: 19), + const SizedBox(width: 10), + Text(_userController.ownerMid != _mid + ? '分享UP主' + : '分享我的主页'), + ], + ), + ), + if (_userController.ownerMid != null) ...[ + const PopupMenuDivider(), + PopupMenuItem( + onTap: () { + showDialog( + context: context, + builder: (_) => AlertDialog( + clipBehavior: Clip.hardEdge, + contentPadding: const EdgeInsets.symmetric( + horizontal: 20, + vertical: 16, + ), + content: ReportPanel( + name: _userController.username, + mid: _mid, + ), + ), + ); + }, + child: Row( + mainAxisSize: MainAxisSize.min, + children: [ + Icon( + Icons.error_outline, + size: 19, + color: Theme.of(context).colorScheme.error, + ), + const SizedBox(width: 10), + Text( + '举报', + style: TextStyle( + color: Theme.of(context).colorScheme.error), + ), + ], + ), + ), + ], + ], + ), + ), + const SizedBox(width: 4), + ], + ), + ); + + Widget _errorWidget(msg) { + return CustomScrollView( + shrinkWrap: true, + slivers: [ + HttpError( + errMsg: msg, + fn: () { + _userController.loadingState.value = LoadingState.loading(); + _userController.onRefresh(); + }, + ) + ], + ); + } + + Widget _buildUserInfo(LoadingState userState) { + switch (userState) { + case Empty(): + return _errorWidget('EMPTY'); + case Error(): + return _errorWidget(userState.errMsg); + case Success(): + return Obx( + () => UserInfoCard( + relation: _userController.relation.value, + isFollow: _userController.isFollow.value, + card: userState.response.card, + images: userState.response.images, + // onFollow: _userController.onFollow, + ), + ); + } + return const CircularProgressIndicator(); + } +} diff --git a/lib/pages/member/new/widget/user_info_card.dart b/lib/pages/member/new/widget/user_info_card.dart new file mode 100644 index 00000000..a095f064 --- /dev/null +++ b/lib/pages/member/new/widget/user_info_card.dart @@ -0,0 +1,436 @@ +import 'package:PiliPalaX/common/widgets/network_img_layer.dart'; +import 'package:PiliPalaX/models/space/card.dart' as space; +import 'package:PiliPalaX/models/space/images.dart' as space; +import 'package:PiliPalaX/pages/preview/view.dart'; +import 'package:PiliPalaX/utils/extension.dart'; +import 'package:PiliPalaX/utils/storage.dart'; +import 'package:PiliPalaX/utils/utils.dart'; +import 'package:cached_network_image/cached_network_image.dart'; +import 'package:flutter/material.dart'; +import 'package:get/get.dart'; + +class UserInfoCard extends StatelessWidget { + const UserInfoCard({ + super.key, + required this.card, + required this.images, + required this.relation, + required this.isFollow, + // required this.onFollow, + }); + + final int relation; + final bool isFollow; + final space.Card card; + final space.Images images; + // final Function(dynamic uid, dynamic isFollow) onFollow; + + @override + Widget build(BuildContext context) { + bool darken = GStorage.brightness == Brightness.dark; + String? imgUrl = darken + ? (images.nightImgurl?.isEmpty == true + ? images.imgUrl?.http2https + : images.nightImgurl?.http2https) + : images.imgUrl?.http2https; + return Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Stack( + children: [ + Column( + mainAxisSize: MainAxisSize.min, + children: [ + GestureDetector( + onTap: () { + showDialog( + useSafeArea: false, + context: context, + builder: (context) { + return ImagePreview( + initialPage: 0, + imgList: [imgUrl ?? ''], + ); + }, + ); + }, + child: CachedNetworkImage( + imageUrl: imgUrl ?? '', + width: double.infinity, + height: 135, + imageBuilder: (context, imageProvider) => Container( + decoration: BoxDecoration( + image: DecorationImage( + image: imageProvider, + fit: BoxFit.cover, + colorFilter: ColorFilter.mode( + darken + ? const Color(0x8D000000) + : const Color(0x5DFFFFFF), + darken ? BlendMode.darken : BlendMode.lighten, + ), + ), + ), + ), + ), + ), + const SizedBox(width: double.infinity, height: 85) + ], + ), + Positioned( + top: 110, + left: 20, + child: GestureDetector( + onTap: () { + showDialog( + useSafeArea: false, + context: context, + builder: (context) { + return ImagePreview( + initialPage: 0, + imgList: [card.face ?? ''], + ); + }, + ); + }, + child: Container( + decoration: BoxDecoration( + border: Border.all( + width: 2.5, + color: Theme.of(context).colorScheme.surface, + ), + shape: BoxShape.circle, + ), + child: NetworkImgLayer( + src: card.face, + type: 'avatar', + width: 80, + height: 80, + ), + ), + ), + ), + if (card.officialVerify?.icon?.isNotEmpty == true) + Positioned( + top: 170, + left: 80, + child: Container( + padding: const EdgeInsets.all(0.01), + decoration: BoxDecoration( + shape: BoxShape.circle, + color: Theme.of(context).colorScheme.surface, + ), + child: NetworkImgLayer( + src: card.officialVerify?.icon, + radius: null, + width: 24, + height: 24, + quality: 100, + ), + ), + ), + Positioned( + top: 140, + right: 20, + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + children: List.generate( + 5, + (index) => index % 2 == 0 + ? Padding( + padding: + const EdgeInsets.symmetric(horizontal: 20), + child: _countWidget( + title: ['粉丝', '关注', '获赞'][index ~/ 2], + count: index == 0 + ? card.fans + : index == 2 + ? card.attention + : card.likes?.likeNum ?? 0, + onTap: () { + if (index == 0) { + Get.toNamed( + '/follow?mid=${card.mid}&name=${card.name}'); + } else if (index == 2) { + Get.toNamed( + '/fan?mid=${card.mid}&name=${card.name}'); + } + }, + ), + ) + : SizedBox( + height: 15, + width: 1, + child: VerticalDivider(), + ), + ), + ), + const SizedBox(height: 5), + Row( + mainAxisSize: MainAxisSize.min, + children: [ + IconButton.outlined( + onPressed: () { + if (GStorage.userInfo.get('userInfoCache') != null) { + Get.toNamed( + '/whisperDetail', + parameters: { + 'talkerId': card.mid ?? '', + 'name': card.name ?? '', + 'face': card.face ?? '', + 'mid': card.mid ?? '', + }, + ); + } + }, + icon: const Icon(Icons.mail_outline, size: 21), + style: IconButton.styleFrom( + side: BorderSide( + width: 1.0, + color: Theme.of(context) + .colorScheme + .outline + .withOpacity(0.5), + ), + padding: EdgeInsets.zero, + tapTargetSize: MaterialTapTargetSize.shrinkWrap, + visualDensity: const VisualDensity( + horizontal: -2, + vertical: -2, + ), + ), + ), + const SizedBox(width: 10), + FilledButton.tonal( + onPressed: () {}, + style: FilledButton.styleFrom( + backgroundColor: relation == -1 || isFollow + ? Theme.of(context).colorScheme.onInverseSurface + : null, + padding: const EdgeInsets.symmetric(horizontal: 50), + visualDensity: const VisualDensity( + horizontal: -2, + vertical: -2, + ), + ), + child: Text( + relation == -1 + ? '已拉黑' + : isFollow + ? '取消关注' + : '关注', + style: TextStyle( + color: relation == -1 || isFollow + ? Theme.of(context).colorScheme.outline + : null, + ), + ), + ), + ], + ), + ], + ), + ), + ], + ), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 20), + child: Wrap( + spacing: 5, + runSpacing: 8, + crossAxisAlignment: WrapCrossAlignment.center, + children: [ + GestureDetector( + onTap: () => Utils.copyText(card.name ?? ''), + child: Text( + card.name ?? '', + style: TextStyle( + height: 1, + fontSize: 17, + fontWeight: FontWeight.bold, + color: card.vip?.vipType == 2 ? Utils.vipColor : null, + ), + ), + ), + Image.asset( + 'assets/images/lv/lv${card.levelInfo?.currentLevel}.png', + height: 11, + semanticLabel: '等级${card.levelInfo?.currentLevel}', + ), + if (card.vip?.vipStatus == 1) + Image.network( + card.vip!.label!.image!, + height: 20, + ), + if (card.nameplate?.image?.isNotEmpty == true) + Image.network( + card.nameplate!.image!, + height: 20, + ), + // GestureDetector( + // onTap: () { + // Utils.copyText(card.mid.toString()); + // }, + // child: Container( + // padding: + // const EdgeInsets.symmetric(horizontal: 8, vertical: 2.5), + // decoration: BoxDecoration( + // color: Theme.of(context).colorScheme.secondaryContainer, + // borderRadius: const BorderRadius.all(Radius.circular(12)), + // ), + // child: Text( + // 'uid: ${card.mid}', + // style: TextStyle( + // height: 1, + // fontSize: 12, + // fontWeight: FontWeight.w500, + // color: Theme.of(context).colorScheme.onSecondaryContainer, + // ), + // strutStyle: const StrutStyle( + // height: 1, + // leading: 0, + // fontSize: 12, + // ), + // ), + // ), + // ), + ], + ), + ), + if (card.officialVerify?.desc?.isNotEmpty == true) + Padding( + padding: const EdgeInsets.only(left: 20, top: 8, right: 20), + child: Container( + padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 2), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(12), + color: Theme.of(context).colorScheme.onInverseSurface), + child: Text.rich( + TextSpan( + children: [ + if (card.officialVerify?.icon?.isNotEmpty == true) ...[ + WidgetSpan( + child: Container( + padding: const EdgeInsets.all(0.1), + decoration: BoxDecoration( + shape: BoxShape.circle, + color: Theme.of(context).colorScheme.surface, + ), + child: CachedNetworkImage( + width: 18, + height: 18, + imageUrl: card.officialVerify!.icon!, + ), + ), + ), + TextSpan( + text: ' ', + ) + ], + TextSpan( + text: card.officialVerify!.spliceTitle!, + style: TextStyle( + fontSize: 12, + fontWeight: FontWeight.bold, + color: Theme.of(context) + .colorScheme + .onSurface + .withOpacity(0.7), + ), + ) + ], + ), + ), + ), + ), + if (card.sign?.isNotEmpty == true) + Padding( + padding: const EdgeInsets.only(left: 20, top: 6, right: 20), + child: SelectableText( + card.sign!.replaceFirst(RegExp('^\n'), ''), + style: const TextStyle( + fontSize: 14, + ), + ), + ), + Padding( + padding: const EdgeInsets.only(left: 20, top: 6, right: 20), + child: Wrap( + spacing: 5, + runSpacing: 8, + crossAxisAlignment: WrapCrossAlignment.end, + children: [ + GestureDetector( + onTap: () { + Utils.copyText(card.mid.toString()); + }, + child: Text( + 'UID: ${card.mid}', + style: TextStyle( + fontSize: 12, + color: Theme.of(context).colorScheme.outline, + ), + ), + ), + if (!card.spaceTag.isNullOrEmpty) + ...card.spaceTag!.map( + (item) => Text( + item.title ?? '', + style: TextStyle( + fontSize: 12, + color: Theme.of(context).colorScheme.outline, + ), + ), + ), + ], + ), + ), + // if (card.spaceTagBottom != null && card.spaceTagBottom!.isNotEmpty) + // Padding( + // padding: const EdgeInsets.only(left: 20, top: 8, right: 20), + // child: Wrap( + // spacing: 5, + // runSpacing: 8, + // children: card.spaceTagBottom! + // .map((item) => Text(item.title ?? '')) + // .toList(), + // ), + // ), + const SizedBox(height: 50), + ], + ); + } + + Widget _countWidget({ + required String title, + required int count, + required VoidCallback onTap, + }) { + return GestureDetector( + onTap: onTap, + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Text( + Utils.numFormat(count), + style: TextStyle( + fontSize: 14, + ), + ), + Text( + title, + style: TextStyle( + height: 1, + fontSize: 11, + color: Theme.of(Get.context!).colorScheme.outline, + ), + ), + ], + ), + ); + } +} diff --git a/lib/pages/member/view.dart b/lib/pages/member/view.dart index 8e1ec6aa..454dac1b 100644 --- a/lib/pages/member/view.dart +++ b/lib/pages/member/view.dart @@ -1,5 +1,7 @@ import 'dart:async'; +import 'package:PiliPalaX/grpc/app/dynamic/v2/dynamic.pb.dart' as dyn; +import 'package:PiliPalaX/grpc/grpc_repo.dart'; import 'package:PiliPalaX/http/member.dart'; import 'package:PiliPalaX/http/user.dart'; import 'package:PiliPalaX/models/member/info.dart'; diff --git a/lib/pages/member_dynamics/controller.dart b/lib/pages/member_dynamics/controller.dart index 094ebea9..e7cadbca 100644 --- a/lib/pages/member_dynamics/controller.dart +++ b/lib/pages/member_dynamics/controller.dart @@ -4,17 +4,21 @@ import 'package:PiliPalaX/http/member.dart'; import 'package:PiliPalaX/models/dynamics/result.dart'; class MemberDynamicsController extends GetxController { + MemberDynamicsController(this.mid); final ScrollController scrollController = ScrollController(); - late int mid; + int? mid; String offset = ''; int count = 0; bool hasMore = true; RxList dynamicsList = [].obs; + // TODO: refactor + late Future futureBuilderFuture; + @override - void onInit() { + void onInit() async { super.onInit(); - mid = int.parse(Get.parameters['mid']!); + futureBuilderFuture = getMemberDynamic('onRefresh'); } Future getMemberDynamic(type) async { diff --git a/lib/pages/member_dynamics/view.dart b/lib/pages/member_dynamics/view.dart index c5744240..ff6143c9 100644 --- a/lib/pages/member_dynamics/view.dart +++ b/lib/pages/member_dynamics/view.dart @@ -12,64 +12,75 @@ import '../dynamics/widgets/dynamic_panel.dart'; import 'package:waterfall_flow/waterfall_flow.dart'; class MemberDynamicsPage extends StatefulWidget { - const MemberDynamicsPage({super.key}); + const MemberDynamicsPage({super.key, this.mid}); + + final int? mid; @override State createState() => _MemberDynamicsPageState(); } -class _MemberDynamicsPageState extends State { +class _MemberDynamicsPageState extends State + with AutomaticKeepAliveClientMixin { late MemberDynamicsController _memberDynamicController; - late Future _futureBuilderFuture; late int mid; late bool dynamicsWaterfallFlow; + @override + bool get wantKeepAlive => true; + @override void initState() { super.initState(); - mid = int.parse(Get.parameters['mid']!); + mid = widget.mid ?? int.parse(Get.parameters['mid']!); final String heroTag = Utils.makeHeroTag(mid); _memberDynamicController = - Get.put(MemberDynamicsController(), tag: heroTag); - _futureBuilderFuture = - _memberDynamicController.getMemberDynamic('onRefresh'); - _memberDynamicController.scrollController.addListener( - () { - if (_memberDynamicController.scrollController.position.pixels >= - _memberDynamicController.scrollController.position.maxScrollExtent - - 200) { - EasyThrottle.throttle( - 'member_dynamics', const Duration(milliseconds: 1000), () { - _memberDynamicController.onLoad(); - }); - } - }, - ); + Get.put(MemberDynamicsController(widget.mid), tag: heroTag); + // _memberDynamicController.scrollController.addListener( + // () { + // if (_memberDynamicController.scrollController.position.pixels >= + // _memberDynamicController.scrollController.position.maxScrollExtent - + // 200) { + // EasyThrottle.throttle( + // 'member_dynamics', const Duration(milliseconds: 1000), () { + // _memberDynamicController.onLoad(); + // }); + // } + // }, + // ); dynamicsWaterfallFlow = GStorage.setting .get(SettingBoxKey.dynamicsWaterfallFlow, defaultValue: true); } @override void dispose() { - _memberDynamicController.scrollController.removeListener(() {}); + // _memberDynamicController.scrollController.removeListener(() {}); _memberDynamicController.scrollController.dispose(); super.dispose(); } @override Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar( - titleSpacing: 0, - centerTitle: false, - title: Text('Ta的动态', style: Theme.of(context).textTheme.titleMedium), - ), - body: CustomScrollView( + super.build(context); + return widget.mid == null + ? Scaffold( + appBar: AppBar( + titleSpacing: 0, + centerTitle: false, + title: + Text('Ta的动态', style: Theme.of(context).textTheme.titleMedium), + ), + body: _buildBody, + ) + : _buildBody; + } + + Widget get _buildBody => CustomScrollView( physics: const AlwaysScrollableScrollPhysics(), - controller: _memberDynamicController.scrollController, + // controller: _memberDynamicController.scrollController, slivers: [ FutureBuilder( - future: _futureBuilderFuture, + future: _memberDynamicController.futureBuilderFuture, builder: (context, snapshot) { if (snapshot.connectionState == ConnectionState.done) { if (snapshot.data != null) { @@ -89,6 +100,13 @@ class _MemberDynamicsPageState extends State { sliver: SliverList( delegate: SliverChildBuilderDelegate( (context, index) { + if (index == list.length - 1) { + EasyThrottle.throttle('member_dynamics', + const Duration(milliseconds: 1000), + () { + _memberDynamicController.onLoad(); + }); + } return DynamicPanel(item: list[index]); }, childCount: list.length, @@ -113,10 +131,17 @@ class _MemberDynamicsPageState extends State { /// show no more item at trailing when children are not full of viewport /// if children is full of viewport, it's the same as fullCrossAxisExtend // LastChildLayoutType.foot, - lastChildLayoutTypeBuilder: (index) => - index == list.length - ? LastChildLayoutType.foot - : LastChildLayoutType.none, + lastChildLayoutTypeBuilder: (index) { + if (index == list.length - 1) { + EasyThrottle.throttle('member_dynamics', + const Duration(milliseconds: 1000), () { + _memberDynamicController.onLoad(); + }); + } + return index == list.length + ? LastChildLayoutType.foot + : LastChildLayoutType.none; + }, children: [ for (var i in list) DynamicPanel(item: i), ]); @@ -139,7 +164,5 @@ class _MemberDynamicsPageState extends State { }, ), ], - ), - ); - } + ); } diff --git a/lib/pages/msg_feed_top/sys_msg/view.dart b/lib/pages/msg_feed_top/sys_msg/view.dart index f4270ecc..f3fa0e8f 100644 --- a/lib/pages/msg_feed_top/sys_msg/view.dart +++ b/lib/pages/msg_feed_top/sys_msg/view.dart @@ -7,7 +7,6 @@ import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; import 'package:get/get.dart'; -import 'package:uuid/rng.dart'; import 'controller.dart'; diff --git a/lib/pages/search/widgets/hot_keyword.dart b/lib/pages/search/widgets/hot_keyword.dart index a5211d99..c8563dba 100644 --- a/lib/pages/search/widgets/hot_keyword.dart +++ b/lib/pages/search/widgets/hot_keyword.dart @@ -37,7 +37,7 @@ class HotKeyword extends StatelessWidget { message: i.keyword!, child: Row( children: [ - Expanded( + Flexible( child: Padding( padding: const EdgeInsets.fromLTRB(6, 5, 0, 5), child: Text( diff --git a/lib/pages/subscription_detail/controller.dart b/lib/pages/subscription_detail/controller.dart index 75138bfc..b45538ca 100644 --- a/lib/pages/subscription_detail/controller.dart +++ b/lib/pages/subscription_detail/controller.dart @@ -34,7 +34,7 @@ class SubDetailController extends GetxController { return; } isLoadingMore = true; - late Map res; + late Map res; if (item.type! == 11) { res = await UserHttp.favResourceList( id: id, @@ -42,7 +42,8 @@ class SubDetailController extends GetxController { pn: currentPage, ); } else { - res = await UserHttp.favSeasonList(// item.type! == 21 + res = await UserHttp.favSeasonList( + // item.type! == 21 id: id, ps: 20, pn: currentPage, diff --git a/lib/pages/video/detail/reply_reply/controller.dart b/lib/pages/video/detail/reply_reply/controller.dart index 987698fa..563fe156 100644 --- a/lib/pages/video/detail/reply_reply/controller.dart +++ b/lib/pages/video/detail/reply_reply/controller.dart @@ -163,7 +163,7 @@ class VideoReplyReplyController extends CommonController mode.value = mode.value == Mode.MAIN_LIST_HOT ? Mode.MAIN_LIST_TIME : Mode.MAIN_LIST_HOT; - // loadingState.value = LoadingState.loading(); + loadingState.value = LoadingState.loading(); onRefresh(); } } diff --git a/lib/router/app_pages.dart b/lib/router/app_pages.dart index 94d8868f..b76fbaa5 100644 --- a/lib/router/app_pages.dart +++ b/lib/router/app_pages.dart @@ -1,5 +1,6 @@ // ignore_for_file: must_be_immutable +import 'package:PiliPalaX/pages/member/new/member_page.dart'; import 'package:PiliPalaX/pages/webview/webview_page.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; @@ -108,7 +109,7 @@ class Routes { // 直播详情 CustomGetPage(name: '/liveRoom', page: () => const LiveRoomPage()), // 用户中心 - CustomGetPage(name: '/member', page: () => const MemberPage()), + CustomGetPage(name: '/member', page: () => const MemberPageNew()), CustomGetPage(name: '/memberSearch', page: () => const MemberSearchPage()), // 二级回复 CustomGetPage( diff --git a/lib/utils/app_scheme.dart b/lib/utils/app_scheme.dart index 865dfcaa..7672b64f 100644 --- a/lib/utils/app_scheme.dart +++ b/lib/utils/app_scheme.dart @@ -50,6 +50,7 @@ class PiliScheme { if (value.queryParameters['comment_root_id'] != null) { Get.to( () => Scaffold( + resizeToAvoidBottomInset: false, appBar: AppBar( titleSpacing: 0, centerTitle: false, @@ -139,6 +140,7 @@ class PiliScheme { int.parse(value.queryParameters['extraIntentId'] ?? '0'); Get.to( () => Scaffold( + resizeToAvoidBottomInset: false, appBar: AppBar( titleSpacing: 0, centerTitle: false, @@ -183,6 +185,7 @@ class PiliScheme { if (value.queryParameters['comment_root_id'] != null) { Get.to( () => Scaffold( + resizeToAvoidBottomInset: false, appBar: AppBar( titleSpacing: 0, centerTitle: false, diff --git a/lib/utils/utils.dart b/lib/utils/utils.dart index e666c4bb..f26378ec 100644 --- a/lib/utils/utils.dart +++ b/lib/utils/utils.dart @@ -204,10 +204,14 @@ class Utils { } if (number >= 100000000) { return '${(number / 100000000).toStringAsFixed(1)}亿'; - } else if (number >= 100000) { - return '${(number ~/ 10000).toString()}万'; } else if (number > 10000) { - return '${(number / 10000).toStringAsFixed(1)}万'; + double result = number / 10000; + String format = result.toStringAsFixed(1); + if (format.endsWith('.0')) { + return '${result.toInt()}万'; + } else { + return '$format万'; + } } else { return number.toString(); } @@ -618,7 +622,7 @@ class Utils { } static String appSign( - Map params, String appkey, String appsec) { + Map params, String appkey, String appsec) { params['appkey'] = appkey; var searchParams = Uri(queryParameters: params).query; var sortedParams = searchParams.split('&')..sort();