public static final class ImportDocumentsRequest.BatchDocumentsImportConfig.Builder extends GeneratedMessageV3.Builder<ImportDocumentsRequest.BatchDocumentsImportConfig.Builder> implements ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder
Config for importing documents.
Each batch can have its own dataset split type.
Protobuf type
google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ImportDocumentsRequest.BatchDocumentsImportConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportDocumentsRequest.BatchDocumentsImportConfig build()
buildPartial()
public ImportDocumentsRequest.BatchDocumentsImportConfig buildPartial()
clear()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clear()
Overrides
clearAutoSplitConfig()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clearAutoSplitConfig()
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clearBatchInputConfig()
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
clearDatasetSplit()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clearDatasetSplit()
Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
clearField(Descriptors.FieldDescriptor field)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSplitTypeConfig()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clearSplitTypeConfig()
clone()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clone()
Overrides
getAutoSplitConfig()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig getAutoSplitConfig()
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
getAutoSplitConfigBuilder()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder getAutoSplitConfigBuilder()
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
getAutoSplitConfigOrBuilder()
public ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfigOrBuilder getAutoSplitConfigOrBuilder()
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
public BatchDocumentsInputConfig getBatchInputConfig()
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
public BatchDocumentsInputConfig.Builder getBatchInputConfigBuilder()
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
public BatchDocumentsInputConfigOrBuilder getBatchInputConfigOrBuilder()
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
getDatasetSplit()
public DatasetSplitType getDatasetSplit()
Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
getDatasetSplitValue()
public int getDatasetSplitValue()
Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for datasetSplit.
|
getDefaultInstanceForType()
public ImportDocumentsRequest.BatchDocumentsImportConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSplitTypeConfigCase()
public ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase getSplitTypeConfigCase()
hasAutoSplitConfig()
public boolean hasAutoSplitConfig()
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
Returns |
---|
Type | Description |
boolean | Whether the autoSplitConfig field is set.
|
public boolean hasBatchInputConfig()
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
Returns |
---|
Type | Description |
boolean | Whether the batchInputConfig field is set.
|
hasDatasetSplit()
public boolean hasDatasetSplit()
Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
Returns |
---|
Type | Description |
boolean | Whether the datasetSplit field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAutoSplitConfig(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig value)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder mergeAutoSplitConfig(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig value)
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder mergeBatchInputConfig(BatchDocumentsInputConfig value)
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig other)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig other)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.BatchDocumentsImportConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAutoSplitConfig(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig value)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder setAutoSplitConfig(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig value)
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
setAutoSplitConfig(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder builderForValue)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder setAutoSplitConfig(ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder builderForValue)
If set, documents will be automatically split into training and test
split category with the specified ratio.
.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig auto_split_config = 3;
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder setBatchInputConfig(BatchDocumentsInputConfig value)
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder setBatchInputConfig(BatchDocumentsInputConfig.Builder builderForValue)
The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
setDatasetSplit(DatasetSplitType value)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder setDatasetSplit(DatasetSplitType value)
Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
setDatasetSplitValue(int value)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder setDatasetSplitValue(int value)
Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for datasetSplit to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.BatchDocumentsImportConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides