Class ObjectDetectionMetrics.Builder (0.166.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ObjectDetectionMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ObjectDetectionMetrics.Builder
Overrides

build()

public ObjectDetectionMetrics build()
Returns
Type Description
ObjectDetectionMetrics

buildPartial()

public ObjectDetectionMetrics buildPartial()
Returns
Type Description
ObjectDetectionMetrics

clear()

public ObjectDetectionMetrics.Builder clear()
Returns
Type Description
ObjectDetectionMetrics.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ObjectDetectionMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ObjectDetectionMetrics.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ObjectDetectionMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ObjectDetectionMetrics.Builder
Overrides

clearPrCurve()

public ObjectDetectionMetrics.Builder clearPrCurve()

Precision-recall curve.

.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;

Returns
Type Description
ObjectDetectionMetrics.Builder

clone()

public ObjectDetectionMetrics.Builder clone()
Returns
Type Description
ObjectDetectionMetrics.Builder
Overrides

getDefaultInstanceForType()

public ObjectDetectionMetrics getDefaultInstanceForType()
Returns
Type Description
ObjectDetectionMetrics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
PrCurve.Builder

getPrCurveOrBuilder()

public PrCurveOrBuilder getPrCurveOrBuilder()

Precision-recall curve.

.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;

Returns
Type Description
PrCurveOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ObjectDetectionMetrics other)

public ObjectDetectionMetrics.Builder mergeFrom(ObjectDetectionMetrics other)
Parameter
Name Description
other ObjectDetectionMetrics
Returns
Type Description
ObjectDetectionMetrics.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ObjectDetectionMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ObjectDetectionMetrics.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ObjectDetectionMetrics.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ObjectDetectionMetrics.Builder
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
Returns
Type Description
ObjectDetectionMetrics.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ObjectDetectionMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ObjectDetectionMetrics.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ObjectDetectionMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ObjectDetectionMetrics.Builder
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
Returns
Type Description
ObjectDetectionMetrics.Builder

setPrCurve(PrCurve.Builder builderForValue)

public ObjectDetectionMetrics.Builder setPrCurve(PrCurve.Builder builderForValue)

Precision-recall curve.

.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;

Parameter
Name Description
builderForValue PrCurve.Builder
Returns
Type Description
ObjectDetectionMetrics.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ObjectDetectionMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ObjectDetectionMetrics.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ObjectDetectionMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ObjectDetectionMetrics.Builder
Overrides