public static final class TrainProcessorVersionRequest.InputData.Builder extends GeneratedMessageV3.Builder<TrainProcessorVersionRequest.InputData.Builder> implements TrainProcessorVersionRequest.InputDataOrBuilder
The input data used to train a new ProcessorVersion
.
Protobuf type google.cloud.documentai.v1.TrainProcessorVersionRequest.InputData
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public TrainProcessorVersionRequest.InputData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TrainProcessorVersionRequest.InputData build()
Returns
public TrainProcessorVersionRequest.InputData buildPartial()
Returns
public TrainProcessorVersionRequest.InputData.Builder clear()
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder clearTestDocuments()
The documents used for testing the trained version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;
Returns
public TrainProcessorVersionRequest.InputData.Builder clearTrainingDocuments()
The documents used for training the new version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;
Returns
public TrainProcessorVersionRequest.InputData.Builder clone()
Returns
Overrides
public TrainProcessorVersionRequest.InputData getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public BatchDocumentsInputConfig getTestDocuments()
The documents used for testing the trained version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;
Returns
public BatchDocumentsInputConfig.Builder getTestDocumentsBuilder()
The documents used for testing the trained version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;
Returns
public BatchDocumentsInputConfigOrBuilder getTestDocumentsOrBuilder()
The documents used for testing the trained version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;
Returns
public BatchDocumentsInputConfig getTrainingDocuments()
The documents used for training the new version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;
Returns
public BatchDocumentsInputConfig.Builder getTrainingDocumentsBuilder()
The documents used for training the new version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;
Returns
public BatchDocumentsInputConfigOrBuilder getTrainingDocumentsOrBuilder()
The documents used for training the new version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;
Returns
public 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.
|
public 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder mergeFrom(TrainProcessorVersionRequest.InputData other)
Parameter
Returns
public TrainProcessorVersionRequest.InputData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TrainProcessorVersionRequest.InputData.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder mergeTestDocuments(BatchDocumentsInputConfig value)
The documents used for testing the trained version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;
Parameter
Returns
public TrainProcessorVersionRequest.InputData.Builder mergeTrainingDocuments(BatchDocumentsInputConfig value)
The documents used for training the new version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;
Parameter
Returns
public final TrainProcessorVersionRequest.InputData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder setTestDocuments(BatchDocumentsInputConfig value)
The documents used for testing the trained version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;
Parameter
Returns
public TrainProcessorVersionRequest.InputData.Builder setTestDocuments(BatchDocumentsInputConfig.Builder builderForValue)
The documents used for testing the trained version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig test_documents = 4;
Parameter
Returns
public TrainProcessorVersionRequest.InputData.Builder setTrainingDocuments(BatchDocumentsInputConfig value)
The documents used for training the new version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;
Parameter
Returns
public TrainProcessorVersionRequest.InputData.Builder setTrainingDocuments(BatchDocumentsInputConfig.Builder builderForValue)
The documents used for training the new version.
.google.cloud.documentai.v1.BatchDocumentsInputConfig training_documents = 3;
Parameter
Returns
public final TrainProcessorVersionRequest.InputData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides