Class ObjectDetectionMetrics (0.123.7)

public final class ObjectDetectionMetrics extends GeneratedMessageV3 implements ObjectDetectionMetricsOrBuilder

Metrics calculated for an image object detection (bounding box) model.

Protobuf type google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics

Static Fields

PR_CURVE_FIELD_NUMBER

public static final int PR_CURVE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ObjectDetectionMetrics getDefaultInstance()
Returns
TypeDescription
ObjectDetectionMetrics

getDescriptor()

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

newBuilder()

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

newBuilder(ObjectDetectionMetrics prototype)

public static ObjectDetectionMetrics.Builder newBuilder(ObjectDetectionMetrics prototype)
Parameter
NameDescription
prototypeObjectDetectionMetrics
Returns
TypeDescription
ObjectDetectionMetrics.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ObjectDetectionMetrics getDefaultInstanceForType()
Returns
TypeDescription
ObjectDetectionMetrics

getParserForType()

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

getPrCurve()

public PrCurve getPrCurve()

Precision-recall curve.

.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;

Returns
TypeDescription
PrCurve

The prCurve.

getPrCurveOrBuilder()

public PrCurveOrBuilder getPrCurveOrBuilder()

Precision-recall curve.

.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;

Returns
TypeDescription
PrCurveOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPrCurve()

public boolean hasPrCurve()

Precision-recall curve.

.google.cloud.datalabeling.v1beta1.PrCurve pr_curve = 1;

Returns
TypeDescription
boolean

Whether the prCurve field is set.

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 ObjectDetectionMetrics.Builder newBuilderForType()
Returns
TypeDescription
ObjectDetectionMetrics.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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