// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dataproc/v1/workflow_templates.proto

package com.google.cloud.dataproc.v1;

public interface ClusterSelectorOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.ClusterSelector)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Optional. The zone where workflow process executes. This parameter does not
   * affect the selection of the cluster.
   * If unspecified, the zone of the first cluster matching the selector
   * is used.
   * </pre>
   *
   * <code>string zone = 1;</code>
   */
  java.lang.String getZone();
  /**
   *
   *
   * <pre>
   * Optional. The zone where workflow process executes. This parameter does not
   * affect the selection of the cluster.
   * If unspecified, the zone of the first cluster matching the selector
   * is used.
   * </pre>
   *
   * <code>string zone = 1;</code>
   */
  com.google.protobuf.ByteString getZoneBytes();

  /**
   *
   *
   * <pre>
   * Required. The cluster labels. Cluster must have all labels
   * to match.
   * </pre>
   *
   * <code>map&lt;string, string&gt; cluster_labels = 2;</code>
   */
  int getClusterLabelsCount();
  /**
   *
   *
   * <pre>
   * Required. The cluster labels. Cluster must have all labels
   * to match.
   * </pre>
   *
   * <code>map&lt;string, string&gt; cluster_labels = 2;</code>
   */
  boolean containsClusterLabels(java.lang.String key);
  /** Use {@link #getClusterLabelsMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String> getClusterLabels();
  /**
   *
   *
   * <pre>
   * Required. The cluster labels. Cluster must have all labels
   * to match.
   * </pre>
   *
   * <code>map&lt;string, string&gt; cluster_labels = 2;</code>
   */
  java.util.Map<java.lang.String, java.lang.String> getClusterLabelsMap();
  /**
   *
   *
   * <pre>
   * Required. The cluster labels. Cluster must have all labels
   * to match.
   * </pre>
   *
   * <code>map&lt;string, string&gt; cluster_labels = 2;</code>
   */
  java.lang.String getClusterLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
  /**
   *
   *
   * <pre>
   * Required. The cluster labels. Cluster must have all labels
   * to match.
   * </pre>
   *
   * <code>map&lt;string, string&gt; cluster_labels = 2;</code>
   */
  java.lang.String getClusterLabelsOrThrow(java.lang.String key);
}
