Send feedback
Class TrainProcessorVersionRequest.CustomDocumentExtractionOptions.Builder (2.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.33.0 keyboard_arrow_down
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.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions
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 . 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.v1beta3.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.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod training_method = 3;
public int getTrainingMethodValue ()
Training method to use for CDE training.
.google.cloud.documentai.v1beta3.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.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod training_method = 3;
public TrainProcessorVersionRequest . CustomDocumentExtractionOptions . Builder setTrainingMethodValue ( int value )
Training method to use for CDE training.
.google.cloud.documentai.v1beta3.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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]