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