public interface SynthesizeSpeechResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAudioConfig()
public abstract AudioConfig getAudioConfig() The audio metadata of audio_content.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 4;
| Type | Description |
| AudioConfig | The audioConfig. |
getAudioConfigOrBuilder()
public abstract AudioConfigOrBuilder getAudioConfigOrBuilder() The audio metadata of audio_content.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 4;
| Type | Description |
| 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;
| Type | Description |
| 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;
| Name | Description |
| index | int |
| Type | Description |
| 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;
| Type | Description |
| 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;
| Type | Description |
| 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;
| Name | Description |
| index | int |
| Type | Description |
| 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;
| Type | Description |
| 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;
| Type | Description |
| boolean | Whether the audioConfig field is set. |