public final class TextToSpeechSettings extends com.google.protobuf.GeneratedMessageV3 implements TextToSpeechSettingsOrBuilder
Settings related to speech synthesizing.Protobuf type
google.cloud.dialogflow.cx.v3.TextToSpeechSettings| Modifier and Type | Class and Description |
|---|---|
static class |
TextToSpeechSettings.Builder
Settings related to speech synthesizing.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
SYNTHESIZE_SPEECH_CONFIGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSynthesizeSpeechConfigs(String key)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
|
boolean |
equals(Object obj) |
static TextToSpeechSettings |
getDefaultInstance() |
TextToSpeechSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<TextToSpeechSettings> |
getParserForType() |
int |
getSerializedSize() |
Map<String,SynthesizeSpeechConfig> |
getSynthesizeSpeechConfigs()
Deprecated.
|
int |
getSynthesizeSpeechConfigsCount()
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
|
Map<String,SynthesizeSpeechConfig> |
getSynthesizeSpeechConfigsMap()
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
|
SynthesizeSpeechConfig |
getSynthesizeSpeechConfigsOrDefault(String key,
SynthesizeSpeechConfig defaultValue)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
|
SynthesizeSpeechConfig |
getSynthesizeSpeechConfigsOrThrow(String key)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static TextToSpeechSettings.Builder |
newBuilder() |
static TextToSpeechSettings.Builder |
newBuilder(TextToSpeechSettings prototype) |
TextToSpeechSettings.Builder |
newBuilderForType() |
protected TextToSpeechSettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TextToSpeechSettings |
parseDelimitedFrom(InputStream input) |
static TextToSpeechSettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextToSpeechSettings |
parseFrom(byte[] data) |
static TextToSpeechSettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextToSpeechSettings |
parseFrom(ByteBuffer data) |
static TextToSpeechSettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextToSpeechSettings |
parseFrom(com.google.protobuf.ByteString data) |
static TextToSpeechSettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextToSpeechSettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TextToSpeechSettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextToSpeechSettings |
parseFrom(InputStream input) |
static TextToSpeechSettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TextToSpeechSettings> |
parser() |
TextToSpeechSettings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SYNTHESIZE_SPEECH_CONFIGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getSynthesizeSpeechConfigsCount()
TextToSpeechSettingsOrBuilder
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
These settings affect:
- The [phone
gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
synthesize configuration set via
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
- How speech is synthesized when invoking
[session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
only applies if
[OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
is not specified.
map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
getSynthesizeSpeechConfigsCount in interface TextToSpeechSettingsOrBuilderpublic boolean containsSynthesizeSpeechConfigs(String key)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
These settings affect:
- The [phone
gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
synthesize configuration set via
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
- How speech is synthesized when invoking
[session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
only applies if
[OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
is not specified.
map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
containsSynthesizeSpeechConfigs in interface TextToSpeechSettingsOrBuilder@Deprecated public Map<String,SynthesizeSpeechConfig> getSynthesizeSpeechConfigs()
getSynthesizeSpeechConfigsMap() instead.getSynthesizeSpeechConfigs in interface TextToSpeechSettingsOrBuilderpublic Map<String,SynthesizeSpeechConfig> getSynthesizeSpeechConfigsMap()
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
These settings affect:
- The [phone
gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
synthesize configuration set via
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
- How speech is synthesized when invoking
[session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
only applies if
[OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
is not specified.
map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
getSynthesizeSpeechConfigsMap in interface TextToSpeechSettingsOrBuilderpublic SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrDefault(String key, SynthesizeSpeechConfig defaultValue)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
These settings affect:
- The [phone
gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
synthesize configuration set via
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
- How speech is synthesized when invoking
[session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
only applies if
[OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
is not specified.
map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
getSynthesizeSpeechConfigsOrDefault in interface TextToSpeechSettingsOrBuilderpublic SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrThrow(String key)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
These settings affect:
- The [phone
gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
synthesize configuration set via
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
- How speech is synthesized when invoking
[session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
[Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
only applies if
[OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
is not specified.
map<string, .google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
getSynthesizeSpeechConfigsOrThrow in interface TextToSpeechSettingsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TextToSpeechSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextToSpeechSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextToSpeechSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextToSpeechSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextToSpeechSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextToSpeechSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TextToSpeechSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static TextToSpeechSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TextToSpeechSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TextToSpeechSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TextToSpeechSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TextToSpeechSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TextToSpeechSettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TextToSpeechSettings.Builder newBuilder()
public static TextToSpeechSettings.Builder newBuilder(TextToSpeechSettings prototype)
public TextToSpeechSettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TextToSpeechSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TextToSpeechSettings getDefaultInstance()
public static com.google.protobuf.Parser<TextToSpeechSettings> parser()
public com.google.protobuf.Parser<TextToSpeechSettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TextToSpeechSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.