Package com.google.cloud.documentai.v1
Interface Evaluation.CountersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Evaluation.Counters,Evaluation.Counters.Builder
- Enclosing class:
- Evaluation
public static interface Evaluation.CountersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintHow many documents were used in the evaluation.intHow many documents were not included in the evaluation as Document AI failed to process them.intHow many documents were sent for evaluation.intHow many documents were not included in the evaluation as they didn't pass validation.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
-
getInputDocumentsCount
int getInputDocumentsCount()How many documents were sent for evaluation.
int32 input_documents_count = 1;- Returns:
- The inputDocumentsCount.
-
getInvalidDocumentsCount
int getInvalidDocumentsCount()How many documents were not included in the evaluation as they didn't pass validation.
int32 invalid_documents_count = 2;- Returns:
- The invalidDocumentsCount.
-
getFailedDocumentsCount
int getFailedDocumentsCount()How many documents were not included in the evaluation as Document AI failed to process them.
int32 failed_documents_count = 3;- Returns:
- The failedDocumentsCount.
-
getEvaluatedDocumentsCount
int getEvaluatedDocumentsCount()How many documents were used in the evaluation.
int32 evaluated_documents_count = 4;- Returns:
- The evaluatedDocumentsCount.
-