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

package com.google.cloud.dataproc.v1;

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

  /**
   * <pre>
   * Output-only. Name of the cluster for the operation.
   * </pre>
   *
   * <code>string cluster_name = 7;</code>
   */
  java.lang.String getClusterName();
  /**
   * <pre>
   * Output-only. Name of the cluster for the operation.
   * </pre>
   *
   * <code>string cluster_name = 7;</code>
   */
  com.google.protobuf.ByteString
      getClusterNameBytes();

  /**
   * <pre>
   * Output-only. Cluster UUID for the operation.
   * </pre>
   *
   * <code>string cluster_uuid = 8;</code>
   */
  java.lang.String getClusterUuid();
  /**
   * <pre>
   * Output-only. Cluster UUID for the operation.
   * </pre>
   *
   * <code>string cluster_uuid = 8;</code>
   */
  com.google.protobuf.ByteString
      getClusterUuidBytes();

  /**
   * <pre>
   * Output-only. Current operation status.
   * </pre>
   *
   * <code>.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;</code>
   */
  boolean hasStatus();
  /**
   * <pre>
   * Output-only. Current operation status.
   * </pre>
   *
   * <code>.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;</code>
   */
  com.google.cloud.dataproc.v1.ClusterOperationStatus getStatus();
  /**
   * <pre>
   * Output-only. Current operation status.
   * </pre>
   *
   * <code>.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;</code>
   */
  com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusOrBuilder();

  /**
   * <pre>
   * Output-only. The previous operation status.
   * </pre>
   *
   * <code>repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;</code>
   */
  java.util.List<com.google.cloud.dataproc.v1.ClusterOperationStatus> 
      getStatusHistoryList();
  /**
   * <pre>
   * Output-only. The previous operation status.
   * </pre>
   *
   * <code>repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;</code>
   */
  com.google.cloud.dataproc.v1.ClusterOperationStatus getStatusHistory(int index);
  /**
   * <pre>
   * Output-only. The previous operation status.
   * </pre>
   *
   * <code>repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;</code>
   */
  int getStatusHistoryCount();
  /**
   * <pre>
   * Output-only. The previous operation status.
   * </pre>
   *
   * <code>repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;</code>
   */
  java.util.List<? extends com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder> 
      getStatusHistoryOrBuilderList();
  /**
   * <pre>
   * Output-only. The previous operation status.
   * </pre>
   *
   * <code>repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;</code>
   */
  com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder getStatusHistoryOrBuilder(
      int index);

  /**
   * <pre>
   * Output-only. The operation type.
   * </pre>
   *
   * <code>string operation_type = 11;</code>
   */
  java.lang.String getOperationType();
  /**
   * <pre>
   * Output-only. The operation type.
   * </pre>
   *
   * <code>string operation_type = 11;</code>
   */
  com.google.protobuf.ByteString
      getOperationTypeBytes();

  /**
   * <pre>
   * Output-only. Short description of operation.
   * </pre>
   *
   * <code>string description = 12;</code>
   */
  java.lang.String getDescription();
  /**
   * <pre>
   * Output-only. Short description of operation.
   * </pre>
   *
   * <code>string description = 12;</code>
   */
  com.google.protobuf.ByteString
      getDescriptionBytes();

  /**
   * <pre>
   * Output-only. Labels associated with the operation
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 13;</code>
   */
  int getLabelsCount();
  /**
   * <pre>
   * Output-only. Labels associated with the operation
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 13;</code>
   */
  boolean containsLabels(
      java.lang.String key);
  /**
   * Use {@link #getLabelsMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String>
  getLabels();
  /**
   * <pre>
   * Output-only. Labels associated with the operation
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 13;</code>
   */
  java.util.Map<java.lang.String, java.lang.String>
  getLabelsMap();
  /**
   * <pre>
   * Output-only. Labels associated with the operation
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 13;</code>
   */

  java.lang.String getLabelsOrDefault(
      java.lang.String key,
      java.lang.String defaultValue);
  /**
   * <pre>
   * Output-only. Labels associated with the operation
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 13;</code>
   */

  java.lang.String getLabelsOrThrow(
      java.lang.String key);

  /**
   * <pre>
   * Output-only. Errors encountered during operation execution.
   * </pre>
   *
   * <code>repeated string warnings = 14;</code>
   */
  java.util.List<java.lang.String>
      getWarningsList();
  /**
   * <pre>
   * Output-only. Errors encountered during operation execution.
   * </pre>
   *
   * <code>repeated string warnings = 14;</code>
   */
  int getWarningsCount();
  /**
   * <pre>
   * Output-only. Errors encountered during operation execution.
   * </pre>
   *
   * <code>repeated string warnings = 14;</code>
   */
  java.lang.String getWarnings(int index);
  /**
   * <pre>
   * Output-only. Errors encountered during operation execution.
   * </pre>
   *
   * <code>repeated string warnings = 14;</code>
   */
  com.google.protobuf.ByteString
      getWarningsBytes(int index);
}
