-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitAgent.UpdateJobStatusOrBuilder
public final class LivekitAgent.UpdateJobStatus.Builder extends GeneratedMessageLite.Builder<LivekitAgent.UpdateJobStatus, LivekitAgent.UpdateJobStatus.Builder> implements LivekitAgent.UpdateJobStatusOrBuilder
Protobuf type
{@code livekit.UpdateJobStatus}
-
-
Method Summary
Modifier and Type Method Description StringgetJobId()string job_id = 1;ByteStringgetJobIdBytes()string job_id = 1;LivekitAgent.UpdateJobStatus.BuildersetJobId(String value)string job_id = 1;LivekitAgent.UpdateJobStatus.BuilderclearJobId()string job_id = 1;LivekitAgent.UpdateJobStatus.BuildersetJobIdBytes(ByteString value)string job_id = 1;intgetStatusValue()The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;LivekitAgent.UpdateJobStatus.BuildersetStatusValue(int value)The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;LivekitAgent.JobStatusgetStatus()The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;LivekitAgent.UpdateJobStatus.BuildersetStatus(LivekitAgent.JobStatus value)The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;LivekitAgent.UpdateJobStatus.BuilderclearStatus()The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;StringgetError()metadata shown on the dashboard, useful for debuggingstring error = 3;ByteStringgetErrorBytes()metadata shown on the dashboard, useful for debuggingstring error = 3;LivekitAgent.UpdateJobStatus.BuildersetError(String value)metadata shown on the dashboard, useful for debuggingstring error = 3;LivekitAgent.UpdateJobStatus.BuilderclearError()metadata shown on the dashboard, useful for debuggingstring error = 3;LivekitAgent.UpdateJobStatus.BuildersetErrorBytes(ByteString value)metadata shown on the dashboard, useful for debuggingstring error = 3;-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, getDefaultInstanceForType, isInitialized, mergeFrom -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial, clear, clone, mergeFrom -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getJobIdBytes
ByteString getJobIdBytes()
string job_id = 1;
-
setJobId
LivekitAgent.UpdateJobStatus.Builder setJobId(String value)
string job_id = 1;- Parameters:
value- The jobId to set.
-
clearJobId
LivekitAgent.UpdateJobStatus.Builder clearJobId()
string job_id = 1;
-
setJobIdBytes
LivekitAgent.UpdateJobStatus.Builder setJobIdBytes(ByteString value)
string job_id = 1;- Parameters:
value- The bytes for jobId to set.
-
getStatusValue
int getStatusValue()
The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;
-
setStatusValue
LivekitAgent.UpdateJobStatus.Builder setStatusValue(int value)
The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;- Parameters:
value- The status to set.
-
getStatus
LivekitAgent.JobStatus getStatus()
The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;
-
setStatus
LivekitAgent.UpdateJobStatus.Builder setStatus(LivekitAgent.JobStatus value)
The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;- Parameters:
value- The enum numeric value on the wire for status to set.
-
clearStatus
LivekitAgent.UpdateJobStatus.Builder clearStatus()
The worker can indicate the job end by either specifying SUCCESS or FAILED.livekit.JobStatus status = 2;
-
getErrorBytes
ByteString getErrorBytes()
metadata shown on the dashboard, useful for debuggingstring error = 3;
-
setError
LivekitAgent.UpdateJobStatus.Builder setError(String value)
metadata shown on the dashboard, useful for debuggingstring error = 3;- Parameters:
value- The error to set.
-
clearError
LivekitAgent.UpdateJobStatus.Builder clearError()
metadata shown on the dashboard, useful for debuggingstring error = 3;
-
setErrorBytes
LivekitAgent.UpdateJobStatus.Builder setErrorBytes(ByteString value)
metadata shown on the dashboard, useful for debuggingstring error = 3;- Parameters:
value- The bytes for error to set.
-
-
-
-