mikufans_proto_intl/
pgc.gateway.vega.v1.rs1#[derive(Clone, Copy, PartialEq, ::prost::Message)]
4pub struct AuthReq {}
5#[derive(Clone, Copy, PartialEq, ::prost::Message)]
7pub struct AuthResp {}
8#[derive(Clone, PartialEq, ::prost::Message)]
10pub struct FrameOption {
11 #[prost(int64, tag = "1")]
13 pub vega_id: i64,
14 #[prost(string, tag = "2")]
16 pub req_id: ::prost::alloc::string::String,
17 #[prost(int64, tag = "3")]
19 pub sequence: i64,
20 #[prost(bool, tag = "4")]
22 pub is_ack: bool,
23 #[prost(message, optional, tag = "5")]
25 pub status: ::core::option::Option<
26 super::super::super::super::bilibili::rpc::Status,
27 >,
28 #[prost(string, tag = "6")]
30 pub ack_origin: ::prost::alloc::string::String,
31 #[prost(int64, tag = "7")]
33 pub mid: i64,
34}
35#[derive(Clone, Copy, PartialEq, ::prost::Message)]
37pub struct HeartbeatReq {}
38#[derive(Clone, Copy, PartialEq, ::prost::Message)]
40pub struct HeartbeatResp {}
41#[derive(Clone, PartialEq, ::prost::Message)]
43pub struct MessageAckReq {
44 #[prost(string, tag = "1")]
46 pub vega_id: ::prost::alloc::string::String,
47 #[prost(string, tag = "2")]
49 pub req_id: ::prost::alloc::string::String,
50 #[prost(string, tag = "3")]
52 pub origin: ::prost::alloc::string::String,
53 #[prost(string, tag = "4")]
55 pub target_path: ::prost::alloc::string::String,
56}
57#[derive(Clone, PartialEq, ::prost::Message)]
59pub struct SubscribeReq {
60 #[prost(message, repeated, tag = "1")]
62 pub target_paths: ::prost::alloc::vec::Vec<TargetPath>,
63}
64#[derive(Clone, PartialEq, ::prost::Message)]
66pub struct TargetPath {
67 #[prost(string, tag = "1")]
69 pub key: ::prost::alloc::string::String,
70 #[prost(message, optional, tag = "2")]
72 pub subs: ::core::option::Option<::prost_types::Any>,
73}
74#[derive(Clone, PartialEq, ::prost::Message)]
76pub struct VegaFrame {
77 #[prost(message, optional, tag = "1")]
79 pub options: ::core::option::Option<FrameOption>,
80 #[prost(string, tag = "2")]
82 pub route_path: ::prost::alloc::string::String,
83 #[prost(message, optional, tag = "3")]
85 pub body: ::core::option::Option<::prost_types::Any>,
86 #[prost(message, optional, tag = "4")]
88 pub sub_biz: ::core::option::Option<::prost_types::Any>,
89}