From 970e76a1dcb6bf1c80bad3984d9d9cabc8131fd1 Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Tue, 8 Oct 2024 00:52:06 -0700 Subject: [PATCH 01/11] use AgentDispatch in internal request (#839) * use AgentDispatch in internal request * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- infra/link.pb.go | 92 +- livekit/livekit_agent.pb.go | 356 ++----- livekit/livekit_agent_dispatch.pb.go | 158 +-- livekit/livekit_analytics.pb.go | 224 +---- livekit/livekit_egress.pb.go | 642 +++--------- livekit/livekit_ingress.pb.go | 290 +----- livekit/livekit_internal.pb.go | 114 +-- livekit/livekit_metrics.pb.go | 92 +- livekit/livekit_models.pb.go | 752 +++----------- livekit/livekit_room.pb.go | 444 ++------- livekit/livekit_rtc.pb.go | 928 ++++-------------- livekit/livekit_sip.pb.go | 642 +++--------- livekit/livekit_webhook.pb.go | 26 +- protobufs/rpc/agent_dispatch.proto | 2 +- rpc/agent.pb.go | 114 +-- rpc/agent_dispatch.pb.go | 61 +- rpc/agent_dispatch.psrpc.go | 30 +- rpc/analytics.pb.go | 2 +- rpc/egress.pb.go | 70 +- rpc/ingress.pb.go | 180 +--- rpc/io.pb.go | 202 +--- rpc/keepalive.pb.go | 26 +- rpc/participant.pb.go | 2 +- rpc/room.pb.go | 2 +- rpc/roommanager.pb.go | 2 +- ...ke_typed_agent_dispatch_internal_client.go | 325 ++++++ rpc/signal.pb.go | 48 +- rpc/sip.pb.go | 70 +- 28 files changed, 1375 insertions(+), 4521 deletions(-) create mode 100644 rpc/rpcfakes/fake_typed_agent_dispatch_internal_client.go diff --git a/infra/link.pb.go b/infra/link.pb.go index c53e392e..4121838d 100644 --- a/infra/link.pb.go +++ b/infra/link.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: infra/link.proto @@ -43,11 +43,9 @@ type WatchLocalLinksRequest struct { func (x *WatchLocalLinksRequest) Reset() { *x = WatchLocalLinksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WatchLocalLinksRequest) String() string { @@ -58,7 +56,7 @@ func (*WatchLocalLinksRequest) ProtoMessage() {} func (x *WatchLocalLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -89,11 +87,9 @@ type WatchLocalLinksResponse struct { func (x *WatchLocalLinksResponse) Reset() { *x = WatchLocalLinksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WatchLocalLinksResponse) String() string { @@ -104,7 +100,7 @@ func (*WatchLocalLinksResponse) ProtoMessage() {} func (x *WatchLocalLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -184,11 +180,9 @@ type SimulateLinkStateRequest struct { func (x *SimulateLinkStateRequest) Reset() { *x = SimulateLinkStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateLinkStateRequest) String() string { @@ -199,7 +193,7 @@ func (*SimulateLinkStateRequest) ProtoMessage() {} func (x *SimulateLinkStateRequest) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -271,11 +265,9 @@ type SimulateLinkStateResponse struct { func (x *SimulateLinkStateResponse) Reset() { *x = SimulateLinkStateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_infra_link_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_infra_link_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateLinkStateResponse) String() string { @@ -286,7 +278,7 @@ func (*SimulateLinkStateResponse) ProtoMessage() {} func (x *SimulateLinkStateResponse) ProtoReflect() protoreflect.Message { mi := &file_infra_link_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,56 +392,6 @@ 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/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index 99031059..27d340fc 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_agent.proto @@ -197,11 +197,9 @@ type Job struct { func (x *Job) Reset() { *x = Job{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Job) String() string { @@ -212,7 +210,7 @@ func (*Job) ProtoMessage() {} func (x *Job) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -306,11 +304,9 @@ type JobState struct { func (x *JobState) Reset() { *x = JobState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobState) String() string { @@ -321,7 +317,7 @@ func (*JobState) ProtoMessage() {} func (x *JobState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -398,11 +394,9 @@ type WorkerMessage struct { func (x *WorkerMessage) Reset() { *x = WorkerMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkerMessage) String() string { @@ -413,7 +407,7 @@ func (*WorkerMessage) ProtoMessage() {} func (x *WorkerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -552,11 +546,9 @@ type ServerMessage struct { func (x *ServerMessage) Reset() { *x = ServerMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerMessage) String() string { @@ -567,7 +559,7 @@ func (*ServerMessage) ProtoMessage() {} func (x *ServerMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,11 +664,9 @@ type SimulateJobRequest struct { func (x *SimulateJobRequest) Reset() { *x = SimulateJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateJobRequest) String() string { @@ -687,7 +677,7 @@ func (*SimulateJobRequest) ProtoMessage() {} func (x *SimulateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -733,11 +723,9 @@ type WorkerPing struct { func (x *WorkerPing) Reset() { *x = WorkerPing{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkerPing) String() string { @@ -748,7 +736,7 @@ func (*WorkerPing) ProtoMessage() {} func (x *WorkerPing) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -781,11 +769,9 @@ type WorkerPong struct { func (x *WorkerPong) Reset() { *x = WorkerPong{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorkerPong) String() string { @@ -796,7 +782,7 @@ func (*WorkerPong) ProtoMessage() {} func (x *WorkerPong) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -842,11 +828,9 @@ type RegisterWorkerRequest struct { func (x *RegisterWorkerRequest) Reset() { *x = RegisterWorkerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterWorkerRequest) String() string { @@ -857,7 +841,7 @@ func (*RegisterWorkerRequest) ProtoMessage() {} func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -925,11 +909,9 @@ type RegisterWorkerResponse struct { func (x *RegisterWorkerResponse) Reset() { *x = RegisterWorkerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterWorkerResponse) String() string { @@ -940,7 +922,7 @@ func (*RegisterWorkerResponse) ProtoMessage() {} func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -980,11 +962,9 @@ type MigrateJobRequest struct { func (x *MigrateJobRequest) Reset() { *x = MigrateJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MigrateJobRequest) String() string { @@ -995,7 +975,7 @@ func (*MigrateJobRequest) ProtoMessage() {} func (x *MigrateJobRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1030,11 +1010,9 @@ type AvailabilityRequest struct { func (x *AvailabilityRequest) Reset() { *x = AvailabilityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AvailabilityRequest) String() string { @@ -1045,7 +1023,7 @@ func (*AvailabilityRequest) ProtoMessage() {} func (x *AvailabilityRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1090,11 +1068,9 @@ type AvailabilityResponse struct { func (x *AvailabilityResponse) Reset() { *x = AvailabilityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AvailabilityResponse) String() string { @@ -1105,7 +1081,7 @@ func (*AvailabilityResponse) ProtoMessage() {} func (x *AvailabilityResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1183,11 +1159,9 @@ type UpdateJobStatus struct { func (x *UpdateJobStatus) Reset() { *x = UpdateJobStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateJobStatus) String() string { @@ -1198,7 +1172,7 @@ func (*UpdateJobStatus) ProtoMessage() {} func (x *UpdateJobStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1247,11 +1221,9 @@ type UpdateWorkerStatus struct { func (x *UpdateWorkerStatus) Reset() { *x = UpdateWorkerStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateWorkerStatus) String() string { @@ -1262,7 +1234,7 @@ func (*UpdateWorkerStatus) ProtoMessage() {} func (x *UpdateWorkerStatus) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1310,11 +1282,9 @@ type JobAssignment struct { func (x *JobAssignment) Reset() { *x = JobAssignment{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobAssignment) String() string { @@ -1325,7 +1295,7 @@ func (*JobAssignment) ProtoMessage() {} func (x *JobAssignment) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1371,11 +1341,9 @@ type JobTermination struct { func (x *JobTermination) Reset() { *x = JobTermination{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobTermination) String() string { @@ -1386,7 +1354,7 @@ func (*JobTermination) ProtoMessage() {} func (x *JobTermination) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1701,200 +1669,6 @@ 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 c77b83a2..179624da 100644 --- a/livekit/livekit_agent_dispatch.pb.go +++ b/livekit/livekit_agent_dispatch.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_agent_dispatch.proto @@ -46,11 +46,9 @@ type CreateAgentDispatchRequest struct { func (x *CreateAgentDispatchRequest) Reset() { *x = CreateAgentDispatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateAgentDispatchRequest) String() string { @@ -61,7 +59,7 @@ func (*CreateAgentDispatchRequest) ProtoMessage() {} func (x *CreateAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -108,11 +106,9 @@ type RoomAgentDispatch struct { func (x *RoomAgentDispatch) Reset() { *x = RoomAgentDispatch{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomAgentDispatch) String() string { @@ -123,7 +119,7 @@ func (*RoomAgentDispatch) ProtoMessage() {} func (x *RoomAgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -163,11 +159,9 @@ type DeleteAgentDispatchRequest struct { func (x *DeleteAgentDispatchRequest) Reset() { *x = DeleteAgentDispatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteAgentDispatchRequest) String() string { @@ -178,7 +172,7 @@ func (*DeleteAgentDispatchRequest) ProtoMessage() {} func (x *DeleteAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -218,11 +212,9 @@ type ListAgentDispatchRequest struct { func (x *ListAgentDispatchRequest) Reset() { *x = ListAgentDispatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAgentDispatchRequest) String() string { @@ -233,7 +225,7 @@ func (*ListAgentDispatchRequest) ProtoMessage() {} func (x *ListAgentDispatchRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -272,11 +264,9 @@ type ListAgentDispatchResponse struct { func (x *ListAgentDispatchResponse) Reset() { *x = ListAgentDispatchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAgentDispatchResponse) String() string { @@ -287,7 +277,7 @@ func (*ListAgentDispatchResponse) ProtoMessage() {} func (x *ListAgentDispatchResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -323,11 +313,9 @@ type AgentDispatch struct { func (x *AgentDispatch) Reset() { *x = AgentDispatch{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AgentDispatch) String() string { @@ -338,7 +326,7 @@ func (*AgentDispatch) ProtoMessage() {} func (x *AgentDispatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -402,11 +390,9 @@ type AgentDispatchState struct { func (x *AgentDispatchState) Reset() { *x = AgentDispatchState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_agent_dispatch_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AgentDispatchState) String() string { @@ -417,7 +403,7 @@ func (*AgentDispatchState) ProtoMessage() {} func (x *AgentDispatchState) ProtoReflect() protoreflect.Message { mi := &file_livekit_agent_dispatch_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -576,92 +562,6 @@ 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 1a8a429f..85c476c1 100644 --- a/livekit/livekit_analytics.pb.go +++ b/livekit/livekit_analytics.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_analytics.proto @@ -218,11 +218,9 @@ type AnalyticsVideoLayer struct { func (x *AnalyticsVideoLayer) Reset() { *x = AnalyticsVideoLayer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsVideoLayer) String() string { @@ -233,7 +231,7 @@ func (*AnalyticsVideoLayer) ProtoMessage() {} func (x *AnalyticsVideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,11 +301,9 @@ type AnalyticsStream struct { func (x *AnalyticsStream) Reset() { *x = AnalyticsStream{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsStream) String() string { @@ -318,7 +314,7 @@ func (*AnalyticsStream) ProtoMessage() {} func (x *AnalyticsStream) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -483,11 +479,9 @@ type AnalyticsStat struct { func (x *AnalyticsStat) Reset() { *x = AnalyticsStat{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsStat) String() string { @@ -498,7 +492,7 @@ func (*AnalyticsStat) ProtoMessage() {} func (x *AnalyticsStat) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -621,11 +615,9 @@ type AnalyticsStats struct { func (x *AnalyticsStats) Reset() { *x = AnalyticsStats{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsStats) String() string { @@ -636,7 +628,7 @@ func (*AnalyticsStats) ProtoMessage() {} func (x *AnalyticsStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -677,11 +669,9 @@ type AnalyticsClientMeta struct { func (x *AnalyticsClientMeta) Reset() { *x = AnalyticsClientMeta{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsClientMeta) String() string { @@ -692,7 +682,7 @@ func (*AnalyticsClientMeta) ProtoMessage() {} func (x *AnalyticsClientMeta) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -803,11 +793,9 @@ type AnalyticsEvent struct { func (x *AnalyticsEvent) Reset() { *x = AnalyticsEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsEvent) String() string { @@ -818,7 +806,7 @@ func (*AnalyticsEvent) ProtoMessage() {} func (x *AnalyticsEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1004,11 +992,9 @@ type AnalyticsEvents struct { func (x *AnalyticsEvents) Reset() { *x = AnalyticsEvents{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsEvents) String() string { @@ -1019,7 +1005,7 @@ func (*AnalyticsEvents) ProtoMessage() {} func (x *AnalyticsEvents) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1055,11 +1041,9 @@ type AnalyticsRoomParticipant struct { func (x *AnalyticsRoomParticipant) Reset() { *x = AnalyticsRoomParticipant{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsRoomParticipant) String() string { @@ -1070,7 +1054,7 @@ func (*AnalyticsRoomParticipant) ProtoMessage() {} func (x *AnalyticsRoomParticipant) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1134,11 +1118,9 @@ type AnalyticsRoom struct { func (x *AnalyticsRoom) Reset() { *x = AnalyticsRoom{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsRoom) String() string { @@ -1149,7 +1131,7 @@ func (*AnalyticsRoom) ProtoMessage() {} func (x *AnalyticsRoom) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1212,11 +1194,9 @@ type AnalyticsNodeRooms struct { func (x *AnalyticsNodeRooms) Reset() { *x = AnalyticsNodeRooms{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_analytics_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_analytics_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AnalyticsNodeRooms) String() string { @@ -1227,7 +1207,7 @@ func (*AnalyticsNodeRooms) ProtoMessage() {} func (x *AnalyticsNodeRooms) ProtoReflect() protoreflect.Message { mi := &file_livekit_analytics_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1625,128 +1605,6 @@ func file_livekit_analytics_proto_init() { file_livekit_models_proto_init() file_livekit_egress_proto_init() file_livekit_ingress_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 be8ae59b..8473db0a 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_egress.proto @@ -474,11 +474,9 @@ type RoomCompositeEgressRequest struct { func (x *RoomCompositeEgressRequest) Reset() { *x = RoomCompositeEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomCompositeEgressRequest) String() string { @@ -489,7 +487,7 @@ func (*RoomCompositeEgressRequest) ProtoMessage() {} func (x *RoomCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -689,11 +687,9 @@ type WebEgressRequest struct { func (x *WebEgressRequest) Reset() { *x = WebEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebEgressRequest) String() string { @@ -704,7 +700,7 @@ func (*WebEgressRequest) ProtoMessage() {} func (x *WebEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -890,11 +886,9 @@ type ParticipantEgressRequest struct { func (x *ParticipantEgressRequest) Reset() { *x = ParticipantEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantEgressRequest) String() string { @@ -905,7 +899,7 @@ func (*ParticipantEgressRequest) ProtoMessage() {} func (x *ParticipantEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1034,11 +1028,9 @@ type TrackCompositeEgressRequest struct { func (x *TrackCompositeEgressRequest) Reset() { *x = TrackCompositeEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackCompositeEgressRequest) String() string { @@ -1049,7 +1041,7 @@ func (*TrackCompositeEgressRequest) ProtoMessage() {} func (x *TrackCompositeEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1223,11 +1215,9 @@ type TrackEgressRequest struct { func (x *TrackEgressRequest) Reset() { *x = TrackEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackEgressRequest) String() string { @@ -1238,7 +1228,7 @@ func (*TrackEgressRequest) ProtoMessage() {} func (x *TrackEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1323,11 +1313,9 @@ type EncodedFileOutput struct { func (x *EncodedFileOutput) Reset() { *x = EncodedFileOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EncodedFileOutput) String() string { @@ -1338,7 +1326,7 @@ func (*EncodedFileOutput) ProtoMessage() {} func (x *EncodedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1461,11 +1449,9 @@ type SegmentedFileOutput struct { func (x *SegmentedFileOutput) Reset() { *x = SegmentedFileOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SegmentedFileOutput) String() string { @@ -1476,7 +1462,7 @@ func (*SegmentedFileOutput) ProtoMessage() {} func (x *SegmentedFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1621,11 +1607,9 @@ type DirectFileOutput struct { func (x *DirectFileOutput) Reset() { *x = DirectFileOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DirectFileOutput) String() string { @@ -1636,7 +1620,7 @@ func (*DirectFileOutput) ProtoMessage() {} func (x *DirectFileOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1751,11 +1735,9 @@ type ImageOutput struct { func (x *ImageOutput) Reset() { *x = ImageOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImageOutput) String() string { @@ -1766,7 +1748,7 @@ func (*ImageOutput) ProtoMessage() {} func (x *ImageOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1913,11 +1895,9 @@ type S3Upload struct { func (x *S3Upload) Reset() { *x = S3Upload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *S3Upload) String() string { @@ -1928,7 +1908,7 @@ func (*S3Upload) ProtoMessage() {} func (x *S3Upload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2033,11 +2013,9 @@ type GCPUpload struct { func (x *GCPUpload) Reset() { *x = GCPUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GCPUpload) String() string { @@ -2048,7 +2026,7 @@ func (*GCPUpload) ProtoMessage() {} func (x *GCPUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2096,11 +2074,9 @@ type AzureBlobUpload struct { func (x *AzureBlobUpload) Reset() { *x = AzureBlobUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AzureBlobUpload) String() string { @@ -2111,7 +2087,7 @@ func (*AzureBlobUpload) ProtoMessage() {} func (x *AzureBlobUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2161,11 +2137,9 @@ type AliOSSUpload struct { func (x *AliOSSUpload) Reset() { *x = AliOSSUpload{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AliOSSUpload) String() string { @@ -2176,7 +2150,7 @@ func (*AliOSSUpload) ProtoMessage() {} func (x *AliOSSUpload) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2238,11 +2212,9 @@ type ProxyConfig struct { func (x *ProxyConfig) Reset() { *x = ProxyConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProxyConfig) String() string { @@ -2253,7 +2225,7 @@ func (*ProxyConfig) ProtoMessage() {} func (x *ProxyConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2300,11 +2272,9 @@ type StreamOutput struct { func (x *StreamOutput) Reset() { *x = StreamOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamOutput) String() string { @@ -2315,7 +2285,7 @@ func (*StreamOutput) ProtoMessage() {} func (x *StreamOutput) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2365,11 +2335,9 @@ type EncodingOptions struct { func (x *EncodingOptions) Reset() { *x = EncodingOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EncodingOptions) String() string { @@ -2380,7 +2348,7 @@ func (*EncodingOptions) ProtoMessage() {} func (x *EncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2490,11 +2458,9 @@ type UpdateLayoutRequest struct { func (x *UpdateLayoutRequest) Reset() { *x = UpdateLayoutRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLayoutRequest) String() string { @@ -2505,7 +2471,7 @@ func (*UpdateLayoutRequest) ProtoMessage() {} func (x *UpdateLayoutRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2546,11 +2512,9 @@ type UpdateStreamRequest struct { func (x *UpdateStreamRequest) Reset() { *x = UpdateStreamRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateStreamRequest) String() string { @@ -2561,7 +2525,7 @@ func (*UpdateStreamRequest) ProtoMessage() {} func (x *UpdateStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2609,11 +2573,9 @@ type ListEgressRequest struct { func (x *ListEgressRequest) Reset() { *x = ListEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListEgressRequest) String() string { @@ -2624,7 +2586,7 @@ func (*ListEgressRequest) ProtoMessage() {} func (x *ListEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2670,11 +2632,9 @@ type ListEgressResponse struct { func (x *ListEgressResponse) Reset() { *x = ListEgressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListEgressResponse) String() string { @@ -2685,7 +2645,7 @@ func (*ListEgressResponse) ProtoMessage() {} func (x *ListEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2717,11 +2677,9 @@ type StopEgressRequest struct { func (x *StopEgressRequest) Reset() { *x = StopEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopEgressRequest) String() string { @@ -2732,7 +2690,7 @@ func (*StopEgressRequest) ProtoMessage() {} func (x *StopEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2791,11 +2749,9 @@ type EgressInfo struct { func (x *EgressInfo) Reset() { *x = EgressInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EgressInfo) String() string { @@ -2806,7 +2762,7 @@ func (*EgressInfo) ProtoMessage() {} func (x *EgressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3062,11 +3018,9 @@ type StreamInfoList struct { func (x *StreamInfoList) Reset() { *x = StreamInfoList{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamInfoList) String() string { @@ -3077,7 +3031,7 @@ func (*StreamInfoList) ProtoMessage() {} func (x *StreamInfoList) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3114,11 +3068,9 @@ type StreamInfo struct { func (x *StreamInfo) Reset() { *x = StreamInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamInfo) String() string { @@ -3129,7 +3081,7 @@ func (*StreamInfo) ProtoMessage() {} func (x *StreamInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3201,11 +3153,9 @@ type FileInfo struct { func (x *FileInfo) Reset() { *x = FileInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FileInfo) String() string { @@ -3216,7 +3166,7 @@ func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3291,11 +3241,9 @@ type SegmentsInfo struct { func (x *SegmentsInfo) Reset() { *x = SegmentsInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SegmentsInfo) String() string { @@ -3306,7 +3254,7 @@ func (*SegmentsInfo) ProtoMessage() {} func (x *SegmentsInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3397,11 +3345,9 @@ type ImagesInfo struct { func (x *ImagesInfo) Reset() { *x = ImagesInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ImagesInfo) String() string { @@ -3412,7 +3358,7 @@ func (*ImagesInfo) ProtoMessage() {} func (x *ImagesInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3471,11 +3417,9 @@ type AutoParticipantEgress struct { func (x *AutoParticipantEgress) Reset() { *x = AutoParticipantEgress{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AutoParticipantEgress) String() string { @@ -3486,7 +3430,7 @@ func (*AutoParticipantEgress) ProtoMessage() {} func (x *AutoParticipantEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3570,11 +3514,9 @@ type AutoTrackEgress struct { func (x *AutoTrackEgress) Reset() { *x = AutoTrackEgress{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_egress_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_egress_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AutoTrackEgress) String() string { @@ -3585,7 +3527,7 @@ func (*AutoTrackEgress) ProtoMessage() {} func (x *AutoTrackEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_egress_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4512,356 +4454,6 @@ 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 85427d9a..cb026456 100644 --- a/livekit/livekit_ingress.pb.go +++ b/livekit/livekit_ingress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_ingress.proto @@ -284,11 +284,9 @@ type CreateIngressRequest struct { func (x *CreateIngressRequest) Reset() { *x = CreateIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateIngressRequest) String() string { @@ -299,7 +297,7 @@ func (*CreateIngressRequest) ProtoMessage() {} func (x *CreateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -408,11 +406,9 @@ type IngressAudioOptions struct { func (x *IngressAudioOptions) Reset() { *x = IngressAudioOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressAudioOptions) String() string { @@ -423,7 +419,7 @@ func (*IngressAudioOptions) ProtoMessage() {} func (x *IngressAudioOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -505,11 +501,9 @@ type IngressVideoOptions struct { func (x *IngressVideoOptions) Reset() { *x = IngressVideoOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressVideoOptions) String() string { @@ -520,7 +514,7 @@ func (*IngressVideoOptions) ProtoMessage() {} func (x *IngressVideoOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -600,11 +594,9 @@ type IngressAudioEncodingOptions struct { func (x *IngressAudioEncodingOptions) Reset() { *x = IngressAudioEncodingOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressAudioEncodingOptions) String() string { @@ -615,7 +607,7 @@ func (*IngressAudioEncodingOptions) ProtoMessage() {} func (x *IngressAudioEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,11 +664,9 @@ type IngressVideoEncodingOptions struct { func (x *IngressVideoEncodingOptions) Reset() { *x = IngressVideoEncodingOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressVideoEncodingOptions) String() string { @@ -687,7 +677,7 @@ func (*IngressVideoEncodingOptions) ProtoMessage() {} func (x *IngressVideoEncodingOptions) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -751,11 +741,9 @@ type IngressInfo struct { func (x *IngressInfo) Reset() { *x = IngressInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressInfo) String() string { @@ -766,7 +754,7 @@ func (*IngressInfo) ProtoMessage() {} func (x *IngressInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -906,11 +894,9 @@ type IngressState struct { func (x *IngressState) Reset() { *x = IngressState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressState) String() string { @@ -921,7 +907,7 @@ func (*IngressState) ProtoMessage() {} func (x *IngressState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1020,11 +1006,9 @@ type InputVideoState struct { func (x *InputVideoState) Reset() { *x = InputVideoState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InputVideoState) String() string { @@ -1035,7 +1019,7 @@ func (*InputVideoState) ProtoMessage() {} func (x *InputVideoState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1098,11 +1082,9 @@ type InputAudioState struct { func (x *InputAudioState) Reset() { *x = InputAudioState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InputAudioState) String() string { @@ -1113,7 +1095,7 @@ func (*InputAudioState) ProtoMessage() {} func (x *InputAudioState) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1176,11 +1158,9 @@ type UpdateIngressRequest struct { func (x *UpdateIngressRequest) Reset() { *x = UpdateIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIngressRequest) String() string { @@ -1191,7 +1171,7 @@ func (*UpdateIngressRequest) ProtoMessage() {} func (x *UpdateIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1289,11 +1269,9 @@ type ListIngressRequest struct { func (x *ListIngressRequest) Reset() { *x = ListIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIngressRequest) String() string { @@ -1304,7 +1282,7 @@ func (*ListIngressRequest) ProtoMessage() {} func (x *ListIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1343,11 +1321,9 @@ type ListIngressResponse struct { func (x *ListIngressResponse) Reset() { *x = ListIngressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListIngressResponse) String() string { @@ -1358,7 +1334,7 @@ func (*ListIngressResponse) ProtoMessage() {} func (x *ListIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1390,11 +1366,9 @@ type DeleteIngressRequest struct { func (x *DeleteIngressRequest) Reset() { *x = DeleteIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_ingress_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_ingress_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteIngressRequest) String() string { @@ -1405,7 +1379,7 @@ func (*DeleteIngressRequest) ProtoMessage() {} func (x *DeleteIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_ingress_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1795,164 +1769,6 @@ 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 8d0d089c..d1bc2e9a 100644 --- a/livekit/livekit_internal.pb.go +++ b/livekit/livekit_internal.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_internal.proto @@ -206,11 +206,9 @@ type Node struct { func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -221,7 +219,7 @@ func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -351,11 +349,9 @@ type NodeStats struct { func (x *NodeStats) Reset() { *x = NodeStats{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeStats) String() string { @@ -366,7 +362,7 @@ func (*NodeStats) ProtoMessage() {} func (x *NodeStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -752,11 +748,9 @@ type StartSession struct { func (x *StartSession) Reset() { *x = StartSession{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartSession) String() string { @@ -767,7 +761,7 @@ func (*StartSession) ProtoMessage() {} func (x *StartSession) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -910,11 +904,9 @@ type RoomInternal struct { func (x *RoomInternal) Reset() { *x = RoomInternal{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomInternal) String() string { @@ -925,7 +917,7 @@ func (*RoomInternal) ProtoMessage() {} func (x *RoomInternal) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -993,11 +985,9 @@ type ICEConfig struct { func (x *ICEConfig) Reset() { *x = ICEConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_internal_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_internal_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICEConfig) String() string { @@ -1008,7 +998,7 @@ func (*ICEConfig) ProtoMessage() {} func (x *ICEConfig) ProtoReflect() protoreflect.Message { mi := &file_livekit_internal_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1365,68 +1355,6 @@ 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 05da3242..41a564da 100644 --- a/livekit/livekit_metrics.pb.go +++ b/livekit/livekit_metrics.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_metrics.proto @@ -136,11 +136,9 @@ type MetricsBatch struct { func (x *MetricsBatch) Reset() { *x = MetricsBatch{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsBatch) String() string { @@ -151,7 +149,7 @@ func (*MetricsBatch) ProtoMessage() {} func (x *MetricsBatch) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -217,11 +215,9 @@ type TimeSeriesMetric struct { func (x *TimeSeriesMetric) Reset() { *x = TimeSeriesMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeSeriesMetric) String() string { @@ -232,7 +228,7 @@ func (*TimeSeriesMetric) ProtoMessage() {} func (x *TimeSeriesMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -294,11 +290,9 @@ type MetricSample struct { func (x *MetricSample) Reset() { *x = MetricSample{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricSample) String() string { @@ -309,7 +303,7 @@ func (*MetricSample) ProtoMessage() {} func (x *MetricSample) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -363,11 +357,9 @@ type EventMetric struct { func (x *EventMetric) Reset() { *x = EventMetric{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_metrics_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_metrics_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventMetric) String() string { @@ -378,7 +370,7 @@ func (*EventMetric) ProtoMessage() {} func (x *EventMetric) ProtoReflect() protoreflect.Message { mi := &file_livekit_metrics_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -633,56 +625,6 @@ 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 c0c35216..d3b504ed 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_models.proto @@ -1053,11 +1053,9 @@ type Room struct { func (x *Room) Reset() { *x = Room{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Room) String() string { @@ -1068,7 +1066,7 @@ func (*Room) ProtoMessage() {} func (x *Room) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1185,11 +1183,9 @@ type Codec struct { func (x *Codec) Reset() { *x = Codec{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Codec) String() string { @@ -1200,7 +1196,7 @@ func (*Codec) ProtoMessage() {} func (x *Codec) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1241,11 +1237,9 @@ type PlayoutDelay struct { func (x *PlayoutDelay) Reset() { *x = PlayoutDelay{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlayoutDelay) String() string { @@ -1256,7 +1250,7 @@ func (*PlayoutDelay) ProtoMessage() {} func (x *PlayoutDelay) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1325,11 +1319,9 @@ type ParticipantPermission struct { func (x *ParticipantPermission) Reset() { *x = ParticipantPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantPermission) String() string { @@ -1340,7 +1332,7 @@ func (*ParticipantPermission) ProtoMessage() {} func (x *ParticipantPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1446,11 +1438,9 @@ type ParticipantInfo struct { func (x *ParticipantInfo) Reset() { *x = ParticipantInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantInfo) String() string { @@ -1461,7 +1451,7 @@ func (*ParticipantInfo) ProtoMessage() {} func (x *ParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1582,11 +1572,9 @@ type Encryption struct { func (x *Encryption) Reset() { *x = Encryption{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Encryption) String() string { @@ -1597,7 +1585,7 @@ func (*Encryption) ProtoMessage() {} func (x *Encryption) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1625,11 +1613,9 @@ type SimulcastCodecInfo struct { func (x *SimulcastCodecInfo) Reset() { *x = SimulcastCodecInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulcastCodecInfo) String() string { @@ -1640,7 +1626,7 @@ func (*SimulcastCodecInfo) ProtoMessage() {} func (x *SimulcastCodecInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1719,11 +1705,9 @@ type TrackInfo struct { func (x *TrackInfo) Reset() { *x = TrackInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackInfo) String() string { @@ -1734,7 +1718,7 @@ func (*TrackInfo) ProtoMessage() {} func (x *TrackInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1899,11 +1883,9 @@ type VideoLayer struct { func (x *VideoLayer) Reset() { *x = VideoLayer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VideoLayer) String() string { @@ -1914,7 +1896,7 @@ func (*VideoLayer) ProtoMessage() {} func (x *VideoLayer) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1992,11 +1974,9 @@ type DataPacket struct { func (x *DataPacket) Reset() { *x = DataPacket{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataPacket) String() string { @@ -2007,7 +1987,7 @@ func (*DataPacket) ProtoMessage() {} func (x *DataPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2184,11 +2164,9 @@ type ActiveSpeakerUpdate struct { func (x *ActiveSpeakerUpdate) Reset() { *x = ActiveSpeakerUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ActiveSpeakerUpdate) String() string { @@ -2199,7 +2177,7 @@ func (*ActiveSpeakerUpdate) ProtoMessage() {} func (x *ActiveSpeakerUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2235,11 +2213,9 @@ type SpeakerInfo struct { func (x *SpeakerInfo) Reset() { *x = SpeakerInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpeakerInfo) String() string { @@ -2250,7 +2226,7 @@ func (*SpeakerInfo) ProtoMessage() {} func (x *SpeakerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2318,11 +2294,9 @@ type UserPacket struct { func (x *UserPacket) Reset() { *x = UserPacket{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UserPacket) String() string { @@ -2333,7 +2307,7 @@ func (*UserPacket) ProtoMessage() {} func (x *UserPacket) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2426,11 +2400,9 @@ type SipDTMF struct { func (x *SipDTMF) Reset() { *x = SipDTMF{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SipDTMF) String() string { @@ -2441,7 +2413,7 @@ func (*SipDTMF) ProtoMessage() {} func (x *SipDTMF) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2483,11 +2455,9 @@ type Transcription struct { func (x *Transcription) Reset() { *x = Transcription{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Transcription) String() string { @@ -2498,7 +2468,7 @@ func (*Transcription) ProtoMessage() {} func (x *Transcription) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2549,11 +2519,9 @@ type TranscriptionSegment struct { func (x *TranscriptionSegment) Reset() { *x = TranscriptionSegment{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TranscriptionSegment) String() string { @@ -2564,7 +2532,7 @@ func (*TranscriptionSegment) ProtoMessage() {} func (x *TranscriptionSegment) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2636,11 +2604,9 @@ type ChatMessage struct { func (x *ChatMessage) Reset() { *x = ChatMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChatMessage) String() string { @@ -2651,7 +2617,7 @@ func (*ChatMessage) ProtoMessage() {} func (x *ChatMessage) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2722,11 +2688,9 @@ type RpcRequest struct { func (x *RpcRequest) Reset() { *x = RpcRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcRequest) String() string { @@ -2737,7 +2701,7 @@ func (*RpcRequest) ProtoMessage() {} func (x *RpcRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2797,11 +2761,9 @@ type RpcAck struct { func (x *RpcAck) Reset() { *x = RpcAck{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcAck) String() string { @@ -2812,7 +2774,7 @@ func (*RpcAck) ProtoMessage() {} func (x *RpcAck) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2849,11 +2811,9 @@ type RpcResponse struct { func (x *RpcResponse) Reset() { *x = RpcResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcResponse) String() string { @@ -2864,7 +2824,7 @@ func (*RpcResponse) ProtoMessage() {} func (x *RpcResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2935,11 +2895,9 @@ type RpcError struct { func (x *RpcError) Reset() { *x = RpcError{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RpcError) String() string { @@ -2950,7 +2908,7 @@ func (*RpcError) ProtoMessage() {} func (x *RpcError) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2998,11 +2956,9 @@ type ParticipantTracks struct { func (x *ParticipantTracks) Reset() { *x = ParticipantTracks{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantTracks) String() string { @@ -3013,7 +2969,7 @@ func (*ParticipantTracks) ProtoMessage() {} func (x *ParticipantTracks) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3060,11 +3016,9 @@ type ServerInfo struct { func (x *ServerInfo) Reset() { *x = ServerInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServerInfo) String() string { @@ -3075,7 +3029,7 @@ func (*ServerInfo) ProtoMessage() {} func (x *ServerInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3163,11 +3117,9 @@ type ClientInfo struct { func (x *ClientInfo) Reset() { *x = ClientInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientInfo) String() string { @@ -3178,7 +3130,7 @@ func (*ClientInfo) ProtoMessage() {} func (x *ClientInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3285,11 +3237,9 @@ type ClientConfiguration struct { func (x *ClientConfiguration) Reset() { *x = ClientConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClientConfiguration) String() string { @@ -3300,7 +3250,7 @@ func (*ClientConfiguration) ProtoMessage() {} func (x *ClientConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3360,11 +3310,9 @@ type VideoConfiguration struct { func (x *VideoConfiguration) Reset() { *x = VideoConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VideoConfiguration) String() string { @@ -3375,7 +3323,7 @@ func (*VideoConfiguration) ProtoMessage() {} func (x *VideoConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3410,11 +3358,9 @@ type DisabledCodecs struct { func (x *DisabledCodecs) Reset() { *x = DisabledCodecs{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DisabledCodecs) String() string { @@ -3425,7 +3371,7 @@ func (*DisabledCodecs) ProtoMessage() {} func (x *DisabledCodecs) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3472,11 +3418,9 @@ type RTPDrift struct { func (x *RTPDrift) Reset() { *x = RTPDrift{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPDrift) String() string { @@ -3487,7 +3431,7 @@ func (*RTPDrift) ProtoMessage() {} func (x *RTPDrift) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3619,11 +3563,9 @@ type RTPStats struct { func (x *RTPStats) Reset() { *x = RTPStats{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPStats) String() string { @@ -3634,7 +3576,7 @@ func (*RTPStats) ProtoMessage() {} func (x *RTPStats) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3980,11 +3922,9 @@ type RTCPSenderReportState struct { func (x *RTCPSenderReportState) Reset() { *x = RTCPSenderReportState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTCPSenderReportState) String() string { @@ -3995,7 +3935,7 @@ func (*RTCPSenderReportState) ProtoMessage() {} func (x *RTCPSenderReportState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4079,11 +4019,9 @@ type RTPForwarderState struct { func (x *RTPForwarderState) Reset() { *x = RTPForwarderState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPForwarderState) String() string { @@ -4094,7 +4032,7 @@ func (*RTPForwarderState) ProtoMessage() {} func (x *RTPForwarderState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4197,11 +4135,9 @@ type RTPMungerState struct { func (x *RTPMungerState) Reset() { *x = RTPMungerState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RTPMungerState) String() string { @@ -4212,7 +4148,7 @@ func (*RTPMungerState) ProtoMessage() {} func (x *RTPMungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4285,11 +4221,9 @@ type VP8MungerState struct { func (x *VP8MungerState) Reset() { *x = VP8MungerState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VP8MungerState) String() string { @@ -4300,7 +4234,7 @@ func (*VP8MungerState) ProtoMessage() {} func (x *VP8MungerState) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4375,11 +4309,9 @@ type TimedVersion struct { func (x *TimedVersion) Reset() { *x = TimedVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_models_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_models_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimedVersion) String() string { @@ -4390,7 +4322,7 @@ func (*TimedVersion) ProtoMessage() {} func (x *TimedVersion) ProtoReflect() protoreflect.Message { mi := &file_livekit_models_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5291,416 +5223,6 @@ 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 e5743d3d..972eb8a8 100644 --- a/livekit/livekit_room.pb.go +++ b/livekit/livekit_room.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_room.proto @@ -69,11 +69,9 @@ type CreateRoomRequest struct { func (x *CreateRoomRequest) Reset() { *x = CreateRoomRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRoomRequest) String() string { @@ -84,7 +82,7 @@ func (*CreateRoomRequest) ProtoMessage() {} func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -202,11 +200,9 @@ type RoomEgress struct { func (x *RoomEgress) Reset() { *x = RoomEgress{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomEgress) String() string { @@ -217,7 +213,7 @@ func (*RoomEgress) ProtoMessage() {} func (x *RoomEgress) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -263,11 +259,9 @@ type RoomAgent struct { func (x *RoomAgent) Reset() { *x = RoomAgent{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomAgent) String() string { @@ -278,7 +272,7 @@ func (*RoomAgent) ProtoMessage() {} func (x *RoomAgent) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -311,11 +305,9 @@ type ListRoomsRequest struct { func (x *ListRoomsRequest) Reset() { *x = ListRoomsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRoomsRequest) String() string { @@ -326,7 +318,7 @@ func (*ListRoomsRequest) ProtoMessage() {} func (x *ListRoomsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -358,11 +350,9 @@ type ListRoomsResponse struct { func (x *ListRoomsResponse) Reset() { *x = ListRoomsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRoomsResponse) String() string { @@ -373,7 +363,7 @@ func (*ListRoomsResponse) ProtoMessage() {} func (x *ListRoomsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,11 +396,9 @@ type DeleteRoomRequest struct { func (x *DeleteRoomRequest) Reset() { *x = DeleteRoomRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoomRequest) String() string { @@ -421,7 +409,7 @@ func (*DeleteRoomRequest) ProtoMessage() {} func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -451,11 +439,9 @@ type DeleteRoomResponse struct { func (x *DeleteRoomResponse) Reset() { *x = DeleteRoomResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRoomResponse) String() string { @@ -466,7 +452,7 @@ func (*DeleteRoomResponse) ProtoMessage() {} func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -492,11 +478,9 @@ type ListParticipantsRequest struct { func (x *ListParticipantsRequest) Reset() { *x = ListParticipantsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParticipantsRequest) String() string { @@ -507,7 +491,7 @@ func (*ListParticipantsRequest) ProtoMessage() {} func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -539,11 +523,9 @@ type ListParticipantsResponse struct { func (x *ListParticipantsResponse) Reset() { *x = ListParticipantsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListParticipantsResponse) String() string { @@ -554,7 +536,7 @@ func (*ListParticipantsResponse) ProtoMessage() {} func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -589,11 +571,9 @@ type RoomParticipantIdentity struct { func (x *RoomParticipantIdentity) Reset() { *x = RoomParticipantIdentity{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomParticipantIdentity) String() string { @@ -604,7 +584,7 @@ func (*RoomParticipantIdentity) ProtoMessage() {} func (x *RoomParticipantIdentity) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -641,11 +621,9 @@ type RemoveParticipantResponse struct { func (x *RemoveParticipantResponse) Reset() { *x = RemoveParticipantResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveParticipantResponse) String() string { @@ -656,7 +634,7 @@ func (*RemoveParticipantResponse) ProtoMessage() {} func (x *RemoveParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -687,11 +665,9 @@ type MuteRoomTrackRequest struct { func (x *MuteRoomTrackRequest) Reset() { *x = MuteRoomTrackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MuteRoomTrackRequest) String() string { @@ -702,7 +678,7 @@ func (*MuteRoomTrackRequest) ProtoMessage() {} func (x *MuteRoomTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -755,11 +731,9 @@ type MuteRoomTrackResponse struct { func (x *MuteRoomTrackResponse) Reset() { *x = MuteRoomTrackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MuteRoomTrackResponse) String() string { @@ -770,7 +744,7 @@ func (*MuteRoomTrackResponse) ProtoMessage() {} func (x *MuteRoomTrackResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -812,11 +786,9 @@ type UpdateParticipantRequest struct { func (x *UpdateParticipantRequest) Reset() { *x = UpdateParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateParticipantRequest) String() string { @@ -827,7 +799,7 @@ func (*UpdateParticipantRequest) ProtoMessage() {} func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -901,11 +873,9 @@ type UpdateSubscriptionsRequest struct { func (x *UpdateSubscriptionsRequest) Reset() { *x = UpdateSubscriptionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSubscriptionsRequest) String() string { @@ -916,7 +886,7 @@ func (*UpdateSubscriptionsRequest) ProtoMessage() {} func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -974,11 +944,9 @@ type UpdateSubscriptionsResponse struct { func (x *UpdateSubscriptionsResponse) Reset() { *x = UpdateSubscriptionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSubscriptionsResponse) String() string { @@ -989,7 +957,7 @@ func (*UpdateSubscriptionsResponse) ProtoMessage() {} func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1023,11 +991,9 @@ type SendDataRequest struct { func (x *SendDataRequest) Reset() { *x = SendDataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendDataRequest) String() string { @@ -1038,7 +1004,7 @@ func (*SendDataRequest) ProtoMessage() {} func (x *SendDataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1104,11 +1070,9 @@ type SendDataResponse struct { func (x *SendDataResponse) Reset() { *x = SendDataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendDataResponse) String() string { @@ -1119,7 +1083,7 @@ func (*SendDataResponse) ProtoMessage() {} func (x *SendDataResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1146,11 +1110,9 @@ type UpdateRoomMetadataRequest struct { func (x *UpdateRoomMetadataRequest) Reset() { *x = UpdateRoomMetadataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRoomMetadataRequest) String() string { @@ -1161,7 +1123,7 @@ func (*UpdateRoomMetadataRequest) ProtoMessage() {} func (x *UpdateRoomMetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1216,11 +1178,9 @@ type RoomConfiguration struct { func (x *RoomConfiguration) Reset() { *x = RoomConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_room_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_room_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomConfiguration) String() string { @@ -1231,7 +1191,7 @@ func (*RoomConfiguration) ProtoMessage() {} func (x *RoomConfiguration) ProtoReflect() protoreflect.Message { mi := &file_livekit_room_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1646,248 +1606,6 @@ 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 d05a84cb..644fb671 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_rtc.proto @@ -306,11 +306,9 @@ type SignalRequest struct { func (x *SignalRequest) Reset() { *x = SignalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SignalRequest) String() string { @@ -321,7 +319,7 @@ func (*SignalRequest) ProtoMessage() {} func (x *SignalRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -620,11 +618,9 @@ type SignalResponse struct { func (x *SignalResponse) Reset() { *x = SignalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SignalResponse) String() string { @@ -635,7 +631,7 @@ func (*SignalResponse) ProtoMessage() {} func (x *SignalResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -981,11 +977,9 @@ type SimulcastCodec struct { func (x *SimulcastCodec) Reset() { *x = SimulcastCodec{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulcastCodec) String() string { @@ -996,7 +990,7 @@ func (*SimulcastCodec) ProtoMessage() {} func (x *SimulcastCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1057,11 +1051,9 @@ type AddTrackRequest struct { func (x *AddTrackRequest) Reset() { *x = AddTrackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTrackRequest) String() string { @@ -1072,7 +1064,7 @@ func (*AddTrackRequest) ProtoMessage() {} func (x *AddTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1204,11 +1196,9 @@ type TrickleRequest struct { func (x *TrickleRequest) Reset() { *x = TrickleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrickleRequest) String() string { @@ -1219,7 +1209,7 @@ func (*TrickleRequest) ProtoMessage() {} func (x *TrickleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1266,11 +1256,9 @@ type MuteTrackRequest struct { func (x *MuteTrackRequest) Reset() { *x = MuteTrackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MuteTrackRequest) String() string { @@ -1281,7 +1269,7 @@ func (*MuteTrackRequest) ProtoMessage() {} func (x *MuteTrackRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1341,11 +1329,9 @@ type JoinResponse struct { func (x *JoinResponse) Reset() { *x = JoinResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JoinResponse) String() string { @@ -1356,7 +1342,7 @@ func (*JoinResponse) ProtoMessage() {} func (x *JoinResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1487,11 +1473,9 @@ type ReconnectResponse struct { func (x *ReconnectResponse) Reset() { *x = ReconnectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReconnectResponse) String() string { @@ -1502,7 +1486,7 @@ func (*ReconnectResponse) ProtoMessage() {} func (x *ReconnectResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1542,11 +1526,9 @@ type TrackPublishedResponse struct { func (x *TrackPublishedResponse) Reset() { *x = TrackPublishedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackPublishedResponse) String() string { @@ -1557,7 +1539,7 @@ func (*TrackPublishedResponse) ProtoMessage() {} func (x *TrackPublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1596,11 +1578,9 @@ type TrackUnpublishedResponse struct { func (x *TrackUnpublishedResponse) Reset() { *x = TrackUnpublishedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackUnpublishedResponse) String() string { @@ -1611,7 +1591,7 @@ func (*TrackUnpublishedResponse) ProtoMessage() {} func (x *TrackUnpublishedResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1644,11 +1624,9 @@ type SessionDescription struct { func (x *SessionDescription) Reset() { *x = SessionDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SessionDescription) String() string { @@ -1659,7 +1637,7 @@ func (*SessionDescription) ProtoMessage() {} func (x *SessionDescription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1698,11 +1676,9 @@ type ParticipantUpdate struct { func (x *ParticipantUpdate) Reset() { *x = ParticipantUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipantUpdate) String() string { @@ -1713,7 +1689,7 @@ func (*ParticipantUpdate) ProtoMessage() {} func (x *ParticipantUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1747,11 +1723,9 @@ type UpdateSubscription struct { func (x *UpdateSubscription) Reset() { *x = UpdateSubscription{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSubscription) String() string { @@ -1762,7 +1736,7 @@ func (*UpdateSubscription) ProtoMessage() {} func (x *UpdateSubscription) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1825,11 +1799,9 @@ type UpdateTrackSettings struct { func (x *UpdateTrackSettings) Reset() { *x = UpdateTrackSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateTrackSettings) String() string { @@ -1840,7 +1812,7 @@ func (*UpdateTrackSettings) ProtoMessage() {} func (x *UpdateTrackSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1915,11 +1887,9 @@ type UpdateLocalAudioTrack struct { func (x *UpdateLocalAudioTrack) Reset() { *x = UpdateLocalAudioTrack{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLocalAudioTrack) String() string { @@ -1930,7 +1900,7 @@ func (*UpdateLocalAudioTrack) ProtoMessage() {} func (x *UpdateLocalAudioTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1971,11 +1941,9 @@ type UpdateLocalVideoTrack struct { func (x *UpdateLocalVideoTrack) Reset() { *x = UpdateLocalVideoTrack{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLocalVideoTrack) String() string { @@ -1986,7 +1954,7 @@ func (*UpdateLocalVideoTrack) ProtoMessage() {} func (x *UpdateLocalVideoTrack) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2038,11 +2006,9 @@ type LeaveRequest struct { func (x *LeaveRequest) Reset() { *x = LeaveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LeaveRequest) String() string { @@ -2053,7 +2019,7 @@ func (*LeaveRequest) ProtoMessage() {} func (x *LeaveRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2110,11 +2076,9 @@ type UpdateVideoLayers struct { func (x *UpdateVideoLayers) Reset() { *x = UpdateVideoLayers{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateVideoLayers) String() string { @@ -2125,7 +2089,7 @@ func (*UpdateVideoLayers) ProtoMessage() {} func (x *UpdateVideoLayers) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2169,11 +2133,9 @@ type UpdateParticipantMetadata struct { func (x *UpdateParticipantMetadata) Reset() { *x = UpdateParticipantMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateParticipantMetadata) String() string { @@ -2184,7 +2146,7 @@ func (*UpdateParticipantMetadata) ProtoMessage() {} func (x *UpdateParticipantMetadata) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2239,11 +2201,9 @@ type ICEServer struct { func (x *ICEServer) Reset() { *x = ICEServer{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICEServer) String() string { @@ -2254,7 +2214,7 @@ func (*ICEServer) ProtoMessage() {} func (x *ICEServer) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2300,11 +2260,9 @@ type SpeakersChanged struct { func (x *SpeakersChanged) Reset() { *x = SpeakersChanged{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpeakersChanged) String() string { @@ -2315,7 +2273,7 @@ func (*SpeakersChanged) ProtoMessage() {} func (x *SpeakersChanged) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2347,11 +2305,9 @@ type RoomUpdate struct { func (x *RoomUpdate) Reset() { *x = RoomUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomUpdate) String() string { @@ -2362,7 +2318,7 @@ func (*RoomUpdate) ProtoMessage() {} func (x *RoomUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2396,11 +2352,9 @@ type ConnectionQualityInfo struct { func (x *ConnectionQualityInfo) Reset() { *x = ConnectionQualityInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConnectionQualityInfo) String() string { @@ -2411,7 +2365,7 @@ func (*ConnectionQualityInfo) ProtoMessage() {} func (x *ConnectionQualityInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2457,11 +2411,9 @@ type ConnectionQualityUpdate struct { func (x *ConnectionQualityUpdate) Reset() { *x = ConnectionQualityUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConnectionQualityUpdate) String() string { @@ -2472,7 +2424,7 @@ func (*ConnectionQualityUpdate) ProtoMessage() {} func (x *ConnectionQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2506,11 +2458,9 @@ type StreamStateInfo struct { func (x *StreamStateInfo) Reset() { *x = StreamStateInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamStateInfo) String() string { @@ -2521,7 +2471,7 @@ func (*StreamStateInfo) ProtoMessage() {} func (x *StreamStateInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2567,11 +2517,9 @@ type StreamStateUpdate struct { func (x *StreamStateUpdate) Reset() { *x = StreamStateUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamStateUpdate) String() string { @@ -2582,7 +2530,7 @@ func (*StreamStateUpdate) ProtoMessage() {} func (x *StreamStateUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2615,11 +2563,9 @@ type SubscribedQuality struct { func (x *SubscribedQuality) Reset() { *x = SubscribedQuality{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribedQuality) String() string { @@ -2630,7 +2576,7 @@ func (*SubscribedQuality) ProtoMessage() {} func (x *SubscribedQuality) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2670,11 +2616,9 @@ type SubscribedCodec struct { func (x *SubscribedCodec) Reset() { *x = SubscribedCodec{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribedCodec) String() string { @@ -2685,7 +2629,7 @@ func (*SubscribedCodec) ProtoMessage() {} func (x *SubscribedCodec) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2726,11 +2670,9 @@ type SubscribedQualityUpdate struct { func (x *SubscribedQualityUpdate) Reset() { *x = SubscribedQualityUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscribedQualityUpdate) String() string { @@ -2741,7 +2683,7 @@ func (*SubscribedQualityUpdate) ProtoMessage() {} func (x *SubscribedQualityUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2791,11 +2733,9 @@ type TrackPermission struct { func (x *TrackPermission) Reset() { *x = TrackPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackPermission) String() string { @@ -2806,7 +2746,7 @@ func (*TrackPermission) ProtoMessage() {} func (x *TrackPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2860,11 +2800,9 @@ type SubscriptionPermission struct { func (x *SubscriptionPermission) Reset() { *x = SubscriptionPermission{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscriptionPermission) String() string { @@ -2875,7 +2813,7 @@ func (*SubscriptionPermission) ProtoMessage() {} func (x *SubscriptionPermission) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2916,11 +2854,9 @@ type SubscriptionPermissionUpdate struct { func (x *SubscriptionPermissionUpdate) Reset() { *x = SubscriptionPermissionUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscriptionPermissionUpdate) String() string { @@ -2931,7 +2867,7 @@ func (*SubscriptionPermissionUpdate) ProtoMessage() {} func (x *SubscriptionPermissionUpdate) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2984,11 +2920,9 @@ type SyncState struct { func (x *SyncState) Reset() { *x = SyncState{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SyncState) String() string { @@ -2999,7 +2933,7 @@ func (*SyncState) ProtoMessage() {} func (x *SyncState) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3068,11 +3002,9 @@ type DataChannelInfo struct { func (x *DataChannelInfo) Reset() { *x = DataChannelInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataChannelInfo) String() string { @@ -3083,7 +3015,7 @@ func (*DataChannelInfo) ProtoMessage() {} func (x *DataChannelInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3140,11 +3072,9 @@ type SimulateScenario struct { func (x *SimulateScenario) Reset() { *x = SimulateScenario{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SimulateScenario) String() string { @@ -3155,7 +3085,7 @@ func (*SimulateScenario) ProtoMessage() {} func (x *SimulateScenario) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3320,11 +3250,9 @@ type Ping struct { func (x *Ping) Reset() { *x = Ping{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Ping) String() string { @@ -3335,7 +3263,7 @@ func (*Ping) ProtoMessage() {} func (x *Ping) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3376,11 +3304,9 @@ type Pong struct { func (x *Pong) Reset() { *x = Pong{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Pong) String() string { @@ -3391,7 +3317,7 @@ func (*Pong) ProtoMessage() {} func (x *Pong) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3430,11 +3356,9 @@ type RegionSettings struct { func (x *RegionSettings) Reset() { *x = RegionSettings{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegionSettings) String() string { @@ -3445,7 +3369,7 @@ func (*RegionSettings) ProtoMessage() {} func (x *RegionSettings) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3479,11 +3403,9 @@ type RegionInfo struct { func (x *RegionInfo) Reset() { *x = RegionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegionInfo) String() string { @@ -3494,7 +3416,7 @@ func (*RegionInfo) ProtoMessage() {} func (x *RegionInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3541,11 +3463,9 @@ type SubscriptionResponse struct { func (x *SubscriptionResponse) Reset() { *x = SubscriptionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubscriptionResponse) String() string { @@ -3556,7 +3476,7 @@ func (*SubscriptionResponse) ProtoMessage() {} func (x *SubscriptionResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3597,11 +3517,9 @@ type RequestResponse struct { func (x *RequestResponse) Reset() { *x = RequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RequestResponse) String() string { @@ -3612,7 +3530,7 @@ func (*RequestResponse) ProtoMessage() {} func (x *RequestResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3658,11 +3576,9 @@ type TrackSubscribed struct { func (x *TrackSubscribed) Reset() { *x = TrackSubscribed{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_rtc_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_rtc_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrackSubscribed) String() string { @@ -3673,7 +3589,7 @@ func (*TrackSubscribed) ProtoMessage() {} func (x *TrackSubscribed) ProtoReflect() protoreflect.Message { mi := &file_livekit_rtc_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4444,512 +4360,6 @@ 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 e4221198..d1335c28 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_sip.proto @@ -169,11 +169,9 @@ type CreateSIPTrunkRequest struct { func (x *CreateSIPTrunkRequest) Reset() { *x = CreateSIPTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPTrunkRequest) String() string { @@ -184,7 +182,7 @@ func (*CreateSIPTrunkRequest) ProtoMessage() {} func (x *CreateSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -314,11 +312,9 @@ type SIPTrunkInfo struct { func (x *SIPTrunkInfo) Reset() { *x = SIPTrunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPTrunkInfo) String() string { @@ -329,7 +325,7 @@ func (*SIPTrunkInfo) ProtoMessage() {} func (x *SIPTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -453,11 +449,9 @@ type CreateSIPInboundTrunkRequest struct { func (x *CreateSIPInboundTrunkRequest) Reset() { *x = CreateSIPInboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPInboundTrunkRequest) String() string { @@ -468,7 +462,7 @@ func (*CreateSIPInboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -521,11 +515,9 @@ type SIPInboundTrunkInfo struct { func (x *SIPInboundTrunkInfo) Reset() { *x = SIPInboundTrunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPInboundTrunkInfo) String() string { @@ -536,7 +528,7 @@ func (*SIPInboundTrunkInfo) ProtoMessage() {} func (x *SIPInboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -631,11 +623,9 @@ type CreateSIPOutboundTrunkRequest struct { func (x *CreateSIPOutboundTrunkRequest) Reset() { *x = CreateSIPOutboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPOutboundTrunkRequest) String() string { @@ -646,7 +636,7 @@ func (*CreateSIPOutboundTrunkRequest) ProtoMessage() {} func (x *CreateSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -699,11 +689,9 @@ type SIPOutboundTrunkInfo struct { func (x *SIPOutboundTrunkInfo) Reset() { *x = SIPOutboundTrunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPOutboundTrunkInfo) String() string { @@ -714,7 +702,7 @@ func (*SIPOutboundTrunkInfo) ProtoMessage() {} func (x *SIPOutboundTrunkInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -809,11 +797,9 @@ type GetSIPInboundTrunkRequest struct { func (x *GetSIPInboundTrunkRequest) Reset() { *x = GetSIPInboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPInboundTrunkRequest) String() string { @@ -824,7 +810,7 @@ func (*GetSIPInboundTrunkRequest) ProtoMessage() {} func (x *GetSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -856,11 +842,9 @@ type GetSIPInboundTrunkResponse struct { func (x *GetSIPInboundTrunkResponse) Reset() { *x = GetSIPInboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPInboundTrunkResponse) String() string { @@ -871,7 +855,7 @@ func (*GetSIPInboundTrunkResponse) ProtoMessage() {} func (x *GetSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -903,11 +887,9 @@ type GetSIPOutboundTrunkRequest struct { func (x *GetSIPOutboundTrunkRequest) Reset() { *x = GetSIPOutboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPOutboundTrunkRequest) String() string { @@ -918,7 +900,7 @@ func (*GetSIPOutboundTrunkRequest) ProtoMessage() {} func (x *GetSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -950,11 +932,9 @@ type GetSIPOutboundTrunkResponse struct { func (x *GetSIPOutboundTrunkResponse) Reset() { *x = GetSIPOutboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPOutboundTrunkResponse) String() string { @@ -965,7 +945,7 @@ func (*GetSIPOutboundTrunkResponse) ProtoMessage() {} func (x *GetSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -996,11 +976,9 @@ type ListSIPTrunkRequest struct { func (x *ListSIPTrunkRequest) Reset() { *x = ListSIPTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPTrunkRequest) String() string { @@ -1011,7 +989,7 @@ func (*ListSIPTrunkRequest) ProtoMessage() {} func (x *ListSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1037,11 +1015,9 @@ type ListSIPTrunkResponse struct { func (x *ListSIPTrunkResponse) Reset() { *x = ListSIPTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPTrunkResponse) String() string { @@ -1052,7 +1028,7 @@ func (*ListSIPTrunkResponse) ProtoMessage() {} func (x *ListSIPTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1082,11 +1058,9 @@ type ListSIPInboundTrunkRequest struct { func (x *ListSIPInboundTrunkRequest) Reset() { *x = ListSIPInboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPInboundTrunkRequest) String() string { @@ -1097,7 +1071,7 @@ func (*ListSIPInboundTrunkRequest) ProtoMessage() {} func (x *ListSIPInboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1122,11 +1096,9 @@ type ListSIPInboundTrunkResponse struct { func (x *ListSIPInboundTrunkResponse) Reset() { *x = ListSIPInboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPInboundTrunkResponse) String() string { @@ -1137,7 +1109,7 @@ func (*ListSIPInboundTrunkResponse) ProtoMessage() {} func (x *ListSIPInboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1167,11 +1139,9 @@ type ListSIPOutboundTrunkRequest struct { func (x *ListSIPOutboundTrunkRequest) Reset() { *x = ListSIPOutboundTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPOutboundTrunkRequest) String() string { @@ -1182,7 +1152,7 @@ func (*ListSIPOutboundTrunkRequest) ProtoMessage() {} func (x *ListSIPOutboundTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1207,11 +1177,9 @@ type ListSIPOutboundTrunkResponse struct { func (x *ListSIPOutboundTrunkResponse) Reset() { *x = ListSIPOutboundTrunkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPOutboundTrunkResponse) String() string { @@ -1222,7 +1190,7 @@ func (*ListSIPOutboundTrunkResponse) ProtoMessage() {} func (x *ListSIPOutboundTrunkResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1254,11 +1222,9 @@ type DeleteSIPTrunkRequest struct { func (x *DeleteSIPTrunkRequest) Reset() { *x = DeleteSIPTrunkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSIPTrunkRequest) String() string { @@ -1269,7 +1235,7 @@ func (*DeleteSIPTrunkRequest) ProtoMessage() {} func (x *DeleteSIPTrunkRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1304,11 +1270,9 @@ type SIPDispatchRuleDirect struct { func (x *SIPDispatchRuleDirect) Reset() { *x = SIPDispatchRuleDirect{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleDirect) String() string { @@ -1319,7 +1283,7 @@ func (*SIPDispatchRuleDirect) ProtoMessage() {} func (x *SIPDispatchRuleDirect) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1361,11 +1325,9 @@ type SIPDispatchRuleIndividual struct { func (x *SIPDispatchRuleIndividual) Reset() { *x = SIPDispatchRuleIndividual{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleIndividual) String() string { @@ -1376,7 +1338,7 @@ func (*SIPDispatchRuleIndividual) ProtoMessage() {} func (x *SIPDispatchRuleIndividual) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1420,11 +1382,9 @@ type SIPDispatchRuleCallee struct { func (x *SIPDispatchRuleCallee) Reset() { *x = SIPDispatchRuleCallee{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleCallee) String() string { @@ -1435,7 +1395,7 @@ func (*SIPDispatchRuleCallee) ProtoMessage() {} func (x *SIPDispatchRuleCallee) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1486,11 +1446,9 @@ type SIPDispatchRule struct { func (x *SIPDispatchRule) Reset() { *x = SIPDispatchRule{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRule) String() string { @@ -1501,7 +1459,7 @@ func (*SIPDispatchRule) ProtoMessage() {} func (x *SIPDispatchRule) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1597,11 +1555,9 @@ type CreateSIPDispatchRuleRequest struct { func (x *CreateSIPDispatchRuleRequest) Reset() { *x = CreateSIPDispatchRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPDispatchRuleRequest) String() string { @@ -1612,7 +1568,7 @@ func (*CreateSIPDispatchRuleRequest) ProtoMessage() {} func (x *CreateSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1699,11 +1655,9 @@ type SIPDispatchRuleInfo struct { func (x *SIPDispatchRuleInfo) Reset() { *x = SIPDispatchRuleInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPDispatchRuleInfo) String() string { @@ -1714,7 +1668,7 @@ func (*SIPDispatchRuleInfo) ProtoMessage() {} func (x *SIPDispatchRuleInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1793,11 +1747,9 @@ type ListSIPDispatchRuleRequest struct { func (x *ListSIPDispatchRuleRequest) Reset() { *x = ListSIPDispatchRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPDispatchRuleRequest) String() string { @@ -1808,7 +1760,7 @@ func (*ListSIPDispatchRuleRequest) ProtoMessage() {} func (x *ListSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1833,11 +1785,9 @@ type ListSIPDispatchRuleResponse struct { func (x *ListSIPDispatchRuleResponse) Reset() { *x = ListSIPDispatchRuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSIPDispatchRuleResponse) String() string { @@ -1848,7 +1798,7 @@ func (*ListSIPDispatchRuleResponse) ProtoMessage() {} func (x *ListSIPDispatchRuleResponse) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1880,11 +1830,9 @@ type DeleteSIPDispatchRuleRequest struct { func (x *DeleteSIPDispatchRuleRequest) Reset() { *x = DeleteSIPDispatchRuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteSIPDispatchRuleRequest) String() string { @@ -1895,7 +1843,7 @@ func (*DeleteSIPDispatchRuleRequest) ProtoMessage() {} func (x *DeleteSIPDispatchRuleRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1950,11 +1898,9 @@ type CreateSIPParticipantRequest struct { func (x *CreateSIPParticipantRequest) Reset() { *x = CreateSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSIPParticipantRequest) String() string { @@ -1965,7 +1911,7 @@ func (*CreateSIPParticipantRequest) ProtoMessage() {} func (x *CreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2063,11 +2009,9 @@ type SIPParticipantInfo struct { func (x *SIPParticipantInfo) Reset() { *x = SIPParticipantInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SIPParticipantInfo) String() string { @@ -2078,7 +2022,7 @@ func (*SIPParticipantInfo) ProtoMessage() {} func (x *SIPParticipantInfo) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2133,11 +2077,9 @@ type TransferSIPParticipantRequest struct { func (x *TransferSIPParticipantRequest) Reset() { *x = TransferSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_sip_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_sip_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransferSIPParticipantRequest) String() string { @@ -2148,7 +2090,7 @@ func (*TransferSIPParticipantRequest) ProtoMessage() {} func (x *TransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_livekit_sip_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2758,356 +2700,6 @@ func file_livekit_sip_proto_init() { if File_livekit_sip_proto != nil { return } - 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[20].OneofWrappers = []any{ (*SIPDispatchRule_DispatchRuleDirect)(nil), (*SIPDispatchRule_DispatchRuleIndividual)(nil), diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index b4f0f0f4..76aacab1 100644 --- a/livekit/livekit_webhook.pb.go +++ b/livekit/livekit_webhook.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: livekit_webhook.proto @@ -61,11 +61,9 @@ type WebhookEvent struct { func (x *WebhookEvent) Reset() { *x = WebhookEvent{} - if protoimpl.UnsafeEnabled { - mi := &file_livekit_webhook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_livekit_webhook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WebhookEvent) String() string { @@ -76,7 +74,7 @@ func (*WebhookEvent) ProtoMessage() {} func (x *WebhookEvent) ProtoReflect() protoreflect.Message { mi := &file_livekit_webhook_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -236,20 +234,6 @@ 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/rpc/agent_dispatch.proto b/protobufs/rpc/agent_dispatch.proto index 76114513..df654ac1 100644 --- a/protobufs/rpc/agent_dispatch.proto +++ b/protobufs/rpc/agent_dispatch.proto @@ -22,7 +22,7 @@ import "options.proto"; import "livekit_agent_dispatch.proto"; service AgentDispatchInternal { - rpc CreateDispatch(livekit.CreateAgentDispatchRequest) returns (livekit.AgentDispatch) { + rpc CreateDispatch(livekit.AgentDispatch) returns (livekit.AgentDispatch) { option (psrpc.options) = { topics: true topic_params: { diff --git a/rpc/agent.pb.go b/rpc/agent.pb.go index 31e82ecb..7a0ef0c3 100644 --- a/rpc/agent.pb.go +++ b/rpc/agent.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/agent.proto @@ -91,11 +91,9 @@ type CheckEnabledRequest struct { func (x *CheckEnabledRequest) Reset() { *x = CheckEnabledRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckEnabledRequest) String() string { @@ -106,7 +104,7 @@ func (*CheckEnabledRequest) ProtoMessage() {} func (x *CheckEnabledRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -135,11 +133,9 @@ type CheckEnabledResponse struct { func (x *CheckEnabledResponse) Reset() { *x = CheckEnabledResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckEnabledResponse) String() string { @@ -150,7 +146,7 @@ func (*CheckEnabledResponse) ProtoMessage() {} func (x *CheckEnabledResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,11 +200,9 @@ type JobRequestResponse struct { func (x *JobRequestResponse) Reset() { *x = JobRequestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobRequestResponse) String() string { @@ -219,7 +213,7 @@ func (*JobRequestResponse) ProtoMessage() {} func (x *JobRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -252,11 +246,9 @@ type JobTerminateRequest struct { func (x *JobTerminateRequest) Reset() { *x = JobTerminateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobTerminateRequest) String() string { @@ -267,7 +259,7 @@ func (*JobTerminateRequest) ProtoMessage() {} func (x *JobTerminateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -306,11 +298,9 @@ type JobTerminateResponse struct { func (x *JobTerminateResponse) Reset() { *x = JobTerminateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobTerminateResponse) String() string { @@ -321,7 +311,7 @@ func (*JobTerminateResponse) ProtoMessage() {} func (x *JobTerminateResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_agent_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -459,68 +449,6 @@ 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 76a8eeae..579fccef 100644 --- a/rpc/agent_dispatch.pb.go +++ b/rpc/agent_dispatch.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/agent_dispatch.proto @@ -42,47 +42,46 @@ var file_rpc_agent_dispatch_proto_rawDesc = []byte{ 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, - 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xd4, 0x02, 0x0a, + 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xc7, 0x02, 0x0a, 0x15, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x49, 0x6e, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x65, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x12, 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, - 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, - 0x70, 0x61, 0x74, 0x63, 0x68, 0x22, 0x16, 0xb2, 0x89, 0x01, 0x12, 0x10, 0x01, 0x1a, 0x0e, 0x0a, - 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x01, 0x12, 0x65, 0x0a, - 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x12, - 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, - 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x22, 0x16, 0xb2, 0x89, - 0x01, 0x12, 0x10, 0x01, 0x1a, 0x0e, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x04, 0x72, 0x6f, - 0x6f, 0x6d, 0x18, 0x01, 0x12, 0x6d, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x69, 0x73, 0x70, - 0x61, 0x74, 0x63, 0x68, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x58, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x12, 0x16, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, + 0x69, 0x74, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, + 0x1a, 0x16, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, + 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x22, 0x16, 0xb2, 0x89, 0x01, 0x12, 0x10, 0x01, + 0x1a, 0x0e, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x01, + 0x12, 0x65, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, + 0x63, 0x68, 0x12, 0x23, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x22, + 0x16, 0xb2, 0x89, 0x01, 0x12, 0x10, 0x01, 0x1a, 0x0e, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, + 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x01, 0x12, 0x6d, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, + 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x61, - 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0xb2, 0x89, 0x01, - 0x12, 0x10, 0x01, 0x1a, 0x0e, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x04, 0x72, 0x6f, 0x6f, - 0x6d, 0x18, 0x01, 0x42, 0x21, 0x5a, 0x1f, 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, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x69, + 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, + 0xb2, 0x89, 0x01, 0x12, 0x10, 0x01, 0x1a, 0x0e, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x04, + 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x01, 0x42, 0x21, 0x5a, 0x1f, 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, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var file_rpc_agent_dispatch_proto_goTypes = []any{ - (*livekit.CreateAgentDispatchRequest)(nil), // 0: livekit.CreateAgentDispatchRequest + (*livekit.AgentDispatch)(nil), // 0: livekit.AgentDispatch (*livekit.DeleteAgentDispatchRequest)(nil), // 1: livekit.DeleteAgentDispatchRequest (*livekit.ListAgentDispatchRequest)(nil), // 2: livekit.ListAgentDispatchRequest - (*livekit.AgentDispatch)(nil), // 3: livekit.AgentDispatch - (*livekit.ListAgentDispatchResponse)(nil), // 4: livekit.ListAgentDispatchResponse + (*livekit.ListAgentDispatchResponse)(nil), // 3: livekit.ListAgentDispatchResponse } var file_rpc_agent_dispatch_proto_depIdxs = []int32{ - 0, // 0: rpc.AgentDispatchInternal.CreateDispatch:input_type -> livekit.CreateAgentDispatchRequest + 0, // 0: rpc.AgentDispatchInternal.CreateDispatch:input_type -> livekit.AgentDispatch 1, // 1: rpc.AgentDispatchInternal.DeleteDispatch:input_type -> livekit.DeleteAgentDispatchRequest 2, // 2: rpc.AgentDispatchInternal.ListDispatch:input_type -> livekit.ListAgentDispatchRequest - 3, // 3: rpc.AgentDispatchInternal.CreateDispatch:output_type -> livekit.AgentDispatch - 3, // 4: rpc.AgentDispatchInternal.DeleteDispatch:output_type -> livekit.AgentDispatch - 4, // 5: rpc.AgentDispatchInternal.ListDispatch:output_type -> livekit.ListAgentDispatchResponse + 0, // 3: rpc.AgentDispatchInternal.CreateDispatch:output_type -> livekit.AgentDispatch + 0, // 4: rpc.AgentDispatchInternal.DeleteDispatch:output_type -> livekit.AgentDispatch + 3, // 5: rpc.AgentDispatchInternal.ListDispatch:output_type -> livekit.ListAgentDispatchResponse 3, // [3:6] is the sub-list for method output_type 0, // [0:3] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/rpc/agent_dispatch.psrpc.go b/rpc/agent_dispatch.psrpc.go index f56fffc7..8f2b4ea0 100644 --- a/rpc/agent_dispatch.psrpc.go +++ b/rpc/agent_dispatch.psrpc.go @@ -22,7 +22,7 @@ var _ = version.PsrpcVersion_0_6 // ====================================== type AgentDispatchInternalClient[RoomTopicType ~string] interface { - CreateDispatch(ctx context.Context, room RoomTopicType, req *livekit3.CreateAgentDispatchRequest, opts ...psrpc.RequestOption) (*livekit3.AgentDispatch, error) + CreateDispatch(ctx context.Context, room RoomTopicType, req *livekit3.AgentDispatch, opts ...psrpc.RequestOption) (*livekit3.AgentDispatch, error) DeleteDispatch(ctx context.Context, room RoomTopicType, req *livekit3.DeleteAgentDispatchRequest, opts ...psrpc.RequestOption) (*livekit3.AgentDispatch, error) @@ -37,7 +37,7 @@ type AgentDispatchInternalClient[RoomTopicType ~string] interface { // ========================================== type AgentDispatchInternalServerImpl interface { - CreateDispatch(context.Context, *livekit3.CreateAgentDispatchRequest) (*livekit3.AgentDispatch, error) + CreateDispatch(context.Context, *livekit3.AgentDispatch) (*livekit3.AgentDispatch, error) DeleteDispatch(context.Context, *livekit3.DeleteAgentDispatchRequest) (*livekit3.AgentDispatch, error) @@ -94,7 +94,7 @@ func NewAgentDispatchInternalClient[RoomTopicType ~string](bus psrpc.MessageBus, }, nil } -func (c *agentDispatchInternalClient[RoomTopicType]) CreateDispatch(ctx context.Context, room RoomTopicType, req *livekit3.CreateAgentDispatchRequest, opts ...psrpc.RequestOption) (*livekit3.AgentDispatch, error) { +func (c *agentDispatchInternalClient[RoomTopicType]) CreateDispatch(ctx context.Context, room RoomTopicType, req *livekit3.AgentDispatch, opts ...psrpc.RequestOption) (*livekit3.AgentDispatch, error) { return client.RequestSingle[*livekit3.AgentDispatch](ctx, c.client, "CreateDispatch", []string{string(room)}, req, opts...) } @@ -187,20 +187,20 @@ func (s *agentDispatchInternalServer[RoomTopicType]) Kill() { } var psrpcFileDescriptor1 = []byte{ - // 226 bytes of a gzipped FileDescriptorProto + // 228 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x2a, 0x48, 0xd6, 0x4f, 0x4c, 0x4f, 0xcd, 0x2b, 0x89, 0x4f, 0xc9, 0x2c, 0x2e, 0x48, 0x2c, 0x49, 0xce, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2e, 0x2a, 0x48, 0x96, 0xe2, 0xcd, 0x2f, 0x28, 0xc9, 0xcc, 0xcf, 0x2b, 0x86, 0x88, 0x49, 0xc9, 0xe4, 0x64, 0x96, 0xa5, 0x66, 0x67, 0x96, 0xc4, 0x63, 0xd3, - 0x61, 0x74, 0x85, 0x89, 0x4b, 0xd4, 0x11, 0x24, 0xe1, 0x02, 0x15, 0xf7, 0xcc, 0x2b, 0x49, 0x2d, - 0xca, 0x4b, 0xcc, 0x11, 0x4a, 0xe5, 0xe2, 0x73, 0x2e, 0x4a, 0x4d, 0x2c, 0x49, 0x85, 0xc9, 0x08, - 0x29, 0xeb, 0x41, 0x8d, 0xd2, 0x83, 0x48, 0xa0, 0xe8, 0x0b, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, - 0x91, 0x12, 0x83, 0x2b, 0x42, 0x91, 0x56, 0x12, 0xdb, 0xd4, 0xc9, 0x28, 0x24, 0xc0, 0x28, 0xc5, - 0xc7, 0xc5, 0x52, 0x94, 0x9f, 0x9f, 0x2b, 0x04, 0x26, 0x25, 0x18, 0x41, 0xd6, 0xb8, 0xa4, 0xe6, - 0xa4, 0x62, 0xb5, 0x06, 0x22, 0x41, 0x15, 0x6b, 0x72, 0xb9, 0x78, 0x7c, 0x32, 0x8b, 0xe1, 0xea, - 0x84, 0x14, 0xe1, 0xfa, 0x41, 0xc2, 0x58, 0xad, 0x50, 0xc2, 0xa7, 0xa4, 0xb8, 0x20, 0x3f, 0xaf, - 0x38, 0x15, 0x97, 0x75, 0x4e, 0x8a, 0x51, 0xf2, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, - 0xf9, 0xb9, 0xfa, 0x50, 0x73, 0xf4, 0xc1, 0x41, 0x9e, 0x9c, 0x9f, 0xa3, 0x5f, 0x54, 0x90, 0x9c, - 0xc4, 0x06, 0xe6, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x19, 0xd2, 0x29, 0xe1, 0xce, 0x01, - 0x00, 0x00, + 0x61, 0x74, 0x9c, 0x89, 0x4b, 0xd4, 0x11, 0x24, 0xe1, 0x02, 0x15, 0xf7, 0xcc, 0x2b, 0x49, 0x2d, + 0xca, 0x4b, 0xcc, 0x11, 0x8a, 0xe0, 0xe2, 0x73, 0x2e, 0x4a, 0x4d, 0x2c, 0x49, 0x85, 0xc9, 0x08, + 0x89, 0xe9, 0x41, 0x8d, 0xd2, 0x43, 0xd1, 0x21, 0x85, 0x43, 0x5c, 0x49, 0x6c, 0x53, 0x27, 0xa3, + 0x90, 0x00, 0xa3, 0x14, 0x1f, 0x17, 0x4b, 0x51, 0x7e, 0x7e, 0xae, 0x10, 0x98, 0x94, 0x60, 0x14, + 0x4a, 0xe5, 0xe2, 0x73, 0x49, 0xcd, 0x49, 0x45, 0x32, 0x59, 0x19, 0x6e, 0x02, 0x44, 0x02, 0xc5, + 0x9c, 0xa0, 0xd4, 0xc2, 0xd2, 0xd4, 0xe2, 0x12, 0x92, 0xad, 0xc9, 0xe5, 0xe2, 0xf1, 0xc9, 0x2c, + 0x86, 0xab, 0x13, 0x52, 0x84, 0xeb, 0x07, 0x09, 0x63, 0xb5, 0x42, 0x09, 0x9f, 0x92, 0xe2, 0x82, + 0xfc, 0xbc, 0xe2, 0x54, 0x5c, 0xd6, 0x39, 0x29, 0x46, 0xc9, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, + 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0xcd, 0xd1, 0x07, 0x87, 0x72, 0x72, 0x7e, 0x8e, 0x7e, 0x51, + 0x41, 0x72, 0x12, 0x1b, 0x98, 0x67, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xd1, 0xc4, 0x73, 0xc1, + 0xc1, 0x01, 0x00, 0x00, } diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index 185473e7..0e1a66a1 100644 --- a/rpc/analytics.pb.go +++ b/rpc/analytics.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/analytics.proto diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index be81e73b..82d4538a 100644 --- a/rpc/egress.pb.go +++ b/rpc/egress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/egress.proto @@ -61,11 +61,9 @@ type StartEgressRequest struct { func (x *StartEgressRequest) Reset() { *x = StartEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_egress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_egress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartEgressRequest) String() string { @@ -76,7 +74,7 @@ func (*StartEgressRequest) ProtoMessage() {} func (x *StartEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -203,11 +201,9 @@ type ListActiveEgressRequest struct { func (x *ListActiveEgressRequest) Reset() { *x = ListActiveEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_egress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_egress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveEgressRequest) String() string { @@ -218,7 +214,7 @@ func (*ListActiveEgressRequest) ProtoMessage() {} func (x *ListActiveEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -243,11 +239,9 @@ type ListActiveEgressResponse struct { func (x *ListActiveEgressResponse) Reset() { *x = ListActiveEgressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_egress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_egress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveEgressResponse) String() string { @@ -258,7 +252,7 @@ func (*ListActiveEgressResponse) ProtoMessage() {} func (x *ListActiveEgressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_egress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -400,44 +394,6 @@ 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 aced1803..5537fdca 100644 --- a/rpc/ingress.pb.go +++ b/rpc/ingress.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/ingress.proto @@ -45,11 +45,9 @@ type ListActiveIngressRequest struct { func (x *ListActiveIngressRequest) Reset() { *x = ListActiveIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveIngressRequest) String() string { @@ -60,7 +58,7 @@ func (*ListActiveIngressRequest) ProtoMessage() {} func (x *ListActiveIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,11 +85,9 @@ type ListActiveIngressResponse struct { func (x *ListActiveIngressResponse) Reset() { *x = ListActiveIngressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListActiveIngressResponse) String() string { @@ -102,7 +98,7 @@ func (*ListActiveIngressResponse) ProtoMessage() {} func (x *ListActiveIngressResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -143,11 +139,9 @@ type DeleteWHIPResourceRequest struct { func (x *DeleteWHIPResourceRequest) Reset() { *x = DeleteWHIPResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteWHIPResourceRequest) String() string { @@ -158,7 +152,7 @@ func (*DeleteWHIPResourceRequest) ProtoMessage() {} func (x *DeleteWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -201,11 +195,9 @@ type ICERestartWHIPResourceRequest struct { func (x *ICERestartWHIPResourceRequest) Reset() { *x = ICERestartWHIPResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICERestartWHIPResourceRequest) String() string { @@ -216,7 +208,7 @@ func (*ICERestartWHIPResourceRequest) ProtoMessage() {} func (x *ICERestartWHIPResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -276,11 +268,9 @@ type ICERestartWHIPResourceResponse struct { func (x *ICERestartWHIPResourceResponse) Reset() { *x = ICERestartWHIPResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ICERestartWHIPResourceResponse) String() string { @@ -291,7 +281,7 @@ func (*ICERestartWHIPResourceResponse) ProtoMessage() {} func (x *ICERestartWHIPResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -326,11 +316,9 @@ type StartIngressRequest struct { func (x *StartIngressRequest) Reset() { *x = StartIngressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartIngressRequest) String() string { @@ -341,7 +329,7 @@ func (*StartIngressRequest) ProtoMessage() {} func (x *StartIngressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -395,11 +383,9 @@ type IngressSession struct { func (x *IngressSession) Reset() { *x = IngressSession{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IngressSession) String() string { @@ -410,7 +396,7 @@ func (*IngressSession) ProtoMessage() {} func (x *IngressSession) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -449,11 +435,9 @@ type KillIngressSessionRequest struct { func (x *KillIngressSessionRequest) Reset() { *x = KillIngressSessionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_ingress_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_ingress_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KillIngressSessionRequest) String() string { @@ -464,7 +448,7 @@ func (*KillIngressSessionRequest) ProtoMessage() {} func (x *KillIngressSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_ingress_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -661,104 +645,6 @@ 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 e895912a..a78135d5 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/io.proto @@ -147,11 +147,9 @@ type GetEgressRequest struct { func (x *GetEgressRequest) Reset() { *x = GetEgressRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEgressRequest) String() string { @@ -162,7 +160,7 @@ func (*GetEgressRequest) ProtoMessage() {} func (x *GetEgressRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -196,11 +194,9 @@ type UpdateMetricsRequest struct { func (x *UpdateMetricsRequest) Reset() { *x = UpdateMetricsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateMetricsRequest) String() string { @@ -211,7 +207,7 @@ func (*UpdateMetricsRequest) ProtoMessage() {} func (x *UpdateMetricsRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -259,11 +255,9 @@ type GetIngressInfoRequest struct { func (x *GetIngressInfoRequest) Reset() { *x = GetIngressInfoRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIngressInfoRequest) String() string { @@ -274,7 +268,7 @@ func (*GetIngressInfoRequest) ProtoMessage() {} func (x *GetIngressInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -316,11 +310,9 @@ type GetIngressInfoResponse struct { func (x *GetIngressInfoResponse) Reset() { *x = GetIngressInfoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetIngressInfoResponse) String() string { @@ -331,7 +323,7 @@ func (*GetIngressInfoResponse) ProtoMessage() {} func (x *GetIngressInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -386,11 +378,9 @@ type UpdateIngressStateRequest struct { func (x *UpdateIngressStateRequest) Reset() { *x = UpdateIngressStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateIngressStateRequest) String() string { @@ -401,7 +391,7 @@ func (*UpdateIngressStateRequest) ProtoMessage() {} func (x *UpdateIngressStateRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -448,11 +438,9 @@ type GetSIPTrunkAuthenticationRequest struct { func (x *GetSIPTrunkAuthenticationRequest) Reset() { *x = GetSIPTrunkAuthenticationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPTrunkAuthenticationRequest) String() string { @@ -463,7 +451,7 @@ func (*GetSIPTrunkAuthenticationRequest) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -530,11 +518,9 @@ type GetSIPTrunkAuthenticationResponse struct { func (x *GetSIPTrunkAuthenticationResponse) Reset() { *x = GetSIPTrunkAuthenticationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSIPTrunkAuthenticationResponse) String() string { @@ -545,7 +531,7 @@ func (*GetSIPTrunkAuthenticationResponse) ProtoMessage() {} func (x *GetSIPTrunkAuthenticationResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -624,11 +610,9 @@ type EvaluateSIPDispatchRulesRequest struct { func (x *EvaluateSIPDispatchRulesRequest) Reset() { *x = EvaluateSIPDispatchRulesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EvaluateSIPDispatchRulesRequest) String() string { @@ -639,7 +623,7 @@ func (*EvaluateSIPDispatchRulesRequest) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -764,11 +748,9 @@ type EvaluateSIPDispatchRulesResponse struct { func (x *EvaluateSIPDispatchRulesResponse) Reset() { *x = EvaluateSIPDispatchRulesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_io_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_io_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EvaluateSIPDispatchRulesResponse) String() string { @@ -779,7 +761,7 @@ func (*EvaluateSIPDispatchRulesResponse) ProtoMessage() {} func (x *EvaluateSIPDispatchRulesResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_io_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1209,116 +1191,6 @@ 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 - } - } - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 5023a3e7..b2ebdb71 100644 --- a/rpc/keepalive.pb.go +++ b/rpc/keepalive.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/keepalive.proto @@ -45,11 +45,9 @@ type KeepalivePing struct { func (x *KeepalivePing) Reset() { *x = KeepalivePing{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_keepalive_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_keepalive_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KeepalivePing) String() string { @@ -60,7 +58,7 @@ func (*KeepalivePing) ProtoMessage() {} func (x *KeepalivePing) ProtoReflect() protoreflect.Message { mi := &file_rpc_keepalive_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -132,20 +130,6 @@ 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 1daa1fb4..73fa35d5 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/participant.proto diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 7ea2be17..c4d1097d 100644 --- a/rpc/room.pb.go +++ b/rpc/room.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/room.proto diff --git a/rpc/roommanager.pb.go b/rpc/roommanager.pb.go index 6fe283ea..4a9f4e84 100644 --- a/rpc/roommanager.pb.go +++ b/rpc/roommanager.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/roommanager.proto diff --git a/rpc/rpcfakes/fake_typed_agent_dispatch_internal_client.go b/rpc/rpcfakes/fake_typed_agent_dispatch_internal_client.go new file mode 100644 index 00000000..13da787e --- /dev/null +++ b/rpc/rpcfakes/fake_typed_agent_dispatch_internal_client.go @@ -0,0 +1,325 @@ +// Code generated by counterfeiter. DO NOT EDIT. +package rpcfakes + +import ( + "context" + "sync" + + "github.com/livekit/protocol/livekit" + "github.com/livekit/protocol/rpc" + "github.com/livekit/psrpc" +) + +type FakeTypedAgentDispatchInternalClient struct { + CloseStub func() + closeMutex sync.RWMutex + closeArgsForCall []struct { + } + CreateDispatchStub func(context.Context, rpc.RoomTopic, *livekit.CreateAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.AgentDispatch, error) + createDispatchMutex sync.RWMutex + createDispatchArgsForCall []struct { + arg1 context.Context + arg2 rpc.RoomTopic + arg3 *livekit.CreateAgentDispatchRequest + arg4 []psrpc.RequestOption + } + createDispatchReturns struct { + result1 *livekit.AgentDispatch + result2 error + } + createDispatchReturnsOnCall map[int]struct { + result1 *livekit.AgentDispatch + result2 error + } + DeleteDispatchStub func(context.Context, rpc.RoomTopic, *livekit.DeleteAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.AgentDispatch, error) + deleteDispatchMutex sync.RWMutex + deleteDispatchArgsForCall []struct { + arg1 context.Context + arg2 rpc.RoomTopic + arg3 *livekit.DeleteAgentDispatchRequest + arg4 []psrpc.RequestOption + } + deleteDispatchReturns struct { + result1 *livekit.AgentDispatch + result2 error + } + deleteDispatchReturnsOnCall map[int]struct { + result1 *livekit.AgentDispatch + result2 error + } + ListDispatchStub func(context.Context, rpc.RoomTopic, *livekit.ListAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.ListAgentDispatchResponse, error) + listDispatchMutex sync.RWMutex + listDispatchArgsForCall []struct { + arg1 context.Context + arg2 rpc.RoomTopic + arg3 *livekit.ListAgentDispatchRequest + arg4 []psrpc.RequestOption + } + listDispatchReturns struct { + result1 *livekit.ListAgentDispatchResponse + result2 error + } + listDispatchReturnsOnCall map[int]struct { + result1 *livekit.ListAgentDispatchResponse + result2 error + } + invocations map[string][][]interface{} + invocationsMutex sync.RWMutex +} + +func (fake *FakeTypedAgentDispatchInternalClient) Close() { + fake.closeMutex.Lock() + fake.closeArgsForCall = append(fake.closeArgsForCall, struct { + }{}) + stub := fake.CloseStub + fake.recordInvocation("Close", []interface{}{}) + fake.closeMutex.Unlock() + if stub != nil { + fake.CloseStub() + } +} + +func (fake *FakeTypedAgentDispatchInternalClient) CloseCallCount() int { + fake.closeMutex.RLock() + defer fake.closeMutex.RUnlock() + return len(fake.closeArgsForCall) +} + +func (fake *FakeTypedAgentDispatchInternalClient) CloseCalls(stub func()) { + fake.closeMutex.Lock() + defer fake.closeMutex.Unlock() + fake.CloseStub = stub +} + +func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatch(arg1 context.Context, arg2 rpc.RoomTopic, arg3 *livekit.CreateAgentDispatchRequest, arg4 ...psrpc.RequestOption) (*livekit.AgentDispatch, error) { + fake.createDispatchMutex.Lock() + ret, specificReturn := fake.createDispatchReturnsOnCall[len(fake.createDispatchArgsForCall)] + fake.createDispatchArgsForCall = append(fake.createDispatchArgsForCall, struct { + arg1 context.Context + arg2 rpc.RoomTopic + arg3 *livekit.CreateAgentDispatchRequest + arg4 []psrpc.RequestOption + }{arg1, arg2, arg3, arg4}) + stub := fake.CreateDispatchStub + fakeReturns := fake.createDispatchReturns + fake.recordInvocation("CreateDispatch", []interface{}{arg1, arg2, arg3, arg4}) + fake.createDispatchMutex.Unlock() + if stub != nil { + return stub(arg1, arg2, arg3, arg4...) + } + if specificReturn { + return ret.result1, ret.result2 + } + return fakeReturns.result1, fakeReturns.result2 +} + +func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchCallCount() int { + fake.createDispatchMutex.RLock() + defer fake.createDispatchMutex.RUnlock() + return len(fake.createDispatchArgsForCall) +} + +func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchCalls(stub func(context.Context, rpc.RoomTopic, *livekit.CreateAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.AgentDispatch, error)) { + fake.createDispatchMutex.Lock() + defer fake.createDispatchMutex.Unlock() + fake.CreateDispatchStub = stub +} + +func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchArgsForCall(i int) (context.Context, rpc.RoomTopic, *livekit.CreateAgentDispatchRequest, []psrpc.RequestOption) { + fake.createDispatchMutex.RLock() + defer fake.createDispatchMutex.RUnlock() + argsForCall := fake.createDispatchArgsForCall[i] + return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 +} + +func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchReturns(result1 *livekit.AgentDispatch, result2 error) { + fake.createDispatchMutex.Lock() + defer fake.createDispatchMutex.Unlock() + fake.CreateDispatchStub = nil + fake.createDispatchReturns = struct { + result1 *livekit.AgentDispatch + result2 error + }{result1, result2} +} + +func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchReturnsOnCall(i int, result1 *livekit.AgentDispatch, result2 error) { + fake.createDispatchMutex.Lock() + defer fake.createDispatchMutex.Unlock() + fake.CreateDispatchStub = nil + if fake.createDispatchReturnsOnCall == nil { + fake.createDispatchReturnsOnCall = make(map[int]struct { + result1 *livekit.AgentDispatch + result2 error + }) + } + fake.createDispatchReturnsOnCall[i] = struct { + result1 *livekit.AgentDispatch + result2 error + }{result1, result2} +} + +func (fake *FakeTypedAgentDispatchInternalClient) DeleteDispatch(arg1 context.Context, arg2 rpc.RoomTopic, arg3 *livekit.DeleteAgentDispatchRequest, arg4 ...psrpc.RequestOption) (*livekit.AgentDispatch, error) { + fake.deleteDispatchMutex.Lock() + ret, specificReturn := fake.deleteDispatchReturnsOnCall[len(fake.deleteDispatchArgsForCall)] + fake.deleteDispatchArgsForCall = append(fake.deleteDispatchArgsForCall, struct { + arg1 context.Context + arg2 rpc.RoomTopic + arg3 *livekit.DeleteAgentDispatchRequest + arg4 []psrpc.RequestOption + }{arg1, arg2, arg3, arg4}) + stub := fake.DeleteDispatchStub + fakeReturns := fake.deleteDispatchReturns + fake.recordInvocation("DeleteDispatch", []interface{}{arg1, arg2, arg3, arg4}) + fake.deleteDispatchMutex.Unlock() + if stub != nil { + return stub(arg1, arg2, arg3, arg4...) + } + if specificReturn { + return ret.result1, ret.result2 + } + return fakeReturns.result1, fakeReturns.result2 +} + +func (fake *FakeTypedAgentDispatchInternalClient) DeleteDispatchCallCount() int { + fake.deleteDispatchMutex.RLock() + defer fake.deleteDispatchMutex.RUnlock() + return len(fake.deleteDispatchArgsForCall) +} + +func (fake *FakeTypedAgentDispatchInternalClient) DeleteDispatchCalls(stub func(context.Context, rpc.RoomTopic, *livekit.DeleteAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.AgentDispatch, error)) { + fake.deleteDispatchMutex.Lock() + defer fake.deleteDispatchMutex.Unlock() + fake.DeleteDispatchStub = stub +} + +func (fake *FakeTypedAgentDispatchInternalClient) DeleteDispatchArgsForCall(i int) (context.Context, rpc.RoomTopic, *livekit.DeleteAgentDispatchRequest, []psrpc.RequestOption) { + fake.deleteDispatchMutex.RLock() + defer fake.deleteDispatchMutex.RUnlock() + argsForCall := fake.deleteDispatchArgsForCall[i] + return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 +} + +func (fake *FakeTypedAgentDispatchInternalClient) DeleteDispatchReturns(result1 *livekit.AgentDispatch, result2 error) { + fake.deleteDispatchMutex.Lock() + defer fake.deleteDispatchMutex.Unlock() + fake.DeleteDispatchStub = nil + fake.deleteDispatchReturns = struct { + result1 *livekit.AgentDispatch + result2 error + }{result1, result2} +} + +func (fake *FakeTypedAgentDispatchInternalClient) DeleteDispatchReturnsOnCall(i int, result1 *livekit.AgentDispatch, result2 error) { + fake.deleteDispatchMutex.Lock() + defer fake.deleteDispatchMutex.Unlock() + fake.DeleteDispatchStub = nil + if fake.deleteDispatchReturnsOnCall == nil { + fake.deleteDispatchReturnsOnCall = make(map[int]struct { + result1 *livekit.AgentDispatch + result2 error + }) + } + fake.deleteDispatchReturnsOnCall[i] = struct { + result1 *livekit.AgentDispatch + result2 error + }{result1, result2} +} + +func (fake *FakeTypedAgentDispatchInternalClient) ListDispatch(arg1 context.Context, arg2 rpc.RoomTopic, arg3 *livekit.ListAgentDispatchRequest, arg4 ...psrpc.RequestOption) (*livekit.ListAgentDispatchResponse, error) { + fake.listDispatchMutex.Lock() + ret, specificReturn := fake.listDispatchReturnsOnCall[len(fake.listDispatchArgsForCall)] + fake.listDispatchArgsForCall = append(fake.listDispatchArgsForCall, struct { + arg1 context.Context + arg2 rpc.RoomTopic + arg3 *livekit.ListAgentDispatchRequest + arg4 []psrpc.RequestOption + }{arg1, arg2, arg3, arg4}) + stub := fake.ListDispatchStub + fakeReturns := fake.listDispatchReturns + fake.recordInvocation("ListDispatch", []interface{}{arg1, arg2, arg3, arg4}) + fake.listDispatchMutex.Unlock() + if stub != nil { + return stub(arg1, arg2, arg3, arg4...) + } + if specificReturn { + return ret.result1, ret.result2 + } + return fakeReturns.result1, fakeReturns.result2 +} + +func (fake *FakeTypedAgentDispatchInternalClient) ListDispatchCallCount() int { + fake.listDispatchMutex.RLock() + defer fake.listDispatchMutex.RUnlock() + return len(fake.listDispatchArgsForCall) +} + +func (fake *FakeTypedAgentDispatchInternalClient) ListDispatchCalls(stub func(context.Context, rpc.RoomTopic, *livekit.ListAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.ListAgentDispatchResponse, error)) { + fake.listDispatchMutex.Lock() + defer fake.listDispatchMutex.Unlock() + fake.ListDispatchStub = stub +} + +func (fake *FakeTypedAgentDispatchInternalClient) ListDispatchArgsForCall(i int) (context.Context, rpc.RoomTopic, *livekit.ListAgentDispatchRequest, []psrpc.RequestOption) { + fake.listDispatchMutex.RLock() + defer fake.listDispatchMutex.RUnlock() + argsForCall := fake.listDispatchArgsForCall[i] + return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 +} + +func (fake *FakeTypedAgentDispatchInternalClient) ListDispatchReturns(result1 *livekit.ListAgentDispatchResponse, result2 error) { + fake.listDispatchMutex.Lock() + defer fake.listDispatchMutex.Unlock() + fake.ListDispatchStub = nil + fake.listDispatchReturns = struct { + result1 *livekit.ListAgentDispatchResponse + result2 error + }{result1, result2} +} + +func (fake *FakeTypedAgentDispatchInternalClient) ListDispatchReturnsOnCall(i int, result1 *livekit.ListAgentDispatchResponse, result2 error) { + fake.listDispatchMutex.Lock() + defer fake.listDispatchMutex.Unlock() + fake.ListDispatchStub = nil + if fake.listDispatchReturnsOnCall == nil { + fake.listDispatchReturnsOnCall = make(map[int]struct { + result1 *livekit.ListAgentDispatchResponse + result2 error + }) + } + fake.listDispatchReturnsOnCall[i] = struct { + result1 *livekit.ListAgentDispatchResponse + result2 error + }{result1, result2} +} + +func (fake *FakeTypedAgentDispatchInternalClient) Invocations() map[string][][]interface{} { + fake.invocationsMutex.RLock() + defer fake.invocationsMutex.RUnlock() + fake.closeMutex.RLock() + defer fake.closeMutex.RUnlock() + fake.createDispatchMutex.RLock() + defer fake.createDispatchMutex.RUnlock() + fake.deleteDispatchMutex.RLock() + defer fake.deleteDispatchMutex.RUnlock() + fake.listDispatchMutex.RLock() + defer fake.listDispatchMutex.RUnlock() + copiedInvocations := map[string][][]interface{}{} + for key, value := range fake.invocations { + copiedInvocations[key] = value + } + return copiedInvocations +} + +func (fake *FakeTypedAgentDispatchInternalClient) recordInvocation(key string, args []interface{}) { + fake.invocationsMutex.Lock() + defer fake.invocationsMutex.Unlock() + if fake.invocations == nil { + fake.invocations = map[string][][]interface{}{} + } + if fake.invocations[key] == nil { + fake.invocations[key] = [][]interface{}{} + } + fake.invocations[key] = append(fake.invocations[key], args) +} + +var _ rpc.TypedAgentDispatchInternalClient = new(FakeTypedAgentDispatchInternalClient) diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index 7ff67d40..63b0657f 100644 --- a/rpc/signal.pb.go +++ b/rpc/signal.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/signal.proto @@ -49,11 +49,9 @@ type RelaySignalRequest struct { func (x *RelaySignalRequest) Reset() { *x = RelaySignalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_signal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_signal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelaySignalRequest) String() string { @@ -64,7 +62,7 @@ func (*RelaySignalRequest) ProtoMessage() {} func (x *RelaySignalRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -119,11 +117,9 @@ type RelaySignalResponse struct { func (x *RelaySignalResponse) Reset() { *x = RelaySignalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_signal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_signal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RelaySignalResponse) String() string { @@ -134,7 +130,7 @@ func (*RelaySignalResponse) ProtoMessage() {} func (x *RelaySignalResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_signal_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,32 +242,6 @@ 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.pb.go b/rpc/sip.pb.go index 5e554213..b6c618fe 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 +// protoc-gen-go v1.35.1 // protoc v4.23.4 // source: rpc/sip.proto @@ -77,11 +77,9 @@ type InternalCreateSIPParticipantRequest struct { func (x *InternalCreateSIPParticipantRequest) Reset() { *x = InternalCreateSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_sip_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_sip_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalCreateSIPParticipantRequest) String() string { @@ -92,7 +90,7 @@ func (*InternalCreateSIPParticipantRequest) ProtoMessage() {} func (x *InternalCreateSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -266,11 +264,9 @@ type InternalCreateSIPParticipantResponse struct { func (x *InternalCreateSIPParticipantResponse) Reset() { *x = InternalCreateSIPParticipantResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_sip_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_sip_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalCreateSIPParticipantResponse) String() string { @@ -281,7 +277,7 @@ func (*InternalCreateSIPParticipantResponse) ProtoMessage() {} func (x *InternalCreateSIPParticipantResponse) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -328,11 +324,9 @@ type InternalTransferSIPParticipantRequest struct { func (x *InternalTransferSIPParticipantRequest) Reset() { *x = InternalTransferSIPParticipantRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_rpc_sip_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_rpc_sip_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalTransferSIPParticipantRequest) String() string { @@ -343,7 +337,7 @@ func (*InternalTransferSIPParticipantRequest) ProtoMessage() {} func (x *InternalTransferSIPParticipantRequest) ProtoReflect() protoreflect.Message { mi := &file_rpc_sip_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -534,44 +528,6 @@ 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{ From 082848150f8fb5fd1af2a2065437fa13f6a203f5 Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Tue, 8 Oct 2024 01:23:40 -0700 Subject: [PATCH 02/11] codegen fake dispatch internal client (#840) --- .../fake_typed_agent_dispatch_internal_client.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rpc/rpcfakes/fake_typed_agent_dispatch_internal_client.go b/rpc/rpcfakes/fake_typed_agent_dispatch_internal_client.go index 13da787e..19af839b 100644 --- a/rpc/rpcfakes/fake_typed_agent_dispatch_internal_client.go +++ b/rpc/rpcfakes/fake_typed_agent_dispatch_internal_client.go @@ -15,12 +15,12 @@ type FakeTypedAgentDispatchInternalClient struct { closeMutex sync.RWMutex closeArgsForCall []struct { } - CreateDispatchStub func(context.Context, rpc.RoomTopic, *livekit.CreateAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.AgentDispatch, error) + CreateDispatchStub func(context.Context, rpc.RoomTopic, *livekit.AgentDispatch, ...psrpc.RequestOption) (*livekit.AgentDispatch, error) createDispatchMutex sync.RWMutex createDispatchArgsForCall []struct { arg1 context.Context arg2 rpc.RoomTopic - arg3 *livekit.CreateAgentDispatchRequest + arg3 *livekit.AgentDispatch arg4 []psrpc.RequestOption } createDispatchReturns struct { @@ -91,13 +91,13 @@ func (fake *FakeTypedAgentDispatchInternalClient) CloseCalls(stub func()) { fake.CloseStub = stub } -func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatch(arg1 context.Context, arg2 rpc.RoomTopic, arg3 *livekit.CreateAgentDispatchRequest, arg4 ...psrpc.RequestOption) (*livekit.AgentDispatch, error) { +func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatch(arg1 context.Context, arg2 rpc.RoomTopic, arg3 *livekit.AgentDispatch, arg4 ...psrpc.RequestOption) (*livekit.AgentDispatch, error) { fake.createDispatchMutex.Lock() ret, specificReturn := fake.createDispatchReturnsOnCall[len(fake.createDispatchArgsForCall)] fake.createDispatchArgsForCall = append(fake.createDispatchArgsForCall, struct { arg1 context.Context arg2 rpc.RoomTopic - arg3 *livekit.CreateAgentDispatchRequest + arg3 *livekit.AgentDispatch arg4 []psrpc.RequestOption }{arg1, arg2, arg3, arg4}) stub := fake.CreateDispatchStub @@ -119,13 +119,13 @@ func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchCallCount() int return len(fake.createDispatchArgsForCall) } -func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchCalls(stub func(context.Context, rpc.RoomTopic, *livekit.CreateAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.AgentDispatch, error)) { +func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchCalls(stub func(context.Context, rpc.RoomTopic, *livekit.AgentDispatch, ...psrpc.RequestOption) (*livekit.AgentDispatch, error)) { fake.createDispatchMutex.Lock() defer fake.createDispatchMutex.Unlock() fake.CreateDispatchStub = stub } -func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchArgsForCall(i int) (context.Context, rpc.RoomTopic, *livekit.CreateAgentDispatchRequest, []psrpc.RequestOption) { +func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchArgsForCall(i int) (context.Context, rpc.RoomTopic, *livekit.AgentDispatch, []psrpc.RequestOption) { fake.createDispatchMutex.RLock() defer fake.createDispatchMutex.RUnlock() argsForCall := fake.createDispatchArgsForCall[i] From fbcc09c9c9afdaac98c31c5ffc221c7f308c4c7d Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Tue, 8 Oct 2024 03:18:54 -0700 Subject: [PATCH 03/11] add type specializations for slice logging (#841) --- logger/objectslice.go | 34 ------ logger/slice.go | 268 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 268 insertions(+), 34 deletions(-) delete mode 100644 logger/objectslice.go create mode 100644 logger/slice.go diff --git a/logger/objectslice.go b/logger/objectslice.go deleted file mode 100644 index cb5d9031..00000000 --- a/logger/objectslice.go +++ /dev/null @@ -1,34 +0,0 @@ -// 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 logger - -import ( - "go.uber.org/multierr" - "go.uber.org/zap/zapcore" -) - -func ObjectSlice[T zapcore.ObjectMarshaler](s []T) zapcore.ArrayMarshaler { - return objectSlice[T](s) -} - -type objectSlice[T zapcore.ObjectMarshaler] []T - -func (a objectSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { - var err error - for _, o := range a { - err = multierr.Append(err, e.AppendObject(o)) - } - return err -} diff --git a/logger/slice.go b/logger/slice.go new file mode 100644 index 00000000..49ab6d8e --- /dev/null +++ b/logger/slice.go @@ -0,0 +1,268 @@ +// 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 logger + +import ( + "go.uber.org/multierr" + "go.uber.org/zap/zapcore" +) + +func ObjectSlice[T zapcore.ObjectMarshaler](s []T) zapcore.ArrayMarshaler { + return objectSlice[T](s) +} + +type objectSlice[T zapcore.ObjectMarshaler] []T + +func (s objectSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + var err error + for _, v := range s { + err = multierr.Append(err, e.AppendObject(v)) + } + return err +} + +type boolSlice[T ~bool] []T + +func BoolSlice[T ~bool](s []T) zapcore.ArrayMarshaler { + return boolSlice[T](s) +} + +func (s boolSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendBool(bool(v)) + } + return nil +} + +type byteStringSlice[T ~[]byte] []T + +func ByteStringSlice[T ~[]byte](s []T) zapcore.ArrayMarshaler { + return byteStringSlice[T](s) +} + +func (s byteStringSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendByteString([]byte(v)) + } + return nil +} + +type complex128Slice[T ~complex128] []T + +func Complex128Slice[T ~complex128](s []T) zapcore.ArrayMarshaler { + return complex128Slice[T](s) +} + +func (s complex128Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendComplex128(complex128(v)) + } + return nil +} + +type complex64Slice[T ~complex64] []T + +func Complex64Slice[T ~complex64](s []T) zapcore.ArrayMarshaler { + return complex64Slice[T](s) +} + +func (s complex64Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendComplex64(complex64(v)) + } + return nil +} + +type float64Slice[T ~float64] []T + +func Float64Slice[T ~float64](s []T) zapcore.ArrayMarshaler { + return float64Slice[T](s) +} + +func (s float64Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendFloat64(float64(v)) + } + return nil +} + +type float32Slice[T ~float32] []T + +func Float32Slice[T ~float32](s []T) zapcore.ArrayMarshaler { + return float32Slice[T](s) +} + +func (s float32Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendFloat32(float32(v)) + } + return nil +} + +type intSlice[T ~int] []T + +func IntSlice[T ~int](s []T) zapcore.ArrayMarshaler { + return intSlice[T](s) +} + +func (s intSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendInt(int(v)) + } + return nil +} + +type int64Slice[T ~int64] []T + +func Int64Slice[T ~int64](s []T) zapcore.ArrayMarshaler { + return int64Slice[T](s) +} + +func (s int64Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendInt64(int64(v)) + } + return nil +} + +type int32Slice[T ~int32] []T + +func Int32Slice[T ~int32](s []T) zapcore.ArrayMarshaler { + return int32Slice[T](s) +} + +func (s int32Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendInt32(int32(v)) + } + return nil +} + +type int16Slice[T ~int16] []T + +func Int16Slice[T ~int16](s []T) zapcore.ArrayMarshaler { + return int16Slice[T](s) +} + +func (s int16Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendInt16(int16(v)) + } + return nil +} + +type int8Slice[T ~int8] []T + +func Int8Slice[T ~int8](s []T) zapcore.ArrayMarshaler { + return int8Slice[T](s) +} + +func (s int8Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendInt8(int8(v)) + } + return nil +} + +type stringSlice[T ~string] []T + +func StringSlice[T ~string](s []T) zapcore.ArrayMarshaler { + return stringSlice[T](s) +} + +func (s stringSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendString(string(v)) + } + return nil +} + +type uintSlice[T ~uint] []T + +func UintSlice[T ~uint](s []T) zapcore.ArrayMarshaler { + return uintSlice[T](s) +} + +func (s uintSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendUint(uint(v)) + } + return nil +} + +type uint64Slice[T ~uint64] []T + +func Uint64Slice[T ~uint64](s []T) zapcore.ArrayMarshaler { + return uint64Slice[T](s) +} + +func (s uint64Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendUint64(uint64(v)) + } + return nil +} + +type uint32Slice[T ~uint32] []T + +func Uint32Slice[T ~uint32](s []T) zapcore.ArrayMarshaler { + return uint32Slice[T](s) +} + +func (s uint32Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendUint32(uint32(v)) + } + return nil +} + +type uint16Slice[T ~uint16] []T + +func Uint16Slice[T ~uint16](s []T) zapcore.ArrayMarshaler { + return uint16Slice[T](s) +} + +func (s uint16Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendUint16(uint16(v)) + } + return nil +} + +type uint8Slice[T ~uint8] []T + +func Uint8Slice[T ~uint8](s []T) zapcore.ArrayMarshaler { + return uint8Slice[T](s) +} + +func (s uint8Slice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendUint8(uint8(v)) + } + return nil +} + +type uintptrSlice[T ~uintptr] []T + +func UintptrSlice[T ~uintptr](s []T) zapcore.ArrayMarshaler { + return uintptrSlice[T](s) +} + +func (s uintptrSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendUintptr(uintptr(v)) + } + return nil +} From b2c7ca3114ae1833e6e1efd317a1f8d0797c74d0 Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Tue, 8 Oct 2024 04:07:13 -0700 Subject: [PATCH 04/11] add proto/time/duration slice loggers (#842) --- logger/slice.go | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/logger/slice.go b/logger/slice.go index 49ab6d8e..ddf959ee 100644 --- a/logger/slice.go +++ b/logger/slice.go @@ -15,16 +15,33 @@ package logger import ( + "time" + "go.uber.org/multierr" "go.uber.org/zap/zapcore" + "google.golang.org/protobuf/proto" ) -func ObjectSlice[T zapcore.ObjectMarshaler](s []T) zapcore.ArrayMarshaler { - return objectSlice[T](s) +type protoSlice[T proto.Message] []T + +func ProtoSlice[T proto.Message](s []T) zapcore.ArrayMarshaler { + return protoSlice[T](s) +} + +func (s protoSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { + var err error + for _, v := range s { + err = multierr.Append(err, e.AppendObject(Proto(v))) + } + return err } type objectSlice[T zapcore.ObjectMarshaler] []T +func ObjectSlice[T zapcore.ObjectMarshaler](s []T) zapcore.ArrayMarshaler { + return objectSlice[T](s) +} + func (s objectSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { var err error for _, v := range s { @@ -33,6 +50,32 @@ func (s objectSlice[T]) MarshalLogArray(e zapcore.ArrayEncoder) error { return err } +type timeSlice []time.Time + +func TimeSlice(s []time.Time) zapcore.ArrayMarshaler { + return timeSlice(s) +} + +func (s timeSlice) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendTime(v) + } + return nil +} + +type durationSlice []time.Duration + +func DurationSlice(s []time.Duration) zapcore.ArrayMarshaler { + return durationSlice(s) +} + +func (s durationSlice) MarshalLogArray(e zapcore.ArrayEncoder) error { + for _, v := range s { + e.AppendDuration(v) + } + return nil +} + type boolSlice[T ~bool] []T func BoolSlice[T ~bool](s []T) zapcore.ArrayMarshaler { From ad9f2862e34f9b52631b0b3f77f1d95c75365996 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Tue, 8 Oct 2024 14:26:16 +0200 Subject: [PATCH 05/11] Expose metrics on javascript package (#843) * Expose metrics on javascript package * Create gold-readers-scream.md --- .changeset/gold-readers-scream.md | 5 +++++ packages/javascript/src/index.d.ts | 1 + packages/javascript/src/index.js | 1 + 3 files changed, 7 insertions(+) create mode 100644 .changeset/gold-readers-scream.md diff --git a/.changeset/gold-readers-scream.md b/.changeset/gold-readers-scream.md new file mode 100644 index 00000000..d86cdb94 --- /dev/null +++ b/.changeset/gold-readers-scream.md @@ -0,0 +1,5 @@ +--- +"@livekit/protocol": patch +--- + +Expose metrics on javascript package diff --git a/packages/javascript/src/index.d.ts b/packages/javascript/src/index.d.ts index 0907cae3..35350748 100644 --- a/packages/javascript/src/index.d.ts +++ b/packages/javascript/src/index.d.ts @@ -7,4 +7,5 @@ export * from "./gen/livekit_webhook_pb.js"; export * from "./gen/livekit_egress_pb.js"; export * from "./gen/livekit_ingress_pb.js"; export * from "./gen/livekit_sip_pb.js"; +export * from "./gen/livekit_metrics_pb.js"; export { protoInt64 } from "@bufbuild/protobuf"; diff --git a/packages/javascript/src/index.js b/packages/javascript/src/index.js index 6102444c..6748c508 100644 --- a/packages/javascript/src/index.js +++ b/packages/javascript/src/index.js @@ -8,4 +8,5 @@ export * from "./gen/livekit_webhook_pb.js"; export * from "./gen/livekit_egress_pb.js"; export * from "./gen/livekit_ingress_pb.js"; export * from "./gen/livekit_sip_pb.js"; +export * from "./gen/livekit_metrics_pb.js"; export { protoInt64 } from "@bufbuild/protobuf"; From 86d95fa42f14f535d8869d9f7387b64b1c41923e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:26:58 +0200 Subject: [PATCH 06/11] Version Packages (#824) Co-authored-by: github-actions[bot] --- .changeset/brave-chicken-eat.md | 5 ----- .changeset/gold-readers-scream.md | 5 ----- .changeset/tiny-pans-smell.md | 6 ------ .changeset/wet-guests-eat.md | 5 ----- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- packages/javascript/CHANGELOG.md | 10 ++++++++++ packages/javascript/package.json | 2 +- 8 files changed, 24 insertions(+), 23 deletions(-) delete mode 100644 .changeset/brave-chicken-eat.md delete mode 100644 .changeset/gold-readers-scream.md delete mode 100644 .changeset/tiny-pans-smell.md delete mode 100644 .changeset/wet-guests-eat.md diff --git a/.changeset/brave-chicken-eat.md b/.changeset/brave-chicken-eat.md deleted file mode 100644 index c15b0c09..00000000 --- a/.changeset/brave-chicken-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"github.com/livekit/protocol": patch ---- - -Add missing SIP status attribute. diff --git a/.changeset/gold-readers-scream.md b/.changeset/gold-readers-scream.md deleted file mode 100644 index d86cdb94..00000000 --- a/.changeset/gold-readers-scream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@livekit/protocol": patch ---- - -Expose metrics on javascript package diff --git a/.changeset/tiny-pans-smell.md b/.changeset/tiny-pans-smell.md deleted file mode 100644 index b4d004d4..00000000 --- a/.changeset/tiny-pans-smell.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@livekit/protocol": minor -"github.com/livekit/protocol": minor ---- - -Add disconnect reasons for SIP. diff --git a/.changeset/wet-guests-eat.md b/.changeset/wet-guests-eat.md deleted file mode 100644 index 7f4bfa47..00000000 --- a/.changeset/wet-guests-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"github.com/livekit/protocol": patch ---- - -Validate SipCallTo in CreateSIPParticipantRequest. diff --git a/CHANGELOG.md b/CHANGELOG.md index 679e675e..fb8dc3e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # github.com/livekit/protocol +## 1.24.0 + +### Minor Changes + +- Add disconnect reasons for SIP. - [#828](https://github.com/livekit/protocol/pull/828) ([@dennwc](https://github.com/dennwc)) + +### Patch Changes + +- Add missing SIP status attribute. - [#833](https://github.com/livekit/protocol/pull/833) ([@dennwc](https://github.com/dennwc)) + +- Validate SipCallTo in CreateSIPParticipantRequest. - [#823](https://github.com/livekit/protocol/pull/823) ([@dennwc](https://github.com/dennwc)) + ## 1.23.0 ### Patch Changes diff --git a/package.json b/package.json index 437181e7..657bf10e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "github.com/livekit/protocol", "private": true, - "version": "1.23.0", + "version": "1.24.0", "scripts": { "changeset": "changeset", "ci:publish": "pnpm --filter @livekit/protocol run build && changeset publish" diff --git a/packages/javascript/CHANGELOG.md b/packages/javascript/CHANGELOG.md index d7219251..439961f5 100644 --- a/packages/javascript/CHANGELOG.md +++ b/packages/javascript/CHANGELOG.md @@ -1,5 +1,15 @@ # @livekit/protocol +## 1.24.0 + +### Minor Changes + +- Add disconnect reasons for SIP. - [#828](https://github.com/livekit/protocol/pull/828) ([@dennwc](https://github.com/dennwc)) + +### Patch Changes + +- Expose metrics on javascript package - [#843](https://github.com/livekit/protocol/pull/843) ([@lukasIO](https://github.com/lukasIO)) + ## 1.23.0 ### Minor Changes diff --git a/packages/javascript/package.json b/packages/javascript/package.json index e628c110..01ffd25f 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -1,6 +1,6 @@ { "name": "@livekit/protocol", - "version": "1.23.0", + "version": "1.24.0", "description": "", "type": "module", "main": "src/index.js", From 9081e9623cd2b8b36b9837ade045f13f34ed0f62 Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Wed, 9 Oct 2024 16:45:27 -0700 Subject: [PATCH 07/11] fix guid append write offset (#846) --- utils/guid/id.go | 3 ++- utils/guid/id_test.go | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/utils/guid/id.go b/utils/guid/id.go index 2ffd852e..89da4e41 100644 --- a/utils/guid/id.go +++ b/utils/guid/id.go @@ -155,10 +155,11 @@ func Marshal[T livekit.Guid](id T) livekit.GuidBlock { } func MarshalAppend[T livekit.Guid](b []byte, id T) []byte { + off := len(b) b = append(b, make([]byte, Size*3/4)...) idb := []byte(id)[len(id)-Size:] for i := 0; i < 3; i++ { - j := i * 3 + j := i*3 + off k := i * 4 b[j] = b57Index[idb[k]]<<2 | b57Index[idb[k+1]]>>4 b[j+1] = b57Index[idb[k+1]]<<4 | b57Index[idb[k+2]]>>2 diff --git a/utils/guid/id_test.go b/utils/guid/id_test.go index d824524d..a03f46b4 100644 --- a/utils/guid/id_test.go +++ b/utils/guid/id_test.go @@ -31,6 +31,16 @@ func TestMarshalUnmarshal(t *testing.T) { require.EqualValues(t, b0, b1) } +func TestMarshalAppend(t *testing.T) { + id0 := livekit.RoomID(New(RoomPrefix)) + id1 := livekit.RoomID(New(RoomPrefix)) + var b []byte + b = MarshalAppend(b, id0) + b = MarshalAppend(b, id1) + require.Equal(t, id0, Unmarshal[livekit.RoomID](livekit.GuidBlock(b[0:]))) + require.Equal(t, id1, Unmarshal[livekit.RoomID](livekit.GuidBlock(b[9:]))) +} + func BenchmarkNew(b *testing.B) { b.Run("new", func(b *testing.B) { var guid string From 19b686d3128927e025eb9d5258c636cc0de3e790 Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Thu, 10 Oct 2024 21:57:50 +0300 Subject: [PATCH 08/11] Add ringing timeout and max call duration setting for SIP. (#844) * Add ringing timeout and max call duration setting for SIP. * generated protobuf --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/perfect-bats-share.md | 6 + livekit/livekit_sip.pb.go | 829 +++++++++++++++++-------------- livekit/livekit_sip.twirp.go | 235 ++++----- protobufs/livekit_sip.proto | 13 +- protobufs/rpc/io.proto | 9 +- protobufs/rpc/sip.proto | 8 +- rpc/io.pb.go | 237 +++++---- rpc/io.psrpc.go | 172 +++---- rpc/sip.go | 2 + rpc/sip.pb.go | 159 +++--- rpc/sip.psrpc.go | 100 ++-- sip/sip.go | 2 + 12 files changed, 973 insertions(+), 799 deletions(-) create mode 100644 .changeset/perfect-bats-share.md diff --git a/.changeset/perfect-bats-share.md b/.changeset/perfect-bats-share.md new file mode 100644 index 00000000..14cbb454 --- /dev/null +++ b/.changeset/perfect-bats-share.md @@ -0,0 +1,6 @@ +--- +"@livekit/protocol": minor +"github.com/livekit/protocol": minor +--- + +Add ringing timeout and max call duration setting for SIP. diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index d1335c28..f7d39b90 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -23,6 +23,7 @@ package livekit import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" @@ -511,6 +512,10 @@ type SIPInboundTrunkInfo struct { Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map SIP X-* headers from INVITE to SIP participant attributes. HeadersToAttributes map[string]string `protobuf:"bytes,10,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Max time for the caller to wait for track subscription. + RingingTimeout *durationpb.Duration `protobuf:"bytes,11,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"` + // Max call duration. + MaxCallDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` } func (x *SIPInboundTrunkInfo) Reset() { @@ -613,6 +618,20 @@ func (x *SIPInboundTrunkInfo) GetHeadersToAttributes() map[string]string { return nil } +func (x *SIPInboundTrunkInfo) GetRingingTimeout() *durationpb.Duration { + if x != nil { + return x.RingingTimeout + } + return nil +} + +func (x *SIPInboundTrunkInfo) GetMaxCallDuration() *durationpb.Duration { + if x != nil { + return x.MaxCallDuration + } + return nil +} + type CreateSIPOutboundTrunkRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1894,6 +1913,10 @@ type CreateSIPParticipantRequest struct { // By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. // If true, a random value for identity will be used and numbers will be omitted from attributes. HidePhoneNumber bool `protobuf:"varint,10,opt,name=hide_phone_number,json=hidePhoneNumber,proto3" json:"hide_phone_number,omitempty"` + // Max time for the callee to answer the call. + RingingTimeout *durationpb.Duration `protobuf:"bytes,11,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"` + // Max call duration. + MaxCallDuration *durationpb.Duration `protobuf:"bytes,12,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` } func (x *CreateSIPParticipantRequest) Reset() { @@ -1996,6 +2019,20 @@ func (x *CreateSIPParticipantRequest) GetHidePhoneNumber() bool { return false } +func (x *CreateSIPParticipantRequest) GetRingingTimeout() *durationpb.Duration { + if x != nil { + return x.RingingTimeout + } + return nil +} + +func (x *CreateSIPParticipantRequest) GetMaxCallDuration() *durationpb.Duration { + if x != nil { + return x.MaxCallDuration + } + return nil +} + type SIPParticipantInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2132,7 +2169,9 @@ var file_livekit_sip_proto_rawDesc = []byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, - 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, 0x03, 0x0a, 0x15, 0x43, 0x72, + 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, 0x03, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, @@ -2210,7 +2249,7 @@ var file_livekit_sip_proto_rawDesc = []byte{ 0x73, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x52, - 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x22, 0xd5, 0x04, 0x0a, 0x13, 0x53, 0x49, 0x50, 0x49, 0x6e, + 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x22, 0xe0, 0x05, 0x0a, 0x13, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 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, @@ -2239,346 +2278,363 @@ var file_livekit_sip_proto_rawDesc = []byte{ 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, - 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, - 0x61, 0x64, 0x65, 0x72, 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, 0x1a, 0x46, 0x0a, 0x18, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x73, 0x54, 0x6f, 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, 0x54, - 0x0a, 0x1d, 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, 0x12, - 0x33, 0x0a, 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 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, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x1a, 0x46, 0x0a, 0x18, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 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, 0x54, 0x0a, 0x1d, 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, 0x12, 0x33, 0x0a, 0x05, 0x74, 0x72, + 0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x52, 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x22, + 0xd1, 0x04, 0x0a, 0x14, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x54, + 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 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, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x75, 0x73, 0x65, 0x72, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x75, 0x74, 0x68, + 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, + 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x44, 0x0a, + 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 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, 0x2e, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x73, 0x12, 0x6a, 0x0a, 0x15, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, + 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x36, 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, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, + 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x1a, 0x46, 0x0a, 0x18, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 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, 0x3d, 0x0a, 0x19, 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, + 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, 0x22, 0x50, 0x0a, 0x1a, 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, 0x32, 0x0a, 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 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, 0x52, 0x05, 0x74, - 0x72, 0x75, 0x6e, 0x6b, 0x22, 0xd1, 0x04, 0x0a, 0x14, 0x53, 0x49, 0x50, 0x4f, 0x75, 0x74, 0x62, - 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 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, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0x12, 0x18, - 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x07, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, - 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x61, 0x75, 0x74, 0x68, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, - 0x0d, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, - 0x72, 0x64, 0x12, 0x44, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x09, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2a, 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, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x6a, 0x0a, 0x15, 0x68, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, - 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 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, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, - 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x13, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, - 0x1a, 0x46, 0x0a, 0x18, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 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, 0x3d, 0x0a, 0x19, 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, 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, 0x22, 0x50, 0x0a, 0x1a, 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, 0x32, 0x0a, 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x52, 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x22, 0x3e, 0x0a, 0x1a, 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, 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, 0x22, 0x52, 0x0a, 0x1b, 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, 0x33, 0x0a, 0x05, 0x74, 0x72, 0x75, 0x6e, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x52, 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x22, 0x19, 0x0a, - 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x47, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x2b, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, - 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x02, 0x18, - 0x01, 0x22, 0x1c, 0x0a, 0x1a, 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, 0x22, - 0x51, 0x0a, 0x1b, 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, 0x32, - 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x52, 0x05, 0x69, 0x74, 0x65, - 0x6d, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 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, 0x22, 0x53, 0x0a, 0x1c, 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, 0x33, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 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, 0x52, - 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x39, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 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, 0x22, 0x46, 0x0a, 0x15, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, - 0x52, 0x75, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, - 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, - 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x6e, 0x22, 0x4e, 0x0a, 0x19, 0x53, 0x49, 0x50, - 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x64, 0x69, - 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x70, - 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x6f, 0x6f, - 0x6d, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x6e, 0x22, 0x68, 0x0a, 0x15, 0x53, 0x49, 0x50, - 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x61, 0x6c, 0x6c, - 0x65, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, - 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x6f, 0x6f, 0x6d, 0x50, 0x72, 0x65, - 0x66, 0x69, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x70, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x69, - 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, - 0x69, 0x7a, 0x65, 0x22, 0xa1, 0x02, 0x0a, 0x0f, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, - 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x52, 0x0a, 0x14, 0x64, 0x69, 0x73, 0x70, 0x61, - 0x74, 0x63, 0x68, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x72, 0x75, 0x6e, 0x6b, 0x22, 0x3e, 0x0a, 0x1a, 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, 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, 0x22, 0x52, 0x0a, 0x1b, 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, 0x33, 0x0a, 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 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, 0x52, 0x05, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x22, 0x19, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, + 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x3a, + 0x02, 0x18, 0x01, 0x22, 0x47, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, + 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x69, + 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x1c, 0x0a, 0x1a, + 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, 0x22, 0x51, 0x0a, 0x1b, 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, 0x32, 0x0a, 0x05, 0x69, 0x74, 0x65, + 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x1d, 0x0a, + 0x1b, 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, 0x22, 0x53, 0x0a, 0x1c, + 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, 0x33, 0x0a, 0x05, + 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x22, 0x39, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x49, 0x50, 0x54, 0x72, + 0x75, 0x6e, 0x6b, 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, 0x22, 0x46, 0x0a, 0x15, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x44, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x12, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, - 0x68, 0x52, 0x75, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x5e, 0x0a, 0x18, 0x64, - 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x64, - 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x70, 0x69, 0x6e, 0x22, 0x4e, 0x0a, 0x19, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, - 0x6c, 0x48, 0x00, 0x52, 0x16, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, - 0x65, 0x49, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x12, 0x52, 0x0a, 0x14, 0x64, - 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x6c, - 0x6c, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, - 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, - 0x75, 0x6c, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x65, 0x48, 0x00, 0x52, 0x12, 0x64, 0x69, 0x73, - 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x65, 0x42, - 0x06, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x22, 0x84, 0x03, 0x0a, 0x1c, 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, 0x12, 0x2c, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, - 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x72, 0x75, 0x6e, 0x6b, - 0x49, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x68, 0x6f, 0x6e, - 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, - 0x68, 0x69, 0x64, 0x65, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, - 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, - 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x55, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, + 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x6f, 0x6f, 0x6d, 0x50, 0x72, 0x65, 0x66, + 0x69, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x70, 0x69, 0x6e, 0x22, 0x68, 0x0a, 0x15, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, + 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x72, 0x6f, 0x6f, 0x6d, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x10, + 0x0a, 0x03, 0x70, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x6e, + 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x22, 0xa1, + 0x02, 0x0a, 0x0f, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, + 0x6c, 0x65, 0x12, 0x52, 0x0a, 0x14, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, + 0x75, 0x6c, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, + 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x48, 0x00, 0x52, 0x12, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, + 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x5e, 0x0a, 0x18, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, + 0x63, 0x68, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, + 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 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, 0x64, 0x69, 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x16, + 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x64, 0x69, + 0x76, 0x69, 0x64, 0x75, 0x61, 0x6c, 0x12, 0x52, 0x0a, 0x14, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, + 0x63, 0x68, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, + 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x61, + 0x6c, 0x6c, 0x65, 0x65, 0x48, 0x00, 0x52, 0x12, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x75, 0x6c, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x72, 0x75, + 0x6c, 0x65, 0x22, 0x84, 0x03, 0x0a, 0x1c, 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, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, - 0x3d, 0x0a, 0x0f, 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, 0xa3, - 0x03, 0x0a, 0x13, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, - 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 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, 0x12, 0x2c, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x52, - 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x49, - 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, - 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x68, - 0x69, 0x64, 0x65, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, - 0x0a, 0x0f, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, - 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4c, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6c, 0x69, + 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x44, + 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x73, 0x12, 0x2a, + 0x0a, 0x11, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x68, 0x69, 0x64, 0x65, 0x50, + 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, + 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x55, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 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, 0x2e, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, + 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 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, 0xa3, 0x03, 0x0a, 0x13, 0x53, 0x49, + 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 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, 0x12, 0x2c, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, + 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x73, 0x12, 0x2a, 0x0a, + 0x11, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x68, 0x69, 0x64, 0x65, 0x50, 0x68, + 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x62, + 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x4c, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 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, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x1a, 0x3d, 0x0a, 0x0f, 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, + 0x1c, 0x0a, 0x1a, 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, 0x22, 0x51, 0x0a, + 0x1b, 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, 0x32, 0x0a, 0x05, + 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 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, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 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, 0x1c, 0x0a, 0x1a, 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, 0x22, 0x51, 0x0a, 0x1b, 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, 0x32, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 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, 0x52, 0x05, - 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x4f, 0x0a, 0x1c, 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, 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, 0xb4, 0x04, 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, + 0x68, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, + 0x22, 0x4f, 0x0a, 0x1c, 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, + 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, 0xbf, 0x05, 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, 0x23, 0x0a, + 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x69, 0x6e, 0x67, 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, 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, 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, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x74, - 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x52, - 0x69, 0x6e, 0x67, 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, 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, 0x90, 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, 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, 0x32, 0x88, 0x0a, 0x0a, 0x03, - 0x53, 0x49, 0x50, 0x12, 0x4c, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, - 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x43, 0x72, 0x65, 0x61, 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, 0x22, 0x03, 0x88, 0x02, - 0x01, 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, 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, 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, 0x53, 0x49, 0x50, 0x4f, + 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, 0x90, 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, 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, 0x32, 0x88, 0x0a, 0x0a, 0x03, 0x53, 0x49, 0x50, 0x12, 0x4c, 0x0a, 0x0e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x12, 0x1e, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 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, 0x22, 0x03, 0x88, 0x02, 0x01, 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, 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, 0x25, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, + 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, 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, + 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, 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, 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, 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, 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 ( @@ -2634,7 +2690,8 @@ var file_livekit_sip_proto_goTypes = []any{ nil, // 35: livekit.CreateSIPDispatchRuleRequest.AttributesEntry nil, // 36: livekit.SIPDispatchRuleInfo.AttributesEntry nil, // 37: livekit.CreateSIPParticipantRequest.ParticipantAttributesEntry - (*emptypb.Empty)(nil), // 38: google.protobuf.Empty + (*durationpb.Duration)(nil), // 38: google.protobuf.Duration + (*emptypb.Empty)(nil), // 39: google.protobuf.Empty } var file_livekit_sip_proto_depIdxs = []int32{ 1, // 0: livekit.SIPTrunkInfo.kind:type_name -> livekit.SIPTrunkInfo.TrunkKind @@ -2642,57 +2699,61 @@ var file_livekit_sip_proto_depIdxs = []int32{ 5, // 2: livekit.CreateSIPInboundTrunkRequest.trunk:type_name -> livekit.SIPInboundTrunkInfo 31, // 3: livekit.SIPInboundTrunkInfo.headers:type_name -> livekit.SIPInboundTrunkInfo.HeadersEntry 32, // 4: livekit.SIPInboundTrunkInfo.headers_to_attributes:type_name -> livekit.SIPInboundTrunkInfo.HeadersToAttributesEntry - 7, // 5: livekit.CreateSIPOutboundTrunkRequest.trunk:type_name -> livekit.SIPOutboundTrunkInfo - 0, // 6: livekit.SIPOutboundTrunkInfo.transport:type_name -> livekit.SIPTransport - 33, // 7: livekit.SIPOutboundTrunkInfo.headers:type_name -> livekit.SIPOutboundTrunkInfo.HeadersEntry - 34, // 8: livekit.SIPOutboundTrunkInfo.headers_to_attributes:type_name -> livekit.SIPOutboundTrunkInfo.HeadersToAttributesEntry - 5, // 9: livekit.GetSIPInboundTrunkResponse.trunk:type_name -> livekit.SIPInboundTrunkInfo - 7, // 10: livekit.GetSIPOutboundTrunkResponse.trunk:type_name -> livekit.SIPOutboundTrunkInfo - 3, // 11: livekit.ListSIPTrunkResponse.items:type_name -> livekit.SIPTrunkInfo - 5, // 12: livekit.ListSIPInboundTrunkResponse.items:type_name -> livekit.SIPInboundTrunkInfo - 7, // 13: livekit.ListSIPOutboundTrunkResponse.items:type_name -> livekit.SIPOutboundTrunkInfo - 19, // 14: livekit.SIPDispatchRule.dispatch_rule_direct:type_name -> livekit.SIPDispatchRuleDirect - 20, // 15: livekit.SIPDispatchRule.dispatch_rule_individual:type_name -> livekit.SIPDispatchRuleIndividual - 21, // 16: livekit.SIPDispatchRule.dispatch_rule_callee:type_name -> livekit.SIPDispatchRuleCallee - 22, // 17: livekit.CreateSIPDispatchRuleRequest.rule:type_name -> livekit.SIPDispatchRule - 35, // 18: livekit.CreateSIPDispatchRuleRequest.attributes:type_name -> livekit.CreateSIPDispatchRuleRequest.AttributesEntry - 22, // 19: livekit.SIPDispatchRuleInfo.rule:type_name -> livekit.SIPDispatchRule - 36, // 20: livekit.SIPDispatchRuleInfo.attributes:type_name -> livekit.SIPDispatchRuleInfo.AttributesEntry - 24, // 21: livekit.ListSIPDispatchRuleResponse.items:type_name -> livekit.SIPDispatchRuleInfo - 37, // 22: livekit.CreateSIPParticipantRequest.participant_attributes:type_name -> livekit.CreateSIPParticipantRequest.ParticipantAttributesEntry - 2, // 23: livekit.SIP.CreateSIPTrunk:input_type -> livekit.CreateSIPTrunkRequest - 12, // 24: livekit.SIP.ListSIPTrunk:input_type -> livekit.ListSIPTrunkRequest - 4, // 25: livekit.SIP.CreateSIPInboundTrunk:input_type -> livekit.CreateSIPInboundTrunkRequest - 6, // 26: livekit.SIP.CreateSIPOutboundTrunk:input_type -> livekit.CreateSIPOutboundTrunkRequest - 8, // 27: livekit.SIP.GetSIPInboundTrunk:input_type -> livekit.GetSIPInboundTrunkRequest - 10, // 28: livekit.SIP.GetSIPOutboundTrunk:input_type -> livekit.GetSIPOutboundTrunkRequest - 14, // 29: livekit.SIP.ListSIPInboundTrunk:input_type -> livekit.ListSIPInboundTrunkRequest - 16, // 30: livekit.SIP.ListSIPOutboundTrunk:input_type -> livekit.ListSIPOutboundTrunkRequest - 18, // 31: livekit.SIP.DeleteSIPTrunk:input_type -> livekit.DeleteSIPTrunkRequest - 23, // 32: livekit.SIP.CreateSIPDispatchRule:input_type -> livekit.CreateSIPDispatchRuleRequest - 25, // 33: livekit.SIP.ListSIPDispatchRule:input_type -> livekit.ListSIPDispatchRuleRequest - 27, // 34: livekit.SIP.DeleteSIPDispatchRule:input_type -> livekit.DeleteSIPDispatchRuleRequest - 28, // 35: livekit.SIP.CreateSIPParticipant:input_type -> livekit.CreateSIPParticipantRequest - 30, // 36: livekit.SIP.TransferSIPParticipant:input_type -> livekit.TransferSIPParticipantRequest - 3, // 37: livekit.SIP.CreateSIPTrunk:output_type -> livekit.SIPTrunkInfo - 13, // 38: livekit.SIP.ListSIPTrunk:output_type -> livekit.ListSIPTrunkResponse - 5, // 39: livekit.SIP.CreateSIPInboundTrunk:output_type -> livekit.SIPInboundTrunkInfo - 7, // 40: livekit.SIP.CreateSIPOutboundTrunk:output_type -> livekit.SIPOutboundTrunkInfo - 9, // 41: livekit.SIP.GetSIPInboundTrunk:output_type -> livekit.GetSIPInboundTrunkResponse - 11, // 42: livekit.SIP.GetSIPOutboundTrunk:output_type -> livekit.GetSIPOutboundTrunkResponse - 15, // 43: livekit.SIP.ListSIPInboundTrunk:output_type -> livekit.ListSIPInboundTrunkResponse - 17, // 44: livekit.SIP.ListSIPOutboundTrunk:output_type -> livekit.ListSIPOutboundTrunkResponse - 3, // 45: livekit.SIP.DeleteSIPTrunk:output_type -> livekit.SIPTrunkInfo - 24, // 46: livekit.SIP.CreateSIPDispatchRule:output_type -> livekit.SIPDispatchRuleInfo - 26, // 47: livekit.SIP.ListSIPDispatchRule:output_type -> livekit.ListSIPDispatchRuleResponse - 24, // 48: livekit.SIP.DeleteSIPDispatchRule:output_type -> livekit.SIPDispatchRuleInfo - 29, // 49: livekit.SIP.CreateSIPParticipant:output_type -> livekit.SIPParticipantInfo - 38, // 50: livekit.SIP.TransferSIPParticipant:output_type -> google.protobuf.Empty - 37, // [37:51] is the sub-list for method output_type - 23, // [23:37] is the sub-list for method input_type - 23, // [23:23] is the sub-list for extension type_name - 23, // [23:23] is the sub-list for extension extendee - 0, // [0:23] is the sub-list for field type_name + 38, // 5: livekit.SIPInboundTrunkInfo.ringing_timeout:type_name -> google.protobuf.Duration + 38, // 6: livekit.SIPInboundTrunkInfo.max_call_duration:type_name -> google.protobuf.Duration + 7, // 7: livekit.CreateSIPOutboundTrunkRequest.trunk:type_name -> livekit.SIPOutboundTrunkInfo + 0, // 8: livekit.SIPOutboundTrunkInfo.transport:type_name -> livekit.SIPTransport + 33, // 9: livekit.SIPOutboundTrunkInfo.headers:type_name -> livekit.SIPOutboundTrunkInfo.HeadersEntry + 34, // 10: livekit.SIPOutboundTrunkInfo.headers_to_attributes:type_name -> livekit.SIPOutboundTrunkInfo.HeadersToAttributesEntry + 5, // 11: livekit.GetSIPInboundTrunkResponse.trunk:type_name -> livekit.SIPInboundTrunkInfo + 7, // 12: livekit.GetSIPOutboundTrunkResponse.trunk:type_name -> livekit.SIPOutboundTrunkInfo + 3, // 13: livekit.ListSIPTrunkResponse.items:type_name -> livekit.SIPTrunkInfo + 5, // 14: livekit.ListSIPInboundTrunkResponse.items:type_name -> livekit.SIPInboundTrunkInfo + 7, // 15: livekit.ListSIPOutboundTrunkResponse.items:type_name -> livekit.SIPOutboundTrunkInfo + 19, // 16: livekit.SIPDispatchRule.dispatch_rule_direct:type_name -> livekit.SIPDispatchRuleDirect + 20, // 17: livekit.SIPDispatchRule.dispatch_rule_individual:type_name -> livekit.SIPDispatchRuleIndividual + 21, // 18: livekit.SIPDispatchRule.dispatch_rule_callee:type_name -> livekit.SIPDispatchRuleCallee + 22, // 19: livekit.CreateSIPDispatchRuleRequest.rule:type_name -> livekit.SIPDispatchRule + 35, // 20: livekit.CreateSIPDispatchRuleRequest.attributes:type_name -> livekit.CreateSIPDispatchRuleRequest.AttributesEntry + 22, // 21: livekit.SIPDispatchRuleInfo.rule:type_name -> livekit.SIPDispatchRule + 36, // 22: livekit.SIPDispatchRuleInfo.attributes:type_name -> livekit.SIPDispatchRuleInfo.AttributesEntry + 24, // 23: livekit.ListSIPDispatchRuleResponse.items:type_name -> livekit.SIPDispatchRuleInfo + 37, // 24: livekit.CreateSIPParticipantRequest.participant_attributes:type_name -> livekit.CreateSIPParticipantRequest.ParticipantAttributesEntry + 38, // 25: livekit.CreateSIPParticipantRequest.ringing_timeout:type_name -> google.protobuf.Duration + 38, // 26: livekit.CreateSIPParticipantRequest.max_call_duration:type_name -> google.protobuf.Duration + 2, // 27: livekit.SIP.CreateSIPTrunk:input_type -> livekit.CreateSIPTrunkRequest + 12, // 28: livekit.SIP.ListSIPTrunk:input_type -> livekit.ListSIPTrunkRequest + 4, // 29: livekit.SIP.CreateSIPInboundTrunk:input_type -> livekit.CreateSIPInboundTrunkRequest + 6, // 30: livekit.SIP.CreateSIPOutboundTrunk:input_type -> livekit.CreateSIPOutboundTrunkRequest + 8, // 31: livekit.SIP.GetSIPInboundTrunk:input_type -> livekit.GetSIPInboundTrunkRequest + 10, // 32: livekit.SIP.GetSIPOutboundTrunk:input_type -> livekit.GetSIPOutboundTrunkRequest + 14, // 33: livekit.SIP.ListSIPInboundTrunk:input_type -> livekit.ListSIPInboundTrunkRequest + 16, // 34: livekit.SIP.ListSIPOutboundTrunk:input_type -> livekit.ListSIPOutboundTrunkRequest + 18, // 35: livekit.SIP.DeleteSIPTrunk:input_type -> livekit.DeleteSIPTrunkRequest + 23, // 36: livekit.SIP.CreateSIPDispatchRule:input_type -> livekit.CreateSIPDispatchRuleRequest + 25, // 37: livekit.SIP.ListSIPDispatchRule:input_type -> livekit.ListSIPDispatchRuleRequest + 27, // 38: livekit.SIP.DeleteSIPDispatchRule:input_type -> livekit.DeleteSIPDispatchRuleRequest + 28, // 39: livekit.SIP.CreateSIPParticipant:input_type -> livekit.CreateSIPParticipantRequest + 30, // 40: livekit.SIP.TransferSIPParticipant:input_type -> livekit.TransferSIPParticipantRequest + 3, // 41: livekit.SIP.CreateSIPTrunk:output_type -> livekit.SIPTrunkInfo + 13, // 42: livekit.SIP.ListSIPTrunk:output_type -> livekit.ListSIPTrunkResponse + 5, // 43: livekit.SIP.CreateSIPInboundTrunk:output_type -> livekit.SIPInboundTrunkInfo + 7, // 44: livekit.SIP.CreateSIPOutboundTrunk:output_type -> livekit.SIPOutboundTrunkInfo + 9, // 45: livekit.SIP.GetSIPInboundTrunk:output_type -> livekit.GetSIPInboundTrunkResponse + 11, // 46: livekit.SIP.GetSIPOutboundTrunk:output_type -> livekit.GetSIPOutboundTrunkResponse + 15, // 47: livekit.SIP.ListSIPInboundTrunk:output_type -> livekit.ListSIPInboundTrunkResponse + 17, // 48: livekit.SIP.ListSIPOutboundTrunk:output_type -> livekit.ListSIPOutboundTrunkResponse + 3, // 49: livekit.SIP.DeleteSIPTrunk:output_type -> livekit.SIPTrunkInfo + 24, // 50: livekit.SIP.CreateSIPDispatchRule:output_type -> livekit.SIPDispatchRuleInfo + 26, // 51: livekit.SIP.ListSIPDispatchRule:output_type -> livekit.ListSIPDispatchRuleResponse + 24, // 52: livekit.SIP.DeleteSIPDispatchRule:output_type -> livekit.SIPDispatchRuleInfo + 29, // 53: livekit.SIP.CreateSIPParticipant:output_type -> livekit.SIPParticipantInfo + 39, // 54: livekit.SIP.TransferSIPParticipant:output_type -> google.protobuf.Empty + 41, // [41:55] is the sub-list for method output_type + 27, // [27:41] is the sub-list for method input_type + 27, // [27:27] is the sub-list for extension type_name + 27, // [27:27] is the sub-list for extension extendee + 0, // [0:27] is the sub-list for field type_name } func init() { file_livekit_sip_proto_init() } diff --git a/livekit/livekit_sip.twirp.go b/livekit/livekit_sip.twirp.go index 09f707ca..2db8f7ea 100644 --- a/livekit/livekit_sip.twirp.go +++ b/livekit/livekit_sip.twirp.go @@ -4146,119 +4146,124 @@ func (s *sIPServer) PathPrefix() string { } var twirpFileDescriptor4 = []byte{ - // 1817 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x4f, 0x6f, 0xdb, 0xc8, - 0x15, 0x8f, 0xfe, 0xd9, 0xd2, 0x93, 0x2d, 0xcb, 0xe3, 0x3f, 0x60, 0x68, 0x3b, 0x09, 0x98, 0x4d, - 0x37, 0x9b, 0x5d, 0x28, 0xa8, 0x83, 0x2e, 0x5a, 0x03, 0xdb, 0xc2, 0xb1, 0x93, 0x58, 0x88, 0x6b, - 0xab, 0xb4, 0x0c, 0x74, 0x8b, 0x6d, 0x59, 0xda, 0x1c, 0xdb, 0x53, 0x4b, 0x24, 0x4b, 0x8e, 0xbc, - 0xeb, 0x9e, 0x7b, 0xd8, 0x63, 0xbf, 0x42, 0x51, 0xa0, 0x87, 0xf6, 0xda, 0x2f, 0xd2, 0x43, 0x8f, - 0xfd, 0x02, 0xfd, 0x14, 0x05, 0x87, 0x33, 0xd4, 0x90, 0x1c, 0xd2, 0x72, 0xda, 0x3d, 0xec, 0x8d, - 0x7c, 0xef, 0xcd, 0x9b, 0xc7, 0xf7, 0x7e, 0xef, 0x9f, 0x04, 0xcb, 0x23, 0x72, 0x83, 0xaf, 0x09, - 0xb5, 0x42, 0xe2, 0xf7, 0xfc, 0xc0, 0xa3, 0x1e, 0x9a, 0xe7, 0x24, 0x7d, 0xe3, 0xd2, 0xf3, 0x2e, - 0x47, 0xf8, 0x25, 0x23, 0x9f, 0x4d, 0x2e, 0x5e, 0xe2, 0xb1, 0x4f, 0x6f, 0x63, 0x29, 0xe3, 0xdf, - 0x35, 0x58, 0xdb, 0x0b, 0xb0, 0x4d, 0xf1, 0x49, 0x7f, 0x30, 0x0c, 0x26, 0xee, 0xb5, 0x89, 0x7f, - 0x3f, 0xc1, 0x21, 0x45, 0x9f, 0xc2, 0x32, 0x71, 0xcf, 0xbc, 0x89, 0xeb, 0x58, 0xb6, 0xe3, 0x04, - 0x38, 0x0c, 0x71, 0xa8, 0x55, 0x9e, 0xd4, 0x9e, 0xb7, 0xcc, 0x2e, 0x67, 0xec, 0x0a, 0x3a, 0xfa, - 0x04, 0xba, 0xde, 0x84, 0xa6, 0xa4, 0xb5, 0xea, 0x93, 0xca, 0xf3, 0x96, 0xb9, 0x24, 0xe8, 0x5c, - 0x18, 0x7d, 0x0c, 0x09, 0xc9, 0x72, 0x27, 0xe3, 0x33, 0x1c, 0x68, 0x35, 0x26, 0xd9, 0x11, 0xe4, - 0x23, 0x46, 0x45, 0x9f, 0xc3, 0x9a, 0x30, 0x20, 0x96, 0x0b, 0xad, 0x00, 0x5f, 0xe2, 0x6f, 0xb4, - 0x7a, 0x64, 0xc4, 0xeb, 0xaa, 0x56, 0x31, 0x57, 0xb8, 0x40, 0x7c, 0x22, 0x34, 0x23, 0x76, 0x74, - 0x41, 0xe6, 0x9c, 0xd6, 0x62, 0x66, 0x77, 0xd2, 0xd2, 0x91, 0xd1, 0x42, 0x70, 0x12, 0xe2, 0xc0, - 0xb5, 0xc7, 0x58, 0x6b, 0xc4, 0x46, 0x73, 0xfa, 0x29, 0x27, 0xcb, 0xa2, 0xbe, 0x1d, 0x86, 0x5f, - 0x7b, 0x81, 0xa3, 0xcd, 0xa5, 0x44, 0x07, 0x9c, 0x1c, 0xf9, 0x2d, 0xf9, 0xbe, 0x44, 0xed, 0x3c, - 0x93, 0x4d, 0x7c, 0x94, 0xe8, 0x95, 0x85, 0x13, 0xc5, 0xcd, 0xb4, 0x70, 0xa2, 0x19, 0x41, 0x9d, - 0x29, 0x03, 0xc6, 0x67, 0xcf, 0x48, 0x87, 0xe6, 0x18, 0x53, 0xdb, 0xb1, 0xa9, 0xad, 0xb5, 0x19, - 0x3d, 0x79, 0xdf, 0xa9, 0x6a, 0x15, 0xe3, 0xaf, 0x0d, 0x58, 0x10, 0x91, 0xed, 0xbb, 0x17, 0x1e, - 0x7a, 0x02, 0x0b, 0x21, 0xf1, 0x2d, 0x1a, 0x11, 0x2c, 0xe2, 0x68, 0x15, 0x76, 0x08, 0x42, 0xe2, - 0xc7, 0x32, 0x0e, 0x7a, 0x05, 0xf5, 0x6b, 0xe2, 0x3a, 0x5a, 0xe7, 0x49, 0xe5, 0x79, 0x67, 0xfb, - 0x71, 0x8f, 0xe3, 0xa8, 0x27, 0xab, 0xe9, 0xb1, 0xa7, 0xf7, 0xc4, 0x75, 0x4c, 0x26, 0xac, 0x46, - 0x4b, 0xf5, 0x1e, 0x68, 0xa9, 0xcd, 0x8c, 0x96, 0xba, 0x12, 0x2d, 0xaf, 0xa0, 0x45, 0x03, 0xdb, - 0x0d, 0x7d, 0x2f, 0xa0, 0xda, 0x22, 0x33, 0x7d, 0x2d, 0x6d, 0x3a, 0x67, 0x9a, 0x53, 0xb9, 0x62, - 0x88, 0x35, 0xee, 0x0d, 0x31, 0x98, 0x19, 0x62, 0x73, 0xb3, 0x43, 0x6c, 0xfe, 0x1e, 0x10, 0x6b, - 0xde, 0x07, 0x62, 0xad, 0x3b, 0x20, 0xd6, 0x2e, 0x80, 0xd8, 0x42, 0x1a, 0x62, 0xc6, 0x3e, 0xb4, - 0x12, 0x24, 0xa0, 0x2e, 0x2c, 0x0c, 0xcd, 0xd3, 0xa3, 0xf7, 0xd6, 0xe1, 0x9b, 0x77, 0xbb, 0x7b, - 0x5f, 0x76, 0x1f, 0xa0, 0x65, 0x58, 0x8c, 0x29, 0xfd, 0xa3, 0xd7, 0xc7, 0xa7, 0x47, 0xfb, 0xdd, - 0x0a, 0x42, 0xd0, 0x89, 0x49, 0xc7, 0xa7, 0xc3, 0x98, 0x56, 0x65, 0x40, 0x35, 0x61, 0x33, 0xa9, - 0x43, 0xfd, 0xf8, 0x7b, 0x53, 0xe5, 0x68, 0x1b, 0x1a, 0x0c, 0xb3, 0x0c, 0xb0, 0xed, 0xed, 0x4d, - 0x39, 0xb6, 0xb2, 0x7c, 0x84, 0x4e, 0x33, 0x16, 0x35, 0xfe, 0x55, 0x87, 0x15, 0x05, 0x7b, 0x86, - 0x1c, 0x10, 0x7e, 0xa8, 0x16, 0xf8, 0xa1, 0x96, 0xf6, 0x03, 0xd2, 0x60, 0x5e, 0x00, 0x81, 0x55, - 0x27, 0x53, 0xbc, 0x46, 0xee, 0xb7, 0x47, 0x23, 0xef, 0x6b, 0x2c, 0x27, 0x46, 0x23, 0x4e, 0x0c, - 0xce, 0x98, 0x26, 0xc6, 0xc7, 0xb0, 0x24, 0x84, 0x85, 0xba, 0xb9, 0x18, 0x57, 0x9c, 0x2c, 0x70, - 0xf5, 0x14, 0x16, 0xed, 0x09, 0xbd, 0xca, 0x16, 0x98, 0x85, 0x88, 0x98, 0x44, 0x5e, 0x08, 0x65, - 0x0a, 0x0b, 0x13, 0x4a, 0x22, 0xbe, 0x07, 0xf3, 0x57, 0xd8, 0x76, 0x44, 0x95, 0x6c, 0x6f, 0x7f, - 0x52, 0xe6, 0xd9, 0xde, 0x41, 0x2c, 0xfb, 0xc6, 0xa5, 0xc1, 0xad, 0x29, 0x4e, 0x22, 0x02, 0x6b, - 0xfc, 0xd1, 0xa2, 0x9e, 0x65, 0x53, 0x1a, 0x90, 0xb3, 0x09, 0xc5, 0x71, 0x56, 0xb4, 0xb7, 0x7f, - 0x34, 0x8b, 0xca, 0xa1, 0xb7, 0x9b, 0x9c, 0x8b, 0xd5, 0xaf, 0x5c, 0xe5, 0x39, 0xfa, 0x0e, 0x2c, - 0xc8, 0x36, 0xa0, 0x2e, 0xd4, 0xae, 0xf1, 0x2d, 0x0f, 0x61, 0xf4, 0x88, 0x56, 0xa1, 0x71, 0x63, - 0x8f, 0x26, 0x22, 0x78, 0xf1, 0xcb, 0x4e, 0xf5, 0xc7, 0x15, 0xfd, 0x2d, 0x68, 0x45, 0x97, 0xdd, - 0x47, 0x8f, 0x31, 0x84, 0xad, 0x04, 0xab, 0xc7, 0x3c, 0x85, 0x52, 0x60, 0x7d, 0x95, 0x06, 0xeb, - 0x96, 0xfc, 0xfd, 0xa9, 0x03, 0x32, 0x5a, 0xff, 0x59, 0x87, 0x55, 0x15, 0xff, 0xbb, 0x81, 0xab, - 0xa8, 0xbb, 0x71, 0x35, 0x15, 0xaf, 0xe9, 0x32, 0xda, 0x98, 0xb1, 0x8c, 0x4a, 0xe8, 0x9f, 0x4b, - 0xa3, 0xff, 0xff, 0x87, 0xd3, 0xfd, 0x2c, 0x4e, 0x5f, 0x94, 0x3a, 0xb5, 0x00, 0xa8, 0xbf, 0x2b, - 0x07, 0xea, 0xe7, 0x33, 0xe9, 0xfc, 0x1e, 0x21, 0xf5, 0x0b, 0x78, 0xf8, 0x0e, 0xd3, 0x82, 0x92, - 0x7a, 0x27, 0xae, 0x8c, 0x01, 0xe8, 0xaa, 0xe3, 0xa1, 0xef, 0xb9, 0x21, 0xfe, 0xa0, 0x92, 0xfc, - 0x53, 0xa1, 0x51, 0x99, 0x37, 0x77, 0x5b, 0x64, 0xc2, 0x86, 0xf2, 0x3c, 0x37, 0xe9, 0x83, 0x12, - 0xef, 0x21, 0xac, 0x1c, 0x92, 0x90, 0x66, 0x06, 0x60, 0xd6, 0x95, 0xde, 0xc1, 0x6a, 0x9a, 0xc5, - 0xef, 0xf9, 0x14, 0x1a, 0x84, 0xe2, 0x71, 0x3c, 0x10, 0xb7, 0xb3, 0x29, 0x92, 0xe8, 0x67, 0x32, - 0x4c, 0xd1, 0x26, 0xe8, 0x5c, 0x91, 0x22, 0x12, 0xc6, 0x2f, 0x60, 0x43, 0xc9, 0x9d, 0x3a, 0x5a, - 0xbe, 0xed, 0x0e, 0x47, 0x33, 0x51, 0x63, 0x2b, 0x51, 0xa9, 0xf2, 0xb4, 0x71, 0x02, 0x9b, 0x6a, - 0xf6, 0xd4, 0x91, 0xf2, 0x95, 0x77, 0x39, 0x32, 0xbe, 0xf3, 0x27, 0xb0, 0xb6, 0x8f, 0x47, 0x38, - 0xbf, 0x4b, 0xdc, 0x1d, 0xd7, 0xb7, 0xb0, 0x76, 0xd2, 0x1f, 0xec, 0x93, 0xd0, 0xb7, 0xe9, 0xf9, - 0x95, 0x39, 0x19, 0xe1, 0x7d, 0x12, 0xe0, 0x73, 0x8a, 0x36, 0xa0, 0x15, 0x78, 0xde, 0xd8, 0x62, - 0xd5, 0x23, 0x3e, 0xd7, 0x8c, 0x08, 0x47, 0x51, 0xe5, 0xe8, 0x42, 0xcd, 0x27, 0x2e, 0x87, 0x7d, - 0xf4, 0x68, 0x1c, 0xc1, 0xc3, 0x8c, 0x9e, 0xbe, 0xeb, 0x90, 0x1b, 0xe2, 0x4c, 0xec, 0x11, 0x7a, - 0x0c, 0x6d, 0xa6, 0xcb, 0x0f, 0xf0, 0x05, 0xf9, 0x46, 0x58, 0x11, 0x91, 0x06, 0x8c, 0xa2, 0xd0, - 0x77, 0x95, 0xb3, 0x6b, 0xcf, 0x1e, 0x8d, 0x30, 0xfe, 0x00, 0x5d, 0x68, 0x13, 0x5a, 0x81, 0xed, - 0x3a, 0xde, 0x98, 0xfc, 0x01, 0xb3, 0x92, 0xdc, 0x34, 0xa7, 0x04, 0xe3, 0xcf, 0x55, 0x58, 0xca, - 0x5c, 0x85, 0x4c, 0x58, 0x75, 0xf8, 0xbb, 0x15, 0x4c, 0x46, 0xd8, 0x72, 0x98, 0x53, 0x38, 0xba, - 0x1f, 0xc9, 0x41, 0xc9, 0xbb, 0xee, 0xe0, 0x81, 0x89, 0x9c, 0xbc, 0x43, 0x7f, 0x03, 0x5a, 0x5a, - 0x27, 0x49, 0x1c, 0xc4, 0x8c, 0x6d, 0x6f, 0x1b, 0x45, 0x7a, 0xa7, 0xae, 0x3c, 0x78, 0x60, 0xae, - 0x3b, 0x6a, 0x27, 0xe7, 0x6c, 0x3e, 0x67, 0x0e, 0x63, 0x1f, 0x5c, 0x62, 0x73, 0xec, 0xd6, 0xac, - 0xcd, 0x31, 0xf5, 0xf5, 0x1c, 0xd4, 0x23, 0x55, 0xc6, 0x1f, 0x6b, 0xd2, 0x94, 0x28, 0x9f, 0x16, - 0x40, 0xfb, 0x2c, 0x16, 0xe4, 0x0e, 0xd2, 0x8a, 0x2e, 0x33, 0x99, 0x54, 0x84, 0x2d, 0x01, 0x49, - 0xb1, 0xac, 0x34, 0x69, 0x0c, 0xc8, 0x10, 0xbd, 0x80, 0xe5, 0x2b, 0xe2, 0x60, 0xcb, 0xbf, 0xf2, - 0x5c, 0x2c, 0x6f, 0xaa, 0x4d, 0x73, 0x29, 0x62, 0x0c, 0x22, 0x3a, 0x5f, 0x3e, 0x14, 0xfb, 0xc0, - 0x9c, 0x72, 0x1f, 0x10, 0x8d, 0xba, 0x5e, 0xd0, 0xa8, 0x1b, 0x99, 0x46, 0x7d, 0x0a, 0x20, 0x35, - 0xa9, 0xf9, 0xcc, 0x34, 0x55, 0xe6, 0x8a, 0x5e, 0xb6, 0x47, 0x49, 0x8a, 0xf4, 0x2f, 0x60, 0xe9, - 0x7f, 0xe9, 0x2a, 0x7f, 0xa9, 0xb1, 0xb9, 0x3a, 0x0d, 0x8d, 0x0b, 0x0f, 0xbd, 0x84, 0xd5, 0x28, - 0xcd, 0x33, 0xf0, 0x12, 0xe9, 0xbe, 0x1c, 0x12, 0x3f, 0x75, 0xc4, 0x49, 0xc2, 0x55, 0xbd, 0x7f, - 0xb8, 0x6a, 0xb3, 0x84, 0xab, 0x3e, 0x73, 0xb8, 0xe6, 0x4b, 0xc3, 0xd5, 0x28, 0x08, 0xd7, 0x5c, - 0x26, 0x5c, 0x87, 0xa9, 0x70, 0x35, 0x59, 0xb8, 0x3e, 0x2b, 0xce, 0xa6, 0x0b, 0xef, 0xbb, 0x8c, - 0xd2, 0xb4, 0xe5, 0x28, 0xe0, 0x21, 0xb5, 0x9c, 0x34, 0x77, 0x86, 0x96, 0x93, 0xfd, 0x08, 0x51, - 0xfe, 0x8f, 0x61, 0x33, 0x29, 0xff, 0xaa, 0xe4, 0xbc, 0x2f, 0x3c, 0x8c, 0x7f, 0xd4, 0x61, 0x23, - 0xc1, 0xf8, 0xc0, 0x0e, 0x28, 0x39, 0x27, 0xbe, 0xed, 0xd2, 0x99, 0xdb, 0x0a, 0x7a, 0x04, 0xed, - 0x48, 0x22, 0x2a, 0x41, 0x16, 0xf5, 0xb8, 0x8f, 0x5a, 0x21, 0xf1, 0xa3, 0xc2, 0x32, 0xf4, 0xd2, - 0xdd, 0xa5, 0x96, 0xe9, 0x2e, 0x3f, 0x84, 0x55, 0x7f, 0x7a, 0xa9, 0x45, 0x1c, 0xec, 0x52, 0x42, - 0x6f, 0x79, 0xf2, 0xae, 0x48, 0xbc, 0x3e, 0x67, 0x45, 0x4b, 0xbc, 0x7c, 0x44, 0x1a, 0x79, 0x97, - 0x24, 0xba, 0x4a, 0x7b, 0x82, 0xa9, 0x66, 0x4e, 0xfb, 0xcf, 0x05, 0xbc, 0x6e, 0x60, 0x5d, 0x3e, - 0x22, 0x41, 0x2d, 0x1e, 0x89, 0x7f, 0x96, 0xaf, 0x0c, 0x79, 0xaf, 0xf5, 0x24, 0x52, 0x16, 0x7d, - 0x6b, 0xbe, 0x8a, 0x17, 0xa5, 0x81, 0x43, 0xc7, 0x17, 0x22, 0x0d, 0xa2, 0xe7, 0x68, 0x68, 0xf7, - 0x47, 0xf6, 0xad, 0x15, 0x10, 0xf7, 0x92, 0x7a, 0x6e, 0xfc, 0xb3, 0x46, 0xd3, 0x5c, 0x88, 0x88, - 0x26, 0xa7, 0xa9, 0x93, 0x12, 0x94, 0x49, 0xa9, 0x1f, 0x80, 0x5e, 0x6c, 0xd9, 0xbd, 0x80, 0xff, - 0xf7, 0x0a, 0xa0, 0xf4, 0xa7, 0xb3, 0xea, 0xf4, 0x0c, 0x3a, 0xe9, 0x70, 0x72, 0x6d, 0x8b, 0xa9, - 0x40, 0x16, 0x46, 0xbd, 0x5a, 0x1c, 0xf5, 0x52, 0x14, 0xc9, 0x10, 0x24, 0x0e, 0x07, 0x8f, 0x80, - 0x60, 0xdf, 0x31, 0xfe, 0x54, 0x81, 0x2d, 0xb6, 0x55, 0x5d, 0xe0, 0x40, 0x0d, 0xf3, 0x22, 0x8b, - 0x2a, 0x33, 0x5a, 0x54, 0xcd, 0x58, 0xf4, 0x18, 0xda, 0x94, 0x5f, 0x18, 0x25, 0x45, 0x6c, 0x30, - 0x08, 0xd2, 0xd0, 0x7b, 0x71, 0xcd, 0x7f, 0x33, 0x14, 0xfb, 0xdd, 0x3a, 0xf3, 0xa7, 0x35, 0x34, - 0x77, 0x8f, 0x4e, 0x06, 0xc7, 0xe6, 0xd0, 0xda, 0x3d, 0x1d, 0x1e, 0x77, 0x1f, 0xa0, 0x35, 0x58, - 0x4e, 0xd3, 0x4f, 0xf7, 0x07, 0xdd, 0x4a, 0x9e, 0x3c, 0xdc, 0x1b, 0x74, 0xab, 0x0a, 0xf2, 0xe1, - 0x49, 0xb7, 0xb6, 0xfd, 0x2d, 0x40, 0xed, 0xa4, 0x3f, 0x40, 0x87, 0xd0, 0x49, 0xff, 0x10, 0x8d, - 0x1e, 0xe5, 0xe1, 0x2c, 0x4f, 0x95, 0xba, 0x7a, 0xea, 0x36, 0x6a, 0xdf, 0x56, 0x2b, 0x68, 0x00, - 0x0b, 0xf2, 0xe0, 0x8e, 0xa6, 0x05, 0x4c, 0x31, 0xea, 0xeb, 0x5b, 0x05, 0xdc, 0xb8, 0x18, 0xc6, - 0x1a, 0xbf, 0x92, 0x7e, 0x28, 0x97, 0x87, 0x6e, 0xf4, 0x2c, 0x6f, 0xa6, 0x62, 0xc6, 0xd7, 0x4b, - 0xa7, 0x76, 0x64, 0xc1, 0xba, 0xfa, 0x27, 0x05, 0xf4, 0x83, 0xbc, 0x7a, 0xd5, 0x44, 0xaf, 0x97, - 0x8f, 0xe8, 0xe8, 0xd7, 0x80, 0xf2, 0xab, 0x1c, 0x9a, 0x8e, 0x7a, 0x85, 0x6b, 0xa2, 0xfe, 0xb4, - 0x54, 0x86, 0xf7, 0x8b, 0xdf, 0xc2, 0x8a, 0x62, 0x2f, 0x43, 0xd9, 0xb3, 0x4a, 0xcb, 0x3f, 0x2a, - 0x17, 0x9a, 0xde, 0xa0, 0xd8, 0x91, 0xa4, 0x1b, 0x8a, 0xf7, 0x2b, 0xe9, 0x86, 0xb2, 0x35, 0xeb, - 0x3c, 0x59, 0xf6, 0xd2, 0x1f, 0x91, 0x3b, 0xad, 0xfc, 0x8a, 0x67, 0x77, 0x48, 0xf1, 0x4b, 0xde, - 0x41, 0x27, 0xbd, 0x23, 0x49, 0x30, 0x57, 0x2e, 0x4f, 0x05, 0x30, 0x4f, 0xe1, 0x31, 0xb5, 0x34, - 0x3c, 0x9b, 0x69, 0x3e, 0xd4, 0x4b, 0x5b, 0xba, 0xe4, 0xed, 0x94, 0xee, 0x9c, 0xb7, 0x55, 0x9a, - 0x3f, 0x2a, 0x17, 0xe2, 0x8e, 0xf8, 0x4a, 0x5a, 0x16, 0x0b, 0xec, 0x2f, 0x9b, 0x26, 0xee, 0xb0, - 0xff, 0x4b, 0x58, 0x55, 0xf5, 0x40, 0x29, 0x96, 0x25, 0x2d, 0x52, 0xdf, 0x90, 0x75, 0x67, 0xfb, - 0xc8, 0x2f, 0x61, 0x5d, 0x5d, 0xaf, 0xa5, 0x54, 0x2d, 0x2d, 0xe8, 0xfa, 0x7a, 0x2f, 0xfe, 0x4b, - 0xae, 0x27, 0xfe, 0x92, 0xeb, 0xbd, 0x19, 0xfb, 0xf4, 0xf6, 0xf5, 0xdb, 0x5f, 0x3d, 0xbd, 0x24, - 0xf4, 0x6a, 0x72, 0xd6, 0x3b, 0xf7, 0xc6, 0x2f, 0xb9, 0xae, 0xf8, 0x7f, 0xbb, 0x73, 0x6f, 0x24, - 0x08, 0x7f, 0xab, 0x2e, 0x1e, 0x92, 0x1b, 0xfc, 0x9e, 0xd0, 0xde, 0x20, 0x62, 0xfd, 0xa7, 0xda, - 0xe1, 0xef, 0x3b, 0x3b, 0x8c, 0x70, 0x36, 0xc7, 0x8e, 0xbc, 0xfa, 0x6f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xaf, 0xde, 0x73, 0x69, 0x16, 0x1c, 0x00, 0x00, + // 1889 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xdd, 0x6e, 0xdb, 0xc8, + 0x15, 0x8e, 0x24, 0xcb, 0x96, 0x8e, 0x6c, 0x59, 0x1e, 0xff, 0x40, 0xa1, 0xed, 0x24, 0x50, 0x36, + 0xdd, 0x24, 0xbb, 0x50, 0x50, 0x07, 0x5d, 0xb4, 0x06, 0xb6, 0x85, 0x7f, 0xf2, 0x23, 0xc4, 0xb5, + 0x55, 0x5a, 0x06, 0xba, 0xc5, 0xb6, 0x2c, 0x6d, 0x8e, 0xed, 0xa9, 0x25, 0x92, 0x25, 0x47, 0x5e, + 0xbb, 0xd7, 0xbd, 0xd8, 0xcb, 0xbe, 0x42, 0x51, 0xa0, 0x17, 0xed, 0x43, 0xf4, 0x19, 0xfa, 0x00, + 0x05, 0x7a, 0xdd, 0xa7, 0x28, 0x38, 0x3f, 0xd4, 0x90, 0x1c, 0xd2, 0x72, 0xda, 0x05, 0xf6, 0x8e, + 0x3c, 0x7f, 0x73, 0x78, 0xce, 0x77, 0xce, 0x99, 0x23, 0xc1, 0xd2, 0x90, 0x5c, 0xe3, 0x2b, 0x42, + 0xad, 0x90, 0xf8, 0x5d, 0x3f, 0xf0, 0xa8, 0x87, 0xe6, 0x04, 0xc9, 0x58, 0xbf, 0xf0, 0xbc, 0x8b, + 0x21, 0x7e, 0xc5, 0xc8, 0xa7, 0xe3, 0xf3, 0x57, 0x78, 0xe4, 0xd3, 0x5b, 0x2e, 0x65, 0x3c, 0x4a, + 0x33, 0x9d, 0x71, 0x60, 0x53, 0xe2, 0xb9, 0x9c, 0xdf, 0xf9, 0x57, 0x05, 0x56, 0xf7, 0x02, 0x6c, + 0x53, 0x7c, 0xdc, 0xeb, 0x0f, 0x82, 0xb1, 0x7b, 0x65, 0xe2, 0xdf, 0x8f, 0x71, 0x48, 0xd1, 0x67, + 0xb0, 0x44, 0xdc, 0x53, 0x6f, 0xec, 0x3a, 0x96, 0xed, 0x38, 0x01, 0x0e, 0x43, 0x1c, 0xb6, 0x4b, + 0x4f, 0x2a, 0xcf, 0xeb, 0x66, 0x4b, 0x30, 0x76, 0x24, 0x1d, 0xbd, 0x80, 0x96, 0x37, 0xa6, 0x09, + 0xe9, 0x76, 0xf9, 0x49, 0xe9, 0x79, 0xdd, 0x5c, 0x94, 0x74, 0x21, 0x8c, 0x3e, 0x85, 0x98, 0x64, + 0xb9, 0xe3, 0xd1, 0x29, 0x0e, 0xda, 0x15, 0x26, 0xd9, 0x94, 0xe4, 0x43, 0x46, 0x45, 0x5f, 0xc0, + 0xaa, 0x74, 0x80, 0xcb, 0x85, 0x56, 0x80, 0x2f, 0xf0, 0x4d, 0x7b, 0x26, 0x72, 0x62, 0xb7, 0xdc, + 0x2e, 0x99, 0xcb, 0x42, 0x80, 0x6b, 0x84, 0x66, 0xc4, 0x8e, 0x0e, 0x48, 0xe9, 0xb5, 0xeb, 0xcc, + 0xed, 0x66, 0x52, 0x3a, 0x72, 0x5a, 0x0a, 0x8e, 0x43, 0x1c, 0xb8, 0xf6, 0x08, 0xb7, 0xab, 0xdc, + 0x69, 0x41, 0x3f, 0x11, 0x64, 0x55, 0xd4, 0xb7, 0xc3, 0xf0, 0x1b, 0x2f, 0x70, 0xda, 0xb3, 0x09, + 0xd1, 0xbe, 0x20, 0x47, 0x71, 0x8b, 0xbf, 0x2f, 0x36, 0x3b, 0xc7, 0x64, 0xe3, 0x18, 0xc5, 0x76, + 0x55, 0xe1, 0xd8, 0x70, 0x2d, 0x29, 0x1c, 0x5b, 0x46, 0x30, 0xc3, 0x8c, 0x01, 0xe3, 0xb3, 0x67, + 0x64, 0x40, 0x6d, 0x84, 0xa9, 0xed, 0xd8, 0xd4, 0x6e, 0x37, 0x18, 0x3d, 0x7e, 0xdf, 0x2e, 0xb7, + 0x4b, 0x9d, 0xbf, 0x56, 0x61, 0x5e, 0x66, 0xb6, 0xe7, 0x9e, 0x7b, 0xe8, 0x09, 0xcc, 0x87, 0xc4, + 0xb7, 0x68, 0x44, 0xb0, 0x88, 0xd3, 0x2e, 0x31, 0x25, 0x08, 0x89, 0xcf, 0x65, 0x1c, 0xf4, 0x1a, + 0x66, 0xae, 0x88, 0xeb, 0xb4, 0x9b, 0x4f, 0x4a, 0xcf, 0x9b, 0x5b, 0x8f, 0xbb, 0x02, 0x67, 0x5d, + 0xd5, 0x4c, 0x97, 0x3d, 0x7d, 0x20, 0xae, 0x63, 0x32, 0x61, 0x3d, 0x5a, 0xca, 0xf7, 0x40, 0x4b, + 0x65, 0x6a, 0xb4, 0xcc, 0x68, 0xd1, 0xf2, 0x1a, 0xea, 0x34, 0xb0, 0xdd, 0xd0, 0xf7, 0x02, 0xda, + 0x5e, 0x60, 0xae, 0xaf, 0x26, 0x5d, 0x17, 0x4c, 0x73, 0x22, 0x97, 0x0f, 0xb1, 0xea, 0xbd, 0x21, + 0x06, 0x53, 0x43, 0x6c, 0x76, 0x7a, 0x88, 0xcd, 0xdd, 0x03, 0x62, 0xb5, 0xfb, 0x40, 0xac, 0x7e, + 0x07, 0xc4, 0x1a, 0x39, 0x10, 0x9b, 0x4f, 0x42, 0xac, 0xb3, 0x0f, 0xf5, 0x18, 0x09, 0xa8, 0x05, + 0xf3, 0x03, 0xf3, 0xe4, 0xf0, 0x83, 0x75, 0xf0, 0xe6, 0xdd, 0xce, 0xde, 0x57, 0xad, 0x07, 0x68, + 0x09, 0x16, 0x38, 0xa5, 0x77, 0xb8, 0x7b, 0x74, 0x72, 0xb8, 0xdf, 0x2a, 0x21, 0x04, 0x4d, 0x4e, + 0x3a, 0x3a, 0x19, 0x70, 0x5a, 0x99, 0x01, 0xd5, 0x84, 0x8d, 0xb8, 0x0f, 0xf5, 0xf8, 0xf7, 0x26, + 0xda, 0xd1, 0x16, 0x54, 0x19, 0x66, 0x19, 0x60, 0x1b, 0x5b, 0x1b, 0x6a, 0x6e, 0x55, 0xf9, 0x08, + 0x9d, 0x26, 0x17, 0xed, 0xfc, 0xbb, 0x0a, 0xcb, 0x1a, 0xf6, 0x14, 0x35, 0x20, 0xe3, 0x50, 0xce, + 0x89, 0x43, 0x25, 0x19, 0x07, 0xd4, 0x86, 0x39, 0x09, 0x04, 0xd6, 0x9d, 0x4c, 0xf9, 0x1a, 0x85, + 0xdf, 0x1e, 0x0e, 0xbd, 0x6f, 0xb0, 0x5a, 0x18, 0x55, 0x5e, 0x18, 0x82, 0x31, 0x29, 0x8c, 0x4f, + 0x61, 0x51, 0x0a, 0x4b, 0x73, 0xb3, 0x1c, 0x57, 0x82, 0x2c, 0x71, 0xf5, 0x14, 0x16, 0xec, 0x31, + 0xbd, 0x4c, 0x37, 0x98, 0xf9, 0x88, 0x18, 0x67, 0x5e, 0x0a, 0xa5, 0x1a, 0x0b, 0x13, 0x8a, 0x33, + 0xbe, 0x07, 0x73, 0x97, 0xd8, 0x76, 0x64, 0x97, 0x6c, 0x6c, 0xbd, 0x28, 0x8a, 0x6c, 0xf7, 0x3d, + 0x97, 0x7d, 0xe3, 0xd2, 0xe0, 0xd6, 0x94, 0x9a, 0x88, 0xc0, 0xaa, 0x78, 0xb4, 0xa8, 0x67, 0xd9, + 0x94, 0x06, 0xe4, 0x74, 0x4c, 0x31, 0xaf, 0x8a, 0xc6, 0xd6, 0x8f, 0xa6, 0x31, 0x39, 0xf0, 0x76, + 0x62, 0x3d, 0x6e, 0x7e, 0xf9, 0x32, 0xcb, 0x41, 0xbb, 0xb0, 0x18, 0x10, 0xf7, 0x82, 0xb8, 0x17, + 0x16, 0x25, 0x23, 0xec, 0x8d, 0x29, 0x03, 0x6b, 0x63, 0xeb, 0x61, 0x97, 0x8f, 0xba, 0xae, 0x1c, + 0x75, 0xdd, 0x7d, 0x31, 0xea, 0xcc, 0xa6, 0xd0, 0x18, 0x70, 0x05, 0xf4, 0x06, 0x96, 0x46, 0xf6, + 0x8d, 0x75, 0x66, 0x0f, 0x87, 0x96, 0x9c, 0x87, 0x0c, 0xda, 0x85, 0x56, 0x16, 0x47, 0xf6, 0xcd, + 0x9e, 0x3d, 0x1c, 0x4a, 0x82, 0xb1, 0x0d, 0xf3, 0x6a, 0x38, 0x50, 0x0b, 0x2a, 0x57, 0xf8, 0x56, + 0xa0, 0x29, 0x7a, 0x44, 0x2b, 0x50, 0xbd, 0xb6, 0x87, 0x63, 0x89, 0x23, 0xfe, 0xb2, 0x5d, 0xfe, + 0x71, 0xc9, 0x78, 0x0b, 0xed, 0xbc, 0xef, 0xbe, 0x8f, 0x9d, 0xce, 0x00, 0x36, 0xe3, 0xb2, 0x39, + 0x12, 0xd5, 0x9c, 0xa8, 0x9b, 0xd7, 0xc9, 0xba, 0xd9, 0x54, 0x53, 0x91, 0x50, 0x50, 0x0b, 0xe7, + 0x9f, 0x33, 0xb0, 0xa2, 0xe3, 0x7f, 0x37, 0x95, 0x23, 0x47, 0x00, 0x6f, 0xec, 0xf2, 0x35, 0xd9, + 0xd1, 0xab, 0x53, 0x76, 0x74, 0xa5, 0x10, 0x67, 0x93, 0x85, 0xf8, 0xff, 0x2b, 0x99, 0xfd, 0x74, + 0xc9, 0xbc, 0x2c, 0x0c, 0x6a, 0x4e, 0xcd, 0xfc, 0xae, 0xb8, 0x66, 0xbe, 0x98, 0xca, 0xe6, 0x74, + 0x45, 0xf3, 0xbd, 0x40, 0xea, 0x97, 0xf0, 0xf0, 0x1d, 0xa6, 0x39, 0xdd, 0xfd, 0x4e, 0x5c, 0x75, + 0xfa, 0x60, 0xe8, 0xd4, 0x43, 0xdf, 0x73, 0x43, 0xfc, 0x51, 0xd3, 0xe1, 0xa7, 0xd2, 0xa2, 0xb6, + 0x6e, 0xee, 0xf6, 0xc8, 0x84, 0x75, 0xad, 0xbe, 0x70, 0xe9, 0xa3, 0x0a, 0xef, 0x21, 0x2c, 0x1f, + 0x90, 0x90, 0xa6, 0xee, 0xe2, 0x6c, 0x40, 0xbe, 0x83, 0x95, 0x24, 0x4b, 0x9c, 0xf3, 0x19, 0x54, + 0x09, 0xc5, 0x23, 0x7e, 0x37, 0x6f, 0xa4, 0x4b, 0x24, 0xb6, 0xcf, 0x64, 0x98, 0xa1, 0x0d, 0x30, + 0x84, 0x21, 0x4d, 0x26, 0x3a, 0xbf, 0x80, 0x75, 0x2d, 0x77, 0x12, 0x68, 0xf5, 0xb4, 0x3b, 0x02, + 0xcd, 0x44, 0x3b, 0x9b, 0xb1, 0x49, 0x5d, 0xa4, 0x3b, 0xc7, 0xb0, 0xa1, 0x67, 0x4f, 0x02, 0xa9, + 0x1e, 0x79, 0x57, 0x20, 0xf9, 0x99, 0x3f, 0x81, 0xd5, 0x7d, 0x3c, 0xc4, 0xd9, 0xb5, 0xe6, 0xee, + 0xbc, 0xbe, 0x85, 0xd5, 0xe3, 0x5e, 0x7f, 0x9f, 0x84, 0xbe, 0x4d, 0xcf, 0x2e, 0xcd, 0xf1, 0x10, + 0xef, 0x93, 0x00, 0x9f, 0x51, 0xb4, 0x0e, 0xf5, 0xc0, 0xf3, 0x46, 0x16, 0xeb, 0x1e, 0x5c, 0xaf, + 0x16, 0x11, 0x0e, 0xa3, 0xce, 0xd1, 0x82, 0x8a, 0x4f, 0x5c, 0x01, 0xfb, 0xe8, 0xb1, 0x73, 0x08, + 0x0f, 0x53, 0x76, 0x7a, 0xae, 0x43, 0xae, 0x89, 0x33, 0xb6, 0x87, 0xe8, 0x31, 0x34, 0x98, 0x2d, + 0x3f, 0xc0, 0xe7, 0xe4, 0x46, 0x7a, 0x11, 0x91, 0xfa, 0x8c, 0xa2, 0xb1, 0x77, 0x99, 0xf1, 0x2b, + 0x9a, 0x46, 0x18, 0x7f, 0x84, 0x2d, 0xb4, 0x01, 0xf5, 0xc0, 0x76, 0x1d, 0x6f, 0x44, 0xfe, 0x80, + 0x59, 0x4b, 0xae, 0x99, 0x13, 0x42, 0xe7, 0xcf, 0x65, 0x58, 0x4c, 0x1d, 0x85, 0x4c, 0x58, 0x71, + 0xc4, 0xbb, 0x15, 0x8c, 0x87, 0xd8, 0x72, 0x58, 0x50, 0x04, 0xba, 0x1f, 0xa9, 0x49, 0xc9, 0x86, + 0xee, 0xfd, 0x03, 0x13, 0x39, 0xd9, 0x80, 0xfe, 0x06, 0xda, 0x49, 0x9b, 0x24, 0x0e, 0x10, 0x73, + 0xb6, 0xb1, 0xd5, 0xc9, 0xb3, 0x3b, 0x09, 0xe5, 0xfb, 0x07, 0xe6, 0x9a, 0xa3, 0x0f, 0x72, 0xc6, + 0xe7, 0x33, 0x16, 0x30, 0xf6, 0xc1, 0x05, 0x3e, 0xf3, 0xb0, 0xa6, 0x7d, 0xe6, 0xd4, 0xdd, 0x59, + 0x98, 0x89, 0x4c, 0x75, 0xfe, 0x58, 0x51, 0x2e, 0xac, 0xaa, 0xb6, 0x04, 0xda, 0xe7, 0x5c, 0x50, + 0x04, 0xa8, 0x9d, 0x77, 0x98, 0xc9, 0xa4, 0x22, 0x6c, 0x49, 0x48, 0xca, 0xbd, 0xa9, 0x46, 0x39, + 0x20, 0x43, 0xf4, 0x12, 0x96, 0x2e, 0x89, 0x83, 0x2d, 0xff, 0xd2, 0x73, 0xb1, 0xba, 0x34, 0xd7, + 0xcc, 0xc5, 0x88, 0xd1, 0x8f, 0xe8, 0x62, 0x0f, 0xd2, 0xac, 0x26, 0xb3, 0xda, 0xd5, 0x44, 0x0e, + 0xea, 0x99, 0x9c, 0x41, 0x5d, 0x4d, 0x0d, 0xea, 0x13, 0x00, 0x65, 0x48, 0xcd, 0xa5, 0x2e, 0x76, + 0x45, 0xa1, 0xe8, 0xa6, 0x67, 0x94, 0x62, 0xc8, 0xf8, 0x12, 0x16, 0xff, 0x97, 0xa9, 0xf2, 0x97, + 0x0a, 0xbb, 0xe2, 0x27, 0xa1, 0x71, 0xee, 0xa1, 0x57, 0xb0, 0x12, 0x95, 0x79, 0x0a, 0x5e, 0xb2, + 0xdc, 0x97, 0x42, 0xe2, 0x27, 0x54, 0x9c, 0x38, 0x5d, 0xe5, 0xfb, 0xa7, 0xab, 0x32, 0x4d, 0xba, + 0x66, 0xa6, 0x4e, 0xd7, 0x5c, 0x61, 0xba, 0xaa, 0x39, 0xe9, 0x9a, 0x4d, 0xa5, 0xeb, 0x20, 0x91, + 0xae, 0x1a, 0x4b, 0xd7, 0xe7, 0xf9, 0xd5, 0x74, 0xee, 0x7d, 0x97, 0x59, 0x9a, 0x8c, 0x1c, 0x0d, + 0x3c, 0x94, 0x91, 0x93, 0xe4, 0x4e, 0x31, 0x72, 0xd2, 0x1f, 0x21, 0xdb, 0xff, 0x11, 0x6c, 0xc4, + 0xed, 0x5f, 0x57, 0x9c, 0xf7, 0x85, 0x47, 0xe7, 0x1f, 0x55, 0x58, 0x8f, 0x31, 0xde, 0xb7, 0x03, + 0x4a, 0xce, 0x88, 0x6f, 0xbb, 0x74, 0xea, 0xb1, 0x82, 0x1e, 0x41, 0x23, 0x92, 0x60, 0x4b, 0x07, + 0xf5, 0x44, 0x8c, 0xea, 0x21, 0xf1, 0xa3, 0xc6, 0x32, 0xf0, 0x92, 0xd3, 0xa5, 0x92, 0x9a, 0x2e, + 0x3f, 0x84, 0x15, 0x7f, 0x72, 0xa8, 0x45, 0x1c, 0xec, 0x52, 0x42, 0x6f, 0x45, 0xf1, 0x2e, 0x2b, + 0xbc, 0x9e, 0x60, 0xa1, 0x17, 0xd0, 0x52, 0x55, 0x94, 0x2b, 0xef, 0xa2, 0x42, 0xd7, 0x59, 0x8f, + 0x31, 0x55, 0xcb, 0x58, 0xff, 0xb9, 0x84, 0xd7, 0x35, 0xac, 0xa9, 0x2a, 0x0a, 0xd4, 0xf8, 0x95, + 0xf8, 0x67, 0xd9, 0xce, 0x90, 0x8d, 0x5a, 0x57, 0x21, 0xa5, 0xd1, 0xb7, 0xea, 0xeb, 0x78, 0x51, + 0x19, 0x38, 0x74, 0x74, 0x2e, 0xcb, 0x20, 0x7a, 0x8e, 0x2e, 0xed, 0xfe, 0xd0, 0xbe, 0xb5, 0xa2, + 0x2d, 0x8f, 0x7a, 0x2e, 0xff, 0x85, 0xa5, 0x66, 0xce, 0x47, 0x44, 0x53, 0xd0, 0xf4, 0x45, 0x09, + 0xfa, 0xa2, 0xfc, 0x1e, 0xed, 0x98, 0xef, 0xc1, 0xc8, 0x0f, 0xd2, 0xbd, 0x6a, 0xf0, 0xef, 0x25, + 0x40, 0xc9, 0x2c, 0xb0, 0x46, 0xf9, 0x0c, 0x9a, 0x49, 0x64, 0x09, 0x6b, 0x0b, 0x09, 0x4c, 0xe5, + 0x02, 0xb0, 0x9c, 0x0f, 0xc0, 0x42, 0x40, 0xab, 0xd5, 0x40, 0x1c, 0x81, 0x63, 0x59, 0x0d, 0x3d, + 0xa7, 0xf3, 0xa7, 0x12, 0x6c, 0xb2, 0x05, 0xef, 0x1c, 0x07, 0xfa, 0x8a, 0xcb, 0xf3, 0xa8, 0x34, + 0xa5, 0x47, 0xe5, 0x94, 0x47, 0x8f, 0xa1, 0x41, 0xc5, 0x81, 0x51, 0x7d, 0x72, 0x87, 0x41, 0x92, + 0x06, 0xde, 0xcb, 0x2b, 0xf1, 0x4b, 0xaa, 0x5c, 0x35, 0xd7, 0x58, 0x3c, 0xad, 0x81, 0xb9, 0x73, + 0x78, 0xdc, 0x3f, 0x32, 0x07, 0xd6, 0xce, 0xc9, 0xe0, 0xa8, 0xf5, 0x00, 0xad, 0xc2, 0x52, 0x92, + 0x7e, 0xb2, 0xdf, 0x6f, 0x95, 0xb2, 0xe4, 0xc1, 0x5e, 0xbf, 0x55, 0xd6, 0x90, 0x0f, 0x8e, 0x5b, + 0x95, 0xad, 0x6f, 0x01, 0x2a, 0xc7, 0xbd, 0x3e, 0x3a, 0x80, 0x66, 0xf2, 0xe7, 0x79, 0xf4, 0x28, + 0x5b, 0x59, 0xea, 0x05, 0xd7, 0xd0, 0x2f, 0x00, 0x9d, 0xca, 0xb7, 0xe5, 0x12, 0xea, 0xc3, 0xbc, + 0xba, 0x43, 0xa0, 0x49, 0x2f, 0xd5, 0x6c, 0x1d, 0xc6, 0x66, 0x0e, 0x97, 0xf7, 0x65, 0x6e, 0xf1, + 0x6b, 0xe5, 0xef, 0x03, 0xf5, 0xfe, 0x8f, 0x9e, 0x65, 0xdd, 0xd4, 0xac, 0x1b, 0x46, 0xe1, 0x02, + 0x81, 0x2c, 0x58, 0xd3, 0xff, 0xba, 0x81, 0x7e, 0x90, 0x35, 0xaf, 0x5b, 0x2e, 0x8c, 0xe2, 0x6d, + 0x01, 0xfd, 0x1a, 0x50, 0x76, 0xab, 0x44, 0x93, 0x5b, 0x67, 0xee, 0xc6, 0x6a, 0x3c, 0x2d, 0x94, + 0x11, 0xa3, 0xeb, 0xb7, 0xb0, 0xac, 0x59, 0x11, 0x51, 0x5a, 0x57, 0xeb, 0xf9, 0x27, 0xc5, 0x42, + 0x93, 0x13, 0x34, 0xeb, 0x9a, 0x72, 0x42, 0xfe, 0xaa, 0xa7, 0x9c, 0x50, 0xb4, 0xf1, 0x9d, 0xc5, + 0x7b, 0x67, 0xf2, 0x23, 0x32, 0xda, 0xda, 0xaf, 0x78, 0x76, 0x87, 0x94, 0x38, 0xe4, 0x1d, 0x34, + 0x93, 0xeb, 0x9a, 0x02, 0x73, 0xed, 0x1e, 0x97, 0x03, 0xf3, 0x04, 0x1e, 0x13, 0xfb, 0xcb, 0xb3, + 0xa9, 0xae, 0xaa, 0x46, 0xe1, 0xed, 0x42, 0x89, 0x76, 0xc2, 0x76, 0x26, 0xda, 0x3a, 0xcb, 0x9f, + 0x14, 0x0b, 0x89, 0x40, 0x7c, 0xad, 0xec, 0xad, 0x39, 0xfe, 0x17, 0x5d, 0x6c, 0xee, 0xf0, 0xff, + 0x2b, 0x58, 0xd1, 0x8d, 0x63, 0x25, 0x97, 0x05, 0xd3, 0xda, 0x58, 0x57, 0x6d, 0xa7, 0xe7, 0xc8, + 0x2f, 0x61, 0x4d, 0xdf, 0xaf, 0x95, 0x52, 0x2d, 0x6c, 0xe8, 0xc6, 0x5a, 0x66, 0x2c, 0xbe, 0x19, + 0xf9, 0xf4, 0x76, 0xf7, 0xed, 0xaf, 0x9e, 0x5e, 0x10, 0x7a, 0x39, 0x3e, 0xed, 0x9e, 0x79, 0xa3, + 0x57, 0xc2, 0x16, 0xff, 0x43, 0xf3, 0xcc, 0x1b, 0x4a, 0xc2, 0xdf, 0xca, 0x0b, 0x07, 0xe4, 0x1a, + 0x7f, 0x20, 0xb4, 0xdb, 0x8f, 0x58, 0xff, 0x29, 0x37, 0xc5, 0xfb, 0xf6, 0x36, 0x23, 0x9c, 0xce, + 0x32, 0x95, 0xd7, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xa4, 0xff, 0xb2, 0xf5, 0x4c, 0x1d, 0x00, + 0x00, } diff --git a/protobufs/livekit_sip.proto b/protobufs/livekit_sip.proto index b7d26cae..b3ad5fdf 100644 --- a/protobufs/livekit_sip.proto +++ b/protobufs/livekit_sip.proto @@ -21,6 +21,7 @@ option csharp_namespace = "LiveKit.Proto"; option ruby_package = "LiveKit::Proto"; import "google/protobuf/empty.proto"; +import "google/protobuf/duration.proto"; /* LiveKit's SIP API is built with 3 high level primitives @@ -188,6 +189,11 @@ message SIPInboundTrunkInfo { map headers = 9; // Map SIP X-* headers from INVITE to SIP participant attributes. map headers_to_attributes = 10; + + // Max time for the caller to wait for track subscription. + google.protobuf.Duration ringing_timeout = 11; + // Max call duration. + google.protobuf.Duration max_call_duration = 12; } message CreateSIPOutboundTrunkRequest { @@ -401,7 +407,12 @@ message CreateSIPParticipantRequest { // If true, a random value for identity will be used and numbers will be omitted from attributes. bool hide_phone_number = 10; - // NEXT ID: 11 + // Max time for the callee to answer the call. + google.protobuf.Duration ringing_timeout = 11; + // Max call duration. + google.protobuf.Duration max_call_duration = 12; + + // NEXT ID: 13 } message SIPParticipantInfo { diff --git a/protobufs/rpc/io.proto b/protobufs/rpc/io.proto index 3a890b50..b64f875a 100644 --- a/protobufs/rpc/io.proto +++ b/protobufs/rpc/io.proto @@ -21,6 +21,7 @@ option go_package = "github.com/livekit/protocol/rpc"; import "livekit_egress.proto"; import "livekit_ingress.proto"; import "google/protobuf/empty.proto"; +import "google/protobuf/duration.proto"; service IOInfo { // egress @@ -167,7 +168,13 @@ message EvaluateSIPDispatchRulesResponse { map headers_to_attributes = 14; repeated SIPFeature enabled_features = 15; - // NEXT ID: 16 + + // Max time for the caller to wait for track subscription. + google.protobuf.Duration ringing_timeout = 16; + // Max call duration. + google.protobuf.Duration max_call_duration = 17; + + // NEXT ID: 18 } enum SIPFeature { diff --git a/protobufs/rpc/sip.proto b/protobufs/rpc/sip.proto index bd1e40b5..1180c63a 100644 --- a/protobufs/rpc/sip.proto +++ b/protobufs/rpc/sip.proto @@ -19,6 +19,7 @@ package rpc; option go_package = "github.com/livekit/protocol/rpc"; import "google/protobuf/empty.proto"; +import "google/protobuf/duration.proto"; import "options.proto"; import "livekit_sip.proto"; @@ -81,7 +82,12 @@ message InternalCreateSIPParticipantRequest { map headers = 21; map headers_to_attributes = 22; - // NEXT ID: 23 + // Max time for the callee to answer the call. + google.protobuf.Duration ringing_timeout = 23; + // Max call duration. + google.protobuf.Duration max_call_duration = 24; + + // NEXT ID: 25 } message InternalCreateSIPParticipantResponse { diff --git a/rpc/io.pb.go b/rpc/io.pb.go index a78135d5..65e36f0d 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -24,6 +24,7 @@ import ( livekit "github.com/livekit/protocol/livekit" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" @@ -743,7 +744,11 @@ type EvaluateSIPDispatchRulesResponse struct { // Map SIP X-* headers from INVITE to SIP participant attributes. // Keys are the names of X-* headers and values are the names of attributes they will be mapped to. HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - EnabledFeatures []SIPFeature `protobuf:"varint,15,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=rpc.SIPFeature" json:"enabled_features,omitempty"` // NEXT ID: 16 + EnabledFeatures []SIPFeature `protobuf:"varint,15,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=rpc.SIPFeature" json:"enabled_features,omitempty"` + // Max time for the caller to wait for track subscription. + RingingTimeout *durationpb.Duration `protobuf:"bytes,16,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"` + // Max call duration. + MaxCallDuration *durationpb.Duration `protobuf:"bytes,17,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` } func (x *EvaluateSIPDispatchRulesResponse) Reset() { @@ -882,6 +887,20 @@ func (x *EvaluateSIPDispatchRulesResponse) GetEnabledFeatures() []SIPFeature { return nil } +func (x *EvaluateSIPDispatchRulesResponse) GetRingingTimeout() *durationpb.Duration { + if x != nil { + return x.RingingTimeout + } + return nil +} + +func (x *EvaluateSIPDispatchRulesResponse) GetMaxCallDuration() *durationpb.Duration { + if x != nil { + return x.MaxCallDuration + } + return nil +} + var File_rpc_io_proto protoreflect.FileDescriptor var file_rpc_io_proto_rawDesc = []byte{ @@ -890,7 +909,9 @@ var file_rpc_io_proto_rawDesc = []byte{ 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, + 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x22, 0x87, @@ -984,7 +1005,7 @@ var file_rpc_io_proto_rawDesc = []byte{ 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, 0x89, 0x08, 0x0a, 0x20, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, + 0x38, 0x01, 0x22, 0x94, 0x09, 0x0a, 0x20, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d, @@ -1036,78 +1057,87 @@ var file_rpc_io_proto_rawDesc = []byte{ 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x72, 0x70, 0x63, 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, - 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, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, - 0x61, 0x64, 0x65, 0x72, 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, 0x1a, 0x46, 0x0a, 0x18, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x73, 0x54, 0x6f, 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, 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, 0x2a, 0x60, 0x0a, 0x11, 0x53, 0x49, 0x50, - 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, - 0x0a, 0x14, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, - 0x4f, 0x52, 0x5f, 0x50, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x43, 0x45, - 0x50, 0x54, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, - 0x50, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x10, - 0x03, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x52, 0x4f, 0x50, 0x10, 0x04, 0x32, 0xf3, 0x05, 0x0a, 0x06, - 0x49, 0x4f, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x67, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, - 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x12, 0x37, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x15, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x0a, 0x4c, 0x69, 0x73, - 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x42, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x12, 0x19, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 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, 0x12, 0x3d, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, - 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, - 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, - 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, - 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 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, 0x12, 0x6a, 0x0a, 0x19, - 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, - 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, - 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x26, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, - 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x18, 0x45, 0x76, 0x61, 0x6c, + 0x12, 0x42, 0x0a, 0x0f, 0x72, 0x69, 0x6e, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x6f, 0x75, 0x74, 0x18, 0x10, 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, 0x11, 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, 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, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x1a, 0x46, 0x0a, 0x18, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 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, 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, 0x2a, 0x60, 0x0a, 0x11, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, + 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x45, 0x47, + 0x41, 0x43, 0x59, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x4f, 0x52, 0x5f, 0x50, 0x49, + 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, 0x12, + 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x50, 0x49, 0x4e, 0x10, 0x02, + 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, + 0x44, 0x52, 0x4f, 0x50, 0x10, 0x04, 0x32, 0xf3, 0x05, 0x0a, 0x06, 0x49, 0x4f, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x3b, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3b, + 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x13, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x37, 0x0a, 0x09, 0x47, + 0x65, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x15, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, + 0x65, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x19, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 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, 0x12, + 0x3d, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x49, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x1a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x12, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x1e, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 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, 0x12, 0x6a, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x49, + 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, + 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, + 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x18, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, + 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, + 0x24, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, + 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, - 0x75, 0x6c, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, - 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, - 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, - 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x42, 0x21, 0x5a, 0x1f, 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, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x21, 0x5a, 0x1f, + 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, 0x72, 0x70, 0x63, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1144,9 +1174,10 @@ var file_rpc_io_proto_goTypes = []any{ (*livekit.EgressInfo)(nil), // 16: livekit.EgressInfo (*livekit.IngressInfo)(nil), // 17: livekit.IngressInfo (*livekit.IngressState)(nil), // 18: livekit.IngressState - (*livekit.ListEgressRequest)(nil), // 19: livekit.ListEgressRequest - (*emptypb.Empty)(nil), // 20: google.protobuf.Empty - (*livekit.ListEgressResponse)(nil), // 21: livekit.ListEgressResponse + (*durationpb.Duration)(nil), // 19: google.protobuf.Duration + (*livekit.ListEgressRequest)(nil), // 20: livekit.ListEgressRequest + (*emptypb.Empty)(nil), // 21: google.protobuf.Empty + (*livekit.ListEgressResponse)(nil), // 22: livekit.ListEgressResponse } var file_rpc_io_proto_depIdxs = []int32{ 16, // 0: rpc.UpdateMetricsRequest.info:type_name -> livekit.EgressInfo @@ -1159,31 +1190,33 @@ var file_rpc_io_proto_depIdxs = []int32{ 14, // 7: rpc.EvaluateSIPDispatchRulesResponse.headers:type_name -> rpc.EvaluateSIPDispatchRulesResponse.HeadersEntry 15, // 8: rpc.EvaluateSIPDispatchRulesResponse.headers_to_attributes:type_name -> rpc.EvaluateSIPDispatchRulesResponse.HeadersToAttributesEntry 0, // 9: rpc.EvaluateSIPDispatchRulesResponse.enabled_features:type_name -> rpc.SIPFeature - 16, // 10: rpc.IOInfo.CreateEgress:input_type -> livekit.EgressInfo - 16, // 11: rpc.IOInfo.UpdateEgress:input_type -> livekit.EgressInfo - 2, // 12: rpc.IOInfo.GetEgress:input_type -> rpc.GetEgressRequest - 19, // 13: rpc.IOInfo.ListEgress:input_type -> livekit.ListEgressRequest - 3, // 14: rpc.IOInfo.UpdateMetrics:input_type -> rpc.UpdateMetricsRequest - 17, // 15: rpc.IOInfo.CreateIngress:input_type -> livekit.IngressInfo - 4, // 16: rpc.IOInfo.GetIngressInfo:input_type -> rpc.GetIngressInfoRequest - 6, // 17: rpc.IOInfo.UpdateIngressState:input_type -> rpc.UpdateIngressStateRequest - 7, // 18: rpc.IOInfo.GetSIPTrunkAuthentication:input_type -> rpc.GetSIPTrunkAuthenticationRequest - 9, // 19: rpc.IOInfo.EvaluateSIPDispatchRules:input_type -> rpc.EvaluateSIPDispatchRulesRequest - 20, // 20: rpc.IOInfo.CreateEgress:output_type -> google.protobuf.Empty - 20, // 21: rpc.IOInfo.UpdateEgress:output_type -> google.protobuf.Empty - 16, // 22: rpc.IOInfo.GetEgress:output_type -> livekit.EgressInfo - 21, // 23: rpc.IOInfo.ListEgress:output_type -> livekit.ListEgressResponse - 20, // 24: rpc.IOInfo.UpdateMetrics:output_type -> google.protobuf.Empty - 20, // 25: rpc.IOInfo.CreateIngress:output_type -> google.protobuf.Empty - 5, // 26: rpc.IOInfo.GetIngressInfo:output_type -> rpc.GetIngressInfoResponse - 20, // 27: rpc.IOInfo.UpdateIngressState:output_type -> google.protobuf.Empty - 8, // 28: rpc.IOInfo.GetSIPTrunkAuthentication:output_type -> rpc.GetSIPTrunkAuthenticationResponse - 10, // 29: rpc.IOInfo.EvaluateSIPDispatchRules:output_type -> rpc.EvaluateSIPDispatchRulesResponse - 20, // [20:30] is the sub-list for method output_type - 10, // [10:20] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name + 19, // 10: rpc.EvaluateSIPDispatchRulesResponse.ringing_timeout:type_name -> google.protobuf.Duration + 19, // 11: rpc.EvaluateSIPDispatchRulesResponse.max_call_duration:type_name -> google.protobuf.Duration + 16, // 12: rpc.IOInfo.CreateEgress:input_type -> livekit.EgressInfo + 16, // 13: rpc.IOInfo.UpdateEgress:input_type -> livekit.EgressInfo + 2, // 14: rpc.IOInfo.GetEgress:input_type -> rpc.GetEgressRequest + 20, // 15: rpc.IOInfo.ListEgress:input_type -> livekit.ListEgressRequest + 3, // 16: rpc.IOInfo.UpdateMetrics:input_type -> rpc.UpdateMetricsRequest + 17, // 17: rpc.IOInfo.CreateIngress:input_type -> livekit.IngressInfo + 4, // 18: rpc.IOInfo.GetIngressInfo:input_type -> rpc.GetIngressInfoRequest + 6, // 19: rpc.IOInfo.UpdateIngressState:input_type -> rpc.UpdateIngressStateRequest + 7, // 20: rpc.IOInfo.GetSIPTrunkAuthentication:input_type -> rpc.GetSIPTrunkAuthenticationRequest + 9, // 21: rpc.IOInfo.EvaluateSIPDispatchRules:input_type -> rpc.EvaluateSIPDispatchRulesRequest + 21, // 22: rpc.IOInfo.CreateEgress:output_type -> google.protobuf.Empty + 21, // 23: rpc.IOInfo.UpdateEgress:output_type -> google.protobuf.Empty + 16, // 24: rpc.IOInfo.GetEgress:output_type -> livekit.EgressInfo + 22, // 25: rpc.IOInfo.ListEgress:output_type -> livekit.ListEgressResponse + 21, // 26: rpc.IOInfo.UpdateMetrics:output_type -> google.protobuf.Empty + 21, // 27: rpc.IOInfo.CreateIngress:output_type -> google.protobuf.Empty + 5, // 28: rpc.IOInfo.GetIngressInfo:output_type -> rpc.GetIngressInfoResponse + 21, // 29: rpc.IOInfo.UpdateIngressState:output_type -> google.protobuf.Empty + 8, // 30: rpc.IOInfo.GetSIPTrunkAuthentication:output_type -> rpc.GetSIPTrunkAuthenticationResponse + 10, // 31: rpc.IOInfo.EvaluateSIPDispatchRules:output_type -> rpc.EvaluateSIPDispatchRulesResponse + 22, // [22:32] is the sub-list for method output_type + 12, // [12:22] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name } func init() { file_rpc_io_proto_init() } diff --git a/rpc/io.psrpc.go b/rpc/io.psrpc.go index d554f4fe..03cf899f 100644 --- a/rpc/io.psrpc.go +++ b/rpc/io.psrpc.go @@ -278,88 +278,92 @@ func (s *iOInfoServer) Kill() { } var psrpcFileDescriptor4 = []byte{ - // 1325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xdd, 0x52, 0xdb, 0x46, - 0x1b, 0x8e, 0x6d, 0x70, 0xf0, 0x6b, 0x6c, 0x9c, 0x8d, 0xcd, 0xe7, 0x88, 0xf9, 0x12, 0xc7, 0xf9, - 0xf2, 0x95, 0xa4, 0x33, 0x76, 0xeb, 0x1e, 0xb4, 0x4d, 0xa7, 0x9d, 0x80, 0xa3, 0x10, 0x37, 0x04, - 0x5c, 0x01, 0x07, 0xed, 0x89, 0xba, 0x48, 0x8b, 0x51, 0x90, 0xb5, 0xea, 0xee, 0x0a, 0xc2, 0x15, - 0xb4, 0xbd, 0x8b, 0x5e, 0x42, 0xef, 0xad, 0x33, 0x3d, 0xee, 0xec, 0x8f, 0x8c, 0xc0, 0x76, 0x80, - 0x9e, 0x69, 0x9f, 0xf7, 0x67, 0x9f, 0xf7, 0x6f, 0xfd, 0x1a, 0x96, 0x59, 0xec, 0x75, 0x03, 0xda, - 0x89, 0x19, 0x15, 0x14, 0x15, 0x58, 0xec, 0x59, 0xf5, 0x30, 0x38, 0x25, 0x27, 0x81, 0x70, 0xc9, - 0x88, 0x11, 0xce, 0xb5, 0xc8, 0x6a, 0xa4, 0x68, 0x10, 0x65, 0xe1, 0xb5, 0x11, 0xa5, 0xa3, 0x90, - 0x74, 0xd5, 0xe9, 0x30, 0x39, 0xea, 0x92, 0x71, 0x2c, 0xce, 0xb5, 0xb0, 0xdd, 0x85, 0xda, 0x16, - 0x11, 0xb6, 0xd2, 0x77, 0xc8, 0x2f, 0x09, 0xe1, 0x02, 0xad, 0x41, 0x49, 0xfb, 0x75, 0x03, 0xbf, - 0x99, 0x6b, 0xe5, 0xd6, 0x4b, 0xce, 0x92, 0x06, 0x06, 0x7e, 0xfb, 0xd7, 0x1c, 0xd4, 0x0f, 0x62, - 0x1f, 0x0b, 0xf2, 0x8e, 0x08, 0x16, 0x78, 0x13, 0xab, 0x4f, 0x60, 0x21, 0x88, 0x8e, 0xa8, 0x32, - 0x28, 0xf7, 0xee, 0x77, 0x0c, 0x99, 0x8e, 0xf6, 0x3d, 0x88, 0x8e, 0xa8, 0xa3, 0x14, 0x50, 0x1b, - 0x2a, 0xf8, 0x74, 0xe4, 0x7a, 0x71, 0xe2, 0x26, 0x1c, 0x8f, 0x48, 0xb3, 0xd0, 0xca, 0xad, 0xe7, - 0x9d, 0x32, 0x3e, 0x1d, 0xf5, 0xe3, 0xe4, 0x40, 0x42, 0x52, 0x67, 0x8c, 0x3f, 0x64, 0x74, 0x16, - 0xb4, 0xce, 0x18, 0x7f, 0x48, 0x75, 0xda, 0x07, 0xd0, 0xd8, 0x22, 0x62, 0x10, 0x5d, 0xf8, 0x37, - 0x4c, 0xfe, 0x0b, 0x60, 0x32, 0x70, 0x11, 0x40, 0xc9, 0x20, 0x03, 0x5f, 0x8a, 0xb9, 0x60, 0x04, - 0x8f, 0xdd, 0x13, 0x72, 0xde, 0xcc, 0x6b, 0xb1, 0x46, 0xde, 0x92, 0xf3, 0xf6, 0x6f, 0x79, 0x58, - 0xbd, 0xea, 0x97, 0xc7, 0x34, 0xe2, 0x04, 0xad, 0x5f, 0x0a, 0xb1, 0x3e, 0x09, 0x31, 0xab, 0xab, - 0x63, 0xac, 0xc3, 0xa2, 0xa0, 0x27, 0x24, 0x32, 0xee, 0xf5, 0x01, 0x35, 0xa0, 0x78, 0xc6, 0xdd, - 0x84, 0x85, 0x2a, 0xe4, 0x92, 0xb3, 0x78, 0xc6, 0x0f, 0x58, 0x88, 0x0e, 0xa0, 0x1a, 0xd2, 0xd1, - 0x28, 0x88, 0x46, 0xee, 0x51, 0x40, 0x42, 0x9f, 0x37, 0x17, 0x5a, 0x85, 0xf5, 0x72, 0xaf, 0xd3, - 0x61, 0xb1, 0xd7, 0x99, 0xcd, 0xa5, 0xb3, 0xad, 0x2d, 0x5e, 0x2b, 0x03, 0x3b, 0x12, 0xec, 0xdc, - 0xa9, 0x84, 0x59, 0xcc, 0x7a, 0x09, 0x68, 0x5a, 0x09, 0xd5, 0xa0, 0x20, 0xc3, 0xd6, 0x59, 0x91, - 0x9f, 0x92, 0xeb, 0x29, 0x0e, 0x13, 0x92, 0x72, 0x55, 0x87, 0x17, 0xf9, 0xaf, 0x72, 0xed, 0x11, - 0x3c, 0xd0, 0xa5, 0x36, 0x04, 0xf6, 0x04, 0x16, 0xe4, 0x86, 0x59, 0xfe, 0x14, 0x16, 0xb9, 0x54, - 0x57, 0x5e, 0xcb, 0xbd, 0xc6, 0xd5, 0x64, 0x69, 0x5f, 0x5a, 0xa7, 0xfd, 0x47, 0x0e, 0x5a, 0x5b, - 0x44, 0xec, 0x0d, 0x86, 0xfb, 0x2c, 0x89, 0x4e, 0x36, 0x12, 0x71, 0x4c, 0x22, 0x11, 0x78, 0x58, - 0x04, 0x34, 0x4a, 0x2f, 0x7c, 0x08, 0x65, 0x1e, 0xc4, 0xae, 0x87, 0xc3, 0x50, 0xde, 0x58, 0x34, - 0x85, 0x0b, 0xe2, 0x3e, 0x0e, 0xc3, 0x81, 0x8f, 0x10, 0x2c, 0x1c, 0x31, 0x3a, 0x36, 0x61, 0xa8, - 0x6f, 0x54, 0x85, 0xbc, 0xa0, 0x26, 0xdb, 0x79, 0x41, 0xd1, 0x23, 0x28, 0x73, 0xe6, 0xb9, 0xd8, - 0xf7, 0x25, 0x07, 0xd5, 0x55, 0x25, 0x07, 0x38, 0xf3, 0x36, 0x34, 0x82, 0xfe, 0x03, 0x77, 0x05, - 0x75, 0x8f, 0x29, 0x17, 0xcd, 0x45, 0x25, 0x2c, 0x0a, 0xfa, 0x86, 0x72, 0xd1, 0xfe, 0x33, 0x07, - 0x8f, 0x3f, 0x42, 0xd1, 0x74, 0x88, 0x05, 0x4b, 0x09, 0x27, 0x2c, 0xc2, 0x63, 0x92, 0x4e, 0x4e, - 0x7a, 0x96, 0xb2, 0x18, 0x73, 0x7e, 0x46, 0x99, 0x6f, 0x38, 0x4e, 0xce, 0x92, 0xbb, 0xcf, 0x68, - 0xac, 0x98, 0x2e, 0x39, 0xea, 0x1b, 0xb5, 0x60, 0x59, 0xc6, 0x2b, 0xe4, 0x75, 0x32, 0xe0, 0x94, - 0x6c, 0x10, 0x2b, 0x06, 0xba, 0x93, 0x63, 0x46, 0xdf, 0x13, 0x4f, 0x48, 0xb9, 0xe6, 0x5b, 0x32, - 0xc8, 0xc0, 0x6f, 0xff, 0x5d, 0x80, 0x47, 0xb6, 0xac, 0x26, 0x16, 0x64, 0x6f, 0x30, 0x7c, 0x15, - 0xf0, 0x18, 0x0b, 0xef, 0xd8, 0x49, 0x42, 0xc2, 0xe7, 0x24, 0x75, 0xe9, 0x6a, 0x52, 0x3f, 0x03, - 0x24, 0xe5, 0x31, 0x66, 0x22, 0xf0, 0x82, 0x18, 0x47, 0x62, 0x52, 0xed, 0xcd, 0x7c, 0x33, 0xe7, - 0xd4, 0x78, 0x10, 0x0f, 0x2f, 0x84, 0x03, 0x7f, 0x8a, 0x36, 0x4c, 0xd1, 0x7e, 0x0a, 0x55, 0x79, - 0x9f, 0xec, 0xf7, 0x28, 0x19, 0x1f, 0x12, 0x66, 0xd2, 0x51, 0x31, 0xe8, 0x8e, 0x02, 0xd1, 0x13, - 0x50, 0x00, 0xf1, 0x53, 0x2d, 0x5d, 0xc6, 0x65, 0x0d, 0x1a, 0xa5, 0x6b, 0x0b, 0x5a, 0x83, 0x42, - 0x1c, 0x44, 0x26, 0x39, 0xf2, 0x53, 0x4e, 0x61, 0x44, 0x5d, 0x09, 0x16, 0x55, 0xb6, 0x17, 0x23, - 0x3a, 0x0c, 0x22, 0xe9, 0xc9, 0x5c, 0xa7, 0xaa, 0x7f, 0x57, 0x7b, 0xd2, 0x90, 0xec, 0x00, 0xe4, - 0x43, 0x8d, 0x7c, 0x10, 0x0c, 0xbb, 0x58, 0x08, 0x16, 0x1c, 0x26, 0x82, 0xf0, 0x66, 0x49, 0x0d, - 0xea, 0xd7, 0x6a, 0x50, 0xaf, 0x49, 0x75, 0xc7, 0x96, 0xc6, 0x1b, 0x13, 0x5b, 0x3d, 0xb3, 0x2b, - 0xe4, 0x32, 0x6a, 0x6d, 0x42, 0x7d, 0x96, 0xe2, 0xad, 0xe6, 0xf6, 0xf7, 0x25, 0x68, 0xcd, 0x67, - 0x63, 0x5a, 0x75, 0x0d, 0x4a, 0x8c, 0xd2, 0xb1, 0x9b, 0xed, 0x55, 0x09, 0xec, 0xc8, 0x5e, 0xfd, - 0x1c, 0xea, 0x97, 0x4b, 0x2e, 0x7b, 0x5d, 0xa4, 0xaf, 0xe5, 0xfd, 0x38, 0x5b, 0x71, 0x2d, 0x42, - 0xcf, 0xa0, 0x96, 0x35, 0x51, 0x6e, 0x75, 0x12, 0x57, 0x32, 0xf8, 0x2c, 0xef, 0x63, 0x22, 0xb0, - 0x8f, 0x05, 0x36, 0xdd, 0x97, 0xf5, 0xfe, 0xce, 0x88, 0xd0, 0x19, 0xac, 0x66, 0x4d, 0x32, 0x25, - 0x28, 0xab, 0x12, 0xbc, 0xbc, 0xa6, 0x04, 0xe6, 0xd5, 0xcc, 0xb4, 0xea, 0xd5, 0x4a, 0x34, 0xe2, - 0x59, 0x32, 0xf4, 0x04, 0xca, 0x4c, 0x17, 0x50, 0xb5, 0x8c, 0x1a, 0x50, 0xd5, 0xf9, 0x60, 0x60, - 0xd9, 0x3b, 0x93, 0xe7, 0x7e, 0x61, 0xf6, 0x73, 0xbf, 0x98, 0x7d, 0xee, 0x3b, 0x50, 0x64, 0x84, - 0x27, 0xa1, 0x50, 0xfd, 0x57, 0xed, 0xad, 0x2a, 0xea, 0x59, 0xca, 0x4a, 0xea, 0x18, 0xad, 0xa9, - 0x81, 0x2a, 0x4d, 0x0d, 0x54, 0x17, 0xea, 0x52, 0xc3, 0x37, 0xf6, 0x2e, 0x4b, 0x42, 0x72, 0x31, - 0x7a, 0xf7, 0x78, 0x10, 0x67, 0xb3, 0x31, 0xf5, 0x70, 0x2c, 0x5f, 0x79, 0x38, 0xd0, 0x36, 0xdc, - 0x3d, 0x26, 0xd8, 0x27, 0x8c, 0x37, 0x2b, 0x2a, 0xbb, 0xbd, 0x9b, 0x65, 0xf7, 0x8d, 0x36, 0xd2, - 0xf9, 0x4c, 0x5d, 0x20, 0x06, 0x0d, 0xf3, 0xe9, 0x0a, 0x9a, 0xad, 0x5c, 0x55, 0xf9, 0xfe, 0xee, - 0x56, 0xbe, 0xf7, 0xe9, 0xd5, 0xba, 0xdd, 0x3f, 0x9e, 0x96, 0xa0, 0x17, 0x50, 0x23, 0x11, 0x3e, - 0x94, 0xd3, 0x7c, 0x44, 0xb0, 0x48, 0x18, 0xe1, 0xcd, 0x95, 0x56, 0x61, 0xbd, 0xda, 0x5b, 0x49, - 0xb3, 0xfd, 0x5a, 0xe3, 0xce, 0x8a, 0x51, 0x34, 0x67, 0x6e, 0xbd, 0x01, 0x6b, 0x7e, 0x9b, 0xdc, - 0x66, 0x0e, 0xad, 0x17, 0xb0, 0x9c, 0x4d, 0xc9, 0xad, 0x6c, 0x5f, 0x43, 0x73, 0x5e, 0xc8, 0xb7, - 0xf1, 0xf3, 0xfc, 0x19, 0xc0, 0x45, 0xb0, 0x68, 0x09, 0x16, 0x76, 0x76, 0x77, 0xec, 0xda, 0x1d, - 0x74, 0x0f, 0x2a, 0x6f, 0x9d, 0xc1, 0xde, 0xd0, 0xb5, 0x77, 0x36, 0x36, 0xb7, 0xed, 0x57, 0xb5, - 0xdc, 0xf3, 0x9f, 0xe1, 0xde, 0x54, 0x17, 0xa2, 0x26, 0xd4, 0xb7, 0xed, 0xad, 0x8d, 0xfe, 0x8f, - 0xee, 0x46, 0xbf, 0x6f, 0x0f, 0xf7, 0xdd, 0x5d, 0xc7, 0x1d, 0x0e, 0x76, 0x6a, 0x77, 0x10, 0x40, - 0x51, 0x43, 0xb5, 0x1c, 0x5a, 0x81, 0xb2, 0x63, 0xff, 0x70, 0x60, 0xef, 0xed, 0x2b, 0x61, 0x5e, - 0x0a, 0x1d, 0xfb, 0x7b, 0xbb, 0xbf, 0x5f, 0x2b, 0xc8, 0x4b, 0x5f, 0x39, 0xbb, 0xc3, 0xda, 0x42, - 0xef, 0xaf, 0x45, 0x28, 0x0e, 0x76, 0xe5, 0x1e, 0x83, 0xbe, 0x81, 0xe5, 0x3e, 0x23, 0x58, 0x10, - 0xbd, 0x1f, 0xa2, 0x59, 0x0b, 0xa3, 0xb5, 0xda, 0xd1, 0xbb, 0x6b, 0x27, 0xdd, 0x5d, 0x3b, 0xb6, - 0xdc, 0x5d, 0xa5, 0xb1, 0x5e, 0x4c, 0xfe, 0x8d, 0xf1, 0x97, 0x50, 0x9a, 0xac, 0xbc, 0xa8, 0x91, - 0xee, 0x58, 0x97, 0x56, 0x60, 0x6b, 0x96, 0x43, 0x64, 0x03, 0x6c, 0x07, 0x3c, 0xb5, 0xb4, 0x26, - 0x2a, 0x17, 0x60, 0x6a, 0xbe, 0x36, 0x53, 0x66, 0x1e, 0xde, 0x4d, 0xa8, 0x5c, 0x5a, 0xa0, 0xd1, - 0x03, 0xc5, 0x61, 0xd6, 0x52, 0x3d, 0x37, 0x86, 0x6f, 0xa1, 0xa2, 0xb3, 0x67, 0xb6, 0x29, 0x34, - 0x73, 0x19, 0x9d, 0x6b, 0x3e, 0x80, 0xea, 0xe5, 0xb5, 0x12, 0x59, 0x33, 0x77, 0xcd, 0x34, 0x9a, - 0xf9, 0x7b, 0x28, 0xda, 0x06, 0x34, 0xbd, 0x23, 0xa2, 0x87, 0x99, 0x90, 0x66, 0x2c, 0x8f, 0x73, - 0x89, 0xbd, 0x87, 0x07, 0x73, 0x97, 0x2c, 0xf4, 0x34, 0xe5, 0xf1, 0xd1, 0x3d, 0xd1, 0xfa, 0xff, - 0x75, 0x6a, 0x86, 0xf9, 0x08, 0x9a, 0xf3, 0x5e, 0x1d, 0xf4, 0xbf, 0x9b, 0xfc, 0xa2, 0x5b, 0x4f, - 0x6f, 0xf4, 0x74, 0x6d, 0x3e, 0xfe, 0xe9, 0xd1, 0x28, 0x10, 0xc7, 0xc9, 0x61, 0xc7, 0xa3, 0xe3, - 0xae, 0xa9, 0x93, 0xfe, 0x3b, 0xe6, 0xd1, 0xb0, 0xcb, 0x62, 0xef, 0xb0, 0xa8, 0x4e, 0x5f, 0xfc, - 0x13, 0x00, 0x00, 0xff, 0xff, 0xad, 0xdf, 0x6c, 0x4f, 0xec, 0x0d, 0x00, 0x00, + // 1383 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xdb, 0x52, 0xdb, 0x46, + 0x18, 0x8e, 0x6d, 0x70, 0xf0, 0x6f, 0xb0, 0xcd, 0xc6, 0x50, 0x21, 0xa6, 0x09, 0x71, 0x9a, 0x96, + 0xa4, 0x33, 0xa6, 0xa5, 0x17, 0x6d, 0xd3, 0x69, 0x27, 0x1c, 0x14, 0xe2, 0x86, 0x80, 0x2b, 0xe0, + 0xa2, 0xbd, 0x51, 0x17, 0x69, 0x31, 0x0a, 0xb2, 0x56, 0xdd, 0x5d, 0x41, 0x78, 0x82, 0xf6, 0x01, + 0xfa, 0x00, 0x7d, 0x84, 0xbe, 0x5b, 0x67, 0x7a, 0xdd, 0xd9, 0x83, 0x8c, 0xf0, 0x21, 0x40, 0xef, + 0xb4, 0xff, 0x69, 0xbf, 0xff, 0xb4, 0xfe, 0x0c, 0xb3, 0x2c, 0xf1, 0xd7, 0x42, 0xda, 0x4e, 0x18, + 0x15, 0x14, 0x95, 0x58, 0xe2, 0xdb, 0xcd, 0x28, 0x3c, 0x27, 0x67, 0xa1, 0xf0, 0x48, 0x8f, 0x11, + 0xce, 0xb5, 0xca, 0x5e, 0xc8, 0xa4, 0x61, 0x9c, 0x17, 0x2f, 0xf7, 0x28, 0xed, 0x45, 0x64, 0x4d, + 0x9d, 0x8e, 0xd3, 0x93, 0x35, 0xd2, 0x4f, 0xc4, 0xa5, 0x51, 0x3e, 0x1c, 0x56, 0x06, 0x29, 0xc3, + 0x22, 0xa4, 0xb1, 0xd6, 0xb7, 0xd6, 0xa0, 0xb1, 0x43, 0x84, 0xa3, 0xe2, 0xb9, 0xe4, 0xb7, 0x94, + 0x70, 0x81, 0x96, 0xa1, 0xa2, 0xef, 0xf5, 0xc2, 0xc0, 0x2a, 0xac, 0x14, 0x56, 0x2b, 0xee, 0x8c, + 0x16, 0x74, 0x82, 0xd6, 0xef, 0x05, 0x68, 0x1e, 0x25, 0x01, 0x16, 0xe4, 0x2d, 0x11, 0x2c, 0xf4, + 0x07, 0x5e, 0x9f, 0xc1, 0x54, 0x18, 0x9f, 0x50, 0xe5, 0x50, 0x5d, 0x7f, 0xd0, 0x36, 0x60, 0xdb, + 0x3a, 0x76, 0x27, 0x3e, 0xa1, 0xae, 0x32, 0x40, 0x2d, 0x98, 0xc3, 0xe7, 0x3d, 0xcf, 0x4f, 0x52, + 0x2f, 0xe5, 0xb8, 0x47, 0xac, 0xd2, 0x4a, 0x61, 0xb5, 0xe8, 0x56, 0xf1, 0x79, 0x6f, 0x2b, 0x49, + 0x8f, 0xa4, 0x48, 0xda, 0xf4, 0xf1, 0xfb, 0x9c, 0xcd, 0x94, 0xb6, 0xe9, 0xe3, 0xf7, 0x99, 0x4d, + 0xeb, 0x08, 0x16, 0x76, 0x88, 0xe8, 0xc4, 0x57, 0xf1, 0x0d, 0x92, 0x8f, 0x01, 0x4c, 0x85, 0xae, + 0x12, 0xa8, 0x18, 0x49, 0x27, 0x90, 0x6a, 0x2e, 0x18, 0xc1, 0x7d, 0xef, 0x8c, 0x5c, 0x5a, 0x45, + 0xad, 0xd6, 0x92, 0x37, 0xe4, 0xb2, 0xf5, 0x47, 0x11, 0x16, 0x87, 0xe3, 0xf2, 0x84, 0xc6, 0x9c, + 0xa0, 0xd5, 0x6b, 0x29, 0x36, 0x07, 0x29, 0xe6, 0x6d, 0x75, 0x8e, 0x4d, 0x98, 0x16, 0xf4, 0x8c, + 0xc4, 0x26, 0xbc, 0x3e, 0xa0, 0x05, 0x28, 0x5f, 0x70, 0x2f, 0x65, 0x91, 0x4a, 0xb9, 0xe2, 0x4e, + 0x5f, 0xf0, 0x23, 0x16, 0xa1, 0x23, 0xa8, 0x45, 0xb4, 0xd7, 0x0b, 0xe3, 0x9e, 0x77, 0x12, 0x92, + 0x28, 0xe0, 0xd6, 0xd4, 0x4a, 0x69, 0xb5, 0xba, 0xde, 0x6e, 0xb3, 0xc4, 0x6f, 0x8f, 0xc7, 0xd2, + 0xde, 0xd5, 0x1e, 0xaf, 0x94, 0x83, 0x13, 0x0b, 0x76, 0xe9, 0xce, 0x45, 0x79, 0x99, 0xfd, 0x12, + 0xd0, 0xa8, 0x11, 0x6a, 0x40, 0x49, 0xa6, 0xad, 0xab, 0x22, 0x3f, 0x25, 0xd6, 0x73, 0x1c, 0xa5, + 0x24, 0xc3, 0xaa, 0x0e, 0x2f, 0x8a, 0xdf, 0x14, 0x5a, 0x3d, 0x58, 0xd2, 0xad, 0x36, 0x00, 0x0e, + 0x04, 0x16, 0xe4, 0x96, 0x55, 0xfe, 0x1c, 0xa6, 0xb9, 0x34, 0x57, 0x51, 0xab, 0xeb, 0x0b, 0xc3, + 0xc5, 0xd2, 0xb1, 0xb4, 0x4d, 0xeb, 0xaf, 0x02, 0xac, 0xec, 0x10, 0x71, 0xd0, 0xe9, 0x1e, 0xb2, + 0x34, 0x3e, 0xdb, 0x48, 0xc5, 0x29, 0x89, 0x45, 0xe8, 0xab, 0x49, 0xcd, 0x2e, 0x7c, 0x08, 0x55, + 0x1e, 0x26, 0x9e, 0x8f, 0xa3, 0x48, 0xde, 0x58, 0x36, 0x8d, 0x0b, 0x93, 0x2d, 0x1c, 0x45, 0x9d, + 0x00, 0x21, 0x98, 0x3a, 0x61, 0xb4, 0x6f, 0xd2, 0x50, 0xdf, 0xa8, 0x06, 0x45, 0x41, 0x4d, 0xb5, + 0x8b, 0x82, 0xa2, 0x47, 0x50, 0xe5, 0xcc, 0xf7, 0x70, 0x10, 0x48, 0x0c, 0x6a, 0xaa, 0x2a, 0x2e, + 0x70, 0xe6, 0x6f, 0x68, 0x09, 0xfa, 0x08, 0xee, 0x0b, 0xea, 0x9d, 0x52, 0x2e, 0xac, 0x69, 0xa5, + 0x2c, 0x0b, 0xfa, 0x9a, 0x72, 0xd1, 0xfa, 0xbb, 0x00, 0x8f, 0x3f, 0x00, 0xd1, 0x4c, 0x88, 0x0d, + 0x33, 0x29, 0x27, 0x2c, 0xc6, 0x7d, 0x92, 0x6d, 0x4e, 0x76, 0x96, 0xba, 0x04, 0x73, 0x7e, 0x41, + 0x59, 0x60, 0x30, 0x0e, 0xce, 0x12, 0x7b, 0xc0, 0x68, 0xa2, 0x90, 0xce, 0xb8, 0xea, 0x1b, 0xad, + 0xc0, 0xac, 0xcc, 0x57, 0xc8, 0xeb, 0x64, 0xc2, 0x19, 0xd8, 0x30, 0x51, 0x08, 0xf4, 0x24, 0x27, + 0x8c, 0xbe, 0x23, 0xbe, 0x90, 0x7a, 0x8d, 0xb7, 0x62, 0x24, 0x9d, 0xa0, 0xf5, 0x6f, 0x09, 0x1e, + 0x39, 0xb2, 0x9b, 0x58, 0x90, 0x83, 0x4e, 0x77, 0x3b, 0xe4, 0x09, 0x16, 0xfe, 0xa9, 0x9b, 0x46, + 0x84, 0x4f, 0x28, 0xea, 0xcc, 0x70, 0x51, 0xbf, 0x00, 0x24, 0xf5, 0x09, 0x66, 0x22, 0xf4, 0xc3, + 0x04, 0xc7, 0x62, 0xd0, 0xed, 0xcd, 0xa2, 0x55, 0x70, 0x1b, 0x3c, 0x4c, 0xba, 0x57, 0xca, 0x4e, + 0x30, 0x02, 0x1b, 0x46, 0x60, 0x3f, 0x85, 0x9a, 0xbc, 0x4f, 0xce, 0x7b, 0x9c, 0xf6, 0x8f, 0x09, + 0x33, 0xe5, 0x98, 0x33, 0xd2, 0x3d, 0x25, 0x44, 0x4f, 0x40, 0x09, 0x48, 0x90, 0x59, 0xe9, 0x36, + 0xce, 0x6a, 0xa1, 0x31, 0xba, 0xb1, 0xa1, 0x0d, 0x28, 0x25, 0x61, 0x6c, 0x8a, 0x23, 0x3f, 0xe5, + 0x16, 0xc6, 0xd4, 0x93, 0xc2, 0xb2, 0xaa, 0xf6, 0x74, 0x4c, 0xbb, 0x61, 0x2c, 0x23, 0x99, 0xeb, + 0x54, 0xf7, 0xef, 0xeb, 0x48, 0x5a, 0x24, 0x27, 0x00, 0x05, 0xd0, 0x20, 0xef, 0x05, 0xc3, 0x1e, + 0x16, 0x82, 0x85, 0xc7, 0xa9, 0x20, 0xdc, 0xaa, 0xa8, 0x45, 0xfd, 0x56, 0x2d, 0xea, 0x0d, 0xa5, + 0x6e, 0x3b, 0xd2, 0x79, 0x63, 0xe0, 0xab, 0x77, 0xb6, 0x4e, 0xae, 0x4b, 0xed, 0x4d, 0x68, 0x8e, + 0x33, 0xbc, 0xd3, 0xde, 0xfe, 0x59, 0x81, 0x95, 0xc9, 0x68, 0xcc, 0xa8, 0x2e, 0x43, 0x85, 0x51, + 0xda, 0xf7, 0xf2, 0xb3, 0x2a, 0x05, 0x7b, 0x72, 0x56, 0xbf, 0x84, 0xe6, 0xf5, 0x96, 0xcb, 0x59, + 0x17, 0xd9, 0x6b, 0xf9, 0x20, 0xc9, 0x77, 0x5c, 0xab, 0xd0, 0x33, 0x68, 0xe4, 0x5d, 0x54, 0x58, + 0x5d, 0xc4, 0x7a, 0x4e, 0x3e, 0x2e, 0x7a, 0x9f, 0x08, 0x1c, 0x60, 0x81, 0xcd, 0xf4, 0xe5, 0xa3, + 0xbf, 0x35, 0x2a, 0x74, 0x01, 0x8b, 0x79, 0x97, 0x5c, 0x0b, 0xaa, 0xaa, 0x05, 0x2f, 0x6f, 0x68, + 0x81, 0x79, 0x35, 0x73, 0xa3, 0x3a, 0xdc, 0x89, 0x85, 0x64, 0x9c, 0x0e, 0x3d, 0x81, 0x2a, 0xd3, + 0x0d, 0x54, 0x23, 0xa3, 0x16, 0x54, 0x4d, 0x3e, 0x18, 0xb1, 0x9c, 0x9d, 0xc1, 0x73, 0x3f, 0x35, + 0xfe, 0xb9, 0x9f, 0xce, 0x3f, 0xf7, 0x6d, 0x28, 0x33, 0xc2, 0xd3, 0x48, 0xa8, 0xf9, 0xab, 0xad, + 0x2f, 0x2a, 0xe8, 0x79, 0xc8, 0x4a, 0xeb, 0x1a, 0xab, 0x91, 0x85, 0xaa, 0x8c, 0x2c, 0xd4, 0x1a, + 0x34, 0xa5, 0x45, 0x60, 0xfc, 0x3d, 0x96, 0x46, 0xe4, 0x6a, 0xf5, 0xe6, 0x79, 0x98, 0xe4, 0xab, + 0x31, 0xf2, 0x70, 0xcc, 0x0e, 0x3d, 0x1c, 0x68, 0x17, 0xee, 0x9f, 0x12, 0x1c, 0x10, 0xc6, 0xad, + 0x39, 0x55, 0xdd, 0xf5, 0xdb, 0x55, 0xf7, 0xb5, 0x76, 0xd2, 0xf5, 0xcc, 0x42, 0x20, 0x06, 0x0b, + 0xe6, 0xd3, 0x13, 0x34, 0xdf, 0xb9, 0x9a, 0x8a, 0xfd, 0xc3, 0x9d, 0x62, 0x1f, 0xd2, 0xe1, 0xbe, + 0x3d, 0x38, 0x1d, 0xd5, 0xa0, 0x17, 0xd0, 0x20, 0x31, 0x3e, 0x96, 0xdb, 0x7c, 0x42, 0xb0, 0x48, + 0x19, 0xe1, 0x56, 0x7d, 0xa5, 0xb4, 0x5a, 0x5b, 0xaf, 0x67, 0xd5, 0x7e, 0xa5, 0xe5, 0x6e, 0xdd, + 0x18, 0x9a, 0x33, 0x47, 0x9b, 0x50, 0x67, 0x61, 0xac, 0x7e, 0x8e, 0x45, 0xd8, 0x27, 0x34, 0x15, + 0x56, 0x43, 0xfd, 0x86, 0x2d, 0xb5, 0x35, 0x99, 0x6a, 0x67, 0x64, 0xaa, 0xbd, 0x6d, 0xc8, 0x94, + 0x5b, 0x33, 0x1e, 0x87, 0xda, 0x01, 0x39, 0x30, 0xaf, 0xf8, 0x8b, 0x7c, 0x56, 0x33, 0xc6, 0x65, + 0xcd, 0xdf, 0x14, 0xa5, 0x2e, 0xe9, 0x0d, 0x8e, 0xa2, 0x4c, 0x60, 0xbf, 0x06, 0x7b, 0xf2, 0xc4, + 0xde, 0xe5, 0x49, 0xb0, 0x5f, 0xc0, 0x6c, 0xbe, 0x3b, 0x77, 0xf2, 0x7d, 0x05, 0xd6, 0xa4, 0xea, + 0xdf, 0x25, 0xce, 0xf3, 0x67, 0x00, 0x57, 0x75, 0x47, 0x33, 0x30, 0xb5, 0xb7, 0xbf, 0xe7, 0x34, + 0xee, 0xa1, 0x79, 0x98, 0x7b, 0xe3, 0x76, 0x0e, 0xba, 0x9e, 0xb3, 0xb7, 0xb1, 0xb9, 0xeb, 0x6c, + 0x37, 0x0a, 0xcf, 0x7f, 0x85, 0xf9, 0x91, 0x85, 0x40, 0x16, 0x34, 0x77, 0x9d, 0x9d, 0x8d, 0xad, + 0x9f, 0xbd, 0x8d, 0xad, 0x2d, 0xa7, 0x7b, 0xe8, 0xed, 0xbb, 0x5e, 0xb7, 0xb3, 0xd7, 0xb8, 0x87, + 0x00, 0xca, 0x5a, 0xd4, 0x28, 0xa0, 0x3a, 0x54, 0x5d, 0xe7, 0xa7, 0x23, 0xe7, 0xe0, 0x50, 0x29, + 0x8b, 0x52, 0xe9, 0x3a, 0x3f, 0x3a, 0x5b, 0x87, 0x8d, 0x92, 0xbc, 0x74, 0xdb, 0xdd, 0xef, 0x36, + 0xa6, 0xd6, 0xff, 0x99, 0x86, 0x72, 0x67, 0x5f, 0x52, 0x2a, 0xf4, 0x1d, 0xcc, 0x6e, 0x31, 0x82, + 0x05, 0xd1, 0x54, 0x15, 0x8d, 0xe3, 0xae, 0xf6, 0xe2, 0x48, 0xdb, 0x1c, 0x49, 0xb3, 0xa5, 0xb3, + 0xe6, 0x48, 0xff, 0xc7, 0xf9, 0x6b, 0xa8, 0x0c, 0xd8, 0x37, 0x5a, 0xc8, 0xe8, 0xde, 0x35, 0x36, + 0x6e, 0x8f, 0x0b, 0x88, 0x1c, 0x80, 0xdd, 0x90, 0x67, 0x9e, 0xf6, 0xc0, 0xe4, 0x4a, 0x98, 0xb9, + 0x2f, 0x8f, 0xd5, 0x99, 0xdf, 0x80, 0x4d, 0x98, 0xbb, 0xc6, 0xe5, 0xd1, 0x92, 0xc2, 0x30, 0x8e, + 0xdf, 0x4f, 0xcc, 0xe1, 0x7b, 0x98, 0xd3, 0xd5, 0x33, 0xc4, 0x0e, 0x8d, 0xe5, 0xc5, 0x13, 0xdd, + 0x3b, 0x50, 0xbb, 0xce, 0x70, 0x91, 0x3d, 0x96, 0xf6, 0x66, 0xd9, 0x4c, 0xa6, 0xc4, 0x68, 0x17, + 0xd0, 0x28, 0x5d, 0x45, 0x0f, 0x73, 0x29, 0x8d, 0xe1, 0xb1, 0x13, 0x81, 0xbd, 0x83, 0xa5, 0x89, + 0x7c, 0x0f, 0x3d, 0xcd, 0x70, 0x7c, 0x90, 0xb2, 0xda, 0x9f, 0xde, 0x64, 0x66, 0x90, 0xf7, 0xc0, + 0x9a, 0xf4, 0x00, 0xa2, 0x4f, 0x6e, 0x43, 0x2e, 0xec, 0xa7, 0xb7, 0x7a, 0x45, 0x37, 0x1f, 0xff, + 0xf2, 0xa8, 0x17, 0x8a, 0xd3, 0xf4, 0xb8, 0xed, 0xd3, 0xfe, 0x9a, 0xe9, 0x93, 0xfe, 0x73, 0xe8, + 0xd3, 0x68, 0x8d, 0x25, 0xfe, 0x71, 0x59, 0x9d, 0xbe, 0xfa, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x78, + 0x34, 0x20, 0xb1, 0x97, 0x0e, 0x00, 0x00, } diff --git a/rpc/sip.go b/rpc/sip.go index 2b98830c..488a0a3a 100644 --- a/rpc/sip.go +++ b/rpc/sip.go @@ -67,5 +67,7 @@ func NewCreateSIPParticipantRequest( PlayRingtone: req.PlayRingtone, Headers: trunk.Headers, HeadersToAttributes: trunk.HeadersToAttributes, + RingingTimeout: req.RingingTimeout, + MaxCallDuration: req.MaxCallDuration, }, nil } diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index b6c618fe..e06a9523 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -25,6 +25,7 @@ import ( _ "github.com/livekit/psrpc/protoc-gen-psrpc/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" @@ -73,6 +74,10 @@ type InternalCreateSIPParticipantRequest struct { PlayRingtone bool `protobuf:"varint,12,opt,name=play_ringtone,json=playRingtone,proto3" json:"play_ringtone,omitempty"` Headers map[string]string `protobuf:"bytes,21,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` HeadersToAttributes map[string]string `protobuf:"bytes,22,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Max time for the callee to answer the call. + RingingTimeout *durationpb.Duration `protobuf:"bytes,23,opt,name=ringing_timeout,json=ringingTimeout,proto3" json:"ringing_timeout,omitempty"` + // Max call duration. + MaxCallDuration *durationpb.Duration `protobuf:"bytes,24,opt,name=max_call_duration,json=maxCallDuration,proto3" json:"max_call_duration,omitempty"` } func (x *InternalCreateSIPParticipantRequest) Reset() { @@ -252,6 +257,20 @@ func (x *InternalCreateSIPParticipantRequest) GetHeadersToAttributes() map[strin return nil } +func (x *InternalCreateSIPParticipantRequest) GetRingingTimeout() *durationpb.Duration { + if x != nil { + return x.RingingTimeout + } + return nil +} + +func (x *InternalCreateSIPParticipantRequest) GetMaxCallDuration() *durationpb.Duration { + if x != nil { + return x.MaxCallDuration + } + return nil +} + type InternalCreateSIPParticipantResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -372,9 +391,11 @@ var file_rpc_sip_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x09, 0x0a, 0x23, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x0a, 0x0a, 0x23, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 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, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, @@ -433,55 +454,64 @@ var file_rpc_sip_proto_rawDesc = []byte{ 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x74, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 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, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x1a, 0x46, - 0x0a, 0x18, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 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, 0xa0, 0x01, 0x0a, 0x24, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x1e, 0x0a, 0x0b, 0x73, 0x69, 0x70, - 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x73, 0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x22, 0x68, 0x0a, 0x25, 0x49, 0x6e, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 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, 0x1e, 0x0a, 0x0b, 0x73, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, - 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, - 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, - 0x72, 0x54, 0x6f, 0x32, 0xf9, 0x01, 0x0a, 0x0b, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x12, 0x75, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, - 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 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, 0x29, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, - 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x08, 0xb2, 0x89, 0x01, 0x04, 0x10, 0x01, 0x30, 0x01, 0x12, 0x73, 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, 0x2a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x53, 0x49, 0x50, 0x50, 0x61, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x0f, 0x72, 0x69, 0x6e, 0x67, + 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x17, 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, 0x18, 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, 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, 0x1a, 0x3a, 0x0a, + 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x1a, 0x46, 0x0a, 0x18, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 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, 0xa0, 0x01, 0x0a, 0x24, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x1e, 0x0a, 0x0b, 0x73, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x6c, 0x6c, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x70, 0x43, 0x61, + 0x6c, 0x6c, 0x49, 0x64, 0x22, 0x68, 0x0a, 0x25, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 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, 0x1e, 0x0a, + 0x0b, 0x73, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x32, 0xf9, + 0x01, 0x0a, 0x0b, 0x53, 0x49, 0x50, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x75, + 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 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, 0x22, 0x15, 0xb2, 0x89, 0x01, 0x11, 0x10, 0x01, - 0x1a, 0x0d, 0x12, 0x0b, 0x73, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x42, - 0x21, 0x5a, 0x1f, 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, 0x72, - 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x1a, 0x29, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xb2, 0x89, 0x01, + 0x04, 0x10, 0x01, 0x30, 0x01, 0x12, 0x73, 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, + 0x2a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 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, 0x22, 0x15, 0xb2, 0x89, 0x01, 0x11, 0x10, 0x01, 0x1a, 0x0d, 0x12, 0x0b, 0x73, + 0x69, 0x70, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x42, 0x21, 0x5a, 0x1f, 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, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -501,26 +531,29 @@ var file_rpc_sip_proto_goTypes = []any{ (*InternalCreateSIPParticipantRequest)(nil), // 0: rpc.InternalCreateSIPParticipantRequest (*InternalCreateSIPParticipantResponse)(nil), // 1: rpc.InternalCreateSIPParticipantResponse (*InternalTransferSIPParticipantRequest)(nil), // 2: rpc.InternalTransferSIPParticipantRequest - nil, // 3: rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntry - nil, // 4: rpc.InternalCreateSIPParticipantRequest.HeadersEntry - nil, // 5: rpc.InternalCreateSIPParticipantRequest.HeadersToAttributesEntry - (livekit.SIPTransport)(0), // 6: livekit.SIPTransport - (*emptypb.Empty)(nil), // 7: google.protobuf.Empty + nil, // 3: rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntry + nil, // 4: rpc.InternalCreateSIPParticipantRequest.HeadersEntry + nil, // 5: rpc.InternalCreateSIPParticipantRequest.HeadersToAttributesEntry + (livekit.SIPTransport)(0), // 6: livekit.SIPTransport + (*durationpb.Duration)(nil), // 7: google.protobuf.Duration + (*emptypb.Empty)(nil), // 8: google.protobuf.Empty } var file_rpc_sip_proto_depIdxs = []int32{ 6, // 0: rpc.InternalCreateSIPParticipantRequest.transport:type_name -> livekit.SIPTransport 3, // 1: rpc.InternalCreateSIPParticipantRequest.participant_attributes:type_name -> rpc.InternalCreateSIPParticipantRequest.ParticipantAttributesEntry 4, // 2: rpc.InternalCreateSIPParticipantRequest.headers:type_name -> rpc.InternalCreateSIPParticipantRequest.HeadersEntry 5, // 3: rpc.InternalCreateSIPParticipantRequest.headers_to_attributes:type_name -> rpc.InternalCreateSIPParticipantRequest.HeadersToAttributesEntry - 0, // 4: rpc.SIPInternal.CreateSIPParticipant:input_type -> rpc.InternalCreateSIPParticipantRequest - 2, // 5: rpc.SIPInternal.TransferSIPParticipant:input_type -> rpc.InternalTransferSIPParticipantRequest - 1, // 6: rpc.SIPInternal.CreateSIPParticipant:output_type -> rpc.InternalCreateSIPParticipantResponse - 7, // 7: rpc.SIPInternal.TransferSIPParticipant:output_type -> google.protobuf.Empty - 6, // [6:8] is the sub-list for method output_type - 4, // [4:6] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name + 7, // 4: rpc.InternalCreateSIPParticipantRequest.ringing_timeout:type_name -> google.protobuf.Duration + 7, // 5: rpc.InternalCreateSIPParticipantRequest.max_call_duration:type_name -> google.protobuf.Duration + 0, // 6: rpc.SIPInternal.CreateSIPParticipant:input_type -> rpc.InternalCreateSIPParticipantRequest + 2, // 7: rpc.SIPInternal.TransferSIPParticipant:input_type -> rpc.InternalTransferSIPParticipantRequest + 1, // 8: rpc.SIPInternal.CreateSIPParticipant:output_type -> rpc.InternalCreateSIPParticipantResponse + 8, // 9: rpc.SIPInternal.TransferSIPParticipant:output_type -> google.protobuf.Empty + 8, // [8:10] is the sub-list for method output_type + 6, // [6:8] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name } func init() { file_rpc_sip_proto_init() } diff --git a/rpc/sip.psrpc.go b/rpc/sip.psrpc.go index 37b9f3c2..d3da503d 100644 --- a/rpc/sip.psrpc.go +++ b/rpc/sip.psrpc.go @@ -150,52 +150,56 @@ func (s *sIPInternalServer) Kill() { } var psrpcFileDescriptor10 = []byte{ - // 744 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x41, 0x4f, 0xeb, 0x46, - 0x10, 0x96, 0xc9, 0x7b, 0x09, 0x99, 0x24, 0xbc, 0xb0, 0x24, 0xe9, 0xca, 0xa8, 0x25, 0x0d, 0x45, - 0x0a, 0x3d, 0x38, 0x2d, 0xa8, 0x52, 0xc5, 0xa9, 0x14, 0x51, 0xe1, 0x43, 0xdb, 0x28, 0xa4, 0x97, - 0x5e, 0xac, 0x8d, 0xbd, 0x24, 0x6e, 0x6c, 0xef, 0x76, 0x77, 0x4d, 0x94, 0x9e, 0x7a, 0xe5, 0x5f, - 0xf4, 0x37, 0xf0, 0xf7, 0x7a, 0x79, 0xf2, 0xda, 0x06, 0x13, 0x12, 0x14, 0x6e, 0x3b, 0xdf, 0x37, - 0xf3, 0x79, 0xe6, 0x93, 0x77, 0x16, 0x1a, 0x82, 0xbb, 0x03, 0xe9, 0x73, 0x8b, 0x0b, 0xa6, 0x18, - 0x2a, 0x09, 0xee, 0x9a, 0x87, 0x53, 0xc6, 0xa6, 0x01, 0x1d, 0x68, 0x68, 0x12, 0xdf, 0x0d, 0x68, - 0xc8, 0xd5, 0x32, 0xcd, 0x30, 0x1b, 0x8c, 0x2b, 0x9f, 0x45, 0x32, 0x0b, 0xf7, 0x03, 0xff, 0x9e, - 0xce, 0x7d, 0xe5, 0x3c, 0x69, 0xf4, 0xfe, 0xad, 0xc2, 0xb1, 0x1d, 0x29, 0x2a, 0x22, 0x12, 0x5c, - 0x09, 0x4a, 0x14, 0xbd, 0xb5, 0x87, 0x43, 0x22, 0x94, 0xef, 0xfa, 0x9c, 0x44, 0x6a, 0x44, 0xff, - 0x8e, 0xa9, 0x54, 0xe8, 0x4b, 0x00, 0x2e, 0xd8, 0x5f, 0xd4, 0x55, 0x8e, 0xef, 0x61, 0xd4, 0x35, - 0xfa, 0xd5, 0x51, 0x35, 0x43, 0x6c, 0x0f, 0x7d, 0x05, 0x35, 0xe9, 0x73, 0xc7, 0x25, 0x41, 0x90, - 0xf0, 0x8d, 0x94, 0x97, 0x3e, 0xbf, 0x22, 0x41, 0x60, 0x7b, 0xa8, 0x0b, 0xf5, 0x84, 0x57, 0x22, - 0x8e, 0xe6, 0x49, 0xc2, 0x81, 0x4e, 0x00, 0xe9, 0xf3, 0x71, 0x02, 0xd9, 0x1e, 0xc2, 0x50, 0x21, - 0x9e, 0x27, 0xa8, 0x94, 0x78, 0x47, 0x93, 0x79, 0x88, 0x4c, 0xd8, 0x9d, 0x31, 0xa9, 0x22, 0x12, - 0x52, 0xdc, 0xd2, 0xd4, 0x53, 0x8c, 0xce, 0xa1, 0xaa, 0x04, 0x89, 0x24, 0x67, 0x42, 0xe1, 0x66, - 0xd7, 0xe8, 0xef, 0x9d, 0xb5, 0xad, 0x6c, 0x4a, 0xeb, 0xd6, 0x1e, 0x8e, 0x73, 0x72, 0xf4, 0x9c, - 0x87, 0x3a, 0x50, 0x8e, 0xe2, 0x70, 0x42, 0x05, 0x2e, 0x69, 0xb9, 0x2c, 0x42, 0x5f, 0x40, 0x45, - 0x0f, 0xa0, 0x18, 0xfe, 0x90, 0x12, 0x49, 0x38, 0x66, 0x49, 0x07, 0xb1, 0x4c, 0x2c, 0x0a, 0x29, - 0xfe, 0x98, 0x76, 0x90, 0xc7, 0x09, 0xc7, 0x89, 0x94, 0x0b, 0x26, 0x3c, 0x5c, 0x4e, 0xb9, 0x3c, - 0x46, 0x87, 0x50, 0x15, 0x8c, 0x85, 0x8e, 0x2e, 0xac, 0xa4, 0x64, 0x02, 0xfc, 0x96, 0x14, 0x7e, - 0x0f, 0x2d, 0xfe, 0xec, 0xb3, 0xe3, 0x7b, 0x34, 0x52, 0xbe, 0x5a, 0xe2, 0x5d, 0x9d, 0x77, 0x50, - 0xe0, 0xec, 0x8c, 0x42, 0xa7, 0xd0, 0x2c, 0x96, 0x68, 0xd9, 0x3d, 0x9d, 0xfe, 0xa9, 0x80, 0xaf, - 0x53, 0x0f, 0xa9, 0x22, 0x1e, 0x51, 0x04, 0x7f, 0x7a, 0xa5, 0xfe, 0x6b, 0x46, 0xa1, 0x7f, 0xa0, - 0x53, 0x2c, 0x21, 0x4a, 0x09, 0x7f, 0x12, 0x2b, 0x2a, 0xf1, 0x7e, 0xb7, 0xd4, 0xaf, 0x9d, 0x5d, - 0x59, 0x82, 0xbb, 0xd6, 0x16, 0x3f, 0x8b, 0x55, 0x80, 0x2e, 0x9f, 0x54, 0xae, 0x23, 0x25, 0x96, - 0xa3, 0x36, 0x5f, 0xc7, 0xa1, 0x16, 0x7c, 0x54, 0x6c, 0x4e, 0x23, 0x5c, 0xd5, 0xfd, 0xa5, 0x01, - 0x6a, 0x43, 0x79, 0x21, 0x9d, 0x58, 0x04, 0x18, 0x52, 0x78, 0x21, 0xff, 0x10, 0x01, 0x42, 0xf0, - 0xc1, 0x53, 0xe1, 0x1d, 0xae, 0x69, 0x50, 0x9f, 0xd1, 0x31, 0x34, 0x78, 0x40, 0x96, 0x8e, 0xf0, - 0xa3, 0xa9, 0x62, 0x11, 0xc5, 0xf5, 0xae, 0xd1, 0xdf, 0x1d, 0xd5, 0x13, 0x70, 0x94, 0x61, 0xe8, - 0x77, 0xa8, 0xcc, 0x28, 0xf1, 0xa8, 0x90, 0xb8, 0xad, 0x47, 0xfa, 0x61, 0xeb, 0x91, 0x6e, 0xd2, - 0xba, 0x74, 0x88, 0x5c, 0x05, 0xc5, 0xd0, 0xce, 0x8e, 0x8e, 0x62, 0x45, 0xc7, 0x3a, 0x5a, 0xfe, - 0xf2, 0xbd, 0xf2, 0x63, 0xb6, 0xea, 0xd7, 0xc1, 0xec, 0x35, 0x63, 0xde, 0x80, 0xb9, 0xd9, 0x62, - 0xd4, 0x84, 0xd2, 0x9c, 0x2e, 0xb1, 0xa1, 0xdd, 0x49, 0x8e, 0x89, 0xbb, 0xf7, 0x24, 0x88, 0x69, - 0x76, 0xb3, 0xd2, 0xe0, 0x62, 0xe7, 0x47, 0xc3, 0xbc, 0x80, 0x7a, 0x71, 0xb2, 0x77, 0xd5, 0xfe, - 0x02, 0x78, 0x53, 0xdb, 0xef, 0xd1, 0xe9, 0xfd, 0x67, 0xc0, 0x37, 0x6f, 0x7b, 0x24, 0x39, 0x8b, - 0x24, 0x45, 0x27, 0xb0, 0xf7, 0xf2, 0xc6, 0x64, 0xfa, 0x8d, 0x17, 0x77, 0x65, 0xe3, 0xc5, 0xda, - 0xd9, 0x7c, 0xb1, 0x56, 0xd6, 0x57, 0x69, 0x65, 0x7d, 0xf5, 0x66, 0x70, 0x92, 0x77, 0xa8, 0x37, - 0xca, 0x1d, 0x15, 0xeb, 0xd7, 0xe4, 0x8a, 0x90, 0xb1, 0xba, 0x07, 0x8f, 0xa0, 0xa6, 0x32, 0x81, - 0x64, 0xcd, 0xa4, 0x2d, 0x41, 0x0e, 0x8d, 0xd9, 0xd9, 0xff, 0x06, 0xd4, 0x6e, 0xed, 0x61, 0xfe, - 0x35, 0xb4, 0x80, 0xd6, 0x3a, 0x4f, 0x50, 0x7f, 0xdb, 0x5f, 0xcb, 0x3c, 0xdd, 0x22, 0x33, 0x35, - 0xb8, 0x07, 0x8f, 0x0f, 0x46, 0xb9, 0x69, 0xfc, 0x64, 0x7c, 0x67, 0x20, 0x09, 0x9d, 0xf5, 0xa3, - 0xa2, 0x6f, 0x5f, 0x08, 0xbe, 0xe9, 0x87, 0xd9, 0xb1, 0xd2, 0xe7, 0xc9, 0xca, 0x9f, 0x27, 0xeb, - 0x3a, 0x79, 0x9e, 0x7a, 0xed, 0xc7, 0x07, 0x63, 0xbf, 0x69, 0x98, 0x0d, 0x54, 0xf4, 0xeb, 0xe7, - 0xaf, 0xff, 0x3c, 0x9a, 0xfa, 0x6a, 0x16, 0x4f, 0x2c, 0x97, 0x85, 0x83, 0x6c, 0x8f, 0xa7, 0x4f, - 0x9b, 0xcb, 0x82, 0x81, 0xe0, 0xee, 0xa4, 0xac, 0xa3, 0xf3, 0xcf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x38, 0x4e, 0x65, 0x08, 0x0c, 0x07, 0x00, 0x00, + // 810 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xc1, 0x72, 0xdb, 0x36, + 0x10, 0x1d, 0x5a, 0x89, 0x6c, 0xad, 0x2c, 0x5b, 0x86, 0x2d, 0x05, 0x65, 0xa6, 0x89, 0xaa, 0x34, + 0x33, 0x4a, 0x0f, 0x54, 0xeb, 0x4c, 0x67, 0x3a, 0x39, 0x35, 0x71, 0xdd, 0x09, 0x0f, 0x6d, 0x3d, + 0xb2, 0x7a, 0xe9, 0x85, 0x03, 0x91, 0xb0, 0x84, 0x9a, 0x24, 0x50, 0x00, 0x8c, 0xa3, 0xfe, 0x41, + 0xa6, 0x3f, 0xd1, 0x6f, 0xc8, 0xef, 0xf5, 0xd2, 0x01, 0x40, 0x3a, 0xb4, 0x2c, 0x3b, 0xf6, 0x8d, + 0xef, 0xbd, 0xdd, 0x47, 0xec, 0x82, 0xbb, 0x84, 0x8e, 0x14, 0xf1, 0x58, 0x31, 0x11, 0x08, 0xc9, + 0x35, 0x47, 0x0d, 0x29, 0x62, 0xff, 0xf1, 0x9c, 0xf3, 0x79, 0x4a, 0xc7, 0x96, 0x9a, 0x15, 0x67, + 0x63, 0x9a, 0x09, 0xbd, 0x74, 0x11, 0xfe, 0x93, 0x55, 0x31, 0x29, 0x24, 0xd1, 0x8c, 0xe7, 0xa5, + 0xde, 0xe1, 0xc2, 0x20, 0x55, 0xc2, 0xbd, 0x94, 0xbd, 0xa3, 0xe7, 0x4c, 0x47, 0x97, 0xef, 0x18, + 0xfe, 0x03, 0xf0, 0x2c, 0xcc, 0x35, 0x95, 0x39, 0x49, 0x8f, 0x24, 0x25, 0x9a, 0x9e, 0x86, 0x27, + 0x27, 0x44, 0x6a, 0x16, 0x33, 0x41, 0x72, 0x3d, 0xa1, 0x7f, 0x15, 0x54, 0x69, 0xf4, 0x25, 0x80, + 0x90, 0xfc, 0x4f, 0x1a, 0xeb, 0x88, 0x25, 0x18, 0x0d, 0xbc, 0x51, 0x6b, 0xd2, 0x2a, 0x99, 0x30, + 0x41, 0x4f, 0xa0, 0xad, 0x98, 0x88, 0x62, 0x92, 0xa6, 0x46, 0xef, 0x38, 0x5d, 0x31, 0x71, 0x44, + 0xd2, 0x34, 0x4c, 0xd0, 0x00, 0xb6, 0x8d, 0xae, 0x65, 0x91, 0x9f, 0x9b, 0x80, 0x7d, 0x1b, 0x00, + 0x8a, 0x89, 0xa9, 0xa1, 0xc2, 0x04, 0x61, 0xd8, 0x24, 0x49, 0x22, 0xa9, 0x52, 0x78, 0xc3, 0x8a, + 0x15, 0x44, 0x3e, 0x6c, 0x2d, 0xb8, 0xd2, 0x39, 0xc9, 0x28, 0x3e, 0xb0, 0xd2, 0x25, 0x46, 0x2f, + 0xa1, 0xa5, 0x25, 0xc9, 0x95, 0xe0, 0x52, 0xe3, 0xee, 0xc0, 0x1b, 0xed, 0x1c, 0xf6, 0x82, 0xb2, + 0xca, 0xe0, 0x34, 0x3c, 0x99, 0x56, 0xe2, 0xe4, 0x53, 0x1c, 0xea, 0x43, 0x33, 0x2f, 0xb2, 0x19, + 0x95, 0xb8, 0x61, 0xed, 0x4a, 0x84, 0x1e, 0xc1, 0xa6, 0x2d, 0x40, 0x73, 0xfc, 0xc0, 0x09, 0x06, + 0x4e, 0xb9, 0x39, 0x41, 0xa1, 0x4c, 0x8b, 0x32, 0x8a, 0x1f, 0xba, 0x13, 0x54, 0xd8, 0x68, 0x82, + 0x28, 0x75, 0xc1, 0x65, 0x82, 0x9b, 0x4e, 0xab, 0x30, 0x7a, 0x0c, 0x2d, 0xc9, 0x79, 0x16, 0xd9, + 0xc4, 0x4d, 0x27, 0x1a, 0xe2, 0x57, 0x93, 0xf8, 0x1d, 0x1c, 0x88, 0x4f, 0x7d, 0x8e, 0x58, 0x42, + 0x73, 0xcd, 0xf4, 0x12, 0x6f, 0xd9, 0xb8, 0xfd, 0x9a, 0x16, 0x96, 0x12, 0x7a, 0x01, 0xdd, 0x7a, + 0x8a, 0xb5, 0xdd, 0xb1, 0xe1, 0xbb, 0x35, 0x7e, 0x9d, 0x7b, 0x46, 0x35, 0x49, 0x88, 0x26, 0x78, + 0xf7, 0x9a, 0xfb, 0x2f, 0xa5, 0x84, 0xfe, 0x86, 0x7e, 0x3d, 0x85, 0x68, 0x2d, 0xd9, 0xac, 0xd0, + 0x54, 0xe1, 0xbd, 0x41, 0x63, 0xd4, 0x3e, 0x3c, 0x0a, 0xa4, 0x88, 0x83, 0x3b, 0x7c, 0x2c, 0x41, + 0x8d, 0x7a, 0x7d, 0xe9, 0x72, 0x9c, 0x6b, 0xb9, 0x9c, 0xf4, 0xc4, 0x3a, 0x0d, 0x1d, 0xc0, 0x43, + 0xcd, 0xcf, 0x69, 0x8e, 0x5b, 0xf6, 0x7c, 0x0e, 0xa0, 0x1e, 0x34, 0x2f, 0x54, 0x54, 0xc8, 0x14, + 0x83, 0xa3, 0x2f, 0xd4, 0xef, 0x32, 0x45, 0x08, 0x1e, 0x24, 0x3a, 0x3b, 0xc3, 0x6d, 0x4b, 0xda, + 0x67, 0xf4, 0x0c, 0x3a, 0x22, 0x25, 0xcb, 0x48, 0xb2, 0x7c, 0xae, 0x79, 0x4e, 0xf1, 0xf6, 0xc0, + 0x1b, 0x6d, 0x4d, 0xb6, 0x0d, 0x39, 0x29, 0x39, 0xf4, 0x1b, 0x6c, 0x2e, 0x28, 0x49, 0xa8, 0x54, + 0xb8, 0x67, 0x4b, 0xfa, 0xfe, 0xce, 0x25, 0xbd, 0x75, 0x79, 0xae, 0x88, 0xca, 0x05, 0x15, 0xd0, + 0x2b, 0x1f, 0x23, 0xcd, 0xeb, 0x1d, 0xeb, 0x5b, 0xfb, 0xd7, 0xf7, 0xb5, 0x9f, 0xf2, 0xd5, 0x7e, + 0xed, 0x2f, 0xae, 0x2b, 0xe8, 0x0d, 0xec, 0x9a, 0x3a, 0x59, 0x3e, 0x8f, 0x34, 0xcb, 0x28, 0x2f, + 0x34, 0x7e, 0x34, 0xf0, 0x46, 0xed, 0xc3, 0x2f, 0x02, 0xb7, 0x10, 0x82, 0x6a, 0x21, 0x04, 0x3f, + 0x95, 0x0b, 0x61, 0xb2, 0x53, 0x66, 0x4c, 0x5d, 0x02, 0x3a, 0x86, 0xbd, 0x8c, 0xbc, 0x77, 0x13, + 0x5b, 0x6d, 0x0d, 0x8c, 0x3f, 0xe7, 0xb2, 0x9b, 0x91, 0xf7, 0x66, 0xa4, 0x2b, 0xc2, 0x7f, 0x0b, + 0xfe, 0xcd, 0xb7, 0x8d, 0xba, 0xd0, 0x38, 0xa7, 0x4b, 0xec, 0xd9, 0x8b, 0x32, 0x8f, 0xe6, 0xa2, + 0xdf, 0x91, 0xb4, 0xa0, 0xe5, 0x90, 0x3b, 0xf0, 0x6a, 0xe3, 0x07, 0xcf, 0x7f, 0x05, 0xdb, 0xf5, + 0x26, 0xdf, 0x2b, 0xf7, 0x67, 0xc0, 0x37, 0x75, 0xf0, 0x3e, 0x3e, 0xc3, 0x7f, 0x3d, 0xf8, 0xfa, + 0xf6, 0xeb, 0x52, 0x82, 0xe7, 0x8a, 0xa2, 0xe7, 0xb0, 0x73, 0x75, 0x78, 0x4b, 0xff, 0xce, 0x95, + 0xb1, 0xbd, 0x71, 0xc6, 0x37, 0x6e, 0x9e, 0xf1, 0x95, 0x4d, 0xda, 0x58, 0xd9, 0xa4, 0xc3, 0x05, + 0x3c, 0xaf, 0x4e, 0x68, 0x97, 0xdb, 0x19, 0x95, 0xeb, 0x37, 0xf6, 0x8a, 0x91, 0xb7, 0xba, 0x92, + 0x9f, 0x42, 0x5b, 0x97, 0x06, 0x66, 0xe3, 0xb9, 0x23, 0x41, 0x45, 0x4d, 0xf9, 0xe1, 0x7f, 0x1e, + 0xb4, 0x4f, 0xc3, 0x93, 0xea, 0x6d, 0xe8, 0x02, 0x0e, 0xd6, 0xf5, 0x04, 0x8d, 0xee, 0xfa, 0x95, + 0xfb, 0x2f, 0xee, 0x10, 0xe9, 0x1a, 0x3c, 0x84, 0x8f, 0x1f, 0xbc, 0x66, 0xd7, 0xfb, 0xd1, 0xfb, + 0xd6, 0x43, 0x0a, 0xfa, 0xeb, 0x4b, 0x45, 0xdf, 0x5c, 0x31, 0xbc, 0xb5, 0x1f, 0x7e, 0xff, 0xda, + 0x57, 0x7d, 0x6c, 0xfe, 0xa4, 0xc3, 0xde, 0xc7, 0x0f, 0xde, 0x5e, 0xd7, 0xf3, 0x3b, 0xa8, 0xde, + 0xaf, 0x37, 0x5f, 0xfd, 0xf1, 0x74, 0xce, 0xf4, 0xa2, 0x98, 0x05, 0x31, 0xcf, 0xc6, 0xe5, 0x2f, + 0xc5, 0xfd, 0x68, 0x63, 0x9e, 0x8e, 0xa5, 0x88, 0x67, 0x4d, 0x8b, 0x5e, 0xfe, 0x1f, 0x00, 0x00, + 0xff, 0xff, 0xb0, 0xc4, 0x51, 0x39, 0xb7, 0x07, 0x00, 0x00, } diff --git a/sip/sip.go b/sip/sip.go index 307b5887..8d9e3b16 100644 --- a/sip/sip.go +++ b/sip/sip.go @@ -512,6 +512,8 @@ func EvaluateDispatchRule(projectID string, trunk *livekit.SIPInboundTrunkInfo, if trunk != nil { resp.Headers = trunk.Headers resp.HeadersToAttributes = trunk.HeadersToAttributes + resp.RingingTimeout = trunk.RingingTimeout + resp.MaxCallDuration = trunk.MaxCallDuration } return resp, nil } From 38527a8685cd813cda47db86afb4983f2584504e Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Fri, 11 Oct 2024 08:29:06 -0700 Subject: [PATCH 09/11] fix unlikely logger call depth (#849) * fix unlikely logger call depth * mute test --- logger/logger.go | 12 ++++++++---- utils/rate_test.go | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/logger/logger.go b/logger/logger.go index 4e6042e7..0c1c73a8 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -105,20 +105,24 @@ type UnlikelyLogger struct { keysAndValues []any } +func (l UnlikelyLogger) makeLogger() Logger { + return l.logger.WithCallDepth(2) +} + func (l UnlikelyLogger) Debugw(msg string, keysAndValues ...any) { - l.logger.Debugw(msg, slices.Concat(l.keysAndValues, keysAndValues)...) + l.makeLogger().Debugw(msg, slices.Concat(l.keysAndValues, keysAndValues)...) } func (l UnlikelyLogger) Infow(msg string, keysAndValues ...any) { - l.logger.Infow(msg, slices.Concat(l.keysAndValues, keysAndValues)...) + l.makeLogger().Infow(msg, slices.Concat(l.keysAndValues, keysAndValues)...) } func (l UnlikelyLogger) Warnw(msg string, err error, keysAndValues ...any) { - l.logger.Warnw(msg, err, slices.Concat(l.keysAndValues, keysAndValues)...) + l.makeLogger().Warnw(msg, err, slices.Concat(l.keysAndValues, keysAndValues)...) } func (l UnlikelyLogger) Errorw(msg string, err error, keysAndValues ...any) { - l.logger.Errorw(msg, err, slices.Concat(l.keysAndValues, keysAndValues)...) + l.makeLogger().Errorw(msg, err, slices.Concat(l.keysAndValues, keysAndValues)...) } func (l UnlikelyLogger) WithValues(keysAndValues ...any) UnlikelyLogger { diff --git a/utils/rate_test.go b/utils/rate_test.go index c014b454..58519f80 100644 --- a/utils/rate_test.go +++ b/utils/rate_test.go @@ -520,6 +520,7 @@ func TestSlack(t *testing.T) { } func TestSetRateLimitOnTheFly(t *testing.T) { + t.Skip(UnstableTest) runTest(t, func(r testRunner) { // Set rate to 1hz limiter, ok := r.createLimiter(1, WithoutSlack).(*LeakyBucket) From 6e7157c500256cad207a3a8b851516a5266c24a9 Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Sat, 12 Oct 2024 23:26:06 -0700 Subject: [PATCH 10/11] fix logger callers (#850) --- logger/logger.go | 28 +++++++------ logger/logger_test.go | 96 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 104 insertions(+), 20 deletions(-) diff --git a/logger/logger.go b/logger/logger.go index 0c1c73a8..fc1e8203 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -52,9 +52,9 @@ func GetLogger() Logger { // SetLogger lets you use a custom logger. Pass in a logr.Logger with default depth func SetLogger(l Logger, name string) { - defaultLogger = l.WithCallDepth(1).WithName(name) + defaultLogger = l.WithName(name) // pkg wrapper needs to drop two levels of depth - pkgLogger = l.WithCallDepth(2).WithName(name) + pkgLogger = l.WithCallDepth(1).WithName(name) } func Debugw(msg string, keysAndValues ...any) { @@ -106,7 +106,7 @@ type UnlikelyLogger struct { } func (l UnlikelyLogger) makeLogger() Logger { - return l.logger.WithCallDepth(2) + return l.logger.WithCallDepth(1) } func (l UnlikelyLogger) Debugw(msg string, keysAndValues ...any) { @@ -237,7 +237,7 @@ func FromZapLogger(log *zap.Logger, conf *Config, opts ...ZapLoggerOption) (ZapL if log == nil { log = zap.New(nil).WithOptions(zap.AddCaller(), zap.AddStacktrace(zap.ErrorLevel)) } - zap := log.Sugar() + zap := log.WithOptions(zap.AddCallerSkip(1)).Sugar() zc := &zapConfig{ conf: conf, @@ -281,11 +281,11 @@ func newZapLogger[T zaputil.Encoder[T]](zap *zap.SugaredLogger, zc *zapConfig, e enc: enc, sampler: sampler, } - l.zap = l.ToZap() + l.zap = l.makeZap() return l } -func (l *zapLogger[T]) ToZap() *zap.SugaredLogger { +func (l *zapLogger[T]) makeZap() *zap.SugaredLogger { var console *zaputil.WriteEnabler if l.minLevel == nil { console, _ = l.writeEnablers.LoadOrCompute(l.component, func() *zaputil.WriteEnabler { @@ -307,6 +307,10 @@ func (l *zapLogger[T]) ToZap() *zap.SugaredLogger { return l.zap.WithOptions(zap.WrapCore(func(zapcore.Core) zapcore.Core { return c })) } +func (l *zapLogger[T]) ToZap() *zap.SugaredLogger { + return l.zap.WithOptions(zap.AddCallerSkip(-1)) +} + type zapLoggerComponentLeveler[T zaputil.Encoder[T]] struct { zl *zapLogger[T] } @@ -333,7 +337,7 @@ func (l *zapLogger[T]) Debugw(msg string, keysAndValues ...any) { func (l *zapLogger[T]) WithMinLevel(lvl zapcore.LevelEnabler) Logger { dup := *l dup.minLevel = lvl - dup.zap = dup.ToZap() + dup.zap = dup.makeZap() return &dup } @@ -358,7 +362,7 @@ func (l *zapLogger[T]) Errorw(msg string, err error, keysAndValues ...any) { func (l *zapLogger[T]) WithValues(keysAndValues ...any) Logger { dup := *l dup.enc = dup.enc.WithValues(keysAndValues...) - dup.zap = dup.ToZap() + dup.zap = dup.makeZap() return &dup } @@ -380,7 +384,7 @@ func (l *zapLogger[T]) WithComponent(component string) Logger { } else { dup.component = dup.component + "." + component } - dup.zap = dup.ToZap() + dup.zap = dup.makeZap() return &dup } @@ -400,14 +404,14 @@ func (l *zapLogger[T]) WithItemSampler() Logger { l.conf.ItemSampleInitial, l.conf.ItemSampleInterval, ) - dup.zap = dup.ToZap() + dup.zap = dup.makeZap() return &dup } func (l *zapLogger[T]) WithoutSampler() Logger { dup := *l dup.sampler = nil - dup.zap = dup.ToZap() + dup.zap = dup.makeZap() return &dup } @@ -415,7 +419,7 @@ func (l *zapLogger[T]) WithDeferredValues() (Logger, DeferredFieldResolver) { dup := *l def, resolve := zaputil.NewDeferrer() dup.deferred = append(dup.deferred, def) - dup.zap = dup.ToZap() + dup.zap = dup.makeZap() return &dup, resolve } diff --git a/logger/logger_test.go b/logger/logger_test.go index e8dfb47e..4115445e 100644 --- a/logger/logger_test.go +++ b/logger/logger_test.go @@ -3,6 +3,9 @@ package logger import ( "bytes" "encoding/json" + "fmt" + "runtime" + "strings" "testing" "github.com/stretchr/testify/require" @@ -10,6 +13,7 @@ import ( "go.uber.org/zap/zapcore" "github.com/livekit/protocol/logger/zaputil" + "github.com/livekit/protocol/utils/must" ) func zapLoggerCore(l Logger) zapcore.Core { @@ -85,14 +89,8 @@ func TestLoggerComponent(t *testing.T) { require.NoError(t, err) l.Debugw("foo", "bar", "baz") - var log struct { - Level string - TS float64 - Caller string - Msg string - Bar string - } - require.NoError(t, json.Unmarshal(ws.Bytes(), &log)) + log, err := unmarshalTestLogOutput(ws.Bytes()) + require.NoError(t, err) require.Equal(t, "debug", log.Level) require.NotEqual(t, 0, log.TS) @@ -118,8 +116,90 @@ func TestLoggerComponent(t *testing.T) { }) } +type testLogOutput struct { + Level string + TS float64 + Caller string + Msg string + Bar string +} + +func unmarshalTestLogOutput(b []byte) (*testLogOutput, error) { + log := &testLogOutput{} + return log, json.Unmarshal(b, &log) +} + type testBufferedWriteSyncer struct { bytes.Buffer } func (t *testBufferedWriteSyncer) Sync() error { return nil } + +func testLogCaller(logFunc func(msg string, keysAndValues ...any)) { + logFunc("test") +} + +func getTestLogCallerCaller() string { + var caller string + testLogCaller(func(string, ...any) { + _, file, line, _ := runtime.Caller(1) + caller = fmt.Sprintf("%s:%d", file, line) + }) + return caller +} + +func TestLoggerCallDepth(t *testing.T) { + caller := getTestLogCallerCaller() + + t.Run("NewZapLogger", func(t *testing.T) { + ws := &testBufferedWriteSyncer{} + l := must.Get(NewZapLogger(&Config{}, WithTap(zaputil.NewWriteEnabler(ws, zapcore.DebugLevel)))) + + testLogCaller(l.Debugw) + log := must.Get(unmarshalTestLogOutput(ws.Bytes())) + + require.True(t, strings.HasSuffix(caller, log.Caller), `caller mismatch expected suffix match on "%s" got "%s"`, caller, log.Caller) + }) + + t.Run("package logger", func(t *testing.T) { + ws := &testBufferedWriteSyncer{} + l := must.Get(NewZapLogger(&Config{}, WithTap(zaputil.NewWriteEnabler(ws, zapcore.DebugLevel)))) + SetLogger(l, "TEST") + + testLogCaller(Debugw) + log := must.Get(unmarshalTestLogOutput(ws.Bytes())) + + require.True(t, strings.HasSuffix(caller, log.Caller), `caller mismatch expected suffix match on "%s" got "%s"`, caller, log.Caller) + }) + + t.Run("GetLogger", func(t *testing.T) { + ws := &testBufferedWriteSyncer{} + l := must.Get(NewZapLogger(&Config{}, WithTap(zaputil.NewWriteEnabler(ws, zapcore.DebugLevel)))) + SetLogger(l, "TEST") + + testLogCaller(GetLogger().Debugw) + log := must.Get(unmarshalTestLogOutput(ws.Bytes())) + + require.True(t, strings.HasSuffix(caller, log.Caller), `caller mismatch expected suffix match on "%s" got "%s"`, caller, log.Caller) + }) + + t.Run("ToZap", func(t *testing.T) { + ws := &testBufferedWriteSyncer{} + l := must.Get(NewZapLogger(&Config{}, WithTap(zaputil.NewWriteEnabler(ws, zapcore.DebugLevel)))) + + testLogCaller(l.ToZap().Debugw) + log := must.Get(unmarshalTestLogOutput(ws.Bytes())) + + require.True(t, strings.HasSuffix(caller, log.Caller), `caller mismatch expected suffix match on "%s" got "%s"`, caller, log.Caller) + }) + + t.Run("WithUnlikelyValues", func(t *testing.T) { + ws := &testBufferedWriteSyncer{} + l := must.Get(NewZapLogger(&Config{}, WithTap(zaputil.NewWriteEnabler(ws, zapcore.DebugLevel)))) + + testLogCaller(l.WithUnlikelyValues().Debugw) + log := must.Get(unmarshalTestLogOutput(ws.Bytes())) + + require.True(t, strings.HasSuffix(caller, log.Caller), `caller mismatch expected suffix match on "%s" got "%s"`, caller, log.Caller) + }) +} From a3ae28b3c5e1e5c062821e361b941e35fee6cebd Mon Sep 17 00:00:00 2001 From: Raja Subramanian Date: Mon, 14 Oct 2024 16:22:16 +0530 Subject: [PATCH 11/11] utility to for connection quality higher (#851) --- utils/connectionquality.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/utils/connectionquality.go b/utils/connectionquality.go index 7187f1c0..54c2033f 100644 --- a/utils/connectionquality.go +++ b/utils/connectionquality.go @@ -30,3 +30,11 @@ func IsConnectionQualityLower(prev livekit.ConnectionQuality, curr livekit.Conne // WARNING NOTE: comparing protobuf enums directly return curr < prev } + +func IsConnectionQualityHigher(prev livekit.ConnectionQuality, curr livekit.ConnectionQuality) bool { + if IsConnectionQualityLower(prev, curr) { + return false + } + + return curr != prev +}