Class BoundingBoxMetricsEntry (2.48.0)

public final class BoundingBoxMetricsEntry extends GeneratedMessageV3 implements BoundingBoxMetricsEntryOrBuilder

Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.

Protobuf type google.cloud.automl.v1.BoundingBoxMetricsEntry

Static Fields

CONFIDENCE_METRICS_ENTRIES_FIELD_NUMBER

public static final int CONFIDENCE_METRICS_ENTRIES_FIELD_NUMBER
Field Value
Type Description
int

IOU_THRESHOLD_FIELD_NUMBER

public static final int IOU_THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

MEAN_AVERAGE_PRECISION_FIELD_NUMBER

public static final int MEAN_AVERAGE_PRECISION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BoundingBoxMetricsEntry getDefaultInstance()
Returns
Type Description
BoundingBoxMetricsEntry

getDescriptor()

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

newBuilder()

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

newBuilder(BoundingBoxMetricsEntry prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfidenceMetricsEntries(int index)

public BoundingBoxMetricsEntry.ConfidenceMetricsEntry getConfidenceMetricsEntries(int index)

Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.

repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;

Parameter
Name Description
index int
Returns
Type Description
BoundingBoxMetricsEntry.ConfidenceMetricsEntry

getConfidenceMetricsEntriesCount()

public int getConfidenceMetricsEntriesCount()

Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.

repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;

Returns
Type Description
int

getConfidenceMetricsEntriesList()

public List<BoundingBoxMetricsEntry.ConfidenceMetricsEntry> getConfidenceMetricsEntriesList()

Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.

repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;

Returns
Type Description
List<ConfidenceMetricsEntry>

getConfidenceMetricsEntriesOrBuilder(int index)

public BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder getConfidenceMetricsEntriesOrBuilder(int index)

Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.

repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;

Parameter
Name Description
index int
Returns
Type Description
BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder

getConfidenceMetricsEntriesOrBuilderList()

public List<? extends BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder> getConfidenceMetricsEntriesOrBuilderList()

Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.

repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;

Returns
Type Description
List<? extends com.google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder>

getDefaultInstanceForType()

public BoundingBoxMetricsEntry getDefaultInstanceForType()
Returns
Type Description
BoundingBoxMetricsEntry

getIouThreshold()

public float getIouThreshold()

Output only. The intersection-over-union threshold value used to compute this metrics entry.

float iou_threshold = 1;

Returns
Type Description
float

The iouThreshold.

getMeanAveragePrecision()

public float getMeanAveragePrecision()

Output only. The mean average precision, most often close to au_prc.

float mean_average_precision = 2;

Returns
Type Description
float

The meanAveragePrecision.

getParserForType()

public Parser<BoundingBoxMetricsEntry> getParserForType()
Returns
Type Description
Parser<BoundingBoxMetricsEntry>
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 BoundingBoxMetricsEntry.Builder newBuilderForType()
Returns
Type Description
BoundingBoxMetricsEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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