public static enum Kvrpcpb.DiskFullOpt extends Enum<Kvrpcpb.DiskFullOpt> implements com.google.protobuf.ProtocolMessageEnum
Operation allowed info during each TiKV storage threshold.Protobuf enum
kvrpcpb.DiskFullOpt
Enum Constant and Description |
---|
AllowedOnAlmostFull
Means operations will be allowed when disk is almost full.
|
AllowedOnAlreadyFull
Means operations will be allowed when disk is already full.
|
NotAllowedOnFull
The default value, means operations are not allowed either under almost full or already full.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
AllowedOnAlmostFull_VALUE
Means operations will be allowed when disk is almost full.
|
static int |
AllowedOnAlreadyFull_VALUE
Means operations will be allowed when disk is already full.
|
static int |
NotAllowedOnFull_VALUE
The default value, means operations are not allowed either under almost full or already full.
|
Modifier and Type | Method and Description |
---|---|
static Kvrpcpb.DiskFullOpt |
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<Kvrpcpb.DiskFullOpt> |
internalGetValueMap() |
static Kvrpcpb.DiskFullOpt |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Kvrpcpb.DiskFullOpt |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Kvrpcpb.DiskFullOpt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Kvrpcpb.DiskFullOpt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Kvrpcpb.DiskFullOpt NotAllowedOnFull
The default value, means operations are not allowed either under almost full or already full.
NotAllowedOnFull = 0;
public static final Kvrpcpb.DiskFullOpt AllowedOnAlmostFull
Means operations will be allowed when disk is almost full.
AllowedOnAlmostFull = 1;
public static final Kvrpcpb.DiskFullOpt AllowedOnAlreadyFull
Means operations will be allowed when disk is already full.
AllowedOnAlreadyFull = 2;
public static final Kvrpcpb.DiskFullOpt UNRECOGNIZED
public static final int NotAllowedOnFull_VALUE
The default value, means operations are not allowed either under almost full or already full.
NotAllowedOnFull = 0;
public static final int AllowedOnAlmostFull_VALUE
Means operations will be allowed when disk is almost full.
AllowedOnAlmostFull = 1;
public static final int AllowedOnAlreadyFull_VALUE
Means operations will be allowed when disk is already full.
AllowedOnAlreadyFull = 2;
public static Kvrpcpb.DiskFullOpt[] values()
for (Kvrpcpb.DiskFullOpt c : Kvrpcpb.DiskFullOpt.values()) System.out.println(c);
public static Kvrpcpb.DiskFullOpt 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 Kvrpcpb.DiskFullOpt valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Kvrpcpb.DiskFullOpt forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Kvrpcpb.DiskFullOpt> 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 Kvrpcpb.DiskFullOpt valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 PingCAP. All rights reserved.