public static final class TextToSpeechSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder> implements TextToSpeechSettingsOrBuilder
Settings related to speech synthesizing.Protobuf type
google.cloud.dialogflow.cx.v3.TextToSpeechSettings| Modifier and Type | Method and Description |
|---|---|
TextToSpeechSettings.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextToSpeechSettings |
build() |
TextToSpeechSettings |
buildPartial() |
TextToSpeechSettings.Builder |
clear() |
TextToSpeechSettings.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TextToSpeechSettings.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TextToSpeechSettings.Builder |
clearSynthesizeSpeechConfigs() |
TextToSpeechSettings.Builder |
clone() |
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.
|
TextToSpeechSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,SynthesizeSpeechConfig> |
getMutableSynthesizeSpeechConfigs()
Deprecated.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
TextToSpeechSettings.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TextToSpeechSettings.Builder |
mergeFrom(com.google.protobuf.Message other) |
TextToSpeechSettings.Builder |
mergeFrom(TextToSpeechSettings other) |
TextToSpeechSettings.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TextToSpeechSettings.Builder |
putAllSynthesizeSpeechConfigs(Map<String,SynthesizeSpeechConfig> values)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
|
TextToSpeechSettings.Builder |
putSynthesizeSpeechConfigs(String key,
SynthesizeSpeechConfig value)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
|
SynthesizeSpeechConfig.Builder |
putSynthesizeSpeechConfigsBuilderIfAbsent(String key)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
|
TextToSpeechSettings.Builder |
removeSynthesizeSpeechConfigs(String key)
Configuration of how speech should be synthesized, mapping from language
(https://cloud.google.com/dialogflow/cx/docs/reference/language) to
SynthesizeSpeechConfig.
|
TextToSpeechSettings.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextToSpeechSettings.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TextToSpeechSettings.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TextToSpeechSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TextToSpeechSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TextToSpeechSettings.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings.Builder mergeFrom(TextToSpeechSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public TextToSpeechSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextToSpeechSettings.Builder>IOExceptionpublic 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 TextToSpeechSettings.Builder clearSynthesizeSpeechConfigs()
public TextToSpeechSettings.Builder removeSynthesizeSpeechConfigs(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;
@Deprecated public Map<String,SynthesizeSpeechConfig> getMutableSynthesizeSpeechConfigs()
public TextToSpeechSettings.Builder putSynthesizeSpeechConfigs(String key, SynthesizeSpeechConfig value)
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;
public TextToSpeechSettings.Builder putAllSynthesizeSpeechConfigs(Map<String,SynthesizeSpeechConfig> values)
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;
public SynthesizeSpeechConfig.Builder putSynthesizeSpeechConfigsBuilderIfAbsent(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;
public final TextToSpeechSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>public final TextToSpeechSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextToSpeechSettings.Builder>Copyright © 2025 Google LLC. All rights reserved.