Class VideoObjectTrackingPredictionParams.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<VideoObjectTrackingPredictionParams.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<VideoObjectTrackingPredictionParams.Builder>
      • getDefaultInstanceForType

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

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

        public VideoObjectTrackingPredictionParams 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<VideoObjectTrackingPredictionParams.Builder>
      • setConfidenceThreshold

        public VideoObjectTrackingPredictionParams.Builder setConfidenceThreshold​(float value)
         The Model only returns predictions with at least this confidence score.
         Default value is 0.0
         
        float confidence_threshold = 1;
        Parameters:
        value - The confidenceThreshold to set.
        Returns:
        This builder for chaining.
      • clearConfidenceThreshold

        public VideoObjectTrackingPredictionParams.Builder clearConfidenceThreshold()
         The Model only returns predictions with at least this confidence score.
         Default value is 0.0
         
        float confidence_threshold = 1;
        Returns:
        This builder for chaining.
      • getMaxPredictions

        public int getMaxPredictions()
         The model only returns up to that many top, by confidence score,
         predictions per frame of the video. If this number is very high, the
         Model may return fewer predictions per frame. Default value is 50.
         
        int32 max_predictions = 2;
        Specified by:
        getMaxPredictions in interface VideoObjectTrackingPredictionParamsOrBuilder
        Returns:
        The maxPredictions.
      • setMaxPredictions

        public VideoObjectTrackingPredictionParams.Builder setMaxPredictions​(int value)
         The model only returns up to that many top, by confidence score,
         predictions per frame of the video. If this number is very high, the
         Model may return fewer predictions per frame. Default value is 50.
         
        int32 max_predictions = 2;
        Parameters:
        value - The maxPredictions to set.
        Returns:
        This builder for chaining.
      • clearMaxPredictions

        public VideoObjectTrackingPredictionParams.Builder clearMaxPredictions()
         The model only returns up to that many top, by confidence score,
         predictions per frame of the video. If this number is very high, the
         Model may return fewer predictions per frame. Default value is 50.
         
        int32 max_predictions = 2;
        Returns:
        This builder for chaining.
      • getMinBoundingBoxSize

        public float getMinBoundingBoxSize()
         Only bounding boxes with shortest edge at least that long as a relative
         value of video frame size are returned. Default value is 0.0.
         
        float min_bounding_box_size = 3;
        Specified by:
        getMinBoundingBoxSize in interface VideoObjectTrackingPredictionParamsOrBuilder
        Returns:
        The minBoundingBoxSize.
      • setMinBoundingBoxSize

        public VideoObjectTrackingPredictionParams.Builder setMinBoundingBoxSize​(float value)
         Only bounding boxes with shortest edge at least that long as a relative
         value of video frame size are returned. Default value is 0.0.
         
        float min_bounding_box_size = 3;
        Parameters:
        value - The minBoundingBoxSize to set.
        Returns:
        This builder for chaining.
      • clearMinBoundingBoxSize

        public VideoObjectTrackingPredictionParams.Builder clearMinBoundingBoxSize()
         Only bounding boxes with shortest edge at least that long as a relative
         value of video frame size are returned. Default value is 0.0.
         
        float min_bounding_box_size = 3;
        Returns:
        This builder for chaining.