/*
 * 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/recaptchaenterprise/v1/recaptchaenterprise.proto

package com.google.recaptchaenterprise.v1;

public interface ChallengeMetricsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.recaptchaenterprise.v1.ChallengeMetrics)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Count of reCAPTCHA checkboxes or badges rendered. This is mostly equivalent
   * to a count of pageloads for pages that include reCAPTCHA.
   * </pre>
   *
   * <code>int64 pageload_count = 1;</code>
   *
   * @return The pageloadCount.
   */
  long getPageloadCount();

  /**
   *
   *
   * <pre>
   * Count of nocaptchas (successful verification without a challenge) issued.
   * </pre>
   *
   * <code>int64 nocaptcha_count = 2;</code>
   *
   * @return The nocaptchaCount.
   */
  long getNocaptchaCount();

  /**
   *
   *
   * <pre>
   * Count of submitted challenge solutions that were incorrect or otherwise
   * deemed suspicious such that a subsequent challenge was triggered.
   * </pre>
   *
   * <code>int64 failed_count = 3;</code>
   *
   * @return The failedCount.
   */
  long getFailedCount();

  /**
   *
   *
   * <pre>
   * Count of nocaptchas (successful verification without a challenge) plus
   * submitted challenge solutions that were correct and resulted in
   * verification.
   * </pre>
   *
   * <code>int64 passed_count = 4;</code>
   *
   * @return The passedCount.
   */
  long getPassedCount();
}
