-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,livekit.LivekitSip.SIPInboundTrunkInfoOrBuilder
public final class LivekitSip.SIPInboundTrunkInfo extends GeneratedMessageLite<LivekitSip.SIPInboundTrunkInfo, LivekitSip.SIPInboundTrunkInfo.Builder> implements LivekitSip.SIPInboundTrunkInfoOrBuilder
Protobuf type
{@code livekit.SIPInboundTrunkInfo}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLivekitSip.SIPInboundTrunkInfo.BuilderProtobuf type
{@code livekit.SIPInboundTrunkInfo}
-
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 intNUMBERS_FIELD_NUMBERpublic final static intALLOWED_ADDRESSES_FIELD_NUMBERpublic final static intALLOWED_NUMBERS_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 intRINGING_TIMEOUT_FIELD_NUMBERpublic final static intMAX_CALL_DURATION_FIELD_NUMBERpublic final static intKRISP_ENABLED_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;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;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;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;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;StringgetAuthPassword()string auth_password = 8;ByteStringgetAuthPasswordBytes()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;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;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;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;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;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;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.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;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;booleanhasMaxCallDuration()Max call duration..google.protobuf.Duration max_call_duration = 12;DurationgetMaxCallDuration()Max call duration..google.protobuf.Duration max_call_duration = 12;booleangetKrispEnabled()bool krisp_enabled = 13;intgetMediaEncryptionValue().livekit.SIPMediaEncryption media_encryption = 16;LivekitSip.SIPMediaEncryptiongetMediaEncryption().livekit.SIPMediaEncryption media_encryption = 16;static LivekitSip.SIPInboundTrunkInfoparseFrom(ByteBuffer data)static LivekitSip.SIPInboundTrunkInfoparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPInboundTrunkInfoparseFrom(ByteString data)static LivekitSip.SIPInboundTrunkInfoparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPInboundTrunkInfoparseFrom(Array<byte> data)static LivekitSip.SIPInboundTrunkInfoparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPInboundTrunkInfoparseFrom(InputStream input)static LivekitSip.SIPInboundTrunkInfoparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPInboundTrunkInfoparseDelimitedFrom(InputStream input)static LivekitSip.SIPInboundTrunkInfoparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPInboundTrunkInfoparseFrom(CodedInputStream input)static LivekitSip.SIPInboundTrunkInfoparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static LivekitSip.SIPInboundTrunkInfo.BuildernewBuilder()static LivekitSip.SIPInboundTrunkInfo.BuildernewBuilder(LivekitSip.SIPInboundTrunkInfo prototype)static LivekitSip.SIPInboundTrunkInfogetDefaultInstance()static Parser<LivekitSip.SIPInboundTrunkInfo>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;
-
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.
-
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.
-
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.
-
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;
-
getAuthPassword
String getAuthPassword()
string auth_password = 8;
-
getAuthPasswordBytes
ByteString getAuthPasswordBytes()
string auth_password = 8;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
getKrispEnabled
boolean getKrispEnabled()
bool krisp_enabled = 13;
-
getMediaEncryptionValue
int getMediaEncryptionValue()
.livekit.SIPMediaEncryption media_encryption = 16;
-
getMediaEncryption
LivekitSip.SIPMediaEncryption getMediaEncryption()
.livekit.SIPMediaEncryption media_encryption = 16;
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(ByteBuffer data)
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(ByteString data)
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(Array<byte> data)
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(InputStream input)
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static LivekitSip.SIPInboundTrunkInfo parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static LivekitSip.SIPInboundTrunkInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(CodedInputStream input)
-
parseFrom
static LivekitSip.SIPInboundTrunkInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static LivekitSip.SIPInboundTrunkInfo.Builder newBuilder()
-
newBuilder
static LivekitSip.SIPInboundTrunkInfo.Builder newBuilder(LivekitSip.SIPInboundTrunkInfo prototype)
-
getDefaultInstance
static LivekitSip.SIPInboundTrunkInfo getDefaultInstance()
-
parser
static Parser<LivekitSip.SIPInboundTrunkInfo> parser()
-
-
-
-