<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dataproc/v1/jobs.proto

namespace Google\Cloud\Dataproc\V1\YarnApplication;

/**
 * The application state, corresponding to
 * <code>YarnProtos.YarnApplicationStateProto</code>.
 *
 * Protobuf type <code>google.cloud.dataproc.v1.YarnApplication.State</code>
 */
class State
{
    /**
     * Status is unspecified.
     *
     * Generated from protobuf enum <code>STATE_UNSPECIFIED = 0;</code>
     */
    const STATE_UNSPECIFIED = 0;
    /**
     * Status is NEW.
     *
     * Generated from protobuf enum <code>NEW = 1;</code>
     */
    const PBNEW = 1;
    /**
     * Status is NEW_SAVING.
     *
     * Generated from protobuf enum <code>NEW_SAVING = 2;</code>
     */
    const NEW_SAVING = 2;
    /**
     * Status is SUBMITTED.
     *
     * Generated from protobuf enum <code>SUBMITTED = 3;</code>
     */
    const SUBMITTED = 3;
    /**
     * Status is ACCEPTED.
     *
     * Generated from protobuf enum <code>ACCEPTED = 4;</code>
     */
    const ACCEPTED = 4;
    /**
     * Status is RUNNING.
     *
     * Generated from protobuf enum <code>RUNNING = 5;</code>
     */
    const RUNNING = 5;
    /**
     * Status is FINISHED.
     *
     * Generated from protobuf enum <code>FINISHED = 6;</code>
     */
    const FINISHED = 6;
    /**
     * Status is FAILED.
     *
     * Generated from protobuf enum <code>FAILED = 7;</code>
     */
    const FAILED = 7;
    /**
     * Status is KILLED.
     *
     * Generated from protobuf enum <code>KILLED = 8;</code>
     */
    const KILLED = 8;
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(State::class, \Google\Cloud\Dataproc\V1\YarnApplication_State::class);

