public final class BoundingBoxEvaluationOptions extends GeneratedMessageV3 implements BoundingBoxEvaluationOptionsOrBuilder
Options regarding evaluation between bounding boxes.
Protobuf type google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions
Static Fields
IOU_THRESHOLD_FIELD_NUMBER
public static final int IOU_THRESHOLD_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BoundingBoxEvaluationOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BoundingBoxEvaluationOptions.Builder newBuilder()
Returns
newBuilder(BoundingBoxEvaluationOptions prototype)
public static BoundingBoxEvaluationOptions.Builder newBuilder(BoundingBoxEvaluationOptions prototype)
Parameter
Returns
public static BoundingBoxEvaluationOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BoundingBoxEvaluationOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BoundingBoxEvaluationOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BoundingBoxEvaluationOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BoundingBoxEvaluationOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BoundingBoxEvaluationOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BoundingBoxEvaluationOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BoundingBoxEvaluationOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BoundingBoxEvaluationOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BoundingBoxEvaluationOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BoundingBoxEvaluationOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BoundingBoxEvaluationOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BoundingBoxEvaluationOptions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BoundingBoxEvaluationOptions getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<BoundingBoxEvaluationOptions> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BoundingBoxEvaluationOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BoundingBoxEvaluationOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BoundingBoxEvaluationOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions