public interface StreamingSynthesizeConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getVoice()
public abstract VoiceSelectionParams getVoice()Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VoiceSelectionParams |
The voice. |
getVoiceOrBuilder()
public abstract VoiceSelectionParamsOrBuilder getVoiceOrBuilder()Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VoiceSelectionParamsOrBuilder |
|
hasVoice()
public abstract boolean hasVoice()Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the voice field is set. |