public final class BatchRecognizeResults extends com.google.protobuf.GeneratedMessageV3 implements BatchRecognizeResultsOrBuilder
Output type for Cloud Storage of BatchRecognize transcripts. Though this proto isn't returned in this API anywhere, the Cloud Storage transcripts will be this proto serialized and should be parsed as such.Protobuf type
google.cloud.speech.v2.BatchRecognizeResults| Modifier and Type | Class and Description |
|---|---|
static class |
BatchRecognizeResults.Builder
Output type for Cloud Storage of BatchRecognize transcripts.
|
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 |
METADATA_FIELD_NUMBER |
static int |
RESULTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static BatchRecognizeResults |
getDefaultInstance() |
BatchRecognizeResults |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RecognitionResponseMetadata |
getMetadata()
Metadata about the recognition.
|
RecognitionResponseMetadataOrBuilder |
getMetadataOrBuilder()
Metadata about the recognition.
|
com.google.protobuf.Parser<BatchRecognizeResults> |
getParserForType() |
SpeechRecognitionResult |
getResults(int index)
Sequential list of transcription results corresponding to sequential
portions of audio.
|
int |
getResultsCount()
Sequential list of transcription results corresponding to sequential
portions of audio.
|
List<SpeechRecognitionResult> |
getResultsList()
Sequential list of transcription results corresponding to sequential
portions of audio.
|
SpeechRecognitionResultOrBuilder |
getResultsOrBuilder(int index)
Sequential list of transcription results corresponding to sequential
portions of audio.
|
List<? extends SpeechRecognitionResultOrBuilder> |
getResultsOrBuilderList()
Sequential list of transcription results corresponding to sequential
portions of audio.
|
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasMetadata()
Metadata about the recognition.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BatchRecognizeResults.Builder |
newBuilder() |
static BatchRecognizeResults.Builder |
newBuilder(BatchRecognizeResults prototype) |
BatchRecognizeResults.Builder |
newBuilderForType() |
protected BatchRecognizeResults.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BatchRecognizeResults |
parseDelimitedFrom(InputStream input) |
static BatchRecognizeResults |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeResults |
parseFrom(byte[] data) |
static BatchRecognizeResults |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeResults |
parseFrom(ByteBuffer data) |
static BatchRecognizeResults |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeResults |
parseFrom(com.google.protobuf.ByteString data) |
static BatchRecognizeResults |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeResults |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BatchRecognizeResults |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchRecognizeResults |
parseFrom(InputStream input) |
static BatchRecognizeResults |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BatchRecognizeResults> |
parser() |
BatchRecognizeResults.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 RESULTS_FIELD_NUMBER
public static final int METADATA_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 List<SpeechRecognitionResult> getResultsList()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;getResultsList in interface BatchRecognizeResultsOrBuilderpublic List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;getResultsOrBuilderList in interface BatchRecognizeResultsOrBuilderpublic int getResultsCount()
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;getResultsCount in interface BatchRecognizeResultsOrBuilderpublic SpeechRecognitionResult getResults(int index)
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;getResults in interface BatchRecognizeResultsOrBuilderpublic SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)
Sequential list of transcription results corresponding to sequential portions of audio.
repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;getResultsOrBuilder in interface BatchRecognizeResultsOrBuilderpublic boolean hasMetadata()
Metadata about the recognition.
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;hasMetadata in interface BatchRecognizeResultsOrBuilderpublic RecognitionResponseMetadata getMetadata()
Metadata about the recognition.
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;getMetadata in interface BatchRecognizeResultsOrBuilderpublic RecognitionResponseMetadataOrBuilder getMetadataOrBuilder()
Metadata about the recognition.
.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;getMetadataOrBuilder in interface BatchRecognizeResultsOrBuilderpublic 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 BatchRecognizeResults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeResults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeResults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeResults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeResults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchRecognizeResults parseFrom(InputStream input) throws IOException
IOExceptionpublic static BatchRecognizeResults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchRecognizeResults parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BatchRecognizeResults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchRecognizeResults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BatchRecognizeResults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BatchRecognizeResults.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BatchRecognizeResults.Builder newBuilder()
public static BatchRecognizeResults.Builder newBuilder(BatchRecognizeResults prototype)
public BatchRecognizeResults.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BatchRecognizeResults.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BatchRecognizeResults getDefaultInstance()
public static com.google.protobuf.Parser<BatchRecognizeResults> parser()
public com.google.protobuf.Parser<BatchRecognizeResults> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BatchRecognizeResults getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.