Class BoundingBoxMetricsEntry (2.9.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
TypeDescription
int

IOU_THRESHOLD_FIELD_NUMBER

public static final int IOU_THRESHOLD_FIELD_NUMBER
Field Value
TypeDescription
int

MEAN_AVERAGE_PRECISION_FIELD_NUMBER

public static final int MEAN_AVERAGE_PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BoundingBoxMetricsEntry getDefaultInstance()
Returns
TypeDescription
BoundingBoxMetricsEntry

getDescriptor()

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

newBuilder()

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

newBuilder(BoundingBoxMetricsEntry prototype)

public static BoundingBoxMetricsEntry.Builder newBuilder(BoundingBoxMetricsEntry prototype)
Parameter
NameDescription
prototypeBoundingBoxMetricsEntry
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder>

getDefaultInstanceForType()

public BoundingBoxMetricsEntry getDefaultInstanceForType()
Returns
TypeDescription
BoundingBoxMetricsEntry

getIouThreshold()

public float getIouThreshold()

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

float iou_threshold = 1;

Returns
TypeDescription
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
TypeDescription
float

The meanAveragePrecision.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 BoundingBoxMetricsEntry.Builder newBuilderForType()
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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