Enum SsmlVoiceGender (2.19.0)

public enum SsmlVoiceGender extends Enum<SsmlVoiceGender> implements ProtocolMessageEnum

Gender of the voice as described in SSML voice element.

Protobuf enum google.cloud.texttospeech.v1.SsmlVoiceGender

Implements

ProtocolMessageEnum

Static Fields

NameDescription
FEMALE

A female voice.

FEMALE = 2;

FEMALE_VALUE

A female voice.

FEMALE = 2;

MALE

A male voice.

MALE = 1;

MALE_VALUE

A male voice.

MALE = 1;

NEUTRAL

A gender-neutral voice. This voice is not yet supported.

NEUTRAL = 3;

NEUTRAL_VALUE

A gender-neutral voice. This voice is not yet supported.

NEUTRAL = 3;

SSML_VOICE_GENDER_UNSPECIFIED

An unspecified gender. In VoiceSelectionParams, this means that the client doesn't care which gender the selected voice will have. In the Voice field of ListVoicesResponse, this may mean that the voice doesn't fit any of the other categories in this enum, or that the gender of the voice isn't known.

SSML_VOICE_GENDER_UNSPECIFIED = 0;

SSML_VOICE_GENDER_UNSPECIFIED_VALUE

An unspecified gender. In VoiceSelectionParams, this means that the client doesn't care which gender the selected voice will have. In the Voice field of ListVoicesResponse, this may mean that the voice doesn't fit any of the other categories in this enum, or that the gender of the voice isn't known.

SSML_VOICE_GENDER_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()