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.v1beta3.TrainProcessorVersionMetadata.DatasetValidation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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>
|
Returns
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>
|
Returns
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
|
Returns
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
|
Returns
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
|
Returns
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
|
Returns
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
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
|
Returns
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
|
Returns
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
|
Returns
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
|
Returns
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
Returns
Type | Description |
com.google.rpc.Status.Builder | |
public TrainProcessorVersionMetadata.DatasetValidation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TrainProcessorVersionMetadata.DatasetValidation build()
Returns
public TrainProcessorVersionMetadata.DatasetValidation buildPartial()
Returns
public TrainProcessorVersionMetadata.DatasetValidation.Builder clear()
Returns
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearDatasetErrorCount()
The total number of dataset errors.
int32 dataset_error_count = 4;
Returns
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;
Returns
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearDocumentErrorCount()
The total number of document errors.
int32 document_error_count = 3;
Returns
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;
Returns
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder clone()
Returns
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
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
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
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
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()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder mergeFrom(TrainProcessorVersionMetadata.DatasetValidation other)
Parameter
Returns
public TrainProcessorVersionMetadata.DatasetValidation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TrainProcessorVersionMetadata.DatasetValidation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final TrainProcessorVersionMetadata.DatasetValidation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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.
|
Returns
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
|
Returns
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
|
Returns
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.
|
Returns
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
|
Returns
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
|
Returns
public TrainProcessorVersionMetadata.DatasetValidation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TrainProcessorVersionMetadata.DatasetValidation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final TrainProcessorVersionMetadata.DatasetValidation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides