Interface AudioInputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AudioInput
,AudioInput.Builder
public interface AudioInputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getAudio()
Required.InputAudioConfig
getConfig()
Required.InputAudioConfigOrBuilder
getConfigOrBuilder()
Required.boolean
hasConfig()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasConfig
boolean hasConfig()
Required. Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig config = 1;
- Returns:
- Whether the config field is set.
-
getConfig
InputAudioConfig getConfig()
Required. Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig config = 1;
- Returns:
- The config.
-
getConfigOrBuilder
InputAudioConfigOrBuilder getConfigOrBuilder()
Required. Instructs the speech recognizer how to process the speech audio.
.google.cloud.dialogflow.v2beta1.InputAudioConfig config = 1;
-
getAudio
com.google.protobuf.ByteString getAudio()
Required. The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes for virtual agent interactions.
bytes audio = 2;
- Returns:
- The audio.
-
-