Interface TrainProcessorVersionRequest.InputDataOrBuilder (2.38.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
TypeDescription
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
TypeDescription
BatchDocumentsInputConfigOrBuilder

getTrainingDocuments()

public abstract BatchDocumentsInputConfig getTrainingDocuments()

The documents used for training the new version.

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

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

hasTestDocuments()

public abstract boolean hasTestDocuments()

The documents used for testing the trained version.

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

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

Whether the trainingDocuments field is set.