Package com.google.cloud.speech.v1
Interface RecognizeRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecognizeRequest
,RecognizeRequest.Builder
public interface RecognizeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecognitionAudio
getAudio()
Required.RecognitionAudioOrBuilder
getAudioOrBuilder()
Required.RecognitionConfig
getConfig()
Required.RecognitionConfigOrBuilder
getConfigOrBuilder()
Required.boolean
hasAudio()
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. Provides information to the recognizer that specifies how to process the request.
.google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the config field is set.
-
getConfig
RecognitionConfig getConfig()
Required. Provides information to the recognizer that specifies how to process the request.
.google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The config.
-
getConfigOrBuilder
RecognitionConfigOrBuilder getConfigOrBuilder()
Required. Provides information to the recognizer that specifies how to process the request.
.google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasAudio
boolean hasAudio()
Required. The audio data to be recognized.
.google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the audio field is set.
-
getAudio
RecognitionAudio getAudio()
Required. The audio data to be recognized.
.google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The audio.
-
getAudioOrBuilder
RecognitionAudioOrBuilder getAudioOrBuilder()
Required. The audio data to be recognized.
.google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
-
-