public static final class ObjectDetectionMetrics.Builder extends GeneratedMessageV3.Builder<ObjectDetectionMetrics.Builder> implements ObjectDetectionMetricsOrBuilder
Metrics calculated for an image object detection (bounding box) model.
Protobuf type google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics
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 ObjectDetectionMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ObjectDetectionMetrics build()
buildPartial()
public ObjectDetectionMetrics buildPartial()
clear()
public ObjectDetectionMetrics.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ObjectDetectionMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectDetectionMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPrCurve()
public ObjectDetectionMetrics.Builder clearPrCurve()
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
clone()
public ObjectDetectionMetrics.Builder clone()
Overrides
getDefaultInstanceForType()
public ObjectDetectionMetrics getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPrCurve()
public PrCurve getPrCurve()
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Returns |
Type |
Description |
PrCurve |
The prCurve.
|
getPrCurveBuilder()
public PrCurve.Builder getPrCurveBuilder()
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
getPrCurveOrBuilder()
public PrCurveOrBuilder getPrCurveOrBuilder()
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
hasPrCurve()
public boolean hasPrCurve()
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Returns |
Type |
Description |
boolean |
Whether the prCurve field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ObjectDetectionMetrics other)
public ObjectDetectionMetrics.Builder mergeFrom(ObjectDetectionMetrics other)
public ObjectDetectionMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ObjectDetectionMetrics.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePrCurve(PrCurve value)
public ObjectDetectionMetrics.Builder mergePrCurve(PrCurve value)
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Parameter |
Name |
Description |
value |
PrCurve
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectDetectionMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectDetectionMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPrCurve(PrCurve value)
public ObjectDetectionMetrics.Builder setPrCurve(PrCurve value)
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Parameter |
Name |
Description |
value |
PrCurve
|
setPrCurve(PrCurve.Builder builderForValue)
public ObjectDetectionMetrics.Builder setPrCurve(PrCurve.Builder builderForValue)
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectDetectionMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectDetectionMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides