Enum TelephonyDtmf
- java.lang.Object
-
- java.lang.Enum<TelephonyDtmf>
-
- com.google.cloud.dialogflow.v2beta1.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.v2beta1.TelephonyDtmf
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DTMF_ALetter: 'A'.DTMF_BLetter: 'B'.DTMF_CLetter: 'C'.DTMF_DLetter: 'D'.DTMF_EIGHTNumber: '8'.DTMF_FIVENumber: '5'.DTMF_FOURNumber: '4'.DTMF_NINENumber: '9'.DTMF_ONENumber: '1'.DTMF_POUNDPound/diamond/hash/square/gate/octothorpe: '#'.DTMF_SEVENNumber: '7'.DTMF_SIXNumber: '6'.DTMF_STARAsterisk/star: '*'.DTMF_THREENumber: '3'.DTMF_TWONumber: '2'.DTMF_ZERONumber: '0'.TELEPHONY_DTMF_UNSPECIFIEDNot specified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDTMF_A_VALUELetter: 'A'.static intDTMF_B_VALUELetter: 'B'.static intDTMF_C_VALUELetter: 'C'.static intDTMF_D_VALUELetter: 'D'.static intDTMF_EIGHT_VALUENumber: '8'.static intDTMF_FIVE_VALUENumber: '5'.static intDTMF_FOUR_VALUENumber: '4'.static intDTMF_NINE_VALUENumber: '9'.static intDTMF_ONE_VALUENumber: '1'.static intDTMF_POUND_VALUEPound/diamond/hash/square/gate/octothorpe: '#'.static intDTMF_SEVEN_VALUENumber: '7'.static intDTMF_SIX_VALUENumber: '6'.static intDTMF_STAR_VALUEAsterisk/star: '*'.static intDTMF_THREE_VALUENumber: '3'.static intDTMF_TWO_VALUENumber: '2'.static intDTMF_ZERO_VALUENumber: '0'.static intTELEPHONY_DTMF_UNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TelephonyDtmfforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<TelephonyDtmf>internalGetValueMap()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 TelephonyDtmfvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-