public interface SynthesisInputOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
SynthesisInput.InputSourceCase |
getInputSourceCase() |
String |
getSsml()
The SSML document to be synthesized.
|
com.google.protobuf.ByteString |
getSsmlBytes()
The SSML document to be synthesized.
|
String |
getText()
The raw text to be synthesized.
|
com.google.protobuf.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, hasOneofboolean hasText()
The raw text to be synthesized.
string text = 1;String getText()
The raw text to be synthesized.
string text = 1;com.google.protobuf.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;com.google.protobuf.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 © 2021 Google LLC. All rights reserved.