public static final class EvaluationMetrics.Builder extends GeneratedMessageV3.Builder<EvaluationMetrics.Builder> implements EvaluationMetricsOrBuilder
Protobuf type google.cloud.datalabeling.v1beta1.EvaluationMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EvaluationMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EvaluationMetrics build()
buildPartial()
public EvaluationMetrics buildPartial()
clear()
public EvaluationMetrics.Builder clear()
Overrides
clearClassificationMetrics()
public EvaluationMetrics.Builder clearClassificationMetrics()
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
clearField(Descriptors.FieldDescriptor field)
public EvaluationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMetrics()
public EvaluationMetrics.Builder clearMetrics()
clearObjectDetectionMetrics()
public EvaluationMetrics.Builder clearObjectDetectionMetrics()
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public EvaluationMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EvaluationMetrics.Builder clone()
Overrides
getClassificationMetrics()
public ClassificationMetrics getClassificationMetrics()
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
getClassificationMetricsBuilder()
public ClassificationMetrics.Builder getClassificationMetricsBuilder()
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
getClassificationMetricsOrBuilder()
public ClassificationMetricsOrBuilder getClassificationMetricsOrBuilder()
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
getDefaultInstanceForType()
public EvaluationMetrics getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMetricsCase()
public EvaluationMetrics.MetricsCase getMetricsCase()
getObjectDetectionMetrics()
public ObjectDetectionMetrics getObjectDetectionMetrics()
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
getObjectDetectionMetricsBuilder()
public ObjectDetectionMetrics.Builder getObjectDetectionMetricsBuilder()
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
getObjectDetectionMetricsOrBuilder()
public ObjectDetectionMetricsOrBuilder getObjectDetectionMetricsOrBuilder()
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
hasClassificationMetrics()
public boolean hasClassificationMetrics()
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
Returns |
Type |
Description |
boolean |
Whether the classificationMetrics field is set.
|
hasObjectDetectionMetrics()
public boolean hasObjectDetectionMetrics()
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
Returns |
Type |
Description |
boolean |
Whether the objectDetectionMetrics field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeClassificationMetrics(ClassificationMetrics value)
public EvaluationMetrics.Builder mergeClassificationMetrics(ClassificationMetrics value)
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
mergeFrom(EvaluationMetrics other)
public EvaluationMetrics.Builder mergeFrom(EvaluationMetrics other)
public EvaluationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EvaluationMetrics.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeObjectDetectionMetrics(ObjectDetectionMetrics value)
public EvaluationMetrics.Builder mergeObjectDetectionMetrics(ObjectDetectionMetrics value)
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setClassificationMetrics(ClassificationMetrics value)
public EvaluationMetrics.Builder setClassificationMetrics(ClassificationMetrics value)
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
setClassificationMetrics(ClassificationMetrics.Builder builderForValue)
public EvaluationMetrics.Builder setClassificationMetrics(ClassificationMetrics.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.ClassificationMetrics classification_metrics = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public EvaluationMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setObjectDetectionMetrics(ObjectDetectionMetrics value)
public EvaluationMetrics.Builder setObjectDetectionMetrics(ObjectDetectionMetrics value)
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
setObjectDetectionMetrics(ObjectDetectionMetrics.Builder builderForValue)
public EvaluationMetrics.Builder setObjectDetectionMetrics(ObjectDetectionMetrics.Builder builderForValue)
.google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics object_detection_metrics = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EvaluationMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides