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