public static enum KeepKeyType.OutputScriptType extends Enum<KeepKeyType.OutputScriptType> implements com.google.protobuf.ProtocolMessageEnum
OutputScriptType
Type of script which will be used for transaction output @used_in TxOutputType
| Enum Constant and Description |
|---|
PAYTOADDRESS
PAYTOADDRESS = 0; |
PAYTOMULTISIG
PAYTOMULTISIG = 2; |
PAYTOOPRETURN
PAYTOOPRETURN = 3; |
PAYTOSCRIPTHASH
PAYTOSCRIPTHASH = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
PAYTOADDRESS_VALUE
PAYTOADDRESS = 0; |
static int |
PAYTOMULTISIG_VALUE
PAYTOMULTISIG = 2; |
static int |
PAYTOOPRETURN_VALUE
PAYTOOPRETURN = 3; |
static int |
PAYTOSCRIPTHASH_VALUE
PAYTOSCRIPTHASH = 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<KeepKeyType.OutputScriptType> |
internalGetValueMap() |
static KeepKeyType.OutputScriptType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static KeepKeyType.OutputScriptType |
valueOf(int value) |
static KeepKeyType.OutputScriptType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeepKeyType.OutputScriptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeepKeyType.OutputScriptType PAYTOADDRESS
PAYTOADDRESS = 0;public static final KeepKeyType.OutputScriptType PAYTOSCRIPTHASH
PAYTOSCRIPTHASH = 1;public static final KeepKeyType.OutputScriptType PAYTOMULTISIG
PAYTOMULTISIG = 2;public static final KeepKeyType.OutputScriptType PAYTOOPRETURN
PAYTOOPRETURN = 3;public static final int PAYTOADDRESS_VALUE
PAYTOADDRESS = 0;public static final int PAYTOSCRIPTHASH_VALUE
PAYTOSCRIPTHASH = 1;public static final int PAYTOMULTISIG_VALUE
PAYTOMULTISIG = 2;public static final int PAYTOOPRETURN_VALUE
PAYTOOPRETURN = 3;public static KeepKeyType.OutputScriptType[] values()
for (KeepKeyType.OutputScriptType c : KeepKeyType.OutputScriptType.values()) System.out.println(c);
public static KeepKeyType.OutputScriptType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static KeepKeyType.OutputScriptType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<KeepKeyType.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 KeepKeyType.OutputScriptType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.