-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitSip.SIPDispatchRuleInfoOrBuilder
public final class LivekitSip.SIPDispatchRuleInfo.Builder extends GeneratedMessageLite.Builder<LivekitSip.SIPDispatchRuleInfo, LivekitSip.SIPDispatchRuleInfo.Builder> implements LivekitSip.SIPDispatchRuleInfoOrBuilder
Protobuf type
{@code livekit.SIPDispatchRuleInfo}
-
-
Method Summary
Modifier and Type Method Description StringgetSipDispatchRuleId()string sip_dispatch_rule_id = 1;ByteStringgetSipDispatchRuleIdBytes()string sip_dispatch_rule_id = 1;LivekitSip.SIPDispatchRuleInfo.BuildersetSipDispatchRuleId(String value)string sip_dispatch_rule_id = 1;LivekitSip.SIPDispatchRuleInfo.BuilderclearSipDispatchRuleId()string sip_dispatch_rule_id = 1;LivekitSip.SIPDispatchRuleInfo.BuildersetSipDispatchRuleIdBytes(ByteString value)string sip_dispatch_rule_id = 1;booleanhasRule().livekit.SIPDispatchRule rule = 2;LivekitSip.SIPDispatchRulegetRule().livekit.SIPDispatchRule rule = 2;LivekitSip.SIPDispatchRuleInfo.BuildersetRule(LivekitSip.SIPDispatchRule value).livekit.SIPDispatchRule rule = 2;LivekitSip.SIPDispatchRuleInfo.BuildersetRule(LivekitSip.SIPDispatchRule.Builder builderForValue).livekit.SIPDispatchRule rule = 2;LivekitSip.SIPDispatchRuleInfo.BuildermergeRule(LivekitSip.SIPDispatchRule value).livekit.SIPDispatchRule rule = 2;LivekitSip.SIPDispatchRuleInfo.BuilderclearRule().livekit.SIPDispatchRule rule = 2;List<String>getTrunkIdsList()repeated string trunk_ids = 3;intgetTrunkIdsCount()repeated string trunk_ids = 3;StringgetTrunkIds(int index)repeated string trunk_ids = 3;ByteStringgetTrunkIdsBytes(int index)repeated string trunk_ids = 3;LivekitSip.SIPDispatchRuleInfo.BuildersetTrunkIds(int index, String value)repeated string trunk_ids = 3;LivekitSip.SIPDispatchRuleInfo.BuilderaddTrunkIds(String value)repeated string trunk_ids = 3;LivekitSip.SIPDispatchRuleInfo.BuilderaddAllTrunkIds(Iterable<String> values)repeated string trunk_ids = 3;LivekitSip.SIPDispatchRuleInfo.BuilderclearTrunkIds()repeated string trunk_ids = 3;LivekitSip.SIPDispatchRuleInfo.BuilderaddTrunkIdsBytes(ByteString value)repeated string trunk_ids = 3;booleangetHidePhoneNumber()bool hide_phone_number = 4;LivekitSip.SIPDispatchRuleInfo.BuildersetHidePhoneNumber(boolean value)bool hide_phone_number = 4;LivekitSip.SIPDispatchRuleInfo.BuilderclearHidePhoneNumber()bool hide_phone_number = 4;List<String>getInboundNumbersList()Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;intgetInboundNumbersCount()Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;StringgetInboundNumbers(int index)Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;ByteStringgetInboundNumbersBytes(int index)Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;LivekitSip.SIPDispatchRuleInfo.BuildersetInboundNumbers(int index, String value)Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;LivekitSip.SIPDispatchRuleInfo.BuilderaddInboundNumbers(String value)Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;LivekitSip.SIPDispatchRuleInfo.BuilderaddAllInboundNumbers(Iterable<String> values)Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;LivekitSip.SIPDispatchRuleInfo.BuilderclearInboundNumbers()Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;LivekitSip.SIPDispatchRuleInfo.BuilderaddInboundNumbersBytes(ByteString value)Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;StringgetName()Human-readable name for the Dispatch Rule.string name = 5;ByteStringgetNameBytes()Human-readable name for the Dispatch Rule.string name = 5;LivekitSip.SIPDispatchRuleInfo.BuildersetName(String value)Human-readable name for the Dispatch Rule.string name = 5;LivekitSip.SIPDispatchRuleInfo.BuilderclearName()Human-readable name for the Dispatch Rule.string name = 5;LivekitSip.SIPDispatchRuleInfo.BuildersetNameBytes(ByteString value)Human-readable name for the Dispatch Rule.string name = 5;StringgetMetadata()User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;ByteStringgetMetadataBytes()User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;LivekitSip.SIPDispatchRuleInfo.BuildersetMetadata(String value)User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;LivekitSip.SIPDispatchRuleInfo.BuilderclearMetadata()User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;LivekitSip.SIPDispatchRuleInfo.BuildersetMetadataBytes(ByteString value)User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;intgetAttributesCount()User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;booleancontainsAttributes(String key)User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;LivekitSip.SIPDispatchRuleInfo.BuilderclearAttributes()LivekitSip.SIPDispatchRuleInfo.BuilderremoveAttributes(String key)User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;Map<String, String>getAttributes()Use getAttributesMap instead. Map<String, String>getAttributesMap()User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;StringgetAttributesOrDefault(String key, String defaultValue)User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;StringgetAttributesOrThrow(String key)User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;LivekitSip.SIPDispatchRuleInfo.BuilderputAttributes(String key, String value)User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;LivekitSip.SIPDispatchRuleInfo.BuilderputAllAttributes(Map<String, String> values)User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;StringgetRoomPreset()Cloud-only, config preset to usestring room_preset = 9;ByteStringgetRoomPresetBytes()Cloud-only, config preset to usestring room_preset = 9;LivekitSip.SIPDispatchRuleInfo.BuildersetRoomPreset(String value)Cloud-only, config preset to usestring room_preset = 9;LivekitSip.SIPDispatchRuleInfo.BuilderclearRoomPreset()Cloud-only, config preset to usestring room_preset = 9;LivekitSip.SIPDispatchRuleInfo.BuildersetRoomPresetBytes(ByteString value)Cloud-only, config preset to usestring room_preset = 9;booleanhasRoomConfig()RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;LivekitRoom.RoomConfigurationgetRoomConfig()RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;LivekitSip.SIPDispatchRuleInfo.BuildersetRoomConfig(LivekitRoom.RoomConfiguration value)RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;LivekitSip.SIPDispatchRuleInfo.BuildersetRoomConfig(LivekitRoom.RoomConfiguration.Builder builderForValue)RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;LivekitSip.SIPDispatchRuleInfo.BuildermergeRoomConfig(LivekitRoom.RoomConfiguration value)RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;LivekitSip.SIPDispatchRuleInfo.BuilderclearRoomConfig()RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;booleangetKrispEnabled()bool krisp_enabled = 11;LivekitSip.SIPDispatchRuleInfo.BuildersetKrispEnabled(boolean value)bool krisp_enabled = 11;LivekitSip.SIPDispatchRuleInfo.BuilderclearKrispEnabled()bool krisp_enabled = 11;intgetMediaEncryptionValue()NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;LivekitSip.SIPDispatchRuleInfo.BuildersetMediaEncryptionValue(int value)NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;LivekitSip.SIPMediaEncryptiongetMediaEncryption()NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;LivekitSip.SIPDispatchRuleInfo.BuildersetMediaEncryption(LivekitSip.SIPMediaEncryption value)NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;LivekitSip.SIPDispatchRuleInfo.BuilderclearMediaEncryption()NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;-
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.LivekitSip.SIPDispatchRuleInfoOrBuilder
containsAttributes, getAttributesOrDefault, getAttributesOrThrow -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSipDispatchRuleId
String getSipDispatchRuleId()
string sip_dispatch_rule_id = 1;
-
getSipDispatchRuleIdBytes
ByteString getSipDispatchRuleIdBytes()
string sip_dispatch_rule_id = 1;
-
setSipDispatchRuleId
LivekitSip.SIPDispatchRuleInfo.Builder setSipDispatchRuleId(String value)
string sip_dispatch_rule_id = 1;- Parameters:
value- The sipDispatchRuleId to set.
-
clearSipDispatchRuleId
LivekitSip.SIPDispatchRuleInfo.Builder clearSipDispatchRuleId()
string sip_dispatch_rule_id = 1;
-
setSipDispatchRuleIdBytes
LivekitSip.SIPDispatchRuleInfo.Builder setSipDispatchRuleIdBytes(ByteString value)
string sip_dispatch_rule_id = 1;- Parameters:
value- The bytes for sipDispatchRuleId to set.
-
hasRule
boolean hasRule()
.livekit.SIPDispatchRule rule = 2;
-
getRule
LivekitSip.SIPDispatchRule getRule()
.livekit.SIPDispatchRule rule = 2;
-
setRule
LivekitSip.SIPDispatchRuleInfo.Builder setRule(LivekitSip.SIPDispatchRule value)
.livekit.SIPDispatchRule rule = 2;
-
setRule
LivekitSip.SIPDispatchRuleInfo.Builder setRule(LivekitSip.SIPDispatchRule.Builder builderForValue)
.livekit.SIPDispatchRule rule = 2;
-
mergeRule
LivekitSip.SIPDispatchRuleInfo.Builder mergeRule(LivekitSip.SIPDispatchRule value)
.livekit.SIPDispatchRule rule = 2;
-
clearRule
LivekitSip.SIPDispatchRuleInfo.Builder clearRule()
.livekit.SIPDispatchRule rule = 2;
-
getTrunkIdsList
List<String> getTrunkIdsList()
repeated string trunk_ids = 3;
-
getTrunkIdsCount
int getTrunkIdsCount()
repeated string trunk_ids = 3;
-
getTrunkIds
String getTrunkIds(int index)
repeated string trunk_ids = 3;- Parameters:
index- The index of the element to return.
-
getTrunkIdsBytes
ByteString getTrunkIdsBytes(int index)
repeated string trunk_ids = 3;- Parameters:
index- The index of the value to return.
-
setTrunkIds
LivekitSip.SIPDispatchRuleInfo.Builder setTrunkIds(int index, String value)
repeated string trunk_ids = 3;- Parameters:
index- The index to set the value at.value- The trunkIds to set.
-
addTrunkIds
LivekitSip.SIPDispatchRuleInfo.Builder addTrunkIds(String value)
repeated string trunk_ids = 3;- Parameters:
value- The trunkIds to add.
-
addAllTrunkIds
LivekitSip.SIPDispatchRuleInfo.Builder addAllTrunkIds(Iterable<String> values)
repeated string trunk_ids = 3;- Parameters:
values- The trunkIds to add.
-
clearTrunkIds
LivekitSip.SIPDispatchRuleInfo.Builder clearTrunkIds()
repeated string trunk_ids = 3;
-
addTrunkIdsBytes
LivekitSip.SIPDispatchRuleInfo.Builder addTrunkIdsBytes(ByteString value)
repeated string trunk_ids = 3;- Parameters:
value- The bytes of the trunkIds to add.
-
getHidePhoneNumber
boolean getHidePhoneNumber()
bool hide_phone_number = 4;
-
setHidePhoneNumber
LivekitSip.SIPDispatchRuleInfo.Builder setHidePhoneNumber(boolean value)
bool hide_phone_number = 4;- Parameters:
value- The hidePhoneNumber to set.
-
clearHidePhoneNumber
LivekitSip.SIPDispatchRuleInfo.Builder clearHidePhoneNumber()
bool hide_phone_number = 4;
-
getInboundNumbersList
List<String> getInboundNumbersList()
Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;
-
getInboundNumbersCount
int getInboundNumbersCount()
Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;
-
getInboundNumbers
String getInboundNumbers(int index)
Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;- Parameters:
index- The index of the element to return.
-
getInboundNumbersBytes
ByteString getInboundNumbersBytes(int index)
Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;- Parameters:
index- The index of the value to return.
-
setInboundNumbers
LivekitSip.SIPDispatchRuleInfo.Builder setInboundNumbers(int index, String value)
Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;- Parameters:
index- The index to set the value at.value- The inboundNumbers to set.
-
addInboundNumbers
LivekitSip.SIPDispatchRuleInfo.Builder addInboundNumbers(String value)
Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;- Parameters:
value- The inboundNumbers to add.
-
addAllInboundNumbers
LivekitSip.SIPDispatchRuleInfo.Builder addAllInboundNumbers(Iterable<String> values)
Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;- Parameters:
values- The inboundNumbers to add.
-
clearInboundNumbers
LivekitSip.SIPDispatchRuleInfo.Builder clearInboundNumbers()
Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;
-
addInboundNumbersBytes
LivekitSip.SIPDispatchRuleInfo.Builder addInboundNumbersBytes(ByteString value)
Dispatch Rule will only accept a call made to these numbers (if set).repeated string inbound_numbers = 7;- Parameters:
value- The bytes of the inboundNumbers to add.
-
getNameBytes
ByteString getNameBytes()
Human-readable name for the Dispatch Rule.string name = 5;
-
setName
LivekitSip.SIPDispatchRuleInfo.Builder setName(String value)
Human-readable name for the Dispatch Rule.string name = 5;- Parameters:
value- The name to set.
-
clearName
LivekitSip.SIPDispatchRuleInfo.Builder clearName()
Human-readable name for the Dispatch Rule.string name = 5;
-
setNameBytes
LivekitSip.SIPDispatchRuleInfo.Builder setNameBytes(ByteString value)
Human-readable name for the Dispatch Rule.string name = 5;- Parameters:
value- The bytes for name to set.
-
getMetadata
String getMetadata()
User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;
-
getMetadataBytes
ByteString getMetadataBytes()
User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;
-
setMetadata
LivekitSip.SIPDispatchRuleInfo.Builder setMetadata(String value)
User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;- Parameters:
value- The metadata to set.
-
clearMetadata
LivekitSip.SIPDispatchRuleInfo.Builder clearMetadata()
User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;
-
setMetadataBytes
LivekitSip.SIPDispatchRuleInfo.Builder setMetadataBytes(ByteString value)
User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata.string metadata = 6;- Parameters:
value- The bytes for metadata to set.
-
getAttributesCount
int getAttributesCount()
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;
-
containsAttributes
boolean containsAttributes(String key)
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;
-
clearAttributes
LivekitSip.SIPDispatchRuleInfo.Builder clearAttributes()
-
removeAttributes
LivekitSip.SIPDispatchRuleInfo.Builder removeAttributes(String key)
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;
-
getAttributes
@Deprecated() Map<String, String> getAttributes()
Use getAttributesMap instead.
-
getAttributesMap
Map<String, String> getAttributesMap()
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;
-
getAttributesOrDefault
String getAttributesOrDefault(String key, String defaultValue)
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;
-
getAttributesOrThrow
String getAttributesOrThrow(String key)
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;
-
putAttributes
LivekitSip.SIPDispatchRuleInfo.Builder putAttributes(String key, String value)
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;
-
putAllAttributes
LivekitSip.SIPDispatchRuleInfo.Builder putAllAttributes(Map<String, String> values)
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes.map<string, string> attributes = 8;
-
getRoomPreset
String getRoomPreset()
Cloud-only, config preset to usestring room_preset = 9;
-
getRoomPresetBytes
ByteString getRoomPresetBytes()
Cloud-only, config preset to usestring room_preset = 9;
-
setRoomPreset
LivekitSip.SIPDispatchRuleInfo.Builder setRoomPreset(String value)
Cloud-only, config preset to usestring room_preset = 9;- Parameters:
value- The roomPreset to set.
-
clearRoomPreset
LivekitSip.SIPDispatchRuleInfo.Builder clearRoomPreset()
Cloud-only, config preset to usestring room_preset = 9;
-
setRoomPresetBytes
LivekitSip.SIPDispatchRuleInfo.Builder setRoomPresetBytes(ByteString value)
Cloud-only, config preset to usestring room_preset = 9;- Parameters:
value- The bytes for roomPreset to set.
-
hasRoomConfig
boolean hasRoomConfig()
RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;
-
getRoomConfig
LivekitRoom.RoomConfiguration getRoomConfig()
RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;
-
setRoomConfig
LivekitSip.SIPDispatchRuleInfo.Builder setRoomConfig(LivekitRoom.RoomConfiguration value)
RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;
-
setRoomConfig
LivekitSip.SIPDispatchRuleInfo.Builder setRoomConfig(LivekitRoom.RoomConfiguration.Builder builderForValue)
RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;
-
mergeRoomConfig
LivekitSip.SIPDispatchRuleInfo.Builder mergeRoomConfig(LivekitRoom.RoomConfiguration value)
RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;
-
clearRoomConfig
LivekitSip.SIPDispatchRuleInfo.Builder clearRoomConfig()
RoomConfiguration to use if the participant initiates the room.livekit.RoomConfiguration room_config = 10;
-
getKrispEnabled
boolean getKrispEnabled()
bool krisp_enabled = 11;
-
setKrispEnabled
LivekitSip.SIPDispatchRuleInfo.Builder setKrispEnabled(boolean value)
bool krisp_enabled = 11;- Parameters:
value- The krispEnabled to set.
-
clearKrispEnabled
LivekitSip.SIPDispatchRuleInfo.Builder clearKrispEnabled()
bool krisp_enabled = 11;
-
getMediaEncryptionValue
int getMediaEncryptionValue()
NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;
-
setMediaEncryptionValue
LivekitSip.SIPDispatchRuleInfo.Builder setMediaEncryptionValue(int value)
NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;- Parameters:
value- The mediaEncryption to set.
-
getMediaEncryption
LivekitSip.SIPMediaEncryption getMediaEncryption()
NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;
-
setMediaEncryption
LivekitSip.SIPDispatchRuleInfo.Builder setMediaEncryption(LivekitSip.SIPMediaEncryption value)
NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;- Parameters:
value- The enum numeric value on the wire for mediaEncryption to set.
-
clearMediaEncryption
LivekitSip.SIPDispatchRuleInfo.Builder clearMediaEncryption()
NEXT ID: 13.livekit.SIPMediaEncryption media_encryption = 12;
-
-
-
-