mikufans-proto-intl 3.17.4+build.17106976

gRPC APIs for Mikufans (Intl)
Documentation
// This file is @generated by prost-build.
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BusinessInfo {
    ///
    #[prost(bool, tag = "1")]
    pub is_preview: bool,
    ///
    #[prost(bool, tag = "2")]
    pub bp: bool,
    ///
    #[prost(string, tag = "3")]
    pub marlin_token: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Event {
    ///
    #[prost(message, optional, tag = "1")]
    pub shake: ::core::option::Option<Shake>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LivePlayInfo {
    ///
    #[prost(int32, tag = "1")]
    pub current_qn: i32,
    ///
    #[prost(message, repeated, tag = "2")]
    pub quality_description: ::prost::alloc::vec::Vec<QualityDescription>,
    ///
    #[prost(message, repeated, tag = "3")]
    pub durl: ::prost::alloc::vec::Vec<ResponseDataUrl>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LivePlayViewReply {
    ///
    #[prost(message, optional, tag = "1")]
    pub room_info: ::core::option::Option<RoomInfo>,
    ///
    #[prost(message, optional, tag = "2")]
    pub play_info: ::core::option::Option<LivePlayInfo>,
}
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct LivePlayViewReq {
    ///
    #[prost(int64, tag = "1")]
    pub ep_id: i64,
    ///
    #[prost(int32, tag = "2")]
    pub quality: i32,
    ///
    #[prost(int32, tag = "3")]
    pub ptype: i32,
    ///
    #[prost(bool, tag = "4")]
    pub https: bool,
    ///
    #[prost(int32, tag = "5")]
    pub play_type: i32,
    ///
    #[prost(int32, tag = "6")]
    pub device_type: i32,
}
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct PlayAbilityConf {
    ///
    #[prost(bool, tag = "1")]
    pub background_play_disable: bool,
    ///
    #[prost(bool, tag = "2")]
    pub flip_disable: bool,
    ///
    #[prost(bool, tag = "3")]
    pub cast_disable: bool,
    ///
    #[prost(bool, tag = "4")]
    pub feedback_disable: bool,
    ///
    #[prost(bool, tag = "5")]
    pub subtitle_disable: bool,
    ///
    #[prost(bool, tag = "6")]
    pub playback_rate_disable: bool,
    ///
    #[prost(bool, tag = "7")]
    pub time_up_disable: bool,
    ///
    #[prost(bool, tag = "8")]
    pub playback_mode_disable: bool,
    ///
    #[prost(bool, tag = "9")]
    pub scale_mode_disable: bool,
    ///
    #[prost(bool, tag = "10")]
    pub like_disable: bool,
    ///
    #[prost(bool, tag = "11")]
    pub dislike_disable: bool,
    ///
    #[prost(bool, tag = "12")]
    pub coin_disable: bool,
    ///
    #[prost(bool, tag = "13")]
    pub elec_disable: bool,
    ///
    #[prost(bool, tag = "14")]
    pub share_disable: bool,
    ///
    #[prost(bool, tag = "15")]
    pub screen_shot_disable: bool,
    ///
    #[prost(bool, tag = "16")]
    pub lock_screen_disable: bool,
    ///
    #[prost(bool, tag = "17")]
    pub recommend_disable: bool,
    ///
    #[prost(bool, tag = "18")]
    pub playback_speed_disable: bool,
    ///
    #[prost(bool, tag = "19")]
    pub definition_disable: bool,
    ///
    #[prost(bool, tag = "20")]
    pub selections_disable: bool,
    ///
    #[prost(bool, tag = "21")]
    pub next_disable: bool,
    ///
    #[prost(bool, tag = "22")]
    pub edit_dm_disable: bool,
    ///
    #[prost(bool, tag = "23")]
    pub small_window_disable: bool,
    ///
    #[prost(bool, tag = "24")]
    pub shake_disable: bool,
    ///
    #[prost(bool, tag = "25")]
    pub outer_dm_disable: bool,
    ///
    #[prost(bool, tag = "26")]
    pub inner_dm_disable: bool,
    ///
    #[prost(bool, tag = "27")]
    pub freya_enter_disable: bool,
    ///
    #[prost(bool, tag = "28")]
    pub dolby_disable: bool,
    ///
    #[prost(bool, tag = "29")]
    pub freya_full_disable: bool,
    ///
    #[prost(bool, tag = "30")]
    pub skip_oped_switch_disable: bool,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PlayViewReply {
    ///
    #[prost(message, optional, tag = "1")]
    pub video_info: ::core::option::Option<
        super::super::super::super::app::playurl::v1::VideoInfo,
    >,
    ///
    #[prost(message, optional, tag = "2")]
    pub play_conf: ::core::option::Option<PlayAbilityConf>,
    ///
    #[prost(message, optional, tag = "3")]
    pub business: ::core::option::Option<BusinessInfo>,
    ///
    #[prost(message, optional, tag = "4")]
    pub event: ::core::option::Option<Event>,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PlayViewReq {
    ///
    #[prost(int64, tag = "1")]
    pub ep_id: i64,
    ///
    #[prost(int64, tag = "2")]
    pub cid: i64,
    ///
    #[prost(int64, tag = "3")]
    pub qn: i64,
    ///
    #[prost(int32, tag = "4")]
    pub fnver: i32,
    ///
    #[prost(int32, tag = "5")]
    pub fnval: i32,
    ///
    #[prost(int32, tag = "6")]
    pub download: i32,
    ///
    #[prost(int32, tag = "7")]
    pub force_host: i32,
    ///
    #[prost(bool, tag = "8")]
    pub fourk: bool,
    ///
    #[prost(string, tag = "9")]
    pub spmid: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "10")]
    pub from_spmid: ::prost::alloc::string::String,
    ///
    #[prost(int32, tag = "11")]
    pub teenagers_mode: i32,
    ///
    #[prost(
        enumeration = "super::super::super::super::app::playurl::v1::CodeType",
        tag = "12"
    )]
    pub prefer_codec_type: i32,
    ///
    #[prost(bool, tag = "13")]
    pub is_preview: bool,
    ///
    #[prost(int64, tag = "14")]
    pub room_id: i64,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProjectReply {
    ///
    #[prost(message, optional, tag = "1")]
    pub project: ::core::option::Option<
        super::super::super::super::app::playurl::v1::PlayUrlReply,
    >,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProjectReq {
    ///
    #[prost(int64, tag = "1")]
    pub ep_id: i64,
    ///
    #[prost(int64, tag = "2")]
    pub cid: i64,
    ///
    #[prost(int64, tag = "3")]
    pub qn: i64,
    ///
    #[prost(int32, tag = "4")]
    pub fnver: i32,
    ///
    #[prost(int32, tag = "5")]
    pub fnval: i32,
    ///
    #[prost(int32, tag = "6")]
    pub download: i32,
    ///
    #[prost(int32, tag = "7")]
    pub force_host: i32,
    ///
    #[prost(bool, tag = "8")]
    pub fourk: bool,
    ///
    #[prost(string, tag = "9")]
    pub spmid: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "10")]
    pub from_spmid: ::prost::alloc::string::String,
    ///
    #[prost(int32, tag = "11")]
    pub protocol: i32,
    ///
    #[prost(int32, tag = "12")]
    pub device_type: i32,
    ///
    #[prost(bool, tag = "13")]
    pub use_new_project_code: bool,
    ///
    #[prost(int64, tag = "14")]
    pub aid: i64,
    ///
    #[prost(string, tag = "15")]
    pub sku: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QualityDescription {
    ///
    #[prost(int32, tag = "1")]
    pub qn: i32,
    ///
    #[prost(string, tag = "2")]
    pub desc: ::prost::alloc::string::String,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResponseDataUrl {
    ///
    #[prost(string, tag = "1")]
    pub url: ::prost::alloc::string::String,
    ///
    #[prost(int32, tag = "2")]
    pub stream_type: i32,
    ///
    #[prost(int32, tag = "3")]
    pub ptag: i32,
}
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RoomInfo {
    ///
    #[prost(int64, tag = "1")]
    pub room_id: i64,
    ///
    #[prost(int64, tag = "2")]
    pub uid: i64,
    ///
    #[prost(message, optional, tag = "3")]
    pub status: ::core::option::Option<RoomStatusInfo>,
    ///
    #[prost(message, optional, tag = "4")]
    pub show: ::core::option::Option<RoomShowInfo>,
}
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RoomShowInfo {
    ///
    #[prost(int64, tag = "1")]
    pub short_id: i64,
    ///
    #[prost(int64, tag = "8")]
    pub popularity_count: i64,
    ///
    #[prost(int64, tag = "10")]
    pub live_start_time: i64,
}
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RoomStatusInfo {
    ///
    #[prost(int64, tag = "1")]
    pub live_status: i64,
    ///
    #[prost(int64, tag = "2")]
    pub live_screen_type: i64,
    ///
    #[prost(int64, tag = "3")]
    pub live_mark: i64,
    ///
    #[prost(int64, tag = "4")]
    pub lock_status: i64,
    ///
    #[prost(int64, tag = "5")]
    pub lock_time: i64,
    ///
    #[prost(int64, tag = "6")]
    pub hidden_status: i64,
    ///
    #[prost(int64, tag = "7")]
    pub hidden_time: i64,
    ///
    #[prost(int64, tag = "8")]
    pub live_type: i64,
    ///
    #[prost(int64, tag = "9")]
    pub room_shield: i64,
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Shake {
    ///
    #[prost(string, tag = "1")]
    pub file: ::prost::alloc::string::String,
}