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

package com.google.appengine.v1;

public interface ResourcesOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.appengine.v1.Resources)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Number of CPU cores needed.
   * </pre>
   *
   * <code>double cpu = 1;</code>
   *
   * @return The cpu.
   */
  double getCpu();

  /**
   *
   *
   * <pre>
   * Disk size (GB) needed.
   * </pre>
   *
   * <code>double disk_gb = 2;</code>
   *
   * @return The diskGb.
   */
  double getDiskGb();

  /**
   *
   *
   * <pre>
   * Memory (GB) needed.
   * </pre>
   *
   * <code>double memory_gb = 3;</code>
   *
   * @return The memoryGb.
   */
  double getMemoryGb();

  /**
   *
   *
   * <pre>
   * User specified volumes.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.Volume volumes = 4;</code>
   */
  java.util.List<com.google.appengine.v1.Volume> getVolumesList();
  /**
   *
   *
   * <pre>
   * User specified volumes.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.Volume volumes = 4;</code>
   */
  com.google.appengine.v1.Volume getVolumes(int index);
  /**
   *
   *
   * <pre>
   * User specified volumes.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.Volume volumes = 4;</code>
   */
  int getVolumesCount();
  /**
   *
   *
   * <pre>
   * User specified volumes.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.Volume volumes = 4;</code>
   */
  java.util.List<? extends com.google.appengine.v1.VolumeOrBuilder> getVolumesOrBuilderList();
  /**
   *
   *
   * <pre>
   * User specified volumes.
   * </pre>
   *
   * <code>repeated .google.appengine.v1.Volume volumes = 4;</code>
   */
  com.google.appengine.v1.VolumeOrBuilder getVolumesOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * The name of the encryption key that is stored in Google Cloud KMS.
   * Only should be used by Cloud Composer to encrypt the vm disk
   * </pre>
   *
   * <code>string kms_key_reference = 5;</code>
   *
   * @return The kmsKeyReference.
   */
  java.lang.String getKmsKeyReference();
  /**
   *
   *
   * <pre>
   * The name of the encryption key that is stored in Google Cloud KMS.
   * Only should be used by Cloud Composer to encrypt the vm disk
   * </pre>
   *
   * <code>string kms_key_reference = 5;</code>
   *
   * @return The bytes for kmsKeyReference.
   */
  com.google.protobuf.ByteString getKmsKeyReferenceBytes();
}
