Interface StreamingSynthesizeConfigOrBuilder (2.54.0)

public interface StreamingSynthesizeConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.