Package org.mlflow.api.proto
Enum 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,java.io.Serializable,java.lang.Comparable<Jobs.JobStatus>
- Enclosing class:
- Jobs
public static enum Jobs.JobStatus extends java.lang.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 enummlflow.JobStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JOB_STATUS_CANCELEDJob was canceled by user.JOB_STATUS_COMPLETEDJob completed successfully.JOB_STATUS_FAILEDJob failed with an error.JOB_STATUS_IN_PROGRESSJob is currently running.JOB_STATUS_PENDINGJob is queued, waiting to start.JOB_STATUS_UNSPECIFIEDJOB_STATUS_UNSPECIFIED = 0;
-
Field Summary
Fields Modifier and Type Field Description static intJOB_STATUS_CANCELED_VALUEJob was canceled by user.static intJOB_STATUS_COMPLETED_VALUEJob completed successfully.static intJOB_STATUS_FAILED_VALUEJob failed with an error.static intJOB_STATUS_IN_PROGRESS_VALUEJob is currently running.static intJOB_STATUS_PENDING_VALUEJob is queued, waiting to start.static intJOB_STATUS_UNSPECIFIED_VALUEJOB_STATUS_UNSPECIFIED = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Jobs.JobStatusforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Jobs.JobStatus>internalGetValueMap()static Jobs.JobStatusvalueOf(int value)Deprecated.static Jobs.JobStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Jobs.JobStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Jobs.JobStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
JOB_STATUS_UNSPECIFIED_VALUE
public static final int JOB_STATUS_UNSPECIFIED_VALUE
JOB_STATUS_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
JOB_STATUS_PENDING_VALUE
public static final int JOB_STATUS_PENDING_VALUE
Job is queued, waiting to start.
JOB_STATUS_PENDING = 1;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
JOB_STATUS_COMPLETED_VALUE
public static final int JOB_STATUS_COMPLETED_VALUE
Job completed successfully.
JOB_STATUS_COMPLETED = 3;- See Also:
- Constant Field Values
-
JOB_STATUS_FAILED_VALUE
public static final int JOB_STATUS_FAILED_VALUE
Job failed with an error.
JOB_STATUS_FAILED = 4;- See Also:
- Constant Field Values
-
JOB_STATUS_CANCELED_VALUE
public static final int JOB_STATUS_CANCELED_VALUE
Job was canceled by user.
JOB_STATUS_CANCELED = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Jobs.JobStatus[] 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 (Jobs.JobStatus c : Jobs.JobStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Jobs.JobStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static Jobs.JobStatus 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.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:
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
public static Jobs.JobStatus 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-