public enum SsmlVoiceGender extends Enum<SsmlVoiceGender> implements com.google.protobuf.ProtocolMessageEnum
Gender of the voice as described in [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).Protobuf enum
google.cloud.dialogflow.v2beta1.SsmlVoiceGender| Enum Constant and Description |
|---|
SSML_VOICE_GENDER_FEMALE
A female voice.
|
SSML_VOICE_GENDER_MALE
A male voice.
|
SSML_VOICE_GENDER_NEUTRAL
A gender-neutral voice.
|
SSML_VOICE_GENDER_UNSPECIFIED
An unspecified gender, which means that the client doesn't care which
gender the selected voice will have.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SSML_VOICE_GENDER_FEMALE_VALUE
A female voice.
|
static int |
SSML_VOICE_GENDER_MALE_VALUE
A male voice.
|
static int |
SSML_VOICE_GENDER_NEUTRAL_VALUE
A gender-neutral voice.
|
static int |
SSML_VOICE_GENDER_UNSPECIFIED_VALUE
An unspecified gender, which means that the client doesn't care which
gender the selected voice will have.
|
| Modifier and Type | Method and Description |
|---|---|
static SsmlVoiceGender |
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<SsmlVoiceGender> |
internalGetValueMap() |
static SsmlVoiceGender |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SsmlVoiceGender |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SsmlVoiceGender |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SsmlVoiceGender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SsmlVoiceGender SSML_VOICE_GENDER_UNSPECIFIED
An unspecified gender, which means that the client doesn't care which gender the selected voice will have.
SSML_VOICE_GENDER_UNSPECIFIED = 0;public static final SsmlVoiceGender SSML_VOICE_GENDER_MALE
A male voice.
SSML_VOICE_GENDER_MALE = 1;public static final SsmlVoiceGender SSML_VOICE_GENDER_FEMALE
A female voice.
SSML_VOICE_GENDER_FEMALE = 2;public static final SsmlVoiceGender SSML_VOICE_GENDER_NEUTRAL
A gender-neutral voice.
SSML_VOICE_GENDER_NEUTRAL = 3;public static final SsmlVoiceGender UNRECOGNIZED
public static final int SSML_VOICE_GENDER_UNSPECIFIED_VALUE
An unspecified gender, which means that the client doesn't care which gender the selected voice will have.
SSML_VOICE_GENDER_UNSPECIFIED = 0;public static final int SSML_VOICE_GENDER_MALE_VALUE
A male voice.
SSML_VOICE_GENDER_MALE = 1;public static final int SSML_VOICE_GENDER_FEMALE_VALUE
A female voice.
SSML_VOICE_GENDER_FEMALE = 2;public static final int SSML_VOICE_GENDER_NEUTRAL_VALUE
A gender-neutral voice.
SSML_VOICE_GENDER_NEUTRAL = 3;public static SsmlVoiceGender[] values()
for (SsmlVoiceGender c : SsmlVoiceGender.values()) System.out.println(c);
public static SsmlVoiceGender 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 SsmlVoiceGender valueOf(int value)
forNumber(int) instead.public static SsmlVoiceGender forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SsmlVoiceGender> 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 SsmlVoiceGender valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.