public interface AudioInputOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getAudio()
The natural language speech audio to be processed.
|
InputAudioConfig |
getConfig()
Required.
|
InputAudioConfigOrBuilder |
getConfigOrBuilder()
Required.
|
boolean |
hasConfig()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasConfig()
Required. Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.cx.v3.InputAudioConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
InputAudioConfig getConfig()
Required. Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.cx.v3.InputAudioConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
InputAudioConfigOrBuilder getConfigOrBuilder()
Required. Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.cx.v3.InputAudioConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
com.google.protobuf.ByteString getAudio()
The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.
bytes audio = 2;Copyright © 2022 Google LLC. All rights reserved.