/*
 * 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/dialogflow/v2/conversation_model.proto

package com.google.cloud.dialogflow.v2;

public interface SmartReplyMetricsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.SmartReplyMetrics)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Percentage of target participant messages in the evaluation dataset for
   * which similar messages have appeared at least once in the allowlist. Should
   * be [0, 1].
   * </pre>
   *
   * <code>float allowlist_coverage = 1;</code>
   *
   * @return The allowlistCoverage.
   */
  float getAllowlistCoverage();

  /**
   *
   *
   * <pre>
   * Metrics of top n smart replies, sorted by [TopNMetric.n][].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
   * </code>
   */
  java.util.List<com.google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics> getTopNMetricsList();
  /**
   *
   *
   * <pre>
   * Metrics of top n smart replies, sorted by [TopNMetric.n][].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
   * </code>
   */
  com.google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics getTopNMetrics(int index);
  /**
   *
   *
   * <pre>
   * Metrics of top n smart replies, sorted by [TopNMetric.n][].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
   * </code>
   */
  int getTopNMetricsCount();
  /**
   *
   *
   * <pre>
   * Metrics of top n smart replies, sorted by [TopNMetric.n][].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
   * </code>
   */
  java.util.List<? extends com.google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetricsOrBuilder>
      getTopNMetricsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Metrics of top n smart replies, sorted by [TopNMetric.n][].
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetrics top_n_metrics = 2;
   * </code>
   */
  com.google.cloud.dialogflow.v2.SmartReplyMetrics.TopNMetricsOrBuilder getTopNMetricsOrBuilder(
      int index);

  /**
   *
   *
   * <pre>
   * Total number of conversations used to generate this metric.
   * </pre>
   *
   * <code>int64 conversation_count = 3;</code>
   *
   * @return The conversationCount.
   */
  long getConversationCount();
}
