public final class RecognitionOutputConfig extends com.google.protobuf.GeneratedMessageV3 implements RecognitionOutputConfigOrBuilder
Configuration options for the output(s) of recognition.Protobuf type
google.cloud.speech.v2.RecognitionOutputConfig| Modifier and Type | Class and Description |
|---|---|
static class |
RecognitionOutputConfig.Builder
Configuration options for the output(s) of recognition.
|
static class |
RecognitionOutputConfig.OutputCase |
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 |
GCS_OUTPUT_CONFIG_FIELD_NUMBER |
static int |
INLINE_RESPONSE_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RecognitionOutputConfig |
getDefaultInstance() |
RecognitionOutputConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GcsOutputConfig |
getGcsOutputConfig()
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
|
GcsOutputConfigOrBuilder |
getGcsOutputConfigOrBuilder()
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
|
InlineOutputConfig |
getInlineResponseConfig()
If this message is populated, recognition results are provided in the
[BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
message of the Operation when completed.
|
InlineOutputConfigOrBuilder |
getInlineResponseConfigOrBuilder()
If this message is populated, recognition results are provided in the
[BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
message of the Operation when completed.
|
RecognitionOutputConfig.OutputCase |
getOutputCase() |
com.google.protobuf.Parser<RecognitionOutputConfig> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasGcsOutputConfig()
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
|
int |
hashCode() |
boolean |
hasInlineResponseConfig()
If this message is populated, recognition results are provided in the
[BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
message of the Operation when completed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RecognitionOutputConfig.Builder |
newBuilder() |
static RecognitionOutputConfig.Builder |
newBuilder(RecognitionOutputConfig prototype) |
RecognitionOutputConfig.Builder |
newBuilderForType() |
protected RecognitionOutputConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RecognitionOutputConfig |
parseDelimitedFrom(InputStream input) |
static RecognitionOutputConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecognitionOutputConfig |
parseFrom(byte[] data) |
static RecognitionOutputConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecognitionOutputConfig |
parseFrom(ByteBuffer data) |
static RecognitionOutputConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecognitionOutputConfig |
parseFrom(com.google.protobuf.ByteString data) |
static RecognitionOutputConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecognitionOutputConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RecognitionOutputConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecognitionOutputConfig |
parseFrom(InputStream input) |
static RecognitionOutputConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RecognitionOutputConfig> |
parser() |
RecognitionOutputConfig.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 GCS_OUTPUT_CONFIG_FIELD_NUMBER
public static final int INLINE_RESPONSE_CONFIG_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 RecognitionOutputConfig.OutputCase getOutputCase()
getOutputCase in interface RecognitionOutputConfigOrBuilderpublic boolean hasGcsOutputConfig()
If this message is populated, recognition results are written to the provided Google Cloud Storage URI.
.google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;hasGcsOutputConfig in interface RecognitionOutputConfigOrBuilderpublic GcsOutputConfig getGcsOutputConfig()
If this message is populated, recognition results are written to the provided Google Cloud Storage URI.
.google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;getGcsOutputConfig in interface RecognitionOutputConfigOrBuilderpublic GcsOutputConfigOrBuilder getGcsOutputConfigOrBuilder()
If this message is populated, recognition results are written to the provided Google Cloud Storage URI.
.google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;getGcsOutputConfigOrBuilder in interface RecognitionOutputConfigOrBuilderpublic boolean hasInlineResponseConfig()
If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed. This is only supported when calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;hasInlineResponseConfig in interface RecognitionOutputConfigOrBuilderpublic InlineOutputConfig getInlineResponseConfig()
If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed. This is only supported when calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;getInlineResponseConfig in interface RecognitionOutputConfigOrBuilderpublic InlineOutputConfigOrBuilder getInlineResponseConfigOrBuilder()
If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed. This is only supported when calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;getInlineResponseConfigOrBuilder in interface RecognitionOutputConfigOrBuilderpublic 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 RecognitionOutputConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionOutputConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionOutputConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionOutputConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionOutputConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecognitionOutputConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static RecognitionOutputConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RecognitionOutputConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RecognitionOutputConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RecognitionOutputConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RecognitionOutputConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RecognitionOutputConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RecognitionOutputConfig.Builder newBuilder()
public static RecognitionOutputConfig.Builder newBuilder(RecognitionOutputConfig prototype)
public RecognitionOutputConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RecognitionOutputConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RecognitionOutputConfig getDefaultInstance()
public static com.google.protobuf.Parser<RecognitionOutputConfig> parser()
public com.google.protobuf.Parser<RecognitionOutputConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RecognitionOutputConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.