Class BoundingBoxEvaluationOptions (0.149.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static BoundingBoxEvaluationOptions getDefaultInstance()
Returns
TypeDescription
BoundingBoxEvaluationOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BoundingBoxEvaluationOptions.Builder newBuilder()
Returns
TypeDescription
BoundingBoxEvaluationOptions.Builder

newBuilder(BoundingBoxEvaluationOptions prototype)

public static BoundingBoxEvaluationOptions.Builder newBuilder(BoundingBoxEvaluationOptions prototype)
Parameter
NameDescription
prototypeBoundingBoxEvaluationOptions
Returns
TypeDescription
BoundingBoxEvaluationOptions.Builder

parseDelimitedFrom(InputStream input)

public static BoundingBoxEvaluationOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BoundingBoxEvaluationOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BoundingBoxEvaluationOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BoundingBoxEvaluationOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BoundingBoxEvaluationOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BoundingBoxEvaluationOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BoundingBoxEvaluationOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BoundingBoxEvaluationOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BoundingBoxEvaluationOptions> parser()
Returns
TypeDescription
Parser<BoundingBoxEvaluationOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BoundingBoxEvaluationOptions getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
float

The iouThreshold.

getParserForType()

public Parser<BoundingBoxEvaluationOptions> getParserForType()
Returns
TypeDescription
Parser<BoundingBoxEvaluationOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BoundingBoxEvaluationOptions.Builder newBuilderForType()
Returns
TypeDescription
BoundingBoxEvaluationOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BoundingBoxEvaluationOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BoundingBoxEvaluationOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BoundingBoxEvaluationOptions.Builder toBuilder()
Returns
TypeDescription
BoundingBoxEvaluationOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException