// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto

package com.google.devtools.clouderrorreporting.v1beta1;

public interface ListGroupStatsRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * [Required] The resource name of the Google Cloud Platform project. Written
   * as &lt;code&gt;projects/&lt;/code&gt; plus the
   * &lt;a href="https://support.google.com/cloud/answer/6158840"&gt;Google Cloud
   * Platform project ID&lt;/a&gt;.
   * Example: &lt;code&gt;projects/my-project-123&lt;/code&gt;.
   * </pre>
   *
   * <code>string project_name = 1;</code>
   */
  java.lang.String getProjectName();
  /**
   *
   *
   * <pre>
   * [Required] The resource name of the Google Cloud Platform project. Written
   * as &lt;code&gt;projects/&lt;/code&gt; plus the
   * &lt;a href="https://support.google.com/cloud/answer/6158840"&gt;Google Cloud
   * Platform project ID&lt;/a&gt;.
   * Example: &lt;code&gt;projects/my-project-123&lt;/code&gt;.
   * </pre>
   *
   * <code>string project_name = 1;</code>
   */
  com.google.protobuf.ByteString getProjectNameBytes();

  /**
   *
   *
   * <pre>
   * [Optional] List all &lt;code&gt;ErrorGroupStats&lt;/code&gt; with these IDs.
   * </pre>
   *
   * <code>repeated string group_id = 2;</code>
   */
  java.util.List<java.lang.String> getGroupIdList();
  /**
   *
   *
   * <pre>
   * [Optional] List all &lt;code&gt;ErrorGroupStats&lt;/code&gt; with these IDs.
   * </pre>
   *
   * <code>repeated string group_id = 2;</code>
   */
  int getGroupIdCount();
  /**
   *
   *
   * <pre>
   * [Optional] List all &lt;code&gt;ErrorGroupStats&lt;/code&gt; with these IDs.
   * </pre>
   *
   * <code>repeated string group_id = 2;</code>
   */
  java.lang.String getGroupId(int index);
  /**
   *
   *
   * <pre>
   * [Optional] List all &lt;code&gt;ErrorGroupStats&lt;/code&gt; with these IDs.
   * </pre>
   *
   * <code>repeated string group_id = 2;</code>
   */
  com.google.protobuf.ByteString getGroupIdBytes(int index);

  /**
   *
   *
   * <pre>
   * [Optional] List only &lt;code&gt;ErrorGroupStats&lt;/code&gt; which belong to a service
   * context that matches the filter.
   * Data for all service contexts is returned if this field is not specified.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
   * </code>
   */
  boolean hasServiceFilter();
  /**
   *
   *
   * <pre>
   * [Optional] List only &lt;code&gt;ErrorGroupStats&lt;/code&gt; which belong to a service
   * context that matches the filter.
   * Data for all service contexts is returned if this field is not specified.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
   * </code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getServiceFilter();
  /**
   *
   *
   * <pre>
   * [Optional] List only &lt;code&gt;ErrorGroupStats&lt;/code&gt; which belong to a service
   * context that matches the filter.
   * Data for all service contexts is returned if this field is not specified.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
   * </code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterOrBuilder
      getServiceFilterOrBuilder();

  /**
   *
   *
   * <pre>
   * [Optional] List data for the given time range.
   * If not set a default time range is used. The field time_range_begin
   * in the response will specify the beginning of this time range.
   * Only &lt;code&gt;ErrorGroupStats&lt;/code&gt; with a non-zero count in the given time
   * range are returned, unless the request contains an explicit group_id list.
   * If a group_id list is given, also &lt;code&gt;ErrorGroupStats&lt;/code&gt; with zero
   * occurrences are returned.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;</code>
   */
  boolean hasTimeRange();
  /**
   *
   *
   * <pre>
   * [Optional] List data for the given time range.
   * If not set a default time range is used. The field time_range_begin
   * in the response will specify the beginning of this time range.
   * Only &lt;code&gt;ErrorGroupStats&lt;/code&gt; with a non-zero count in the given time
   * range are returned, unless the request contains an explicit group_id list.
   * If a group_id list is given, also &lt;code&gt;ErrorGroupStats&lt;/code&gt; with zero
   * occurrences are returned.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;</code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRange();
  /**
   *
   *
   * <pre>
   * [Optional] List data for the given time range.
   * If not set a default time range is used. The field time_range_begin
   * in the response will specify the beginning of this time range.
   * Only &lt;code&gt;ErrorGroupStats&lt;/code&gt; with a non-zero count in the given time
   * range are returned, unless the request contains an explicit group_id list.
   * If a group_id list is given, also &lt;code&gt;ErrorGroupStats&lt;/code&gt; with zero
   * occurrences are returned.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;</code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeOrBuilder getTimeRangeOrBuilder();

  /**
   *
   *
   * <pre>
   * [Optional] The preferred duration for a single returned `TimedCount`.
   * If not set, no timed counts are returned.
   * </pre>
   *
   * <code>.google.protobuf.Duration timed_count_duration = 6;</code>
   */
  boolean hasTimedCountDuration();
  /**
   *
   *
   * <pre>
   * [Optional] The preferred duration for a single returned `TimedCount`.
   * If not set, no timed counts are returned.
   * </pre>
   *
   * <code>.google.protobuf.Duration timed_count_duration = 6;</code>
   */
  com.google.protobuf.Duration getTimedCountDuration();
  /**
   *
   *
   * <pre>
   * [Optional] The preferred duration for a single returned `TimedCount`.
   * If not set, no timed counts are returned.
   * </pre>
   *
   * <code>.google.protobuf.Duration timed_count_duration = 6;</code>
   */
  com.google.protobuf.DurationOrBuilder getTimedCountDurationOrBuilder();

  /**
   *
   *
   * <pre>
   * [Optional] The alignment of the timed counts to be returned.
   * Default is `ALIGNMENT_EQUAL_AT_END`.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;</code>
   */
  int getAlignmentValue();
  /**
   *
   *
   * <pre>
   * [Optional] The alignment of the timed counts to be returned.
   * Default is `ALIGNMENT_EQUAL_AT_END`.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;</code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment getAlignment();

  /**
   *
   *
   * <pre>
   * [Optional] Time where the timed counts shall be aligned if rounded
   * alignment is chosen. Default is 00:00 UTC.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp alignment_time = 8;</code>
   */
  boolean hasAlignmentTime();
  /**
   *
   *
   * <pre>
   * [Optional] Time where the timed counts shall be aligned if rounded
   * alignment is chosen. Default is 00:00 UTC.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp alignment_time = 8;</code>
   */
  com.google.protobuf.Timestamp getAlignmentTime();
  /**
   *
   *
   * <pre>
   * [Optional] Time where the timed counts shall be aligned if rounded
   * alignment is chosen. Default is 00:00 UTC.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp alignment_time = 8;</code>
   */
  com.google.protobuf.TimestampOrBuilder getAlignmentTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * [Optional] The sort order in which the results are returned.
   * Default is `COUNT_DESC`.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;</code>
   */
  int getOrderValue();
  /**
   *
   *
   * <pre>
   * [Optional] The sort order in which the results are returned.
   * Default is `COUNT_DESC`.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;</code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder getOrder();

  /**
   *
   *
   * <pre>
   * [Optional] The maximum number of results to return per response.
   * Default is 20.
   * </pre>
   *
   * <code>int32 page_size = 11;</code>
   */
  int getPageSize();

  /**
   *
   *
   * <pre>
   * [Optional] A `next_page_token` provided by a previous response. To view
   * additional results, pass this token along with the identical query
   * parameters as the first request.
   * </pre>
   *
   * <code>string page_token = 12;</code>
   */
  java.lang.String getPageToken();
  /**
   *
   *
   * <pre>
   * [Optional] A `next_page_token` provided by a previous response. To view
   * additional results, pass this token along with the identical query
   * parameters as the first request.
   * </pre>
   *
   * <code>string page_token = 12;</code>
   */
  com.google.protobuf.ByteString getPageTokenBytes();
}
