Interface SpeakerVoiceConfigOrBuilder (3.82.0)

public interface SpeakerVoiceConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSpeaker()

public abstract String getSpeaker()

Required. The name of the speaker. This should be the same as the speaker name used in the prompt.

string speaker = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The speaker.

getSpeakerBytes()

public abstract ByteString getSpeakerBytes()

Required. The name of the speaker. This should be the same as the speaker name used in the prompt.

string speaker = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for speaker.

getVoiceConfig()

public abstract VoiceConfig getVoiceConfig()

Required. The configuration for the voice of this speaker.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VoiceConfig

The voiceConfig.

getVoiceConfigOrBuilder()

public abstract VoiceConfigOrBuilder getVoiceConfigOrBuilder()

Required. The configuration for the voice of this speaker.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VoiceConfigOrBuilder

hasVoiceConfig()

public abstract boolean hasVoiceConfig()

Required. The configuration for the voice of this speaker.

.google.cloud.aiplatform.v1beta1.VoiceConfig voice_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the voiceConfig field is set.