public static enum Configpb.StatusCode extends Enum<Configpb.StatusCode> implements com.google.protobuf.ProtocolMessageEnum
configpb.StatusCode
Enum Constant and Description |
---|
COMPONENT_ID_NOT_FOUND
COMPONENT_ID_NOT_FOUND = 5; |
COMPONENT_NOT_FOUND
COMPONENT_NOT_FOUND = 4; |
NOT_CHANGE
NOT_CHANGE = 3; |
OK
OK = 1; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
WRONG_VERSION
WRONG_VERSION = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
COMPONENT_ID_NOT_FOUND_VALUE
COMPONENT_ID_NOT_FOUND = 5; |
static int |
COMPONENT_NOT_FOUND_VALUE
COMPONENT_NOT_FOUND = 4; |
static int |
NOT_CHANGE_VALUE
NOT_CHANGE = 3; |
static int |
OK_VALUE
OK = 1; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
static int |
WRONG_VERSION_VALUE
WRONG_VERSION = 2; |
Modifier and Type | Method and Description |
---|---|
static Configpb.StatusCode |
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<Configpb.StatusCode> |
internalGetValueMap() |
static Configpb.StatusCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Configpb.StatusCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Configpb.StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Configpb.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Configpb.StatusCode UNKNOWN
UNKNOWN = 0;
public static final Configpb.StatusCode OK
OK = 1;
public static final Configpb.StatusCode WRONG_VERSION
WRONG_VERSION = 2;
public static final Configpb.StatusCode NOT_CHANGE
NOT_CHANGE = 3;
public static final Configpb.StatusCode COMPONENT_NOT_FOUND
COMPONENT_NOT_FOUND = 4;
public static final Configpb.StatusCode COMPONENT_ID_NOT_FOUND
COMPONENT_ID_NOT_FOUND = 5;
public static final Configpb.StatusCode UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int OK_VALUE
OK = 1;
public static final int WRONG_VERSION_VALUE
WRONG_VERSION = 2;
public static final int NOT_CHANGE_VALUE
NOT_CHANGE = 3;
public static final int COMPONENT_NOT_FOUND_VALUE
COMPONENT_NOT_FOUND = 4;
public static final int COMPONENT_ID_NOT_FOUND_VALUE
COMPONENT_ID_NOT_FOUND = 5;
public static Configpb.StatusCode[] values()
for (Configpb.StatusCode c : Configpb.StatusCode.values()) System.out.println(c);
public static Configpb.StatusCode 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Configpb.StatusCode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Configpb.StatusCode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Configpb.StatusCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Configpb.StatusCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 PingCAP. All rights reserved.