Class BoundingBoxMetricsEntry.Builder (2.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry>
Returns
TypeDescription
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
NameDescription
valueBoundingBoxMetricsEntry.ConfidenceMetricsEntry
Returns
TypeDescription
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
NameDescription
builderForValueBoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueBoundingBoxMetricsEntry.ConfidenceMetricsEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BoundingBoxMetricsEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder
Overrides

build()

public BoundingBoxMetricsEntry build()
Returns
TypeDescription
BoundingBoxMetricsEntry

buildPartial()

public BoundingBoxMetricsEntry buildPartial()
Returns
TypeDescription
BoundingBoxMetricsEntry

clear()

public BoundingBoxMetricsEntry.Builder clear()
Returns
TypeDescription
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
TypeDescription
BoundingBoxMetricsEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public BoundingBoxMetricsEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BoundingBoxMetricsEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BoundingBoxMetricsEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder
Overrides

clone()

public BoundingBoxMetricsEntry.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BoundingBoxMetricsEntry other)

public BoundingBoxMetricsEntry.Builder mergeFrom(BoundingBoxMetricsEntry other)
Parameter
NameDescription
otherBoundingBoxMetricsEntry
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BoundingBoxMetricsEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BoundingBoxMetricsEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BoundingBoxMetricsEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueBoundingBoxMetricsEntry.ConfidenceMetricsEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BoundingBoxMetricsEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuefloat

The iouThreshold to set.

Returns
TypeDescription
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
NameDescription
valuefloat

The meanAveragePrecision to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BoundingBoxMetricsEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BoundingBoxMetricsEntry.Builder
Overrides