Class BoundingBoxMetricsEntry.ConfidenceMetricsEntry (2.41.0)

public static final class BoundingBoxMetricsEntry.ConfidenceMetricsEntry extends GeneratedMessageV3 implements BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder

Metrics for a single confidence threshold.

Protobuf type google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BoundingBoxMetricsEntry.ConfidenceMetricsEntry

Static Fields

CONFIDENCE_THRESHOLD_FIELD_NUMBER

public static final int CONFIDENCE_THRESHOLD_FIELD_NUMBER
Field Value
TypeDescription
int

F1_SCORE_FIELD_NUMBER

public static final int F1_SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

PRECISION_FIELD_NUMBER

public static final int PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

RECALL_FIELD_NUMBER

public static final int RECALL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BoundingBoxMetricsEntry.ConfidenceMetricsEntry getDefaultInstance()
Returns
TypeDescription
BoundingBoxMetricsEntry.ConfidenceMetricsEntry

getDescriptor()

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

newBuilder()

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

newBuilder(BoundingBoxMetricsEntry.ConfidenceMetricsEntry prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfidenceThreshold()

public float getConfidenceThreshold()

Output only. The confidence threshold value used to compute the metrics.

float confidence_threshold = 1;

Returns
TypeDescription
float

The confidenceThreshold.

getDefaultInstanceForType()

public BoundingBoxMetricsEntry.ConfidenceMetricsEntry getDefaultInstanceForType()
Returns
TypeDescription
BoundingBoxMetricsEntry.ConfidenceMetricsEntry

getF1Score()

public float getF1Score()

Output only. The harmonic mean of recall and precision.

float f1_score = 4;

Returns
TypeDescription
float

The f1Score.

getParserForType()

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

getPrecision()

public float getPrecision()

Output only. Precision under the given confidence threshold.

float precision = 3;

Returns
TypeDescription
float

The precision.

getRecall()

public float getRecall()

Output only. Recall under the given confidence threshold.

float recall = 2;

Returns
TypeDescription
float

The recall.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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