Interface VoiceSelectionParamsOrBuilder (0.22.0)

public interface VoiceSelectionParamsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender. For the list of available voices, please refer to Supported voices and languages.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender. For the list of available voices, please refer to Supported voices and languages.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSsmlGender()

public abstract SsmlVoiceGender getSsmlGender()

Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer substitutes a voice with a different gender rather than failing the request.

.google.cloud.dialogflow.cx.v3.SsmlVoiceGender ssml_gender = 2;

Returns
Type Description
SsmlVoiceGender

The ssmlGender.

getSsmlGenderValue()

public abstract int getSsmlGenderValue()

Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer substitutes a voice with a different gender rather than failing the request.

.google.cloud.dialogflow.cx.v3.SsmlVoiceGender ssml_gender = 2;

Returns
Type Description
int

The enum numeric value on the wire for ssmlGender.