Class BoundingBoxEvaluationOptions.Builder (0.128.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BoundingBoxEvaluationOptions build()
Returns
TypeDescription
BoundingBoxEvaluationOptions

buildPartial()

public BoundingBoxEvaluationOptions buildPartial()
Returns
TypeDescription
BoundingBoxEvaluationOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BoundingBoxEvaluationOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BoundingBoxEvaluationOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BoundingBoxEvaluationOptions getDefaultInstanceForType()
Returns
TypeDescription
BoundingBoxEvaluationOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
float

The iouThreshold.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BoundingBoxEvaluationOptions other)

public BoundingBoxEvaluationOptions.Builder mergeFrom(BoundingBoxEvaluationOptions other)
Parameter
NameDescription
otherBoundingBoxEvaluationOptions
Returns
TypeDescription
BoundingBoxEvaluationOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BoundingBoxEvaluationOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuefloat

The iouThreshold to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BoundingBoxEvaluationOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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