Interface SynthesizeSpeechResponseOrBuilder (2.18.0)

public interface SynthesizeSpeechResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudioConfig()

public abstract AudioConfig getAudioConfig()

The audio metadata of audio_content.

.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 4;

Returns
TypeDescription
AudioConfig

The audioConfig.

getAudioConfigOrBuilder()

public abstract AudioConfigOrBuilder getAudioConfigOrBuilder()

The audio metadata of audio_content.

.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 4;

Returns
TypeDescription
AudioConfigOrBuilder

getAudioContent()

public abstract ByteString getAudioContent()

The audio data bytes encoded as specified in the request, including the header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS). For LINEAR16 audio, we include the WAV header. Note: as with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

bytes audio_content = 1;

Returns
TypeDescription
ByteString

The audioContent.

getTimepoints(int index)

public abstract Timepoint getTimepoints(int index)

A link between a position in the original request input and a corresponding time in the output audio. It's only supported via <mark> of SSML input.

repeated .google.cloud.texttospeech.v1beta1.Timepoint timepoints = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Timepoint

getTimepointsCount()

public abstract int getTimepointsCount()

A link between a position in the original request input and a corresponding time in the output audio. It's only supported via <mark> of SSML input.

repeated .google.cloud.texttospeech.v1beta1.Timepoint timepoints = 2;

Returns
TypeDescription
int

getTimepointsList()

public abstract List<Timepoint> getTimepointsList()

A link between a position in the original request input and a corresponding time in the output audio. It's only supported via <mark> of SSML input.

repeated .google.cloud.texttospeech.v1beta1.Timepoint timepoints = 2;

Returns
TypeDescription
List<Timepoint>

getTimepointsOrBuilder(int index)

public abstract TimepointOrBuilder getTimepointsOrBuilder(int index)

A link between a position in the original request input and a corresponding time in the output audio. It's only supported via <mark> of SSML input.

repeated .google.cloud.texttospeech.v1beta1.Timepoint timepoints = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TimepointOrBuilder

getTimepointsOrBuilderList()

public abstract List<? extends TimepointOrBuilder> getTimepointsOrBuilderList()

A link between a position in the original request input and a corresponding time in the output audio. It's only supported via <mark> of SSML input.

repeated .google.cloud.texttospeech.v1beta1.Timepoint timepoints = 2;

Returns
TypeDescription
List<? extends com.google.cloud.texttospeech.v1beta1.TimepointOrBuilder>

hasAudioConfig()

public abstract boolean hasAudioConfig()

The audio metadata of audio_content.

.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 4;

Returns
TypeDescription
boolean

Whether the audioConfig field is set.