Class VideoObjectTrackingEvaluationMetrics.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
      • getDefaultInstanceForType

        public VideoObjectTrackingEvaluationMetrics getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public VideoObjectTrackingEvaluationMetrics build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public VideoObjectTrackingEvaluationMetrics buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder>
      • 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:
        getEvaluatedBoundingBoxCount in interface VideoObjectTrackingEvaluationMetricsOrBuilder
        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:
        getBoundingBoxMetricsEntriesList in interface VideoObjectTrackingEvaluationMetricsOrBuilder
      • 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:
        getBoundingBoxMetricsEntriesCount in interface VideoObjectTrackingEvaluationMetricsOrBuilder
      • 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:
        getBoundingBoxMetricsEntries in interface VideoObjectTrackingEvaluationMetricsOrBuilder
      • 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;
      • 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:
        getBoundingBoxMeanAveragePrecision in interface VideoObjectTrackingEvaluationMetricsOrBuilder
        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.