Package com.google.cloud.documentai.v1
Class Evaluation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.documentai.v1.Evaluation
- All Implemented Interfaces:
EvaluationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Evaluation
extends com.google.protobuf.GeneratedMessage
implements EvaluationOrBuilder
An evaluation of a ProcessorVersion's performance.Protobuf type
google.cloud.documentai.v1.Evaluation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn evaluation of a ProcessorVersion's performance.static final classEvaluations metrics, at a specific confidence level.static interfacestatic final classEvaluation counters for the documents that were used.static interfacestatic final classEvaluation metrics, either in aggregate or about a specific entity.static interfacestatic final classMetrics across multiple confidence levels.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanMetrics across confidence levels, for different entities.booleanMetrics for all the entities in aggregate.Metrics for all the entities in aggregate.com.google.protobuf.TimestampThe time that the evaluation was created.com.google.protobuf.TimestampOrBuilderThe time that the evaluation was created.static Evaluationstatic final com.google.protobuf.Descriptors.DescriptorCounters for the documents used in the evaluation.Counters for the documents used in the evaluation.Deprecated.intMetrics across confidence levels, for different entities.Metrics across confidence levels, for different entities.getEntityMetricsOrDefault(String key, Evaluation.MultiConfidenceMetrics defaultValue) Metrics across confidence levels, for different entities.Metrics across confidence levels, for different entities.The KMS key name used for encryption.com.google.protobuf.ByteStringThe KMS key name used for encryption.The KMS key version with which data is encrypted.com.google.protobuf.ByteStringThe KMS key version with which data is encrypted.getName()The resource name of the evaluation.com.google.protobuf.ByteStringThe resource name of the evaluation.com.google.protobuf.Parser<Evaluation>intbooleanMetrics for all the entities in aggregate.booleanThe time that the evaluation was created.booleanCounters for the documents used in the evaluation.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Evaluation.Builderstatic Evaluation.BuildernewBuilder(Evaluation prototype) protected Evaluation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EvaluationparseDelimitedFrom(InputStream input) static EvaluationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationparseFrom(byte[] data) static EvaluationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationparseFrom(com.google.protobuf.ByteString data) static EvaluationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationparseFrom(com.google.protobuf.CodedInputStream input) static EvaluationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationparseFrom(InputStream input) static EvaluationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationparseFrom(ByteBuffer data) static EvaluationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Evaluation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
DOCUMENT_COUNTERS_FIELD_NUMBER
public static final int DOCUMENT_COUNTERS_FIELD_NUMBER- See Also:
-
ALL_ENTITIES_METRICS_FIELD_NUMBER
public static final int ALL_ENTITIES_METRICS_FIELD_NUMBER- See Also:
-
ENTITY_METRICS_FIELD_NUMBER
public static final int ENTITY_METRICS_FIELD_NUMBER- See Also:
-
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER- See Also:
-
KMS_KEY_VERSION_NAME_FIELD_NUMBER
public static final int KMS_KEY_VERSION_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
The resource name of the evaluation. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}`string name = 1;- Specified by:
getNamein interfaceEvaluationOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceEvaluationOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;- Specified by:
hasCreateTimein interfaceEvaluationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimein interfaceEvaluationOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time that the evaluation was created.
.google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimeOrBuilderin interfaceEvaluationOrBuilder
-
hasDocumentCounters
public boolean hasDocumentCounters()Counters for the documents used in the evaluation.
.google.cloud.documentai.v1.Evaluation.Counters document_counters = 5;- Specified by:
hasDocumentCountersin interfaceEvaluationOrBuilder- Returns:
- Whether the documentCounters field is set.
-
getDocumentCounters
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1.Evaluation.Counters document_counters = 5;- Specified by:
getDocumentCountersin interfaceEvaluationOrBuilder- Returns:
- The documentCounters.
-
getDocumentCountersOrBuilder
Counters for the documents used in the evaluation.
.google.cloud.documentai.v1.Evaluation.Counters document_counters = 5;- Specified by:
getDocumentCountersOrBuilderin interfaceEvaluationOrBuilder
-
hasAllEntitiesMetrics
public boolean hasAllEntitiesMetrics()Metrics for all the entities in aggregate.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;- Specified by:
hasAllEntitiesMetricsin interfaceEvaluationOrBuilder- Returns:
- Whether the allEntitiesMetrics field is set.
-
getAllEntitiesMetrics
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;- Specified by:
getAllEntitiesMetricsin interfaceEvaluationOrBuilder- Returns:
- The allEntitiesMetrics.
-
getAllEntitiesMetricsOrBuilder
Metrics for all the entities in aggregate.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;- Specified by:
getAllEntitiesMetricsOrBuilderin interfaceEvaluationOrBuilder
-
getEntityMetricsCount
public int getEntityMetricsCount()Description copied from interface:EvaluationOrBuilderMetrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;- Specified by:
getEntityMetricsCountin interfaceEvaluationOrBuilder
-
containsEntityMetrics
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;- Specified by:
containsEntityMetricsin interfaceEvaluationOrBuilder
-
getEntityMetrics
Deprecated.UsegetEntityMetricsMap()instead.- Specified by:
getEntityMetricsin interfaceEvaluationOrBuilder
-
getEntityMetricsMap
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;- Specified by:
getEntityMetricsMapin interfaceEvaluationOrBuilder
-
getEntityMetricsOrDefault
public Evaluation.MultiConfidenceMetrics getEntityMetricsOrDefault(String key, Evaluation.MultiConfidenceMetrics defaultValue) Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;- Specified by:
getEntityMetricsOrDefaultin interfaceEvaluationOrBuilder
-
getEntityMetricsOrThrow
Metrics across confidence levels, for different entities.
map<string, .google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;- Specified by:
getEntityMetricsOrThrowin interfaceEvaluationOrBuilder
-
getKmsKeyName
The KMS key name used for encryption.
string kms_key_name = 6;- Specified by:
getKmsKeyNamein interfaceEvaluationOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()The KMS key name used for encryption.
string kms_key_name = 6;- Specified by:
getKmsKeyNameBytesin interfaceEvaluationOrBuilder- Returns:
- The bytes for kmsKeyName.
-
getKmsKeyVersionName
The KMS key version with which data is encrypted.
string kms_key_version_name = 7;- Specified by:
getKmsKeyVersionNamein interfaceEvaluationOrBuilder- Returns:
- The kmsKeyVersionName.
-
getKmsKeyVersionNameBytes
public com.google.protobuf.ByteString getKmsKeyVersionNameBytes()The KMS key version with which data is encrypted.
string kms_key_version_name = 7;- Specified by:
getKmsKeyVersionNameBytesin interfaceEvaluationOrBuilder- Returns:
- The bytes for kmsKeyVersionName.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Evaluation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Evaluation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Evaluation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Evaluation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Evaluation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-