Package com.google.cloud.documentai.v1
Interface Document.EntityValidationOutputOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.EntityValidationOutput,Document.EntityValidationOutput.Builder
- Enclosing class:
- Document
public static interface Document.EntityValidationOutputOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThe overall result of the validation, true if all applicable rules are valid.getValidationResults(int index) The result of each validation rule.intThe result of each validation rule.The result of each validation rule.getValidationResultsOrBuilder(int index) The result of each validation rule.The result of each validation rule.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValidationResultsList
List<Document.EntityValidationOutput.ValidationResult> getValidationResultsList()The result of each validation rule.
repeated .google.cloud.documentai.v1.Document.EntityValidationOutput.ValidationResult validation_results = 1; -
getValidationResults
The result of each validation rule.
repeated .google.cloud.documentai.v1.Document.EntityValidationOutput.ValidationResult validation_results = 1; -
getValidationResultsCount
int getValidationResultsCount()The result of each validation rule.
repeated .google.cloud.documentai.v1.Document.EntityValidationOutput.ValidationResult validation_results = 1; -
getValidationResultsOrBuilderList
List<? extends Document.EntityValidationOutput.ValidationResultOrBuilder> getValidationResultsOrBuilderList()The result of each validation rule.
repeated .google.cloud.documentai.v1.Document.EntityValidationOutput.ValidationResult validation_results = 1; -
getValidationResultsOrBuilder
The result of each validation rule.
repeated .google.cloud.documentai.v1.Document.EntityValidationOutput.ValidationResult validation_results = 1; -
getPassAllRules
boolean getPassAllRules()The overall result of the validation, true if all applicable rules are valid.
bool pass_all_rules = 2;- Returns:
- The passAllRules.
-