/*
 * 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 ResourcePolicyGroupPlacementPolicyOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
   * </pre>
   *
   * <code>optional int32 availability_domain_count = 12453432;</code>
   *
   * @return Whether the availabilityDomainCount field is set.
   */
  boolean hasAvailabilityDomainCount();
  /**
   *
   *
   * <pre>
   * The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
   * </pre>
   *
   * <code>optional int32 availability_domain_count = 12453432;</code>
   *
   * @return The availabilityDomainCount.
   */
  int getAvailabilityDomainCount();

  /**
   *
   *
   * <pre>
   * Specifies network collocation
   * Check the Collocation enum for the list of possible values.
   * </pre>
   *
   * <code>optional string collocation = 511156533;</code>
   *
   * @return Whether the collocation field is set.
   */
  boolean hasCollocation();
  /**
   *
   *
   * <pre>
   * Specifies network collocation
   * Check the Collocation enum for the list of possible values.
   * </pre>
   *
   * <code>optional string collocation = 511156533;</code>
   *
   * @return The collocation.
   */
  java.lang.String getCollocation();
  /**
   *
   *
   * <pre>
   * Specifies network collocation
   * Check the Collocation enum for the list of possible values.
   * </pre>
   *
   * <code>optional string collocation = 511156533;</code>
   *
   * @return The bytes for collocation.
   */
  com.google.protobuf.ByteString getCollocationBytes();

  /**
   *
   *
   * <pre>
   * Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
   * </pre>
   *
   * <code>optional int32 vm_count = 261463431;</code>
   *
   * @return Whether the vmCount field is set.
   */
  boolean hasVmCount();
  /**
   *
   *
   * <pre>
   * Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
   * </pre>
   *
   * <code>optional int32 vm_count = 261463431;</code>
   *
   * @return The vmCount.
   */
  int getVmCount();
}
