- 0.175.0 (latest)
- 0.174.0
- 0.173.0
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
build()
public Evaluation build()
Returns | |
---|---|
Type | Description |
Evaluation |
buildPartial()
public Evaluation buildPartial()
Returns | |
---|---|
Type | Description |
Evaluation |
clear()
public Evaluation.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
clearCreateTime()
public Evaluation.Builder clearCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
clearField(Descriptors.FieldDescriptor field)
public Evaluation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Evaluation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
clone()
public Evaluation.Builder clone()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
EvaluationConfigOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Evaluation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Evaluation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getEvaluationMetrics()
public EvaluationMetrics getEvaluationMetrics()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the evaluationMetrics field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
EvaluationConfig |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
EvaluationMetrics |
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
mergeFrom(Evaluation other)
public Evaluation.Builder mergeFrom(Evaluation other)
Parameter | |
---|---|
Name | Description |
other |
Evaluation |
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Evaluation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Evaluation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
AnnotationType The annotationType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for annotationType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
EvaluationConfig |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
EvaluationConfig.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
long The evaluatedItemCount to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
EvaluationMetrics |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
EvaluationMetrics.Builder |
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Evaluation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Evaluation.Builder |