-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitAgent.UpdateWorkerStatusOrBuilder
public final class LivekitAgent.UpdateWorkerStatus.Builder extends GeneratedMessageLite.Builder<LivekitAgent.UpdateWorkerStatus, LivekitAgent.UpdateWorkerStatus.Builder> implements LivekitAgent.UpdateWorkerStatusOrBuilder
Protobuf type
{@code livekit.UpdateWorkerStatus}
-
-
Method Summary
Modifier and Type Method Description booleanhasStatus()optional .livekit.WorkerStatus status = 1;intgetStatusValue()optional .livekit.WorkerStatus status = 1;LivekitAgent.UpdateWorkerStatus.BuildersetStatusValue(int value)optional .livekit.WorkerStatus status = 1;LivekitAgent.WorkerStatusgetStatus()optional .livekit.WorkerStatus status = 1;LivekitAgent.UpdateWorkerStatus.BuildersetStatus(LivekitAgent.WorkerStatus value)optional .livekit.WorkerStatus status = 1;LivekitAgent.UpdateWorkerStatus.BuilderclearStatus()optional .livekit.WorkerStatus status = 1;floatgetLoad()optional string metadata = 2 [deprecated=true];float load = 3;LivekitAgent.UpdateWorkerStatus.BuildersetLoad(float value)optional string metadata = 2 [deprecated=true];float load = 3;LivekitAgent.UpdateWorkerStatus.BuilderclearLoad()optional string metadata = 2 [deprecated=true];float load = 3;intgetJobCount()uint32 job_count = 4;LivekitAgent.UpdateWorkerStatus.BuildersetJobCount(int value)uint32 job_count = 4;LivekitAgent.UpdateWorkerStatus.BuilderclearJobCount()uint32 job_count = 4;-
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
-
hasStatus
boolean hasStatus()
optional .livekit.WorkerStatus status = 1;
-
getStatusValue
int getStatusValue()
optional .livekit.WorkerStatus status = 1;
-
setStatusValue
LivekitAgent.UpdateWorkerStatus.Builder setStatusValue(int value)
optional .livekit.WorkerStatus status = 1;- Parameters:
value- The status to set.
-
getStatus
LivekitAgent.WorkerStatus getStatus()
optional .livekit.WorkerStatus status = 1;
-
setStatus
LivekitAgent.UpdateWorkerStatus.Builder setStatus(LivekitAgent.WorkerStatus value)
optional .livekit.WorkerStatus status = 1;- Parameters:
value- The enum numeric value on the wire for status to set.
-
clearStatus
LivekitAgent.UpdateWorkerStatus.Builder clearStatus()
optional .livekit.WorkerStatus status = 1;
-
getLoad
float getLoad()
optional string metadata = 2 [deprecated=true];float load = 3;
-
setLoad
LivekitAgent.UpdateWorkerStatus.Builder setLoad(float value)
optional string metadata = 2 [deprecated=true];float load = 3;- Parameters:
value- The load to set.
-
clearLoad
LivekitAgent.UpdateWorkerStatus.Builder clearLoad()
optional string metadata = 2 [deprecated=true];float load = 3;
-
getJobCount
int getJobCount()
uint32 job_count = 4;
-
setJobCount
LivekitAgent.UpdateWorkerStatus.Builder setJobCount(int value)
uint32 job_count = 4;- Parameters:
value- The jobCount to set.
-
clearJobCount
LivekitAgent.UpdateWorkerStatus.Builder clearJobCount()
uint32 job_count = 4;
-
-
-
-