-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,livekit.LivekitSip.SIPOutboundTrunkInfoOrBuilder
public final class LivekitSip.SIPOutboundTrunkInfo extends GeneratedMessageLite<LivekitSip.SIPOutboundTrunkInfo, LivekitSip.SIPOutboundTrunkInfo.Builder> implements LivekitSip.SIPOutboundTrunkInfoOrBuilder
Protobuf type
{@code livekit.SIPOutboundTrunkInfo}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLivekitSip.SIPOutboundTrunkInfo.BuilderProtobuf type
{@code livekit.SIPOutboundTrunkInfo}
-
Field Summary
Fields Modifier and Type Field Description public final static intSIP_TRUNK_ID_FIELD_NUMBERpublic final static intNAME_FIELD_NUMBERpublic final static intMETADATA_FIELD_NUMBERpublic final static intADDRESS_FIELD_NUMBERpublic final static intDESTINATION_COUNTRY_FIELD_NUMBERpublic final static intTRANSPORT_FIELD_NUMBERpublic final static intNUMBERS_FIELD_NUMBERpublic final static intAUTH_USERNAME_FIELD_NUMBERpublic final static intAUTH_PASSWORD_FIELD_NUMBERpublic final static intHEADERS_FIELD_NUMBERpublic final static intHEADERS_TO_ATTRIBUTES_FIELD_NUMBERpublic final static intATTRIBUTES_TO_HEADERS_FIELD_NUMBERpublic final static intINCLUDE_HEADERS_FIELD_NUMBERpublic final static intMEDIA_ENCRYPTION_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description StringgetSipTrunkId()string sip_trunk_id = 1;ByteStringgetSipTrunkIdBytes()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;StringgetMetadata()User-defined metadata for the Trunk.string metadata = 3;ByteStringgetMetadataBytes()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;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;intgetTransportValue()SIP Transport used for outbound call..livekit.SIPTransport transport = 5;LivekitSip.SIPTransportgetTransport()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;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;StringgetAuthPassword()string auth_password = 8;ByteStringgetAuthPasswordBytes()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;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;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;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;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;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;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.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;intgetMediaEncryptionValue().livekit.SIPMediaEncryption media_encryption = 13;LivekitSip.SIPMediaEncryptiongetMediaEncryption().livekit.SIPMediaEncryption media_encryption = 13;static LivekitSip.SIPOutboundTrunkInfoparseFrom(ByteBuffer data)static LivekitSip.SIPOutboundTrunkInfoparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPOutboundTrunkInfoparseFrom(ByteString data)static LivekitSip.SIPOutboundTrunkInfoparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPOutboundTrunkInfoparseFrom(Array<byte> data)static LivekitSip.SIPOutboundTrunkInfoparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPOutboundTrunkInfoparseFrom(InputStream input)static LivekitSip.SIPOutboundTrunkInfoparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPOutboundTrunkInfoparseDelimitedFrom(InputStream input)static LivekitSip.SIPOutboundTrunkInfoparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPOutboundTrunkInfoparseFrom(CodedInputStream input)static LivekitSip.SIPOutboundTrunkInfoparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPOutboundTrunkInfo.BuildernewBuilder()static LivekitSip.SIPOutboundTrunkInfo.BuildernewBuilder(LivekitSip.SIPOutboundTrunkInfo prototype)static LivekitSip.SIPOutboundTrunkInfogetDefaultInstance()static Parser<LivekitSip.SIPOutboundTrunkInfo>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, toBuilder, toString, writeTo -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType, newBuilderForType, toBuilder -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
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;
-
getNameBytes
ByteString getNameBytes()
Human-readable name for the Trunk.string name = 2;
-
getMetadata
String getMetadata()
User-defined metadata for the Trunk.string metadata = 3;
-
getMetadataBytes
ByteString getMetadataBytes()
User-defined metadata for the Trunk.string metadata = 3;
-
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;
-
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;
-
getTransportValue
int getTransportValue()
SIP Transport used for outbound call..livekit.SIPTransport transport = 5;
-
getTransport
LivekitSip.SIPTransport getTransport()
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.
-
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;
-
getAuthPassword
String getAuthPassword()
string auth_password = 8;
-
getAuthPasswordBytes
ByteString getAuthPasswordBytes()
string auth_password = 8;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
getMediaEncryptionValue
int getMediaEncryptionValue()
.livekit.SIPMediaEncryption media_encryption = 13;
-
getMediaEncryption
LivekitSip.SIPMediaEncryption getMediaEncryption()
.livekit.SIPMediaEncryption media_encryption = 13;
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(ByteBuffer data)
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(ByteString data)
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(Array<byte> data)
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(InputStream input)
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static LivekitSip.SIPOutboundTrunkInfo parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static LivekitSip.SIPOutboundTrunkInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(CodedInputStream input)
-
parseFrom
static LivekitSip.SIPOutboundTrunkInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static LivekitSip.SIPOutboundTrunkInfo.Builder newBuilder()
-
newBuilder
static LivekitSip.SIPOutboundTrunkInfo.Builder newBuilder(LivekitSip.SIPOutboundTrunkInfo prototype)
-
getDefaultInstance
static LivekitSip.SIPOutboundTrunkInfo getDefaultInstance()
-
parser
static Parser<LivekitSip.SIPOutboundTrunkInfo> parser()
-
-
-
-