Package org.bitcoinj.wallet
Enum Class Protos.Key.OutputScriptType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Protos.Key.OutputScriptType>
,Constable
- Enclosing class:
- Protos.Key
public static enum Protos.Key.OutputScriptType
extends Enum<Protos.Key.OutputScriptType>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
wallet.Key.OutputScriptType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
P2PKH = 1;
static final int
P2WPKH = 2;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Protos.Key.OutputScriptType
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Protos.Key.OutputScriptType>
static com.google.protobuf.Internal.EnumVerifier
static Protos.Key.OutputScriptType
valueOf
(int value) Deprecated.static Protos.Key.OutputScriptType
Returns the enum constant of this class with the specified name.static Protos.Key.OutputScriptType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
P2PKH
P2PKH = 1;
-
P2WPKH
P2WPKH = 2;
-
-
Field Details
-
P2PKH_VALUE
public static final int P2PKH_VALUEP2PKH = 1;
- See Also:
-
P2WPKH_VALUE
public static final int P2WPKH_VALUEP2WPKH = 2;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Protos.Key.OutputScriptType> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-