Enum JobStatus.Substate

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<JobStatus.Substate>
    Enclosing class:
    JobStatus

    public static enum JobStatus.Substate
    extends Enum<JobStatus.Substate>
    implements com.google.protobuf.ProtocolMessageEnum
     The job substate.
     
    Protobuf enum google.cloud.dataproc.v1.JobStatus.Substate
    • Enum Constant Detail

      • UNSPECIFIED

        public static final JobStatus.Substate UNSPECIFIED
         The job substate is unknown.
         
        UNSPECIFIED = 0;
      • SUBMITTED

        public static final JobStatus.Substate SUBMITTED
         The Job is submitted to the agent.
        
         Applies to RUNNING state.
         
        SUBMITTED = 1;
      • QUEUED

        public static final JobStatus.Substate QUEUED
         The Job has been received and is awaiting execution (it may be waiting
         for a condition to be met). See the "details" field for the reason for
         the delay.
        
         Applies to RUNNING state.
         
        QUEUED = 2;
      • STALE_STATUS

        public static final JobStatus.Substate STALE_STATUS
         The agent-reported status is out of date, which may be caused by a
         loss of communication between the agent and Dataproc. If the
         agent does not send a timely update, the job will fail.
        
         Applies to RUNNING state.
         
        STALE_STATUS = 3;
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         The job substate is unknown.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • SUBMITTED_VALUE

        public static final int SUBMITTED_VALUE
         The Job is submitted to the agent.
        
         Applies to RUNNING state.
         
        SUBMITTED = 1;
        See Also:
        Constant Field Values
      • QUEUED_VALUE

        public static final int QUEUED_VALUE
         The Job has been received and is awaiting execution (it may be waiting
         for a condition to be met). See the "details" field for the reason for
         the delay.
        
         Applies to RUNNING state.
         
        QUEUED = 2;
        See Also:
        Constant Field Values
      • STALE_STATUS_VALUE

        public static final int STALE_STATUS_VALUE
         The agent-reported status is out of date, which may be caused by a
         loss of communication between the agent and Dataproc. If the
         agent does not send a timely update, the job will fail.
        
         Applies to RUNNING state.
         
        STALE_STATUS = 3;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static JobStatus.Substate[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (JobStatus.Substate c : JobStatus.Substate.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JobStatus.Substate valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static JobStatus.Substate valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static JobStatus.Substate forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<JobStatus.Substate> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static JobStatus.Substate valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null