public interface SynthesisInputOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
CustomPronunciations |
getCustomPronunciations()
Optional.
|
CustomPronunciationsOrBuilder |
getCustomPronunciationsOrBuilder()
Optional.
|
SynthesisInput.InputSourceCase |
getInputSourceCase() |
MultiSpeakerMarkup |
getMultiSpeakerMarkup()
The multi-speaker input to be synthesized.
|
MultiSpeakerMarkupOrBuilder |
getMultiSpeakerMarkupOrBuilder()
The multi-speaker input to be synthesized.
|
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 |
hasCustomPronunciations()
Optional.
|
boolean |
hasMultiSpeakerMarkup()
The multi-speaker input 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][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][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][google.rpc.Code.INVALID_ARGUMENT]. For more information, see [SSML](https://cloud.google.com/text-to-speech/docs/ssml).
string ssml = 2;boolean hasMultiSpeakerMarkup()
The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
.google.cloud.texttospeech.v1.MultiSpeakerMarkup multi_speaker_markup = 4;MultiSpeakerMarkup getMultiSpeakerMarkup()
The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
.google.cloud.texttospeech.v1.MultiSpeakerMarkup multi_speaker_markup = 4;MultiSpeakerMarkupOrBuilder getMultiSpeakerMarkupOrBuilder()
The multi-speaker input to be synthesized. Only applicable for multi-speaker synthesis.
.google.cloud.texttospeech.v1.MultiSpeakerMarkup multi_speaker_markup = 4;boolean hasCustomPronunciations()
Optional. The pronunciation customizations to be applied to the input. If this is set, the input will be synthesized using the given pronunciation customizations. The initial support will be for EFIGS (English, French, Italian, German, Spanish) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices are not supported yet. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag (entirely or partially).
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 3 [(.google.api.field_behavior) = OPTIONAL];
CustomPronunciations getCustomPronunciations()
Optional. The pronunciation customizations to be applied to the input. If this is set, the input will be synthesized using the given pronunciation customizations. The initial support will be for EFIGS (English, French, Italian, German, Spanish) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices are not supported yet. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag (entirely or partially).
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 3 [(.google.api.field_behavior) = OPTIONAL];
CustomPronunciationsOrBuilder getCustomPronunciationsOrBuilder()
Optional. The pronunciation customizations to be applied to the input. If this is set, the input will be synthesized using the given pronunciation customizations. The initial support will be for EFIGS (English, French, Italian, German, Spanish) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices are not supported yet. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag (entirely or partially).
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 3 [(.google.api.field_behavior) = OPTIONAL];
SynthesisInput.InputSourceCase getInputSourceCase()
Copyright © 2025 Google LLC. All rights reserved.