Package com.google.cloud.speech.v2
Class RecognitionOutputConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder>
com.google.cloud.speech.v2.RecognitionOutputConfig.Builder
- All Implemented Interfaces:
RecognitionOutputConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RecognitionOutputConfig
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()If this message is populated, recognition results are written to the provided Google Cloud Storage URI.If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf this message is populated, recognition results are written to the provided Google Cloud Storage URI.If this message is populated, recognition results are written to the provided Google Cloud Storage URI.If this message is populated, recognition results are written to the provided Google Cloud Storage URI.If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.Optional.Optional.Optional.booleanIf this message is populated, recognition results are written to the provided Google Cloud Storage URI.booleanIf this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RecognitionOutputConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) If this message is populated, recognition results are written to the provided Google Cloud Storage URI.If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.Optional.If this message is populated, recognition results are written to the provided Google Cloud Storage URI.setGcsOutputConfig(GcsOutputConfig.Builder builderForValue) If this message is populated, recognition results are written to the provided Google Cloud Storage URI.If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.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.Optional.setOutputFormatConfig(OutputFormatConfig.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecognitionOutputConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RecognitionOutputConfig.Builder>
-
mergeFrom
public RecognitionOutputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecognitionOutputConfig.Builder>- Throws:
IOException
-
getOutputCase
- Specified by:
getOutputCasein interfaceRecognitionOutputConfigOrBuilder
-
clearOutput
-
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;- Specified by:
hasGcsOutputConfigin interfaceRecognitionOutputConfigOrBuilder- Returns:
- Whether the gcsOutputConfig field is set.
-
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;- Specified by:
getGcsOutputConfigin interfaceRecognitionOutputConfigOrBuilder- Returns:
- The gcsOutputConfig.
-
setGcsOutputConfig
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
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; -
mergeGcsOutputConfig
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; -
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; -
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
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;- Specified by:
getGcsOutputConfigOrBuilderin interfaceRecognitionOutputConfigOrBuilder
-
hasInlineResponseConfig
public 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;- Specified by:
hasInlineResponseConfigin interfaceRecognitionOutputConfigOrBuilder- Returns:
- Whether the inlineResponseConfig field is set.
-
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;- Specified by:
getInlineResponseConfigin interfaceRecognitionOutputConfigOrBuilder- Returns:
- The inlineResponseConfig.
-
setInlineResponseConfig
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; -
setInlineResponseConfig
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; -
mergeInlineResponseConfig
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; -
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; -
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; -
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;- Specified by:
getInlineResponseConfigOrBuilderin interfaceRecognitionOutputConfigOrBuilder
-
hasOutputFormatConfig
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];- Specified by:
hasOutputFormatConfigin interfaceRecognitionOutputConfigOrBuilder- Returns:
- Whether the outputFormatConfig field is set.
-
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];- Specified by:
getOutputFormatConfigin interfaceRecognitionOutputConfigOrBuilder- Returns:
- The outputFormatConfig.
-
setOutputFormatConfig
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]; -
setOutputFormatConfig
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]; -
mergeOutputFormatConfig
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]; -
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]; -
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]; -
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];- Specified by:
getOutputFormatConfigOrBuilderin interfaceRecognitionOutputConfigOrBuilder
-