/*
 * 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/analytics/data/v1beta/data.proto

package com.google.analytics.data.v1beta;

public interface CohortSpecOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.analytics.data.v1beta.CohortSpec)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Defines the selection criteria to group users into cohorts.
   * Most cohort reports define only a single cohort. If multiple cohorts are
   * specified, each cohort can be recognized in the report by their name.
   * </pre>
   *
   * <code>repeated .google.analytics.data.v1beta.Cohort cohorts = 1;</code>
   */
  java.util.List<com.google.analytics.data.v1beta.Cohort> getCohortsList();
  /**
   *
   *
   * <pre>
   * Defines the selection criteria to group users into cohorts.
   * Most cohort reports define only a single cohort. If multiple cohorts are
   * specified, each cohort can be recognized in the report by their name.
   * </pre>
   *
   * <code>repeated .google.analytics.data.v1beta.Cohort cohorts = 1;</code>
   */
  com.google.analytics.data.v1beta.Cohort getCohorts(int index);
  /**
   *
   *
   * <pre>
   * Defines the selection criteria to group users into cohorts.
   * Most cohort reports define only a single cohort. If multiple cohorts are
   * specified, each cohort can be recognized in the report by their name.
   * </pre>
   *
   * <code>repeated .google.analytics.data.v1beta.Cohort cohorts = 1;</code>
   */
  int getCohortsCount();
  /**
   *
   *
   * <pre>
   * Defines the selection criteria to group users into cohorts.
   * Most cohort reports define only a single cohort. If multiple cohorts are
   * specified, each cohort can be recognized in the report by their name.
   * </pre>
   *
   * <code>repeated .google.analytics.data.v1beta.Cohort cohorts = 1;</code>
   */
  java.util.List<? extends com.google.analytics.data.v1beta.CohortOrBuilder>
      getCohortsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Defines the selection criteria to group users into cohorts.
   * Most cohort reports define only a single cohort. If multiple cohorts are
   * specified, each cohort can be recognized in the report by their name.
   * </pre>
   *
   * <code>repeated .google.analytics.data.v1beta.Cohort cohorts = 1;</code>
   */
  com.google.analytics.data.v1beta.CohortOrBuilder getCohortsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Cohort reports follow cohorts over an extended reporting date range. This
   * range specifies an offset duration to follow the cohorts over.
   * </pre>
   *
   * <code>.google.analytics.data.v1beta.CohortsRange cohorts_range = 2;</code>
   *
   * @return Whether the cohortsRange field is set.
   */
  boolean hasCohortsRange();
  /**
   *
   *
   * <pre>
   * Cohort reports follow cohorts over an extended reporting date range. This
   * range specifies an offset duration to follow the cohorts over.
   * </pre>
   *
   * <code>.google.analytics.data.v1beta.CohortsRange cohorts_range = 2;</code>
   *
   * @return The cohortsRange.
   */
  com.google.analytics.data.v1beta.CohortsRange getCohortsRange();
  /**
   *
   *
   * <pre>
   * Cohort reports follow cohorts over an extended reporting date range. This
   * range specifies an offset duration to follow the cohorts over.
   * </pre>
   *
   * <code>.google.analytics.data.v1beta.CohortsRange cohorts_range = 2;</code>
   */
  com.google.analytics.data.v1beta.CohortsRangeOrBuilder getCohortsRangeOrBuilder();

  /**
   *
   *
   * <pre>
   * Optional settings for a cohort report.
   * </pre>
   *
   * <code>.google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3;</code>
   *
   * @return Whether the cohortReportSettings field is set.
   */
  boolean hasCohortReportSettings();
  /**
   *
   *
   * <pre>
   * Optional settings for a cohort report.
   * </pre>
   *
   * <code>.google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3;</code>
   *
   * @return The cohortReportSettings.
   */
  com.google.analytics.data.v1beta.CohortReportSettings getCohortReportSettings();
  /**
   *
   *
   * <pre>
   * Optional settings for a cohort report.
   * </pre>
   *
   * <code>.google.analytics.data.v1beta.CohortReportSettings cohort_report_settings = 3;</code>
   */
  com.google.analytics.data.v1beta.CohortReportSettingsOrBuilder getCohortReportSettingsOrBuilder();
}
