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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BoundingBoxEvaluationOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BoundingBoxEvaluationOptions build()
Returns
buildPartial()
public BoundingBoxEvaluationOptions buildPartial()
Returns
clear()
public BoundingBoxEvaluationOptions.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BoundingBoxEvaluationOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public BoundingBoxEvaluationOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public BoundingBoxEvaluationOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BoundingBoxEvaluationOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BoundingBoxEvaluationOptions other)
public BoundingBoxEvaluationOptions.Builder mergeFrom(BoundingBoxEvaluationOptions other)
Parameter
Returns
public BoundingBoxEvaluationOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BoundingBoxEvaluationOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BoundingBoxEvaluationOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BoundingBoxEvaluationOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BoundingBoxEvaluationOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BoundingBoxEvaluationOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides