Class BoundingBoxEvaluationOptions (0.172.0)

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
Type Description
int

Static Methods

getDefaultInstance()

public static BoundingBoxEvaluationOptions getDefaultInstance()
Returns
Type Description
BoundingBoxEvaluationOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BoundingBoxEvaluationOptions.Builder newBuilder()
Returns
Type Description
BoundingBoxEvaluationOptions.Builder

newBuilder(BoundingBoxEvaluationOptions prototype)

public static BoundingBoxEvaluationOptions.Builder newBuilder(BoundingBoxEvaluationOptions prototype)
Parameter
Name Description
prototype BoundingBoxEvaluationOptions
Returns
Type Description
BoundingBoxEvaluationOptions.Builder

parseDelimitedFrom(InputStream input)

public static BoundingBoxEvaluationOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BoundingBoxEvaluationOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BoundingBoxEvaluationOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BoundingBoxEvaluationOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BoundingBoxEvaluationOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BoundingBoxEvaluationOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BoundingBoxEvaluationOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BoundingBoxEvaluationOptions> parser()
Returns
Type Description
Parser<BoundingBoxEvaluationOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BoundingBoxEvaluationOptions getDefaultInstanceForType()
Returns
Type Description
BoundingBoxEvaluationOptions

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
Type Description
Parser<BoundingBoxEvaluationOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BoundingBoxEvaluationOptions.Builder newBuilderForType()
Returns
Type Description
BoundingBoxEvaluationOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BoundingBoxEvaluationOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BoundingBoxEvaluationOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BoundingBoxEvaluationOptions.Builder toBuilder()
Returns
Type Description
BoundingBoxEvaluationOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException