public final class SipConfig extends GeneratedMessage implements SipConfigOrBuilder
Defines the SIP configuration.
Protobuf type google.cloud.dialogflow.v2.SipConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ALLOW_VIRTUAL_AGENT_INTERACTION_FIELD_NUMBER
public static final int ALLOW_VIRTUAL_AGENT_INTERACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
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 |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SipConfig.Builder newBuilder()
newBuilder(SipConfig prototype)
public static SipConfig.Builder newBuilder(SipConfig prototype)
| Parameter |
| Name |
Description |
prototype |
SipConfig
|
public static SipConfig parseDelimitedFrom(InputStream input)
public static SipConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SipConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SipConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SipConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SipConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SipConfig parseFrom(CodedInputStream input)
public static SipConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SipConfig parseFrom(InputStream input)
public static SipConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SipConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SipConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SipConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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.
|
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.
|
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.
|
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.
|
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()
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;
getParserForType()
public Parser<SipConfig> getParserForType()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SipConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SipConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SipConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides