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.
|
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 |
ERROR_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) |
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.
|
RecognitionResponseMetadata |
getMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3; |
RecognitionResponseMetadataOrBuilder |
getMetadataOrBuilder()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3; |
com.google.protobuf.Parser<BatchRecognizeFileResult> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasMetadata()
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3; |
boolean |
hasTranscript()
The transcript for the audio file.
|
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, 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 URI_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int METADATA_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 String getUri()
The Cloud Storage URI to which recognition results were written.
string uri = 1;getUri in interface BatchRecognizeFileResultOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
The Cloud Storage URI to which recognition results were written.
string uri = 1;getUriBytes 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 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;hasTranscript in interface BatchRecognizeFileResultOrBuilderpublic 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;getTranscript in interface BatchRecognizeFileResultOrBuilderpublic 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;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 © 2023 Google LLC. All rights reserved.