-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitSip.SIPOutboundTrunkInfoOrBuilder
public final class LivekitSip.SIPOutboundTrunkInfo.Builder extends GeneratedMessageLite.Builder<LivekitSip.SIPOutboundTrunkInfo, LivekitSip.SIPOutboundTrunkInfo.Builder> implements LivekitSip.SIPOutboundTrunkInfoOrBuilder
Protobuf type
{@code livekit.SIPOutboundTrunkInfo}
-
-
Method Summary
Modifier and Type Method Description StringgetSipTrunkId()string sip_trunk_id = 1;ByteStringgetSipTrunkIdBytes()string sip_trunk_id = 1;LivekitSip.SIPOutboundTrunkInfo.BuildersetSipTrunkId(String value)string sip_trunk_id = 1;LivekitSip.SIPOutboundTrunkInfo.BuilderclearSipTrunkId()string sip_trunk_id = 1;LivekitSip.SIPOutboundTrunkInfo.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.SIPOutboundTrunkInfo.BuildersetName(String value)Human-readable name for the Trunk.string name = 2;LivekitSip.SIPOutboundTrunkInfo.BuilderclearName()Human-readable name for the Trunk.string name = 2;LivekitSip.SIPOutboundTrunkInfo.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.SIPOutboundTrunkInfo.BuildersetMetadata(String value)User-defined metadata for the Trunk.string metadata = 3;LivekitSip.SIPOutboundTrunkInfo.BuilderclearMetadata()User-defined metadata for the Trunk.string metadata = 3;LivekitSip.SIPOutboundTrunkInfo.BuildersetMetadataBytes(ByteString value)User-defined metadata for the Trunk.string metadata = 3;StringgetAddress()Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;ByteStringgetAddressBytes()Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;LivekitSip.SIPOutboundTrunkInfo.BuildersetAddress(String value)Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;LivekitSip.SIPOutboundTrunkInfo.BuilderclearAddress()Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;LivekitSip.SIPOutboundTrunkInfo.BuildersetAddressBytes(ByteString value)Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;StringgetDestinationCountry()country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;ByteStringgetDestinationCountryBytes()country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;LivekitSip.SIPOutboundTrunkInfo.BuildersetDestinationCountry(String value)country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;LivekitSip.SIPOutboundTrunkInfo.BuilderclearDestinationCountry()country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;LivekitSip.SIPOutboundTrunkInfo.BuildersetDestinationCountryBytes(ByteString value)country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;intgetTransportValue()SIP Transport used for outbound call..livekit.SIPTransport transport = 5;LivekitSip.SIPOutboundTrunkInfo.BuildersetTransportValue(int value)SIP Transport used for outbound call..livekit.SIPTransport transport = 5;LivekitSip.SIPTransportgetTransport()SIP Transport used for outbound call..livekit.SIPTransport transport = 5;LivekitSip.SIPOutboundTrunkInfo.BuildersetTransport(LivekitSip.SIPTransport value)SIP Transport used for outbound call..livekit.SIPTransport transport = 5;LivekitSip.SIPOutboundTrunkInfo.BuilderclearTransport()SIP Transport used for outbound call..livekit.SIPTransport transport = 5;List<String>getNumbersList()Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;intgetNumbersCount()Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;StringgetNumbers(int index)Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;ByteStringgetNumbersBytes(int index)Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;LivekitSip.SIPOutboundTrunkInfo.BuildersetNumbers(int index, String value)Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;LivekitSip.SIPOutboundTrunkInfo.BuilderaddNumbers(String value)Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;LivekitSip.SIPOutboundTrunkInfo.BuilderaddAllNumbers(Iterable<String> values)Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;LivekitSip.SIPOutboundTrunkInfo.BuilderclearNumbers()Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;LivekitSip.SIPOutboundTrunkInfo.BuilderaddNumbersBytes(ByteString value)Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;StringgetAuthUsername()Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 7;ByteStringgetAuthUsernameBytes()Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 7;LivekitSip.SIPOutboundTrunkInfo.BuildersetAuthUsername(String value)Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 7;LivekitSip.SIPOutboundTrunkInfo.BuilderclearAuthUsername()Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 7;LivekitSip.SIPOutboundTrunkInfo.BuildersetAuthUsernameBytes(ByteString value)Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 7;StringgetAuthPassword()string auth_password = 8;ByteStringgetAuthPasswordBytes()string auth_password = 8;LivekitSip.SIPOutboundTrunkInfo.BuildersetAuthPassword(String value)string auth_password = 8;LivekitSip.SIPOutboundTrunkInfo.BuilderclearAuthPassword()string auth_password = 8;LivekitSip.SIPOutboundTrunkInfo.BuildersetAuthPasswordBytes(ByteString value)string auth_password = 8;intgetHeadersCount()Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;booleancontainsHeaders(String key)Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;LivekitSip.SIPOutboundTrunkInfo.BuilderclearHeaders()LivekitSip.SIPOutboundTrunkInfo.BuilderremoveHeaders(String key)Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;Map<String, String>getHeaders()Use getHeadersMap instead. Map<String, String>getHeadersMap()Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;StringgetHeadersOrDefault(String key, String defaultValue)Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;StringgetHeadersOrThrow(String key)Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;LivekitSip.SIPOutboundTrunkInfo.BuilderputHeaders(String key, String value)Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;LivekitSip.SIPOutboundTrunkInfo.BuilderputAllHeaders(Map<String, String> values)Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;intgetHeadersToAttributesCount()Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;booleancontainsHeadersToAttributes(String key)Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;LivekitSip.SIPOutboundTrunkInfo.BuilderclearHeadersToAttributes()LivekitSip.SIPOutboundTrunkInfo.BuilderremoveHeadersToAttributes(String key)Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;Map<String, String>getHeadersToAttributes()Use getHeadersToAttributesMap instead. Map<String, String>getHeadersToAttributesMap()Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;StringgetHeadersToAttributesOrDefault(String key, String defaultValue)Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;StringgetHeadersToAttributesOrThrow(String key)Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;LivekitSip.SIPOutboundTrunkInfo.BuilderputHeadersToAttributes(String key, String value)Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;LivekitSip.SIPOutboundTrunkInfo.BuilderputAllHeadersToAttributes(Map<String, String> values)Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.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 = 11;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 = 11;LivekitSip.SIPOutboundTrunkInfo.BuilderclearAttributesToHeaders()LivekitSip.SIPOutboundTrunkInfo.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 = 11;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 = 11;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 = 11;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 = 11;LivekitSip.SIPOutboundTrunkInfo.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 = 11;LivekitSip.SIPOutboundTrunkInfo.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 = 11;intgetIncludeHeadersValue()Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;LivekitSip.SIPOutboundTrunkInfo.BuildersetIncludeHeadersValue(int value)Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;LivekitSip.SIPHeaderOptionsgetIncludeHeaders()Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;LivekitSip.SIPOutboundTrunkInfo.BuildersetIncludeHeaders(LivekitSip.SIPHeaderOptions value)Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;LivekitSip.SIPOutboundTrunkInfo.BuilderclearIncludeHeaders()Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;intgetMediaEncryptionValue().livekit.SIPMediaEncryption media_encryption = 13;LivekitSip.SIPOutboundTrunkInfo.BuildersetMediaEncryptionValue(int value).livekit.SIPMediaEncryption media_encryption = 13;LivekitSip.SIPMediaEncryptiongetMediaEncryption().livekit.SIPMediaEncryption media_encryption = 13;LivekitSip.SIPOutboundTrunkInfo.BuildersetMediaEncryption(LivekitSip.SIPMediaEncryption value).livekit.SIPMediaEncryption media_encryption = 13;LivekitSip.SIPOutboundTrunkInfo.BuilderclearMediaEncryption().livekit.SIPMediaEncryption media_encryption = 13;-
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.SIPOutboundTrunkInfoOrBuilder
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.SIPOutboundTrunkInfo.Builder setSipTrunkId(String value)
string sip_trunk_id = 1;- Parameters:
value- The sipTrunkId to set.
-
clearSipTrunkId
LivekitSip.SIPOutboundTrunkInfo.Builder clearSipTrunkId()
string sip_trunk_id = 1;
-
setSipTrunkIdBytes
LivekitSip.SIPOutboundTrunkInfo.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.SIPOutboundTrunkInfo.Builder setName(String value)
Human-readable name for the Trunk.string name = 2;- Parameters:
value- The name to set.
-
clearName
LivekitSip.SIPOutboundTrunkInfo.Builder clearName()
Human-readable name for the Trunk.string name = 2;
-
setNameBytes
LivekitSip.SIPOutboundTrunkInfo.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.SIPOutboundTrunkInfo.Builder setMetadata(String value)
User-defined metadata for the Trunk.string metadata = 3;- Parameters:
value- The metadata to set.
-
clearMetadata
LivekitSip.SIPOutboundTrunkInfo.Builder clearMetadata()
User-defined metadata for the Trunk.string metadata = 3;
-
setMetadataBytes
LivekitSip.SIPOutboundTrunkInfo.Builder setMetadataBytes(ByteString value)
User-defined metadata for the Trunk.string metadata = 3;- Parameters:
value- The bytes for metadata to set.
-
getAddress
String getAddress()
Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;
-
getAddressBytes
ByteString getAddressBytes()
Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;
-
setAddress
LivekitSip.SIPOutboundTrunkInfo.Builder setAddress(String value)
Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;- Parameters:
value- The address to set.
-
clearAddress
LivekitSip.SIPOutboundTrunkInfo.Builder clearAddress()
Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;
-
setAddressBytes
LivekitSip.SIPOutboundTrunkInfo.Builder setAddressBytes(ByteString value)
Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.string address = 4;- Parameters:
value- The bytes for address to set.
-
getDestinationCountry
String getDestinationCountry()
country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;
-
getDestinationCountryBytes
ByteString getDestinationCountryBytes()
country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;
-
setDestinationCountry
LivekitSip.SIPOutboundTrunkInfo.Builder setDestinationCountry(String value)
country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;- Parameters:
value- The destinationCountry to set.
-
clearDestinationCountry
LivekitSip.SIPOutboundTrunkInfo.Builder clearDestinationCountry()
country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;
-
setDestinationCountryBytes
LivekitSip.SIPOutboundTrunkInfo.Builder setDestinationCountryBytes(ByteString value)
country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.string destination_country = 14;- Parameters:
value- The bytes for destinationCountry to set.
-
getTransportValue
int getTransportValue()
SIP Transport used for outbound call..livekit.SIPTransport transport = 5;
-
setTransportValue
LivekitSip.SIPOutboundTrunkInfo.Builder setTransportValue(int value)
SIP Transport used for outbound call..livekit.SIPTransport transport = 5;- Parameters:
value- The transport to set.
-
getTransport
LivekitSip.SIPTransport getTransport()
SIP Transport used for outbound call..livekit.SIPTransport transport = 5;
-
setTransport
LivekitSip.SIPOutboundTrunkInfo.Builder setTransport(LivekitSip.SIPTransport value)
SIP Transport used for outbound call..livekit.SIPTransport transport = 5;- Parameters:
value- The enum numeric value on the wire for transport to set.
-
clearTransport
LivekitSip.SIPOutboundTrunkInfo.Builder clearTransport()
SIP Transport used for outbound call..livekit.SIPTransport transport = 5;
-
getNumbersList
List<String> getNumbersList()
Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;
-
getNumbersCount
int getNumbersCount()
Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;
-
getNumbers
String getNumbers(int index)
Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;- Parameters:
index- The index of the element to return.
-
getNumbersBytes
ByteString getNumbersBytes(int index)
Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;- Parameters:
index- The index of the value to return.
-
setNumbers
LivekitSip.SIPOutboundTrunkInfo.Builder setNumbers(int index, String value)
Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;- Parameters:
index- The index to set the value at.value- The numbers to set.
-
addNumbers
LivekitSip.SIPOutboundTrunkInfo.Builder addNumbers(String value)
Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;- Parameters:
value- The numbers to add.
-
addAllNumbers
LivekitSip.SIPOutboundTrunkInfo.Builder addAllNumbers(Iterable<String> values)
Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;- Parameters:
values- The numbers to add.
-
clearNumbers
LivekitSip.SIPOutboundTrunkInfo.Builder clearNumbers()
Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;
-
addNumbersBytes
LivekitSip.SIPOutboundTrunkInfo.Builder addNumbersBytes(ByteString value)
Numbers used to make the calls. Random one from this list will be selected.repeated string numbers = 6;- Parameters:
value- The bytes of the numbers to add.
-
getAuthUsername
String getAuthUsername()
Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 7;
-
getAuthUsernameBytes
ByteString getAuthUsernameBytes()
Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 7;
-
setAuthUsername
LivekitSip.SIPOutboundTrunkInfo.Builder setAuthUsername(String value)
Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 7;- Parameters:
value- The authUsername to set.
-
clearAuthUsername
LivekitSip.SIPOutboundTrunkInfo.Builder clearAuthUsername()
Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 7;
-
setAuthUsernameBytes
LivekitSip.SIPOutboundTrunkInfo.Builder setAuthUsernameBytes(ByteString value)
Username and password used to authenticate with SIP server. 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.SIPOutboundTrunkInfo.Builder setAuthPassword(String value)
string auth_password = 8;- Parameters:
value- The authPassword to set.
-
clearAuthPassword
LivekitSip.SIPOutboundTrunkInfo.Builder clearAuthPassword()
string auth_password = 8;
-
setAuthPasswordBytes
LivekitSip.SIPOutboundTrunkInfo.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 INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;
-
containsHeaders
boolean containsHeaders(String key)
Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;
-
clearHeaders
LivekitSip.SIPOutboundTrunkInfo.Builder clearHeaders()
-
removeHeaders
LivekitSip.SIPOutboundTrunkInfo.Builder removeHeaders(String key)
Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.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 INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;
-
getHeadersOrDefault
String getHeadersOrDefault(String key, String defaultValue)
Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;
-
getHeadersOrThrow
String getHeadersOrThrow(String key)
Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;
-
putHeaders
LivekitSip.SIPOutboundTrunkInfo.Builder putHeaders(String key, String value)
Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;
-
putAllHeaders
LivekitSip.SIPOutboundTrunkInfo.Builder putAllHeaders(Map<String, String> values)
Include these SIP X-* headers in INVITE request. These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.map<string, string> headers = 9;
-
getHeadersToAttributesCount
int getHeadersToAttributesCount()
Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;
-
containsHeadersToAttributes
boolean containsHeadersToAttributes(String key)
Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;
-
clearHeadersToAttributes
LivekitSip.SIPOutboundTrunkInfo.Builder clearHeadersToAttributes()
-
removeHeadersToAttributes
LivekitSip.SIPOutboundTrunkInfo.Builder removeHeadersToAttributes(String key)
Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.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 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;
-
getHeadersToAttributesOrDefault
String getHeadersToAttributesOrDefault(String key, String defaultValue)
Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;
-
getHeadersToAttributesOrThrow
String getHeadersToAttributesOrThrow(String key)
Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;
-
putHeadersToAttributes
LivekitSip.SIPOutboundTrunkInfo.Builder putHeadersToAttributes(String key, String value)
Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.map<string, string> headers_to_attributes = 10;
-
putAllHeadersToAttributes
LivekitSip.SIPOutboundTrunkInfo.Builder putAllHeadersToAttributes(Map<String, String> values)
Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to.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 = 11;
-
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 = 11;
-
clearAttributesToHeaders
LivekitSip.SIPOutboundTrunkInfo.Builder clearAttributesToHeaders()
-
removeAttributesToHeaders
LivekitSip.SIPOutboundTrunkInfo.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 = 11;
-
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 = 11;
-
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 = 11;
-
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 = 11;
-
putAttributesToHeaders
LivekitSip.SIPOutboundTrunkInfo.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 = 11;
-
putAllAttributesToHeaders
LivekitSip.SIPOutboundTrunkInfo.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 = 11;
-
getIncludeHeadersValue
int getIncludeHeadersValue()
Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;
-
setIncludeHeadersValue
LivekitSip.SIPOutboundTrunkInfo.Builder setIncludeHeadersValue(int value)
Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;- Parameters:
value- The includeHeaders to set.
-
getIncludeHeaders
LivekitSip.SIPHeaderOptions getIncludeHeaders()
Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;
-
setIncludeHeaders
LivekitSip.SIPOutboundTrunkInfo.Builder setIncludeHeaders(LivekitSip.SIPHeaderOptions value)
Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;- Parameters:
value- The enum numeric value on the wire for includeHeaders to set.
-
clearIncludeHeaders
LivekitSip.SIPOutboundTrunkInfo.Builder clearIncludeHeaders()
Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header..livekit.SIPHeaderOptions include_headers = 12;
-
getMediaEncryptionValue
int getMediaEncryptionValue()
.livekit.SIPMediaEncryption media_encryption = 13;
-
setMediaEncryptionValue
LivekitSip.SIPOutboundTrunkInfo.Builder setMediaEncryptionValue(int value)
.livekit.SIPMediaEncryption media_encryption = 13;- Parameters:
value- The mediaEncryption to set.
-
getMediaEncryption
LivekitSip.SIPMediaEncryption getMediaEncryption()
.livekit.SIPMediaEncryption media_encryption = 13;
-
setMediaEncryption
LivekitSip.SIPOutboundTrunkInfo.Builder setMediaEncryption(LivekitSip.SIPMediaEncryption value)
.livekit.SIPMediaEncryption media_encryption = 13;- Parameters:
value- The enum numeric value on the wire for mediaEncryption to set.
-
clearMediaEncryption
LivekitSip.SIPOutboundTrunkInfo.Builder clearMediaEncryption()
.livekit.SIPMediaEncryption media_encryption = 13;
-
-
-
-