public static enum Protos.Key.Type extends Enum<Protos.Key.Type> implements com.google.protobuf.ProtocolMessageEnum
wallet.Key.Type
Enum Constant and Description |
---|
ENCRYPTED_SCRYPT_AES
ENCRYPTED_SCRYPT_AES = 2; |
ORIGINAL
ORIGINAL = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
ENCRYPTED_SCRYPT_AES_VALUE
ENCRYPTED_SCRYPT_AES = 2; |
static int |
ORIGINAL_VALUE
ORIGINAL = 1; |
Modifier and Type | Method and Description |
---|---|
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<Protos.Key.Type> |
internalGetValueMap() |
static Protos.Key.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.Key.Type |
valueOf(int value) |
static Protos.Key.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Key.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Key.Type ORIGINAL
ORIGINAL = 1;
Unencrypted - Original bitcoin secp256k1 curve
public static final Protos.Key.Type ENCRYPTED_SCRYPT_AES
ENCRYPTED_SCRYPT_AES = 2;
Encrypted with Scrypt and AES - - Original bitcoin secp256k1 curve
public static final int ORIGINAL_VALUE
ORIGINAL = 1;
Unencrypted - Original bitcoin secp256k1 curve
public static final int ENCRYPTED_SCRYPT_AES_VALUE
ENCRYPTED_SCRYPT_AES = 2;
Encrypted with Scrypt and AES - - Original bitcoin secp256k1 curve
public static Protos.Key.Type[] values()
for (Protos.Key.Type c : Protos.Key.Type.values()) System.out.println(c);
public static Protos.Key.Type 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
public static Protos.Key.Type valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protos.Key.Type> 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 Protos.Key.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2014. All rights reserved.