Class AdvancedSettings.DtmfSettings

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.DtmfSettings
All Implemented Interfaces:
AdvancedSettings.DtmfSettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
AdvancedSettings

public static final class AdvancedSettings.DtmfSettings extends com.google.protobuf.GeneratedMessage implements AdvancedSettings.DtmfSettingsOrBuilder
 Define behaviors for DTMF (dual tone multi frequency).
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.DtmfSettings
See Also:
  • Field Details

    • ENABLED_FIELD_NUMBER

      public static final int ENABLED_FIELD_NUMBER
      See Also:
    • MAX_DIGITS_FIELD_NUMBER

      public static final int MAX_DIGITS_FIELD_NUMBER
      See Also:
    • FINISH_DIGIT_FIELD_NUMBER

      public static final int FINISH_DIGIT_FIELD_NUMBER
      See Also:
    • INTERDIGIT_TIMEOUT_DURATION_FIELD_NUMBER

      public static final int INTERDIGIT_TIMEOUT_DURATION_FIELD_NUMBER
      See Also:
    • ENDPOINTING_TIMEOUT_DURATION_FIELD_NUMBER

      public static final int ENDPOINTING_TIMEOUT_DURATION_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getEnabled

      public boolean getEnabled()
       If true, incoming audio is processed for DTMF (dual tone multi frequency)
       events. For example, if the caller presses a button on their telephone
       keypad and DTMF processing is enabled, Dialogflow will detect the
       event (e.g. a "3" was pressed) in the incoming audio and pass the event
       to the bot to drive business logic (e.g. when 3 is pressed, return the
       account balance).
       
      bool enabled = 1;
      Specified by:
      getEnabled in interface AdvancedSettings.DtmfSettingsOrBuilder
      Returns:
      The enabled.
    • getMaxDigits

      public int getMaxDigits()
       Max length of DTMF digits.
       
      int32 max_digits = 2;
      Specified by:
      getMaxDigits in interface AdvancedSettings.DtmfSettingsOrBuilder
      Returns:
      The maxDigits.
    • getFinishDigit

      public String getFinishDigit()
       The digit that terminates a DTMF digit sequence.
       
      string finish_digit = 3;
      Specified by:
      getFinishDigit in interface AdvancedSettings.DtmfSettingsOrBuilder
      Returns:
      The finishDigit.
    • getFinishDigitBytes

      public com.google.protobuf.ByteString getFinishDigitBytes()
       The digit that terminates a DTMF digit sequence.
       
      string finish_digit = 3;
      Specified by:
      getFinishDigitBytes in interface AdvancedSettings.DtmfSettingsOrBuilder
      Returns:
      The bytes for finishDigit.
    • hasInterdigitTimeoutDuration

      public boolean hasInterdigitTimeoutDuration()
       Interdigit timeout setting for matching dtmf input to regex.
       
      .google.protobuf.Duration interdigit_timeout_duration = 6;
      Specified by:
      hasInterdigitTimeoutDuration in interface AdvancedSettings.DtmfSettingsOrBuilder
      Returns:
      Whether the interdigitTimeoutDuration field is set.
    • getInterdigitTimeoutDuration

      public com.google.protobuf.Duration getInterdigitTimeoutDuration()
       Interdigit timeout setting for matching dtmf input to regex.
       
      .google.protobuf.Duration interdigit_timeout_duration = 6;
      Specified by:
      getInterdigitTimeoutDuration in interface AdvancedSettings.DtmfSettingsOrBuilder
      Returns:
      The interdigitTimeoutDuration.
    • getInterdigitTimeoutDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getInterdigitTimeoutDurationOrBuilder()
       Interdigit timeout setting for matching dtmf input to regex.
       
      .google.protobuf.Duration interdigit_timeout_duration = 6;
      Specified by:
      getInterdigitTimeoutDurationOrBuilder in interface AdvancedSettings.DtmfSettingsOrBuilder
    • hasEndpointingTimeoutDuration

      public boolean hasEndpointingTimeoutDuration()
       Endpoint timeout setting for matching dtmf input to regex.
       
      .google.protobuf.Duration endpointing_timeout_duration = 7;
      Specified by:
      hasEndpointingTimeoutDuration in interface AdvancedSettings.DtmfSettingsOrBuilder
      Returns:
      Whether the endpointingTimeoutDuration field is set.
    • getEndpointingTimeoutDuration

      public com.google.protobuf.Duration getEndpointingTimeoutDuration()
       Endpoint timeout setting for matching dtmf input to regex.
       
      .google.protobuf.Duration endpointing_timeout_duration = 7;
      Specified by:
      getEndpointingTimeoutDuration in interface AdvancedSettings.DtmfSettingsOrBuilder
      Returns:
      The endpointingTimeoutDuration.
    • getEndpointingTimeoutDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getEndpointingTimeoutDurationOrBuilder()
       Endpoint timeout setting for matching dtmf input to regex.
       
      .google.protobuf.Duration endpointing_timeout_duration = 7;
      Specified by:
      getEndpointingTimeoutDurationOrBuilder in interface AdvancedSettings.DtmfSettingsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdvancedSettings.DtmfSettings parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdvancedSettings.DtmfSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdvancedSettings.DtmfSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AdvancedSettings.DtmfSettings.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AdvancedSettings.DtmfSettings.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AdvancedSettings.DtmfSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AdvancedSettings.DtmfSettings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AdvancedSettings.DtmfSettings> parser()
    • getParserForType

      public com.google.protobuf.Parser<AdvancedSettings.DtmfSettings> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AdvancedSettings.DtmfSettings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder