public static enum TrezorType.ButtonRequestType extends Enum<TrezorType.ButtonRequestType> implements com.google.protobuf.ProtocolMessageEnum
ButtonRequestType
Type of button request @used_in ButtonRequest
| Enum Constant and Description |
|---|
ButtonRequest_Address
ButtonRequest_Address = 10; |
ButtonRequest_ConfirmOutput
ButtonRequest_ConfirmOutput = 3; |
ButtonRequest_ConfirmWord
ButtonRequest_ConfirmWord = 5; |
ButtonRequest_FeeOverThreshold
ButtonRequest_FeeOverThreshold = 2; |
ButtonRequest_FirmwareCheck
ButtonRequest_FirmwareCheck = 9; |
ButtonRequest_Other
ButtonRequest_Other = 1; |
ButtonRequest_ProtectCall
ButtonRequest_ProtectCall = 7; |
ButtonRequest_PublicKey
ButtonRequest_PublicKey = 11; |
ButtonRequest_ResetDevice
ButtonRequest_ResetDevice = 4; |
ButtonRequest_SignTx
ButtonRequest_SignTx = 8; |
ButtonRequest_WipeDevice
ButtonRequest_WipeDevice = 6; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ButtonRequest_Address_VALUE
ButtonRequest_Address = 10; |
static int |
ButtonRequest_ConfirmOutput_VALUE
ButtonRequest_ConfirmOutput = 3; |
static int |
ButtonRequest_ConfirmWord_VALUE
ButtonRequest_ConfirmWord = 5; |
static int |
ButtonRequest_FeeOverThreshold_VALUE
ButtonRequest_FeeOverThreshold = 2; |
static int |
ButtonRequest_FirmwareCheck_VALUE
ButtonRequest_FirmwareCheck = 9; |
static int |
ButtonRequest_Other_VALUE
ButtonRequest_Other = 1; |
static int |
ButtonRequest_ProtectCall_VALUE
ButtonRequest_ProtectCall = 7; |
static int |
ButtonRequest_PublicKey_VALUE
ButtonRequest_PublicKey = 11; |
static int |
ButtonRequest_ResetDevice_VALUE
ButtonRequest_ResetDevice = 4; |
static int |
ButtonRequest_SignTx_VALUE
ButtonRequest_SignTx = 8; |
static int |
ButtonRequest_WipeDevice_VALUE
ButtonRequest_WipeDevice = 6; |
| 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<TrezorType.ButtonRequestType> |
internalGetValueMap() |
static TrezorType.ButtonRequestType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TrezorType.ButtonRequestType |
valueOf(int value) |
static TrezorType.ButtonRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrezorType.ButtonRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrezorType.ButtonRequestType ButtonRequest_Other
ButtonRequest_Other = 1;public static final TrezorType.ButtonRequestType ButtonRequest_FeeOverThreshold
ButtonRequest_FeeOverThreshold = 2;public static final TrezorType.ButtonRequestType ButtonRequest_ConfirmOutput
ButtonRequest_ConfirmOutput = 3;public static final TrezorType.ButtonRequestType ButtonRequest_ResetDevice
ButtonRequest_ResetDevice = 4;public static final TrezorType.ButtonRequestType ButtonRequest_ConfirmWord
ButtonRequest_ConfirmWord = 5;public static final TrezorType.ButtonRequestType ButtonRequest_WipeDevice
ButtonRequest_WipeDevice = 6;public static final TrezorType.ButtonRequestType ButtonRequest_ProtectCall
ButtonRequest_ProtectCall = 7;public static final TrezorType.ButtonRequestType ButtonRequest_SignTx
ButtonRequest_SignTx = 8;public static final TrezorType.ButtonRequestType ButtonRequest_FirmwareCheck
ButtonRequest_FirmwareCheck = 9;public static final TrezorType.ButtonRequestType ButtonRequest_Address
ButtonRequest_Address = 10;public static final TrezorType.ButtonRequestType ButtonRequest_PublicKey
ButtonRequest_PublicKey = 11;public static final int ButtonRequest_Other_VALUE
ButtonRequest_Other = 1;public static final int ButtonRequest_FeeOverThreshold_VALUE
ButtonRequest_FeeOverThreshold = 2;public static final int ButtonRequest_ConfirmOutput_VALUE
ButtonRequest_ConfirmOutput = 3;public static final int ButtonRequest_ResetDevice_VALUE
ButtonRequest_ResetDevice = 4;public static final int ButtonRequest_ConfirmWord_VALUE
ButtonRequest_ConfirmWord = 5;public static final int ButtonRequest_WipeDevice_VALUE
ButtonRequest_WipeDevice = 6;public static final int ButtonRequest_ProtectCall_VALUE
ButtonRequest_ProtectCall = 7;public static final int ButtonRequest_SignTx_VALUE
ButtonRequest_SignTx = 8;public static final int ButtonRequest_FirmwareCheck_VALUE
ButtonRequest_FirmwareCheck = 9;public static final int ButtonRequest_Address_VALUE
ButtonRequest_Address = 10;public static final int ButtonRequest_PublicKey_VALUE
ButtonRequest_PublicKey = 11;public static TrezorType.ButtonRequestType[] values()
for (TrezorType.ButtonRequestType c : TrezorType.ButtonRequestType.values()) System.out.println(c);
public static TrezorType.ButtonRequestType 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 TrezorType.ButtonRequestType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TrezorType.ButtonRequestType> 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 TrezorType.ButtonRequestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.