public static enum Protos.Key.OutputScriptType extends java.lang.Enum<Protos.Key.OutputScriptType> implements com.google.protobuf.ProtocolMessageEnum
wallet.Key.OutputScriptType| Enum Constant and Description |
|---|
P2PKH
P2PKH = 1; |
P2WPKH
P2WPKH = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
P2PKH_VALUE
P2PKH = 1; |
static int |
P2WPKH_VALUE
P2WPKH = 2; |
| Modifier and Type | Method and Description |
|---|---|
static Protos.Key.OutputScriptType |
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<Protos.Key.OutputScriptType> |
internalGetValueMap() |
static Protos.Key.OutputScriptType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.Key.OutputScriptType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.Key.OutputScriptType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Key.OutputScriptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Key.OutputScriptType P2PKH
P2PKH = 1;public static final Protos.Key.OutputScriptType P2WPKH
P2WPKH = 2;public static final int P2PKH_VALUE
P2PKH = 1;public static final int P2WPKH_VALUE
P2WPKH = 2;public static Protos.Key.OutputScriptType[] values()
for (Protos.Key.OutputScriptType c : Protos.Key.OutputScriptType.values()) System.out.println(c);
public static Protos.Key.OutputScriptType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Protos.Key.OutputScriptType valueOf(int value)
forNumber(int) instead.public static Protos.Key.OutputScriptType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protos.Key.OutputScriptType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protos.Key.OutputScriptType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)