public final class BatchRecognizeFileResult extends com.google.protobuf.GeneratedMessageV3 implements BatchRecognizeFileResultOrBuilder
Final results for a single file.Protobuf type
google.cloud.speech.v2.BatchRecognizeFileResult| Modifier and Type | Class and Description |
|---|---|
static class |
BatchRecognizeFileResult.Builder
Final results for a single file.
|
static class |
BatchRecognizeFileResult.ResultCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_STORAGE_RESULT_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
INLINE_RESULT_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
TRANSCRIPT_FIELD_NUMBER |
static int |
URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CloudStorageResult |
getCloudStorageResult()
Recognition results written to Cloud Storage.
|
CloudStorageResultOrBuilder |
getCloudStorageResultOrBuilder()
Recognition results written to Cloud Storage.
|
static BatchRecognizeFileResult |
getDefaultInstance() |
BatchRecognizeFileResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.rpc.Status |
getError()
Error if one was encountered.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Error if one was encountered.
|
InlineResult |
getInlineResult()
Recognition results.
|
InlineResultOrBuilder |
getInlineResultOrBuilder()
Recognition results.
|
RecognitionResponseMetadata |
getMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3; |
RecognitionResponseMetadataOrBuilder |
getMetadataOrBuilder()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3; |
com.google.protobuf.Parser<BatchRecognizeFileResult> |
getParserForType() |
BatchRecognizeFileResult.ResultCase |
getResultCase() |
int |
getSerializedSize() |
BatchRecognizeResults |
getTranscript()
Deprecated.
google.cloud.speech.v2.BatchRecognizeFileResult.transcript is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=1357
|
BatchRecognizeResultsOrBuilder |
getTranscriptOrBuilder()
Deprecated.
|
String |
getUri()
Deprecated.
google.cloud.speech.v2.BatchRecognizeFileResult.uri is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=1354
|
com.google.protobuf.ByteString |
getUriBytes()
Deprecated.
google.cloud.speech.v2.BatchRecognizeFileResult.uri is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=1354
|
boolean |
hasCloudStorageResult()
Recognition results written to Cloud Storage.
|
boolean |
hasError()
Error if one was encountered.
|
int |
hashCode() |
boolean |
hasInlineResult()
Recognition results.
|
boolean |
hasMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3; |
boolean |
hasTranscript()
Deprecated.
google.cloud.speech.v2.BatchRecognizeFileResult.transcript is deprecated. See
google/cloud/speech/v2/cloud_speech.proto;l=1357
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BatchRecognizeFileResult.Builder |
newBuilder() |
static BatchRecognizeFileResult.Builder |
newBuilder(BatchRecognizeFileResult prototype) |
BatchRecognizeFileResult.Builder |
newBuilderForType() |
protected BatchRecognizeFileResult.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BatchRecognizeFileResult |
parseDelimitedFrom(InputStream input) |
static BatchRecognizeFileResult |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeFileResult |
parseFrom(byte[] data) |
static BatchRecognizeFileResult |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeFileResult |
parseFrom(ByteBuffer data) |
static BatchRecognizeFileResult |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeFileResult |
parseFrom(com.google.protobuf.ByteString data) |
static BatchRecognizeFileResult |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeFileResult |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BatchRecognizeFileResult |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeFileResult |
parseFrom(InputStream input) |
static BatchRecognizeFileResult |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BatchRecognizeFileResult> |
parser() |
BatchRecognizeFileResult.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ERROR_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int CLOUD_STORAGE_RESULT_FIELD_NUMBER
public static final int INLINE_RESULT_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
public static final int TRANSCRIPT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public BatchRecognizeFileResult.ResultCase getResultCase()
getResultCase in interface BatchRecognizeFileResultOrBuilderpublic boolean hasError()
Error if one was encountered.
.google.rpc.Status error = 2;hasError in interface BatchRecognizeFileResultOrBuilderpublic com.google.rpc.Status getError()
Error if one was encountered.
.google.rpc.Status error = 2;getError in interface BatchRecognizeFileResultOrBuilderpublic com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Error if one was encountered.
.google.rpc.Status error = 2;getErrorOrBuilder in interface BatchRecognizeFileResultOrBuilderpublic boolean hasMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;hasMetadata in interface BatchRecognizeFileResultOrBuilderpublic RecognitionResponseMetadata getMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;getMetadata in interface BatchRecognizeFileResultOrBuilderpublic RecognitionResponseMetadataOrBuilder getMetadataOrBuilder()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;getMetadataOrBuilder in interface BatchRecognizeFileResultOrBuilderpublic 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;hasCloudStorageResult in interface BatchRecognizeFileResultOrBuilderpublic 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;getCloudStorageResult in interface BatchRecognizeFileResultOrBuilderpublic 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;getCloudStorageResultOrBuilder in interface BatchRecognizeFileResultOrBuilderpublic 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;hasInlineResult in interface BatchRecognizeFileResultOrBuilderpublic 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;getInlineResult in interface BatchRecognizeFileResultOrBuilderpublic 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;getInlineResultOrBuilder in interface BatchRecognizeFileResultOrBuilder@Deprecated public String getUri()
Deprecated. Use `cloud_storage_result.native_format_uri` instead.
string uri = 1 [deprecated = true];getUri in interface BatchRecognizeFileResultOrBuilder@Deprecated public com.google.protobuf.ByteString getUriBytes()
Deprecated. Use `cloud_storage_result.native_format_uri` instead.
string uri = 1 [deprecated = true];getUriBytes in interface BatchRecognizeFileResultOrBuilder@Deprecated public boolean hasTranscript()
Deprecated. Use `inline_result.transcript` instead.
.google.cloud.speech.v2.BatchRecognizeResults transcript = 4 [deprecated = true];hasTranscript in interface BatchRecognizeFileResultOrBuilder@Deprecated public BatchRecognizeResults getTranscript()
Deprecated. Use `inline_result.transcript` instead.
.google.cloud.speech.v2.BatchRecognizeResults transcript = 4 [deprecated = true];getTranscript in interface BatchRecognizeFileResultOrBuilder@Deprecated public BatchRecognizeResultsOrBuilder getTranscriptOrBuilder()
Deprecated. Use `inline_result.transcript` instead.
.google.cloud.speech.v2.BatchRecognizeResults transcript = 4 [deprecated = true];getTranscriptOrBuilder in interface BatchRecognizeFileResultOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BatchRecognizeFileResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeFileResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeFileResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeFileResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeFileResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeFileResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeFileResult parseFrom(InputStream input) throws IOException
IOExceptionpublic static BatchRecognizeFileResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchRecognizeFileResult parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BatchRecognizeFileResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchRecognizeFileResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BatchRecognizeFileResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BatchRecognizeFileResult.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BatchRecognizeFileResult.Builder newBuilder()
public static BatchRecognizeFileResult.Builder newBuilder(BatchRecognizeFileResult prototype)
public BatchRecognizeFileResult.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BatchRecognizeFileResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BatchRecognizeFileResult getDefaultInstance()
public static com.google.protobuf.Parser<BatchRecognizeFileResult> parser()
public com.google.protobuf.Parser<BatchRecognizeFileResult> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BatchRecognizeFileResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.