-
- 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 boolean
hasStatus()
optional .livekit.WorkerStatus status = 1;
int
getStatusValue()
optional .livekit.WorkerStatus status = 1;
LivekitAgent.UpdateWorkerStatus.Builder
setStatusValue(int value)
optional .livekit.WorkerStatus status = 1;
LivekitAgent.WorkerStatus
getStatus()
optional .livekit.WorkerStatus status = 1;
LivekitAgent.UpdateWorkerStatus.Builder
setStatus(LivekitAgent.WorkerStatus value)
optional .livekit.WorkerStatus status = 1;
LivekitAgent.UpdateWorkerStatus.Builder
clearStatus()
optional .livekit.WorkerStatus status = 1;
boolean
hasMetadata()
optional string metadata = 2;
String
getMetadata()
optional string metadata = 2;
ByteString
getMetadataBytes()
optional string metadata = 2;
LivekitAgent.UpdateWorkerStatus.Builder
setMetadata(String value)
optional string metadata = 2;
LivekitAgent.UpdateWorkerStatus.Builder
clearMetadata()
optional string metadata = 2;
LivekitAgent.UpdateWorkerStatus.Builder
setMetadataBytes(ByteString value)
optional string metadata = 2;
float
getLoad()
float load = 3;
LivekitAgent.UpdateWorkerStatus.Builder
setLoad(float value)
float load = 3;
LivekitAgent.UpdateWorkerStatus.Builder
clearLoad()
float load = 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
-
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;
-
hasMetadata
boolean hasMetadata()
optional string metadata = 2;
-
getMetadata
String getMetadata()
optional string metadata = 2;
-
getMetadataBytes
ByteString getMetadataBytes()
optional string metadata = 2;
-
setMetadata
LivekitAgent.UpdateWorkerStatus.Builder setMetadata(String value)
optional string metadata = 2;
- Parameters:
value
- The metadata to set.
-
clearMetadata
LivekitAgent.UpdateWorkerStatus.Builder clearMetadata()
optional string metadata = 2;
-
setMetadataBytes
LivekitAgent.UpdateWorkerStatus.Builder setMetadataBytes(ByteString value)
optional string metadata = 2;
- Parameters:
value
- The bytes for metadata to set.
-
getLoad
float getLoad()
float load = 3;
-
setLoad
LivekitAgent.UpdateWorkerStatus.Builder setLoad(float value)
float load = 3;
- Parameters:
value
- The load to set.
-
clearLoad
LivekitAgent.UpdateWorkerStatus.Builder clearLoad()
float load = 3;
-
-
-
-