-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,livekit.LivekitAgent.ServerMessageOrBuilder
public final class LivekitAgent.ServerMessage extends GeneratedMessageLite<LivekitAgent.ServerMessage, LivekitAgent.ServerMessage.Builder> implements LivekitAgent.ServerMessageOrBuilder
Protobuf typefrom Server to Worker
{@code livekit.ServerMessage}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
LivekitAgent.ServerMessage.MessageCase
public final class
LivekitAgent.ServerMessage.Builder
Protobuf typefrom Server to Worker
{@code livekit.ServerMessage}
-
Field Summary
Fields Modifier and Type Field Description public final static int
REGISTER_FIELD_NUMBER
public final static int
AVAILABILITY_FIELD_NUMBER
public final static int
ASSIGNMENT_FIELD_NUMBER
public final static int
PONG_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description LivekitAgent.ServerMessage.MessageCase
getMessageCase()
boolean
hasRegister()
server confirms the registration, from this moment on, the worker is considered active
.livekit.RegisterWorkerResponse register = 1;
LivekitAgent.RegisterWorkerResponse
getRegister()
server confirms the registration, from this moment on, the worker is considered active
.livekit.RegisterWorkerResponse register = 1;
boolean
hasAvailability()
server asks worker to confirm availability for a job
.livekit.AvailabilityRequest availability = 2;
LivekitAgent.AvailabilityRequest
getAvailability()
server asks worker to confirm availability for a job
.livekit.AvailabilityRequest availability = 2;
boolean
hasAssignment()
.livekit.JobAssignment assignment = 3;
LivekitAgent.JobAssignment
getAssignment()
.livekit.JobAssignment assignment = 3;
boolean
hasPong()
.livekit.WorkerPong pong = 4;
LivekitAgent.WorkerPong
getPong()
.livekit.WorkerPong pong = 4;
static LivekitAgent.ServerMessage
parseFrom(ByteBuffer data)
static LivekitAgent.ServerMessage
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
static LivekitAgent.ServerMessage
parseFrom(ByteString data)
static LivekitAgent.ServerMessage
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static LivekitAgent.ServerMessage
parseFrom(Array<byte> data)
static LivekitAgent.ServerMessage
parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
static LivekitAgent.ServerMessage
parseFrom(InputStream input)
static LivekitAgent.ServerMessage
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static LivekitAgent.ServerMessage
parseDelimitedFrom(InputStream input)
static LivekitAgent.ServerMessage
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static LivekitAgent.ServerMessage
parseFrom(CodedInputStream input)
static LivekitAgent.ServerMessage
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static LivekitAgent.ServerMessage.Builder
newBuilder()
static LivekitAgent.ServerMessage.Builder
newBuilder(LivekitAgent.ServerMessage prototype)
static LivekitAgent.ServerMessage
getDefaultInstance()
static Parser<LivekitAgent.ServerMessage>
parser()
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo
-
Methods inherited from class com.google.protobuf.MessageLite
getParserForType, newBuilderForType, toBuilder
-
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
-
getMessageCase
LivekitAgent.ServerMessage.MessageCase getMessageCase()
-
hasRegister
boolean hasRegister()
server confirms the registration, from this moment on, the worker is considered active
.livekit.RegisterWorkerResponse register = 1;
-
getRegister
LivekitAgent.RegisterWorkerResponse getRegister()
server confirms the registration, from this moment on, the worker is considered active
.livekit.RegisterWorkerResponse register = 1;
-
hasAvailability
boolean hasAvailability()
server asks worker to confirm availability for a job
.livekit.AvailabilityRequest availability = 2;
-
getAvailability
LivekitAgent.AvailabilityRequest getAvailability()
server asks worker to confirm availability for a job
.livekit.AvailabilityRequest availability = 2;
-
hasAssignment
boolean hasAssignment()
.livekit.JobAssignment assignment = 3;
-
getAssignment
LivekitAgent.JobAssignment getAssignment()
.livekit.JobAssignment assignment = 3;
-
hasPong
boolean hasPong()
.livekit.WorkerPong pong = 4;
-
getPong
LivekitAgent.WorkerPong getPong()
.livekit.WorkerPong pong = 4;
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(ByteBuffer data)
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(ByteString data)
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(Array<byte> data)
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(InputStream input)
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static LivekitAgent.ServerMessage parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static LivekitAgent.ServerMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(CodedInputStream input)
-
parseFrom
static LivekitAgent.ServerMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static LivekitAgent.ServerMessage.Builder newBuilder()
-
newBuilder
static LivekitAgent.ServerMessage.Builder newBuilder(LivekitAgent.ServerMessage prototype)
-
getDefaultInstance
static LivekitAgent.ServerMessage getDefaultInstance()
-
parser
static Parser<LivekitAgent.ServerMessage> parser()
-
-
-
-