-
- 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 class
LivekitModels.UserPacket.Builder
Protobuf type
{@code livekit.UserPacket}
-
Field Summary
Fields Modifier and Type Field Description public final static int
PARTICIPANT_SID_FIELD_NUMBER
public final static int
PARTICIPANT_IDENTITY_FIELD_NUMBER
public final static int
PAYLOAD_FIELD_NUMBER
public final static int
DESTINATION_SIDS_FIELD_NUMBER
public final static int
DESTINATION_IDENTITIES_FIELD_NUMBER
public final static int
TOPIC_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description String
getParticipantSid()
participant ID of user that sent the message
string participant_sid = 1;
ByteString
getParticipantSidBytes()
participant ID of user that sent the message
string participant_sid = 1;
String
getParticipantIdentity()
string participant_identity = 5;
ByteString
getParticipantIdentityBytes()
string participant_identity = 5;
ByteString
getPayload()
user defined payload
bytes 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;
int
getDestinationSidsCount()
the ID of the participants who will receive the message (sent to all by default)
repeated string destination_sids = 3;
String
getDestinationSids(int index)
the ID of the participants who will receive the message (sent to all by default)
repeated string destination_sids = 3;
ByteString
getDestinationSidsBytes(int index)
the ID of the participants who will receive the message (sent to all by default)
repeated string destination_sids = 3;
List<String>
getDestinationIdentitiesList()
identities of participants who will receive the message (sent to all by default)
repeated string destination_identities = 6;
int
getDestinationIdentitiesCount()
identities of participants who will receive the message (sent to all by default)
repeated string destination_identities = 6;
String
getDestinationIdentities(int index)
identities of participants who will receive the message (sent to all by default)
repeated string destination_identities = 6;
ByteString
getDestinationIdentitiesBytes(int index)
identities of participants who will receive the message (sent to all by default)
repeated string destination_identities = 6;
boolean
hasTopic()
topic under which the message was published
optional string topic = 4;
String
getTopic()
topic under which the message was published
optional string topic = 4;
ByteString
getTopicBytes()
topic under which the message was published
optional string topic = 4;
static LivekitModels.UserPacket
parseFrom(ByteBuffer data)
static LivekitModels.UserPacket
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
static LivekitModels.UserPacket
parseFrom(ByteString data)
static LivekitModels.UserPacket
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static LivekitModels.UserPacket
parseFrom(Array<byte> data)
static LivekitModels.UserPacket
parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
static LivekitModels.UserPacket
parseFrom(InputStream input)
static LivekitModels.UserPacket
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static LivekitModels.UserPacket
parseDelimitedFrom(InputStream input)
static LivekitModels.UserPacket
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static LivekitModels.UserPacket
parseFrom(CodedInputStream input)
static LivekitModels.UserPacket
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static LivekitModels.UserPacket.Builder
newBuilder()
static LivekitModels.UserPacket.Builder
newBuilder(LivekitModels.UserPacket prototype)
static LivekitModels.UserPacket
getDefaultInstance()
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
String getParticipantSid()
participant ID of user that sent the message
string participant_sid = 1;
-
getParticipantSidBytes
ByteString getParticipantSidBytes()
participant ID of user that sent the message
string participant_sid = 1;
-
getParticipantIdentity
String getParticipantIdentity()
string participant_identity = 5;
-
getParticipantIdentityBytes
ByteString getParticipantIdentityBytes()
string participant_identity = 5;
-
getPayload
ByteString getPayload()
user defined payload
bytes payload = 2;
-
getDestinationSidsList
List<String> getDestinationSidsList()
the ID of the participants who will receive the message (sent to all by default)
repeated string destination_sids = 3;
-
getDestinationSidsCount
int getDestinationSidsCount()
the ID of the participants who will receive the message (sent to all by default)
repeated string destination_sids = 3;
-
getDestinationSids
String getDestinationSids(int index)
the ID of the participants who will receive the message (sent to all by default)
repeated string destination_sids = 3;
- Parameters:
index
- The index of the element to return.
-
getDestinationSidsBytes
ByteString getDestinationSidsBytes(int index)
the ID of the participants who will receive the message (sent to all by default)
repeated string destination_sids = 3;
- Parameters:
index
- The index of the value to return.
-
getDestinationIdentitiesList
List<String> getDestinationIdentitiesList()
identities of participants who will receive the message (sent to all by default)
repeated string destination_identities = 6;
-
getDestinationIdentitiesCount
int getDestinationIdentitiesCount()
identities of participants who will receive the message (sent to all by default)
repeated string destination_identities = 6;
-
getDestinationIdentities
String getDestinationIdentities(int index)
identities of participants who will receive the message (sent to all by default)
repeated string destination_identities = 6;
- Parameters:
index
- The index of the element to return.
-
getDestinationIdentitiesBytes
ByteString getDestinationIdentitiesBytes(int index)
identities of participants who will receive the message (sent to all by default)
repeated string destination_identities = 6;
- Parameters:
index
- The index of the value to return.
-
hasTopic
boolean hasTopic()
topic under which the message was published
optional string topic = 4;
-
getTopicBytes
ByteString getTopicBytes()
topic under which the message was published
optional string topic = 4;
-
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()
-
-
-
-