public static final class TrainProcessorVersionRequest.InputData extends GeneratedMessageV3 implements TrainProcessorVersionRequest.InputDataOrBuilder
The input data used to train a new ProcessorVersion
.
Protobuf type google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputData
Static Fields
public static final int TEST_DOCUMENTS_FIELD_NUMBER
Field Value
public static final int TRAINING_DOCUMENTS_FIELD_NUMBER
Field Value
Static Methods
public static TrainProcessorVersionRequest.InputData getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static TrainProcessorVersionRequest.InputData.Builder newBuilder()
Returns
public static TrainProcessorVersionRequest.InputData.Builder newBuilder(TrainProcessorVersionRequest.InputData prototype)
Parameter
Returns
public static TrainProcessorVersionRequest.InputData parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static TrainProcessorVersionRequest.InputData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<TrainProcessorVersionRequest.InputData> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public TrainProcessorVersionRequest.InputData getDefaultInstanceForType()
Returns
public Parser<TrainProcessorVersionRequest.InputData> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public BatchDocumentsInputConfig getTestDocuments()
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;
Returns
public BatchDocumentsInputConfigOrBuilder getTestDocumentsOrBuilder()
The documents used for testing the trained version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;
Returns
public BatchDocumentsInputConfig getTrainingDocuments()
The documents used for training the new version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;
Returns
public BatchDocumentsInputConfigOrBuilder getTrainingDocumentsOrBuilder()
The documents used for training the new version.
.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder newBuilderForType()
Returns
protected TrainProcessorVersionRequest.InputData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public TrainProcessorVersionRequest.InputData.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions