public static enum TrezorType.RequestType extends Enum<TrezorType.RequestType> implements com.google.protobuf.ProtocolMessageEnum
Type of information required by transaction signing process @used_in TxRequestProtobuf enum
RequestType
Enum Constant and Description |
---|
TXFINISHED
TXFINISHED = 3; |
TXINPUT
TXINPUT = 0; |
TXMETA
TXMETA = 2; |
TXOUTPUT
TXOUTPUT = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
TXFINISHED_VALUE
TXFINISHED = 3; |
static int |
TXINPUT_VALUE
TXINPUT = 0; |
static int |
TXMETA_VALUE
TXMETA = 2; |
static int |
TXOUTPUT_VALUE
TXOUTPUT = 1; |
Modifier and Type | Method and Description |
---|---|
static TrezorType.RequestType |
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<TrezorType.RequestType> |
internalGetValueMap() |
static TrezorType.RequestType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TrezorType.RequestType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TrezorType.RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrezorType.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrezorType.RequestType TXINPUT
TXINPUT = 0;
public static final TrezorType.RequestType TXOUTPUT
TXOUTPUT = 1;
public static final TrezorType.RequestType TXMETA
TXMETA = 2;
public static final TrezorType.RequestType TXFINISHED
TXFINISHED = 3;
public static final int TXINPUT_VALUE
TXINPUT = 0;
public static final int TXOUTPUT_VALUE
TXOUTPUT = 1;
public static final int TXMETA_VALUE
TXMETA = 2;
public static final int TXFINISHED_VALUE
TXFINISHED = 3;
public static TrezorType.RequestType[] values()
for (TrezorType.RequestType c : TrezorType.RequestType.values()) System.out.println(c);
public static TrezorType.RequestType 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 TrezorType.RequestType valueOf(int value)
forNumber(int)
instead.public static TrezorType.RequestType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TrezorType.RequestType> 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 TrezorType.RequestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013–2019 Bitcoin Solutions Ltd. All rights reserved.