Interface ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder (2.58.0)

public static interface ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoSplitConfig()

public abstract 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.

getAutoSplitConfigOrBuilder()

public abstract 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 abstract 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.

getBatchInputConfigOrBuilder()

public abstract 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 abstract 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 abstract 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.

getSplitTypeConfigCase()

public abstract ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase getSplitTypeConfigCase()
Returns
Type Description
ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase

hasAutoSplitConfig()

public abstract 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 abstract 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 abstract 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.