Interface ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder (2.31.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
BatchDocumentsInputConfigOrBuilder

getDatasetSplit()

public abstract DatasetSplitType getDatasetSplit()

Target dataset split where the documents must be stored.

.google.cloud.documentai.v1beta3.DatasetSplitType dataset_split = 2;

Returns
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for datasetSplit.

getSplitTypeConfigCase()

public abstract ImportDocumentsRequest.BatchDocumentsImportConfig.SplitTypeConfigCase getSplitTypeConfigCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the datasetSplit field is set.