Package com.google.cloud.speech.v2
Interface BatchRecognizeFileResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchRecognizeFileResult
,BatchRecognizeFileResult.Builder
public interface BatchRecognizeFileResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.rpc.Status
getError()
Error if one was encountered.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Error if one was encountered.RecognitionResponseMetadata
getMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
RecognitionResponseMetadataOrBuilder
getMetadataOrBuilder()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
BatchRecognizeResults
getTranscript()
The transcript for the audio file.BatchRecognizeResultsOrBuilder
getTranscriptOrBuilder()
The transcript for the audio file.String
getUri()
The Cloud Storage URI to which recognition results were written.com.google.protobuf.ByteString
getUriBytes()
The Cloud Storage URI to which recognition results were written.boolean
hasError()
Error if one was encountered.boolean
hasMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
boolean
hasTranscript()
The transcript for the audio file.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUri
String getUri()
The Cloud Storage URI to which recognition results were written.
string uri = 1;
- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
The Cloud Storage URI to which recognition results were written.
string uri = 1;
- Returns:
- The bytes for uri.
-
hasError
boolean hasError()
Error if one was encountered.
.google.rpc.Status error = 2;
- Returns:
- Whether the error field is set.
-
getError
com.google.rpc.Status getError()
Error if one was encountered.
.google.rpc.Status error = 2;
- Returns:
- The error.
-
getErrorOrBuilder
com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Error if one was encountered.
.google.rpc.Status error = 2;
-
hasMetadata
boolean hasMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
- Returns:
- Whether the metadata field is set.
-
getMetadata
RecognitionResponseMetadata getMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
- Returns:
- The metadata.
-
getMetadataOrBuilder
RecognitionResponseMetadataOrBuilder getMetadataOrBuilder()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
-
hasTranscript
boolean hasTranscript()
The transcript for the audio file. This is populated only when [InlineOutputConfig][google.cloud.speech.v2.InlineOutputConfig] is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
.google.cloud.speech.v2.BatchRecognizeResults transcript = 4;
- Returns:
- Whether the transcript field is set.
-
getTranscript
BatchRecognizeResults getTranscript()
The transcript for the audio file. This is populated only when [InlineOutputConfig][google.cloud.speech.v2.InlineOutputConfig] is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
.google.cloud.speech.v2.BatchRecognizeResults transcript = 4;
- Returns:
- The transcript.
-
getTranscriptOrBuilder
BatchRecognizeResultsOrBuilder getTranscriptOrBuilder()
The transcript for the audio file. This is populated only when [InlineOutputConfig][google.cloud.speech.v2.InlineOutputConfig] is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
.google.cloud.speech.v2.BatchRecognizeResults transcript = 4;
-
-