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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BoundingBoxEvaluationOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BoundingBoxEvaluationOptions build()
buildPartial()
public BoundingBoxEvaluationOptions buildPartial()
clear()
public BoundingBoxEvaluationOptions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BoundingBoxEvaluationOptions.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public BoundingBoxEvaluationOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BoundingBoxEvaluationOptions.Builder clone()
Overrides
getDefaultInstanceForType()
public BoundingBoxEvaluationOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BoundingBoxEvaluationOptions other)
public BoundingBoxEvaluationOptions.Builder mergeFrom(BoundingBoxEvaluationOptions other)
public BoundingBoxEvaluationOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BoundingBoxEvaluationOptions.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BoundingBoxEvaluationOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BoundingBoxEvaluationOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BoundingBoxEvaluationOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BoundingBoxEvaluationOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides