update 【gRPC API】 proto files

This commit is contained in:
社会易姐QwQ
2022-06-22 23:32:57 +08:00
parent 3c8dfc6d61
commit 24517028f7
10 changed files with 1549 additions and 164 deletions

View File

@@ -126,11 +126,11 @@ message Rights {
int32 pay = 5; int32 pay = 5;
// 是否高码率 // 是否高码率
int32 hd5 = 6; int32 hd5 = 6;
// 是否禁止转载标志 // 是否显示“禁止转载标志
int32 no_reprint = 7; int32 no_reprint = 7;
// 是否允许自动播放 // 是否允许自动播放
int32 autoplay = 8; int32 autoplay = 8;
// UGC稿件需要付费 // UGC稿件需要付费(旧版)
int32 ugc_pay = 9; int32 ugc_pay = 9;
// 是否联合投稿 // 是否联合投稿
int32 is_cooperation = 10; int32 is_cooperation = 10;
@@ -138,9 +138,9 @@ message Rights {
int32 ugc_pay_preview = 11; int32 ugc_pay_preview = 11;
// 是否禁止后台播放 // 是否禁止后台播放
int32 no_background = 12; int32 no_background = 12;
// // UGC稿件需要付费
int32 arc_pay = 13; int32 arc_pay = 13;
// // 是否已付费可自由观看
int32 pay_free_watch = 14; int32 pay_free_watch = 14;
} }
@@ -159,7 +159,7 @@ message StaffInfo {
message Stat { message Stat {
// 稿件avid // 稿件avid
int64 aid = 1; int64 aid = 1;
// 播放数 // 播放数(当屏蔽时为-1)
int32 view = 2; int32 view = 2;
// 弹幕数 // 弹幕数
int32 danmaku = 3; int32 danmaku = 3;

View File

@@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package bilibili.app.interfaces.v1; package bilibili.app.interface.v1;
import "bilibili/app/archive/middleware/v1/preload.proto"; import "bilibili/app/archive/middleware/v1/preload.proto";
@@ -48,6 +48,8 @@ message CardCheese {
int64 duration = 3; int64 duration = 3;
// 单集标题 // 单集标题
string subtitle = 4; string subtitle = 4;
//
int64 state = 5;
} }
// 直播卡片 // 直播卡片
@@ -78,6 +80,10 @@ message CardOGV {
int64 duration = 3; int64 duration = 3;
// 单集标题 // 单集标题
string subtitle = 4; string subtitle = 4;
//
string badge = 5;
//
int64 state = 6;
} }
// ugc稿件卡片 // ugc稿件卡片
@@ -268,7 +274,7 @@ message HisInfo {
// 搜索历史记录来源 // 搜索历史记录来源
enum HistorySource { enum HistorySource {
history_VALUE = 0; // 主站历史记录页 history_VALUE = 0; // 主站历史记录页
shopping_VALUE = 1; // 会员购浏览记录 shopping_VALUE = 1; // 会员购浏览记录
} }

View File

@@ -0,0 +1,328 @@
syntax = "proto3";
package bilibili.app.interface.v1;
//
service Media {
//
rpc MediaTab(MediaTabReq) returns (MediaTabReply);
//
rpc MediaDetail(MediaDetailReq) returns (MediaDetailReply);
//
rpc MediaVideo(MediaVideoReq) returns (MediaVideoReply);
//
rpc MediaRelation(MediaRelationReq) returns (MediaRelationReply);
//
rpc MediaFollow(MediaFollowReq) returns (MediaFollowReply);
}
//
message BigItem {
//
string title = 1;
//
string cover_image_uri = 2;
//
string uri = 3;
//
string cover_right_text = 4;
//
string cover_left_text1 = 5;
//
int64 cover_left_icon1 = 6;
//
string cover_left_text2 = 7;
//
int64 cover_left_icon2 = 8;
//
UserCard user_card = 9;
//
LikeButton like_button = 10;
//
int64 param = 11;
}
//
message Button {
//
string title = 1;
//
string link = 2;
//
string id = 3;
//
int64 icon = 4;
//
ButType but_type = 5;
//
int32 follow_state = 6;
//
string has_title = 7;
}
//
enum ButType {
BUT_INVALID = 0; //
BUT_REDIRECT = 1; //
BUT_LIKE = 2; //
}
//
message Cast {
//
repeated MediaPerson person = 1;
//
string title = 2;
}
//
message ChannelInfo {
//
int64 channel_id = 1;
//
bool subscribed = 2;
}
//
message LikeButton {
//
int64 aid = 1;
//
int32 count = 2;
//
bool show_count = 3;
//
string event = 4;
//
int32 selected = 5;
//
string event_v2 = 6;
//
LikeButtonResource like_resource = 7;
//
LikeButtonResource dis_like_resource = 8;
//
LikeButtonResource like_night_resource = 9;
//
LikeButtonResource dis_like_night_resource = 10;
}
//
message LikeButtonResource {
//
string url = 1;
//
string hash = 2;
}
//
message LikeCard {
//
int64 like = 1;
//
bool is_follow = 2;
}
//
message MediaCard {
//
string cover = 1;
//
string cur_title = 2;
//
string style = 3;
//
string label = 4;
//
Button but_first = 5;
}
//
message MediaDetailReply {
//
Cast cast = 1;
//
Staff staff = 2;
//
Overview overview = 3;
}
//
message MediaDetailReq {
//
int64 biz_id = 1;
//
int64 biz_type = 2;
}
//
message MediaFollowReply {
}
//
message MediaFollowReq {
//
string id = 1;
//
int32 type = 2;
}
//
message MediaPerson {
//
string real_name = 1;
//
string square_url = 2;
//
string character = 3;
//
int64 person_id = 4;
//
string type = 5;
}
//
message MediaRelationReply {
//
string offset = 1;
//
bool has_more = 2;
//
repeated SmallItem list = 3;
}
//
message MediaRelationReq {
//
int64 biz_id = 1;
//
int64 biz_type = 2;
//
int64 feed_id = 3;
//
string offset = 5;
//
int32 ps = 6;
}
//
message MediaTabReply {
//
MediaCard media_card = 1;
//
repeated ShowTab tab = 2;
//
int64 default_tab_index = 3;
//
ChannelInfo channel_info = 4;
}
//
message MediaTabReq {
//
int64 biz_id = 1;
//
int64 biz_type = 2;
//
string source = 3;
//
string spmid = 4;
//
map<string, string> args = 5;
}
//
message MediaVideoReply {
//
string offset = 1;
//
bool has_more = 2;
//
repeated BigItem list = 3;
}
//
message MediaVideoReq {
//
int64 biz_id = 1;
//
int64 biz_type = 2;
//
int64 feed_id = 3;
//
string offset = 5;
//
int32 ps = 6;
}
//
message Overview {
//
string title = 1;
//
string text = 2;
}
//
message ShowTab {
//
TabType tab_type = 1;
//
string title = 2;
//
string url = 3;
}
//
message SmallItem {
//
string title = 1;
//
string cover_image_uri = 2;
//
string uri = 3;
//
string cover_right_text = 4;
//
string cover_left_text1 = 5;
//
int64 cover_left_icon1 = 6;
//
string cover_left_text2 = 7;
//
int64 cover_left_icon2 = 8;
//
int64 param = 9;
//
int64 mid = 10;
}
//
message Staff {
//
string title = 1;
//
string text = 2;
}
//
enum TabType {
TAB_INVALID = 0; //
TAB_OGV_DETAIL = 6; //
TAB_OGV_REPLY = 7; //
TAB_FEED_BID = 8; //
TAB_FEED_SMALL = 9; //
}
//
message UserCard {
//
string user_name = 1;
//
string user_face = 2;
//
string user_url = 3;
//
int64 mid = 4;
}

View File

@@ -1,11 +1,85 @@
syntax = "proto3"; syntax = "proto3";
package bilibili.app.interfaces.v1; package bilibili.app.interface.v1;
// 搜索 // 搜索
service Search { service Search {
// 获取搜索建议 // 获取搜索建议
rpc Suggest3 (SuggestionResult3Req) returns (SuggestionResult3Reply); rpc Suggest3 (SuggestionResult3Req) returns (SuggestionResult3Reply);
//
rpc DefaultWords(DefaultWordsReq) returns (DefaultWordsReply);
}
//
service SearchTest {
//
rpc NotExist(SuggestionResult3Req) returns (SuggestionResult3Reply);
}
//
message DefaultWordsReply {
//
string trackid = 1;
//
string param = 2;
//
string show = 3;
//
string word = 4;
//
int64 show_front = 5;
//
string exp_str = 6;
//
string goto = 7;
//
string value = 8;
//
string uri = 9;
}
//
message NftFaceIcon {
//
int32 region_type = 1;
//
string icon = 2;
//
int32 show_status = 3;
}
//
message DefaultWordsReq {
//
int64 from = 1;
//
int64 login_event = 2;
//
int32 teenagers_mode = 3;
//
int32 lessons_mode = 4;
//
string tab = 5;
//
string event_id = 6;
//
string avid = 7;
//
string query = 8;
//
int64 an = 9;
//
int64 is_fresh = 10;
}
// 获取搜索建议-响应
message SuggestionResult3Reply {
// 搜索追踪id
string trackid = 1;
// 搜索建议条目列表
repeated ResultItem list = 2;
// 搜索的abtest 实验信息
string exp_str = 3;
} }
// 获取搜索建议-请求 // 获取搜索建议-请求
@@ -20,16 +94,6 @@ message SuggestionResult3Req {
int32 teenagers_mode = 3; int32 teenagers_mode = 3;
} }
// 获取搜索建议-响应
message SuggestionResult3Reply {
// 搜索追踪id
string trackid = 1;
// 搜索建议条目列表
repeated ResultItem list = 2;
// 搜索的abtest 实验信息
string expStr = 3;
}
// 搜索建议条目 // 搜索建议条目
message ResultItem { message ResultItem {
// 来源 // 来源
@@ -86,6 +150,10 @@ message ResultItem {
int64 module_id = 26; int64 module_id = 26;
// //
string live_link = 27; string live_link = 27;
//
int32 face_nft_new = 28;
//
NftFaceIcon nft_face_icon = 29;
} }
// 认证信息 // 认证信息

View File

@@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
package bilibili.app.interfaces.v1; package bilibili.app.interface.v1;
import "bilibili/app/archive/middleware/v1/preload.proto"; import "bilibili/app/archive/middleware/v1/preload.proto";
import "bilibili/app/archive/v1/archive.proto"; import "bilibili/app/archive/v1/archive.proto";
@@ -24,7 +24,6 @@ message Arc {
string uri = 2; string uri = 2;
} }
// //
message Dynamic { message Dynamic {
// //

File diff suppressed because it is too large Load Diff

View File

@@ -37,7 +37,7 @@ message ArcConf {
// 业务类型 // 业务类型
enum Business { enum Business {
UNKNOWN = 0; // 未知类型 UNKNOWN = 0; // 未知类型
STORY = 1; // story业务 STORY = 1; // story业务
} }
// Chronos灰度管理 // Chronos灰度管理
@@ -74,7 +74,7 @@ message CloudConf {
// 编码类型 // 编码类型
enum CodeType { enum CodeType {
NOCODE = 0; // 默认 NOCODE = 0; // 默认
CODE264 = 1; // H.264 CODE264 = 1; // H.264
CODE265 = 2; // H.265 CODE265 = 2; // H.265
CODEAV1 = 3; // av1 CODEAV1 = 3; // av1
@@ -82,36 +82,36 @@ enum CodeType {
// 设置类型 // 设置类型
enum ConfType { enum ConfType {
NoType = 0; // NoType = 0; //
FLIPCONF = 1; // 镜像反转 FLIPCONF = 1; // 镜像反转
CASTCONF = 2; // 视频投屏 CASTCONF = 2; // 视频投屏
FEEDBACK = 3; // 反馈 FEEDBACK = 3; // 反馈
SUBTITLE = 4; // 字幕 SUBTITLE = 4; // 字幕
PLAYBACKRATE = 5; // 播放速度 PLAYBACKRATE = 5; // 播放速度
TIMEUP = 6; // 定时停止播放 TIMEUP = 6; // 定时停止播放
PLAYBACKMODE = 7; // 播放方式 PLAYBACKMODE = 7; // 播放方式
SCALEMODE = 8; // 画面尺寸 SCALEMODE = 8; // 画面尺寸
BACKGROUNDPLAY = 9; // 后台播放 BACKGROUNDPLAY = 9; // 后台播放
LIKE = 10; // 顶 LIKE = 10; // 顶
DISLIKE = 11; // 踩 DISLIKE = 11; // 踩
COIN = 12; // 投币 COIN = 12; // 投币
ELEC = 13; // 充电 ELEC = 13; // 充电
SHARE = 14; // 分享 SHARE = 14; // 分享
SCREENSHOT = 15; // 截图 SCREENSHOT = 15; // 截图
LOCKSCREEN = 16; // 锁屏 LOCKSCREEN = 16; // 锁屏
RECOMMEND = 17; // 推荐 RECOMMEND = 17; // 推荐
PLAYBACKSPEED = 18; // 倍速 PLAYBACKSPEED = 18; // 倍速
DEFINITION = 19; // 清晰度 DEFINITION = 19; // 清晰度
SELECTIONS = 20; // 选集 SELECTIONS = 20; // 选集
NEXT = 21; // 下一集 NEXT = 21; // 下一集
EDITDM = 22; // 编辑弹幕 EDITDM = 22; // 编辑弹幕
SMALLWINDOW = 23; // 小窗 SMALLWINDOW = 23; // 小窗
SHAKE = 24; // 播放震动 SHAKE = 24; // 播放震动
OUTERDM = 25; // 外层面板弹幕设置 OUTERDM = 25; // 外层面板弹幕设置
INNERDM = 26; // 三点内弹幕设置 INNERDM = 26; // 三点内弹幕设置
PANORAMA = 27; // 全景 PANORAMA = 27; // 全景
DOLBY = 28; // 杜比 DOLBY = 28; // 杜比
COLORFILTER = 29; // COLORFILTER = 29; // 颜色滤镜
} }
// //
@@ -177,9 +177,9 @@ message DashVideo {
// 杜比伴音信息 // 杜比伴音信息
message DolbyItem { message DolbyItem {
enum Type { enum Type {
NONE = 0; // NONE NONE = 0; // NONE
COMMON = 1; // 普通杜比音效 COMMON = 1; // 普通杜比音效
ATMOS = 2; // 全景杜比音效 ATMOS = 2; // 全景杜比音效
} }
// 杜比类型 // 杜比类型
Type type = 1; Type type = 1;
@@ -238,76 +238,76 @@ message Glance {
// //
enum Group { enum Group {
UnknownGroup = 0; // UnknownGroup = 0; //
A = 1; // A = 1; //
B = 2; // B = 2; //
C = 3; // C = 3; //
} }
// 禁用功能配置 // 禁用功能配置
message PlayAbilityConf { message PlayAbilityConf {
CloudConf background_play_conf = 1; // 后台播放 CloudConf background_play_conf = 1; // 后台播放
CloudConf flip_conf = 2; // 镜像反转 CloudConf flip_conf = 2; // 镜像反转
CloudConf cast_conf = 3; // 投屏 CloudConf cast_conf = 3; // 投屏
CloudConf feedback_conf = 4; // 反馈 CloudConf feedback_conf = 4; // 反馈
CloudConf subtitle_conf = 5; // 字幕 CloudConf subtitle_conf = 5; // 字幕
CloudConf playback_rate_conf = 6; // 播放速度 CloudConf playback_rate_conf = 6; // 播放速度
CloudConf time_up_conf = 7; // 定时停止 CloudConf time_up_conf = 7; // 定时停止
CloudConf playback_mode_conf = 8; // 播放方式 CloudConf playback_mode_conf = 8; // 播放方式
CloudConf scale_mode_conf = 9; // 画面尺寸 CloudConf scale_mode_conf = 9; // 画面尺寸
CloudConf like_conf = 10; // 赞 CloudConf like_conf = 10; // 赞
CloudConf dislike_conf = 11; // 踩 CloudConf dislike_conf = 11; // 踩
CloudConf coin_conf = 12; // 投币 CloudConf coin_conf = 12; // 投币
CloudConf elec_conf = 13; // 充电 CloudConf elec_conf = 13; // 充电
CloudConf share_conf = 14; // 分享 CloudConf share_conf = 14; // 分享
CloudConf screen_shot_conf = 15; // 截图 CloudConf screen_shot_conf = 15; // 截图
CloudConf lock_screen_conf = 16; // 锁定 CloudConf lock_screen_conf = 16; // 锁定
CloudConf recommend_conf = 17; // 相关推荐 CloudConf recommend_conf = 17; // 相关推荐
CloudConf playback_speed_conf = 18; // 播放速度 CloudConf playback_speed_conf = 18; // 播放速度
CloudConf definition_conf = 19; // 清晰度 CloudConf definition_conf = 19; // 清晰度
CloudConf selections_conf = 20; // 选集 CloudConf selections_conf = 20; // 选集
CloudConf next_conf = 21; // 下一集 CloudConf next_conf = 21; // 下一集
CloudConf edit_dm_conf = 22; // 编辑弹幕 CloudConf edit_dm_conf = 22; // 编辑弹幕
CloudConf small_window_conf = 23; // 小窗 CloudConf small_window_conf = 23; // 小窗
CloudConf shake_conf = 24; // 震动 CloudConf shake_conf = 24; // 震动
CloudConf outer_dm_conf = 25; // 外层面板弹幕设置 CloudConf outer_dm_conf = 25; // 外层面板弹幕设置
CloudConf innerDmDisable = 26; // 三点内弹幕设置 CloudConf innerDmDisable = 26; // 三点内弹幕设置
CloudConf inner_dm_conf = 27; // 一起看入口 CloudConf inner_dm_conf = 27; // 一起看入口
CloudConf dolby_conf = 28; // 杜比音效 CloudConf dolby_conf = 28; // 杜比音效
CloudConf color_filter_conf = 29; // CloudConf color_filter_conf = 29; // 颜色滤镜
} }
// 播放控件稿件配置 // 播放控件稿件配置
message PlayArcConf { message PlayArcConf {
ArcConf background_play_conf = 1; // 后台播放 ArcConf background_play_conf = 1; // 后台播放
ArcConf flip_conf = 2; // 镜像反转 ArcConf flip_conf = 2; // 镜像反转
ArcConf cast_conf = 3; // 投屏 ArcConf cast_conf = 3; // 投屏
ArcConf feedback_conf = 4; // 反馈 ArcConf feedback_conf = 4; // 反馈
ArcConf subtitle_conf = 5; // 字幕 ArcConf subtitle_conf = 5; // 字幕
ArcConf playback_rate_conf = 6; // 播放速度 ArcConf playback_rate_conf = 6; // 播放速度
ArcConf time_up_conf = 7; // 定时停止 ArcConf time_up_conf = 7; // 定时停止
ArcConf playback_mode_conf = 8; // 播放方式 ArcConf playback_mode_conf = 8; // 播放方式
ArcConf scale_mode_conf = 9; // 画面尺寸 ArcConf scale_mode_conf = 9; // 画面尺寸
ArcConf like_conf = 10; // 赞 ArcConf like_conf = 10; // 赞
ArcConf dislike_conf = 11; // 踩 ArcConf dislike_conf = 11; // 踩
ArcConf coin_conf = 12; // 投币 ArcConf coin_conf = 12; // 投币
ArcConf elec_conf = 13; // 充电 ArcConf elec_conf = 13; // 充电
ArcConf share_conf = 14; // 分享 ArcConf share_conf = 14; // 分享
ArcConf screen_shot_conf = 15; // 截图 ArcConf screen_shot_conf = 15; // 截图
ArcConf lock_screen_conf = 16; // 锁定 ArcConf lock_screen_conf = 16; // 锁定
ArcConf recommend_conf = 17; // 相关推荐 ArcConf recommend_conf = 17; // 相关推荐
ArcConf playback_speed_conf = 18; // 播放速度 ArcConf playback_speed_conf = 18; // 播放速度
ArcConf definition_conf = 19; // 清晰度 ArcConf definition_conf = 19; // 清晰度
ArcConf selections_conf = 20; // 选集 ArcConf selections_conf = 20; // 选集
ArcConf next_conf = 21; // 下一集 ArcConf next_conf = 21; // 下一集
ArcConf edit_dm_conf = 22; // 编辑弹幕 ArcConf edit_dm_conf = 22; // 编辑弹幕
ArcConf small_window_conf = 23; // 小窗 ArcConf small_window_conf = 23; // 小窗
ArcConf shake_conf = 24; // 震动 ArcConf shake_conf = 24; // 震动
ArcConf outer_dm_conf = 25; // 外层面板弹幕设置 ArcConf outer_dm_conf = 25; // 外层面板弹幕设置
ArcConf inner_dm_conf = 26; // 三点内弹幕设置 ArcConf inner_dm_conf = 26; // 三点内弹幕设置
ArcConf panorama_conf = 27; // 一起看入口 ArcConf panorama_conf = 27; // 一起看入口
ArcConf dolby_conf = 28; // 杜比音效 ArcConf dolby_conf = 28; // 杜比音效
ArcConf screen_recording_conf = 29; // ArcConf screen_recording_conf = 29; // 屏幕录制
ArcConf color_filter_conf = 30; // ArcConf color_filter_conf = 30; // 颜色滤镜
} }
// 编辑播放界面配置-响应 // 编辑播放界面配置-响应
@@ -346,7 +346,7 @@ message PlayConfState {
// 错误码 // 错误码
enum PlayErr { enum PlayErr {
NoErr = 0; // NoErr = 0; //
WithMultiDeviceLoginErr = 1; // 管控类型的错误码 WithMultiDeviceLoginErr = 1; // 管控类型的错误码
} }
@@ -364,7 +364,7 @@ message PlayLimit {
// //
enum PlayLimitCode { enum PlayLimitCode {
PLCUnkown = 0; // PLCUnkown = 0; //
PLCUgcNotPayed = 1; // PLCUgcNotPayed = 1; //
} }
@@ -573,7 +573,7 @@ message StreamInfo {
// 格式描述 // 格式描述
string description = 3; string description = 3;
// 错误码 // 错误码
uint32 err_code = 4; PlayErr err_code = 4;
// 不满足条件信息 // 不满足条件信息
StreamLimit limit = 5; StreamLimit limit = 5;
// 是否需要vip // 是否需要vip
@@ -647,9 +647,9 @@ message VideoInfo {
// 视频类型 // 视频类型
enum VideoType { enum VideoType {
Unknown_VALUE = 0; // Unknown_VALUE = 0; //
FLV_VALUE = 1; // flv格式 FLV_VALUE = 1; // flv格式
DASH_VALUE = 2; // dash格式 DASH_VALUE = 2; // dash格式
MP4_VALUE = 3; // mp4格式 MP4_VALUE = 3; // mp4格式
} }
// //

View File

@@ -43,12 +43,12 @@ message PrivacyConfigReply {
// 隐私开关状态 // 隐私开关状态
enum PrivacyConfigState { enum PrivacyConfigState {
close = 0; // 关闭 close = 0; // 关闭
open = 1; // 打开 open = 1; // 打开
} }
// 隐私开关类型 // 隐私开关类型
enum PrivacyConfigType { enum PrivacyConfigType {
none = 0; // none = 0; //
dynamic_city = 1; // 动态同城 dynamic_city = 1; // 动态同城
} }

View File

@@ -10,7 +10,7 @@ service Module {
// //
enum CompressType { enum CompressType {
Unzip = 0; // unzip Unzip = 0; // unzip
Original = 1; // 不操作 Original = 1; // 不操作
} }
@@ -18,21 +18,21 @@ enum CompressType {
enum EnvType { enum EnvType {
Unknown = 0; // Unknown = 0; //
Release = 1; // Release = 1; //
Test = 2; // Test = 2; //
} }
// //
enum IncrementType { enum IncrementType {
Total = 0; // 全量包 Total = 0; // 全量包
Incremental = 1; // 增量包 Incremental = 1; // 增量包
} }
// //
enum LevelType { enum LevelType {
Undefined = 0; // Undefined = 0; //
High = 1; // 高 需立即下载 High = 1; // 高 需立即下载
Middle = 2; // 中 可以延迟下载 Middle = 2; // 中 可以延迟下载
Low = 3; // 低 仅在业务方使用到时由业务方手动进行下载 Low = 3; // 低 仅在业务方使用到时由业务方手动进行下载
} }
message ListReply { message ListReply {

View File

@@ -279,12 +279,12 @@ message BizReserveGameParam {
// 业务类型 // 业务类型
enum BizType { enum BizType {
BizTypeNone = 0; // BizTypeNone = 0; //
BizTypeFollowVideo = 1; // 追番追剧 BizTypeFollowVideo = 1; // 追番追剧
BizTypeReserveActivity = 2; // 预约活动 BizTypeReserveActivity = 2; // 预约活动
BizTypeJumpLink = 3; // 跳转链接 BizTypeJumpLink = 3; // 跳转链接
BizTypeFavSeason = 4; // 收藏合集 BizTypeFavSeason = 4; // 收藏合集
BizTypeReserveGame = 5; // 预约游戏 BizTypeReserveGame = 5; // 预约游戏
} }
// //
@@ -388,7 +388,7 @@ message CacheViewReq {
// //
enum Category { enum Category {
CategoryUnknown = 0; // CategoryUnknown = 0; //
CategorySeason = 1; // CategorySeason = 1; //
} }
// Chronos灰度管理 // Chronos灰度管理
@@ -645,8 +645,8 @@ message CustomConfig {
// 枚举-文本类型 // 枚举-文本类型
enum DescType { enum DescType {
DescTypeUnknown = 0; // 占位 DescTypeUnknown = 0; // 占位
DescTypeText = 1; // 文本 DescTypeText = 1; // 文本
DescTypeAt = 2; // @ DescTypeAt = 2; // @
} }
// 特殊稿件简介 // 特殊稿件简介
@@ -991,7 +991,7 @@ message MaterialRes {
// //
string url = 3; string url = 3;
// //
int32 typ = 4; MaterialSource type = 4;
// //
string name = 5; string name = 5;
// //
@@ -1004,8 +1004,8 @@ message MaterialRes {
// //
enum MaterialSource { enum MaterialSource {
Default = 0; Default = 0; //
BiJian = 1; BiJian = 1; // 必剪
} }
// //
@@ -1119,9 +1119,9 @@ message OperationCardNew {
// 卡片样式 // 卡片样式
enum OperationCardType { enum OperationCardType {
CardTypeNone = 0; // CardTypeNone = 0; //
CardTypeStandard = 1; // 标准卡 CardTypeStandard = 1; // 标准卡
CardTypeSkip = 2; // 原跳转卡 CardTypeSkip = 2; // 原跳转卡
} }
// 相关推荐(运营配置+AI推荐) // 相关推荐(运营配置+AI推荐)
@@ -1172,15 +1172,15 @@ message PackInfo {
// //
enum PayState { enum PayState {
PayStateUnknown = 0; // PayStateUnknown = 0; //
PayStateActive = 1; // PayStateActive = 1; //
} }
// 卡片类型 // 卡片类型
enum PlayerCardType { enum PlayerCardType {
PlayerCardTypeNone_VALUE = 0; // PlayerCardTypeNone_VALUE = 0; //
PlayerCardTypeAttention_VALUE = 1; // 关注卡 PlayerCardTypeAttention_VALUE = 1; // 关注卡
PlayerCardTypeOperation_VALUE = 2; // 运营卡 PlayerCardTypeOperation_VALUE = 2; // 运营卡
PlayerCardTypeContract_VALUE = 3; // 契约卡 PlayerCardTypeContract_VALUE = 3; // 契约卡
} }
// 进度条动画配置 // 进度条动画配置
@@ -1301,10 +1301,10 @@ message PremiereResource {
// //
enum PremiereState { enum PremiereState {
premiere_none = 0; // premiere_none = 0; //
premiere_before = 1; // premiere_before = 1; //
premiere_in = 2; // premiere_in = 2; //
premiere_after = 3; // premiere_after = 3; //
} }
// //
@@ -1649,8 +1649,8 @@ message SeasonReq {
// //
enum SeasonType { enum SeasonType {
Unknown = 0; // Unknown = 0; //
Base = 1; // Base = 1; //
Good = 2; // Good = 2; //
} }
// 视频合集小节信息 // 视频合集小节信息
@@ -1817,15 +1817,15 @@ message Tab {
// TAB跳转类型 // TAB跳转类型
enum TabOtype { enum TabOtype {
UnknownOtype = 0; // 未知类型 UnknownOtype = 0; // 未知类型
URL = 1; // url链接 URL = 1; // url链接
TopicNA = 2; // native话题活动 TopicNA = 2; // native话题活动
} }
// TAB样式 // TAB样式
enum TabStyle { enum TabStyle {
UnknownStyle = 0; // 未知样式 UnknownStyle = 0; // 未知样式
Text = 1; // 文字样式 Text = 1; // 文字样式
Pic = 2; // 图片样式 Pic = 2; // 图片样式
} }
// TAG信息 // TAG信息