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

package com.google.cloud.gkemulticloud.v1;

public interface AwsAutoscalingGroupMetricsCollectionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
   * AWS CloudWatch. The only valid value is "1Minute".
   * </pre>
   *
   * <code>string granularity = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The granularity.
   */
  java.lang.String getGranularity();
  /**
   *
   *
   * <pre>
   * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
   * AWS CloudWatch. The only valid value is "1Minute".
   * </pre>
   *
   * <code>string granularity = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for granularity.
   */
  com.google.protobuf.ByteString getGranularityBytes();

  /**
   *
   *
   * <pre>
   * Optional. The metrics to enable. For a list of valid metrics, see
   * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
   * If you specify Granularity and don't specify any metrics, all metrics are
   * enabled.
   * </pre>
   *
   * <code>repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return A list containing the metrics.
   */
  java.util.List<java.lang.String> getMetricsList();
  /**
   *
   *
   * <pre>
   * Optional. The metrics to enable. For a list of valid metrics, see
   * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
   * If you specify Granularity and don't specify any metrics, all metrics are
   * enabled.
   * </pre>
   *
   * <code>repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The count of metrics.
   */
  int getMetricsCount();
  /**
   *
   *
   * <pre>
   * Optional. The metrics to enable. For a list of valid metrics, see
   * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
   * If you specify Granularity and don't specify any metrics, all metrics are
   * enabled.
   * </pre>
   *
   * <code>repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @param index The index of the element to return.
   * @return The metrics at the given index.
   */
  java.lang.String getMetrics(int index);
  /**
   *
   *
   * <pre>
   * Optional. The metrics to enable. For a list of valid metrics, see
   * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
   * If you specify Granularity and don't specify any metrics, all metrics are
   * enabled.
   * </pre>
   *
   * <code>repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the metrics at the given index.
   */
  com.google.protobuf.ByteString getMetricsBytes(int index);
}
