Package com.google.cloud.automl.v1beta1
Class VideoObjectTrackingEvaluationMetrics.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
- com.google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics.Builder
-
- All Implemented Interfaces:
VideoObjectTrackingEvaluationMetricsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VideoObjectTrackingEvaluationMetrics
public static final class VideoObjectTrackingEvaluationMetrics.Builder extends com.google.protobuf.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 typegoogle.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
clear
public VideoObjectTrackingEvaluationMetrics.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
getDefaultInstanceForType
public VideoObjectTrackingEvaluationMetrics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VideoObjectTrackingEvaluationMetrics build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VideoObjectTrackingEvaluationMetrics buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VideoObjectTrackingEvaluationMetrics.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
setField
public VideoObjectTrackingEvaluationMetrics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
clearField
public VideoObjectTrackingEvaluationMetrics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
clearOneof
public VideoObjectTrackingEvaluationMetrics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
setRepeatedField
public VideoObjectTrackingEvaluationMetrics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
addRepeatedField
public VideoObjectTrackingEvaluationMetrics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
mergeFrom
public VideoObjectTrackingEvaluationMetrics.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
mergeFrom
public VideoObjectTrackingEvaluationMetrics.Builder mergeFrom(VideoObjectTrackingEvaluationMetrics other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
mergeFrom
public VideoObjectTrackingEvaluationMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoObjectTrackingEvaluationMetrics.Builder>- Throws:
IOException
-
getEvaluatedFrameCount
public int getEvaluatedFrameCount()
Output only. The number of video frames used to create this evaluation.
int32 evaluated_frame_count = 1;- Specified by:
getEvaluatedFrameCountin interfaceVideoObjectTrackingEvaluationMetricsOrBuilder- Returns:
- The evaluatedFrameCount.
-
setEvaluatedFrameCount
public VideoObjectTrackingEvaluationMetrics.Builder setEvaluatedFrameCount(int value)
Output only. The number of video frames used to create this evaluation.
int32 evaluated_frame_count = 1;- Parameters:
value- The evaluatedFrameCount to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
getEvaluatedBoundingBoxCountin interfaceVideoObjectTrackingEvaluationMetricsOrBuilder- Returns:
- The evaluatedBoundingBoxCount.
-
setEvaluatedBoundingBoxCount
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;- Parameters:
value- The evaluatedBoundingBoxCount to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getBoundingBoxMetricsEntriesListin interfaceVideoObjectTrackingEvaluationMetricsOrBuilder
-
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;- Specified by:
getBoundingBoxMetricsEntriesCountin interfaceVideoObjectTrackingEvaluationMetricsOrBuilder
-
getBoundingBoxMetricsEntries
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;- Specified by:
getBoundingBoxMetricsEntriesin interfaceVideoObjectTrackingEvaluationMetricsOrBuilder
-
setBoundingBoxMetricsEntries
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;
-
setBoundingBoxMetricsEntries
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;
-
addBoundingBoxMetricsEntries
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;
-
addBoundingBoxMetricsEntries
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;
-
addBoundingBoxMetricsEntries
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;
-
addBoundingBoxMetricsEntries
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;
-
addAllBoundingBoxMetricsEntries
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;
-
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;
-
removeBoundingBoxMetricsEntries
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;
-
getBoundingBoxMetricsEntriesBuilder
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;
-
getBoundingBoxMetricsEntriesOrBuilder
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;- Specified by:
getBoundingBoxMetricsEntriesOrBuilderin interfaceVideoObjectTrackingEvaluationMetricsOrBuilder
-
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;- Specified by:
getBoundingBoxMetricsEntriesOrBuilderListin interfaceVideoObjectTrackingEvaluationMetricsOrBuilder
-
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;
-
addBoundingBoxMetricsEntriesBuilder
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;
-
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;
-
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;- Specified by:
getBoundingBoxMeanAveragePrecisionin interfaceVideoObjectTrackingEvaluationMetricsOrBuilder- Returns:
- The boundingBoxMeanAveragePrecision.
-
setBoundingBoxMeanAveragePrecision
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;- Parameters:
value- The boundingBoxMeanAveragePrecision to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final VideoObjectTrackingEvaluationMetrics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
mergeUnknownFields
public final VideoObjectTrackingEvaluationMetrics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
-
-