-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitTokenSource.TokenSourceRequestOrBuilder
public final class LivekitTokenSource.TokenSourceRequest.Builder extends GeneratedMessageLite.Builder<LivekitTokenSource.TokenSourceRequest, LivekitTokenSource.TokenSourceRequest.Builder> implements LivekitTokenSource.TokenSourceRequestOrBuilder
Protobuf type
{@code livekit.TokenSourceRequest}
-
-
Method Summary
Modifier and Type Method Description booleanhasRoomName()The name of the room being requested when generating credentialsoptional string room_name = 1;StringgetRoomName()The name of the room being requested when generating credentialsoptional string room_name = 1;ByteStringgetRoomNameBytes()The name of the room being requested when generating credentialsoptional string room_name = 1;LivekitTokenSource.TokenSourceRequest.BuildersetRoomName(String value)The name of the room being requested when generating credentialsoptional string room_name = 1;LivekitTokenSource.TokenSourceRequest.BuilderclearRoomName()The name of the room being requested when generating credentialsoptional string room_name = 1;LivekitTokenSource.TokenSourceRequest.BuildersetRoomNameBytes(ByteString value)The name of the room being requested when generating credentialsoptional string room_name = 1;booleanhasParticipantName()The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;StringgetParticipantName()The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;ByteStringgetParticipantNameBytes()The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;LivekitTokenSource.TokenSourceRequest.BuildersetParticipantName(String value)The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;LivekitTokenSource.TokenSourceRequest.BuilderclearParticipantName()The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;LivekitTokenSource.TokenSourceRequest.BuildersetParticipantNameBytes(ByteString value)The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;booleanhasParticipantIdentity()The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;StringgetParticipantIdentity()The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;ByteStringgetParticipantIdentityBytes()The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;LivekitTokenSource.TokenSourceRequest.BuildersetParticipantIdentity(String value)The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;LivekitTokenSource.TokenSourceRequest.BuilderclearParticipantIdentity()The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;LivekitTokenSource.TokenSourceRequest.BuildersetParticipantIdentityBytes(ByteString value)The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;booleanhasParticipantMetadata()Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;StringgetParticipantMetadata()Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;ByteStringgetParticipantMetadataBytes()Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;LivekitTokenSource.TokenSourceRequest.BuildersetParticipantMetadata(String value)Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;LivekitTokenSource.TokenSourceRequest.BuilderclearParticipantMetadata()Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;LivekitTokenSource.TokenSourceRequest.BuildersetParticipantMetadataBytes(ByteString value)Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;intgetParticipantAttributesCount()Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;booleancontainsParticipantAttributes(String key)Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;LivekitTokenSource.TokenSourceRequest.BuilderclearParticipantAttributes()LivekitTokenSource.TokenSourceRequest.BuilderremoveParticipantAttributes(String key)Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;Map<String, String>getParticipantAttributes()Use getParticipantAttributesMap instead. Map<String, String>getParticipantAttributesMap()Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;StringgetParticipantAttributesOrDefault(String key, String defaultValue)Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;StringgetParticipantAttributesOrThrow(String key)Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;LivekitTokenSource.TokenSourceRequest.BuilderputParticipantAttributes(String key, String value)Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;LivekitTokenSource.TokenSourceRequest.BuilderputAllParticipantAttributes(Map<String, String> values)Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;booleanhasRoomConfig()A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;LivekitRoom.RoomConfigurationgetRoomConfig()A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;LivekitTokenSource.TokenSourceRequest.BuildersetRoomConfig(LivekitRoom.RoomConfiguration value)A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;LivekitTokenSource.TokenSourceRequest.BuildersetRoomConfig(LivekitRoom.RoomConfiguration.Builder builderForValue)A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;LivekitTokenSource.TokenSourceRequest.BuildermergeRoomConfig(LivekitRoom.RoomConfiguration value)A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;LivekitTokenSource.TokenSourceRequest.BuilderclearRoomConfig()A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;-
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 livekit.LivekitTokenSource.TokenSourceRequestOrBuilder
containsParticipantAttributes, getParticipantAttributesOrDefault, getParticipantAttributesOrThrow -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
hasRoomName
boolean hasRoomName()
The name of the room being requested when generating credentialsoptional string room_name = 1;
-
getRoomName
String getRoomName()
The name of the room being requested when generating credentialsoptional string room_name = 1;
-
getRoomNameBytes
ByteString getRoomNameBytes()
The name of the room being requested when generating credentialsoptional string room_name = 1;
-
setRoomName
LivekitTokenSource.TokenSourceRequest.Builder setRoomName(String value)
The name of the room being requested when generating credentialsoptional string room_name = 1;- Parameters:
value- The roomName to set.
-
clearRoomName
LivekitTokenSource.TokenSourceRequest.Builder clearRoomName()
The name of the room being requested when generating credentialsoptional string room_name = 1;
-
setRoomNameBytes
LivekitTokenSource.TokenSourceRequest.Builder setRoomNameBytes(ByteString value)
The name of the room being requested when generating credentialsoptional string room_name = 1;- Parameters:
value- The bytes for roomName to set.
-
hasParticipantName
boolean hasParticipantName()
The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;
-
getParticipantName
String getParticipantName()
The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;
-
getParticipantNameBytes
ByteString getParticipantNameBytes()
The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;
-
setParticipantName
LivekitTokenSource.TokenSourceRequest.Builder setParticipantName(String value)
The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;- Parameters:
value- The participantName to set.
-
clearParticipantName
LivekitTokenSource.TokenSourceRequest.Builder clearParticipantName()
The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;
-
setParticipantNameBytes
LivekitTokenSource.TokenSourceRequest.Builder setParticipantNameBytes(ByteString value)
The name of the participant being requested for this client when generating credentialsoptional string participant_name = 2;- Parameters:
value- The bytes for participantName to set.
-
hasParticipantIdentity
boolean hasParticipantIdentity()
The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;
-
getParticipantIdentity
String getParticipantIdentity()
The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;
-
getParticipantIdentityBytes
ByteString getParticipantIdentityBytes()
The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;
-
setParticipantIdentity
LivekitTokenSource.TokenSourceRequest.Builder setParticipantIdentity(String value)
The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;- Parameters:
value- The participantIdentity to set.
-
clearParticipantIdentity
LivekitTokenSource.TokenSourceRequest.Builder clearParticipantIdentity()
The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;
-
setParticipantIdentityBytes
LivekitTokenSource.TokenSourceRequest.Builder setParticipantIdentityBytes(ByteString value)
The identity of the participant being requested for this client when generating credentialsoptional string participant_identity = 3;- Parameters:
value- The bytes for participantIdentity to set.
-
hasParticipantMetadata
boolean hasParticipantMetadata()
Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;
-
getParticipantMetadata
String getParticipantMetadata()
Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;
-
getParticipantMetadataBytes
ByteString getParticipantMetadataBytes()
Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;
-
setParticipantMetadata
LivekitTokenSource.TokenSourceRequest.Builder setParticipantMetadata(String value)
Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;- Parameters:
value- The participantMetadata to set.
-
clearParticipantMetadata
LivekitTokenSource.TokenSourceRequest.Builder clearParticipantMetadata()
Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;
-
setParticipantMetadataBytes
LivekitTokenSource.TokenSourceRequest.Builder setParticipantMetadataBytes(ByteString value)
Any participant metadata being included along with the credentials generation operationoptional string participant_metadata = 4;- Parameters:
value- The bytes for participantMetadata to set.
-
getParticipantAttributesCount
int getParticipantAttributesCount()
Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;
-
containsParticipantAttributes
boolean containsParticipantAttributes(String key)
Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;
-
clearParticipantAttributes
LivekitTokenSource.TokenSourceRequest.Builder clearParticipantAttributes()
-
removeParticipantAttributes
LivekitTokenSource.TokenSourceRequest.Builder removeParticipantAttributes(String key)
Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;
-
getParticipantAttributes
@Deprecated() Map<String, String> getParticipantAttributes()
Use getParticipantAttributesMap instead.
-
getParticipantAttributesMap
Map<String, String> getParticipantAttributesMap()
Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;
-
getParticipantAttributesOrDefault
String getParticipantAttributesOrDefault(String key, String defaultValue)
Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;
-
getParticipantAttributesOrThrow
String getParticipantAttributesOrThrow(String key)
Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;
-
putParticipantAttributes
LivekitTokenSource.TokenSourceRequest.Builder putParticipantAttributes(String key, String value)
Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;
-
putAllParticipantAttributes
LivekitTokenSource.TokenSourceRequest.Builder putAllParticipantAttributes(Map<String, String> values)
Any participant attributes being included along with the credentials generation operationmap<string, string> participant_attributes = 5;
-
hasRoomConfig
boolean hasRoomConfig()
A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;
-
getRoomConfig
LivekitRoom.RoomConfiguration getRoomConfig()
A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;
-
setRoomConfig
LivekitTokenSource.TokenSourceRequest.Builder setRoomConfig(LivekitRoom.RoomConfiguration value)
A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;
-
setRoomConfig
LivekitTokenSource.TokenSourceRequest.Builder setRoomConfig(LivekitRoom.RoomConfiguration.Builder builderForValue)
A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;
-
mergeRoomConfig
LivekitTokenSource.TokenSourceRequest.Builder mergeRoomConfig(LivekitRoom.RoomConfiguration value)
A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;
-
clearRoomConfig
LivekitTokenSource.TokenSourceRequest.Builder clearRoomConfig()
A RoomConfiguration object can be passed to request extra parameters should be included when generating connection credentials - dispatching agents, defining egress settings, etc More info: https://docs.livekit.io/home/get-started/authentication/#room-configurationoptional .livekit.RoomConfiguration room_config = 6;
-
-
-
-