-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable,livekit.LivekitSip.SIPOutboundConfigOrBuilder
public final class LivekitSip.SIPOutboundConfig.Builder extends GeneratedMessageLite.Builder<LivekitSip.SIPOutboundConfig, LivekitSip.SIPOutboundConfig.Builder> implements LivekitSip.SIPOutboundConfigOrBuilder
Protobuf type
{@code livekit.SIPOutboundConfig}
-
-
Method Summary
Modifier and Type Method Description StringgetHostname()SIP server addressstring hostname = 1;ByteStringgetHostnameBytes()SIP server addressstring hostname = 1;LivekitSip.SIPOutboundConfig.BuildersetHostname(String value)SIP server addressstring hostname = 1;LivekitSip.SIPOutboundConfig.BuilderclearHostname()SIP server addressstring hostname = 1;LivekitSip.SIPOutboundConfig.BuildersetHostnameBytes(ByteString value)SIP server addressstring hostname = 1;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 = 7;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 = 7;LivekitSip.SIPOutboundConfig.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 = 7;LivekitSip.SIPOutboundConfig.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 = 7;LivekitSip.SIPOutboundConfig.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 = 7;intgetTransportValue()SIP Transport used for outbound call..livekit.SIPTransport transport = 2;LivekitSip.SIPOutboundConfig.BuildersetTransportValue(int value)SIP Transport used for outbound call..livekit.SIPTransport transport = 2;LivekitSip.SIPTransportgetTransport()SIP Transport used for outbound call..livekit.SIPTransport transport = 2;LivekitSip.SIPOutboundConfig.BuildersetTransport(LivekitSip.SIPTransport value)SIP Transport used for outbound call..livekit.SIPTransport transport = 2;LivekitSip.SIPOutboundConfig.BuilderclearTransport()SIP Transport used for outbound call..livekit.SIPTransport transport = 2;StringgetAuthUsername()Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;ByteStringgetAuthUsernameBytes()Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;LivekitSip.SIPOutboundConfig.BuildersetAuthUsername(String value)Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;LivekitSip.SIPOutboundConfig.BuilderclearAuthUsername()Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;LivekitSip.SIPOutboundConfig.BuildersetAuthUsernameBytes(ByteString value)Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;StringgetAuthPassword()string auth_password = 4;ByteStringgetAuthPasswordBytes()string auth_password = 4;LivekitSip.SIPOutboundConfig.BuildersetAuthPassword(String value)string auth_password = 4;LivekitSip.SIPOutboundConfig.BuilderclearAuthPassword()string auth_password = 4;LivekitSip.SIPOutboundConfig.BuildersetAuthPasswordBytes(ByteString value)string auth_password = 4;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 = 5;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 = 5;LivekitSip.SIPOutboundConfig.BuilderclearHeadersToAttributes()LivekitSip.SIPOutboundConfig.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 = 5;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 = 5;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 = 5;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 = 5;LivekitSip.SIPOutboundConfig.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 = 5;LivekitSip.SIPOutboundConfig.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 = 5;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 = 6;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 = 6;LivekitSip.SIPOutboundConfig.BuilderclearAttributesToHeaders()LivekitSip.SIPOutboundConfig.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 = 6;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 = 6;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 = 6;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 = 6;LivekitSip.SIPOutboundConfig.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 = 6;LivekitSip.SIPOutboundConfig.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 = 6;-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, getDefaultInstanceForType, isInitialized, mergeFrom -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial, clear, clone, mergeFrom -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class livekit.LivekitSip.SIPOutboundConfigOrBuilder
containsAttributesToHeaders, containsHeadersToAttributes, getAttributesToHeadersOrDefault, getAttributesToHeadersOrThrow, getHeadersToAttributesOrDefault, getHeadersToAttributesOrThrow -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getHostname
String getHostname()
SIP server addressstring hostname = 1;
-
getHostnameBytes
ByteString getHostnameBytes()
SIP server addressstring hostname = 1;
-
setHostname
LivekitSip.SIPOutboundConfig.Builder setHostname(String value)
SIP server addressstring hostname = 1;- Parameters:
value- The hostname to set.
-
clearHostname
LivekitSip.SIPOutboundConfig.Builder clearHostname()
SIP server addressstring hostname = 1;
-
setHostnameBytes
LivekitSip.SIPOutboundConfig.Builder setHostnameBytes(ByteString value)
SIP server addressstring hostname = 1;- Parameters:
value- The bytes for hostname 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 = 7;
-
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 = 7;
-
setDestinationCountry
LivekitSip.SIPOutboundConfig.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 = 7;- Parameters:
value- The destinationCountry to set.
-
clearDestinationCountry
LivekitSip.SIPOutboundConfig.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 = 7;
-
setDestinationCountryBytes
LivekitSip.SIPOutboundConfig.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 = 7;- Parameters:
value- The bytes for destinationCountry to set.
-
getTransportValue
int getTransportValue()
SIP Transport used for outbound call..livekit.SIPTransport transport = 2;
-
setTransportValue
LivekitSip.SIPOutboundConfig.Builder setTransportValue(int value)
SIP Transport used for outbound call..livekit.SIPTransport transport = 2;- Parameters:
value- The transport to set.
-
getTransport
LivekitSip.SIPTransport getTransport()
SIP Transport used for outbound call..livekit.SIPTransport transport = 2;
-
setTransport
LivekitSip.SIPOutboundConfig.Builder setTransport(LivekitSip.SIPTransport value)
SIP Transport used for outbound call..livekit.SIPTransport transport = 2;- Parameters:
value- The enum numeric value on the wire for transport to set.
-
clearTransport
LivekitSip.SIPOutboundConfig.Builder clearTransport()
SIP Transport used for outbound call..livekit.SIPTransport transport = 2;
-
getAuthUsername
String getAuthUsername()
Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;
-
getAuthUsernameBytes
ByteString getAuthUsernameBytes()
Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;
-
setAuthUsername
LivekitSip.SIPOutboundConfig.Builder setAuthUsername(String value)
Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;- Parameters:
value- The authUsername to set.
-
clearAuthUsername
LivekitSip.SIPOutboundConfig.Builder clearAuthUsername()
Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;
-
setAuthUsernameBytes
LivekitSip.SIPOutboundConfig.Builder setAuthUsernameBytes(ByteString value)
Username and password used to authenticate with SIP server. May be empty to have no authentication.string auth_username = 3;- Parameters:
value- The bytes for authUsername to set.
-
getAuthPassword
String getAuthPassword()
string auth_password = 4;
-
getAuthPasswordBytes
ByteString getAuthPasswordBytes()
string auth_password = 4;
-
setAuthPassword
LivekitSip.SIPOutboundConfig.Builder setAuthPassword(String value)
string auth_password = 4;- Parameters:
value- The authPassword to set.
-
clearAuthPassword
LivekitSip.SIPOutboundConfig.Builder clearAuthPassword()
string auth_password = 4;
-
setAuthPasswordBytes
LivekitSip.SIPOutboundConfig.Builder setAuthPasswordBytes(ByteString value)
string auth_password = 4;- Parameters:
value- The bytes for authPassword to set.
-
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 = 5;
-
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 = 5;
-
clearHeadersToAttributes
LivekitSip.SIPOutboundConfig.Builder clearHeadersToAttributes()
-
removeHeadersToAttributes
LivekitSip.SIPOutboundConfig.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 = 5;
-
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 = 5;
-
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 = 5;
-
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 = 5;
-
putHeadersToAttributes
LivekitSip.SIPOutboundConfig.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 = 5;
-
putAllHeadersToAttributes
LivekitSip.SIPOutboundConfig.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 = 5;
-
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 = 6;
-
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 = 6;
-
clearAttributesToHeaders
LivekitSip.SIPOutboundConfig.Builder clearAttributesToHeaders()
-
removeAttributesToHeaders
LivekitSip.SIPOutboundConfig.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 = 6;
-
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 = 6;
-
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 = 6;
-
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 = 6;
-
putAttributesToHeaders
LivekitSip.SIPOutboundConfig.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 = 6;
-
putAllAttributesToHeaders
LivekitSip.SIPOutboundConfig.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 = 6;
-
-
-
-