public static enum KeepKeyType.InputScriptType extends Enum<KeepKeyType.InputScriptType> implements com.google.protobuf.ProtocolMessageEnum
Type of script which will be used for transaction output @used_in TxInputTypeProtobuf enum
InputScriptType
Enum Constant and Description |
---|
SPENDADDRESS
SPENDADDRESS = 0; |
SPENDMULTISIG
SPENDMULTISIG = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
SPENDADDRESS_VALUE
SPENDADDRESS = 0; |
static int |
SPENDMULTISIG_VALUE
SPENDMULTISIG = 1; |
Modifier and Type | Method and Description |
---|---|
static KeepKeyType.InputScriptType |
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<KeepKeyType.InputScriptType> |
internalGetValueMap() |
static KeepKeyType.InputScriptType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static KeepKeyType.InputScriptType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static KeepKeyType.InputScriptType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeepKeyType.InputScriptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeepKeyType.InputScriptType SPENDADDRESS
SPENDADDRESS = 0;
public static final KeepKeyType.InputScriptType SPENDMULTISIG
SPENDMULTISIG = 1;
public static final int SPENDADDRESS_VALUE
SPENDADDRESS = 0;
public static final int SPENDMULTISIG_VALUE
SPENDMULTISIG = 1;
public static KeepKeyType.InputScriptType[] values()
for (KeepKeyType.InputScriptType c : KeepKeyType.InputScriptType.values()) System.out.println(c);
public static KeepKeyType.InputScriptType 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 KeepKeyType.InputScriptType valueOf(int value)
forNumber(int)
instead.public static KeepKeyType.InputScriptType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<KeepKeyType.InputScriptType> 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 KeepKeyType.InputScriptType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013–2018 Bitcoin Solutions Ltd. All rights reserved.