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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intP2PKH = 1;static final intP2WPKH = 2;
- 
Method SummaryModifier and TypeMethodDescriptionstatic Protos.Key.OutputScriptTypeforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<Protos.Key.OutputScriptType>static com.google.protobuf.Internal.EnumVerifierstatic Protos.Key.OutputScriptTypevalueOf(int value) Deprecated.static Protos.Key.OutputScriptTypeReturns 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- 
P2PKHP2PKH = 1;
- 
P2WPKHP2WPKH = 2;
 
- 
- 
Field Details- 
P2PKH_VALUEpublic static final int P2PKH_VALUEP2PKH = 1;- See Also:
 
- 
P2WPKH_VALUEpublic static final int P2WPKH_VALUEP2WPKH = 2;- See Also:
 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getNumberpublic final int getNumber()- Specified by:
- getNumberin interface- com.google.protobuf.Internal.EnumLite
 
- 
valueOfDeprecated.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 name
- NullPointerException- if the argument is null
 
- 
forNumber
- 
internalGetValueMappublic static com.google.protobuf.Internal.EnumLiteMap<Protos.Key.OutputScriptType> internalGetValueMap()
- 
internalGetVerifierpublic static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
 
-