Package com.google.cloud.speech.v1
Interface LongRunningRecognizeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LongRunningRecognizeRequest,LongRunningRecognizeRequest.Builder
@Generated
public interface LongRunningRecognizeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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]; -
hasOutputConfig
boolean hasOutputConfig()Optional. Specifies an optional destination for the recognition results.
.google.cloud.speech.v1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the outputConfig field is set.
-
getOutputConfig
TranscriptOutputConfig getOutputConfig()Optional. Specifies an optional destination for the recognition results.
.google.cloud.speech.v1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The outputConfig.
-
getOutputConfigOrBuilder
TranscriptOutputConfigOrBuilder getOutputConfigOrBuilder()Optional. Specifies an optional destination for the recognition results.
.google.cloud.speech.v1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];
-