Package com.google.cloud.dialogflow.v2
Enum TelephonyDtmf
- java.lang.Object
-
- java.lang.Enum<TelephonyDtmf>
-
- com.google.cloud.dialogflow.v2.TelephonyDtmf
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<TelephonyDtmf>
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 enumgoogle.cloud.dialogflow.v2.TelephonyDtmf
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DTMF_A
Letter: 'A'.DTMF_B
Letter: 'B'.DTMF_C
Letter: 'C'.DTMF_D
Letter: 'D'.DTMF_EIGHT
Number: '8'.DTMF_FIVE
Number: '5'.DTMF_FOUR
Number: '4'.DTMF_NINE
Number: '9'.DTMF_ONE
Number: '1'.DTMF_POUND
Pound/diamond/hash/square/gate/octothorpe: '#'.DTMF_SEVEN
Number: '7'.DTMF_SIX
Number: '6'.DTMF_STAR
Asterisk/star: '*'.DTMF_THREE
Number: '3'.DTMF_TWO
Number: '2'.DTMF_ZERO
Number: '0'.TELEPHONY_DTMF_UNSPECIFIED
Not specified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
DTMF_A_VALUE
Letter: 'A'.static int
DTMF_B_VALUE
Letter: 'B'.static int
DTMF_C_VALUE
Letter: 'C'.static int
DTMF_D_VALUE
Letter: 'D'.static int
DTMF_EIGHT_VALUE
Number: '8'.static int
DTMF_FIVE_VALUE
Number: '5'.static int
DTMF_FOUR_VALUE
Number: '4'.static int
DTMF_NINE_VALUE
Number: '9'.static int
DTMF_ONE_VALUE
Number: '1'.static int
DTMF_POUND_VALUE
Pound/diamond/hash/square/gate/octothorpe: '#'.static int
DTMF_SEVEN_VALUE
Number: '7'.static int
DTMF_SIX_VALUE
Number: '6'.static int
DTMF_STAR_VALUE
Asterisk/star: '*'.static int
DTMF_THREE_VALUE
Number: '3'.static int
DTMF_TWO_VALUE
Number: '2'.static int
DTMF_ZERO_VALUE
Number: '0'.static int
TELEPHONY_DTMF_UNSPECIFIED_VALUE
Not specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TelephonyDtmf
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<TelephonyDtmf>
internalGetValueMap()
static TelephonyDtmf
valueOf(int value)
Deprecated.static TelephonyDtmf
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static TelephonyDtmf
valueOf(String name)
Returns 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 Detail
-
TELEPHONY_DTMF_UNSPECIFIED
public static final TelephonyDtmf TELEPHONY_DTMF_UNSPECIFIED
Not specified. This value may be used to indicate an absent digit.
TELEPHONY_DTMF_UNSPECIFIED = 0;
-
DTMF_ONE
public static final TelephonyDtmf DTMF_ONE
Number: '1'.
DTMF_ONE = 1;
-
DTMF_TWO
public static final TelephonyDtmf DTMF_TWO
Number: '2'.
DTMF_TWO = 2;
-
DTMF_THREE
public static final TelephonyDtmf DTMF_THREE
Number: '3'.
DTMF_THREE = 3;
-
DTMF_FOUR
public static final TelephonyDtmf DTMF_FOUR
Number: '4'.
DTMF_FOUR = 4;
-
DTMF_FIVE
public static final TelephonyDtmf DTMF_FIVE
Number: '5'.
DTMF_FIVE = 5;
-
DTMF_SIX
public static final TelephonyDtmf DTMF_SIX
Number: '6'.
DTMF_SIX = 6;
-
DTMF_SEVEN
public static final TelephonyDtmf DTMF_SEVEN
Number: '7'.
DTMF_SEVEN = 7;
-
DTMF_EIGHT
public static final TelephonyDtmf DTMF_EIGHT
Number: '8'.
DTMF_EIGHT = 8;
-
DTMF_NINE
public static final TelephonyDtmf DTMF_NINE
Number: '9'.
DTMF_NINE = 9;
-
DTMF_ZERO
public static final TelephonyDtmf DTMF_ZERO
Number: '0'.
DTMF_ZERO = 10;
-
DTMF_A
public static final TelephonyDtmf DTMF_A
Letter: 'A'.
DTMF_A = 11;
-
DTMF_B
public static final TelephonyDtmf DTMF_B
Letter: 'B'.
DTMF_B = 12;
-
DTMF_C
public static final TelephonyDtmf DTMF_C
Letter: 'C'.
DTMF_C = 13;
-
DTMF_D
public static final TelephonyDtmf DTMF_D
Letter: 'D'.
DTMF_D = 14;
-
DTMF_STAR
public static final TelephonyDtmf DTMF_STAR
Asterisk/star: '*'.
DTMF_STAR = 15;
-
DTMF_POUND
public static final TelephonyDtmf DTMF_POUND
Pound/diamond/hash/square/gate/octothorpe: '#'.
DTMF_POUND = 16;
-
UNRECOGNIZED
public static final TelephonyDtmf UNRECOGNIZED
-
-
Field Detail
-
TELEPHONY_DTMF_UNSPECIFIED_VALUE
public static final int TELEPHONY_DTMF_UNSPECIFIED_VALUE
Not specified. This value may be used to indicate an absent digit.
TELEPHONY_DTMF_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
DTMF_ONE_VALUE
public static final int DTMF_ONE_VALUE
Number: '1'.
DTMF_ONE = 1;
- See Also:
- Constant Field Values
-
DTMF_TWO_VALUE
public static final int DTMF_TWO_VALUE
Number: '2'.
DTMF_TWO = 2;
- See Also:
- Constant Field Values
-
DTMF_THREE_VALUE
public static final int DTMF_THREE_VALUE
Number: '3'.
DTMF_THREE = 3;
- See Also:
- Constant Field Values
-
DTMF_FOUR_VALUE
public static final int DTMF_FOUR_VALUE
Number: '4'.
DTMF_FOUR = 4;
- See Also:
- Constant Field Values
-
DTMF_FIVE_VALUE
public static final int DTMF_FIVE_VALUE
Number: '5'.
DTMF_FIVE = 5;
- See Also:
- Constant Field Values
-
DTMF_SIX_VALUE
public static final int DTMF_SIX_VALUE
Number: '6'.
DTMF_SIX = 6;
- See Also:
- Constant Field Values
-
DTMF_SEVEN_VALUE
public static final int DTMF_SEVEN_VALUE
Number: '7'.
DTMF_SEVEN = 7;
- See Also:
- Constant Field Values
-
DTMF_EIGHT_VALUE
public static final int DTMF_EIGHT_VALUE
Number: '8'.
DTMF_EIGHT = 8;
- See Also:
- Constant Field Values
-
DTMF_NINE_VALUE
public static final int DTMF_NINE_VALUE
Number: '9'.
DTMF_NINE = 9;
- See Also:
- Constant Field Values
-
DTMF_ZERO_VALUE
public static final int DTMF_ZERO_VALUE
Number: '0'.
DTMF_ZERO = 10;
- See Also:
- Constant Field Values
-
DTMF_A_VALUE
public static final int DTMF_A_VALUE
Letter: 'A'.
DTMF_A = 11;
- See Also:
- Constant Field Values
-
DTMF_B_VALUE
public static final int DTMF_B_VALUE
Letter: 'B'.
DTMF_B = 12;
- See Also:
- Constant Field Values
-
DTMF_C_VALUE
public static final int DTMF_C_VALUE
Letter: 'C'.
DTMF_C = 13;
- See Also:
- Constant Field Values
-
DTMF_D_VALUE
public static final int DTMF_D_VALUE
Letter: 'D'.
DTMF_D = 14;
- See Also:
- Constant Field Values
-
DTMF_STAR_VALUE
public static final int DTMF_STAR_VALUE
Asterisk/star: '*'.
DTMF_STAR = 15;
- See Also:
- Constant Field Values
-
DTMF_POUND_VALUE
public static final int DTMF_POUND_VALUE
Pound/diamond/hash/square/gate/octothorpe: '#'.
DTMF_POUND = 16;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static TelephonyDtmf[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TelephonyDtmf c : TelephonyDtmf.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TelephonyDtmf valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static TelephonyDtmf valueOf(int value)
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
public static TelephonyDtmf forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<TelephonyDtmf> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static TelephonyDtmf valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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
-
-