public final class AudioProcessingConfig extends GeneratedMessage implements AudioProcessingConfigOrBuilder
Configuration for how the input and output audio should be processed and
delivered.
Protobuf type google.cloud.ces.v1.AudioProcessingConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AMBIENT_SOUND_CONFIG_FIELD_NUMBER
public static final int AMBIENT_SOUND_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
BARGE_IN_CONFIG_FIELD_NUMBER
public static final int BARGE_IN_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INACTIVITY_TIMEOUT_FIELD_NUMBER
public static final int INACTIVITY_TIMEOUT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SYNTHESIZE_SPEECH_CONFIGS_FIELD_NUMBER
public static final int SYNTHESIZE_SPEECH_CONFIGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AudioProcessingConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AudioProcessingConfig.Builder newBuilder()
newBuilder(AudioProcessingConfig prototype)
public static AudioProcessingConfig.Builder newBuilder(AudioProcessingConfig prototype)
public static AudioProcessingConfig parseDelimitedFrom(InputStream input)
public static AudioProcessingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AudioProcessingConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AudioProcessingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AudioProcessingConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudioProcessingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudioProcessingConfig parseFrom(CodedInputStream input)
public static AudioProcessingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AudioProcessingConfig parseFrom(InputStream input)
public static AudioProcessingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AudioProcessingConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AudioProcessingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AudioProcessingConfig> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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];
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];
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];
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];
getDefaultInstanceForType()
public AudioProcessingConfig getDefaultInstanceForType()
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.
|
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];
getParserForType()
public Parser<AudioProcessingConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSynthesizeSpeechConfigs() (deprecated)
public Map<String,SynthesizeSpeechConfig> getSynthesizeSpeechConfigs()
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];
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];
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
|
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AudioProcessingConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AudioProcessingConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AudioProcessingConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides