-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitModels.UserPacketOrBuilder
public final class LivekitModels.UserPacket.Builder extends GeneratedMessageLite.Builder<LivekitModels.UserPacket, LivekitModels.UserPacket.Builder> implements LivekitModels.UserPacketOrBuilder
Protobuf type
{@code livekit.UserPacket}
-
-
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];LivekitModels.UserPacket.BuildersetParticipantSid(String value)participant ID of user that sent the messagestring participant_sid = 1 [deprecated = true];LivekitModels.UserPacket.BuilderclearParticipantSid()participant ID of user that sent the messagestring participant_sid = 1 [deprecated = true];LivekitModels.UserPacket.BuildersetParticipantSidBytes(ByteString value)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];LivekitModels.UserPacket.BuildersetParticipantIdentity(String value)string participant_identity = 5 [deprecated = true];LivekitModels.UserPacket.BuilderclearParticipantIdentity()string participant_identity = 5 [deprecated = true];LivekitModels.UserPacket.BuildersetParticipantIdentityBytes(ByteString value)string participant_identity = 5 [deprecated = true];ByteStringgetPayload()user defined payloadbytes payload = 2;LivekitModels.UserPacket.BuildersetPayload(ByteString value)user defined payloadbytes payload = 2;LivekitModels.UserPacket.BuilderclearPayload()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];LivekitModels.UserPacket.BuildersetDestinationSids(int index, String value)the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];LivekitModels.UserPacket.BuilderaddDestinationSids(String value)the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];LivekitModels.UserPacket.BuilderaddAllDestinationSids(Iterable<String> values)the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];LivekitModels.UserPacket.BuilderclearDestinationSids()the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];LivekitModels.UserPacket.BuilderaddDestinationSidsBytes(ByteString value)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];LivekitModels.UserPacket.BuildersetDestinationIdentities(int index, String value)identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];LivekitModels.UserPacket.BuilderaddDestinationIdentities(String value)identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];LivekitModels.UserPacket.BuilderaddAllDestinationIdentities(Iterable<String> values)identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];LivekitModels.UserPacket.BuilderclearDestinationIdentities()identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];LivekitModels.UserPacket.BuilderaddDestinationIdentitiesBytes(ByteString value)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;LivekitModels.UserPacket.BuildersetTopic(String value)topic under which the message was publishedoptional string topic = 4;LivekitModels.UserPacket.BuilderclearTopic()topic under which the message was publishedoptional string topic = 4;LivekitModels.UserPacket.BuildersetTopicBytes(ByteString value)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;LivekitModels.UserPacket.BuildersetId(String value)Unique ID to identify the messageoptional string id = 8;LivekitModels.UserPacket.BuilderclearId()Unique ID to identify the messageoptional string id = 8;LivekitModels.UserPacket.BuildersetIdBytes(ByteString value)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;LivekitModels.UserPacket.BuildersetStartTime(long value)start and end time allow relating the message to specific media timeoptional uint64 start_time = 9;LivekitModels.UserPacket.BuilderclearStartTime()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;LivekitModels.UserPacket.BuildersetEndTime(long value)optional uint64 end_time = 10;LivekitModels.UserPacket.BuilderclearEndTime()optional uint64 end_time = 10;ByteStringgetNonce()added by SDK to enable de-duping of messages, for INTERNAL USE ONLYbytes nonce = 11;LivekitModels.UserPacket.BuildersetNonce(ByteString value)added by SDK to enable de-duping of messages, for INTERNAL USE ONLYbytes nonce = 11;LivekitModels.UserPacket.BuilderclearNonce()added by SDK to enable de-duping of messages, for INTERNAL USE ONLYbytes nonce = 11;-
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
-
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];
-
setParticipantSid
@Deprecated() LivekitModels.UserPacket.Builder setParticipantSid(String value)
participant ID of user that sent the messagestring participant_sid = 1 [deprecated = true];- Parameters:
value- The participantSid to set.
-
clearParticipantSid
@Deprecated() LivekitModels.UserPacket.Builder clearParticipantSid()
participant ID of user that sent the messagestring participant_sid = 1 [deprecated = true];
-
setParticipantSidBytes
@Deprecated() LivekitModels.UserPacket.Builder setParticipantSidBytes(ByteString value)
participant ID of user that sent the messagestring participant_sid = 1 [deprecated = true];- Parameters:
value- The bytes for participantSid to set.
-
getParticipantIdentity
@Deprecated() String getParticipantIdentity()
string participant_identity = 5 [deprecated = true];
-
getParticipantIdentityBytes
@Deprecated() ByteString getParticipantIdentityBytes()
string participant_identity = 5 [deprecated = true];
-
setParticipantIdentity
@Deprecated() LivekitModels.UserPacket.Builder setParticipantIdentity(String value)
string participant_identity = 5 [deprecated = true];- Parameters:
value- The participantIdentity to set.
-
clearParticipantIdentity
@Deprecated() LivekitModels.UserPacket.Builder clearParticipantIdentity()
string participant_identity = 5 [deprecated = true];
-
setParticipantIdentityBytes
@Deprecated() LivekitModels.UserPacket.Builder setParticipantIdentityBytes(ByteString value)
string participant_identity = 5 [deprecated = true];- Parameters:
value- The bytes for participantIdentity to set.
-
getPayload
ByteString getPayload()
user defined payloadbytes payload = 2;
-
setPayload
LivekitModels.UserPacket.Builder setPayload(ByteString value)
user defined payloadbytes payload = 2;- Parameters:
value- The payload to set.
-
clearPayload
LivekitModels.UserPacket.Builder clearPayload()
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.
-
setDestinationSids
@Deprecated() LivekitModels.UserPacket.Builder setDestinationSids(int index, String value)
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 to set the value at.value- The destinationSids to set.
-
addDestinationSids
@Deprecated() LivekitModels.UserPacket.Builder addDestinationSids(String value)
the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];- Parameters:
value- The destinationSids to add.
-
addAllDestinationSids
@Deprecated() LivekitModels.UserPacket.Builder addAllDestinationSids(Iterable<String> values)
the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];- Parameters:
values- The destinationSids to add.
-
clearDestinationSids
@Deprecated() LivekitModels.UserPacket.Builder clearDestinationSids()
the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];
-
addDestinationSidsBytes
@Deprecated() LivekitModels.UserPacket.Builder addDestinationSidsBytes(ByteString value)
the ID of the participants who will receive the message (sent to all by default)repeated string destination_sids = 3 [deprecated = true];- Parameters:
value- The bytes of the destinationSids to add.
-
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.
-
setDestinationIdentities
@Deprecated() LivekitModels.UserPacket.Builder setDestinationIdentities(int index, String value)
identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];- Parameters:
index- The index to set the value at.value- The destinationIdentities to set.
-
addDestinationIdentities
@Deprecated() LivekitModels.UserPacket.Builder addDestinationIdentities(String value)
identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];- Parameters:
value- The destinationIdentities to add.
-
addAllDestinationIdentities
@Deprecated() LivekitModels.UserPacket.Builder addAllDestinationIdentities(Iterable<String> values)
identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];- Parameters:
values- The destinationIdentities to add.
-
clearDestinationIdentities
@Deprecated() LivekitModels.UserPacket.Builder clearDestinationIdentities()
identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];
-
addDestinationIdentitiesBytes
@Deprecated() LivekitModels.UserPacket.Builder addDestinationIdentitiesBytes(ByteString value)
identities of participants who will receive the message (sent to all by default)repeated string destination_identities = 6 [deprecated = true];- Parameters:
value- The bytes of the destinationIdentities to add.
-
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;
-
setTopic
LivekitModels.UserPacket.Builder setTopic(String value)
topic under which the message was publishedoptional string topic = 4;- Parameters:
value- The topic to set.
-
clearTopic
LivekitModels.UserPacket.Builder clearTopic()
topic under which the message was publishedoptional string topic = 4;
-
setTopicBytes
LivekitModels.UserPacket.Builder setTopicBytes(ByteString value)
topic under which the message was publishedoptional string topic = 4;- Parameters:
value- The bytes for topic to set.
-
hasId
boolean hasId()
Unique ID to identify the messageoptional string id = 8;
-
getIdBytes
ByteString getIdBytes()
Unique ID to identify the messageoptional string id = 8;
-
setId
LivekitModels.UserPacket.Builder setId(String value)
Unique ID to identify the messageoptional string id = 8;- Parameters:
value- The id to set.
-
clearId
LivekitModels.UserPacket.Builder clearId()
Unique ID to identify the messageoptional string id = 8;
-
setIdBytes
LivekitModels.UserPacket.Builder setIdBytes(ByteString value)
Unique ID to identify the messageoptional string id = 8;- Parameters:
value- The bytes for id to set.
-
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;
-
setStartTime
LivekitModels.UserPacket.Builder setStartTime(long value)
start and end time allow relating the message to specific media timeoptional uint64 start_time = 9;- Parameters:
value- The startTime to set.
-
clearStartTime
LivekitModels.UserPacket.Builder clearStartTime()
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;
-
setEndTime
LivekitModels.UserPacket.Builder setEndTime(long value)
optional uint64 end_time = 10;- Parameters:
value- The endTime to set.
-
clearEndTime
LivekitModels.UserPacket.Builder clearEndTime()
optional uint64 end_time = 10;
-
getNonce
ByteString getNonce()
added by SDK to enable de-duping of messages, for INTERNAL USE ONLYbytes nonce = 11;
-
setNonce
LivekitModels.UserPacket.Builder setNonce(ByteString value)
added by SDK to enable de-duping of messages, for INTERNAL USE ONLYbytes nonce = 11;- Parameters:
value- The nonce to set.
-
clearNonce
LivekitModels.UserPacket.Builder clearNonce()
added by SDK to enable de-duping of messages, for INTERNAL USE ONLYbytes nonce = 11;
-
-
-
-