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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectDetectionMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ObjectDetectionMetrics build()
Returns
buildPartial()
public ObjectDetectionMetrics buildPartial()
Returns
clear()
public ObjectDetectionMetrics.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ObjectDetectionMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectDetectionMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPrCurve()
public ObjectDetectionMetrics.Builder clearPrCurve()
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Returns
clone()
public ObjectDetectionMetrics.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ObjectDetectionMetrics getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPrCurve()
public PrCurve getPrCurve()
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Returns
getPrCurveBuilder()
public PrCurve.Builder getPrCurveBuilder()
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Returns
getPrCurveOrBuilder()
public PrCurveOrBuilder getPrCurveOrBuilder()
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ObjectDetectionMetrics other)
public ObjectDetectionMetrics.Builder mergeFrom(ObjectDetectionMetrics other)
Parameter
Returns
public ObjectDetectionMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ObjectDetectionMetrics.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePrCurve(PrCurve value)
public ObjectDetectionMetrics.Builder mergePrCurve(PrCurve value)
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectDetectionMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectDetectionMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPrCurve(PrCurve value)
public ObjectDetectionMetrics.Builder setPrCurve(PrCurve value)
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Parameter
Returns
setPrCurve(PrCurve.Builder builderForValue)
public ObjectDetectionMetrics.Builder setPrCurve(PrCurve.Builder builderForValue)
Precision-recall curve.
.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectDetectionMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectDetectionMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides