public static enum CustomPronunciationParams.PhoneticEncoding extends Enum<CustomPronunciationParams.PhoneticEncoding> implements com.google.protobuf.ProtocolMessageEnum
The phonetic encoding of the phrase.Protobuf enum
google.cloud.texttospeech.v1.CustomPronunciationParams.PhoneticEncoding| Enum Constant and Description |
|---|
PHONETIC_ENCODING_IPA
IPA.
|
PHONETIC_ENCODING_UNSPECIFIED
Not specified.
|
PHONETIC_ENCODING_X_SAMPA
X-SAMPA (e.g. apple -> "{p@l" )
https://en.wikipedia.org/wiki/X-SAMPA
PHONETIC_ENCODING_X_SAMPA = 2; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
PHONETIC_ENCODING_IPA_VALUE
IPA.
|
static int |
PHONETIC_ENCODING_UNSPECIFIED_VALUE
Not specified.
|
static int |
PHONETIC_ENCODING_X_SAMPA_VALUE
X-SAMPA (e.g. apple -> "{p@l" )
https://en.wikipedia.org/wiki/X-SAMPA
PHONETIC_ENCODING_X_SAMPA = 2; |
| Modifier and Type | Method and Description |
|---|---|
static CustomPronunciationParams.PhoneticEncoding |
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<CustomPronunciationParams.PhoneticEncoding> |
internalGetValueMap() |
static CustomPronunciationParams.PhoneticEncoding |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CustomPronunciationParams.PhoneticEncoding |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CustomPronunciationParams.PhoneticEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomPronunciationParams.PhoneticEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomPronunciationParams.PhoneticEncoding PHONETIC_ENCODING_UNSPECIFIED
Not specified.
PHONETIC_ENCODING_UNSPECIFIED = 0;public static final CustomPronunciationParams.PhoneticEncoding PHONETIC_ENCODING_IPA
IPA. (e.g. apple -> ˈæpəl ) https://en.wikipedia.org/wiki/International_Phonetic_Alphabet
PHONETIC_ENCODING_IPA = 1;public static final CustomPronunciationParams.PhoneticEncoding PHONETIC_ENCODING_X_SAMPA
X-SAMPA (e.g. apple -> "{p@l" )
https://en.wikipedia.org/wiki/X-SAMPA
PHONETIC_ENCODING_X_SAMPA = 2;public static final CustomPronunciationParams.PhoneticEncoding UNRECOGNIZED
public static final int PHONETIC_ENCODING_UNSPECIFIED_VALUE
Not specified.
PHONETIC_ENCODING_UNSPECIFIED = 0;public static final int PHONETIC_ENCODING_IPA_VALUE
IPA. (e.g. apple -> ˈæpəl ) https://en.wikipedia.org/wiki/International_Phonetic_Alphabet
PHONETIC_ENCODING_IPA = 1;public static final int PHONETIC_ENCODING_X_SAMPA_VALUE
X-SAMPA (e.g. apple -> "{p@l" )
https://en.wikipedia.org/wiki/X-SAMPA
PHONETIC_ENCODING_X_SAMPA = 2;public static CustomPronunciationParams.PhoneticEncoding[] values()
for (CustomPronunciationParams.PhoneticEncoding c : CustomPronunciationParams.PhoneticEncoding.values()) System.out.println(c);
public static CustomPronunciationParams.PhoneticEncoding 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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static CustomPronunciationParams.PhoneticEncoding valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CustomPronunciationParams.PhoneticEncoding forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CustomPronunciationParams.PhoneticEncoding> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CustomPronunciationParams.PhoneticEncoding valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.