/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/automl/v1/detection.proto

package com.google.cloud.automl.v1;

public interface BoundingBoxMetricsEntryOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.BoundingBoxMetricsEntry)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. The intersection-over-union threshold value used to compute
   * this metrics entry.
   * </pre>
   *
   * <code>float iou_threshold = 1;</code>
   *
   * @return The iouThreshold.
   */
  float getIouThreshold();

  /**
   *
   *
   * <pre>
   * Output only. The mean average precision, most often close to au_prc.
   * </pre>
   *
   * <code>float mean_average_precision = 2;</code>
   *
   * @return The meanAveragePrecision.
   */
  float getMeanAveragePrecision();

  /**
   *
   *
   * <pre>
   * Output only. Metrics for each label-match confidence_threshold from
   * 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
   * derived from them.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
   * </code>
   */
  java.util.List<com.google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry>
      getConfidenceMetricsEntriesList();
  /**
   *
   *
   * <pre>
   * Output only. Metrics for each label-match confidence_threshold from
   * 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
   * derived from them.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
   * </code>
   */
  com.google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry
      getConfidenceMetricsEntries(int index);
  /**
   *
   *
   * <pre>
   * Output only. Metrics for each label-match confidence_threshold from
   * 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
   * derived from them.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
   * </code>
   */
  int getConfidenceMetricsEntriesCount();
  /**
   *
   *
   * <pre>
   * Output only. Metrics for each label-match confidence_threshold from
   * 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
   * derived from them.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
   * </code>
   */
  java.util.List<
          ? extends
              com.google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder>
      getConfidenceMetricsEntriesOrBuilderList();
  /**
   *
   *
   * <pre>
   * Output only. Metrics for each label-match confidence_threshold from
   * 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
   * derived from them.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
   * </code>
   */
  com.google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder
      getConfidenceMetricsEntriesOrBuilder(int index);
}
