-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitSip.SIPInboundTrunkInfoOrBuilder
public final class LivekitSip.SIPInboundTrunkInfo.Builder extends GeneratedMessageLite.Builder<LivekitSip.SIPInboundTrunkInfo, LivekitSip.SIPInboundTrunkInfo.Builder> implements LivekitSip.SIPInboundTrunkInfoOrBuilder
Protobuf type
{@code livekit.SIPInboundTrunkInfo}
-
-
Method Summary
Modifier and Type Method Description StringgetSipTrunkId()string sip_trunk_id = 1;ByteStringgetSipTrunkIdBytes()string sip_trunk_id = 1;LivekitSip.SIPInboundTrunkInfo.BuildersetSipTrunkId(String value)string sip_trunk_id = 1;LivekitSip.SIPInboundTrunkInfo.BuilderclearSipTrunkId()string sip_trunk_id = 1;LivekitSip.SIPInboundTrunkInfo.BuildersetSipTrunkIdBytes(ByteString value)string sip_trunk_id = 1;StringgetName()Human-readable name for the Trunk.string name = 2;ByteStringgetNameBytes()Human-readable name for the Trunk.string name = 2;LivekitSip.SIPInboundTrunkInfo.BuildersetName(String value)Human-readable name for the Trunk.string name = 2;LivekitSip.SIPInboundTrunkInfo.BuilderclearName()Human-readable name for the Trunk.string name = 2;LivekitSip.SIPInboundTrunkInfo.BuildersetNameBytes(ByteString value)Human-readable name for the Trunk.string name = 2;StringgetMetadata()User-defined metadata for the Trunk.string metadata = 3;ByteStringgetMetadataBytes()User-defined metadata for the Trunk.string metadata = 3;LivekitSip.SIPInboundTrunkInfo.BuildersetMetadata(String value)User-defined metadata for the Trunk.string metadata = 3;LivekitSip.SIPInboundTrunkInfo.BuilderclearMetadata()User-defined metadata for the Trunk.string metadata = 3;LivekitSip.SIPInboundTrunkInfo.BuildersetMetadataBytes(ByteString value)User-defined metadata for the Trunk.string metadata = 3;List<String>getNumbersList()Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;intgetNumbersCount()Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;StringgetNumbers(int index)Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;ByteStringgetNumbersBytes(int index)Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;LivekitSip.SIPInboundTrunkInfo.BuildersetNumbers(int index, String value)Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;LivekitSip.SIPInboundTrunkInfo.BuilderaddNumbers(String value)Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;LivekitSip.SIPInboundTrunkInfo.BuilderaddAllNumbers(Iterable<String> values)Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;LivekitSip.SIPInboundTrunkInfo.BuilderclearNumbers()Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;LivekitSip.SIPInboundTrunkInfo.BuilderaddNumbersBytes(ByteString value)Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;List<String>getAllowedAddressesList()CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;intgetAllowedAddressesCount()CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;StringgetAllowedAddresses(int index)CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;ByteStringgetAllowedAddressesBytes(int index)CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;LivekitSip.SIPInboundTrunkInfo.BuildersetAllowedAddresses(int index, String value)CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;LivekitSip.SIPInboundTrunkInfo.BuilderaddAllowedAddresses(String value)CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;LivekitSip.SIPInboundTrunkInfo.BuilderaddAllAllowedAddresses(Iterable<String> values)CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;LivekitSip.SIPInboundTrunkInfo.BuilderclearAllowedAddresses()CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;LivekitSip.SIPInboundTrunkInfo.BuilderaddAllowedAddressesBytes(ByteString value)CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;List<String>getAllowedNumbersList()Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;intgetAllowedNumbersCount()Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;StringgetAllowedNumbers(int index)Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;ByteStringgetAllowedNumbersBytes(int index)Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;LivekitSip.SIPInboundTrunkInfo.BuildersetAllowedNumbers(int index, String value)Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;LivekitSip.SIPInboundTrunkInfo.BuilderaddAllowedNumbers(String value)Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;LivekitSip.SIPInboundTrunkInfo.BuilderaddAllAllowedNumbers(Iterable<String> values)Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;LivekitSip.SIPInboundTrunkInfo.BuilderclearAllowedNumbers()Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;LivekitSip.SIPInboundTrunkInfo.BuilderaddAllowedNumbersBytes(ByteString value)Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;StringgetAuthUsername()Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;ByteStringgetAuthUsernameBytes()Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;LivekitSip.SIPInboundTrunkInfo.BuildersetAuthUsername(String value)Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;LivekitSip.SIPInboundTrunkInfo.BuilderclearAuthUsername()Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;LivekitSip.SIPInboundTrunkInfo.BuildersetAuthUsernameBytes(ByteString value)Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;StringgetAuthPassword()string auth_password = 8;ByteStringgetAuthPasswordBytes()string auth_password = 8;LivekitSip.SIPInboundTrunkInfo.BuildersetAuthPassword(String value)string auth_password = 8;LivekitSip.SIPInboundTrunkInfo.BuilderclearAuthPassword()string auth_password = 8;LivekitSip.SIPInboundTrunkInfo.BuildersetAuthPasswordBytes(ByteString value)string auth_password = 8;intgetHeadersCount()Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;booleancontainsHeaders(String key)Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;LivekitSip.SIPInboundTrunkInfo.BuilderclearHeaders()LivekitSip.SIPInboundTrunkInfo.BuilderremoveHeaders(String key)Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;Map<String, String>getHeaders()Use getHeadersMap instead. Map<String, String>getHeadersMap()Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;StringgetHeadersOrDefault(String key, String defaultValue)Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;StringgetHeadersOrThrow(String key)Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;LivekitSip.SIPInboundTrunkInfo.BuilderputHeaders(String key, String value)Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;LivekitSip.SIPInboundTrunkInfo.BuilderputAllHeaders(Map<String, String> values)Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;intgetHeadersToAttributesCount()Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;booleancontainsHeadersToAttributes(String key)Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;LivekitSip.SIPInboundTrunkInfo.BuilderclearHeadersToAttributes()LivekitSip.SIPInboundTrunkInfo.BuilderremoveHeadersToAttributes(String key)Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;Map<String, String>getHeadersToAttributes()Use getHeadersToAttributesMap instead. Map<String, String>getHeadersToAttributesMap()Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;StringgetHeadersToAttributesOrDefault(String key, String defaultValue)Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;StringgetHeadersToAttributesOrThrow(String key)Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;LivekitSip.SIPInboundTrunkInfo.BuilderputHeadersToAttributes(String key, String value)Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;LivekitSip.SIPInboundTrunkInfo.BuilderputAllHeadersToAttributes(Map<String, String> values)Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;intgetAttributesToHeadersCount()Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;booleancontainsAttributesToHeaders(String key)Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;LivekitSip.SIPInboundTrunkInfo.BuilderclearAttributesToHeaders()LivekitSip.SIPInboundTrunkInfo.BuilderremoveAttributesToHeaders(String key)Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;Map<String, String>getAttributesToHeaders()Use getAttributesToHeadersMap instead. Map<String, String>getAttributesToHeadersMap()Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;StringgetAttributesToHeadersOrDefault(String key, String defaultValue)Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;StringgetAttributesToHeadersOrThrow(String key)Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;LivekitSip.SIPInboundTrunkInfo.BuilderputAttributesToHeaders(String key, String value)Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;LivekitSip.SIPInboundTrunkInfo.BuilderputAllAttributesToHeaders(Map<String, String> values)Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;intgetIncludeHeadersValue()Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;LivekitSip.SIPInboundTrunkInfo.BuildersetIncludeHeadersValue(int value)Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;LivekitSip.SIPHeaderOptionsgetIncludeHeaders()Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;LivekitSip.SIPInboundTrunkInfo.BuildersetIncludeHeaders(LivekitSip.SIPHeaderOptions value)Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;LivekitSip.SIPInboundTrunkInfo.BuilderclearIncludeHeaders()Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;booleanhasRingingTimeout()Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;DurationgetRingingTimeout()Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;LivekitSip.SIPInboundTrunkInfo.BuildersetRingingTimeout(Duration value)Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;LivekitSip.SIPInboundTrunkInfo.BuildersetRingingTimeout(Duration.Builder builderForValue)Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;LivekitSip.SIPInboundTrunkInfo.BuildermergeRingingTimeout(Duration value)Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;LivekitSip.SIPInboundTrunkInfo.BuilderclearRingingTimeout()Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;booleanhasMaxCallDuration()Max call duration..google.protobuf.Duration max_call_duration = 12;DurationgetMaxCallDuration()Max call duration..google.protobuf.Duration max_call_duration = 12;LivekitSip.SIPInboundTrunkInfo.BuildersetMaxCallDuration(Duration value)Max call duration..google.protobuf.Duration max_call_duration = 12;LivekitSip.SIPInboundTrunkInfo.BuildersetMaxCallDuration(Duration.Builder builderForValue)Max call duration..google.protobuf.Duration max_call_duration = 12;LivekitSip.SIPInboundTrunkInfo.BuildermergeMaxCallDuration(Duration value)Max call duration..google.protobuf.Duration max_call_duration = 12;LivekitSip.SIPInboundTrunkInfo.BuilderclearMaxCallDuration()Max call duration..google.protobuf.Duration max_call_duration = 12;booleangetKrispEnabled()bool krisp_enabled = 13;LivekitSip.SIPInboundTrunkInfo.BuildersetKrispEnabled(boolean value)bool krisp_enabled = 13;LivekitSip.SIPInboundTrunkInfo.BuilderclearKrispEnabled()bool krisp_enabled = 13;intgetMediaEncryptionValue().livekit.SIPMediaEncryption media_encryption = 16;LivekitSip.SIPInboundTrunkInfo.BuildersetMediaEncryptionValue(int value).livekit.SIPMediaEncryption media_encryption = 16;LivekitSip.SIPMediaEncryptiongetMediaEncryption().livekit.SIPMediaEncryption media_encryption = 16;LivekitSip.SIPInboundTrunkInfo.BuildersetMediaEncryption(LivekitSip.SIPMediaEncryption value).livekit.SIPMediaEncryption media_encryption = 16;LivekitSip.SIPInboundTrunkInfo.BuilderclearMediaEncryption().livekit.SIPMediaEncryption media_encryption = 16;-
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.SIPInboundTrunkInfoOrBuilder
containsAttributesToHeaders, containsHeaders, containsHeadersToAttributes, getAttributesToHeadersOrDefault, getAttributesToHeadersOrThrow, getHeadersOrDefault, getHeadersOrThrow, getHeadersToAttributesOrDefault, getHeadersToAttributesOrThrow -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSipTrunkId
String getSipTrunkId()
string sip_trunk_id = 1;
-
getSipTrunkIdBytes
ByteString getSipTrunkIdBytes()
string sip_trunk_id = 1;
-
setSipTrunkId
LivekitSip.SIPInboundTrunkInfo.Builder setSipTrunkId(String value)
string sip_trunk_id = 1;- Parameters:
value- The sipTrunkId to set.
-
clearSipTrunkId
LivekitSip.SIPInboundTrunkInfo.Builder clearSipTrunkId()
string sip_trunk_id = 1;
-
setSipTrunkIdBytes
LivekitSip.SIPInboundTrunkInfo.Builder setSipTrunkIdBytes(ByteString value)
string sip_trunk_id = 1;- Parameters:
value- The bytes for sipTrunkId to set.
-
getNameBytes
ByteString getNameBytes()
Human-readable name for the Trunk.string name = 2;
-
setName
LivekitSip.SIPInboundTrunkInfo.Builder setName(String value)
Human-readable name for the Trunk.string name = 2;- Parameters:
value- The name to set.
-
clearName
LivekitSip.SIPInboundTrunkInfo.Builder clearName()
Human-readable name for the Trunk.string name = 2;
-
setNameBytes
LivekitSip.SIPInboundTrunkInfo.Builder setNameBytes(ByteString value)
Human-readable name for the Trunk.string name = 2;- Parameters:
value- The bytes for name to set.
-
getMetadata
String getMetadata()
User-defined metadata for the Trunk.string metadata = 3;
-
getMetadataBytes
ByteString getMetadataBytes()
User-defined metadata for the Trunk.string metadata = 3;
-
setMetadata
LivekitSip.SIPInboundTrunkInfo.Builder setMetadata(String value)
User-defined metadata for the Trunk.string metadata = 3;- Parameters:
value- The metadata to set.
-
clearMetadata
LivekitSip.SIPInboundTrunkInfo.Builder clearMetadata()
User-defined metadata for the Trunk.string metadata = 3;
-
setMetadataBytes
LivekitSip.SIPInboundTrunkInfo.Builder setMetadataBytes(ByteString value)
User-defined metadata for the Trunk.string metadata = 3;- Parameters:
value- The bytes for metadata to set.
-
getNumbersList
List<String> getNumbersList()
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;
-
getNumbersCount
int getNumbersCount()
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;
-
getNumbers
String getNumbers(int index)
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;- Parameters:
index- The index of the element to return.
-
getNumbersBytes
ByteString getNumbersBytes(int index)
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;- Parameters:
index- The index of the value to return.
-
setNumbers
LivekitSip.SIPInboundTrunkInfo.Builder setNumbers(int index, String value)
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;- Parameters:
index- The index to set the value at.value- The numbers to set.
-
addNumbers
LivekitSip.SIPInboundTrunkInfo.Builder addNumbers(String value)
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;- Parameters:
value- The numbers to add.
-
addAllNumbers
LivekitSip.SIPInboundTrunkInfo.Builder addAllNumbers(Iterable<String> values)
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;- Parameters:
values- The numbers to add.
-
clearNumbers
LivekitSip.SIPInboundTrunkInfo.Builder clearNumbers()
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;
-
addNumbersBytes
LivekitSip.SIPInboundTrunkInfo.Builder addNumbersBytes(ByteString value)
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider.repeated string numbers = 4;- Parameters:
value- The bytes of the numbers to add.
-
getAllowedAddressesList
List<String> getAllowedAddressesList()
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;
-
getAllowedAddressesCount
int getAllowedAddressesCount()
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;
-
getAllowedAddresses
String getAllowedAddresses(int index)
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;- Parameters:
index- The index of the element to return.
-
getAllowedAddressesBytes
ByteString getAllowedAddressesBytes(int index)
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;- Parameters:
index- The index of the value to return.
-
setAllowedAddresses
LivekitSip.SIPInboundTrunkInfo.Builder setAllowedAddresses(int index, String value)
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;- Parameters:
index- The index to set the value at.value- The allowedAddresses to set.
-
addAllowedAddresses
LivekitSip.SIPInboundTrunkInfo.Builder addAllowedAddresses(String value)
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;- Parameters:
value- The allowedAddresses to add.
-
addAllAllowedAddresses
LivekitSip.SIPInboundTrunkInfo.Builder addAllAllowedAddresses(Iterable<String> values)
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;- Parameters:
values- The allowedAddresses to add.
-
clearAllowedAddresses
LivekitSip.SIPInboundTrunkInfo.Builder clearAllowedAddresses()
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;
-
addAllowedAddressesBytes
LivekitSip.SIPInboundTrunkInfo.Builder addAllowedAddressesBytes(ByteString value)
CIDR or IPs that traffic is accepted from. An empty list means all inbound traffic is accepted.repeated string allowed_addresses = 5;- Parameters:
value- The bytes of the allowedAddresses to add.
-
getAllowedNumbersList
List<String> getAllowedNumbersList()
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;
-
getAllowedNumbersCount
int getAllowedNumbersCount()
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;
-
getAllowedNumbers
String getAllowedNumbers(int index)
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;- Parameters:
index- The index of the element to return.
-
getAllowedNumbersBytes
ByteString getAllowedNumbersBytes(int index)
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;- Parameters:
index- The index of the value to return.
-
setAllowedNumbers
LivekitSip.SIPInboundTrunkInfo.Builder setAllowedNumbers(int index, String value)
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;- Parameters:
index- The index to set the value at.value- The allowedNumbers to set.
-
addAllowedNumbers
LivekitSip.SIPInboundTrunkInfo.Builder addAllowedNumbers(String value)
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;- Parameters:
value- The allowedNumbers to add.
-
addAllAllowedNumbers
LivekitSip.SIPInboundTrunkInfo.Builder addAllAllowedNumbers(Iterable<String> values)
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;- Parameters:
values- The allowedNumbers to add.
-
clearAllowedNumbers
LivekitSip.SIPInboundTrunkInfo.Builder clearAllowedNumbers()
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;
-
addAllowedNumbersBytes
LivekitSip.SIPInboundTrunkInfo.Builder addAllowedNumbersBytes(ByteString value)
Numbers that are allowed to make calls to this Trunk. An empty list means calls from any phone number is accepted.repeated string allowed_numbers = 6;- Parameters:
value- The bytes of the allowedNumbers to add.
-
getAuthUsername
String getAuthUsername()
Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;
-
getAuthUsernameBytes
ByteString getAuthUsernameBytes()
Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;
-
setAuthUsername
LivekitSip.SIPInboundTrunkInfo.Builder setAuthUsername(String value)
Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;- Parameters:
value- The authUsername to set.
-
clearAuthUsername
LivekitSip.SIPInboundTrunkInfo.Builder clearAuthUsername()
Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;
-
setAuthUsernameBytes
LivekitSip.SIPInboundTrunkInfo.Builder setAuthUsernameBytes(ByteString value)
Username and password used to authenticate inbound SIP invites. May be empty to have no authentication.string auth_username = 7;- Parameters:
value- The bytes for authUsername to set.
-
getAuthPassword
String getAuthPassword()
string auth_password = 8;
-
getAuthPasswordBytes
ByteString getAuthPasswordBytes()
string auth_password = 8;
-
setAuthPassword
LivekitSip.SIPInboundTrunkInfo.Builder setAuthPassword(String value)
string auth_password = 8;- Parameters:
value- The authPassword to set.
-
clearAuthPassword
LivekitSip.SIPInboundTrunkInfo.Builder clearAuthPassword()
string auth_password = 8;
-
setAuthPasswordBytes
LivekitSip.SIPInboundTrunkInfo.Builder setAuthPasswordBytes(ByteString value)
string auth_password = 8;- Parameters:
value- The bytes for authPassword to set.
-
getHeadersCount
int getHeadersCount()
Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;
-
containsHeaders
boolean containsHeaders(String key)
Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;
-
clearHeaders
LivekitSip.SIPInboundTrunkInfo.Builder clearHeaders()
-
removeHeaders
LivekitSip.SIPInboundTrunkInfo.Builder removeHeaders(String key)
Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;
-
getHeaders
@Deprecated() Map<String, String> getHeaders()
Use getHeadersMap instead.
-
getHeadersMap
Map<String, String> getHeadersMap()
Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;
-
getHeadersOrDefault
String getHeadersOrDefault(String key, String defaultValue)
Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;
-
getHeadersOrThrow
String getHeadersOrThrow(String key)
Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;
-
putHeaders
LivekitSip.SIPInboundTrunkInfo.Builder putHeaders(String key, String value)
Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;
-
putAllHeaders
LivekitSip.SIPInboundTrunkInfo.Builder putAllHeaders(Map<String, String> values)
Include these SIP X-* headers in 200 OK responses.map<string, string> headers = 9;
-
getHeadersToAttributesCount
int getHeadersToAttributesCount()
Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;
-
containsHeadersToAttributes
boolean containsHeadersToAttributes(String key)
Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;
-
clearHeadersToAttributes
LivekitSip.SIPInboundTrunkInfo.Builder clearHeadersToAttributes()
-
removeHeadersToAttributes
LivekitSip.SIPInboundTrunkInfo.Builder removeHeadersToAttributes(String key)
Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;
-
getHeadersToAttributes
@Deprecated() Map<String, String> getHeadersToAttributes()
Use getHeadersToAttributesMap instead.
-
getHeadersToAttributesMap
Map<String, String> getHeadersToAttributesMap()
Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;
-
getHeadersToAttributesOrDefault
String getHeadersToAttributesOrDefault(String key, String defaultValue)
Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;
-
getHeadersToAttributesOrThrow
String getHeadersToAttributesOrThrow(String key)
Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;
-
putHeadersToAttributes
LivekitSip.SIPInboundTrunkInfo.Builder putHeadersToAttributes(String key, String value)
Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;
-
putAllHeadersToAttributes
LivekitSip.SIPInboundTrunkInfo.Builder putAllHeadersToAttributes(Map<String, String> values)
Map SIP X-* headers from INVITE to SIP participant attributes.map<string, string> headers_to_attributes = 10;
-
getAttributesToHeadersCount
int getAttributesToHeadersCount()
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;
-
containsAttributesToHeaders
boolean containsAttributesToHeaders(String key)
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;
-
clearAttributesToHeaders
LivekitSip.SIPInboundTrunkInfo.Builder clearAttributesToHeaders()
-
removeAttributesToHeaders
LivekitSip.SIPInboundTrunkInfo.Builder removeAttributesToHeaders(String key)
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;
-
getAttributesToHeaders
@Deprecated() Map<String, String> getAttributesToHeaders()
Use getAttributesToHeadersMap instead.
-
getAttributesToHeadersMap
Map<String, String> getAttributesToHeadersMap()
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;
-
getAttributesToHeadersOrDefault
String getAttributesToHeadersOrDefault(String key, String defaultValue)
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;
-
getAttributesToHeadersOrThrow
String getAttributesToHeadersOrThrow(String key)
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;
-
putAttributesToHeaders
LivekitSip.SIPInboundTrunkInfo.Builder putAttributesToHeaders(String key, String value)
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;
-
putAllAttributesToHeaders
LivekitSip.SIPInboundTrunkInfo.Builder putAllAttributesToHeaders(Map<String, String> values)
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to.map<string, string> attributes_to_headers = 14;
-
getIncludeHeadersValue
int getIncludeHeadersValue()
Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;
-
setIncludeHeadersValue
LivekitSip.SIPInboundTrunkInfo.Builder setIncludeHeadersValue(int value)
Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;- Parameters:
value- The includeHeaders to set.
-
getIncludeHeaders
LivekitSip.SIPHeaderOptions getIncludeHeaders()
Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;
-
setIncludeHeaders
LivekitSip.SIPInboundTrunkInfo.Builder setIncludeHeaders(LivekitSip.SIPHeaderOptions value)
Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;- Parameters:
value- The enum numeric value on the wire for includeHeaders to set.
-
clearIncludeHeaders
LivekitSip.SIPInboundTrunkInfo.Builder clearIncludeHeaders()
Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 15;
-
hasRingingTimeout
boolean hasRingingTimeout()
Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;
-
getRingingTimeout
Duration getRingingTimeout()
Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;
-
setRingingTimeout
LivekitSip.SIPInboundTrunkInfo.Builder setRingingTimeout(Duration value)
Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;
-
setRingingTimeout
LivekitSip.SIPInboundTrunkInfo.Builder setRingingTimeout(Duration.Builder builderForValue)
Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;
-
mergeRingingTimeout
LivekitSip.SIPInboundTrunkInfo.Builder mergeRingingTimeout(Duration value)
Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;
-
clearRingingTimeout
LivekitSip.SIPInboundTrunkInfo.Builder clearRingingTimeout()
Max time for the caller to wait for track subscription..google.protobuf.Duration ringing_timeout = 11;
-
hasMaxCallDuration
boolean hasMaxCallDuration()
Max call duration..google.protobuf.Duration max_call_duration = 12;
-
getMaxCallDuration
Duration getMaxCallDuration()
Max call duration..google.protobuf.Duration max_call_duration = 12;
-
setMaxCallDuration
LivekitSip.SIPInboundTrunkInfo.Builder setMaxCallDuration(Duration value)
Max call duration..google.protobuf.Duration max_call_duration = 12;
-
setMaxCallDuration
LivekitSip.SIPInboundTrunkInfo.Builder setMaxCallDuration(Duration.Builder builderForValue)
Max call duration..google.protobuf.Duration max_call_duration = 12;
-
mergeMaxCallDuration
LivekitSip.SIPInboundTrunkInfo.Builder mergeMaxCallDuration(Duration value)
Max call duration..google.protobuf.Duration max_call_duration = 12;
-
clearMaxCallDuration
LivekitSip.SIPInboundTrunkInfo.Builder clearMaxCallDuration()
Max call duration..google.protobuf.Duration max_call_duration = 12;
-
getKrispEnabled
boolean getKrispEnabled()
bool krisp_enabled = 13;
-
setKrispEnabled
LivekitSip.SIPInboundTrunkInfo.Builder setKrispEnabled(boolean value)
bool krisp_enabled = 13;- Parameters:
value- The krispEnabled to set.
-
clearKrispEnabled
LivekitSip.SIPInboundTrunkInfo.Builder clearKrispEnabled()
bool krisp_enabled = 13;
-
getMediaEncryptionValue
int getMediaEncryptionValue()
.livekit.SIPMediaEncryption media_encryption = 16;
-
setMediaEncryptionValue
LivekitSip.SIPInboundTrunkInfo.Builder setMediaEncryptionValue(int value)
.livekit.SIPMediaEncryption media_encryption = 16;- Parameters:
value- The mediaEncryption to set.
-
getMediaEncryption
LivekitSip.SIPMediaEncryption getMediaEncryption()
.livekit.SIPMediaEncryption media_encryption = 16;
-
setMediaEncryption
LivekitSip.SIPInboundTrunkInfo.Builder setMediaEncryption(LivekitSip.SIPMediaEncryption value)
.livekit.SIPMediaEncryption media_encryption = 16;- Parameters:
value- The enum numeric value on the wire for mediaEncryption to set.
-
clearMediaEncryption
LivekitSip.SIPInboundTrunkInfo.Builder clearMediaEncryption()
.livekit.SIPMediaEncryption media_encryption = 16;
-
-
-
-