Class BoundingBoxEvaluationOptions.Builder (0.203.0)

public static final class BoundingBoxEvaluationOptions.Builder extends GeneratedMessage.Builder<BoundingBoxEvaluationOptions.Builder> implements BoundingBoxEvaluationOptionsOrBuilder

Options regarding evaluation between bounding boxes.

Protobuf type google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public BoundingBoxEvaluationOptions build()
Returns
Type Description
BoundingBoxEvaluationOptions

buildPartial()

public BoundingBoxEvaluationOptions buildPartial()
Returns
Type Description
BoundingBoxEvaluationOptions

clear()

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

clearIouThreshold()

public BoundingBoxEvaluationOptions.Builder clearIouThreshold()

Minimum intersection-over-union

(IOU) required for 2 bounding boxes to be considered a match. This must be a number between 0 and 1.

float iou_threshold = 1;

Returns
Type Description
BoundingBoxEvaluationOptions.Builder

This builder for chaining.

getDefaultInstanceForType()

public BoundingBoxEvaluationOptions getDefaultInstanceForType()
Returns
Type Description
BoundingBoxEvaluationOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIouThreshold()

public float getIouThreshold()

Minimum intersection-over-union

(IOU) required for 2 bounding boxes to be considered a match. This must be a number between 0 and 1.

float iou_threshold = 1;

Returns
Type Description
float

The iouThreshold.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BoundingBoxEvaluationOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BoundingBoxEvaluationOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BoundingBoxEvaluationOptions.Builder
Overrides

setIouThreshold(float value)

public BoundingBoxEvaluationOptions.Builder setIouThreshold(float value)

Minimum intersection-over-union

(IOU) required for 2 bounding boxes to be considered a match. This must be a number between 0 and 1.

float iou_threshold = 1;

Parameter
Name Description
value float

The iouThreshold to set.

Returns
Type Description
BoundingBoxEvaluationOptions.Builder

This builder for chaining.