Interface AudioProcessingConfigOrBuilder (0.1.0)

public interface AudioProcessingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsSynthesizeSpeechConfigs(String key)

public abstract 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 abstract 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.

getAmbientSoundConfigOrBuilder()

public abstract 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 abstract 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.

getBargeInConfigOrBuilder()

public abstract 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

getInactivityTimeout()

public abstract 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.

getInactivityTimeoutOrBuilder()

public abstract 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

getSynthesizeSpeechConfigs() (deprecated)

public abstract Map<String,SynthesizeSpeechConfig> getSynthesizeSpeechConfigs()
Returns
Type Description
Map<String,SynthesizeSpeechConfig>

getSynthesizeSpeechConfigsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.