public interface MultispeakerPrebuiltVoiceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getSpeakerAlias()
public abstract String getSpeakerAlias()
Required. The speaker alias of the voice. This is the user-chosen speaker name that is used in the multispeaker text input, such as "Speaker1".
string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The speakerAlias. |
getSpeakerAliasBytes()
public abstract ByteString getSpeakerAliasBytes()
Required. The speaker alias of the voice. This is the user-chosen speaker name that is used in the multispeaker text input, such as "Speaker1".
string speaker_alias = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for speakerAlias. |
getSpeakerId()
public abstract String getSpeakerId()
Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.
string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The speakerId. |
getSpeakerIdBytes()
public abstract ByteString getSpeakerIdBytes()
Required. The speaker ID of the voice. See https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options for available values.
string speaker_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for speakerId. |