mikufans_proto_intl/
pgc.gateway.vega.v1.rs

1// This file is @generated by prost-build.
2///
3#[derive(Clone, Copy, PartialEq, ::prost::Message)]
4pub struct AuthReq {}
5///
6#[derive(Clone, Copy, PartialEq, ::prost::Message)]
7pub struct AuthResp {}
8///
9#[derive(Clone, PartialEq, ::prost::Message)]
10pub struct FrameOption {
11    ///
12    #[prost(int64, tag = "1")]
13    pub vega_id: i64,
14    ///
15    #[prost(string, tag = "2")]
16    pub req_id: ::prost::alloc::string::String,
17    ///
18    #[prost(int64, tag = "3")]
19    pub sequence: i64,
20    ///
21    #[prost(bool, tag = "4")]
22    pub is_ack: bool,
23    ///
24    #[prost(message, optional, tag = "5")]
25    pub status: ::core::option::Option<
26        super::super::super::super::bilibili::rpc::Status,
27    >,
28    ///
29    #[prost(string, tag = "6")]
30    pub ack_origin: ::prost::alloc::string::String,
31    ///
32    #[prost(int64, tag = "7")]
33    pub mid: i64,
34}
35///
36#[derive(Clone, Copy, PartialEq, ::prost::Message)]
37pub struct HeartbeatReq {}
38///
39#[derive(Clone, Copy, PartialEq, ::prost::Message)]
40pub struct HeartbeatResp {}
41///
42#[derive(Clone, PartialEq, ::prost::Message)]
43pub struct MessageAckReq {
44    ///
45    #[prost(string, tag = "1")]
46    pub vega_id: ::prost::alloc::string::String,
47    ///
48    #[prost(string, tag = "2")]
49    pub req_id: ::prost::alloc::string::String,
50    ///
51    #[prost(string, tag = "3")]
52    pub origin: ::prost::alloc::string::String,
53    ///
54    #[prost(string, tag = "4")]
55    pub target_path: ::prost::alloc::string::String,
56}
57///
58#[derive(Clone, PartialEq, ::prost::Message)]
59pub struct SubscribeReq {
60    ///
61    #[prost(message, repeated, tag = "1")]
62    pub target_paths: ::prost::alloc::vec::Vec<TargetPath>,
63}
64///
65#[derive(Clone, PartialEq, ::prost::Message)]
66pub struct TargetPath {
67    ///
68    #[prost(string, tag = "1")]
69    pub key: ::prost::alloc::string::String,
70    ///
71    #[prost(message, optional, tag = "2")]
72    pub subs: ::core::option::Option<::prost_types::Any>,
73}
74///
75#[derive(Clone, PartialEq, ::prost::Message)]
76pub struct VegaFrame {
77    ///
78    #[prost(message, optional, tag = "1")]
79    pub options: ::core::option::Option<FrameOption>,
80    ///
81    #[prost(string, tag = "2")]
82    pub route_path: ::prost::alloc::string::String,
83    ///
84    #[prost(message, optional, tag = "3")]
85    pub body: ::core::option::Option<::prost_types::Any>,
86    ///
87    #[prost(message, optional, tag = "4")]
88    pub sub_biz: ::core::option::Option<::prost_types::Any>,
89}