Class BoundingBoxMetricsEntry.Builder (2.46.0)

public static final class BoundingBoxMetricsEntry.Builder extends GeneratedMessageV3.Builder<BoundingBoxMetricsEntry.Builder> 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 Methods

getDescriptor()

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

Methods

addAllConfidenceMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry.ConfidenceMetricsEntry> values)

public BoundingBoxMetricsEntry.Builder addAllConfidenceMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry.ConfidenceMetricsEntry> values)

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
values Iterable<? extends com.google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry>
Returns
Type Description
BoundingBoxMetricsEntry.Builder

addConfidenceMetricsEntries(BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)

public BoundingBoxMetricsEntry.Builder addConfidenceMetricsEntries(BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)

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
value BoundingBoxMetricsEntry.ConfidenceMetricsEntry
Returns
Type Description
BoundingBoxMetricsEntry.Builder

addConfidenceMetricsEntries(BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)

public BoundingBoxMetricsEntry.Builder addConfidenceMetricsEntries(BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)

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
builderForValue BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder
Returns
Type Description
BoundingBoxMetricsEntry.Builder

addConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)

public BoundingBoxMetricsEntry.Builder addConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)

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;

Parameters
Name Description
index int
value BoundingBoxMetricsEntry.ConfidenceMetricsEntry
Returns
Type Description
BoundingBoxMetricsEntry.Builder

addConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)

public BoundingBoxMetricsEntry.Builder addConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder
Returns
Type Description
BoundingBoxMetricsEntry.Builder

addConfidenceMetricsEntriesBuilder()

public BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntriesBuilder()

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
BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder

addConfidenceMetricsEntriesBuilder(int index)

public BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder addConfidenceMetricsEntriesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BoundingBoxMetricsEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides

build()

public BoundingBoxMetricsEntry build()
Returns
Type Description
BoundingBoxMetricsEntry

buildPartial()

public BoundingBoxMetricsEntry buildPartial()
Returns
Type Description
BoundingBoxMetricsEntry

clear()

public BoundingBoxMetricsEntry.Builder clear()
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides

clearConfidenceMetricsEntries()

public BoundingBoxMetricsEntry.Builder clearConfidenceMetricsEntries()

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
BoundingBoxMetricsEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public BoundingBoxMetricsEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides

clearIouThreshold()

public BoundingBoxMetricsEntry.Builder clearIouThreshold()

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

float iou_threshold = 1;

Returns
Type Description
BoundingBoxMetricsEntry.Builder

This builder for chaining.

clearMeanAveragePrecision()

public BoundingBoxMetricsEntry.Builder clearMeanAveragePrecision()

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

float mean_average_precision = 2;

Returns
Type Description
BoundingBoxMetricsEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BoundingBoxMetricsEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides

clone()

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

getConfidenceMetricsEntriesBuilder(int index)

public BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder getConfidenceMetricsEntriesBuilder(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.Builder

getConfidenceMetricsEntriesBuilderList()

public List<BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder> getConfidenceMetricsEntriesBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BoundingBoxMetricsEntry other)

public BoundingBoxMetricsEntry.Builder mergeFrom(BoundingBoxMetricsEntry other)
Parameter
Name Description
other BoundingBoxMetricsEntry
Returns
Type Description
BoundingBoxMetricsEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BoundingBoxMetricsEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BoundingBoxMetricsEntry.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BoundingBoxMetricsEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides

removeConfidenceMetricsEntries(int index)

public BoundingBoxMetricsEntry.Builder removeConfidenceMetricsEntries(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.Builder

setConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)

public BoundingBoxMetricsEntry.Builder setConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry value)

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;

Parameters
Name Description
index int
value BoundingBoxMetricsEntry.ConfidenceMetricsEntry
Returns
Type Description
BoundingBoxMetricsEntry.Builder

setConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)

public BoundingBoxMetricsEntry.Builder setConfidenceMetricsEntries(int index, BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder
Returns
Type Description
BoundingBoxMetricsEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BoundingBoxMetricsEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides

setIouThreshold(float value)

public BoundingBoxMetricsEntry.Builder setIouThreshold(float value)

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

float iou_threshold = 1;

Parameter
Name Description
value float

The iouThreshold to set.

Returns
Type Description
BoundingBoxMetricsEntry.Builder

This builder for chaining.

setMeanAveragePrecision(float value)

public BoundingBoxMetricsEntry.Builder setMeanAveragePrecision(float value)

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

float mean_average_precision = 2;

Parameter
Name Description
value float

The meanAveragePrecision to set.

Returns
Type Description
BoundingBoxMetricsEntry.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BoundingBoxMetricsEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BoundingBoxMetricsEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BoundingBoxMetricsEntry.Builder
Overrides