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

package com.google.cloud.vmwareengine.v1;

public interface ClusterOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vmwareengine.v1.Cluster)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. The resource name of this cluster.
   * Resource names are schemeless URIs that follow the conventions in
   * https://cloud.google.com/apis/design/resource_names.
   * For example:
   * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. The resource name of this cluster.
   * Resource names are schemeless URIs that follow the conventions in
   * https://cloud.google.com/apis/design/resource_names.
   * For example:
   * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. Creation time of this resource.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. Creation time of this resource.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. Creation time of this resource.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Last update time of this resource.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the updateTime field is set.
   */
  boolean hasUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. Last update time of this resource.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The updateTime.
   */
  com.google.protobuf.Timestamp getUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. Last update time of this resource.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. State of the resource.
   * </pre>
   *
   * <code>
   * .google.cloud.vmwareengine.v1.Cluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   *
   *
   * <pre>
   * Output only. State of the resource.
   * </pre>
   *
   * <code>
   * .google.cloud.vmwareengine.v1.Cluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.vmwareengine.v1.Cluster.State getState();

  /**
   *
   *
   * <pre>
   * Output only. True if the cluster is a management cluster; false otherwise.
   * There can only be one management cluster in a private cloud
   * and it has to be the first one.
   * </pre>
   *
   * <code>bool management = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The management.
   */
  boolean getManagement();

  /**
   *
   *
   * <pre>
   * Output only. System-generated unique identifier for the resource.
   * </pre>
   *
   * <code>string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The uid.
   */
  java.lang.String getUid();
  /**
   *
   *
   * <pre>
   * Output only. System-generated unique identifier for the resource.
   * </pre>
   *
   * <code>string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for uid.
   */
  com.google.protobuf.ByteString getUidBytes();

  /**
   *
   *
   * <pre>
   * Required. The map of cluster node types in this cluster, where the key is
   * canonical identifier of the node type (corresponds to the `NodeType`).
   * </pre>
   *
   * <code>
   * map&lt;string, .google.cloud.vmwareengine.v1.NodeTypeConfig&gt; node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  int getNodeTypeConfigsCount();
  /**
   *
   *
   * <pre>
   * Required. The map of cluster node types in this cluster, where the key is
   * canonical identifier of the node type (corresponds to the `NodeType`).
   * </pre>
   *
   * <code>
   * map&lt;string, .google.cloud.vmwareengine.v1.NodeTypeConfig&gt; node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  boolean containsNodeTypeConfigs(java.lang.String key);
  /** Use {@link #getNodeTypeConfigsMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, com.google.cloud.vmwareengine.v1.NodeTypeConfig>
      getNodeTypeConfigs();
  /**
   *
   *
   * <pre>
   * Required. The map of cluster node types in this cluster, where the key is
   * canonical identifier of the node type (corresponds to the `NodeType`).
   * </pre>
   *
   * <code>
   * map&lt;string, .google.cloud.vmwareengine.v1.NodeTypeConfig&gt; node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  java.util.Map<java.lang.String, com.google.cloud.vmwareengine.v1.NodeTypeConfig>
      getNodeTypeConfigsMap();
  /**
   *
   *
   * <pre>
   * Required. The map of cluster node types in this cluster, where the key is
   * canonical identifier of the node type (corresponds to the `NodeType`).
   * </pre>
   *
   * <code>
   * map&lt;string, .google.cloud.vmwareengine.v1.NodeTypeConfig&gt; node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  /* nullable */
  com.google.cloud.vmwareengine.v1.NodeTypeConfig getNodeTypeConfigsOrDefault(
      java.lang.String key,
      /* nullable */
      com.google.cloud.vmwareengine.v1.NodeTypeConfig defaultValue);
  /**
   *
   *
   * <pre>
   * Required. The map of cluster node types in this cluster, where the key is
   * canonical identifier of the node type (corresponds to the `NodeType`).
   * </pre>
   *
   * <code>
   * map&lt;string, .google.cloud.vmwareengine.v1.NodeTypeConfig&gt; node_type_configs = 16 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.cloud.vmwareengine.v1.NodeTypeConfig getNodeTypeConfigsOrThrow(java.lang.String key);
}
