Package feast.proto.core
Enum JobServiceProto.JobStatus
- java.lang.Object
-
- java.lang.Enum<JobServiceProto.JobStatus>
-
- feast.proto.core.JobServiceProto.JobStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<JobServiceProto.JobStatus>
- Enclosing class:
- JobServiceProto
public static enum JobServiceProto.JobStatus extends Enum<JobServiceProto.JobStatus> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumfeast.core.JobStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JOB_STATUS_DONEThe Job has successfully completed its taskJOB_STATUS_ERRORThe Job has encountered an error while processing its taskJOB_STATUS_INVALIDJOB_STATUS_INVALID = 0;JOB_STATUS_PENDINGThe Job has be registered and waiting to get scheduled to runJOB_STATUS_RUNNINGThe Job is currently processing its taskUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intJOB_STATUS_DONE_VALUEThe Job has successfully completed its taskstatic intJOB_STATUS_ERROR_VALUEThe Job has encountered an error while processing its taskstatic intJOB_STATUS_INVALID_VALUEJOB_STATUS_INVALID = 0;static intJOB_STATUS_PENDING_VALUEThe Job has be registered and waiting to get scheduled to runstatic intJOB_STATUS_RUNNING_VALUEThe Job is currently processing its task
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static JobServiceProto.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<JobServiceProto.JobStatus>internalGetValueMap()static JobServiceProto.JobStatusvalueOf(int value)Deprecated.static JobServiceProto.JobStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static JobServiceProto.JobStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static JobServiceProto.JobStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JOB_STATUS_INVALID
public static final JobServiceProto.JobStatus JOB_STATUS_INVALID
JOB_STATUS_INVALID = 0;
-
JOB_STATUS_PENDING
public static final JobServiceProto.JobStatus JOB_STATUS_PENDING
The Job has be registered and waiting to get scheduled to run
JOB_STATUS_PENDING = 1;
-
JOB_STATUS_RUNNING
public static final JobServiceProto.JobStatus JOB_STATUS_RUNNING
The Job is currently processing its task
JOB_STATUS_RUNNING = 2;
-
JOB_STATUS_DONE
public static final JobServiceProto.JobStatus JOB_STATUS_DONE
The Job has successfully completed its task
JOB_STATUS_DONE = 3;
-
JOB_STATUS_ERROR
public static final JobServiceProto.JobStatus JOB_STATUS_ERROR
The Job has encountered an error while processing its task
JOB_STATUS_ERROR = 4;
-
UNRECOGNIZED
public static final JobServiceProto.JobStatus UNRECOGNIZED
-
-
Field Detail
-
JOB_STATUS_INVALID_VALUE
public static final int JOB_STATUS_INVALID_VALUE
JOB_STATUS_INVALID = 0;- See Also:
- Constant Field Values
-
JOB_STATUS_PENDING_VALUE
public static final int JOB_STATUS_PENDING_VALUE
The Job has be registered and waiting to get scheduled to run
JOB_STATUS_PENDING = 1;- See Also:
- Constant Field Values
-
JOB_STATUS_RUNNING_VALUE
public static final int JOB_STATUS_RUNNING_VALUE
The Job is currently processing its task
JOB_STATUS_RUNNING = 2;- See Also:
- Constant Field Values
-
JOB_STATUS_DONE_VALUE
public static final int JOB_STATUS_DONE_VALUE
The Job has successfully completed its task
JOB_STATUS_DONE = 3;- See Also:
- Constant Field Values
-
JOB_STATUS_ERROR_VALUE
public static final int JOB_STATUS_ERROR_VALUE
The Job has encountered an error while processing its task
JOB_STATUS_ERROR = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static JobServiceProto.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 (JobServiceProto.JobStatus c : JobServiceProto.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 JobServiceProto.JobStatus 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 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 public static JobServiceProto.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static JobServiceProto.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<JobServiceProto.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 JobServiceProto.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-