Skip to content

Commit c5b90bf

Browse files
generated protobuf
1 parent b0169f1 commit c5b90bf

2 files changed

Lines changed: 90 additions & 671 deletions

File tree

livekit-protocol/src/livekit.rs

Lines changed: 15 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,9 @@ pub struct RpcRequest {
946946
pub response_timeout_ms: u32,
947947
#[prost(uint32, tag="5")]
948948
pub version: u32,
949+
/// Compressed payload data. When set, this field is used instead of `payload`.
950+
#[prost(bytes="vec", tag="6")]
951+
pub compressed_payload: ::prost::alloc::vec::Vec<u8>,
949952
}
950953
#[allow(clippy::derive_partial_eq_without_eq)]
951954
#[derive(Clone, PartialEq, ::prost::Message)]
@@ -958,7 +961,7 @@ pub struct RpcAck {
958961
pub struct RpcResponse {
959962
#[prost(string, tag="1")]
960963
pub request_id: ::prost::alloc::string::String,
961-
#[prost(oneof="rpc_response::Value", tags="2, 3")]
964+
#[prost(oneof="rpc_response::Value", tags="2, 3, 4")]
962965
pub value: ::core::option::Option<rpc_response::Value>,
963966
}
964967
/// Nested message and enum types in `RpcResponse`.
@@ -970,6 +973,9 @@ pub mod rpc_response {
970973
Payload(::prost::alloc::string::String),
971974
#[prost(message, tag="3")]
972975
Error(super::RpcError),
976+
/// Compressed payload data. When set, this field is used instead of `payload`.
977+
#[prost(bytes, tag="4")]
978+
CompressedPayload(::prost::alloc::vec::Vec<u8>),
973979
}
974980
}
975981
#[allow(clippy::derive_partial_eq_without_eq)]
@@ -2635,9 +2641,11 @@ pub struct EgressInfo {
26352641
pub image_results: ::prost::alloc::vec::Vec<ImagesInfo>,
26362642
#[prost(string, tag="23")]
26372643
pub manifest_location: ::prost::alloc::string::String,
2638-
/// next ID: 27
26392644
#[prost(bool, tag="25")]
26402645
pub backup_storage_used: bool,
2646+
/// next ID: 28
2647+
#[prost(int32, tag="27")]
2648+
pub retry_count: i32,
26412649
#[prost(oneof="egress_info::Request", tags="4, 14, 19, 5, 6")]
26422650
pub request: ::core::option::Option<egress_info::Request>,
26432651
/// deprecated (use _result fields)
@@ -4247,7 +4255,7 @@ pub struct JobState {
42474255
#[allow(clippy::derive_partial_eq_without_eq)]
42484256
#[derive(Clone, PartialEq, ::prost::Message)]
42494257
pub struct WorkerMessage {
4250-
#[prost(oneof="worker_message::Message", tags="1, 2, 3, 4, 5, 6, 7, 8, 9")]
4258+
#[prost(oneof="worker_message::Message", tags="1, 2, 3, 4, 5, 6, 7")]
42514259
pub message: ::core::option::Option<worker_message::Message>,
42524260
}
42534261
/// Nested message and enum types in `WorkerMessage`.
@@ -4273,17 +4281,13 @@ pub mod worker_message {
42734281
SimulateJob(super::SimulateJobRequest),
42744282
#[prost(message, tag="7")]
42754283
MigrateJob(super::MigrateJobRequest),
4276-
#[prost(message, tag="8")]
4277-
TextResponse(super::TextMessageResponse),
4278-
#[prost(message, tag="9")]
4279-
PushText(super::PushTextRequest),
42804284
}
42814285
}
42824286
/// from Server to Worker
42834287
#[allow(clippy::derive_partial_eq_without_eq)]
42844288
#[derive(Clone, PartialEq, ::prost::Message)]
42854289
pub struct ServerMessage {
4286-
#[prost(oneof="server_message::Message", tags="1, 2, 3, 5, 4, 6")]
4290+
#[prost(oneof="server_message::Message", tags="1, 2, 3, 5, 4")]
42874291
pub message: ::core::option::Option<server_message::Message>,
42884292
}
42894293
/// Nested message and enum types in `ServerMessage`.
@@ -4303,8 +4307,6 @@ pub mod server_message {
43034307
Termination(super::JobTermination),
43044308
#[prost(message, tag="4")]
43054309
Pong(super::WorkerPong),
4306-
#[prost(message, tag="6")]
4307-
TextRequest(super::TextMessageRequest),
43084310
}
43094311
}
43104312
#[allow(clippy::derive_partial_eq_without_eq)]
@@ -4434,61 +4436,6 @@ pub struct JobTermination {
44344436
#[prost(string, tag="1")]
44354437
pub job_id: ::prost::alloc::string::String,
44364438
}
4437-
#[allow(clippy::derive_partial_eq_without_eq)]
4438-
#[derive(Clone, PartialEq, ::prost::Message)]
4439-
pub struct AgentSessionState {
4440-
#[prost(uint64, tag="1")]
4441-
pub version: u64,
4442-
#[prost(oneof="agent_session_state::Data", tags="2, 3")]
4443-
pub data: ::core::option::Option<agent_session_state::Data>,
4444-
}
4445-
/// Nested message and enum types in `AgentSessionState`.
4446-
pub mod agent_session_state {
4447-
#[allow(clippy::derive_partial_eq_without_eq)]
4448-
#[derive(Clone, PartialEq, ::prost::Oneof)]
4449-
pub enum Data {
4450-
#[prost(bytes, tag="2")]
4451-
Snapshot(::prost::alloc::vec::Vec<u8>),
4452-
#[prost(bytes, tag="3")]
4453-
Delta(::prost::alloc::vec::Vec<u8>),
4454-
}
4455-
}
4456-
#[allow(clippy::derive_partial_eq_without_eq)]
4457-
#[derive(Clone, PartialEq, ::prost::Message)]
4458-
pub struct TextMessageRequest {
4459-
#[prost(string, tag="1")]
4460-
pub message_id: ::prost::alloc::string::String,
4461-
#[prost(string, tag="2")]
4462-
pub session_id: ::prost::alloc::string::String,
4463-
#[prost(string, tag="3")]
4464-
pub agent_name: ::prost::alloc::string::String,
4465-
#[prost(string, tag="4")]
4466-
pub metadata: ::prost::alloc::string::String,
4467-
#[prost(message, optional, tag="5")]
4468-
pub session_state: ::core::option::Option<AgentSessionState>,
4469-
#[prost(string, tag="6")]
4470-
pub text: ::prost::alloc::string::String,
4471-
}
4472-
#[allow(clippy::derive_partial_eq_without_eq)]
4473-
#[derive(Clone, PartialEq, ::prost::Message)]
4474-
pub struct PushTextRequest {
4475-
/// The message_id of the TextMessageRequest that this push is for
4476-
#[prost(string, tag="1")]
4477-
pub message_id: ::prost::alloc::string::String,
4478-
#[prost(string, tag="2")]
4479-
pub content: ::prost::alloc::string::String,
4480-
}
4481-
#[allow(clippy::derive_partial_eq_without_eq)]
4482-
#[derive(Clone, PartialEq, ::prost::Message)]
4483-
pub struct TextMessageResponse {
4484-
/// Indicate the request is completed
4485-
#[prost(string, tag="1")]
4486-
pub message_id: ::prost::alloc::string::String,
4487-
#[prost(message, optional, tag="2")]
4488-
pub session_state: ::core::option::Option<AgentSessionState>,
4489-
#[prost(string, tag="3")]
4490-
pub error: ::prost::alloc::string::String,
4491-
}
44924439
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
44934440
#[repr(i32)]
44944441
pub enum JobType {
@@ -5831,6 +5778,9 @@ pub struct SipDispatchRuleIndividual {
58315778
/// Optional pin required to enter room
58325779
#[prost(string, tag="2")]
58335780
pub pin: ::prost::alloc::string::String,
5781+
/// Optionally append random suffix
5782+
#[prost(bool, tag="3")]
5783+
pub no_randomness: bool,
58345784
}
58355785
#[allow(clippy::derive_partial_eq_without_eq)]
58365786
#[derive(Clone, PartialEq, ::prost::Message)]

0 commit comments

Comments
 (0)