Package com.google.cloud.documentai.v1
Class TrainProcessorVersionMetadata.DatasetValidation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>
com.google.cloud.documentai.v1.TrainProcessorVersionMetadata.DatasetValidation.Builder
- All Implemented Interfaces:
TrainProcessorVersionMetadata.DatasetValidationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TrainProcessorVersionMetadata.DatasetValidation
public static final class TrainProcessorVersionMetadata.DatasetValidation.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllDatasetErrors(Iterable<? extends Status> values) Error information for the dataset as a whole.addAllDocumentErrors(Iterable<? extends Status> values) Error information pertaining to specific documents.addDatasetErrors(int index, Status value) Error information for the dataset as a whole.addDatasetErrors(int index, Status.Builder builderForValue) Error information for the dataset as a whole.addDatasetErrors(Status value) Error information for the dataset as a whole.addDatasetErrors(Status.Builder builderForValue) Error information for the dataset as a whole.Error information for the dataset as a whole.addDatasetErrorsBuilder(int index) Error information for the dataset as a whole.addDocumentErrors(int index, Status value) Error information pertaining to specific documents.addDocumentErrors(int index, Status.Builder builderForValue) Error information pertaining to specific documents.addDocumentErrors(Status value) Error information pertaining to specific documents.addDocumentErrors(Status.Builder builderForValue) Error information pertaining to specific documents.Error information pertaining to specific documents.addDocumentErrorsBuilder(int index) Error information pertaining to specific documents.build()clear()The total number of dataset errors.Error information for the dataset as a whole.The total number of document errors.Error information pertaining to specific documents.intThe total number of dataset errors.getDatasetErrors(int index) Error information for the dataset as a whole.getDatasetErrorsBuilder(int index) Error information for the dataset as a whole.Error information for the dataset as a whole.intError information for the dataset as a whole.Error information for the dataset as a whole.getDatasetErrorsOrBuilder(int index) Error information for the dataset as a whole.List<? extends StatusOrBuilder>Error information for the dataset as a whole.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe total number of document errors.getDocumentErrors(int index) Error information pertaining to specific documents.getDocumentErrorsBuilder(int index) Error information pertaining to specific documents.Error information pertaining to specific documents.intError information pertaining to specific documents.Error information pertaining to specific documents.getDocumentErrorsOrBuilder(int index) Error information pertaining to specific documents.List<? extends StatusOrBuilder>Error information pertaining to specific documents.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDatasetErrors(int index) Error information for the dataset as a whole.removeDocumentErrors(int index) Error information pertaining to specific documents.setDatasetErrorCount(int value) The total number of dataset errors.setDatasetErrors(int index, Status value) Error information for the dataset as a whole.setDatasetErrors(int index, Status.Builder builderForValue) Error information for the dataset as a whole.setDocumentErrorCount(int value) The total number of document errors.setDocumentErrors(int index, Status value) Error information pertaining to specific documents.setDocumentErrors(int index, Status.Builder builderForValue) Error information pertaining to specific documents.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TrainProcessorVersionMetadata.DatasetValidation.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>
-
mergeFrom
public TrainProcessorVersionMetadata.DatasetValidation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TrainProcessorVersionMetadata.DatasetValidation.Builder>- Throws:
IOException
-
getDocumentErrorCount
public int getDocumentErrorCount()The total number of document errors.
int32 document_error_count = 3;- Specified by:
getDocumentErrorCountin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder- Returns:
- The documentErrorCount.
-
setDocumentErrorCount
The total number of document errors.
int32 document_error_count = 3;- Parameters:
value- The documentErrorCount to set.- Returns:
- This builder for chaining.
-
clearDocumentErrorCount
The total number of document errors.
int32 document_error_count = 3;- Returns:
- This builder for chaining.
-
getDatasetErrorCount
public int getDatasetErrorCount()The total number of dataset errors.
int32 dataset_error_count = 4;- Specified by:
getDatasetErrorCountin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder- Returns:
- The datasetErrorCount.
-
setDatasetErrorCount
The total number of dataset errors.
int32 dataset_error_count = 4;- Parameters:
value- The datasetErrorCount to set.- Returns:
- This builder for chaining.
-
clearDatasetErrorCount
The total number of dataset errors.
int32 dataset_error_count = 4;- Returns:
- This builder for chaining.
-
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;- Specified by:
getDocumentErrorsListin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
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;- Specified by:
getDocumentErrorsCountin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
getDocumentErrors
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;- Specified by:
getDocumentErrorsin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
setDocumentErrors
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; -
setDocumentErrors
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; -
addDocumentErrors
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; -
addDocumentErrors
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; -
addDocumentErrors
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; -
addDocumentErrors
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; -
addAllDocumentErrors
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; -
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; -
removeDocumentErrors
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; -
getDocumentErrorsBuilder
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; -
getDocumentErrorsOrBuilder
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;- Specified by:
getDocumentErrorsOrBuilderin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
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;- Specified by:
getDocumentErrorsOrBuilderListin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
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; -
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; -
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; -
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;- Specified by:
getDatasetErrorsListin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
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;- Specified by:
getDatasetErrorsCountin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
getDatasetErrors
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;- Specified by:
getDatasetErrorsin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
setDatasetErrors
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; -
setDatasetErrors
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; -
addDatasetErrors
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; -
addDatasetErrors
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; -
addDatasetErrors
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; -
addDatasetErrors
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; -
addAllDatasetErrors
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; -
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; -
removeDatasetErrors
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; -
getDatasetErrorsBuilder
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; -
getDatasetErrorsOrBuilder
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;- Specified by:
getDatasetErrorsOrBuilderin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
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;- Specified by:
getDatasetErrorsOrBuilderListin interfaceTrainProcessorVersionMetadata.DatasetValidationOrBuilder
-
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; -
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; -
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;
-