Class VideoObjectTrackingEvaluationMetrics.Builder (2.49.0)

public static final class VideoObjectTrackingEvaluationMetrics.Builder extends GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder> implements VideoObjectTrackingEvaluationMetricsOrBuilder

Model evaluation metrics for video object tracking problems. Evaluates prediction quality of both labeled bounding boxes and labeled tracks (i.e. series of bounding boxes sharing same label and instance ID).

Protobuf type google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics

Static Methods

getDescriptor()

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

Methods

addAllBoundingBoxMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry> values)

public VideoObjectTrackingEvaluationMetrics.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 = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntry>
Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry value)

public VideoObjectTrackingEvaluationMetrics.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 = 4;

Parameter
Name Description
value BoundingBoxMetricsEntry
Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry.Builder builderForValue)

public VideoObjectTrackingEvaluationMetrics.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 = 4;

Parameter
Name Description
builderForValue BoundingBoxMetricsEntry.Builder
Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)

public VideoObjectTrackingEvaluationMetrics.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 = 4;

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

addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)

public VideoObjectTrackingEvaluationMetrics.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 = 4;

Parameters
Name Description
index int
builderForValue BoundingBoxMetricsEntry.Builder
Returns
Type Description
VideoObjectTrackingEvaluationMetrics.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 = 4;

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 = 4;

Parameter
Name Description
index int
Returns
Type Description
BoundingBoxMetricsEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VideoObjectTrackingEvaluationMetrics build()
Returns
Type Description
VideoObjectTrackingEvaluationMetrics

buildPartial()

public VideoObjectTrackingEvaluationMetrics buildPartial()
Returns
Type Description
VideoObjectTrackingEvaluationMetrics

clear()

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

clearBoundingBoxMeanAveragePrecision()

public VideoObjectTrackingEvaluationMetrics.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 = 6;

Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

This builder for chaining.

clearBoundingBoxMetricsEntries()

public VideoObjectTrackingEvaluationMetrics.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 = 4;

Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

clearEvaluatedBoundingBoxCount()

public VideoObjectTrackingEvaluationMetrics.Builder clearEvaluatedBoundingBoxCount()

Output only. The total number of bounding boxes (i.e. summed over all frames) the ground truth used to create this evaluation had.

int32 evaluated_bounding_box_count = 2;

Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

This builder for chaining.

clearEvaluatedFrameCount()

public VideoObjectTrackingEvaluationMetrics.Builder clearEvaluatedFrameCount()

Output only. The number of video frames used to create this evaluation.

int32 evaluated_frame_count = 1;

Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public VideoObjectTrackingEvaluationMetrics.Builder clone()
Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder
Overrides

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 = 6;

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 = 4;

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 = 4;

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 = 4;

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 = 4;

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 = 4;

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 = 4;

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 = 4;

Returns
Type Description
List<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntryOrBuilder>

getDefaultInstanceForType()

public VideoObjectTrackingEvaluationMetrics getDefaultInstanceForType()
Returns
Type Description
VideoObjectTrackingEvaluationMetrics

getDescriptorForType()

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

getEvaluatedBoundingBoxCount()

public int getEvaluatedBoundingBoxCount()

Output only. The total number of bounding boxes (i.e. summed over all frames) the ground truth used to create this evaluation had.

int32 evaluated_bounding_box_count = 2;

Returns
Type Description
int

The evaluatedBoundingBoxCount.

getEvaluatedFrameCount()

public int getEvaluatedFrameCount()

Output only. The number of video frames used to create this evaluation.

int32 evaluated_frame_count = 1;

Returns
Type Description
int

The evaluatedFrameCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoObjectTrackingEvaluationMetrics other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBoundingBoxMetricsEntries(int index)

public VideoObjectTrackingEvaluationMetrics.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 = 4;

Parameter
Name Description
index int
Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

setBoundingBoxMeanAveragePrecision(float value)

public VideoObjectTrackingEvaluationMetrics.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 = 6;

Parameter
Name Description
value float

The boundingBoxMeanAveragePrecision to set.

Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

This builder for chaining.

setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)

public VideoObjectTrackingEvaluationMetrics.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 = 4;

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

setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)

public VideoObjectTrackingEvaluationMetrics.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 = 4;

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

setEvaluatedBoundingBoxCount(int value)

public VideoObjectTrackingEvaluationMetrics.Builder setEvaluatedBoundingBoxCount(int value)

Output only. The total number of bounding boxes (i.e. summed over all frames) the ground truth used to create this evaluation had.

int32 evaluated_bounding_box_count = 2;

Parameter
Name Description
value int

The evaluatedBoundingBoxCount to set.

Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

This builder for chaining.

setEvaluatedFrameCount(int value)

public VideoObjectTrackingEvaluationMetrics.Builder setEvaluatedFrameCount(int value)

Output only. The number of video frames used to create this evaluation.

int32 evaluated_frame_count = 1;

Parameter
Name Description
value int

The evaluatedFrameCount to set.

Returns
Type Description
VideoObjectTrackingEvaluationMetrics.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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