diff --git a/livekit/livekit_agent.pb.go b/livekit/livekit_agent.pb.go index e8e4bf44..66f840a1 100644 --- a/livekit/livekit_agent.pb.go +++ b/livekit/livekit_agent.pb.go @@ -129,22 +129,25 @@ func (WorkerStatus) EnumDescriptor() ([]byte, []int) { type JobStatus int32 const ( - JobStatus_JS_UNKNOWN JobStatus = 0 - JobStatus_JS_SUCCESS JobStatus = 1 - JobStatus_JS_FAILED JobStatus = 2 + JobStatus_JS_PENDING JobStatus = 0 + JobStatus_JS_STARTED JobStatus = 1 + JobStatus_JS_SUCCESS JobStatus = 2 + JobStatus_JS_FAILED JobStatus = 3 ) // Enum value maps for JobStatus. var ( JobStatus_name = map[int32]string{ - 0: "JS_UNKNOWN", - 1: "JS_SUCCESS", - 2: "JS_FAILED", + 0: "JS_PENDING", + 1: "JS_STARTED", + 2: "JS_SUCCESS", + 3: "JS_FAILED", } JobStatus_value = map[string]int32{ - "JS_UNKNOWN": 0, - "JS_SUCCESS": 1, - "JS_FAILED": 2, + "JS_PENDING": 0, + "JS_STARTED": 1, + "JS_SUCCESS": 2, + "JS_FAILED": 3, } ) @@ -398,7 +401,7 @@ func (x *Job) GetStatus() JobStatus { if x != nil { return x.Status } - return JobStatus_JS_UNKNOWN + return JobStatus_JS_PENDING } func (x *Job) GetError() string { @@ -1266,7 +1269,7 @@ func (x *UpdateJobStatus) GetStatus() JobStatus { if x != nil && x.Status != nil { return *x.Status } - return JobStatus_JS_UNKNOWN + return JobStatus_JS_PENDING } func (x *UpdateJobStatus) GetError() string { @@ -1616,10 +1619,11 @@ var file_livekit_agent_proto_rawDesc = []byte{ 0x45, 0x52, 0x10, 0x01, 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, 0x3a, 0x0a, 0x09, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x53, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, - 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x32, + 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, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 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, 0x88, 0x01, 0x0a, 0x0c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x1d, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x72, diff --git a/protobufs/livekit_agent.proto b/protobufs/livekit_agent.proto index ff4b3858..9a93bf50 100644 --- a/protobufs/livekit_agent.proto +++ b/protobufs/livekit_agent.proto @@ -95,9 +95,10 @@ enum WorkerStatus { } enum JobStatus { - JS_UNKNOWN = 0; - JS_SUCCESS = 1; - JS_FAILED = 2; + JS_PENDING = 0; + JS_STARTED = 1; + JS_SUCCESS = 2; + JS_FAILED = 3; } message SimulateJobRequest {