bilibili-API-collect/grpc_api/bilibili/metadata/restriction/restriction.proto
陈寒彤 c3bf4da2c9
update grpc proto from 7.57.2 (#881)
* update pugvanymodel proto from 7.57.2

* update playerunite/pugvanymodel proto from 7.57.2

* update playerunite related proto from 7.57.2

* update search v2 related proto from 7.57.2

* update metadata related proto from 7.57.2

* update viewunite related proto from 7.57.2
2023-12-01 18:21:36 +08:00

28 lines
601 B
Protocol Buffer

syntax = "proto3";
package bilibili.metadata.restriction;
// 模式类型
enum ModeType {
NORMAL = 0; // 正常模式
TEENAGERS = 1; // 青少年模式
LESSONS = 2; // 课堂模式
BASIC = 3; //
}
// 限制条件
message Restriction {
// 青少年模式开关状态
bool teenagers_mode = 1;
// 课堂模式开关状态
bool lessons_mode = 2;
// 模式类型(旧版)
ModeType mode = 3;
// app 审核review状态
bool review = 4;
// 客户端是否选择关闭个性化推荐
bool disable_rcmd = 5;
//
bool basic_mode = 6;
}