Package com.google.cloud.dialogflow.v2
Enum TelephonyDtmf
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TelephonyDtmf>
@Generated
public enum TelephonyDtmf
extends Enum<TelephonyDtmf>
implements com.google.protobuf.ProtocolMessageEnum
[DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling) digit in Telephony Gateway.Protobuf enum
google.cloud.dialogflow.v2.TelephonyDtmf-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLetter: 'A'.Letter: 'B'.Letter: 'C'.Letter: 'D'.Number: '8'.Number: '5'.Number: '4'.Number: '9'.Number: '1'.Pound/diamond/hash/square/gate/octothorpe: '#'.Number: '7'.Number: '6'.Asterisk/star: '*'.Number: '3'.Number: '2'.Number: '0'.Not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLetter: 'A'.static final intLetter: 'B'.static final intLetter: 'C'.static final intLetter: 'D'.static final intNumber: '8'.static final intNumber: '5'.static final intNumber: '4'.static final intNumber: '9'.static final intNumber: '1'.static final intPound/diamond/hash/square/gate/octothorpe: '#'.static final intNumber: '7'.static final intNumber: '6'.static final intAsterisk/star: '*'.static final intNumber: '3'.static final intNumber: '2'.static final intNumber: '0'.static final intNot specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic TelephonyDtmfforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TelephonyDtmf>static TelephonyDtmfvalueOf(int value) Deprecated.static TelephonyDtmfvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TelephonyDtmfReturns the enum constant of this type with the specified name.static TelephonyDtmf[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TELEPHONY_DTMF_UNSPECIFIED
Not specified. This value may be used to indicate an absent digit.
TELEPHONY_DTMF_UNSPECIFIED = 0; -
DTMF_ONE
Number: '1'.
DTMF_ONE = 1; -
DTMF_TWO
Number: '2'.
DTMF_TWO = 2; -
DTMF_THREE
Number: '3'.
DTMF_THREE = 3; -
DTMF_FOUR
Number: '4'.
DTMF_FOUR = 4; -
DTMF_FIVE
Number: '5'.
DTMF_FIVE = 5; -
DTMF_SIX
Number: '6'.
DTMF_SIX = 6; -
DTMF_SEVEN
Number: '7'.
DTMF_SEVEN = 7; -
DTMF_EIGHT
Number: '8'.
DTMF_EIGHT = 8; -
DTMF_NINE
Number: '9'.
DTMF_NINE = 9; -
DTMF_ZERO
Number: '0'.
DTMF_ZERO = 10; -
DTMF_A
Letter: 'A'.
DTMF_A = 11; -
DTMF_B
Letter: 'B'.
DTMF_B = 12; -
DTMF_C
Letter: 'C'.
DTMF_C = 13; -
DTMF_D
Letter: 'D'.
DTMF_D = 14; -
DTMF_STAR
Asterisk/star: '*'.
DTMF_STAR = 15; -
DTMF_POUND
Pound/diamond/hash/square/gate/octothorpe: '#'.
DTMF_POUND = 16; -
UNRECOGNIZED
-
-
Field Details
-
TELEPHONY_DTMF_UNSPECIFIED_VALUE
public static final int TELEPHONY_DTMF_UNSPECIFIED_VALUENot specified. This value may be used to indicate an absent digit.
TELEPHONY_DTMF_UNSPECIFIED = 0;- See Also:
-
DTMF_ONE_VALUE
public static final int DTMF_ONE_VALUENumber: '1'.
DTMF_ONE = 1;- See Also:
-
DTMF_TWO_VALUE
public static final int DTMF_TWO_VALUENumber: '2'.
DTMF_TWO = 2;- See Also:
-
DTMF_THREE_VALUE
public static final int DTMF_THREE_VALUENumber: '3'.
DTMF_THREE = 3;- See Also:
-
DTMF_FOUR_VALUE
public static final int DTMF_FOUR_VALUENumber: '4'.
DTMF_FOUR = 4;- See Also:
-
DTMF_FIVE_VALUE
public static final int DTMF_FIVE_VALUENumber: '5'.
DTMF_FIVE = 5;- See Also:
-
DTMF_SIX_VALUE
public static final int DTMF_SIX_VALUENumber: '6'.
DTMF_SIX = 6;- See Also:
-
DTMF_SEVEN_VALUE
public static final int DTMF_SEVEN_VALUENumber: '7'.
DTMF_SEVEN = 7;- See Also:
-
DTMF_EIGHT_VALUE
public static final int DTMF_EIGHT_VALUENumber: '8'.
DTMF_EIGHT = 8;- See Also:
-
DTMF_NINE_VALUE
public static final int DTMF_NINE_VALUENumber: '9'.
DTMF_NINE = 9;- See Also:
-
DTMF_ZERO_VALUE
public static final int DTMF_ZERO_VALUENumber: '0'.
DTMF_ZERO = 10;- See Also:
-
DTMF_A_VALUE
public static final int DTMF_A_VALUELetter: 'A'.
DTMF_A = 11;- See Also:
-
DTMF_B_VALUE
public static final int DTMF_B_VALUELetter: 'B'.
DTMF_B = 12;- See Also:
-
DTMF_C_VALUE
public static final int DTMF_C_VALUELetter: 'C'.
DTMF_C = 13;- See Also:
-
DTMF_D_VALUE
public static final int DTMF_D_VALUELetter: 'D'.
DTMF_D = 14;- See Also:
-
DTMF_STAR_VALUE
public static final int DTMF_STAR_VALUEAsterisk/star: '*'.
DTMF_STAR = 15;- See Also:
-
DTMF_POUND_VALUE
public static final int DTMF_POUND_VALUEPound/diamond/hash/square/gate/octothorpe: '#'.
DTMF_POUND = 16;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-