public static final class RecognitionOutputConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder> implements RecognitionOutputConfigOrBuilder
Configuration options for the output(s) of recognition.Protobuf type
google.cloud.speech.v2.RecognitionOutputConfig| Modifier and Type | Method and Description |
|---|---|
RecognitionOutputConfig |
build() |
RecognitionOutputConfig |
buildPartial() |
RecognitionOutputConfig.Builder |
clear() |
RecognitionOutputConfig.Builder |
clearGcsOutputConfig()
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
|
RecognitionOutputConfig.Builder |
clearInlineResponseConfig()
If this message is populated, recognition results are provided in the
[BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
message of the Operation when completed.
|
RecognitionOutputConfig.Builder |
clearOutput() |
RecognitionOutputConfig.Builder |
clearOutputFormatConfig()
Optional.
|
RecognitionOutputConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GcsOutputConfig |
getGcsOutputConfig()
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
|
GcsOutputConfig.Builder |
getGcsOutputConfigBuilder()
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.
|
InlineOutputConfig.Builder |
getInlineResponseConfigBuilder()
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() |
OutputFormatConfig |
getOutputFormatConfig()
Optional.
|
OutputFormatConfig.Builder |
getOutputFormatConfigBuilder()
Optional.
|
OutputFormatConfigOrBuilder |
getOutputFormatConfigOrBuilder()
Optional.
|
boolean |
hasGcsOutputConfig()
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
|
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.
|
boolean |
hasOutputFormatConfig()
Optional.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RecognitionOutputConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RecognitionOutputConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
RecognitionOutputConfig.Builder |
mergeFrom(RecognitionOutputConfig other) |
RecognitionOutputConfig.Builder |
mergeGcsOutputConfig(GcsOutputConfig value)
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
|
RecognitionOutputConfig.Builder |
mergeInlineResponseConfig(InlineOutputConfig value)
If this message is populated, recognition results are provided in the
[BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
message of the Operation when completed.
|
RecognitionOutputConfig.Builder |
mergeOutputFormatConfig(OutputFormatConfig value)
Optional.
|
RecognitionOutputConfig.Builder |
setGcsOutputConfig(GcsOutputConfig.Builder builderForValue)
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
|
RecognitionOutputConfig.Builder |
setGcsOutputConfig(GcsOutputConfig value)
If this message is populated, recognition results are written to the
provided Google Cloud Storage URI.
|
RecognitionOutputConfig.Builder |
setInlineResponseConfig(InlineOutputConfig.Builder builderForValue)
If this message is populated, recognition results are provided in the
[BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
message of the Operation when completed.
|
RecognitionOutputConfig.Builder |
setInlineResponseConfig(InlineOutputConfig value)
If this message is populated, recognition results are provided in the
[BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
message of the Operation when completed.
|
RecognitionOutputConfig.Builder |
setOutputFormatConfig(OutputFormatConfig.Builder builderForValue)
Optional.
|
RecognitionOutputConfig.Builder |
setOutputFormatConfig(OutputFormatConfig value)
Optional.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder>public RecognitionOutputConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder>public RecognitionOutputConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RecognitionOutputConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RecognitionOutputConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RecognitionOutputConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognitionOutputConfig.Builder>public RecognitionOutputConfig.Builder mergeFrom(RecognitionOutputConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder>public RecognitionOutputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecognitionOutputConfig.Builder>IOExceptionpublic RecognitionOutputConfig.OutputCase getOutputCase()
getOutputCase in interface RecognitionOutputConfigOrBuilderpublic RecognitionOutputConfig.Builder clearOutput()
public 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 RecognitionOutputConfig.Builder setGcsOutputConfig(GcsOutputConfig value)
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;public RecognitionOutputConfig.Builder setGcsOutputConfig(GcsOutputConfig.Builder builderForValue)
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;public RecognitionOutputConfig.Builder mergeGcsOutputConfig(GcsOutputConfig value)
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;public RecognitionOutputConfig.Builder clearGcsOutputConfig()
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;public GcsOutputConfig.Builder getGcsOutputConfigBuilder()
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;public 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 RecognitionOutputConfig.Builder setInlineResponseConfig(InlineOutputConfig value)
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;public RecognitionOutputConfig.Builder setInlineResponseConfig(InlineOutputConfig.Builder builderForValue)
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;public RecognitionOutputConfig.Builder mergeInlineResponseConfig(InlineOutputConfig value)
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;public RecognitionOutputConfig.Builder clearInlineResponseConfig()
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;public InlineOutputConfig.Builder getInlineResponseConfigBuilder()
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;public 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 boolean hasOutputFormatConfig()
Optional. Configuration for the format of the results stored to `output`. If unspecified transcripts will be written in the `NATIVE` format only.
.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];
hasOutputFormatConfig in interface RecognitionOutputConfigOrBuilderpublic OutputFormatConfig getOutputFormatConfig()
Optional. Configuration for the format of the results stored to `output`. If unspecified transcripts will be written in the `NATIVE` format only.
.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getOutputFormatConfig in interface RecognitionOutputConfigOrBuilderpublic RecognitionOutputConfig.Builder setOutputFormatConfig(OutputFormatConfig value)
Optional. Configuration for the format of the results stored to `output`. If unspecified transcripts will be written in the `NATIVE` format only.
.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public RecognitionOutputConfig.Builder setOutputFormatConfig(OutputFormatConfig.Builder builderForValue)
Optional. Configuration for the format of the results stored to `output`. If unspecified transcripts will be written in the `NATIVE` format only.
.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public RecognitionOutputConfig.Builder mergeOutputFormatConfig(OutputFormatConfig value)
Optional. Configuration for the format of the results stored to `output`. If unspecified transcripts will be written in the `NATIVE` format only.
.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public RecognitionOutputConfig.Builder clearOutputFormatConfig()
Optional. Configuration for the format of the results stored to `output`. If unspecified transcripts will be written in the `NATIVE` format only.
.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public OutputFormatConfig.Builder getOutputFormatConfigBuilder()
Optional. Configuration for the format of the results stored to `output`. If unspecified transcripts will be written in the `NATIVE` format only.
.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public OutputFormatConfigOrBuilder getOutputFormatConfigOrBuilder()
Optional. Configuration for the format of the results stored to `output`. If unspecified transcripts will be written in the `NATIVE` format only.
.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];
getOutputFormatConfigOrBuilder in interface RecognitionOutputConfigOrBuilderCopyright © 2026 Google LLC. All rights reserved.