1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/// RTC service RPC message container
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcRpc {
    /// message type
    #[prost(oneof="rtc_rpc::Message", tags="1, 2, 3, 4, 5, 6, 7")]
    pub message: ::core::option::Option<rtc_rpc::Message>,
}
/// Nested message and enum types in `RtcRpc`.
pub mod rtc_rpc {
    /// message type
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Message {
        /// rtc session request
        #[prost(message, tag="1")]
        RtcSessionRequest(super::RtcSessionRequest),
        /// rtc session response for request
        #[prost(message, tag="2")]
        RtcSessionResponse(super::RtcSessionResponse),
        /// rtc session management
        #[prost(message, tag="3")]
        RtcSessionManagement(super::RtcSessionManagement),
        /// rtc outgoing
        #[prost(message, tag="4")]
        RtcOutgoing(super::RtcOutgoing),
        /// rtc incoming
        #[prost(message, tag="5")]
        RtcIncoming(super::RtcIncoming),
        /// rtc session list request
        #[prost(message, tag="6")]
        RtcSessionListRequest(super::RtcSessionListRequest),
        /// rtc session list response
        #[prost(message, tag="7")]
        RtcSessionListResponse(super::RtcSessionListResponse),
    }
}
/// rtc session request
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionRequest {
    /// group id
    #[prost(bytes="vec", tag="1")]
    pub group_id: ::prost::alloc::vec::Vec<u8>,
}
/// rtc session response
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionResponse {
    /// group id
    #[prost(bytes="vec", tag="1")]
    pub group_id: ::prost::alloc::vec::Vec<u8>,
}
/// rtc session management
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionManagement {
    /// group id
    #[prost(bytes="vec", tag="1")]
    pub group_id: ::prost::alloc::vec::Vec<u8>,
    /// option
    #[prost(uint32, tag="2")]
    pub option: u32,
}
/// rtc outgoing
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcOutgoing {
    /// group id
    #[prost(bytes="vec", tag="1")]
    pub group_id: ::prost::alloc::vec::Vec<u8>,
    /// content
    #[prost(bytes="vec", tag="2")]
    pub content: ::prost::alloc::vec::Vec<u8>,
}
/// rtc incoming
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcIncoming {
    /// group id
    #[prost(bytes="vec", tag="1")]
    pub group_id: ::prost::alloc::vec::Vec<u8>,
    /// content
    #[prost(bytes="vec", tag="2")]
    pub content: ::prost::alloc::vec::Vec<u8>,
}
/// rtc sessions
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionListRequest {
}
/// rtc session
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSession {
    /// group id
    #[prost(bytes="vec", tag="1")]
    pub group_id: ::prost::alloc::vec::Vec<u8>,
    /// session type
    #[prost(uint32, tag="2")]
    pub session_type: u32,
    /// stste
    #[prost(uint32, tag="3")]
    pub state: u32,
    /// created at
    #[prost(uint64, tag="4")]
    pub created_at: u64,
}
/// rtc session list response
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionListResponse {
    /// session list
    #[prost(message, repeated, tag="1")]
    pub sessions: ::prost::alloc::vec::Vec<RtcSession>,
}