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.v1beta3.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()
Methods
public TrainProcessorVersionRequest.InputData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TrainProcessorVersionRequest.InputData build()
public TrainProcessorVersionRequest.InputData buildPartial()
public TrainProcessorVersionRequest.InputData.Builder clear()
Overrides
public TrainProcessorVersionRequest.InputData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TrainProcessorVersionRequest.InputData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TrainProcessorVersionRequest.InputData.Builder clearTestDocuments()
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;
public TrainProcessorVersionRequest.InputData.Builder clearTrainingDocuments()
The documents used for training the new version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;
public TrainProcessorVersionRequest.InputData.Builder clone()
Overrides
public TrainProcessorVersionRequest.InputData getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public BatchDocumentsInputConfig getTestDocuments()
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;
public BatchDocumentsInputConfig.Builder getTestDocumentsBuilder()
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;
public BatchDocumentsInputConfigOrBuilder getTestDocumentsOrBuilder()
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;
public BatchDocumentsInputConfig getTrainingDocuments()
The documents used for training the new version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;
public BatchDocumentsInputConfig.Builder getTrainingDocumentsBuilder()
The documents used for training the new version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;
public BatchDocumentsInputConfigOrBuilder getTrainingDocumentsOrBuilder()
The documents used for training the new version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;
public boolean hasTestDocuments()
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.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.v1beta3.BatchDocumentsInputConfig training_documents = 3;
Returns |
---|
Type | Description |
boolean | Whether the trainingDocuments field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TrainProcessorVersionRequest.InputData.Builder mergeFrom(TrainProcessorVersionRequest.InputData other)
public TrainProcessorVersionRequest.InputData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TrainProcessorVersionRequest.InputData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public TrainProcessorVersionRequest.InputData.Builder mergeTestDocuments(BatchDocumentsInputConfig value)
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;
public TrainProcessorVersionRequest.InputData.Builder mergeTrainingDocuments(BatchDocumentsInputConfig value)
The documents used for training the new version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;
public final TrainProcessorVersionRequest.InputData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TrainProcessorVersionRequest.InputData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TrainProcessorVersionRequest.InputData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public TrainProcessorVersionRequest.InputData.Builder setTestDocuments(BatchDocumentsInputConfig value)
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;
public TrainProcessorVersionRequest.InputData.Builder setTestDocuments(BatchDocumentsInputConfig.Builder builderForValue)
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;
public TrainProcessorVersionRequest.InputData.Builder setTrainingDocuments(BatchDocumentsInputConfig value)
The documents used for training the new version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;
public TrainProcessorVersionRequest.InputData.Builder setTrainingDocuments(BatchDocumentsInputConfig.Builder builderForValue)
The documents used for training the new version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;
public final TrainProcessorVersionRequest.InputData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides