public static final class AudioProcessingConfig.Builder extends GeneratedMessage.Builder<AudioProcessingConfig.Builder> implements AudioProcessingConfigOrBuilderConfiguration for how the input and output audio should be processed and delivered.
Protobuf type google.cloud.ces.v1.AudioProcessingConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AudioProcessingConfig.BuilderImplements
AudioProcessingConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AudioProcessingConfig build()| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig |
|
buildPartial()
public AudioProcessingConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig |
|
clear()
public AudioProcessingConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
clearAmbientSoundConfig()
public AudioProcessingConfig.Builder clearAmbientSoundConfig()Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
.google.cloud.ces.v1.AmbientSoundConfig ambient_sound_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
clearBargeInConfig()
public AudioProcessingConfig.Builder clearBargeInConfig()Optional. Configures the agent behavior for the user barge-in activities.
.google.cloud.ces.v1.BargeInConfig barge_in_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
clearInactivityTimeout()
public AudioProcessingConfig.Builder clearInactivityTimeout()Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
.google.protobuf.Duration inactivity_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
clearSynthesizeSpeechConfigs()
public AudioProcessingConfig.Builder clearSynthesizeSpeechConfigs()| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
containsSynthesizeSpeechConfigs(String key)
public boolean containsSynthesizeSpeechConfigs(String key)Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
map<string, .google.cloud.ces.v1.SynthesizeSpeechConfig> synthesize_speech_configs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAmbientSoundConfig()
public AmbientSoundConfig getAmbientSoundConfig()Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
.google.cloud.ces.v1.AmbientSoundConfig ambient_sound_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AmbientSoundConfig |
The ambientSoundConfig. |
getAmbientSoundConfigBuilder()
public AmbientSoundConfig.Builder getAmbientSoundConfigBuilder()Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
.google.cloud.ces.v1.AmbientSoundConfig ambient_sound_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AmbientSoundConfig.Builder |
|
getAmbientSoundConfigOrBuilder()
public AmbientSoundConfigOrBuilder getAmbientSoundConfigOrBuilder()Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
.google.cloud.ces.v1.AmbientSoundConfig ambient_sound_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AmbientSoundConfigOrBuilder |
|
getBargeInConfig()
public BargeInConfig getBargeInConfig()Optional. Configures the agent behavior for the user barge-in activities.
.google.cloud.ces.v1.BargeInConfig barge_in_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BargeInConfig |
The bargeInConfig. |
getBargeInConfigBuilder()
public BargeInConfig.Builder getBargeInConfigBuilder()Optional. Configures the agent behavior for the user barge-in activities.
.google.cloud.ces.v1.BargeInConfig barge_in_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BargeInConfig.Builder |
|
getBargeInConfigOrBuilder()
public BargeInConfigOrBuilder getBargeInConfigOrBuilder()Optional. Configures the agent behavior for the user barge-in activities.
.google.cloud.ces.v1.BargeInConfig barge_in_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BargeInConfigOrBuilder |
|
getDefaultInstanceForType()
public AudioProcessingConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInactivityTimeout()
public Duration getInactivityTimeout()Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
.google.protobuf.Duration inactivity_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The inactivityTimeout. |
getInactivityTimeoutBuilder()
public Duration.Builder getInactivityTimeoutBuilder()Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
.google.protobuf.Duration inactivity_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getInactivityTimeoutOrBuilder()
public DurationOrBuilder getInactivityTimeoutOrBuilder()Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
.google.protobuf.Duration inactivity_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getMutableSynthesizeSpeechConfigs() (deprecated)
public Map<String,SynthesizeSpeechConfig> getMutableSynthesizeSpeechConfigs()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,SynthesizeSpeechConfig> |
|
getSynthesizeSpeechConfigs() (deprecated)
public Map<String,SynthesizeSpeechConfig> getSynthesizeSpeechConfigs()Use #getSynthesizeSpeechConfigsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,SynthesizeSpeechConfig> |
|
getSynthesizeSpeechConfigsCount()
public int getSynthesizeSpeechConfigsCount()Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
map<string, .google.cloud.ces.v1.SynthesizeSpeechConfig> synthesize_speech_configs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSynthesizeSpeechConfigsMap()
public Map<String,SynthesizeSpeechConfig> getSynthesizeSpeechConfigsMap()Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
map<string, .google.cloud.ces.v1.SynthesizeSpeechConfig> synthesize_speech_configs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,SynthesizeSpeechConfig> |
|
getSynthesizeSpeechConfigsOrDefault(String key, SynthesizeSpeechConfig defaultValue)
public SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrDefault(String key, SynthesizeSpeechConfig defaultValue)Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
map<string, .google.cloud.ces.v1.SynthesizeSpeechConfig> synthesize_speech_configs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
SynthesizeSpeechConfig |
| Returns | |
|---|---|
| Type | Description |
SynthesizeSpeechConfig |
|
getSynthesizeSpeechConfigsOrThrow(String key)
public SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrThrow(String key)Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
map<string, .google.cloud.ces.v1.SynthesizeSpeechConfig> synthesize_speech_configs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SynthesizeSpeechConfig |
|
hasAmbientSoundConfig()
public boolean hasAmbientSoundConfig()Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
.google.cloud.ces.v1.AmbientSoundConfig ambient_sound_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ambientSoundConfig field is set. |
hasBargeInConfig()
public boolean hasBargeInConfig()Optional. Configures the agent behavior for the user barge-in activities.
.google.cloud.ces.v1.BargeInConfig barge_in_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the bargeInConfig field is set. |
hasInactivityTimeout()
public boolean hasInactivityTimeout()Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
.google.protobuf.Duration inactivity_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inactivityTimeout field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAmbientSoundConfig(AmbientSoundConfig value)
public AudioProcessingConfig.Builder mergeAmbientSoundConfig(AmbientSoundConfig value)Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
.google.cloud.ces.v1.AmbientSoundConfig ambient_sound_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AmbientSoundConfig |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
mergeBargeInConfig(BargeInConfig value)
public AudioProcessingConfig.Builder mergeBargeInConfig(BargeInConfig value)Optional. Configures the agent behavior for the user barge-in activities.
.google.cloud.ces.v1.BargeInConfig barge_in_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BargeInConfig |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
mergeFrom(AudioProcessingConfig other)
public AudioProcessingConfig.Builder mergeFrom(AudioProcessingConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
AudioProcessingConfig |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AudioProcessingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AudioProcessingConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
mergeInactivityTimeout(Duration value)
public AudioProcessingConfig.Builder mergeInactivityTimeout(Duration value)Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
.google.protobuf.Duration inactivity_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
putAllSynthesizeSpeechConfigs(Map<String,SynthesizeSpeechConfig> values)
public AudioProcessingConfig.Builder putAllSynthesizeSpeechConfigs(Map<String,SynthesizeSpeechConfig> values)Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
map<string, .google.cloud.ces.v1.SynthesizeSpeechConfig> synthesize_speech_configs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,SynthesizeSpeechConfig> |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
putSynthesizeSpeechConfigs(String key, SynthesizeSpeechConfig value)
public AudioProcessingConfig.Builder putSynthesizeSpeechConfigs(String key, SynthesizeSpeechConfig value)Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
map<string, .google.cloud.ces.v1.SynthesizeSpeechConfig> synthesize_speech_configs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
SynthesizeSpeechConfig |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
putSynthesizeSpeechConfigsBuilderIfAbsent(String key)
public SynthesizeSpeechConfig.Builder putSynthesizeSpeechConfigsBuilderIfAbsent(String key)Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
map<string, .google.cloud.ces.v1.SynthesizeSpeechConfig> synthesize_speech_configs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SynthesizeSpeechConfig.Builder |
|
removeSynthesizeSpeechConfigs(String key)
public AudioProcessingConfig.Builder removeSynthesizeSpeechConfigs(String key)Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig.
If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used.
Note: Language code is case-insensitive.
map<string, .google.cloud.ces.v1.SynthesizeSpeechConfig> synthesize_speech_configs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
setAmbientSoundConfig(AmbientSoundConfig value)
public AudioProcessingConfig.Builder setAmbientSoundConfig(AmbientSoundConfig value)Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
.google.cloud.ces.v1.AmbientSoundConfig ambient_sound_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AmbientSoundConfig |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
setAmbientSoundConfig(AmbientSoundConfig.Builder builderForValue)
public AudioProcessingConfig.Builder setAmbientSoundConfig(AmbientSoundConfig.Builder builderForValue)Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.
.google.cloud.ces.v1.AmbientSoundConfig ambient_sound_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AmbientSoundConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
setBargeInConfig(BargeInConfig value)
public AudioProcessingConfig.Builder setBargeInConfig(BargeInConfig value)Optional. Configures the agent behavior for the user barge-in activities.
.google.cloud.ces.v1.BargeInConfig barge_in_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
BargeInConfig |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
setBargeInConfig(BargeInConfig.Builder builderForValue)
public AudioProcessingConfig.Builder setBargeInConfig(BargeInConfig.Builder builderForValue)Optional. Configures the agent behavior for the user barge-in activities.
.google.cloud.ces.v1.BargeInConfig barge_in_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BargeInConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
setInactivityTimeout(Duration value)
public AudioProcessingConfig.Builder setInactivityTimeout(Duration value)Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
.google.protobuf.Duration inactivity_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|
setInactivityTimeout(Duration.Builder builderForValue)
public AudioProcessingConfig.Builder setInactivityTimeout(Duration.Builder builderForValue)Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
.google.protobuf.Duration inactivity_timeout = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AudioProcessingConfig.Builder |
|