Class TrainProcessorVersionMetadata.DatasetValidation (2.47.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
Type Description
int

DATASET_ERROR_COUNT_FIELD_NUMBER

public static final int DATASET_ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

DOCUMENT_ERRORS_FIELD_NUMBER

public static final int DOCUMENT_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

DOCUMENT_ERROR_COUNT_FIELD_NUMBER

public static final int DOCUMENT_ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TrainProcessorVersionMetadata.DatasetValidation getDefaultInstance()
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TrainProcessorVersionMetadata.DatasetValidation.Builder newBuilder()
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation.Builder

newBuilder(TrainProcessorVersionMetadata.DatasetValidation prototype)

public static TrainProcessorVersionMetadata.DatasetValidation.Builder newBuilder(TrainProcessorVersionMetadata.DatasetValidation prototype)
Parameter
Name Description
prototype TrainProcessorVersionMetadata.DatasetValidation
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation.Builder

parseDelimitedFrom(InputStream input)

public static TrainProcessorVersionMetadata.DatasetValidation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionMetadata.DatasetValidation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TrainProcessorVersionMetadata.DatasetValidation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDatasetErrorCount()

public int getDatasetErrorCount()

The total number of dataset errors.

int32 dataset_error_count = 4;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getDefaultInstanceForType()

public TrainProcessorVersionMetadata.DatasetValidation getDefaultInstanceForType()
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation

getDocumentErrorCount()

public int getDocumentErrorCount()

The total number of document errors.

int32 document_error_count = 3;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TrainProcessorVersionMetadata.DatasetValidation.Builder newBuilderForType()
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrainProcessorVersionMetadata.DatasetValidation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TrainProcessorVersionMetadata.DatasetValidation.Builder toBuilder()
Returns
Type Description
TrainProcessorVersionMetadata.DatasetValidation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException