public static final class RecognitionOutputConfig.Builder extends GeneratedMessageV3.Builder<RecognitionOutputConfig.Builder> implements RecognitionOutputConfigOrBuilder
Configuration options for the output(s) of recognition.
Protobuf type google.cloud.speech.v2.RecognitionOutputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecognitionOutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RecognitionOutputConfig build()
buildPartial()
public RecognitionOutputConfig buildPartial()
clear()
public RecognitionOutputConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RecognitionOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGcsOutputConfig()
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;
clearInlineResponseConfig()
public RecognitionOutputConfig.Builder clearInlineResponseConfig()
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public RecognitionOutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOutput()
public RecognitionOutputConfig.Builder clearOutput()
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];
clone()
public RecognitionOutputConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public RecognitionOutputConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGcsOutputConfig()
public 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;
getGcsOutputConfigBuilder()
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;
getGcsOutputConfigOrBuilder()
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;
getInlineResponseConfig()
public InlineOutputConfig getInlineResponseConfig()
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
getInlineResponseConfigBuilder()
public InlineOutputConfig.Builder getInlineResponseConfigBuilder()
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
getInlineResponseConfigOrBuilder()
public InlineOutputConfigOrBuilder getInlineResponseConfigOrBuilder()
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
getOutputCase()
public RecognitionOutputConfig.OutputCase getOutputCase()
public 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];
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];
hasGcsOutputConfig()
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;
Returns |
Type |
Description |
boolean |
Whether the gcsOutputConfig field is set.
|
hasInlineResponseConfig()
public boolean hasInlineResponseConfig()
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
Returns |
Type |
Description |
boolean |
Whether the inlineResponseConfig field is set.
|
public 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];
Returns |
Type |
Description |
boolean |
Whether the outputFormatConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RecognitionOutputConfig other)
public RecognitionOutputConfig.Builder mergeFrom(RecognitionOutputConfig other)
public RecognitionOutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RecognitionOutputConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGcsOutputConfig(GcsOutputConfig value)
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;
mergeInlineResponseConfig(InlineOutputConfig value)
public RecognitionOutputConfig.Builder mergeInlineResponseConfig(InlineOutputConfig value)
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecognitionOutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RecognitionOutputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGcsOutputConfig(GcsOutputConfig value)
public 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;
setGcsOutputConfig(GcsOutputConfig.Builder builderForValue)
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;
setInlineResponseConfig(InlineOutputConfig value)
public RecognitionOutputConfig.Builder setInlineResponseConfig(InlineOutputConfig value)
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
setInlineResponseConfig(InlineOutputConfig.Builder builderForValue)
public RecognitionOutputConfig.Builder setInlineResponseConfig(InlineOutputConfig.Builder builderForValue)
If this message is populated, recognition results are provided in the
BatchRecognizeResponse
message of the Operation when completed. This is only supported when
calling BatchRecognize
with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
public 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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecognitionOutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecognitionOutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides