gitlab.com/aquachain/aquachain@v1.17.16-rc3.0.20221018032414-e3ddf1e1c055/aqua/accounts/usbwallet/internal/trezor/messages.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: messages.proto
     3  
     4  package trezor
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/gogo/protobuf/proto"
     9  	math "math"
    10  )
    11  
    12  // Reference imports to suppress errors if they are not otherwise used.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = math.Inf
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the proto package it is being compiled against.
    19  // A compilation error at this line likely means your copy of the
    20  // proto package needs to be updated.
    21  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    22  
    23  //*
    24  // Mapping between Trezor wire identifier (uint) and a protobuf message
    25  type MessageType int32
    26  
    27  const (
    28  	MessageType_MessageType_Initialize                MessageType = 0
    29  	MessageType_MessageType_Ping                      MessageType = 1
    30  	MessageType_MessageType_Success                   MessageType = 2
    31  	MessageType_MessageType_Failure                   MessageType = 3
    32  	MessageType_MessageType_ChangePin                 MessageType = 4
    33  	MessageType_MessageType_WipeDevice                MessageType = 5
    34  	MessageType_MessageType_FirmwareErase             MessageType = 6
    35  	MessageType_MessageType_FirmwareUpload            MessageType = 7
    36  	MessageType_MessageType_FirmwareRequest           MessageType = 8
    37  	MessageType_MessageType_GetEntropy                MessageType = 9
    38  	MessageType_MessageType_Entropy                   MessageType = 10
    39  	MessageType_MessageType_GetPublicKey              MessageType = 11
    40  	MessageType_MessageType_PublicKey                 MessageType = 12
    41  	MessageType_MessageType_LoadDevice                MessageType = 13
    42  	MessageType_MessageType_ResetDevice               MessageType = 14
    43  	MessageType_MessageType_SignTx                    MessageType = 15
    44  	MessageType_MessageType_SimpleSignTx              MessageType = 16 // Deprecated: Do not use.
    45  	MessageType_MessageType_Features                  MessageType = 17
    46  	MessageType_MessageType_PinMatrixRequest          MessageType = 18
    47  	MessageType_MessageType_PinMatrixAck              MessageType = 19
    48  	MessageType_MessageType_Cancel                    MessageType = 20
    49  	MessageType_MessageType_TxRequest                 MessageType = 21
    50  	MessageType_MessageType_TxAck                     MessageType = 22
    51  	MessageType_MessageType_CipherKeyValue            MessageType = 23
    52  	MessageType_MessageType_ClearSession              MessageType = 24
    53  	MessageType_MessageType_ApplySettings             MessageType = 25
    54  	MessageType_MessageType_ButtonRequest             MessageType = 26
    55  	MessageType_MessageType_ButtonAck                 MessageType = 27
    56  	MessageType_MessageType_ApplyFlags                MessageType = 28
    57  	MessageType_MessageType_GetAddress                MessageType = 29
    58  	MessageType_MessageType_Address                   MessageType = 30
    59  	MessageType_MessageType_SelfTest                  MessageType = 32
    60  	MessageType_MessageType_BackupDevice              MessageType = 34
    61  	MessageType_MessageType_EntropyRequest            MessageType = 35
    62  	MessageType_MessageType_EntropyAck                MessageType = 36
    63  	MessageType_MessageType_SignMessage               MessageType = 38
    64  	MessageType_MessageType_VerifyMessage             MessageType = 39
    65  	MessageType_MessageType_MessageSignature          MessageType = 40
    66  	MessageType_MessageType_PassphraseRequest         MessageType = 41
    67  	MessageType_MessageType_PassphraseAck             MessageType = 42
    68  	MessageType_MessageType_EstimateTxSize            MessageType = 43 // Deprecated: Do not use.
    69  	MessageType_MessageType_TxSize                    MessageType = 44 // Deprecated: Do not use.
    70  	MessageType_MessageType_RecoveryDevice            MessageType = 45
    71  	MessageType_MessageType_WordRequest               MessageType = 46
    72  	MessageType_MessageType_WordAck                   MessageType = 47
    73  	MessageType_MessageType_CipheredKeyValue          MessageType = 48
    74  	MessageType_MessageType_EncryptMessage            MessageType = 49 // Deprecated: Do not use.
    75  	MessageType_MessageType_EncryptedMessage          MessageType = 50 // Deprecated: Do not use.
    76  	MessageType_MessageType_DecryptMessage            MessageType = 51 // Deprecated: Do not use.
    77  	MessageType_MessageType_DecryptedMessage          MessageType = 52 // Deprecated: Do not use.
    78  	MessageType_MessageType_SignIdentity              MessageType = 53
    79  	MessageType_MessageType_SignedIdentity            MessageType = 54
    80  	MessageType_MessageType_GetFeatures               MessageType = 55
    81  	MessageType_MessageType_AquachainGetAddress       MessageType = 56
    82  	MessageType_MessageType_AquachainAddress          MessageType = 57
    83  	MessageType_MessageType_AquachainSignTx           MessageType = 58
    84  	MessageType_MessageType_AquachainTxRequest        MessageType = 59
    85  	MessageType_MessageType_AquachainTxAck            MessageType = 60
    86  	MessageType_MessageType_GetECDHSessionKey         MessageType = 61
    87  	MessageType_MessageType_ECDHSessionKey            MessageType = 62
    88  	MessageType_MessageType_SetU2FCounter             MessageType = 63
    89  	MessageType_MessageType_AquachainSignMessage      MessageType = 64
    90  	MessageType_MessageType_AquachainVerifyMessage    MessageType = 65
    91  	MessageType_MessageType_AquachainMessageSignature MessageType = 66
    92  	MessageType_MessageType_DebugLinkDecision         MessageType = 100
    93  	MessageType_MessageType_DebugLinkGetState         MessageType = 101
    94  	MessageType_MessageType_DebugLinkState            MessageType = 102
    95  	MessageType_MessageType_DebugLinkStop             MessageType = 103
    96  	MessageType_MessageType_DebugLinkLog              MessageType = 104
    97  	MessageType_MessageType_DebugLinkMemoryRead       MessageType = 110
    98  	MessageType_MessageType_DebugLinkMemory           MessageType = 111
    99  	MessageType_MessageType_DebugLinkMemoryWrite      MessageType = 112
   100  	MessageType_MessageType_DebugLinkFlashErase       MessageType = 113
   101  )
   102  
   103  var MessageType_name = map[int32]string{
   104  	0:   "MessageType_Initialize",
   105  	1:   "MessageType_Ping",
   106  	2:   "MessageType_Success",
   107  	3:   "MessageType_Failure",
   108  	4:   "MessageType_ChangePin",
   109  	5:   "MessageType_WipeDevice",
   110  	6:   "MessageType_FirmwareErase",
   111  	7:   "MessageType_FirmwareUpload",
   112  	8:   "MessageType_FirmwareRequest",
   113  	9:   "MessageType_GetEntropy",
   114  	10:  "MessageType_Entropy",
   115  	11:  "MessageType_GetPublicKey",
   116  	12:  "MessageType_PublicKey",
   117  	13:  "MessageType_LoadDevice",
   118  	14:  "MessageType_ResetDevice",
   119  	15:  "MessageType_SignTx",
   120  	16:  "MessageType_SimpleSignTx",
   121  	17:  "MessageType_Features",
   122  	18:  "MessageType_PinMatrixRequest",
   123  	19:  "MessageType_PinMatrixAck",
   124  	20:  "MessageType_Cancel",
   125  	21:  "MessageType_TxRequest",
   126  	22:  "MessageType_TxAck",
   127  	23:  "MessageType_CipherKeyValue",
   128  	24:  "MessageType_ClearSession",
   129  	25:  "MessageType_ApplySettings",
   130  	26:  "MessageType_ButtonRequest",
   131  	27:  "MessageType_ButtonAck",
   132  	28:  "MessageType_ApplyFlags",
   133  	29:  "MessageType_GetAddress",
   134  	30:  "MessageType_Address",
   135  	32:  "MessageType_SelfTest",
   136  	34:  "MessageType_BackupDevice",
   137  	35:  "MessageType_EntropyRequest",
   138  	36:  "MessageType_EntropyAck",
   139  	38:  "MessageType_SignMessage",
   140  	39:  "MessageType_VerifyMessage",
   141  	40:  "MessageType_MessageSignature",
   142  	41:  "MessageType_PassphraseRequest",
   143  	42:  "MessageType_PassphraseAck",
   144  	43:  "MessageType_EstimateTxSize",
   145  	44:  "MessageType_TxSize",
   146  	45:  "MessageType_RecoveryDevice",
   147  	46:  "MessageType_WordRequest",
   148  	47:  "MessageType_WordAck",
   149  	48:  "MessageType_CipheredKeyValue",
   150  	49:  "MessageType_EncryptMessage",
   151  	50:  "MessageType_EncryptedMessage",
   152  	51:  "MessageType_DecryptMessage",
   153  	52:  "MessageType_DecryptedMessage",
   154  	53:  "MessageType_SignIdentity",
   155  	54:  "MessageType_SignedIdentity",
   156  	55:  "MessageType_GetFeatures",
   157  	56:  "MessageType_AquachainGetAddress",
   158  	57:  "MessageType_AquachainAddress",
   159  	58:  "MessageType_AquachainSignTx",
   160  	59:  "MessageType_AquachainTxRequest",
   161  	60:  "MessageType_AquachainTxAck",
   162  	61:  "MessageType_GetECDHSessionKey",
   163  	62:  "MessageType_ECDHSessionKey",
   164  	63:  "MessageType_SetU2FCounter",
   165  	64:  "MessageType_AquachainSignMessage",
   166  	65:  "MessageType_AquachainVerifyMessage",
   167  	66:  "MessageType_AquachainMessageSignature",
   168  	100: "MessageType_DebugLinkDecision",
   169  	101: "MessageType_DebugLinkGetState",
   170  	102: "MessageType_DebugLinkState",
   171  	103: "MessageType_DebugLinkStop",
   172  	104: "MessageType_DebugLinkLog",
   173  	110: "MessageType_DebugLinkMemoryRead",
   174  	111: "MessageType_DebugLinkMemory",
   175  	112: "MessageType_DebugLinkMemoryWrite",
   176  	113: "MessageType_DebugLinkFlashErase",
   177  }
   178  
   179  var MessageType_value = map[string]int32{
   180  	"MessageType_Initialize":                0,
   181  	"MessageType_Ping":                      1,
   182  	"MessageType_Success":                   2,
   183  	"MessageType_Failure":                   3,
   184  	"MessageType_ChangePin":                 4,
   185  	"MessageType_WipeDevice":                5,
   186  	"MessageType_FirmwareErase":             6,
   187  	"MessageType_FirmwareUpload":            7,
   188  	"MessageType_FirmwareRequest":           8,
   189  	"MessageType_GetEntropy":                9,
   190  	"MessageType_Entropy":                   10,
   191  	"MessageType_GetPublicKey":              11,
   192  	"MessageType_PublicKey":                 12,
   193  	"MessageType_LoadDevice":                13,
   194  	"MessageType_ResetDevice":               14,
   195  	"MessageType_SignTx":                    15,
   196  	"MessageType_SimpleSignTx":              16,
   197  	"MessageType_Features":                  17,
   198  	"MessageType_PinMatrixRequest":          18,
   199  	"MessageType_PinMatrixAck":              19,
   200  	"MessageType_Cancel":                    20,
   201  	"MessageType_TxRequest":                 21,
   202  	"MessageType_TxAck":                     22,
   203  	"MessageType_CipherKeyValue":            23,
   204  	"MessageType_ClearSession":              24,
   205  	"MessageType_ApplySettings":             25,
   206  	"MessageType_ButtonRequest":             26,
   207  	"MessageType_ButtonAck":                 27,
   208  	"MessageType_ApplyFlags":                28,
   209  	"MessageType_GetAddress":                29,
   210  	"MessageType_Address":                   30,
   211  	"MessageType_SelfTest":                  32,
   212  	"MessageType_BackupDevice":              34,
   213  	"MessageType_EntropyRequest":            35,
   214  	"MessageType_EntropyAck":                36,
   215  	"MessageType_SignMessage":               38,
   216  	"MessageType_VerifyMessage":             39,
   217  	"MessageType_MessageSignature":          40,
   218  	"MessageType_PassphraseRequest":         41,
   219  	"MessageType_PassphraseAck":             42,
   220  	"MessageType_EstimateTxSize":            43,
   221  	"MessageType_TxSize":                    44,
   222  	"MessageType_RecoveryDevice":            45,
   223  	"MessageType_WordRequest":               46,
   224  	"MessageType_WordAck":                   47,
   225  	"MessageType_CipheredKeyValue":          48,
   226  	"MessageType_EncryptMessage":            49,
   227  	"MessageType_EncryptedMessage":          50,
   228  	"MessageType_DecryptMessage":            51,
   229  	"MessageType_DecryptedMessage":          52,
   230  	"MessageType_SignIdentity":              53,
   231  	"MessageType_SignedIdentity":            54,
   232  	"MessageType_GetFeatures":               55,
   233  	"MessageType_AquachainGetAddress":       56,
   234  	"MessageType_AquachainAddress":          57,
   235  	"MessageType_AquachainSignTx":           58,
   236  	"MessageType_AquachainTxRequest":        59,
   237  	"MessageType_AquachainTxAck":            60,
   238  	"MessageType_GetECDHSessionKey":         61,
   239  	"MessageType_ECDHSessionKey":            62,
   240  	"MessageType_SetU2FCounter":             63,
   241  	"MessageType_AquachainSignMessage":      64,
   242  	"MessageType_AquachainVerifyMessage":    65,
   243  	"MessageType_AquachainMessageSignature": 66,
   244  	"MessageType_DebugLinkDecision":         100,
   245  	"MessageType_DebugLinkGetState":         101,
   246  	"MessageType_DebugLinkState":            102,
   247  	"MessageType_DebugLinkStop":             103,
   248  	"MessageType_DebugLinkLog":              104,
   249  	"MessageType_DebugLinkMemoryRead":       110,
   250  	"MessageType_DebugLinkMemory":           111,
   251  	"MessageType_DebugLinkMemoryWrite":      112,
   252  	"MessageType_DebugLinkFlashErase":       113,
   253  }
   254  
   255  func (x MessageType) Enum() *MessageType {
   256  	p := new(MessageType)
   257  	*p = x
   258  	return p
   259  }
   260  
   261  func (x MessageType) String() string {
   262  	return proto.EnumName(MessageType_name, int32(x))
   263  }
   264  
   265  func (x *MessageType) UnmarshalJSON(data []byte) error {
   266  	value, err := proto.UnmarshalJSONEnum(MessageType_value, data, "MessageType")
   267  	if err != nil {
   268  		return err
   269  	}
   270  	*x = MessageType(value)
   271  	return nil
   272  }
   273  
   274  func (MessageType) EnumDescriptor() ([]byte, []int) {
   275  	return fileDescriptor_4dc296cbfe5ffcd5, []int{0}
   276  }
   277  
   278  //*
   279  // Request: Reset device to default state and ask for device details
   280  // @next Features
   281  type Initialize struct {
   282  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   283  	XXX_unrecognized     []byte   `json:"-"`
   284  	XXX_sizecache        int32    `json:"-"`
   285  }
   286  
   287  func (m *Initialize) Reset()         { *m = Initialize{} }
   288  func (m *Initialize) String() string { return proto.CompactTextString(m) }
   289  func (*Initialize) ProtoMessage()    {}
   290  func (*Initialize) Descriptor() ([]byte, []int) {
   291  	return fileDescriptor_4dc296cbfe5ffcd5, []int{0}
   292  }
   293  func (m *Initialize) XXX_Unmarshal(b []byte) error {
   294  	return xxx_messageInfo_Initialize.Unmarshal(m, b)
   295  }
   296  func (m *Initialize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   297  	return xxx_messageInfo_Initialize.Marshal(b, m, deterministic)
   298  }
   299  func (m *Initialize) XXX_Merge(src proto.Message) {
   300  	xxx_messageInfo_Initialize.Merge(m, src)
   301  }
   302  func (m *Initialize) XXX_Size() int {
   303  	return xxx_messageInfo_Initialize.Size(m)
   304  }
   305  func (m *Initialize) XXX_DiscardUnknown() {
   306  	xxx_messageInfo_Initialize.DiscardUnknown(m)
   307  }
   308  
   309  var xxx_messageInfo_Initialize proto.InternalMessageInfo
   310  
   311  //*
   312  // Request: Ask for device details (no device reset)
   313  // @next Features
   314  type GetFeatures struct {
   315  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   316  	XXX_unrecognized     []byte   `json:"-"`
   317  	XXX_sizecache        int32    `json:"-"`
   318  }
   319  
   320  func (m *GetFeatures) Reset()         { *m = GetFeatures{} }
   321  func (m *GetFeatures) String() string { return proto.CompactTextString(m) }
   322  func (*GetFeatures) ProtoMessage()    {}
   323  func (*GetFeatures) Descriptor() ([]byte, []int) {
   324  	return fileDescriptor_4dc296cbfe5ffcd5, []int{1}
   325  }
   326  func (m *GetFeatures) XXX_Unmarshal(b []byte) error {
   327  	return xxx_messageInfo_GetFeatures.Unmarshal(m, b)
   328  }
   329  func (m *GetFeatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   330  	return xxx_messageInfo_GetFeatures.Marshal(b, m, deterministic)
   331  }
   332  func (m *GetFeatures) XXX_Merge(src proto.Message) {
   333  	xxx_messageInfo_GetFeatures.Merge(m, src)
   334  }
   335  func (m *GetFeatures) XXX_Size() int {
   336  	return xxx_messageInfo_GetFeatures.Size(m)
   337  }
   338  func (m *GetFeatures) XXX_DiscardUnknown() {
   339  	xxx_messageInfo_GetFeatures.DiscardUnknown(m)
   340  }
   341  
   342  var xxx_messageInfo_GetFeatures proto.InternalMessageInfo
   343  
   344  //*
   345  // Response: Reports various information about the device
   346  // @prev Initialize
   347  // @prev GetFeatures
   348  type Features struct {
   349  	Vendor               *string     `protobuf:"bytes,1,opt,name=vendor" json:"vendor,omitempty"`
   350  	MajorVersion         *uint32     `protobuf:"varint,2,opt,name=major_version,json=majorVersion" json:"major_version,omitempty"`
   351  	MinorVersion         *uint32     `protobuf:"varint,3,opt,name=minor_version,json=minorVersion" json:"minor_version,omitempty"`
   352  	PatchVersion         *uint32     `protobuf:"varint,4,opt,name=patch_version,json=patchVersion" json:"patch_version,omitempty"`
   353  	BootloaderMode       *bool       `protobuf:"varint,5,opt,name=bootloader_mode,json=bootloaderMode" json:"bootloader_mode,omitempty"`
   354  	DeviceId             *string     `protobuf:"bytes,6,opt,name=device_id,json=deviceId" json:"device_id,omitempty"`
   355  	PinProtection        *bool       `protobuf:"varint,7,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
   356  	PassphraseProtection *bool       `protobuf:"varint,8,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
   357  	Language             *string     `protobuf:"bytes,9,opt,name=language" json:"language,omitempty"`
   358  	Label                *string     `protobuf:"bytes,10,opt,name=label" json:"label,omitempty"`
   359  	Coins                []*CoinType `protobuf:"bytes,11,rep,name=coins" json:"coins,omitempty"`
   360  	Initialized          *bool       `protobuf:"varint,12,opt,name=initialized" json:"initialized,omitempty"`
   361  	Revision             []byte      `protobuf:"bytes,13,opt,name=revision" json:"revision,omitempty"`
   362  	BootloaderHash       []byte      `protobuf:"bytes,14,opt,name=bootloader_hash,json=bootloaderHash" json:"bootloader_hash,omitempty"`
   363  	Imported             *bool       `protobuf:"varint,15,opt,name=imported" json:"imported,omitempty"`
   364  	PinCached            *bool       `protobuf:"varint,16,opt,name=pin_cached,json=pinCached" json:"pin_cached,omitempty"`
   365  	PassphraseCached     *bool       `protobuf:"varint,17,opt,name=passphrase_cached,json=passphraseCached" json:"passphrase_cached,omitempty"`
   366  	FirmwarePresent      *bool       `protobuf:"varint,18,opt,name=firmware_present,json=firmwarePresent" json:"firmware_present,omitempty"`
   367  	NeedsBackup          *bool       `protobuf:"varint,19,opt,name=needs_backup,json=needsBackup" json:"needs_backup,omitempty"`
   368  	Flags                *uint32     `protobuf:"varint,20,opt,name=flags" json:"flags,omitempty"`
   369  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   370  	XXX_unrecognized     []byte      `json:"-"`
   371  	XXX_sizecache        int32       `json:"-"`
   372  }
   373  
   374  func (m *Features) Reset()         { *m = Features{} }
   375  func (m *Features) String() string { return proto.CompactTextString(m) }
   376  func (*Features) ProtoMessage()    {}
   377  func (*Features) Descriptor() ([]byte, []int) {
   378  	return fileDescriptor_4dc296cbfe5ffcd5, []int{2}
   379  }
   380  func (m *Features) XXX_Unmarshal(b []byte) error {
   381  	return xxx_messageInfo_Features.Unmarshal(m, b)
   382  }
   383  func (m *Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   384  	return xxx_messageInfo_Features.Marshal(b, m, deterministic)
   385  }
   386  func (m *Features) XXX_Merge(src proto.Message) {
   387  	xxx_messageInfo_Features.Merge(m, src)
   388  }
   389  func (m *Features) XXX_Size() int {
   390  	return xxx_messageInfo_Features.Size(m)
   391  }
   392  func (m *Features) XXX_DiscardUnknown() {
   393  	xxx_messageInfo_Features.DiscardUnknown(m)
   394  }
   395  
   396  var xxx_messageInfo_Features proto.InternalMessageInfo
   397  
   398  func (m *Features) GetVendor() string {
   399  	if m != nil && m.Vendor != nil {
   400  		return *m.Vendor
   401  	}
   402  	return ""
   403  }
   404  
   405  func (m *Features) GetMajorVersion() uint32 {
   406  	if m != nil && m.MajorVersion != nil {
   407  		return *m.MajorVersion
   408  	}
   409  	return 0
   410  }
   411  
   412  func (m *Features) GetMinorVersion() uint32 {
   413  	if m != nil && m.MinorVersion != nil {
   414  		return *m.MinorVersion
   415  	}
   416  	return 0
   417  }
   418  
   419  func (m *Features) GetPatchVersion() uint32 {
   420  	if m != nil && m.PatchVersion != nil {
   421  		return *m.PatchVersion
   422  	}
   423  	return 0
   424  }
   425  
   426  func (m *Features) GetBootloaderMode() bool {
   427  	if m != nil && m.BootloaderMode != nil {
   428  		return *m.BootloaderMode
   429  	}
   430  	return false
   431  }
   432  
   433  func (m *Features) GetDeviceId() string {
   434  	if m != nil && m.DeviceId != nil {
   435  		return *m.DeviceId
   436  	}
   437  	return ""
   438  }
   439  
   440  func (m *Features) GetPinProtection() bool {
   441  	if m != nil && m.PinProtection != nil {
   442  		return *m.PinProtection
   443  	}
   444  	return false
   445  }
   446  
   447  func (m *Features) GetPassphraseProtection() bool {
   448  	if m != nil && m.PassphraseProtection != nil {
   449  		return *m.PassphraseProtection
   450  	}
   451  	return false
   452  }
   453  
   454  func (m *Features) GetLanguage() string {
   455  	if m != nil && m.Language != nil {
   456  		return *m.Language
   457  	}
   458  	return ""
   459  }
   460  
   461  func (m *Features) GetLabel() string {
   462  	if m != nil && m.Label != nil {
   463  		return *m.Label
   464  	}
   465  	return ""
   466  }
   467  
   468  func (m *Features) GetCoins() []*CoinType {
   469  	if m != nil {
   470  		return m.Coins
   471  	}
   472  	return nil
   473  }
   474  
   475  func (m *Features) GetInitialized() bool {
   476  	if m != nil && m.Initialized != nil {
   477  		return *m.Initialized
   478  	}
   479  	return false
   480  }
   481  
   482  func (m *Features) GetRevision() []byte {
   483  	if m != nil {
   484  		return m.Revision
   485  	}
   486  	return nil
   487  }
   488  
   489  func (m *Features) GetBootloaderHash() []byte {
   490  	if m != nil {
   491  		return m.BootloaderHash
   492  	}
   493  	return nil
   494  }
   495  
   496  func (m *Features) GetImported() bool {
   497  	if m != nil && m.Imported != nil {
   498  		return *m.Imported
   499  	}
   500  	return false
   501  }
   502  
   503  func (m *Features) GetPinCached() bool {
   504  	if m != nil && m.PinCached != nil {
   505  		return *m.PinCached
   506  	}
   507  	return false
   508  }
   509  
   510  func (m *Features) GetPassphraseCached() bool {
   511  	if m != nil && m.PassphraseCached != nil {
   512  		return *m.PassphraseCached
   513  	}
   514  	return false
   515  }
   516  
   517  func (m *Features) GetFirmwarePresent() bool {
   518  	if m != nil && m.FirmwarePresent != nil {
   519  		return *m.FirmwarePresent
   520  	}
   521  	return false
   522  }
   523  
   524  func (m *Features) GetNeedsBackup() bool {
   525  	if m != nil && m.NeedsBackup != nil {
   526  		return *m.NeedsBackup
   527  	}
   528  	return false
   529  }
   530  
   531  func (m *Features) GetFlags() uint32 {
   532  	if m != nil && m.Flags != nil {
   533  		return *m.Flags
   534  	}
   535  	return 0
   536  }
   537  
   538  //*
   539  // Request: clear session (removes cached PIN, passphrase, etc).
   540  // @next Success
   541  type ClearSession struct {
   542  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   543  	XXX_unrecognized     []byte   `json:"-"`
   544  	XXX_sizecache        int32    `json:"-"`
   545  }
   546  
   547  func (m *ClearSession) Reset()         { *m = ClearSession{} }
   548  func (m *ClearSession) String() string { return proto.CompactTextString(m) }
   549  func (*ClearSession) ProtoMessage()    {}
   550  func (*ClearSession) Descriptor() ([]byte, []int) {
   551  	return fileDescriptor_4dc296cbfe5ffcd5, []int{3}
   552  }
   553  func (m *ClearSession) XXX_Unmarshal(b []byte) error {
   554  	return xxx_messageInfo_ClearSession.Unmarshal(m, b)
   555  }
   556  func (m *ClearSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   557  	return xxx_messageInfo_ClearSession.Marshal(b, m, deterministic)
   558  }
   559  func (m *ClearSession) XXX_Merge(src proto.Message) {
   560  	xxx_messageInfo_ClearSession.Merge(m, src)
   561  }
   562  func (m *ClearSession) XXX_Size() int {
   563  	return xxx_messageInfo_ClearSession.Size(m)
   564  }
   565  func (m *ClearSession) XXX_DiscardUnknown() {
   566  	xxx_messageInfo_ClearSession.DiscardUnknown(m)
   567  }
   568  
   569  var xxx_messageInfo_ClearSession proto.InternalMessageInfo
   570  
   571  //*
   572  // Request: change language and/or label of the device
   573  // @next Success
   574  // @next Failure
   575  // @next ButtonRequest
   576  // @next PinMatrixRequest
   577  type ApplySettings struct {
   578  	Language             *string  `protobuf:"bytes,1,opt,name=language" json:"language,omitempty"`
   579  	Label                *string  `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
   580  	UsePassphrase        *bool    `protobuf:"varint,3,opt,name=use_passphrase,json=usePassphrase" json:"use_passphrase,omitempty"`
   581  	Homescreen           []byte   `protobuf:"bytes,4,opt,name=homescreen" json:"homescreen,omitempty"`
   582  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   583  	XXX_unrecognized     []byte   `json:"-"`
   584  	XXX_sizecache        int32    `json:"-"`
   585  }
   586  
   587  func (m *ApplySettings) Reset()         { *m = ApplySettings{} }
   588  func (m *ApplySettings) String() string { return proto.CompactTextString(m) }
   589  func (*ApplySettings) ProtoMessage()    {}
   590  func (*ApplySettings) Descriptor() ([]byte, []int) {
   591  	return fileDescriptor_4dc296cbfe5ffcd5, []int{4}
   592  }
   593  func (m *ApplySettings) XXX_Unmarshal(b []byte) error {
   594  	return xxx_messageInfo_ApplySettings.Unmarshal(m, b)
   595  }
   596  func (m *ApplySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   597  	return xxx_messageInfo_ApplySettings.Marshal(b, m, deterministic)
   598  }
   599  func (m *ApplySettings) XXX_Merge(src proto.Message) {
   600  	xxx_messageInfo_ApplySettings.Merge(m, src)
   601  }
   602  func (m *ApplySettings) XXX_Size() int {
   603  	return xxx_messageInfo_ApplySettings.Size(m)
   604  }
   605  func (m *ApplySettings) XXX_DiscardUnknown() {
   606  	xxx_messageInfo_ApplySettings.DiscardUnknown(m)
   607  }
   608  
   609  var xxx_messageInfo_ApplySettings proto.InternalMessageInfo
   610  
   611  func (m *ApplySettings) GetLanguage() string {
   612  	if m != nil && m.Language != nil {
   613  		return *m.Language
   614  	}
   615  	return ""
   616  }
   617  
   618  func (m *ApplySettings) GetLabel() string {
   619  	if m != nil && m.Label != nil {
   620  		return *m.Label
   621  	}
   622  	return ""
   623  }
   624  
   625  func (m *ApplySettings) GetUsePassphrase() bool {
   626  	if m != nil && m.UsePassphrase != nil {
   627  		return *m.UsePassphrase
   628  	}
   629  	return false
   630  }
   631  
   632  func (m *ApplySettings) GetHomescreen() []byte {
   633  	if m != nil {
   634  		return m.Homescreen
   635  	}
   636  	return nil
   637  }
   638  
   639  //*
   640  // Request: set flags of the device
   641  // @next Success
   642  // @next Failure
   643  type ApplyFlags struct {
   644  	Flags                *uint32  `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"`
   645  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   646  	XXX_unrecognized     []byte   `json:"-"`
   647  	XXX_sizecache        int32    `json:"-"`
   648  }
   649  
   650  func (m *ApplyFlags) Reset()         { *m = ApplyFlags{} }
   651  func (m *ApplyFlags) String() string { return proto.CompactTextString(m) }
   652  func (*ApplyFlags) ProtoMessage()    {}
   653  func (*ApplyFlags) Descriptor() ([]byte, []int) {
   654  	return fileDescriptor_4dc296cbfe5ffcd5, []int{5}
   655  }
   656  func (m *ApplyFlags) XXX_Unmarshal(b []byte) error {
   657  	return xxx_messageInfo_ApplyFlags.Unmarshal(m, b)
   658  }
   659  func (m *ApplyFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   660  	return xxx_messageInfo_ApplyFlags.Marshal(b, m, deterministic)
   661  }
   662  func (m *ApplyFlags) XXX_Merge(src proto.Message) {
   663  	xxx_messageInfo_ApplyFlags.Merge(m, src)
   664  }
   665  func (m *ApplyFlags) XXX_Size() int {
   666  	return xxx_messageInfo_ApplyFlags.Size(m)
   667  }
   668  func (m *ApplyFlags) XXX_DiscardUnknown() {
   669  	xxx_messageInfo_ApplyFlags.DiscardUnknown(m)
   670  }
   671  
   672  var xxx_messageInfo_ApplyFlags proto.InternalMessageInfo
   673  
   674  func (m *ApplyFlags) GetFlags() uint32 {
   675  	if m != nil && m.Flags != nil {
   676  		return *m.Flags
   677  	}
   678  	return 0
   679  }
   680  
   681  //*
   682  // Request: Starts workflow for setting/changing/removing the PIN
   683  // @next ButtonRequest
   684  // @next PinMatrixRequest
   685  type ChangePin struct {
   686  	Remove               *bool    `protobuf:"varint,1,opt,name=remove" json:"remove,omitempty"`
   687  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   688  	XXX_unrecognized     []byte   `json:"-"`
   689  	XXX_sizecache        int32    `json:"-"`
   690  }
   691  
   692  func (m *ChangePin) Reset()         { *m = ChangePin{} }
   693  func (m *ChangePin) String() string { return proto.CompactTextString(m) }
   694  func (*ChangePin) ProtoMessage()    {}
   695  func (*ChangePin) Descriptor() ([]byte, []int) {
   696  	return fileDescriptor_4dc296cbfe5ffcd5, []int{6}
   697  }
   698  func (m *ChangePin) XXX_Unmarshal(b []byte) error {
   699  	return xxx_messageInfo_ChangePin.Unmarshal(m, b)
   700  }
   701  func (m *ChangePin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   702  	return xxx_messageInfo_ChangePin.Marshal(b, m, deterministic)
   703  }
   704  func (m *ChangePin) XXX_Merge(src proto.Message) {
   705  	xxx_messageInfo_ChangePin.Merge(m, src)
   706  }
   707  func (m *ChangePin) XXX_Size() int {
   708  	return xxx_messageInfo_ChangePin.Size(m)
   709  }
   710  func (m *ChangePin) XXX_DiscardUnknown() {
   711  	xxx_messageInfo_ChangePin.DiscardUnknown(m)
   712  }
   713  
   714  var xxx_messageInfo_ChangePin proto.InternalMessageInfo
   715  
   716  func (m *ChangePin) GetRemove() bool {
   717  	if m != nil && m.Remove != nil {
   718  		return *m.Remove
   719  	}
   720  	return false
   721  }
   722  
   723  //*
   724  // Request: Test if the device is alive, device sends back the message in
   725  // Success response
   726  // @next Success
   727  type Ping struct {
   728  	Message              *string  `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
   729  	ButtonProtection     *bool    `protobuf:"varint,2,opt,name=button_protection,json=buttonProtection" json:"button_protection,omitempty"`
   730  	PinProtection        *bool    `protobuf:"varint,3,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
   731  	PassphraseProtection *bool    `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
   732  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   733  	XXX_unrecognized     []byte   `json:"-"`
   734  	XXX_sizecache        int32    `json:"-"`
   735  }
   736  
   737  func (m *Ping) Reset()         { *m = Ping{} }
   738  func (m *Ping) String() string { return proto.CompactTextString(m) }
   739  func (*Ping) ProtoMessage()    {}
   740  func (*Ping) Descriptor() ([]byte, []int) {
   741  	return fileDescriptor_4dc296cbfe5ffcd5, []int{7}
   742  }
   743  func (m *Ping) XXX_Unmarshal(b []byte) error {
   744  	return xxx_messageInfo_Ping.Unmarshal(m, b)
   745  }
   746  func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   747  	return xxx_messageInfo_Ping.Marshal(b, m, deterministic)
   748  }
   749  func (m *Ping) XXX_Merge(src proto.Message) {
   750  	xxx_messageInfo_Ping.Merge(m, src)
   751  }
   752  func (m *Ping) XXX_Size() int {
   753  	return xxx_messageInfo_Ping.Size(m)
   754  }
   755  func (m *Ping) XXX_DiscardUnknown() {
   756  	xxx_messageInfo_Ping.DiscardUnknown(m)
   757  }
   758  
   759  var xxx_messageInfo_Ping proto.InternalMessageInfo
   760  
   761  func (m *Ping) GetMessage() string {
   762  	if m != nil && m.Message != nil {
   763  		return *m.Message
   764  	}
   765  	return ""
   766  }
   767  
   768  func (m *Ping) GetButtonProtection() bool {
   769  	if m != nil && m.ButtonProtection != nil {
   770  		return *m.ButtonProtection
   771  	}
   772  	return false
   773  }
   774  
   775  func (m *Ping) GetPinProtection() bool {
   776  	if m != nil && m.PinProtection != nil {
   777  		return *m.PinProtection
   778  	}
   779  	return false
   780  }
   781  
   782  func (m *Ping) GetPassphraseProtection() bool {
   783  	if m != nil && m.PassphraseProtection != nil {
   784  		return *m.PassphraseProtection
   785  	}
   786  	return false
   787  }
   788  
   789  //*
   790  // Response: Success of the previous request
   791  type Success struct {
   792  	Message              *string  `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
   793  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   794  	XXX_unrecognized     []byte   `json:"-"`
   795  	XXX_sizecache        int32    `json:"-"`
   796  }
   797  
   798  func (m *Success) Reset()         { *m = Success{} }
   799  func (m *Success) String() string { return proto.CompactTextString(m) }
   800  func (*Success) ProtoMessage()    {}
   801  func (*Success) Descriptor() ([]byte, []int) {
   802  	return fileDescriptor_4dc296cbfe5ffcd5, []int{8}
   803  }
   804  func (m *Success) XXX_Unmarshal(b []byte) error {
   805  	return xxx_messageInfo_Success.Unmarshal(m, b)
   806  }
   807  func (m *Success) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   808  	return xxx_messageInfo_Success.Marshal(b, m, deterministic)
   809  }
   810  func (m *Success) XXX_Merge(src proto.Message) {
   811  	xxx_messageInfo_Success.Merge(m, src)
   812  }
   813  func (m *Success) XXX_Size() int {
   814  	return xxx_messageInfo_Success.Size(m)
   815  }
   816  func (m *Success) XXX_DiscardUnknown() {
   817  	xxx_messageInfo_Success.DiscardUnknown(m)
   818  }
   819  
   820  var xxx_messageInfo_Success proto.InternalMessageInfo
   821  
   822  func (m *Success) GetMessage() string {
   823  	if m != nil && m.Message != nil {
   824  		return *m.Message
   825  	}
   826  	return ""
   827  }
   828  
   829  //*
   830  // Response: Failure of the previous request
   831  type Failure struct {
   832  	Code                 *FailureType `protobuf:"varint,1,opt,name=code,enum=FailureType" json:"code,omitempty"`
   833  	Message              *string      `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
   834  	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
   835  	XXX_unrecognized     []byte       `json:"-"`
   836  	XXX_sizecache        int32        `json:"-"`
   837  }
   838  
   839  func (m *Failure) Reset()         { *m = Failure{} }
   840  func (m *Failure) String() string { return proto.CompactTextString(m) }
   841  func (*Failure) ProtoMessage()    {}
   842  func (*Failure) Descriptor() ([]byte, []int) {
   843  	return fileDescriptor_4dc296cbfe5ffcd5, []int{9}
   844  }
   845  func (m *Failure) XXX_Unmarshal(b []byte) error {
   846  	return xxx_messageInfo_Failure.Unmarshal(m, b)
   847  }
   848  func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   849  	return xxx_messageInfo_Failure.Marshal(b, m, deterministic)
   850  }
   851  func (m *Failure) XXX_Merge(src proto.Message) {
   852  	xxx_messageInfo_Failure.Merge(m, src)
   853  }
   854  func (m *Failure) XXX_Size() int {
   855  	return xxx_messageInfo_Failure.Size(m)
   856  }
   857  func (m *Failure) XXX_DiscardUnknown() {
   858  	xxx_messageInfo_Failure.DiscardUnknown(m)
   859  }
   860  
   861  var xxx_messageInfo_Failure proto.InternalMessageInfo
   862  
   863  func (m *Failure) GetCode() FailureType {
   864  	if m != nil && m.Code != nil {
   865  		return *m.Code
   866  	}
   867  	return FailureType_Failure_UnexpectedMessage
   868  }
   869  
   870  func (m *Failure) GetMessage() string {
   871  	if m != nil && m.Message != nil {
   872  		return *m.Message
   873  	}
   874  	return ""
   875  }
   876  
   877  //*
   878  // Response: Device is waiting for HW button press.
   879  // @next ButtonAck
   880  // @next Cancel
   881  type ButtonRequest struct {
   882  	Code                 *ButtonRequestType `protobuf:"varint,1,opt,name=code,enum=ButtonRequestType" json:"code,omitempty"`
   883  	Data                 *string            `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
   884  	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
   885  	XXX_unrecognized     []byte             `json:"-"`
   886  	XXX_sizecache        int32              `json:"-"`
   887  }
   888  
   889  func (m *ButtonRequest) Reset()         { *m = ButtonRequest{} }
   890  func (m *ButtonRequest) String() string { return proto.CompactTextString(m) }
   891  func (*ButtonRequest) ProtoMessage()    {}
   892  func (*ButtonRequest) Descriptor() ([]byte, []int) {
   893  	return fileDescriptor_4dc296cbfe5ffcd5, []int{10}
   894  }
   895  func (m *ButtonRequest) XXX_Unmarshal(b []byte) error {
   896  	return xxx_messageInfo_ButtonRequest.Unmarshal(m, b)
   897  }
   898  func (m *ButtonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   899  	return xxx_messageInfo_ButtonRequest.Marshal(b, m, deterministic)
   900  }
   901  func (m *ButtonRequest) XXX_Merge(src proto.Message) {
   902  	xxx_messageInfo_ButtonRequest.Merge(m, src)
   903  }
   904  func (m *ButtonRequest) XXX_Size() int {
   905  	return xxx_messageInfo_ButtonRequest.Size(m)
   906  }
   907  func (m *ButtonRequest) XXX_DiscardUnknown() {
   908  	xxx_messageInfo_ButtonRequest.DiscardUnknown(m)
   909  }
   910  
   911  var xxx_messageInfo_ButtonRequest proto.InternalMessageInfo
   912  
   913  func (m *ButtonRequest) GetCode() ButtonRequestType {
   914  	if m != nil && m.Code != nil {
   915  		return *m.Code
   916  	}
   917  	return ButtonRequestType_ButtonRequest_Other
   918  }
   919  
   920  func (m *ButtonRequest) GetData() string {
   921  	if m != nil && m.Data != nil {
   922  		return *m.Data
   923  	}
   924  	return ""
   925  }
   926  
   927  //*
   928  // Request: Computer agrees to wait for HW button press
   929  // @prev ButtonRequest
   930  type ButtonAck struct {
   931  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   932  	XXX_unrecognized     []byte   `json:"-"`
   933  	XXX_sizecache        int32    `json:"-"`
   934  }
   935  
   936  func (m *ButtonAck) Reset()         { *m = ButtonAck{} }
   937  func (m *ButtonAck) String() string { return proto.CompactTextString(m) }
   938  func (*ButtonAck) ProtoMessage()    {}
   939  func (*ButtonAck) Descriptor() ([]byte, []int) {
   940  	return fileDescriptor_4dc296cbfe5ffcd5, []int{11}
   941  }
   942  func (m *ButtonAck) XXX_Unmarshal(b []byte) error {
   943  	return xxx_messageInfo_ButtonAck.Unmarshal(m, b)
   944  }
   945  func (m *ButtonAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   946  	return xxx_messageInfo_ButtonAck.Marshal(b, m, deterministic)
   947  }
   948  func (m *ButtonAck) XXX_Merge(src proto.Message) {
   949  	xxx_messageInfo_ButtonAck.Merge(m, src)
   950  }
   951  func (m *ButtonAck) XXX_Size() int {
   952  	return xxx_messageInfo_ButtonAck.Size(m)
   953  }
   954  func (m *ButtonAck) XXX_DiscardUnknown() {
   955  	xxx_messageInfo_ButtonAck.DiscardUnknown(m)
   956  }
   957  
   958  var xxx_messageInfo_ButtonAck proto.InternalMessageInfo
   959  
   960  //*
   961  // Response: Device is asking computer to show PIN matrix and awaits PIN encoded
   962  // using this matrix scheme
   963  // @next PinMatrixAck
   964  // @next Cancel
   965  type PinMatrixRequest struct {
   966  	Type                 *PinMatrixRequestType `protobuf:"varint,1,opt,name=type,enum=PinMatrixRequestType" json:"type,omitempty"`
   967  	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
   968  	XXX_unrecognized     []byte                `json:"-"`
   969  	XXX_sizecache        int32                 `json:"-"`
   970  }
   971  
   972  func (m *PinMatrixRequest) Reset()         { *m = PinMatrixRequest{} }
   973  func (m *PinMatrixRequest) String() string { return proto.CompactTextString(m) }
   974  func (*PinMatrixRequest) ProtoMessage()    {}
   975  func (*PinMatrixRequest) Descriptor() ([]byte, []int) {
   976  	return fileDescriptor_4dc296cbfe5ffcd5, []int{12}
   977  }
   978  func (m *PinMatrixRequest) XXX_Unmarshal(b []byte) error {
   979  	return xxx_messageInfo_PinMatrixRequest.Unmarshal(m, b)
   980  }
   981  func (m *PinMatrixRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   982  	return xxx_messageInfo_PinMatrixRequest.Marshal(b, m, deterministic)
   983  }
   984  func (m *PinMatrixRequest) XXX_Merge(src proto.Message) {
   985  	xxx_messageInfo_PinMatrixRequest.Merge(m, src)
   986  }
   987  func (m *PinMatrixRequest) XXX_Size() int {
   988  	return xxx_messageInfo_PinMatrixRequest.Size(m)
   989  }
   990  func (m *PinMatrixRequest) XXX_DiscardUnknown() {
   991  	xxx_messageInfo_PinMatrixRequest.DiscardUnknown(m)
   992  }
   993  
   994  var xxx_messageInfo_PinMatrixRequest proto.InternalMessageInfo
   995  
   996  func (m *PinMatrixRequest) GetType() PinMatrixRequestType {
   997  	if m != nil && m.Type != nil {
   998  		return *m.Type
   999  	}
  1000  	return PinMatrixRequestType_PinMatrixRequestType_Current
  1001  }
  1002  
  1003  //*
  1004  // Request: Computer responds with encoded PIN
  1005  // @prev PinMatrixRequest
  1006  type PinMatrixAck struct {
  1007  	Pin                  *string  `protobuf:"bytes,1,req,name=pin" json:"pin,omitempty"`
  1008  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1009  	XXX_unrecognized     []byte   `json:"-"`
  1010  	XXX_sizecache        int32    `json:"-"`
  1011  }
  1012  
  1013  func (m *PinMatrixAck) Reset()         { *m = PinMatrixAck{} }
  1014  func (m *PinMatrixAck) String() string { return proto.CompactTextString(m) }
  1015  func (*PinMatrixAck) ProtoMessage()    {}
  1016  func (*PinMatrixAck) Descriptor() ([]byte, []int) {
  1017  	return fileDescriptor_4dc296cbfe5ffcd5, []int{13}
  1018  }
  1019  func (m *PinMatrixAck) XXX_Unmarshal(b []byte) error {
  1020  	return xxx_messageInfo_PinMatrixAck.Unmarshal(m, b)
  1021  }
  1022  func (m *PinMatrixAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1023  	return xxx_messageInfo_PinMatrixAck.Marshal(b, m, deterministic)
  1024  }
  1025  func (m *PinMatrixAck) XXX_Merge(src proto.Message) {
  1026  	xxx_messageInfo_PinMatrixAck.Merge(m, src)
  1027  }
  1028  func (m *PinMatrixAck) XXX_Size() int {
  1029  	return xxx_messageInfo_PinMatrixAck.Size(m)
  1030  }
  1031  func (m *PinMatrixAck) XXX_DiscardUnknown() {
  1032  	xxx_messageInfo_PinMatrixAck.DiscardUnknown(m)
  1033  }
  1034  
  1035  var xxx_messageInfo_PinMatrixAck proto.InternalMessageInfo
  1036  
  1037  func (m *PinMatrixAck) GetPin() string {
  1038  	if m != nil && m.Pin != nil {
  1039  		return *m.Pin
  1040  	}
  1041  	return ""
  1042  }
  1043  
  1044  //*
  1045  // Request: Abort last operation that required user interaction
  1046  // @prev ButtonRequest
  1047  // @prev PinMatrixRequest
  1048  // @prev PassphraseRequest
  1049  type Cancel struct {
  1050  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1051  	XXX_unrecognized     []byte   `json:"-"`
  1052  	XXX_sizecache        int32    `json:"-"`
  1053  }
  1054  
  1055  func (m *Cancel) Reset()         { *m = Cancel{} }
  1056  func (m *Cancel) String() string { return proto.CompactTextString(m) }
  1057  func (*Cancel) ProtoMessage()    {}
  1058  func (*Cancel) Descriptor() ([]byte, []int) {
  1059  	return fileDescriptor_4dc296cbfe5ffcd5, []int{14}
  1060  }
  1061  func (m *Cancel) XXX_Unmarshal(b []byte) error {
  1062  	return xxx_messageInfo_Cancel.Unmarshal(m, b)
  1063  }
  1064  func (m *Cancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1065  	return xxx_messageInfo_Cancel.Marshal(b, m, deterministic)
  1066  }
  1067  func (m *Cancel) XXX_Merge(src proto.Message) {
  1068  	xxx_messageInfo_Cancel.Merge(m, src)
  1069  }
  1070  func (m *Cancel) XXX_Size() int {
  1071  	return xxx_messageInfo_Cancel.Size(m)
  1072  }
  1073  func (m *Cancel) XXX_DiscardUnknown() {
  1074  	xxx_messageInfo_Cancel.DiscardUnknown(m)
  1075  }
  1076  
  1077  var xxx_messageInfo_Cancel proto.InternalMessageInfo
  1078  
  1079  //*
  1080  // Response: Device awaits encryption passphrase
  1081  // @next PassphraseAck
  1082  // @next Cancel
  1083  type PassphraseRequest struct {
  1084  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1085  	XXX_unrecognized     []byte   `json:"-"`
  1086  	XXX_sizecache        int32    `json:"-"`
  1087  }
  1088  
  1089  func (m *PassphraseRequest) Reset()         { *m = PassphraseRequest{} }
  1090  func (m *PassphraseRequest) String() string { return proto.CompactTextString(m) }
  1091  func (*PassphraseRequest) ProtoMessage()    {}
  1092  func (*PassphraseRequest) Descriptor() ([]byte, []int) {
  1093  	return fileDescriptor_4dc296cbfe5ffcd5, []int{15}
  1094  }
  1095  func (m *PassphraseRequest) XXX_Unmarshal(b []byte) error {
  1096  	return xxx_messageInfo_PassphraseRequest.Unmarshal(m, b)
  1097  }
  1098  func (m *PassphraseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1099  	return xxx_messageInfo_PassphraseRequest.Marshal(b, m, deterministic)
  1100  }
  1101  func (m *PassphraseRequest) XXX_Merge(src proto.Message) {
  1102  	xxx_messageInfo_PassphraseRequest.Merge(m, src)
  1103  }
  1104  func (m *PassphraseRequest) XXX_Size() int {
  1105  	return xxx_messageInfo_PassphraseRequest.Size(m)
  1106  }
  1107  func (m *PassphraseRequest) XXX_DiscardUnknown() {
  1108  	xxx_messageInfo_PassphraseRequest.DiscardUnknown(m)
  1109  }
  1110  
  1111  var xxx_messageInfo_PassphraseRequest proto.InternalMessageInfo
  1112  
  1113  //*
  1114  // Request: Send passphrase back
  1115  // @prev PassphraseRequest
  1116  type PassphraseAck struct {
  1117  	Passphrase           *string  `protobuf:"bytes,1,req,name=passphrase" json:"passphrase,omitempty"`
  1118  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1119  	XXX_unrecognized     []byte   `json:"-"`
  1120  	XXX_sizecache        int32    `json:"-"`
  1121  }
  1122  
  1123  func (m *PassphraseAck) Reset()         { *m = PassphraseAck{} }
  1124  func (m *PassphraseAck) String() string { return proto.CompactTextString(m) }
  1125  func (*PassphraseAck) ProtoMessage()    {}
  1126  func (*PassphraseAck) Descriptor() ([]byte, []int) {
  1127  	return fileDescriptor_4dc296cbfe5ffcd5, []int{16}
  1128  }
  1129  func (m *PassphraseAck) XXX_Unmarshal(b []byte) error {
  1130  	return xxx_messageInfo_PassphraseAck.Unmarshal(m, b)
  1131  }
  1132  func (m *PassphraseAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1133  	return xxx_messageInfo_PassphraseAck.Marshal(b, m, deterministic)
  1134  }
  1135  func (m *PassphraseAck) XXX_Merge(src proto.Message) {
  1136  	xxx_messageInfo_PassphraseAck.Merge(m, src)
  1137  }
  1138  func (m *PassphraseAck) XXX_Size() int {
  1139  	return xxx_messageInfo_PassphraseAck.Size(m)
  1140  }
  1141  func (m *PassphraseAck) XXX_DiscardUnknown() {
  1142  	xxx_messageInfo_PassphraseAck.DiscardUnknown(m)
  1143  }
  1144  
  1145  var xxx_messageInfo_PassphraseAck proto.InternalMessageInfo
  1146  
  1147  func (m *PassphraseAck) GetPassphrase() string {
  1148  	if m != nil && m.Passphrase != nil {
  1149  		return *m.Passphrase
  1150  	}
  1151  	return ""
  1152  }
  1153  
  1154  //*
  1155  // Request: Request a sample of random data generated by hardware RNG. May be
  1156  // used for testing.
  1157  // @next ButtonRequest
  1158  // @next Entropy
  1159  // @next Failure
  1160  type GetEntropy struct {
  1161  	Size_                *uint32  `protobuf:"varint,1,req,name=size" json:"size,omitempty"`
  1162  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1163  	XXX_unrecognized     []byte   `json:"-"`
  1164  	XXX_sizecache        int32    `json:"-"`
  1165  }
  1166  
  1167  func (m *GetEntropy) Reset()         { *m = GetEntropy{} }
  1168  func (m *GetEntropy) String() string { return proto.CompactTextString(m) }
  1169  func (*GetEntropy) ProtoMessage()    {}
  1170  func (*GetEntropy) Descriptor() ([]byte, []int) {
  1171  	return fileDescriptor_4dc296cbfe5ffcd5, []int{17}
  1172  }
  1173  func (m *GetEntropy) XXX_Unmarshal(b []byte) error {
  1174  	return xxx_messageInfo_GetEntropy.Unmarshal(m, b)
  1175  }
  1176  func (m *GetEntropy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1177  	return xxx_messageInfo_GetEntropy.Marshal(b, m, deterministic)
  1178  }
  1179  func (m *GetEntropy) XXX_Merge(src proto.Message) {
  1180  	xxx_messageInfo_GetEntropy.Merge(m, src)
  1181  }
  1182  func (m *GetEntropy) XXX_Size() int {
  1183  	return xxx_messageInfo_GetEntropy.Size(m)
  1184  }
  1185  func (m *GetEntropy) XXX_DiscardUnknown() {
  1186  	xxx_messageInfo_GetEntropy.DiscardUnknown(m)
  1187  }
  1188  
  1189  var xxx_messageInfo_GetEntropy proto.InternalMessageInfo
  1190  
  1191  func (m *GetEntropy) GetSize_() uint32 {
  1192  	if m != nil && m.Size_ != nil {
  1193  		return *m.Size_
  1194  	}
  1195  	return 0
  1196  }
  1197  
  1198  //*
  1199  // Response: Reply with random data generated by internal RNG
  1200  // @prev GetEntropy
  1201  type Entropy struct {
  1202  	Entropy              []byte   `protobuf:"bytes,1,req,name=entropy" json:"entropy,omitempty"`
  1203  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1204  	XXX_unrecognized     []byte   `json:"-"`
  1205  	XXX_sizecache        int32    `json:"-"`
  1206  }
  1207  
  1208  func (m *Entropy) Reset()         { *m = Entropy{} }
  1209  func (m *Entropy) String() string { return proto.CompactTextString(m) }
  1210  func (*Entropy) ProtoMessage()    {}
  1211  func (*Entropy) Descriptor() ([]byte, []int) {
  1212  	return fileDescriptor_4dc296cbfe5ffcd5, []int{18}
  1213  }
  1214  func (m *Entropy) XXX_Unmarshal(b []byte) error {
  1215  	return xxx_messageInfo_Entropy.Unmarshal(m, b)
  1216  }
  1217  func (m *Entropy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1218  	return xxx_messageInfo_Entropy.Marshal(b, m, deterministic)
  1219  }
  1220  func (m *Entropy) XXX_Merge(src proto.Message) {
  1221  	xxx_messageInfo_Entropy.Merge(m, src)
  1222  }
  1223  func (m *Entropy) XXX_Size() int {
  1224  	return xxx_messageInfo_Entropy.Size(m)
  1225  }
  1226  func (m *Entropy) XXX_DiscardUnknown() {
  1227  	xxx_messageInfo_Entropy.DiscardUnknown(m)
  1228  }
  1229  
  1230  var xxx_messageInfo_Entropy proto.InternalMessageInfo
  1231  
  1232  func (m *Entropy) GetEntropy() []byte {
  1233  	if m != nil {
  1234  		return m.Entropy
  1235  	}
  1236  	return nil
  1237  }
  1238  
  1239  //*
  1240  // Request: Ask device for public key corresponding to address_n path
  1241  // @next PassphraseRequest
  1242  // @next PublicKey
  1243  // @next Failure
  1244  type GetPublicKey struct {
  1245  	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
  1246  	EcdsaCurveName       *string  `protobuf:"bytes,2,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"`
  1247  	ShowDisplay          *bool    `protobuf:"varint,3,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"`
  1248  	CoinName             *string  `protobuf:"bytes,4,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
  1249  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1250  	XXX_unrecognized     []byte   `json:"-"`
  1251  	XXX_sizecache        int32    `json:"-"`
  1252  }
  1253  
  1254  func (m *GetPublicKey) Reset()         { *m = GetPublicKey{} }
  1255  func (m *GetPublicKey) String() string { return proto.CompactTextString(m) }
  1256  func (*GetPublicKey) ProtoMessage()    {}
  1257  func (*GetPublicKey) Descriptor() ([]byte, []int) {
  1258  	return fileDescriptor_4dc296cbfe5ffcd5, []int{19}
  1259  }
  1260  func (m *GetPublicKey) XXX_Unmarshal(b []byte) error {
  1261  	return xxx_messageInfo_GetPublicKey.Unmarshal(m, b)
  1262  }
  1263  func (m *GetPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1264  	return xxx_messageInfo_GetPublicKey.Marshal(b, m, deterministic)
  1265  }
  1266  func (m *GetPublicKey) XXX_Merge(src proto.Message) {
  1267  	xxx_messageInfo_GetPublicKey.Merge(m, src)
  1268  }
  1269  func (m *GetPublicKey) XXX_Size() int {
  1270  	return xxx_messageInfo_GetPublicKey.Size(m)
  1271  }
  1272  func (m *GetPublicKey) XXX_DiscardUnknown() {
  1273  	xxx_messageInfo_GetPublicKey.DiscardUnknown(m)
  1274  }
  1275  
  1276  var xxx_messageInfo_GetPublicKey proto.InternalMessageInfo
  1277  
  1278  const Default_GetPublicKey_CoinName string = "Bitcoin"
  1279  
  1280  func (m *GetPublicKey) GetAddressN() []uint32 {
  1281  	if m != nil {
  1282  		return m.AddressN
  1283  	}
  1284  	return nil
  1285  }
  1286  
  1287  func (m *GetPublicKey) GetEcdsaCurveName() string {
  1288  	if m != nil && m.EcdsaCurveName != nil {
  1289  		return *m.EcdsaCurveName
  1290  	}
  1291  	return ""
  1292  }
  1293  
  1294  func (m *GetPublicKey) GetShowDisplay() bool {
  1295  	if m != nil && m.ShowDisplay != nil {
  1296  		return *m.ShowDisplay
  1297  	}
  1298  	return false
  1299  }
  1300  
  1301  func (m *GetPublicKey) GetCoinName() string {
  1302  	if m != nil && m.CoinName != nil {
  1303  		return *m.CoinName
  1304  	}
  1305  	return Default_GetPublicKey_CoinName
  1306  }
  1307  
  1308  //*
  1309  // Response: Contains public key derived from device private seed
  1310  // @prev GetPublicKey
  1311  type PublicKey struct {
  1312  	Node                 *HDNodeType `protobuf:"bytes,1,req,name=node" json:"node,omitempty"`
  1313  	Xpub                 *string     `protobuf:"bytes,2,opt,name=xpub" json:"xpub,omitempty"`
  1314  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
  1315  	XXX_unrecognized     []byte      `json:"-"`
  1316  	XXX_sizecache        int32       `json:"-"`
  1317  }
  1318  
  1319  func (m *PublicKey) Reset()         { *m = PublicKey{} }
  1320  func (m *PublicKey) String() string { return proto.CompactTextString(m) }
  1321  func (*PublicKey) ProtoMessage()    {}
  1322  func (*PublicKey) Descriptor() ([]byte, []int) {
  1323  	return fileDescriptor_4dc296cbfe5ffcd5, []int{20}
  1324  }
  1325  func (m *PublicKey) XXX_Unmarshal(b []byte) error {
  1326  	return xxx_messageInfo_PublicKey.Unmarshal(m, b)
  1327  }
  1328  func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1329  	return xxx_messageInfo_PublicKey.Marshal(b, m, deterministic)
  1330  }
  1331  func (m *PublicKey) XXX_Merge(src proto.Message) {
  1332  	xxx_messageInfo_PublicKey.Merge(m, src)
  1333  }
  1334  func (m *PublicKey) XXX_Size() int {
  1335  	return xxx_messageInfo_PublicKey.Size(m)
  1336  }
  1337  func (m *PublicKey) XXX_DiscardUnknown() {
  1338  	xxx_messageInfo_PublicKey.DiscardUnknown(m)
  1339  }
  1340  
  1341  var xxx_messageInfo_PublicKey proto.InternalMessageInfo
  1342  
  1343  func (m *PublicKey) GetNode() *HDNodeType {
  1344  	if m != nil {
  1345  		return m.Node
  1346  	}
  1347  	return nil
  1348  }
  1349  
  1350  func (m *PublicKey) GetXpub() string {
  1351  	if m != nil && m.Xpub != nil {
  1352  		return *m.Xpub
  1353  	}
  1354  	return ""
  1355  }
  1356  
  1357  //*
  1358  // Request: Ask device for address corresponding to address_n path
  1359  // @next PassphraseRequest
  1360  // @next Address
  1361  // @next Failure
  1362  type GetAddress struct {
  1363  	AddressN             []uint32                  `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
  1364  	CoinName             *string                   `protobuf:"bytes,2,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
  1365  	ShowDisplay          *bool                     `protobuf:"varint,3,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"`
  1366  	Multisig             *MultisigRedeemScriptType `protobuf:"bytes,4,opt,name=multisig" json:"multisig,omitempty"`
  1367  	ScriptType           *InputScriptType          `protobuf:"varint,5,opt,name=script_type,json=scriptType,enum=InputScriptType,def=0" json:"script_type,omitempty"`
  1368  	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
  1369  	XXX_unrecognized     []byte                    `json:"-"`
  1370  	XXX_sizecache        int32                     `json:"-"`
  1371  }
  1372  
  1373  func (m *GetAddress) Reset()         { *m = GetAddress{} }
  1374  func (m *GetAddress) String() string { return proto.CompactTextString(m) }
  1375  func (*GetAddress) ProtoMessage()    {}
  1376  func (*GetAddress) Descriptor() ([]byte, []int) {
  1377  	return fileDescriptor_4dc296cbfe5ffcd5, []int{21}
  1378  }
  1379  func (m *GetAddress) XXX_Unmarshal(b []byte) error {
  1380  	return xxx_messageInfo_GetAddress.Unmarshal(m, b)
  1381  }
  1382  func (m *GetAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1383  	return xxx_messageInfo_GetAddress.Marshal(b, m, deterministic)
  1384  }
  1385  func (m *GetAddress) XXX_Merge(src proto.Message) {
  1386  	xxx_messageInfo_GetAddress.Merge(m, src)
  1387  }
  1388  func (m *GetAddress) XXX_Size() int {
  1389  	return xxx_messageInfo_GetAddress.Size(m)
  1390  }
  1391  func (m *GetAddress) XXX_DiscardUnknown() {
  1392  	xxx_messageInfo_GetAddress.DiscardUnknown(m)
  1393  }
  1394  
  1395  var xxx_messageInfo_GetAddress proto.InternalMessageInfo
  1396  
  1397  const Default_GetAddress_CoinName string = "Bitcoin"
  1398  const Default_GetAddress_ScriptType InputScriptType = InputScriptType_SPENDADDRESS
  1399  
  1400  func (m *GetAddress) GetAddressN() []uint32 {
  1401  	if m != nil {
  1402  		return m.AddressN
  1403  	}
  1404  	return nil
  1405  }
  1406  
  1407  func (m *GetAddress) GetCoinName() string {
  1408  	if m != nil && m.CoinName != nil {
  1409  		return *m.CoinName
  1410  	}
  1411  	return Default_GetAddress_CoinName
  1412  }
  1413  
  1414  func (m *GetAddress) GetShowDisplay() bool {
  1415  	if m != nil && m.ShowDisplay != nil {
  1416  		return *m.ShowDisplay
  1417  	}
  1418  	return false
  1419  }
  1420  
  1421  func (m *GetAddress) GetMultisig() *MultisigRedeemScriptType {
  1422  	if m != nil {
  1423  		return m.Multisig
  1424  	}
  1425  	return nil
  1426  }
  1427  
  1428  func (m *GetAddress) GetScriptType() InputScriptType {
  1429  	if m != nil && m.ScriptType != nil {
  1430  		return *m.ScriptType
  1431  	}
  1432  	return Default_GetAddress_ScriptType
  1433  }
  1434  
  1435  //*
  1436  // Request: Ask device for Aquachain address corresponding to address_n path
  1437  // @next PassphraseRequest
  1438  // @next AquachainAddress
  1439  // @next Failure
  1440  type AquachainGetAddress struct {
  1441  	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
  1442  	ShowDisplay          *bool    `protobuf:"varint,2,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"`
  1443  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1444  	XXX_unrecognized     []byte   `json:"-"`
  1445  	XXX_sizecache        int32    `json:"-"`
  1446  }
  1447  
  1448  func (m *AquachainGetAddress) Reset()         { *m = AquachainGetAddress{} }
  1449  func (m *AquachainGetAddress) String() string { return proto.CompactTextString(m) }
  1450  func (*AquachainGetAddress) ProtoMessage()    {}
  1451  func (*AquachainGetAddress) Descriptor() ([]byte, []int) {
  1452  	return fileDescriptor_4dc296cbfe5ffcd5, []int{22}
  1453  }
  1454  func (m *AquachainGetAddress) XXX_Unmarshal(b []byte) error {
  1455  	return xxx_messageInfo_AquachainGetAddress.Unmarshal(m, b)
  1456  }
  1457  func (m *AquachainGetAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1458  	return xxx_messageInfo_AquachainGetAddress.Marshal(b, m, deterministic)
  1459  }
  1460  func (m *AquachainGetAddress) XXX_Merge(src proto.Message) {
  1461  	xxx_messageInfo_AquachainGetAddress.Merge(m, src)
  1462  }
  1463  func (m *AquachainGetAddress) XXX_Size() int {
  1464  	return xxx_messageInfo_AquachainGetAddress.Size(m)
  1465  }
  1466  func (m *AquachainGetAddress) XXX_DiscardUnknown() {
  1467  	xxx_messageInfo_AquachainGetAddress.DiscardUnknown(m)
  1468  }
  1469  
  1470  var xxx_messageInfo_AquachainGetAddress proto.InternalMessageInfo
  1471  
  1472  func (m *AquachainGetAddress) GetAddressN() []uint32 {
  1473  	if m != nil {
  1474  		return m.AddressN
  1475  	}
  1476  	return nil
  1477  }
  1478  
  1479  func (m *AquachainGetAddress) GetShowDisplay() bool {
  1480  	if m != nil && m.ShowDisplay != nil {
  1481  		return *m.ShowDisplay
  1482  	}
  1483  	return false
  1484  }
  1485  
  1486  //*
  1487  // Response: Contains address derived from device private seed
  1488  // @prev GetAddress
  1489  type Address struct {
  1490  	Address              *string  `protobuf:"bytes,1,req,name=address" json:"address,omitempty"`
  1491  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1492  	XXX_unrecognized     []byte   `json:"-"`
  1493  	XXX_sizecache        int32    `json:"-"`
  1494  }
  1495  
  1496  func (m *Address) Reset()         { *m = Address{} }
  1497  func (m *Address) String() string { return proto.CompactTextString(m) }
  1498  func (*Address) ProtoMessage()    {}
  1499  func (*Address) Descriptor() ([]byte, []int) {
  1500  	return fileDescriptor_4dc296cbfe5ffcd5, []int{23}
  1501  }
  1502  func (m *Address) XXX_Unmarshal(b []byte) error {
  1503  	return xxx_messageInfo_Address.Unmarshal(m, b)
  1504  }
  1505  func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1506  	return xxx_messageInfo_Address.Marshal(b, m, deterministic)
  1507  }
  1508  func (m *Address) XXX_Merge(src proto.Message) {
  1509  	xxx_messageInfo_Address.Merge(m, src)
  1510  }
  1511  func (m *Address) XXX_Size() int {
  1512  	return xxx_messageInfo_Address.Size(m)
  1513  }
  1514  func (m *Address) XXX_DiscardUnknown() {
  1515  	xxx_messageInfo_Address.DiscardUnknown(m)
  1516  }
  1517  
  1518  var xxx_messageInfo_Address proto.InternalMessageInfo
  1519  
  1520  func (m *Address) GetAddress() string {
  1521  	if m != nil && m.Address != nil {
  1522  		return *m.Address
  1523  	}
  1524  	return ""
  1525  }
  1526  
  1527  //*
  1528  // Response: Contains an Aquachain address derived from device private seed
  1529  // @prev AquachainGetAddress
  1530  type AquachainAddress struct {
  1531  	Address              []byte   `protobuf:"bytes,1,req,name=address" json:"address,omitempty"`
  1532  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1533  	XXX_unrecognized     []byte   `json:"-"`
  1534  	XXX_sizecache        int32    `json:"-"`
  1535  }
  1536  
  1537  func (m *AquachainAddress) Reset()         { *m = AquachainAddress{} }
  1538  func (m *AquachainAddress) String() string { return proto.CompactTextString(m) }
  1539  func (*AquachainAddress) ProtoMessage()    {}
  1540  func (*AquachainAddress) Descriptor() ([]byte, []int) {
  1541  	return fileDescriptor_4dc296cbfe5ffcd5, []int{24}
  1542  }
  1543  func (m *AquachainAddress) XXX_Unmarshal(b []byte) error {
  1544  	return xxx_messageInfo_AquachainAddress.Unmarshal(m, b)
  1545  }
  1546  func (m *AquachainAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1547  	return xxx_messageInfo_AquachainAddress.Marshal(b, m, deterministic)
  1548  }
  1549  func (m *AquachainAddress) XXX_Merge(src proto.Message) {
  1550  	xxx_messageInfo_AquachainAddress.Merge(m, src)
  1551  }
  1552  func (m *AquachainAddress) XXX_Size() int {
  1553  	return xxx_messageInfo_AquachainAddress.Size(m)
  1554  }
  1555  func (m *AquachainAddress) XXX_DiscardUnknown() {
  1556  	xxx_messageInfo_AquachainAddress.DiscardUnknown(m)
  1557  }
  1558  
  1559  var xxx_messageInfo_AquachainAddress proto.InternalMessageInfo
  1560  
  1561  func (m *AquachainAddress) GetAddress() []byte {
  1562  	if m != nil {
  1563  		return m.Address
  1564  	}
  1565  	return nil
  1566  }
  1567  
  1568  //*
  1569  // Request: Request device to wipe all sensitive data and settings
  1570  // @next ButtonRequest
  1571  type WipeDevice struct {
  1572  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1573  	XXX_unrecognized     []byte   `json:"-"`
  1574  	XXX_sizecache        int32    `json:"-"`
  1575  }
  1576  
  1577  func (m *WipeDevice) Reset()         { *m = WipeDevice{} }
  1578  func (m *WipeDevice) String() string { return proto.CompactTextString(m) }
  1579  func (*WipeDevice) ProtoMessage()    {}
  1580  func (*WipeDevice) Descriptor() ([]byte, []int) {
  1581  	return fileDescriptor_4dc296cbfe5ffcd5, []int{25}
  1582  }
  1583  func (m *WipeDevice) XXX_Unmarshal(b []byte) error {
  1584  	return xxx_messageInfo_WipeDevice.Unmarshal(m, b)
  1585  }
  1586  func (m *WipeDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1587  	return xxx_messageInfo_WipeDevice.Marshal(b, m, deterministic)
  1588  }
  1589  func (m *WipeDevice) XXX_Merge(src proto.Message) {
  1590  	xxx_messageInfo_WipeDevice.Merge(m, src)
  1591  }
  1592  func (m *WipeDevice) XXX_Size() int {
  1593  	return xxx_messageInfo_WipeDevice.Size(m)
  1594  }
  1595  func (m *WipeDevice) XXX_DiscardUnknown() {
  1596  	xxx_messageInfo_WipeDevice.DiscardUnknown(m)
  1597  }
  1598  
  1599  var xxx_messageInfo_WipeDevice proto.InternalMessageInfo
  1600  
  1601  //*
  1602  // Request: Load seed and related internal settings from the computer
  1603  // @next ButtonRequest
  1604  // @next Success
  1605  // @next Failure
  1606  type LoadDevice struct {
  1607  	Mnemonic             *string     `protobuf:"bytes,1,opt,name=mnemonic" json:"mnemonic,omitempty"`
  1608  	Node                 *HDNodeType `protobuf:"bytes,2,opt,name=node" json:"node,omitempty"`
  1609  	Pin                  *string     `protobuf:"bytes,3,opt,name=pin" json:"pin,omitempty"`
  1610  	PassphraseProtection *bool       `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
  1611  	Language             *string     `protobuf:"bytes,5,opt,name=language,def=english" json:"language,omitempty"`
  1612  	Label                *string     `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"`
  1613  	SkipChecksum         *bool       `protobuf:"varint,7,opt,name=skip_checksum,json=skipChecksum" json:"skip_checksum,omitempty"`
  1614  	U2FCounter           *uint32     `protobuf:"varint,8,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
  1615  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
  1616  	XXX_unrecognized     []byte      `json:"-"`
  1617  	XXX_sizecache        int32       `json:"-"`
  1618  }
  1619  
  1620  func (m *LoadDevice) Reset()         { *m = LoadDevice{} }
  1621  func (m *LoadDevice) String() string { return proto.CompactTextString(m) }
  1622  func (*LoadDevice) ProtoMessage()    {}
  1623  func (*LoadDevice) Descriptor() ([]byte, []int) {
  1624  	return fileDescriptor_4dc296cbfe5ffcd5, []int{26}
  1625  }
  1626  func (m *LoadDevice) XXX_Unmarshal(b []byte) error {
  1627  	return xxx_messageInfo_LoadDevice.Unmarshal(m, b)
  1628  }
  1629  func (m *LoadDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1630  	return xxx_messageInfo_LoadDevice.Marshal(b, m, deterministic)
  1631  }
  1632  func (m *LoadDevice) XXX_Merge(src proto.Message) {
  1633  	xxx_messageInfo_LoadDevice.Merge(m, src)
  1634  }
  1635  func (m *LoadDevice) XXX_Size() int {
  1636  	return xxx_messageInfo_LoadDevice.Size(m)
  1637  }
  1638  func (m *LoadDevice) XXX_DiscardUnknown() {
  1639  	xxx_messageInfo_LoadDevice.DiscardUnknown(m)
  1640  }
  1641  
  1642  var xxx_messageInfo_LoadDevice proto.InternalMessageInfo
  1643  
  1644  const Default_LoadDevice_Language string = "english"
  1645  
  1646  func (m *LoadDevice) GetMnemonic() string {
  1647  	if m != nil && m.Mnemonic != nil {
  1648  		return *m.Mnemonic
  1649  	}
  1650  	return ""
  1651  }
  1652  
  1653  func (m *LoadDevice) GetNode() *HDNodeType {
  1654  	if m != nil {
  1655  		return m.Node
  1656  	}
  1657  	return nil
  1658  }
  1659  
  1660  func (m *LoadDevice) GetPin() string {
  1661  	if m != nil && m.Pin != nil {
  1662  		return *m.Pin
  1663  	}
  1664  	return ""
  1665  }
  1666  
  1667  func (m *LoadDevice) GetPassphraseProtection() bool {
  1668  	if m != nil && m.PassphraseProtection != nil {
  1669  		return *m.PassphraseProtection
  1670  	}
  1671  	return false
  1672  }
  1673  
  1674  func (m *LoadDevice) GetLanguage() string {
  1675  	if m != nil && m.Language != nil {
  1676  		return *m.Language
  1677  	}
  1678  	return Default_LoadDevice_Language
  1679  }
  1680  
  1681  func (m *LoadDevice) GetLabel() string {
  1682  	if m != nil && m.Label != nil {
  1683  		return *m.Label
  1684  	}
  1685  	return ""
  1686  }
  1687  
  1688  func (m *LoadDevice) GetSkipChecksum() bool {
  1689  	if m != nil && m.SkipChecksum != nil {
  1690  		return *m.SkipChecksum
  1691  	}
  1692  	return false
  1693  }
  1694  
  1695  func (m *LoadDevice) GetU2FCounter() uint32 {
  1696  	if m != nil && m.U2FCounter != nil {
  1697  		return *m.U2FCounter
  1698  	}
  1699  	return 0
  1700  }
  1701  
  1702  //*
  1703  // Request: Ask device to do initialization involving user interaction
  1704  // @next EntropyRequest
  1705  // @next Failure
  1706  type ResetDevice struct {
  1707  	DisplayRandom *bool `protobuf:"varint,1,opt,name=display_random,json=displayRandom" json:"display_random,omitempty"`
  1708  	// before asking for additional entropy
  1709  	Strength             *uint32  `protobuf:"varint,2,opt,name=strength,def=256" json:"strength,omitempty"`
  1710  	PassphraseProtection *bool    `protobuf:"varint,3,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
  1711  	PinProtection        *bool    `protobuf:"varint,4,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
  1712  	Language             *string  `protobuf:"bytes,5,opt,name=language,def=english" json:"language,omitempty"`
  1713  	Label                *string  `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"`
  1714  	U2FCounter           *uint32  `protobuf:"varint,7,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
  1715  	SkipBackup           *bool    `protobuf:"varint,8,opt,name=skip_backup,json=skipBackup" json:"skip_backup,omitempty"`
  1716  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1717  	XXX_unrecognized     []byte   `json:"-"`
  1718  	XXX_sizecache        int32    `json:"-"`
  1719  }
  1720  
  1721  func (m *ResetDevice) Reset()         { *m = ResetDevice{} }
  1722  func (m *ResetDevice) String() string { return proto.CompactTextString(m) }
  1723  func (*ResetDevice) ProtoMessage()    {}
  1724  func (*ResetDevice) Descriptor() ([]byte, []int) {
  1725  	return fileDescriptor_4dc296cbfe5ffcd5, []int{27}
  1726  }
  1727  func (m *ResetDevice) XXX_Unmarshal(b []byte) error {
  1728  	return xxx_messageInfo_ResetDevice.Unmarshal(m, b)
  1729  }
  1730  func (m *ResetDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1731  	return xxx_messageInfo_ResetDevice.Marshal(b, m, deterministic)
  1732  }
  1733  func (m *ResetDevice) XXX_Merge(src proto.Message) {
  1734  	xxx_messageInfo_ResetDevice.Merge(m, src)
  1735  }
  1736  func (m *ResetDevice) XXX_Size() int {
  1737  	return xxx_messageInfo_ResetDevice.Size(m)
  1738  }
  1739  func (m *ResetDevice) XXX_DiscardUnknown() {
  1740  	xxx_messageInfo_ResetDevice.DiscardUnknown(m)
  1741  }
  1742  
  1743  var xxx_messageInfo_ResetDevice proto.InternalMessageInfo
  1744  
  1745  const Default_ResetDevice_Strength uint32 = 256
  1746  const Default_ResetDevice_Language string = "english"
  1747  
  1748  func (m *ResetDevice) GetDisplayRandom() bool {
  1749  	if m != nil && m.DisplayRandom != nil {
  1750  		return *m.DisplayRandom
  1751  	}
  1752  	return false
  1753  }
  1754  
  1755  func (m *ResetDevice) GetStrength() uint32 {
  1756  	if m != nil && m.Strength != nil {
  1757  		return *m.Strength
  1758  	}
  1759  	return Default_ResetDevice_Strength
  1760  }
  1761  
  1762  func (m *ResetDevice) GetPassphraseProtection() bool {
  1763  	if m != nil && m.PassphraseProtection != nil {
  1764  		return *m.PassphraseProtection
  1765  	}
  1766  	return false
  1767  }
  1768  
  1769  func (m *ResetDevice) GetPinProtection() bool {
  1770  	if m != nil && m.PinProtection != nil {
  1771  		return *m.PinProtection
  1772  	}
  1773  	return false
  1774  }
  1775  
  1776  func (m *ResetDevice) GetLanguage() string {
  1777  	if m != nil && m.Language != nil {
  1778  		return *m.Language
  1779  	}
  1780  	return Default_ResetDevice_Language
  1781  }
  1782  
  1783  func (m *ResetDevice) GetLabel() string {
  1784  	if m != nil && m.Label != nil {
  1785  		return *m.Label
  1786  	}
  1787  	return ""
  1788  }
  1789  
  1790  func (m *ResetDevice) GetU2FCounter() uint32 {
  1791  	if m != nil && m.U2FCounter != nil {
  1792  		return *m.U2FCounter
  1793  	}
  1794  	return 0
  1795  }
  1796  
  1797  func (m *ResetDevice) GetSkipBackup() bool {
  1798  	if m != nil && m.SkipBackup != nil {
  1799  		return *m.SkipBackup
  1800  	}
  1801  	return false
  1802  }
  1803  
  1804  //*
  1805  // Request: Perform backup of the device seed if not backed up using ResetDevice
  1806  // @next ButtonRequest
  1807  type BackupDevice struct {
  1808  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1809  	XXX_unrecognized     []byte   `json:"-"`
  1810  	XXX_sizecache        int32    `json:"-"`
  1811  }
  1812  
  1813  func (m *BackupDevice) Reset()         { *m = BackupDevice{} }
  1814  func (m *BackupDevice) String() string { return proto.CompactTextString(m) }
  1815  func (*BackupDevice) ProtoMessage()    {}
  1816  func (*BackupDevice) Descriptor() ([]byte, []int) {
  1817  	return fileDescriptor_4dc296cbfe5ffcd5, []int{28}
  1818  }
  1819  func (m *BackupDevice) XXX_Unmarshal(b []byte) error {
  1820  	return xxx_messageInfo_BackupDevice.Unmarshal(m, b)
  1821  }
  1822  func (m *BackupDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1823  	return xxx_messageInfo_BackupDevice.Marshal(b, m, deterministic)
  1824  }
  1825  func (m *BackupDevice) XXX_Merge(src proto.Message) {
  1826  	xxx_messageInfo_BackupDevice.Merge(m, src)
  1827  }
  1828  func (m *BackupDevice) XXX_Size() int {
  1829  	return xxx_messageInfo_BackupDevice.Size(m)
  1830  }
  1831  func (m *BackupDevice) XXX_DiscardUnknown() {
  1832  	xxx_messageInfo_BackupDevice.DiscardUnknown(m)
  1833  }
  1834  
  1835  var xxx_messageInfo_BackupDevice proto.InternalMessageInfo
  1836  
  1837  //*
  1838  // Response: Ask for additional entropy from host computer
  1839  // @prev ResetDevice
  1840  // @next EntropyAck
  1841  type EntropyRequest struct {
  1842  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1843  	XXX_unrecognized     []byte   `json:"-"`
  1844  	XXX_sizecache        int32    `json:"-"`
  1845  }
  1846  
  1847  func (m *EntropyRequest) Reset()         { *m = EntropyRequest{} }
  1848  func (m *EntropyRequest) String() string { return proto.CompactTextString(m) }
  1849  func (*EntropyRequest) ProtoMessage()    {}
  1850  func (*EntropyRequest) Descriptor() ([]byte, []int) {
  1851  	return fileDescriptor_4dc296cbfe5ffcd5, []int{29}
  1852  }
  1853  func (m *EntropyRequest) XXX_Unmarshal(b []byte) error {
  1854  	return xxx_messageInfo_EntropyRequest.Unmarshal(m, b)
  1855  }
  1856  func (m *EntropyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1857  	return xxx_messageInfo_EntropyRequest.Marshal(b, m, deterministic)
  1858  }
  1859  func (m *EntropyRequest) XXX_Merge(src proto.Message) {
  1860  	xxx_messageInfo_EntropyRequest.Merge(m, src)
  1861  }
  1862  func (m *EntropyRequest) XXX_Size() int {
  1863  	return xxx_messageInfo_EntropyRequest.Size(m)
  1864  }
  1865  func (m *EntropyRequest) XXX_DiscardUnknown() {
  1866  	xxx_messageInfo_EntropyRequest.DiscardUnknown(m)
  1867  }
  1868  
  1869  var xxx_messageInfo_EntropyRequest proto.InternalMessageInfo
  1870  
  1871  //*
  1872  // Request: Provide additional entropy for seed generation function
  1873  // @prev EntropyRequest
  1874  // @next ButtonRequest
  1875  type EntropyAck struct {
  1876  	Entropy              []byte   `protobuf:"bytes,1,opt,name=entropy" json:"entropy,omitempty"`
  1877  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1878  	XXX_unrecognized     []byte   `json:"-"`
  1879  	XXX_sizecache        int32    `json:"-"`
  1880  }
  1881  
  1882  func (m *EntropyAck) Reset()         { *m = EntropyAck{} }
  1883  func (m *EntropyAck) String() string { return proto.CompactTextString(m) }
  1884  func (*EntropyAck) ProtoMessage()    {}
  1885  func (*EntropyAck) Descriptor() ([]byte, []int) {
  1886  	return fileDescriptor_4dc296cbfe5ffcd5, []int{30}
  1887  }
  1888  func (m *EntropyAck) XXX_Unmarshal(b []byte) error {
  1889  	return xxx_messageInfo_EntropyAck.Unmarshal(m, b)
  1890  }
  1891  func (m *EntropyAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1892  	return xxx_messageInfo_EntropyAck.Marshal(b, m, deterministic)
  1893  }
  1894  func (m *EntropyAck) XXX_Merge(src proto.Message) {
  1895  	xxx_messageInfo_EntropyAck.Merge(m, src)
  1896  }
  1897  func (m *EntropyAck) XXX_Size() int {
  1898  	return xxx_messageInfo_EntropyAck.Size(m)
  1899  }
  1900  func (m *EntropyAck) XXX_DiscardUnknown() {
  1901  	xxx_messageInfo_EntropyAck.DiscardUnknown(m)
  1902  }
  1903  
  1904  var xxx_messageInfo_EntropyAck proto.InternalMessageInfo
  1905  
  1906  func (m *EntropyAck) GetEntropy() []byte {
  1907  	if m != nil {
  1908  		return m.Entropy
  1909  	}
  1910  	return nil
  1911  }
  1912  
  1913  //*
  1914  // Request: Start recovery workflow asking user for specific words of mnemonic
  1915  // Used to recovery device safely even on untrusted computer.
  1916  // @next WordRequest
  1917  type RecoveryDevice struct {
  1918  	WordCount            *uint32 `protobuf:"varint,1,opt,name=word_count,json=wordCount" json:"word_count,omitempty"`
  1919  	PassphraseProtection *bool   `protobuf:"varint,2,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
  1920  	PinProtection        *bool   `protobuf:"varint,3,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
  1921  	Language             *string `protobuf:"bytes,4,opt,name=language,def=english" json:"language,omitempty"`
  1922  	Label                *string `protobuf:"bytes,5,opt,name=label" json:"label,omitempty"`
  1923  	EnforceWordlist      *bool   `protobuf:"varint,6,opt,name=enforce_wordlist,json=enforceWordlist" json:"enforce_wordlist,omitempty"`
  1924  	// 7 reserved for unused recovery method
  1925  	Type                 *uint32  `protobuf:"varint,8,opt,name=type" json:"type,omitempty"`
  1926  	U2FCounter           *uint32  `protobuf:"varint,9,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
  1927  	DryRun               *bool    `protobuf:"varint,10,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
  1928  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1929  	XXX_unrecognized     []byte   `json:"-"`
  1930  	XXX_sizecache        int32    `json:"-"`
  1931  }
  1932  
  1933  func (m *RecoveryDevice) Reset()         { *m = RecoveryDevice{} }
  1934  func (m *RecoveryDevice) String() string { return proto.CompactTextString(m) }
  1935  func (*RecoveryDevice) ProtoMessage()    {}
  1936  func (*RecoveryDevice) Descriptor() ([]byte, []int) {
  1937  	return fileDescriptor_4dc296cbfe5ffcd5, []int{31}
  1938  }
  1939  func (m *RecoveryDevice) XXX_Unmarshal(b []byte) error {
  1940  	return xxx_messageInfo_RecoveryDevice.Unmarshal(m, b)
  1941  }
  1942  func (m *RecoveryDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1943  	return xxx_messageInfo_RecoveryDevice.Marshal(b, m, deterministic)
  1944  }
  1945  func (m *RecoveryDevice) XXX_Merge(src proto.Message) {
  1946  	xxx_messageInfo_RecoveryDevice.Merge(m, src)
  1947  }
  1948  func (m *RecoveryDevice) XXX_Size() int {
  1949  	return xxx_messageInfo_RecoveryDevice.Size(m)
  1950  }
  1951  func (m *RecoveryDevice) XXX_DiscardUnknown() {
  1952  	xxx_messageInfo_RecoveryDevice.DiscardUnknown(m)
  1953  }
  1954  
  1955  var xxx_messageInfo_RecoveryDevice proto.InternalMessageInfo
  1956  
  1957  const Default_RecoveryDevice_Language string = "english"
  1958  
  1959  func (m *RecoveryDevice) GetWordCount() uint32 {
  1960  	if m != nil && m.WordCount != nil {
  1961  		return *m.WordCount
  1962  	}
  1963  	return 0
  1964  }
  1965  
  1966  func (m *RecoveryDevice) GetPassphraseProtection() bool {
  1967  	if m != nil && m.PassphraseProtection != nil {
  1968  		return *m.PassphraseProtection
  1969  	}
  1970  	return false
  1971  }
  1972  
  1973  func (m *RecoveryDevice) GetPinProtection() bool {
  1974  	if m != nil && m.PinProtection != nil {
  1975  		return *m.PinProtection
  1976  	}
  1977  	return false
  1978  }
  1979  
  1980  func (m *RecoveryDevice) GetLanguage() string {
  1981  	if m != nil && m.Language != nil {
  1982  		return *m.Language
  1983  	}
  1984  	return Default_RecoveryDevice_Language
  1985  }
  1986  
  1987  func (m *RecoveryDevice) GetLabel() string {
  1988  	if m != nil && m.Label != nil {
  1989  		return *m.Label
  1990  	}
  1991  	return ""
  1992  }
  1993  
  1994  func (m *RecoveryDevice) GetEnforceWordlist() bool {
  1995  	if m != nil && m.EnforceWordlist != nil {
  1996  		return *m.EnforceWordlist
  1997  	}
  1998  	return false
  1999  }
  2000  
  2001  func (m *RecoveryDevice) GetType() uint32 {
  2002  	if m != nil && m.Type != nil {
  2003  		return *m.Type
  2004  	}
  2005  	return 0
  2006  }
  2007  
  2008  func (m *RecoveryDevice) GetU2FCounter() uint32 {
  2009  	if m != nil && m.U2FCounter != nil {
  2010  		return *m.U2FCounter
  2011  	}
  2012  	return 0
  2013  }
  2014  
  2015  func (m *RecoveryDevice) GetDryRun() bool {
  2016  	if m != nil && m.DryRun != nil {
  2017  		return *m.DryRun
  2018  	}
  2019  	return false
  2020  }
  2021  
  2022  //*
  2023  // Response: Device is waiting for user to enter word of the mnemonic
  2024  // Its position is shown only on device's internal display.
  2025  // @prev RecoveryDevice
  2026  // @prev WordAck
  2027  type WordRequest struct {
  2028  	Type                 *WordRequestType `protobuf:"varint,1,opt,name=type,enum=WordRequestType" json:"type,omitempty"`
  2029  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
  2030  	XXX_unrecognized     []byte           `json:"-"`
  2031  	XXX_sizecache        int32            `json:"-"`
  2032  }
  2033  
  2034  func (m *WordRequest) Reset()         { *m = WordRequest{} }
  2035  func (m *WordRequest) String() string { return proto.CompactTextString(m) }
  2036  func (*WordRequest) ProtoMessage()    {}
  2037  func (*WordRequest) Descriptor() ([]byte, []int) {
  2038  	return fileDescriptor_4dc296cbfe5ffcd5, []int{32}
  2039  }
  2040  func (m *WordRequest) XXX_Unmarshal(b []byte) error {
  2041  	return xxx_messageInfo_WordRequest.Unmarshal(m, b)
  2042  }
  2043  func (m *WordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2044  	return xxx_messageInfo_WordRequest.Marshal(b, m, deterministic)
  2045  }
  2046  func (m *WordRequest) XXX_Merge(src proto.Message) {
  2047  	xxx_messageInfo_WordRequest.Merge(m, src)
  2048  }
  2049  func (m *WordRequest) XXX_Size() int {
  2050  	return xxx_messageInfo_WordRequest.Size(m)
  2051  }
  2052  func (m *WordRequest) XXX_DiscardUnknown() {
  2053  	xxx_messageInfo_WordRequest.DiscardUnknown(m)
  2054  }
  2055  
  2056  var xxx_messageInfo_WordRequest proto.InternalMessageInfo
  2057  
  2058  func (m *WordRequest) GetType() WordRequestType {
  2059  	if m != nil && m.Type != nil {
  2060  		return *m.Type
  2061  	}
  2062  	return WordRequestType_WordRequestType_Plain
  2063  }
  2064  
  2065  //*
  2066  // Request: Computer replies with word from the mnemonic
  2067  // @prev WordRequest
  2068  // @next WordRequest
  2069  // @next Success
  2070  // @next Failure
  2071  type WordAck struct {
  2072  	Word                 *string  `protobuf:"bytes,1,req,name=word" json:"word,omitempty"`
  2073  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2074  	XXX_unrecognized     []byte   `json:"-"`
  2075  	XXX_sizecache        int32    `json:"-"`
  2076  }
  2077  
  2078  func (m *WordAck) Reset()         { *m = WordAck{} }
  2079  func (m *WordAck) String() string { return proto.CompactTextString(m) }
  2080  func (*WordAck) ProtoMessage()    {}
  2081  func (*WordAck) Descriptor() ([]byte, []int) {
  2082  	return fileDescriptor_4dc296cbfe5ffcd5, []int{33}
  2083  }
  2084  func (m *WordAck) XXX_Unmarshal(b []byte) error {
  2085  	return xxx_messageInfo_WordAck.Unmarshal(m, b)
  2086  }
  2087  func (m *WordAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2088  	return xxx_messageInfo_WordAck.Marshal(b, m, deterministic)
  2089  }
  2090  func (m *WordAck) XXX_Merge(src proto.Message) {
  2091  	xxx_messageInfo_WordAck.Merge(m, src)
  2092  }
  2093  func (m *WordAck) XXX_Size() int {
  2094  	return xxx_messageInfo_WordAck.Size(m)
  2095  }
  2096  func (m *WordAck) XXX_DiscardUnknown() {
  2097  	xxx_messageInfo_WordAck.DiscardUnknown(m)
  2098  }
  2099  
  2100  var xxx_messageInfo_WordAck proto.InternalMessageInfo
  2101  
  2102  func (m *WordAck) GetWord() string {
  2103  	if m != nil && m.Word != nil {
  2104  		return *m.Word
  2105  	}
  2106  	return ""
  2107  }
  2108  
  2109  //*
  2110  // Request: Ask device to sign message
  2111  // @next MessageSignature
  2112  // @next Failure
  2113  type SignMessage struct {
  2114  	AddressN             []uint32         `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
  2115  	Message              []byte           `protobuf:"bytes,2,req,name=message" json:"message,omitempty"`
  2116  	CoinName             *string          `protobuf:"bytes,3,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
  2117  	ScriptType           *InputScriptType `protobuf:"varint,4,opt,name=script_type,json=scriptType,enum=InputScriptType,def=0" json:"script_type,omitempty"`
  2118  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
  2119  	XXX_unrecognized     []byte           `json:"-"`
  2120  	XXX_sizecache        int32            `json:"-"`
  2121  }
  2122  
  2123  func (m *SignMessage) Reset()         { *m = SignMessage{} }
  2124  func (m *SignMessage) String() string { return proto.CompactTextString(m) }
  2125  func (*SignMessage) ProtoMessage()    {}
  2126  func (*SignMessage) Descriptor() ([]byte, []int) {
  2127  	return fileDescriptor_4dc296cbfe5ffcd5, []int{34}
  2128  }
  2129  func (m *SignMessage) XXX_Unmarshal(b []byte) error {
  2130  	return xxx_messageInfo_SignMessage.Unmarshal(m, b)
  2131  }
  2132  func (m *SignMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2133  	return xxx_messageInfo_SignMessage.Marshal(b, m, deterministic)
  2134  }
  2135  func (m *SignMessage) XXX_Merge(src proto.Message) {
  2136  	xxx_messageInfo_SignMessage.Merge(m, src)
  2137  }
  2138  func (m *SignMessage) XXX_Size() int {
  2139  	return xxx_messageInfo_SignMessage.Size(m)
  2140  }
  2141  func (m *SignMessage) XXX_DiscardUnknown() {
  2142  	xxx_messageInfo_SignMessage.DiscardUnknown(m)
  2143  }
  2144  
  2145  var xxx_messageInfo_SignMessage proto.InternalMessageInfo
  2146  
  2147  const Default_SignMessage_CoinName string = "Bitcoin"
  2148  const Default_SignMessage_ScriptType InputScriptType = InputScriptType_SPENDADDRESS
  2149  
  2150  func (m *SignMessage) GetAddressN() []uint32 {
  2151  	if m != nil {
  2152  		return m.AddressN
  2153  	}
  2154  	return nil
  2155  }
  2156  
  2157  func (m *SignMessage) GetMessage() []byte {
  2158  	if m != nil {
  2159  		return m.Message
  2160  	}
  2161  	return nil
  2162  }
  2163  
  2164  func (m *SignMessage) GetCoinName() string {
  2165  	if m != nil && m.CoinName != nil {
  2166  		return *m.CoinName
  2167  	}
  2168  	return Default_SignMessage_CoinName
  2169  }
  2170  
  2171  func (m *SignMessage) GetScriptType() InputScriptType {
  2172  	if m != nil && m.ScriptType != nil {
  2173  		return *m.ScriptType
  2174  	}
  2175  	return Default_SignMessage_ScriptType
  2176  }
  2177  
  2178  //*
  2179  // Request: Ask device to verify message
  2180  // @next Success
  2181  // @next Failure
  2182  type VerifyMessage struct {
  2183  	Address              *string  `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
  2184  	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
  2185  	Message              []byte   `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
  2186  	CoinName             *string  `protobuf:"bytes,4,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
  2187  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2188  	XXX_unrecognized     []byte   `json:"-"`
  2189  	XXX_sizecache        int32    `json:"-"`
  2190  }
  2191  
  2192  func (m *VerifyMessage) Reset()         { *m = VerifyMessage{} }
  2193  func (m *VerifyMessage) String() string { return proto.CompactTextString(m) }
  2194  func (*VerifyMessage) ProtoMessage()    {}
  2195  func (*VerifyMessage) Descriptor() ([]byte, []int) {
  2196  	return fileDescriptor_4dc296cbfe5ffcd5, []int{35}
  2197  }
  2198  func (m *VerifyMessage) XXX_Unmarshal(b []byte) error {
  2199  	return xxx_messageInfo_VerifyMessage.Unmarshal(m, b)
  2200  }
  2201  func (m *VerifyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2202  	return xxx_messageInfo_VerifyMessage.Marshal(b, m, deterministic)
  2203  }
  2204  func (m *VerifyMessage) XXX_Merge(src proto.Message) {
  2205  	xxx_messageInfo_VerifyMessage.Merge(m, src)
  2206  }
  2207  func (m *VerifyMessage) XXX_Size() int {
  2208  	return xxx_messageInfo_VerifyMessage.Size(m)
  2209  }
  2210  func (m *VerifyMessage) XXX_DiscardUnknown() {
  2211  	xxx_messageInfo_VerifyMessage.DiscardUnknown(m)
  2212  }
  2213  
  2214  var xxx_messageInfo_VerifyMessage proto.InternalMessageInfo
  2215  
  2216  const Default_VerifyMessage_CoinName string = "Bitcoin"
  2217  
  2218  func (m *VerifyMessage) GetAddress() string {
  2219  	if m != nil && m.Address != nil {
  2220  		return *m.Address
  2221  	}
  2222  	return ""
  2223  }
  2224  
  2225  func (m *VerifyMessage) GetSignature() []byte {
  2226  	if m != nil {
  2227  		return m.Signature
  2228  	}
  2229  	return nil
  2230  }
  2231  
  2232  func (m *VerifyMessage) GetMessage() []byte {
  2233  	if m != nil {
  2234  		return m.Message
  2235  	}
  2236  	return nil
  2237  }
  2238  
  2239  func (m *VerifyMessage) GetCoinName() string {
  2240  	if m != nil && m.CoinName != nil {
  2241  		return *m.CoinName
  2242  	}
  2243  	return Default_VerifyMessage_CoinName
  2244  }
  2245  
  2246  //*
  2247  // Response: Signed message
  2248  // @prev SignMessage
  2249  type MessageSignature struct {
  2250  	Address              *string  `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
  2251  	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
  2252  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2253  	XXX_unrecognized     []byte   `json:"-"`
  2254  	XXX_sizecache        int32    `json:"-"`
  2255  }
  2256  
  2257  func (m *MessageSignature) Reset()         { *m = MessageSignature{} }
  2258  func (m *MessageSignature) String() string { return proto.CompactTextString(m) }
  2259  func (*MessageSignature) ProtoMessage()    {}
  2260  func (*MessageSignature) Descriptor() ([]byte, []int) {
  2261  	return fileDescriptor_4dc296cbfe5ffcd5, []int{36}
  2262  }
  2263  func (m *MessageSignature) XXX_Unmarshal(b []byte) error {
  2264  	return xxx_messageInfo_MessageSignature.Unmarshal(m, b)
  2265  }
  2266  func (m *MessageSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2267  	return xxx_messageInfo_MessageSignature.Marshal(b, m, deterministic)
  2268  }
  2269  func (m *MessageSignature) XXX_Merge(src proto.Message) {
  2270  	xxx_messageInfo_MessageSignature.Merge(m, src)
  2271  }
  2272  func (m *MessageSignature) XXX_Size() int {
  2273  	return xxx_messageInfo_MessageSignature.Size(m)
  2274  }
  2275  func (m *MessageSignature) XXX_DiscardUnknown() {
  2276  	xxx_messageInfo_MessageSignature.DiscardUnknown(m)
  2277  }
  2278  
  2279  var xxx_messageInfo_MessageSignature proto.InternalMessageInfo
  2280  
  2281  func (m *MessageSignature) GetAddress() string {
  2282  	if m != nil && m.Address != nil {
  2283  		return *m.Address
  2284  	}
  2285  	return ""
  2286  }
  2287  
  2288  func (m *MessageSignature) GetSignature() []byte {
  2289  	if m != nil {
  2290  		return m.Signature
  2291  	}
  2292  	return nil
  2293  }
  2294  
  2295  //*
  2296  // Request: Ask device to encrypt message
  2297  // @next EncryptedMessage
  2298  // @next Failure
  2299  type EncryptMessage struct {
  2300  	Pubkey               []byte   `protobuf:"bytes,1,opt,name=pubkey" json:"pubkey,omitempty"`
  2301  	Message              []byte   `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
  2302  	DisplayOnly          *bool    `protobuf:"varint,3,opt,name=display_only,json=displayOnly" json:"display_only,omitempty"`
  2303  	AddressN             []uint32 `protobuf:"varint,4,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
  2304  	CoinName             *string  `protobuf:"bytes,5,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
  2305  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2306  	XXX_unrecognized     []byte   `json:"-"`
  2307  	XXX_sizecache        int32    `json:"-"`
  2308  }
  2309  
  2310  func (m *EncryptMessage) Reset()         { *m = EncryptMessage{} }
  2311  func (m *EncryptMessage) String() string { return proto.CompactTextString(m) }
  2312  func (*EncryptMessage) ProtoMessage()    {}
  2313  func (*EncryptMessage) Descriptor() ([]byte, []int) {
  2314  	return fileDescriptor_4dc296cbfe5ffcd5, []int{37}
  2315  }
  2316  func (m *EncryptMessage) XXX_Unmarshal(b []byte) error {
  2317  	return xxx_messageInfo_EncryptMessage.Unmarshal(m, b)
  2318  }
  2319  func (m *EncryptMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2320  	return xxx_messageInfo_EncryptMessage.Marshal(b, m, deterministic)
  2321  }
  2322  func (m *EncryptMessage) XXX_Merge(src proto.Message) {
  2323  	xxx_messageInfo_EncryptMessage.Merge(m, src)
  2324  }
  2325  func (m *EncryptMessage) XXX_Size() int {
  2326  	return xxx_messageInfo_EncryptMessage.Size(m)
  2327  }
  2328  func (m *EncryptMessage) XXX_DiscardUnknown() {
  2329  	xxx_messageInfo_EncryptMessage.DiscardUnknown(m)
  2330  }
  2331  
  2332  var xxx_messageInfo_EncryptMessage proto.InternalMessageInfo
  2333  
  2334  const Default_EncryptMessage_CoinName string = "Bitcoin"
  2335  
  2336  func (m *EncryptMessage) GetPubkey() []byte {
  2337  	if m != nil {
  2338  		return m.Pubkey
  2339  	}
  2340  	return nil
  2341  }
  2342  
  2343  func (m *EncryptMessage) GetMessage() []byte {
  2344  	if m != nil {
  2345  		return m.Message
  2346  	}
  2347  	return nil
  2348  }
  2349  
  2350  func (m *EncryptMessage) GetDisplayOnly() bool {
  2351  	if m != nil && m.DisplayOnly != nil {
  2352  		return *m.DisplayOnly
  2353  	}
  2354  	return false
  2355  }
  2356  
  2357  func (m *EncryptMessage) GetAddressN() []uint32 {
  2358  	if m != nil {
  2359  		return m.AddressN
  2360  	}
  2361  	return nil
  2362  }
  2363  
  2364  func (m *EncryptMessage) GetCoinName() string {
  2365  	if m != nil && m.CoinName != nil {
  2366  		return *m.CoinName
  2367  	}
  2368  	return Default_EncryptMessage_CoinName
  2369  }
  2370  
  2371  //*
  2372  // Response: Encrypted message
  2373  // @prev EncryptMessage
  2374  type EncryptedMessage struct {
  2375  	Nonce                []byte   `protobuf:"bytes,1,opt,name=nonce" json:"nonce,omitempty"`
  2376  	Message              []byte   `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
  2377  	Hmac                 []byte   `protobuf:"bytes,3,opt,name=hmac" json:"hmac,omitempty"`
  2378  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2379  	XXX_unrecognized     []byte   `json:"-"`
  2380  	XXX_sizecache        int32    `json:"-"`
  2381  }
  2382  
  2383  func (m *EncryptedMessage) Reset()         { *m = EncryptedMessage{} }
  2384  func (m *EncryptedMessage) String() string { return proto.CompactTextString(m) }
  2385  func (*EncryptedMessage) ProtoMessage()    {}
  2386  func (*EncryptedMessage) Descriptor() ([]byte, []int) {
  2387  	return fileDescriptor_4dc296cbfe5ffcd5, []int{38}
  2388  }
  2389  func (m *EncryptedMessage) XXX_Unmarshal(b []byte) error {
  2390  	return xxx_messageInfo_EncryptedMessage.Unmarshal(m, b)
  2391  }
  2392  func (m *EncryptedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2393  	return xxx_messageInfo_EncryptedMessage.Marshal(b, m, deterministic)
  2394  }
  2395  func (m *EncryptedMessage) XXX_Merge(src proto.Message) {
  2396  	xxx_messageInfo_EncryptedMessage.Merge(m, src)
  2397  }
  2398  func (m *EncryptedMessage) XXX_Size() int {
  2399  	return xxx_messageInfo_EncryptedMessage.Size(m)
  2400  }
  2401  func (m *EncryptedMessage) XXX_DiscardUnknown() {
  2402  	xxx_messageInfo_EncryptedMessage.DiscardUnknown(m)
  2403  }
  2404  
  2405  var xxx_messageInfo_EncryptedMessage proto.InternalMessageInfo
  2406  
  2407  func (m *EncryptedMessage) GetNonce() []byte {
  2408  	if m != nil {
  2409  		return m.Nonce
  2410  	}
  2411  	return nil
  2412  }
  2413  
  2414  func (m *EncryptedMessage) GetMessage() []byte {
  2415  	if m != nil {
  2416  		return m.Message
  2417  	}
  2418  	return nil
  2419  }
  2420  
  2421  func (m *EncryptedMessage) GetHmac() []byte {
  2422  	if m != nil {
  2423  		return m.Hmac
  2424  	}
  2425  	return nil
  2426  }
  2427  
  2428  //*
  2429  // Request: Ask device to decrypt message
  2430  // @next Success
  2431  // @next Failure
  2432  type DecryptMessage struct {
  2433  	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
  2434  	Nonce                []byte   `protobuf:"bytes,2,opt,name=nonce" json:"nonce,omitempty"`
  2435  	Message              []byte   `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
  2436  	Hmac                 []byte   `protobuf:"bytes,4,opt,name=hmac" json:"hmac,omitempty"`
  2437  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2438  	XXX_unrecognized     []byte   `json:"-"`
  2439  	XXX_sizecache        int32    `json:"-"`
  2440  }
  2441  
  2442  func (m *DecryptMessage) Reset()         { *m = DecryptMessage{} }
  2443  func (m *DecryptMessage) String() string { return proto.CompactTextString(m) }
  2444  func (*DecryptMessage) ProtoMessage()    {}
  2445  func (*DecryptMessage) Descriptor() ([]byte, []int) {
  2446  	return fileDescriptor_4dc296cbfe5ffcd5, []int{39}
  2447  }
  2448  func (m *DecryptMessage) XXX_Unmarshal(b []byte) error {
  2449  	return xxx_messageInfo_DecryptMessage.Unmarshal(m, b)
  2450  }
  2451  func (m *DecryptMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2452  	return xxx_messageInfo_DecryptMessage.Marshal(b, m, deterministic)
  2453  }
  2454  func (m *DecryptMessage) XXX_Merge(src proto.Message) {
  2455  	xxx_messageInfo_DecryptMessage.Merge(m, src)
  2456  }
  2457  func (m *DecryptMessage) XXX_Size() int {
  2458  	return xxx_messageInfo_DecryptMessage.Size(m)
  2459  }
  2460  func (m *DecryptMessage) XXX_DiscardUnknown() {
  2461  	xxx_messageInfo_DecryptMessage.DiscardUnknown(m)
  2462  }
  2463  
  2464  var xxx_messageInfo_DecryptMessage proto.InternalMessageInfo
  2465  
  2466  func (m *DecryptMessage) GetAddressN() []uint32 {
  2467  	if m != nil {
  2468  		return m.AddressN
  2469  	}
  2470  	return nil
  2471  }
  2472  
  2473  func (m *DecryptMessage) GetNonce() []byte {
  2474  	if m != nil {
  2475  		return m.Nonce
  2476  	}
  2477  	return nil
  2478  }
  2479  
  2480  func (m *DecryptMessage) GetMessage() []byte {
  2481  	if m != nil {
  2482  		return m.Message
  2483  	}
  2484  	return nil
  2485  }
  2486  
  2487  func (m *DecryptMessage) GetHmac() []byte {
  2488  	if m != nil {
  2489  		return m.Hmac
  2490  	}
  2491  	return nil
  2492  }
  2493  
  2494  //*
  2495  // Response: Decrypted message
  2496  // @prev DecryptedMessage
  2497  type DecryptedMessage struct {
  2498  	Message              []byte   `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
  2499  	Address              *string  `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
  2500  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2501  	XXX_unrecognized     []byte   `json:"-"`
  2502  	XXX_sizecache        int32    `json:"-"`
  2503  }
  2504  
  2505  func (m *DecryptedMessage) Reset()         { *m = DecryptedMessage{} }
  2506  func (m *DecryptedMessage) String() string { return proto.CompactTextString(m) }
  2507  func (*DecryptedMessage) ProtoMessage()    {}
  2508  func (*DecryptedMessage) Descriptor() ([]byte, []int) {
  2509  	return fileDescriptor_4dc296cbfe5ffcd5, []int{40}
  2510  }
  2511  func (m *DecryptedMessage) XXX_Unmarshal(b []byte) error {
  2512  	return xxx_messageInfo_DecryptedMessage.Unmarshal(m, b)
  2513  }
  2514  func (m *DecryptedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2515  	return xxx_messageInfo_DecryptedMessage.Marshal(b, m, deterministic)
  2516  }
  2517  func (m *DecryptedMessage) XXX_Merge(src proto.Message) {
  2518  	xxx_messageInfo_DecryptedMessage.Merge(m, src)
  2519  }
  2520  func (m *DecryptedMessage) XXX_Size() int {
  2521  	return xxx_messageInfo_DecryptedMessage.Size(m)
  2522  }
  2523  func (m *DecryptedMessage) XXX_DiscardUnknown() {
  2524  	xxx_messageInfo_DecryptedMessage.DiscardUnknown(m)
  2525  }
  2526  
  2527  var xxx_messageInfo_DecryptedMessage proto.InternalMessageInfo
  2528  
  2529  func (m *DecryptedMessage) GetMessage() []byte {
  2530  	if m != nil {
  2531  		return m.Message
  2532  	}
  2533  	return nil
  2534  }
  2535  
  2536  func (m *DecryptedMessage) GetAddress() string {
  2537  	if m != nil && m.Address != nil {
  2538  		return *m.Address
  2539  	}
  2540  	return ""
  2541  }
  2542  
  2543  //*
  2544  // Request: Ask device to encrypt or decrypt value of given key
  2545  // @next CipheredKeyValue
  2546  // @next Failure
  2547  type CipherKeyValue struct {
  2548  	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
  2549  	Key                  *string  `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
  2550  	Value                []byte   `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
  2551  	Encrypt              *bool    `protobuf:"varint,4,opt,name=encrypt" json:"encrypt,omitempty"`
  2552  	AskOnEncrypt         *bool    `protobuf:"varint,5,opt,name=ask_on_encrypt,json=askOnEncrypt" json:"ask_on_encrypt,omitempty"`
  2553  	AskOnDecrypt         *bool    `protobuf:"varint,6,opt,name=ask_on_decrypt,json=askOnDecrypt" json:"ask_on_decrypt,omitempty"`
  2554  	Iv                   []byte   `protobuf:"bytes,7,opt,name=iv" json:"iv,omitempty"`
  2555  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2556  	XXX_unrecognized     []byte   `json:"-"`
  2557  	XXX_sizecache        int32    `json:"-"`
  2558  }
  2559  
  2560  func (m *CipherKeyValue) Reset()         { *m = CipherKeyValue{} }
  2561  func (m *CipherKeyValue) String() string { return proto.CompactTextString(m) }
  2562  func (*CipherKeyValue) ProtoMessage()    {}
  2563  func (*CipherKeyValue) Descriptor() ([]byte, []int) {
  2564  	return fileDescriptor_4dc296cbfe5ffcd5, []int{41}
  2565  }
  2566  func (m *CipherKeyValue) XXX_Unmarshal(b []byte) error {
  2567  	return xxx_messageInfo_CipherKeyValue.Unmarshal(m, b)
  2568  }
  2569  func (m *CipherKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2570  	return xxx_messageInfo_CipherKeyValue.Marshal(b, m, deterministic)
  2571  }
  2572  func (m *CipherKeyValue) XXX_Merge(src proto.Message) {
  2573  	xxx_messageInfo_CipherKeyValue.Merge(m, src)
  2574  }
  2575  func (m *CipherKeyValue) XXX_Size() int {
  2576  	return xxx_messageInfo_CipherKeyValue.Size(m)
  2577  }
  2578  func (m *CipherKeyValue) XXX_DiscardUnknown() {
  2579  	xxx_messageInfo_CipherKeyValue.DiscardUnknown(m)
  2580  }
  2581  
  2582  var xxx_messageInfo_CipherKeyValue proto.InternalMessageInfo
  2583  
  2584  func (m *CipherKeyValue) GetAddressN() []uint32 {
  2585  	if m != nil {
  2586  		return m.AddressN
  2587  	}
  2588  	return nil
  2589  }
  2590  
  2591  func (m *CipherKeyValue) GetKey() string {
  2592  	if m != nil && m.Key != nil {
  2593  		return *m.Key
  2594  	}
  2595  	return ""
  2596  }
  2597  
  2598  func (m *CipherKeyValue) GetValue() []byte {
  2599  	if m != nil {
  2600  		return m.Value
  2601  	}
  2602  	return nil
  2603  }
  2604  
  2605  func (m *CipherKeyValue) GetEncrypt() bool {
  2606  	if m != nil && m.Encrypt != nil {
  2607  		return *m.Encrypt
  2608  	}
  2609  	return false
  2610  }
  2611  
  2612  func (m *CipherKeyValue) GetAskOnEncrypt() bool {
  2613  	if m != nil && m.AskOnEncrypt != nil {
  2614  		return *m.AskOnEncrypt
  2615  	}
  2616  	return false
  2617  }
  2618  
  2619  func (m *CipherKeyValue) GetAskOnDecrypt() bool {
  2620  	if m != nil && m.AskOnDecrypt != nil {
  2621  		return *m.AskOnDecrypt
  2622  	}
  2623  	return false
  2624  }
  2625  
  2626  func (m *CipherKeyValue) GetIv() []byte {
  2627  	if m != nil {
  2628  		return m.Iv
  2629  	}
  2630  	return nil
  2631  }
  2632  
  2633  //*
  2634  // Response: Return ciphered/deciphered value
  2635  // @prev CipherKeyValue
  2636  type CipheredKeyValue struct {
  2637  	Value                []byte   `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
  2638  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2639  	XXX_unrecognized     []byte   `json:"-"`
  2640  	XXX_sizecache        int32    `json:"-"`
  2641  }
  2642  
  2643  func (m *CipheredKeyValue) Reset()         { *m = CipheredKeyValue{} }
  2644  func (m *CipheredKeyValue) String() string { return proto.CompactTextString(m) }
  2645  func (*CipheredKeyValue) ProtoMessage()    {}
  2646  func (*CipheredKeyValue) Descriptor() ([]byte, []int) {
  2647  	return fileDescriptor_4dc296cbfe5ffcd5, []int{42}
  2648  }
  2649  func (m *CipheredKeyValue) XXX_Unmarshal(b []byte) error {
  2650  	return xxx_messageInfo_CipheredKeyValue.Unmarshal(m, b)
  2651  }
  2652  func (m *CipheredKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2653  	return xxx_messageInfo_CipheredKeyValue.Marshal(b, m, deterministic)
  2654  }
  2655  func (m *CipheredKeyValue) XXX_Merge(src proto.Message) {
  2656  	xxx_messageInfo_CipheredKeyValue.Merge(m, src)
  2657  }
  2658  func (m *CipheredKeyValue) XXX_Size() int {
  2659  	return xxx_messageInfo_CipheredKeyValue.Size(m)
  2660  }
  2661  func (m *CipheredKeyValue) XXX_DiscardUnknown() {
  2662  	xxx_messageInfo_CipheredKeyValue.DiscardUnknown(m)
  2663  }
  2664  
  2665  var xxx_messageInfo_CipheredKeyValue proto.InternalMessageInfo
  2666  
  2667  func (m *CipheredKeyValue) GetValue() []byte {
  2668  	if m != nil {
  2669  		return m.Value
  2670  	}
  2671  	return nil
  2672  }
  2673  
  2674  //*
  2675  // Request: Estimated size of the transaction
  2676  // This behaves exactly like SignTx, which means that it can ask using TxRequest
  2677  // This call is non-blocking (except possible PassphraseRequest to unlock the
  2678  // seed)
  2679  // @next TxSize
  2680  // @next Failure
  2681  type EstimateTxSize struct {
  2682  	OutputsCount         *uint32  `protobuf:"varint,1,req,name=outputs_count,json=outputsCount" json:"outputs_count,omitempty"`
  2683  	InputsCount          *uint32  `protobuf:"varint,2,req,name=inputs_count,json=inputsCount" json:"inputs_count,omitempty"`
  2684  	CoinName             *string  `protobuf:"bytes,3,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
  2685  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2686  	XXX_unrecognized     []byte   `json:"-"`
  2687  	XXX_sizecache        int32    `json:"-"`
  2688  }
  2689  
  2690  func (m *EstimateTxSize) Reset()         { *m = EstimateTxSize{} }
  2691  func (m *EstimateTxSize) String() string { return proto.CompactTextString(m) }
  2692  func (*EstimateTxSize) ProtoMessage()    {}
  2693  func (*EstimateTxSize) Descriptor() ([]byte, []int) {
  2694  	return fileDescriptor_4dc296cbfe5ffcd5, []int{43}
  2695  }
  2696  func (m *EstimateTxSize) XXX_Unmarshal(b []byte) error {
  2697  	return xxx_messageInfo_EstimateTxSize.Unmarshal(m, b)
  2698  }
  2699  func (m *EstimateTxSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2700  	return xxx_messageInfo_EstimateTxSize.Marshal(b, m, deterministic)
  2701  }
  2702  func (m *EstimateTxSize) XXX_Merge(src proto.Message) {
  2703  	xxx_messageInfo_EstimateTxSize.Merge(m, src)
  2704  }
  2705  func (m *EstimateTxSize) XXX_Size() int {
  2706  	return xxx_messageInfo_EstimateTxSize.Size(m)
  2707  }
  2708  func (m *EstimateTxSize) XXX_DiscardUnknown() {
  2709  	xxx_messageInfo_EstimateTxSize.DiscardUnknown(m)
  2710  }
  2711  
  2712  var xxx_messageInfo_EstimateTxSize proto.InternalMessageInfo
  2713  
  2714  const Default_EstimateTxSize_CoinName string = "Bitcoin"
  2715  
  2716  func (m *EstimateTxSize) GetOutputsCount() uint32 {
  2717  	if m != nil && m.OutputsCount != nil {
  2718  		return *m.OutputsCount
  2719  	}
  2720  	return 0
  2721  }
  2722  
  2723  func (m *EstimateTxSize) GetInputsCount() uint32 {
  2724  	if m != nil && m.InputsCount != nil {
  2725  		return *m.InputsCount
  2726  	}
  2727  	return 0
  2728  }
  2729  
  2730  func (m *EstimateTxSize) GetCoinName() string {
  2731  	if m != nil && m.CoinName != nil {
  2732  		return *m.CoinName
  2733  	}
  2734  	return Default_EstimateTxSize_CoinName
  2735  }
  2736  
  2737  //*
  2738  // Response: Estimated size of the transaction
  2739  // @prev EstimateTxSize
  2740  type TxSize struct {
  2741  	TxSize               *uint32  `protobuf:"varint,1,opt,name=tx_size,json=txSize" json:"tx_size,omitempty"`
  2742  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2743  	XXX_unrecognized     []byte   `json:"-"`
  2744  	XXX_sizecache        int32    `json:"-"`
  2745  }
  2746  
  2747  func (m *TxSize) Reset()         { *m = TxSize{} }
  2748  func (m *TxSize) String() string { return proto.CompactTextString(m) }
  2749  func (*TxSize) ProtoMessage()    {}
  2750  func (*TxSize) Descriptor() ([]byte, []int) {
  2751  	return fileDescriptor_4dc296cbfe5ffcd5, []int{44}
  2752  }
  2753  func (m *TxSize) XXX_Unmarshal(b []byte) error {
  2754  	return xxx_messageInfo_TxSize.Unmarshal(m, b)
  2755  }
  2756  func (m *TxSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2757  	return xxx_messageInfo_TxSize.Marshal(b, m, deterministic)
  2758  }
  2759  func (m *TxSize) XXX_Merge(src proto.Message) {
  2760  	xxx_messageInfo_TxSize.Merge(m, src)
  2761  }
  2762  func (m *TxSize) XXX_Size() int {
  2763  	return xxx_messageInfo_TxSize.Size(m)
  2764  }
  2765  func (m *TxSize) XXX_DiscardUnknown() {
  2766  	xxx_messageInfo_TxSize.DiscardUnknown(m)
  2767  }
  2768  
  2769  var xxx_messageInfo_TxSize proto.InternalMessageInfo
  2770  
  2771  func (m *TxSize) GetTxSize() uint32 {
  2772  	if m != nil && m.TxSize != nil {
  2773  		return *m.TxSize
  2774  	}
  2775  	return 0
  2776  }
  2777  
  2778  //*
  2779  // Request: Ask device to sign transaction
  2780  // @next PassphraseRequest
  2781  // @next PinMatrixRequest
  2782  // @next TxRequest
  2783  // @next Failure
  2784  type SignTx struct {
  2785  	OutputsCount         *uint32  `protobuf:"varint,1,req,name=outputs_count,json=outputsCount" json:"outputs_count,omitempty"`
  2786  	InputsCount          *uint32  `protobuf:"varint,2,req,name=inputs_count,json=inputsCount" json:"inputs_count,omitempty"`
  2787  	CoinName             *string  `protobuf:"bytes,3,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
  2788  	Version              *uint32  `protobuf:"varint,4,opt,name=version,def=1" json:"version,omitempty"`
  2789  	LockTime             *uint32  `protobuf:"varint,5,opt,name=lock_time,json=lockTime,def=0" json:"lock_time,omitempty"`
  2790  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2791  	XXX_unrecognized     []byte   `json:"-"`
  2792  	XXX_sizecache        int32    `json:"-"`
  2793  }
  2794  
  2795  func (m *SignTx) Reset()         { *m = SignTx{} }
  2796  func (m *SignTx) String() string { return proto.CompactTextString(m) }
  2797  func (*SignTx) ProtoMessage()    {}
  2798  func (*SignTx) Descriptor() ([]byte, []int) {
  2799  	return fileDescriptor_4dc296cbfe5ffcd5, []int{45}
  2800  }
  2801  func (m *SignTx) XXX_Unmarshal(b []byte) error {
  2802  	return xxx_messageInfo_SignTx.Unmarshal(m, b)
  2803  }
  2804  func (m *SignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2805  	return xxx_messageInfo_SignTx.Marshal(b, m, deterministic)
  2806  }
  2807  func (m *SignTx) XXX_Merge(src proto.Message) {
  2808  	xxx_messageInfo_SignTx.Merge(m, src)
  2809  }
  2810  func (m *SignTx) XXX_Size() int {
  2811  	return xxx_messageInfo_SignTx.Size(m)
  2812  }
  2813  func (m *SignTx) XXX_DiscardUnknown() {
  2814  	xxx_messageInfo_SignTx.DiscardUnknown(m)
  2815  }
  2816  
  2817  var xxx_messageInfo_SignTx proto.InternalMessageInfo
  2818  
  2819  const Default_SignTx_CoinName string = "Bitcoin"
  2820  const Default_SignTx_Version uint32 = 1
  2821  const Default_SignTx_LockTime uint32 = 0
  2822  
  2823  func (m *SignTx) GetOutputsCount() uint32 {
  2824  	if m != nil && m.OutputsCount != nil {
  2825  		return *m.OutputsCount
  2826  	}
  2827  	return 0
  2828  }
  2829  
  2830  func (m *SignTx) GetInputsCount() uint32 {
  2831  	if m != nil && m.InputsCount != nil {
  2832  		return *m.InputsCount
  2833  	}
  2834  	return 0
  2835  }
  2836  
  2837  func (m *SignTx) GetCoinName() string {
  2838  	if m != nil && m.CoinName != nil {
  2839  		return *m.CoinName
  2840  	}
  2841  	return Default_SignTx_CoinName
  2842  }
  2843  
  2844  func (m *SignTx) GetVersion() uint32 {
  2845  	if m != nil && m.Version != nil {
  2846  		return *m.Version
  2847  	}
  2848  	return Default_SignTx_Version
  2849  }
  2850  
  2851  func (m *SignTx) GetLockTime() uint32 {
  2852  	if m != nil && m.LockTime != nil {
  2853  		return *m.LockTime
  2854  	}
  2855  	return Default_SignTx_LockTime
  2856  }
  2857  
  2858  //*
  2859  // Request: Simplified transaction signing
  2860  // This method doesn't support streaming, so there are hardware limits in number
  2861  // of inputs and outputs. In case of success, the result is returned using
  2862  // TxRequest message.
  2863  // @next PassphraseRequest
  2864  // @next PinMatrixRequest
  2865  // @next TxRequest
  2866  // @next Failure
  2867  type SimpleSignTx struct {
  2868  	Inputs               []*TxInputType     `protobuf:"bytes,1,rep,name=inputs" json:"inputs,omitempty"`
  2869  	Outputs              []*TxOutputType    `protobuf:"bytes,2,rep,name=outputs" json:"outputs,omitempty"`
  2870  	Transactions         []*TransactionType `protobuf:"bytes,3,rep,name=transactions" json:"transactions,omitempty"`
  2871  	CoinName             *string            `protobuf:"bytes,4,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
  2872  	Version              *uint32            `protobuf:"varint,5,opt,name=version,def=1" json:"version,omitempty"`
  2873  	LockTime             *uint32            `protobuf:"varint,6,opt,name=lock_time,json=lockTime,def=0" json:"lock_time,omitempty"`
  2874  	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
  2875  	XXX_unrecognized     []byte             `json:"-"`
  2876  	XXX_sizecache        int32              `json:"-"`
  2877  }
  2878  
  2879  func (m *SimpleSignTx) Reset()         { *m = SimpleSignTx{} }
  2880  func (m *SimpleSignTx) String() string { return proto.CompactTextString(m) }
  2881  func (*SimpleSignTx) ProtoMessage()    {}
  2882  func (*SimpleSignTx) Descriptor() ([]byte, []int) {
  2883  	return fileDescriptor_4dc296cbfe5ffcd5, []int{46}
  2884  }
  2885  func (m *SimpleSignTx) XXX_Unmarshal(b []byte) error {
  2886  	return xxx_messageInfo_SimpleSignTx.Unmarshal(m, b)
  2887  }
  2888  func (m *SimpleSignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2889  	return xxx_messageInfo_SimpleSignTx.Marshal(b, m, deterministic)
  2890  }
  2891  func (m *SimpleSignTx) XXX_Merge(src proto.Message) {
  2892  	xxx_messageInfo_SimpleSignTx.Merge(m, src)
  2893  }
  2894  func (m *SimpleSignTx) XXX_Size() int {
  2895  	return xxx_messageInfo_SimpleSignTx.Size(m)
  2896  }
  2897  func (m *SimpleSignTx) XXX_DiscardUnknown() {
  2898  	xxx_messageInfo_SimpleSignTx.DiscardUnknown(m)
  2899  }
  2900  
  2901  var xxx_messageInfo_SimpleSignTx proto.InternalMessageInfo
  2902  
  2903  const Default_SimpleSignTx_CoinName string = "Bitcoin"
  2904  const Default_SimpleSignTx_Version uint32 = 1
  2905  const Default_SimpleSignTx_LockTime uint32 = 0
  2906  
  2907  func (m *SimpleSignTx) GetInputs() []*TxInputType {
  2908  	if m != nil {
  2909  		return m.Inputs
  2910  	}
  2911  	return nil
  2912  }
  2913  
  2914  func (m *SimpleSignTx) GetOutputs() []*TxOutputType {
  2915  	if m != nil {
  2916  		return m.Outputs
  2917  	}
  2918  	return nil
  2919  }
  2920  
  2921  func (m *SimpleSignTx) GetTransactions() []*TransactionType {
  2922  	if m != nil {
  2923  		return m.Transactions
  2924  	}
  2925  	return nil
  2926  }
  2927  
  2928  func (m *SimpleSignTx) GetCoinName() string {
  2929  	if m != nil && m.CoinName != nil {
  2930  		return *m.CoinName
  2931  	}
  2932  	return Default_SimpleSignTx_CoinName
  2933  }
  2934  
  2935  func (m *SimpleSignTx) GetVersion() uint32 {
  2936  	if m != nil && m.Version != nil {
  2937  		return *m.Version
  2938  	}
  2939  	return Default_SimpleSignTx_Version
  2940  }
  2941  
  2942  func (m *SimpleSignTx) GetLockTime() uint32 {
  2943  	if m != nil && m.LockTime != nil {
  2944  		return *m.LockTime
  2945  	}
  2946  	return Default_SimpleSignTx_LockTime
  2947  }
  2948  
  2949  //*
  2950  // Response: Device asks for information for signing transaction or returns the
  2951  // last result If request_index is set, device awaits TxAck message (with fields
  2952  // filled in according to request_type) If signature_index is set, 'signature'
  2953  // contains signed input of signature_index's input
  2954  // @prev SignTx
  2955  // @prev SimpleSignTx
  2956  // @prev TxAck
  2957  type TxRequest struct {
  2958  	RequestType          *RequestType             `protobuf:"varint,1,opt,name=request_type,json=requestType,enum=RequestType" json:"request_type,omitempty"`
  2959  	Details              *TxRequestDetailsType    `protobuf:"bytes,2,opt,name=details" json:"details,omitempty"`
  2960  	Serialized           *TxRequestSerializedType `protobuf:"bytes,3,opt,name=serialized" json:"serialized,omitempty"`
  2961  	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
  2962  	XXX_unrecognized     []byte                   `json:"-"`
  2963  	XXX_sizecache        int32                    `json:"-"`
  2964  }
  2965  
  2966  func (m *TxRequest) Reset()         { *m = TxRequest{} }
  2967  func (m *TxRequest) String() string { return proto.CompactTextString(m) }
  2968  func (*TxRequest) ProtoMessage()    {}
  2969  func (*TxRequest) Descriptor() ([]byte, []int) {
  2970  	return fileDescriptor_4dc296cbfe5ffcd5, []int{47}
  2971  }
  2972  func (m *TxRequest) XXX_Unmarshal(b []byte) error {
  2973  	return xxx_messageInfo_TxRequest.Unmarshal(m, b)
  2974  }
  2975  func (m *TxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2976  	return xxx_messageInfo_TxRequest.Marshal(b, m, deterministic)
  2977  }
  2978  func (m *TxRequest) XXX_Merge(src proto.Message) {
  2979  	xxx_messageInfo_TxRequest.Merge(m, src)
  2980  }
  2981  func (m *TxRequest) XXX_Size() int {
  2982  	return xxx_messageInfo_TxRequest.Size(m)
  2983  }
  2984  func (m *TxRequest) XXX_DiscardUnknown() {
  2985  	xxx_messageInfo_TxRequest.DiscardUnknown(m)
  2986  }
  2987  
  2988  var xxx_messageInfo_TxRequest proto.InternalMessageInfo
  2989  
  2990  func (m *TxRequest) GetRequestType() RequestType {
  2991  	if m != nil && m.RequestType != nil {
  2992  		return *m.RequestType
  2993  	}
  2994  	return RequestType_TXINPUT
  2995  }
  2996  
  2997  func (m *TxRequest) GetDetails() *TxRequestDetailsType {
  2998  	if m != nil {
  2999  		return m.Details
  3000  	}
  3001  	return nil
  3002  }
  3003  
  3004  func (m *TxRequest) GetSerialized() *TxRequestSerializedType {
  3005  	if m != nil {
  3006  		return m.Serialized
  3007  	}
  3008  	return nil
  3009  }
  3010  
  3011  //*
  3012  // Request: Reported transaction data
  3013  // @prev TxRequest
  3014  // @next TxRequest
  3015  type TxAck struct {
  3016  	Tx                   *TransactionType `protobuf:"bytes,1,opt,name=tx" json:"tx,omitempty"`
  3017  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
  3018  	XXX_unrecognized     []byte           `json:"-"`
  3019  	XXX_sizecache        int32            `json:"-"`
  3020  }
  3021  
  3022  func (m *TxAck) Reset()         { *m = TxAck{} }
  3023  func (m *TxAck) String() string { return proto.CompactTextString(m) }
  3024  func (*TxAck) ProtoMessage()    {}
  3025  func (*TxAck) Descriptor() ([]byte, []int) {
  3026  	return fileDescriptor_4dc296cbfe5ffcd5, []int{48}
  3027  }
  3028  func (m *TxAck) XXX_Unmarshal(b []byte) error {
  3029  	return xxx_messageInfo_TxAck.Unmarshal(m, b)
  3030  }
  3031  func (m *TxAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3032  	return xxx_messageInfo_TxAck.Marshal(b, m, deterministic)
  3033  }
  3034  func (m *TxAck) XXX_Merge(src proto.Message) {
  3035  	xxx_messageInfo_TxAck.Merge(m, src)
  3036  }
  3037  func (m *TxAck) XXX_Size() int {
  3038  	return xxx_messageInfo_TxAck.Size(m)
  3039  }
  3040  func (m *TxAck) XXX_DiscardUnknown() {
  3041  	xxx_messageInfo_TxAck.DiscardUnknown(m)
  3042  }
  3043  
  3044  var xxx_messageInfo_TxAck proto.InternalMessageInfo
  3045  
  3046  func (m *TxAck) GetTx() *TransactionType {
  3047  	if m != nil {
  3048  		return m.Tx
  3049  	}
  3050  	return nil
  3051  }
  3052  
  3053  //*
  3054  // Request: Ask device to sign transaction
  3055  // All fields are optional from the protocol's point of view. Each field
  3056  // defaults to value `0` if missing. Note: the first at most 1024 bytes of data
  3057  // MUST be transmitted as part of this message.
  3058  // @next PassphraseRequest
  3059  // @next PinMatrixRequest
  3060  // @next AquachainTxRequest
  3061  // @next Failure
  3062  type AquachainSignTx struct {
  3063  	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
  3064  	Nonce                []byte   `protobuf:"bytes,2,opt,name=nonce" json:"nonce,omitempty"`
  3065  	GasPrice             []byte   `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice" json:"gas_price,omitempty"`
  3066  	GasLimit             []byte   `protobuf:"bytes,4,opt,name=gas_limit,json=gasLimit" json:"gas_limit,omitempty"`
  3067  	To                   []byte   `protobuf:"bytes,5,opt,name=to" json:"to,omitempty"`
  3068  	Value                []byte   `protobuf:"bytes,6,opt,name=value" json:"value,omitempty"`
  3069  	DataInitialChunk     []byte   `protobuf:"bytes,7,opt,name=data_initial_chunk,json=dataInitialChunk" json:"data_initial_chunk,omitempty"`
  3070  	DataLength           *uint32  `protobuf:"varint,8,opt,name=data_length,json=dataLength" json:"data_length,omitempty"`
  3071  	ChainId              *uint32  `protobuf:"varint,9,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"`
  3072  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3073  	XXX_unrecognized     []byte   `json:"-"`
  3074  	XXX_sizecache        int32    `json:"-"`
  3075  }
  3076  
  3077  func (m *AquachainSignTx) Reset()         { *m = AquachainSignTx{} }
  3078  func (m *AquachainSignTx) String() string { return proto.CompactTextString(m) }
  3079  func (*AquachainSignTx) ProtoMessage()    {}
  3080  func (*AquachainSignTx) Descriptor() ([]byte, []int) {
  3081  	return fileDescriptor_4dc296cbfe5ffcd5, []int{49}
  3082  }
  3083  func (m *AquachainSignTx) XXX_Unmarshal(b []byte) error {
  3084  	return xxx_messageInfo_AquachainSignTx.Unmarshal(m, b)
  3085  }
  3086  func (m *AquachainSignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3087  	return xxx_messageInfo_AquachainSignTx.Marshal(b, m, deterministic)
  3088  }
  3089  func (m *AquachainSignTx) XXX_Merge(src proto.Message) {
  3090  	xxx_messageInfo_AquachainSignTx.Merge(m, src)
  3091  }
  3092  func (m *AquachainSignTx) XXX_Size() int {
  3093  	return xxx_messageInfo_AquachainSignTx.Size(m)
  3094  }
  3095  func (m *AquachainSignTx) XXX_DiscardUnknown() {
  3096  	xxx_messageInfo_AquachainSignTx.DiscardUnknown(m)
  3097  }
  3098  
  3099  var xxx_messageInfo_AquachainSignTx proto.InternalMessageInfo
  3100  
  3101  func (m *AquachainSignTx) GetAddressN() []uint32 {
  3102  	if m != nil {
  3103  		return m.AddressN
  3104  	}
  3105  	return nil
  3106  }
  3107  
  3108  func (m *AquachainSignTx) GetNonce() []byte {
  3109  	if m != nil {
  3110  		return m.Nonce
  3111  	}
  3112  	return nil
  3113  }
  3114  
  3115  func (m *AquachainSignTx) GetGasPrice() []byte {
  3116  	if m != nil {
  3117  		return m.GasPrice
  3118  	}
  3119  	return nil
  3120  }
  3121  
  3122  func (m *AquachainSignTx) GetGasLimit() []byte {
  3123  	if m != nil {
  3124  		return m.GasLimit
  3125  	}
  3126  	return nil
  3127  }
  3128  
  3129  func (m *AquachainSignTx) GetTo() []byte {
  3130  	if m != nil {
  3131  		return m.To
  3132  	}
  3133  	return nil
  3134  }
  3135  
  3136  func (m *AquachainSignTx) GetValue() []byte {
  3137  	if m != nil {
  3138  		return m.Value
  3139  	}
  3140  	return nil
  3141  }
  3142  
  3143  func (m *AquachainSignTx) GetDataInitialChunk() []byte {
  3144  	if m != nil {
  3145  		return m.DataInitialChunk
  3146  	}
  3147  	return nil
  3148  }
  3149  
  3150  func (m *AquachainSignTx) GetDataLength() uint32 {
  3151  	if m != nil && m.DataLength != nil {
  3152  		return *m.DataLength
  3153  	}
  3154  	return 0
  3155  }
  3156  
  3157  func (m *AquachainSignTx) GetChainId() uint32 {
  3158  	if m != nil && m.ChainId != nil {
  3159  		return *m.ChainId
  3160  	}
  3161  	return 0
  3162  }
  3163  
  3164  //*
  3165  // Response: Device asks for more data from transaction payload, or returns the
  3166  // signature. If data_length is set, device awaits that many more bytes of
  3167  // payload. Otherwise, the signature_* fields contain the computed transaction
  3168  // signature. All three fields will be present.
  3169  // @prev AquachainSignTx
  3170  // @next AquachainTxAck
  3171  type AquachainTxRequest struct {
  3172  	DataLength           *uint32  `protobuf:"varint,1,opt,name=data_length,json=dataLength" json:"data_length,omitempty"`
  3173  	SignatureV           *uint32  `protobuf:"varint,2,opt,name=signature_v,json=signatureV" json:"signature_v,omitempty"`
  3174  	SignatureR           []byte   `protobuf:"bytes,3,opt,name=signature_r,json=signatureR" json:"signature_r,omitempty"`
  3175  	SignatureS           []byte   `protobuf:"bytes,4,opt,name=signature_s,json=signatureS" json:"signature_s,omitempty"`
  3176  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3177  	XXX_unrecognized     []byte   `json:"-"`
  3178  	XXX_sizecache        int32    `json:"-"`
  3179  }
  3180  
  3181  func (m *AquachainTxRequest) Reset()         { *m = AquachainTxRequest{} }
  3182  func (m *AquachainTxRequest) String() string { return proto.CompactTextString(m) }
  3183  func (*AquachainTxRequest) ProtoMessage()    {}
  3184  func (*AquachainTxRequest) Descriptor() ([]byte, []int) {
  3185  	return fileDescriptor_4dc296cbfe5ffcd5, []int{50}
  3186  }
  3187  func (m *AquachainTxRequest) XXX_Unmarshal(b []byte) error {
  3188  	return xxx_messageInfo_AquachainTxRequest.Unmarshal(m, b)
  3189  }
  3190  func (m *AquachainTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3191  	return xxx_messageInfo_AquachainTxRequest.Marshal(b, m, deterministic)
  3192  }
  3193  func (m *AquachainTxRequest) XXX_Merge(src proto.Message) {
  3194  	xxx_messageInfo_AquachainTxRequest.Merge(m, src)
  3195  }
  3196  func (m *AquachainTxRequest) XXX_Size() int {
  3197  	return xxx_messageInfo_AquachainTxRequest.Size(m)
  3198  }
  3199  func (m *AquachainTxRequest) XXX_DiscardUnknown() {
  3200  	xxx_messageInfo_AquachainTxRequest.DiscardUnknown(m)
  3201  }
  3202  
  3203  var xxx_messageInfo_AquachainTxRequest proto.InternalMessageInfo
  3204  
  3205  func (m *AquachainTxRequest) GetDataLength() uint32 {
  3206  	if m != nil && m.DataLength != nil {
  3207  		return *m.DataLength
  3208  	}
  3209  	return 0
  3210  }
  3211  
  3212  func (m *AquachainTxRequest) GetSignatureV() uint32 {
  3213  	if m != nil && m.SignatureV != nil {
  3214  		return *m.SignatureV
  3215  	}
  3216  	return 0
  3217  }
  3218  
  3219  func (m *AquachainTxRequest) GetSignatureR() []byte {
  3220  	if m != nil {
  3221  		return m.SignatureR
  3222  	}
  3223  	return nil
  3224  }
  3225  
  3226  func (m *AquachainTxRequest) GetSignatureS() []byte {
  3227  	if m != nil {
  3228  		return m.SignatureS
  3229  	}
  3230  	return nil
  3231  }
  3232  
  3233  //*
  3234  // Request: Transaction payload data.
  3235  // @prev AquachainTxRequest
  3236  // @next AquachainTxRequest
  3237  type AquachainTxAck struct {
  3238  	DataChunk            []byte   `protobuf:"bytes,1,opt,name=data_chunk,json=dataChunk" json:"data_chunk,omitempty"`
  3239  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3240  	XXX_unrecognized     []byte   `json:"-"`
  3241  	XXX_sizecache        int32    `json:"-"`
  3242  }
  3243  
  3244  func (m *AquachainTxAck) Reset()         { *m = AquachainTxAck{} }
  3245  func (m *AquachainTxAck) String() string { return proto.CompactTextString(m) }
  3246  func (*AquachainTxAck) ProtoMessage()    {}
  3247  func (*AquachainTxAck) Descriptor() ([]byte, []int) {
  3248  	return fileDescriptor_4dc296cbfe5ffcd5, []int{51}
  3249  }
  3250  func (m *AquachainTxAck) XXX_Unmarshal(b []byte) error {
  3251  	return xxx_messageInfo_AquachainTxAck.Unmarshal(m, b)
  3252  }
  3253  func (m *AquachainTxAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3254  	return xxx_messageInfo_AquachainTxAck.Marshal(b, m, deterministic)
  3255  }
  3256  func (m *AquachainTxAck) XXX_Merge(src proto.Message) {
  3257  	xxx_messageInfo_AquachainTxAck.Merge(m, src)
  3258  }
  3259  func (m *AquachainTxAck) XXX_Size() int {
  3260  	return xxx_messageInfo_AquachainTxAck.Size(m)
  3261  }
  3262  func (m *AquachainTxAck) XXX_DiscardUnknown() {
  3263  	xxx_messageInfo_AquachainTxAck.DiscardUnknown(m)
  3264  }
  3265  
  3266  var xxx_messageInfo_AquachainTxAck proto.InternalMessageInfo
  3267  
  3268  func (m *AquachainTxAck) GetDataChunk() []byte {
  3269  	if m != nil {
  3270  		return m.DataChunk
  3271  	}
  3272  	return nil
  3273  }
  3274  
  3275  //*
  3276  // Request: Ask device to sign message
  3277  // @next AquachainMessageSignature
  3278  // @next Failure
  3279  type AquachainSignMessage struct {
  3280  	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
  3281  	Message              []byte   `protobuf:"bytes,2,req,name=message" json:"message,omitempty"`
  3282  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3283  	XXX_unrecognized     []byte   `json:"-"`
  3284  	XXX_sizecache        int32    `json:"-"`
  3285  }
  3286  
  3287  func (m *AquachainSignMessage) Reset()         { *m = AquachainSignMessage{} }
  3288  func (m *AquachainSignMessage) String() string { return proto.CompactTextString(m) }
  3289  func (*AquachainSignMessage) ProtoMessage()    {}
  3290  func (*AquachainSignMessage) Descriptor() ([]byte, []int) {
  3291  	return fileDescriptor_4dc296cbfe5ffcd5, []int{52}
  3292  }
  3293  func (m *AquachainSignMessage) XXX_Unmarshal(b []byte) error {
  3294  	return xxx_messageInfo_AquachainSignMessage.Unmarshal(m, b)
  3295  }
  3296  func (m *AquachainSignMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3297  	return xxx_messageInfo_AquachainSignMessage.Marshal(b, m, deterministic)
  3298  }
  3299  func (m *AquachainSignMessage) XXX_Merge(src proto.Message) {
  3300  	xxx_messageInfo_AquachainSignMessage.Merge(m, src)
  3301  }
  3302  func (m *AquachainSignMessage) XXX_Size() int {
  3303  	return xxx_messageInfo_AquachainSignMessage.Size(m)
  3304  }
  3305  func (m *AquachainSignMessage) XXX_DiscardUnknown() {
  3306  	xxx_messageInfo_AquachainSignMessage.DiscardUnknown(m)
  3307  }
  3308  
  3309  var xxx_messageInfo_AquachainSignMessage proto.InternalMessageInfo
  3310  
  3311  func (m *AquachainSignMessage) GetAddressN() []uint32 {
  3312  	if m != nil {
  3313  		return m.AddressN
  3314  	}
  3315  	return nil
  3316  }
  3317  
  3318  func (m *AquachainSignMessage) GetMessage() []byte {
  3319  	if m != nil {
  3320  		return m.Message
  3321  	}
  3322  	return nil
  3323  }
  3324  
  3325  //*
  3326  // Request: Ask device to verify message
  3327  // @next Success
  3328  // @next Failure
  3329  type AquachainVerifyMessage struct {
  3330  	Address              []byte   `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
  3331  	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
  3332  	Message              []byte   `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
  3333  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3334  	XXX_unrecognized     []byte   `json:"-"`
  3335  	XXX_sizecache        int32    `json:"-"`
  3336  }
  3337  
  3338  func (m *AquachainVerifyMessage) Reset()         { *m = AquachainVerifyMessage{} }
  3339  func (m *AquachainVerifyMessage) String() string { return proto.CompactTextString(m) }
  3340  func (*AquachainVerifyMessage) ProtoMessage()    {}
  3341  func (*AquachainVerifyMessage) Descriptor() ([]byte, []int) {
  3342  	return fileDescriptor_4dc296cbfe5ffcd5, []int{53}
  3343  }
  3344  func (m *AquachainVerifyMessage) XXX_Unmarshal(b []byte) error {
  3345  	return xxx_messageInfo_AquachainVerifyMessage.Unmarshal(m, b)
  3346  }
  3347  func (m *AquachainVerifyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3348  	return xxx_messageInfo_AquachainVerifyMessage.Marshal(b, m, deterministic)
  3349  }
  3350  func (m *AquachainVerifyMessage) XXX_Merge(src proto.Message) {
  3351  	xxx_messageInfo_AquachainVerifyMessage.Merge(m, src)
  3352  }
  3353  func (m *AquachainVerifyMessage) XXX_Size() int {
  3354  	return xxx_messageInfo_AquachainVerifyMessage.Size(m)
  3355  }
  3356  func (m *AquachainVerifyMessage) XXX_DiscardUnknown() {
  3357  	xxx_messageInfo_AquachainVerifyMessage.DiscardUnknown(m)
  3358  }
  3359  
  3360  var xxx_messageInfo_AquachainVerifyMessage proto.InternalMessageInfo
  3361  
  3362  func (m *AquachainVerifyMessage) GetAddress() []byte {
  3363  	if m != nil {
  3364  		return m.Address
  3365  	}
  3366  	return nil
  3367  }
  3368  
  3369  func (m *AquachainVerifyMessage) GetSignature() []byte {
  3370  	if m != nil {
  3371  		return m.Signature
  3372  	}
  3373  	return nil
  3374  }
  3375  
  3376  func (m *AquachainVerifyMessage) GetMessage() []byte {
  3377  	if m != nil {
  3378  		return m.Message
  3379  	}
  3380  	return nil
  3381  }
  3382  
  3383  //*
  3384  // Response: Signed message
  3385  // @prev AquachainSignMessage
  3386  type AquachainMessageSignature struct {
  3387  	Address              []byte   `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
  3388  	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
  3389  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3390  	XXX_unrecognized     []byte   `json:"-"`
  3391  	XXX_sizecache        int32    `json:"-"`
  3392  }
  3393  
  3394  func (m *AquachainMessageSignature) Reset()         { *m = AquachainMessageSignature{} }
  3395  func (m *AquachainMessageSignature) String() string { return proto.CompactTextString(m) }
  3396  func (*AquachainMessageSignature) ProtoMessage()    {}
  3397  func (*AquachainMessageSignature) Descriptor() ([]byte, []int) {
  3398  	return fileDescriptor_4dc296cbfe5ffcd5, []int{54}
  3399  }
  3400  func (m *AquachainMessageSignature) XXX_Unmarshal(b []byte) error {
  3401  	return xxx_messageInfo_AquachainMessageSignature.Unmarshal(m, b)
  3402  }
  3403  func (m *AquachainMessageSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3404  	return xxx_messageInfo_AquachainMessageSignature.Marshal(b, m, deterministic)
  3405  }
  3406  func (m *AquachainMessageSignature) XXX_Merge(src proto.Message) {
  3407  	xxx_messageInfo_AquachainMessageSignature.Merge(m, src)
  3408  }
  3409  func (m *AquachainMessageSignature) XXX_Size() int {
  3410  	return xxx_messageInfo_AquachainMessageSignature.Size(m)
  3411  }
  3412  func (m *AquachainMessageSignature) XXX_DiscardUnknown() {
  3413  	xxx_messageInfo_AquachainMessageSignature.DiscardUnknown(m)
  3414  }
  3415  
  3416  var xxx_messageInfo_AquachainMessageSignature proto.InternalMessageInfo
  3417  
  3418  func (m *AquachainMessageSignature) GetAddress() []byte {
  3419  	if m != nil {
  3420  		return m.Address
  3421  	}
  3422  	return nil
  3423  }
  3424  
  3425  func (m *AquachainMessageSignature) GetSignature() []byte {
  3426  	if m != nil {
  3427  		return m.Signature
  3428  	}
  3429  	return nil
  3430  }
  3431  
  3432  //*
  3433  // Request: Ask device to sign identity
  3434  // @next SignedIdentity
  3435  // @next Failure
  3436  type SignIdentity struct {
  3437  	Identity             *IdentityType `protobuf:"bytes,1,opt,name=identity" json:"identity,omitempty"`
  3438  	ChallengeHidden      []byte        `protobuf:"bytes,2,opt,name=challenge_hidden,json=challengeHidden" json:"challenge_hidden,omitempty"`
  3439  	ChallengeVisual      *string       `protobuf:"bytes,3,opt,name=challenge_visual,json=challengeVisual" json:"challenge_visual,omitempty"`
  3440  	EcdsaCurveName       *string       `protobuf:"bytes,4,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"`
  3441  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
  3442  	XXX_unrecognized     []byte        `json:"-"`
  3443  	XXX_sizecache        int32         `json:"-"`
  3444  }
  3445  
  3446  func (m *SignIdentity) Reset()         { *m = SignIdentity{} }
  3447  func (m *SignIdentity) String() string { return proto.CompactTextString(m) }
  3448  func (*SignIdentity) ProtoMessage()    {}
  3449  func (*SignIdentity) Descriptor() ([]byte, []int) {
  3450  	return fileDescriptor_4dc296cbfe5ffcd5, []int{55}
  3451  }
  3452  func (m *SignIdentity) XXX_Unmarshal(b []byte) error {
  3453  	return xxx_messageInfo_SignIdentity.Unmarshal(m, b)
  3454  }
  3455  func (m *SignIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3456  	return xxx_messageInfo_SignIdentity.Marshal(b, m, deterministic)
  3457  }
  3458  func (m *SignIdentity) XXX_Merge(src proto.Message) {
  3459  	xxx_messageInfo_SignIdentity.Merge(m, src)
  3460  }
  3461  func (m *SignIdentity) XXX_Size() int {
  3462  	return xxx_messageInfo_SignIdentity.Size(m)
  3463  }
  3464  func (m *SignIdentity) XXX_DiscardUnknown() {
  3465  	xxx_messageInfo_SignIdentity.DiscardUnknown(m)
  3466  }
  3467  
  3468  var xxx_messageInfo_SignIdentity proto.InternalMessageInfo
  3469  
  3470  func (m *SignIdentity) GetIdentity() *IdentityType {
  3471  	if m != nil {
  3472  		return m.Identity
  3473  	}
  3474  	return nil
  3475  }
  3476  
  3477  func (m *SignIdentity) GetChallengeHidden() []byte {
  3478  	if m != nil {
  3479  		return m.ChallengeHidden
  3480  	}
  3481  	return nil
  3482  }
  3483  
  3484  func (m *SignIdentity) GetChallengeVisual() string {
  3485  	if m != nil && m.ChallengeVisual != nil {
  3486  		return *m.ChallengeVisual
  3487  	}
  3488  	return ""
  3489  }
  3490  
  3491  func (m *SignIdentity) GetEcdsaCurveName() string {
  3492  	if m != nil && m.EcdsaCurveName != nil {
  3493  		return *m.EcdsaCurveName
  3494  	}
  3495  	return ""
  3496  }
  3497  
  3498  //*
  3499  // Response: Device provides signed identity
  3500  // @prev SignIdentity
  3501  type SignedIdentity struct {
  3502  	Address              *string  `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
  3503  	PublicKey            []byte   `protobuf:"bytes,2,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
  3504  	Signature            []byte   `protobuf:"bytes,3,opt,name=signature" json:"signature,omitempty"`
  3505  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3506  	XXX_unrecognized     []byte   `json:"-"`
  3507  	XXX_sizecache        int32    `json:"-"`
  3508  }
  3509  
  3510  func (m *SignedIdentity) Reset()         { *m = SignedIdentity{} }
  3511  func (m *SignedIdentity) String() string { return proto.CompactTextString(m) }
  3512  func (*SignedIdentity) ProtoMessage()    {}
  3513  func (*SignedIdentity) Descriptor() ([]byte, []int) {
  3514  	return fileDescriptor_4dc296cbfe5ffcd5, []int{56}
  3515  }
  3516  func (m *SignedIdentity) XXX_Unmarshal(b []byte) error {
  3517  	return xxx_messageInfo_SignedIdentity.Unmarshal(m, b)
  3518  }
  3519  func (m *SignedIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3520  	return xxx_messageInfo_SignedIdentity.Marshal(b, m, deterministic)
  3521  }
  3522  func (m *SignedIdentity) XXX_Merge(src proto.Message) {
  3523  	xxx_messageInfo_SignedIdentity.Merge(m, src)
  3524  }
  3525  func (m *SignedIdentity) XXX_Size() int {
  3526  	return xxx_messageInfo_SignedIdentity.Size(m)
  3527  }
  3528  func (m *SignedIdentity) XXX_DiscardUnknown() {
  3529  	xxx_messageInfo_SignedIdentity.DiscardUnknown(m)
  3530  }
  3531  
  3532  var xxx_messageInfo_SignedIdentity proto.InternalMessageInfo
  3533  
  3534  func (m *SignedIdentity) GetAddress() string {
  3535  	if m != nil && m.Address != nil {
  3536  		return *m.Address
  3537  	}
  3538  	return ""
  3539  }
  3540  
  3541  func (m *SignedIdentity) GetPublicKey() []byte {
  3542  	if m != nil {
  3543  		return m.PublicKey
  3544  	}
  3545  	return nil
  3546  }
  3547  
  3548  func (m *SignedIdentity) GetSignature() []byte {
  3549  	if m != nil {
  3550  		return m.Signature
  3551  	}
  3552  	return nil
  3553  }
  3554  
  3555  //*
  3556  // Request: Ask device to generate ECDH session key
  3557  // @next ECDHSessionKey
  3558  // @next Failure
  3559  type GetECDHSessionKey struct {
  3560  	Identity             *IdentityType `protobuf:"bytes,1,opt,name=identity" json:"identity,omitempty"`
  3561  	PeerPublicKey        []byte        `protobuf:"bytes,2,opt,name=peer_public_key,json=peerPublicKey" json:"peer_public_key,omitempty"`
  3562  	EcdsaCurveName       *string       `protobuf:"bytes,3,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"`
  3563  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
  3564  	XXX_unrecognized     []byte        `json:"-"`
  3565  	XXX_sizecache        int32         `json:"-"`
  3566  }
  3567  
  3568  func (m *GetECDHSessionKey) Reset()         { *m = GetECDHSessionKey{} }
  3569  func (m *GetECDHSessionKey) String() string { return proto.CompactTextString(m) }
  3570  func (*GetECDHSessionKey) ProtoMessage()    {}
  3571  func (*GetECDHSessionKey) Descriptor() ([]byte, []int) {
  3572  	return fileDescriptor_4dc296cbfe5ffcd5, []int{57}
  3573  }
  3574  func (m *GetECDHSessionKey) XXX_Unmarshal(b []byte) error {
  3575  	return xxx_messageInfo_GetECDHSessionKey.Unmarshal(m, b)
  3576  }
  3577  func (m *GetECDHSessionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3578  	return xxx_messageInfo_GetECDHSessionKey.Marshal(b, m, deterministic)
  3579  }
  3580  func (m *GetECDHSessionKey) XXX_Merge(src proto.Message) {
  3581  	xxx_messageInfo_GetECDHSessionKey.Merge(m, src)
  3582  }
  3583  func (m *GetECDHSessionKey) XXX_Size() int {
  3584  	return xxx_messageInfo_GetECDHSessionKey.Size(m)
  3585  }
  3586  func (m *GetECDHSessionKey) XXX_DiscardUnknown() {
  3587  	xxx_messageInfo_GetECDHSessionKey.DiscardUnknown(m)
  3588  }
  3589  
  3590  var xxx_messageInfo_GetECDHSessionKey proto.InternalMessageInfo
  3591  
  3592  func (m *GetECDHSessionKey) GetIdentity() *IdentityType {
  3593  	if m != nil {
  3594  		return m.Identity
  3595  	}
  3596  	return nil
  3597  }
  3598  
  3599  func (m *GetECDHSessionKey) GetPeerPublicKey() []byte {
  3600  	if m != nil {
  3601  		return m.PeerPublicKey
  3602  	}
  3603  	return nil
  3604  }
  3605  
  3606  func (m *GetECDHSessionKey) GetEcdsaCurveName() string {
  3607  	if m != nil && m.EcdsaCurveName != nil {
  3608  		return *m.EcdsaCurveName
  3609  	}
  3610  	return ""
  3611  }
  3612  
  3613  //*
  3614  // Response: Device provides ECDH session key
  3615  // @prev GetECDHSessionKey
  3616  type ECDHSessionKey struct {
  3617  	SessionKey           []byte   `protobuf:"bytes,1,opt,name=session_key,json=sessionKey" json:"session_key,omitempty"`
  3618  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3619  	XXX_unrecognized     []byte   `json:"-"`
  3620  	XXX_sizecache        int32    `json:"-"`
  3621  }
  3622  
  3623  func (m *ECDHSessionKey) Reset()         { *m = ECDHSessionKey{} }
  3624  func (m *ECDHSessionKey) String() string { return proto.CompactTextString(m) }
  3625  func (*ECDHSessionKey) ProtoMessage()    {}
  3626  func (*ECDHSessionKey) Descriptor() ([]byte, []int) {
  3627  	return fileDescriptor_4dc296cbfe5ffcd5, []int{58}
  3628  }
  3629  func (m *ECDHSessionKey) XXX_Unmarshal(b []byte) error {
  3630  	return xxx_messageInfo_ECDHSessionKey.Unmarshal(m, b)
  3631  }
  3632  func (m *ECDHSessionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3633  	return xxx_messageInfo_ECDHSessionKey.Marshal(b, m, deterministic)
  3634  }
  3635  func (m *ECDHSessionKey) XXX_Merge(src proto.Message) {
  3636  	xxx_messageInfo_ECDHSessionKey.Merge(m, src)
  3637  }
  3638  func (m *ECDHSessionKey) XXX_Size() int {
  3639  	return xxx_messageInfo_ECDHSessionKey.Size(m)
  3640  }
  3641  func (m *ECDHSessionKey) XXX_DiscardUnknown() {
  3642  	xxx_messageInfo_ECDHSessionKey.DiscardUnknown(m)
  3643  }
  3644  
  3645  var xxx_messageInfo_ECDHSessionKey proto.InternalMessageInfo
  3646  
  3647  func (m *ECDHSessionKey) GetSessionKey() []byte {
  3648  	if m != nil {
  3649  		return m.SessionKey
  3650  	}
  3651  	return nil
  3652  }
  3653  
  3654  //*
  3655  // Request: Set U2F counter
  3656  // @next Success
  3657  type SetU2FCounter struct {
  3658  	U2FCounter           *uint32  `protobuf:"varint,1,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
  3659  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3660  	XXX_unrecognized     []byte   `json:"-"`
  3661  	XXX_sizecache        int32    `json:"-"`
  3662  }
  3663  
  3664  func (m *SetU2FCounter) Reset()         { *m = SetU2FCounter{} }
  3665  func (m *SetU2FCounter) String() string { return proto.CompactTextString(m) }
  3666  func (*SetU2FCounter) ProtoMessage()    {}
  3667  func (*SetU2FCounter) Descriptor() ([]byte, []int) {
  3668  	return fileDescriptor_4dc296cbfe5ffcd5, []int{59}
  3669  }
  3670  func (m *SetU2FCounter) XXX_Unmarshal(b []byte) error {
  3671  	return xxx_messageInfo_SetU2FCounter.Unmarshal(m, b)
  3672  }
  3673  func (m *SetU2FCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3674  	return xxx_messageInfo_SetU2FCounter.Marshal(b, m, deterministic)
  3675  }
  3676  func (m *SetU2FCounter) XXX_Merge(src proto.Message) {
  3677  	xxx_messageInfo_SetU2FCounter.Merge(m, src)
  3678  }
  3679  func (m *SetU2FCounter) XXX_Size() int {
  3680  	return xxx_messageInfo_SetU2FCounter.Size(m)
  3681  }
  3682  func (m *SetU2FCounter) XXX_DiscardUnknown() {
  3683  	xxx_messageInfo_SetU2FCounter.DiscardUnknown(m)
  3684  }
  3685  
  3686  var xxx_messageInfo_SetU2FCounter proto.InternalMessageInfo
  3687  
  3688  func (m *SetU2FCounter) GetU2FCounter() uint32 {
  3689  	if m != nil && m.U2FCounter != nil {
  3690  		return *m.U2FCounter
  3691  	}
  3692  	return 0
  3693  }
  3694  
  3695  //*
  3696  // Request: Ask device to erase its firmware (so it can be replaced via
  3697  // FirmwareUpload)
  3698  // @next Success
  3699  // @next FirmwareRequest
  3700  // @next Failure
  3701  type FirmwareErase struct {
  3702  	Length               *uint32  `protobuf:"varint,1,opt,name=length" json:"length,omitempty"`
  3703  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3704  	XXX_unrecognized     []byte   `json:"-"`
  3705  	XXX_sizecache        int32    `json:"-"`
  3706  }
  3707  
  3708  func (m *FirmwareErase) Reset()         { *m = FirmwareErase{} }
  3709  func (m *FirmwareErase) String() string { return proto.CompactTextString(m) }
  3710  func (*FirmwareErase) ProtoMessage()    {}
  3711  func (*FirmwareErase) Descriptor() ([]byte, []int) {
  3712  	return fileDescriptor_4dc296cbfe5ffcd5, []int{60}
  3713  }
  3714  func (m *FirmwareErase) XXX_Unmarshal(b []byte) error {
  3715  	return xxx_messageInfo_FirmwareErase.Unmarshal(m, b)
  3716  }
  3717  func (m *FirmwareErase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3718  	return xxx_messageInfo_FirmwareErase.Marshal(b, m, deterministic)
  3719  }
  3720  func (m *FirmwareErase) XXX_Merge(src proto.Message) {
  3721  	xxx_messageInfo_FirmwareErase.Merge(m, src)
  3722  }
  3723  func (m *FirmwareErase) XXX_Size() int {
  3724  	return xxx_messageInfo_FirmwareErase.Size(m)
  3725  }
  3726  func (m *FirmwareErase) XXX_DiscardUnknown() {
  3727  	xxx_messageInfo_FirmwareErase.DiscardUnknown(m)
  3728  }
  3729  
  3730  var xxx_messageInfo_FirmwareErase proto.InternalMessageInfo
  3731  
  3732  func (m *FirmwareErase) GetLength() uint32 {
  3733  	if m != nil && m.Length != nil {
  3734  		return *m.Length
  3735  	}
  3736  	return 0
  3737  }
  3738  
  3739  //*
  3740  // Response: Ask for firmware chunk
  3741  // @next FirmwareUpload
  3742  type FirmwareRequest struct {
  3743  	Offset               *uint32  `protobuf:"varint,1,opt,name=offset" json:"offset,omitempty"`
  3744  	Length               *uint32  `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
  3745  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3746  	XXX_unrecognized     []byte   `json:"-"`
  3747  	XXX_sizecache        int32    `json:"-"`
  3748  }
  3749  
  3750  func (m *FirmwareRequest) Reset()         { *m = FirmwareRequest{} }
  3751  func (m *FirmwareRequest) String() string { return proto.CompactTextString(m) }
  3752  func (*FirmwareRequest) ProtoMessage()    {}
  3753  func (*FirmwareRequest) Descriptor() ([]byte, []int) {
  3754  	return fileDescriptor_4dc296cbfe5ffcd5, []int{61}
  3755  }
  3756  func (m *FirmwareRequest) XXX_Unmarshal(b []byte) error {
  3757  	return xxx_messageInfo_FirmwareRequest.Unmarshal(m, b)
  3758  }
  3759  func (m *FirmwareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3760  	return xxx_messageInfo_FirmwareRequest.Marshal(b, m, deterministic)
  3761  }
  3762  func (m *FirmwareRequest) XXX_Merge(src proto.Message) {
  3763  	xxx_messageInfo_FirmwareRequest.Merge(m, src)
  3764  }
  3765  func (m *FirmwareRequest) XXX_Size() int {
  3766  	return xxx_messageInfo_FirmwareRequest.Size(m)
  3767  }
  3768  func (m *FirmwareRequest) XXX_DiscardUnknown() {
  3769  	xxx_messageInfo_FirmwareRequest.DiscardUnknown(m)
  3770  }
  3771  
  3772  var xxx_messageInfo_FirmwareRequest proto.InternalMessageInfo
  3773  
  3774  func (m *FirmwareRequest) GetOffset() uint32 {
  3775  	if m != nil && m.Offset != nil {
  3776  		return *m.Offset
  3777  	}
  3778  	return 0
  3779  }
  3780  
  3781  func (m *FirmwareRequest) GetLength() uint32 {
  3782  	if m != nil && m.Length != nil {
  3783  		return *m.Length
  3784  	}
  3785  	return 0
  3786  }
  3787  
  3788  //*
  3789  // Request: Send firmware in binary form to the device
  3790  // @next Success
  3791  // @next Failure
  3792  type FirmwareUpload struct {
  3793  	Payload              []byte   `protobuf:"bytes,1,req,name=payload" json:"payload,omitempty"`
  3794  	Hash                 []byte   `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
  3795  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3796  	XXX_unrecognized     []byte   `json:"-"`
  3797  	XXX_sizecache        int32    `json:"-"`
  3798  }
  3799  
  3800  func (m *FirmwareUpload) Reset()         { *m = FirmwareUpload{} }
  3801  func (m *FirmwareUpload) String() string { return proto.CompactTextString(m) }
  3802  func (*FirmwareUpload) ProtoMessage()    {}
  3803  func (*FirmwareUpload) Descriptor() ([]byte, []int) {
  3804  	return fileDescriptor_4dc296cbfe5ffcd5, []int{62}
  3805  }
  3806  func (m *FirmwareUpload) XXX_Unmarshal(b []byte) error {
  3807  	return xxx_messageInfo_FirmwareUpload.Unmarshal(m, b)
  3808  }
  3809  func (m *FirmwareUpload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3810  	return xxx_messageInfo_FirmwareUpload.Marshal(b, m, deterministic)
  3811  }
  3812  func (m *FirmwareUpload) XXX_Merge(src proto.Message) {
  3813  	xxx_messageInfo_FirmwareUpload.Merge(m, src)
  3814  }
  3815  func (m *FirmwareUpload) XXX_Size() int {
  3816  	return xxx_messageInfo_FirmwareUpload.Size(m)
  3817  }
  3818  func (m *FirmwareUpload) XXX_DiscardUnknown() {
  3819  	xxx_messageInfo_FirmwareUpload.DiscardUnknown(m)
  3820  }
  3821  
  3822  var xxx_messageInfo_FirmwareUpload proto.InternalMessageInfo
  3823  
  3824  func (m *FirmwareUpload) GetPayload() []byte {
  3825  	if m != nil {
  3826  		return m.Payload
  3827  	}
  3828  	return nil
  3829  }
  3830  
  3831  func (m *FirmwareUpload) GetHash() []byte {
  3832  	if m != nil {
  3833  		return m.Hash
  3834  	}
  3835  	return nil
  3836  }
  3837  
  3838  //*
  3839  // Request: Perform a device self-test
  3840  // @next Success
  3841  // @next Failure
  3842  type SelfTest struct {
  3843  	Payload              []byte   `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
  3844  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3845  	XXX_unrecognized     []byte   `json:"-"`
  3846  	XXX_sizecache        int32    `json:"-"`
  3847  }
  3848  
  3849  func (m *SelfTest) Reset()         { *m = SelfTest{} }
  3850  func (m *SelfTest) String() string { return proto.CompactTextString(m) }
  3851  func (*SelfTest) ProtoMessage()    {}
  3852  func (*SelfTest) Descriptor() ([]byte, []int) {
  3853  	return fileDescriptor_4dc296cbfe5ffcd5, []int{63}
  3854  }
  3855  func (m *SelfTest) XXX_Unmarshal(b []byte) error {
  3856  	return xxx_messageInfo_SelfTest.Unmarshal(m, b)
  3857  }
  3858  func (m *SelfTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3859  	return xxx_messageInfo_SelfTest.Marshal(b, m, deterministic)
  3860  }
  3861  func (m *SelfTest) XXX_Merge(src proto.Message) {
  3862  	xxx_messageInfo_SelfTest.Merge(m, src)
  3863  }
  3864  func (m *SelfTest) XXX_Size() int {
  3865  	return xxx_messageInfo_SelfTest.Size(m)
  3866  }
  3867  func (m *SelfTest) XXX_DiscardUnknown() {
  3868  	xxx_messageInfo_SelfTest.DiscardUnknown(m)
  3869  }
  3870  
  3871  var xxx_messageInfo_SelfTest proto.InternalMessageInfo
  3872  
  3873  func (m *SelfTest) GetPayload() []byte {
  3874  	if m != nil {
  3875  		return m.Payload
  3876  	}
  3877  	return nil
  3878  }
  3879  
  3880  //*
  3881  // Request: "Press" the button on the device
  3882  // @next Success
  3883  type DebugLinkDecision struct {
  3884  	YesNo                *bool    `protobuf:"varint,1,req,name=yes_no,json=yesNo" json:"yes_no,omitempty"`
  3885  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3886  	XXX_unrecognized     []byte   `json:"-"`
  3887  	XXX_sizecache        int32    `json:"-"`
  3888  }
  3889  
  3890  func (m *DebugLinkDecision) Reset()         { *m = DebugLinkDecision{} }
  3891  func (m *DebugLinkDecision) String() string { return proto.CompactTextString(m) }
  3892  func (*DebugLinkDecision) ProtoMessage()    {}
  3893  func (*DebugLinkDecision) Descriptor() ([]byte, []int) {
  3894  	return fileDescriptor_4dc296cbfe5ffcd5, []int{64}
  3895  }
  3896  func (m *DebugLinkDecision) XXX_Unmarshal(b []byte) error {
  3897  	return xxx_messageInfo_DebugLinkDecision.Unmarshal(m, b)
  3898  }
  3899  func (m *DebugLinkDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3900  	return xxx_messageInfo_DebugLinkDecision.Marshal(b, m, deterministic)
  3901  }
  3902  func (m *DebugLinkDecision) XXX_Merge(src proto.Message) {
  3903  	xxx_messageInfo_DebugLinkDecision.Merge(m, src)
  3904  }
  3905  func (m *DebugLinkDecision) XXX_Size() int {
  3906  	return xxx_messageInfo_DebugLinkDecision.Size(m)
  3907  }
  3908  func (m *DebugLinkDecision) XXX_DiscardUnknown() {
  3909  	xxx_messageInfo_DebugLinkDecision.DiscardUnknown(m)
  3910  }
  3911  
  3912  var xxx_messageInfo_DebugLinkDecision proto.InternalMessageInfo
  3913  
  3914  func (m *DebugLinkDecision) GetYesNo() bool {
  3915  	if m != nil && m.YesNo != nil {
  3916  		return *m.YesNo
  3917  	}
  3918  	return false
  3919  }
  3920  
  3921  //*
  3922  // Request: Computer asks for device state
  3923  // @next DebugLinkState
  3924  type DebugLinkGetState struct {
  3925  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  3926  	XXX_unrecognized     []byte   `json:"-"`
  3927  	XXX_sizecache        int32    `json:"-"`
  3928  }
  3929  
  3930  func (m *DebugLinkGetState) Reset()         { *m = DebugLinkGetState{} }
  3931  func (m *DebugLinkGetState) String() string { return proto.CompactTextString(m) }
  3932  func (*DebugLinkGetState) ProtoMessage()    {}
  3933  func (*DebugLinkGetState) Descriptor() ([]byte, []int) {
  3934  	return fileDescriptor_4dc296cbfe5ffcd5, []int{65}
  3935  }
  3936  func (m *DebugLinkGetState) XXX_Unmarshal(b []byte) error {
  3937  	return xxx_messageInfo_DebugLinkGetState.Unmarshal(m, b)
  3938  }
  3939  func (m *DebugLinkGetState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3940  	return xxx_messageInfo_DebugLinkGetState.Marshal(b, m, deterministic)
  3941  }
  3942  func (m *DebugLinkGetState) XXX_Merge(src proto.Message) {
  3943  	xxx_messageInfo_DebugLinkGetState.Merge(m, src)
  3944  }
  3945  func (m *DebugLinkGetState) XXX_Size() int {
  3946  	return xxx_messageInfo_DebugLinkGetState.Size(m)
  3947  }
  3948  func (m *DebugLinkGetState) XXX_DiscardUnknown() {
  3949  	xxx_messageInfo_DebugLinkGetState.DiscardUnknown(m)
  3950  }
  3951  
  3952  var xxx_messageInfo_DebugLinkGetState proto.InternalMessageInfo
  3953  
  3954  //*
  3955  // Response: Device current state
  3956  // @prev DebugLinkGetState
  3957  type DebugLinkState struct {
  3958  	Layout               []byte      `protobuf:"bytes,1,opt,name=layout" json:"layout,omitempty"`
  3959  	Pin                  *string     `protobuf:"bytes,2,opt,name=pin" json:"pin,omitempty"`
  3960  	Matrix               *string     `protobuf:"bytes,3,opt,name=matrix" json:"matrix,omitempty"`
  3961  	Mnemonic             *string     `protobuf:"bytes,4,opt,name=mnemonic" json:"mnemonic,omitempty"`
  3962  	Node                 *HDNodeType `protobuf:"bytes,5,opt,name=node" json:"node,omitempty"`
  3963  	PassphraseProtection *bool       `protobuf:"varint,6,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
  3964  	ResetWord            *string     `protobuf:"bytes,7,opt,name=reset_word,json=resetWord" json:"reset_word,omitempty"`
  3965  	ResetEntropy         []byte      `protobuf:"bytes,8,opt,name=reset_entropy,json=resetEntropy" json:"reset_entropy,omitempty"`
  3966  	RecoveryFakeWord     *string     `protobuf:"bytes,9,opt,name=recovery_fake_word,json=recoveryFakeWord" json:"recovery_fake_word,omitempty"`
  3967  	RecoveryWordPos      *uint32     `protobuf:"varint,10,opt,name=recovery_word_pos,json=recoveryWordPos" json:"recovery_word_pos,omitempty"`
  3968  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
  3969  	XXX_unrecognized     []byte      `json:"-"`
  3970  	XXX_sizecache        int32       `json:"-"`
  3971  }
  3972  
  3973  func (m *DebugLinkState) Reset()         { *m = DebugLinkState{} }
  3974  func (m *DebugLinkState) String() string { return proto.CompactTextString(m) }
  3975  func (*DebugLinkState) ProtoMessage()    {}
  3976  func (*DebugLinkState) Descriptor() ([]byte, []int) {
  3977  	return fileDescriptor_4dc296cbfe5ffcd5, []int{66}
  3978  }
  3979  func (m *DebugLinkState) XXX_Unmarshal(b []byte) error {
  3980  	return xxx_messageInfo_DebugLinkState.Unmarshal(m, b)
  3981  }
  3982  func (m *DebugLinkState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3983  	return xxx_messageInfo_DebugLinkState.Marshal(b, m, deterministic)
  3984  }
  3985  func (m *DebugLinkState) XXX_Merge(src proto.Message) {
  3986  	xxx_messageInfo_DebugLinkState.Merge(m, src)
  3987  }
  3988  func (m *DebugLinkState) XXX_Size() int {
  3989  	return xxx_messageInfo_DebugLinkState.Size(m)
  3990  }
  3991  func (m *DebugLinkState) XXX_DiscardUnknown() {
  3992  	xxx_messageInfo_DebugLinkState.DiscardUnknown(m)
  3993  }
  3994  
  3995  var xxx_messageInfo_DebugLinkState proto.InternalMessageInfo
  3996  
  3997  func (m *DebugLinkState) GetLayout() []byte {
  3998  	if m != nil {
  3999  		return m.Layout
  4000  	}
  4001  	return nil
  4002  }
  4003  
  4004  func (m *DebugLinkState) GetPin() string {
  4005  	if m != nil && m.Pin != nil {
  4006  		return *m.Pin
  4007  	}
  4008  	return ""
  4009  }
  4010  
  4011  func (m *DebugLinkState) GetMatrix() string {
  4012  	if m != nil && m.Matrix != nil {
  4013  		return *m.Matrix
  4014  	}
  4015  	return ""
  4016  }
  4017  
  4018  func (m *DebugLinkState) GetMnemonic() string {
  4019  	if m != nil && m.Mnemonic != nil {
  4020  		return *m.Mnemonic
  4021  	}
  4022  	return ""
  4023  }
  4024  
  4025  func (m *DebugLinkState) GetNode() *HDNodeType {
  4026  	if m != nil {
  4027  		return m.Node
  4028  	}
  4029  	return nil
  4030  }
  4031  
  4032  func (m *DebugLinkState) GetPassphraseProtection() bool {
  4033  	if m != nil && m.PassphraseProtection != nil {
  4034  		return *m.PassphraseProtection
  4035  	}
  4036  	return false
  4037  }
  4038  
  4039  func (m *DebugLinkState) GetResetWord() string {
  4040  	if m != nil && m.ResetWord != nil {
  4041  		return *m.ResetWord
  4042  	}
  4043  	return ""
  4044  }
  4045  
  4046  func (m *DebugLinkState) GetResetEntropy() []byte {
  4047  	if m != nil {
  4048  		return m.ResetEntropy
  4049  	}
  4050  	return nil
  4051  }
  4052  
  4053  func (m *DebugLinkState) GetRecoveryFakeWord() string {
  4054  	if m != nil && m.RecoveryFakeWord != nil {
  4055  		return *m.RecoveryFakeWord
  4056  	}
  4057  	return ""
  4058  }
  4059  
  4060  func (m *DebugLinkState) GetRecoveryWordPos() uint32 {
  4061  	if m != nil && m.RecoveryWordPos != nil {
  4062  		return *m.RecoveryWordPos
  4063  	}
  4064  	return 0
  4065  }
  4066  
  4067  //*
  4068  // Request: Ask device to restart
  4069  type DebugLinkStop struct {
  4070  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4071  	XXX_unrecognized     []byte   `json:"-"`
  4072  	XXX_sizecache        int32    `json:"-"`
  4073  }
  4074  
  4075  func (m *DebugLinkStop) Reset()         { *m = DebugLinkStop{} }
  4076  func (m *DebugLinkStop) String() string { return proto.CompactTextString(m) }
  4077  func (*DebugLinkStop) ProtoMessage()    {}
  4078  func (*DebugLinkStop) Descriptor() ([]byte, []int) {
  4079  	return fileDescriptor_4dc296cbfe5ffcd5, []int{67}
  4080  }
  4081  func (m *DebugLinkStop) XXX_Unmarshal(b []byte) error {
  4082  	return xxx_messageInfo_DebugLinkStop.Unmarshal(m, b)
  4083  }
  4084  func (m *DebugLinkStop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4085  	return xxx_messageInfo_DebugLinkStop.Marshal(b, m, deterministic)
  4086  }
  4087  func (m *DebugLinkStop) XXX_Merge(src proto.Message) {
  4088  	xxx_messageInfo_DebugLinkStop.Merge(m, src)
  4089  }
  4090  func (m *DebugLinkStop) XXX_Size() int {
  4091  	return xxx_messageInfo_DebugLinkStop.Size(m)
  4092  }
  4093  func (m *DebugLinkStop) XXX_DiscardUnknown() {
  4094  	xxx_messageInfo_DebugLinkStop.DiscardUnknown(m)
  4095  }
  4096  
  4097  var xxx_messageInfo_DebugLinkStop proto.InternalMessageInfo
  4098  
  4099  //*
  4100  // Response: Device wants host to log event
  4101  type DebugLinkLog struct {
  4102  	Level                *uint32  `protobuf:"varint,1,opt,name=level" json:"level,omitempty"`
  4103  	Bucket               *string  `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"`
  4104  	Text                 *string  `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
  4105  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4106  	XXX_unrecognized     []byte   `json:"-"`
  4107  	XXX_sizecache        int32    `json:"-"`
  4108  }
  4109  
  4110  func (m *DebugLinkLog) Reset()         { *m = DebugLinkLog{} }
  4111  func (m *DebugLinkLog) String() string { return proto.CompactTextString(m) }
  4112  func (*DebugLinkLog) ProtoMessage()    {}
  4113  func (*DebugLinkLog) Descriptor() ([]byte, []int) {
  4114  	return fileDescriptor_4dc296cbfe5ffcd5, []int{68}
  4115  }
  4116  func (m *DebugLinkLog) XXX_Unmarshal(b []byte) error {
  4117  	return xxx_messageInfo_DebugLinkLog.Unmarshal(m, b)
  4118  }
  4119  func (m *DebugLinkLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4120  	return xxx_messageInfo_DebugLinkLog.Marshal(b, m, deterministic)
  4121  }
  4122  func (m *DebugLinkLog) XXX_Merge(src proto.Message) {
  4123  	xxx_messageInfo_DebugLinkLog.Merge(m, src)
  4124  }
  4125  func (m *DebugLinkLog) XXX_Size() int {
  4126  	return xxx_messageInfo_DebugLinkLog.Size(m)
  4127  }
  4128  func (m *DebugLinkLog) XXX_DiscardUnknown() {
  4129  	xxx_messageInfo_DebugLinkLog.DiscardUnknown(m)
  4130  }
  4131  
  4132  var xxx_messageInfo_DebugLinkLog proto.InternalMessageInfo
  4133  
  4134  func (m *DebugLinkLog) GetLevel() uint32 {
  4135  	if m != nil && m.Level != nil {
  4136  		return *m.Level
  4137  	}
  4138  	return 0
  4139  }
  4140  
  4141  func (m *DebugLinkLog) GetBucket() string {
  4142  	if m != nil && m.Bucket != nil {
  4143  		return *m.Bucket
  4144  	}
  4145  	return ""
  4146  }
  4147  
  4148  func (m *DebugLinkLog) GetText() string {
  4149  	if m != nil && m.Text != nil {
  4150  		return *m.Text
  4151  	}
  4152  	return ""
  4153  }
  4154  
  4155  //*
  4156  // Request: Read memory from device
  4157  // @next DebugLinkMemory
  4158  type DebugLinkMemoryRead struct {
  4159  	Address              *uint32  `protobuf:"varint,1,opt,name=address" json:"address,omitempty"`
  4160  	Length               *uint32  `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
  4161  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4162  	XXX_unrecognized     []byte   `json:"-"`
  4163  	XXX_sizecache        int32    `json:"-"`
  4164  }
  4165  
  4166  func (m *DebugLinkMemoryRead) Reset()         { *m = DebugLinkMemoryRead{} }
  4167  func (m *DebugLinkMemoryRead) String() string { return proto.CompactTextString(m) }
  4168  func (*DebugLinkMemoryRead) ProtoMessage()    {}
  4169  func (*DebugLinkMemoryRead) Descriptor() ([]byte, []int) {
  4170  	return fileDescriptor_4dc296cbfe5ffcd5, []int{69}
  4171  }
  4172  func (m *DebugLinkMemoryRead) XXX_Unmarshal(b []byte) error {
  4173  	return xxx_messageInfo_DebugLinkMemoryRead.Unmarshal(m, b)
  4174  }
  4175  func (m *DebugLinkMemoryRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4176  	return xxx_messageInfo_DebugLinkMemoryRead.Marshal(b, m, deterministic)
  4177  }
  4178  func (m *DebugLinkMemoryRead) XXX_Merge(src proto.Message) {
  4179  	xxx_messageInfo_DebugLinkMemoryRead.Merge(m, src)
  4180  }
  4181  func (m *DebugLinkMemoryRead) XXX_Size() int {
  4182  	return xxx_messageInfo_DebugLinkMemoryRead.Size(m)
  4183  }
  4184  func (m *DebugLinkMemoryRead) XXX_DiscardUnknown() {
  4185  	xxx_messageInfo_DebugLinkMemoryRead.DiscardUnknown(m)
  4186  }
  4187  
  4188  var xxx_messageInfo_DebugLinkMemoryRead proto.InternalMessageInfo
  4189  
  4190  func (m *DebugLinkMemoryRead) GetAddress() uint32 {
  4191  	if m != nil && m.Address != nil {
  4192  		return *m.Address
  4193  	}
  4194  	return 0
  4195  }
  4196  
  4197  func (m *DebugLinkMemoryRead) GetLength() uint32 {
  4198  	if m != nil && m.Length != nil {
  4199  		return *m.Length
  4200  	}
  4201  	return 0
  4202  }
  4203  
  4204  //*
  4205  // Response: Device sends memory back
  4206  // @prev DebugLinkMemoryRead
  4207  type DebugLinkMemory struct {
  4208  	Memory               []byte   `protobuf:"bytes,1,opt,name=memory" json:"memory,omitempty"`
  4209  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4210  	XXX_unrecognized     []byte   `json:"-"`
  4211  	XXX_sizecache        int32    `json:"-"`
  4212  }
  4213  
  4214  func (m *DebugLinkMemory) Reset()         { *m = DebugLinkMemory{} }
  4215  func (m *DebugLinkMemory) String() string { return proto.CompactTextString(m) }
  4216  func (*DebugLinkMemory) ProtoMessage()    {}
  4217  func (*DebugLinkMemory) Descriptor() ([]byte, []int) {
  4218  	return fileDescriptor_4dc296cbfe5ffcd5, []int{70}
  4219  }
  4220  func (m *DebugLinkMemory) XXX_Unmarshal(b []byte) error {
  4221  	return xxx_messageInfo_DebugLinkMemory.Unmarshal(m, b)
  4222  }
  4223  func (m *DebugLinkMemory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4224  	return xxx_messageInfo_DebugLinkMemory.Marshal(b, m, deterministic)
  4225  }
  4226  func (m *DebugLinkMemory) XXX_Merge(src proto.Message) {
  4227  	xxx_messageInfo_DebugLinkMemory.Merge(m, src)
  4228  }
  4229  func (m *DebugLinkMemory) XXX_Size() int {
  4230  	return xxx_messageInfo_DebugLinkMemory.Size(m)
  4231  }
  4232  func (m *DebugLinkMemory) XXX_DiscardUnknown() {
  4233  	xxx_messageInfo_DebugLinkMemory.DiscardUnknown(m)
  4234  }
  4235  
  4236  var xxx_messageInfo_DebugLinkMemory proto.InternalMessageInfo
  4237  
  4238  func (m *DebugLinkMemory) GetMemory() []byte {
  4239  	if m != nil {
  4240  		return m.Memory
  4241  	}
  4242  	return nil
  4243  }
  4244  
  4245  //*
  4246  // Request: Write memory to device.
  4247  // WARNING: Writing to the wrong location can irreparably break the device.
  4248  type DebugLinkMemoryWrite struct {
  4249  	Address              *uint32  `protobuf:"varint,1,opt,name=address" json:"address,omitempty"`
  4250  	Memory               []byte   `protobuf:"bytes,2,opt,name=memory" json:"memory,omitempty"`
  4251  	Flash                *bool    `protobuf:"varint,3,opt,name=flash" json:"flash,omitempty"`
  4252  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4253  	XXX_unrecognized     []byte   `json:"-"`
  4254  	XXX_sizecache        int32    `json:"-"`
  4255  }
  4256  
  4257  func (m *DebugLinkMemoryWrite) Reset()         { *m = DebugLinkMemoryWrite{} }
  4258  func (m *DebugLinkMemoryWrite) String() string { return proto.CompactTextString(m) }
  4259  func (*DebugLinkMemoryWrite) ProtoMessage()    {}
  4260  func (*DebugLinkMemoryWrite) Descriptor() ([]byte, []int) {
  4261  	return fileDescriptor_4dc296cbfe5ffcd5, []int{71}
  4262  }
  4263  func (m *DebugLinkMemoryWrite) XXX_Unmarshal(b []byte) error {
  4264  	return xxx_messageInfo_DebugLinkMemoryWrite.Unmarshal(m, b)
  4265  }
  4266  func (m *DebugLinkMemoryWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4267  	return xxx_messageInfo_DebugLinkMemoryWrite.Marshal(b, m, deterministic)
  4268  }
  4269  func (m *DebugLinkMemoryWrite) XXX_Merge(src proto.Message) {
  4270  	xxx_messageInfo_DebugLinkMemoryWrite.Merge(m, src)
  4271  }
  4272  func (m *DebugLinkMemoryWrite) XXX_Size() int {
  4273  	return xxx_messageInfo_DebugLinkMemoryWrite.Size(m)
  4274  }
  4275  func (m *DebugLinkMemoryWrite) XXX_DiscardUnknown() {
  4276  	xxx_messageInfo_DebugLinkMemoryWrite.DiscardUnknown(m)
  4277  }
  4278  
  4279  var xxx_messageInfo_DebugLinkMemoryWrite proto.InternalMessageInfo
  4280  
  4281  func (m *DebugLinkMemoryWrite) GetAddress() uint32 {
  4282  	if m != nil && m.Address != nil {
  4283  		return *m.Address
  4284  	}
  4285  	return 0
  4286  }
  4287  
  4288  func (m *DebugLinkMemoryWrite) GetMemory() []byte {
  4289  	if m != nil {
  4290  		return m.Memory
  4291  	}
  4292  	return nil
  4293  }
  4294  
  4295  func (m *DebugLinkMemoryWrite) GetFlash() bool {
  4296  	if m != nil && m.Flash != nil {
  4297  		return *m.Flash
  4298  	}
  4299  	return false
  4300  }
  4301  
  4302  //*
  4303  // Request: Erase block of flash on device
  4304  // WARNING: Writing to the wrong location can irreparably break the device.
  4305  type DebugLinkFlashErase struct {
  4306  	Sector               *uint32  `protobuf:"varint,1,opt,name=sector" json:"sector,omitempty"`
  4307  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  4308  	XXX_unrecognized     []byte   `json:"-"`
  4309  	XXX_sizecache        int32    `json:"-"`
  4310  }
  4311  
  4312  func (m *DebugLinkFlashErase) Reset()         { *m = DebugLinkFlashErase{} }
  4313  func (m *DebugLinkFlashErase) String() string { return proto.CompactTextString(m) }
  4314  func (*DebugLinkFlashErase) ProtoMessage()    {}
  4315  func (*DebugLinkFlashErase) Descriptor() ([]byte, []int) {
  4316  	return fileDescriptor_4dc296cbfe5ffcd5, []int{72}
  4317  }
  4318  func (m *DebugLinkFlashErase) XXX_Unmarshal(b []byte) error {
  4319  	return xxx_messageInfo_DebugLinkFlashErase.Unmarshal(m, b)
  4320  }
  4321  func (m *DebugLinkFlashErase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4322  	return xxx_messageInfo_DebugLinkFlashErase.Marshal(b, m, deterministic)
  4323  }
  4324  func (m *DebugLinkFlashErase) XXX_Merge(src proto.Message) {
  4325  	xxx_messageInfo_DebugLinkFlashErase.Merge(m, src)
  4326  }
  4327  func (m *DebugLinkFlashErase) XXX_Size() int {
  4328  	return xxx_messageInfo_DebugLinkFlashErase.Size(m)
  4329  }
  4330  func (m *DebugLinkFlashErase) XXX_DiscardUnknown() {
  4331  	xxx_messageInfo_DebugLinkFlashErase.DiscardUnknown(m)
  4332  }
  4333  
  4334  var xxx_messageInfo_DebugLinkFlashErase proto.InternalMessageInfo
  4335  
  4336  func (m *DebugLinkFlashErase) GetSector() uint32 {
  4337  	if m != nil && m.Sector != nil {
  4338  		return *m.Sector
  4339  	}
  4340  	return 0
  4341  }
  4342  
  4343  func init() {
  4344  	proto.RegisterEnum("MessageType", MessageType_name, MessageType_value)
  4345  	proto.RegisterType((*Initialize)(nil), "Initialize")
  4346  	proto.RegisterType((*GetFeatures)(nil), "GetFeatures")
  4347  	proto.RegisterType((*Features)(nil), "Features")
  4348  	proto.RegisterType((*ClearSession)(nil), "ClearSession")
  4349  	proto.RegisterType((*ApplySettings)(nil), "ApplySettings")
  4350  	proto.RegisterType((*ApplyFlags)(nil), "ApplyFlags")
  4351  	proto.RegisterType((*ChangePin)(nil), "ChangePin")
  4352  	proto.RegisterType((*Ping)(nil), "Ping")
  4353  	proto.RegisterType((*Success)(nil), "Success")
  4354  	proto.RegisterType((*Failure)(nil), "Failure")
  4355  	proto.RegisterType((*ButtonRequest)(nil), "ButtonRequest")
  4356  	proto.RegisterType((*ButtonAck)(nil), "ButtonAck")
  4357  	proto.RegisterType((*PinMatrixRequest)(nil), "PinMatrixRequest")
  4358  	proto.RegisterType((*PinMatrixAck)(nil), "PinMatrixAck")
  4359  	proto.RegisterType((*Cancel)(nil), "Cancel")
  4360  	proto.RegisterType((*PassphraseRequest)(nil), "PassphraseRequest")
  4361  	proto.RegisterType((*PassphraseAck)(nil), "PassphraseAck")
  4362  	proto.RegisterType((*GetEntropy)(nil), "GetEntropy")
  4363  	proto.RegisterType((*Entropy)(nil), "Entropy")
  4364  	proto.RegisterType((*GetPublicKey)(nil), "GetPublicKey")
  4365  	proto.RegisterType((*PublicKey)(nil), "PublicKey")
  4366  	proto.RegisterType((*GetAddress)(nil), "GetAddress")
  4367  	proto.RegisterType((*AquachainGetAddress)(nil), "AquachainGetAddress")
  4368  	proto.RegisterType((*Address)(nil), "Address")
  4369  	proto.RegisterType((*AquachainAddress)(nil), "AquachainAddress")
  4370  	proto.RegisterType((*WipeDevice)(nil), "WipeDevice")
  4371  	proto.RegisterType((*LoadDevice)(nil), "LoadDevice")
  4372  	proto.RegisterType((*ResetDevice)(nil), "ResetDevice")
  4373  	proto.RegisterType((*BackupDevice)(nil), "BackupDevice")
  4374  	proto.RegisterType((*EntropyRequest)(nil), "EntropyRequest")
  4375  	proto.RegisterType((*EntropyAck)(nil), "EntropyAck")
  4376  	proto.RegisterType((*RecoveryDevice)(nil), "RecoveryDevice")
  4377  	proto.RegisterType((*WordRequest)(nil), "WordRequest")
  4378  	proto.RegisterType((*WordAck)(nil), "WordAck")
  4379  	proto.RegisterType((*SignMessage)(nil), "SignMessage")
  4380  	proto.RegisterType((*VerifyMessage)(nil), "VerifyMessage")
  4381  	proto.RegisterType((*MessageSignature)(nil), "MessageSignature")
  4382  	proto.RegisterType((*EncryptMessage)(nil), "EncryptMessage")
  4383  	proto.RegisterType((*EncryptedMessage)(nil), "EncryptedMessage")
  4384  	proto.RegisterType((*DecryptMessage)(nil), "DecryptMessage")
  4385  	proto.RegisterType((*DecryptedMessage)(nil), "DecryptedMessage")
  4386  	proto.RegisterType((*CipherKeyValue)(nil), "CipherKeyValue")
  4387  	proto.RegisterType((*CipheredKeyValue)(nil), "CipheredKeyValue")
  4388  	proto.RegisterType((*EstimateTxSize)(nil), "EstimateTxSize")
  4389  	proto.RegisterType((*TxSize)(nil), "TxSize")
  4390  	proto.RegisterType((*SignTx)(nil), "SignTx")
  4391  	proto.RegisterType((*SimpleSignTx)(nil), "SimpleSignTx")
  4392  	proto.RegisterType((*TxRequest)(nil), "TxRequest")
  4393  	proto.RegisterType((*TxAck)(nil), "TxAck")
  4394  	proto.RegisterType((*AquachainSignTx)(nil), "AquachainSignTx")
  4395  	proto.RegisterType((*AquachainTxRequest)(nil), "AquachainTxRequest")
  4396  	proto.RegisterType((*AquachainTxAck)(nil), "AquachainTxAck")
  4397  	proto.RegisterType((*AquachainSignMessage)(nil), "AquachainSignMessage")
  4398  	proto.RegisterType((*AquachainVerifyMessage)(nil), "AquachainVerifyMessage")
  4399  	proto.RegisterType((*AquachainMessageSignature)(nil), "AquachainMessageSignature")
  4400  	proto.RegisterType((*SignIdentity)(nil), "SignIdentity")
  4401  	proto.RegisterType((*SignedIdentity)(nil), "SignedIdentity")
  4402  	proto.RegisterType((*GetECDHSessionKey)(nil), "GetECDHSessionKey")
  4403  	proto.RegisterType((*ECDHSessionKey)(nil), "ECDHSessionKey")
  4404  	proto.RegisterType((*SetU2FCounter)(nil), "SetU2FCounter")
  4405  	proto.RegisterType((*FirmwareErase)(nil), "FirmwareErase")
  4406  	proto.RegisterType((*FirmwareRequest)(nil), "FirmwareRequest")
  4407  	proto.RegisterType((*FirmwareUpload)(nil), "FirmwareUpload")
  4408  	proto.RegisterType((*SelfTest)(nil), "SelfTest")
  4409  	proto.RegisterType((*DebugLinkDecision)(nil), "DebugLinkDecision")
  4410  	proto.RegisterType((*DebugLinkGetState)(nil), "DebugLinkGetState")
  4411  	proto.RegisterType((*DebugLinkState)(nil), "DebugLinkState")
  4412  	proto.RegisterType((*DebugLinkStop)(nil), "DebugLinkStop")
  4413  	proto.RegisterType((*DebugLinkLog)(nil), "DebugLinkLog")
  4414  	proto.RegisterType((*DebugLinkMemoryRead)(nil), "DebugLinkMemoryRead")
  4415  	proto.RegisterType((*DebugLinkMemory)(nil), "DebugLinkMemory")
  4416  	proto.RegisterType((*DebugLinkMemoryWrite)(nil), "DebugLinkMemoryWrite")
  4417  	proto.RegisterType((*DebugLinkFlashErase)(nil), "DebugLinkFlashErase")
  4418  }
  4419  
  4420  func init() { proto.RegisterFile("messages.proto", fileDescriptor_4dc296cbfe5ffcd5) }
  4421  
  4422  var fileDescriptor_4dc296cbfe5ffcd5 = []byte{
  4423  	// 3427 bytes of a gzipped FileDescriptorProto
  4424  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0x4b, 0x73, 0xdc, 0xc6,
  4425  	0x76, 0x0e, 0x66, 0x86, 0xf3, 0x38, 0x83, 0x19, 0x36, 0x21, 0x8a, 0x1a, 0x51, 0xa2, 0x44, 0x81,
  4426  	0x7a, 0x90, 0xb2, 0x3c, 0xb2, 0xe9, 0x47, 0x1c, 0x25, 0x7e, 0x50, 0x7c, 0x48, 0x8a, 0x25, 0x99,
  4427  	0x85, 0xa1, 0xe5, 0x5d, 0x50, 0x20, 0xd0, 0x9c, 0x69, 0x73, 0x06, 0x80, 0xf0, 0xa0, 0x39, 0x5a,
  4428  	0x64, 0x9b, 0xac, 0x52, 0xce, 0x4e, 0xab, 0x94, 0x77, 0x71, 0x2a, 0x55, 0xa9, 0x54, 0xb9, 0x52,
  4429  	0x15, 0xaf, 0xf2, 0x03, 0xf2, 0x2f, 0xee, 0xf2, 0xfe, 0x80, 0xbb, 0xbe, 0xd5, 0x0f, 0x00, 0x0d,
  4430  	0x10, 0x43, 0x49, 0x76, 0xd5, 0xdd, 0xb0, 0xd0, 0xa7, 0xbf, 0x39, 0x7d, 0x5e, 0x7d, 0xfa, 0xf4,
  4431  	0x69, 0x42, 0x77, 0x82, 0xc3, 0xd0, 0x1a, 0xe2, 0xb0, 0xef, 0x07, 0x5e, 0xe4, 0x2d, 0xb7, 0xa3,
  4432  	0xa9, 0x9f, 0x0c, 0x74, 0x15, 0xe0, 0x89, 0x4b, 0x22, 0x62, 0x8d, 0xc9, 0x2b, 0xac, 0x77, 0xa0,
  4433  	0xfd, 0x08, 0x47, 0x7b, 0xd8, 0x8a, 0xe2, 0x00, 0x87, 0xfa, 0xaf, 0x73, 0xd0, 0x4c, 0x06, 0xda,
  4434  	0x12, 0xd4, 0x4f, 0xb0, 0xeb, 0x78, 0x41, 0x4f, 0x59, 0x55, 0xd6, 0x5b, 0x86, 0x18, 0x69, 0x6b,
  4435  	0xd0, 0x99, 0x58, 0xdf, 0x7b, 0x81, 0x79, 0x82, 0x83, 0x90, 0x78, 0x6e, 0xaf, 0xb2, 0xaa, 0xac,
  4436  	0x77, 0x0c, 0x95, 0x11, 0x5f, 0x70, 0x1a, 0x03, 0x11, 0x57, 0x02, 0x55, 0x05, 0x88, 0x12, 0x25,
  4437  	0x90, 0x6f, 0x45, 0xf6, 0x28, 0x05, 0xd5, 0x38, 0x88, 0x11, 0x13, 0xd0, 0x1d, 0x98, 0x3f, 0xf4,
  4438  	0xbc, 0x68, 0xec, 0x59, 0x0e, 0x0e, 0xcc, 0x89, 0xe7, 0xe0, 0xde, 0xdc, 0xaa, 0xb2, 0xde, 0x34,
  4439  	0xba, 0x19, 0xf9, 0x99, 0xe7, 0x60, 0xed, 0x0a, 0xb4, 0x1c, 0x7c, 0x42, 0x6c, 0x6c, 0x12, 0xa7,
  4440  	0x57, 0x67, 0x22, 0x37, 0x39, 0xe1, 0x89, 0xa3, 0xdd, 0x82, 0xae, 0x4f, 0x5c, 0x93, 0xda, 0x00,
  4441  	0xdb, 0x11, 0x5d, 0xab, 0xc1, 0x98, 0x74, 0x7c, 0xe2, 0xee, 0xa7, 0x44, 0xed, 0x23, 0xb8, 0xe8,
  4442  	0x5b, 0x61, 0xe8, 0x8f, 0x02, 0x2b, 0xc4, 0x32, 0xba, 0xc9, 0xd0, 0x8b, 0xd9, 0xa4, 0xf4, 0xa3,
  4443  	0x65, 0x68, 0x8e, 0x2d, 0x77, 0x18, 0x5b, 0x43, 0xdc, 0x6b, 0xf1, 0x75, 0x93, 0xb1, 0xb6, 0x08,
  4444  	0x73, 0x63, 0xeb, 0x10, 0x8f, 0x7b, 0xc0, 0x26, 0xf8, 0x40, 0xbb, 0x0e, 0x73, 0xb6, 0x47, 0xdc,
  4445  	0xb0, 0xd7, 0x5e, 0xad, 0xae, 0xb7, 0x37, 0x5b, 0xfd, 0x6d, 0x8f, 0xb8, 0x07, 0x53, 0x1f, 0x1b,
  4446  	0x9c, 0xae, 0xad, 0x42, 0x9b, 0xa4, 0x5e, 0x72, 0x7a, 0x2a, 0x5b, 0x5d, 0x26, 0xd1, 0x45, 0x03,
  4447  	0x7c, 0x42, 0x98, 0xd9, 0x3a, 0xab, 0xca, 0xba, 0x6a, 0xa4, 0xe3, 0x82, 0xc9, 0x46, 0x56, 0x38,
  4448  	0xea, 0x75, 0x19, 0x44, 0x32, 0xd9, 0x63, 0x2b, 0x1c, 0x51, 0x26, 0x64, 0xe2, 0x7b, 0x41, 0x84,
  4449  	0x9d, 0xde, 0x3c, 0x5b, 0x23, 0x1d, 0x6b, 0x2b, 0x00, 0xd4, 0x62, 0xb6, 0x65, 0x8f, 0xb0, 0xd3,
  4450  	0x43, 0x6c, 0xb6, 0xe5, 0x13, 0x77, 0x9b, 0x11, 0xb4, 0xf7, 0x60, 0x41, 0xb2, 0x94, 0x40, 0x2d,
  4451  	0x30, 0x14, 0xca, 0x26, 0x04, 0x78, 0x03, 0xd0, 0x11, 0x09, 0x26, 0x3f, 0x58, 0x01, 0x35, 0x2a,
  4452  	0x0e, 0xb1, 0x1b, 0xf5, 0x34, 0x86, 0x9d, 0x4f, 0xe8, 0xfb, 0x9c, 0xac, 0xdd, 0x00, 0xd5, 0xc5,
  4453  	0xd8, 0x09, 0xcd, 0x43, 0xcb, 0x3e, 0x8e, 0xfd, 0xde, 0x05, 0xae, 0x3a, 0xa3, 0x3d, 0x64, 0x24,
  4454  	0x6a, 0xd3, 0xa3, 0xb1, 0x35, 0x0c, 0x7b, 0x8b, 0x2c, 0x5c, 0xf8, 0x40, 0xef, 0x82, 0xba, 0x3d,
  4455  	0xc6, 0x56, 0x30, 0xc0, 0x21, 0x35, 0x82, 0xfe, 0xcf, 0x0a, 0x74, 0xb6, 0x7c, 0x7f, 0x3c, 0x1d,
  4456  	0xe0, 0x28, 0x22, 0xee, 0x30, 0xcc, 0xf9, 0x49, 0x99, 0xe5, 0xa7, 0x8a, 0xec, 0xa7, 0x5b, 0xd0,
  4457  	0x8d, 0x69, 0x1c, 0xa4, 0xfa, 0xb0, 0x30, 0x6e, 0x1a, 0x9d, 0x38, 0xc4, 0xfb, 0x29, 0x51, 0xbb,
  4458  	0x06, 0x30, 0xf2, 0x26, 0x38, 0xb4, 0x03, 0x8c, 0x79, 0x10, 0xab, 0x86, 0x44, 0xd1, 0x75, 0x00,
  4459  	0x26, 0xc9, 0x1e, 0x15, 0x34, 0x13, 0x5f, 0x91, 0xc5, 0x5f, 0x83, 0xd6, 0xf6, 0xc8, 0x72, 0x87,
  4460  	0x78, 0x9f, 0xb8, 0x74, 0xeb, 0x05, 0x78, 0xe2, 0x9d, 0x70, 0x39, 0x9b, 0x86, 0x18, 0xe9, 0xff,
  4461  	0xa1, 0x40, 0x6d, 0x9f, 0xb8, 0x43, 0xad, 0x07, 0x0d, 0xb1, 0xc9, 0x85, 0x26, 0xc9, 0x90, 0xfa,
  4462  	0xe5, 0x30, 0x8e, 0x22, 0x2f, 0x17, 0xeb, 0x15, 0xee, 0x17, 0x3e, 0x21, 0x45, 0xee, 0xd9, 0x5d,
  4463  	0x51, 0x7d, 0xa7, 0x5d, 0x51, 0x9b, 0xbd, 0x2b, 0xf4, 0x35, 0x68, 0x0c, 0x62, 0xdb, 0xc6, 0x61,
  4464  	0x38, 0x5b, 0x5a, 0x7d, 0x17, 0x1a, 0x7b, 0x16, 0x19, 0xc7, 0x01, 0xd6, 0x56, 0xa1, 0x66, 0xd3,
  4465  	0xcd, 0x4d, 0x11, 0xdd, 0x4d, 0xb5, 0x2f, 0xe8, 0x6c, 0x57, 0xb0, 0x19, 0x99, 0x4d, 0x25, 0xcf,
  4466  	0xe6, 0x6b, 0xe8, 0x3c, 0x64, 0xba, 0x19, 0xf8, 0x65, 0x8c, 0xc3, 0x48, 0xbb, 0x9d, 0x63, 0xa6,
  4467  	0xf5, 0x73, 0xb3, 0x12, 0x4b, 0x0d, 0x6a, 0x8e, 0x15, 0x59, 0x82, 0x1f, 0xfb, 0xd6, 0xdb, 0xd0,
  4468  	0xe2, 0xf0, 0x2d, 0xfb, 0x58, 0xff, 0x1c, 0xd0, 0x3e, 0x71, 0x9f, 0x59, 0x51, 0x40, 0x4e, 0x13,
  4469  	0xe6, 0x1b, 0x50, 0xa3, 0x19, 0x55, 0x30, 0xbf, 0xd8, 0x2f, 0x02, 0x38, 0x7f, 0x0a, 0xd1, 0x57,
  4470  	0x41, 0x4d, 0x67, 0xb7, 0xec, 0x63, 0x0d, 0x41, 0xd5, 0x27, 0x6e, 0x4f, 0x59, 0xad, 0xac, 0xb7,
  4471  	0x0c, 0xfa, 0xa9, 0x37, 0xa1, 0xbe, 0x6d, 0xb9, 0x36, 0x1e, 0xeb, 0x17, 0x60, 0x21, 0x8b, 0x29,
  4472  	0xc1, 0x4a, 0xbf, 0x0f, 0x9d, 0x8c, 0x48, 0x39, 0x5c, 0x03, 0x90, 0xc2, 0x91, 0x33, 0x92, 0x28,
  4473  	0xfa, 0x2a, 0xc0, 0x23, 0x1c, 0xed, 0xba, 0x51, 0xe0, 0xf9, 0x53, 0xaa, 0x5f, 0x48, 0x5e, 0x71,
  4474  	0x5c, 0xc7, 0x60, 0xdf, 0xd4, 0x31, 0xc9, 0x74, 0x0f, 0x1a, 0x98, 0x7f, 0x32, 0x84, 0x6a, 0x24,
  4475  	0x43, 0xfd, 0xdf, 0x14, 0x50, 0x1f, 0xe1, 0x68, 0x3f, 0x3e, 0x1c, 0x13, 0xfb, 0x6b, 0x3c, 0xa5,
  4476  	0xd9, 0xd5, 0x72, 0x9c, 0x00, 0x87, 0xa1, 0x49, 0xe5, 0xaf, 0xae, 0x77, 0x8c, 0xa6, 0x20, 0x3c,
  4477  	0xd7, 0xd6, 0x01, 0x61, 0xdb, 0x09, 0x2d, 0xd3, 0x8e, 0x83, 0x13, 0x6c, 0xba, 0xd6, 0x24, 0x71,
  4478  	0x51, 0x97, 0xd1, 0xb7, 0x29, 0xf9, 0xb9, 0x35, 0xc1, 0x74, 0x7b, 0x87, 0x23, 0xef, 0x07, 0xd3,
  4479  	0x21, 0xa1, 0x3f, 0xb6, 0xa6, 0x22, 0xde, 0xda, 0x94, 0xb6, 0xc3, 0x49, 0xda, 0x4d, 0x68, 0xd1,
  4480  	0x24, 0xc8, 0xb9, 0xd0, 0x08, 0x6b, 0x3d, 0x68, 0x3c, 0x24, 0x11, 0xa5, 0x19, 0x4d, 0xfa, 0x97,
  4481  	0x32, 0xd2, 0xbf, 0x82, 0x56, 0x26, 0xdc, 0x75, 0xa8, 0xb9, 0xdc, 0xdd, 0x95, 0xf5, 0xf6, 0x66,
  4482  	0xbb, 0xff, 0x78, 0xe7, 0xb9, 0xe7, 0x88, 0xd0, 0x71, 0x85, 0x9f, 0x4f, 0xfd, 0xf8, 0x30, 0xf1,
  4483  	0x33, 0xfd, 0xd6, 0xff, 0xa8, 0x30, 0x53, 0x6d, 0x71, 0x25, 0xce, 0x57, 0x30, 0x27, 0x53, 0x65,
  4484  	0x86, 0x4c, 0x6f, 0xa3, 0xdc, 0x27, 0xd0, 0x9c, 0xc4, 0xe3, 0x88, 0x84, 0x64, 0xc8, 0x74, 0x6b,
  4485  	0x6f, 0x5e, 0xee, 0x3f, 0x13, 0x04, 0x03, 0x3b, 0x18, 0x4f, 0x06, 0x76, 0x40, 0x7c, 0x1e, 0x43,
  4486  	0x29, 0x54, 0xfb, 0x12, 0xda, 0x21, 0xa3, 0x9b, 0x2c, 0xf2, 0xe6, 0x58, 0xe4, 0xa1, 0xfe, 0x13,
  4487  	0xd7, 0x8f, 0xa3, 0xec, 0x07, 0x0f, 0xd4, 0xc1, 0xfe, 0xee, 0xf3, 0x9d, 0xad, 0x9d, 0x1d, 0x63,
  4488  	0x77, 0x30, 0x30, 0x20, 0x4c, 0x67, 0xf4, 0x6f, 0xe1, 0xc2, 0xd6, 0xcb, 0xd8, 0xb2, 0x47, 0x16,
  4489  	0x71, 0xdf, 0x56, 0xe9, 0xa2, 0x3a, 0x95, 0x33, 0xea, 0xd0, 0x58, 0x4a, 0x58, 0xf5, 0xa0, 0x21,
  4490  	0x7e, 0x29, 0xa2, 0x32, 0x19, 0xea, 0xf7, 0x00, 0xa5, 0x6b, 0xcf, 0x40, 0xab, 0x19, 0x5a, 0x05,
  4491  	0xf8, 0x8e, 0xf8, 0x78, 0x87, 0x9d, 0xdc, 0xfa, 0xbf, 0x56, 0x00, 0x9e, 0x7a, 0x96, 0xc3, 0x87,
  4492  	0x34, 0x85, 0x4f, 0x5c, 0x3c, 0xf1, 0x5c, 0x62, 0x27, 0x29, 0x3c, 0x19, 0xa7, 0x41, 0x50, 0x61,
  4493  	0x66, 0x2d, 0x09, 0x02, 0xb1, 0xf9, 0xaa, 0xec, 0x77, 0xf4, 0xf3, 0x37, 0x25, 0x36, 0x6d, 0x4d,
  4494  	0x3a, 0x46, 0xe6, 0x78, 0x28, 0x60, 0x77, 0x38, 0x26, 0xe1, 0xa8, 0xec, 0x3c, 0xa9, 0xcb, 0xe7,
  4495  	0xc9, 0x1a, 0x74, 0xc2, 0x63, 0xe2, 0x9b, 0xf6, 0x08, 0xdb, 0xc7, 0x61, 0x3c, 0x11, 0x45, 0x88,
  4496  	0x4a, 0x89, 0xdb, 0x82, 0xa6, 0x5d, 0x87, 0x76, 0xbc, 0x79, 0x64, 0xda, 0x5e, 0xec, 0x46, 0x38,
  4497  	0x60, 0x95, 0x47, 0xc7, 0x80, 0x78, 0xf3, 0x68, 0x9b, 0x53, 0xf4, 0xff, 0xaa, 0x40, 0xdb, 0xc0,
  4498  	0x21, 0x8e, 0x84, 0x51, 0x6e, 0x41, 0x57, 0xb8, 0xc8, 0x0c, 0x2c, 0xd7, 0xf1, 0x26, 0xe2, 0xd4,
  4499  	0xe8, 0x08, 0xaa, 0xc1, 0x88, 0xda, 0x75, 0x68, 0x86, 0x51, 0x80, 0xdd, 0x61, 0x34, 0xe2, 0x25,
  4500  	0xdb, 0x83, 0xea, 0xe6, 0x27, 0x9f, 0x1a, 0x29, 0x71, 0xb6, 0x35, 0xaa, 0xe7, 0x58, 0xe3, 0xec,
  4501  	0x11, 0x52, 0x2b, 0x3b, 0x42, 0x7e, 0x87, 0xd1, 0x0a, 0xf6, 0x68, 0x14, 0xed, 0x41, 0x01, 0xcc,
  4502  	0xaa, 0xa2, 0x62, 0xe0, 0xa5, 0x1a, 0x50, 0x12, 0x2f, 0x18, 0x68, 0x69, 0xc0, 0xbf, 0x44, 0x50,
  4503  	0x21, 0xe8, 0x8a, 0x0c, 0x98, 0xa4, 0xd9, 0xdb, 0x00, 0x82, 0x42, 0x73, 0x6c, 0x2e, 0x2d, 0x2a,
  4504  	0x72, 0x5a, 0xfc, 0xbf, 0x0a, 0x74, 0x0d, 0x6c, 0x7b, 0x27, 0x38, 0x98, 0x0a, 0xeb, 0xaf, 0x00,
  4505  	0xfc, 0xe0, 0x05, 0x0e, 0x97, 0x4f, 0x9c, 0xe9, 0x2d, 0x4a, 0x61, 0xe2, 0xcd, 0x36, 0x6a, 0xe5,
  4506  	0x9d, 0x8c, 0x5a, 0x7d, 0x93, 0x51, 0x6b, 0x6f, 0x34, 0xea, 0x9c, 0x6c, 0xd4, 0x0d, 0x40, 0xd8,
  4507  	0x3d, 0xf2, 0x02, 0x1b, 0x9b, 0x54, 0xd6, 0x31, 0x09, 0x23, 0x66, 0xf5, 0xa6, 0x31, 0x2f, 0xe8,
  4508  	0xdf, 0x09, 0x32, 0xcd, 0x9d, 0x2c, 0xe9, 0xf0, 0x40, 0x64, 0xdf, 0x45, 0x9f, 0xb4, 0xce, 0xf8,
  4509  	0xe4, 0x12, 0x34, 0x9c, 0x60, 0x6a, 0x06, 0xb1, 0xcb, 0x2a, 0xdf, 0xa6, 0x51, 0x77, 0x82, 0xa9,
  4510  	0x11, 0xbb, 0xfa, 0x47, 0xd0, 0xa6, 0x9c, 0x93, 0xb3, 0xf4, 0x66, 0xee, 0x2c, 0x45, 0x7d, 0x69,
  4511  	0x4e, 0x3a, 0x46, 0x57, 0xa0, 0x41, 0x27, 0xa8, 0x6f, 0x34, 0xa8, 0x51, 0x81, 0x45, 0x8e, 0x61,
  4512  	0xdf, 0xfa, 0x7f, 0x2a, 0xd0, 0x1e, 0x90, 0xa1, 0xfb, 0x4c, 0xd4, 0x40, 0xe7, 0x66, 0xb5, 0x5c,
  4513  	0x15, 0xc1, 0x32, 0x4f, 0x52, 0x3a, 0xe5, 0x92, 0x7c, 0x75, 0x56, 0x92, 0x2f, 0xa4, 0xe2, 0xda,
  4514  	0x3b, 0xa7, 0xe2, 0x7f, 0x52, 0xa0, 0xf3, 0x02, 0x07, 0xe4, 0x68, 0x9a, 0xc8, 0x9b, 0x4b, 0x86,
  4515  	0x8a, 0x94, 0x3a, 0xb5, 0xab, 0xd0, 0x0a, 0xc9, 0xd0, 0x65, 0x37, 0x32, 0x16, 0x31, 0xaa, 0x91,
  4516  	0x11, 0x64, 0x55, 0xaa, 0x3c, 0x4e, 0x4b, 0x55, 0x99, 0x79, 0x86, 0xfe, 0x3d, 0x20, 0x21, 0xc2,
  4517  	0x40, 0xe6, 0xf9, 0x5b, 0x64, 0xd1, 0x7f, 0x56, 0xe8, 0xa6, 0xb2, 0x83, 0xa9, 0x1f, 0x25, 0x6a,
  4518  	0x2d, 0x41, 0xdd, 0x8f, 0x0f, 0x8f, 0x71, 0xb2, 0x8b, 0xc4, 0xa8, 0x58, 0xc7, 0x49, 0x62, 0xdf,
  4519  	0x00, 0x35, 0xc9, 0x64, 0x9e, 0x3b, 0x4e, 0x0f, 0x50, 0x41, 0xfb, 0xc6, 0x1d, 0x17, 0xea, 0x90,
  4520  	0xda, 0x79, 0xc7, 0xf4, 0xdc, 0x2c, 0xb5, 0x5f, 0x00, 0x12, 0x92, 0x62, 0x27, 0x91, 0x75, 0x11,
  4521  	0xe6, 0x5c, 0xcf, 0xb5, 0xb1, 0x10, 0x95, 0x0f, 0xce, 0x91, 0x54, 0x83, 0xda, 0x68, 0x62, 0xd9,
  4522  	0xc2, 0xee, 0xec, 0x5b, 0x7f, 0x09, 0xdd, 0x1d, 0x9c, 0xb3, 0xc0, 0xb9, 0x81, 0x98, 0x2e, 0x59,
  4523  	0x99, 0xb1, 0x64, 0xb5, 0x7c, 0xc9, 0x9a, 0xb4, 0xe4, 0x1e, 0x20, 0xb1, 0x64, 0xa6, 0x4a, 0xa1,
  4524  	0xda, 0x96, 0x38, 0x48, 0xbe, 0xad, 0xe4, 0x7c, 0xab, 0xff, 0xbf, 0x02, 0xdd, 0x6d, 0xe2, 0x8f,
  4525  	0x70, 0xf0, 0x35, 0x9e, 0xbe, 0xb0, 0xc6, 0xf1, 0x1b, 0x64, 0x47, 0x50, 0xa5, 0x7e, 0xe5, 0x5c,
  4526  	0xe8, 0x27, 0xd5, 0xe6, 0x84, 0xfe, 0x4e, 0x48, 0xcd, 0x07, 0x3c, 0x93, 0x32, 0xf9, 0xc4, 0xb1,
  4527  	0x90, 0x0c, 0xb5, 0x9b, 0xd0, 0xb5, 0xc2, 0x63, 0xd3, 0x73, 0xcd, 0x04, 0xc0, 0x6f, 0xf5, 0xaa,
  4528  	0x15, 0x1e, 0x7f, 0xe3, 0xee, 0x9e, 0x41, 0x39, 0x5c, 0x4d, 0x91, 0xa4, 0x38, 0x4a, 0xa8, 0xae,
  4529  	0x75, 0xa1, 0x42, 0x4e, 0xd8, 0xc1, 0xa0, 0x1a, 0x15, 0x72, 0xa2, 0xaf, 0x03, 0xe2, 0xca, 0x60,
  4530  	0x27, 0x55, 0x27, 0x95, 0x4f, 0x91, 0xe4, 0xd3, 0xff, 0x11, 0xba, 0xbb, 0x61, 0x44, 0x26, 0x56,
  4531  	0x84, 0x0f, 0x4e, 0x07, 0xe4, 0x15, 0xa6, 0x47, 0xb4, 0x17, 0x47, 0x7e, 0x1c, 0x85, 0x69, 0x46,
  4532  	0xa7, 0xa5, 0xb3, 0x2a, 0x88, 0x3c, 0xa9, 0xdf, 0x00, 0x95, 0xb8, 0x12, 0xa6, 0xc2, 0x30, 0x6d,
  4533  	0x4e, 0xe3, 0x90, 0xb7, 0x4a, 0x26, 0xfa, 0x0d, 0xa8, 0x8b, 0x75, 0x2f, 0x41, 0x23, 0x3a, 0x35,
  4534  	0x45, 0xb1, 0x4e, 0xb3, 0x69, 0x3d, 0x62, 0x13, 0xfa, 0x2f, 0x0a, 0xd4, 0xe9, 0xf6, 0x3c, 0x38,
  4535  	0xfd, 0xcb, 0xca, 0xa6, 0x5d, 0x81, 0x46, 0xae, 0x2f, 0xf3, 0x40, 0xf9, 0xd0, 0x48, 0x28, 0xda,
  4536  	0x35, 0x68, 0x8d, 0x3d, 0xfb, 0xd8, 0x8c, 0x88, 0xd8, 0x69, 0x9d, 0x07, 0xca, 0x07, 0x46, 0x93,
  4537  	0xd2, 0x0e, 0xc8, 0x04, 0xeb, 0x7f, 0x52, 0x40, 0x1d, 0x90, 0x89, 0x3f, 0xc6, 0x42, 0xf6, 0x9b,
  4538  	0x50, 0xe7, 0x22, 0xb0, 0x58, 0x6a, 0x6f, 0xaa, 0xfd, 0x83, 0x53, 0x96, 0x33, 0x59, 0x9a, 0x17,
  4539  	0x73, 0xda, 0x1d, 0x68, 0x08, 0x65, 0x7a, 0x15, 0x06, 0xeb, 0xf4, 0x0f, 0x4e, 0xbf, 0x61, 0x14,
  4540  	0x86, 0x4b, 0x66, 0xb5, 0x8f, 0x41, 0x8d, 0x02, 0xcb, 0x0d, 0x2d, 0x76, 0x12, 0x86, 0xbd, 0x2a,
  4541  	0x43, 0xa3, 0xfe, 0x41, 0x46, 0x64, 0x3f, 0xc8, 0xa1, 0xde, 0x2e, 0x2d, 0xca, 0x8a, 0xcf, 0x9d,
  4542  	0xaf, 0x78, 0xfd, 0xac, 0xe2, 0xff, 0xae, 0x40, 0xeb, 0x20, 0xbd, 0x2a, 0xde, 0x07, 0x35, 0xe0,
  4543  	0x9f, 0xa6, 0x74, 0xcc, 0xa9, 0x7d, 0xf9, 0x88, 0x6b, 0x07, 0xd9, 0x40, 0xbb, 0x0f, 0x0d, 0x07,
  4544  	0x47, 0x16, 0x19, 0x87, 0xa2, 0x8e, 0xbd, 0xd8, 0x4f, 0xb9, 0xed, 0xf0, 0x09, 0x6e, 0x08, 0x81,
  4545  	0xd2, 0x3e, 0x03, 0x08, 0x71, 0x90, 0x34, 0x8a, 0xaa, 0xec, 0x37, 0xbd, 0xec, 0x37, 0x83, 0x74,
  4546  	0x8e, 0xfd, 0x4c, 0xc2, 0xea, 0x1b, 0x30, 0x77, 0xc0, 0x2e, 0xa5, 0xab, 0x50, 0x89, 0x4e, 0x99,
  4547  	0x68, 0x65, 0x16, 0xac, 0x44, 0xa7, 0xfa, 0xbf, 0x54, 0x60, 0x3e, 0x2d, 0xe1, 0x85, 0x43, 0x7f,
  4548  	0x43, 0x6e, 0xbb, 0x02, 0xad, 0xa1, 0x15, 0x9a, 0x7e, 0x40, 0xec, 0x24, 0x4f, 0x34, 0x87, 0x56,
  4549  	0xb8, 0x4f, 0xc7, 0xc9, 0xe4, 0x98, 0x4c, 0x48, 0x24, 0x72, 0x1c, 0x9d, 0x7c, 0x4a, 0xc7, 0x74,
  4550  	0x87, 0x47, 0x1e, 0xf3, 0x86, 0x6a, 0x54, 0x22, 0x2f, 0xdb, 0xcd, 0x75, 0x39, 0xdb, 0xdc, 0x03,
  4551  	0x8d, 0xde, 0xe0, 0x4d, 0xd1, 0x27, 0x33, 0xed, 0x51, 0xec, 0x1e, 0x8b, 0xbc, 0x80, 0xe8, 0x8c,
  4552  	0xe8, 0x7c, 0x6e, 0x53, 0x3a, 0xad, 0x61, 0x18, 0x7a, 0xcc, 0x4b, 0x62, 0x51, 0x67, 0x53, 0xd2,
  4553  	0x53, 0x5e, 0x0f, 0x5f, 0x86, 0x26, 0x53, 0xd8, 0x24, 0x8e, 0xa8, 0x70, 0x1a, 0x6c, 0xfc, 0xc4,
  4554  	0xd1, 0x5f, 0x2b, 0xa0, 0xa5, 0x06, 0xc9, 0xdc, 0x5d, 0x60, 0xa9, 0x9c, 0x61, 0x49, 0x4b, 0xd5,
  4555  	0xe4, 0xc8, 0x34, 0x4f, 0x44, 0xe7, 0x14, 0x52, 0xd2, 0x8b, 0x3c, 0x20, 0x10, 0x46, 0xca, 0x00,
  4556  	0x46, 0x1e, 0x10, 0x26, 0xcd, 0xa6, 0x94, 0x34, 0xd0, 0xef, 0x43, 0x57, 0x92, 0x8c, 0xfa, 0x77,
  4557  	0x05, 0x98, 0x08, 0xc2, 0x1c, 0x3c, 0xff, 0xb5, 0x28, 0x85, 0xd9, 0x41, 0x7f, 0x06, 0x8b, 0x39,
  4558  	0xdf, 0xfe, 0xbe, 0x2a, 0x4a, 0xff, 0x1e, 0x96, 0x52, 0x76, 0xe7, 0x96, 0x39, 0xea, 0xef, 0x2e,
  4559  	0x73, 0xf4, 0x01, 0x5c, 0x4e, 0xd7, 0x7a, 0x53, 0x25, 0xf3, 0xb6, 0xcb, 0xe9, 0xbf, 0xb2, 0xd4,
  4560  	0x35, 0x74, 0x9f, 0x38, 0xd8, 0x8d, 0x48, 0x34, 0xd5, 0x36, 0xa0, 0x49, 0xc4, 0xb7, 0xd8, 0x25,
  4561  	0x9d, 0x7e, 0x32, 0xc9, 0xef, 0xe9, 0x24, 0x83, 0x22, 0x7b, 0x64, 0x8d, 0xa9, 0xff, 0xb1, 0x39,
  4562  	0x22, 0x8e, 0x83, 0x5d, 0xb1, 0xc0, 0x7c, 0x4a, 0x7f, 0xcc, 0xc8, 0x79, 0xe8, 0x09, 0x09, 0x63,
  4563  	0x6b, 0x2c, 0xae, 0xa6, 0x19, 0xf4, 0x05, 0x23, 0x97, 0xb6, 0x57, 0x6a, 0x65, 0xed, 0x15, 0x7d,
  4564  	0x08, 0x5d, 0x2a, 0x3a, 0x76, 0x52, 0xe1, 0x67, 0xd7, 0x73, 0x2b, 0x00, 0x3e, 0xeb, 0xa0, 0x98,
  4565  	0xc9, 0x51, 0xae, 0x1a, 0x2d, 0x3f, 0xed, 0xa9, 0xe4, 0x8c, 0x54, 0x2d, 0x1a, 0xe9, 0x47, 0x05,
  4566  	0x16, 0x1e, 0xe1, 0x68, 0x77, 0x7b, 0xe7, 0xb1, 0x68, 0xb8, 0xd2, 0xdf, 0xbc, 0x83, 0xa5, 0x6e,
  4567  	0xc3, 0xbc, 0x8f, 0x71, 0x60, 0x9e, 0x11, 0xa1, 0x43, 0xc9, 0x59, 0x6b, 0xa7, 0x4c, 0xf7, 0x6a,
  4568  	0xa9, 0xee, 0x1f, 0x42, 0xb7, 0x20, 0x0e, 0xdd, 0x2b, 0x7c, 0x64, 0x66, 0x55, 0x28, 0x84, 0x29,
  4569  	0x40, 0xff, 0x00, 0x3a, 0x03, 0x1c, 0x7d, 0xbb, 0xb9, 0x27, 0x5d, 0x25, 0xe5, 0x7b, 0x8d, 0x72,
  4570  	0xe6, 0xee, 0x7d, 0x07, 0x3a, 0x7b, 0xa2, 0x63, 0xbd, 0xcb, 0x7a, 0xbf, 0x4b, 0x50, 0xcf, 0xed,
  4571  	0x76, 0x31, 0xd2, 0xb7, 0x60, 0x3e, 0x01, 0x26, 0xd9, 0x61, 0x09, 0xea, 0xde, 0xd1, 0x51, 0x88,
  4572  	0x93, 0x5b, 0xa2, 0x18, 0x49, 0x2c, 0x2a, 0x39, 0x16, 0x5f, 0x40, 0x37, 0x61, 0xf1, 0xad, 0x3f,
  4573  	0xf6, 0x2c, 0x87, 0x3a, 0xd3, 0xb7, 0xa6, 0xf4, 0x33, 0xe9, 0x9a, 0x88, 0x21, 0x2b, 0x0e, 0xad,
  4574  	0x70, 0x24, 0x6c, 0xc8, 0xbe, 0xf5, 0x9b, 0xd0, 0x1c, 0xe0, 0xf1, 0xd1, 0x01, 0x5d, 0x3b, 0xf7,
  4575  	0x4b, 0x45, 0xfa, 0xa5, 0x7e, 0x17, 0x16, 0x76, 0xf0, 0x61, 0x3c, 0x7c, 0x4a, 0xdc, 0xe3, 0x1d,
  4576  	0x6c, 0xf3, 0x17, 0x84, 0x8b, 0x50, 0x9f, 0xe2, 0xd0, 0x74, 0x3d, 0xb6, 0x4e, 0xd3, 0x98, 0x9b,
  4577  	0xe2, 0xf0, 0xb9, 0xa7, 0x5f, 0x90, 0xb0, 0x8f, 0x70, 0x34, 0x88, 0xac, 0x08, 0xeb, 0x7f, 0xa8,
  4578  	0xd0, 0xba, 0x57, 0x50, 0x19, 0x89, 0x69, 0x64, 0x4d, 0xbd, 0x38, 0x4a, 0x2a, 0x7f, 0x3e, 0x4a,
  4579  	0x3a, 0x30, 0x95, 0xac, 0x03, 0xb3, 0x04, 0xf5, 0x09, 0xeb, 0x8e, 0x0a, 0xa7, 0x8a, 0x51, 0xae,
  4580  	0xd1, 0x53, 0x9b, 0xd1, 0xe8, 0x99, 0x9b, 0xd5, 0xe8, 0x99, 0x79, 0xe7, 0xae, 0x9f, 0x73, 0xe7,
  4581  	0x5e, 0x01, 0x08, 0x70, 0x88, 0x23, 0x76, 0x1f, 0x66, 0x87, 0x46, 0xcb, 0x68, 0x31, 0x0a, 0xbd,
  4582  	0x7a, 0xd2, 0xda, 0x8b, 0x4f, 0x27, 0x9d, 0x81, 0x26, 0xd3, 0x4c, 0x65, 0xc4, 0xa4, 0x9f, 0x7a,
  4583  	0x0f, 0xb4, 0x40, 0x74, 0x07, 0xcc, 0x23, 0xeb, 0x98, 0xdf, 0xad, 0xc5, 0x9b, 0x10, 0x4a, 0x66,
  4584  	0xf6, 0xac, 0x63, 0x76, 0xb9, 0xd6, 0xee, 0xc2, 0x42, 0x8a, 0x66, 0x2d, 0x04, 0xdf, 0x0b, 0xd9,
  4585  	0x6d, 0xb9, 0x63, 0xcc, 0x27, 0x13, 0x14, 0xb8, 0xef, 0x85, 0xfa, 0x3c, 0x74, 0x24, 0x1b, 0x7b,
  4586  	0xbe, 0xbe, 0x0f, 0x6a, 0x4a, 0x78, 0xea, 0x0d, 0xd9, 0x35, 0x1f, 0x9f, 0xe0, 0x71, 0xf2, 0xaa,
  4587  	0xc0, 0x06, 0xd4, 0xbc, 0x87, 0xb1, 0x7d, 0x8c, 0x23, 0x61, 0x73, 0x31, 0x62, 0x77, 0x7a, 0x7c,
  4588  	0x1a, 0x09, 0xa3, 0xb3, 0x6f, 0xfd, 0x11, 0x5c, 0x48, 0x39, 0x3e, 0xc3, 0x13, 0x2f, 0x98, 0x1a,
  4589  	0x98, 0xc7, 0x9c, 0x9c, 0x40, 0x3a, 0x59, 0x02, 0x99, 0x15, 0xb7, 0x1b, 0x30, 0x5f, 0x60, 0xc4,
  4590  	0xdc, 0xcc, 0xbe, 0x92, 0x80, 0xe0, 0x23, 0xfd, 0x1f, 0x60, 0xb1, 0x00, 0xfd, 0x2e, 0x20, 0x11,
  4591  	0x3e, 0x7f, 0x51, 0xc1, 0xa9, 0x22, 0x73, 0x12, 0xaf, 0x2a, 0xe1, 0x48, 0xdc, 0x19, 0xf9, 0x40,
  4592  	0x7f, 0x5f, 0xd2, 0x69, 0x8f, 0x52, 0xd2, 0x4d, 0x1b, 0x62, 0x3b, 0xf2, 0x92, 0x1d, 0x2e, 0x46,
  4593  	0x77, 0x7f, 0xb9, 0x08, 0x6d, 0x71, 0x8e, 0xb0, 0x6a, 0x6c, 0x15, 0x96, 0xa4, 0xa1, 0x99, 0x3d,
  4594  	0x9c, 0xa2, 0xbf, 0x5a, 0xae, 0xfd, 0xf8, 0x3f, 0x3d, 0x45, 0x5b, 0x4e, 0xaf, 0xd0, 0x0c, 0xb1,
  4595  	0x4f, 0xdc, 0x21, 0x52, 0xc4, 0xdc, 0x0a, 0x5c, 0x90, 0xe7, 0xc4, 0x6b, 0x08, 0xaa, 0x2c, 0xd7,
  4596  	0x5e, 0x97, 0x4c, 0x8b, 0xf7, 0x0e, 0x54, 0x15, 0xd3, 0xd7, 0xe1, 0xa2, 0x3c, 0x9d, 0x3e, 0x0e,
  4597  	0xa1, 0x9a, 0x60, 0x5f, 0x10, 0x2e, 0x6b, 0x9a, 0xa2, 0x39, 0x81, 0xb8, 0x03, 0x97, 0x73, 0x2b,
  4598  	0xc8, 0x89, 0x0b, 0xd5, 0x97, 0x9b, 0x14, 0xf4, 0xbf, 0x14, 0xb8, 0x0e, 0xcb, 0x65, 0x40, 0x9e,
  4599  	0x75, 0x50, 0x43, 0x42, 0x6e, 0xc0, 0x95, 0x32, 0xa4, 0x48, 0x71, 0xa8, 0xb9, 0xdc, 0x7c, 0x9d,
  4600  	0x40, 0x0b, 0xf2, 0x65, 0xaf, 0x12, 0xa8, 0x55, 0x6e, 0xa0, 0x64, 0x1a, 0x84, 0x05, 0x74, 0xe8,
  4601  	0x15, 0x18, 0xa4, 0xc7, 0x02, 0x6a, 0x0b, 0x16, 0x05, 0x2b, 0x65, 0x00, 0x55, 0x30, 0x29, 0x48,
  4602  	0x91, 0xf5, 0x92, 0x51, 0x47, 0xb0, 0xb8, 0x01, 0x97, 0x64, 0x84, 0xd4, 0x59, 0x45, 0x5d, 0x01,
  4603  	0xb9, 0x0a, 0x5a, 0xce, 0x93, 0xac, 0x02, 0x46, 0xf3, 0x62, 0xf6, 0x66, 0x5e, 0x4e, 0xf9, 0xda,
  4604  	0x83, 0xd0, 0x72, 0x9d, 0x62, 0x9a, 0x8a, 0x76, 0x0d, 0x16, 0x73, 0x96, 0x13, 0xcf, 0xec, 0x68,
  4605  	0x41, 0x08, 0x7a, 0x1b, 0xae, 0x16, 0x22, 0x29, 0xf7, 0xa8, 0x84, 0xb4, 0x14, 0xd7, 0x2b, 0xc5,
  4606  	0x6d, 0xd9, 0xc7, 0xe8, 0x02, 0xf7, 0xd4, 0x7f, 0x97, 0xc8, 0xcc, 0x1f, 0x99, 0xd0, 0x62, 0xb9,
  4607  	0xdd, 0xd2, 0x12, 0x16, 0x5d, 0x14, 0xcb, 0x5c, 0x81, 0x85, 0x3c, 0x80, 0xf2, 0x5f, 0x4a, 0x35,
  4608  	0xce, 0xc5, 0x4b, 0xbe, 0x73, 0x80, 0x2e, 0x09, 0x54, 0xc1, 0x7f, 0xf2, 0xeb, 0x2c, 0xea, 0x09,
  4609  	0xcc, 0x5a, 0x3e, 0x44, 0x73, 0x0f, 0xb6, 0xe8, 0x72, 0x39, 0x28, 0xf7, 0x98, 0x87, 0x96, 0x85,
  4610  	0xc0, 0x6b, 0x79, 0x8d, 0xd2, 0x27, 0x3c, 0x74, 0x45, 0x32, 0x4a, 0x21, 0x1a, 0xb2, 0x57, 0x59,
  4611  	0x74, 0xb5, 0x7c, 0x57, 0x65, 0x6f, 0x25, 0x68, 0xa5, 0x3c, 0x6a, 0x93, 0xe9, 0x6b, 0x69, 0xd4,
  4612  	0xe6, 0xfc, 0x9c, 0x9c, 0xc0, 0x68, 0x55, 0xda, 0x45, 0x05, 0xcb, 0xc8, 0xcd, 0x69, 0xa4, 0x97,
  4613  	0xdb, 0x38, 0xdf, 0xb0, 0x46, 0x6b, 0xe5, 0xe1, 0x9d, 0x35, 0xb1, 0xd1, 0xcd, 0xf2, 0xf0, 0x96,
  4614  	0x2a, 0x7c, 0x74, 0xbb, 0xdc, 0xbe, 0xb9, 0xaa, 0x1d, 0xdd, 0x11, 0xa0, 0x42, 0x7c, 0x16, 0xcb,
  4615  	0x6d, 0xb4, 0x2e, 0x24, 0xba, 0x03, 0x2b, 0xb9, 0xf8, 0x2c, 0x3e, 0x69, 0xa2, 0x8d, 0x14, 0x78,
  4616  	0xb9, 0x1c, 0x48, 0xa5, 0xbf, 0x2b, 0x39, 0xed, 0x76, 0xc1, 0x12, 0xb9, 0x86, 0x0d, 0x7a, 0x4f,
  4617  	0xda, 0x61, 0x5a, 0x3e, 0x64, 0xd9, 0xfc, 0xbd, 0xe5, 0xfa, 0x6b, 0x3e, 0x5f, 0xb0, 0x68, 0xbe,
  4618  	0x8f, 0x8f, 0xde, 0x2f, 0xb7, 0x97, 0xd4, 0x90, 0x46, 0xfd, 0xf2, 0xcc, 0x2d, 0x5a, 0xd3, 0xe8,
  4619  	0x7e, 0xb9, 0xa5, 0x8a, 0xad, 0x28, 0xf4, 0x41, 0xba, 0x93, 0x0b, 0x1e, 0x96, 0x7b, 0x87, 0xe8,
  4620  	0xc3, 0x54, 0xaf, 0xf5, 0x3c, 0xbf, 0x62, 0xef, 0x12, 0x6d, 0xa6, 0x1a, 0x16, 0x38, 0xe6, 0xbb,
  4621  	0x91, 0xe8, 0xa3, 0x59, 0x1c, 0x8b, 0x2d, 0x44, 0xf4, 0x71, 0xca, 0x51, 0x2f, 0xe6, 0xb6, 0xec,
  4622  	0x5e, 0x84, 0x3e, 0x29, 0x8f, 0xd4, 0xfc, 0x05, 0x04, 0x7d, 0x2a, 0xb4, 0x2d, 0xd8, 0x55, 0xfa,
  4623  	0xb7, 0x23, 0xf4, 0xd7, 0x82, 0xd1, 0x06, 0x5c, 0xcf, 0xed, 0xac, 0xb3, 0x0f, 0x96, 0xe8, 0xb3,
  4624  	0x72, 0x1b, 0x17, 0xdf, 0x17, 0xd1, 0xdf, 0x88, 0x55, 0x6f, 0xe5, 0xcf, 0xab, 0x42, 0x13, 0x03,
  4625  	0x3d, 0x10, 0xec, 0xd6, 0xe1, 0x5a, 0x29, 0x2c, 0xcb, 0x8b, 0x7f, 0x2b, 0x18, 0x16, 0x94, 0xcd,
  4626  	0x5f, 0xb5, 0xd1, 0xdf, 0xa5, 0x27, 0xef, 0x4a, 0xf1, 0xec, 0xcb, 0x5d, 0x4d, 0xd0, 0xe7, 0x33,
  4627  	0x76, 0x79, 0x1e, 0xf5, 0x45, 0x9a, 0xdb, 0x2e, 0xe7, 0x73, 0x8a, 0x74, 0x67, 0x41, 0x5f, 0x0a,
  4628  	0x56, 0x77, 0x61, 0x75, 0xa6, 0xaa, 0x89, 0x63, 0xbf, 0x12, 0xd8, 0x7b, 0xa0, 0x97, 0x62, 0xf3,
  4629  	0x5b, 0x7f, 0x4b, 0xa0, 0xef, 0xc3, 0xad, 0x52, 0xf4, 0x99, 0x1c, 0xf0, 0x50, 0xc8, 0xfb, 0x5e,
  4630  	0x5e, 0xfd, 0x33, 0xf7, 0x0b, 0xe4, 0x2c, 0x37, 0x7f, 0x4a, 0xb6, 0xf7, 0x9d, 0x19, 0xe0, 0xe4,
  4631  	0x82, 0x81, 0xf0, 0x72, 0xed, 0xa7, 0x12, 0x5b, 0xe5, 0xef, 0x1c, 0xe8, 0x68, 0xb9, 0xf6, 0x73,
  4632  	0x89, 0xad, 0x72, 0x55, 0x33, 0x1a, 0x0a, 0x56, 0x85, 0xb0, 0x96, 0x2b, 0x69, 0x34, 0x12, 0x8c,
  4633  	0x0a, 0xd1, 0x58, 0x52, 0x1b, 0x23, 0x57, 0xb0, 0x2b, 0x44, 0x59, 0x01, 0x8a, 0x3c, 0xc1, 0xb1,
  4634  	0xe0, 0xa1, 0xb2, 0xca, 0x17, 0xf9, 0x82, 0xe5, 0xac, 0xd5, 0xb3, 0x2a, 0x16, 0xbd, 0xe4, 0xd0,
  4635  	0x87, 0x1f, 0xc3, 0x9a, 0xed, 0x4d, 0xfa, 0xa1, 0x15, 0x79, 0xe1, 0x88, 0x8c, 0xad, 0xc3, 0xb0,
  4636  	0x1f, 0x05, 0xf8, 0x95, 0x17, 0xf4, 0xc7, 0xe4, 0x90, 0xff, 0xdb, 0xdf, 0x61, 0x7c, 0xf4, 0xb0,
  4637  	0x73, 0xc0, 0x88, 0x82, 0xeb, 0x9f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x53, 0x08, 0xa6, 0xf9, 0x26,
  4638  	0x28, 0x00, 0x00,
  4639  }