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

package com.google.cloud.gkemulticloud.v1;

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

  /**
   *
   *
   * <pre>
   * The name of this resource.
   * Cluster names are formatted as
   * `projects/&lt;project-number&gt;/locations/&lt;region&gt;/attachedClusters/&lt;cluster-id&gt;`.
   * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
   * for more details on Google Cloud Platform resource names.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * The name of this resource.
   * Cluster names are formatted as
   * `projects/&lt;project-number&gt;/locations/&lt;region&gt;/attachedClusters/&lt;cluster-id&gt;`.
   * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
   * for more details on Google Cloud Platform resource names.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Optional. A human readable description of this cluster.
   * Cannot be longer than 255 UTF-8 encoded bytes.
   * </pre>
   *
   * <code>string description = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The description.
   */
  java.lang.String getDescription();
  /**
   *
   *
   * <pre>
   * Optional. A human readable description of this cluster.
   * Cannot be longer than 255 UTF-8 encoded bytes.
   * </pre>
   *
   * <code>string description = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /**
   *
   *
   * <pre>
   * Required. OpenID Connect (OIDC) configuration for the cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the oidcConfig field is set.
   */
  boolean hasOidcConfig();
  /**
   *
   *
   * <pre>
   * Required. OpenID Connect (OIDC) configuration for the cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The oidcConfig.
   */
  com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getOidcConfig();
  /**
   *
   *
   * <pre>
   * Required. OpenID Connect (OIDC) configuration for the cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
   * You can list all supported versions on a given Google Cloud region by
   * calling
   * [GetAttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
   * </pre>
   *
   * <code>string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The platformVersion.
   */
  java.lang.String getPlatformVersion();
  /**
   *
   *
   * <pre>
   * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
   * You can list all supported versions on a given Google Cloud region by
   * calling
   * [GetAttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
   * </pre>
   *
   * <code>string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for platformVersion.
   */
  com.google.protobuf.ByteString getPlatformVersionBytes();

  /**
   *
   *
   * <pre>
   * Required. The Kubernetes distribution of the underlying attached cluster.
   * Supported values: ["eks", "aks"].
   * </pre>
   *
   * <code>string distribution = 16 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The distribution.
   */
  java.lang.String getDistribution();
  /**
   *
   *
   * <pre>
   * Required. The Kubernetes distribution of the underlying attached cluster.
   * Supported values: ["eks", "aks"].
   * </pre>
   *
   * <code>string distribution = 16 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for distribution.
   */
  com.google.protobuf.ByteString getDistributionBytes();

  /**
   *
   *
   * <pre>
   * Output only. The region where this cluster runs.
   * For EKS clusters, this is a AWS region. For AKS clusters,
   * this is an Azure region.
   * </pre>
   *
   * <code>string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The clusterRegion.
   */
  java.lang.String getClusterRegion();
  /**
   *
   *
   * <pre>
   * Output only. The region where this cluster runs.
   * For EKS clusters, this is a AWS region. For AKS clusters,
   * this is an Azure region.
   * </pre>
   *
   * <code>string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for clusterRegion.
   */
  com.google.protobuf.ByteString getClusterRegionBytes();

  /**
   *
   *
   * <pre>
   * Required. Fleet configuration.
   * </pre>
   *
   * <code>.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the fleet field is set.
   */
  boolean hasFleet();
  /**
   *
   *
   * <pre>
   * Required. Fleet configuration.
   * </pre>
   *
   * <code>.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The fleet.
   */
  com.google.cloud.gkemulticloud.v1.Fleet getFleet();
  /**
   *
   *
   * <pre>
   * Required. Fleet configuration.
   * </pre>
   *
   * <code>.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The current state of the cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.AttachedCluster.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. The current state of the cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.gkemulticloud.v1.AttachedCluster.State getState();

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

  /**
   *
   *
   * <pre>
   * Output only. If set, there are currently changes in flight to the cluster.
   * </pre>
   *
   * <code>bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The reconciling.
   */
  boolean getReconciling();

  /**
   *
   *
   * <pre>
   * Output only. The time at which this cluster was registered.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time at which this cluster was registered.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time at which this cluster was registered.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The time at which this cluster was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the updateTime field is set.
   */
  boolean hasUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time at which this cluster was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The updateTime.
   */
  com.google.protobuf.Timestamp getUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time at which this cluster was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Allows clients to perform consistent read-modify-writes
   * through optimistic concurrency control.
   * Can be sent on update and delete requests to ensure the
   * client has an up-to-date value before proceeding.
   * </pre>
   *
   * <code>string etag = 11;</code>
   *
   * @return The etag.
   */
  java.lang.String getEtag();
  /**
   *
   *
   * <pre>
   * Allows clients to perform consistent read-modify-writes
   * through optimistic concurrency control.
   * Can be sent on update and delete requests to ensure the
   * client has an up-to-date value before proceeding.
   * </pre>
   *
   * <code>string etag = 11;</code>
   *
   * @return The bytes for etag.
   */
  com.google.protobuf.ByteString getEtagBytes();

  /**
   *
   *
   * <pre>
   * Output only. The Kubernetes version of the cluster.
   * </pre>
   *
   * <code>string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The kubernetesVersion.
   */
  java.lang.String getKubernetesVersion();
  /**
   *
   *
   * <pre>
   * Output only. The Kubernetes version of the cluster.
   * </pre>
   *
   * <code>string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for kubernetesVersion.
   */
  com.google.protobuf.ByteString getKubernetesVersionBytes();

  /**
   *
   *
   * <pre>
   * Optional. Annotations on the cluster.
   * This field has the same restrictions as Kubernetes annotations.
   * The total size of all keys and values combined is limited to 256k.
   * Key can have 2 segments: prefix (optional) and name (required),
   * separated by a slash (/).
   * Prefix must be a DNS subdomain.
   * Name must be 63 characters or less, begin and end with alphanumerics,
   * with dashes (-), underscores (_), dots (.), and alphanumerics between.
   * </pre>
   *
   * <code>map&lt;string, string&gt; annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  int getAnnotationsCount();
  /**
   *
   *
   * <pre>
   * Optional. Annotations on the cluster.
   * This field has the same restrictions as Kubernetes annotations.
   * The total size of all keys and values combined is limited to 256k.
   * Key can have 2 segments: prefix (optional) and name (required),
   * separated by a slash (/).
   * Prefix must be a DNS subdomain.
   * Name must be 63 characters or less, begin and end with alphanumerics,
   * with dashes (-), underscores (_), dots (.), and alphanumerics between.
   * </pre>
   *
   * <code>map&lt;string, string&gt; annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  boolean containsAnnotations(java.lang.String key);
  /** Use {@link #getAnnotationsMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String> getAnnotations();
  /**
   *
   *
   * <pre>
   * Optional. Annotations on the cluster.
   * This field has the same restrictions as Kubernetes annotations.
   * The total size of all keys and values combined is limited to 256k.
   * Key can have 2 segments: prefix (optional) and name (required),
   * separated by a slash (/).
   * Prefix must be a DNS subdomain.
   * Name must be 63 characters or less, begin and end with alphanumerics,
   * with dashes (-), underscores (_), dots (.), and alphanumerics between.
   * </pre>
   *
   * <code>map&lt;string, string&gt; annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  java.util.Map<java.lang.String, java.lang.String> getAnnotationsMap();
  /**
   *
   *
   * <pre>
   * Optional. Annotations on the cluster.
   * This field has the same restrictions as Kubernetes annotations.
   * The total size of all keys and values combined is limited to 256k.
   * Key can have 2 segments: prefix (optional) and name (required),
   * separated by a slash (/).
   * Prefix must be a DNS subdomain.
   * Name must be 63 characters or less, begin and end with alphanumerics,
   * with dashes (-), underscores (_), dots (.), and alphanumerics between.
   * </pre>
   *
   * <code>map&lt;string, string&gt; annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  /* nullable */
  java.lang.String getAnnotationsOrDefault(
      java.lang.String key,
      /* nullable */
      java.lang.String defaultValue);
  /**
   *
   *
   * <pre>
   * Optional. Annotations on the cluster.
   * This field has the same restrictions as Kubernetes annotations.
   * The total size of all keys and values combined is limited to 256k.
   * Key can have 2 segments: prefix (optional) and name (required),
   * separated by a slash (/).
   * Prefix must be a DNS subdomain.
   * Name must be 63 characters or less, begin and end with alphanumerics,
   * with dashes (-), underscores (_), dots (.), and alphanumerics between.
   * </pre>
   *
   * <code>map&lt;string, string&gt; annotations = 13 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  java.lang.String getAnnotationsOrThrow(java.lang.String key);

  /**
   *
   *
   * <pre>
   * Output only. Workload Identity settings.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the workloadIdentityConfig field is set.
   */
  boolean hasWorkloadIdentityConfig();
  /**
   *
   *
   * <pre>
   * Output only. Workload Identity settings.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The workloadIdentityConfig.
   */
  com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig();
  /**
   *
   *
   * <pre>
   * Output only. Workload Identity settings.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder
      getWorkloadIdentityConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Optional. Logging configuration for this cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return Whether the loggingConfig field is set.
   */
  boolean hasLoggingConfig();
  /**
   *
   *
   * <pre>
   * Optional. Logging configuration for this cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return The loggingConfig.
   */
  com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig();
  /**
   *
   *
   * <pre>
   * Optional. Logging configuration for this cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. A set of errors found in the cluster.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  java.util.List<com.google.cloud.gkemulticloud.v1.AttachedClusterError> getErrorsList();
  /**
   *
   *
   * <pre>
   * Output only. A set of errors found in the cluster.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.gkemulticloud.v1.AttachedClusterError getErrors(int index);
  /**
   *
   *
   * <pre>
   * Output only. A set of errors found in the cluster.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  int getErrorsCount();
  /**
   *
   *
   * <pre>
   * Output only. A set of errors found in the cluster.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  java.util.List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder>
      getErrorsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Output only. A set of errors found in the cluster.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrorsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Optional. Configuration related to the cluster RBAC settings.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return Whether the authorization field is set.
   */
  boolean hasAuthorization();
  /**
   *
   *
   * <pre>
   * Optional. Configuration related to the cluster RBAC settings.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return The authorization.
   */
  com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getAuthorization();
  /**
   *
   *
   * <pre>
   * Optional. Configuration related to the cluster RBAC settings.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder
      getAuthorizationOrBuilder();

  /**
   *
   *
   * <pre>
   * Optional. Monitoring configuration for this cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return Whether the monitoringConfig field is set.
   */
  boolean hasMonitoringConfig();
  /**
   *
   *
   * <pre>
   * Optional. Monitoring configuration for this cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return The monitoringConfig.
   */
  com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig();
  /**
   *
   *
   * <pre>
   * Optional. Monitoring configuration for this cluster.
   * </pre>
   *
   * <code>
   * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder();
}
