-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,livekit.LivekitSip.CreateSIPParticipantRequestOrBuilder
public final class LivekitSip.CreateSIPParticipantRequest extends GeneratedMessageLite<LivekitSip.CreateSIPParticipantRequest, LivekitSip.CreateSIPParticipantRequest.Builder> implements LivekitSip.CreateSIPParticipantRequestOrBuilder
Protobuf typeA SIP Participant is a singular SIP session connected to a LiveKit room via a SIP Trunk into a SIP DispatchRule{@code livekit.CreateSIPParticipantRequest}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLivekitSip.CreateSIPParticipantRequest.Builder
Protobuf typeA SIP Participant is a singular SIP session connected to a LiveKit room via a SIP Trunk into a SIP DispatchRule{@code livekit.CreateSIPParticipantRequest}
-
Field Summary
Fields Modifier and Type Field Description public final static intSIP_TRUNK_ID_FIELD_NUMBERpublic final static intTRUNK_FIELD_NUMBERpublic final static intSIP_CALL_TO_FIELD_NUMBERpublic final static intSIP_NUMBER_FIELD_NUMBERpublic final static intROOM_NAME_FIELD_NUMBERpublic final static intPARTICIPANT_IDENTITY_FIELD_NUMBERpublic final static intPARTICIPANT_NAME_FIELD_NUMBERpublic final static intPARTICIPANT_METADATA_FIELD_NUMBERpublic final static intPARTICIPANT_ATTRIBUTES_FIELD_NUMBERpublic final static intDTMF_FIELD_NUMBERpublic final static intPLAY_RINGTONE_FIELD_NUMBERpublic final static intPLAY_DIALTONE_FIELD_NUMBERpublic final static intHIDE_PHONE_NUMBER_FIELD_NUMBERpublic final static intHEADERS_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_NUMBERpublic final static intWAIT_UNTIL_ANSWERED_FIELD_NUMBERpublic final static intDISPLAY_NAME_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description StringgetSipTrunkId()What SIP Trunk should be used to dial the userstring sip_trunk_id = 1;ByteStringgetSipTrunkIdBytes()What SIP Trunk should be used to dial the userstring sip_trunk_id = 1;booleanhasTrunk().livekit.SIPOutboundConfig trunk = 20;LivekitSip.SIPOutboundConfiggetTrunk().livekit.SIPOutboundConfig trunk = 20;StringgetSipCallTo()What number should be dialed via SIPstring sip_call_to = 2;ByteStringgetSipCallToBytes()What number should be dialed via SIPstring sip_call_to = 2;StringgetSipNumber()Optional SIP From number to use. If empty, trunk number is used.string sip_number = 15;ByteStringgetSipNumberBytes()Optional SIP From number to use. If empty, trunk number is used.string sip_number = 15;StringgetRoomName()What LiveKit room should this participant be connected toostring room_name = 3;ByteStringgetRoomNameBytes()What LiveKit room should this participant be connected toostring room_name = 3;StringgetParticipantIdentity()Optional identity of the participant in LiveKit roomstring participant_identity = 4;ByteStringgetParticipantIdentityBytes()Optional identity of the participant in LiveKit roomstring participant_identity = 4;StringgetParticipantName()Optional name of the participant in LiveKit roomstring participant_name = 7;ByteStringgetParticipantNameBytes()Optional name of the participant in LiveKit roomstring participant_name = 7;StringgetParticipantMetadata()Optional user-defined metadata. Will be attached to a created Participant in the room.string participant_metadata = 8;ByteStringgetParticipantMetadataBytes()Optional user-defined metadata. Will be attached to a created Participant in the room.string participant_metadata = 8;intgetParticipantAttributesCount()Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;booleancontainsParticipantAttributes(String key)Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;Map<String, String>getParticipantAttributes()Use getParticipantAttributesMap instead. Map<String, String>getParticipantAttributesMap()Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;StringgetParticipantAttributesOrDefault(String key, String defaultValue)Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;StringgetParticipantAttributesOrThrow(String key)Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;StringgetDtmf()Optionally send following DTMF digits (extension codes) when making a call. Character 'w' can be used to add a 0.5 sec delay.string dtmf = 5;ByteStringgetDtmfBytes()Optionally send following DTMF digits (extension codes) when making a call. Character 'w' can be used to add a 0.5 sec delay.string dtmf = 5;booleangetPlayRingtone()Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect.bool play_ringtone = 6 [deprecated = true];booleangetPlayDialtone()bool play_dialtone = 13;booleangetHidePhoneNumber()By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. If true, a random value for identity will be used and numbers will be omitted from attributes.bool hide_phone_number = 10;intgetHeadersCount()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 = 16;booleancontainsHeaders(String key)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 = 16;Map<String, String>getHeaders()Use getHeadersMap instead. Map<String, String>getHeadersMap()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 = 16;StringgetHeadersOrDefault(String key, String defaultValue)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 = 16;StringgetHeadersOrThrow(String key)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 = 16;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 = 17;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 = 17;booleanhasRingingTimeout()Max time for the callee to answer the call..google.protobuf.Duration ringing_timeout = 11;DurationgetRingingTimeout()Max time for the callee to answer the call..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()Enable voice isolation for the callee.bool krisp_enabled = 14;intgetMediaEncryptionValue().livekit.SIPMediaEncryption media_encryption = 18;LivekitSip.SIPMediaEncryptiongetMediaEncryption().livekit.SIPMediaEncryption media_encryption = 18;booleangetWaitUntilAnswered()Wait for the answer for the call before returning.bool wait_until_answered = 19;booleanhasDisplayName()Optional display name for the 'From' SIP header. Cases: 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number. 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream. 3) Non-empty: Use the specified value as the display name.optional string display_name = 21;StringgetDisplayName()Optional display name for the 'From' SIP header. Cases: 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number. 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream. 3) Non-empty: Use the specified value as the display name.optional string display_name = 21;ByteStringgetDisplayNameBytes()Optional display name for the 'From' SIP header. Cases: 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number. 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream. 3) Non-empty: Use the specified value as the display name.optional string display_name = 21;static LivekitSip.CreateSIPParticipantRequestparseFrom(ByteBuffer data)static LivekitSip.CreateSIPParticipantRequestparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static LivekitSip.CreateSIPParticipantRequestparseFrom(ByteString data)static LivekitSip.CreateSIPParticipantRequestparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static LivekitSip.CreateSIPParticipantRequestparseFrom(Array<byte> data)static LivekitSip.CreateSIPParticipantRequestparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static LivekitSip.CreateSIPParticipantRequestparseFrom(InputStream input)static LivekitSip.CreateSIPParticipantRequestparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitSip.CreateSIPParticipantRequestparseDelimitedFrom(InputStream input)static LivekitSip.CreateSIPParticipantRequestparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitSip.CreateSIPParticipantRequestparseFrom(CodedInputStream input)static LivekitSip.CreateSIPParticipantRequestparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static LivekitSip.CreateSIPParticipantRequest.BuildernewBuilder()static LivekitSip.CreateSIPParticipantRequest.BuildernewBuilder(LivekitSip.CreateSIPParticipantRequest prototype)static LivekitSip.CreateSIPParticipantRequestgetDefaultInstance()static Parser<LivekitSip.CreateSIPParticipantRequest>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()
What SIP Trunk should be used to dial the userstring sip_trunk_id = 1;
-
getSipTrunkIdBytes
ByteString getSipTrunkIdBytes()
What SIP Trunk should be used to dial the userstring sip_trunk_id = 1;
-
hasTrunk
boolean hasTrunk()
.livekit.SIPOutboundConfig trunk = 20;
-
getTrunk
LivekitSip.SIPOutboundConfig getTrunk()
.livekit.SIPOutboundConfig trunk = 20;
-
getSipCallTo
String getSipCallTo()
What number should be dialed via SIPstring sip_call_to = 2;
-
getSipCallToBytes
ByteString getSipCallToBytes()
What number should be dialed via SIPstring sip_call_to = 2;
-
getSipNumber
String getSipNumber()
Optional SIP From number to use. If empty, trunk number is used.string sip_number = 15;
-
getSipNumberBytes
ByteString getSipNumberBytes()
Optional SIP From number to use. If empty, trunk number is used.string sip_number = 15;
-
getRoomName
String getRoomName()
What LiveKit room should this participant be connected toostring room_name = 3;
-
getRoomNameBytes
ByteString getRoomNameBytes()
What LiveKit room should this participant be connected toostring room_name = 3;
-
getParticipantIdentity
String getParticipantIdentity()
Optional identity of the participant in LiveKit roomstring participant_identity = 4;
-
getParticipantIdentityBytes
ByteString getParticipantIdentityBytes()
Optional identity of the participant in LiveKit roomstring participant_identity = 4;
-
getParticipantName
String getParticipantName()
Optional name of the participant in LiveKit roomstring participant_name = 7;
-
getParticipantNameBytes
ByteString getParticipantNameBytes()
Optional name of the participant in LiveKit roomstring participant_name = 7;
-
getParticipantMetadata
String getParticipantMetadata()
Optional user-defined metadata. Will be attached to a created Participant in the room.string participant_metadata = 8;
-
getParticipantMetadataBytes
ByteString getParticipantMetadataBytes()
Optional user-defined metadata. Will be attached to a created Participant in the room.string participant_metadata = 8;
-
getParticipantAttributesCount
int getParticipantAttributesCount()
Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;
-
containsParticipantAttributes
boolean containsParticipantAttributes(String key)
Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;
-
getParticipantAttributes
@Deprecated() Map<String, String> getParticipantAttributes()
Use getParticipantAttributesMap instead.
-
getParticipantAttributesMap
Map<String, String> getParticipantAttributesMap()
Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;
-
getParticipantAttributesOrDefault
String getParticipantAttributesOrDefault(String key, String defaultValue)
Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;
-
getParticipantAttributesOrThrow
String getParticipantAttributesOrThrow(String key)
Optional user-defined attributes. Will be attached to a created Participant in the room.map<string, string> participant_attributes = 9;
-
getDtmf
String getDtmf()
Optionally send following DTMF digits (extension codes) when making a call. Character 'w' can be used to add a 0.5 sec delay.string dtmf = 5;
-
getDtmfBytes
ByteString getDtmfBytes()
Optionally send following DTMF digits (extension codes) when making a call. Character 'w' can be used to add a 0.5 sec delay.string dtmf = 5;
-
getPlayRingtone
@Deprecated() boolean getPlayRingtone()
Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect.bool play_ringtone = 6 [deprecated = true];
-
getPlayDialtone
boolean getPlayDialtone()
bool play_dialtone = 13;
-
getHidePhoneNumber
boolean getHidePhoneNumber()
By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. If true, a random value for identity will be used and numbers will be omitted from attributes.bool hide_phone_number = 10;
-
getHeadersCount
int getHeadersCount()
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 = 16;
-
containsHeaders
boolean containsHeaders(String key)
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 = 16;
-
getHeaders
@Deprecated() Map<String, String> getHeaders()
Use getHeadersMap instead.
-
getHeadersMap
Map<String, String> getHeadersMap()
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 = 16;
-
getHeadersOrDefault
String getHeadersOrDefault(String key, String defaultValue)
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 = 16;
-
getHeadersOrThrow
String getHeadersOrThrow(String key)
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 = 16;
-
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 = 17;
-
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 = 17;
-
hasRingingTimeout
boolean hasRingingTimeout()
Max time for the callee to answer the call..google.protobuf.Duration ringing_timeout = 11;
-
getRingingTimeout
Duration getRingingTimeout()
Max time for the callee to answer the call..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()
Enable voice isolation for the callee.bool krisp_enabled = 14;
-
getMediaEncryptionValue
int getMediaEncryptionValue()
.livekit.SIPMediaEncryption media_encryption = 18;
-
getMediaEncryption
LivekitSip.SIPMediaEncryption getMediaEncryption()
.livekit.SIPMediaEncryption media_encryption = 18;
-
getWaitUntilAnswered
boolean getWaitUntilAnswered()
Wait for the answer for the call before returning.bool wait_until_answered = 19;
-
hasDisplayName
boolean hasDisplayName()
Optional display name for the 'From' SIP header. Cases: 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number. 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream. 3) Non-empty: Use the specified value as the display name.optional string display_name = 21;
-
getDisplayName
String getDisplayName()
Optional display name for the 'From' SIP header. Cases: 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number. 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream. 3) Non-empty: Use the specified value as the display name.optional string display_name = 21;
-
getDisplayNameBytes
ByteString getDisplayNameBytes()
Optional display name for the 'From' SIP header. Cases: 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number. 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream. 3) Non-empty: Use the specified value as the display name.optional string display_name = 21;
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(ByteBuffer data)
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(ByteString data)
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(Array<byte> data)
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(InputStream input)
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static LivekitSip.CreateSIPParticipantRequest parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static LivekitSip.CreateSIPParticipantRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(CodedInputStream input)
-
parseFrom
static LivekitSip.CreateSIPParticipantRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static LivekitSip.CreateSIPParticipantRequest.Builder newBuilder()
-
newBuilder
static LivekitSip.CreateSIPParticipantRequest.Builder newBuilder(LivekitSip.CreateSIPParticipantRequest prototype)
-
getDefaultInstance
static LivekitSip.CreateSIPParticipantRequest getDefaultInstance()
-
parser
static Parser<LivekitSip.CreateSIPParticipantRequest> parser()
-
-
-
-