public static enum Tablet.TaskStatus extends Enum<Tablet.TaskStatus> implements com.google.protobuf.ProtocolMessageEnum
openmldb.api.TaskStatus| Enum Constant and Description |
|---|
kCanceled
kCanceled = 5; |
kDoing
kDoing = 2; |
kDone
kDone = 3; |
kFailed
kFailed = 4; |
kInited
kInited = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
kCanceled_VALUE
kCanceled = 5; |
static int |
kDoing_VALUE
kDoing = 2; |
static int |
kDone_VALUE
kDone = 3; |
static int |
kFailed_VALUE
kFailed = 4; |
static int |
kInited_VALUE
kInited = 1; |
| Modifier and Type | Method and Description |
|---|---|
static Tablet.TaskStatus |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Tablet.TaskStatus> |
internalGetValueMap() |
static Tablet.TaskStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Tablet.TaskStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tablet.TaskStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tablet.TaskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tablet.TaskStatus kInited
kInited = 1;public static final Tablet.TaskStatus kDoing
kDoing = 2;public static final Tablet.TaskStatus kDone
kDone = 3;public static final Tablet.TaskStatus kFailed
kFailed = 4;public static final Tablet.TaskStatus kCanceled
kCanceled = 5;public static final int kInited_VALUE
kInited = 1;public static final int kDoing_VALUE
kDoing = 2;public static final int kDone_VALUE
kDone = 3;public static final int kFailed_VALUE
kFailed = 4;public static final int kCanceled_VALUE
kCanceled = 5;public static Tablet.TaskStatus[] values()
for (Tablet.TaskStatus c : Tablet.TaskStatus.values()) System.out.println(c);
public static Tablet.TaskStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Tablet.TaskStatus valueOf(int value)
forNumber(int) instead.public static Tablet.TaskStatus forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Tablet.TaskStatus> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Tablet.TaskStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.