public static final class OutputConfig.Builder extends GeneratedMessageV3.Builder<OutputConfig.Builder> implements OutputConfigOrBuilder
The desired output location and metadata.Protobuf type
google.cloud.vision.v1p2beta1.OutputConfiggetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<OutputConfig.Builder>public OutputConfig.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<OutputConfig.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<OutputConfig.Builder>public OutputConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic OutputConfig build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic OutputConfig buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic OutputConfig.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<OutputConfig.Builder>public OutputConfig.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<OutputConfig.Builder>public OutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<OutputConfig.Builder>public OutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<OutputConfig.Builder>public OutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<OutputConfig.Builder>public OutputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<OutputConfig.Builder>public OutputConfig.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<OutputConfig.Builder>public OutputConfig.Builder mergeFrom(OutputConfig other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<OutputConfig.Builder>public OutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<OutputConfig.Builder>java.io.IOExceptionpublic boolean hasGcsDestination()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1p2beta1.GcsDestination gcs_destination = 1;hasGcsDestination in interface OutputConfigOrBuilderpublic GcsDestination getGcsDestination()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1p2beta1.GcsDestination gcs_destination = 1;getGcsDestination in interface OutputConfigOrBuilderpublic OutputConfig.Builder setGcsDestination(GcsDestination value)
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1p2beta1.GcsDestination gcs_destination = 1;public OutputConfig.Builder setGcsDestination(GcsDestination.Builder builderForValue)
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1p2beta1.GcsDestination gcs_destination = 1;public OutputConfig.Builder mergeGcsDestination(GcsDestination value)
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1p2beta1.GcsDestination gcs_destination = 1;public OutputConfig.Builder clearGcsDestination()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1p2beta1.GcsDestination gcs_destination = 1;public GcsDestination.Builder getGcsDestinationBuilder()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1p2beta1.GcsDestination gcs_destination = 1;public GcsDestinationOrBuilder getGcsDestinationOrBuilder()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1p2beta1.GcsDestination gcs_destination = 1;getGcsDestinationOrBuilder in interface OutputConfigOrBuilderpublic int getBatchSize()
The max number of response protos to put into each output JSON file on GCS. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.
int32 batch_size = 2;getBatchSize in interface OutputConfigOrBuilderpublic OutputConfig.Builder setBatchSize(int value)
The max number of response protos to put into each output JSON file on GCS. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.
int32 batch_size = 2;public OutputConfig.Builder clearBatchSize()
The max number of response protos to put into each output JSON file on GCS. The valid range is [1, 100]. If not specified, the default value is 20. For example, for one pdf file with 100 pages, 100 response protos will be generated. If `batch_size` = 20, then 5 json files each containing 20 response protos will be written under the prefix `gcs_destination`.`uri`. Currently, batch_size only applies to GcsDestination, with potential future support for other output configurations.
int32 batch_size = 2;public final OutputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<OutputConfig.Builder>public final OutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<OutputConfig.Builder>