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

package com.google.cloud.compute.v1;

public interface QuotaExceededInfoOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.QuotaExceededInfo)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The map holding related quota dimensions.
   * </pre>
   *
   * <code>map&lt;string, string&gt; dimensions = 414334925;</code>
   */
  int getDimensionsCount();
  /**
   *
   *
   * <pre>
   * The map holding related quota dimensions.
   * </pre>
   *
   * <code>map&lt;string, string&gt; dimensions = 414334925;</code>
   */
  boolean containsDimensions(java.lang.String key);
  /** Use {@link #getDimensionsMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String> getDimensions();
  /**
   *
   *
   * <pre>
   * The map holding related quota dimensions.
   * </pre>
   *
   * <code>map&lt;string, string&gt; dimensions = 414334925;</code>
   */
  java.util.Map<java.lang.String, java.lang.String> getDimensionsMap();
  /**
   *
   *
   * <pre>
   * The map holding related quota dimensions.
   * </pre>
   *
   * <code>map&lt;string, string&gt; dimensions = 414334925;</code>
   */
  /* nullable */
  java.lang.String getDimensionsOrDefault(
      java.lang.String key,
      /* nullable */
      java.lang.String defaultValue);
  /**
   *
   *
   * <pre>
   * The map holding related quota dimensions.
   * </pre>
   *
   * <code>map&lt;string, string&gt; dimensions = 414334925;</code>
   */
  java.lang.String getDimensionsOrThrow(java.lang.String key);

  /**
   *
   *
   * <pre>
   * Current effective quota limit. The limit's unit depends on the quota type or metric.
   * </pre>
   *
   * <code>optional double limit = 102976443;</code>
   *
   * @return Whether the limit field is set.
   */
  boolean hasLimit();
  /**
   *
   *
   * <pre>
   * Current effective quota limit. The limit's unit depends on the quota type or metric.
   * </pre>
   *
   * <code>optional double limit = 102976443;</code>
   *
   * @return The limit.
   */
  double getLimit();

  /**
   *
   *
   * <pre>
   * The name of the quota limit.
   * </pre>
   *
   * <code>optional string limit_name = 398197903;</code>
   *
   * @return Whether the limitName field is set.
   */
  boolean hasLimitName();
  /**
   *
   *
   * <pre>
   * The name of the quota limit.
   * </pre>
   *
   * <code>optional string limit_name = 398197903;</code>
   *
   * @return The limitName.
   */
  java.lang.String getLimitName();
  /**
   *
   *
   * <pre>
   * The name of the quota limit.
   * </pre>
   *
   * <code>optional string limit_name = 398197903;</code>
   *
   * @return The bytes for limitName.
   */
  com.google.protobuf.ByteString getLimitNameBytes();

  /**
   *
   *
   * <pre>
   * The Compute Engine quota metric name.
   * </pre>
   *
   * <code>optional string metric_name = 409881530;</code>
   *
   * @return Whether the metricName field is set.
   */
  boolean hasMetricName();
  /**
   *
   *
   * <pre>
   * The Compute Engine quota metric name.
   * </pre>
   *
   * <code>optional string metric_name = 409881530;</code>
   *
   * @return The metricName.
   */
  java.lang.String getMetricName();
  /**
   *
   *
   * <pre>
   * The Compute Engine quota metric name.
   * </pre>
   *
   * <code>optional string metric_name = 409881530;</code>
   *
   * @return The bytes for metricName.
   */
  com.google.protobuf.ByteString getMetricNameBytes();
}
