public interface SynthesisInputOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
SynthesisInput.InputSourceCase |
getInputSourceCase() |
String |
getSsml()
The SSML document to be synthesized.
|
ByteString |
getSsmlBytes()
The SSML document to be synthesized.
|
String |
getText()
The raw text to be synthesized.
|
ByteString |
getTextBytes()
The raw text to be synthesized.
|
boolean |
hasSsml()
The SSML document to be synthesized.
|
boolean |
hasText()
The raw text to be synthesized.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasText()
The raw text to be synthesized.
string text = 1;
String getText()
The raw text to be synthesized.
string text = 1;
ByteString getTextBytes()
The raw text to be synthesized.
string text = 1;
boolean hasSsml()
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](https://cloud.google.com/text-to-speech/docs/ssml).
string ssml = 2;
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](https://cloud.google.com/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](https://cloud.google.com/text-to-speech/docs/ssml).
string ssml = 2;
SynthesisInput.InputSourceCase getInputSourceCase()
Copyright © 2022 Google LLC. All rights reserved.