- 0.173.0 (latest)
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public static final class Evaluation.Builder extends GeneratedMessageV3.Builder<Evaluation.Builder> implements EvaluationOrBuilder
Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an EvaluationJob runs successfully.
Protobuf type google.cloud.datalabeling.v1beta1.Evaluation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Evaluation.BuilderImplements
EvaluationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Evaluation.Builder |
build()
public Evaluation build()
Type | Description |
Evaluation |
buildPartial()
public Evaluation buildPartial()
Type | Description |
Evaluation |
clear()
public Evaluation.Builder clear()
Type | Description |
Evaluation.Builder |
clearAnnotationType()
public Evaluation.Builder clearAnnotationType()
Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
Type | Description |
Evaluation.Builder | This builder for chaining. |
clearConfig()
public Evaluation.Builder clearConfig()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
Type | Description |
Evaluation.Builder |
clearCreateTime()
public Evaluation.Builder clearCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
Evaluation.Builder |
clearEvaluatedItemCount()
public Evaluation.Builder clearEvaluatedItemCount()
Output only. The number of items in the ground truth dataset that were used for this evaluation. Only populated when the evaulation is for certain AnnotationTypes.
int64 evaluated_item_count = 7;
Type | Description |
Evaluation.Builder | This builder for chaining. |
clearEvaluationJobRunTime()
public Evaluation.Builder clearEvaluationJobRunTime()
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Type | Description |
Evaluation.Builder |
clearEvaluationMetrics()
public Evaluation.Builder clearEvaluationMetrics()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Type | Description |
Evaluation.Builder |
clearField(Descriptors.FieldDescriptor field)
public Evaluation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Evaluation.Builder |
clearName()
public Evaluation.Builder clearName()
Output only. Resource name of an evaluation. The name has the following format: "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
string name = 1;
Type | Description |
Evaluation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Evaluation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Evaluation.Builder |
clone()
public Evaluation.Builder clone()
Type | Description |
Evaluation.Builder |
getAnnotationType()
public AnnotationType getAnnotationType()
Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
Type | Description |
AnnotationType | The annotationType. |
getAnnotationTypeValue()
public int getAnnotationTypeValue()
Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
Type | Description |
int | The enum numeric value on the wire for annotationType. |
getConfig()
public EvaluationConfig getConfig()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
Type | Description |
EvaluationConfig | The config. |
getConfigBuilder()
public EvaluationConfig.Builder getConfigBuilder()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
Type | Description |
EvaluationConfig.Builder |
getConfigOrBuilder()
public EvaluationConfigOrBuilder getConfigOrBuilder()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
Type | Description |
EvaluationConfigOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Evaluation getDefaultInstanceForType()
Type | Description |
Evaluation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEvaluatedItemCount()
public long getEvaluatedItemCount()
Output only. The number of items in the ground truth dataset that were used for this evaluation. Only populated when the evaulation is for certain AnnotationTypes.
int64 evaluated_item_count = 7;
Type | Description |
long | The evaluatedItemCount. |
getEvaluationJobRunTime()
public Timestamp getEvaluationJobRunTime()
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Type | Description |
Timestamp | The evaluationJobRunTime. |
getEvaluationJobRunTimeBuilder()
public Timestamp.Builder getEvaluationJobRunTimeBuilder()
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Type | Description |
Builder |
getEvaluationJobRunTimeOrBuilder()
public TimestampOrBuilder getEvaluationJobRunTimeOrBuilder()
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Type | Description |
TimestampOrBuilder |
getEvaluationMetrics()
public EvaluationMetrics getEvaluationMetrics()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Type | Description |
EvaluationMetrics | The evaluationMetrics. |
getEvaluationMetricsBuilder()
public EvaluationMetrics.Builder getEvaluationMetricsBuilder()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Type | Description |
EvaluationMetrics.Builder |
getEvaluationMetricsOrBuilder()
public EvaluationMetricsOrBuilder getEvaluationMetricsOrBuilder()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Type | Description |
EvaluationMetricsOrBuilder |
getName()
public String getName()
Output only. Resource name of an evaluation. The name has the following format: "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name of an evaluation. The name has the following format: "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
string name = 1;
Type | Description |
ByteString | The bytes for name. |
hasConfig()
public boolean hasConfig()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
Type | Description |
boolean | Whether the config field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
boolean | Whether the createTime field is set. |
hasEvaluationJobRunTime()
public boolean hasEvaluationJobRunTime()
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Type | Description |
boolean | Whether the evaluationJobRunTime field is set. |
hasEvaluationMetrics()
public boolean hasEvaluationMetrics()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Type | Description |
boolean | Whether the evaluationMetrics field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeConfig(EvaluationConfig value)
public Evaluation.Builder mergeConfig(EvaluationConfig value)
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
Name | Description |
value | EvaluationConfig |
Type | Description |
Evaluation.Builder |
mergeCreateTime(Timestamp value)
public Evaluation.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
Evaluation.Builder |
mergeEvaluationJobRunTime(Timestamp value)
public Evaluation.Builder mergeEvaluationJobRunTime(Timestamp value)
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Name | Description |
value | Timestamp |
Type | Description |
Evaluation.Builder |
mergeEvaluationMetrics(EvaluationMetrics value)
public Evaluation.Builder mergeEvaluationMetrics(EvaluationMetrics value)
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Name | Description |
value | EvaluationMetrics |
Type | Description |
Evaluation.Builder |
mergeFrom(Evaluation other)
public Evaluation.Builder mergeFrom(Evaluation other)
Name | Description |
other | Evaluation |
Type | Description |
Evaluation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Evaluation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Evaluation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Evaluation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Evaluation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Evaluation.Builder |
setAnnotationType(AnnotationType value)
public Evaluation.Builder setAnnotationType(AnnotationType value)
Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
Name | Description |
value | AnnotationType The annotationType to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setAnnotationTypeValue(int value)
public Evaluation.Builder setAnnotationTypeValue(int value)
Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
Name | Description |
value | int The enum numeric value on the wire for annotationType to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setConfig(EvaluationConfig value)
public Evaluation.Builder setConfig(EvaluationConfig value)
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
Name | Description |
value | EvaluationConfig |
Type | Description |
Evaluation.Builder |
setConfig(EvaluationConfig.Builder builderForValue)
public Evaluation.Builder setConfig(EvaluationConfig.Builder builderForValue)
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
Name | Description |
builderForValue | EvaluationConfig.Builder |
Type | Description |
Evaluation.Builder |
setCreateTime(Timestamp value)
public Evaluation.Builder setCreateTime(Timestamp value)
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
Evaluation.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Evaluation.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
Evaluation.Builder |
setEvaluatedItemCount(long value)
public Evaluation.Builder setEvaluatedItemCount(long value)
Output only. The number of items in the ground truth dataset that were used for this evaluation. Only populated when the evaulation is for certain AnnotationTypes.
int64 evaluated_item_count = 7;
Name | Description |
value | long The evaluatedItemCount to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setEvaluationJobRunTime(Timestamp value)
public Evaluation.Builder setEvaluationJobRunTime(Timestamp value)
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Name | Description |
value | Timestamp |
Type | Description |
Evaluation.Builder |
setEvaluationJobRunTime(Timestamp.Builder builderForValue)
public Evaluation.Builder setEvaluationJobRunTime(Timestamp.Builder builderForValue)
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Name | Description |
builderForValue | Builder |
Type | Description |
Evaluation.Builder |
setEvaluationMetrics(EvaluationMetrics value)
public Evaluation.Builder setEvaluationMetrics(EvaluationMetrics value)
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Name | Description |
value | EvaluationMetrics |
Type | Description |
Evaluation.Builder |
setEvaluationMetrics(EvaluationMetrics.Builder builderForValue)
public Evaluation.Builder setEvaluationMetrics(EvaluationMetrics.Builder builderForValue)
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Name | Description |
builderForValue | EvaluationMetrics.Builder |
Type | Description |
Evaluation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Evaluation.Builder |
setName(String value)
public Evaluation.Builder setName(String value)
Output only. Resource name of an evaluation. The name has the following format: "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Evaluation.Builder setNameBytes(ByteString value)
Output only. Resource name of an evaluation. The name has the following format: "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Evaluation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Evaluation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Evaluation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Evaluation.Builder |