public static enum Encryptionpb.EncryptionMethod extends Enum<Encryptionpb.EncryptionMethod> implements com.google.protobuf.ProtocolMessageEnum
encryptionpb.EncryptionMethod
Enum Constant and Description |
---|
AES128_CTR
AES128_CTR = 2; |
AES192_CTR
AES192_CTR = 3; |
AES256_CTR
AES256_CTR = 4; |
PLAINTEXT
PLAINTEXT = 1; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
AES128_CTR_VALUE
AES128_CTR = 2; |
static int |
AES192_CTR_VALUE
AES192_CTR = 3; |
static int |
AES256_CTR_VALUE
AES256_CTR = 4; |
static int |
PLAINTEXT_VALUE
PLAINTEXT = 1; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static Encryptionpb.EncryptionMethod |
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<Encryptionpb.EncryptionMethod> |
internalGetValueMap() |
static Encryptionpb.EncryptionMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Encryptionpb.EncryptionMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Encryptionpb.EncryptionMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Encryptionpb.EncryptionMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encryptionpb.EncryptionMethod UNKNOWN
UNKNOWN = 0;
public static final Encryptionpb.EncryptionMethod PLAINTEXT
PLAINTEXT = 1;
public static final Encryptionpb.EncryptionMethod AES128_CTR
AES128_CTR = 2;
public static final Encryptionpb.EncryptionMethod AES192_CTR
AES192_CTR = 3;
public static final Encryptionpb.EncryptionMethod AES256_CTR
AES256_CTR = 4;
public static final Encryptionpb.EncryptionMethod UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int PLAINTEXT_VALUE
PLAINTEXT = 1;
public static final int AES128_CTR_VALUE
AES128_CTR = 2;
public static final int AES192_CTR_VALUE
AES192_CTR = 3;
public static final int AES256_CTR_VALUE
AES256_CTR = 4;
public static Encryptionpb.EncryptionMethod[] values()
for (Encryptionpb.EncryptionMethod c : Encryptionpb.EncryptionMethod.values()) System.out.println(c);
public static Encryptionpb.EncryptionMethod 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 Encryptionpb.EncryptionMethod valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Encryptionpb.EncryptionMethod forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Encryptionpb.EncryptionMethod> 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 Encryptionpb.EncryptionMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 PingCAP. All rights reserved.