public static enum Brpb.Error.DetailCase extends Enum<Brpb.Error.DetailCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
CLUSTER_ID_ERROR |
DETAIL_NOT_SET |
KV_ERROR |
REGION_ERROR |
Modifier and Type | Method and Description |
---|---|
static Brpb.Error.DetailCase |
forNumber(int value) |
int |
getNumber() |
static Brpb.Error.DetailCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Brpb.Error.DetailCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Brpb.Error.DetailCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Brpb.Error.DetailCase CLUSTER_ID_ERROR
public static final Brpb.Error.DetailCase KV_ERROR
public static final Brpb.Error.DetailCase REGION_ERROR
public static final Brpb.Error.DetailCase DETAIL_NOT_SET
public static Brpb.Error.DetailCase[] values()
for (Brpb.Error.DetailCase c : Brpb.Error.DetailCase.values()) System.out.println(c);
public static Brpb.Error.DetailCase 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 null@Deprecated public static Brpb.Error.DetailCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Brpb.Error.DetailCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2024 PingCAP. All rights reserved.