Interface SpeechConfigOrBuilder (3.82.0)

public interface SpeechConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLanguageCode()

public abstract String getLanguageCode()

Optional. The language code (ISO 639-1) for the speech synthesis.

string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Optional. The language code (ISO 639-1) for the speech synthesis.

string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getMultiSpeakerVoiceConfig()

public abstract MultiSpeakerVoiceConfig getMultiSpeakerVoiceConfig()

The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with voice_config.

.google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 3;

Returns
Type Description
MultiSpeakerVoiceConfig

The multiSpeakerVoiceConfig.

getMultiSpeakerVoiceConfigOrBuilder()

public abstract MultiSpeakerVoiceConfigOrBuilder getMultiSpeakerVoiceConfigOrBuilder()

The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with voice_config.

.google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 3;

Returns
Type Description
MultiSpeakerVoiceConfigOrBuilder

getVoiceConfig()

public abstract VoiceConfig getVoiceConfig()

The configuration for the voice to use.

.google.cloud.aiplatform.v1.VoiceConfig voice_config = 1;

Returns
Type Description
VoiceConfig

The voiceConfig.

getVoiceConfigOrBuilder()

public abstract VoiceConfigOrBuilder getVoiceConfigOrBuilder()

The configuration for the voice to use.

.google.cloud.aiplatform.v1.VoiceConfig voice_config = 1;

Returns
Type Description
VoiceConfigOrBuilder

hasMultiSpeakerVoiceConfig()

public abstract boolean hasMultiSpeakerVoiceConfig()

The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with voice_config.

.google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 3;

Returns
Type Description
boolean

Whether the multiSpeakerVoiceConfig field is set.

hasVoiceConfig()

public abstract boolean hasVoiceConfig()

The configuration for the voice to use.

.google.cloud.aiplatform.v1.VoiceConfig voice_config = 1;

Returns
Type Description
boolean

Whether the voiceConfig field is set.