Class Evaluation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
- com.google.cloud.datalabeling.v1beta1.Evaluation.Builder
-
- All Implemented Interfaces:
EvaluationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Evaluation
public static final class Evaluation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder> implements EvaluationOrBuilder
Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob] runs successfully.
Protobuf typegoogle.cloud.datalabeling.v1beta1.Evaluation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Evaluation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Evaluation
build()
Evaluation
buildPartial()
Evaluation.Builder
clear()
Evaluation.Builder
clearAnnotationType()
Output only.Evaluation.Builder
clearConfig()
Output only.Evaluation.Builder
clearCreateTime()
Output only.Evaluation.Builder
clearEvaluatedItemCount()
Output only.Evaluation.Builder
clearEvaluationJobRunTime()
Output only.Evaluation.Builder
clearEvaluationMetrics()
Output only.Evaluation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Evaluation.Builder
clearName()
Output only.Evaluation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Evaluation.Builder
clone()
AnnotationType
getAnnotationType()
Output only.int
getAnnotationTypeValue()
Output only.EvaluationConfig
getConfig()
Output only.EvaluationConfig.Builder
getConfigBuilder()
Output only.EvaluationConfigOrBuilder
getConfigOrBuilder()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Evaluation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getEvaluatedItemCount()
Output only.com.google.protobuf.Timestamp
getEvaluationJobRunTime()
Output only.com.google.protobuf.Timestamp.Builder
getEvaluationJobRunTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getEvaluationJobRunTimeOrBuilder()
Output only.EvaluationMetrics
getEvaluationMetrics()
Output only.EvaluationMetrics.Builder
getEvaluationMetricsBuilder()
Output only.EvaluationMetricsOrBuilder
getEvaluationMetricsOrBuilder()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.boolean
hasConfig()
Output only.boolean
hasCreateTime()
Output only.boolean
hasEvaluationJobRunTime()
Output only.boolean
hasEvaluationMetrics()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Evaluation.Builder
mergeConfig(EvaluationConfig value)
Output only.Evaluation.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Evaluation.Builder
mergeEvaluationJobRunTime(com.google.protobuf.Timestamp value)
Output only.Evaluation.Builder
mergeEvaluationMetrics(EvaluationMetrics value)
Output only.Evaluation.Builder
mergeFrom(Evaluation other)
Evaluation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Evaluation.Builder
mergeFrom(com.google.protobuf.Message other)
Evaluation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Evaluation.Builder
setAnnotationType(AnnotationType value)
Output only.Evaluation.Builder
setAnnotationTypeValue(int value)
Output only.Evaluation.Builder
setConfig(EvaluationConfig value)
Output only.Evaluation.Builder
setConfig(EvaluationConfig.Builder builderForValue)
Output only.Evaluation.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Evaluation.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Evaluation.Builder
setEvaluatedItemCount(long value)
Output only.Evaluation.Builder
setEvaluationJobRunTime(com.google.protobuf.Timestamp value)
Output only.Evaluation.Builder
setEvaluationJobRunTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Evaluation.Builder
setEvaluationMetrics(EvaluationMetrics value)
Output only.Evaluation.Builder
setEvaluationMetrics(EvaluationMetrics.Builder builderForValue)
Output only.Evaluation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Evaluation.Builder
setName(String value)
Output only.Evaluation.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Evaluation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Evaluation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
clear
public Evaluation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
getDefaultInstanceForType
public Evaluation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Evaluation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Evaluation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Evaluation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
setField
public Evaluation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
clearField
public Evaluation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
clearOneof
public Evaluation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
setRepeatedField
public Evaluation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
addRepeatedField
public Evaluation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
mergeFrom
public Evaluation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Evaluation.Builder>
-
mergeFrom
public Evaluation.Builder mergeFrom(Evaluation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
mergeFrom
public Evaluation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Evaluation.Builder>
- Throws:
IOException
-
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;
- Specified by:
getName
in interfaceEvaluationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;
- Specified by:
getNameBytes
in interfaceEvaluationOrBuilder
- Returns:
- The bytes for name.
-
setName
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
public Evaluation.Builder setNameBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
- Specified by:
hasConfig
in interfaceEvaluationOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
public EvaluationConfig getConfig()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
- Specified by:
getConfig
in interfaceEvaluationOrBuilder
- Returns:
- The config.
-
setConfig
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;
-
setConfig
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;
-
mergeConfig
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;
-
clearConfig
public Evaluation.Builder clearConfig()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
-
getConfigBuilder
public EvaluationConfig.Builder getConfigBuilder()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
-
getConfigOrBuilder
public EvaluationConfigOrBuilder getConfigOrBuilder()
Output only. Options used in the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
- Specified by:
getConfigOrBuilder
in interfaceEvaluationOrBuilder
-
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;
- Specified by:
hasEvaluationJobRunTime
in interfaceEvaluationOrBuilder
- Returns:
- Whether the evaluationJobRunTime field is set.
-
getEvaluationJobRunTime
public com.google.protobuf.Timestamp getEvaluationJobRunTime()
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
- Specified by:
getEvaluationJobRunTime
in interfaceEvaluationOrBuilder
- Returns:
- The evaluationJobRunTime.
-
setEvaluationJobRunTime
public Evaluation.Builder setEvaluationJobRunTime(com.google.protobuf.Timestamp value)
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
-
setEvaluationJobRunTime
public Evaluation.Builder setEvaluationJobRunTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
-
mergeEvaluationJobRunTime
public Evaluation.Builder mergeEvaluationJobRunTime(com.google.protobuf.Timestamp value)
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
-
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;
-
getEvaluationJobRunTimeBuilder
public com.google.protobuf.Timestamp.Builder getEvaluationJobRunTimeBuilder()
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
-
getEvaluationJobRunTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEvaluationJobRunTimeOrBuilder()
Output only. Timestamp for when the evaluation job that created this evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
- Specified by:
getEvaluationJobRunTimeOrBuilder
in interfaceEvaluationOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
- Specified by:
hasCreateTime
in interfaceEvaluationOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
- Specified by:
getCreateTime
in interfaceEvaluationOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Evaluation.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
-
setCreateTime
public Evaluation.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
-
mergeCreateTime
public Evaluation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
-
clearCreateTime
public Evaluation.Builder clearCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
- Specified by:
getCreateTimeOrBuilder
in interfaceEvaluationOrBuilder
-
hasEvaluationMetrics
public boolean hasEvaluationMetrics()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
- Specified by:
hasEvaluationMetrics
in interfaceEvaluationOrBuilder
- Returns:
- Whether the evaluationMetrics field is set.
-
getEvaluationMetrics
public EvaluationMetrics getEvaluationMetrics()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
- Specified by:
getEvaluationMetrics
in interfaceEvaluationOrBuilder
- Returns:
- The evaluationMetrics.
-
setEvaluationMetrics
public Evaluation.Builder setEvaluationMetrics(EvaluationMetrics value)
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
-
setEvaluationMetrics
public Evaluation.Builder setEvaluationMetrics(EvaluationMetrics.Builder builderForValue)
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
-
mergeEvaluationMetrics
public Evaluation.Builder mergeEvaluationMetrics(EvaluationMetrics value)
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
-
clearEvaluationMetrics
public Evaluation.Builder clearEvaluationMetrics()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
-
getEvaluationMetricsBuilder
public EvaluationMetrics.Builder getEvaluationMetricsBuilder()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
-
getEvaluationMetricsOrBuilder
public EvaluationMetricsOrBuilder getEvaluationMetricsOrBuilder()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
- Specified by:
getEvaluationMetricsOrBuilder
in interfaceEvaluationOrBuilder
-
getAnnotationTypeValue
public int getAnnotationTypeValue()
Output only. Type of task that the model version being evaluated performs, as defined in the [evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config] field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
- Specified by:
getAnnotationTypeValue
in interfaceEvaluationOrBuilder
- Returns:
- The enum numeric value on the wire for annotationType.
-
setAnnotationTypeValue
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][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config] field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
- Parameters:
value
- The enum numeric value on the wire for annotationType to set.- Returns:
- This builder for chaining.
-
getAnnotationType
public AnnotationType getAnnotationType()
Output only. Type of task that the model version being evaluated performs, as defined in the [evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config] field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
- Specified by:
getAnnotationType
in interfaceEvaluationOrBuilder
- Returns:
- The annotationType.
-
setAnnotationType
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][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config] field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
- Parameters:
value
- The annotationType to set.- Returns:
- This builder for chaining.
-
clearAnnotationType
public Evaluation.Builder clearAnnotationType()
Output only. Type of task that the model version being evaluated performs, as defined in the [evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config] field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getEvaluatedItemCount
in interfaceEvaluationOrBuilder
- Returns:
- The evaluatedItemCount.
-
setEvaluatedItemCount
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;
- Parameters:
value
- The evaluatedItemCount to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final Evaluation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
mergeUnknownFields
public final Evaluation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Evaluation.Builder>
-
-