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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VideoObjectTrackingEvaluationMetrics build()
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics

buildPartial()

public VideoObjectTrackingEvaluationMetrics buildPartial()
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VideoObjectTrackingEvaluationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public VideoObjectTrackingEvaluationMetrics.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntryOrBuilder>

getDefaultInstanceForType()

public VideoObjectTrackingEvaluationMetrics getDefaultInstanceForType()
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics

getDescriptorForType()

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

The evaluatedFrameCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VideoObjectTrackingEvaluationMetrics other)

public VideoObjectTrackingEvaluationMetrics.Builder mergeFrom(VideoObjectTrackingEvaluationMetrics other)
Parameter
NameDescription
otherVideoObjectTrackingEvaluationMetrics
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoObjectTrackingEvaluationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuefloat

The boundingBoxMeanAveragePrecision to set.

Returns
TypeDescription
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
NameDescription
indexint
valueBoundingBoxMetricsEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBoundingBoxMetricsEntry.Builder
Returns
TypeDescription
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
NameDescription
valueint

The evaluatedBoundingBoxCount to set.

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

The evaluatedFrameCount to set.

Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public VideoObjectTrackingEvaluationMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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