Package com.google.cloud.texttospeech.v1
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 TypeMethodDescriptionMarkup for Chirp 3: HD voices specifically.com.google.protobuf.ByteStringMarkup 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.ByteStringThis is system instruction supported only for controllable voice models.getText()The raw text to be synthesized.com.google.protobuf.ByteStringThe raw text to be synthesized.booleanMarkup for Chirp 3: HD voices specifically.booleanMulti-speaker markup for Gemini TTS.booleanThis is system instruction supported only for controllable voice models.booleanhasText()The raw text to be synthesized.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
StreamingSynthesisInput.InputSourceCase getInputSourceCase()
-