Package io.hstream.internal
Enum TaskStatusPB
- java.lang.Object
-
- java.lang.Enum<TaskStatusPB>
-
- io.hstream.internal.TaskStatusPB
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TaskStatusPB>
public enum TaskStatusPB extends Enum<TaskStatusPB> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumhstream.server.TaskStatusPB
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TASK_ABORTEDTASK_ABORTED = 2;TASK_CREATINGTASK_CREATING = 0;TASK_PAUSEDTASK_PAUSED = 3;TASK_RESUMINGTASK_RESUMING = 4;TASK_RUNNINGTASK_RUNNING = 1;TASK_TERMINATEDTASK_TERMINATED = 5;TASK_UNKNOWNTASK_UNKNOWN = 6;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intTASK_ABORTED_VALUETASK_ABORTED = 2;static intTASK_CREATING_VALUETASK_CREATING = 0;static intTASK_PAUSED_VALUETASK_PAUSED = 3;static intTASK_RESUMING_VALUETASK_RESUMING = 4;static intTASK_RUNNING_VALUETASK_RUNNING = 1;static intTASK_TERMINATED_VALUETASK_TERMINATED = 5;static intTASK_UNKNOWN_VALUETASK_UNKNOWN = 6;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TaskStatusPBforNumber(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<TaskStatusPB>internalGetValueMap()static TaskStatusPBvalueOf(int value)Deprecated.static TaskStatusPBvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static TaskStatusPBvalueOf(String name)Returns the enum constant of this type with the specified name.static TaskStatusPB[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TASK_CREATING
public static final TaskStatusPB TASK_CREATING
TASK_CREATING = 0;
-
TASK_RUNNING
public static final TaskStatusPB TASK_RUNNING
TASK_RUNNING = 1;
-
TASK_ABORTED
public static final TaskStatusPB TASK_ABORTED
TASK_ABORTED = 2;
-
TASK_PAUSED
public static final TaskStatusPB TASK_PAUSED
TASK_PAUSED = 3;
-
TASK_RESUMING
public static final TaskStatusPB TASK_RESUMING
TASK_RESUMING = 4;
-
TASK_TERMINATED
public static final TaskStatusPB TASK_TERMINATED
TASK_TERMINATED = 5;
-
TASK_UNKNOWN
public static final TaskStatusPB TASK_UNKNOWN
TASK_UNKNOWN = 6;
-
UNRECOGNIZED
public static final TaskStatusPB UNRECOGNIZED
-
-
Field Detail
-
TASK_CREATING_VALUE
public static final int TASK_CREATING_VALUE
TASK_CREATING = 0;- See Also:
- Constant Field Values
-
TASK_RUNNING_VALUE
public static final int TASK_RUNNING_VALUE
TASK_RUNNING = 1;- See Also:
- Constant Field Values
-
TASK_ABORTED_VALUE
public static final int TASK_ABORTED_VALUE
TASK_ABORTED = 2;- See Also:
- Constant Field Values
-
TASK_PAUSED_VALUE
public static final int TASK_PAUSED_VALUE
TASK_PAUSED = 3;- See Also:
- Constant Field Values
-
TASK_RESUMING_VALUE
public static final int TASK_RESUMING_VALUE
TASK_RESUMING = 4;- See Also:
- Constant Field Values
-
TASK_TERMINATED_VALUE
public static final int TASK_TERMINATED_VALUE
TASK_TERMINATED = 5;- See Also:
- Constant Field Values
-
TASK_UNKNOWN_VALUE
public static final int TASK_UNKNOWN_VALUE
TASK_UNKNOWN = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static TaskStatusPB[] 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 (TaskStatusPB c : TaskStatusPB.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskStatusPB 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 TaskStatusPB 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 TaskStatusPB 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<TaskStatusPB> 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 TaskStatusPB 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
-
-