public static enum GenericCollectionValue.Type extends Enum<GenericCollectionValue.Type> implements com.google.protobuf.ProtocolMessageEnum
cn.leancloud.play.proto.GenericCollectionValue.Type| Enum Constant and Description |
|---|
ARRAY
ARRAY = 12; |
BOOL
BOOL = 6; |
BYTE
BYTE = 2; |
BYTES
BYTES = 1; |
DOUBLE
DOUBLE = 8; |
FLOAT
FLOAT = 7; |
INT
INT = 4; |
LONG
LONG = 5; |
MAP
MAP = 11; |
NULL
NULL = 0; |
OBJECT
OBJECT = 9; |
SHORT
SHORT = 3; |
STRING
STRING = 10; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_VALUE
ARRAY = 12; |
static int |
BOOL_VALUE
BOOL = 6; |
static int |
BYTE_VALUE
BYTE = 2; |
static int |
BYTES_VALUE
BYTES = 1; |
static int |
DOUBLE_VALUE
DOUBLE = 8; |
static int |
FLOAT_VALUE
FLOAT = 7; |
static int |
INT_VALUE
INT = 4; |
static int |
LONG_VALUE
LONG = 5; |
static int |
MAP_VALUE
MAP = 11; |
static int |
NULL_VALUE
NULL = 0; |
static int |
OBJECT_VALUE
OBJECT = 9; |
static int |
SHORT_VALUE
SHORT = 3; |
static int |
STRING_VALUE
STRING = 10; |
| Modifier and Type | Method and Description |
|---|---|
static GenericCollectionValue.Type |
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<GenericCollectionValue.Type> |
internalGetValueMap() |
static GenericCollectionValue.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GenericCollectionValue.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GenericCollectionValue.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenericCollectionValue.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericCollectionValue.Type NULL
NULL = 0;public static final GenericCollectionValue.Type BYTES
BYTES = 1;public static final GenericCollectionValue.Type BYTE
BYTE = 2;public static final GenericCollectionValue.Type SHORT
SHORT = 3;public static final GenericCollectionValue.Type INT
INT = 4;public static final GenericCollectionValue.Type LONG
LONG = 5;public static final GenericCollectionValue.Type BOOL
BOOL = 6;public static final GenericCollectionValue.Type FLOAT
FLOAT = 7;public static final GenericCollectionValue.Type DOUBLE
DOUBLE = 8;public static final GenericCollectionValue.Type OBJECT
OBJECT = 9;public static final GenericCollectionValue.Type STRING
STRING = 10;public static final GenericCollectionValue.Type MAP
MAP = 11;public static final GenericCollectionValue.Type ARRAY
ARRAY = 12;public static final GenericCollectionValue.Type UNRECOGNIZED
public static final int NULL_VALUE
NULL = 0;public static final int BYTES_VALUE
BYTES = 1;public static final int BYTE_VALUE
BYTE = 2;public static final int SHORT_VALUE
SHORT = 3;public static final int INT_VALUE
INT = 4;public static final int LONG_VALUE
LONG = 5;public static final int BOOL_VALUE
BOOL = 6;public static final int FLOAT_VALUE
FLOAT = 7;public static final int DOUBLE_VALUE
DOUBLE = 8;public static final int OBJECT_VALUE
OBJECT = 9;public static final int STRING_VALUE
STRING = 10;public static final int MAP_VALUE
MAP = 11;public static final int ARRAY_VALUE
ARRAY = 12;public static GenericCollectionValue.Type[] values()
for (GenericCollectionValue.Type c : GenericCollectionValue.Type.values()) System.out.println(c);
public static GenericCollectionValue.Type 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 GenericCollectionValue.Type valueOf(int value)
forNumber(int) instead.public static GenericCollectionValue.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GenericCollectionValue.Type> 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 GenericCollectionValue.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 LeanCloud. All rights reserved.