public interface StreamingSynthesisInputOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getInputSourceCase()
public abstract StreamingSynthesisInput.InputSourceCase getInputSourceCase()| Returns | |
|---|---|
| Type | Description |
StreamingSynthesisInput.InputSourceCase |
|
getMarkup()
public abstract String getMarkup()Markup for HD voices specifically. This field may not be used with any other voices.
string markup = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The markup. |
getMarkupBytes()
public abstract ByteString getMarkupBytes()Markup for HD voices specifically. This field may not be used with any other voices.
string markup = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for markup. |
getMultiSpeakerMarkup()
public abstract 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 | |
|---|---|
| Type | Description |
MultiSpeakerMarkup |
The multiSpeakerMarkup. |
getMultiSpeakerMarkupOrBuilder()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
MultiSpeakerMarkupOrBuilder |
|
getPrompt()
public abstract String getPrompt()This is system instruction supported only for controllable voice models.
optional string prompt = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The prompt. |
getPromptBytes()
public abstract ByteString getPromptBytes()This is system instruction supported only for controllable voice models.
optional string prompt = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for prompt. |
getText()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
hasMarkup()
public abstract boolean hasMarkup()Markup for HD voices specifically. This field may not be used with any other voices.
string markup = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the markup field is set. |
hasMultiSpeakerMarkup()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the multiSpeakerMarkup field is set. |
hasPrompt()
public abstract boolean hasPrompt()This is system instruction supported only for controllable voice models.
optional string prompt = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the prompt field is set. |
hasText()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the text field is set. |