Enum Class Jobs.JobStatus

java.lang.Object
java.lang.Enum<Jobs.JobStatus>
org.mlflow.api.proto.Jobs.JobStatus
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Jobs.JobStatus>, Constable
Enclosing class:
Jobs

public static enum Jobs.JobStatus extends Enum<Jobs.JobStatus> implements com.google.protobuf.ProtocolMessageEnum
 Generic status enum for MLflow jobs.
 Can be used across different job types (optimization, scorer, etc.).
 
Protobuf enum mlflow.JobStatus
  • Enum Constant Details

    • JOB_STATUS_UNSPECIFIED

      public static final Jobs.JobStatus JOB_STATUS_UNSPECIFIED
      JOB_STATUS_UNSPECIFIED = 0;
    • JOB_STATUS_PENDING

      public static final Jobs.JobStatus JOB_STATUS_PENDING
       Job is queued, waiting to start.
       
      JOB_STATUS_PENDING = 1;
    • JOB_STATUS_IN_PROGRESS

      public static final Jobs.JobStatus JOB_STATUS_IN_PROGRESS
       Job is currently running.
       
      JOB_STATUS_IN_PROGRESS = 2;
    • JOB_STATUS_COMPLETED

      public static final Jobs.JobStatus JOB_STATUS_COMPLETED
       Job completed successfully.
       
      JOB_STATUS_COMPLETED = 3;
    • JOB_STATUS_FAILED

      public static final Jobs.JobStatus JOB_STATUS_FAILED
       Job failed with an error.
       
      JOB_STATUS_FAILED = 4;
    • JOB_STATUS_CANCELED

      public static final Jobs.JobStatus JOB_STATUS_CANCELED
       Job was canceled by user.
       
      JOB_STATUS_CANCELED = 5;
  • Field Details

    • JOB_STATUS_UNSPECIFIED_VALUE

      public static final int JOB_STATUS_UNSPECIFIED_VALUE
      JOB_STATUS_UNSPECIFIED = 0;
      See Also:
    • JOB_STATUS_PENDING_VALUE

      public static final int JOB_STATUS_PENDING_VALUE
       Job is queued, waiting to start.
       
      JOB_STATUS_PENDING = 1;
      See Also:
    • JOB_STATUS_IN_PROGRESS_VALUE

      public static final int JOB_STATUS_IN_PROGRESS_VALUE
       Job is currently running.
       
      JOB_STATUS_IN_PROGRESS = 2;
      See Also:
    • JOB_STATUS_COMPLETED_VALUE

      public static final int JOB_STATUS_COMPLETED_VALUE
       Job completed successfully.
       
      JOB_STATUS_COMPLETED = 3;
      See Also:
    • JOB_STATUS_FAILED_VALUE

      public static final int JOB_STATUS_FAILED_VALUE
       Job failed with an error.
       
      JOB_STATUS_FAILED = 4;
      See Also:
    • JOB_STATUS_CANCELED_VALUE

      public static final int JOB_STATUS_CANCELED_VALUE
       Job was canceled by user.
       
      JOB_STATUS_CANCELED = 5;
      See Also:
  • Method Details

    • values

      public static Jobs.JobStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Jobs.JobStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 Jobs.JobStatus valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Jobs.JobStatus 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<Jobs.JobStatus> 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 Jobs.JobStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null