Class ObjectDetectionMetrics.Builder (0.147.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ObjectDetectionMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides

build()

public ObjectDetectionMetrics build()
Returns
TypeDescription
ObjectDetectionMetrics

buildPartial()

public ObjectDetectionMetrics buildPartial()
Returns
TypeDescription
ObjectDetectionMetrics

clear()

public ObjectDetectionMetrics.Builder clear()
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ObjectDetectionMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ObjectDetectionMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides

clearPrCurve()

public ObjectDetectionMetrics.Builder clearPrCurve()

Precision-recall curve.

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

Returns
TypeDescription
ObjectDetectionMetrics.Builder

clone()

public ObjectDetectionMetrics.Builder clone()
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides

getDefaultInstanceForType()

public ObjectDetectionMetrics getDefaultInstanceForType()
Returns
TypeDescription
ObjectDetectionMetrics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPrCurve()

public PrCurve getPrCurve()

Precision-recall curve.

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

Returns
TypeDescription
PrCurve

The prCurve.

getPrCurveBuilder()

public PrCurve.Builder getPrCurveBuilder()

Precision-recall curve.

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

Returns
TypeDescription
PrCurve.Builder

getPrCurveOrBuilder()

public PrCurveOrBuilder getPrCurveOrBuilder()

Precision-recall curve.

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

Returns
TypeDescription
PrCurveOrBuilder

hasPrCurve()

public boolean hasPrCurve()

Precision-recall curve.

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

Returns
TypeDescription
boolean

Whether the prCurve field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ObjectDetectionMetrics other)

public ObjectDetectionMetrics.Builder mergeFrom(ObjectDetectionMetrics other)
Parameter
NameDescription
otherObjectDetectionMetrics
Returns
TypeDescription
ObjectDetectionMetrics.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ObjectDetectionMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ObjectDetectionMetrics.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides

mergePrCurve(PrCurve value)

public ObjectDetectionMetrics.Builder mergePrCurve(PrCurve value)

Precision-recall curve.

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

Parameter
NameDescription
valuePrCurve
Returns
TypeDescription
ObjectDetectionMetrics.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ObjectDetectionMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ObjectDetectionMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides

setPrCurve(PrCurve value)

public ObjectDetectionMetrics.Builder setPrCurve(PrCurve value)

Precision-recall curve.

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

Parameter
NameDescription
valuePrCurve
Returns
TypeDescription
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
NameDescription
builderForValuePrCurve.Builder
Returns
TypeDescription
ObjectDetectionMetrics.Builder

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

public ObjectDetectionMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ObjectDetectionMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ObjectDetectionMetrics.Builder
Overrides