publicstaticfinalclass OutputConfig.BuilderextendsGeneratedMessageV3.Builder<OutputConfig.Builder>implementsOutputConfigOrBuilder
The desired output location and metadata.
Protobuf type google.cloud.vision.v1.OutputConfig
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicOutputConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicOutputConfigbuild()
buildPartial()
publicOutputConfigbuildPartial()
clear()
publicOutputConfig.Builderclear()
Overrides
clearBatchSize()
publicOutputConfig.BuilderclearBatchSize()
The max number of response protos to put into each output JSON file on
Google Cloud Storage.
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;
clearField(Descriptors.FieldDescriptor field)
publicOutputConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearGcsDestination()
publicOutputConfig.BuilderclearGcsDestination()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1.GcsDestination gcs_destination = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
publicOutputConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicOutputConfig.Builderclone()
Overrides
getBatchSize()
The max number of response protos to put into each output JSON file on
Google Cloud Storage.
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;
| Returns |
| Type |
Description |
int |
The batchSize.
|
getDefaultInstanceForType()
publicOutputConfiggetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getGcsDestination()
publicGcsDestinationgetGcsDestination()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1.GcsDestination gcs_destination = 1;
getGcsDestinationBuilder()
publicGcsDestination.BuildergetGcsDestinationBuilder()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1.GcsDestination gcs_destination = 1;
getGcsDestinationOrBuilder()
publicGcsDestinationOrBuildergetGcsDestinationOrBuilder()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1.GcsDestination gcs_destination = 1;
hasGcsDestination()
publicbooleanhasGcsDestination()
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1.GcsDestination gcs_destination = 1;
| Returns |
| Type |
Description |
boolean |
Whether the gcsDestination field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(OutputConfig other)
publicOutputConfig.BuildermergeFrom(OutputConfigother)
publicOutputConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicOutputConfig.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeGcsDestination(GcsDestination value)
publicOutputConfig.BuildermergeGcsDestination(GcsDestinationvalue)
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1.GcsDestination gcs_destination = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalOutputConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setBatchSize(int value)
publicOutputConfig.BuildersetBatchSize(intvalue)
The max number of response protos to put into each output JSON file on
Google Cloud Storage.
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;
| Parameter |
| Name |
Description |
value |
int
The batchSize to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
publicOutputConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setGcsDestination(GcsDestination value)
publicOutputConfig.BuildersetGcsDestination(GcsDestinationvalue)
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1.GcsDestination gcs_destination = 1;
setGcsDestination(GcsDestination.Builder builderForValue)
publicOutputConfig.BuildersetGcsDestination(GcsDestination.BuilderbuilderForValue)
The Google Cloud Storage location to write the output(s) to.
.google.cloud.vision.v1.GcsDestination gcs_destination = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicOutputConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalOutputConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides