Class TrainProcessorVersionRequest.InputData (2.11.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TrainProcessorVersionRequest.InputData

Static Fields

TEST_DOCUMENTS_FIELD_NUMBER

public static final int TEST_DOCUMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

TRAINING_DOCUMENTS_FIELD_NUMBER

public static final int TRAINING_DOCUMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TrainProcessorVersionRequest.InputData getDefaultInstance()
Returns
TypeDescription
TrainProcessorVersionRequest.InputData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TrainProcessorVersionRequest.InputData.Builder newBuilder()
Returns
TypeDescription
TrainProcessorVersionRequest.InputData.Builder

newBuilder(TrainProcessorVersionRequest.InputData prototype)

public static TrainProcessorVersionRequest.InputData.Builder newBuilder(TrainProcessorVersionRequest.InputData prototype)
Parameter
NameDescription
prototypeTrainProcessorVersionRequest.InputData
Returns
TypeDescription
TrainProcessorVersionRequest.InputData.Builder

parseDelimitedFrom(InputStream input)

public static TrainProcessorVersionRequest.InputData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionRequest.InputData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TrainProcessorVersionRequest.InputData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionRequest.InputData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TrainProcessorVersionRequest.InputData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionRequest.InputData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TrainProcessorVersionRequest.InputData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionRequest.InputData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TrainProcessorVersionRequest.InputData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionRequest.InputData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TrainProcessorVersionRequest.InputData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionRequest.InputData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrainProcessorVersionRequest.InputData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TrainProcessorVersionRequest.InputData> parser()
Returns
TypeDescription
Parser<InputData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TrainProcessorVersionRequest.InputData getDefaultInstanceForType()
Returns
TypeDescription
TrainProcessorVersionRequest.InputData

getParserForType()

public Parser<TrainProcessorVersionRequest.InputData> getParserForType()
Returns
TypeDescription
Parser<InputData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTestDocuments()

public BatchDocumentsInputConfig getTestDocuments()

The documents used for testing the trained version.

.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;

Returns
TypeDescription
BatchDocumentsInputConfig

The testDocuments.

getTestDocumentsOrBuilder()

public BatchDocumentsInputConfigOrBuilder getTestDocumentsOrBuilder()

The documents used for testing the trained version.

.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;

Returns
TypeDescription
BatchDocumentsInputConfigOrBuilder

getTrainingDocuments()

public BatchDocumentsInputConfig getTrainingDocuments()

The documents used for training the new version.

.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;

Returns
TypeDescription
BatchDocumentsInputConfig

The trainingDocuments.

getTrainingDocumentsOrBuilder()

public BatchDocumentsInputConfigOrBuilder getTrainingDocumentsOrBuilder()

The documents used for training the new version.

.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;

Returns
TypeDescription
BatchDocumentsInputConfigOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasTestDocuments()

public boolean hasTestDocuments()

The documents used for testing the trained version.

.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig test_documents = 4;

Returns
TypeDescription
boolean

Whether the testDocuments field is set.

hasTrainingDocuments()

public boolean hasTrainingDocuments()

The documents used for training the new version.

.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig training_documents = 3;

Returns
TypeDescription
boolean

Whether the trainingDocuments field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TrainProcessorVersionRequest.InputData.Builder newBuilderForType()
Returns
TypeDescription
TrainProcessorVersionRequest.InputData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrainProcessorVersionRequest.InputData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TrainProcessorVersionRequest.InputData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TrainProcessorVersionRequest.InputData.Builder toBuilder()
Returns
TypeDescription
TrainProcessorVersionRequest.InputData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException