public static final class Evaluation.Counters.Builder extends GeneratedMessageV3.Builder<Evaluation.Counters.Builder> implements Evaluation.CountersOrBuilder
Evaluation counters for the documents that were used.
Protobuf type google.cloud.documentai.v1.Evaluation.Counters
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Counters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Evaluation.Counters build()
buildPartial()
public Evaluation.Counters buildPartial()
clear()
public Evaluation.Counters.Builder clear()
Overrides
clearEvaluatedDocumentsCount()
public Evaluation.Counters.Builder clearEvaluatedDocumentsCount()
How many documents were used in the evaluation.
int32 evaluated_documents_count = 4;
clearFailedDocumentsCount()
public Evaluation.Counters.Builder clearFailedDocumentsCount()
How many documents were not included in the evaluation as Document AI
failed to process them.
int32 failed_documents_count = 3;
clearField(Descriptors.FieldDescriptor field)
public Evaluation.Counters.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Evaluation.Counters.Builder clearInputDocumentsCount()
How many documents were sent for evaluation.
int32 input_documents_count = 1;
clearInvalidDocumentsCount()
public Evaluation.Counters.Builder clearInvalidDocumentsCount()
How many documents were not included in the evaluation as they didn't
pass validation.
int32 invalid_documents_count = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Evaluation.Counters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Evaluation.Counters.Builder clone()
Overrides
getDefaultInstanceForType()
public Evaluation.Counters getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEvaluatedDocumentsCount()
public int getEvaluatedDocumentsCount()
How many documents were used in the evaluation.
int32 evaluated_documents_count = 4;
Returns |
Type |
Description |
int |
The evaluatedDocumentsCount.
|
getFailedDocumentsCount()
public int getFailedDocumentsCount()
How many documents were not included in the evaluation as Document AI
failed to process them.
int32 failed_documents_count = 3;
Returns |
Type |
Description |
int |
The failedDocumentsCount.
|
public int getInputDocumentsCount()
How many documents were sent for evaluation.
int32 input_documents_count = 1;
Returns |
Type |
Description |
int |
The inputDocumentsCount.
|
getInvalidDocumentsCount()
public int getInvalidDocumentsCount()
How many documents were not included in the evaluation as they didn't
pass validation.
int32 invalid_documents_count = 2;
Returns |
Type |
Description |
int |
The invalidDocumentsCount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Evaluation.Counters other)
public Evaluation.Counters.Builder mergeFrom(Evaluation.Counters other)
public Evaluation.Counters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Evaluation.Counters.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Counters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEvaluatedDocumentsCount(int value)
public Evaluation.Counters.Builder setEvaluatedDocumentsCount(int value)
How many documents were used in the evaluation.
int32 evaluated_documents_count = 4;
Parameter |
Name |
Description |
value |
int
The evaluatedDocumentsCount to set.
|
setFailedDocumentsCount(int value)
public Evaluation.Counters.Builder setFailedDocumentsCount(int value)
How many documents were not included in the evaluation as Document AI
failed to process them.
int32 failed_documents_count = 3;
Parameter |
Name |
Description |
value |
int
The failedDocumentsCount to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Counters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Evaluation.Counters.Builder setInputDocumentsCount(int value)
How many documents were sent for evaluation.
int32 input_documents_count = 1;
Parameter |
Name |
Description |
value |
int
The inputDocumentsCount to set.
|
setInvalidDocumentsCount(int value)
public Evaluation.Counters.Builder setInvalidDocumentsCount(int value)
How many documents were not included in the evaluation as they didn't
pass validation.
int32 invalid_documents_count = 2;
Parameter |
Name |
Description |
value |
int
The invalidDocumentsCount to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Evaluation.Counters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Counters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides