public static final class Intent.Message.TelephonySynthesizeSpeech extends GeneratedMessageV3 implements Intent.Message.TelephonySynthesizeSpeechOrBuilder
Synthesizes speech and plays back the synthesized audio to the caller in
Telephony Gateway.
Telephony Gateway takes the synthesizer settings from
DetectIntentResponse.output_audio_config
which can either be set
at request-level or can come from the agent-level synthesizer config.
Protobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech
Fields
SSML_FIELD_NUMBER
public static final int SSML_FIELD_NUMBER
Field Value
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Intent.Message.TelephonySynthesizeSpeech getDefaultInstance()
Returns
getDefaultInstanceForType()
public Intent.Message.TelephonySynthesizeSpeech getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<Intent.Message.TelephonySynthesizeSpeech> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSourceCase()
public Intent.Message.TelephonySynthesizeSpeech.SourceCase getSourceCase()
Returns
getSsml()
The SSML to be synthesized. For more information, see
SSML.
string ssml = 2;
Returns
Type | Description |
String | The ssml.
|
getSsmlBytes()
public ByteString getSsmlBytes()
The SSML to be synthesized. For more information, see
SSML.
string ssml = 2;
Returns
getText()
The raw text to be synthesized.
string text = 1;
Returns
Type | Description |
String | The text.
|
getTextBytes()
public ByteString getTextBytes()
The raw text to be synthesized.
string text = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasSsml()
The SSML to be synthesized. For more information, see
SSML.
string ssml = 2;
Returns
Type | Description |
boolean | Whether the ssml field is set.
|
hasText()
The raw text to be synthesized.
string text = 1;
Returns
Type | Description |
boolean | Whether the text field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Intent.Message.TelephonySynthesizeSpeech.Builder newBuilder()
Returns
newBuilder(Intent.Message.TelephonySynthesizeSpeech prototype)
public static Intent.Message.TelephonySynthesizeSpeech.Builder newBuilder(Intent.Message.TelephonySynthesizeSpeech prototype)
Parameter
Returns
newBuilderForType()
public Intent.Message.TelephonySynthesizeSpeech.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.TelephonySynthesizeSpeech.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Intent.Message.TelephonySynthesizeSpeech parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.TelephonySynthesizeSpeech parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.TelephonySynthesizeSpeech> parser()
Returns
toBuilder()
public Intent.Message.TelephonySynthesizeSpeech.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions