public final class Evaluation extends com.google.protobuf.GeneratedMessageV3 implements EvaluationOrBuilder
Describes an evaluation between 2 annotated datasets. Created by an evaluation plan.Protobuf type
google.cloud.datalabeling.v1beta1.Evaluation| Modifier and Type | Class and Description |
|---|---|
static class |
Evaluation.Builder
Describes an evaluation between 2 annotated datasets.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_TYPE_FIELD_NUMBER |
static int |
CONFIG_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
EVALUATED_ITEM_COUNT_FIELD_NUMBER |
static int |
EVALUATION_JOB_RUN_TIME_FIELD_NUMBER |
static int |
EVALUATION_METRICS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AnnotationType |
getAnnotationType()
Type of the annotation to compute metrics for in the groundtruth and
annotation labeled dataset.
|
int |
getAnnotationTypeValue()
Type of the annotation to compute metrics for in the groundtruth and
annotation labeled dataset.
|
EvaluationConfig |
getConfig()
Options used in evaluation plan for creating the evaluation.
|
EvaluationConfigOrBuilder |
getConfigOrBuilder()
Options used in evaluation plan for creating the evaluation.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Evaluation |
getDefaultInstance() |
Evaluation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getEvaluatedItemCount()
Output only.
|
com.google.protobuf.Timestamp |
getEvaluationJobRunTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEvaluationJobRunTimeOrBuilder()
Output only.
|
EvaluationMetrics |
getEvaluationMetrics()
Output only.
|
EvaluationMetricsOrBuilder |
getEvaluationMetricsOrBuilder()
Output only.
|
String |
getName()
Resource name of an evaluation.
|
com.google.protobuf.ByteString |
getNameBytes()
Resource name of an evaluation.
|
com.google.protobuf.Parser<Evaluation> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasConfig()
Options used in evaluation plan for creating the evaluation.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasEvaluationJobRunTime()
Output only.
|
boolean |
hasEvaluationMetrics()
Output only.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
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) |
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, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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 CONFIG_FIELD_NUMBER
public static final int EVALUATION_JOB_RUN_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int EVALUATION_METRICS_FIELD_NUMBER
public static final int ANNOTATION_TYPE_FIELD_NUMBER
public static final int EVALUATED_ITEM_COUNT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Resource name of an evaluation.
Format:
'projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}'
string name = 1;getName in interface EvaluationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Resource name of an evaluation.
Format:
'projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}'
string name = 1;getNameBytes in interface EvaluationOrBuilderpublic boolean hasConfig()
Options used in evaluation plan for creating the evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;hasConfig in interface EvaluationOrBuilderpublic EvaluationConfig getConfig()
Options used in evaluation plan for creating the evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;getConfig in interface EvaluationOrBuilderpublic EvaluationConfigOrBuilder getConfigOrBuilder()
Options used in evaluation plan for creating the evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;getConfigOrBuilder in interface EvaluationOrBuilderpublic boolean hasEvaluationJobRunTime()
Output only. Timestamp when the evaluation plan triggered this evaluation flow.
.google.protobuf.Timestamp evaluation_job_run_time = 3;hasEvaluationJobRunTime in interface EvaluationOrBuilderpublic com.google.protobuf.Timestamp getEvaluationJobRunTime()
Output only. Timestamp when the evaluation plan triggered this evaluation flow.
.google.protobuf.Timestamp evaluation_job_run_time = 3;getEvaluationJobRunTime in interface EvaluationOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEvaluationJobRunTimeOrBuilder()
Output only. Timestamp when the evaluation plan triggered this evaluation flow.
.google.protobuf.Timestamp evaluation_job_run_time = 3;getEvaluationJobRunTimeOrBuilder in interface EvaluationOrBuilderpublic boolean hasCreateTime()
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 4;hasCreateTime in interface EvaluationOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 4;getCreateTime in interface EvaluationOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this model evaluation was created.
.google.protobuf.Timestamp create_time = 4;getCreateTimeOrBuilder in interface EvaluationOrBuilderpublic boolean hasEvaluationMetrics()
Output only. Metrics of the evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;hasEvaluationMetrics in interface EvaluationOrBuilderpublic EvaluationMetrics getEvaluationMetrics()
Output only. Metrics of the evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;getEvaluationMetrics in interface EvaluationOrBuilderpublic EvaluationMetricsOrBuilder getEvaluationMetricsOrBuilder()
Output only. Metrics of the evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;getEvaluationMetricsOrBuilder in interface EvaluationOrBuilderpublic int getAnnotationTypeValue()
Type of the annotation to compute metrics for in the groundtruth and annotation labeled dataset. Required for creation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;getAnnotationTypeValue in interface EvaluationOrBuilderpublic AnnotationType getAnnotationType()
Type of the annotation to compute metrics for in the groundtruth and annotation labeled dataset. Required for creation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;getAnnotationType in interface EvaluationOrBuilderpublic long getEvaluatedItemCount()
Output only. Count of items in groundtruth dataset included in this evaluation. Will be unset if annotation type is not applicable.
int64 evaluated_item_count = 7;getEvaluatedItemCount 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 © 2019 Google LLC. All rights reserved.