Package feast.proto.serving
Enum ServingAPIProto.JobStatus
- java.lang.Object
-
- java.lang.Enum<ServingAPIProto.JobStatus>
-
- feast.proto.serving.ServingAPIProto.JobStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ServingAPIProto.JobStatus>
- Enclosing class:
- ServingAPIProto
public static enum ServingAPIProto.JobStatus extends Enum<ServingAPIProto.JobStatus> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumfeast.serving.JobStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JOB_STATUS_DONEJOB_STATUS_DONE = 3;JOB_STATUS_INVALIDJOB_STATUS_INVALID = 0;JOB_STATUS_PENDINGJOB_STATUS_PENDING = 1;JOB_STATUS_RUNNINGJOB_STATUS_RUNNING = 2;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intJOB_STATUS_DONE_VALUEJOB_STATUS_DONE = 3;static intJOB_STATUS_INVALID_VALUEJOB_STATUS_INVALID = 0;static intJOB_STATUS_PENDING_VALUEJOB_STATUS_PENDING = 1;static intJOB_STATUS_RUNNING_VALUEJOB_STATUS_RUNNING = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ServingAPIProto.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<ServingAPIProto.JobStatus>internalGetValueMap()static ServingAPIProto.JobStatusvalueOf(int value)Deprecated.static ServingAPIProto.JobStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ServingAPIProto.JobStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ServingAPIProto.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 ServingAPIProto.JobStatus JOB_STATUS_INVALID
JOB_STATUS_INVALID = 0;
-
JOB_STATUS_PENDING
public static final ServingAPIProto.JobStatus JOB_STATUS_PENDING
JOB_STATUS_PENDING = 1;
-
JOB_STATUS_RUNNING
public static final ServingAPIProto.JobStatus JOB_STATUS_RUNNING
JOB_STATUS_RUNNING = 2;
-
JOB_STATUS_DONE
public static final ServingAPIProto.JobStatus JOB_STATUS_DONE
JOB_STATUS_DONE = 3;
-
UNRECOGNIZED
public static final ServingAPIProto.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
JOB_STATUS_PENDING = 1;- See Also:
- Constant Field Values
-
JOB_STATUS_RUNNING_VALUE
public static final int JOB_STATUS_RUNNING_VALUE
JOB_STATUS_RUNNING = 2;- See Also:
- Constant Field Values
-
JOB_STATUS_DONE_VALUE
public static final int JOB_STATUS_DONE_VALUE
JOB_STATUS_DONE = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ServingAPIProto.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 (ServingAPIProto.JobStatus c : ServingAPIProto.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 ServingAPIProto.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 ServingAPIProto.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 ServingAPIProto.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<ServingAPIProto.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 ServingAPIProto.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
-
-