Class BoundingBoxEvaluationOptions.Builder (0.162.0)

public static final class BoundingBoxEvaluationOptions.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public BoundingBoxEvaluationOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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