public static enum NS.ClusterStatus extends Enum<NS.ClusterStatus> implements com.google.protobuf.ProtocolMessageEnum
openmldb.nameserver.ClusterStatus| Enum Constant and Description |
|---|
kClusterHealthy
kClusterHealthy = 0; |
kClusterOffline
kClusterOffline = 1; |
kClusterRemove
kClusterRemove = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
kClusterHealthy_VALUE
kClusterHealthy = 0; |
static int |
kClusterOffline_VALUE
kClusterOffline = 1; |
static int |
kClusterRemove_VALUE
kClusterRemove = 2; |
| Modifier and Type | Method and Description |
|---|---|
static NS.ClusterStatus |
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<NS.ClusterStatus> |
internalGetValueMap() |
static NS.ClusterStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NS.ClusterStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NS.ClusterStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NS.ClusterStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NS.ClusterStatus kClusterHealthy
kClusterHealthy = 0;public static final NS.ClusterStatus kClusterOffline
kClusterOffline = 1;public static final NS.ClusterStatus kClusterRemove
kClusterRemove = 2;public static final int kClusterHealthy_VALUE
kClusterHealthy = 0;public static final int kClusterOffline_VALUE
kClusterOffline = 1;public static final int kClusterRemove_VALUE
kClusterRemove = 2;public static NS.ClusterStatus[] values()
for (NS.ClusterStatus c : NS.ClusterStatus.values()) System.out.println(c);
public static NS.ClusterStatus 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 NS.ClusterStatus valueOf(int value)
forNumber(int) instead.public static NS.ClusterStatus forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<NS.ClusterStatus> 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 NS.ClusterStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.