public static final class TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder extends GeneratedMessageV3.Builder<TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder> implements TrainProcessorVersionRequest.CustomDocumentExtractionOptionsOrBuilder
Options to control the training of the Custom Document Extraction (CDE)
Processor.
Protobuf type
google.cloud.documentai.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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.CustomDocumentExtractionOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions build()
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions buildPartial()
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder clear()
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder clearTrainingMethod()
Training method to use for CDE training.
.google.cloud.documentai.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod training_method = 3;
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder clone()
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod getTrainingMethod()
Training method to use for CDE training.
.google.cloud.documentai.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod training_method = 3;
public int getTrainingMethodValue()
Training method to use for CDE training.
.google.cloud.documentai.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod training_method = 3;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for trainingMethod.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder mergeFrom(TrainProcessorVersionRequest.CustomDocumentExtractionOptions other)
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder setTrainingMethod(TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod value)
Training method to use for CDE training.
.google.cloud.documentai.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod training_method = 3;
public TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder setTrainingMethodValue(int value)
Training method to use for CDE training.
.google.cloud.documentai.v1.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod training_method = 3;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for trainingMethod to set.
|
public final TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides