diff --git a/.changeset/thin-vans-end.md b/.changeset/thin-vans-end.md new file mode 100644 index 00000000..78f4193c --- /dev/null +++ b/.changeset/thin-vans-end.md @@ -0,0 +1,6 @@ +--- +"@livekit/protocol": minor +"github.com/livekit/protocol": minor +--- + +Allow setting number for SIP outbound. diff --git a/go.mod b/go.mod index 92085eba..854d5f56 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/livekit/protocol go 1.23 -toolchain go1.23.1 +toolchain go1.23.3 require ( buf.build/go/protoyaml v0.2.0 diff --git a/infra/link.pb.go b/infra/link.pb.go index 6b48b7e1..8de7c3e2 100644 --- a/infra/link.pb.go +++ b/infra/link.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: infra/link.proto package infra @@ -43,9 +43,11 @@ type WatchLocalLinksRequest struct { func (x *WatchLocalLinksRequest) Reset() { *x = WatchLocalLinksRequest{} - mi := &file_infra_link_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WatchLocalLinksRequest) String() string { @@ -56,7 +58,7 @@ func (*WatchLocalLinksRequest) ProtoMessage() {} func (x *WatchLocalLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,9 +89,11 @@ type WatchLocalLinksResponse struct { func (x *WatchLocalLinksResponse) Reset() { *x = WatchLocalLinksResponse{} - mi := &file_infra_link_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WatchLocalLinksResponse) String() string { @@ -100,7 +104,7 @@ func (*WatchLocalLinksResponse) ProtoMessage() {} func (x *WatchLocalLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -180,9 +184,11 @@ type SimulateLinkStateRequest struct { func (x *SimulateLinkStateRequest) Reset() { *x = SimulateLinkStateRequest{} - mi := &file_infra_link_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateLinkStateRequest) String() string { @@ -193,7 +199,7 @@ func (*SimulateLinkStateRequest) ProtoMessage() {} func (x *SimulateLinkStateRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -265,9 +271,11 @@ type SimulateLinkStateResponse struct { func (x *SimulateLinkStateResponse) Reset() { *x = SimulateLinkStateResponse{} - mi := &file_infra_link_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_infra_link_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateLinkStateResponse) String() string { @@ -278,7 +286,7 @@ func (*SimulateLinkStateResponse) ProtoMessage() {} func (x *SimulateLinkStateResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -392,6 +400,56 @@ func file_infra_link_proto_init() { if File_infra_link_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_infra_link_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*WatchLocalLinksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_infra_link_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*WatchLocalLinksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_infra_link_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*SimulateLinkStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_infra_link_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*SimulateLinkStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_infra_link_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/infra/link_grpc.pb.go b/infra/link_grpc.pb.go index 281cec95..33627044 100644 --- a/infra/link_grpc.pb.go +++ b/infra/link_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v4.23.4 +// - protoc v5.28.0 // source: infra/link.proto package infra diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index cc2314b4..4ee34018 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_agent.proto package livekit @@ -197,9 +197,11 @@ type Job struct { func (x *Job) Reset() { *x = Job{} - mi := &file_livekit_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Job) String() string { @@ -210,7 +212,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -304,9 +306,11 @@ type JobState struct { func (x *JobState) Reset() { *x = JobState{} - mi := &file_livekit_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobState) String() string { @@ -317,7 +321,7 @@ func (*JobState) ProtoMessage() {} func (x *JobState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -394,9 +398,11 @@ type WorkerMessage struct { func (x *WorkerMessage) Reset() { *x = WorkerMessage{} - mi := &file_livekit_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorkerMessage) String() string { @@ -407,7 +413,7 @@ func (*WorkerMessage) ProtoMessage() {} func (x *WorkerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -546,9 +552,11 @@ type ServerMessage struct { func (x *ServerMessage) Reset() { *x = ServerMessage{} - mi := &file_livekit_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ServerMessage) String() string { @@ -559,7 +567,7 @@ func (*ServerMessage) ProtoMessage() {} func (x *ServerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -664,9 +672,11 @@ type SimulateJobRequest struct { func (x *SimulateJobRequest) Reset() { *x = SimulateJobRequest{} - mi := &file_livekit_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateJobRequest) String() string { @@ -677,7 +687,7 @@ func (*SimulateJobRequest) ProtoMessage() {} func (x *SimulateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -723,9 +733,11 @@ type WorkerPing struct { func (x *WorkerPing) Reset() { *x = WorkerPing{} - mi := &file_livekit_agent_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorkerPing) String() string { @@ -736,7 +748,7 @@ func (*WorkerPing) ProtoMessage() {} func (x *WorkerPing) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -769,9 +781,11 @@ type WorkerPong struct { func (x *WorkerPong) Reset() { *x = WorkerPong{} - mi := &file_livekit_agent_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorkerPong) String() string { @@ -782,7 +796,7 @@ func (*WorkerPong) ProtoMessage() {} func (x *WorkerPong) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -828,9 +842,11 @@ type RegisterWorkerRequest struct { func (x *RegisterWorkerRequest) Reset() { *x = RegisterWorkerRequest{} - mi := &file_livekit_agent_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegisterWorkerRequest) String() string { @@ -841,7 +857,7 @@ func (*RegisterWorkerRequest) ProtoMessage() {} func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -909,9 +925,11 @@ type RegisterWorkerResponse struct { func (x *RegisterWorkerResponse) Reset() { *x = RegisterWorkerResponse{} - mi := &file_livekit_agent_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegisterWorkerResponse) String() string { @@ -922,7 +940,7 @@ func (*RegisterWorkerResponse) ProtoMessage() {} func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -962,9 +980,11 @@ type MigrateJobRequest struct { func (x *MigrateJobRequest) Reset() { *x = MigrateJobRequest{} - mi := &file_livekit_agent_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MigrateJobRequest) String() string { @@ -975,7 +995,7 @@ func (*MigrateJobRequest) ProtoMessage() {} func (x *MigrateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1010,9 +1030,11 @@ type AvailabilityRequest struct { func (x *AvailabilityRequest) Reset() { *x = AvailabilityRequest{} - mi := &file_livekit_agent_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AvailabilityRequest) String() string { @@ -1023,7 +1045,7 @@ func (*AvailabilityRequest) ProtoMessage() {} func (x *AvailabilityRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1068,9 +1090,11 @@ type AvailabilityResponse struct { func (x *AvailabilityResponse) Reset() { *x = AvailabilityResponse{} - mi := &file_livekit_agent_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AvailabilityResponse) String() string { @@ -1081,7 +1105,7 @@ func (*AvailabilityResponse) ProtoMessage() {} func (x *AvailabilityResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1159,9 +1183,11 @@ type UpdateJobStatus struct { func (x *UpdateJobStatus) Reset() { *x = UpdateJobStatus{} - mi := &file_livekit_agent_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateJobStatus) String() string { @@ -1172,7 +1198,7 @@ func (*UpdateJobStatus) ProtoMessage() {} func (x *UpdateJobStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1221,9 +1247,11 @@ type UpdateWorkerStatus struct { func (x *UpdateWorkerStatus) Reset() { *x = UpdateWorkerStatus{} - mi := &file_livekit_agent_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateWorkerStatus) String() string { @@ -1234,7 +1262,7 @@ func (*UpdateWorkerStatus) ProtoMessage() {} func (x *UpdateWorkerStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1282,9 +1310,11 @@ type JobAssignment struct { func (x *JobAssignment) Reset() { *x = JobAssignment{} - mi := &file_livekit_agent_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobAssignment) String() string { @@ -1295,7 +1325,7 @@ func (*JobAssignment) ProtoMessage() {} func (x *JobAssignment) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1341,9 +1371,11 @@ type JobTermination struct { func (x *JobTermination) Reset() { *x = JobTermination{} - mi := &file_livekit_agent_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobTermination) String() string { @@ -1354,7 +1386,7 @@ func (*JobTermination) ProtoMessage() {} func (x *JobTermination) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1669,6 +1701,200 @@ func file_livekit_agent_proto_init() { return } file_livekit_models_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_agent_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Job); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*JobState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*WorkerMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*ServerMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*SimulateJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*WorkerPing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*WorkerPong); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*RegisterWorkerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*RegisterWorkerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*MigrateJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*AvailabilityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*AvailabilityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*UpdateJobStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*UpdateWorkerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*JobAssignment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*JobTermination); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_agent_proto_msgTypes[0].OneofWrappers = []any{} file_livekit_agent_proto_msgTypes[2].OneofWrappers = []any{ (*WorkerMessage_Register)(nil), diff --git a/livekit/livekit_agent_dispatch.pb.go b/livekit/livekit_agent_dispatch.pb.go index 3da9c78d..5a000f2d 100644 --- a/livekit/livekit_agent_dispatch.pb.go +++ b/livekit/livekit_agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_agent_dispatch.proto package livekit @@ -46,9 +46,11 @@ type CreateAgentDispatchRequest struct { func (x *CreateAgentDispatchRequest) Reset() { *x = CreateAgentDispatchRequest{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateAgentDispatchRequest) String() string { @@ -59,7 +61,7 @@ func (*CreateAgentDispatchRequest) ProtoMessage() {} func (x *CreateAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -106,9 +108,11 @@ type RoomAgentDispatch struct { func (x *RoomAgentDispatch) Reset() { *x = RoomAgentDispatch{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomAgentDispatch) String() string { @@ -119,7 +123,7 @@ func (*RoomAgentDispatch) ProtoMessage() {} func (x *RoomAgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -159,9 +163,11 @@ type DeleteAgentDispatchRequest struct { func (x *DeleteAgentDispatchRequest) Reset() { *x = DeleteAgentDispatchRequest{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteAgentDispatchRequest) String() string { @@ -172,7 +178,7 @@ func (*DeleteAgentDispatchRequest) ProtoMessage() {} func (x *DeleteAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -212,9 +218,11 @@ type ListAgentDispatchRequest struct { func (x *ListAgentDispatchRequest) Reset() { *x = ListAgentDispatchRequest{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAgentDispatchRequest) String() string { @@ -225,7 +233,7 @@ func (*ListAgentDispatchRequest) ProtoMessage() {} func (x *ListAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -264,9 +272,11 @@ type ListAgentDispatchResponse struct { func (x *ListAgentDispatchResponse) Reset() { *x = ListAgentDispatchResponse{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAgentDispatchResponse) String() string { @@ -277,7 +287,7 @@ func (*ListAgentDispatchResponse) ProtoMessage() {} func (x *ListAgentDispatchResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -313,9 +323,11 @@ type AgentDispatch struct { func (x *AgentDispatch) Reset() { *x = AgentDispatch{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AgentDispatch) String() string { @@ -326,7 +338,7 @@ func (*AgentDispatch) ProtoMessage() {} func (x *AgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -390,9 +402,11 @@ type AgentDispatchState struct { func (x *AgentDispatchState) Reset() { *x = AgentDispatchState{} - mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_agent_dispatch_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AgentDispatchState) String() string { @@ -403,7 +417,7 @@ func (*AgentDispatchState) ProtoMessage() {} func (x *AgentDispatchState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -562,6 +576,92 @@ func file_livekit_agent_dispatch_proto_init() { return } file_livekit_agent_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_agent_dispatch_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*CreateAgentDispatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*RoomAgentDispatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*DeleteAgentDispatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*ListAgentDispatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*ListAgentDispatchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*AgentDispatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_agent_dispatch_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*AgentDispatchState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/livekit/livekit_analytics.pb.go b/livekit/livekit_analytics.pb.go index c958eb2c..f65c7d1f 100644 --- a/livekit/livekit_analytics.pb.go +++ b/livekit/livekit_analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_analytics.proto package livekit @@ -248,9 +248,11 @@ type AnalyticsVideoLayer struct { func (x *AnalyticsVideoLayer) Reset() { *x = AnalyticsVideoLayer{} - mi := &file_livekit_analytics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsVideoLayer) String() string { @@ -261,7 +263,7 @@ func (*AnalyticsVideoLayer) ProtoMessage() {} func (x *AnalyticsVideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -331,9 +333,11 @@ type AnalyticsStream struct { func (x *AnalyticsStream) Reset() { *x = AnalyticsStream{} - mi := &file_livekit_analytics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsStream) String() string { @@ -344,7 +348,7 @@ func (*AnalyticsStream) ProtoMessage() {} func (x *AnalyticsStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -509,9 +513,11 @@ type AnalyticsStat struct { func (x *AnalyticsStat) Reset() { *x = AnalyticsStat{} - mi := &file_livekit_analytics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsStat) String() string { @@ -522,7 +528,7 @@ func (*AnalyticsStat) ProtoMessage() {} func (x *AnalyticsStat) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -645,9 +651,11 @@ type AnalyticsStats struct { func (x *AnalyticsStats) Reset() { *x = AnalyticsStats{} - mi := &file_livekit_analytics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsStats) String() string { @@ -658,7 +666,7 @@ func (*AnalyticsStats) ProtoMessage() {} func (x *AnalyticsStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -699,9 +707,11 @@ type AnalyticsClientMeta struct { func (x *AnalyticsClientMeta) Reset() { *x = AnalyticsClientMeta{} - mi := &file_livekit_analytics_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsClientMeta) String() string { @@ -712,7 +722,7 @@ func (*AnalyticsClientMeta) ProtoMessage() {} func (x *AnalyticsClientMeta) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -830,9 +840,11 @@ type AnalyticsEvent struct { func (x *AnalyticsEvent) Reset() { *x = AnalyticsEvent{} - mi := &file_livekit_analytics_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsEvent) String() string { @@ -843,7 +855,7 @@ func (*AnalyticsEvent) ProtoMessage() {} func (x *AnalyticsEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1078,9 +1090,11 @@ type AnalyticsEvents struct { func (x *AnalyticsEvents) Reset() { *x = AnalyticsEvents{} - mi := &file_livekit_analytics_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsEvents) String() string { @@ -1091,7 +1105,7 @@ func (*AnalyticsEvents) ProtoMessage() {} func (x *AnalyticsEvents) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1127,9 +1141,11 @@ type AnalyticsRoomParticipant struct { func (x *AnalyticsRoomParticipant) Reset() { *x = AnalyticsRoomParticipant{} - mi := &file_livekit_analytics_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsRoomParticipant) String() string { @@ -1140,7 +1156,7 @@ func (*AnalyticsRoomParticipant) ProtoMessage() {} func (x *AnalyticsRoomParticipant) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1204,9 +1220,11 @@ type AnalyticsRoom struct { func (x *AnalyticsRoom) Reset() { *x = AnalyticsRoom{} - mi := &file_livekit_analytics_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsRoom) String() string { @@ -1217,7 +1235,7 @@ func (*AnalyticsRoom) ProtoMessage() {} func (x *AnalyticsRoom) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1280,9 +1298,11 @@ type AnalyticsNodeRooms struct { func (x *AnalyticsNodeRooms) Reset() { *x = AnalyticsNodeRooms{} - mi := &file_livekit_analytics_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_analytics_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AnalyticsNodeRooms) String() string { @@ -1293,7 +1313,7 @@ func (*AnalyticsNodeRooms) ProtoMessage() {} func (x *AnalyticsNodeRooms) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1744,6 +1764,128 @@ func file_livekit_analytics_proto_init() { file_livekit_egress_proto_init() file_livekit_ingress_proto_init() file_livekit_sip_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_analytics_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsVideoLayer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsStream); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsClientMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsEvents); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsRoomParticipant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsRoom); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_analytics_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*AnalyticsNodeRooms); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_analytics_proto_msgTypes[4].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index a6ce6b9a..b733b67d 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_egress.proto package livekit @@ -474,9 +474,11 @@ type RoomCompositeEgressRequest struct { func (x *RoomCompositeEgressRequest) Reset() { *x = RoomCompositeEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomCompositeEgressRequest) String() string { @@ -487,7 +489,7 @@ func (*RoomCompositeEgressRequest) ProtoMessage() {} func (x *RoomCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -687,9 +689,11 @@ type WebEgressRequest struct { func (x *WebEgressRequest) Reset() { *x = WebEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WebEgressRequest) String() string { @@ -700,7 +704,7 @@ func (*WebEgressRequest) ProtoMessage() {} func (x *WebEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -886,9 +890,11 @@ type ParticipantEgressRequest struct { func (x *ParticipantEgressRequest) Reset() { *x = ParticipantEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantEgressRequest) String() string { @@ -899,7 +905,7 @@ func (*ParticipantEgressRequest) ProtoMessage() {} func (x *ParticipantEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1028,9 +1034,11 @@ type TrackCompositeEgressRequest struct { func (x *TrackCompositeEgressRequest) Reset() { *x = TrackCompositeEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackCompositeEgressRequest) String() string { @@ -1041,7 +1049,7 @@ func (*TrackCompositeEgressRequest) ProtoMessage() {} func (x *TrackCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1215,9 +1223,11 @@ type TrackEgressRequest struct { func (x *TrackEgressRequest) Reset() { *x = TrackEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackEgressRequest) String() string { @@ -1228,7 +1238,7 @@ func (*TrackEgressRequest) ProtoMessage() {} func (x *TrackEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1313,9 +1323,11 @@ type EncodedFileOutput struct { func (x *EncodedFileOutput) Reset() { *x = EncodedFileOutput{} - mi := &file_livekit_egress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EncodedFileOutput) String() string { @@ -1326,7 +1338,7 @@ func (*EncodedFileOutput) ProtoMessage() {} func (x *EncodedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1449,9 +1461,11 @@ type SegmentedFileOutput struct { func (x *SegmentedFileOutput) Reset() { *x = SegmentedFileOutput{} - mi := &file_livekit_egress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SegmentedFileOutput) String() string { @@ -1462,7 +1476,7 @@ func (*SegmentedFileOutput) ProtoMessage() {} func (x *SegmentedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1607,9 +1621,11 @@ type DirectFileOutput struct { func (x *DirectFileOutput) Reset() { *x = DirectFileOutput{} - mi := &file_livekit_egress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DirectFileOutput) String() string { @@ -1620,7 +1636,7 @@ func (*DirectFileOutput) ProtoMessage() {} func (x *DirectFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1735,9 +1751,11 @@ type ImageOutput struct { func (x *ImageOutput) Reset() { *x = ImageOutput{} - mi := &file_livekit_egress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ImageOutput) String() string { @@ -1748,7 +1766,7 @@ func (*ImageOutput) ProtoMessage() {} func (x *ImageOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1895,9 +1913,11 @@ type S3Upload struct { func (x *S3Upload) Reset() { *x = S3Upload{} - mi := &file_livekit_egress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *S3Upload) String() string { @@ -1908,7 +1928,7 @@ func (*S3Upload) ProtoMessage() {} func (x *S3Upload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2013,9 +2033,11 @@ type GCPUpload struct { func (x *GCPUpload) Reset() { *x = GCPUpload{} - mi := &file_livekit_egress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GCPUpload) String() string { @@ -2026,7 +2048,7 @@ func (*GCPUpload) ProtoMessage() {} func (x *GCPUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2074,9 +2096,11 @@ type AzureBlobUpload struct { func (x *AzureBlobUpload) Reset() { *x = AzureBlobUpload{} - mi := &file_livekit_egress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AzureBlobUpload) String() string { @@ -2087,7 +2111,7 @@ func (*AzureBlobUpload) ProtoMessage() {} func (x *AzureBlobUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2137,9 +2161,11 @@ type AliOSSUpload struct { func (x *AliOSSUpload) Reset() { *x = AliOSSUpload{} - mi := &file_livekit_egress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AliOSSUpload) String() string { @@ -2150,7 +2176,7 @@ func (*AliOSSUpload) ProtoMessage() {} func (x *AliOSSUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2212,9 +2238,11 @@ type ProxyConfig struct { func (x *ProxyConfig) Reset() { *x = ProxyConfig{} - mi := &file_livekit_egress_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ProxyConfig) String() string { @@ -2225,7 +2253,7 @@ func (*ProxyConfig) ProtoMessage() {} func (x *ProxyConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2272,9 +2300,11 @@ type StreamOutput struct { func (x *StreamOutput) Reset() { *x = StreamOutput{} - mi := &file_livekit_egress_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamOutput) String() string { @@ -2285,7 +2315,7 @@ func (*StreamOutput) ProtoMessage() {} func (x *StreamOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2335,9 +2365,11 @@ type EncodingOptions struct { func (x *EncodingOptions) Reset() { *x = EncodingOptions{} - mi := &file_livekit_egress_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EncodingOptions) String() string { @@ -2348,7 +2380,7 @@ func (*EncodingOptions) ProtoMessage() {} func (x *EncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2458,9 +2490,11 @@ type UpdateLayoutRequest struct { func (x *UpdateLayoutRequest) Reset() { *x = UpdateLayoutRequest{} - mi := &file_livekit_egress_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLayoutRequest) String() string { @@ -2471,7 +2505,7 @@ func (*UpdateLayoutRequest) ProtoMessage() {} func (x *UpdateLayoutRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2512,9 +2546,11 @@ type UpdateStreamRequest struct { func (x *UpdateStreamRequest) Reset() { *x = UpdateStreamRequest{} - mi := &file_livekit_egress_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateStreamRequest) String() string { @@ -2525,7 +2561,7 @@ func (*UpdateStreamRequest) ProtoMessage() {} func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2573,9 +2609,11 @@ type ListEgressRequest struct { func (x *ListEgressRequest) Reset() { *x = ListEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListEgressRequest) String() string { @@ -2586,7 +2624,7 @@ func (*ListEgressRequest) ProtoMessage() {} func (x *ListEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2632,9 +2670,11 @@ type ListEgressResponse struct { func (x *ListEgressResponse) Reset() { *x = ListEgressResponse{} - mi := &file_livekit_egress_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListEgressResponse) String() string { @@ -2645,7 +2685,7 @@ func (*ListEgressResponse) ProtoMessage() {} func (x *ListEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2677,9 +2717,11 @@ type StopEgressRequest struct { func (x *StopEgressRequest) Reset() { *x = StopEgressRequest{} - mi := &file_livekit_egress_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopEgressRequest) String() string { @@ -2690,7 +2732,7 @@ func (*StopEgressRequest) ProtoMessage() {} func (x *StopEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2751,9 +2793,11 @@ type EgressInfo struct { func (x *EgressInfo) Reset() { *x = EgressInfo{} - mi := &file_livekit_egress_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EgressInfo) String() string { @@ -2764,7 +2808,7 @@ func (*EgressInfo) ProtoMessage() {} func (x *EgressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3034,9 +3078,11 @@ type StreamInfoList struct { func (x *StreamInfoList) Reset() { *x = StreamInfoList{} - mi := &file_livekit_egress_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamInfoList) String() string { @@ -3047,7 +3093,7 @@ func (*StreamInfoList) ProtoMessage() {} func (x *StreamInfoList) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3084,9 +3130,11 @@ type StreamInfo struct { func (x *StreamInfo) Reset() { *x = StreamInfo{} - mi := &file_livekit_egress_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamInfo) String() string { @@ -3097,7 +3145,7 @@ func (*StreamInfo) ProtoMessage() {} func (x *StreamInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3169,9 +3217,11 @@ type FileInfo struct { func (x *FileInfo) Reset() { *x = FileInfo{} - mi := &file_livekit_egress_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FileInfo) String() string { @@ -3182,7 +3232,7 @@ func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3257,9 +3307,11 @@ type SegmentsInfo struct { func (x *SegmentsInfo) Reset() { *x = SegmentsInfo{} - mi := &file_livekit_egress_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SegmentsInfo) String() string { @@ -3270,7 +3322,7 @@ func (*SegmentsInfo) ProtoMessage() {} func (x *SegmentsInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3361,9 +3413,11 @@ type ImagesInfo struct { func (x *ImagesInfo) Reset() { *x = ImagesInfo{} - mi := &file_livekit_egress_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ImagesInfo) String() string { @@ -3374,7 +3428,7 @@ func (*ImagesInfo) ProtoMessage() {} func (x *ImagesInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3433,9 +3487,11 @@ type AutoParticipantEgress struct { func (x *AutoParticipantEgress) Reset() { *x = AutoParticipantEgress{} - mi := &file_livekit_egress_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AutoParticipantEgress) String() string { @@ -3446,7 +3502,7 @@ func (*AutoParticipantEgress) ProtoMessage() {} func (x *AutoParticipantEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3530,9 +3586,11 @@ type AutoTrackEgress struct { func (x *AutoTrackEgress) Reset() { *x = AutoTrackEgress{} - mi := &file_livekit_egress_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_egress_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AutoTrackEgress) String() string { @@ -3543,7 +3601,7 @@ func (*AutoTrackEgress) ProtoMessage() {} func (x *AutoTrackEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4476,6 +4534,356 @@ func file_livekit_egress_proto_init() { return } file_livekit_models_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_egress_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*RoomCompositeEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*WebEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*ParticipantEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*TrackCompositeEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*TrackEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*EncodedFileOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*SegmentedFileOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*DirectFileOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*ImageOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*S3Upload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*GCPUpload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*AzureBlobUpload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*AliOSSUpload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*ProxyConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*StreamOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*EncodingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*UpdateLayoutRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*UpdateStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*ListEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*ListEgressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*StopEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*EgressInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*StreamInfoList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*StreamInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*FileInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*SegmentsInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*ImagesInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*AutoParticipantEgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_egress_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*AutoTrackEgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_egress_proto_msgTypes[0].OneofWrappers = []any{ (*RoomCompositeEgressRequest_File)(nil), (*RoomCompositeEgressRequest_Stream)(nil), diff --git a/livekit/livekit_ingress.pb.go b/livekit/livekit_ingress.pb.go index 89f888c1..70ff44fc 100644 --- a/livekit/livekit_ingress.pb.go +++ b/livekit/livekit_ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_ingress.proto package livekit @@ -284,9 +284,11 @@ type CreateIngressRequest struct { func (x *CreateIngressRequest) Reset() { *x = CreateIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateIngressRequest) String() string { @@ -297,7 +299,7 @@ func (*CreateIngressRequest) ProtoMessage() {} func (x *CreateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,9 +408,11 @@ type IngressAudioOptions struct { func (x *IngressAudioOptions) Reset() { *x = IngressAudioOptions{} - mi := &file_livekit_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressAudioOptions) String() string { @@ -419,7 +423,7 @@ func (*IngressAudioOptions) ProtoMessage() {} func (x *IngressAudioOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -501,9 +505,11 @@ type IngressVideoOptions struct { func (x *IngressVideoOptions) Reset() { *x = IngressVideoOptions{} - mi := &file_livekit_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressVideoOptions) String() string { @@ -514,7 +520,7 @@ func (*IngressVideoOptions) ProtoMessage() {} func (x *IngressVideoOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -594,9 +600,11 @@ type IngressAudioEncodingOptions struct { func (x *IngressAudioEncodingOptions) Reset() { *x = IngressAudioEncodingOptions{} - mi := &file_livekit_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressAudioEncodingOptions) String() string { @@ -607,7 +615,7 @@ func (*IngressAudioEncodingOptions) ProtoMessage() {} func (x *IngressAudioEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -664,9 +672,11 @@ type IngressVideoEncodingOptions struct { func (x *IngressVideoEncodingOptions) Reset() { *x = IngressVideoEncodingOptions{} - mi := &file_livekit_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressVideoEncodingOptions) String() string { @@ -677,7 +687,7 @@ func (*IngressVideoEncodingOptions) ProtoMessage() {} func (x *IngressVideoEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -741,9 +751,11 @@ type IngressInfo struct { func (x *IngressInfo) Reset() { *x = IngressInfo{} - mi := &file_livekit_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressInfo) String() string { @@ -754,7 +766,7 @@ func (*IngressInfo) ProtoMessage() {} func (x *IngressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -894,9 +906,11 @@ type IngressState struct { func (x *IngressState) Reset() { *x = IngressState{} - mi := &file_livekit_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressState) String() string { @@ -907,7 +921,7 @@ func (*IngressState) ProtoMessage() {} func (x *IngressState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1006,9 +1020,11 @@ type InputVideoState struct { func (x *InputVideoState) Reset() { *x = InputVideoState{} - mi := &file_livekit_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InputVideoState) String() string { @@ -1019,7 +1035,7 @@ func (*InputVideoState) ProtoMessage() {} func (x *InputVideoState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1082,9 +1098,11 @@ type InputAudioState struct { func (x *InputAudioState) Reset() { *x = InputAudioState{} - mi := &file_livekit_ingress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InputAudioState) String() string { @@ -1095,7 +1113,7 @@ func (*InputAudioState) ProtoMessage() {} func (x *InputAudioState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1158,9 +1176,11 @@ type UpdateIngressRequest struct { func (x *UpdateIngressRequest) Reset() { *x = UpdateIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateIngressRequest) String() string { @@ -1171,7 +1191,7 @@ func (*UpdateIngressRequest) ProtoMessage() {} func (x *UpdateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1269,9 +1289,11 @@ type ListIngressRequest struct { func (x *ListIngressRequest) Reset() { *x = ListIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListIngressRequest) String() string { @@ -1282,7 +1304,7 @@ func (*ListIngressRequest) ProtoMessage() {} func (x *ListIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1321,9 +1343,11 @@ type ListIngressResponse struct { func (x *ListIngressResponse) Reset() { *x = ListIngressResponse{} - mi := &file_livekit_ingress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListIngressResponse) String() string { @@ -1334,7 +1358,7 @@ func (*ListIngressResponse) ProtoMessage() {} func (x *ListIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1366,9 +1390,11 @@ type DeleteIngressRequest struct { func (x *DeleteIngressRequest) Reset() { *x = DeleteIngressRequest{} - mi := &file_livekit_ingress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_ingress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteIngressRequest) String() string { @@ -1379,7 +1405,7 @@ func (*DeleteIngressRequest) ProtoMessage() {} func (x *DeleteIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1769,6 +1795,164 @@ func file_livekit_ingress_proto_init() { return } file_livekit_models_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_ingress_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*CreateIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*IngressAudioOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*IngressVideoOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*IngressAudioEncodingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*IngressVideoEncodingOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*IngressInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*IngressState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*InputVideoState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*InputAudioState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*UpdateIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ListIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*ListIngressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_ingress_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*DeleteIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_ingress_proto_msgTypes[0].OneofWrappers = []any{} file_livekit_ingress_proto_msgTypes[1].OneofWrappers = []any{ (*IngressAudioOptions_Preset)(nil), diff --git a/livekit/livekit_internal.pb.go b/livekit/livekit_internal.pb.go index aa37a000..341c1b7b 100644 --- a/livekit/livekit_internal.pb.go +++ b/livekit/livekit_internal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_internal.proto package livekit @@ -206,9 +206,11 @@ type Node struct { func (x *Node) Reset() { *x = Node{} - mi := &file_livekit_internal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Node) String() string { @@ -219,7 +221,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -349,9 +351,11 @@ type NodeStats struct { func (x *NodeStats) Reset() { *x = NodeStats{} - mi := &file_livekit_internal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NodeStats) String() string { @@ -362,7 +366,7 @@ func (*NodeStats) ProtoMessage() {} func (x *NodeStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -748,9 +752,11 @@ type StartSession struct { func (x *StartSession) Reset() { *x = StartSession{} - mi := &file_livekit_internal_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartSession) String() string { @@ -761,7 +767,7 @@ func (*StartSession) ProtoMessage() {} func (x *StartSession) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -904,9 +910,11 @@ type RoomInternal struct { func (x *RoomInternal) Reset() { *x = RoomInternal{} - mi := &file_livekit_internal_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomInternal) String() string { @@ -917,7 +925,7 @@ func (*RoomInternal) ProtoMessage() {} func (x *RoomInternal) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -985,9 +993,11 @@ type ICEConfig struct { func (x *ICEConfig) Reset() { *x = ICEConfig{} - mi := &file_livekit_internal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_internal_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICEConfig) String() string { @@ -998,7 +1008,7 @@ func (*ICEConfig) ProtoMessage() {} func (x *ICEConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1355,6 +1365,68 @@ func file_livekit_internal_proto_init() { file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() file_livekit_room_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_internal_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Node); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*NodeStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*StartSession); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*RoomInternal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_internal_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*ICEConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_internal_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/livekit/livekit_metrics.pb.go b/livekit/livekit_metrics.pb.go index 51b84adf..8b93ba82 100644 --- a/livekit/livekit_metrics.pb.go +++ b/livekit/livekit_metrics.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_metrics.proto package livekit @@ -42,6 +42,9 @@ const ( MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH MetricLabel = 14 // total duration spent in bandwidth quality limitation MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU MetricLabel = 15 // total duration spent in cpu quality limitation MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER MetricLabel = 16 // total duration spent in other quality limitation + MetricLabel_PUBLISHER_RTT MetricLabel = 17 // Publisher RTT (participant -> server) + MetricLabel_SERVER_MESH_RTT MetricLabel = 18 // RTT between publisher node and subscriber node (could involve intermedia node(s)) + MetricLabel_SUBSCRIBER_RTT MetricLabel = 19 // Subscribe RTT (server -> participant) MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE MetricLabel = 4096 ) @@ -65,6 +68,9 @@ var ( 14: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH", 15: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU", 16: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER", + 17: "PUBLISHER_RTT", + 18: "SERVER_MESH_RTT", + 19: "SUBSCRIBER_RTT", 4096: "METRIC_LABEL_PREDEFINED_MAX_VALUE", } MetricLabel_value = map[string]int32{ @@ -85,7 +91,10 @@ var ( "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH": 14, "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU": 15, "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER": 16, - "METRIC_LABEL_PREDEFINED_MAX_VALUE": 4096, + "PUBLISHER_RTT": 17, + "SERVER_MESH_RTT": 18, + "SUBSCRIBER_RTT": 19, + "METRIC_LABEL_PREDEFINED_MAX_VALUE": 4096, } ) @@ -136,9 +145,11 @@ type MetricsBatch struct { func (x *MetricsBatch) Reset() { *x = MetricsBatch{} - mi := &file_livekit_metrics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MetricsBatch) String() string { @@ -149,7 +160,7 @@ func (*MetricsBatch) ProtoMessage() {} func (x *MetricsBatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -215,9 +226,11 @@ type TimeSeriesMetric struct { func (x *TimeSeriesMetric) Reset() { *x = TimeSeriesMetric{} - mi := &file_livekit_metrics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TimeSeriesMetric) String() string { @@ -228,7 +241,7 @@ func (*TimeSeriesMetric) ProtoMessage() {} func (x *TimeSeriesMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,9 +303,11 @@ type MetricSample struct { func (x *MetricSample) Reset() { *x = MetricSample{} - mi := &file_livekit_metrics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MetricSample) String() string { @@ -303,7 +318,7 @@ func (*MetricSample) ProtoMessage() {} func (x *MetricSample) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -357,9 +372,11 @@ type EventMetric struct { func (x *EventMetric) Reset() { *x = EventMetric{} - mi := &file_livekit_metrics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_metrics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EventMetric) String() string { @@ -370,7 +387,7 @@ func (*EventMetric) ProtoMessage() {} func (x *EventMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -523,7 +540,7 @@ var file_livekit_metrics_proto_rawDesc = []byte{ 0x0d, 0x52, 0x03, 0x72, 0x69, 0x64, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x73, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2a, 0xc5, 0x06, 0x0a, 0x0b, 0x4d, 0x65, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2a, 0x81, 0x07, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x4c, 0x4c, 0x4d, 0x5f, 0x54, 0x54, 0x46, 0x54, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x53, 0x54, 0x54, 0x5f, 0x54, 0x54, 0x46, 0x54, @@ -573,14 +590,18 @@ var file_livekit_metrics_proto_rawDesc = []byte{ 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x44, 0x45, 0x4f, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x52, 0x5f, 0x51, 0x55, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x10, 0x12, 0x26, 0x0a, 0x21, 0x4d, 0x45, 0x54, 0x52, - 0x49, 0x43, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x50, 0x52, 0x45, 0x44, 0x45, 0x46, 0x49, - 0x4e, 0x45, 0x44, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x80, 0x20, - 0x42, 0x46, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, - 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, - 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x10, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x55, 0x42, 0x4c, + 0x49, 0x53, 0x48, 0x45, 0x52, 0x5f, 0x52, 0x54, 0x54, 0x10, 0x11, 0x12, 0x13, 0x0a, 0x0f, 0x53, + 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x4d, 0x45, 0x53, 0x48, 0x5f, 0x52, 0x54, 0x54, 0x10, 0x12, + 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x55, 0x42, 0x53, 0x43, 0x52, 0x49, 0x42, 0x45, 0x52, 0x5f, 0x52, + 0x54, 0x54, 0x10, 0x13, 0x12, 0x26, 0x0a, 0x21, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x4c, + 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x50, 0x52, 0x45, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, + 0x4d, 0x41, 0x58, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x80, 0x20, 0x42, 0x46, 0x5a, 0x23, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, + 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -625,6 +646,56 @@ func file_livekit_metrics_proto_init() { if File_livekit_metrics_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_livekit_metrics_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*MetricsBatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_metrics_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*TimeSeriesMetric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_metrics_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*MetricSample); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_metrics_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*EventMetric); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_metrics_proto_msgTypes[3].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index 326876ac..37186481 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_models.proto package livekit @@ -1057,9 +1057,11 @@ type Room struct { func (x *Room) Reset() { *x = Room{} - mi := &file_livekit_models_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Room) String() string { @@ -1070,7 +1072,7 @@ func (*Room) ProtoMessage() {} func (x *Room) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1187,9 +1189,11 @@ type Codec struct { func (x *Codec) Reset() { *x = Codec{} - mi := &file_livekit_models_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Codec) String() string { @@ -1200,7 +1204,7 @@ func (*Codec) ProtoMessage() {} func (x *Codec) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1241,9 +1245,11 @@ type PlayoutDelay struct { func (x *PlayoutDelay) Reset() { *x = PlayoutDelay{} - mi := &file_livekit_models_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PlayoutDelay) String() string { @@ -1254,7 +1260,7 @@ func (*PlayoutDelay) ProtoMessage() {} func (x *PlayoutDelay) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1323,9 +1329,11 @@ type ParticipantPermission struct { func (x *ParticipantPermission) Reset() { *x = ParticipantPermission{} - mi := &file_livekit_models_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantPermission) String() string { @@ -1336,7 +1344,7 @@ func (*ParticipantPermission) ProtoMessage() {} func (x *ParticipantPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1442,9 +1450,11 @@ type ParticipantInfo struct { func (x *ParticipantInfo) Reset() { *x = ParticipantInfo{} - mi := &file_livekit_models_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantInfo) String() string { @@ -1455,7 +1465,7 @@ func (*ParticipantInfo) ProtoMessage() {} func (x *ParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1576,9 +1586,11 @@ type Encryption struct { func (x *Encryption) Reset() { *x = Encryption{} - mi := &file_livekit_models_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Encryption) String() string { @@ -1589,7 +1601,7 @@ func (*Encryption) ProtoMessage() {} func (x *Encryption) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1617,9 +1629,11 @@ type SimulcastCodecInfo struct { func (x *SimulcastCodecInfo) Reset() { *x = SimulcastCodecInfo{} - mi := &file_livekit_models_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulcastCodecInfo) String() string { @@ -1630,7 +1644,7 @@ func (*SimulcastCodecInfo) ProtoMessage() {} func (x *SimulcastCodecInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1709,9 +1723,11 @@ type TrackInfo struct { func (x *TrackInfo) Reset() { *x = TrackInfo{} - mi := &file_livekit_models_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackInfo) String() string { @@ -1722,7 +1738,7 @@ func (*TrackInfo) ProtoMessage() {} func (x *TrackInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1887,9 +1903,11 @@ type VideoLayer struct { func (x *VideoLayer) Reset() { *x = VideoLayer{} - mi := &file_livekit_models_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VideoLayer) String() string { @@ -1900,7 +1918,7 @@ func (*VideoLayer) ProtoMessage() {} func (x *VideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1978,9 +1996,11 @@ type DataPacket struct { func (x *DataPacket) Reset() { *x = DataPacket{} - mi := &file_livekit_models_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataPacket) String() string { @@ -1991,7 +2011,7 @@ func (*DataPacket) ProtoMessage() {} func (x *DataPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2168,9 +2188,11 @@ type ActiveSpeakerUpdate struct { func (x *ActiveSpeakerUpdate) Reset() { *x = ActiveSpeakerUpdate{} - mi := &file_livekit_models_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ActiveSpeakerUpdate) String() string { @@ -2181,7 +2203,7 @@ func (*ActiveSpeakerUpdate) ProtoMessage() {} func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2217,9 +2239,11 @@ type SpeakerInfo struct { func (x *SpeakerInfo) Reset() { *x = SpeakerInfo{} - mi := &file_livekit_models_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SpeakerInfo) String() string { @@ -2230,7 +2254,7 @@ func (*SpeakerInfo) ProtoMessage() {} func (x *SpeakerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2298,9 +2322,11 @@ type UserPacket struct { func (x *UserPacket) Reset() { *x = UserPacket{} - mi := &file_livekit_models_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UserPacket) String() string { @@ -2311,7 +2337,7 @@ func (*UserPacket) ProtoMessage() {} func (x *UserPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2404,9 +2430,11 @@ type SipDTMF struct { func (x *SipDTMF) Reset() { *x = SipDTMF{} - mi := &file_livekit_models_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SipDTMF) String() string { @@ -2417,7 +2445,7 @@ func (*SipDTMF) ProtoMessage() {} func (x *SipDTMF) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2459,9 +2487,11 @@ type Transcription struct { func (x *Transcription) Reset() { *x = Transcription{} - mi := &file_livekit_models_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Transcription) String() string { @@ -2472,7 +2502,7 @@ func (*Transcription) ProtoMessage() {} func (x *Transcription) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2523,9 +2553,11 @@ type TranscriptionSegment struct { func (x *TranscriptionSegment) Reset() { *x = TranscriptionSegment{} - mi := &file_livekit_models_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TranscriptionSegment) String() string { @@ -2536,7 +2568,7 @@ func (*TranscriptionSegment) ProtoMessage() {} func (x *TranscriptionSegment) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2608,9 +2640,11 @@ type ChatMessage struct { func (x *ChatMessage) Reset() { *x = ChatMessage{} - mi := &file_livekit_models_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ChatMessage) String() string { @@ -2621,7 +2655,7 @@ func (*ChatMessage) ProtoMessage() {} func (x *ChatMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2692,9 +2726,11 @@ type RpcRequest struct { func (x *RpcRequest) Reset() { *x = RpcRequest{} - mi := &file_livekit_models_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcRequest) String() string { @@ -2705,7 +2741,7 @@ func (*RpcRequest) ProtoMessage() {} func (x *RpcRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2765,9 +2801,11 @@ type RpcAck struct { func (x *RpcAck) Reset() { *x = RpcAck{} - mi := &file_livekit_models_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcAck) String() string { @@ -2778,7 +2816,7 @@ func (*RpcAck) ProtoMessage() {} func (x *RpcAck) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2815,9 +2853,11 @@ type RpcResponse struct { func (x *RpcResponse) Reset() { *x = RpcResponse{} - mi := &file_livekit_models_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcResponse) String() string { @@ -2828,7 +2868,7 @@ func (*RpcResponse) ProtoMessage() {} func (x *RpcResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2899,9 +2939,11 @@ type RpcError struct { func (x *RpcError) Reset() { *x = RpcError{} - mi := &file_livekit_models_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RpcError) String() string { @@ -2912,7 +2954,7 @@ func (*RpcError) ProtoMessage() {} func (x *RpcError) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2960,9 +3002,11 @@ type ParticipantTracks struct { func (x *ParticipantTracks) Reset() { *x = ParticipantTracks{} - mi := &file_livekit_models_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantTracks) String() string { @@ -2973,7 +3017,7 @@ func (*ParticipantTracks) ProtoMessage() {} func (x *ParticipantTracks) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3020,9 +3064,11 @@ type ServerInfo struct { func (x *ServerInfo) Reset() { *x = ServerInfo{} - mi := &file_livekit_models_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ServerInfo) String() string { @@ -3033,7 +3079,7 @@ func (*ServerInfo) ProtoMessage() {} func (x *ServerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3121,9 +3167,11 @@ type ClientInfo struct { func (x *ClientInfo) Reset() { *x = ClientInfo{} - mi := &file_livekit_models_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ClientInfo) String() string { @@ -3134,7 +3182,7 @@ func (*ClientInfo) ProtoMessage() {} func (x *ClientInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3241,9 +3289,11 @@ type ClientConfiguration struct { func (x *ClientConfiguration) Reset() { *x = ClientConfiguration{} - mi := &file_livekit_models_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ClientConfiguration) String() string { @@ -3254,7 +3304,7 @@ func (*ClientConfiguration) ProtoMessage() {} func (x *ClientConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3314,9 +3364,11 @@ type VideoConfiguration struct { func (x *VideoConfiguration) Reset() { *x = VideoConfiguration{} - mi := &file_livekit_models_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VideoConfiguration) String() string { @@ -3327,7 +3379,7 @@ func (*VideoConfiguration) ProtoMessage() {} func (x *VideoConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3362,9 +3414,11 @@ type DisabledCodecs struct { func (x *DisabledCodecs) Reset() { *x = DisabledCodecs{} - mi := &file_livekit_models_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DisabledCodecs) String() string { @@ -3375,7 +3429,7 @@ func (*DisabledCodecs) ProtoMessage() {} func (x *DisabledCodecs) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3422,9 +3476,11 @@ type RTPDrift struct { func (x *RTPDrift) Reset() { *x = RTPDrift{} - mi := &file_livekit_models_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPDrift) String() string { @@ -3435,7 +3491,7 @@ func (*RTPDrift) ProtoMessage() {} func (x *RTPDrift) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3567,9 +3623,11 @@ type RTPStats struct { func (x *RTPStats) Reset() { *x = RTPStats{} - mi := &file_livekit_models_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPStats) String() string { @@ -3580,7 +3638,7 @@ func (*RTPStats) ProtoMessage() {} func (x *RTPStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3926,9 +3984,11 @@ type RTCPSenderReportState struct { func (x *RTCPSenderReportState) Reset() { *x = RTCPSenderReportState{} - mi := &file_livekit_models_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTCPSenderReportState) String() string { @@ -3939,7 +3999,7 @@ func (*RTCPSenderReportState) ProtoMessage() {} func (x *RTCPSenderReportState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4023,9 +4083,11 @@ type RTPForwarderState struct { func (x *RTPForwarderState) Reset() { *x = RTPForwarderState{} - mi := &file_livekit_models_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPForwarderState) String() string { @@ -4036,7 +4098,7 @@ func (*RTPForwarderState) ProtoMessage() {} func (x *RTPForwarderState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4139,9 +4201,11 @@ type RTPMungerState struct { func (x *RTPMungerState) Reset() { *x = RTPMungerState{} - mi := &file_livekit_models_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RTPMungerState) String() string { @@ -4152,7 +4216,7 @@ func (*RTPMungerState) ProtoMessage() {} func (x *RTPMungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4225,9 +4289,11 @@ type VP8MungerState struct { func (x *VP8MungerState) Reset() { *x = VP8MungerState{} - mi := &file_livekit_models_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VP8MungerState) String() string { @@ -4238,7 +4304,7 @@ func (*VP8MungerState) ProtoMessage() {} func (x *VP8MungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4313,9 +4379,11 @@ type TimedVersion struct { func (x *TimedVersion) Reset() { *x = TimedVersion{} - mi := &file_livekit_models_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_models_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TimedVersion) String() string { @@ -4326,7 +4394,7 @@ func (*TimedVersion) ProtoMessage() {} func (x *TimedVersion) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[33] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5229,6 +5297,416 @@ func file_livekit_models_proto_init() { return } file_livekit_metrics_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_models_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*Room); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*Codec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*PlayoutDelay); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*ParticipantPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*ParticipantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*Encryption); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*SimulcastCodecInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*TrackInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*VideoLayer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*DataPacket); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ActiveSpeakerUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*SpeakerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*UserPacket); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*SipDTMF); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*Transcription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*TranscriptionSegment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*ChatMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*RpcRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*RpcAck); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*RpcResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*RpcError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*ParticipantTracks); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*ServerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*ClientInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*ClientConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*VideoConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*DisabledCodecs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*RTPDrift); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*RTPStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*RTCPSenderReportState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*RTPForwarderState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[31].Exporter = func(v any, i int) any { + switch v := v.(*RTPMungerState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[32].Exporter = func(v any, i int) any { + switch v := v.(*VP8MungerState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_models_proto_msgTypes[33].Exporter = func(v any, i int) any { + switch v := v.(*TimedVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_models_proto_msgTypes[9].OneofWrappers = []any{ (*DataPacket_User)(nil), (*DataPacket_Speaker)(nil), diff --git a/livekit/livekit_room.pb.go b/livekit/livekit_room.pb.go index ad41cf01..8df78f04 100644 --- a/livekit/livekit_room.pb.go +++ b/livekit/livekit_room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_room.proto package livekit @@ -69,9 +69,11 @@ type CreateRoomRequest struct { func (x *CreateRoomRequest) Reset() { *x = CreateRoomRequest{} - mi := &file_livekit_room_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateRoomRequest) String() string { @@ -82,7 +84,7 @@ func (*CreateRoomRequest) ProtoMessage() {} func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -200,9 +202,11 @@ type RoomEgress struct { func (x *RoomEgress) Reset() { *x = RoomEgress{} - mi := &file_livekit_room_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomEgress) String() string { @@ -213,7 +217,7 @@ func (*RoomEgress) ProtoMessage() {} func (x *RoomEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -259,9 +263,11 @@ type RoomAgent struct { func (x *RoomAgent) Reset() { *x = RoomAgent{} - mi := &file_livekit_room_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomAgent) String() string { @@ -272,7 +278,7 @@ func (*RoomAgent) ProtoMessage() {} func (x *RoomAgent) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -305,9 +311,11 @@ type ListRoomsRequest struct { func (x *ListRoomsRequest) Reset() { *x = ListRoomsRequest{} - mi := &file_livekit_room_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRoomsRequest) String() string { @@ -318,7 +326,7 @@ func (*ListRoomsRequest) ProtoMessage() {} func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -350,9 +358,11 @@ type ListRoomsResponse struct { func (x *ListRoomsResponse) Reset() { *x = ListRoomsResponse{} - mi := &file_livekit_room_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRoomsResponse) String() string { @@ -363,7 +373,7 @@ func (*ListRoomsResponse) ProtoMessage() {} func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -396,9 +406,11 @@ type DeleteRoomRequest struct { func (x *DeleteRoomRequest) Reset() { *x = DeleteRoomRequest{} - mi := &file_livekit_room_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRoomRequest) String() string { @@ -409,7 +421,7 @@ func (*DeleteRoomRequest) ProtoMessage() {} func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -439,9 +451,11 @@ type DeleteRoomResponse struct { func (x *DeleteRoomResponse) Reset() { *x = DeleteRoomResponse{} - mi := &file_livekit_room_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRoomResponse) String() string { @@ -452,7 +466,7 @@ func (*DeleteRoomResponse) ProtoMessage() {} func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -478,9 +492,11 @@ type ListParticipantsRequest struct { func (x *ListParticipantsRequest) Reset() { *x = ListParticipantsRequest{} - mi := &file_livekit_room_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListParticipantsRequest) String() string { @@ -491,7 +507,7 @@ func (*ListParticipantsRequest) ProtoMessage() {} func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -523,9 +539,11 @@ type ListParticipantsResponse struct { func (x *ListParticipantsResponse) Reset() { *x = ListParticipantsResponse{} - mi := &file_livekit_room_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListParticipantsResponse) String() string { @@ -536,7 +554,7 @@ func (*ListParticipantsResponse) ProtoMessage() {} func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -571,9 +589,11 @@ type RoomParticipantIdentity struct { func (x *RoomParticipantIdentity) Reset() { *x = RoomParticipantIdentity{} - mi := &file_livekit_room_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomParticipantIdentity) String() string { @@ -584,7 +604,7 @@ func (*RoomParticipantIdentity) ProtoMessage() {} func (x *RoomParticipantIdentity) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -621,9 +641,11 @@ type RemoveParticipantResponse struct { func (x *RemoveParticipantResponse) Reset() { *x = RemoveParticipantResponse{} - mi := &file_livekit_room_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveParticipantResponse) String() string { @@ -634,7 +656,7 @@ func (*RemoveParticipantResponse) ProtoMessage() {} func (x *RemoveParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -665,9 +687,11 @@ type MuteRoomTrackRequest struct { func (x *MuteRoomTrackRequest) Reset() { *x = MuteRoomTrackRequest{} - mi := &file_livekit_room_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MuteRoomTrackRequest) String() string { @@ -678,7 +702,7 @@ func (*MuteRoomTrackRequest) ProtoMessage() {} func (x *MuteRoomTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -731,9 +755,11 @@ type MuteRoomTrackResponse struct { func (x *MuteRoomTrackResponse) Reset() { *x = MuteRoomTrackResponse{} - mi := &file_livekit_room_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MuteRoomTrackResponse) String() string { @@ -744,7 +770,7 @@ func (*MuteRoomTrackResponse) ProtoMessage() {} func (x *MuteRoomTrackResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -786,9 +812,11 @@ type UpdateParticipantRequest struct { func (x *UpdateParticipantRequest) Reset() { *x = UpdateParticipantRequest{} - mi := &file_livekit_room_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateParticipantRequest) String() string { @@ -799,7 +827,7 @@ func (*UpdateParticipantRequest) ProtoMessage() {} func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -873,9 +901,11 @@ type UpdateSubscriptionsRequest struct { func (x *UpdateSubscriptionsRequest) Reset() { *x = UpdateSubscriptionsRequest{} - mi := &file_livekit_room_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSubscriptionsRequest) String() string { @@ -886,7 +916,7 @@ func (*UpdateSubscriptionsRequest) ProtoMessage() {} func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -944,9 +974,11 @@ type UpdateSubscriptionsResponse struct { func (x *UpdateSubscriptionsResponse) Reset() { *x = UpdateSubscriptionsResponse{} - mi := &file_livekit_room_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSubscriptionsResponse) String() string { @@ -957,7 +989,7 @@ func (*UpdateSubscriptionsResponse) ProtoMessage() {} func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -991,9 +1023,11 @@ type SendDataRequest struct { func (x *SendDataRequest) Reset() { *x = SendDataRequest{} - mi := &file_livekit_room_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendDataRequest) String() string { @@ -1004,7 +1038,7 @@ func (*SendDataRequest) ProtoMessage() {} func (x *SendDataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1070,9 +1104,11 @@ type SendDataResponse struct { func (x *SendDataResponse) Reset() { *x = SendDataResponse{} - mi := &file_livekit_room_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendDataResponse) String() string { @@ -1083,7 +1119,7 @@ func (*SendDataResponse) ProtoMessage() {} func (x *SendDataResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1110,9 +1146,11 @@ type UpdateRoomMetadataRequest struct { func (x *UpdateRoomMetadataRequest) Reset() { *x = UpdateRoomMetadataRequest{} - mi := &file_livekit_room_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateRoomMetadataRequest) String() string { @@ -1123,7 +1161,7 @@ func (*UpdateRoomMetadataRequest) ProtoMessage() {} func (x *UpdateRoomMetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1178,9 +1216,11 @@ type RoomConfiguration struct { func (x *RoomConfiguration) Reset() { *x = RoomConfiguration{} - mi := &file_livekit_room_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_room_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomConfiguration) String() string { @@ -1191,7 +1231,7 @@ func (*RoomConfiguration) ProtoMessage() {} func (x *RoomConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1607,6 +1647,248 @@ func file_livekit_room_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_agent_dispatch_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_room_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*CreateRoomRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*RoomEgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*RoomAgent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*ListRoomsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*ListRoomsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*DeleteRoomRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*DeleteRoomResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*ListParticipantsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*ListParticipantsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*RoomParticipantIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*RemoveParticipantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*MuteRoomTrackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*MuteRoomTrackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*UpdateParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*UpdateSubscriptionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*UpdateSubscriptionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*SendDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*SendDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*UpdateRoomMetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_room_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*RoomConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_room_proto_msgTypes[16].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index f4764979..f2a43da1 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_rtc.proto package livekit @@ -306,9 +306,11 @@ type SignalRequest struct { func (x *SignalRequest) Reset() { *x = SignalRequest{} - mi := &file_livekit_rtc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SignalRequest) String() string { @@ -319,7 +321,7 @@ func (*SignalRequest) ProtoMessage() {} func (x *SignalRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -618,9 +620,11 @@ type SignalResponse struct { func (x *SignalResponse) Reset() { *x = SignalResponse{} - mi := &file_livekit_rtc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SignalResponse) String() string { @@ -631,7 +635,7 @@ func (*SignalResponse) ProtoMessage() {} func (x *SignalResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -977,9 +981,11 @@ type SimulcastCodec struct { func (x *SimulcastCodec) Reset() { *x = SimulcastCodec{} - mi := &file_livekit_rtc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulcastCodec) String() string { @@ -990,7 +996,7 @@ func (*SimulcastCodec) ProtoMessage() {} func (x *SimulcastCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1051,9 +1057,11 @@ type AddTrackRequest struct { func (x *AddTrackRequest) Reset() { *x = AddTrackRequest{} - mi := &file_livekit_rtc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddTrackRequest) String() string { @@ -1064,7 +1072,7 @@ func (*AddTrackRequest) ProtoMessage() {} func (x *AddTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1196,9 +1204,11 @@ type TrickleRequest struct { func (x *TrickleRequest) Reset() { *x = TrickleRequest{} - mi := &file_livekit_rtc_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrickleRequest) String() string { @@ -1209,7 +1219,7 @@ func (*TrickleRequest) ProtoMessage() {} func (x *TrickleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1256,9 +1266,11 @@ type MuteTrackRequest struct { func (x *MuteTrackRequest) Reset() { *x = MuteTrackRequest{} - mi := &file_livekit_rtc_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MuteTrackRequest) String() string { @@ -1269,7 +1281,7 @@ func (*MuteTrackRequest) ProtoMessage() {} func (x *MuteTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1329,9 +1341,11 @@ type JoinResponse struct { func (x *JoinResponse) Reset() { *x = JoinResponse{} - mi := &file_livekit_rtc_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JoinResponse) String() string { @@ -1342,7 +1356,7 @@ func (*JoinResponse) ProtoMessage() {} func (x *JoinResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1473,9 +1487,11 @@ type ReconnectResponse struct { func (x *ReconnectResponse) Reset() { *x = ReconnectResponse{} - mi := &file_livekit_rtc_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReconnectResponse) String() string { @@ -1486,7 +1502,7 @@ func (*ReconnectResponse) ProtoMessage() {} func (x *ReconnectResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1526,9 +1542,11 @@ type TrackPublishedResponse struct { func (x *TrackPublishedResponse) Reset() { *x = TrackPublishedResponse{} - mi := &file_livekit_rtc_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackPublishedResponse) String() string { @@ -1539,7 +1557,7 @@ func (*TrackPublishedResponse) ProtoMessage() {} func (x *TrackPublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1578,9 +1596,11 @@ type TrackUnpublishedResponse struct { func (x *TrackUnpublishedResponse) Reset() { *x = TrackUnpublishedResponse{} - mi := &file_livekit_rtc_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackUnpublishedResponse) String() string { @@ -1591,7 +1611,7 @@ func (*TrackUnpublishedResponse) ProtoMessage() {} func (x *TrackUnpublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1624,9 +1644,11 @@ type SessionDescription struct { func (x *SessionDescription) Reset() { *x = SessionDescription{} - mi := &file_livekit_rtc_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SessionDescription) String() string { @@ -1637,7 +1659,7 @@ func (*SessionDescription) ProtoMessage() {} func (x *SessionDescription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1676,9 +1698,11 @@ type ParticipantUpdate struct { func (x *ParticipantUpdate) Reset() { *x = ParticipantUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ParticipantUpdate) String() string { @@ -1689,7 +1713,7 @@ func (*ParticipantUpdate) ProtoMessage() {} func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1723,9 +1747,11 @@ type UpdateSubscription struct { func (x *UpdateSubscription) Reset() { *x = UpdateSubscription{} - mi := &file_livekit_rtc_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSubscription) String() string { @@ -1736,7 +1762,7 @@ func (*UpdateSubscription) ProtoMessage() {} func (x *UpdateSubscription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1799,9 +1825,11 @@ type UpdateTrackSettings struct { func (x *UpdateTrackSettings) Reset() { *x = UpdateTrackSettings{} - mi := &file_livekit_rtc_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateTrackSettings) String() string { @@ -1812,7 +1840,7 @@ func (*UpdateTrackSettings) ProtoMessage() {} func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1887,9 +1915,11 @@ type UpdateLocalAudioTrack struct { func (x *UpdateLocalAudioTrack) Reset() { *x = UpdateLocalAudioTrack{} - mi := &file_livekit_rtc_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLocalAudioTrack) String() string { @@ -1900,7 +1930,7 @@ func (*UpdateLocalAudioTrack) ProtoMessage() {} func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1941,9 +1971,11 @@ type UpdateLocalVideoTrack struct { func (x *UpdateLocalVideoTrack) Reset() { *x = UpdateLocalVideoTrack{} - mi := &file_livekit_rtc_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLocalVideoTrack) String() string { @@ -1954,7 +1986,7 @@ func (*UpdateLocalVideoTrack) ProtoMessage() {} func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2006,9 +2038,11 @@ type LeaveRequest struct { func (x *LeaveRequest) Reset() { *x = LeaveRequest{} - mi := &file_livekit_rtc_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LeaveRequest) String() string { @@ -2019,7 +2053,7 @@ func (*LeaveRequest) ProtoMessage() {} func (x *LeaveRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2076,9 +2110,11 @@ type UpdateVideoLayers struct { func (x *UpdateVideoLayers) Reset() { *x = UpdateVideoLayers{} - mi := &file_livekit_rtc_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateVideoLayers) String() string { @@ -2089,7 +2125,7 @@ func (*UpdateVideoLayers) ProtoMessage() {} func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2133,9 +2169,11 @@ type UpdateParticipantMetadata struct { func (x *UpdateParticipantMetadata) Reset() { *x = UpdateParticipantMetadata{} - mi := &file_livekit_rtc_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateParticipantMetadata) String() string { @@ -2146,7 +2184,7 @@ func (*UpdateParticipantMetadata) ProtoMessage() {} func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2201,9 +2239,11 @@ type ICEServer struct { func (x *ICEServer) Reset() { *x = ICEServer{} - mi := &file_livekit_rtc_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICEServer) String() string { @@ -2214,7 +2254,7 @@ func (*ICEServer) ProtoMessage() {} func (x *ICEServer) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2260,9 +2300,11 @@ type SpeakersChanged struct { func (x *SpeakersChanged) Reset() { *x = SpeakersChanged{} - mi := &file_livekit_rtc_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SpeakersChanged) String() string { @@ -2273,7 +2315,7 @@ func (*SpeakersChanged) ProtoMessage() {} func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2305,9 +2347,11 @@ type RoomUpdate struct { func (x *RoomUpdate) Reset() { *x = RoomUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoomUpdate) String() string { @@ -2318,7 +2362,7 @@ func (*RoomUpdate) ProtoMessage() {} func (x *RoomUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2352,9 +2396,11 @@ type ConnectionQualityInfo struct { func (x *ConnectionQualityInfo) Reset() { *x = ConnectionQualityInfo{} - mi := &file_livekit_rtc_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConnectionQualityInfo) String() string { @@ -2365,7 +2411,7 @@ func (*ConnectionQualityInfo) ProtoMessage() {} func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2411,9 +2457,11 @@ type ConnectionQualityUpdate struct { func (x *ConnectionQualityUpdate) Reset() { *x = ConnectionQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConnectionQualityUpdate) String() string { @@ -2424,7 +2472,7 @@ func (*ConnectionQualityUpdate) ProtoMessage() {} func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2458,9 +2506,11 @@ type StreamStateInfo struct { func (x *StreamStateInfo) Reset() { *x = StreamStateInfo{} - mi := &file_livekit_rtc_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamStateInfo) String() string { @@ -2471,7 +2521,7 @@ func (*StreamStateInfo) ProtoMessage() {} func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2517,9 +2567,11 @@ type StreamStateUpdate struct { func (x *StreamStateUpdate) Reset() { *x = StreamStateUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamStateUpdate) String() string { @@ -2530,7 +2582,7 @@ func (*StreamStateUpdate) ProtoMessage() {} func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2563,9 +2615,11 @@ type SubscribedQuality struct { func (x *SubscribedQuality) Reset() { *x = SubscribedQuality{} - mi := &file_livekit_rtc_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscribedQuality) String() string { @@ -2576,7 +2630,7 @@ func (*SubscribedQuality) ProtoMessage() {} func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2616,9 +2670,11 @@ type SubscribedCodec struct { func (x *SubscribedCodec) Reset() { *x = SubscribedCodec{} - mi := &file_livekit_rtc_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscribedCodec) String() string { @@ -2629,7 +2685,7 @@ func (*SubscribedCodec) ProtoMessage() {} func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2670,9 +2726,11 @@ type SubscribedQualityUpdate struct { func (x *SubscribedQualityUpdate) Reset() { *x = SubscribedQualityUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscribedQualityUpdate) String() string { @@ -2683,7 +2741,7 @@ func (*SubscribedQualityUpdate) ProtoMessage() {} func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2733,9 +2791,11 @@ type TrackPermission struct { func (x *TrackPermission) Reset() { *x = TrackPermission{} - mi := &file_livekit_rtc_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackPermission) String() string { @@ -2746,7 +2806,7 @@ func (*TrackPermission) ProtoMessage() {} func (x *TrackPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2800,9 +2860,11 @@ type SubscriptionPermission struct { func (x *SubscriptionPermission) Reset() { *x = SubscriptionPermission{} - mi := &file_livekit_rtc_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscriptionPermission) String() string { @@ -2813,7 +2875,7 @@ func (*SubscriptionPermission) ProtoMessage() {} func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2854,9 +2916,11 @@ type SubscriptionPermissionUpdate struct { func (x *SubscriptionPermissionUpdate) Reset() { *x = SubscriptionPermissionUpdate{} - mi := &file_livekit_rtc_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscriptionPermissionUpdate) String() string { @@ -2867,7 +2931,7 @@ func (*SubscriptionPermissionUpdate) ProtoMessage() {} func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2920,9 +2984,11 @@ type SyncState struct { func (x *SyncState) Reset() { *x = SyncState{} - mi := &file_livekit_rtc_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SyncState) String() string { @@ -2933,7 +2999,7 @@ func (*SyncState) ProtoMessage() {} func (x *SyncState) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3002,9 +3068,11 @@ type DataChannelInfo struct { func (x *DataChannelInfo) Reset() { *x = DataChannelInfo{} - mi := &file_livekit_rtc_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataChannelInfo) String() string { @@ -3015,7 +3083,7 @@ func (*DataChannelInfo) ProtoMessage() {} func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[33] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3072,9 +3140,11 @@ type SimulateScenario struct { func (x *SimulateScenario) Reset() { *x = SimulateScenario{} - mi := &file_livekit_rtc_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SimulateScenario) String() string { @@ -3085,7 +3155,7 @@ func (*SimulateScenario) ProtoMessage() {} func (x *SimulateScenario) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[34] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3250,9 +3320,11 @@ type Ping struct { func (x *Ping) Reset() { *x = Ping{} - mi := &file_livekit_rtc_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Ping) String() string { @@ -3263,7 +3335,7 @@ func (*Ping) ProtoMessage() {} func (x *Ping) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[35] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3304,9 +3376,11 @@ type Pong struct { func (x *Pong) Reset() { *x = Pong{} - mi := &file_livekit_rtc_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Pong) String() string { @@ -3317,7 +3391,7 @@ func (*Pong) ProtoMessage() {} func (x *Pong) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[36] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3356,9 +3430,11 @@ type RegionSettings struct { func (x *RegionSettings) Reset() { *x = RegionSettings{} - mi := &file_livekit_rtc_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegionSettings) String() string { @@ -3369,7 +3445,7 @@ func (*RegionSettings) ProtoMessage() {} func (x *RegionSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[37] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3403,9 +3479,11 @@ type RegionInfo struct { func (x *RegionInfo) Reset() { *x = RegionInfo{} - mi := &file_livekit_rtc_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegionInfo) String() string { @@ -3416,7 +3494,7 @@ func (*RegionInfo) ProtoMessage() {} func (x *RegionInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[38] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3463,9 +3541,11 @@ type SubscriptionResponse struct { func (x *SubscriptionResponse) Reset() { *x = SubscriptionResponse{} - mi := &file_livekit_rtc_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubscriptionResponse) String() string { @@ -3476,7 +3556,7 @@ func (*SubscriptionResponse) ProtoMessage() {} func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[39] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3517,9 +3597,11 @@ type RequestResponse struct { func (x *RequestResponse) Reset() { *x = RequestResponse{} - mi := &file_livekit_rtc_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RequestResponse) String() string { @@ -3530,7 +3612,7 @@ func (*RequestResponse) ProtoMessage() {} func (x *RequestResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[40] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3576,9 +3658,11 @@ type TrackSubscribed struct { func (x *TrackSubscribed) Reset() { *x = TrackSubscribed{} - mi := &file_livekit_rtc_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_rtc_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrackSubscribed) String() string { @@ -3589,7 +3673,7 @@ func (*TrackSubscribed) ProtoMessage() {} func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[41] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4360,6 +4444,512 @@ func file_livekit_rtc_proto_init() { return } file_livekit_models_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_rtc_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*SignalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*SignalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*SimulcastCodec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*AddTrackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*TrickleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*MuteTrackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*JoinResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*ReconnectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*TrackPublishedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*TrackUnpublishedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*SessionDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*ParticipantUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*UpdateSubscription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*UpdateTrackSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*UpdateLocalAudioTrack); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*UpdateLocalVideoTrack); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*LeaveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*UpdateVideoLayers); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*UpdateParticipantMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*ICEServer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*SpeakersChanged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*RoomUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*ConnectionQualityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*ConnectionQualityUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*StreamStateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*StreamStateUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*SubscribedQuality); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*SubscribedCodec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*SubscribedQualityUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*TrackPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*SubscriptionPermission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[31].Exporter = func(v any, i int) any { + switch v := v.(*SubscriptionPermissionUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[32].Exporter = func(v any, i int) any { + switch v := v.(*SyncState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[33].Exporter = func(v any, i int) any { + switch v := v.(*DataChannelInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[34].Exporter = func(v any, i int) any { + switch v := v.(*SimulateScenario); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[35].Exporter = func(v any, i int) any { + switch v := v.(*Ping); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[36].Exporter = func(v any, i int) any { + switch v := v.(*Pong); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[37].Exporter = func(v any, i int) any { + switch v := v.(*RegionSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[38].Exporter = func(v any, i int) any { + switch v := v.(*RegionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[39].Exporter = func(v any, i int) any { + switch v := v.(*SubscriptionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[40].Exporter = func(v any, i int) any { + switch v := v.(*RequestResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_rtc_proto_msgTypes[41].Exporter = func(v any, i int) any { + switch v := v.(*TrackSubscribed); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_rtc_proto_msgTypes[0].OneofWrappers = []any{ (*SignalRequest_Offer)(nil), (*SignalRequest_Answer)(nil), diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index b2ae8b5e..dc761957 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_sip.proto package livekit @@ -271,9 +271,11 @@ type CreateSIPTrunkRequest struct { func (x *CreateSIPTrunkRequest) Reset() { *x = CreateSIPTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPTrunkRequest) String() string { @@ -284,7 +286,7 @@ func (*CreateSIPTrunkRequest) ProtoMessage() {} func (x *CreateSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -414,9 +416,11 @@ type SIPTrunkInfo struct { func (x *SIPTrunkInfo) Reset() { *x = SIPTrunkInfo{} - mi := &file_livekit_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPTrunkInfo) String() string { @@ -427,7 +431,7 @@ func (*SIPTrunkInfo) ProtoMessage() {} func (x *SIPTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -551,9 +555,11 @@ type CreateSIPInboundTrunkRequest struct { func (x *CreateSIPInboundTrunkRequest) Reset() { *x = CreateSIPInboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPInboundTrunkRequest) String() string { @@ -564,7 +570,7 @@ func (*CreateSIPInboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -622,9 +628,11 @@ type SIPInboundTrunkInfo struct { func (x *SIPInboundTrunkInfo) Reset() { *x = SIPInboundTrunkInfo{} - mi := &file_livekit_sip_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPInboundTrunkInfo) String() string { @@ -635,7 +643,7 @@ func (*SIPInboundTrunkInfo) ProtoMessage() {} func (x *SIPInboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -751,9 +759,11 @@ type CreateSIPOutboundTrunkRequest struct { func (x *CreateSIPOutboundTrunkRequest) Reset() { *x = CreateSIPOutboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPOutboundTrunkRequest) String() string { @@ -764,7 +774,7 @@ func (*CreateSIPOutboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -817,9 +827,11 @@ type SIPOutboundTrunkInfo struct { func (x *SIPOutboundTrunkInfo) Reset() { *x = SIPOutboundTrunkInfo{} - mi := &file_livekit_sip_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPOutboundTrunkInfo) String() string { @@ -830,7 +842,7 @@ func (*SIPOutboundTrunkInfo) ProtoMessage() {} func (x *SIPOutboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -925,9 +937,11 @@ type GetSIPInboundTrunkRequest struct { func (x *GetSIPInboundTrunkRequest) Reset() { *x = GetSIPInboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPInboundTrunkRequest) String() string { @@ -938,7 +952,7 @@ func (*GetSIPInboundTrunkRequest) ProtoMessage() {} func (x *GetSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -970,9 +984,11 @@ type GetSIPInboundTrunkResponse struct { func (x *GetSIPInboundTrunkResponse) Reset() { *x = GetSIPInboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPInboundTrunkResponse) String() string { @@ -983,7 +999,7 @@ func (*GetSIPInboundTrunkResponse) ProtoMessage() {} func (x *GetSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1015,9 +1031,11 @@ type GetSIPOutboundTrunkRequest struct { func (x *GetSIPOutboundTrunkRequest) Reset() { *x = GetSIPOutboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPOutboundTrunkRequest) String() string { @@ -1028,7 +1046,7 @@ func (*GetSIPOutboundTrunkRequest) ProtoMessage() {} func (x *GetSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1060,9 +1078,11 @@ type GetSIPOutboundTrunkResponse struct { func (x *GetSIPOutboundTrunkResponse) Reset() { *x = GetSIPOutboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPOutboundTrunkResponse) String() string { @@ -1073,7 +1093,7 @@ func (*GetSIPOutboundTrunkResponse) ProtoMessage() {} func (x *GetSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1104,9 +1124,11 @@ type ListSIPTrunkRequest struct { func (x *ListSIPTrunkRequest) Reset() { *x = ListSIPTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPTrunkRequest) String() string { @@ -1117,7 +1139,7 @@ func (*ListSIPTrunkRequest) ProtoMessage() {} func (x *ListSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1143,9 +1165,11 @@ type ListSIPTrunkResponse struct { func (x *ListSIPTrunkResponse) Reset() { *x = ListSIPTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPTrunkResponse) String() string { @@ -1156,7 +1180,7 @@ func (*ListSIPTrunkResponse) ProtoMessage() {} func (x *ListSIPTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1186,9 +1210,11 @@ type ListSIPInboundTrunkRequest struct { func (x *ListSIPInboundTrunkRequest) Reset() { *x = ListSIPInboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPInboundTrunkRequest) String() string { @@ -1199,7 +1225,7 @@ func (*ListSIPInboundTrunkRequest) ProtoMessage() {} func (x *ListSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1224,9 +1250,11 @@ type ListSIPInboundTrunkResponse struct { func (x *ListSIPInboundTrunkResponse) Reset() { *x = ListSIPInboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPInboundTrunkResponse) String() string { @@ -1237,7 +1265,7 @@ func (*ListSIPInboundTrunkResponse) ProtoMessage() {} func (x *ListSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1267,9 +1295,11 @@ type ListSIPOutboundTrunkRequest struct { func (x *ListSIPOutboundTrunkRequest) Reset() { *x = ListSIPOutboundTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPOutboundTrunkRequest) String() string { @@ -1280,7 +1310,7 @@ func (*ListSIPOutboundTrunkRequest) ProtoMessage() {} func (x *ListSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1305,9 +1335,11 @@ type ListSIPOutboundTrunkResponse struct { func (x *ListSIPOutboundTrunkResponse) Reset() { *x = ListSIPOutboundTrunkResponse{} - mi := &file_livekit_sip_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPOutboundTrunkResponse) String() string { @@ -1318,7 +1350,7 @@ func (*ListSIPOutboundTrunkResponse) ProtoMessage() {} func (x *ListSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1350,9 +1382,11 @@ type DeleteSIPTrunkRequest struct { func (x *DeleteSIPTrunkRequest) Reset() { *x = DeleteSIPTrunkRequest{} - mi := &file_livekit_sip_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteSIPTrunkRequest) String() string { @@ -1363,7 +1397,7 @@ func (*DeleteSIPTrunkRequest) ProtoMessage() {} func (x *DeleteSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1398,9 +1432,11 @@ type SIPDispatchRuleDirect struct { func (x *SIPDispatchRuleDirect) Reset() { *x = SIPDispatchRuleDirect{} - mi := &file_livekit_sip_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleDirect) String() string { @@ -1411,7 +1447,7 @@ func (*SIPDispatchRuleDirect) ProtoMessage() {} func (x *SIPDispatchRuleDirect) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1453,9 +1489,11 @@ type SIPDispatchRuleIndividual struct { func (x *SIPDispatchRuleIndividual) Reset() { *x = SIPDispatchRuleIndividual{} - mi := &file_livekit_sip_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleIndividual) String() string { @@ -1466,7 +1504,7 @@ func (*SIPDispatchRuleIndividual) ProtoMessage() {} func (x *SIPDispatchRuleIndividual) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1510,9 +1548,11 @@ type SIPDispatchRuleCallee struct { func (x *SIPDispatchRuleCallee) Reset() { *x = SIPDispatchRuleCallee{} - mi := &file_livekit_sip_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleCallee) String() string { @@ -1523,7 +1563,7 @@ func (*SIPDispatchRuleCallee) ProtoMessage() {} func (x *SIPDispatchRuleCallee) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1574,9 +1614,11 @@ type SIPDispatchRule struct { func (x *SIPDispatchRule) Reset() { *x = SIPDispatchRule{} - mi := &file_livekit_sip_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRule) String() string { @@ -1587,7 +1629,7 @@ func (*SIPDispatchRule) ProtoMessage() {} func (x *SIPDispatchRule) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1683,9 +1725,11 @@ type CreateSIPDispatchRuleRequest struct { func (x *CreateSIPDispatchRuleRequest) Reset() { *x = CreateSIPDispatchRuleRequest{} - mi := &file_livekit_sip_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPDispatchRuleRequest) String() string { @@ -1696,7 +1740,7 @@ func (*CreateSIPDispatchRuleRequest) ProtoMessage() {} func (x *CreateSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1783,9 +1827,11 @@ type SIPDispatchRuleInfo struct { func (x *SIPDispatchRuleInfo) Reset() { *x = SIPDispatchRuleInfo{} - mi := &file_livekit_sip_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPDispatchRuleInfo) String() string { @@ -1796,7 +1842,7 @@ func (*SIPDispatchRuleInfo) ProtoMessage() {} func (x *SIPDispatchRuleInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1875,9 +1921,11 @@ type ListSIPDispatchRuleRequest struct { func (x *ListSIPDispatchRuleRequest) Reset() { *x = ListSIPDispatchRuleRequest{} - mi := &file_livekit_sip_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPDispatchRuleRequest) String() string { @@ -1888,7 +1936,7 @@ func (*ListSIPDispatchRuleRequest) ProtoMessage() {} func (x *ListSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1913,9 +1961,11 @@ type ListSIPDispatchRuleResponse struct { func (x *ListSIPDispatchRuleResponse) Reset() { *x = ListSIPDispatchRuleResponse{} - mi := &file_livekit_sip_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListSIPDispatchRuleResponse) String() string { @@ -1926,7 +1976,7 @@ func (*ListSIPDispatchRuleResponse) ProtoMessage() {} func (x *ListSIPDispatchRuleResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1958,9 +2008,11 @@ type DeleteSIPDispatchRuleRequest struct { func (x *DeleteSIPDispatchRuleRequest) Reset() { *x = DeleteSIPDispatchRuleRequest{} - mi := &file_livekit_sip_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteSIPDispatchRuleRequest) String() string { @@ -1971,7 +2023,7 @@ func (*DeleteSIPDispatchRuleRequest) ProtoMessage() {} func (x *DeleteSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2004,6 +2056,8 @@ type CreateSIPParticipantRequest struct { SipTrunkId string `protobuf:"bytes,1,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` // What number should be dialed via SIP SipCallTo string `protobuf:"bytes,2,opt,name=sip_call_to,json=sipCallTo,proto3" json:"sip_call_to,omitempty"` + // Optional SIP From number to use. If empty, trunk number is used. + SipNumber string `protobuf:"bytes,15,opt,name=sip_number,json=sipNumber,proto3" json:"sip_number,omitempty"` // What LiveKit room should this participant be connected too RoomName string `protobuf:"bytes,3,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` // Optional identity of the participant in LiveKit room @@ -2030,14 +2084,16 @@ type CreateSIPParticipantRequest struct { // Max call duration. MaxCallDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` // Enable voice isolation for the callee. - EnableKrisp bool `protobuf:"varint,14,opt,name=enable_krisp,json=enableKrisp,proto3" json:"enable_krisp,omitempty"` // NEXT ID: 15 + EnableKrisp bool `protobuf:"varint,14,opt,name=enable_krisp,json=enableKrisp,proto3" json:"enable_krisp,omitempty"` // NEXT ID: 16 } func (x *CreateSIPParticipantRequest) Reset() { *x = CreateSIPParticipantRequest{} - mi := &file_livekit_sip_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateSIPParticipantRequest) String() string { @@ -2048,7 +2104,7 @@ func (*CreateSIPParticipantRequest) ProtoMessage() {} func (x *CreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2077,6 +2133,13 @@ func (x *CreateSIPParticipantRequest) GetSipCallTo() string { return "" } +func (x *CreateSIPParticipantRequest) GetSipNumber() string { + if x != nil { + return x.SipNumber + } + return "" +} + func (x *CreateSIPParticipantRequest) GetRoomName() string { if x != nil { return x.RoomName @@ -2175,9 +2238,11 @@ type SIPParticipantInfo struct { func (x *SIPParticipantInfo) Reset() { *x = SIPParticipantInfo{} - mi := &file_livekit_sip_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPParticipantInfo) String() string { @@ -2188,7 +2253,7 @@ func (*SIPParticipantInfo) ProtoMessage() {} func (x *SIPParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2245,9 +2310,11 @@ type TransferSIPParticipantRequest struct { func (x *TransferSIPParticipantRequest) Reset() { *x = TransferSIPParticipantRequest{} - mi := &file_livekit_sip_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TransferSIPParticipantRequest) String() string { @@ -2258,7 +2325,7 @@ func (*TransferSIPParticipantRequest) ProtoMessage() {} func (x *TransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2324,9 +2391,11 @@ type SIPCallInfo struct { func (x *SIPCallInfo) Reset() { *x = SIPCallInfo{} - mi := &file_livekit_sip_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPCallInfo) String() string { @@ -2337,7 +2406,7 @@ func (*SIPCallInfo) ProtoMessage() {} func (x *SIPCallInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2464,9 +2533,11 @@ type SIPUri struct { func (x *SIPUri) Reset() { *x = SIPUri{} - mi := &file_livekit_sip_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_sip_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SIPUri) String() string { @@ -2477,7 +2548,7 @@ func (*SIPUri) ProtoMessage() {} func (x *SIPUri) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2845,220 +2916,222 @@ var file_livekit_sip_proto_rawDesc = []byte{ 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x14, 0x73, 0x69, 0x70, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x69, 0x70, 0x44, 0x69, - 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x8b, 0x06, 0x0a, + 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0xaa, 0x06, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x73, 0x69, 0x70, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x69, 0x70, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x12, 0x1b, - 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x70, - 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, - 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x29, - 0x0a, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, - 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, - 0x70, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x76, 0x0a, 0x16, - 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, - 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x41, 0x74, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x15, 0x70, - 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x6d, 0x66, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x6d, 0x66, 0x12, 0x27, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, - 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x69, 0x6e, 0x67, 0x74, 0x6f, 0x6e, - 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x64, 0x69, 0x61, 0x6c, 0x74, 0x6f, - 0x6e, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x44, 0x69, - 0x61, 0x6c, 0x74, 0x6f, 0x6e, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, - 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0f, 0x68, 0x69, 0x64, 0x65, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0f, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x6e, 0x67, 0x54, - 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x45, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x61, - 0x6c, 0x6c, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x6d, 0x61, - 0x78, 0x43, 0x61, 0x6c, 0x6c, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, - 0x0c, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6b, 0x72, 0x69, 0x73, 0x70, 0x18, 0x0e, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0b, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x72, 0x69, 0x73, 0x70, - 0x1a, 0x48, 0x0a, 0x1a, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x41, - 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xab, 0x01, 0x0a, 0x12, 0x53, - 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, - 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, - 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, - 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x69, 0x70, 0x5f, - 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, - 0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x22, 0xb5, 0x01, 0x0a, 0x1d, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, - 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, - 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, - 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x70, - 0x6c, 0x61, 0x79, 0x5f, 0x64, 0x69, 0x61, 0x6c, 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x44, 0x69, 0x61, 0x6c, 0x74, 0x6f, 0x6e, 0x65, - 0x22, 0xae, 0x04, 0x0a, 0x0b, 0x53, 0x49, 0x50, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x75, - 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x75, - 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x12, 0x1d, + 0x0a, 0x0a, 0x73, 0x69, 0x70, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x70, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, + 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2a, 0x0a, - 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0f, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x55, 0x72, 0x69, - 0x52, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x72, 0x69, 0x12, 0x26, 0x0a, 0x06, 0x74, 0x6f, 0x5f, - 0x75, 0x72, 0x69, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x55, 0x72, 0x69, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x72, - 0x69, 0x12, 0x3e, 0x0a, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x52, 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x53, 0x49, 0x50, 0x43, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, - 0x63, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x65, - 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x10, 0x64, 0x69, 0x73, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x22, 0x89, 0x01, 0x0a, 0x06, 0x53, 0x49, 0x50, 0x55, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, - 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, - 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x68, 0x6f, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, - 0x72, 0x74, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2a, 0x6b, 0x0a, - 0x0c, 0x53, 0x49, 0x50, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, - 0x12, 0x53, 0x49, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x41, - 0x55, 0x54, 0x4f, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x49, 0x50, 0x5f, 0x54, 0x52, 0x41, - 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x55, 0x44, 0x50, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, - 0x53, 0x49, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x43, - 0x50, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x49, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, - 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x4c, 0x53, 0x10, 0x03, 0x2a, 0x77, 0x0a, 0x0d, 0x53, 0x49, - 0x50, 0x43, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x0a, 0x11, 0x53, - 0x43, 0x53, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x49, 0x4e, 0x47, - 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x43, 0x53, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x43, - 0x49, 0x50, 0x41, 0x4e, 0x54, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0e, - 0x0a, 0x0a, 0x53, 0x43, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x14, - 0x0a, 0x10, 0x53, 0x43, 0x53, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, - 0x45, 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, - 0x52, 0x10, 0x04, 0x2a, 0x29, 0x0a, 0x0a, 0x53, 0x49, 0x50, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4b, - 0x52, 0x49, 0x53, 0x50, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x32, 0xba, - 0x09, 0x0a, 0x03, 0x53, 0x49, 0x50, 0x12, 0x50, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, - 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x03, 0x88, 0x02, 0x01, 0x12, 0x5c, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, - 0x6b, 0x12, 0x25, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, - 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5f, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, + 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, + 0x70, 0x61, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x76, 0x0a, 0x16, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x15, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x6d, 0x66, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x64, 0x74, 0x6d, 0x66, 0x12, 0x27, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x5f, + 0x72, 0x69, 0x6e, 0x67, 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x69, 0x6e, 0x67, 0x74, 0x6f, 0x6e, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x64, 0x69, 0x61, 0x6c, 0x74, 0x6f, 0x6e, + 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x44, 0x69, 0x61, + 0x6c, 0x74, 0x6f, 0x6e, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x68, + 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x68, 0x69, 0x64, 0x65, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x12, 0x42, 0x0a, 0x0f, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x6e, 0x67, 0x54, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x45, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x61, 0x6c, + 0x6c, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x6d, 0x61, 0x78, + 0x43, 0x61, 0x6c, 0x6c, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, + 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6b, 0x72, 0x69, 0x73, 0x70, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0b, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x72, 0x69, 0x73, 0x70, 0x1a, + 0x48, 0x0a, 0x1a, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xab, 0x01, 0x0a, 0x12, 0x53, 0x49, + 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, + 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, + 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, + 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x69, 0x70, 0x5f, 0x63, + 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, + 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x22, 0xb5, 0x01, 0x0a, 0x1d, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, + 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, + 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, + 0x61, 0x79, 0x5f, 0x64, 0x69, 0x61, 0x6c, 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x44, 0x69, 0x61, 0x6c, 0x74, 0x6f, 0x6e, 0x65, 0x22, + 0xae, 0x04, 0x0a, 0x0b, 0x53, 0x49, 0x50, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x75, 0x6e, + 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x75, 0x6e, + 0x6b, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, + 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2a, 0x0a, 0x08, + 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x55, 0x72, 0x69, 0x52, + 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x55, 0x72, 0x69, 0x12, 0x26, 0x0a, 0x06, 0x74, 0x6f, 0x5f, 0x75, + 0x72, 0x69, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, + 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x55, 0x72, 0x69, 0x52, 0x05, 0x74, 0x6f, 0x55, 0x72, 0x69, + 0x12, 0x3e, 0x0a, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, + 0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, + 0x12, 0x37, 0x0a, 0x0b, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x53, 0x49, 0x50, 0x43, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x63, + 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x65, 0x64, + 0x41, 0x74, 0x12, 0x46, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x10, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x22, 0x89, 0x01, 0x0a, 0x06, 0x53, 0x49, 0x50, 0x55, 0x72, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x75, + 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, + 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, + 0x6f, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, + 0x74, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2a, 0x6b, 0x0a, 0x0c, + 0x53, 0x49, 0x50, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x12, + 0x53, 0x49, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x41, 0x55, + 0x54, 0x4f, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x49, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, + 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x55, 0x44, 0x50, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, + 0x49, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x43, 0x50, + 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x49, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50, + 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x4c, 0x53, 0x10, 0x03, 0x2a, 0x77, 0x0a, 0x0d, 0x53, 0x49, 0x50, + 0x43, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x43, + 0x53, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x49, 0x4e, 0x47, 0x10, + 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x43, 0x53, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x43, 0x49, + 0x50, 0x41, 0x4e, 0x54, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0e, 0x0a, + 0x0a, 0x53, 0x43, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x14, 0x0a, + 0x10, 0x53, 0x43, 0x53, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, + 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x10, 0x04, 0x2a, 0x29, 0x0a, 0x0a, 0x53, 0x49, 0x50, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4b, 0x52, + 0x49, 0x53, 0x50, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x32, 0xba, 0x09, + 0x0a, 0x03, 0x53, 0x49, 0x50, 0x12, 0x50, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, + 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x03, 0x88, 0x02, 0x01, 0x12, 0x5c, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, + 0x12, 0x25, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, + 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5f, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, + 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, + 0x26, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, - 0x12, 0x26, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, - 0x75, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x49, - 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, 0x22, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x49, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, + 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, + 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, 0x22, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, + 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, + 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x4f, + 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, 0x23, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x53, - 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, - 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, 0x23, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x4f, 0x75, - 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x65, 0x74, - 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, - 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, - 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, - 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x14, 0x4c, 0x69, - 0x73, 0x74, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, - 0x6e, 0x6b, 0x12, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x1a, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x53, + 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, + 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, 0x23, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, + 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, - 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x47, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, - 0x6b, 0x12, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x54, - 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5c, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, - 0x65, 0x12, 0x25, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, - 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x60, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, - 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x23, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x44, - 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, - 0x65, 0x12, 0x25, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, - 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x59, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x24, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, - 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x58, 0x0a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x49, 0x50, - 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x49, + 0x6b, 0x12, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, + 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, + 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, + 0x12, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x54, 0x72, + 0x75, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5c, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, + 0x12, 0x25, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x60, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, + 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x23, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x44, 0x69, + 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x24, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, + 0x12, 0x25, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x59, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, + 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x24, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x46, 0x5a, 0x23, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, + 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x58, 0x0a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x49, 0x50, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x49, 0x50, + 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x46, 0x5a, 0x23, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0xaa, 0x02, 0x0d, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0xea, 0x02, 0x0e, 0x4c, 0x69, 0x76, 0x65, 0x4b, 0x69, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3195,6 +3268,380 @@ func file_livekit_sip_proto_init() { return } file_livekit_models_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_sip_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*CreateSIPTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*SIPTrunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*CreateSIPInboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*SIPInboundTrunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*CreateSIPOutboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*SIPOutboundTrunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*GetSIPInboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*GetSIPInboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*GetSIPOutboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*GetSIPOutboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[10].Exporter = func(v any, i int) any { + switch v := v.(*ListSIPTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*ListSIPTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*ListSIPInboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[13].Exporter = func(v any, i int) any { + switch v := v.(*ListSIPInboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[14].Exporter = func(v any, i int) any { + switch v := v.(*ListSIPOutboundTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[15].Exporter = func(v any, i int) any { + switch v := v.(*ListSIPOutboundTrunkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[16].Exporter = func(v any, i int) any { + switch v := v.(*DeleteSIPTrunkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[17].Exporter = func(v any, i int) any { + switch v := v.(*SIPDispatchRuleDirect); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*SIPDispatchRuleIndividual); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*SIPDispatchRuleCallee); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*SIPDispatchRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*CreateSIPDispatchRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[22].Exporter = func(v any, i int) any { + switch v := v.(*SIPDispatchRuleInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[23].Exporter = func(v any, i int) any { + switch v := v.(*ListSIPDispatchRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[24].Exporter = func(v any, i int) any { + switch v := v.(*ListSIPDispatchRuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[25].Exporter = func(v any, i int) any { + switch v := v.(*DeleteSIPDispatchRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[26].Exporter = func(v any, i int) any { + switch v := v.(*CreateSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[27].Exporter = func(v any, i int) any { + switch v := v.(*SIPParticipantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[28].Exporter = func(v any, i int) any { + switch v := v.(*TransferSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[29].Exporter = func(v any, i int) any { + switch v := v.(*SIPCallInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_livekit_sip_proto_msgTypes[30].Exporter = func(v any, i int) any { + switch v := v.(*SIPUri); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_livekit_sip_proto_msgTypes[20].OneofWrappers = []any{ (*SIPDispatchRule_DispatchRuleDirect)(nil), (*SIPDispatchRule_DispatchRuleIndividual)(nil), diff --git a/livekit/livekit_sip.twirp.go b/livekit/livekit_sip.twirp.go index 9283e7ef..c52c1c50 100644 --- a/livekit/livekit_sip.twirp.go +++ b/livekit/livekit_sip.twirp.go @@ -3868,152 +3868,152 @@ func (s *sIPServer) PathPrefix() string { } var twirpFileDescriptor4 = []byte{ - // 2341 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xdd, 0x6e, 0xdb, 0xc8, - 0x15, 0x8e, 0xfe, 0xa5, 0x23, 0x5b, 0x96, 0xc7, 0x3f, 0x2b, 0xcb, 0x76, 0x92, 0x2a, 0x9b, 0x4d, - 0xe2, 0x5d, 0x28, 0xa8, 0x82, 0x6e, 0xdb, 0x00, 0xbb, 0x85, 0x2c, 0x29, 0x89, 0x1a, 0xaf, 0xa4, - 0x52, 0x72, 0xd1, 0x2d, 0xb6, 0x65, 0x69, 0x71, 0x6c, 0x4f, 0x2d, 0x91, 0x2c, 0x39, 0x4a, 0xe2, - 0x5e, 0xb7, 0x40, 0x8b, 0x3e, 0x45, 0x51, 0xa0, 0x17, 0x2d, 0xd0, 0xbb, 0xde, 0xf4, 0x2d, 0xfa, - 0x00, 0x7d, 0x81, 0x3e, 0x45, 0x31, 0x3f, 0xa4, 0x48, 0x8a, 0xa2, 0xe5, 0x74, 0x17, 0xd8, 0x3b, - 0xf2, 0x3b, 0x67, 0xce, 0x1c, 0x9e, 0xf9, 0xce, 0x99, 0x39, 0x23, 0xc1, 0xe6, 0x84, 0xbc, 0xc1, - 0x57, 0x84, 0xaa, 0x0e, 0xb1, 0xea, 0x96, 0x6d, 0x52, 0x13, 0xe5, 0x24, 0x54, 0xbd, 0x7b, 0x61, - 0x9a, 0x17, 0x13, 0xfc, 0x94, 0xc3, 0x67, 0xb3, 0xf3, 0xa7, 0xfa, 0xcc, 0xd6, 0x28, 0x31, 0x0d, - 0xa1, 0x58, 0xdd, 0x0f, 0xcb, 0xf1, 0xd4, 0xa2, 0xd7, 0x52, 0xb8, 0xed, 0x1a, 0x9e, 0x9a, 0x3a, - 0x9e, 0x38, 0x02, 0xad, 0xfd, 0x27, 0x05, 0x3b, 0x2d, 0x1b, 0x6b, 0x14, 0x0f, 0xbb, 0x83, 0x91, - 0x3d, 0x33, 0xae, 0x14, 0xfc, 0x9b, 0x19, 0x76, 0x28, 0xfa, 0x18, 0x36, 0x89, 0x71, 0x66, 0xce, - 0x0c, 0x5d, 0xd5, 0x74, 0xdd, 0xc6, 0x8e, 0x83, 0x9d, 0x4a, 0xe2, 0x7e, 0xea, 0x71, 0x41, 0x29, - 0x4b, 0x41, 0xd3, 0xc5, 0xd1, 0x13, 0x28, 0x9b, 0x33, 0x1a, 0xd0, 0xae, 0x24, 0xef, 0x27, 0x1e, - 0x17, 0x94, 0x0d, 0x17, 0x97, 0xca, 0xe8, 0x11, 0x78, 0x90, 0x6a, 0xcc, 0xa6, 0x67, 0xd8, 0xae, - 0xa4, 0xb8, 0x66, 0xc9, 0x85, 0x7b, 0x1c, 0x45, 0x9f, 0xc2, 0x8e, 0xeb, 0x80, 0xd0, 0x73, 0x54, - 0x1b, 0x5f, 0xe0, 0x77, 0x95, 0x34, 0x73, 0xe2, 0x38, 0x59, 0x49, 0x28, 0x5b, 0x52, 0x41, 0x8c, - 0x70, 0x14, 0x26, 0x66, 0x13, 0x84, 0xc6, 0x55, 0x0a, 0xdc, 0xed, 0x52, 0x50, 0x9b, 0x39, 0xed, - 0x2a, 0xce, 0x1c, 0x6c, 0x1b, 0xda, 0x14, 0x57, 0x32, 0xc2, 0x69, 0x89, 0x9f, 0x4a, 0xd8, 0xaf, - 0x6a, 0x69, 0x8e, 0xf3, 0xd6, 0xb4, 0xf5, 0x4a, 0x36, 0xa0, 0x3a, 0x90, 0x30, 0x8b, 0x9b, 0xf7, - 0x7d, 0x9e, 0xd9, 0x1c, 0xd7, 0xf5, 0x62, 0xe4, 0xd9, 0xf5, 0x2b, 0x7b, 0x86, 0xf3, 0x41, 0x65, - 0xcf, 0x32, 0x82, 0x34, 0x37, 0x06, 0x5c, 0xce, 0x9f, 0x51, 0x15, 0xf2, 0x53, 0x4c, 0x35, 0x5d, - 0xa3, 0x5a, 0xa5, 0xc8, 0x71, 0xef, 0xfd, 0x79, 0xb2, 0x92, 0xa8, 0xfd, 0x35, 0x03, 0x6b, 0xee, - 0xca, 0x76, 0x8d, 0x73, 0x13, 0xdd, 0x87, 0x35, 0x87, 0x58, 0x2a, 0x65, 0x80, 0x4a, 0xf4, 0x4a, - 0x82, 0x0f, 0x02, 0x87, 0x58, 0x42, 0x47, 0x47, 0xcf, 0x20, 0x7d, 0x45, 0x0c, 0xbd, 0x52, 0xba, - 0x9f, 0x78, 0x5c, 0x6a, 0xdc, 0xab, 0x4b, 0xde, 0xd4, 0xfd, 0x66, 0xea, 0xfc, 0xe9, 0x35, 0x31, - 0x74, 0x85, 0x2b, 0x47, 0xb3, 0x25, 0x79, 0x0b, 0xb6, 0xa4, 0x56, 0x66, 0x4b, 0x3a, 0x92, 0x2d, - 0xcf, 0xa0, 0x40, 0x6d, 0xcd, 0x70, 0x2c, 0xd3, 0xa6, 0x95, 0x75, 0xee, 0xfa, 0x4e, 0xd0, 0x75, - 0x29, 0x54, 0xe6, 0x7a, 0xcb, 0x29, 0x96, 0xb9, 0x35, 0xc5, 0x60, 0x65, 0x8a, 0x65, 0x57, 0xa7, - 0x58, 0xee, 0x16, 0x14, 0xcb, 0xdf, 0x86, 0x62, 0x85, 0x1b, 0x28, 0x56, 0x5c, 0x42, 0xb1, 0xb5, - 0x20, 0xc5, 0x6a, 0x6d, 0x28, 0x78, 0x4c, 0x40, 0x65, 0x58, 0x1b, 0x29, 0xa7, 0xbd, 0xd7, 0xea, - 0x49, 0xe7, 0x65, 0xb3, 0xf5, 0x65, 0xf9, 0x0e, 0xda, 0x84, 0x75, 0x81, 0x74, 0x7b, 0xc7, 0xfd, - 0xd3, 0x5e, 0xbb, 0x9c, 0x40, 0x08, 0x4a, 0x02, 0xea, 0x9f, 0x8e, 0x04, 0x96, 0xe4, 0x44, 0x55, - 0xe0, 0xc0, 0xab, 0x43, 0x5d, 0xf1, 0xbd, 0x81, 0x72, 0xd4, 0x80, 0x0c, 0xe7, 0x2c, 0x27, 0x6c, - 0xb1, 0x71, 0xe0, 0x5f, 0x5b, 0xbf, 0x3e, 0x63, 0xa7, 0x22, 0x54, 0x6b, 0xbf, 0xcf, 0xc2, 0x56, - 0x84, 0x78, 0x85, 0x1c, 0x70, 0xe3, 0x90, 0x5c, 0x12, 0x87, 0x54, 0x30, 0x0e, 0xa8, 0x02, 0x39, - 0x97, 0x08, 0xbc, 0x3a, 0x29, 0xee, 0x2b, 0x0b, 0xbf, 0x36, 0x99, 0x98, 0x6f, 0xb1, 0x3f, 0x31, - 0x32, 0x22, 0x31, 0xa4, 0x60, 0x9e, 0x18, 0x8f, 0x60, 0xc3, 0x55, 0x76, 0xcd, 0x65, 0x05, 0xaf, - 0x24, 0xec, 0xf2, 0xea, 0x01, 0xac, 0x6b, 0x33, 0x7a, 0x19, 0x2e, 0x30, 0x6b, 0x0c, 0xf4, 0x56, - 0xde, 0x55, 0x0a, 0x15, 0x16, 0xae, 0xe4, 0xad, 0x78, 0x0b, 0x72, 0x97, 0x58, 0xd3, 0xdd, 0x2a, - 0x59, 0x6c, 0x3c, 0x89, 0x8b, 0x6c, 0xfd, 0x95, 0xd0, 0xed, 0x18, 0xd4, 0xbe, 0x56, 0xdc, 0x91, - 0x88, 0xc0, 0x8e, 0x7c, 0x54, 0xa9, 0xa9, 0x6a, 0x94, 0xda, 0xe4, 0x6c, 0x46, 0xb1, 0xc8, 0x8a, - 0x62, 0xe3, 0x7b, 0xab, 0x98, 0x1c, 0x99, 0x4d, 0x6f, 0x9c, 0x30, 0xbf, 0x75, 0xb9, 0x28, 0x41, - 0xc7, 0xb0, 0x61, 0x13, 0xe3, 0x82, 0x18, 0x17, 0x2a, 0x25, 0x53, 0x6c, 0xce, 0x28, 0x27, 0x6b, - 0xb1, 0xb1, 0x57, 0x17, 0xbb, 0x5f, 0xdd, 0xdd, 0xfd, 0xea, 0x6d, 0xb9, 0x3b, 0x2a, 0x25, 0x39, - 0x62, 0x24, 0x06, 0xa0, 0x0e, 0x6c, 0x4e, 0xb5, 0x77, 0xea, 0x58, 0x9b, 0x4c, 0x54, 0x77, 0x0b, - 0xe5, 0xd4, 0x8e, 0xb5, 0xb2, 0x31, 0xd5, 0xde, 0xb5, 0xb4, 0xc9, 0xc4, 0x05, 0x58, 0x7c, 0xaf, - 0x6c, 0xe2, 0x58, 0x2a, 0x36, 0xb4, 0xb3, 0x09, 0xd6, 0x79, 0xd9, 0xc9, 0x2b, 0x6b, 0x1c, 0xec, - 0x08, 0xac, 0xfa, 0x1c, 0xd6, 0xfc, 0x31, 0x43, 0x65, 0x48, 0x5d, 0xe1, 0x6b, 0x49, 0x39, 0xf6, - 0x88, 0xb6, 0x21, 0xf3, 0x46, 0x9b, 0xcc, 0x5c, 0xb2, 0x89, 0x97, 0xe7, 0xc9, 0x1f, 0x24, 0xaa, - 0x2f, 0xa0, 0xb2, 0x2c, 0x38, 0xb7, 0xb1, 0x53, 0x1b, 0xc1, 0xa1, 0x97, 0x5b, 0x7d, 0x99, 0xf2, - 0x81, 0xe4, 0x7a, 0x16, 0x4c, 0xae, 0x43, 0xff, 0x7a, 0x05, 0x06, 0xf8, 0xb3, 0xeb, 0xdf, 0x69, - 0xd8, 0x8e, 0x92, 0x7f, 0x33, 0xe9, 0xe5, 0xee, 0x13, 0xa2, 0xfa, 0xbb, 0xaf, 0xc1, 0xb2, 0x9f, - 0x59, 0xb1, 0xec, 0xfb, 0xb2, 0x35, 0x1b, 0xcc, 0xd6, 0xaf, 0x2f, 0xaf, 0xda, 0xe1, 0xbc, 0x3a, - 0x8a, 0x0d, 0xea, 0x92, 0xc4, 0xfa, 0x75, 0x7c, 0x62, 0x7d, 0xba, 0x92, 0xcd, 0xd5, 0x32, 0xeb, - 0x5b, 0xc1, 0xd4, 0xcf, 0x60, 0xef, 0x25, 0xa6, 0x4b, 0xb6, 0x80, 0x1b, 0x79, 0x55, 0x1b, 0x40, - 0x35, 0x6a, 0xb8, 0x63, 0x99, 0x86, 0x83, 0xdf, 0x6b, 0x0b, 0xf9, 0xdc, 0xb5, 0x18, 0x99, 0x37, - 0x37, 0x7b, 0xa4, 0xc0, 0x7e, 0xe4, 0x78, 0xe9, 0xd2, 0x7b, 0x25, 0xde, 0x1e, 0x6c, 0x9d, 0x10, - 0x87, 0x86, 0x0e, 0xec, 0x7c, 0x17, 0x7d, 0x09, 0xdb, 0x41, 0x91, 0x9c, 0xe7, 0x63, 0xc8, 0x10, - 0x8a, 0xa7, 0xe2, 0x00, 0x5f, 0x0c, 0xa7, 0x88, 0x67, 0x9f, 0xeb, 0x70, 0x43, 0x07, 0x50, 0x95, - 0x86, 0x22, 0x56, 0xa2, 0xf6, 0x13, 0xd8, 0x8f, 0x94, 0xce, 0x03, 0xed, 0x9f, 0xed, 0x86, 0x40, - 0x73, 0xd5, 0xda, 0xa1, 0x67, 0x32, 0x2a, 0xd2, 0xb5, 0x21, 0x1c, 0x44, 0x8b, 0xe7, 0x81, 0xf4, - 0x4f, 0x79, 0x53, 0x20, 0xc5, 0x9c, 0x3f, 0x84, 0x9d, 0x36, 0x9e, 0xe0, 0xc5, 0xde, 0xe7, 0xe6, - 0x75, 0x7d, 0x01, 0x3b, 0xc3, 0xee, 0xa0, 0x4d, 0x1c, 0x4b, 0xa3, 0xe3, 0x4b, 0x65, 0x36, 0xc1, - 0x6d, 0x62, 0xe3, 0x31, 0x45, 0xfb, 0x50, 0xb0, 0x4d, 0x73, 0xaa, 0xf2, 0xea, 0x21, 0xc6, 0xe5, - 0x19, 0xd0, 0x63, 0x95, 0xa3, 0x0c, 0x29, 0x8b, 0x18, 0x92, 0xf6, 0xec, 0xb1, 0xd6, 0x83, 0xbd, - 0x90, 0x9d, 0xae, 0xa1, 0x93, 0x37, 0x44, 0x9f, 0x69, 0x13, 0x74, 0x0f, 0x8a, 0xdc, 0x96, 0x65, - 0xe3, 0x73, 0xf2, 0xce, 0xf5, 0x82, 0x41, 0x03, 0x8e, 0x44, 0xd8, 0xbb, 0x5c, 0xf0, 0x8b, 0x6d, - 0x59, 0x18, 0xbf, 0x87, 0x2d, 0x74, 0x00, 0x05, 0x5b, 0x33, 0x74, 0x73, 0x4a, 0x7e, 0x8b, 0x79, - 0x49, 0xce, 0x2b, 0x73, 0xa0, 0xf6, 0xe7, 0x24, 0x6c, 0x84, 0xa6, 0x42, 0x0a, 0x6c, 0xeb, 0xf2, - 0x5d, 0xb5, 0x67, 0x13, 0xac, 0xea, 0x3c, 0x28, 0x92, 0xdd, 0x77, 0xfd, 0x8b, 0xb2, 0x18, 0xba, - 0x57, 0x77, 0x14, 0xa4, 0x2f, 0x06, 0xf4, 0x97, 0x50, 0x09, 0xda, 0x24, 0x5e, 0x80, 0xb8, 0xb3, - 0xc5, 0x46, 0x6d, 0x99, 0xdd, 0x79, 0x28, 0x5f, 0xdd, 0x51, 0x76, 0xf5, 0xe8, 0x20, 0x2f, 0xf8, - 0x3c, 0xe6, 0x01, 0xe3, 0x1f, 0x1c, 0xe3, 0xb3, 0x08, 0x6b, 0xd8, 0x67, 0x81, 0x1e, 0x67, 0x21, - 0xcd, 0x4c, 0xd5, 0x7e, 0x97, 0xf2, 0x9d, 0x6a, 0xfd, 0xa3, 0x5d, 0xa2, 0x7d, 0x22, 0x14, 0x65, - 0x80, 0x2a, 0xcb, 0x26, 0x53, 0xb8, 0x16, 0xe3, 0x96, 0x4b, 0x49, 0xb7, 0xb9, 0xca, 0x53, 0x41, - 0x48, 0x07, 0x1d, 0xc1, 0xe6, 0x25, 0xd1, 0xb1, 0x6a, 0x5d, 0x9a, 0x06, 0xf6, 0x77, 0xd6, 0x79, - 0x65, 0x83, 0x09, 0x06, 0x0c, 0x97, 0xcd, 0x52, 0x44, 0xff, 0x92, 0x8d, 0xec, 0x5f, 0xdc, 0x8d, - 0x3a, 0xbd, 0x64, 0xa3, 0xce, 0x84, 0x36, 0xea, 0x53, 0x00, 0xdf, 0x26, 0x95, 0x0b, 0x9d, 0xfe, - 0xe2, 0x42, 0x51, 0x0f, 0xef, 0x51, 0x3e, 0x43, 0xd5, 0xcf, 0x60, 0xe3, 0xff, 0xd9, 0x55, 0xfe, - 0x92, 0xe2, 0x7d, 0x40, 0x90, 0x1a, 0xe7, 0x26, 0x7a, 0x0a, 0xdb, 0x2c, 0xcd, 0x43, 0xf4, 0x72, - 0xd3, 0x7d, 0xd3, 0x21, 0x56, 0x60, 0x88, 0xee, 0x2d, 0x57, 0xf2, 0xf6, 0xcb, 0x95, 0x5a, 0x65, - 0xb9, 0xd2, 0x2b, 0x2f, 0x57, 0x2e, 0x76, 0xb9, 0x32, 0x4b, 0x96, 0x2b, 0x1b, 0x5a, 0xae, 0x93, - 0xc0, 0x72, 0xe5, 0xf9, 0x72, 0x7d, 0xb2, 0x3c, 0x9b, 0xce, 0xcd, 0x6f, 0x72, 0x95, 0xe6, 0x5b, - 0x4e, 0x04, 0x3d, 0x7c, 0x5b, 0x4e, 0x50, 0xba, 0xc2, 0x96, 0x13, 0xfe, 0x08, 0xb7, 0xfc, 0xf7, - 0xe1, 0xc0, 0x2b, 0xff, 0x51, 0xc9, 0x79, 0x5b, 0x7a, 0xd4, 0xfe, 0x94, 0x85, 0x7d, 0x8f, 0xe3, - 0x03, 0xcd, 0xa6, 0x64, 0x4c, 0x2c, 0xcd, 0xa0, 0x2b, 0x6f, 0x2b, 0xe8, 0x2e, 0x14, 0x99, 0x06, - 0xef, 0x4c, 0xa8, 0x29, 0x63, 0x54, 0x70, 0x88, 0xc5, 0x0a, 0xcb, 0xc8, 0x0c, 0xee, 0x2e, 0xa9, - 0xd0, 0xee, 0xf2, 0x5d, 0xd8, 0xb6, 0xe6, 0x93, 0xaa, 0x44, 0xc7, 0x06, 0x25, 0xf4, 0x5a, 0x26, - 0xef, 0x96, 0x4f, 0xd6, 0x95, 0x22, 0xf4, 0x04, 0xca, 0xfe, 0x21, 0xbe, 0x23, 0xef, 0x86, 0x0f, - 0x8f, 0xb2, 0xee, 0x71, 0x2a, 0xbf, 0x60, 0xfd, 0x0b, 0x97, 0x5e, 0x6f, 0x60, 0xd7, 0x3f, 0xc4, - 0x47, 0x35, 0x71, 0x24, 0xfe, 0xd1, 0x62, 0x65, 0x58, 0x8c, 0x5a, 0xdd, 0x07, 0x85, 0xd9, 0xb7, - 0x63, 0x45, 0xc9, 0x58, 0x1a, 0xe8, 0x74, 0x7a, 0xee, 0xa6, 0x01, 0x7b, 0x46, 0x8f, 0x60, 0xdd, - 0x9a, 0x68, 0xd7, 0x2a, 0x6b, 0x05, 0xa9, 0x69, 0x88, 0x6b, 0x98, 0x3c, 0xbf, 0xe2, 0x59, 0x63, - 0x02, 0x45, 0xe2, 0xec, 0x74, 0xcf, 0x15, 0x75, 0xa2, 0x4d, 0xb8, 0xa2, 0xec, 0xea, 0x18, 0xd8, - 0x96, 0x58, 0x74, 0xf6, 0x42, 0x74, 0xf6, 0x7e, 0x8b, 0x3a, 0xd6, 0xef, 0xc0, 0x9a, 0xe8, 0x55, - 0x55, 0xde, 0xa3, 0xf2, 0x2b, 0xbe, 0xbc, 0x52, 0x14, 0xd8, 0x6b, 0x06, 0x55, 0x5f, 0x41, 0x75, - 0x79, 0xc0, 0x6f, 0x95, 0xcf, 0x7f, 0x4f, 0x00, 0x0a, 0xae, 0x28, 0x2f, 0xba, 0x0f, 0xa1, 0x14, - 0x64, 0xa9, 0xb4, 0xb6, 0x1e, 0xe0, 0xe7, 0x52, 0x32, 0x27, 0x97, 0x93, 0x39, 0x36, 0x39, 0xfc, - 0x99, 0x45, 0x74, 0x99, 0x13, 0x6e, 0x66, 0x75, 0xf5, 0xda, 0x3f, 0x13, 0x70, 0xc8, 0x9b, 0xc5, - 0x73, 0x6c, 0x47, 0x67, 0xef, 0x32, 0x8f, 0x12, 0x2b, 0x7a, 0x94, 0x0c, 0x79, 0x74, 0x0f, 0x8a, - 0x54, 0x4e, 0xc8, 0x72, 0x5d, 0x38, 0x0c, 0x2e, 0x34, 0x32, 0x17, 0x99, 0x98, 0x5e, 0x64, 0x62, - 0xed, 0x1f, 0x69, 0x28, 0x0e, 0xbb, 0x03, 0xfe, 0x15, 0x2c, 0xbc, 0x1f, 0x40, 0xce, 0xfd, 0x46, - 0xe1, 0x58, 0x76, 0xcc, 0x3f, 0x10, 0xed, 0x41, 0xde, 0x2b, 0x3c, 0xc2, 0x95, 0x9c, 0xdc, 0x8c, - 0xe2, 0x03, 0xf7, 0x01, 0xe4, 0xb8, 0xd0, 0x0b, 0x5a, 0x96, 0xbd, 0xc6, 0xac, 0x50, 0x66, 0x79, - 0x3c, 0x8e, 0x20, 0x7f, 0x6e, 0x9b, 0x53, 0x75, 0x66, 0x13, 0x9e, 0x7f, 0xc5, 0xc6, 0x86, 0xbf, - 0x50, 0x9f, 0xda, 0x44, 0xc9, 0x31, 0x85, 0x53, 0x9b, 0xa0, 0x8f, 0x20, 0x4b, 0x4d, 0xae, 0x99, - 0x8b, 0xd6, 0xcc, 0x50, 0x93, 0xe9, 0x7d, 0x0e, 0x65, 0x79, 0xff, 0xa2, 0x9e, 0x63, 0x8d, 0xce, - 0x6c, 0xec, 0x54, 0x4a, 0xf7, 0x53, 0x8f, 0x4b, 0x8d, 0x2d, 0xff, 0x88, 0x17, 0x42, 0xa6, 0x6c, - 0x48, 0x65, 0xf9, 0xee, 0xa0, 0xef, 0x43, 0x91, 0x07, 0xcc, 0xa1, 0x1a, 0x9d, 0x39, 0xbc, 0x9c, - 0x95, 0x1a, 0xbb, 0xfe, 0xa1, 0x2c, 0xb6, 0x43, 0x2e, 0x55, 0x60, 0xec, 0x3d, 0xa3, 0x43, 0x80, - 0x31, 0x2f, 0x5b, 0xba, 0xaa, 0x51, 0x7e, 0xa3, 0x9a, 0x52, 0x0a, 0x12, 0x69, 0x52, 0x26, 0x76, - 0xa8, 0x66, 0x4b, 0x31, 0x08, 0xb1, 0x44, 0x9a, 0x94, 0x2d, 0x07, 0x36, 0x74, 0x21, 0x2c, 0x72, - 0x61, 0x8e, 0xbf, 0x37, 0x29, 0x7a, 0x01, 0x9b, 0x3a, 0x71, 0xc6, 0xa6, 0x61, 0xe0, 0x31, 0x55, - 0x6d, 0xac, 0x39, 0x32, 0xd9, 0x4b, 0x8d, 0x3d, 0xcf, 0xaf, 0xb6, 0xa7, 0xa1, 0x70, 0x05, 0xa5, - 0xac, 0x87, 0x10, 0x96, 0x9a, 0xd8, 0xb6, 0x4d, 0x9b, 0x57, 0xb0, 0x82, 0x22, 0x5e, 0x6a, 0x7f, - 0x4c, 0x40, 0x56, 0x44, 0x90, 0xd5, 0xc9, 0x99, 0x83, 0x6d, 0x49, 0x14, 0xfe, 0xcc, 0xb0, 0x4b, - 0xd3, 0xa1, 0xee, 0xd5, 0x0c, 0x7b, 0x46, 0x25, 0x48, 0x12, 0x4b, 0x12, 0x23, 0x49, 0x2c, 0xa6, - 0xc3, 0xef, 0x5b, 0x18, 0x1f, 0xd6, 0x15, 0xfe, 0xfc, 0x5e, 0x17, 0x31, 0x47, 0x57, 0xf2, 0xc7, - 0x09, 0xf7, 0x62, 0x66, 0x97, 0x57, 0x0c, 0x75, 0xa4, 0x34, 0x7b, 0xc3, 0x41, 0x5f, 0x19, 0xa9, - 0xcd, 0xd3, 0x51, 0xbf, 0x7c, 0x07, 0xed, 0xc0, 0x66, 0x10, 0x3f, 0x6d, 0x0f, 0xca, 0x89, 0x45, - 0x78, 0xd4, 0x1a, 0x94, 0x93, 0x11, 0xf0, 0xc9, 0xb0, 0x9c, 0x3a, 0x7a, 0x0b, 0xeb, 0x81, 0xc5, - 0xe4, 0x7a, 0xad, 0xa1, 0xda, 0x6a, 0x9e, 0x9c, 0xa8, 0xdd, 0x5e, 0xab, 0xff, 0x45, 0xb7, 0xf7, - 0xb2, 0x7c, 0x07, 0x55, 0x61, 0x97, 0xc1, 0x83, 0xa6, 0x32, 0xea, 0xb6, 0xba, 0x83, 0x66, 0x6f, - 0xa4, 0xfe, 0xb8, 0xdf, 0xed, 0x75, 0xda, 0xe5, 0x04, 0x2a, 0x01, 0x30, 0x59, 0xb3, 0x35, 0xea, - 0xfe, 0xb4, 0x53, 0x4e, 0xa2, 0x6d, 0x28, 0xb3, 0xf7, 0x76, 0x77, 0xd8, 0xea, 0xf7, 0x7a, 0x9d, - 0xd6, 0xa8, 0xd3, 0x2e, 0xa7, 0xd0, 0x3a, 0x14, 0x18, 0xda, 0x51, 0x94, 0xbe, 0x52, 0x4e, 0x1f, - 0x3d, 0x01, 0x98, 0x13, 0x10, 0xe5, 0x21, 0xdd, 0xeb, 0xf7, 0x3a, 0xe2, 0x76, 0xfc, 0xb5, 0xd2, - 0x1d, 0x0e, 0xd4, 0x4e, 0xaf, 0x79, 0x7c, 0xc2, 0xec, 0x37, 0xfe, 0x55, 0x80, 0xd4, 0xb0, 0x3b, - 0x40, 0x03, 0x58, 0xf3, 0xf7, 0xf1, 0x68, 0x7e, 0x9e, 0x89, 0xe8, 0xfc, 0xab, 0x87, 0x4b, 0xa4, - 0xe2, 0x6c, 0x54, 0x4b, 0xfd, 0x21, 0x99, 0x40, 0x5f, 0xf9, 0x7e, 0xe7, 0xf3, 0xf7, 0xe0, 0xe8, - 0xe1, 0xe2, 0x26, 0x1c, 0xd1, 0xf2, 0x57, 0x63, 0x9b, 0x78, 0xa4, 0xc2, 0x6e, 0xf4, 0x0d, 0x23, - 0xfa, 0x68, 0xd1, 0x7c, 0x54, 0x83, 0x5f, 0x8d, 0xef, 0xd8, 0xd1, 0x2f, 0x00, 0x2d, 0xde, 0xec, - 0xa0, 0x79, 0xe7, 0xb7, 0xf4, 0xd6, 0xa8, 0xfa, 0x20, 0x56, 0x47, 0x1e, 0x1f, 0x7f, 0x05, 0x5b, - 0x11, 0xd7, 0x34, 0x28, 0x3c, 0x36, 0xd2, 0xf3, 0x0f, 0xe3, 0x95, 0xe6, 0x33, 0x44, 0x5c, 0x99, - 0xf8, 0x66, 0x58, 0x7e, 0xdd, 0xe2, 0x9b, 0x21, 0xee, 0xd6, 0x65, 0xec, 0xdd, 0xfd, 0x04, 0x3f, - 0x62, 0x61, 0x74, 0xe4, 0x57, 0x3c, 0xbc, 0x41, 0x4b, 0x4e, 0xf2, 0x12, 0x4a, 0xc1, 0x2b, 0x13, - 0x34, 0xef, 0x90, 0x23, 0xef, 0x52, 0xaa, 0xd1, 0x77, 0x4d, 0x01, 0x3e, 0x06, 0xee, 0x10, 0x1e, - 0xae, 0xd4, 0x2e, 0x56, 0x63, 0x4f, 0xf8, 0xbe, 0x68, 0x07, 0x6c, 0x2f, 0x44, 0x3b, 0xca, 0xf2, - 0x87, 0xf1, 0x4a, 0x32, 0x10, 0x5f, 0xf9, 0xee, 0x8e, 0x96, 0xf8, 0x1f, 0xd7, 0x5c, 0xdc, 0xe0, - 0xff, 0x97, 0xb0, 0x1d, 0x75, 0x24, 0xf6, 0xad, 0x65, 0xcc, 0x89, 0xb9, 0xba, 0xef, 0xb7, 0x1d, - 0x3e, 0x7f, 0xfd, 0x0c, 0x76, 0xa3, 0xcf, 0x39, 0xbe, 0x54, 0x8d, 0x3d, 0x08, 0x55, 0x77, 0x17, - 0x4e, 0x9c, 0x9d, 0xa9, 0x45, 0xaf, 0x8f, 0x5f, 0xfc, 0xfc, 0xc1, 0x05, 0xa1, 0x97, 0xb3, 0xb3, - 0xfa, 0xd8, 0x9c, 0x3e, 0x95, 0xb6, 0xc4, 0x9f, 0x11, 0xc6, 0xe6, 0xc4, 0x05, 0xfe, 0x96, 0x5c, - 0x3f, 0x21, 0x6f, 0xf0, 0x6b, 0x42, 0xeb, 0x03, 0x26, 0xfa, 0x6f, 0xb2, 0x24, 0xdf, 0x9f, 0x3f, - 0xe7, 0xc0, 0x59, 0x96, 0x0f, 0x79, 0xf6, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9c, 0xd5, 0x18, - 0x35, 0x0b, 0x21, 0x00, 0x00, + // 2350 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xef, 0x6e, 0xdb, 0xc8, + 0x11, 0x8f, 0xfe, 0x4b, 0x23, 0x59, 0x92, 0xd7, 0x7f, 0x4e, 0x96, 0xed, 0x24, 0x55, 0x2e, 0x97, + 0xc4, 0x77, 0x50, 0x50, 0x05, 0xbd, 0xb6, 0x01, 0xee, 0x0a, 0x59, 0x52, 0x12, 0x35, 0x3e, 0x49, + 0xa5, 0xe4, 0xa2, 0x57, 0x5c, 0xcb, 0xd2, 0xe2, 0xda, 0xde, 0x5a, 0x22, 0x59, 0x72, 0x95, 0xc4, + 0xfd, 0xdc, 0x02, 0xed, 0x63, 0x14, 0x05, 0xfa, 0xe1, 0x0a, 0xf4, 0x5b, 0xbf, 0xf4, 0x2d, 0xfa, + 0x00, 0x7d, 0x81, 0x3e, 0x45, 0xb1, 0x7f, 0x48, 0x91, 0x14, 0x25, 0xcb, 0xe9, 0x1d, 0x70, 0xdf, + 0xc8, 0x99, 0xd9, 0xd9, 0xe1, 0xec, 0x6f, 0x66, 0x76, 0x46, 0x82, 0xcd, 0x09, 0x79, 0x83, 0xaf, + 0x08, 0x55, 0x1d, 0x62, 0xd5, 0x2d, 0xdb, 0xa4, 0x26, 0xca, 0x48, 0x52, 0xf5, 0xee, 0x85, 0x69, + 0x5e, 0x4c, 0xf0, 0x53, 0x4e, 0x3e, 0x9b, 0x9d, 0x3f, 0xd5, 0x67, 0xb6, 0x46, 0x89, 0x69, 0x08, + 0xc1, 0xea, 0x7e, 0x98, 0x8f, 0xa7, 0x16, 0xbd, 0x96, 0xcc, 0x6d, 0x57, 0xf1, 0xd4, 0xd4, 0xf1, + 0xc4, 0x11, 0xd4, 0xda, 0x7f, 0x12, 0xb0, 0xd3, 0xb2, 0xb1, 0x46, 0xf1, 0xb0, 0x3b, 0x18, 0xd9, + 0x33, 0xe3, 0x4a, 0xc1, 0xbf, 0x9b, 0x61, 0x87, 0xa2, 0x8f, 0x61, 0x93, 0x18, 0x67, 0xe6, 0xcc, + 0xd0, 0x55, 0x4d, 0xd7, 0x6d, 0xec, 0x38, 0xd8, 0xa9, 0xc4, 0xee, 0x27, 0x1e, 0xe7, 0x94, 0xb2, + 0x64, 0x34, 0x5d, 0x3a, 0x7a, 0x02, 0x65, 0x73, 0x46, 0x03, 0xd2, 0x95, 0xf8, 0xfd, 0xd8, 0xe3, + 0x9c, 0x52, 0x72, 0xe9, 0x52, 0x18, 0x3d, 0x02, 0x8f, 0xa4, 0x1a, 0xb3, 0xe9, 0x19, 0xb6, 0x2b, + 0x09, 0x2e, 0x59, 0x74, 0xc9, 0x3d, 0x4e, 0x45, 0x9f, 0xc2, 0x8e, 0x6b, 0x80, 0x90, 0x73, 0x54, + 0x1b, 0x5f, 0xe0, 0x77, 0x95, 0x24, 0x33, 0xe2, 0x38, 0x5e, 0x89, 0x29, 0x5b, 0x52, 0x40, 0xac, + 0x70, 0x14, 0xc6, 0x66, 0x1b, 0x84, 0xd6, 0x55, 0x72, 0xdc, 0xec, 0x62, 0x50, 0x9a, 0x19, 0xed, + 0x0a, 0xce, 0x1c, 0x6c, 0x1b, 0xda, 0x14, 0x57, 0x52, 0xc2, 0x68, 0x49, 0x3f, 0x95, 0x64, 0xbf, + 0xa8, 0xa5, 0x39, 0xce, 0x5b, 0xd3, 0xd6, 0x2b, 0xe9, 0x80, 0xe8, 0x40, 0x92, 0x99, 0xdf, 0xbc, + 0xef, 0xf3, 0xd4, 0x66, 0xb8, 0xac, 0xe7, 0x23, 0x4f, 0xaf, 0x5f, 0xd8, 0x53, 0x9c, 0x0d, 0x0a, + 0x7b, 0x9a, 0x11, 0x24, 0xb9, 0x32, 0xe0, 0x7c, 0xfe, 0x8c, 0xaa, 0x90, 0x9d, 0x62, 0xaa, 0xe9, + 0x1a, 0xd5, 0x2a, 0x79, 0x4e, 0xf7, 0xde, 0x9f, 0xc7, 0x2b, 0xb1, 0xda, 0xdf, 0x52, 0x50, 0x70, + 0x4f, 0xb6, 0x6b, 0x9c, 0x9b, 0xe8, 0x3e, 0x14, 0x1c, 0x62, 0xa9, 0x94, 0x11, 0x54, 0xa2, 0x57, + 0x62, 0x7c, 0x11, 0x38, 0xc4, 0x12, 0x32, 0x3a, 0x7a, 0x06, 0xc9, 0x2b, 0x62, 0xe8, 0x95, 0xe2, + 0xfd, 0xd8, 0xe3, 0x62, 0xe3, 0x5e, 0x5d, 0xe2, 0xa6, 0xee, 0x57, 0x53, 0xe7, 0x4f, 0xaf, 0x89, + 0xa1, 0x2b, 0x5c, 0x38, 0x1a, 0x2d, 0xf1, 0x5b, 0xa0, 0x25, 0xb1, 0x36, 0x5a, 0x92, 0x91, 0x68, + 0x79, 0x06, 0x39, 0x6a, 0x6b, 0x86, 0x63, 0x99, 0x36, 0xad, 0x6c, 0x70, 0xd3, 0x77, 0x82, 0xa6, + 0x4b, 0xa6, 0x32, 0x97, 0x5b, 0x0e, 0xb1, 0xd4, 0xad, 0x21, 0x06, 0x6b, 0x43, 0x2c, 0xbd, 0x3e, + 0xc4, 0x32, 0xb7, 0x80, 0x58, 0xf6, 0x36, 0x10, 0xcb, 0xdd, 0x00, 0xb1, 0xfc, 0x12, 0x88, 0x15, + 0x82, 0x10, 0xab, 0xb5, 0x21, 0xe7, 0x21, 0x01, 0x95, 0xa1, 0x30, 0x52, 0x4e, 0x7b, 0xaf, 0xd5, + 0x93, 0xce, 0xcb, 0x66, 0xeb, 0xcb, 0xf2, 0x1d, 0xb4, 0x09, 0x1b, 0x82, 0xd2, 0xed, 0x1d, 0xf7, + 0x4f, 0x7b, 0xed, 0x72, 0x0c, 0x21, 0x28, 0x0a, 0x52, 0xff, 0x74, 0x24, 0x68, 0x71, 0x0e, 0x54, + 0x05, 0x0e, 0xbc, 0x3c, 0xd4, 0x15, 0xdf, 0x1b, 0x48, 0x47, 0x0d, 0x48, 0x71, 0xcc, 0x72, 0xc0, + 0xe6, 0x1b, 0x07, 0xfe, 0xb3, 0xf5, 0xcb, 0x33, 0x74, 0x2a, 0x42, 0xb4, 0xf6, 0xc7, 0x34, 0x6c, + 0x45, 0xb0, 0xd7, 0x88, 0x01, 0xd7, 0x0f, 0xf1, 0x25, 0x7e, 0x48, 0x04, 0xfd, 0x80, 0x2a, 0x90, + 0x71, 0x81, 0xc0, 0xb3, 0x93, 0xe2, 0xbe, 0x32, 0xf7, 0x6b, 0x93, 0x89, 0xf9, 0x16, 0xfb, 0x03, + 0x23, 0x25, 0x02, 0x43, 0x32, 0xe6, 0x81, 0xf1, 0x08, 0x4a, 0xae, 0xb0, 0xab, 0x2e, 0x2d, 0x70, + 0x25, 0xc9, 0x2e, 0xae, 0x1e, 0xc0, 0x86, 0x36, 0xa3, 0x97, 0xe1, 0x04, 0x53, 0x60, 0x44, 0xef, + 0xe4, 0x5d, 0xa1, 0x50, 0x62, 0xe1, 0x42, 0xde, 0x89, 0xb7, 0x20, 0x73, 0x89, 0x35, 0xdd, 0xcd, + 0x92, 0xf9, 0xc6, 0x93, 0x55, 0x9e, 0xad, 0xbf, 0x12, 0xb2, 0x1d, 0x83, 0xda, 0xd7, 0x8a, 0xbb, + 0x12, 0x11, 0xd8, 0x91, 0x8f, 0x2a, 0x35, 0x55, 0x8d, 0x52, 0x9b, 0x9c, 0xcd, 0x28, 0x16, 0x51, + 0x91, 0x6f, 0xfc, 0x60, 0x1d, 0x95, 0x23, 0xb3, 0xe9, 0xad, 0x13, 0xea, 0xb7, 0x2e, 0x17, 0x39, + 0xe8, 0x18, 0x4a, 0x36, 0x31, 0x2e, 0x88, 0x71, 0xa1, 0x52, 0x32, 0xc5, 0xe6, 0x8c, 0x72, 0xb0, + 0xe6, 0x1b, 0x7b, 0x75, 0x51, 0xfd, 0xea, 0x6e, 0xf5, 0xab, 0xb7, 0x65, 0x75, 0x54, 0x8a, 0x72, + 0xc5, 0x48, 0x2c, 0x40, 0x1d, 0xd8, 0x9c, 0x6a, 0xef, 0xd4, 0xb1, 0x36, 0x99, 0xa8, 0x6e, 0x09, + 0xe5, 0xd0, 0x5e, 0xa9, 0xa5, 0x34, 0xd5, 0xde, 0xb5, 0xb4, 0xc9, 0xc4, 0x25, 0x30, 0xff, 0x5e, + 0xd9, 0xc4, 0xb1, 0x54, 0x6c, 0x68, 0x67, 0x13, 0xac, 0xf3, 0xb4, 0x93, 0x55, 0x0a, 0x9c, 0xd8, + 0x11, 0xb4, 0xea, 0x73, 0x28, 0xf8, 0x7d, 0x86, 0xca, 0x90, 0xb8, 0xc2, 0xd7, 0x12, 0x72, 0xec, + 0x11, 0x6d, 0x43, 0xea, 0x8d, 0x36, 0x99, 0xb9, 0x60, 0x13, 0x2f, 0xcf, 0xe3, 0x3f, 0x8a, 0x55, + 0x5f, 0x40, 0x65, 0x99, 0x73, 0x6e, 0xa3, 0xa7, 0x36, 0x82, 0x43, 0x2f, 0xb6, 0xfa, 0x32, 0xe4, + 0x03, 0xc1, 0xf5, 0x2c, 0x18, 0x5c, 0x87, 0xfe, 0xf3, 0x0a, 0x2c, 0xf0, 0x47, 0xd7, 0xbf, 0x93, + 0xb0, 0x1d, 0xc5, 0xff, 0x76, 0xc2, 0xcb, 0xad, 0x13, 0x22, 0xfb, 0xbb, 0xaf, 0xc1, 0xb4, 0x9f, + 0x5a, 0x33, 0xed, 0xfb, 0xa2, 0x35, 0x1d, 0x8c, 0xd6, 0x6f, 0x2e, 0xae, 0xda, 0xe1, 0xb8, 0x3a, + 0x5a, 0xe9, 0xd4, 0x25, 0x81, 0xf5, 0xdb, 0xd5, 0x81, 0xf5, 0xe9, 0x5a, 0x3a, 0xd7, 0x8b, 0xac, + 0xef, 0x04, 0x52, 0x3f, 0x83, 0xbd, 0x97, 0x98, 0x2e, 0x29, 0x01, 0x37, 0xe2, 0xaa, 0x36, 0x80, + 0x6a, 0xd4, 0x72, 0xc7, 0x32, 0x0d, 0x07, 0xbf, 0x57, 0x09, 0xf9, 0xdc, 0xd5, 0x18, 0x19, 0x37, + 0x37, 0x5b, 0xa4, 0xc0, 0x7e, 0xe4, 0x7a, 0x69, 0xd2, 0x7b, 0x05, 0xde, 0x1e, 0x6c, 0x9d, 0x10, + 0x87, 0x86, 0x2e, 0xec, 0xbc, 0x8a, 0xbe, 0x84, 0xed, 0x20, 0x4b, 0xee, 0xf3, 0x31, 0xa4, 0x08, + 0xc5, 0x53, 0x71, 0x81, 0xcf, 0x87, 0x43, 0xc4, 0xd3, 0xcf, 0x65, 0xb8, 0xa2, 0x03, 0xa8, 0x4a, + 0x45, 0x11, 0x27, 0x51, 0xfb, 0x19, 0xec, 0x47, 0x72, 0xe7, 0x8e, 0xf6, 0xef, 0x76, 0x83, 0xa3, + 0xb9, 0x68, 0xed, 0xd0, 0x53, 0x19, 0xe5, 0xe9, 0xda, 0x10, 0x0e, 0xa2, 0xd9, 0x73, 0x47, 0xfa, + 0xb7, 0xbc, 0xc9, 0x91, 0x62, 0xcf, 0x1f, 0xc3, 0x4e, 0x1b, 0x4f, 0xf0, 0x62, 0xef, 0x73, 0xf3, + 0xb9, 0xbe, 0x80, 0x9d, 0x61, 0x77, 0xd0, 0x26, 0x8e, 0xa5, 0xd1, 0xf1, 0xa5, 0x32, 0x9b, 0xe0, + 0x36, 0xb1, 0xf1, 0x98, 0xa2, 0x7d, 0xc8, 0xd9, 0xa6, 0x39, 0x55, 0x79, 0xf6, 0x10, 0xeb, 0xb2, + 0x8c, 0xd0, 0x63, 0x99, 0xa3, 0x0c, 0x09, 0x8b, 0x18, 0x12, 0xf6, 0xec, 0xb1, 0xd6, 0x83, 0xbd, + 0x90, 0x9e, 0xae, 0xa1, 0x93, 0x37, 0x44, 0x9f, 0x69, 0x13, 0x74, 0x0f, 0xf2, 0x5c, 0x97, 0x65, + 0xe3, 0x73, 0xf2, 0xce, 0xb5, 0x82, 0x91, 0x06, 0x9c, 0x12, 0xa1, 0xef, 0x72, 0xc1, 0x2e, 0x56, + 0xb2, 0x30, 0x7e, 0x0f, 0x5d, 0xe8, 0x00, 0x72, 0xb6, 0x66, 0xe8, 0xe6, 0x94, 0xfc, 0x1e, 0xf3, + 0x94, 0x9c, 0x55, 0xe6, 0x84, 0xda, 0x5f, 0xe2, 0x50, 0x0a, 0x6d, 0x85, 0x14, 0xd8, 0xd6, 0xe5, + 0xbb, 0x6a, 0xcf, 0x26, 0x58, 0xd5, 0xb9, 0x53, 0x24, 0xba, 0xef, 0xfa, 0x0f, 0x65, 0xd1, 0x75, + 0xaf, 0xee, 0x28, 0x48, 0x5f, 0x74, 0xe8, 0xaf, 0xa1, 0x12, 0xd4, 0x49, 0x3c, 0x07, 0x71, 0x63, + 0xf3, 0x8d, 0xda, 0x32, 0xbd, 0x73, 0x57, 0xbe, 0xba, 0xa3, 0xec, 0xea, 0xd1, 0x4e, 0x5e, 0xb0, + 0x79, 0xcc, 0x1d, 0xc6, 0x3f, 0x78, 0x85, 0xcd, 0xc2, 0xad, 0x61, 0x9b, 0x05, 0xf5, 0x38, 0x0d, + 0x49, 0xa6, 0xaa, 0xf6, 0x87, 0x84, 0xef, 0x56, 0xeb, 0x5f, 0xed, 0x02, 0xed, 0x13, 0x21, 0x28, + 0x1d, 0x54, 0x59, 0xb6, 0x99, 0xc2, 0xa5, 0x18, 0xb6, 0x5c, 0x48, 0xba, 0xcd, 0x55, 0x96, 0x0a, + 0x40, 0x3a, 0xe8, 0x08, 0x36, 0x2f, 0x89, 0x8e, 0x55, 0xeb, 0xd2, 0x34, 0xb0, 0xbf, 0xb3, 0xce, + 0x2a, 0x25, 0xc6, 0x18, 0x30, 0xba, 0x6c, 0x96, 0x22, 0xfa, 0x97, 0x74, 0x64, 0xff, 0xe2, 0x16, + 0xea, 0xe4, 0x92, 0x42, 0x9d, 0x0a, 0x15, 0xea, 0x53, 0x00, 0x5f, 0x91, 0xca, 0x84, 0x6e, 0x7f, + 0xab, 0x5c, 0x51, 0x0f, 0xd7, 0x28, 0x9f, 0xa2, 0xea, 0x67, 0x50, 0xfa, 0x7f, 0xaa, 0xca, 0x5f, + 0x13, 0xbc, 0x0f, 0x08, 0x42, 0xe3, 0xdc, 0x44, 0x4f, 0x61, 0x9b, 0x85, 0x79, 0x08, 0x5e, 0x6e, + 0xb8, 0x6f, 0x3a, 0xc4, 0x0a, 0x2c, 0xd1, 0xbd, 0xe3, 0x8a, 0xdf, 0xfe, 0xb8, 0x12, 0xeb, 0x1c, + 0x57, 0x72, 0xed, 0xe3, 0xca, 0xac, 0x3c, 0xae, 0xd4, 0x92, 0xe3, 0x4a, 0x87, 0x8e, 0xeb, 0x24, + 0x70, 0x5c, 0x59, 0x7e, 0x5c, 0x9f, 0x2c, 0x8f, 0xa6, 0x73, 0xf3, 0xdb, 0x3c, 0xa5, 0x79, 0xc9, + 0x89, 0x80, 0x87, 0xaf, 0xe4, 0x04, 0xb9, 0x6b, 0x94, 0x9c, 0xf0, 0x47, 0xb8, 0xe9, 0xbf, 0x0f, + 0x07, 0x5e, 0xfa, 0x8f, 0x0a, 0xce, 0xdb, 0xc2, 0xa3, 0xf6, 0x75, 0x1a, 0xf6, 0x3d, 0x8c, 0x0f, + 0x34, 0x9b, 0x92, 0x31, 0xb1, 0x34, 0x83, 0xae, 0x5d, 0x56, 0xd0, 0x5d, 0xc8, 0x33, 0x09, 0xde, + 0x99, 0x50, 0x53, 0xfa, 0x28, 0xe7, 0x10, 0x8b, 0x25, 0x96, 0x91, 0x89, 0x0e, 0x81, 0x49, 0xbb, + 0x70, 0x29, 0x79, 0x6c, 0x09, 0x94, 0x40, 0xf1, 0x49, 0x84, 0x8a, 0xcf, 0xf7, 0x61, 0xdb, 0x9a, + 0xdb, 0xa4, 0x12, 0x1d, 0x1b, 0x94, 0xd0, 0x6b, 0x19, 0xdb, 0x5b, 0x3e, 0x5e, 0x57, 0xb2, 0xd0, + 0x13, 0x28, 0xfb, 0x97, 0xf8, 0x6e, 0xc4, 0x25, 0x1f, 0x3d, 0x4a, 0xbb, 0x07, 0xb9, 0xec, 0x82, + 0xf6, 0x2f, 0x5c, 0xf4, 0xbd, 0x81, 0x5d, 0xff, 0x12, 0x1f, 0x12, 0xc5, 0x8d, 0xf9, 0x27, 0x8b, + 0x89, 0x63, 0xd1, 0xa9, 0x75, 0x1f, 0x29, 0x0c, 0xce, 0x1d, 0x2b, 0x8a, 0xc7, 0xa2, 0x44, 0xa7, + 0xd3, 0x73, 0x37, 0x4a, 0xd8, 0x33, 0x7a, 0x04, 0x1b, 0xd6, 0x44, 0xbb, 0x56, 0x59, 0xa7, 0x48, + 0x4d, 0x43, 0x4c, 0x69, 0xb2, 0x7c, 0x02, 0x54, 0x60, 0x0c, 0x45, 0xd2, 0xd9, 0xe5, 0x9f, 0x0b, + 0xea, 0x44, 0x9b, 0x70, 0x41, 0xd9, 0xf4, 0x31, 0x62, 0x5b, 0xd2, 0xa2, 0x83, 0x1b, 0xa2, 0x83, + 0xfb, 0x3b, 0xd4, 0xd0, 0x7e, 0x0f, 0x0a, 0xa2, 0x95, 0x55, 0x79, 0x0b, 0xcb, 0x27, 0x80, 0x59, + 0x25, 0x2f, 0x68, 0xaf, 0x19, 0xa9, 0xfa, 0x0a, 0xaa, 0xcb, 0x1d, 0x7e, 0xab, 0x70, 0xff, 0x7b, + 0x0c, 0x50, 0xf0, 0x44, 0x79, 0x4e, 0x7e, 0x08, 0xc5, 0x20, 0x4a, 0xa5, 0xb6, 0x8d, 0x00, 0x3e, + 0x97, 0x82, 0x39, 0xbe, 0x1c, 0xcc, 0x2b, 0x83, 0xc3, 0x1f, 0x78, 0x44, 0x97, 0x31, 0xe1, 0x06, + 0x5e, 0x57, 0xaf, 0xfd, 0x33, 0x06, 0x87, 0xbc, 0x97, 0x3c, 0xc7, 0x76, 0x74, 0x70, 0x2f, 0xb3, + 0x28, 0xb6, 0xa6, 0x45, 0xf1, 0x90, 0x45, 0xf7, 0x20, 0x4f, 0xe5, 0x86, 0x2c, 0x15, 0x08, 0x83, + 0xc1, 0x25, 0x8d, 0xcc, 0x45, 0x24, 0x26, 0x17, 0x91, 0x58, 0xfb, 0x47, 0x12, 0xf2, 0xc3, 0xee, + 0x80, 0x7f, 0x05, 0x73, 0xef, 0x07, 0x90, 0x71, 0xbf, 0x51, 0x18, 0x96, 0x1e, 0xf3, 0x0f, 0x44, + 0x7b, 0x90, 0xf5, 0xf2, 0x92, 0x30, 0x25, 0x23, 0x6b, 0xd5, 0x6a, 0xc7, 0x7d, 0x00, 0x19, 0xce, + 0xf4, 0x9c, 0x96, 0x66, 0xaf, 0x2b, 0x4e, 0x28, 0xb5, 0xdc, 0x1f, 0x47, 0x90, 0x3d, 0xb7, 0xcd, + 0xa9, 0x3a, 0xb3, 0x09, 0x8f, 0xbf, 0x7c, 0xa3, 0xe4, 0xcf, 0xe3, 0xa7, 0x36, 0x51, 0x32, 0x4c, + 0xe0, 0xd4, 0x26, 0xe8, 0x23, 0x48, 0x53, 0x93, 0x4b, 0x66, 0xa2, 0x25, 0x53, 0xd4, 0x64, 0x72, + 0x9f, 0x43, 0x59, 0x8e, 0x67, 0xd4, 0x73, 0xac, 0xd1, 0x99, 0x8d, 0x9d, 0x4a, 0xf1, 0x7e, 0xe2, + 0x71, 0xb1, 0xb1, 0xe5, 0x5f, 0xf1, 0x42, 0xf0, 0x94, 0x92, 0x14, 0x96, 0xef, 0x0e, 0xfa, 0x21, + 0xe4, 0xb9, 0xc3, 0x1c, 0xaa, 0xd1, 0x99, 0xc3, 0xd3, 0x59, 0xb1, 0xb1, 0xeb, 0x5f, 0xca, 0x7c, + 0x3b, 0xe4, 0x5c, 0x05, 0xc6, 0xde, 0x33, 0x4b, 0xd5, 0x63, 0x9e, 0xb6, 0x74, 0x55, 0xa3, 0x7c, + 0xe0, 0x9a, 0x50, 0x72, 0x92, 0xd2, 0xa4, 0x3c, 0x93, 0x53, 0xcd, 0x96, 0x6c, 0x10, 0x6c, 0x49, + 0x69, 0x52, 0x76, 0x1c, 0xd8, 0xd0, 0x05, 0x33, 0xcf, 0x99, 0x19, 0xfe, 0xde, 0xa4, 0xe8, 0x05, + 0x6c, 0xea, 0xc4, 0x19, 0x9b, 0x86, 0x81, 0xc7, 0x54, 0xb5, 0xb1, 0xe6, 0xc8, 0x60, 0x2f, 0x36, + 0xf6, 0x3c, 0xbb, 0xda, 0x9e, 0x84, 0xc2, 0x05, 0x94, 0xb2, 0x1e, 0xa2, 0xb0, 0xd0, 0xc4, 0xb6, + 0x6d, 0xda, 0x3c, 0x83, 0xe5, 0x14, 0xf1, 0x52, 0xfb, 0x73, 0x0c, 0xd2, 0xc2, 0x83, 0x2c, 0x4f, + 0xce, 0x1c, 0x6c, 0x4b, 0xa0, 0xf0, 0x67, 0x46, 0xbb, 0x34, 0x1d, 0xea, 0x4e, 0x6e, 0xd8, 0x33, + 0x2a, 0x42, 0x9c, 0x58, 0x12, 0x18, 0x71, 0x62, 0x31, 0x19, 0x3e, 0x8e, 0x61, 0x78, 0xd8, 0x50, + 0xf8, 0xf3, 0x7b, 0xcd, 0x69, 0x8e, 0xae, 0xe4, 0x6f, 0x17, 0xee, 0xdc, 0x66, 0x97, 0x67, 0x0c, + 0x75, 0xa4, 0x34, 0x7b, 0xc3, 0x41, 0x5f, 0x19, 0xa9, 0xcd, 0xd3, 0x51, 0xbf, 0x7c, 0x07, 0xed, + 0xc0, 0x66, 0x90, 0x7e, 0xda, 0x1e, 0x94, 0x63, 0x8b, 0xe4, 0x51, 0x6b, 0x50, 0x8e, 0x47, 0x90, + 0x4f, 0x86, 0xe5, 0xc4, 0xd1, 0x5b, 0xd8, 0x08, 0x1c, 0x26, 0x97, 0x6b, 0x0d, 0xd5, 0x56, 0xf3, + 0xe4, 0x44, 0xed, 0xf6, 0x5a, 0xfd, 0x2f, 0xba, 0xbd, 0x97, 0xe5, 0x3b, 0xa8, 0x0a, 0xbb, 0x8c, + 0x3c, 0x68, 0x2a, 0xa3, 0x6e, 0xab, 0x3b, 0x68, 0xf6, 0x46, 0xea, 0x4f, 0xfb, 0xdd, 0x5e, 0xa7, + 0x5d, 0x8e, 0xa1, 0x22, 0x00, 0xe3, 0x35, 0x5b, 0xa3, 0xee, 0xcf, 0x3b, 0xe5, 0x38, 0xda, 0x86, + 0x32, 0x7b, 0x6f, 0x77, 0x87, 0xad, 0x7e, 0xaf, 0xd7, 0x69, 0x8d, 0x3a, 0xed, 0x72, 0x02, 0x6d, + 0x40, 0x8e, 0x51, 0x3b, 0x8a, 0xd2, 0x57, 0xca, 0xc9, 0xa3, 0x27, 0x00, 0x73, 0x00, 0xa2, 0x2c, + 0x24, 0x7b, 0xfd, 0x5e, 0x47, 0x0c, 0xcf, 0x5f, 0x2b, 0xdd, 0xe1, 0x40, 0xed, 0xf4, 0x9a, 0xc7, + 0x27, 0x4c, 0x7f, 0xe3, 0x5f, 0x39, 0x48, 0x0c, 0xbb, 0x03, 0x34, 0x80, 0x82, 0xbf, 0xcd, 0x47, + 0xf3, 0xeb, 0x4e, 0xc4, 0x60, 0xa0, 0x7a, 0xb8, 0x84, 0x2b, 0xae, 0x4e, 0xb5, 0xc4, 0x9f, 0xe2, + 0x31, 0xf4, 0x95, 0xef, 0x67, 0x40, 0x7f, 0x8b, 0x8e, 0x1e, 0x2e, 0x16, 0xe1, 0x88, 0x89, 0x40, + 0x75, 0x65, 0x8f, 0x8f, 0x54, 0xd8, 0x8d, 0x1e, 0x40, 0xa2, 0x8f, 0x16, 0xd5, 0x47, 0xf5, 0xff, + 0xd5, 0xd5, 0x0d, 0x3d, 0xfa, 0x15, 0xa0, 0xc5, 0xc1, 0x0f, 0x9a, 0x37, 0x86, 0x4b, 0x87, 0x4a, + 0xd5, 0x07, 0x2b, 0x65, 0xe4, 0xed, 0xf2, 0x37, 0xb0, 0x15, 0x31, 0xc5, 0x41, 0xe1, 0xb5, 0x91, + 0x96, 0x7f, 0xb8, 0x5a, 0x68, 0xbe, 0x43, 0xc4, 0x44, 0xc5, 0xb7, 0xc3, 0xf2, 0x69, 0x8c, 0x6f, + 0x87, 0x55, 0x43, 0x99, 0xb1, 0x37, 0x1a, 0x0a, 0x7e, 0xc4, 0xc2, 0xea, 0xc8, 0xaf, 0x78, 0x78, + 0x83, 0x94, 0xdc, 0xe4, 0x25, 0x14, 0x83, 0x13, 0x15, 0x34, 0x6f, 0xa0, 0x23, 0x47, 0x2d, 0xd5, + 0xe8, 0x51, 0x54, 0x00, 0x8f, 0x81, 0x11, 0xc3, 0xc3, 0xb5, 0xba, 0xc9, 0xea, 0xca, 0x06, 0xc0, + 0xe7, 0xed, 0x80, 0xee, 0x05, 0x6f, 0x47, 0x69, 0xfe, 0x70, 0xb5, 0x90, 0x74, 0xc4, 0x57, 0xbe, + 0xd1, 0xd2, 0x12, 0xfb, 0x57, 0xf5, 0x1e, 0x37, 0xd8, 0xff, 0x25, 0x6c, 0x47, 0x5d, 0x89, 0x7d, + 0x67, 0xb9, 0xe2, 0xc6, 0x5c, 0xdd, 0xf7, 0xeb, 0x0e, 0xdf, 0xbf, 0x7e, 0x01, 0xbb, 0xd1, 0xf7, + 0x1c, 0x5f, 0xa8, 0xae, 0xbc, 0x08, 0x55, 0x77, 0x17, 0x6e, 0x9c, 0x9d, 0xa9, 0x45, 0xaf, 0x8f, + 0x5f, 0xfc, 0xf2, 0xc1, 0x05, 0xa1, 0x97, 0xb3, 0xb3, 0xfa, 0xd8, 0x9c, 0x3e, 0x95, 0xba, 0xc4, + 0x7f, 0x15, 0xc6, 0xe6, 0xc4, 0x25, 0x7c, 0x1d, 0xdf, 0x38, 0x21, 0x6f, 0xf0, 0x6b, 0x42, 0xeb, + 0x03, 0xc6, 0xfa, 0x6f, 0xbc, 0x28, 0xdf, 0x9f, 0x3f, 0xe7, 0x84, 0xb3, 0x34, 0x5f, 0xf2, 0xec, + 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x9d, 0x0e, 0x03, 0x2a, 0x21, 0x00, 0x00, } diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index ad2c9266..540d8098 100644 --- a/livekit/livekit_webhook.pb.go +++ b/livekit/livekit_webhook.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: livekit_webhook.proto package livekit @@ -61,9 +61,11 @@ type WebhookEvent struct { func (x *WebhookEvent) Reset() { *x = WebhookEvent{} - mi := &file_livekit_webhook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_livekit_webhook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WebhookEvent) String() string { @@ -74,7 +76,7 @@ func (*WebhookEvent) ProtoMessage() {} func (x *WebhookEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_webhook_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -234,6 +236,20 @@ func file_livekit_webhook_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_ingress_proto_init() + if !protoimpl.UnsafeEnabled { + file_livekit_webhook_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*WebhookEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/protobufs/livekit_metrics.proto b/protobufs/livekit_metrics.proto index a7a27830..6ac49759 100644 --- a/protobufs/livekit_metrics.proto +++ b/protobufs/livekit_metrics.proto @@ -23,6 +23,7 @@ enum MetricLabel { AGENTS_LLM_TTFT = 0; // time to first token from LLM AGENTS_STT_TTFT = 1; // time to final transcription AGENTS_TTS_TTFB = 2; // time to first byte + CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3; // Number of video freezes CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4; // total duration of freezes CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5; // number of video pauses @@ -38,6 +39,10 @@ enum MetricLabel { CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15; // total duration spent in cpu quality limitation CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16; // total duration spent in other quality limitation + PUBLISHER_RTT = 17; // Publisher RTT (participant -> server) + SERVER_MESH_RTT = 18; // RTT between publisher node and subscriber node (could involve intermedia node(s)) + SUBSCRIBER_RTT = 19; // Subscribe RTT (server -> participant) + METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096; } diff --git a/protobufs/livekit_sip.proto b/protobufs/livekit_sip.proto index 07660da0..8ffd24bc 100644 --- a/protobufs/livekit_sip.proto +++ b/protobufs/livekit_sip.proto @@ -385,6 +385,9 @@ message CreateSIPParticipantRequest { // What number should be dialed via SIP string sip_call_to = 2; + // Optional SIP From number to use. If empty, trunk number is used. + string sip_number = 15; + // What LiveKit room should this participant be connected too string room_name = 3; @@ -418,7 +421,7 @@ message CreateSIPParticipantRequest { // Enable voice isolation for the callee. bool enable_krisp = 14; - // NEXT ID: 15 + // NEXT ID: 16 } message SIPParticipantInfo { diff --git a/rpc/agent.pb.go b/rpc/agent.pb.go index b1d85692..d428c064 100644 --- a/rpc/agent.pb.go +++ b/rpc/agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/agent.proto package rpc @@ -91,9 +91,11 @@ type CheckEnabledRequest struct { func (x *CheckEnabledRequest) Reset() { *x = CheckEnabledRequest{} - mi := &file_rpc_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CheckEnabledRequest) String() string { @@ -104,7 +106,7 @@ func (*CheckEnabledRequest) ProtoMessage() {} func (x *CheckEnabledRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -133,9 +135,11 @@ type CheckEnabledResponse struct { func (x *CheckEnabledResponse) Reset() { *x = CheckEnabledResponse{} - mi := &file_rpc_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CheckEnabledResponse) String() string { @@ -146,7 +150,7 @@ func (*CheckEnabledResponse) ProtoMessage() {} func (x *CheckEnabledResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -200,9 +204,11 @@ type JobRequestResponse struct { func (x *JobRequestResponse) Reset() { *x = JobRequestResponse{} - mi := &file_rpc_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobRequestResponse) String() string { @@ -213,7 +219,7 @@ func (*JobRequestResponse) ProtoMessage() {} func (x *JobRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,9 +252,11 @@ type JobTerminateRequest struct { func (x *JobTerminateRequest) Reset() { *x = JobTerminateRequest{} - mi := &file_rpc_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobTerminateRequest) String() string { @@ -259,7 +267,7 @@ func (*JobTerminateRequest) ProtoMessage() {} func (x *JobTerminateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -298,9 +306,11 @@ type JobTerminateResponse struct { func (x *JobTerminateResponse) Reset() { *x = JobTerminateResponse{} - mi := &file_rpc_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobTerminateResponse) String() string { @@ -311,7 +321,7 @@ func (*JobTerminateResponse) ProtoMessage() {} func (x *JobTerminateResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -449,6 +459,68 @@ func file_rpc_agent_proto_init() { if File_rpc_agent_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_agent_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*CheckEnabledRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*CheckEnabledResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*JobRequestResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*JobTerminateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_agent_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*JobTerminateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/rpc/agent_dispatch.pb.go b/rpc/agent_dispatch.pb.go index 7e0fb985..f2695a01 100644 --- a/rpc/agent_dispatch.pb.go +++ b/rpc/agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/agent_dispatch.proto package rpc diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index 63c36453..fea65ddd 100644 --- a/rpc/analytics.pb.go +++ b/rpc/analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/analytics.proto package rpc diff --git a/rpc/analytics_grpc.pb.go b/rpc/analytics_grpc.pb.go index 6217bb43..0ded4839 100644 --- a/rpc/analytics_grpc.pb.go +++ b/rpc/analytics_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v4.23.4 +// - protoc v5.28.0 // source: rpc/analytics.proto package rpc diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index fbd16245..0d3b3a9c 100644 --- a/rpc/egress.pb.go +++ b/rpc/egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/egress.proto package rpc @@ -64,9 +64,11 @@ type StartEgressRequest struct { func (x *StartEgressRequest) Reset() { *x = StartEgressRequest{} - mi := &file_rpc_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartEgressRequest) String() string { @@ -77,7 +79,7 @@ func (*StartEgressRequest) ProtoMessage() {} func (x *StartEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -218,9 +220,11 @@ type ListActiveEgressRequest struct { func (x *ListActiveEgressRequest) Reset() { *x = ListActiveEgressRequest{} - mi := &file_rpc_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveEgressRequest) String() string { @@ -231,7 +235,7 @@ func (*ListActiveEgressRequest) ProtoMessage() {} func (x *ListActiveEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -256,9 +260,11 @@ type ListActiveEgressResponse struct { func (x *ListActiveEgressResponse) Reset() { *x = ListActiveEgressResponse{} - mi := &file_rpc_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveEgressResponse) String() string { @@ -269,7 +275,7 @@ func (*ListActiveEgressResponse) ProtoMessage() {} func (x *ListActiveEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -416,6 +422,44 @@ func file_rpc_egress_proto_init() { if File_rpc_egress_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_egress_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*StartEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_egress_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*ListActiveEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_egress_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*ListActiveEgressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } file_rpc_egress_proto_msgTypes[0].OneofWrappers = []any{ (*StartEgressRequest_RoomComposite)(nil), (*StartEgressRequest_Web)(nil), diff --git a/rpc/ingress.pb.go b/rpc/ingress.pb.go index e0f59754..bcc69aed 100644 --- a/rpc/ingress.pb.go +++ b/rpc/ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/ingress.proto package rpc @@ -45,9 +45,11 @@ type ListActiveIngressRequest struct { func (x *ListActiveIngressRequest) Reset() { *x = ListActiveIngressRequest{} - mi := &file_rpc_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveIngressRequest) String() string { @@ -58,7 +60,7 @@ func (*ListActiveIngressRequest) ProtoMessage() {} func (x *ListActiveIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -85,9 +87,11 @@ type ListActiveIngressResponse struct { func (x *ListActiveIngressResponse) Reset() { *x = ListActiveIngressResponse{} - mi := &file_rpc_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListActiveIngressResponse) String() string { @@ -98,7 +102,7 @@ func (*ListActiveIngressResponse) ProtoMessage() {} func (x *ListActiveIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,9 +143,11 @@ type DeleteWHIPResourceRequest struct { func (x *DeleteWHIPResourceRequest) Reset() { *x = DeleteWHIPResourceRequest{} - mi := &file_rpc_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteWHIPResourceRequest) String() string { @@ -152,7 +158,7 @@ func (*DeleteWHIPResourceRequest) ProtoMessage() {} func (x *DeleteWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -195,9 +201,11 @@ type ICERestartWHIPResourceRequest struct { func (x *ICERestartWHIPResourceRequest) Reset() { *x = ICERestartWHIPResourceRequest{} - mi := &file_rpc_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICERestartWHIPResourceRequest) String() string { @@ -208,7 +216,7 @@ func (*ICERestartWHIPResourceRequest) ProtoMessage() {} func (x *ICERestartWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -268,9 +276,11 @@ type ICERestartWHIPResourceResponse struct { func (x *ICERestartWHIPResourceResponse) Reset() { *x = ICERestartWHIPResourceResponse{} - mi := &file_rpc_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ICERestartWHIPResourceResponse) String() string { @@ -281,7 +291,7 @@ func (*ICERestartWHIPResourceResponse) ProtoMessage() {} func (x *ICERestartWHIPResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -316,9 +326,11 @@ type StartIngressRequest struct { func (x *StartIngressRequest) Reset() { *x = StartIngressRequest{} - mi := &file_rpc_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartIngressRequest) String() string { @@ -329,7 +341,7 @@ func (*StartIngressRequest) ProtoMessage() {} func (x *StartIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -383,9 +395,11 @@ type IngressSession struct { func (x *IngressSession) Reset() { *x = IngressSession{} - mi := &file_rpc_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IngressSession) String() string { @@ -396,7 +410,7 @@ func (*IngressSession) ProtoMessage() {} func (x *IngressSession) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -435,9 +449,11 @@ type KillIngressSessionRequest struct { func (x *KillIngressSessionRequest) Reset() { *x = KillIngressSessionRequest{} - mi := &file_rpc_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *KillIngressSessionRequest) String() string { @@ -448,7 +464,7 @@ func (*KillIngressSessionRequest) ProtoMessage() {} func (x *KillIngressSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -645,6 +661,104 @@ func file_rpc_ingress_proto_init() { if File_rpc_ingress_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_ingress_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*ListActiveIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*ListActiveIngressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*DeleteWHIPResourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*ICERestartWHIPResourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*ICERestartWHIPResourceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*StartIngressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*IngressSession); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_ingress_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*KillIngressSessionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/rpc/io.pb.go b/rpc/io.pb.go index 7ad83aa6..58df6951 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/io.proto package rpc @@ -102,9 +102,11 @@ type GetEgressRequest struct { func (x *GetEgressRequest) Reset() { *x = GetEgressRequest{} - mi := &file_rpc_io_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetEgressRequest) String() string { @@ -115,7 +117,7 @@ func (*GetEgressRequest) ProtoMessage() {} func (x *GetEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -149,9 +151,11 @@ type UpdateMetricsRequest struct { func (x *UpdateMetricsRequest) Reset() { *x = UpdateMetricsRequest{} - mi := &file_rpc_io_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateMetricsRequest) String() string { @@ -162,7 +166,7 @@ func (*UpdateMetricsRequest) ProtoMessage() {} func (x *UpdateMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -210,9 +214,11 @@ type GetIngressInfoRequest struct { func (x *GetIngressInfoRequest) Reset() { *x = GetIngressInfoRequest{} - mi := &file_rpc_io_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetIngressInfoRequest) String() string { @@ -223,7 +229,7 @@ func (*GetIngressInfoRequest) ProtoMessage() {} func (x *GetIngressInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -265,9 +271,11 @@ type GetIngressInfoResponse struct { func (x *GetIngressInfoResponse) Reset() { *x = GetIngressInfoResponse{} - mi := &file_rpc_io_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetIngressInfoResponse) String() string { @@ -278,7 +286,7 @@ func (*GetIngressInfoResponse) ProtoMessage() {} func (x *GetIngressInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -333,9 +341,11 @@ type UpdateIngressStateRequest struct { func (x *UpdateIngressStateRequest) Reset() { *x = UpdateIngressStateRequest{} - mi := &file_rpc_io_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateIngressStateRequest) String() string { @@ -346,7 +356,7 @@ func (*UpdateIngressStateRequest) ProtoMessage() {} func (x *UpdateIngressStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -393,9 +403,11 @@ type GetSIPTrunkAuthenticationRequest struct { func (x *GetSIPTrunkAuthenticationRequest) Reset() { *x = GetSIPTrunkAuthenticationRequest{} - mi := &file_rpc_io_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPTrunkAuthenticationRequest) String() string { @@ -406,7 +418,7 @@ func (*GetSIPTrunkAuthenticationRequest) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -473,9 +485,11 @@ type GetSIPTrunkAuthenticationResponse struct { func (x *GetSIPTrunkAuthenticationResponse) Reset() { *x = GetSIPTrunkAuthenticationResponse{} - mi := &file_rpc_io_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSIPTrunkAuthenticationResponse) String() string { @@ -486,7 +500,7 @@ func (*GetSIPTrunkAuthenticationResponse) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -565,9 +579,11 @@ type EvaluateSIPDispatchRulesRequest struct { func (x *EvaluateSIPDispatchRulesRequest) Reset() { *x = EvaluateSIPDispatchRulesRequest{} - mi := &file_rpc_io_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EvaluateSIPDispatchRulesRequest) String() string { @@ -578,7 +594,7 @@ func (*EvaluateSIPDispatchRulesRequest) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -707,9 +723,11 @@ type EvaluateSIPDispatchRulesResponse struct { func (x *EvaluateSIPDispatchRulesResponse) Reset() { *x = EvaluateSIPDispatchRulesResponse{} - mi := &file_rpc_io_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EvaluateSIPDispatchRulesResponse) String() string { @@ -720,7 +738,7 @@ func (*EvaluateSIPDispatchRulesResponse) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -865,9 +883,11 @@ type UpdateSIPCallStateRequest struct { func (x *UpdateSIPCallStateRequest) Reset() { *x = UpdateSIPCallStateRequest{} - mi := &file_rpc_io_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_io_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateSIPCallStateRequest) String() string { @@ -878,7 +898,7 @@ func (*UpdateSIPCallStateRequest) ProtoMessage() {} func (x *UpdateSIPCallStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1237,6 +1257,128 @@ func file_rpc_io_proto_init() { if File_rpc_io_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_io_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*GetEgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*UpdateMetricsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*GetIngressInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*GetIngressInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*UpdateIngressStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*GetSIPTrunkAuthenticationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*GetSIPTrunkAuthenticationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*EvaluateSIPDispatchRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*EvaluateSIPDispatchRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_io_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*UpdateSIPCallStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 20293484..91f50441 100644 --- a/rpc/keepalive.pb.go +++ b/rpc/keepalive.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/keepalive.proto package rpc @@ -45,9 +45,11 @@ type KeepalivePing struct { func (x *KeepalivePing) Reset() { *x = KeepalivePing{} - mi := &file_rpc_keepalive_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_keepalive_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *KeepalivePing) String() string { @@ -58,7 +60,7 @@ func (*KeepalivePing) ProtoMessage() {} func (x *KeepalivePing) ProtoReflect() protoreflect.Message { mi := &file_rpc_keepalive_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -130,6 +132,20 @@ func file_rpc_keepalive_proto_init() { if File_rpc_keepalive_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_keepalive_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*KeepalivePing); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index b159bccb..f8249f0b 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/participant.proto package rpc diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 54d5c30e..b3003d80 100644 --- a/rpc/room.pb.go +++ b/rpc/room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/room.proto package rpc diff --git a/rpc/roommanager.pb.go b/rpc/roommanager.pb.go index 6f2af238..2f750171 100644 --- a/rpc/roommanager.pb.go +++ b/rpc/roommanager.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/roommanager.proto package rpc diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index 66662f7c..b3ac90a0 100644 --- a/rpc/signal.pb.go +++ b/rpc/signal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/signal.proto package rpc @@ -49,9 +49,11 @@ type RelaySignalRequest struct { func (x *RelaySignalRequest) Reset() { *x = RelaySignalRequest{} - mi := &file_rpc_signal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_signal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RelaySignalRequest) String() string { @@ -62,7 +64,7 @@ func (*RelaySignalRequest) ProtoMessage() {} func (x *RelaySignalRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -117,9 +119,11 @@ type RelaySignalResponse struct { func (x *RelaySignalResponse) Reset() { *x = RelaySignalResponse{} - mi := &file_rpc_signal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_signal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RelaySignalResponse) String() string { @@ -130,7 +134,7 @@ func (*RelaySignalResponse) ProtoMessage() {} func (x *RelaySignalResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -242,6 +246,32 @@ func file_rpc_signal_proto_init() { if File_rpc_signal_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_signal_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*RelaySignalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_signal_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*RelaySignalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/rpc/sip.go b/rpc/sip.go index 853a2972..e2f45eb2 100644 --- a/rpc/sip.go +++ b/rpc/sip.go @@ -16,10 +16,13 @@ func NewCreateSIPParticipantRequest( req *livekit.CreateSIPParticipantRequest, trunk *livekit.SIPOutboundTrunkInfo, ) (*InternalCreateSIPParticipantRequest, error) { - if len(trunk.Numbers) == 0 { - return nil, errors.New("no numbers on outbound trunk") + outboundNumber := req.SipNumber + if outboundNumber == "" { + if len(trunk.Numbers) == 0 { + return nil, errors.New("no numbers on outbound trunk") + } + outboundNumber = trunk.Numbers[rand.IntN(len(trunk.Numbers))] } - outboundNumber := trunk.Numbers[rand.IntN(len(trunk.Numbers))] // A sanity check for the number format for well-known providers. switch { case strings.HasSuffix(trunk.Address, "telnyx.com"): diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index a9d5957d..4ea2a807 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.2 -// protoc v4.23.4 +// protoc-gen-go v1.34.2 +// protoc v5.28.0 // source: rpc/sip.proto package rpc @@ -83,9 +83,11 @@ type InternalCreateSIPParticipantRequest struct { func (x *InternalCreateSIPParticipantRequest) Reset() { *x = InternalCreateSIPParticipantRequest{} - mi := &file_rpc_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InternalCreateSIPParticipantRequest) String() string { @@ -96,7 +98,7 @@ func (*InternalCreateSIPParticipantRequest) ProtoMessage() {} func (x *InternalCreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -291,9 +293,11 @@ type InternalCreateSIPParticipantResponse struct { func (x *InternalCreateSIPParticipantResponse) Reset() { *x = InternalCreateSIPParticipantResponse{} - mi := &file_rpc_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InternalCreateSIPParticipantResponse) String() string { @@ -304,7 +308,7 @@ func (*InternalCreateSIPParticipantResponse) ProtoMessage() {} func (x *InternalCreateSIPParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,9 +357,11 @@ type InternalTransferSIPParticipantRequest struct { func (x *InternalTransferSIPParticipantRequest) Reset() { *x = InternalTransferSIPParticipantRequest{} - mi := &file_rpc_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_rpc_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InternalTransferSIPParticipantRequest) String() string { @@ -366,7 +372,7 @@ func (*InternalTransferSIPParticipantRequest) ProtoMessage() {} func (x *InternalTransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -586,6 +592,44 @@ func file_rpc_sip_proto_init() { if File_rpc_sip_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_rpc_sip_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*InternalCreateSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_sip_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*InternalCreateSIPParticipantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_rpc_sip_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*InternalTransferSIPParticipantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/utils/metrics_batch_builder.go b/utils/metrics_batch_builder.go new file mode 100644 index 00000000..d6fc54e2 --- /dev/null +++ b/utils/metrics_batch_builder.go @@ -0,0 +1,333 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package utils + +import ( + "errors" + "time" + + "github.com/livekit/protocol/livekit" + "google.golang.org/protobuf/types/known/timestamppb" +) + +const ( + MetricsBatchBuilderInvalidTimeSeriesMetricId = -1 +) + +var ( + ErrInvalidMetricLabel = errors.New("invalid metric label") + ErrFilteredMetricLabel = errors.New("filtered metric label") + ErrInvalidTimeSeriesMetricIndex = errors.New("invalid time series metric index") +) + +type MetricsBatchBuilder struct { + *livekit.MetricsBatch + + stringData map[string]uint32 + restrictedLabels MetricRestrictedLabels +} + +func NewMetricsBatchBuilder() *MetricsBatchBuilder { + return &MetricsBatchBuilder{ + MetricsBatch: &livekit.MetricsBatch{}, + stringData: make(map[string]uint32), + } +} + +func (m *MetricsBatchBuilder) ToProto() *livekit.MetricsBatch { + return m.MetricsBatch +} + +func (m *MetricsBatchBuilder) SetTime(at time.Time, normalizedAt time.Time) { + m.MetricsBatch.TimestampMs = at.UnixMilli() + m.MetricsBatch.NormalizedTimestamp = timestamppb.New(normalizedAt) +} + +type MetricLabelRange struct { + StartInclusive livekit.MetricLabel + EndInclusive livekit.MetricLabel +} + +type MetricRestrictedLabels struct { + LabelRanges []MetricLabelRange + ParticipantIdentity livekit.ParticipantIdentity +} + +func (m *MetricsBatchBuilder) SetRestrictedLabels(mrl MetricRestrictedLabels) { + m.restrictedLabels = mrl +} + +type MetricSample struct { + At time.Time + NormalizedAt time.Time + Value float32 +} + +type TimeSeriesMetric struct { + MetricLabel livekit.MetricLabel + CustomMetricLabel string + ParticipantIdentity livekit.ParticipantIdentity + TrackID livekit.TrackID + Samples []MetricSample + Rid string +} + +func (m *MetricsBatchBuilder) AddTimeSeriesMetric(tsm TimeSeriesMetric) (int, error) { + ptsm := &livekit.TimeSeriesMetric{} + + if tsm.CustomMetricLabel != "" { + ptsm.Label = m.getStrDataIndex(tsm.CustomMetricLabel) + } else { + if tsm.MetricLabel >= livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE { + return MetricsBatchBuilderInvalidTimeSeriesMetricId, ErrInvalidMetricLabel + } + + if m.isLabelFiltered(tsm.MetricLabel, tsm.ParticipantIdentity) { + return MetricsBatchBuilderInvalidTimeSeriesMetricId, ErrFilteredMetricLabel + } + + ptsm.Label = uint32(tsm.MetricLabel) + } + + if tsm.ParticipantIdentity != "" { + ptsm.ParticipantIdentity = m.getStrDataIndex(string(tsm.ParticipantIdentity)) + } + + if tsm.TrackID != "" { + ptsm.TrackSid = m.getStrDataIndex(string(tsm.TrackID)) + } + + for _, sample := range tsm.Samples { + ptsm.Samples = append(ptsm.Samples, &livekit.MetricSample{ + TimestampMs: sample.At.UnixMilli(), + NormalizedTimestamp: timestamppb.New(sample.NormalizedAt), + Value: sample.Value, + }) + } + + if tsm.Rid != "" { + ptsm.Rid = m.getStrDataIndex(tsm.Rid) + } + + m.MetricsBatch.TimeSeries = append(m.MetricsBatch.TimeSeries, ptsm) + return len(m.MetricsBatch.TimeSeries) - 1, nil +} + +func (m *MetricsBatchBuilder) AddMetricSamplesToTimeSeriesMetric(timeSeriesMetricIdx int, samples []MetricSample) error { + if timeSeriesMetricIdx < 0 || timeSeriesMetricIdx >= len(m.MetricsBatch.TimeSeries) { + return ErrInvalidTimeSeriesMetricIndex + } + + ptsm := m.MetricsBatch.TimeSeries[timeSeriesMetricIdx] + for _, sample := range samples { + ptsm.Samples = append(ptsm.Samples, &livekit.MetricSample{ + TimestampMs: sample.At.UnixMilli(), + NormalizedTimestamp: timestamppb.New(sample.NormalizedAt), + Value: sample.Value, + }) + } + + return nil +} + +type EventMetric struct { + MetricLabel livekit.MetricLabel + CustomMetricLabel string + ParticipantIdentity livekit.ParticipantIdentity + TrackID livekit.TrackID + StartedAt time.Time + EndedAt time.Time + NormalizedStartedAt time.Time + NormalizedEndedAt time.Time + Metadata string + Rid string +} + +func (m *MetricsBatchBuilder) AddEventMetric(em EventMetric) error { + pem := &livekit.EventMetric{} + + if em.CustomMetricLabel != "" { + pem.Label = m.getStrDataIndex(em.CustomMetricLabel) + } else { + if em.MetricLabel >= livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE { + return ErrInvalidMetricLabel + } + + if m.isLabelFiltered(em.MetricLabel, em.ParticipantIdentity) { + return ErrFilteredMetricLabel + } + + pem.Label = uint32(em.MetricLabel) + } + + if em.ParticipantIdentity != "" { + pem.ParticipantIdentity = m.getStrDataIndex(string(em.ParticipantIdentity)) + } + + if em.TrackID != "" { + pem.TrackSid = m.getStrDataIndex(string(em.TrackID)) + } + + pem.StartTimestampMs = em.StartedAt.UnixMilli() + if !em.EndedAt.IsZero() { + endTimestampMs := em.EndedAt.UnixMilli() + pem.EndTimestampMs = &endTimestampMs + } + + pem.NormalizedStartTimestamp = timestamppb.New(em.NormalizedStartedAt) + if !em.NormalizedEndedAt.IsZero() { + pem.NormalizedEndTimestamp = timestamppb.New(em.NormalizedEndedAt) + } + + pem.Metadata = em.Metadata + + if em.Rid != "" { + pem.Rid = m.getStrDataIndex(em.Rid) + } + + m.MetricsBatch.Events = append(m.MetricsBatch.Events, pem) + return nil +} + +func (m *MetricsBatchBuilder) Merge(other *livekit.MetricsBatch) { + // Timestamp and NormalizedTimestamp are not merged + + for _, optsm := range other.TimeSeries { + ptsm := &livekit.TimeSeriesMetric{ + Samples: optsm.Samples, + } + if optsm.Label < uint32(int(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE)) { + participantIdentity, ok := getStrDataForIndex(other, optsm.ParticipantIdentity) + if ok && m.isLabelFiltered(livekit.MetricLabel(optsm.Label), livekit.ParticipantIdentity(participantIdentity)) { + continue + } + + ptsm.Label = optsm.Label + } else { + if tidx, ok := m.translateStrDataIndex(other.StrData, optsm.Label); ok { + ptsm.Label = tidx + } + } + + if tidx, ok := m.translateStrDataIndex(other.StrData, optsm.ParticipantIdentity); ok { + ptsm.ParticipantIdentity = tidx + } + + if tidx, ok := m.translateStrDataIndex(other.StrData, optsm.TrackSid); ok { + ptsm.TrackSid = tidx + } + + if tidx, ok := m.translateStrDataIndex(other.StrData, optsm.Rid); ok { + ptsm.Rid = tidx + } + + m.MetricsBatch.TimeSeries = append(m.MetricsBatch.TimeSeries, ptsm) + } + + for _, opem := range other.Events { + pem := &livekit.EventMetric{} + if opem.Label < uint32(int(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE)) { + participantIdentity, ok := getStrDataForIndex(other, opem.ParticipantIdentity) + if ok && m.isLabelFiltered(livekit.MetricLabel(opem.Label), livekit.ParticipantIdentity(participantIdentity)) { + continue + } + + pem.Label = opem.Label + } else { + if tidx, ok := m.translateStrDataIndex(other.StrData, opem.Label); ok { + pem.Label = tidx + } + } + + if tidx, ok := m.translateStrDataIndex(other.StrData, opem.ParticipantIdentity); ok { + pem.ParticipantIdentity = tidx + } + + if tidx, ok := m.translateStrDataIndex(other.StrData, opem.TrackSid); ok { + pem.TrackSid = tidx + } + + pem.StartTimestampMs = opem.StartTimestampMs + pem.EndTimestampMs = opem.EndTimestampMs + pem.NormalizedStartTimestamp = opem.NormalizedStartTimestamp + pem.NormalizedEndTimestamp = opem.NormalizedEndTimestamp + + pem.Metadata = opem.Metadata + + if tidx, ok := m.translateStrDataIndex(other.StrData, opem.Rid); ok { + pem.Rid = tidx + } + + m.MetricsBatch.Events = append(m.MetricsBatch.Events, pem) + } +} + +func (m *MetricsBatchBuilder) IsEmpty() bool { + return len(m.MetricsBatch.TimeSeries) == 0 && len(m.MetricsBatch.Events) == 0 +} + +func (m *MetricsBatchBuilder) isLabelFiltered(label livekit.MetricLabel, participantIdentity livekit.ParticipantIdentity) bool { + if participantIdentity == m.restrictedLabels.ParticipantIdentity { + // all labels allowed for restricted participant + return false + } + + for _, mlr := range m.restrictedLabels.LabelRanges { + if label >= mlr.StartInclusive && label <= mlr.EndInclusive { + return true + } + } + + return false +} + +func (m *MetricsBatchBuilder) getStrDataIndex(s string) uint32 { + idx, ok := m.stringData[s] + if !ok { + m.MetricsBatch.StrData = append(m.MetricsBatch.StrData, s) + idx = uint32(int(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + len(m.MetricsBatch.StrData) - 1) + m.stringData[s] = idx + } + return idx +} + +func (m *MetricsBatchBuilder) translateStrDataIndex(strData []string, index uint32) (uint32, bool) { + if index < uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) { + return 0, false + } + + baseIdx := index - uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + if len(strData) <= int(baseIdx) { + return 0, false + } + + // add if necessary + return m.getStrDataIndex(strData[baseIdx]), true +} + +// ----------------------------------------------------- + +func getStrDataForIndex(mb *livekit.MetricsBatch, index uint32) (string, bool) { + if index < uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) { + return "", false + } + + baseIdx := index - uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + if len(mb.StrData) <= int(baseIdx) { + return "", false + } + + return mb.StrData[baseIdx], true +} diff --git a/utils/metrics_batch_builder_test.go b/utils/metrics_batch_builder_test.go new file mode 100644 index 00000000..6e15a16b --- /dev/null +++ b/utils/metrics_batch_builder_test.go @@ -0,0 +1,598 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package utils + +import ( + "testing" + "time" + + "github.com/stretchr/testify/require" + "google.golang.org/protobuf/proto" + "google.golang.org/protobuf/types/known/timestamppb" + + "github.com/livekit/protocol/livekit" + "github.com/livekit/protocol/utils/mono" +) + +func TestMetricsBatchBuilder(t *testing.T) { + t.Run("basic", func(t *testing.T) { + at := mono.Now() + normalizedAt := mono.Now().Add(10 * time.Millisecond) + expected := &livekit.MetricsBatch{ + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + } + + mbb := NewMetricsBatchBuilder() + require.True(t, mbb.IsEmpty()) + mbb.SetTime( + time.Unix(0, expected.TimestampMs*int64(time.Millisecond)), + expected.NormalizedTimestamp.AsTime(), + ) + mb := mbb.ToProto() + require.True(t, proto.Equal(expected, mb)) + }) + + t.Run("time series metric", func(t *testing.T) { + at := mono.Now() + normalizedAt := mono.Now().Add(10 * time.Millisecond) + + expected := &livekit.MetricsBatch{ + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + StrData: []string{ + "PA_1", + "TR_VC1", + "f", + "CustomMetric", + "TR_VC2", + "q", + "PA_2", + }, + TimeSeries: []*livekit.TimeSeriesMetric{ + { + Label: uint32(livekit.MetricLabel_PUBLISHER_RTT), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 1, + Samples: []*livekit.MetricSample{ + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 42.4, + }, + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 52.4, + }, + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 62.4, + }, + }, + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 2, + }, + { + Label: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 3, + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 4, + Samples: []*livekit.MetricSample{ + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 72.4, + }, + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 82.4, + }, + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 92.4, + }, + }, + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 5, + }, + { + Label: uint32(livekit.MetricLabel_SUBSCRIBER_RTT), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 6, + Samples: []*livekit.MetricSample{ + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 102.4, + }, + }, + }, + { + Label: uint32(livekit.MetricLabel_CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + Samples: []*livekit.MetricSample{ + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 102.4, + }, + }, + }, + }, + } + + mbb := NewMetricsBatchBuilder() + mbb.SetTime(at, normalizedAt) + mbb.SetRestrictedLabels(MetricRestrictedLabels{ + LabelRanges: []MetricLabelRange{ + { + StartInclusive: livekit.MetricLabel_CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT, + EndInclusive: livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER, + }, + }, + ParticipantIdentity: "PA_1", + }) + + // should not be able to add invalid metric label index + _, err := mbb.AddTimeSeriesMetric(TimeSeriesMetric{ + MetricLabel: livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE, + }) + require.ErrorIs(t, err, ErrInvalidMetricLabel) + + // add a time series metric + ts1Idx, err := mbb.AddTimeSeriesMetric(TimeSeriesMetric{ + MetricLabel: livekit.MetricLabel_PUBLISHER_RTT, + ParticipantIdentity: "PA_1", + TrackID: "TR_VC1", + Samples: []MetricSample{ + { + At: at, + NormalizedAt: normalizedAt, + Value: 42.4, + }, + }, + Rid: "f", + }) + require.NoError(t, err) + require.False(t, mbb.IsEmpty()) + + // should not be able to add sample to invalid index + err = mbb.AddMetricSamplesToTimeSeriesMetric(-1, nil) + require.ErrorIs(t, err, ErrInvalidTimeSeriesMetricIndex) + err = mbb.AddMetricSamplesToTimeSeriesMetric(ts1Idx+1, nil) + require.ErrorIs(t, err, ErrInvalidTimeSeriesMetricIndex) + + // add a second one + ts2Idx, err := mbb.AddTimeSeriesMetric(TimeSeriesMetric{ + CustomMetricLabel: "CustomMetric", + ParticipantIdentity: "PA_1", + TrackID: "TR_VC2", + Samples: []MetricSample{ + { + At: at, + NormalizedAt: normalizedAt, + Value: 72.4, + }, + }, + Rid: "q", + }) + require.NoError(t, err) + + // add extra samples to first metric to ensure it gets added to the right metric + err = mbb.AddMetricSamplesToTimeSeriesMetric(ts1Idx, []MetricSample{ + { + At: at, + NormalizedAt: normalizedAt, + Value: 52.4, + }, + { + At: at, + NormalizedAt: normalizedAt, + Value: 62.4, + }, + }) + require.NoError(t, err) + + // add extra samples to second metric to ensure it gets added to the right metric + err = mbb.AddMetricSamplesToTimeSeriesMetric(ts2Idx, []MetricSample{ + { + At: at, + NormalizedAt: normalizedAt, + Value: 82.4, + }, + { + At: at, + NormalizedAt: normalizedAt, + Value: 92.4, + }, + }) + require.NoError(t, err) + + // add a third metric with some fields not populated to ensure that those indices default to 0 + _, err = mbb.AddTimeSeriesMetric(TimeSeriesMetric{ + MetricLabel: livekit.MetricLabel_SUBSCRIBER_RTT, + ParticipantIdentity: "PA_2", + Samples: []MetricSample{ + { + At: at, + NormalizedAt: normalizedAt, + Value: 102.4, + }, + }, + }) + require.NoError(t, err) + + // should accept restricted labels from that participant + _, err = mbb.AddTimeSeriesMetric(TimeSeriesMetric{ + MetricLabel: livekit.MetricLabel_CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT, + ParticipantIdentity: "PA_1", + Samples: []MetricSample{ + { + At: at, + NormalizedAt: normalizedAt, + Value: 102.4, + }, + }, + }) + require.NoError(t, err) + + // should not accept restricted labels from any other participant + _, err = mbb.AddTimeSeriesMetric(TimeSeriesMetric{ + MetricLabel: livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER, + ParticipantIdentity: "PA_2", + Samples: []MetricSample{ + { + At: at, + NormalizedAt: normalizedAt, + Value: 102.4, + }, + }, + }) + require.ErrorIs(t, err, ErrFilteredMetricLabel) + + mb := mbb.ToProto() + require.True(t, proto.Equal(expected, mb)) + }) + + t.Run("event metric", func(t *testing.T) { + at := mono.Now() + atMilli := at.UnixMilli() + normalizedAt := mono.Now().Add(10 * time.Millisecond) + + expected := &livekit.MetricsBatch{ + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + StrData: []string{ + "PA_1", + "TR_VC1", + "f", + "CustomMetric", + "TR_VC2", + "PA_2", + }, + Events: []*livekit.EventMetric{ + { + Label: uint32(livekit.MetricLabel_PUBLISHER_RTT), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 1, + StartTimestampMs: at.UnixMilli(), + EndTimestampMs: &atMilli, + NormalizedStartTimestamp: timestamppb.New(normalizedAt), + NormalizedEndTimestamp: timestamppb.New(normalizedAt), + Metadata: "md1", + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 2, + }, + { + Label: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 3, + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 4, + StartTimestampMs: at.UnixMilli(), + NormalizedStartTimestamp: timestamppb.New(normalizedAt), + Metadata: "md2", + }, + { + Label: uint32(livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 1, + StartTimestampMs: at.UnixMilli(), + EndTimestampMs: &atMilli, + NormalizedStartTimestamp: timestamppb.New(normalizedAt), + NormalizedEndTimestamp: timestamppb.New(normalizedAt), + Metadata: "md1", + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 2, + }, + }, + TimeSeries: []*livekit.TimeSeriesMetric{ + { + Label: uint32(livekit.MetricLabel_SUBSCRIBER_RTT), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 5, + Samples: []*livekit.MetricSample{ + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 102.4, + }, + }, + }, + }, + } + + mbb := NewMetricsBatchBuilder() + mbb.SetTime(at, normalizedAt) + mbb.SetRestrictedLabels(MetricRestrictedLabels{ + LabelRanges: []MetricLabelRange{ + { + StartInclusive: livekit.MetricLabel_CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT, + EndInclusive: livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER, + }, + }, + ParticipantIdentity: "PA_1", + }) + + // should not be able to add invalid metric label index + err := mbb.AddEventMetric(EventMetric{ + MetricLabel: livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE, + }) + require.ErrorIs(t, err, ErrInvalidMetricLabel) + + // add an event metric + err = mbb.AddEventMetric(EventMetric{ + MetricLabel: livekit.MetricLabel_PUBLISHER_RTT, + ParticipantIdentity: "PA_1", + TrackID: "TR_VC1", + StartedAt: at, + EndedAt: at, + NormalizedStartedAt: normalizedAt, + NormalizedEndedAt: normalizedAt, + Metadata: "md1", + Rid: "f", + }) + require.NoError(t, err) + + // add a second one with some optional fields not included + err = mbb.AddEventMetric(EventMetric{ + CustomMetricLabel: "CustomMetric", + ParticipantIdentity: "PA_1", + TrackID: "TR_VC2", + StartedAt: at, + NormalizedStartedAt: normalizedAt, + Metadata: "md2", + }) + + // should accept restricted label from PA_1 + err = mbb.AddEventMetric(EventMetric{ + MetricLabel: livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER, + ParticipantIdentity: "PA_1", + TrackID: "TR_VC1", + StartedAt: at, + EndedAt: at, + NormalizedStartedAt: normalizedAt, + NormalizedEndedAt: normalizedAt, + Metadata: "md1", + Rid: "f", + }) + require.NoError(t, err) + + // should not accept restricted label from !PA_1 + err = mbb.AddEventMetric(EventMetric{ + MetricLabel: livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER, + ParticipantIdentity: "PA_2", + TrackID: "TR_VC1", + StartedAt: at, + EndedAt: at, + NormalizedStartedAt: normalizedAt, + NormalizedEndedAt: normalizedAt, + Metadata: "md1", + Rid: "f", + }) + require.ErrorIs(t, err, ErrFilteredMetricLabel) + + // add a time series metric to ensure both time series metric and event metric can be in same batch + _, err = mbb.AddTimeSeriesMetric(TimeSeriesMetric{ + MetricLabel: livekit.MetricLabel_SUBSCRIBER_RTT, + ParticipantIdentity: "PA_2", + Samples: []MetricSample{ + { + At: at, + NormalizedAt: normalizedAt, + Value: 102.4, + }, + }, + }) + require.NoError(t, err) + + mb := mbb.ToProto() + require.True(t, proto.Equal(expected, mb)) + }) + + t.Run("merge", func(t *testing.T) { + at := mono.Now() + atMilli := at.UnixMilli() + normalizedAt := mono.Now().Add(10 * time.Millisecond) + + expected := &livekit.MetricsBatch{ + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + StrData: []string{ + "PA_1", + "TR_VC1", + "f", + "CustomMetric", + "TR_VC2", + "q", + "PA_2", + }, + Events: []*livekit.EventMetric{ + { + Label: uint32(livekit.MetricLabel_PUBLISHER_RTT), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 1, + StartTimestampMs: at.UnixMilli(), + EndTimestampMs: &atMilli, + NormalizedStartTimestamp: timestamppb.New(normalizedAt), + NormalizedEndTimestamp: timestamppb.New(normalizedAt), + Metadata: "md1", + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 2, + }, + { + Label: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 3, + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 4, + StartTimestampMs: at.UnixMilli(), + NormalizedStartTimestamp: timestamppb.New(normalizedAt), + Metadata: "md2", + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 5, + }, + { + Label: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 3, + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 4, + StartTimestampMs: at.UnixMilli(), + NormalizedStartTimestamp: timestamppb.New(normalizedAt), + Metadata: "md2", + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 5, + }, + { + Label: uint32(livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 4, + StartTimestampMs: at.UnixMilli(), + NormalizedStartTimestamp: timestamppb.New(normalizedAt), + Metadata: "md2", + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 5, + }, + }, + TimeSeries: []*livekit.TimeSeriesMetric{ + { + Label: uint32(livekit.MetricLabel_SUBSCRIBER_RTT), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 6, + Samples: []*livekit.MetricSample{ + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 102.4, + }, + }, + }, + }, + } + + mbb := NewMetricsBatchBuilder() + mbb.SetTime(at, normalizedAt) + mbb.SetRestrictedLabels(MetricRestrictedLabels{ + LabelRanges: []MetricLabelRange{ + { + StartInclusive: livekit.MetricLabel_CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT, + EndInclusive: livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER, + }, + }, + ParticipantIdentity: "PA_1", + }) + + // should not be able to add invalid metric label index + err := mbb.AddEventMetric(EventMetric{ + MetricLabel: livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE, + }) + require.ErrorIs(t, err, ErrInvalidMetricLabel) + + // add an event metric + err = mbb.AddEventMetric(EventMetric{ + MetricLabel: livekit.MetricLabel_PUBLISHER_RTT, + ParticipantIdentity: "PA_1", + TrackID: "TR_VC1", + StartedAt: at, + EndedAt: at, + NormalizedStartedAt: normalizedAt, + NormalizedEndedAt: normalizedAt, + Metadata: "md1", + Rid: "f", + }) + require.NoError(t, err) + + // add a second one with some optional fields not included + // including this here and in the one to merge to test index translation + err = mbb.AddEventMetric(EventMetric{ + CustomMetricLabel: "CustomMetric", + ParticipantIdentity: "PA_1", + TrackID: "TR_VC2", + StartedAt: at, + NormalizedStartedAt: normalizedAt, + Metadata: "md2", + Rid: "q", + }) + require.NoError(t, err) + + toMerge := &livekit.MetricsBatch{ + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + StrData: []string{ + "CustomMetric", + "PA_1", + "TR_VC2", + "q", + "PA_2", + }, + Events: []*livekit.EventMetric{ + { + Label: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 1, + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 2, + StartTimestampMs: at.UnixMilli(), + NormalizedStartTimestamp: timestamppb.New(normalizedAt), + Metadata: "md2", + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 3, + }, + { + Label: uint32(livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 1, + TrackSid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 2, + StartTimestampMs: at.UnixMilli(), + NormalizedStartTimestamp: timestamppb.New(normalizedAt), + Metadata: "md2", + Rid: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 3, + }, + }, + TimeSeries: []*livekit.TimeSeriesMetric{ + { + Label: uint32(livekit.MetricLabel_SUBSCRIBER_RTT), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 4, + Samples: []*livekit.MetricSample{ + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 102.4, + }, + }, + }, + { + // should be filtered + Label: uint32(livekit.MetricLabel_CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU), + ParticipantIdentity: uint32(livekit.MetricLabel_METRIC_LABEL_PREDEFINED_MAX_VALUE) + 4, + Samples: []*livekit.MetricSample{ + { + TimestampMs: at.UnixMilli(), + NormalizedTimestamp: timestamppb.New(normalizedAt), + Value: 102.4, + }, + }, + }, + }, + } + mbb.Merge(toMerge) + + mb := mbb.ToProto() + require.True(t, proto.Equal(expected, mb)) + }) +} diff --git a/utils/pointer/to.go b/utils/pointer/to.go new file mode 100644 index 00000000..44a551fa --- /dev/null +++ b/utils/pointer/to.go @@ -0,0 +1,19 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package pointer + +func To[T any](v T) *T { + return &v +}