Interface BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfigOrBuilder (4.87.0)

public static interface BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableCxProactiveProcessing()

public abstract boolean getEnableCxProactiveProcessing()

Optional. Whether to enable CX proactive processing.

bool enable_cx_proactive_processing = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableCxProactiveProcessing.

getEnableStreamingSynthesize()

public abstract boolean getEnableStreamingSynthesize()

Optional. If true, Dialogflow will stream the audio bytes from Cloud TTS for speech synthesis using the StreamingSynthesize api.

bool enable_streaming_synthesize = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableStreamingSynthesize.

getInputAudioEncoding()

public abstract AudioEncoding getInputAudioEncoding()

Required. The encoding of input audio.

.google.cloud.dialogflow.v2beta1.AudioEncoding input_audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudioEncoding

The inputAudioEncoding.

getInputAudioEncodingValue()

public abstract int getInputAudioEncodingValue()

Required. The encoding of input audio.

.google.cloud.dialogflow.v2beta1.AudioEncoding input_audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for inputAudioEncoding.

getInputAudioSampleRateHertz()

public abstract int getInputAudioSampleRateHertz()

Required. The sample rate of input audio.

int32 input_audio_sample_rate_hertz = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The inputAudioSampleRateHertz.

getOutputAudioEncoding()

public abstract OutputAudioEncoding getOutputAudioEncoding()

Required. The encoding of output audio.

.google.cloud.dialogflow.v2beta1.OutputAudioEncoding output_audio_encoding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputAudioEncoding

The outputAudioEncoding.

getOutputAudioEncodingValue()

public abstract int getOutputAudioEncodingValue()

Required. The encoding of output audio.

.google.cloud.dialogflow.v2beta1.OutputAudioEncoding output_audio_encoding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for outputAudioEncoding.

getOutputAudioSampleRateHertz()

public abstract int getOutputAudioSampleRateHertz()

Required. The sample rate of output audio.

int32 output_audio_sample_rate_hertz = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The outputAudioSampleRateHertz.