Interface StreamingSynthesisInputOrBuilder

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

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

    Modifier and Type
    Method
    Description
     
    Markup for Chirp 3: HD voices specifically.
    com.google.protobuf.ByteString
    Markup for Chirp 3: HD voices specifically.
    Multi-speaker markup for Gemini TTS.
    Multi-speaker markup for Gemini TTS.
    This is system instruction supported only for controllable voice models.
    com.google.protobuf.ByteString
    This is system instruction supported only for controllable voice models.
    The raw text to be synthesized.
    com.google.protobuf.ByteString
    The raw text to be synthesized.
    boolean
    Markup for Chirp 3: HD voices specifically.
    boolean
    Multi-speaker markup for Gemini TTS.
    boolean
    This is system instruction supported only for controllable voice models.
    boolean
    The raw text to be synthesized.

    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

    • hasText

      boolean hasText()
       The raw text to be synthesized. It is recommended that each input
       contains complete, terminating sentences, which results in better prosody
       in the output audio.
       
      string text = 1;
      Returns:
      Whether the text field is set.
    • getText

      String getText()
       The raw text to be synthesized. It is recommended that each input
       contains complete, terminating sentences, which results in better prosody
       in the output audio.
       
      string text = 1;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       The raw text to be synthesized. It is recommended that each input
       contains complete, terminating sentences, which results in better prosody
       in the output audio.
       
      string text = 1;
      Returns:
      The bytes for text.
    • hasMarkup

      boolean hasMarkup()
       Markup for Chirp 3: HD voices specifically. This field may not be used
       with any other voices.
       
      string markup = 5;
      Returns:
      Whether the markup field is set.
    • getMarkup

      String getMarkup()
       Markup for Chirp 3: HD voices specifically. This field may not be used
       with any other voices.
       
      string markup = 5;
      Returns:
      The markup.
    • getMarkupBytes

      com.google.protobuf.ByteString getMarkupBytes()
       Markup for Chirp 3: HD voices specifically. This field may not be used
       with any other voices.
       
      string markup = 5;
      Returns:
      The bytes for markup.
    • hasMultiSpeakerMarkup

      boolean hasMultiSpeakerMarkup()
       Multi-speaker markup for Gemini TTS. This field may not
       be used with any other voices.
       
      .google.cloud.texttospeech.v1.MultiSpeakerMarkup multi_speaker_markup = 7;
      Returns:
      Whether the multiSpeakerMarkup field is set.
    • getMultiSpeakerMarkup

      MultiSpeakerMarkup getMultiSpeakerMarkup()
       Multi-speaker markup for Gemini TTS. This field may not
       be used with any other voices.
       
      .google.cloud.texttospeech.v1.MultiSpeakerMarkup multi_speaker_markup = 7;
      Returns:
      The multiSpeakerMarkup.
    • getMultiSpeakerMarkupOrBuilder

      MultiSpeakerMarkupOrBuilder getMultiSpeakerMarkupOrBuilder()
       Multi-speaker markup for Gemini TTS. This field may not
       be used with any other voices.
       
      .google.cloud.texttospeech.v1.MultiSpeakerMarkup multi_speaker_markup = 7;
    • hasPrompt

      boolean hasPrompt()
       This is system instruction supported only for controllable voice models.
       
      optional string prompt = 6;
      Returns:
      Whether the prompt field is set.
    • getPrompt

      String getPrompt()
       This is system instruction supported only for controllable voice models.
       
      optional string prompt = 6;
      Returns:
      The prompt.
    • getPromptBytes

      com.google.protobuf.ByteString getPromptBytes()
       This is system instruction supported only for controllable voice models.
       
      optional string prompt = 6;
      Returns:
      The bytes for prompt.
    • getInputSourceCase