- 4.87.0 (latest)
- 4.86.0
- 4.84.0
- 4.82.0
- 4.81.0
- 4.80.0
- 4.79.0
- 4.78.0
- 4.76.0
- 4.74.0
- 4.73.0
- 4.70.0
- 4.69.0
- 4.68.0
- 4.66.0
- 4.65.0
- 4.64.0
- 4.63.0
- 4.62.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder extends GeneratedMessageV3.Builder<BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder> implements BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfigOrBuilderThe config about how to process the audio for a voice-based session.
Protobuf type
google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
build()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig build()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig |
|
buildPartial()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig |
|
clear()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
clearEnableCxProactiveProcessing()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clearEnableCxProactiveProcessing()Optional. Whether to enable CX proactive processing.
bool enable_cx_proactive_processing = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
clearEnableStreamingSynthesize()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clearEnableStreamingSynthesize()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 |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
clearInputAudioEncoding()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clearInputAudioEncoding()Required. The encoding of input audio.
.google.cloud.dialogflow.v2beta1.AudioEncoding input_audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
clearInputAudioSampleRateHertz()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clearInputAudioSampleRateHertz()Required. The sample rate of input audio.
int32 input_audio_sample_rate_hertz = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
clearOutputAudioEncoding()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clearOutputAudioEncoding()Required. The encoding of output audio.
.google.cloud.dialogflow.v2beta1.OutputAudioEncoding output_audio_encoding = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
clearOutputAudioSampleRateHertz()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clearOutputAudioSampleRateHertz()Required. The sample rate of output audio.
int32 output_audio_sample_rate_hertz = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
clone()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
getDefaultInstanceForType()
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnableCxProactiveProcessing()
public 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig other)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder mergeFrom(BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
setEnableCxProactiveProcessing(boolean value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setEnableCxProactiveProcessing(boolean value)Optional. Whether to enable CX proactive processing.
bool enable_cx_proactive_processing = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableCxProactiveProcessing to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
setEnableStreamingSynthesize(boolean value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setEnableStreamingSynthesize(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableStreamingSynthesize to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
setInputAudioEncoding(AudioEncoding value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setInputAudioEncoding(AudioEncoding value)Required. The encoding of input audio.
.google.cloud.dialogflow.v2beta1.AudioEncoding input_audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AudioEncodingThe inputAudioEncoding to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
setInputAudioEncodingValue(int value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setInputAudioEncodingValue(int value)Required. The encoding of input audio.
.google.cloud.dialogflow.v2beta1.AudioEncoding input_audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for inputAudioEncoding to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
setInputAudioSampleRateHertz(int value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setInputAudioSampleRateHertz(int value)Required. The sample rate of input audio.
int32 input_audio_sample_rate_hertz = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe inputAudioSampleRateHertz to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
setOutputAudioEncoding(OutputAudioEncoding value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setOutputAudioEncoding(OutputAudioEncoding value)Required. The encoding of output audio.
.google.cloud.dialogflow.v2beta1.OutputAudioEncoding output_audio_encoding = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
OutputAudioEncodingThe outputAudioEncoding to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
setOutputAudioEncodingValue(int value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setOutputAudioEncodingValue(int value)Required. The encoding of output audio.
.google.cloud.dialogflow.v2beta1.OutputAudioEncoding output_audio_encoding = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for outputAudioEncoding to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
setOutputAudioSampleRateHertz(int value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setOutputAudioSampleRateHertz(int value)Required. The sample rate of output audio.
int32 output_audio_sample_rate_hertz = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe outputAudioSampleRateHertz to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder |
|