diff --git a/.changeset/seven-cycles-switch.md b/.changeset/seven-cycles-switch.md new file mode 100644 index 00000000..3068361b --- /dev/null +++ b/.changeset/seven-cycles-switch.md @@ -0,0 +1,6 @@ +--- +"github.com/livekit/protocol": minor +"@livekit/protocol": minor +--- + +added agent client to manage agents registered with livekit-server to determine which agents can be dispatched to a room \ No newline at end of file diff --git a/infra/link.pb.go b/infra/link.pb.go index 2749fa26..b3e6f759 100644 --- a/infra/link.pb.go +++ b/infra/link.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: infra/link.proto package infra @@ -26,7 +26,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -294,7 +293,7 @@ func (*SimulateLinkStateResponse) Descriptor() ([]byte, []int) { var File_infra_link_proto protoreflect.FileDescriptor -var file_infra_link_proto_rawDesc = string([]byte{ +var file_infra_link_proto_rawDesc = []byte{ 0x0a, 0x10, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, @@ -351,16 +350,16 @@ var file_infra_link_proto_rawDesc = string([]byte{ 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, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) +} var ( file_infra_link_proto_rawDescOnce sync.Once - file_infra_link_proto_rawDescData []byte + file_infra_link_proto_rawDescData = file_infra_link_proto_rawDesc ) func file_infra_link_proto_rawDescGZIP() []byte { file_infra_link_proto_rawDescOnce.Do(func() { - file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc))) + file_infra_link_proto_rawDescData = protoimpl.X.CompressGZIP(file_infra_link_proto_rawDescData) }) return file_infra_link_proto_rawDescData } @@ -396,7 +395,7 @@ func file_infra_link_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_infra_link_proto_rawDesc), len(file_infra_link_proto_rawDesc)), + RawDescriptor: file_infra_link_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -407,6 +406,7 @@ func file_infra_link_proto_init() { MessageInfos: file_infra_link_proto_msgTypes, }.Build() File_infra_link_proto = out.File + file_infra_link_proto_rawDesc = nil file_infra_link_proto_goTypes = nil file_infra_link_proto_depIdxs = nil } diff --git a/infra/link_grpc.pb.go b/infra/link_grpc.pb.go index 281cec95..9f94bc3b 100644 --- a/infra/link_grpc.pb.go +++ b/infra/link_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v4.23.4 +// - protoc v5.29.0 // source: infra/link.proto package infra diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index a9221c2f..5ad83e4e 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_agent.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -376,6 +375,106 @@ func (x *JobState) GetParticipantIdentity() string { return "" } +type WorkerInfo struct { + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Status WorkerStatus `protobuf:"varint,4,opt,name=status,proto3,enum=livekit.WorkerStatus" json:"status,omitempty"` + Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` + Load float32 `protobuf:"fixed32,6,opt,name=load,proto3" json:"load,omitempty"` + JobCount uint32 `protobuf:"varint,7,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"` + AllowedPermissions *ParticipantPermission `protobuf:"bytes,8,opt,name=allowed_permissions,json=allowedPermissions,proto3" json:"allowed_permissions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *WorkerInfo) Reset() { + *x = WorkerInfo{} + mi := &file_livekit_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *WorkerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkerInfo) ProtoMessage() {} + +func (x *WorkerInfo) ProtoReflect() protoreflect.Message { + mi := &file_livekit_agent_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WorkerInfo.ProtoReflect.Descriptor instead. +func (*WorkerInfo) Descriptor() ([]byte, []int) { + return file_livekit_agent_proto_rawDescGZIP(), []int{2} +} + +func (x *WorkerInfo) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *WorkerInfo) GetAgentName() string { + if x != nil { + return x.AgentName + } + return "" +} + +func (x *WorkerInfo) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *WorkerInfo) GetStatus() WorkerStatus { + if x != nil { + return x.Status + } + return WorkerStatus_WS_AVAILABLE +} + +func (x *WorkerInfo) GetMetadata() string { + if x != nil { + return x.Metadata + } + return "" +} + +func (x *WorkerInfo) GetLoad() float32 { + if x != nil { + return x.Load + } + return 0 +} + +func (x *WorkerInfo) GetJobCount() uint32 { + if x != nil { + return x.JobCount + } + return 0 +} + +func (x *WorkerInfo) GetAllowedPermissions() *ParticipantPermission { + if x != nil { + return x.AllowedPermissions + } + return nil +} + // from Worker to Server type WorkerMessage struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -395,7 +494,7 @@ type WorkerMessage struct { func (x *WorkerMessage) Reset() { *x = WorkerMessage{} - mi := &file_livekit_agent_proto_msgTypes[2] + mi := &file_livekit_agent_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -407,7 +506,7 @@ func (x *WorkerMessage) String() string { func (*WorkerMessage) ProtoMessage() {} func (x *WorkerMessage) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[2] + mi := &file_livekit_agent_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -420,7 +519,7 @@ func (x *WorkerMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkerMessage.ProtoReflect.Descriptor instead. func (*WorkerMessage) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{2} + return file_livekit_agent_proto_rawDescGZIP(), []int{3} } func (x *WorkerMessage) GetMessage() isWorkerMessage_Message { @@ -560,7 +659,7 @@ type ServerMessage struct { func (x *ServerMessage) Reset() { *x = ServerMessage{} - mi := &file_livekit_agent_proto_msgTypes[3] + mi := &file_livekit_agent_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -572,7 +671,7 @@ func (x *ServerMessage) String() string { func (*ServerMessage) ProtoMessage() {} func (x *ServerMessage) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[3] + mi := &file_livekit_agent_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -585,7 +684,7 @@ func (x *ServerMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ServerMessage.ProtoReflect.Descriptor instead. func (*ServerMessage) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{3} + return file_livekit_agent_proto_rawDescGZIP(), []int{4} } func (x *ServerMessage) GetMessage() isServerMessage_Message { @@ -687,7 +786,7 @@ type SimulateJobRequest struct { func (x *SimulateJobRequest) Reset() { *x = SimulateJobRequest{} - mi := &file_livekit_agent_proto_msgTypes[4] + mi := &file_livekit_agent_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -699,7 +798,7 @@ func (x *SimulateJobRequest) String() string { func (*SimulateJobRequest) ProtoMessage() {} func (x *SimulateJobRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[4] + mi := &file_livekit_agent_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -712,7 +811,7 @@ func (x *SimulateJobRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SimulateJobRequest.ProtoReflect.Descriptor instead. func (*SimulateJobRequest) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{4} + return file_livekit_agent_proto_rawDescGZIP(), []int{5} } func (x *SimulateJobRequest) GetType() JobType { @@ -745,7 +844,7 @@ type WorkerPing struct { func (x *WorkerPing) Reset() { *x = WorkerPing{} - mi := &file_livekit_agent_proto_msgTypes[5] + mi := &file_livekit_agent_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -757,7 +856,7 @@ func (x *WorkerPing) String() string { func (*WorkerPing) ProtoMessage() {} func (x *WorkerPing) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[5] + mi := &file_livekit_agent_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -770,7 +869,7 @@ func (x *WorkerPing) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkerPing.ProtoReflect.Descriptor instead. func (*WorkerPing) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{5} + return file_livekit_agent_proto_rawDescGZIP(), []int{6} } func (x *WorkerPing) GetTimestamp() int64 { @@ -790,7 +889,7 @@ type WorkerPong struct { func (x *WorkerPong) Reset() { *x = WorkerPong{} - mi := &file_livekit_agent_proto_msgTypes[6] + mi := &file_livekit_agent_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -802,7 +901,7 @@ func (x *WorkerPong) String() string { func (*WorkerPong) ProtoMessage() {} func (x *WorkerPong) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[6] + mi := &file_livekit_agent_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -815,7 +914,7 @@ func (x *WorkerPong) ProtoReflect() protoreflect.Message { // Deprecated: Use WorkerPong.ProtoReflect.Descriptor instead. func (*WorkerPong) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{6} + return file_livekit_agent_proto_rawDescGZIP(), []int{7} } func (x *WorkerPong) GetLastTimestamp() int64 { @@ -837,8 +936,8 @@ type RegisterWorkerRequest struct { Type JobType `protobuf:"varint,1,opt,name=type,proto3,enum=livekit.JobType" json:"type,omitempty"` AgentName string `protobuf:"bytes,8,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` // string worker_id = 2; - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - // string name = 4 [deprecated = true]; + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` PingInterval uint32 `protobuf:"varint,5,opt,name=ping_interval,json=pingInterval,proto3" json:"ping_interval,omitempty"` Namespace *string `protobuf:"bytes,6,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"` AllowedPermissions *ParticipantPermission `protobuf:"bytes,7,opt,name=allowed_permissions,json=allowedPermissions,proto3" json:"allowed_permissions,omitempty"` @@ -848,7 +947,7 @@ type RegisterWorkerRequest struct { func (x *RegisterWorkerRequest) Reset() { *x = RegisterWorkerRequest{} - mi := &file_livekit_agent_proto_msgTypes[7] + mi := &file_livekit_agent_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -860,7 +959,7 @@ func (x *RegisterWorkerRequest) String() string { func (*RegisterWorkerRequest) ProtoMessage() {} func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[7] + mi := &file_livekit_agent_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -873,7 +972,7 @@ func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RegisterWorkerRequest.ProtoReflect.Descriptor instead. func (*RegisterWorkerRequest) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{7} + return file_livekit_agent_proto_rawDescGZIP(), []int{8} } func (x *RegisterWorkerRequest) GetType() JobType { @@ -897,6 +996,13 @@ func (x *RegisterWorkerRequest) GetVersion() string { return "" } +func (x *RegisterWorkerRequest) GetMetadata() string { + if x != nil { + return x.Metadata + } + return "" +} + func (x *RegisterWorkerRequest) GetPingInterval() uint32 { if x != nil { return x.PingInterval @@ -928,7 +1034,7 @@ type RegisterWorkerResponse struct { func (x *RegisterWorkerResponse) Reset() { *x = RegisterWorkerResponse{} - mi := &file_livekit_agent_proto_msgTypes[8] + mi := &file_livekit_agent_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -940,7 +1046,7 @@ func (x *RegisterWorkerResponse) String() string { func (*RegisterWorkerResponse) ProtoMessage() {} func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[8] + mi := &file_livekit_agent_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -953,7 +1059,7 @@ func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RegisterWorkerResponse.ProtoReflect.Descriptor instead. func (*RegisterWorkerResponse) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{8} + return file_livekit_agent_proto_rawDescGZIP(), []int{9} } func (x *RegisterWorkerResponse) GetWorkerId() string { @@ -980,7 +1086,7 @@ type MigrateJobRequest struct { func (x *MigrateJobRequest) Reset() { *x = MigrateJobRequest{} - mi := &file_livekit_agent_proto_msgTypes[9] + mi := &file_livekit_agent_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -992,7 +1098,7 @@ func (x *MigrateJobRequest) String() string { func (*MigrateJobRequest) ProtoMessage() {} func (x *MigrateJobRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[9] + mi := &file_livekit_agent_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1005,7 +1111,7 @@ func (x *MigrateJobRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MigrateJobRequest.ProtoReflect.Descriptor instead. func (*MigrateJobRequest) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{9} + return file_livekit_agent_proto_rawDescGZIP(), []int{10} } func (x *MigrateJobRequest) GetJobIds() []string { @@ -1027,7 +1133,7 @@ type AvailabilityRequest struct { func (x *AvailabilityRequest) Reset() { *x = AvailabilityRequest{} - mi := &file_livekit_agent_proto_msgTypes[10] + mi := &file_livekit_agent_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1039,7 +1145,7 @@ func (x *AvailabilityRequest) String() string { func (*AvailabilityRequest) ProtoMessage() {} func (x *AvailabilityRequest) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[10] + mi := &file_livekit_agent_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1052,7 +1158,7 @@ func (x *AvailabilityRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AvailabilityRequest.ProtoReflect.Descriptor instead. func (*AvailabilityRequest) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{10} + return file_livekit_agent_proto_rawDescGZIP(), []int{11} } func (x *AvailabilityRequest) GetJob() *Job { @@ -1084,7 +1190,7 @@ type AvailabilityResponse struct { func (x *AvailabilityResponse) Reset() { *x = AvailabilityResponse{} - mi := &file_livekit_agent_proto_msgTypes[11] + mi := &file_livekit_agent_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1096,7 +1202,7 @@ func (x *AvailabilityResponse) String() string { func (*AvailabilityResponse) ProtoMessage() {} func (x *AvailabilityResponse) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[11] + mi := &file_livekit_agent_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1109,7 +1215,7 @@ func (x *AvailabilityResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AvailabilityResponse.ProtoReflect.Descriptor instead. func (*AvailabilityResponse) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{11} + return file_livekit_agent_proto_rawDescGZIP(), []int{12} } func (x *AvailabilityResponse) GetJobId() string { @@ -1174,7 +1280,7 @@ type UpdateJobStatus struct { func (x *UpdateJobStatus) Reset() { *x = UpdateJobStatus{} - mi := &file_livekit_agent_proto_msgTypes[12] + mi := &file_livekit_agent_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1186,7 +1292,7 @@ func (x *UpdateJobStatus) String() string { func (*UpdateJobStatus) ProtoMessage() {} func (x *UpdateJobStatus) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[12] + mi := &file_livekit_agent_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1199,7 +1305,7 @@ func (x *UpdateJobStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateJobStatus.ProtoReflect.Descriptor instead. func (*UpdateJobStatus) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{12} + return file_livekit_agent_proto_rawDescGZIP(), []int{13} } func (x *UpdateJobStatus) GetJobId() string { @@ -1235,7 +1341,7 @@ type UpdateWorkerStatus struct { func (x *UpdateWorkerStatus) Reset() { *x = UpdateWorkerStatus{} - mi := &file_livekit_agent_proto_msgTypes[13] + mi := &file_livekit_agent_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1247,7 +1353,7 @@ func (x *UpdateWorkerStatus) String() string { func (*UpdateWorkerStatus) ProtoMessage() {} func (x *UpdateWorkerStatus) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[13] + mi := &file_livekit_agent_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1260,7 +1366,7 @@ func (x *UpdateWorkerStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateWorkerStatus.ProtoReflect.Descriptor instead. func (*UpdateWorkerStatus) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{13} + return file_livekit_agent_proto_rawDescGZIP(), []int{14} } func (x *UpdateWorkerStatus) GetStatus() WorkerStatus { @@ -1295,7 +1401,7 @@ type JobAssignment struct { func (x *JobAssignment) Reset() { *x = JobAssignment{} - mi := &file_livekit_agent_proto_msgTypes[14] + mi := &file_livekit_agent_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1307,7 +1413,7 @@ func (x *JobAssignment) String() string { func (*JobAssignment) ProtoMessage() {} func (x *JobAssignment) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[14] + mi := &file_livekit_agent_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1320,7 +1426,7 @@ func (x *JobAssignment) ProtoReflect() protoreflect.Message { // Deprecated: Use JobAssignment.ProtoReflect.Descriptor instead. func (*JobAssignment) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{14} + return file_livekit_agent_proto_rawDescGZIP(), []int{15} } func (x *JobAssignment) GetJob() *Job { @@ -1353,7 +1459,7 @@ type JobTermination struct { func (x *JobTermination) Reset() { *x = JobTermination{} - mi := &file_livekit_agent_proto_msgTypes[15] + mi := &file_livekit_agent_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1365,7 +1471,7 @@ func (x *JobTermination) String() string { func (*JobTermination) ProtoMessage() {} func (x *JobTermination) ProtoReflect() protoreflect.Message { - mi := &file_livekit_agent_proto_msgTypes[15] + mi := &file_livekit_agent_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1378,7 +1484,7 @@ func (x *JobTermination) ProtoReflect() protoreflect.Message { // Deprecated: Use JobTermination.ProtoReflect.Descriptor instead. func (*JobTermination) Descriptor() ([]byte, []int) { - return file_livekit_agent_proto_rawDescGZIP(), []int{15} + return file_livekit_agent_proto_rawDescGZIP(), []int{16} } func (x *JobTermination) GetJobId() string { @@ -1388,9 +1494,219 @@ func (x *JobTermination) GetJobId() string { return "" } +type CheckEnabledRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CheckEnabledRequest) Reset() { + *x = CheckEnabledRequest{} + mi := &file_livekit_agent_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CheckEnabledRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckEnabledRequest) ProtoMessage() {} + +func (x *CheckEnabledRequest) ProtoReflect() protoreflect.Message { + mi := &file_livekit_agent_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckEnabledRequest.ProtoReflect.Descriptor instead. +func (*CheckEnabledRequest) Descriptor() ([]byte, []int) { + return file_livekit_agent_proto_rawDescGZIP(), []int{17} +} + +type CheckEnabledResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` + PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` + ParticipantEnabled bool `protobuf:"varint,5,opt,name=participant_enabled,json=participantEnabled,proto3" json:"participant_enabled,omitempty"` + // Deprecated: Marked as deprecated in livekit_agent.proto. + Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` + AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CheckEnabledResponse) Reset() { + *x = CheckEnabledResponse{} + mi := &file_livekit_agent_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CheckEnabledResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckEnabledResponse) ProtoMessage() {} + +func (x *CheckEnabledResponse) ProtoReflect() protoreflect.Message { + mi := &file_livekit_agent_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckEnabledResponse.ProtoReflect.Descriptor instead. +func (*CheckEnabledResponse) Descriptor() ([]byte, []int) { + return file_livekit_agent_proto_rawDescGZIP(), []int{18} +} + +func (x *CheckEnabledResponse) GetRoomEnabled() bool { + if x != nil { + return x.RoomEnabled + } + return false +} + +func (x *CheckEnabledResponse) GetPublisherEnabled() bool { + if x != nil { + return x.PublisherEnabled + } + return false +} + +func (x *CheckEnabledResponse) GetParticipantEnabled() bool { + if x != nil { + return x.ParticipantEnabled + } + return false +} + +// Deprecated: Marked as deprecated in livekit_agent.proto. +func (x *CheckEnabledResponse) GetNamespaces() []string { + if x != nil { + return x.Namespaces + } + return nil +} + +func (x *CheckEnabledResponse) GetAgentNames() []string { + if x != nil { + return x.AgentNames + } + return nil +} + +type CheckAvailabilityRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + AgentNames []string `protobuf:"bytes,1,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` // if empty, all agents are checked + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CheckAvailabilityRequest) Reset() { + *x = CheckAvailabilityRequest{} + mi := &file_livekit_agent_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CheckAvailabilityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckAvailabilityRequest) ProtoMessage() {} + +func (x *CheckAvailabilityRequest) ProtoReflect() protoreflect.Message { + mi := &file_livekit_agent_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckAvailabilityRequest.ProtoReflect.Descriptor instead. +func (*CheckAvailabilityRequest) Descriptor() ([]byte, []int) { + return file_livekit_agent_proto_rawDescGZIP(), []int{19} +} + +func (x *CheckAvailabilityRequest) GetAgentNames() []string { + if x != nil { + return x.AgentNames + } + return nil +} + +type CheckAvailabilityResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + ServerInfo *ServerInfo `protobuf:"bytes,1,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` + Workers []*WorkerInfo `protobuf:"bytes,2,rep,name=workers,proto3" json:"workers,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CheckAvailabilityResponse) Reset() { + *x = CheckAvailabilityResponse{} + mi := &file_livekit_agent_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CheckAvailabilityResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckAvailabilityResponse) ProtoMessage() {} + +func (x *CheckAvailabilityResponse) ProtoReflect() protoreflect.Message { + mi := &file_livekit_agent_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckAvailabilityResponse.ProtoReflect.Descriptor instead. +func (*CheckAvailabilityResponse) Descriptor() ([]byte, []int) { + return file_livekit_agent_proto_rawDescGZIP(), []int{20} +} + +func (x *CheckAvailabilityResponse) GetServerInfo() *ServerInfo { + if x != nil { + return x.ServerInfo + } + return nil +} + +func (x *CheckAvailabilityResponse) GetWorkers() []*WorkerInfo { + if x != nil { + return x.Workers + } + return nil +} + var File_livekit_agent_proto protoreflect.FileDescriptor -var file_livekit_agent_proto_rawDesc = string([]byte{ +var file_livekit_agent_proto_rawDesc = []byte{ 0x0a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, @@ -1429,251 +1745,323 @@ var file_livekit_agent_proto_rawDesc = string([]byte{ 0x74, 0x65, 0x64, 0x41, 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, 0x06, 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, 0x22, 0xc8, 0x03, 0x0a, 0x0d, 0x57, 0x6f, 0x72, - 0x6b, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x08, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0xa2, 0x02, 0x0a, 0x0a, 0x57, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x2d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 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, 0x12, 0x0a, 0x04, 0x6c, + 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x04, 0x6c, 0x6f, 0x61, 0x64, 0x12, + 0x1b, 0x0a, 0x09, 0x6a, 0x6f, 0x62, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x08, 0x6a, 0x6f, 0x62, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x13, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc8, 0x03, + 0x0a, 0x0d, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x3c, 0x0a, 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x43, 0x0a, + 0x0c, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x76, + 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x77, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, + 0x62, 0x12, 0x29, 0x0a, 0x04, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x50, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x04, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x40, 0x0a, 0x0c, + 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x69, 0x6d, + 0x75, 0x6c, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, + 0x00, 0x52, 0x0b, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x3d, + 0x0a, 0x0b, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, + 0x00, 0x52, 0x0a, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x42, 0x09, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xbf, 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x57, - 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x08, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x0c, 0x61, 0x76, 0x61, 0x69, - 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, - 0x0c, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x42, 0x0a, - 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, - 0x72, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6a, 0x6f, 0x62, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, - 0x00, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x29, 0x0a, 0x04, - 0x70, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x69, 0x6e, 0x67, 0x48, - 0x00, 0x52, 0x04, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x40, 0x0a, 0x0c, 0x73, 0x69, 0x6d, 0x75, 0x6c, - 0x61, 0x74, 0x65, 0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, - 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x69, - 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, 0x69, 0x67, - 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, - 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x6d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0xbf, 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x76, 0x61, 0x69, - 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x38, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x69, - 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, - 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, - 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x29, 0x0a, 0x04, 0x70, 0x6f, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, - 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x6f, - 0x6e, 0x67, 0x48, 0x00, 0x52, 0x04, 0x70, 0x6f, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x12, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, - 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, - 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, - 0x70, 0x61, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x76, - 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, - 0x74, 0x22, 0x2a, 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x69, 0x6e, 0x67, 0x12, - 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x51, 0x0a, - 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x6f, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x6c, - 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x22, 0x9d, 0x02, 0x0a, 0x15, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, - 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, - 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x69, 0x6e, - 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x0c, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x21, - 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x88, 0x01, - 0x01, 0x12, 0x4f, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, - 0x70, 0x61, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x12, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x22, 0x6b, 0x0a, 0x16, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x77, 0x6f, - 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, - 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, - 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x2c, 0x0a, - 0x11, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x73, 0x22, 0x51, 0x0a, 0x13, 0x41, - 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x03, 0x6a, - 0x6f, 0x62, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0xc0, - 0x03, 0x0a, 0x14, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1c, - 0x0a, 0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0f, - 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, - 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 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, - 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, - 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, - 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 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, 0x6f, 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, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, - 0x2e, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 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, 0x6a, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x6c, 0x69, - 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x84, 0x01, - 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x61, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x04, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1b, 0x0a, 0x09, - 0x6a, 0x6f, 0x62, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x08, 0x6a, 0x6f, 0x62, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x22, 0x64, 0x0a, 0x0d, 0x4a, 0x6f, 0x62, 0x41, 0x73, 0x73, 0x69, 0x67, - 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, - 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x14, 0x0a, 0x05, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x27, 0x0a, 0x0e, 0x4a, 0x6f, - 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x06, - 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, - 0x62, 0x49, 0x64, 0x2a, 0x3c, 0x0a, 0x07, 0x4a, 0x6f, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, - 0x0a, 0x07, 0x4a, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4a, - 0x54, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x52, 0x10, 0x01, 0x12, 0x12, 0x0a, - 0x0e, 0x4a, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, 0x43, 0x49, 0x50, 0x41, 0x4e, 0x54, 0x10, - 0x02, 0x2a, 0x2d, 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x10, 0x0a, 0x0c, 0x57, 0x53, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, - 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x53, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x01, - 0x2a, 0x4a, 0x0a, 0x09, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a, - 0x0a, 0x4a, 0x53, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0e, 0x0a, - 0x0a, 0x4a, 0x53, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, - 0x0a, 0x4a, 0x53, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x0d, 0x0a, - 0x09, 0x4a, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 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, -}) + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, + 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c, 0x61, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, + 0x0c, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x38, 0x0a, + 0x0a, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x74, 0x65, 0x72, 0x6d, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x04, 0x70, 0x6f, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x50, 0x6f, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x04, 0x70, 0x6f, 0x6e, 0x67, 0x42, + 0x09, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x12, 0x53, + 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x24, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x10, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x6d, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x22, 0x2a, 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x50, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x22, 0x51, 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x6f, 0x6e, 0x67, + 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xb9, 0x02, 0x0a, 0x15, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x24, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x69, + 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, + 0x21, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x88, + 0x01, 0x01, 0x12, 0x4f, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x22, 0x6b, 0x0a, 0x16, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x57, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x77, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x2c, + 0x0a, 0x11, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x73, 0x22, 0x51, 0x0a, 0x13, + 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x03, + 0x6a, 0x6f, 0x62, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x69, 0x6e, 0x67, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x69, 0x6e, 0x67, 0x22, + 0xc0, 0x03, 0x0a, 0x14, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, + 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, + 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 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, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 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, 0x6f, 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, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, + 0x74, 0x2e, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 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, 0x6a, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x84, + 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x61, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x04, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x6a, 0x6f, 0x62, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x6a, 0x6f, 0x62, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x64, 0x0a, 0x0d, 0x4a, 0x6f, 0x62, 0x41, 0x73, 0x73, 0x69, + 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, + 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x27, 0x0a, 0x0e, 0x4a, + 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, + 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, + 0x6f, 0x62, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xdc, 0x01, 0x0a, 0x14, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x6f, 0x6f, 0x6d, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x73, 0x68, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x18, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x19, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, + 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2d, 0x0a, 0x07, 0x77, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2a, 0x3c, 0x0a, 0x07, 0x4a, 0x6f, + 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4a, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, + 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4a, 0x54, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, + 0x45, 0x52, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4a, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x49, + 0x43, 0x49, 0x50, 0x41, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x2d, 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x0c, 0x57, 0x53, 0x5f, 0x41, + 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x53, + 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x01, 0x2a, 0x4a, 0x0a, 0x09, 0x4a, 0x6f, 0x62, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x53, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, + 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x53, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, + 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x53, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, + 0x53, 0x53, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x03, 0x32, 0xb7, 0x01, 0x0a, 0x0c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5a, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, + 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6c, 0x69, 0x76, 0x65, + 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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 ( file_livekit_agent_proto_rawDescOnce sync.Once - file_livekit_agent_proto_rawDescData []byte + file_livekit_agent_proto_rawDescData = file_livekit_agent_proto_rawDesc ) func file_livekit_agent_proto_rawDescGZIP() []byte { file_livekit_agent_proto_rawDescOnce.Do(func() { - file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc))) + file_livekit_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_proto_rawDescData) }) return file_livekit_agent_proto_rawDescData } var file_livekit_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_livekit_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_livekit_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 22) var file_livekit_agent_proto_goTypes = []any{ - (JobType)(0), // 0: livekit.JobType - (WorkerStatus)(0), // 1: livekit.WorkerStatus - (JobStatus)(0), // 2: livekit.JobStatus - (*Job)(nil), // 3: livekit.Job - (*JobState)(nil), // 4: livekit.JobState - (*WorkerMessage)(nil), // 5: livekit.WorkerMessage - (*ServerMessage)(nil), // 6: livekit.ServerMessage - (*SimulateJobRequest)(nil), // 7: livekit.SimulateJobRequest - (*WorkerPing)(nil), // 8: livekit.WorkerPing - (*WorkerPong)(nil), // 9: livekit.WorkerPong - (*RegisterWorkerRequest)(nil), // 10: livekit.RegisterWorkerRequest - (*RegisterWorkerResponse)(nil), // 11: livekit.RegisterWorkerResponse - (*MigrateJobRequest)(nil), // 12: livekit.MigrateJobRequest - (*AvailabilityRequest)(nil), // 13: livekit.AvailabilityRequest - (*AvailabilityResponse)(nil), // 14: livekit.AvailabilityResponse - (*UpdateJobStatus)(nil), // 15: livekit.UpdateJobStatus - (*UpdateWorkerStatus)(nil), // 16: livekit.UpdateWorkerStatus - (*JobAssignment)(nil), // 17: livekit.JobAssignment - (*JobTermination)(nil), // 18: livekit.JobTermination - nil, // 19: livekit.AvailabilityResponse.ParticipantAttributesEntry - (*Room)(nil), // 20: livekit.Room - (*ParticipantInfo)(nil), // 21: livekit.ParticipantInfo - (*ParticipantPermission)(nil), // 22: livekit.ParticipantPermission - (*ServerInfo)(nil), // 23: livekit.ServerInfo + (JobType)(0), // 0: livekit.JobType + (WorkerStatus)(0), // 1: livekit.WorkerStatus + (JobStatus)(0), // 2: livekit.JobStatus + (*Job)(nil), // 3: livekit.Job + (*JobState)(nil), // 4: livekit.JobState + (*WorkerInfo)(nil), // 5: livekit.WorkerInfo + (*WorkerMessage)(nil), // 6: livekit.WorkerMessage + (*ServerMessage)(nil), // 7: livekit.ServerMessage + (*SimulateJobRequest)(nil), // 8: livekit.SimulateJobRequest + (*WorkerPing)(nil), // 9: livekit.WorkerPing + (*WorkerPong)(nil), // 10: livekit.WorkerPong + (*RegisterWorkerRequest)(nil), // 11: livekit.RegisterWorkerRequest + (*RegisterWorkerResponse)(nil), // 12: livekit.RegisterWorkerResponse + (*MigrateJobRequest)(nil), // 13: livekit.MigrateJobRequest + (*AvailabilityRequest)(nil), // 14: livekit.AvailabilityRequest + (*AvailabilityResponse)(nil), // 15: livekit.AvailabilityResponse + (*UpdateJobStatus)(nil), // 16: livekit.UpdateJobStatus + (*UpdateWorkerStatus)(nil), // 17: livekit.UpdateWorkerStatus + (*JobAssignment)(nil), // 18: livekit.JobAssignment + (*JobTermination)(nil), // 19: livekit.JobTermination + (*CheckEnabledRequest)(nil), // 20: livekit.CheckEnabledRequest + (*CheckEnabledResponse)(nil), // 21: livekit.CheckEnabledResponse + (*CheckAvailabilityRequest)(nil), // 22: livekit.CheckAvailabilityRequest + (*CheckAvailabilityResponse)(nil), // 23: livekit.CheckAvailabilityResponse + nil, // 24: livekit.AvailabilityResponse.ParticipantAttributesEntry + (*Room)(nil), // 25: livekit.Room + (*ParticipantInfo)(nil), // 26: livekit.ParticipantInfo + (*ParticipantPermission)(nil), // 27: livekit.ParticipantPermission + (*ServerInfo)(nil), // 28: livekit.ServerInfo } var file_livekit_agent_proto_depIdxs = []int32{ 0, // 0: livekit.Job.type:type_name -> livekit.JobType - 20, // 1: livekit.Job.room:type_name -> livekit.Room - 21, // 2: livekit.Job.participant:type_name -> livekit.ParticipantInfo + 25, // 1: livekit.Job.room:type_name -> livekit.Room + 26, // 2: livekit.Job.participant:type_name -> livekit.ParticipantInfo 4, // 3: livekit.Job.state:type_name -> livekit.JobState 2, // 4: livekit.JobState.status:type_name -> livekit.JobStatus - 10, // 5: livekit.WorkerMessage.register:type_name -> livekit.RegisterWorkerRequest - 14, // 6: livekit.WorkerMessage.availability:type_name -> livekit.AvailabilityResponse - 16, // 7: livekit.WorkerMessage.update_worker:type_name -> livekit.UpdateWorkerStatus - 15, // 8: livekit.WorkerMessage.update_job:type_name -> livekit.UpdateJobStatus - 8, // 9: livekit.WorkerMessage.ping:type_name -> livekit.WorkerPing - 7, // 10: livekit.WorkerMessage.simulate_job:type_name -> livekit.SimulateJobRequest - 12, // 11: livekit.WorkerMessage.migrate_job:type_name -> livekit.MigrateJobRequest - 11, // 12: livekit.ServerMessage.register:type_name -> livekit.RegisterWorkerResponse - 13, // 13: livekit.ServerMessage.availability:type_name -> livekit.AvailabilityRequest - 17, // 14: livekit.ServerMessage.assignment:type_name -> livekit.JobAssignment - 18, // 15: livekit.ServerMessage.termination:type_name -> livekit.JobTermination - 9, // 16: livekit.ServerMessage.pong:type_name -> livekit.WorkerPong - 0, // 17: livekit.SimulateJobRequest.type:type_name -> livekit.JobType - 20, // 18: livekit.SimulateJobRequest.room:type_name -> livekit.Room - 21, // 19: livekit.SimulateJobRequest.participant:type_name -> livekit.ParticipantInfo - 0, // 20: livekit.RegisterWorkerRequest.type:type_name -> livekit.JobType - 22, // 21: livekit.RegisterWorkerRequest.allowed_permissions:type_name -> livekit.ParticipantPermission - 23, // 22: livekit.RegisterWorkerResponse.server_info:type_name -> livekit.ServerInfo - 3, // 23: livekit.AvailabilityRequest.job:type_name -> livekit.Job - 19, // 24: livekit.AvailabilityResponse.participant_attributes:type_name -> livekit.AvailabilityResponse.ParticipantAttributesEntry - 2, // 25: livekit.UpdateJobStatus.status:type_name -> livekit.JobStatus - 1, // 26: livekit.UpdateWorkerStatus.status:type_name -> livekit.WorkerStatus - 3, // 27: livekit.JobAssignment.job:type_name -> livekit.Job - 28, // [28:28] is the sub-list for method output_type - 28, // [28:28] is the sub-list for method input_type - 28, // [28:28] is the sub-list for extension type_name - 28, // [28:28] is the sub-list for extension extendee - 0, // [0:28] is the sub-list for field type_name + 1, // 5: livekit.WorkerInfo.status:type_name -> livekit.WorkerStatus + 27, // 6: livekit.WorkerInfo.allowed_permissions:type_name -> livekit.ParticipantPermission + 11, // 7: livekit.WorkerMessage.register:type_name -> livekit.RegisterWorkerRequest + 15, // 8: livekit.WorkerMessage.availability:type_name -> livekit.AvailabilityResponse + 17, // 9: livekit.WorkerMessage.update_worker:type_name -> livekit.UpdateWorkerStatus + 16, // 10: livekit.WorkerMessage.update_job:type_name -> livekit.UpdateJobStatus + 9, // 11: livekit.WorkerMessage.ping:type_name -> livekit.WorkerPing + 8, // 12: livekit.WorkerMessage.simulate_job:type_name -> livekit.SimulateJobRequest + 13, // 13: livekit.WorkerMessage.migrate_job:type_name -> livekit.MigrateJobRequest + 12, // 14: livekit.ServerMessage.register:type_name -> livekit.RegisterWorkerResponse + 14, // 15: livekit.ServerMessage.availability:type_name -> livekit.AvailabilityRequest + 18, // 16: livekit.ServerMessage.assignment:type_name -> livekit.JobAssignment + 19, // 17: livekit.ServerMessage.termination:type_name -> livekit.JobTermination + 10, // 18: livekit.ServerMessage.pong:type_name -> livekit.WorkerPong + 0, // 19: livekit.SimulateJobRequest.type:type_name -> livekit.JobType + 25, // 20: livekit.SimulateJobRequest.room:type_name -> livekit.Room + 26, // 21: livekit.SimulateJobRequest.participant:type_name -> livekit.ParticipantInfo + 0, // 22: livekit.RegisterWorkerRequest.type:type_name -> livekit.JobType + 27, // 23: livekit.RegisterWorkerRequest.allowed_permissions:type_name -> livekit.ParticipantPermission + 28, // 24: livekit.RegisterWorkerResponse.server_info:type_name -> livekit.ServerInfo + 3, // 25: livekit.AvailabilityRequest.job:type_name -> livekit.Job + 24, // 26: livekit.AvailabilityResponse.participant_attributes:type_name -> livekit.AvailabilityResponse.ParticipantAttributesEntry + 2, // 27: livekit.UpdateJobStatus.status:type_name -> livekit.JobStatus + 1, // 28: livekit.UpdateWorkerStatus.status:type_name -> livekit.WorkerStatus + 3, // 29: livekit.JobAssignment.job:type_name -> livekit.Job + 28, // 30: livekit.CheckAvailabilityResponse.server_info:type_name -> livekit.ServerInfo + 5, // 31: livekit.CheckAvailabilityResponse.workers:type_name -> livekit.WorkerInfo + 20, // 32: livekit.AgentService.CheckEnabled:input_type -> livekit.CheckEnabledRequest + 22, // 33: livekit.AgentService.CheckAvailability:input_type -> livekit.CheckAvailabilityRequest + 21, // 34: livekit.AgentService.CheckEnabled:output_type -> livekit.CheckEnabledResponse + 23, // 35: livekit.AgentService.CheckAvailability:output_type -> livekit.CheckAvailabilityResponse + 34, // [34:36] is the sub-list for method output_type + 32, // [32:34] is the sub-list for method input_type + 32, // [32:32] is the sub-list for extension type_name + 32, // [32:32] is the sub-list for extension extendee + 0, // [0:32] is the sub-list for field type_name } func init() { file_livekit_agent_proto_init() } @@ -1683,7 +2071,7 @@ func file_livekit_agent_proto_init() { } file_livekit_models_proto_init() file_livekit_agent_proto_msgTypes[0].OneofWrappers = []any{} - file_livekit_agent_proto_msgTypes[2].OneofWrappers = []any{ + file_livekit_agent_proto_msgTypes[3].OneofWrappers = []any{ (*WorkerMessage_Register)(nil), (*WorkerMessage_Availability)(nil), (*WorkerMessage_UpdateWorker)(nil), @@ -1692,25 +2080,25 @@ func file_livekit_agent_proto_init() { (*WorkerMessage_SimulateJob)(nil), (*WorkerMessage_MigrateJob)(nil), } - file_livekit_agent_proto_msgTypes[3].OneofWrappers = []any{ + file_livekit_agent_proto_msgTypes[4].OneofWrappers = []any{ (*ServerMessage_Register)(nil), (*ServerMessage_Availability)(nil), (*ServerMessage_Assignment)(nil), (*ServerMessage_Termination)(nil), (*ServerMessage_Pong)(nil), } - file_livekit_agent_proto_msgTypes[7].OneofWrappers = []any{} - file_livekit_agent_proto_msgTypes[13].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[8].OneofWrappers = []any{} file_livekit_agent_proto_msgTypes[14].OneofWrappers = []any{} + file_livekit_agent_proto_msgTypes[15].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_proto_rawDesc), len(file_livekit_agent_proto_rawDesc)), + RawDescriptor: file_livekit_agent_proto_rawDesc, NumEnums: 3, - NumMessages: 17, + NumMessages: 22, NumExtensions: 0, - NumServices: 0, + NumServices: 1, }, GoTypes: file_livekit_agent_proto_goTypes, DependencyIndexes: file_livekit_agent_proto_depIdxs, @@ -1718,6 +2106,7 @@ func file_livekit_agent_proto_init() { MessageInfos: file_livekit_agent_proto_msgTypes, }.Build() File_livekit_agent_proto = out.File + file_livekit_agent_proto_rawDesc = nil file_livekit_agent_proto_goTypes = nil file_livekit_agent_proto_depIdxs = nil } diff --git a/livekit/livekit_agent.twirp.go b/livekit/livekit_agent.twirp.go new file mode 100644 index 00000000..740bd6d1 --- /dev/null +++ b/livekit/livekit_agent.twirp.go @@ -0,0 +1,903 @@ +// Code generated by protoc-gen-twirp v8.1.3, DO NOT EDIT. +// source: livekit_agent.proto + +package livekit + +import context "context" +import fmt "fmt" +import http "net/http" +import io "io" +import json "encoding/json" +import strconv "strconv" +import strings "strings" + +import protojson "google.golang.org/protobuf/encoding/protojson" +import proto "google.golang.org/protobuf/proto" +import twirp "github.com/twitchtv/twirp" +import ctxsetters "github.com/twitchtv/twirp/ctxsetters" + +// Version compatibility assertion. +// If the constant is not defined in the package, that likely means +// the package needs to be updated to work with this generated code. +// See https://twitchtv.github.io/twirp/docs/version_matrix.html +const _ = twirp.TwirpPackageMinVersion_8_1_0 + +// ====================== +// AgentService Interface +// ====================== + +type AgentService interface { + CheckEnabled(context.Context, *CheckEnabledRequest) (*CheckEnabledResponse, error) + + CheckAvailability(context.Context, *CheckAvailabilityRequest) (*CheckAvailabilityResponse, error) +} + +// ============================ +// AgentService Protobuf Client +// ============================ + +type agentServiceProtobufClient struct { + client HTTPClient + urls [2]string + interceptor twirp.Interceptor + opts twirp.ClientOptions +} + +// NewAgentServiceProtobufClient creates a Protobuf client that implements the AgentService interface. +// It communicates using Protobuf and can be configured with a custom HTTPClient. +func NewAgentServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) AgentService { + if c, ok := client.(*http.Client); ok { + client = withoutRedirects(c) + } + + clientOpts := twirp.ClientOptions{} + for _, o := range opts { + o(&clientOpts) + } + + // Using ReadOpt allows backwards and forwards compatibility with new options in the future + literalURLs := false + _ = clientOpts.ReadOpt("literalURLs", &literalURLs) + var pathPrefix string + if ok := clientOpts.ReadOpt("pathPrefix", &pathPrefix); !ok { + pathPrefix = "/twirp" // default prefix + } + + // Build method URLs: []/./ + serviceURL := sanitizeBaseURL(baseURL) + serviceURL += baseServicePath(pathPrefix, "livekit", "AgentService") + urls := [2]string{ + serviceURL + "CheckEnabled", + serviceURL + "CheckAvailability", + } + + return &agentServiceProtobufClient{ + client: client, + urls: urls, + interceptor: twirp.ChainInterceptors(clientOpts.Interceptors...), + opts: clientOpts, + } +} + +func (c *agentServiceProtobufClient) CheckEnabled(ctx context.Context, in *CheckEnabledRequest) (*CheckEnabledResponse, error) { + ctx = ctxsetters.WithPackageName(ctx, "livekit") + ctx = ctxsetters.WithServiceName(ctx, "AgentService") + ctx = ctxsetters.WithMethodName(ctx, "CheckEnabled") + caller := c.callCheckEnabled + if c.interceptor != nil { + caller = func(ctx context.Context, req *CheckEnabledRequest) (*CheckEnabledResponse, error) { + resp, err := c.interceptor( + func(ctx context.Context, req interface{}) (interface{}, error) { + typedReq, ok := req.(*CheckEnabledRequest) + if !ok { + return nil, twirp.InternalError("failed type assertion req.(*CheckEnabledRequest) when calling interceptor") + } + return c.callCheckEnabled(ctx, typedReq) + }, + )(ctx, req) + if resp != nil { + typedResp, ok := resp.(*CheckEnabledResponse) + if !ok { + return nil, twirp.InternalError("failed type assertion resp.(*CheckEnabledResponse) when calling interceptor") + } + return typedResp, err + } + return nil, err + } + } + return caller(ctx, in) +} + +func (c *agentServiceProtobufClient) callCheckEnabled(ctx context.Context, in *CheckEnabledRequest) (*CheckEnabledResponse, error) { + out := new(CheckEnabledResponse) + ctx, err := doProtobufRequest(ctx, c.client, c.opts.Hooks, c.urls[0], in, out) + if err != nil { + twerr, ok := err.(twirp.Error) + if !ok { + twerr = twirp.InternalErrorWith(err) + } + callClientError(ctx, c.opts.Hooks, twerr) + return nil, err + } + + callClientResponseReceived(ctx, c.opts.Hooks) + + return out, nil +} + +func (c *agentServiceProtobufClient) CheckAvailability(ctx context.Context, in *CheckAvailabilityRequest) (*CheckAvailabilityResponse, error) { + ctx = ctxsetters.WithPackageName(ctx, "livekit") + ctx = ctxsetters.WithServiceName(ctx, "AgentService") + ctx = ctxsetters.WithMethodName(ctx, "CheckAvailability") + caller := c.callCheckAvailability + if c.interceptor != nil { + caller = func(ctx context.Context, req *CheckAvailabilityRequest) (*CheckAvailabilityResponse, error) { + resp, err := c.interceptor( + func(ctx context.Context, req interface{}) (interface{}, error) { + typedReq, ok := req.(*CheckAvailabilityRequest) + if !ok { + return nil, twirp.InternalError("failed type assertion req.(*CheckAvailabilityRequest) when calling interceptor") + } + return c.callCheckAvailability(ctx, typedReq) + }, + )(ctx, req) + if resp != nil { + typedResp, ok := resp.(*CheckAvailabilityResponse) + if !ok { + return nil, twirp.InternalError("failed type assertion resp.(*CheckAvailabilityResponse) when calling interceptor") + } + return typedResp, err + } + return nil, err + } + } + return caller(ctx, in) +} + +func (c *agentServiceProtobufClient) callCheckAvailability(ctx context.Context, in *CheckAvailabilityRequest) (*CheckAvailabilityResponse, error) { + out := new(CheckAvailabilityResponse) + ctx, err := doProtobufRequest(ctx, c.client, c.opts.Hooks, c.urls[1], in, out) + if err != nil { + twerr, ok := err.(twirp.Error) + if !ok { + twerr = twirp.InternalErrorWith(err) + } + callClientError(ctx, c.opts.Hooks, twerr) + return nil, err + } + + callClientResponseReceived(ctx, c.opts.Hooks) + + return out, nil +} + +// ======================== +// AgentService JSON Client +// ======================== + +type agentServiceJSONClient struct { + client HTTPClient + urls [2]string + interceptor twirp.Interceptor + opts twirp.ClientOptions +} + +// NewAgentServiceJSONClient creates a JSON client that implements the AgentService interface. +// It communicates using JSON and can be configured with a custom HTTPClient. +func NewAgentServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) AgentService { + if c, ok := client.(*http.Client); ok { + client = withoutRedirects(c) + } + + clientOpts := twirp.ClientOptions{} + for _, o := range opts { + o(&clientOpts) + } + + // Using ReadOpt allows backwards and forwards compatibility with new options in the future + literalURLs := false + _ = clientOpts.ReadOpt("literalURLs", &literalURLs) + var pathPrefix string + if ok := clientOpts.ReadOpt("pathPrefix", &pathPrefix); !ok { + pathPrefix = "/twirp" // default prefix + } + + // Build method URLs: []/./ + serviceURL := sanitizeBaseURL(baseURL) + serviceURL += baseServicePath(pathPrefix, "livekit", "AgentService") + urls := [2]string{ + serviceURL + "CheckEnabled", + serviceURL + "CheckAvailability", + } + + return &agentServiceJSONClient{ + client: client, + urls: urls, + interceptor: twirp.ChainInterceptors(clientOpts.Interceptors...), + opts: clientOpts, + } +} + +func (c *agentServiceJSONClient) CheckEnabled(ctx context.Context, in *CheckEnabledRequest) (*CheckEnabledResponse, error) { + ctx = ctxsetters.WithPackageName(ctx, "livekit") + ctx = ctxsetters.WithServiceName(ctx, "AgentService") + ctx = ctxsetters.WithMethodName(ctx, "CheckEnabled") + caller := c.callCheckEnabled + if c.interceptor != nil { + caller = func(ctx context.Context, req *CheckEnabledRequest) (*CheckEnabledResponse, error) { + resp, err := c.interceptor( + func(ctx context.Context, req interface{}) (interface{}, error) { + typedReq, ok := req.(*CheckEnabledRequest) + if !ok { + return nil, twirp.InternalError("failed type assertion req.(*CheckEnabledRequest) when calling interceptor") + } + return c.callCheckEnabled(ctx, typedReq) + }, + )(ctx, req) + if resp != nil { + typedResp, ok := resp.(*CheckEnabledResponse) + if !ok { + return nil, twirp.InternalError("failed type assertion resp.(*CheckEnabledResponse) when calling interceptor") + } + return typedResp, err + } + return nil, err + } + } + return caller(ctx, in) +} + +func (c *agentServiceJSONClient) callCheckEnabled(ctx context.Context, in *CheckEnabledRequest) (*CheckEnabledResponse, error) { + out := new(CheckEnabledResponse) + ctx, err := doJSONRequest(ctx, c.client, c.opts.Hooks, c.urls[0], in, out) + if err != nil { + twerr, ok := err.(twirp.Error) + if !ok { + twerr = twirp.InternalErrorWith(err) + } + callClientError(ctx, c.opts.Hooks, twerr) + return nil, err + } + + callClientResponseReceived(ctx, c.opts.Hooks) + + return out, nil +} + +func (c *agentServiceJSONClient) CheckAvailability(ctx context.Context, in *CheckAvailabilityRequest) (*CheckAvailabilityResponse, error) { + ctx = ctxsetters.WithPackageName(ctx, "livekit") + ctx = ctxsetters.WithServiceName(ctx, "AgentService") + ctx = ctxsetters.WithMethodName(ctx, "CheckAvailability") + caller := c.callCheckAvailability + if c.interceptor != nil { + caller = func(ctx context.Context, req *CheckAvailabilityRequest) (*CheckAvailabilityResponse, error) { + resp, err := c.interceptor( + func(ctx context.Context, req interface{}) (interface{}, error) { + typedReq, ok := req.(*CheckAvailabilityRequest) + if !ok { + return nil, twirp.InternalError("failed type assertion req.(*CheckAvailabilityRequest) when calling interceptor") + } + return c.callCheckAvailability(ctx, typedReq) + }, + )(ctx, req) + if resp != nil { + typedResp, ok := resp.(*CheckAvailabilityResponse) + if !ok { + return nil, twirp.InternalError("failed type assertion resp.(*CheckAvailabilityResponse) when calling interceptor") + } + return typedResp, err + } + return nil, err + } + } + return caller(ctx, in) +} + +func (c *agentServiceJSONClient) callCheckAvailability(ctx context.Context, in *CheckAvailabilityRequest) (*CheckAvailabilityResponse, error) { + out := new(CheckAvailabilityResponse) + ctx, err := doJSONRequest(ctx, c.client, c.opts.Hooks, c.urls[1], in, out) + if err != nil { + twerr, ok := err.(twirp.Error) + if !ok { + twerr = twirp.InternalErrorWith(err) + } + callClientError(ctx, c.opts.Hooks, twerr) + return nil, err + } + + callClientResponseReceived(ctx, c.opts.Hooks) + + return out, nil +} + +// =========================== +// AgentService Server Handler +// =========================== + +type agentServiceServer struct { + AgentService + interceptor twirp.Interceptor + hooks *twirp.ServerHooks + pathPrefix string // prefix for routing + jsonSkipDefaults bool // do not include unpopulated fields (default values) in the response + jsonCamelCase bool // JSON fields are serialized as lowerCamelCase rather than keeping the original proto names +} + +// NewAgentServiceServer builds a TwirpServer that can be used as an http.Handler to handle +// HTTP requests that are routed to the right method in the provided svc implementation. +// The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks). +func NewAgentServiceServer(svc AgentService, opts ...interface{}) TwirpServer { + serverOpts := newServerOpts(opts) + + // Using ReadOpt allows backwards and forwards compatibility with new options in the future + jsonSkipDefaults := false + _ = serverOpts.ReadOpt("jsonSkipDefaults", &jsonSkipDefaults) + jsonCamelCase := false + _ = serverOpts.ReadOpt("jsonCamelCase", &jsonCamelCase) + var pathPrefix string + if ok := serverOpts.ReadOpt("pathPrefix", &pathPrefix); !ok { + pathPrefix = "/twirp" // default prefix + } + + return &agentServiceServer{ + AgentService: svc, + hooks: serverOpts.Hooks, + interceptor: twirp.ChainInterceptors(serverOpts.Interceptors...), + pathPrefix: pathPrefix, + jsonSkipDefaults: jsonSkipDefaults, + jsonCamelCase: jsonCamelCase, + } +} + +// writeError writes an HTTP response with a valid Twirp error format, and triggers hooks. +// If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err) +func (s *agentServiceServer) writeError(ctx context.Context, resp http.ResponseWriter, err error) { + writeError(ctx, resp, err, s.hooks) +} + +// handleRequestBodyError is used to handle error when the twirp server cannot read request +func (s *agentServiceServer) handleRequestBodyError(ctx context.Context, resp http.ResponseWriter, msg string, err error) { + if context.Canceled == ctx.Err() { + s.writeError(ctx, resp, twirp.NewError(twirp.Canceled, "failed to read request: context canceled")) + return + } + if context.DeadlineExceeded == ctx.Err() { + s.writeError(ctx, resp, twirp.NewError(twirp.DeadlineExceeded, "failed to read request: deadline exceeded")) + return + } + s.writeError(ctx, resp, twirp.WrapError(malformedRequestError(msg), err)) +} + +// AgentServicePathPrefix is a convenience constant that may identify URL paths. +// Should be used with caution, it only matches routes generated by Twirp Go clients, +// with the default "/twirp" prefix and default CamelCase service and method names. +// More info: https://twitchtv.github.io/twirp/docs/routing.html +const AgentServicePathPrefix = "/twirp/livekit.AgentService/" + +func (s *agentServiceServer) ServeHTTP(resp http.ResponseWriter, req *http.Request) { + ctx := req.Context() + ctx = ctxsetters.WithPackageName(ctx, "livekit") + ctx = ctxsetters.WithServiceName(ctx, "AgentService") + ctx = ctxsetters.WithResponseWriter(ctx, resp) + + var err error + ctx, err = callRequestReceived(ctx, s.hooks) + if err != nil { + s.writeError(ctx, resp, err) + return + } + + if req.Method != "POST" { + msg := fmt.Sprintf("unsupported method %q (only POST is allowed)", req.Method) + s.writeError(ctx, resp, badRouteError(msg, req.Method, req.URL.Path)) + return + } + + // Verify path format: []/./ + prefix, pkgService, method := parseTwirpPath(req.URL.Path) + if pkgService != "livekit.AgentService" { + msg := fmt.Sprintf("no handler for path %q", req.URL.Path) + s.writeError(ctx, resp, badRouteError(msg, req.Method, req.URL.Path)) + return + } + if prefix != s.pathPrefix { + msg := fmt.Sprintf("invalid path prefix %q, expected %q, on path %q", prefix, s.pathPrefix, req.URL.Path) + s.writeError(ctx, resp, badRouteError(msg, req.Method, req.URL.Path)) + return + } + + switch method { + case "CheckEnabled": + s.serveCheckEnabled(ctx, resp, req) + return + case "CheckAvailability": + s.serveCheckAvailability(ctx, resp, req) + return + default: + msg := fmt.Sprintf("no handler for path %q", req.URL.Path) + s.writeError(ctx, resp, badRouteError(msg, req.Method, req.URL.Path)) + return + } +} + +func (s *agentServiceServer) serveCheckEnabled(ctx context.Context, resp http.ResponseWriter, req *http.Request) { + header := req.Header.Get("Content-Type") + i := strings.Index(header, ";") + if i == -1 { + i = len(header) + } + switch strings.TrimSpace(strings.ToLower(header[:i])) { + case "application/json": + s.serveCheckEnabledJSON(ctx, resp, req) + case "application/protobuf": + s.serveCheckEnabledProtobuf(ctx, resp, req) + default: + msg := fmt.Sprintf("unexpected Content-Type: %q", req.Header.Get("Content-Type")) + twerr := badRouteError(msg, req.Method, req.URL.Path) + s.writeError(ctx, resp, twerr) + } +} + +func (s *agentServiceServer) serveCheckEnabledJSON(ctx context.Context, resp http.ResponseWriter, req *http.Request) { + var err error + ctx = ctxsetters.WithMethodName(ctx, "CheckEnabled") + ctx, err = callRequestRouted(ctx, s.hooks) + if err != nil { + s.writeError(ctx, resp, err) + return + } + + d := json.NewDecoder(req.Body) + rawReqBody := json.RawMessage{} + if err := d.Decode(&rawReqBody); err != nil { + s.handleRequestBodyError(ctx, resp, "the json request could not be decoded", err) + return + } + reqContent := new(CheckEnabledRequest) + unmarshaler := protojson.UnmarshalOptions{DiscardUnknown: true} + if err = unmarshaler.Unmarshal(rawReqBody, reqContent); err != nil { + s.handleRequestBodyError(ctx, resp, "the json request could not be decoded", err) + return + } + + handler := s.AgentService.CheckEnabled + if s.interceptor != nil { + handler = func(ctx context.Context, req *CheckEnabledRequest) (*CheckEnabledResponse, error) { + resp, err := s.interceptor( + func(ctx context.Context, req interface{}) (interface{}, error) { + typedReq, ok := req.(*CheckEnabledRequest) + if !ok { + return nil, twirp.InternalError("failed type assertion req.(*CheckEnabledRequest) when calling interceptor") + } + return s.AgentService.CheckEnabled(ctx, typedReq) + }, + )(ctx, req) + if resp != nil { + typedResp, ok := resp.(*CheckEnabledResponse) + if !ok { + return nil, twirp.InternalError("failed type assertion resp.(*CheckEnabledResponse) when calling interceptor") + } + return typedResp, err + } + return nil, err + } + } + + // Call service method + var respContent *CheckEnabledResponse + func() { + defer ensurePanicResponses(ctx, resp, s.hooks) + respContent, err = handler(ctx, reqContent) + }() + + if err != nil { + s.writeError(ctx, resp, err) + return + } + if respContent == nil { + s.writeError(ctx, resp, twirp.InternalError("received a nil *CheckEnabledResponse and nil error while calling CheckEnabled. nil responses are not supported")) + return + } + + ctx = callResponsePrepared(ctx, s.hooks) + + marshaler := &protojson.MarshalOptions{UseProtoNames: !s.jsonCamelCase, EmitUnpopulated: !s.jsonSkipDefaults} + respBytes, err := marshaler.Marshal(respContent) + if err != nil { + s.writeError(ctx, resp, wrapInternal(err, "failed to marshal json response")) + return + } + + ctx = ctxsetters.WithStatusCode(ctx, http.StatusOK) + resp.Header().Set("Content-Type", "application/json") + resp.Header().Set("Content-Length", strconv.Itoa(len(respBytes))) + resp.WriteHeader(http.StatusOK) + + if n, err := resp.Write(respBytes); err != nil { + msg := fmt.Sprintf("failed to write response, %d of %d bytes written: %s", n, len(respBytes), err.Error()) + twerr := twirp.NewError(twirp.Unknown, msg) + ctx = callError(ctx, s.hooks, twerr) + } + callResponseSent(ctx, s.hooks) +} + +func (s *agentServiceServer) serveCheckEnabledProtobuf(ctx context.Context, resp http.ResponseWriter, req *http.Request) { + var err error + ctx = ctxsetters.WithMethodName(ctx, "CheckEnabled") + ctx, err = callRequestRouted(ctx, s.hooks) + if err != nil { + s.writeError(ctx, resp, err) + return + } + + buf, err := io.ReadAll(req.Body) + if err != nil { + s.handleRequestBodyError(ctx, resp, "failed to read request body", err) + return + } + reqContent := new(CheckEnabledRequest) + if err = proto.Unmarshal(buf, reqContent); err != nil { + s.writeError(ctx, resp, malformedRequestError("the protobuf request could not be decoded")) + return + } + + handler := s.AgentService.CheckEnabled + if s.interceptor != nil { + handler = func(ctx context.Context, req *CheckEnabledRequest) (*CheckEnabledResponse, error) { + resp, err := s.interceptor( + func(ctx context.Context, req interface{}) (interface{}, error) { + typedReq, ok := req.(*CheckEnabledRequest) + if !ok { + return nil, twirp.InternalError("failed type assertion req.(*CheckEnabledRequest) when calling interceptor") + } + return s.AgentService.CheckEnabled(ctx, typedReq) + }, + )(ctx, req) + if resp != nil { + typedResp, ok := resp.(*CheckEnabledResponse) + if !ok { + return nil, twirp.InternalError("failed type assertion resp.(*CheckEnabledResponse) when calling interceptor") + } + return typedResp, err + } + return nil, err + } + } + + // Call service method + var respContent *CheckEnabledResponse + func() { + defer ensurePanicResponses(ctx, resp, s.hooks) + respContent, err = handler(ctx, reqContent) + }() + + if err != nil { + s.writeError(ctx, resp, err) + return + } + if respContent == nil { + s.writeError(ctx, resp, twirp.InternalError("received a nil *CheckEnabledResponse and nil error while calling CheckEnabled. nil responses are not supported")) + return + } + + ctx = callResponsePrepared(ctx, s.hooks) + + respBytes, err := proto.Marshal(respContent) + if err != nil { + s.writeError(ctx, resp, wrapInternal(err, "failed to marshal proto response")) + return + } + + ctx = ctxsetters.WithStatusCode(ctx, http.StatusOK) + resp.Header().Set("Content-Type", "application/protobuf") + resp.Header().Set("Content-Length", strconv.Itoa(len(respBytes))) + resp.WriteHeader(http.StatusOK) + if n, err := resp.Write(respBytes); err != nil { + msg := fmt.Sprintf("failed to write response, %d of %d bytes written: %s", n, len(respBytes), err.Error()) + twerr := twirp.NewError(twirp.Unknown, msg) + ctx = callError(ctx, s.hooks, twerr) + } + callResponseSent(ctx, s.hooks) +} + +func (s *agentServiceServer) serveCheckAvailability(ctx context.Context, resp http.ResponseWriter, req *http.Request) { + header := req.Header.Get("Content-Type") + i := strings.Index(header, ";") + if i == -1 { + i = len(header) + } + switch strings.TrimSpace(strings.ToLower(header[:i])) { + case "application/json": + s.serveCheckAvailabilityJSON(ctx, resp, req) + case "application/protobuf": + s.serveCheckAvailabilityProtobuf(ctx, resp, req) + default: + msg := fmt.Sprintf("unexpected Content-Type: %q", req.Header.Get("Content-Type")) + twerr := badRouteError(msg, req.Method, req.URL.Path) + s.writeError(ctx, resp, twerr) + } +} + +func (s *agentServiceServer) serveCheckAvailabilityJSON(ctx context.Context, resp http.ResponseWriter, req *http.Request) { + var err error + ctx = ctxsetters.WithMethodName(ctx, "CheckAvailability") + ctx, err = callRequestRouted(ctx, s.hooks) + if err != nil { + s.writeError(ctx, resp, err) + return + } + + d := json.NewDecoder(req.Body) + rawReqBody := json.RawMessage{} + if err := d.Decode(&rawReqBody); err != nil { + s.handleRequestBodyError(ctx, resp, "the json request could not be decoded", err) + return + } + reqContent := new(CheckAvailabilityRequest) + unmarshaler := protojson.UnmarshalOptions{DiscardUnknown: true} + if err = unmarshaler.Unmarshal(rawReqBody, reqContent); err != nil { + s.handleRequestBodyError(ctx, resp, "the json request could not be decoded", err) + return + } + + handler := s.AgentService.CheckAvailability + if s.interceptor != nil { + handler = func(ctx context.Context, req *CheckAvailabilityRequest) (*CheckAvailabilityResponse, error) { + resp, err := s.interceptor( + func(ctx context.Context, req interface{}) (interface{}, error) { + typedReq, ok := req.(*CheckAvailabilityRequest) + if !ok { + return nil, twirp.InternalError("failed type assertion req.(*CheckAvailabilityRequest) when calling interceptor") + } + return s.AgentService.CheckAvailability(ctx, typedReq) + }, + )(ctx, req) + if resp != nil { + typedResp, ok := resp.(*CheckAvailabilityResponse) + if !ok { + return nil, twirp.InternalError("failed type assertion resp.(*CheckAvailabilityResponse) when calling interceptor") + } + return typedResp, err + } + return nil, err + } + } + + // Call service method + var respContent *CheckAvailabilityResponse + func() { + defer ensurePanicResponses(ctx, resp, s.hooks) + respContent, err = handler(ctx, reqContent) + }() + + if err != nil { + s.writeError(ctx, resp, err) + return + } + if respContent == nil { + s.writeError(ctx, resp, twirp.InternalError("received a nil *CheckAvailabilityResponse and nil error while calling CheckAvailability. nil responses are not supported")) + return + } + + ctx = callResponsePrepared(ctx, s.hooks) + + marshaler := &protojson.MarshalOptions{UseProtoNames: !s.jsonCamelCase, EmitUnpopulated: !s.jsonSkipDefaults} + respBytes, err := marshaler.Marshal(respContent) + if err != nil { + s.writeError(ctx, resp, wrapInternal(err, "failed to marshal json response")) + return + } + + ctx = ctxsetters.WithStatusCode(ctx, http.StatusOK) + resp.Header().Set("Content-Type", "application/json") + resp.Header().Set("Content-Length", strconv.Itoa(len(respBytes))) + resp.WriteHeader(http.StatusOK) + + if n, err := resp.Write(respBytes); err != nil { + msg := fmt.Sprintf("failed to write response, %d of %d bytes written: %s", n, len(respBytes), err.Error()) + twerr := twirp.NewError(twirp.Unknown, msg) + ctx = callError(ctx, s.hooks, twerr) + } + callResponseSent(ctx, s.hooks) +} + +func (s *agentServiceServer) serveCheckAvailabilityProtobuf(ctx context.Context, resp http.ResponseWriter, req *http.Request) { + var err error + ctx = ctxsetters.WithMethodName(ctx, "CheckAvailability") + ctx, err = callRequestRouted(ctx, s.hooks) + if err != nil { + s.writeError(ctx, resp, err) + return + } + + buf, err := io.ReadAll(req.Body) + if err != nil { + s.handleRequestBodyError(ctx, resp, "failed to read request body", err) + return + } + reqContent := new(CheckAvailabilityRequest) + if err = proto.Unmarshal(buf, reqContent); err != nil { + s.writeError(ctx, resp, malformedRequestError("the protobuf request could not be decoded")) + return + } + + handler := s.AgentService.CheckAvailability + if s.interceptor != nil { + handler = func(ctx context.Context, req *CheckAvailabilityRequest) (*CheckAvailabilityResponse, error) { + resp, err := s.interceptor( + func(ctx context.Context, req interface{}) (interface{}, error) { + typedReq, ok := req.(*CheckAvailabilityRequest) + if !ok { + return nil, twirp.InternalError("failed type assertion req.(*CheckAvailabilityRequest) when calling interceptor") + } + return s.AgentService.CheckAvailability(ctx, typedReq) + }, + )(ctx, req) + if resp != nil { + typedResp, ok := resp.(*CheckAvailabilityResponse) + if !ok { + return nil, twirp.InternalError("failed type assertion resp.(*CheckAvailabilityResponse) when calling interceptor") + } + return typedResp, err + } + return nil, err + } + } + + // Call service method + var respContent *CheckAvailabilityResponse + func() { + defer ensurePanicResponses(ctx, resp, s.hooks) + respContent, err = handler(ctx, reqContent) + }() + + if err != nil { + s.writeError(ctx, resp, err) + return + } + if respContent == nil { + s.writeError(ctx, resp, twirp.InternalError("received a nil *CheckAvailabilityResponse and nil error while calling CheckAvailability. nil responses are not supported")) + return + } + + ctx = callResponsePrepared(ctx, s.hooks) + + respBytes, err := proto.Marshal(respContent) + if err != nil { + s.writeError(ctx, resp, wrapInternal(err, "failed to marshal proto response")) + return + } + + ctx = ctxsetters.WithStatusCode(ctx, http.StatusOK) + resp.Header().Set("Content-Type", "application/protobuf") + resp.Header().Set("Content-Length", strconv.Itoa(len(respBytes))) + resp.WriteHeader(http.StatusOK) + if n, err := resp.Write(respBytes); err != nil { + msg := fmt.Sprintf("failed to write response, %d of %d bytes written: %s", n, len(respBytes), err.Error()) + twerr := twirp.NewError(twirp.Unknown, msg) + ctx = callError(ctx, s.hooks, twerr) + } + callResponseSent(ctx, s.hooks) +} + +func (s *agentServiceServer) ServiceDescriptor() ([]byte, int) { + return twirpFileDescriptor5, 0 +} + +func (s *agentServiceServer) ProtocGenTwirpVersion() string { + return "v8.1.3" +} + +// PathPrefix returns the base service path, in the form: "//./" +// that is everything in a Twirp route except for the . This can be used for routing, +// for example to identify the requests that are targeted to this service in a mux. +func (s *agentServiceServer) PathPrefix() string { + return baseServicePath(s.pathPrefix, "livekit", "AgentService") +} + +var twirpFileDescriptor5 = []byte{ + // 1634 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0xcd, 0x72, 0xdb, 0xc8, + 0x11, 0x26, 0x00, 0x52, 0x24, 0x9b, 0x3f, 0xa6, 0x46, 0x92, 0x97, 0xab, 0x5d, 0xef, 0x4a, 0xd8, + 0xa4, 0xac, 0x55, 0x62, 0xb9, 0xa2, 0xe4, 0xe0, 0x68, 0x77, 0x2b, 0x21, 0xb5, 0x72, 0x48, 0x5a, + 0x92, 0xe5, 0xa1, 0x14, 0x57, 0xf9, 0x82, 0x02, 0x89, 0x31, 0x05, 0x09, 0xc0, 0x20, 0x98, 0xa1, + 0x5c, 0xba, 0xe5, 0x90, 0x43, 0x5e, 0x21, 0xd7, 0x1c, 0xf3, 0x02, 0xa9, 0x9c, 0x92, 0x63, 0x9e, + 0x20, 0x95, 0x43, 0x9e, 0x20, 0x4f, 0x91, 0x9a, 0xc1, 0xe0, 0x87, 0x7f, 0x8e, 0x6a, 0x6f, 0x9c, + 0xfe, 0xc3, 0x4c, 0x7f, 0xdd, 0x5f, 0xb7, 0x04, 0x1b, 0x9e, 0x7b, 0x47, 0x6e, 0x5d, 0x6e, 0xd9, + 0x13, 0x12, 0xf0, 0x83, 0x30, 0xa2, 0x9c, 0xa2, 0xb2, 0x12, 0x6e, 0x6f, 0x26, 0x5a, 0x9f, 0x3a, + 0xc4, 0x63, 0xb1, 0xda, 0xfc, 0x97, 0x0e, 0xc6, 0x80, 0x8e, 0x50, 0x13, 0x74, 0xd7, 0x69, 0x6b, + 0x3b, 0xda, 0x5e, 0x15, 0xeb, 0xae, 0x83, 0xbe, 0x84, 0x9a, 0xe3, 0xb2, 0xd0, 0xe6, 0xe3, 0x6b, + 0xcb, 0x75, 0xda, 0x55, 0xa9, 0x80, 0x44, 0xd4, 0x77, 0xd0, 0x8f, 0xa0, 0xc8, 0xef, 0x43, 0xd2, + 0xd6, 0x77, 0xb4, 0xbd, 0xe6, 0x61, 0xeb, 0x40, 0x45, 0x3f, 0x18, 0xd0, 0xd1, 0xe5, 0x7d, 0x48, + 0xb0, 0xd4, 0xa2, 0x5d, 0x28, 0x46, 0x94, 0xfa, 0x6d, 0x63, 0x47, 0xdb, 0xab, 0x1d, 0x36, 0x52, + 0x2b, 0x4c, 0xa9, 0x8f, 0xa5, 0x0a, 0xfd, 0x0a, 0x6a, 0xa1, 0x1d, 0x71, 0x77, 0xec, 0x86, 0x76, + 0xc0, 0xdb, 0x45, 0x69, 0xd9, 0x4e, 0x2d, 0x2f, 0x32, 0x5d, 0x3f, 0x78, 0x4f, 0x7b, 0x05, 0x9c, + 0x37, 0xff, 0xa3, 0xa6, 0xa1, 0x1d, 0xa8, 0x06, 0xb6, 0x4f, 0x58, 0x68, 0x8f, 0x49, 0xbb, 0x24, + 0x2e, 0xda, 0xd5, 0xdb, 0x1a, 0xce, 0x84, 0x68, 0x1b, 0x2a, 0x3e, 0xe1, 0xb6, 0x63, 0x73, 0xbb, + 0xbd, 0x26, 0x5f, 0x92, 0x9e, 0xd1, 0x13, 0x00, 0x99, 0x2e, 0x4b, 0x98, 0xb7, 0xcb, 0x52, 0x5b, + 0x95, 0x92, 0x73, 0xdb, 0x27, 0xe8, 0x29, 0x94, 0x18, 0xb7, 0x39, 0x69, 0x57, 0xe4, 0xbd, 0xd6, + 0xf3, 0xef, 0x1c, 0x0a, 0x05, 0x8e, 0xf5, 0xdd, 0x26, 0xd4, 0xad, 0xdc, 0xc5, 0xcc, 0x7f, 0x6b, + 0x50, 0x49, 0x6c, 0xd0, 0x3e, 0xac, 0x09, 0xab, 0x29, 0x93, 0x19, 0x6e, 0x1e, 0xa2, 0xf9, 0x30, + 0x53, 0x86, 0x95, 0x05, 0xda, 0x84, 0x12, 0x89, 0x22, 0x1a, 0xc9, 0xcc, 0x56, 0x71, 0x7c, 0x10, + 0xd7, 0x64, 0xdc, 0x8e, 0x38, 0x71, 0x2c, 0x9b, 0xcb, 0x74, 0x1a, 0xb8, 0xaa, 0x24, 0x1d, 0x8e, + 0x3e, 0x85, 0x0a, 0x09, 0x9c, 0x58, 0x59, 0x94, 0xca, 0xb2, 0x3c, 0x77, 0xb8, 0xf0, 0x9c, 0x86, + 0x8e, 0xad, 0x3c, 0x4b, 0xb1, 0xa7, 0x92, 0x74, 0x38, 0xfa, 0x19, 0x6c, 0xe6, 0xae, 0x6d, 0xb9, + 0x0e, 0x09, 0xb8, 0xcb, 0xef, 0x55, 0x9e, 0x36, 0x72, 0xba, 0xbe, 0x52, 0x99, 0x7f, 0xd6, 0x01, + 0xde, 0xd2, 0xe8, 0x96, 0x44, 0x02, 0x91, 0x85, 0xd2, 0x99, 0xcd, 0xa8, 0x3e, 0x9f, 0xd1, 0x36, + 0x94, 0xef, 0x48, 0xc4, 0x5c, 0x1a, 0xc8, 0x67, 0x54, 0x71, 0x72, 0x44, 0xcf, 0xd2, 0x2c, 0x15, + 0x65, 0x96, 0xb6, 0xd2, 0x2c, 0xc5, 0x5f, 0x9b, 0x4b, 0x54, 0x1e, 0xd5, 0xd2, 0x1c, 0xaa, 0x08, + 0x8a, 0x1e, 0xb5, 0x1d, 0xf9, 0x0a, 0x1d, 0xcb, 0xdf, 0xe8, 0x33, 0xa8, 0xde, 0xd0, 0x91, 0x35, + 0xa6, 0xd3, 0x80, 0x4b, 0xa0, 0x1b, 0xb8, 0x72, 0x43, 0x47, 0xc7, 0xe2, 0x8c, 0x5e, 0xc3, 0x86, + 0xed, 0x79, 0xf4, 0x03, 0x71, 0xac, 0x90, 0x44, 0xbe, 0xcb, 0xc4, 0x8d, 0x98, 0x42, 0xfd, 0x8b, + 0x65, 0xd5, 0x78, 0x91, 0x9a, 0x61, 0xa4, 0x5c, 0x33, 0x11, 0x33, 0xff, 0x69, 0x40, 0x23, 0xbe, + 0xf6, 0x19, 0x61, 0xcc, 0x9e, 0x10, 0xf4, 0x2d, 0x54, 0x22, 0x32, 0x71, 0x19, 0x27, 0x91, 0xcc, + 0x56, 0x3e, 0x2e, 0x56, 0x8a, 0xd8, 0x03, 0x93, 0xdf, 0x4d, 0x09, 0xe3, 0xbd, 0x02, 0x4e, 0x3d, + 0xd0, 0x31, 0xd4, 0xed, 0x3b, 0xdb, 0xf5, 0xec, 0x91, 0xeb, 0x09, 0x7c, 0x74, 0x19, 0xe1, 0x49, + 0x1a, 0xa1, 0x93, 0x53, 0x62, 0xc2, 0x42, 0x1a, 0x30, 0xd2, 0x2b, 0xe0, 0x19, 0x27, 0xd4, 0x85, + 0x46, 0x8c, 0xbc, 0xf5, 0x41, 0x7e, 0x48, 0xf5, 0xe5, 0x67, 0x69, 0x94, 0x2b, 0xa9, 0xcd, 0xa7, + 0x5b, 0xc4, 0x98, 0xe6, 0xa4, 0xe8, 0x97, 0x49, 0x3d, 0x59, 0x37, 0x74, 0xb4, 0xd0, 0xae, 0x71, + 0x80, 0xb4, 0xaa, 0x7b, 0x85, 0xa4, 0xd6, 0x04, 0xc9, 0x7c, 0x0d, 0xc5, 0xd0, 0x0d, 0x26, 0x12, + 0xad, 0xda, 0xe1, 0xc6, 0x1c, 0xbc, 0x17, 0x6e, 0x30, 0xe9, 0x15, 0xb0, 0x34, 0x41, 0xbf, 0x86, + 0x3a, 0x73, 0xfd, 0xa9, 0x97, 0x7c, 0x67, 0x6d, 0xee, 0xa2, 0x43, 0xa5, 0x1c, 0xd0, 0x51, 0x96, + 0xad, 0x1a, 0xcb, 0xa4, 0xe8, 0x3b, 0xa8, 0xf9, 0xee, 0x24, 0x4a, 0x02, 0x94, 0x65, 0x80, 0xed, + 0x34, 0xc0, 0x59, 0xac, 0x9b, 0xf1, 0x07, 0x3f, 0x15, 0x76, 0xab, 0x50, 0xf6, 0x63, 0xe0, 0xcc, + 0xbf, 0xeb, 0xd0, 0x18, 0x92, 0xe8, 0x2e, 0x83, 0xf2, 0xbb, 0x05, 0x28, 0xbf, 0x5c, 0x09, 0x65, + 0x0a, 0x45, 0x86, 0x65, 0x77, 0x29, 0x96, 0x9f, 0xaf, 0xc0, 0x32, 0xb9, 0xdd, 0x2c, 0x94, 0x2f, + 0x00, 0x6c, 0xc6, 0xdc, 0x49, 0xe0, 0x93, 0x80, 0x2b, 0x1c, 0x1f, 0xe7, 0x69, 0xa5, 0x93, 0x6a, + 0xc5, 0xcb, 0x32, 0x5b, 0xf4, 0x0d, 0xd4, 0xb8, 0x28, 0xd4, 0xc0, 0xe6, 0xa2, 0x09, 0x63, 0x30, + 0x3e, 0x99, 0x21, 0xf0, 0x4c, 0x2d, 0xb2, 0x9a, 0xb3, 0x96, 0x10, 0xd2, 0x60, 0xa2, 0x70, 0x5f, + 0x80, 0x90, 0x2a, 0x08, 0x69, 0x30, 0xc9, 0x67, 0xf0, 0x4f, 0x1a, 0xa0, 0x45, 0xc4, 0xd2, 0x19, + 0xa2, 0x3d, 0x68, 0x86, 0xe8, 0xab, 0x67, 0xc8, 0xd1, 0xec, 0x0c, 0x31, 0x3e, 0x3e, 0x43, 0x66, + 0x26, 0x88, 0xb9, 0x9f, 0x90, 0x99, 0xa8, 0x3f, 0xf4, 0x39, 0x54, 0xb9, 0xeb, 0x13, 0xc6, 0x6d, + 0x3f, 0x94, 0xf7, 0x32, 0x70, 0x26, 0x30, 0xdf, 0xa4, 0xb6, 0x34, 0x98, 0xa0, 0x1f, 0x43, 0xd3, + 0xb3, 0x19, 0xb7, 0xe6, 0x1d, 0x1a, 0x42, 0x7a, 0x99, 0x08, 0x67, 0x43, 0xea, 0xf3, 0x21, 0xff, + 0xa6, 0xc3, 0xd6, 0xd2, 0xee, 0x7f, 0x60, 0x76, 0x66, 0xd9, 0xb6, 0xf2, 0x70, 0xb6, 0xcd, 0xd3, + 0x67, 0x71, 0x8e, 0x3e, 0xbf, 0x82, 0x86, 0xe8, 0x42, 0xcb, 0x0d, 0x38, 0x89, 0xee, 0x6c, 0x4f, + 0x16, 0x49, 0x03, 0xd7, 0x85, 0xb0, 0xaf, 0x64, 0x68, 0x37, 0x3f, 0x77, 0xe5, 0xb8, 0x10, 0xdd, + 0x9e, 0x8a, 0xc4, 0x68, 0x5e, 0xc1, 0xaa, 0xe5, 0x1f, 0xca, 0xaa, 0xdd, 0x3a, 0x80, 0x95, 0x7e, + 0xc1, 0xbc, 0x85, 0xc7, 0xcb, 0xbb, 0x4d, 0x70, 0x7d, 0xcc, 0x70, 0x56, 0x3a, 0x9a, 0x2a, 0xb1, + 0xa0, 0xef, 0xa0, 0x5f, 0x40, 0x8d, 0xc9, 0x76, 0xb6, 0xdc, 0xe0, 0x3d, 0x55, 0xd5, 0x92, 0x95, + 0x72, 0xdc, 0xea, 0xb2, 0x50, 0x80, 0xa5, 0xbf, 0xcd, 0x9f, 0xc2, 0xfa, 0x02, 0x67, 0xa0, 0x4f, + 0xa0, 0x2c, 0x66, 0x8a, 0xeb, 0xb0, 0xb6, 0xbe, 0x63, 0xec, 0x55, 0xf1, 0xda, 0x0d, 0x1d, 0xf5, + 0x1d, 0x66, 0xbe, 0x81, 0x8d, 0x25, 0x5d, 0x8c, 0xbe, 0x00, 0x43, 0x90, 0x51, 0xcc, 0x19, 0xf5, + 0x3c, 0xa4, 0x58, 0x28, 0x04, 0x28, 0x11, 0x61, 0x53, 0x5f, 0xb0, 0xa4, 0x28, 0x95, 0x0a, 0x4e, + 0xcf, 0xe6, 0x3f, 0x0c, 0xd8, 0x5c, 0xc6, 0xf2, 0x68, 0x0b, 0xd6, 0xe2, 0x4b, 0xa8, 0x97, 0x96, + 0xe4, 0x1d, 0x44, 0xdd, 0x29, 0xc6, 0xf0, 0x88, 0x0a, 0x96, 0x09, 0xd0, 0x53, 0x78, 0xc4, 0xa6, + 0x61, 0x48, 0x23, 0xce, 0x2c, 0xf9, 0x09, 0x22, 0x13, 0x51, 0xc1, 0xcd, 0x44, 0x8c, 0xa5, 0x14, + 0x7d, 0x0d, 0xad, 0xfc, 0x82, 0x20, 0xcb, 0x2c, 0xae, 0x97, 0x47, 0x39, 0xb9, 0x2c, 0xb6, 0x55, + 0xbb, 0x44, 0x69, 0xe5, 0x2e, 0x31, 0xef, 0x32, 0xb7, 0xa6, 0xe5, 0x5d, 0xce, 0x92, 0xe2, 0xa4, + 0xf0, 0x38, 0xef, 0x62, 0x73, 0x1e, 0xb9, 0xa3, 0x29, 0x27, 0xa2, 0xae, 0x8c, 0xbd, 0xda, 0xe1, + 0x8b, 0x8f, 0xce, 0xc4, 0x7c, 0xb1, 0x75, 0x52, 0xd7, 0x93, 0x80, 0x47, 0xf7, 0x78, 0x2b, 0x5c, + 0xa6, 0xdb, 0xee, 0xc1, 0xf6, 0x6a, 0x27, 0xd4, 0x02, 0xe3, 0x96, 0xdc, 0xab, 0xd4, 0x8b, 0x9f, + 0x62, 0x83, 0xbb, 0xb3, 0xbd, 0x69, 0xb2, 0xfb, 0xc4, 0x87, 0x23, 0xfd, 0x85, 0x66, 0xde, 0xc0, + 0xa3, 0xb9, 0x01, 0xb9, 0x0a, 0xbc, 0x6c, 0x63, 0xd4, 0x1f, 0xbe, 0x31, 0x1a, 0xb9, 0x8d, 0xd1, + 0xfc, 0x83, 0x06, 0x68, 0x71, 0x9c, 0xa3, 0xc3, 0xb9, 0x55, 0x74, 0xf9, 0x92, 0xd5, 0x2b, 0x24, + 0xd1, 0x45, 0x1b, 0x27, 0xdb, 0x94, 0xb1, 0x6a, 0x9b, 0x2a, 0xce, 0x6e, 0x53, 0x82, 0xfa, 0xad, + 0xd8, 0xdd, 0x74, 0xa0, 0x31, 0x33, 0x8c, 0xfe, 0x6f, 0x0b, 0x6c, 0x81, 0x31, 0x8d, 0xbc, 0x38, + 0x77, 0xbd, 0x02, 0x16, 0x07, 0x71, 0x87, 0x4d, 0x28, 0x71, 0x7a, 0x4b, 0x12, 0x1a, 0x8b, 0x0f, + 0xdd, 0x35, 0x28, 0x5a, 0xd3, 0xc8, 0x33, 0x9f, 0x42, 0x73, 0x76, 0x6e, 0xad, 0xc8, 0xab, 0xb9, + 0x05, 0x1b, 0xc7, 0xd7, 0x64, 0x7c, 0x7b, 0x12, 0x88, 0x2e, 0x70, 0x54, 0x5f, 0x9a, 0xff, 0xd1, + 0x60, 0x73, 0x56, 0xae, 0x7a, 0x6b, 0x17, 0xea, 0x62, 0xc2, 0x58, 0x24, 0x96, 0xcb, 0x60, 0x15, + 0x5c, 0x13, 0x32, 0x65, 0x8a, 0x7e, 0x02, 0xeb, 0xe1, 0x74, 0xe4, 0xb9, 0xec, 0x9a, 0x44, 0xa9, + 0x5d, 0xdc, 0x6f, 0xad, 0x54, 0x91, 0x18, 0x3f, 0x87, 0x7c, 0x4d, 0xa7, 0xe6, 0x25, 0x69, 0x8e, + 0x72, 0xaa, 0xc4, 0xc1, 0x04, 0x48, 0x09, 0x8f, 0xb5, 0x0d, 0x41, 0x32, 0xf2, 0xcf, 0x9b, 0x9c, + 0x54, 0xfc, 0xb1, 0x96, 0xcd, 0x00, 0xb1, 0x3d, 0x0b, 0x26, 0x82, 0x74, 0x08, 0x30, 0xf3, 0x1b, + 0x68, 0xcb, 0xd7, 0x2d, 0xa3, 0xa4, 0x39, 0x67, 0x6d, 0xc1, 0xf9, 0xf7, 0x1a, 0x7c, 0xba, 0xc4, + 0x5b, 0x25, 0x68, 0x8e, 0x4c, 0xb5, 0x07, 0x91, 0x29, 0x7a, 0x06, 0xe5, 0x98, 0x8e, 0x63, 0xde, + 0x5c, 0xdc, 0x24, 0xa4, 0x47, 0x62, 0xb3, 0xff, 0x2d, 0x94, 0xd5, 0xd4, 0x43, 0x35, 0x28, 0x0f, + 0x2e, 0x2d, 0xfc, 0xfa, 0xf5, 0x59, 0xab, 0x80, 0x5a, 0x50, 0x1f, 0x5c, 0x5a, 0x17, 0x57, 0xdd, + 0xd3, 0xfe, 0xb0, 0x77, 0x82, 0x5b, 0xa2, 0x54, 0x9b, 0x42, 0xd2, 0xc1, 0x97, 0xfd, 0xe3, 0xfe, + 0x45, 0xe7, 0xfc, 0xb2, 0xa5, 0xef, 0x3f, 0x83, 0xfa, 0x4c, 0x0b, 0xb4, 0xa0, 0xfe, 0x76, 0x68, + 0x75, 0x7e, 0xdb, 0xe9, 0x9f, 0x76, 0xba, 0xa7, 0x27, 0xad, 0x82, 0x08, 0xfa, 0x76, 0x68, 0xbd, + 0xbc, 0x3a, 0x3d, 0x6d, 0x69, 0xfb, 0x03, 0xa8, 0x66, 0xed, 0xd9, 0x04, 0x18, 0x0c, 0xad, 0x8b, + 0x93, 0xf3, 0xef, 0xfb, 0xe7, 0xbf, 0x69, 0x15, 0xd4, 0x19, 0x5f, 0x9d, 0x9f, 0x8b, 0xb3, 0xa6, + 0xce, 0xc3, 0xab, 0xe3, 0xe3, 0x93, 0xe1, 0xb0, 0xa5, 0xa3, 0x06, 0x54, 0x07, 0x43, 0xeb, 0x65, + 0xa7, 0x7f, 0x7a, 0xf2, 0x7d, 0xcb, 0x38, 0xfc, 0xab, 0x06, 0xf5, 0x8e, 0x48, 0xa5, 0xc8, 0x83, + 0x3b, 0x26, 0xe8, 0x15, 0xd4, 0xf3, 0x75, 0x86, 0xb2, 0xa5, 0x6f, 0x49, 0x59, 0x6e, 0x3f, 0x59, + 0xa1, 0x55, 0xb9, 0x7f, 0x07, 0xeb, 0x0b, 0xc0, 0xa0, 0xdd, 0x59, 0x9f, 0x25, 0x90, 0x6f, 0x9b, + 0x1f, 0x33, 0x89, 0x63, 0x77, 0x5f, 0xbe, 0xfb, 0x6a, 0xe2, 0xf2, 0xeb, 0xe9, 0xe8, 0x60, 0x4c, + 0xfd, 0xe7, 0xca, 0xfe, 0xb9, 0xfc, 0xa7, 0xc1, 0x98, 0x7a, 0x89, 0xe0, 0x2f, 0x7a, 0xe3, 0xd4, + 0xbd, 0x23, 0xaf, 0xc4, 0x10, 0x17, 0xaa, 0xff, 0xea, 0x4d, 0x75, 0x3e, 0x3a, 0x92, 0x82, 0xd1, + 0x9a, 0x74, 0xf9, 0xf9, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x4b, 0xc0, 0xb7, 0x9d, 0x10, + 0x00, 0x00, +} diff --git a/livekit/livekit_agent_dispatch.pb.go b/livekit/livekit_agent_dispatch.pb.go index e0218f94..50a3915d 100644 --- a/livekit/livekit_agent_dispatch.pb.go +++ b/livekit/livekit_agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_agent_dispatch.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -435,7 +434,7 @@ func (x *AgentDispatchState) GetDeletedAt() int64 { var File_livekit_agent_dispatch_proto protoreflect.FileDescriptor -var file_livekit_agent_dispatch_proto_rawDesc = string([]byte{ +var file_livekit_agent_dispatch_proto_rawDesc = []byte{ 0x0a, 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, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -508,16 +507,16 @@ var file_livekit_agent_dispatch_proto_rawDesc = string([]byte{ 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 ( file_livekit_agent_dispatch_proto_rawDescOnce sync.Once - file_livekit_agent_dispatch_proto_rawDescData []byte + file_livekit_agent_dispatch_proto_rawDescData = file_livekit_agent_dispatch_proto_rawDesc ) func file_livekit_agent_dispatch_proto_rawDescGZIP() []byte { file_livekit_agent_dispatch_proto_rawDescOnce.Do(func() { - file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc))) + file_livekit_agent_dispatch_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_agent_dispatch_proto_rawDescData) }) return file_livekit_agent_dispatch_proto_rawDescData } @@ -560,7 +559,7 @@ func file_livekit_agent_dispatch_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_agent_dispatch_proto_rawDesc), len(file_livekit_agent_dispatch_proto_rawDesc)), + RawDescriptor: file_livekit_agent_dispatch_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, @@ -571,6 +570,7 @@ func file_livekit_agent_dispatch_proto_init() { MessageInfos: file_livekit_agent_dispatch_proto_msgTypes, }.Build() File_livekit_agent_dispatch_proto = out.File + file_livekit_agent_dispatch_proto_rawDesc = nil file_livekit_agent_dispatch_proto_goTypes = nil file_livekit_agent_dispatch_proto_depIdxs = nil } diff --git a/livekit/livekit_analytics.pb.go b/livekit/livekit_analytics.pb.go index 2833083e..144aca22 100644 --- a/livekit/livekit_analytics.pb.go +++ b/livekit/livekit_analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_analytics.proto package livekit @@ -26,7 +26,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -2207,7 +2206,7 @@ func (x *WebhookInfo) GetSendError() string { var File_livekit_analytics_proto protoreflect.FileDescriptor -var file_livekit_analytics_proto_rawDesc = string([]byte{ +var file_livekit_analytics_proto_rawDesc = []byte{ 0x0a, 0x17, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -2715,16 +2714,16 @@ var file_livekit_analytics_proto_rawDesc = string([]byte{ 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 ( file_livekit_analytics_proto_rawDescOnce sync.Once - file_livekit_analytics_proto_rawDescData []byte + file_livekit_analytics_proto_rawDescData = file_livekit_analytics_proto_rawDesc ) func file_livekit_analytics_proto_rawDescGZIP() []byte { file_livekit_analytics_proto_rawDescOnce.Do(func() { - file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc))) + file_livekit_analytics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_analytics_proto_rawDescData) }) return file_livekit_analytics_proto_rawDescData } @@ -2869,7 +2868,7 @@ func file_livekit_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_analytics_proto_rawDesc), len(file_livekit_analytics_proto_rawDesc)), + RawDescriptor: file_livekit_analytics_proto_rawDesc, NumEnums: 3, NumMessages: 16, NumExtensions: 0, @@ -2881,6 +2880,7 @@ func file_livekit_analytics_proto_init() { MessageInfos: file_livekit_analytics_proto_msgTypes, }.Build() File_livekit_analytics_proto = out.File + file_livekit_analytics_proto_rawDesc = nil file_livekit_analytics_proto_goTypes = nil file_livekit_analytics_proto_depIdxs = nil } diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index 650e54d7..3dc8b7b4 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_egress.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -3818,7 +3817,7 @@ func (*AutoTrackEgress_AliOSS) isAutoTrackEgress_Output() {} var File_livekit_egress_proto protoreflect.FileDescriptor -var file_livekit_egress_proto_rawDesc = string([]byte{ +var file_livekit_egress_proto_rawDesc = []byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, @@ -4499,16 +4498,16 @@ var file_livekit_egress_proto_rawDesc = string([]byte{ 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 ( file_livekit_egress_proto_rawDescOnce sync.Once - file_livekit_egress_proto_rawDescData []byte + file_livekit_egress_proto_rawDescData = file_livekit_egress_proto_rawDesc ) func file_livekit_egress_proto_rawDescGZIP() []byte { file_livekit_egress_proto_rawDescOnce.Do(func() { - file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc))) + file_livekit_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_egress_proto_rawDescData) }) return file_livekit_egress_proto_rawDescData } @@ -4756,7 +4755,7 @@ func file_livekit_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_egress_proto_rawDesc), len(file_livekit_egress_proto_rawDesc)), + RawDescriptor: file_livekit_egress_proto_rawDesc, NumEnums: 10, NumMessages: 30, NumExtensions: 0, @@ -4768,6 +4767,7 @@ func file_livekit_egress_proto_init() { MessageInfos: file_livekit_egress_proto_msgTypes, }.Build() File_livekit_egress_proto = out.File + file_livekit_egress_proto_rawDesc = nil file_livekit_egress_proto_goTypes = nil file_livekit_egress_proto_depIdxs = nil } diff --git a/livekit/livekit_ingress.pb.go b/livekit/livekit_ingress.pb.go index b823cdde..1ede3980 100644 --- a/livekit/livekit_ingress.pb.go +++ b/livekit/livekit_ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_ingress.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -1423,7 +1422,7 @@ func (x *DeleteIngressRequest) GetIngressId() string { var File_livekit_ingress_proto protoreflect.FileDescriptor -var file_livekit_ingress_proto_rawDesc = string([]byte{ +var file_livekit_ingress_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -1712,16 +1711,16 @@ var file_livekit_ingress_proto_rawDesc = string([]byte{ 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 ( file_livekit_ingress_proto_rawDescOnce sync.Once - file_livekit_ingress_proto_rawDescData []byte + file_livekit_ingress_proto_rawDescData = file_livekit_ingress_proto_rawDesc ) func file_livekit_ingress_proto_rawDescGZIP() []byte { file_livekit_ingress_proto_rawDescOnce.Do(func() { - file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc))) + file_livekit_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_ingress_proto_rawDescData) }) return file_livekit_ingress_proto_rawDescData } @@ -1812,7 +1811,7 @@ func file_livekit_ingress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_ingress_proto_rawDesc), len(file_livekit_ingress_proto_rawDesc)), + RawDescriptor: file_livekit_ingress_proto_rawDesc, NumEnums: 4, NumMessages: 13, NumExtensions: 0, @@ -1824,6 +1823,7 @@ func file_livekit_ingress_proto_init() { MessageInfos: file_livekit_ingress_proto_msgTypes, }.Build() File_livekit_ingress_proto = out.File + file_livekit_ingress_proto_rawDesc = nil file_livekit_ingress_proto_goTypes = nil file_livekit_ingress_proto_depIdxs = nil } diff --git a/livekit/livekit_internal.pb.go b/livekit/livekit_internal.pb.go index 6ca6ac0a..07eedfb8 100644 --- a/livekit/livekit_internal.pb.go +++ b/livekit/livekit_internal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_internal.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -1025,7 +1024,7 @@ func (x *ICEConfig) GetPreferencePublisher() ICECandidateType { var File_livekit_internal_proto protoreflect.FileDescriptor -var file_livekit_internal_proto_rawDesc = string([]byte{ +var file_livekit_internal_proto_rawDesc = []byte{ 0x0a, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, @@ -1289,16 +1288,16 @@ var file_livekit_internal_proto_rawDesc = string([]byte{ 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 ( file_livekit_internal_proto_rawDescOnce sync.Once - file_livekit_internal_proto_rawDescData []byte + file_livekit_internal_proto_rawDescData = file_livekit_internal_proto_rawDesc ) func file_livekit_internal_proto_rawDescGZIP() []byte { file_livekit_internal_proto_rawDescOnce.Do(func() { - file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc))) + file_livekit_internal_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_internal_proto_rawDescData) }) return file_livekit_internal_proto_rawDescData } @@ -1356,7 +1355,7 @@ func file_livekit_internal_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_internal_proto_rawDesc), len(file_livekit_internal_proto_rawDesc)), + RawDescriptor: file_livekit_internal_proto_rawDesc, NumEnums: 3, NumMessages: 5, NumExtensions: 0, @@ -1368,6 +1367,7 @@ func file_livekit_internal_proto_init() { MessageInfos: file_livekit_internal_proto_msgTypes, }.Build() File_livekit_internal_proto = out.File + file_livekit_internal_proto_rawDesc = nil file_livekit_internal_proto_goTypes = nil file_livekit_internal_proto_depIdxs = nil } diff --git a/livekit/livekit_metrics.pb.go b/livekit/livekit_metrics.pb.go index d138e240..843757f3 100644 --- a/livekit/livekit_metrics.pb.go +++ b/livekit/livekit_metrics.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_metrics.proto package livekit @@ -12,7 +12,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -456,7 +455,7 @@ func (x *EventMetric) GetRid() uint32 { var File_livekit_metrics_proto protoreflect.FileDescriptor -var file_livekit_metrics_proto_rawDesc = string([]byte{ +var file_livekit_metrics_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, @@ -591,16 +590,16 @@ var file_livekit_metrics_proto_rawDesc = string([]byte{ 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 ( file_livekit_metrics_proto_rawDescOnce sync.Once - file_livekit_metrics_proto_rawDescData []byte + file_livekit_metrics_proto_rawDescData = file_livekit_metrics_proto_rawDesc ) func file_livekit_metrics_proto_rawDescGZIP() []byte { file_livekit_metrics_proto_rawDescOnce.Do(func() { - file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc))) + file_livekit_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_metrics_proto_rawDescData) }) return file_livekit_metrics_proto_rawDescData } @@ -640,7 +639,7 @@ func file_livekit_metrics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_metrics_proto_rawDesc), len(file_livekit_metrics_proto_rawDesc)), + RawDescriptor: file_livekit_metrics_proto_rawDesc, NumEnums: 1, NumMessages: 4, NumExtensions: 0, @@ -652,6 +651,7 @@ func file_livekit_metrics_proto_init() { MessageInfos: file_livekit_metrics_proto_msgTypes, }.Build() File_livekit_metrics_proto = out.File + file_livekit_metrics_proto_rawDesc = nil file_livekit_metrics_proto_goTypes = nil file_livekit_metrics_proto_depIdxs = nil } diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index 1f225df9..4f020171 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_models.proto package livekit @@ -26,7 +26,6 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -5020,7 +5019,7 @@ func (x *DataStream_Trailer) GetAttributes() map[string]string { var File_livekit_models_proto protoreflect.FileDescriptor -var file_livekit_models_proto_rawDesc = string([]byte{ +var file_livekit_models_proto_rawDesc = []byte{ 0x0a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, @@ -5855,16 +5854,16 @@ var file_livekit_models_proto_rawDesc = string([]byte{ 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 ( file_livekit_models_proto_rawDescOnce sync.Once - file_livekit_models_proto_rawDescData []byte + file_livekit_models_proto_rawDescData = file_livekit_models_proto_rawDesc ) func file_livekit_models_proto_rawDescGZIP() []byte { file_livekit_models_proto_rawDescOnce.Do(func() { - file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc))) + file_livekit_models_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_models_proto_rawDescData) }) return file_livekit_models_proto_rawDescData } @@ -6053,7 +6052,7 @@ func file_livekit_models_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_models_proto_rawDesc), len(file_livekit_models_proto_rawDesc)), + RawDescriptor: file_livekit_models_proto_rawDesc, NumEnums: 20, NumMessages: 45, NumExtensions: 0, @@ -6065,6 +6064,7 @@ func file_livekit_models_proto_init() { MessageInfos: file_livekit_models_proto_msgTypes, }.Build() File_livekit_models_proto = out.File + file_livekit_models_proto_rawDesc = nil file_livekit_models_proto_goTypes = nil file_livekit_models_proto_depIdxs = nil } diff --git a/livekit/livekit_room.pb.go b/livekit/livekit_room.pb.go index ce291ccd..0d201769 100644 --- a/livekit/livekit_room.pb.go +++ b/livekit/livekit_room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_room.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -1265,7 +1264,7 @@ func (x *RoomConfiguration) GetAgents() []*RoomAgentDispatch { var File_livekit_room_proto protoreflect.FileDescriptor -var file_livekit_room_proto_rawDesc = string([]byte{ +var file_livekit_room_proto_rawDesc = []byte{ 0x0a, 0x12, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, @@ -1501,16 +1500,16 @@ var file_livekit_room_proto_rawDesc = string([]byte{ 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 ( file_livekit_room_proto_rawDescOnce sync.Once - file_livekit_room_proto_rawDescData []byte + file_livekit_room_proto_rawDescData = file_livekit_room_proto_rawDesc ) func file_livekit_room_proto_rawDescGZIP() []byte { file_livekit_room_proto_rawDescOnce.Do(func() { - file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc))) + file_livekit_room_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_room_proto_rawDescData) }) return file_livekit_room_proto_rawDescData } @@ -1607,7 +1606,7 @@ func file_livekit_room_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_room_proto_rawDesc), len(file_livekit_room_proto_rawDesc)), + RawDescriptor: file_livekit_room_proto_rawDesc, NumEnums: 0, NumMessages: 21, NumExtensions: 0, @@ -1618,6 +1617,7 @@ func file_livekit_room_proto_init() { MessageInfos: file_livekit_room_proto_msgTypes, }.Build() File_livekit_room_proto = out.File + file_livekit_room_proto_rawDesc = nil file_livekit_room_proto_goTypes = nil file_livekit_room_proto_depIdxs = nil } diff --git a/livekit/livekit_rtc.pb.go b/livekit/livekit_rtc.pb.go index 1593fc88..08ba41a5 100644 --- a/livekit/livekit_rtc.pb.go +++ b/livekit/livekit_rtc.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_rtc.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -3676,7 +3675,7 @@ func (x *TrackSubscribed) GetTrackSid() string { var File_livekit_rtc_proto protoreflect.FileDescriptor -var file_livekit_rtc_proto_rawDesc = string([]byte{ +var file_livekit_rtc_proto_rawDesc = []byte{ 0x0a, 0x11, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x72, 0x74, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, @@ -4249,16 +4248,16 @@ var file_livekit_rtc_proto_rawDesc = string([]byte{ 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 ( file_livekit_rtc_proto_rawDescOnce sync.Once - file_livekit_rtc_proto_rawDescData []byte + file_livekit_rtc_proto_rawDescData = file_livekit_rtc_proto_rawDesc ) func file_livekit_rtc_proto_rawDescGZIP() []byte { file_livekit_rtc_proto_rawDescOnce.Do(func() { - file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc))) + file_livekit_rtc_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_rtc_proto_rawDescData) }) return file_livekit_rtc_proto_rawDescData } @@ -4488,7 +4487,7 @@ func file_livekit_rtc_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_rtc_proto_rawDesc), len(file_livekit_rtc_proto_rawDesc)), + RawDescriptor: file_livekit_rtc_proto_rawDesc, NumEnums: 5, NumMessages: 43, NumExtensions: 0, @@ -4500,6 +4499,7 @@ func file_livekit_rtc_proto_init() { MessageInfos: file_livekit_rtc_proto_msgTypes, }.Build() File_livekit_rtc_proto = out.File + file_livekit_rtc_proto_rawDesc = nil file_livekit_rtc_proto_goTypes = nil file_livekit_rtc_proto_depIdxs = nil } diff --git a/livekit/livekit_sip.pb.go b/livekit/livekit_sip.pb.go index 9cf4476b..5889a26a 100644 --- a/livekit/livekit_sip.pb.go +++ b/livekit/livekit_sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_sip.proto package livekit @@ -27,7 +27,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -3348,7 +3347,7 @@ func (x *SIPUri) GetTransport() SIPTransport { var File_livekit_sip_proto protoreflect.FileDescriptor -var file_livekit_sip_proto_rawDesc = string([]byte{ +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, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, @@ -4187,16 +4186,16 @@ var file_livekit_sip_proto_rawDesc = string([]byte{ 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 ( file_livekit_sip_proto_rawDescOnce sync.Once - file_livekit_sip_proto_rawDescData []byte + file_livekit_sip_proto_rawDescData = file_livekit_sip_proto_rawDesc ) func file_livekit_sip_proto_rawDescGZIP() []byte { file_livekit_sip_proto_rawDescOnce.Do(func() { - file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc))) + file_livekit_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_sip_proto_rawDescData) }) return file_livekit_sip_proto_rawDescData } @@ -4373,7 +4372,7 @@ func file_livekit_sip_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_sip_proto_rawDesc), len(file_livekit_sip_proto_rawDesc)), + RawDescriptor: file_livekit_sip_proto_rawDesc, NumEnums: 8, NumMessages: 47, NumExtensions: 0, @@ -4385,6 +4384,7 @@ func file_livekit_sip_proto_init() { MessageInfos: file_livekit_sip_proto_msgTypes, }.Build() File_livekit_sip_proto = out.File + file_livekit_sip_proto_rawDesc = nil file_livekit_sip_proto_goTypes = nil file_livekit_sip_proto_depIdxs = nil } diff --git a/livekit/livekit_webhook.pb.go b/livekit/livekit_webhook.pb.go index 1f56d998..842ebf06 100644 --- a/livekit/livekit_webhook.pb.go +++ b/livekit/livekit_webhook.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: livekit_webhook.proto package livekit @@ -25,7 +25,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -154,7 +153,7 @@ func (x *WebhookEvent) GetNumDropped() int32 { var File_livekit_webhook_proto protoreflect.FileDescriptor -var file_livekit_webhook_proto_rawDesc = string([]byte{ +var file_livekit_webhook_proto_rawDesc = []byte{ 0x0a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, @@ -190,16 +189,16 @@ var file_livekit_webhook_proto_rawDesc = string([]byte{ 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 ( file_livekit_webhook_proto_rawDescOnce sync.Once - file_livekit_webhook_proto_rawDescData []byte + file_livekit_webhook_proto_rawDescData = file_livekit_webhook_proto_rawDesc ) func file_livekit_webhook_proto_rawDescGZIP() []byte { file_livekit_webhook_proto_rawDescOnce.Do(func() { - file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc))) + file_livekit_webhook_proto_rawDescData = protoimpl.X.CompressGZIP(file_livekit_webhook_proto_rawDescData) }) return file_livekit_webhook_proto_rawDescData } @@ -238,7 +237,7 @@ func file_livekit_webhook_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_livekit_webhook_proto_rawDesc), len(file_livekit_webhook_proto_rawDesc)), + RawDescriptor: file_livekit_webhook_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -249,6 +248,7 @@ func file_livekit_webhook_proto_init() { MessageInfos: file_livekit_webhook_proto_msgTypes, }.Build() File_livekit_webhook_proto = out.File + file_livekit_webhook_proto_rawDesc = nil file_livekit_webhook_proto_goTypes = nil file_livekit_webhook_proto_depIdxs = nil } diff --git a/magefile.go b/magefile.go index 34950e6a..5caebf3d 100644 --- a/magefile.go +++ b/magefile.go @@ -48,6 +48,7 @@ func Proto() error { "livekit_ingress.proto", "livekit_room.proto", "livekit_sip.proto", + "livekit_agent.proto", } protoFiles := []string{ "livekit_agent.proto", diff --git a/protobufs/livekit_agent.proto b/protobufs/livekit_agent.proto index afd0e79d..d584659c 100644 --- a/protobufs/livekit_agent.proto +++ b/protobufs/livekit_agent.proto @@ -21,6 +21,11 @@ option ruby_package = "LiveKit::Proto"; import "livekit_models.proto"; +service AgentService { + rpc CheckEnabled(livekit.CheckEnabledRequest) returns (livekit.CheckEnabledResponse); + rpc CheckAvailability(livekit.CheckAvailabilityRequest) returns (livekit.CheckAvailabilityResponse); +} + message Job { string id = 1; string dispatch_id = 9; @@ -42,6 +47,17 @@ message JobState { string participant_identity = 6; } +message WorkerInfo { + string id = 1; + string agent_name = 2; + string version = 3; + WorkerStatus status = 4; + string metadata = 5; + float load = 6; + uint32 job_count = 7; + ParticipantPermission allowed_permissions = 8; +} + // from Worker to Server message WorkerMessage { oneof message { @@ -112,7 +128,7 @@ message RegisterWorkerRequest { string agent_name = 8; // string worker_id = 2; string version = 3; - // string name = 4 [deprecated = true]; + string metadata = 4; uint32 ping_interval = 5; optional string namespace = 6; ParticipantPermission allowed_permissions = 7; @@ -176,3 +192,24 @@ message JobAssignment { message JobTermination { string job_id = 1; } + +message CheckEnabledRequest{} + +message CheckEnabledResponse { + bool room_enabled = 1; + bool publisher_enabled = 2; + bool participant_enabled = 5; + repeated string namespaces = 3 [deprecated = true]; + repeated string agent_names = 4; + + // NEXT ID: 6 +} + +message CheckAvailabilityRequest { + repeated string agent_names = 1; // if empty, all agents are checked +} + +message CheckAvailabilityResponse { + ServerInfo server_info = 1; + repeated livekit.WorkerInfo workers = 2; +} \ No newline at end of file diff --git a/protobufs/rpc/agent.proto b/protobufs/rpc/agent.proto index e52114d1..7931aac1 100644 --- a/protobufs/rpc/agent.proto +++ b/protobufs/rpc/agent.proto @@ -23,7 +23,10 @@ import "options.proto"; import "livekit_agent.proto"; service AgentInternal { - rpc CheckEnabled(CheckEnabledRequest) returns (CheckEnabledResponse) { + rpc CheckEnabled(livekit.CheckEnabledRequest) returns (livekit.CheckEnabledResponse) { + option (psrpc.options).multi = true; + }; + rpc CheckAvailability(livekit.CheckAvailabilityRequest) returns (livekit.CheckAvailabilityResponse) { option (psrpc.options).multi = true; }; rpc JobRequest(livekit.Job) returns (JobRequestResponse) { @@ -63,18 +66,6 @@ enum JobTerminateReason { AGENT_LEFT_ROOM = 1; } -message CheckEnabledRequest{} - -message CheckEnabledResponse { - bool room_enabled = 1; - bool publisher_enabled = 2; - bool participant_enabled = 5; - repeated string namespaces = 3 [deprecated = true]; - repeated string agent_names = 4; - - // NEXT ID: 6 -} - message JobRequestResponse { livekit.JobState state = 1; } diff --git a/replay/cloud_replay.pb.go b/replay/cloud_replay.pb.go index e9c71b39..93d77a87 100644 --- a/replay/cloud_replay.pb.go +++ b/replay/cloud_replay.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.3 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: cloud_replay.proto package replay @@ -22,18 +22,16 @@ const ( ) type ListReplaysRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListReplaysRequest) Reset() { *x = ListReplaysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListReplaysRequest) String() string { @@ -44,7 +42,7 @@ func (*ListReplaysRequest) ProtoMessage() {} func (x *ListReplaysRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_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) @@ -60,20 +58,17 @@ func (*ListReplaysRequest) Descriptor() ([]byte, []int) { } type ListReplaysResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Replays []*ReplayInfo `protobuf:"bytes,1,rep,name=replays,proto3" json:"replays,omitempty"` unknownFields protoimpl.UnknownFields - - Replays []*ReplayInfo `protobuf:"bytes,1,rep,name=replays,proto3" json:"replays,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListReplaysResponse) Reset() { *x = ListReplaysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListReplaysResponse) String() string { @@ -84,7 +79,7 @@ func (*ListReplaysResponse) ProtoMessage() {} func (x *ListReplaysResponse) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_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) @@ -107,20 +102,17 @@ func (x *ListReplaysResponse) GetReplays() []*ReplayInfo { } type ReplayInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ReplayId string `protobuf:"bytes,1,opt,name=replay_id,json=replayId,proto3" json:"replay_id,omitempty"` unknownFields protoimpl.UnknownFields - - ReplayId string `protobuf:"bytes,1,opt,name=replay_id,json=replayId,proto3" json:"replay_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReplayInfo) Reset() { *x = ReplayInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReplayInfo) String() string { @@ -131,7 +123,7 @@ func (*ReplayInfo) ProtoMessage() {} func (x *ReplayInfo) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_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) @@ -154,22 +146,19 @@ func (x *ReplayInfo) GetReplayId() string { } type LoadReplayRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ReplayId string `protobuf:"bytes,1,opt,name=replay_id,json=replayId,proto3" json:"replay_id,omitempty"` + RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` + StartingPts int64 `protobuf:"varint,3,opt,name=starting_pts,json=startingPts,proto3" json:"starting_pts,omitempty"` unknownFields protoimpl.UnknownFields - - ReplayId string `protobuf:"bytes,1,opt,name=replay_id,json=replayId,proto3" json:"replay_id,omitempty"` - RoomName string `protobuf:"bytes,2,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` - StartingPts int64 `protobuf:"varint,3,opt,name=starting_pts,json=startingPts,proto3" json:"starting_pts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LoadReplayRequest) Reset() { *x = LoadReplayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoadReplayRequest) String() string { @@ -180,7 +169,7 @@ func (*LoadReplayRequest) ProtoMessage() {} func (x *LoadReplayRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_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) @@ -217,20 +206,17 @@ func (x *LoadReplayRequest) GetStartingPts() int64 { } type LoadReplayResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlaybackId string `protobuf:"bytes,1,opt,name=playback_id,json=playbackId,proto3" json:"playback_id,omitempty"` unknownFields protoimpl.UnknownFields - - PlaybackId string `protobuf:"bytes,1,opt,name=playback_id,json=playbackId,proto3" json:"playback_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LoadReplayResponse) Reset() { *x = LoadReplayResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LoadReplayResponse) String() string { @@ -241,7 +227,7 @@ func (*LoadReplayResponse) ProtoMessage() {} func (x *LoadReplayResponse) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_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) @@ -264,21 +250,18 @@ func (x *LoadReplayResponse) GetPlaybackId() string { } type RoomSeekRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlaybackId string `protobuf:"bytes,1,opt,name=playback_id,json=playbackId,proto3" json:"playback_id,omitempty"` + Pts int64 `protobuf:"varint,2,opt,name=pts,proto3" json:"pts,omitempty"` unknownFields protoimpl.UnknownFields - - PlaybackId string `protobuf:"bytes,1,opt,name=playback_id,json=playbackId,proto3" json:"playback_id,omitempty"` - Pts int64 `protobuf:"varint,2,opt,name=pts,proto3" json:"pts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RoomSeekRequest) Reset() { *x = RoomSeekRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoomSeekRequest) String() string { @@ -289,7 +272,7 @@ func (*RoomSeekRequest) ProtoMessage() {} func (x *RoomSeekRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_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) @@ -319,20 +302,17 @@ func (x *RoomSeekRequest) GetPts() int64 { } type CloseReplayRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PlaybackId string `protobuf:"bytes,1,opt,name=playback_id,json=playbackId,proto3" json:"playback_id,omitempty"` unknownFields protoimpl.UnknownFields - - PlaybackId string `protobuf:"bytes,1,opt,name=playback_id,json=playbackId,proto3" json:"playback_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CloseReplayRequest) Reset() { *x = CloseReplayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CloseReplayRequest) String() string { @@ -343,7 +323,7 @@ func (*CloseReplayRequest) ProtoMessage() {} func (x *CloseReplayRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_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) @@ -366,20 +346,17 @@ func (x *CloseReplayRequest) GetPlaybackId() string { } type DeleteReplayRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ReplayId string `protobuf:"bytes,1,opt,name=replay_id,json=replayId,proto3" json:"replay_id,omitempty"` unknownFields protoimpl.UnknownFields - - ReplayId string `protobuf:"bytes,1,opt,name=replay_id,json=replayId,proto3" json:"replay_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteReplayRequest) Reset() { *x = DeleteReplayRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cloud_replay_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cloud_replay_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteReplayRequest) String() string { @@ -390,7 +367,7 @@ func (*DeleteReplayRequest) ProtoMessage() {} func (x *DeleteReplayRequest) ProtoReflect() protoreflect.Message { mi := &file_cloud_replay_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) @@ -526,104 +503,6 @@ func file_cloud_replay_proto_init() { if File_cloud_replay_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_cloud_replay_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*ListReplaysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*ListReplaysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*ReplayInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*LoadReplayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[4].Exporter = func(v any, i int) any { - switch v := v.(*LoadReplayResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[5].Exporter = func(v any, i int) any { - switch v := v.(*RoomSeekRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*CloseReplayRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cloud_replay_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DeleteReplayRequest); 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.pb.go b/rpc/agent.pb.go index fd01b097..4dcc3d2d 100644 --- a/rpc/agent.pb.go +++ b/rpc/agent.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/agent.proto package rpc @@ -28,7 +28,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -84,120 +83,6 @@ func (JobTerminateReason) EnumDescriptor() ([]byte, []int) { return file_rpc_agent_proto_rawDescGZIP(), []int{0} } -type CheckEnabledRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CheckEnabledRequest) Reset() { - *x = CheckEnabledRequest{} - mi := &file_rpc_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CheckEnabledRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CheckEnabledRequest) ProtoMessage() {} - -func (x *CheckEnabledRequest) ProtoReflect() protoreflect.Message { - mi := &file_rpc_agent_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CheckEnabledRequest.ProtoReflect.Descriptor instead. -func (*CheckEnabledRequest) Descriptor() ([]byte, []int) { - return file_rpc_agent_proto_rawDescGZIP(), []int{0} -} - -type CheckEnabledResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - RoomEnabled bool `protobuf:"varint,1,opt,name=room_enabled,json=roomEnabled,proto3" json:"room_enabled,omitempty"` - PublisherEnabled bool `protobuf:"varint,2,opt,name=publisher_enabled,json=publisherEnabled,proto3" json:"publisher_enabled,omitempty"` - ParticipantEnabled bool `protobuf:"varint,5,opt,name=participant_enabled,json=participantEnabled,proto3" json:"participant_enabled,omitempty"` - // Deprecated: Marked as deprecated in rpc/agent.proto. - Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` - AgentNames []string `protobuf:"bytes,4,rep,name=agent_names,json=agentNames,proto3" json:"agent_names,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CheckEnabledResponse) Reset() { - *x = CheckEnabledResponse{} - mi := &file_rpc_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CheckEnabledResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CheckEnabledResponse) ProtoMessage() {} - -func (x *CheckEnabledResponse) ProtoReflect() protoreflect.Message { - mi := &file_rpc_agent_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CheckEnabledResponse.ProtoReflect.Descriptor instead. -func (*CheckEnabledResponse) Descriptor() ([]byte, []int) { - return file_rpc_agent_proto_rawDescGZIP(), []int{1} -} - -func (x *CheckEnabledResponse) GetRoomEnabled() bool { - if x != nil { - return x.RoomEnabled - } - return false -} - -func (x *CheckEnabledResponse) GetPublisherEnabled() bool { - if x != nil { - return x.PublisherEnabled - } - return false -} - -func (x *CheckEnabledResponse) GetParticipantEnabled() bool { - if x != nil { - return x.ParticipantEnabled - } - return false -} - -// Deprecated: Marked as deprecated in rpc/agent.proto. -func (x *CheckEnabledResponse) GetNamespaces() []string { - if x != nil { - return x.Namespaces - } - return nil -} - -func (x *CheckEnabledResponse) GetAgentNames() []string { - if x != nil { - return x.AgentNames - } - return nil -} - type JobRequestResponse struct { state protoimpl.MessageState `protogen:"open.v1"` State *livekit.JobState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` @@ -207,7 +92,7 @@ type JobRequestResponse struct { func (x *JobRequestResponse) Reset() { *x = JobRequestResponse{} - mi := &file_rpc_agent_proto_msgTypes[2] + mi := &file_rpc_agent_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -219,7 +104,7 @@ func (x *JobRequestResponse) String() string { func (*JobRequestResponse) ProtoMessage() {} func (x *JobRequestResponse) ProtoReflect() protoreflect.Message { - mi := &file_rpc_agent_proto_msgTypes[2] + mi := &file_rpc_agent_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -232,7 +117,7 @@ func (x *JobRequestResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use JobRequestResponse.ProtoReflect.Descriptor instead. func (*JobRequestResponse) Descriptor() ([]byte, []int) { - return file_rpc_agent_proto_rawDescGZIP(), []int{2} + return file_rpc_agent_proto_rawDescGZIP(), []int{0} } func (x *JobRequestResponse) GetState() *livekit.JobState { @@ -252,7 +137,7 @@ type JobTerminateRequest struct { func (x *JobTerminateRequest) Reset() { *x = JobTerminateRequest{} - mi := &file_rpc_agent_proto_msgTypes[3] + mi := &file_rpc_agent_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -264,7 +149,7 @@ func (x *JobTerminateRequest) String() string { func (*JobTerminateRequest) ProtoMessage() {} func (x *JobTerminateRequest) ProtoReflect() protoreflect.Message { - mi := &file_rpc_agent_proto_msgTypes[3] + mi := &file_rpc_agent_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -277,7 +162,7 @@ func (x *JobTerminateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use JobTerminateRequest.ProtoReflect.Descriptor instead. func (*JobTerminateRequest) Descriptor() ([]byte, []int) { - return file_rpc_agent_proto_rawDescGZIP(), []int{3} + return file_rpc_agent_proto_rawDescGZIP(), []int{1} } func (x *JobTerminateRequest) GetJobId() string { @@ -303,7 +188,7 @@ type JobTerminateResponse struct { func (x *JobTerminateResponse) Reset() { *x = JobTerminateResponse{} - mi := &file_rpc_agent_proto_msgTypes[4] + mi := &file_rpc_agent_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -315,7 +200,7 @@ func (x *JobTerminateResponse) String() string { func (*JobTerminateResponse) ProtoMessage() {} func (x *JobTerminateResponse) ProtoReflect() protoreflect.Message { - mi := &file_rpc_agent_proto_msgTypes[4] + mi := &file_rpc_agent_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -328,7 +213,7 @@ func (x *JobTerminateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use JobTerminateResponse.ProtoReflect.Descriptor instead. func (*JobTerminateResponse) Descriptor() ([]byte, []int) { - return file_rpc_agent_proto_rawDescGZIP(), []int{4} + return file_rpc_agent_proto_rawDescGZIP(), []int{2} } func (x *JobTerminateResponse) GetState() *livekit.JobState { @@ -340,116 +225,112 @@ func (x *JobTerminateResponse) GetState() *livekit.JobState { var File_rpc_agent_proto protoreflect.FileDescriptor -var file_rpc_agent_proto_rawDesc = string([]byte{ +var file_rpc_agent_proto_rawDesc = []byte{ 0x0a, 0x0f, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 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, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xdc, - 0x01, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, - 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, - 0x6f, 0x6f, 0x6d, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, - 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, - 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, - 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, - 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0a, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x3d, 0x0a, - 0x12, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x5d, 0x0a, 0x13, - 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, - 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x14, 0x4a, - 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2a, 0x44, 0x0a, 0x12, - 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x73, - 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, - 0x0f, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, - 0x10, 0x01, 0x32, 0xee, 0x02, 0x0a, 0x0d, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x4b, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x12, 0x18, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xb2, 0x89, 0x01, 0x02, 0x28, - 0x01, 0x12, 0x54, 0x0a, 0x0a, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x0c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x1a, 0x17, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0xb2, 0x89, 0x01, 0x1b, 0x10, 0x01, 0x1a, 0x15, - 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x08, 0x6a, 0x6f, 0x62, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x30, 0x01, 0x12, 0x55, 0x0a, 0x0c, 0x4a, 0x6f, 0x62, 0x54, 0x65, - 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4a, 0x6f, - 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, - 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0xb2, 0x89, - 0x01, 0x0c, 0x10, 0x01, 0x1a, 0x08, 0x12, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x12, 0x63, - 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x65, 0x64, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 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, 0x1f, 0xb2, 0x89, 0x01, 0x1b, 0x08, 0x01, 0x10, 0x01, 0x1a, 0x13, 0x12, 0x11, - 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x28, 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, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x12, 0x4a, 0x6f, 0x62, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x5d, 0x0a, 0x13, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, + 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, + 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, + 0x6f, 0x62, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x65, + 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x14, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2a, 0x44, 0x0a, 0x12, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, + 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x15, + 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, + 0x45, 0x53, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x45, 0x4e, 0x54, + 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x01, 0x32, 0xda, 0x03, 0x0a, + 0x0d, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x53, + 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1c, + 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, + 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xb2, 0x89, 0x01, + 0x02, 0x28, 0x01, 0x12, 0x62, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, + 0x69, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6c, 0x69, + 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x76, 0x61, 0x69, 0x6c, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xb2, 0x89, 0x01, 0x02, 0x28, 0x01, 0x12, 0x54, 0x0a, 0x0a, 0x4a, 0x6f, 0x62, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0c, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, + 0x4a, 0x6f, 0x62, 0x1a, 0x17, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0xb2, 0x89, + 0x01, 0x1b, 0x10, 0x01, 0x1a, 0x15, 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x30, 0x01, 0x12, 0x55, 0x0a, + 0x0c, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4a, 0x6f, + 0x62, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x10, 0xb2, 0x89, 0x01, 0x0c, 0x10, 0x01, 0x1a, 0x08, 0x12, 0x06, 0x6a, 0x6f, + 0x62, 0x5f, 0x69, 0x64, 0x12, 0x63, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 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, 0x1f, 0xb2, 0x89, 0x01, 0x1b, 0x08, 0x01, + 0x10, 0x01, 0x1a, 0x13, 0x12, 0x11, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x28, 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_proto_rawDescOnce sync.Once - file_rpc_agent_proto_rawDescData []byte + file_rpc_agent_proto_rawDescData = file_rpc_agent_proto_rawDesc ) func file_rpc_agent_proto_rawDescGZIP() []byte { file_rpc_agent_proto_rawDescOnce.Do(func() { - file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc))) + file_rpc_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_agent_proto_rawDescData) }) return file_rpc_agent_proto_rawDescData } var file_rpc_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_rpc_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_rpc_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_rpc_agent_proto_goTypes = []any{ - (JobTerminateReason)(0), // 0: rpc.JobTerminateReason - (*CheckEnabledRequest)(nil), // 1: rpc.CheckEnabledRequest - (*CheckEnabledResponse)(nil), // 2: rpc.CheckEnabledResponse - (*JobRequestResponse)(nil), // 3: rpc.JobRequestResponse - (*JobTerminateRequest)(nil), // 4: rpc.JobTerminateRequest - (*JobTerminateResponse)(nil), // 5: rpc.JobTerminateResponse - (*livekit.JobState)(nil), // 6: livekit.JobState - (*livekit.Job)(nil), // 7: livekit.Job - (*emptypb.Empty)(nil), // 8: google.protobuf.Empty + (JobTerminateReason)(0), // 0: rpc.JobTerminateReason + (*JobRequestResponse)(nil), // 1: rpc.JobRequestResponse + (*JobTerminateRequest)(nil), // 2: rpc.JobTerminateRequest + (*JobTerminateResponse)(nil), // 3: rpc.JobTerminateResponse + (*livekit.JobState)(nil), // 4: livekit.JobState + (*livekit.CheckEnabledRequest)(nil), // 5: livekit.CheckEnabledRequest + (*livekit.CheckAvailabilityRequest)(nil), // 6: livekit.CheckAvailabilityRequest + (*livekit.Job)(nil), // 7: livekit.Job + (*emptypb.Empty)(nil), // 8: google.protobuf.Empty + (*livekit.CheckEnabledResponse)(nil), // 9: livekit.CheckEnabledResponse + (*livekit.CheckAvailabilityResponse)(nil), // 10: livekit.CheckAvailabilityResponse } var file_rpc_agent_proto_depIdxs = []int32{ - 6, // 0: rpc.JobRequestResponse.state:type_name -> livekit.JobState - 0, // 1: rpc.JobTerminateRequest.reason:type_name -> rpc.JobTerminateReason - 6, // 2: rpc.JobTerminateResponse.state:type_name -> livekit.JobState - 1, // 3: rpc.AgentInternal.CheckEnabled:input_type -> rpc.CheckEnabledRequest - 7, // 4: rpc.AgentInternal.JobRequest:input_type -> livekit.Job - 4, // 5: rpc.AgentInternal.JobTerminate:input_type -> rpc.JobTerminateRequest - 8, // 6: rpc.AgentInternal.WorkerRegistered:input_type -> google.protobuf.Empty - 2, // 7: rpc.AgentInternal.CheckEnabled:output_type -> rpc.CheckEnabledResponse - 3, // 8: rpc.AgentInternal.JobRequest:output_type -> rpc.JobRequestResponse - 5, // 9: rpc.AgentInternal.JobTerminate:output_type -> rpc.JobTerminateResponse - 8, // 10: rpc.AgentInternal.WorkerRegistered:output_type -> google.protobuf.Empty - 7, // [7:11] is the sub-list for method output_type - 3, // [3:7] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name + 4, // 0: rpc.JobRequestResponse.state:type_name -> livekit.JobState + 0, // 1: rpc.JobTerminateRequest.reason:type_name -> rpc.JobTerminateReason + 4, // 2: rpc.JobTerminateResponse.state:type_name -> livekit.JobState + 5, // 3: rpc.AgentInternal.CheckEnabled:input_type -> livekit.CheckEnabledRequest + 6, // 4: rpc.AgentInternal.CheckAvailability:input_type -> livekit.CheckAvailabilityRequest + 7, // 5: rpc.AgentInternal.JobRequest:input_type -> livekit.Job + 2, // 6: rpc.AgentInternal.JobTerminate:input_type -> rpc.JobTerminateRequest + 8, // 7: rpc.AgentInternal.WorkerRegistered:input_type -> google.protobuf.Empty + 9, // 8: rpc.AgentInternal.CheckEnabled:output_type -> livekit.CheckEnabledResponse + 10, // 9: rpc.AgentInternal.CheckAvailability:output_type -> livekit.CheckAvailabilityResponse + 1, // 10: rpc.AgentInternal.JobRequest:output_type -> rpc.JobRequestResponse + 3, // 11: rpc.AgentInternal.JobTerminate:output_type -> rpc.JobTerminateResponse + 8, // 12: rpc.AgentInternal.WorkerRegistered:output_type -> google.protobuf.Empty + 8, // [8:13] is the sub-list for method output_type + 3, // [3:8] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name } func init() { file_rpc_agent_proto_init() } @@ -461,9 +342,9 @@ func file_rpc_agent_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_proto_rawDesc), len(file_rpc_agent_proto_rawDesc)), + RawDescriptor: file_rpc_agent_proto_rawDesc, NumEnums: 1, - NumMessages: 5, + NumMessages: 3, NumExtensions: 0, NumServices: 1, }, @@ -473,6 +354,7 @@ func file_rpc_agent_proto_init() { MessageInfos: file_rpc_agent_proto_msgTypes, }.Build() File_rpc_agent_proto = out.File + file_rpc_agent_proto_rawDesc = nil file_rpc_agent_proto_goTypes = nil file_rpc_agent_proto_depIdxs = nil } diff --git a/rpc/agent.psrpc.go b/rpc/agent.psrpc.go index 365996bd..a682cec5 100644 --- a/rpc/agent.psrpc.go +++ b/rpc/agent.psrpc.go @@ -23,7 +23,9 @@ var _ = version.PsrpcVersion_0_6 // ============================== type AgentInternalClient interface { - CheckEnabled(ctx context.Context, req *CheckEnabledRequest, opts ...psrpc.RequestOption) (<-chan *psrpc.Response[*CheckEnabledResponse], error) + CheckEnabled(ctx context.Context, req *livekit2.CheckEnabledRequest, opts ...psrpc.RequestOption) (<-chan *psrpc.Response[*livekit2.CheckEnabledResponse], error) + + CheckAvailability(ctx context.Context, req *livekit2.CheckAvailabilityRequest, opts ...psrpc.RequestOption) (<-chan *psrpc.Response[*livekit2.CheckAvailabilityResponse], error) JobRequest(ctx context.Context, namespace string, jobType string, req *livekit2.Job, opts ...psrpc.RequestOption) (*JobRequestResponse, error) @@ -40,7 +42,9 @@ type AgentInternalClient interface { // ================================== type AgentInternalServerImpl interface { - CheckEnabled(context.Context, *CheckEnabledRequest) (*CheckEnabledResponse, error) + CheckEnabled(context.Context, *livekit2.CheckEnabledRequest) (*livekit2.CheckEnabledResponse, error) + + CheckAvailability(context.Context, *livekit2.CheckAvailabilityRequest) (*livekit2.CheckAvailabilityResponse, error) JobRequest(context.Context, *livekit2.Job) (*JobRequestResponse, error) JobRequestAffinity(context.Context, *livekit2.Job) float32 @@ -82,6 +86,7 @@ func NewAgentInternalClient(bus psrpc.MessageBus, opts ...psrpc.ClientOption) (A } sd.RegisterMethod("CheckEnabled", false, true, false, false) + sd.RegisterMethod("CheckAvailability", false, true, false, false) sd.RegisterMethod("JobRequest", true, false, true, false) sd.RegisterMethod("JobTerminate", false, false, true, true) sd.RegisterMethod("WorkerRegistered", false, true, false, false) @@ -96,8 +101,12 @@ func NewAgentInternalClient(bus psrpc.MessageBus, opts ...psrpc.ClientOption) (A }, nil } -func (c *agentInternalClient) CheckEnabled(ctx context.Context, req *CheckEnabledRequest, opts ...psrpc.RequestOption) (<-chan *psrpc.Response[*CheckEnabledResponse], error) { - return client.RequestMulti[*CheckEnabledResponse](ctx, c.client, "CheckEnabled", nil, req, opts...) +func (c *agentInternalClient) CheckEnabled(ctx context.Context, req *livekit2.CheckEnabledRequest, opts ...psrpc.RequestOption) (<-chan *psrpc.Response[*livekit2.CheckEnabledResponse], error) { + return client.RequestMulti[*livekit2.CheckEnabledResponse](ctx, c.client, "CheckEnabled", nil, req, opts...) +} + +func (c *agentInternalClient) CheckAvailability(ctx context.Context, req *livekit2.CheckAvailabilityRequest, opts ...psrpc.RequestOption) (<-chan *psrpc.Response[*livekit2.CheckAvailabilityResponse], error) { + return client.RequestMulti[*livekit2.CheckAvailabilityResponse](ctx, c.client, "CheckAvailability", nil, req, opts...) } func (c *agentInternalClient) JobRequest(ctx context.Context, namespace string, jobType string, req *livekit2.Job, opts ...psrpc.RequestOption) (*JobRequestResponse, error) { @@ -143,6 +152,13 @@ func NewAgentInternalServer(svc AgentInternalServerImpl, bus psrpc.MessageBus, o return nil, err } + sd.RegisterMethod("CheckAvailability", false, true, false, false) + err = server.RegisterHandler(s, "CheckAvailability", nil, svc.CheckAvailability, nil) + if err != nil { + s.Close(false) + return nil, err + } + sd.RegisterMethod("JobRequest", true, false, true, false) sd.RegisterMethod("JobTerminate", false, false, true, true) sd.RegisterMethod("WorkerRegistered", false, true, false, false) @@ -181,41 +197,37 @@ func (s *agentInternalServer) Kill() { } var psrpcFileDescriptor0 = []byte{ - // 566 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xdf, 0x8e, 0xd2, 0x4e, - 0x18, 0xfd, 0x0d, 0x2c, 0x04, 0x06, 0xf6, 0xb7, 0x65, 0xba, 0x28, 0x5b, 0x63, 0x76, 0xe9, 0x8d, - 0x44, 0x93, 0xd6, 0xe0, 0xb5, 0x71, 0x59, 0xb7, 0x1a, 0x88, 0x40, 0xec, 0x76, 0x35, 0x31, 0x31, - 0x4d, 0x5b, 0x3e, 0xa1, 0x4b, 0xe9, 0x8c, 0xd3, 0xc1, 0x64, 0x1f, 0x81, 0xd7, 0xe1, 0x79, 0x7c, - 0x0c, 0x1f, 0xc0, 0xf4, 0x0f, 0xb5, 0x6c, 0xf0, 0xc2, 0xcb, 0x9e, 0x73, 0xfa, 0xe5, 0x3b, 0xe7, - 0xcc, 0x87, 0x4f, 0x38, 0xf3, 0x74, 0x67, 0x0e, 0xa1, 0xd0, 0x18, 0xa7, 0x82, 0x92, 0x32, 0x67, - 0x9e, 0xf2, 0x64, 0x4e, 0xe9, 0x3c, 0x00, 0x3d, 0x81, 0xdc, 0xf5, 0x37, 0x1d, 0x56, 0x4c, 0xdc, - 0xa7, 0x0a, 0xe5, 0x98, 0x32, 0xe1, 0xd3, 0x30, 0xca, 0x3e, 0xe5, 0xc0, 0xff, 0x01, 0x4b, 0x5f, - 0xd8, 0x85, 0x29, 0x6a, 0x1b, 0xcb, 0x6f, 0x17, 0xe0, 0x2d, 0x8d, 0xd0, 0x71, 0x03, 0x98, 0x99, - 0xf0, 0x7d, 0x0d, 0x91, 0x50, 0x7f, 0x22, 0x7c, 0xba, 0x8f, 0x47, 0x8c, 0x86, 0x11, 0x90, 0x2e, - 0x6e, 0x72, 0x4a, 0x57, 0x36, 0xa4, 0x78, 0x07, 0x5d, 0xa0, 0x5e, 0xcd, 0x6c, 0xc4, 0x58, 0x26, - 0x25, 0x2f, 0x70, 0x8b, 0xad, 0xdd, 0xc0, 0x8f, 0x16, 0xc0, 0x73, 0x5d, 0x29, 0xd1, 0x49, 0x39, - 0xb1, 0x13, 0xeb, 0x58, 0x66, 0x0e, 0x17, 0xbe, 0xe7, 0x33, 0x27, 0x14, 0xb9, 0xbc, 0x92, 0xc8, - 0x49, 0x81, 0xda, 0xfd, 0xa0, 0x62, 0x1c, 0x3a, 0x2b, 0x88, 0x98, 0xe3, 0x41, 0xd4, 0x29, 0x5f, - 0x94, 0x7b, 0xf5, 0xab, 0x52, 0x07, 0x99, 0x05, 0x94, 0x9c, 0xe3, 0x46, 0xe2, 0xd1, 0x4e, 0xb0, - 0xce, 0x51, 0x2c, 0x32, 0x71, 0x02, 0x4d, 0x62, 0x44, 0x7d, 0x8d, 0xc9, 0x88, 0xba, 0x99, 0xd9, - 0xdc, 0xdb, 0x33, 0x5c, 0x89, 0x84, 0x23, 0x20, 0x31, 0xd5, 0xe8, 0xb7, 0xb4, 0x2c, 0x30, 0x6d, - 0x44, 0xdd, 0x9b, 0x98, 0x30, 0x53, 0x5e, 0xfd, 0x8a, 0xe5, 0x11, 0x75, 0x2d, 0xe0, 0x2b, 0x3f, - 0x8c, 0xe1, 0x74, 0x0e, 0x69, 0xe3, 0xea, 0x1d, 0x75, 0x6d, 0x3f, 0x4d, 0xa5, 0x6e, 0x56, 0xee, - 0xa8, 0x3b, 0x8c, 0x2d, 0x56, 0x39, 0x38, 0x11, 0x0d, 0x93, 0x10, 0xfe, 0xef, 0x3f, 0xd6, 0x38, - 0xf3, 0xb4, 0xfd, 0x01, 0x31, 0x6d, 0x66, 0x32, 0xf5, 0x0d, 0x3e, 0xdd, 0x67, 0xff, 0x71, 0xbf, - 0xe7, 0xd7, 0x89, 0xbd, 0x07, 0xe3, 0xc9, 0x19, 0x6e, 0x5b, 0x86, 0x39, 0x1e, 0x4e, 0x06, 0xd6, - 0x70, 0x3a, 0xb1, 0x4d, 0xe3, 0xe3, 0xad, 0x71, 0x63, 0x19, 0xd7, 0xd2, 0x7f, 0x44, 0xc6, 0x27, - 0x83, 0xf7, 0xc6, 0xc4, 0xb2, 0x3f, 0x18, 0xef, 0x2c, 0xdb, 0x9c, 0x4e, 0xc7, 0x12, 0xea, 0xff, - 0x2a, 0xe1, 0xe3, 0x41, 0x9c, 0xd9, 0x30, 0x14, 0xc0, 0x43, 0x27, 0x20, 0x63, 0xdc, 0x2c, 0x3e, - 0x0a, 0xd2, 0x49, 0x9c, 0x1c, 0x78, 0x3f, 0xca, 0xd9, 0x01, 0x26, 0x75, 0xa1, 0xd6, 0xb6, 0x1b, - 0x74, 0x74, 0x59, 0xea, 0x21, 0xf2, 0x09, 0xe3, 0x3f, 0x2d, 0x90, 0x66, 0xd1, 0x8e, 0x92, 0x87, - 0xf4, 0xa0, 0x24, 0xb5, 0xbb, 0xdd, 0xa0, 0xa7, 0x12, 0x52, 0xda, 0xa4, 0x9e, 0x37, 0x4e, 0x6a, - 0x71, 0xee, 0xe2, 0x9e, 0xc1, 0x25, 0x7a, 0x89, 0xc8, 0x2d, 0x6e, 0x16, 0xed, 0x67, 0x6b, 0x1e, - 0x68, 0x2c, 0x5b, 0xf3, 0x50, 0xd8, 0xaa, 0xb4, 0xdd, 0xa0, 0xa6, 0x84, 0x94, 0x1a, 0xc9, 0x4a, - 0x25, 0x80, 0xa5, 0xcf, 0x94, 0x2f, 0x81, 0x9b, 0x30, 0xf7, 0x23, 0x01, 0x1c, 0x66, 0xe4, 0x91, - 0x96, 0x1e, 0xa0, 0xb6, 0x3b, 0x40, 0xcd, 0x88, 0x0f, 0x50, 0xf9, 0x0b, 0x9e, 0x6e, 0x5f, 0x43, - 0x12, 0x52, 0x64, 0xd2, 0x5a, 0x38, 0xe1, 0x2c, 0x00, 0x6e, 0xe7, 0x3e, 0xe2, 0x54, 0xae, 0xba, - 0x5f, 0xce, 0xe7, 0xbe, 0x58, 0xac, 0x5d, 0xcd, 0xa3, 0x2b, 0x3d, 0xcb, 0x24, 0x3d, 0x70, 0x8f, - 0x06, 0x3a, 0x67, 0x9e, 0x5b, 0x4d, 0xbe, 0x5e, 0xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x83, - 0x2a, 0xc6, 0x14, 0x04, 0x00, 0x00, + // 498 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xe1, 0x6e, 0xd3, 0x30, + 0x10, 0xc6, 0x1b, 0x9b, 0x3a, 0xd3, 0xb1, 0xd4, 0xa5, 0xd0, 0x05, 0x26, 0xd6, 0xfc, 0xa1, 0xe2, + 0x47, 0x82, 0xca, 0x6f, 0xc4, 0x0a, 0x0b, 0xa8, 0x15, 0x6b, 0x45, 0x96, 0x81, 0x84, 0x84, 0xa2, + 0x38, 0x39, 0x5a, 0xaf, 0xa9, 0x6d, 0x1c, 0x77, 0x52, 0x1f, 0xa1, 0xaf, 0xd3, 0x47, 0xe2, 0x49, + 0x50, 0x9a, 0xac, 0xa4, 0x63, 0x43, 0xe2, 0xa7, 0xef, 0xbb, 0xfb, 0xee, 0xee, 0xbb, 0xcf, 0xf8, + 0x40, 0xc9, 0xc8, 0x09, 0x47, 0xc0, 0xb5, 0x2d, 0x95, 0xd0, 0x82, 0x6c, 0x2b, 0x19, 0x99, 0x4f, + 0x47, 0x42, 0x8c, 0x12, 0x70, 0x56, 0x21, 0x3a, 0xfb, 0xe1, 0xc0, 0x54, 0xea, 0x79, 0x9e, 0x61, + 0xee, 0x0b, 0xa9, 0x99, 0xe0, 0x69, 0xf1, 0xac, 0x27, 0xec, 0x0a, 0x26, 0x4c, 0x07, 0x25, 0x16, + 0xeb, 0x0d, 0x26, 0x7d, 0x41, 0x3d, 0xf8, 0x39, 0x83, 0x54, 0x7b, 0x90, 0x4a, 0xc1, 0x53, 0x20, + 0x2f, 0xf0, 0x4e, 0xaa, 0x43, 0x0d, 0x4d, 0x74, 0x8c, 0xda, 0x0f, 0x3a, 0x35, 0xbb, 0x28, 0xb5, + 0xfb, 0x82, 0x9e, 0x67, 0x80, 0x97, 0xe3, 0xd6, 0x77, 0x5c, 0xef, 0x0b, 0xea, 0x83, 0x9a, 0x32, + 0x9e, 0x85, 0x73, 0x1e, 0xd2, 0xc0, 0xbb, 0x97, 0x82, 0x06, 0x2c, 0x5e, 0x11, 0xec, 0x79, 0x3b, + 0x97, 0x82, 0xf6, 0x62, 0xe2, 0xe0, 0x5d, 0x05, 0x61, 0x2a, 0x78, 0x73, 0xeb, 0x18, 0xb5, 0x1f, + 0x76, 0x9e, 0xd8, 0x4a, 0x46, 0xf6, 0x26, 0x41, 0x06, 0x7b, 0x45, 0x9a, 0xf5, 0x16, 0x3f, 0xda, + 0x44, 0xff, 0x73, 0xbe, 0x97, 0xa7, 0xab, 0xf5, 0x6e, 0xd0, 0x93, 0x43, 0xdc, 0xf0, 0x5d, 0xef, + 0xac, 0x37, 0xe8, 0xfa, 0xbd, 0xe1, 0x20, 0xf0, 0xdc, 0xcf, 0x17, 0xee, 0xb9, 0xef, 0x9e, 0x1a, + 0xf7, 0x48, 0x1d, 0x1f, 0x74, 0x3f, 0xba, 0x03, 0x3f, 0xf8, 0xe4, 0x7e, 0xf0, 0x03, 0x6f, 0x38, + 0x3c, 0x33, 0x50, 0xe7, 0xd7, 0x36, 0xde, 0xef, 0x66, 0xa2, 0xf5, 0xb8, 0x06, 0xc5, 0xc3, 0x84, + 0x5c, 0xe0, 0xea, 0xfb, 0x31, 0x44, 0x13, 0x97, 0x87, 0x34, 0x81, 0x98, 0x3c, 0x5b, 0x4f, 0x50, + 0x0e, 0x17, 0x72, 0x98, 0x47, 0x77, 0xa0, 0xf9, 0x36, 0x56, 0x65, 0xb9, 0x40, 0xf7, 0x4f, 0xb6, + 0xda, 0x88, 0xc4, 0xb8, 0xb6, 0xca, 0xe8, 0x5e, 0x85, 0x2c, 0x09, 0x29, 0x4b, 0x98, 0x9e, 0x93, + 0xd6, 0x66, 0x75, 0x19, 0xbb, 0x6e, 0x60, 0xfd, 0x2b, 0xe5, 0xaf, 0x2e, 0x5f, 0x30, 0xfe, 0x73, + 0x73, 0x52, 0x2d, 0x8b, 0x67, 0xae, 0x4f, 0x72, 0xc3, 0x12, 0x56, 0x6b, 0xb9, 0x40, 0x47, 0x06, + 0x32, 0x1b, 0x64, 0x8f, 0x87, 0x53, 0x48, 0x65, 0x18, 0x01, 0xa9, 0x64, 0x57, 0xd6, 0x73, 0x09, + 0x27, 0xe8, 0x15, 0xca, 0x44, 0x29, 0x8b, 0x4d, 0x9a, 0xb7, 0x9c, 0x37, 0x9f, 0xf7, 0xf0, 0x16, + 0xa4, 0xe8, 0x63, 0x2c, 0x17, 0xa8, 0x6a, 0x20, 0xb3, 0x42, 0x0a, 0x0b, 0x11, 0xc0, 0xc6, 0x57, + 0xa1, 0x26, 0xa0, 0x3c, 0x18, 0xb1, 0x54, 0x83, 0x82, 0x98, 0x3c, 0xb6, 0x73, 0xe3, 0xdb, 0xd7, + 0xc6, 0xb7, 0xdd, 0xcc, 0xf8, 0xe6, 0x1d, 0xf1, 0x7c, 0xfa, 0x0a, 0x32, 0x90, 0x59, 0x27, 0xb5, + 0x71, 0xc8, 0xe3, 0x04, 0x54, 0xb0, 0xde, 0x23, 0x53, 0xe5, 0x5d, 0xeb, 0xdb, 0xf3, 0x11, 0xd3, + 0xe3, 0x19, 0xb5, 0x23, 0x31, 0x75, 0x0a, 0x4d, 0xf2, 0x8f, 0x15, 0x89, 0xc4, 0x51, 0x32, 0xa2, + 0xbb, 0xab, 0xd7, 0xeb, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb1, 0xb9, 0x37, 0x76, 0x8c, 0x03, + 0x00, 0x00, } diff --git a/rpc/agent_dispatch.pb.go b/rpc/agent_dispatch.pb.go index 385e169f..f0d1bc08 100644 --- a/rpc/agent_dispatch.pb.go +++ b/rpc/agent_dispatch.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/agent_dispatch.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_agent_dispatch_proto protoreflect.FileDescriptor -var file_rpc_agent_dispatch_proto_rawDesc = string([]byte{ +var file_rpc_agent_dispatch_proto_rawDesc = []byte{ 0x0a, 0x18, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 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, @@ -68,7 +67,7 @@ var file_rpc_agent_dispatch_proto_rawDesc = string([]byte{ 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.AgentDispatch)(nil), // 0: livekit.AgentDispatch @@ -99,7 +98,7 @@ func file_rpc_agent_dispatch_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_agent_dispatch_proto_rawDesc), len(file_rpc_agent_dispatch_proto_rawDesc)), + RawDescriptor: file_rpc_agent_dispatch_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -109,6 +108,7 @@ func file_rpc_agent_dispatch_proto_init() { DependencyIndexes: file_rpc_agent_dispatch_proto_depIdxs, }.Build() File_rpc_agent_dispatch_proto = out.File + file_rpc_agent_dispatch_proto_rawDesc = nil file_rpc_agent_dispatch_proto_goTypes = nil file_rpc_agent_dispatch_proto_depIdxs = nil } diff --git a/rpc/analytics.pb.go b/rpc/analytics.pb.go index adddb3bc..27c50945 100644 --- a/rpc/analytics.pb.go +++ b/rpc/analytics.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/analytics.proto package rpc @@ -26,7 +26,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_analytics_proto protoreflect.FileDescriptor -var file_rpc_analytics_proto_rawDesc = string([]byte{ +var file_rpc_analytics_proto_rawDesc = []byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 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, @@ -63,7 +62,7 @@ var file_rpc_analytics_proto_rawDesc = string([]byte{ 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_analytics_proto_goTypes = []any{ (*livekit.AnalyticsStats)(nil), // 0: livekit.AnalyticsStats @@ -94,7 +93,7 @@ func file_rpc_analytics_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_analytics_proto_rawDesc), len(file_rpc_analytics_proto_rawDesc)), + RawDescriptor: file_rpc_analytics_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -104,6 +103,7 @@ func file_rpc_analytics_proto_init() { DependencyIndexes: file_rpc_analytics_proto_depIdxs, }.Build() File_rpc_analytics_proto = out.File + file_rpc_analytics_proto_rawDesc = nil file_rpc_analytics_proto_goTypes = nil file_rpc_analytics_proto_depIdxs = nil } diff --git a/rpc/analytics_grpc.pb.go b/rpc/analytics_grpc.pb.go index 6217bb43..b4ae4faf 100644 --- a/rpc/analytics_grpc.pb.go +++ b/rpc/analytics_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v4.23.4 +// - protoc v5.29.0 // source: rpc/analytics.proto package rpc diff --git a/rpc/egress.pb.go b/rpc/egress.pb.go index a17b4b0c..1ca7d8bc 100644 --- a/rpc/egress.pb.go +++ b/rpc/egress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/egress.proto package rpc @@ -27,7 +27,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -302,7 +301,7 @@ func (x *ListActiveEgressResponse) GetEgressIds() []string { var File_rpc_egress_proto protoreflect.FileDescriptor -var file_rpc_egress_proto_rawDesc = string([]byte{ +var file_rpc_egress_proto_rawDesc = []byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 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, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -371,16 +370,16 @@ var file_rpc_egress_proto_rawDesc = string([]byte{ 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_egress_proto_rawDescOnce sync.Once - file_rpc_egress_proto_rawDescData []byte + file_rpc_egress_proto_rawDescData = file_rpc_egress_proto_rawDesc ) func file_rpc_egress_proto_rawDescGZIP() []byte { file_rpc_egress_proto_rawDescOnce.Do(func() { - file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc))) + file_rpc_egress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_egress_proto_rawDescData) }) return file_rpc_egress_proto_rawDescData } @@ -436,7 +435,7 @@ func file_rpc_egress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_egress_proto_rawDesc), len(file_rpc_egress_proto_rawDesc)), + RawDescriptor: file_rpc_egress_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, @@ -447,6 +446,7 @@ func file_rpc_egress_proto_init() { MessageInfos: file_rpc_egress_proto_msgTypes, }.Build() File_rpc_egress_proto = out.File + file_rpc_egress_proto_rawDesc = nil file_rpc_egress_proto_goTypes = nil file_rpc_egress_proto_depIdxs = nil } diff --git a/rpc/ingress.pb.go b/rpc/ingress.pb.go index e1fb4ec9..6fefc74a 100644 --- a/rpc/ingress.pb.go +++ b/rpc/ingress.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/ingress.proto package rpc @@ -28,7 +28,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -466,7 +465,7 @@ func (x *KillIngressSessionRequest) GetSession() *IngressSession { var File_rpc_ingress_proto protoreflect.FileDescriptor -var file_rpc_ingress_proto_rawDesc = string([]byte{ +var file_rpc_ingress_proto_rawDesc = []byte{ 0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 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, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, @@ -577,16 +576,16 @@ var file_rpc_ingress_proto_rawDesc = string([]byte{ 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_ingress_proto_rawDescOnce sync.Once - file_rpc_ingress_proto_rawDescData []byte + file_rpc_ingress_proto_rawDescData = file_rpc_ingress_proto_rawDesc ) func file_rpc_ingress_proto_rawDescGZIP() []byte { file_rpc_ingress_proto_rawDescOnce.Do(func() { - file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc))) + file_rpc_ingress_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_ingress_proto_rawDescData) }) return file_rpc_ingress_proto_rawDescData } @@ -643,7 +642,7 @@ func file_rpc_ingress_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_ingress_proto_rawDesc), len(file_rpc_ingress_proto_rawDesc)), + RawDescriptor: file_rpc_ingress_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -654,6 +653,7 @@ func file_rpc_ingress_proto_init() { MessageInfos: file_rpc_ingress_proto_msgTypes, }.Build() File_rpc_ingress_proto = out.File + file_rpc_ingress_proto_rawDesc = nil file_rpc_ingress_proto_goTypes = nil file_rpc_ingress_proto_depIdxs = nil } diff --git a/rpc/io.pb.go b/rpc/io.pb.go index 550059cf..d82d15ea 100644 --- a/rpc/io.pb.go +++ b/rpc/io.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/io.proto package rpc @@ -28,7 +28,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -1096,7 +1095,7 @@ func (x *SIPCall) GetVia() []*livekit.SIPUri { var File_rpc_io_proto protoreflect.FileDescriptor -var file_rpc_io_proto_rawDesc = string([]byte{ +var file_rpc_io_proto_rawDesc = []byte{ 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, @@ -1392,16 +1391,16 @@ var file_rpc_io_proto_rawDesc = string([]byte{ 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_io_proto_rawDescOnce sync.Once - file_rpc_io_proto_rawDescData []byte + file_rpc_io_proto_rawDescData = file_rpc_io_proto_rawDesc ) func file_rpc_io_proto_rawDescGZIP() []byte { file_rpc_io_proto_rawDescOnce.Do(func() { - file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc))) + file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_io_proto_rawDescData) }) return file_rpc_io_proto_rawDescData } @@ -1503,7 +1502,7 @@ func file_rpc_io_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_io_proto_rawDesc), len(file_rpc_io_proto_rawDesc)), + RawDescriptor: file_rpc_io_proto_rawDesc, NumEnums: 1, NumMessages: 17, NumExtensions: 0, @@ -1515,6 +1514,7 @@ func file_rpc_io_proto_init() { MessageInfos: file_rpc_io_proto_msgTypes, }.Build() File_rpc_io_proto = out.File + file_rpc_io_proto_rawDesc = nil file_rpc_io_proto_goTypes = nil file_rpc_io_proto_depIdxs = nil } diff --git a/rpc/keepalive.pb.go b/rpc/keepalive.pb.go index 29b8de69..24b50e1d 100644 --- a/rpc/keepalive.pb.go +++ b/rpc/keepalive.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/keepalive.proto package rpc @@ -26,7 +26,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -82,7 +81,7 @@ func (x *KeepalivePing) GetTimestamp() int64 { var File_rpc_keepalive_proto protoreflect.FileDescriptor -var file_rpc_keepalive_proto_rawDesc = string([]byte{ +var file_rpc_keepalive_proto_rawDesc = []byte{ 0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 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, 0x22, 0x2d, 0x0a, 0x0d, 0x4b, 0x65, 0x65, @@ -97,16 +96,16 @@ var file_rpc_keepalive_proto_rawDesc = string([]byte{ 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_keepalive_proto_rawDescOnce sync.Once - file_rpc_keepalive_proto_rawDescData []byte + file_rpc_keepalive_proto_rawDescData = file_rpc_keepalive_proto_rawDesc ) func file_rpc_keepalive_proto_rawDescGZIP() []byte { file_rpc_keepalive_proto_rawDescOnce.Do(func() { - file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc))) + file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_keepalive_proto_rawDescData) }) return file_rpc_keepalive_proto_rawDescData } @@ -134,7 +133,7 @@ func file_rpc_keepalive_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_keepalive_proto_rawDesc), len(file_rpc_keepalive_proto_rawDesc)), + RawDescriptor: file_rpc_keepalive_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -145,6 +144,7 @@ func file_rpc_keepalive_proto_init() { MessageInfos: file_rpc_keepalive_proto_msgTypes, }.Build() File_rpc_keepalive_proto = out.File + file_rpc_keepalive_proto_rawDesc = nil file_rpc_keepalive_proto_goTypes = nil file_rpc_keepalive_proto_depIdxs = nil } diff --git a/rpc/participant.pb.go b/rpc/participant.pb.go index c6ea4931..a6244b68 100644 --- a/rpc/participant.pb.go +++ b/rpc/participant.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/participant.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_participant_proto protoreflect.FileDescriptor -var file_rpc_participant_proto_rawDesc = string([]byte{ +var file_rpc_participant_proto_rawDesc = []byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 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, 0x14, 0x6c, 0x69, 0x76, @@ -80,7 +79,7 @@ var file_rpc_participant_proto_rawDesc = string([]byte{ 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_participant_proto_goTypes = []any{ (*livekit.RoomParticipantIdentity)(nil), // 0: livekit.RoomParticipantIdentity @@ -117,7 +116,7 @@ func file_rpc_participant_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_participant_proto_rawDesc), len(file_rpc_participant_proto_rawDesc)), + RawDescriptor: file_rpc_participant_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -127,6 +126,7 @@ func file_rpc_participant_proto_init() { DependencyIndexes: file_rpc_participant_proto_depIdxs, }.Build() File_rpc_participant_proto = out.File + file_rpc_participant_proto_rawDesc = nil file_rpc_participant_proto_goTypes = nil file_rpc_participant_proto_depIdxs = nil } diff --git a/rpc/room.pb.go b/rpc/room.pb.go index 2ab094e9..b89e7f44 100644 --- a/rpc/room.pb.go +++ b/rpc/room.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/room.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_room_proto protoreflect.FileDescriptor -var file_rpc_room_proto_rawDesc = string([]byte{ +var file_rpc_room_proto_rawDesc = []byte{ 0x0a, 0x0e, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 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, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x6d, 0x6f, @@ -65,7 +64,7 @@ var file_rpc_room_proto_rawDesc = string([]byte{ 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_room_proto_goTypes = []any{ (*livekit.DeleteRoomRequest)(nil), // 0: livekit.DeleteRoomRequest @@ -98,7 +97,7 @@ func file_rpc_room_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_room_proto_rawDesc), len(file_rpc_room_proto_rawDesc)), + RawDescriptor: file_rpc_room_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -108,6 +107,7 @@ func file_rpc_room_proto_init() { DependencyIndexes: file_rpc_room_proto_depIdxs, }.Build() File_rpc_room_proto = out.File + file_rpc_room_proto_rawDesc = nil file_rpc_room_proto_goTypes = nil file_rpc_room_proto_depIdxs = nil } diff --git a/rpc/roommanager.pb.go b/rpc/roommanager.pb.go index 00f5ad4b..a36f866f 100644 --- a/rpc/roommanager.pb.go +++ b/rpc/roommanager.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/roommanager.proto package rpc @@ -26,7 +26,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - unsafe "unsafe" ) const ( @@ -38,7 +37,7 @@ const ( var File_rpc_roommanager_proto protoreflect.FileDescriptor -var file_rpc_roommanager_proto_rawDesc = string([]byte{ +var file_rpc_roommanager_proto_rawDesc = []byte{ 0x0a, 0x15, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 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, 0x14, 0x6c, 0x69, 0x76, @@ -54,7 +53,7 @@ var file_rpc_roommanager_proto_rawDesc = string([]byte{ 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_roommanager_proto_goTypes = []any{ (*livekit.CreateRoomRequest)(nil), // 0: livekit.CreateRoomRequest @@ -79,7 +78,7 @@ func file_rpc_roommanager_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_roommanager_proto_rawDesc), len(file_rpc_roommanager_proto_rawDesc)), + RawDescriptor: file_rpc_roommanager_proto_rawDesc, NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -89,6 +88,7 @@ func file_rpc_roommanager_proto_init() { DependencyIndexes: file_rpc_roommanager_proto_depIdxs, }.Build() File_rpc_roommanager_proto = out.File + file_rpc_roommanager_proto_rawDesc = nil file_rpc_roommanager_proto_goTypes = nil file_rpc_roommanager_proto_depIdxs = nil } diff --git a/rpc/signal.pb.go b/rpc/signal.pb.go index c053c38d..99e2fef5 100644 --- a/rpc/signal.pb.go +++ b/rpc/signal.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/signal.proto package rpc @@ -27,7 +27,6 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -167,7 +166,7 @@ func (x *RelaySignalResponse) GetClose() bool { var File_rpc_signal_proto protoreflect.FileDescriptor -var file_rpc_signal_proto_rawDesc = string([]byte{ +var file_rpc_signal_proto_rawDesc = []byte{ 0x0a, 0x10, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 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, 0x16, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, @@ -201,16 +200,16 @@ var file_rpc_signal_proto_rawDesc = string([]byte{ 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_signal_proto_rawDescOnce sync.Once - file_rpc_signal_proto_rawDescData []byte + file_rpc_signal_proto_rawDescData = file_rpc_signal_proto_rawDesc ) func file_rpc_signal_proto_rawDescGZIP() []byte { file_rpc_signal_proto_rawDescOnce.Do(func() { - file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc))) + file_rpc_signal_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_signal_proto_rawDescData) }) return file_rpc_signal_proto_rawDescData } @@ -245,7 +244,7 @@ func file_rpc_signal_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_signal_proto_rawDesc), len(file_rpc_signal_proto_rawDesc)), + RawDescriptor: file_rpc_signal_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -256,6 +255,7 @@ func file_rpc_signal_proto_init() { MessageInfos: file_rpc_signal_proto_msgTypes, }.Build() File_rpc_signal_proto = out.File + file_rpc_signal_proto_rawDesc = nil file_rpc_signal_proto_goTypes = nil file_rpc_signal_proto_depIdxs = nil } diff --git a/rpc/sip.pb.go b/rpc/sip.pb.go index b681bd7a..c7042170 100644 --- a/rpc/sip.pb.go +++ b/rpc/sip.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.5 -// protoc v4.23.4 +// protoc-gen-go v1.36.0 +// protoc v5.29.0 // source: rpc/sip.proto package rpc @@ -29,7 +29,6 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" sync "sync" - unsafe "unsafe" ) const ( @@ -452,7 +451,7 @@ func (x *InternalTransferSIPParticipantRequest) GetHeaders() map[string]string { var File_rpc_sip_proto protoreflect.FileDescriptor -var file_rpc_sip_proto_rawDesc = string([]byte{ +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, @@ -616,16 +615,16 @@ var file_rpc_sip_proto_rawDesc = string([]byte{ 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_sip_proto_rawDescOnce sync.Once - file_rpc_sip_proto_rawDescData []byte + file_rpc_sip_proto_rawDescData = file_rpc_sip_proto_rawDesc ) func file_rpc_sip_proto_rawDescGZIP() []byte { file_rpc_sip_proto_rawDescOnce.Do(func() { - file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc))) + file_rpc_sip_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_sip_proto_rawDescData) }) return file_rpc_sip_proto_rawDescData } @@ -679,7 +678,7 @@ func file_rpc_sip_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_sip_proto_rawDesc), len(file_rpc_sip_proto_rawDesc)), + RawDescriptor: file_rpc_sip_proto_rawDesc, NumEnums: 0, NumMessages: 8, NumExtensions: 0, @@ -690,6 +689,7 @@ func file_rpc_sip_proto_init() { MessageInfos: file_rpc_sip_proto_msgTypes, }.Build() File_rpc_sip_proto = out.File + file_rpc_sip_proto_rawDesc = nil file_rpc_sip_proto_goTypes = nil file_rpc_sip_proto_depIdxs = nil }