- 2.89.0 (latest)
- 2.87.0
- 2.86.0
- 2.85.0
- 2.84.0
- 2.82.0
- 2.80.0
- 2.79.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.74.0
- 2.72.0
- 2.71.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class ImportDocumentsRequest.BatchDocumentsImportConfig.Builder extends GeneratedMessage.Builder<ImportDocumentsRequest.BatchDocumentsImportConfig.Builder> implements ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilderConfig for importing documents. Each batch can have its own dataset split type.
Protobuf type
google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportDocumentsRequest.BatchDocumentsImportConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportDocumentsRequest.BatchDocumentsImportConfig build()| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig |
|
buildPartial()
public ImportDocumentsRequest.BatchDocumentsImportConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig |
|
clear()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
clearBatchInputConfig()
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;
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
clearDatasetSplit()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clearDatasetSplit()Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
This builder for chaining. |
clearSplitTypeConfig()
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder clearSplitTypeConfig()| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig |
The autoSplitConfig. |
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;
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfigOrBuilder |
|
getBatchInputConfig()
public BatchDocumentsInputConfig getBatchInputConfig()The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
| Returns | |
|---|---|
| Type | Description |
BatchDocumentsInputConfig |
The batchInputConfig. |
getBatchInputConfigBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
BatchDocumentsInputConfig.Builder |
|
getBatchInputConfigOrBuilder()
public BatchDocumentsInputConfigOrBuilder getBatchInputConfigOrBuilder()The common config to specify a set of documents used as input.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig batch_input_config = 1;
| Returns | |
|---|---|
| Type | Description |
BatchDocumentsInputConfigOrBuilder |
|
getDatasetSplit()
public DatasetSplitType getDatasetSplit()Target dataset split where the documents must be stored.
.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;
| Returns | |
|---|---|
| Type | Description |
DatasetSplitType |
The datasetSplit. |
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()| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSplitTypeConfigCase()
public ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase getSplitTypeConfigCase()| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase |
|
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. |
hasBatchInputConfig()
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
mergeBatchInputConfig(BatchDocumentsInputConfig value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
BatchDocumentsInputConfig |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig other)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder mergeFrom(ImportDocumentsRequest.BatchDocumentsImportConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportDocumentsRequest.BatchDocumentsImportConfig |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportDocumentsRequest.BatchDocumentsImportConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
setBatchInputConfig(BatchDocumentsInputConfig value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
BatchDocumentsInputConfig |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
setBatchInputConfig(BatchDocumentsInputConfig.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BatchDocumentsInputConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
DatasetSplitTypeThe datasetSplit to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for datasetSplit to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDocumentsRequest.BatchDocumentsImportConfig.Builder |
This builder for chaining. |