public static enum Common.StorageMode extends Enum<Common.StorageMode> implements com.google.protobuf.ProtocolMessageEnum
openmldb.common.StorageMode| Enum Constant and Description |
|---|
kHDD
kHDD = 3; |
kMemory
kMemory = 1; |
kSSD
kSSD = 2; |
kUnknown
kUnknown = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
kHDD_VALUE
kHDD = 3; |
static int |
kMemory_VALUE
kMemory = 1; |
static int |
kSSD_VALUE
kSSD = 2; |
static int |
kUnknown_VALUE
kUnknown = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Common.StorageMode |
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<Common.StorageMode> |
internalGetValueMap() |
static Common.StorageMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Common.StorageMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Common.StorageMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Common.StorageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Common.StorageMode kUnknown
kUnknown = 0;public static final Common.StorageMode kMemory
kMemory = 1;public static final Common.StorageMode kSSD
kSSD = 2;public static final Common.StorageMode kHDD
kHDD = 3;public static final int kUnknown_VALUE
kUnknown = 0;public static final int kMemory_VALUE
kMemory = 1;public static final int kSSD_VALUE
kSSD = 2;public static final int kHDD_VALUE
kHDD = 3;public static Common.StorageMode[] values()
for (Common.StorageMode c : Common.StorageMode.values()) System.out.println(c);
public static Common.StorageMode 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 Common.StorageMode valueOf(int value)
forNumber(int) instead.public static Common.StorageMode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Common.StorageMode> 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 Common.StorageMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.