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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
SSML_FIELD_NUMBER
public static final int SSML_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Intent.Message.TelephonySynthesizeSpeech getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.TelephonySynthesizeSpeech.Builder newBuilder()
newBuilder(Intent.Message.TelephonySynthesizeSpeech prototype)
public static Intent.Message.TelephonySynthesizeSpeech.Builder newBuilder(Intent.Message.TelephonySynthesizeSpeech prototype)
public static Intent.Message.TelephonySynthesizeSpeech parseDelimitedFrom(InputStream input)
public static Intent.Message.TelephonySynthesizeSpeech parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(CodedInputStream input)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(InputStream input)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TelephonySynthesizeSpeech parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.TelephonySynthesizeSpeech> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Intent.Message.TelephonySynthesizeSpeech getDefaultInstanceForType()
getParserForType()
public Parser<Intent.Message.TelephonySynthesizeSpeech> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourceCase()
public Intent.Message.TelephonySynthesizeSpeech.SourceCase getSourceCase()
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 |
Type |
Description |
ByteString |
The bytes for ssml.
|
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 |
Type |
Description |
ByteString |
The bytes for text.
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Intent.Message.TelephonySynthesizeSpeech.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.TelephonySynthesizeSpeech.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Intent.Message.TelephonySynthesizeSpeech.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides