public static final class ImageObjectDetectionEvaluationMetrics.Builder extends GeneratedMessage.Builder<ImageObjectDetectionEvaluationMetrics.Builder> implements ImageObjectDetectionEvaluationMetricsOrBuilderModel evaluation metrics for image object detection problems. Evaluates prediction quality of labeled bounding boxes.
Protobuf type google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImageObjectDetectionEvaluationMetrics.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBoundingBoxMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry> values)
public ImageObjectDetectionEvaluationMetrics.Builder addAllBoundingBoxMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry> values)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntry> |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry value)
public ImageObjectDetectionEvaluationMetrics.Builder addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry value)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
BoundingBoxMetricsEntry |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry.Builder builderForValue)
public ImageObjectDetectionEvaluationMetrics.Builder addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry.Builder builderForValue)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BoundingBoxMetricsEntry.Builder |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)
public ImageObjectDetectionEvaluationMetrics.Builder addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BoundingBoxMetricsEntry |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)
public ImageObjectDetectionEvaluationMetrics.Builder addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BoundingBoxMetricsEntry.Builder |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
addBoundingBoxMetricsEntriesBuilder()
public BoundingBoxMetricsEntry.Builder addBoundingBoxMetricsEntriesBuilder()Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
addBoundingBoxMetricsEntriesBuilder(int index)
public BoundingBoxMetricsEntry.Builder addBoundingBoxMetricsEntriesBuilder(int index)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
build()
public ImageObjectDetectionEvaluationMetrics build()| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics |
|
buildPartial()
public ImageObjectDetectionEvaluationMetrics buildPartial()| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics |
|
clear()
public ImageObjectDetectionEvaluationMetrics.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
clearBoundingBoxMeanAveragePrecision()
public ImageObjectDetectionEvaluationMetrics.Builder clearBoundingBoxMeanAveragePrecision()Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.
float bounding_box_mean_average_precision = 3;
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
This builder for chaining. |
clearBoundingBoxMetricsEntries()
public ImageObjectDetectionEvaluationMetrics.Builder clearBoundingBoxMetricsEntries()Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
clearEvaluatedBoundingBoxCount()
public ImageObjectDetectionEvaluationMetrics.Builder clearEvaluatedBoundingBoxCount()Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.
int32 evaluated_bounding_box_count = 1;
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
This builder for chaining. |
getBoundingBoxMeanAveragePrecision()
public float getBoundingBoxMeanAveragePrecision()Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.
float bounding_box_mean_average_precision = 3;
| Returns | |
|---|---|
| Type | Description |
float |
The boundingBoxMeanAveragePrecision. |
getBoundingBoxMetricsEntries(int index)
public BoundingBoxMetricsEntry getBoundingBoxMetricsEntries(int index)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry |
|
getBoundingBoxMetricsEntriesBuilder(int index)
public BoundingBoxMetricsEntry.Builder getBoundingBoxMetricsEntriesBuilder(int index)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntry.Builder |
|
getBoundingBoxMetricsEntriesBuilderList()
public List<BoundingBoxMetricsEntry.Builder> getBoundingBoxMetricsEntriesBuilderList()Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getBoundingBoxMetricsEntriesCount()
public int getBoundingBoxMetricsEntriesCount()Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getBoundingBoxMetricsEntriesList()
public List<BoundingBoxMetricsEntry> getBoundingBoxMetricsEntriesList()Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Returns | |
|---|---|
| Type | Description |
List<BoundingBoxMetricsEntry> |
|
getBoundingBoxMetricsEntriesOrBuilder(int index)
public BoundingBoxMetricsEntryOrBuilder getBoundingBoxMetricsEntriesOrBuilder(int index)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BoundingBoxMetricsEntryOrBuilder |
|
getBoundingBoxMetricsEntriesOrBuilderList()
public List<? extends BoundingBoxMetricsEntryOrBuilder> getBoundingBoxMetricsEntriesOrBuilderList()Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntryOrBuilder> |
|
getDefaultInstanceForType()
public ImageObjectDetectionEvaluationMetrics getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEvaluatedBoundingBoxCount()
public int getEvaluatedBoundingBoxCount()Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.
int32 evaluated_bounding_box_count = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The evaluatedBoundingBoxCount. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImageObjectDetectionEvaluationMetrics other)
public ImageObjectDetectionEvaluationMetrics.Builder mergeFrom(ImageObjectDetectionEvaluationMetrics other)| Parameter | |
|---|---|
| Name | Description |
other |
ImageObjectDetectionEvaluationMetrics |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImageObjectDetectionEvaluationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImageObjectDetectionEvaluationMetrics.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
removeBoundingBoxMetricsEntries(int index)
public ImageObjectDetectionEvaluationMetrics.Builder removeBoundingBoxMetricsEntries(int index)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
setBoundingBoxMeanAveragePrecision(float value)
public ImageObjectDetectionEvaluationMetrics.Builder setBoundingBoxMeanAveragePrecision(float value)Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.
float bounding_box_mean_average_precision = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe boundingBoxMeanAveragePrecision to set. |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
This builder for chaining. |
setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)
public ImageObjectDetectionEvaluationMetrics.Builder setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BoundingBoxMetricsEntry |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)
public ImageObjectDetectionEvaluationMetrics.Builder setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BoundingBoxMetricsEntry.Builder |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
|
setEvaluatedBoundingBoxCount(int value)
public ImageObjectDetectionEvaluationMetrics.Builder setEvaluatedBoundingBoxCount(int value)Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.
int32 evaluated_bounding_box_count = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe evaluatedBoundingBoxCount to set. |
| Returns | |
|---|---|
| Type | Description |
ImageObjectDetectionEvaluationMetrics.Builder |
This builder for chaining. |