mikufans-proto 8.52.0+build.19546312

gRPC APIs for Mikufans
Documentation
// This file is @generated by prost-build.
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AuthReq {}
impl ::prost::Name for AuthReq {
    const NAME: &'static str = "AuthReq";
    const PACKAGE: &'static str = "pgc.gateway.vega.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "pgc.gateway.vega.v1.AuthReq".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/pgc.gateway.vega.v1.AuthReq".into()
    }
}
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct AuthResp {}
impl ::prost::Name for AuthResp {
    const NAME: &'static str = "AuthResp";
    const PACKAGE: &'static str = "pgc.gateway.vega.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "pgc.gateway.vega.v1.AuthResp".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/pgc.gateway.vega.v1.AuthResp".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FrameOption {
    ///
    #[prost(int64, tag = "1")]
    pub vega_id: i64,
    ///
    #[prost(string, tag = "2")]
    pub req_id: ::prost::alloc::string::String,
    ///
    #[prost(int64, tag = "3")]
    pub sequence: i64,
    ///
    #[prost(bool, tag = "4")]
    pub is_ack: bool,
    ///
    #[prost(message, optional, tag = "5")]
    pub status: ::core::option::Option<
        super::super::super::super::bilibili::rpc::Status,
    >,
    ///
    #[prost(string, tag = "6")]
    pub ack_origin: ::prost::alloc::string::String,
    ///
    #[prost(int64, tag = "7")]
    pub mid: i64,
}
impl ::prost::Name for FrameOption {
    const NAME: &'static str = "FrameOption";
    const PACKAGE: &'static str = "pgc.gateway.vega.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "pgc.gateway.vega.v1.FrameOption".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/pgc.gateway.vega.v1.FrameOption".into()
    }
}
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct HeartbeatReq {}
impl ::prost::Name for HeartbeatReq {
    const NAME: &'static str = "HeartbeatReq";
    const PACKAGE: &'static str = "pgc.gateway.vega.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "pgc.gateway.vega.v1.HeartbeatReq".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/pgc.gateway.vega.v1.HeartbeatReq".into()
    }
}
///
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct HeartbeatResp {}
impl ::prost::Name for HeartbeatResp {
    const NAME: &'static str = "HeartbeatResp";
    const PACKAGE: &'static str = "pgc.gateway.vega.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "pgc.gateway.vega.v1.HeartbeatResp".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/pgc.gateway.vega.v1.HeartbeatResp".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MessageAckReq {
    ///
    #[prost(string, tag = "1")]
    pub vega_id: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "2")]
    pub req_id: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "3")]
    pub origin: ::prost::alloc::string::String,
    ///
    #[prost(string, tag = "4")]
    pub target_path: ::prost::alloc::string::String,
}
impl ::prost::Name for MessageAckReq {
    const NAME: &'static str = "MessageAckReq";
    const PACKAGE: &'static str = "pgc.gateway.vega.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "pgc.gateway.vega.v1.MessageAckReq".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/pgc.gateway.vega.v1.MessageAckReq".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SubscribeReq {
    ///
    #[prost(message, repeated, tag = "1")]
    pub target_paths: ::prost::alloc::vec::Vec<TargetPath>,
}
impl ::prost::Name for SubscribeReq {
    const NAME: &'static str = "SubscribeReq";
    const PACKAGE: &'static str = "pgc.gateway.vega.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "pgc.gateway.vega.v1.SubscribeReq".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/pgc.gateway.vega.v1.SubscribeReq".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TargetPath {
    ///
    #[prost(string, tag = "1")]
    pub key: ::prost::alloc::string::String,
    ///
    #[prost(message, optional, tag = "2")]
    pub subs: ::core::option::Option<::prost_types::Any>,
}
impl ::prost::Name for TargetPath {
    const NAME: &'static str = "TargetPath";
    const PACKAGE: &'static str = "pgc.gateway.vega.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "pgc.gateway.vega.v1.TargetPath".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/pgc.gateway.vega.v1.TargetPath".into()
    }
}
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VegaFrame {
    ///
    #[prost(message, optional, tag = "1")]
    pub options: ::core::option::Option<FrameOption>,
    ///
    #[prost(string, tag = "2")]
    pub route_path: ::prost::alloc::string::String,
    ///
    #[prost(message, optional, tag = "3")]
    pub body: ::core::option::Option<::prost_types::Any>,
    ///
    #[prost(message, optional, tag = "4")]
    pub sub_biz: ::core::option::Option<::prost_types::Any>,
}
impl ::prost::Name for VegaFrame {
    const NAME: &'static str = "VegaFrame";
    const PACKAGE: &'static str = "pgc.gateway.vega.v1";
    fn full_name() -> ::prost::alloc::string::String {
        "pgc.gateway.vega.v1.VegaFrame".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/pgc.gateway.vega.v1.VegaFrame".into()
    }
}