public interface SynthesisInputOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
SynthesisInput.InputSourceCase |
getInputSourceCase() |
java.lang.String |
getSsml()
The SSML document to be synthesized.
|
ByteString |
getSsmlBytes()
The SSML document to be synthesized.
|
java.lang.String |
getText()
The raw text to be synthesized.
|
ByteString |
getTextBytes()
The raw text to be synthesized.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getText()
The raw text to be synthesized.
string text = 1;
ByteString getTextBytes()
The raw text to be synthesized.
string text = 1;
java.lang.String getSsml()
The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see [SSML](/speech/text-to-speech/docs/ssml).
string ssml = 2;
ByteString getSsmlBytes()
The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return [google.rpc.Code.INVALID_ARGUMENT][]. For more information, see [SSML](/speech/text-to-speech/docs/ssml).
string ssml = 2;
SynthesisInput.InputSourceCase getInputSourceCase()