From 8ee3c8f2a505ec558609f9d0f0acdde6ca768020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AF=92=E5=BD=A4?= Date: Tue, 23 Jul 2024 16:49:55 +0800 Subject: [PATCH] feat: update grpc protos from android@8.6.0(8060200) generated with helper tool v0.1.5 --- grpc_api/bilibili/account/interfaces/v1.proto | 22 +++++++++++++++ grpc_api/bilibili/ad/v1.proto | 4 +++ grpc_api/bilibili/app/dynamic/v2.proto | 4 +++ grpc_api/bilibili/app/interfaces/v1.proto | 8 +++--- grpc_api/bilibili/app/viewunite/common.proto | 4 +++ .../bilibili/app/viewunite/pugvanymodel.proto | 26 +++++++++++++++++ grpc_api/bilibili/dynamic/common.proto | 4 +-- .../bilibili/im/gateway/interfaces/v1.proto | 28 +++++++++++-------- grpc_api/bilibili/polymer/app/search/v1.proto | 4 +++ 9 files changed, 87 insertions(+), 17 deletions(-) create mode 100644 grpc_api/bilibili/account/interfaces/v1.proto diff --git a/grpc_api/bilibili/account/interfaces/v1.proto b/grpc_api/bilibili/account/interfaces/v1.proto new file mode 100644 index 0000000000..8661a3ea97 --- /dev/null +++ b/grpc_api/bilibili/account/interfaces/v1.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +package bilibili.account.interfaces.v1; + +// +service AccountInterfaceV1 { + // + rpc MidByName (MidByNameReq) returns (MidByNameReply); +} + +// +message MidByNameReply { + // + map name_map = 1; +} + +// +message MidByNameReq { + // + repeated string names = 1; +} + diff --git a/grpc_api/bilibili/ad/v1.proto b/grpc_api/bilibili/ad/v1.proto index 265c8b95a9..133bd56fb9 100644 --- a/grpc_api/bilibili/ad/v1.proto +++ b/grpc_api/bilibili/ad/v1.proto @@ -403,6 +403,10 @@ message AdContentExtraDto { bool enable_openapk_dialog = 51; // repeated LiveBookInfoDto live_booking_infos = 52; + // + int32 user_cancel_jump_type = 53; + // + string user_cancel_jump_url = 54; } // diff --git a/grpc_api/bilibili/app/dynamic/v2.proto b/grpc_api/bilibili/app/dynamic/v2.proto index 27f9b306ed..c14f8abe3d 100644 --- a/grpc_api/bilibili/app/dynamic/v2.proto +++ b/grpc_api/bilibili/app/dynamic/v2.proto @@ -1710,6 +1710,8 @@ message CreationItemAction { string jump_url = 4; // int64 remain_edit_times = 5; + // + ThreePointDefaultToast confirmation_toast = 6; } // @@ -7364,5 +7366,7 @@ message WordNode { WordNodeStyle style = 4; // UnderlineStyle underline_style = 5; + // + string font_level = 7; } diff --git a/grpc_api/bilibili/app/interfaces/v1.proto b/grpc_api/bilibili/app/interfaces/v1.proto index 3964e40bdb..2f49ea65f6 100644 --- a/grpc_api/bilibili/app/interfaces/v1.proto +++ b/grpc_api/bilibili/app/interfaces/v1.proto @@ -144,7 +144,7 @@ message BigItem { // int32 can_play = 15; // - bilibili.app.card.v1.PlayerArgs player_args = 16; + bilibili.app.archive.middleware.v1.PlayerArgs player_args = 16; // bool is_fav = 17; } @@ -393,7 +393,7 @@ message CursorReq { // PlayerPreloadParams player_preload = 3; // - bilibili.app.card.v1.PlayerArgs player_args = 4; + bilibili.app.archive.middleware.v1.PlayerArgs player_args = 4; } // @@ -1053,7 +1053,7 @@ message SearchArchiveReq { // int64 ps = 4; // - bilibili.app.card.v1.PlayerArgs player_args = 5; + bilibili.app.archive.middleware.v1.PlayerArgs player_args = 5; } // @@ -1075,7 +1075,7 @@ message SearchDynamicReq { // int64 ps = 4; // - bilibili.app.card.v1.PlayerArgs player_args = 5; + bilibili.app.archive.middleware.v1.PlayerArgs player_args = 5; } // diff --git a/grpc_api/bilibili/app/viewunite/common.proto b/grpc_api/bilibili/app/viewunite/common.proto index 831b77235b..f499235f44 100644 --- a/grpc_api/bilibili/app/viewunite/common.proto +++ b/grpc_api/bilibili/app/viewunite/common.proto @@ -685,6 +685,8 @@ enum HonorType { HONOR_REPLY = 10; // HONOR_PROFESSION = 11; + // + HONOR_HOT_WORD = 12; } // @@ -798,6 +800,8 @@ message Label { string lottie = 7; // string lottie_night = 8; + // + map report = 9; } // diff --git a/grpc_api/bilibili/app/viewunite/pugvanymodel.proto b/grpc_api/bilibili/app/viewunite/pugvanymodel.proto index 726f3fde35..c387d0571c 100644 --- a/grpc_api/bilibili/app/viewunite/pugvanymodel.proto +++ b/grpc_api/bilibili/app/viewunite/pugvanymodel.proto @@ -54,6 +54,8 @@ message Courseware { string desc = 5; // string file_url = 6; + // + string icon = 7; } // @@ -209,6 +211,28 @@ enum LiveStatus { LIVE_STATUS_PLAYBACK_GENERATING = 3; } +// +message NetdiskCourseware { + // + int64 courseware_id = 1; + // + string name = 2; + // + string remark = 3; + // + string desc = 4; + // + string url = 5; + // + string icon = 6; +} + +// +message NetdiskCoursewareInfo { + // + repeated NetdiskCourseware coursewares = 1; +} + // message OperationArea { // @@ -499,6 +523,8 @@ message ViewPugvAny { PostPurchaseInfo post_purchase_info = 12; // GiftInfo gift_info = 13; + // + NetdiskCoursewareInfo netdisk_courseware_info = 14; } // diff --git a/grpc_api/bilibili/dynamic/common.proto b/grpc_api/bilibili/dynamic/common.proto index 9fb919e840..928ee55a70 100644 --- a/grpc_api/bilibili/dynamic/common.proto +++ b/grpc_api/bilibili/dynamic/common.proto @@ -809,7 +809,7 @@ message LinkNode { // double font_size = 5; // - int64 font_level = 6; + string font_level = 7; } // @@ -1525,6 +1525,6 @@ message WordNode { // WordNodeStyle style = 5; // - int64 font_level = 6; + string font_level = 7; } diff --git a/grpc_api/bilibili/im/gateway/interfaces/v1.proto b/grpc_api/bilibili/im/gateway/interfaces/v1.proto index 4b1d1388bb..1178a32f08 100644 --- a/grpc_api/bilibili/im/gateway/interfaces/v1.proto +++ b/grpc_api/bilibili/im/gateway/interfaces/v1.proto @@ -69,6 +69,22 @@ message AtCard { AtBiz at_biz = 2; } +// +message BubbleMsg { + // + int64 mid = 1; + // + string avatar = 2; + // + string nick_name = 3; + // + string content = 4; + // + MsgTabType tab_type = 5; + // + MsgFeedMsgType msg_type = 6; +} + // message CardItem { // @@ -198,17 +214,7 @@ message GetBubbleMsgReq { // message GetBubbleMsgRsp { // - int64 mid = 1; - // - string avatar = 2; - // - string nick_name = 3; - // - string content = 4; - // - MsgTabType tab_type = 5; - // - MsgFeedMsgType msg_type = 6; + BubbleMsg bubble_msg = 1; } // diff --git a/grpc_api/bilibili/polymer/app/search/v1.proto b/grpc_api/bilibili/polymer/app/search/v1.proto index 88deb5a339..a014d9a89a 100644 --- a/grpc_api/bilibili/polymer/app/search/v1.proto +++ b/grpc_api/bilibili/polymer/app/search/v1.proto @@ -2674,6 +2674,8 @@ message SearchTopGameCard { SearchInlineData inline_live = 19; // CardLayout card_layout = 20; + // + ReasonStyle rec_tag = 21; } // @@ -2766,6 +2768,8 @@ message SearchUpperCard { Notice notice = 19; // bilibili.dagw.component.avatar.v1.AvatarItem avatar_info = 20; + // + string user_card_desc = 21; } //