-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,livekit.LivekitModels.UserPacketOrBuilder
public final class LivekitModels.UserPacket extends GeneratedMessageLite<LivekitModels.UserPacket, LivekitModels.UserPacket.Builder> implements LivekitModels.UserPacketOrBuilder
Protobuf type
{@code livekit.UserPacket}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLivekitModels.UserPacket.BuilderProtobuf type
{@code livekit.UserPacket}
-
Field Summary
Fields Modifier and Type Field Description public final static intPARTICIPANT_SID_FIELD_NUMBERpublic final static intPARTICIPANT_IDENTITY_FIELD_NUMBERpublic final static intPAYLOAD_FIELD_NUMBERpublic final static intDESTINATION_SIDS_FIELD_NUMBERpublic final static intDESTINATION_IDENTITIES_FIELD_NUMBERpublic final static intTOPIC_FIELD_NUMBERpublic final static intID_FIELD_NUMBERpublic final static intSTART_TIME_FIELD_NUMBERpublic final static intEND_TIME_FIELD_NUMBERpublic final static intNONCE_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description StringgetParticipantSid()participant ID of user that sent the messagestring participant_sid = 1 [deprecated = true];ByteStringgetParticipantSidBytes()participant ID of user that sent the messagestring participant_sid = 1 [deprecated = true];StringgetParticipantIdentity()string participant_identity = 5 [deprecated = true];ByteStringgetParticipantIdentityBytes()string participant_identity = 5 [deprecated = true];ByteStringgetPayload()user defined payloadbytes payload = 2;List<String>getDestinationSidsList()the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];intgetDestinationSidsCount()the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];StringgetDestinationSids(int index)the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];ByteStringgetDestinationSidsBytes(int index)the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];List<String>getDestinationIdentitiesList()identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];intgetDestinationIdentitiesCount()identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];StringgetDestinationIdentities(int index)identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];ByteStringgetDestinationIdentitiesBytes(int index)identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];booleanhasTopic()topic under which the message was publishedoptional string topic = 4;StringgetTopic()topic under which the message was publishedoptional string topic = 4;ByteStringgetTopicBytes()topic under which the message was publishedoptional string topic = 4;booleanhasId()Unique ID to identify the messageoptional string id = 8;StringgetId()Unique ID to identify the messageoptional string id = 8;ByteStringgetIdBytes()Unique ID to identify the messageoptional string id = 8;booleanhasStartTime()start and end time allow relating the message to specific media timeoptional uint64 start_time = 9;longgetStartTime()start and end time allow relating the message to specific media timeoptional uint64 start_time = 9;booleanhasEndTime()optional uint64 end_time = 10;longgetEndTime()optional uint64 end_time = 10;ByteStringgetNonce()added by SDK to enable de-duping of messages, for INTERNAL USE ONLYbytes nonce = 11;static LivekitModels.UserPacketparseFrom(ByteBuffer data)static LivekitModels.UserPacketparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static LivekitModels.UserPacketparseFrom(ByteString data)static LivekitModels.UserPacketparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static LivekitModels.UserPacketparseFrom(Array<byte> data)static LivekitModels.UserPacketparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static LivekitModels.UserPacketparseFrom(InputStream input)static LivekitModels.UserPacketparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitModels.UserPacketparseDelimitedFrom(InputStream input)static LivekitModels.UserPacketparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitModels.UserPacketparseFrom(CodedInputStream input)static LivekitModels.UserPacketparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static LivekitModels.UserPacket.BuildernewBuilder()static LivekitModels.UserPacket.BuildernewBuilder(LivekitModels.UserPacket prototype)static LivekitModels.UserPacketgetDefaultInstance()static Parser<LivekitModels.UserPacket>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
-
getParticipantSid
@Deprecated() String getParticipantSid()
participant ID of user that sent the messagestring participant_sid = 1 [deprecated = true];
-
getParticipantSidBytes
@Deprecated() ByteString getParticipantSidBytes()
participant ID of user that sent the messagestring participant_sid = 1 [deprecated = true];
-
getParticipantIdentity
@Deprecated() String getParticipantIdentity()
string participant_identity = 5 [deprecated = true];
-
getParticipantIdentityBytes
@Deprecated() ByteString getParticipantIdentityBytes()
string participant_identity = 5 [deprecated = true];
-
getPayload
ByteString getPayload()
user defined payloadbytes payload = 2;
-
getDestinationSidsList
@Deprecated() List<String> getDestinationSidsList()
the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];
-
getDestinationSidsCount
@Deprecated() int getDestinationSidsCount()
the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];
-
getDestinationSids
@Deprecated() String getDestinationSids(int index)
the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];- Parameters:
index- The index of the element to return.
-
getDestinationSidsBytes
@Deprecated() ByteString getDestinationSidsBytes(int index)
the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];- Parameters:
index- The index of the value to return.
-
getDestinationIdentitiesList
@Deprecated() List<String> getDestinationIdentitiesList()
identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];
-
getDestinationIdentitiesCount
@Deprecated() int getDestinationIdentitiesCount()
identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];
-
getDestinationIdentities
@Deprecated() String getDestinationIdentities(int index)
identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];- Parameters:
index- The index of the element to return.
-
getDestinationIdentitiesBytes
@Deprecated() ByteString getDestinationIdentitiesBytes(int index)
identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];- Parameters:
index- The index of the value to return.
-
hasTopic
boolean hasTopic()
topic under which the message was publishedoptional string topic = 4;
-
getTopicBytes
ByteString getTopicBytes()
topic under which the message was publishedoptional string topic = 4;
-
hasId
boolean hasId()
Unique ID to identify the messageoptional string id = 8;
-
getIdBytes
ByteString getIdBytes()
Unique ID to identify the messageoptional string id = 8;
-
hasStartTime
boolean hasStartTime()
start and end time allow relating the message to specific media timeoptional uint64 start_time = 9;
-
getStartTime
long getStartTime()
start and end time allow relating the message to specific media timeoptional uint64 start_time = 9;
-
hasEndTime
boolean hasEndTime()
optional uint64 end_time = 10;
-
getEndTime
long getEndTime()
optional uint64 end_time = 10;
-
getNonce
ByteString getNonce()
added by SDK to enable de-duping of messages, for INTERNAL USE ONLYbytes nonce = 11;
-
parseFrom
static LivekitModels.UserPacket parseFrom(ByteBuffer data)
-
parseFrom
static LivekitModels.UserPacket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitModels.UserPacket parseFrom(ByteString data)
-
parseFrom
static LivekitModels.UserPacket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitModels.UserPacket parseFrom(Array<byte> data)
-
parseFrom
static LivekitModels.UserPacket parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitModels.UserPacket parseFrom(InputStream input)
-
parseFrom
static LivekitModels.UserPacket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static LivekitModels.UserPacket parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static LivekitModels.UserPacket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitModels.UserPacket parseFrom(CodedInputStream input)
-
parseFrom
static LivekitModels.UserPacket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static LivekitModels.UserPacket.Builder newBuilder()
-
newBuilder
static LivekitModels.UserPacket.Builder newBuilder(LivekitModels.UserPacket prototype)
-
getDefaultInstance
static LivekitModels.UserPacket getDefaultInstance()
-
parser
static Parser<LivekitModels.UserPacket> parser()
-
-
-
-