补充注释 (#624)

This commit is contained in:
陈寒彤 2023-02-27 19:33:51 +04:00 committed by GitHub
parent d1b3e0c0fb
commit 387d5d0b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 59 additions and 58 deletions

View File

@ -13,6 +13,6 @@ message PlayerArgs {
// url是否强制使用域名
// 0:使 1:http域名 2:https域名
int64 force_host = 4;
//
//
int64 voice_balance = 5;
}

View File

@ -6,8 +6,8 @@ package bilibili.metadata.device;
// gRPC头部:x-bili-device-bin
message Device {
// id
// HD OTT TV野版 HD
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14
// HD OTT TV野版 HD
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 30
int32 app_id = 1;
// id
int32 build = 2;
@ -36,6 +36,6 @@ message Device {
string version_name = 13;
// ,
string fp = 14;
//
//
int64 fts = 15;
}

View File

@ -13,7 +13,7 @@ message Metadata {
string device = 3;
// id
int32 build = 4;
//
// APP分发渠
string channel = 5;
// buvid
string buvid = 6;

View File

@ -19,6 +19,6 @@ message Restriction {
ModeType mode = 3;
// app review状态
bool review = 4;
//
//
bool disable_rcmd = 5;
}

View File

@ -2,7 +2,7 @@ syntax = "proto3";
package bilibili.pagination;
//
//
message FeedPagination {
//
int32 page_size = 1;
@ -12,7 +12,7 @@ message FeedPagination {
bool is_refresh = 3;
}
//
//
message FeedPaginationReply {
//
string next_offset = 1;
@ -22,7 +22,7 @@ message FeedPaginationReply {
string last_read_offset = 3;
}
//
//
message Pagination {
//
int32 page_size = 1;
@ -30,7 +30,7 @@ message Pagination {
string next = 2;
}
//
//
message PaginationReply {
//
string next = 1;

View File

@ -22,15 +22,15 @@ message BadgeInfo {
string bg_color_night = 3;
//
string text_color = 4;
//
// ?
GradientColor bg_gradient_color = 5;
}
//
// Dialog组件:
message BottomDisplay {
//
//
TextInfo title = 1;
//
//
string icon = 2;
}
@ -68,34 +68,35 @@ message ButtonInfo {
map<string, string> order_report_params = 15;
}
//
// . code = 0 , message
message CastTips {
//
int32 code = 1;
//
//
string message = 2;
}
//
// /
message ClipInfo {
//
int64 material_no = 1;
//
// DASH分段始
int32 start = 2;
//
// DASH分段终
int32 end = 3;
//
// Clip类型
ClipType clip_type = 4;
//
// /
string toast_text = 5;
//
//
MultiView multi_view = 6;
}
// /: Clip类型
enum ClipType {
NT_UNKNOWN = 0; //
CLIP_TYPE_OP = 1; //
CLIP_TYPE_ED = 2; //
CLIP_TYPE_OP = 1; // OP
CLIP_TYPE_ED = 2; // ED
CLIP_TYPE_HE = 3; //
CLIP_TYPE_MULTI_VIEW = 4; //
}
@ -176,7 +177,7 @@ message DashItem {
uint32 codecid = 5;
// md5
string md5 = 6;
//
//
uint64 size = 7;
//
string frame_rate = 8;
@ -252,13 +253,13 @@ message DialogConfig {
bool is_force_halfscreen_enable = 4;
}
//
//
message Dimension {
//
//
int32 width = 1;
//
//
int32 height = 2;
//
//
int32 rotate = 3;
}
@ -276,7 +277,7 @@ message DolbyItem {
DashItem audio = 2;
}
//
// DRM技术类型
enum DrmTechType {
NON = 0; //
FAIR_PLAY = 1; //
@ -296,7 +297,7 @@ message Event {
Shake shake = 1;
}
//
// ?
message FreyaConfig {
//
string desc = 1;
@ -312,7 +313,7 @@ message FreyaConfig {
int32 full_screen_number = 6;
}
//
//
message GradientColor {
//
string start_color = 1;
@ -320,7 +321,7 @@ message GradientColor {
string end_color = 2;
}
//
//
message HighDefinitionTrialInfo {
//
bool trial_able = 1;
@ -376,7 +377,7 @@ message MultiView {
int64 avid = 4;
}
//
// 广:
message PayTip {
//
string title = 1;
@ -482,19 +483,19 @@ message PlayViewBusinessInfo {
string playback_speed_color = 4;
//
ContinuePlayInfo continue_play_info = 5;
//
// /
repeated ClipInfo clip_info = 6;
//
InlineType inline_type = 7;
//
int32 ep_whole_duration = 8;
//
//
Dimension dimension = 9;
//
map<int32, QualityExtInfo> quality_ext_map = 10;
//
map<string, int32> exp_map = 11;
//
// DRM技术类型
DrmTechType drm_tech_type = 12;
}
@ -578,21 +579,21 @@ message PopWin {
string pop_type = 9;
}
//
// 广:
message PromptBar {
//
// , : "本片含大会员专享内容"
TextInfo title = 1;
//
// , : "成为大会员可免费看全部剧集"
TextInfo sub_title = 2;
//
// icon
string sub_title_icon = 3;
//
//
string bg_image = 4;
//
//
GradientColor bg_gradient_color = 5;
//
//
repeated ButtonInfo button = 6;
//
//
Report report = 7;
//
string full_screen_ip_icon = 8;
@ -600,9 +601,9 @@ message PromptBar {
GradientColor full_screen_bg_gradient_color = 9;
}
//
//
message QualityExtInfo {
//
//
bool trial_support = 1;
}

View File

@ -7,9 +7,9 @@ import "bilibili/pagination/pagination.proto";
//
service Search {
//
//
rpc SearchAll(SearchAllRequest) returns (SearchAllResponse);
//
//
rpc SearchByType(SearchByTypeRequest) returns (SearchByTypeResponse);
//
rpc SearchComic(SearchComicRequest) returns (SearchComicResponse);
@ -1098,9 +1098,9 @@ message SearchBannerCard {
//
message SearchByTypeRequest {
//
// , 7
int32 type = 1;
//
//
string keyword = 2;
//
int32 category_sort = 3;
@ -1118,21 +1118,21 @@ message SearchByTypeRequest {
//
message SearchByTypeResponse {
//
// id
string trackid = 1;
//
//
int32 pages = 2;
//
string exp_str = 3;
//
//
string keyword = 4;
//
//
int32 result_is_recommend = 5;
//
//
repeated Item items = 6;
//
//
bilibili.pagination.PaginationReply pagination = 7;
//
//
map<string, string> annotation = 8;
}