public static final class TrainProcessorVersionMetadata.DatasetValidation.Builder extends GeneratedMessageV3.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder> implements TrainProcessorVersionMetadata.DatasetValidationOrBuilder
The dataset validation information.
This includes any and all errors with documents and the dataset.
Protobuf type
google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation
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 TrainProcessorVersionMetadata.DatasetValidation.Builder addAllDatasetErrors(Iterable<? extends Status> values)
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 |
values |
Iterable<? extends com.google.rpc.Status>
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addAllDocumentErrors(Iterable<? extends Status> values)
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 |
values |
Iterable<? extends com.google.rpc.Status>
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addDatasetErrors(Status value)
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 |
value |
com.google.rpc.Status
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addDatasetErrors(Status.Builder builderForValue)
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 |
builderForValue |
com.google.rpc.Status.Builder
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addDatasetErrors(int index, Status value)
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;
Parameters |
Name |
Description |
index |
int
|
value |
com.google.rpc.Status
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addDatasetErrors(int index, Status.Builder builderForValue)
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;
Parameters |
Name |
Description |
index |
int
|
builderForValue |
com.google.rpc.Status.Builder
|
public Status.Builder addDatasetErrorsBuilder()
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 |
com.google.rpc.Status.Builder |
|
public Status.Builder addDatasetErrorsBuilder(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.Builder |
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addDocumentErrors(Status value)
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 |
value |
com.google.rpc.Status
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addDocumentErrors(Status.Builder builderForValue)
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 |
builderForValue |
com.google.rpc.Status.Builder
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addDocumentErrors(int index, Status value)
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;
Parameters |
Name |
Description |
index |
int
|
value |
com.google.rpc.Status
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addDocumentErrors(int index, Status.Builder builderForValue)
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;
Parameters |
Name |
Description |
index |
int
|
builderForValue |
com.google.rpc.Status.Builder
|
public Status.Builder addDocumentErrorsBuilder()
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 |
com.google.rpc.Status.Builder |
|
public Status.Builder addDocumentErrorsBuilder(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.Builder |
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TrainProcessorVersionMetadata.DatasetValidation build()
public TrainProcessorVersionMetadata.DatasetValidation buildPartial()
public TrainProcessorVersionMetadata.DatasetValidation.Builder clear()
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearDatasetErrorCount()
The total number of dataset errors.
int32 dataset_error_count = 4;
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearDatasetErrors()
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;
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearDocumentErrorCount()
The total number of document errors.
int32 document_error_count = 3;
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearDocumentErrors()
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;
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder clone()
Overrides
public int getDatasetErrorCount()
The total number of dataset errors.
int32 dataset_error_count = 4;
Returns |
Type |
Description |
int |
The datasetErrorCount.
|
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 |
|
public Status.Builder getDatasetErrorsBuilder(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.Builder |
|
public List<Status.Builder> getDatasetErrorsBuilderList()
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.Builder> |
|
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 |
|
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> |
|
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 |
|
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> |
|
public TrainProcessorVersionMetadata.DatasetValidation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public int getDocumentErrorCount()
The total number of document errors.
int32 document_error_count = 3;
Returns |
Type |
Description |
int |
The documentErrorCount.
|
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 |
|
public Status.Builder getDocumentErrorsBuilder(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.Builder |
|
public List<Status.Builder> getDocumentErrorsBuilderList()
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.Builder> |
|
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 |
|
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> |
|
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 |
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder mergeFrom(TrainProcessorVersionMetadata.DatasetValidation other)
public TrainProcessorVersionMetadata.DatasetValidation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final TrainProcessorVersionMetadata.DatasetValidation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder removeDatasetErrors(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
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder removeDocumentErrors(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
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder setDatasetErrorCount(int value)
The total number of dataset errors.
int32 dataset_error_count = 4;
Parameter |
Name |
Description |
value |
int
The datasetErrorCount to set.
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder setDatasetErrors(int index, Status value)
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;
Parameters |
Name |
Description |
index |
int
|
value |
com.google.rpc.Status
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder setDatasetErrors(int index, Status.Builder builderForValue)
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;
Parameters |
Name |
Description |
index |
int
|
builderForValue |
com.google.rpc.Status.Builder
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder setDocumentErrorCount(int value)
The total number of document errors.
int32 document_error_count = 3;
Parameter |
Name |
Description |
value |
int
The documentErrorCount to set.
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder setDocumentErrors(int index, Status value)
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;
Parameters |
Name |
Description |
index |
int
|
value |
com.google.rpc.Status
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder setDocumentErrors(int index, Status.Builder builderForValue)
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;
Parameters |
Name |
Description |
index |
int
|
builderForValue |
com.google.rpc.Status.Builder
|
public TrainProcessorVersionMetadata.DatasetValidation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TrainProcessorVersionMetadata.DatasetValidation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides