public final class Evaluation extends com.google.protobuf.GeneratedMessageV3 implements EvaluationOrBuilder
An evaluation of a ProcessorVersion's performance.Protobuf type
google.cloud.documentai.v1beta3.Evaluation| Modifier and Type | Class and Description |
|---|---|
static class |
Evaluation.Builder
An evaluation of a ProcessorVersion's performance.
|
static class |
Evaluation.ConfidenceLevelMetrics
Evaluations metrics, at a specific confidence level.
|
static interface |
Evaluation.ConfidenceLevelMetricsOrBuilder |
static class |
Evaluation.Counters
Evaluation counters for the documents that were used.
|
static interface |
Evaluation.CountersOrBuilder |
static class |
Evaluation.Metrics
Evaluation metrics, either in aggregate or about a specific entity.
|
static interface |
Evaluation.MetricsOrBuilder |
static class |
Evaluation.MultiConfidenceMetrics
Metrics across multiple confidence levels.
|
static interface |
Evaluation.MultiConfidenceMetricsOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_ENTITIES_METRICS_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DOCUMENT_COUNTERS_FIELD_NUMBER |
static int |
ENTITY_METRICS_FIELD_NUMBER |
static int |
KMS_KEY_NAME_FIELD_NUMBER |
static int |
KMS_KEY_VERSION_NAME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsEntityMetrics(String key)
Metrics across confidence levels, for different entities.
|
boolean |
equals(Object obj) |
Evaluation.MultiConfidenceMetrics |
getAllEntitiesMetrics()
Metrics for all the entities in aggregate.
|
Evaluation.MultiConfidenceMetricsOrBuilder |
getAllEntitiesMetricsOrBuilder()
Metrics for all the entities in aggregate.
|
com.google.protobuf.Timestamp |
getCreateTime()
The time that the evaluation was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time that the evaluation was created.
|
static Evaluation |
getDefaultInstance() |
Evaluation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Evaluation.Counters |
getDocumentCounters()
Counters for the documents used in the evaluation.
|
Evaluation.CountersOrBuilder |
getDocumentCountersOrBuilder()
Counters for the documents used in the evaluation.
|
Map<String,Evaluation.MultiConfidenceMetrics> |
getEntityMetrics()
Deprecated.
|
int |
getEntityMetricsCount()
Metrics across confidence levels, for different entities.
|
Map<String,Evaluation.MultiConfidenceMetrics> |
getEntityMetricsMap()
Metrics across confidence levels, for different entities.
|
Evaluation.MultiConfidenceMetrics |
getEntityMetricsOrDefault(String key,
Evaluation.MultiConfidenceMetrics defaultValue)
Metrics across confidence levels, for different entities.
|
Evaluation.MultiConfidenceMetrics |
getEntityMetricsOrThrow(String key)
Metrics across confidence levels, for different entities.
|
String |
getKmsKeyName()
The KMS key name used for encryption.
|
com.google.protobuf.ByteString |
getKmsKeyNameBytes()
The KMS key name used for encryption.
|
String |
getKmsKeyVersionName()
The KMS key version with which data is encrypted.
|
com.google.protobuf.ByteString |
getKmsKeyVersionNameBytes()
The KMS key version with which data is encrypted.
|
String |
getName()
The resource name of the evaluation.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the evaluation.
|
com.google.protobuf.Parser<Evaluation> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasAllEntitiesMetrics()
Metrics for all the entities in aggregate.
|
boolean |
hasCreateTime()
The time that the evaluation was created.
|
boolean |
hasDocumentCounters()
Counters for the documents used in the evaluation.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static Evaluation.Builder |
newBuilder() |
static Evaluation.Builder |
newBuilder(Evaluation prototype) |
Evaluation.Builder |
newBuilderForType() |
protected Evaluation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Evaluation |
parseDelimitedFrom(InputStream input) |
static Evaluation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation |
parseFrom(byte[] data) |
static Evaluation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation |
parseFrom(ByteBuffer data) |
static Evaluation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation |
parseFrom(com.google.protobuf.ByteString data) |
static Evaluation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Evaluation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation |
parseFrom(InputStream input) |
static Evaluation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Evaluation> |
parser() |
Evaluation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int DOCUMENT_COUNTERS_FIELD_NUMBER
public static final int ALL_ENTITIES_METRICS_FIELD_NUMBER
public static final int ENTITY_METRICS_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_VERSION_NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The resource name of the evaluation.
Format:
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}`
string name = 1;getName in interface EvaluationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the evaluation.
Format:
`projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}`
string name = 1;getNameBytes in interface EvaluationOrBuilderpublic boolean hasCreateTime()
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;hasCreateTime in interface EvaluationOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;getCreateTime in interface EvaluationOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;getCreateTimeOrBuilder in interface EvaluationOrBuilderpublic boolean hasDocumentCounters()
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;hasDocumentCounters in interface EvaluationOrBuilderpublic Evaluation.Counters getDocumentCounters()
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;getDocumentCounters in interface EvaluationOrBuilderpublic Evaluation.CountersOrBuilder getDocumentCountersOrBuilder()
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1beta3.Evaluation.Counters document_counters = 5;getDocumentCountersOrBuilder in interface EvaluationOrBuilderpublic boolean hasAllEntitiesMetrics()
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
hasAllEntitiesMetrics in interface EvaluationOrBuilderpublic Evaluation.MultiConfidenceMetrics getAllEntitiesMetrics()
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
getAllEntitiesMetrics in interface EvaluationOrBuilderpublic Evaluation.MultiConfidenceMetricsOrBuilder getAllEntitiesMetricsOrBuilder()
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;
getAllEntitiesMetricsOrBuilder in interface EvaluationOrBuilderpublic int getEntityMetricsCount()
EvaluationOrBuilderMetrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
getEntityMetricsCount in interface EvaluationOrBuilderpublic boolean containsEntityMetrics(String key)
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
containsEntityMetrics in interface EvaluationOrBuilder@Deprecated public Map<String,Evaluation.MultiConfidenceMetrics> getEntityMetrics()
getEntityMetricsMap() instead.getEntityMetrics in interface EvaluationOrBuilderpublic Map<String,Evaluation.MultiConfidenceMetrics> getEntityMetricsMap()
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
getEntityMetricsMap in interface EvaluationOrBuilderpublic Evaluation.MultiConfidenceMetrics getEntityMetricsOrDefault(String key, Evaluation.MultiConfidenceMetrics defaultValue)
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
getEntityMetricsOrDefault in interface EvaluationOrBuilderpublic Evaluation.MultiConfidenceMetrics getEntityMetricsOrThrow(String key)
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;
getEntityMetricsOrThrow in interface EvaluationOrBuilderpublic String getKmsKeyName()
The KMS key name used for encryption.
string kms_key_name = 6;getKmsKeyName in interface EvaluationOrBuilderpublic com.google.protobuf.ByteString getKmsKeyNameBytes()
The KMS key name used for encryption.
string kms_key_name = 6;getKmsKeyNameBytes in interface EvaluationOrBuilderpublic String getKmsKeyVersionName()
The KMS key version with which data is encrypted.
string kms_key_version_name = 7;getKmsKeyVersionName in interface EvaluationOrBuilderpublic com.google.protobuf.ByteString getKmsKeyVersionNameBytes()
The KMS key version with which data is encrypted.
string kms_key_version_name = 7;getKmsKeyVersionNameBytes in interface EvaluationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Evaluation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation parseFrom(InputStream input) throws IOException
IOExceptionpublic static Evaluation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Evaluation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Evaluation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Evaluation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Evaluation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Evaluation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Evaluation.Builder newBuilder()
public static Evaluation.Builder newBuilder(Evaluation prototype)
public Evaluation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Evaluation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Evaluation getDefaultInstance()
public static com.google.protobuf.Parser<Evaluation> parser()
public com.google.protobuf.Parser<Evaluation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Evaluation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.