Send feedback
Class TrainProcessorVersionRequest.InputData.Builder (2.60.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
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.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 . 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
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."],[],[]]