public static enum Protos.DataSource.StorageType extends Enum<Protos.DataSource.StorageType> implements com.google.protobuf.ProtocolMessageEnum
DataSource.StorageType
type of the storage; currently only mysql and redis are supported
| Enum Constant and Description |
|---|
MEMCACHE
MEMCACHE = 4; |
MYSQL
MYSQL = 1; |
MYSQL_KEYVALUE
MYSQL_KEYVALUE = 2; |
REDIS
REDIS = 3; |
| Modifier and Type | Field and Description |
|---|---|
static int |
MEMCACHE_VALUE
MEMCACHE = 4; |
static int |
MYSQL_KEYVALUE_VALUE
MYSQL_KEYVALUE = 2; |
static int |
MYSQL_VALUE
MYSQL = 1; |
static int |
REDIS_VALUE
REDIS = 3; |
| Modifier and Type | Method and Description |
|---|---|
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<Protos.DataSource.StorageType> |
internalGetValueMap() |
static Protos.DataSource.StorageType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.DataSource.StorageType |
valueOf(int value) |
static Protos.DataSource.StorageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protos.DataSource.StorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.DataSource.StorageType MYSQL
MYSQL = 1;public static final Protos.DataSource.StorageType MYSQL_KEYVALUE
MYSQL_KEYVALUE = 2;public static final Protos.DataSource.StorageType REDIS
REDIS = 3;public static final Protos.DataSource.StorageType MEMCACHE
MEMCACHE = 4;public static final int MYSQL_VALUE
MYSQL = 1;public static final int MYSQL_KEYVALUE_VALUE
MYSQL_KEYVALUE = 2;public static final int REDIS_VALUE
REDIS = 3;public static final int MEMCACHE_VALUE
MEMCACHE = 4;public static Protos.DataSource.StorageType[] values()
for (Protos.DataSource.StorageType c : Protos.DataSource.StorageType.values()) System.out.println(c);
public static Protos.DataSource.StorageType 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.ProtocolMessageEnumpublic static Protos.DataSource.StorageType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protos.DataSource.StorageType> 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 Protos.DataSource.StorageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2015. All rights reserved.