public static enum Kvrpcpb.AssertionLevel extends Enum<Kvrpcpb.AssertionLevel> implements com.google.protobuf.ProtocolMessageEnum
kvrpcpb.AssertionLevel| Enum Constant and Description |
|---|
Fast
Assertion is enabled, but not enforced when it might affect performance.
|
Off
No assertion.
|
Strict
Assertion is enabled and enforced.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
Fast_VALUE
Assertion is enabled, but not enforced when it might affect performance.
|
static int |
Off_VALUE
No assertion.
|
static int |
Strict_VALUE
Assertion is enabled and enforced.
|
| Modifier and Type | Method and Description |
|---|---|
static Kvrpcpb.AssertionLevel |
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.AssertionLevel> |
internalGetValueMap() |
static Kvrpcpb.AssertionLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Kvrpcpb.AssertionLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Kvrpcpb.AssertionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Kvrpcpb.AssertionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Kvrpcpb.AssertionLevel Off
No assertion.
Off = 0;public static final Kvrpcpb.AssertionLevel Fast
Assertion is enabled, but not enforced when it might affect performance.
Fast = 1;public static final Kvrpcpb.AssertionLevel Strict
Assertion is enabled and enforced.
Strict = 2;public static final Kvrpcpb.AssertionLevel UNRECOGNIZED
public static final int Off_VALUE
No assertion.
Off = 0;public static final int Fast_VALUE
Assertion is enabled, but not enforced when it might affect performance.
Fast = 1;public static final int Strict_VALUE
Assertion is enabled and enforced.
Strict = 2;public static Kvrpcpb.AssertionLevel[] values()
for (Kvrpcpb.AssertionLevel c : Kvrpcpb.AssertionLevel.values()) System.out.println(c);
public static Kvrpcpb.AssertionLevel 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 Kvrpcpb.AssertionLevel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Kvrpcpb.AssertionLevel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Kvrpcpb.AssertionLevel> 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 Kvrpcpb.AssertionLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 PingCAP. All rights reserved.