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
@Generated
public interface BatchRecognizeFileResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRecognition results written to Cloud Storage.Recognition results written to Cloud Storage.getError()Error if one was encountered.Error if one was encountered.Recognition results.Recognition results..google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;Deprecated.google.cloud.speech.v2.BatchRecognizeFileResult.transcript is deprecated.Deprecated.getUri()Deprecated.google.cloud.speech.v2.BatchRecognizeFileResult.uri is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.speech.v2.BatchRecognizeFileResult.uri is deprecated.booleanRecognition results written to Cloud Storage.booleanhasError()Error if one was encountered.booleanRecognition results.boolean.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;booleanDeprecated.google.cloud.speech.v2.BatchRecognizeFileResult.transcript is deprecated.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
-
hasError
boolean hasError()Error if one was encountered.
.google.rpc.Status error = 2;- Returns:
- Whether the error field is set.
-
getError
Status getError()Error if one was encountered.
.google.rpc.Status error = 2;- Returns:
- The error.
-
getErrorOrBuilder
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; -
hasCloudStorageResult
boolean hasCloudStorageResult()Recognition results written to Cloud Storage. This is populated only when [GcsOutputConfig][google.cloud.speech.v2.GcsOutputConfig] is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
.google.cloud.speech.v2.CloudStorageResult cloud_storage_result = 5;- Returns:
- Whether the cloudStorageResult field is set.
-
getCloudStorageResult
CloudStorageResult getCloudStorageResult()Recognition results written to Cloud Storage. This is populated only when [GcsOutputConfig][google.cloud.speech.v2.GcsOutputConfig] is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
.google.cloud.speech.v2.CloudStorageResult cloud_storage_result = 5;- Returns:
- The cloudStorageResult.
-
getCloudStorageResultOrBuilder
CloudStorageResultOrBuilder getCloudStorageResultOrBuilder()Recognition results written to Cloud Storage. This is populated only when [GcsOutputConfig][google.cloud.speech.v2.GcsOutputConfig] is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
.google.cloud.speech.v2.CloudStorageResult cloud_storage_result = 5; -
hasInlineResult
boolean hasInlineResult()Recognition results. 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.InlineResult inline_result = 6;- Returns:
- Whether the inlineResult field is set.
-
getInlineResult
InlineResult getInlineResult()Recognition results. 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.InlineResult inline_result = 6;- Returns:
- The inlineResult.
-
getInlineResultOrBuilder
InlineResultOrBuilder getInlineResultOrBuilder()Recognition results. 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.InlineResult inline_result = 6; -
getUri
Deprecated.google.cloud.speech.v2.BatchRecognizeFileResult.uri is deprecated. See google/cloud/speech/v2/cloud_speech.proto;l=1494Deprecated. Use `cloud_storage_result.native_format_uri` instead.
string uri = 1 [deprecated = true];- Returns:
- The uri.
-
getUriBytes
Deprecated.google.cloud.speech.v2.BatchRecognizeFileResult.uri is deprecated. See google/cloud/speech/v2/cloud_speech.proto;l=1494Deprecated. Use `cloud_storage_result.native_format_uri` instead.
string uri = 1 [deprecated = true];- Returns:
- The bytes for uri.
-
hasTranscript
Deprecated.google.cloud.speech.v2.BatchRecognizeFileResult.transcript is deprecated. See google/cloud/speech/v2/cloud_speech.proto;l=1497Deprecated. Use `inline_result.transcript` instead.
.google.cloud.speech.v2.BatchRecognizeResults transcript = 4 [deprecated = true];- Returns:
- Whether the transcript field is set.
-
getTranscript
Deprecated.google.cloud.speech.v2.BatchRecognizeFileResult.transcript is deprecated. See google/cloud/speech/v2/cloud_speech.proto;l=1497Deprecated. Use `inline_result.transcript` instead.
.google.cloud.speech.v2.BatchRecognizeResults transcript = 4 [deprecated = true];- Returns:
- The transcript.
-
getTranscriptOrBuilder
Deprecated.Deprecated. Use `inline_result.transcript` instead.
.google.cloud.speech.v2.BatchRecognizeResults transcript = 4 [deprecated = true]; -
getResultCase
BatchRecognizeFileResult.ResultCase getResultCase()
-