Class TrainProcessorVersionMetadata.DatasetValidation (2.25.0)

public static final class TrainProcessorVersionMetadata.DatasetValidation extends GeneratedMessageV3 implements TrainProcessorVersionMetadata.DatasetValidationOrBuilder

The dataset validation information. This includes any and all errors with documents and the dataset.

Protobuf type google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TrainProcessorVersionMetadata.DatasetValidation

Static Fields

DATASET_ERRORS_FIELD_NUMBER

public static final int DATASET_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

DATASET_ERROR_COUNT_FIELD_NUMBER

public static final int DATASET_ERROR_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

DOCUMENT_ERRORS_FIELD_NUMBER

public static final int DOCUMENT_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

DOCUMENT_ERROR_COUNT_FIELD_NUMBER

public static final int DOCUMENT_ERROR_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TrainProcessorVersionMetadata.DatasetValidation getDefaultInstance()
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation

getDescriptor()

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

newBuilder()

public static TrainProcessorVersionMetadata.DatasetValidation.Builder newBuilder()
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation.Builder

newBuilder(TrainProcessorVersionMetadata.DatasetValidation prototype)

public static TrainProcessorVersionMetadata.DatasetValidation.Builder newBuilder(TrainProcessorVersionMetadata.DatasetValidation prototype)
Parameter
NameDescription
prototypeTrainProcessorVersionMetadata.DatasetValidation
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation.Builder

parseDelimitedFrom(InputStream input)

public static TrainProcessorVersionMetadata.DatasetValidation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TrainProcessorVersionMetadata.DatasetValidation> parser()
Returns
TypeDescription
Parser<DatasetValidation>

Methods

equals(Object obj)

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

getDatasetErrorCount()

public int getDatasetErrorCount()

The total number of dataset errors.

int32 dataset_error_count = 4;

Returns
TypeDescription
int

The datasetErrorCount.

getDatasetErrors(int index)

public Status getDatasetErrors(int index)

Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.

repeated .google.rpc.Status dataset_errors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status

getDatasetErrorsCount()

public int getDatasetErrorsCount()

Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.

repeated .google.rpc.Status dataset_errors = 2;

Returns
TypeDescription
int

getDatasetErrorsList()

public List<Status> getDatasetErrorsList()

Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.

repeated .google.rpc.Status dataset_errors = 2;

Returns
TypeDescription
List<com.google.rpc.Status>

getDatasetErrorsOrBuilder(int index)

public StatusOrBuilder getDatasetErrorsOrBuilder(int index)

Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.

repeated .google.rpc.Status dataset_errors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getDatasetErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getDatasetErrorsOrBuilderList()

Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training.

repeated .google.rpc.Status dataset_errors = 2;

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getDefaultInstanceForType()

public TrainProcessorVersionMetadata.DatasetValidation getDefaultInstanceForType()
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation

getDocumentErrorCount()

public int getDocumentErrorCount()

The total number of document errors.

int32 document_error_count = 3;

Returns
TypeDescription
int

The documentErrorCount.

getDocumentErrors(int index)

public Status getDocumentErrors(int index)

Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.

repeated .google.rpc.Status document_errors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status

getDocumentErrorsCount()

public int getDocumentErrorsCount()

Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.

repeated .google.rpc.Status document_errors = 1;

Returns
TypeDescription
int

getDocumentErrorsList()

public List<Status> getDocumentErrorsList()

Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.

repeated .google.rpc.Status document_errors = 1;

Returns
TypeDescription
List<com.google.rpc.Status>

getDocumentErrorsOrBuilder(int index)

public StatusOrBuilder getDocumentErrorsOrBuilder(int index)

Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.

repeated .google.rpc.Status document_errors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getDocumentErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getDocumentErrorsOrBuilderList()

Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training.

repeated .google.rpc.Status document_errors = 1;

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getParserForType()

public Parser<TrainProcessorVersionMetadata.DatasetValidation> getParserForType()
Returns
TypeDescription
Parser<DatasetValidation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 TrainProcessorVersionMetadata.DatasetValidation.Builder newBuilderForType()
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrainProcessorVersionMetadata.DatasetValidation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TrainProcessorVersionMetadata.DatasetValidation.Builder toBuilder()
Returns
TypeDescription
TrainProcessorVersionMetadata.DatasetValidation.Builder

writeTo(CodedOutputStream output)

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