public static enum CommonProtocol.Status extends Enum<CommonProtocol.Status> implements com.google.protobuf.ProtocolMessageEnum
org.dst.common.protobuf.Status| 枚举常量和说明 |
|---|
DICT_KEY_NOT_FOUND
DICT_KEY_NOT_FOUND = 3;
The key of the dict is not found. |
KEY_NOT_FOUND
KEY_NOT_FOUND = 1; |
OK
OK = 0; |
UNKNOWN_ERROR
UNKNOWN_ERROR = 2; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DICT_KEY_NOT_FOUND_VALUE
DICT_KEY_NOT_FOUND = 3;
The key of the dict is not found. |
static int |
KEY_NOT_FOUND_VALUE
KEY_NOT_FOUND = 1; |
static int |
OK_VALUE
OK = 0; |
static int |
UNKNOWN_ERROR_VALUE
UNKNOWN_ERROR = 2; |
| 限定符和类型 | 方法和说明 |
|---|---|
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<CommonProtocol.Status> |
internalGetValueMap() |
static CommonProtocol.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CommonProtocol.Status |
valueOf(int value) |
static CommonProtocol.Status |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CommonProtocol.Status[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CommonProtocol.Status OK
OK = 0;public static final CommonProtocol.Status KEY_NOT_FOUND
KEY_NOT_FOUND = 1;public static final CommonProtocol.Status UNKNOWN_ERROR
UNKNOWN_ERROR = 2;public static final CommonProtocol.Status DICT_KEY_NOT_FOUND
DICT_KEY_NOT_FOUND = 3;
The key of the dict is not found.
public static final int OK_VALUE
OK = 0;public static final int KEY_NOT_FOUND_VALUE
KEY_NOT_FOUND = 1;public static final int UNKNOWN_ERROR_VALUE
UNKNOWN_ERROR = 2;public static final int DICT_KEY_NOT_FOUND_VALUE
DICT_KEY_NOT_FOUND = 3;
The key of the dict is not found.
public static CommonProtocol.Status[] values()
for (CommonProtocol.Status c : CommonProtocol.Status.values()) System.out.println(c);
public static CommonProtocol.Status valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static CommonProtocol.Status valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CommonProtocol.Status> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CommonProtocol.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.