Class SipConfig (4.100.0)

public final class SipConfig extends GeneratedMessage implements SipConfigOrBuilder

Defines the SIP configuration.

Protobuf type google.cloud.dialogflow.v2.SipConfig

Implements

SipConfigOrBuilder

Static Fields

ALLOW_VIRTUAL_AGENT_INTERACTION_FIELD_NUMBER

public static final int ALLOW_VIRTUAL_AGENT_INTERACTION_FIELD_NUMBER
Field Value
Type Description
int

COPY_INBOUND_CALL_LEG_HEADERS_FIELD_NUMBER

public static final int COPY_INBOUND_CALL_LEG_HEADERS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_CONVERSATION_ON_THE_FLY_FIELD_NUMBER

public static final int CREATE_CONVERSATION_ON_THE_FLY_FIELD_NUMBER
Field Value
Type Description
int

IGNORE_REINVITE_MEDIA_DIRECTION_FIELD_NUMBER

public static final int IGNORE_REINVITE_MEDIA_DIRECTION_FIELD_NUMBER
Field Value
Type Description
int

INACTIVE_START_FIELD_NUMBER

public static final int INACTIVE_START_FIELD_NUMBER
Field Value
Type Description
int

KEEP_CONVERSATION_RUNNING_FIELD_NUMBER

public static final int KEEP_CONVERSATION_RUNNING_FIELD_NUMBER
Field Value
Type Description
int

MAX_AUDIO_RECORDING_DURATION_FIELD_NUMBER

public static final int MAX_AUDIO_RECORDING_DURATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SipConfig getDefaultInstance()
Returns
Type Description
SipConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SipConfig.Builder newBuilder()
Returns
Type Description
SipConfig.Builder

newBuilder(SipConfig prototype)

public static SipConfig.Builder newBuilder(SipConfig prototype)
Parameter
Name Description
prototype SipConfig
Returns
Type Description
SipConfig.Builder

parseDelimitedFrom(InputStream input)

public static SipConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SipConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SipConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SipConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SipConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SipConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SipConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SipConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SipConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SipConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SipConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SipConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SipConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SipConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SipConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SipConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SipConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SipConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SipConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SipConfig> parser()
Returns
Type Description
Parser<SipConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAllowVirtualAgentInteraction()

public boolean getAllowVirtualAgentInteraction()

Allows interactions with a Dialogflow virtual agent even if the call is connected for SIPREC purposes.

bool allow_virtual_agent_interaction = 5;

Returns
Type Description
boolean

The allowVirtualAgentInteraction.

getCopyInboundCallLegHeaders(int index)

public String getCopyInboundCallLegHeaders(int index)

List of inbound call leg headers to be copied to outbound call legs created later.

repeated string copy_inbound_call_leg_headers = 8;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The copyInboundCallLegHeaders at the given index.

getCopyInboundCallLegHeadersBytes(int index)

public ByteString getCopyInboundCallLegHeadersBytes(int index)

List of inbound call leg headers to be copied to outbound call legs created later.

repeated string copy_inbound_call_leg_headers = 8;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the copyInboundCallLegHeaders at the given index.

getCopyInboundCallLegHeadersCount()

public int getCopyInboundCallLegHeadersCount()

List of inbound call leg headers to be copied to outbound call legs created later.

repeated string copy_inbound_call_leg_headers = 8;

Returns
Type Description
int

The count of copyInboundCallLegHeaders.

getCopyInboundCallLegHeadersList()

public ProtocolStringList getCopyInboundCallLegHeadersList()

List of inbound call leg headers to be copied to outbound call legs created later.

repeated string copy_inbound_call_leg_headers = 8;

Returns
Type Description
ProtocolStringList

A list containing the copyInboundCallLegHeaders.

getCreateConversationOnTheFly()

public boolean getCreateConversationOnTheFly()

Asks Dialogflow Telephony to create the conversation provided in the SIP header on the fly when the call comes in.

bool create_conversation_on_the_fly = 1;

Returns
Type Description
boolean

The createConversationOnTheFly.

getDefaultInstanceForType()

public SipConfig getDefaultInstanceForType()
Returns
Type Description
SipConfig

getIgnoreReinviteMediaDirection()

public boolean getIgnoreReinviteMediaDirection()

Ignores any media direction in the reINVITE SDP offer. Reuse the previous media direction.

bool ignore_reinvite_media_direction = 9;

Returns
Type Description
boolean

The ignoreReinviteMediaDirection.

getInactiveStart()

public boolean getInactiveStart()

Starts the conversation with inactive SDP directives

bool inactive_start = 3;

Returns
Type Description
boolean

The inactiveStart.

getKeepConversationRunning()

public boolean getKeepConversationRunning()

Keeps the conversation running even if the call is disconnected.

bool keep_conversation_running = 6;

Returns
Type Description
boolean

The keepConversationRunning.

getMaxAudioRecordingDuration()

public Duration getMaxAudioRecordingDuration()

Max duration for audio recording. Overrides the default value of 15 min. Max value is 8 hours.

.google.protobuf.Duration max_audio_recording_duration = 4;

Returns
Type Description
Duration

The maxAudioRecordingDuration.

getMaxAudioRecordingDurationOrBuilder()

public DurationOrBuilder getMaxAudioRecordingDurationOrBuilder()

Max duration for audio recording. Overrides the default value of 15 min. Max value is 8 hours.

.google.protobuf.Duration max_audio_recording_duration = 4;

Returns
Type Description
DurationOrBuilder

getParserForType()

public Parser<SipConfig> getParserForType()
Returns
Type Description
Parser<SipConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMaxAudioRecordingDuration()

public boolean hasMaxAudioRecordingDuration()

Max duration for audio recording. Overrides the default value of 15 min. Max value is 8 hours.

.google.protobuf.Duration max_audio_recording_duration = 4;

Returns
Type Description
boolean

Whether the maxAudioRecordingDuration field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SipConfig.Builder newBuilderForType()
Returns
Type Description
SipConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SipConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SipConfig.Builder
Overrides

toBuilder()

public SipConfig.Builder toBuilder()
Returns
Type Description
SipConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException