Interface SynthesizeSpeechResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SynthesizeSpeechResponse, SynthesizeSpeechResponse.Builder

@Generated public interface SynthesizeSpeechResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The audio metadata of `audio_content`.
    The audio metadata of `audio_content`.
    com.google.protobuf.ByteString
    The audio data bytes encoded as specified in the request, including the header for encodings that are wrapped in containers (e.g.
    getTimepoints(int index)
    A link between a position in the original request input and a corresponding time in the output audio.
    int
    A link between a position in the original request input and a corresponding time in the output audio.
    A link between a position in the original request input and a corresponding time in the output audio.
    A link between a position in the original request input and a corresponding time in the output audio.
    A link between a position in the original request input and a corresponding time in the output audio.
    boolean
    The audio metadata of `audio_content`.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAudioContent

      com.google.protobuf.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:
      The audioContent.
    • getTimepointsList

      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;
    • getTimepoints

      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;
    • getTimepointsCount

      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;
    • getTimepointsOrBuilderList

      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;
    • getTimepointsOrBuilder

      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;
    • hasAudioConfig

      boolean hasAudioConfig()
       The audio metadata of `audio_content`.
       
      .google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 4;
      Returns:
      Whether the audioConfig field is set.
    • getAudioConfig

      AudioConfig getAudioConfig()
       The audio metadata of `audio_content`.
       
      .google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 4;
      Returns:
      The audioConfig.
    • getAudioConfigOrBuilder

      AudioConfigOrBuilder getAudioConfigOrBuilder()
       The audio metadata of `audio_content`.
       
      .google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 4;