Interface TrainProcessorVersionRequest.InputDataOrBuilder (2.57.0)

public static interface TrainProcessorVersionRequest.InputDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTestDocuments()

public abstract BatchDocumentsInputConfig getTestDocuments()

The documents used for testing the trained version.

.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;

Returns
Type Description
BatchDocumentsInputConfig

The testDocuments.

getTestDocumentsOrBuilder()

public abstract BatchDocumentsInputConfigOrBuilder getTestDocumentsOrBuilder()

The documents used for testing the trained version.

.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;

Returns
Type Description
BatchDocumentsInputConfigOrBuilder

getTrainingDocuments()

public abstract BatchDocumentsInputConfig getTrainingDocuments()

The documents used for training the new version.

.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;

Returns
Type Description
BatchDocumentsInputConfig

The trainingDocuments.

getTrainingDocumentsOrBuilder()

public abstract BatchDocumentsInputConfigOrBuilder getTrainingDocumentsOrBuilder()

The documents used for training the new version.

.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;

Returns
Type Description
BatchDocumentsInputConfigOrBuilder

hasTestDocuments()

public abstract boolean hasTestDocuments()

The documents used for testing the trained version.

.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;

Returns
Type Description
boolean

Whether the testDocuments field is set.

hasTrainingDocuments()

public abstract boolean hasTrainingDocuments()

The documents used for training the new version.

.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;

Returns
Type Description
boolean

Whether the trainingDocuments field is set.