public enum TelephonyDtmf extends Enum<TelephonyDtmf> implements ProtocolMessageEnum
[DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling) digit in Telephony Gateway.Protobuf enum
google.cloud.dialogflow.v2beta1.TelephonyDtmf
Enum Constant and 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 |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
static TelephonyDtmf |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<TelephonyDtmf> |
internalGetValueMap() |
static TelephonyDtmf |
valueOf(Descriptors.EnumValueDescriptor desc) |
static TelephonyDtmf |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final TelephonyDtmf TELEPHONY_DTMF_UNSPECIFIED
Not specified. This value may be used to indicate an absent digit.
TELEPHONY_DTMF_UNSPECIFIED = 0;
public static final TelephonyDtmf DTMF_ONE
Number: '1'.
DTMF_ONE = 1;
public static final TelephonyDtmf DTMF_TWO
Number: '2'.
DTMF_TWO = 2;
public static final TelephonyDtmf DTMF_THREE
Number: '3'.
DTMF_THREE = 3;
public static final TelephonyDtmf DTMF_FOUR
Number: '4'.
DTMF_FOUR = 4;
public static final TelephonyDtmf DTMF_FIVE
Number: '5'.
DTMF_FIVE = 5;
public static final TelephonyDtmf DTMF_SIX
Number: '6'.
DTMF_SIX = 6;
public static final TelephonyDtmf DTMF_SEVEN
Number: '7'.
DTMF_SEVEN = 7;
public static final TelephonyDtmf DTMF_EIGHT
Number: '8'.
DTMF_EIGHT = 8;
public static final TelephonyDtmf DTMF_NINE
Number: '9'.
DTMF_NINE = 9;
public static final TelephonyDtmf DTMF_ZERO
Number: '0'.
DTMF_ZERO = 10;
public static final TelephonyDtmf DTMF_A
Letter: 'A'.
DTMF_A = 11;
public static final TelephonyDtmf DTMF_B
Letter: 'B'.
DTMF_B = 12;
public static final TelephonyDtmf DTMF_C
Letter: 'C'.
DTMF_C = 13;
public static final TelephonyDtmf DTMF_D
Letter: 'D'.
DTMF_D = 14;
public static final TelephonyDtmf DTMF_STAR
Asterisk/star: '*'.
DTMF_STAR = 15;
public static final TelephonyDtmf DTMF_POUND
Pound/diamond/hash/square/gate/octothorpe: '#'.
DTMF_POUND = 16;
public static final TelephonyDtmf UNRECOGNIZED
public static final int TELEPHONY_DTMF_UNSPECIFIED_VALUE
Not specified. This value may be used to indicate an absent digit.
TELEPHONY_DTMF_UNSPECIFIED = 0;
public static final int DTMF_ONE_VALUE
Number: '1'.
DTMF_ONE = 1;
public static final int DTMF_TWO_VALUE
Number: '2'.
DTMF_TWO = 2;
public static final int DTMF_THREE_VALUE
Number: '3'.
DTMF_THREE = 3;
public static final int DTMF_FOUR_VALUE
Number: '4'.
DTMF_FOUR = 4;
public static final int DTMF_FIVE_VALUE
Number: '5'.
DTMF_FIVE = 5;
public static final int DTMF_SIX_VALUE
Number: '6'.
DTMF_SIX = 6;
public static final int DTMF_SEVEN_VALUE
Number: '7'.
DTMF_SEVEN = 7;
public static final int DTMF_EIGHT_VALUE
Number: '8'.
DTMF_EIGHT = 8;
public static final int DTMF_NINE_VALUE
Number: '9'.
DTMF_NINE = 9;
public static final int DTMF_ZERO_VALUE
Number: '0'.
DTMF_ZERO = 10;
public static final int DTMF_A_VALUE
Letter: 'A'.
DTMF_A = 11;
public static final int DTMF_B_VALUE
Letter: 'B'.
DTMF_B = 12;
public static final int DTMF_C_VALUE
Letter: 'C'.
DTMF_C = 13;
public static final int DTMF_D_VALUE
Letter: 'D'.
DTMF_D = 14;
public static final int DTMF_STAR_VALUE
Asterisk/star: '*'.
DTMF_STAR = 15;
public static final int DTMF_POUND_VALUE
Pound/diamond/hash/square/gate/octothorpe: '#'.
DTMF_POUND = 16;
public static TelephonyDtmf[] values()
for (TelephonyDtmf c : TelephonyDtmf.values()) System.out.println(c);
public static TelephonyDtmf valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static TelephonyDtmf valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static TelephonyDtmf forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<TelephonyDtmf> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static TelephonyDtmf valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.