Interface StreamingSynthesisInputOrBuilder (2.56.0)

public interface StreamingSynthesisInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInputSourceCase()

public abstract StreamingSynthesisInput.InputSourceCase getInputSourceCase()
Returns
Type Description
StreamingSynthesisInput.InputSourceCase

getText()

public abstract String getText()

The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, as this will likely result in better prosody in the output audio. That being said, users are free to input text however they please.

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, as this will likely result in better prosody in the output audio. That being said, users are free to input text however they please.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasText()

public abstract boolean hasText()

The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, as this will likely result in better prosody in the output audio. That being said, users are free to input text however they please.

string text = 1;

Returns
Type Description
boolean

Whether the text field is set.