Package org.mlflow.api.proto
Enum Class 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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJob was canceled by user.Job completed successfully.Job failed with an error.Job is currently running.Job is queued, waiting to start.JOB_STATUS_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intJob was canceled by user.static final intJob completed successfully.static final intJob failed with an error.static final intJob is currently running.static final intJob is queued, waiting to start.static final intJOB_STATUS_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Jobs.JobStatusforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Jobs.JobStatus>static Jobs.JobStatusvalueOf(int value) Deprecated.static Jobs.JobStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Jobs.JobStatusReturns the enum constant of this class with the specified name.static Jobs.JobStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JOB_STATUS_UNSPECIFIED
JOB_STATUS_UNSPECIFIED = 0; -
JOB_STATUS_PENDING
Job is queued, waiting to start.
JOB_STATUS_PENDING = 1; -
JOB_STATUS_IN_PROGRESS
Job is currently running.
JOB_STATUS_IN_PROGRESS = 2; -
JOB_STATUS_COMPLETED
Job completed successfully.
JOB_STATUS_COMPLETED = 3; -
JOB_STATUS_FAILED
Job failed with an error.
JOB_STATUS_FAILED = 4; -
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_VALUEJOB_STATUS_UNSPECIFIED = 0;- See Also:
-
JOB_STATUS_PENDING_VALUE
public static final int JOB_STATUS_PENDING_VALUEJob is queued, waiting to start.
JOB_STATUS_PENDING = 1;- See Also:
-
JOB_STATUS_IN_PROGRESS_VALUE
public static final int JOB_STATUS_IN_PROGRESS_VALUEJob is currently running.
JOB_STATUS_IN_PROGRESS = 2;- See Also:
-
JOB_STATUS_COMPLETED_VALUE
public static final int JOB_STATUS_COMPLETED_VALUEJob completed successfully.
JOB_STATUS_COMPLETED = 3;- See Also:
-
JOB_STATUS_FAILED_VALUE
public static final int JOB_STATUS_FAILED_VALUEJob failed with an error.
JOB_STATUS_FAILED = 4;- See Also:
-
JOB_STATUS_CANCELED_VALUE
public static final int JOB_STATUS_CANCELED_VALUEJob was canceled by user.
JOB_STATUS_CANCELED = 5;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-