github.com/ethereum/go-ethereum@v1.16.1/accounts/usbwallet/trezor/messages-management.pb.go (about)

     1  // This file originates from the SatoshiLabs Trezor `common` repository at:
     2  //   https://github.com/trezor/trezor-common/blob/master/protob/messages-management.proto
     3  // dated 28.05.2019, commit 893fd219d4a01bcffa0cd9cfa631856371ec5aa9.
     4  
     5  // Code generated by protoc-gen-go. DO NOT EDIT.
     6  // versions:
     7  // 	protoc-gen-go v1.34.2
     8  // 	protoc        v5.27.1
     9  // source: messages-management.proto
    10  
    11  package trezor
    12  
    13  import (
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  	reflect "reflect"
    17  	sync "sync"
    18  )
    19  
    20  const (
    21  	// Verify that this generated code is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    23  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    25  )
    26  
    27  // *
    28  // Structure representing passphrase source
    29  type ApplySettings_PassphraseSourceType int32
    30  
    31  const (
    32  	ApplySettings_ASK    ApplySettings_PassphraseSourceType = 0
    33  	ApplySettings_DEVICE ApplySettings_PassphraseSourceType = 1
    34  	ApplySettings_HOST   ApplySettings_PassphraseSourceType = 2
    35  )
    36  
    37  // Enum value maps for ApplySettings_PassphraseSourceType.
    38  var (
    39  	ApplySettings_PassphraseSourceType_name = map[int32]string{
    40  		0: "ASK",
    41  		1: "DEVICE",
    42  		2: "HOST",
    43  	}
    44  	ApplySettings_PassphraseSourceType_value = map[string]int32{
    45  		"ASK":    0,
    46  		"DEVICE": 1,
    47  		"HOST":   2,
    48  	}
    49  )
    50  
    51  func (x ApplySettings_PassphraseSourceType) Enum() *ApplySettings_PassphraseSourceType {
    52  	p := new(ApplySettings_PassphraseSourceType)
    53  	*p = x
    54  	return p
    55  }
    56  
    57  func (x ApplySettings_PassphraseSourceType) String() string {
    58  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    59  }
    60  
    61  func (ApplySettings_PassphraseSourceType) Descriptor() protoreflect.EnumDescriptor {
    62  	return file_messages_management_proto_enumTypes[0].Descriptor()
    63  }
    64  
    65  func (ApplySettings_PassphraseSourceType) Type() protoreflect.EnumType {
    66  	return &file_messages_management_proto_enumTypes[0]
    67  }
    68  
    69  func (x ApplySettings_PassphraseSourceType) Number() protoreflect.EnumNumber {
    70  	return protoreflect.EnumNumber(x)
    71  }
    72  
    73  // Deprecated: Do not use.
    74  func (x *ApplySettings_PassphraseSourceType) UnmarshalJSON(b []byte) error {
    75  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
    76  	if err != nil {
    77  		return err
    78  	}
    79  	*x = ApplySettings_PassphraseSourceType(num)
    80  	return nil
    81  }
    82  
    83  // Deprecated: Use ApplySettings_PassphraseSourceType.Descriptor instead.
    84  func (ApplySettings_PassphraseSourceType) EnumDescriptor() ([]byte, []int) {
    85  	return file_messages_management_proto_rawDescGZIP(), []int{4, 0}
    86  }
    87  
    88  // *
    89  // Type of recovery procedure. These should be used as bitmask, e.g.,
    90  // `RecoveryDeviceType_ScrambledWords | RecoveryDeviceType_Matrix`
    91  // listing every method supported by the host computer.
    92  //
    93  // Note that ScrambledWords must be supported by every implementation
    94  // for backward compatibility; there is no way to not support it.
    95  type RecoveryDevice_RecoveryDeviceType int32
    96  
    97  const (
    98  	// use powers of two when extending this field
    99  	RecoveryDevice_RecoveryDeviceType_ScrambledWords RecoveryDevice_RecoveryDeviceType = 0 // words in scrambled order
   100  	RecoveryDevice_RecoveryDeviceType_Matrix         RecoveryDevice_RecoveryDeviceType = 1 // matrix recovery type
   101  )
   102  
   103  // Enum value maps for RecoveryDevice_RecoveryDeviceType.
   104  var (
   105  	RecoveryDevice_RecoveryDeviceType_name = map[int32]string{
   106  		0: "RecoveryDeviceType_ScrambledWords",
   107  		1: "RecoveryDeviceType_Matrix",
   108  	}
   109  	RecoveryDevice_RecoveryDeviceType_value = map[string]int32{
   110  		"RecoveryDeviceType_ScrambledWords": 0,
   111  		"RecoveryDeviceType_Matrix":         1,
   112  	}
   113  )
   114  
   115  func (x RecoveryDevice_RecoveryDeviceType) Enum() *RecoveryDevice_RecoveryDeviceType {
   116  	p := new(RecoveryDevice_RecoveryDeviceType)
   117  	*p = x
   118  	return p
   119  }
   120  
   121  func (x RecoveryDevice_RecoveryDeviceType) String() string {
   122  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   123  }
   124  
   125  func (RecoveryDevice_RecoveryDeviceType) Descriptor() protoreflect.EnumDescriptor {
   126  	return file_messages_management_proto_enumTypes[1].Descriptor()
   127  }
   128  
   129  func (RecoveryDevice_RecoveryDeviceType) Type() protoreflect.EnumType {
   130  	return &file_messages_management_proto_enumTypes[1]
   131  }
   132  
   133  func (x RecoveryDevice_RecoveryDeviceType) Number() protoreflect.EnumNumber {
   134  	return protoreflect.EnumNumber(x)
   135  }
   136  
   137  // Deprecated: Do not use.
   138  func (x *RecoveryDevice_RecoveryDeviceType) UnmarshalJSON(b []byte) error {
   139  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
   140  	if err != nil {
   141  		return err
   142  	}
   143  	*x = RecoveryDevice_RecoveryDeviceType(num)
   144  	return nil
   145  }
   146  
   147  // Deprecated: Use RecoveryDevice_RecoveryDeviceType.Descriptor instead.
   148  func (RecoveryDevice_RecoveryDeviceType) EnumDescriptor() ([]byte, []int) {
   149  	return file_messages_management_proto_rawDescGZIP(), []int{17, 0}
   150  }
   151  
   152  // *
   153  // Type of Recovery Word request
   154  type WordRequest_WordRequestType int32
   155  
   156  const (
   157  	WordRequest_WordRequestType_Plain   WordRequest_WordRequestType = 0
   158  	WordRequest_WordRequestType_Matrix9 WordRequest_WordRequestType = 1
   159  	WordRequest_WordRequestType_Matrix6 WordRequest_WordRequestType = 2
   160  )
   161  
   162  // Enum value maps for WordRequest_WordRequestType.
   163  var (
   164  	WordRequest_WordRequestType_name = map[int32]string{
   165  		0: "WordRequestType_Plain",
   166  		1: "WordRequestType_Matrix9",
   167  		2: "WordRequestType_Matrix6",
   168  	}
   169  	WordRequest_WordRequestType_value = map[string]int32{
   170  		"WordRequestType_Plain":   0,
   171  		"WordRequestType_Matrix9": 1,
   172  		"WordRequestType_Matrix6": 2,
   173  	}
   174  )
   175  
   176  func (x WordRequest_WordRequestType) Enum() *WordRequest_WordRequestType {
   177  	p := new(WordRequest_WordRequestType)
   178  	*p = x
   179  	return p
   180  }
   181  
   182  func (x WordRequest_WordRequestType) String() string {
   183  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   184  }
   185  
   186  func (WordRequest_WordRequestType) Descriptor() protoreflect.EnumDescriptor {
   187  	return file_messages_management_proto_enumTypes[2].Descriptor()
   188  }
   189  
   190  func (WordRequest_WordRequestType) Type() protoreflect.EnumType {
   191  	return &file_messages_management_proto_enumTypes[2]
   192  }
   193  
   194  func (x WordRequest_WordRequestType) Number() protoreflect.EnumNumber {
   195  	return protoreflect.EnumNumber(x)
   196  }
   197  
   198  // Deprecated: Do not use.
   199  func (x *WordRequest_WordRequestType) UnmarshalJSON(b []byte) error {
   200  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
   201  	if err != nil {
   202  		return err
   203  	}
   204  	*x = WordRequest_WordRequestType(num)
   205  	return nil
   206  }
   207  
   208  // Deprecated: Use WordRequest_WordRequestType.Descriptor instead.
   209  func (WordRequest_WordRequestType) EnumDescriptor() ([]byte, []int) {
   210  	return file_messages_management_proto_rawDescGZIP(), []int{18, 0}
   211  }
   212  
   213  // *
   214  // Request: Reset device to default state and ask for device details
   215  // @start
   216  // @next Features
   217  type Initialize struct {
   218  	state         protoimpl.MessageState
   219  	sizeCache     protoimpl.SizeCache
   220  	unknownFields protoimpl.UnknownFields
   221  
   222  	State          []byte `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"`                                          // assumed device state, clear session if set and different
   223  	SkipPassphrase *bool  `protobuf:"varint,2,opt,name=skip_passphrase,json=skipPassphrase" json:"skip_passphrase,omitempty"` // this session should always assume empty passphrase
   224  }
   225  
   226  func (x *Initialize) Reset() {
   227  	*x = Initialize{}
   228  	if protoimpl.UnsafeEnabled {
   229  		mi := &file_messages_management_proto_msgTypes[0]
   230  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   231  		ms.StoreMessageInfo(mi)
   232  	}
   233  }
   234  
   235  func (x *Initialize) String() string {
   236  	return protoimpl.X.MessageStringOf(x)
   237  }
   238  
   239  func (*Initialize) ProtoMessage() {}
   240  
   241  func (x *Initialize) ProtoReflect() protoreflect.Message {
   242  	mi := &file_messages_management_proto_msgTypes[0]
   243  	if protoimpl.UnsafeEnabled && x != nil {
   244  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   245  		if ms.LoadMessageInfo() == nil {
   246  			ms.StoreMessageInfo(mi)
   247  		}
   248  		return ms
   249  	}
   250  	return mi.MessageOf(x)
   251  }
   252  
   253  // Deprecated: Use Initialize.ProtoReflect.Descriptor instead.
   254  func (*Initialize) Descriptor() ([]byte, []int) {
   255  	return file_messages_management_proto_rawDescGZIP(), []int{0}
   256  }
   257  
   258  func (x *Initialize) GetState() []byte {
   259  	if x != nil {
   260  		return x.State
   261  	}
   262  	return nil
   263  }
   264  
   265  func (x *Initialize) GetSkipPassphrase() bool {
   266  	if x != nil && x.SkipPassphrase != nil {
   267  		return *x.SkipPassphrase
   268  	}
   269  	return false
   270  }
   271  
   272  // *
   273  // Request: Ask for device details (no device reset)
   274  // @start
   275  // @next Features
   276  type GetFeatures struct {
   277  	state         protoimpl.MessageState
   278  	sizeCache     protoimpl.SizeCache
   279  	unknownFields protoimpl.UnknownFields
   280  }
   281  
   282  func (x *GetFeatures) Reset() {
   283  	*x = GetFeatures{}
   284  	if protoimpl.UnsafeEnabled {
   285  		mi := &file_messages_management_proto_msgTypes[1]
   286  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   287  		ms.StoreMessageInfo(mi)
   288  	}
   289  }
   290  
   291  func (x *GetFeatures) String() string {
   292  	return protoimpl.X.MessageStringOf(x)
   293  }
   294  
   295  func (*GetFeatures) ProtoMessage() {}
   296  
   297  func (x *GetFeatures) ProtoReflect() protoreflect.Message {
   298  	mi := &file_messages_management_proto_msgTypes[1]
   299  	if protoimpl.UnsafeEnabled && x != nil {
   300  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   301  		if ms.LoadMessageInfo() == nil {
   302  			ms.StoreMessageInfo(mi)
   303  		}
   304  		return ms
   305  	}
   306  	return mi.MessageOf(x)
   307  }
   308  
   309  // Deprecated: Use GetFeatures.ProtoReflect.Descriptor instead.
   310  func (*GetFeatures) Descriptor() ([]byte, []int) {
   311  	return file_messages_management_proto_rawDescGZIP(), []int{1}
   312  }
   313  
   314  // *
   315  // Response: Reports various information about the device
   316  // @end
   317  type Features struct {
   318  	state         protoimpl.MessageState
   319  	sizeCache     protoimpl.SizeCache
   320  	unknownFields protoimpl.UnknownFields
   321  
   322  	Vendor               *string `protobuf:"bytes,1,opt,name=vendor" json:"vendor,omitempty"`                                                          // name of the manufacturer, e.g. "trezor.io"
   323  	MajorVersion         *uint32 `protobuf:"varint,2,opt,name=major_version,json=majorVersion" json:"major_version,omitempty"`                         // major version of the firmware/bootloader, e.g. 1
   324  	MinorVersion         *uint32 `protobuf:"varint,3,opt,name=minor_version,json=minorVersion" json:"minor_version,omitempty"`                         // minor version of the firmware/bootloader, e.g. 0
   325  	PatchVersion         *uint32 `protobuf:"varint,4,opt,name=patch_version,json=patchVersion" json:"patch_version,omitempty"`                         // patch version of the firmware/bootloader, e.g. 0
   326  	BootloaderMode       *bool   `protobuf:"varint,5,opt,name=bootloader_mode,json=bootloaderMode" json:"bootloader_mode,omitempty"`                   // is device in bootloader mode?
   327  	DeviceId             *string `protobuf:"bytes,6,opt,name=device_id,json=deviceId" json:"device_id,omitempty"`                                      // device's unique identifier
   328  	PinProtection        *bool   `protobuf:"varint,7,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`                      // is device protected by PIN?
   329  	PassphraseProtection *bool   `protobuf:"varint,8,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // is node/mnemonic encrypted using passphrase?
   330  	Language             *string `protobuf:"bytes,9,opt,name=language" json:"language,omitempty"`                                                      // device language
   331  	Label                *string `protobuf:"bytes,10,opt,name=label" json:"label,omitempty"`                                                           // device description label
   332  	Initialized          *bool   `protobuf:"varint,12,opt,name=initialized" json:"initialized,omitempty"`                                              // does device contain seed?
   333  	Revision             []byte  `protobuf:"bytes,13,opt,name=revision" json:"revision,omitempty"`                                                     // SCM revision of firmware
   334  	BootloaderHash       []byte  `protobuf:"bytes,14,opt,name=bootloader_hash,json=bootloaderHash" json:"bootloader_hash,omitempty"`                   // hash of the bootloader
   335  	Imported             *bool   `protobuf:"varint,15,opt,name=imported" json:"imported,omitempty"`                                                    // was storage imported from an external source?
   336  	PinCached            *bool   `protobuf:"varint,16,opt,name=pin_cached,json=pinCached" json:"pin_cached,omitempty"`                                 // is PIN already cached in session?
   337  	PassphraseCached     *bool   `protobuf:"varint,17,opt,name=passphrase_cached,json=passphraseCached" json:"passphrase_cached,omitempty"`            // is passphrase already cached in session?
   338  	FirmwarePresent      *bool   `protobuf:"varint,18,opt,name=firmware_present,json=firmwarePresent" json:"firmware_present,omitempty"`               // is valid firmware loaded?
   339  	NeedsBackup          *bool   `protobuf:"varint,19,opt,name=needs_backup,json=needsBackup" json:"needs_backup,omitempty"`                           // does storage need backup? (equals to Storage.needs_backup)
   340  	Flags                *uint32 `protobuf:"varint,20,opt,name=flags" json:"flags,omitempty"`                                                          // device flags (equals to Storage.flags)
   341  	Model                *string `protobuf:"bytes,21,opt,name=model" json:"model,omitempty"`                                                           // device hardware model
   342  	FwMajor              *uint32 `protobuf:"varint,22,opt,name=fw_major,json=fwMajor" json:"fw_major,omitempty"`                                       // reported firmware version if in bootloader mode
   343  	FwMinor              *uint32 `protobuf:"varint,23,opt,name=fw_minor,json=fwMinor" json:"fw_minor,omitempty"`                                       // reported firmware version if in bootloader mode
   344  	FwPatch              *uint32 `protobuf:"varint,24,opt,name=fw_patch,json=fwPatch" json:"fw_patch,omitempty"`                                       // reported firmware version if in bootloader mode
   345  	FwVendor             *string `protobuf:"bytes,25,opt,name=fw_vendor,json=fwVendor" json:"fw_vendor,omitempty"`                                     // reported firmware vendor if in bootloader mode
   346  	FwVendorKeys         []byte  `protobuf:"bytes,26,opt,name=fw_vendor_keys,json=fwVendorKeys" json:"fw_vendor_keys,omitempty"`                       // reported firmware vendor keys (their hash)
   347  	UnfinishedBackup     *bool   `protobuf:"varint,27,opt,name=unfinished_backup,json=unfinishedBackup" json:"unfinished_backup,omitempty"`            // report unfinished backup (equals to Storage.unfinished_backup)
   348  	NoBackup             *bool   `protobuf:"varint,28,opt,name=no_backup,json=noBackup" json:"no_backup,omitempty"`                                    // report no backup (equals to Storage.no_backup)
   349  }
   350  
   351  func (x *Features) Reset() {
   352  	*x = Features{}
   353  	if protoimpl.UnsafeEnabled {
   354  		mi := &file_messages_management_proto_msgTypes[2]
   355  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   356  		ms.StoreMessageInfo(mi)
   357  	}
   358  }
   359  
   360  func (x *Features) String() string {
   361  	return protoimpl.X.MessageStringOf(x)
   362  }
   363  
   364  func (*Features) ProtoMessage() {}
   365  
   366  func (x *Features) ProtoReflect() protoreflect.Message {
   367  	mi := &file_messages_management_proto_msgTypes[2]
   368  	if protoimpl.UnsafeEnabled && x != nil {
   369  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   370  		if ms.LoadMessageInfo() == nil {
   371  			ms.StoreMessageInfo(mi)
   372  		}
   373  		return ms
   374  	}
   375  	return mi.MessageOf(x)
   376  }
   377  
   378  // Deprecated: Use Features.ProtoReflect.Descriptor instead.
   379  func (*Features) Descriptor() ([]byte, []int) {
   380  	return file_messages_management_proto_rawDescGZIP(), []int{2}
   381  }
   382  
   383  func (x *Features) GetVendor() string {
   384  	if x != nil && x.Vendor != nil {
   385  		return *x.Vendor
   386  	}
   387  	return ""
   388  }
   389  
   390  func (x *Features) GetMajorVersion() uint32 {
   391  	if x != nil && x.MajorVersion != nil {
   392  		return *x.MajorVersion
   393  	}
   394  	return 0
   395  }
   396  
   397  func (x *Features) GetMinorVersion() uint32 {
   398  	if x != nil && x.MinorVersion != nil {
   399  		return *x.MinorVersion
   400  	}
   401  	return 0
   402  }
   403  
   404  func (x *Features) GetPatchVersion() uint32 {
   405  	if x != nil && x.PatchVersion != nil {
   406  		return *x.PatchVersion
   407  	}
   408  	return 0
   409  }
   410  
   411  func (x *Features) GetBootloaderMode() bool {
   412  	if x != nil && x.BootloaderMode != nil {
   413  		return *x.BootloaderMode
   414  	}
   415  	return false
   416  }
   417  
   418  func (x *Features) GetDeviceId() string {
   419  	if x != nil && x.DeviceId != nil {
   420  		return *x.DeviceId
   421  	}
   422  	return ""
   423  }
   424  
   425  func (x *Features) GetPinProtection() bool {
   426  	if x != nil && x.PinProtection != nil {
   427  		return *x.PinProtection
   428  	}
   429  	return false
   430  }
   431  
   432  func (x *Features) GetPassphraseProtection() bool {
   433  	if x != nil && x.PassphraseProtection != nil {
   434  		return *x.PassphraseProtection
   435  	}
   436  	return false
   437  }
   438  
   439  func (x *Features) GetLanguage() string {
   440  	if x != nil && x.Language != nil {
   441  		return *x.Language
   442  	}
   443  	return ""
   444  }
   445  
   446  func (x *Features) GetLabel() string {
   447  	if x != nil && x.Label != nil {
   448  		return *x.Label
   449  	}
   450  	return ""
   451  }
   452  
   453  func (x *Features) GetInitialized() bool {
   454  	if x != nil && x.Initialized != nil {
   455  		return *x.Initialized
   456  	}
   457  	return false
   458  }
   459  
   460  func (x *Features) GetRevision() []byte {
   461  	if x != nil {
   462  		return x.Revision
   463  	}
   464  	return nil
   465  }
   466  
   467  func (x *Features) GetBootloaderHash() []byte {
   468  	if x != nil {
   469  		return x.BootloaderHash
   470  	}
   471  	return nil
   472  }
   473  
   474  func (x *Features) GetImported() bool {
   475  	if x != nil && x.Imported != nil {
   476  		return *x.Imported
   477  	}
   478  	return false
   479  }
   480  
   481  func (x *Features) GetPinCached() bool {
   482  	if x != nil && x.PinCached != nil {
   483  		return *x.PinCached
   484  	}
   485  	return false
   486  }
   487  
   488  func (x *Features) GetPassphraseCached() bool {
   489  	if x != nil && x.PassphraseCached != nil {
   490  		return *x.PassphraseCached
   491  	}
   492  	return false
   493  }
   494  
   495  func (x *Features) GetFirmwarePresent() bool {
   496  	if x != nil && x.FirmwarePresent != nil {
   497  		return *x.FirmwarePresent
   498  	}
   499  	return false
   500  }
   501  
   502  func (x *Features) GetNeedsBackup() bool {
   503  	if x != nil && x.NeedsBackup != nil {
   504  		return *x.NeedsBackup
   505  	}
   506  	return false
   507  }
   508  
   509  func (x *Features) GetFlags() uint32 {
   510  	if x != nil && x.Flags != nil {
   511  		return *x.Flags
   512  	}
   513  	return 0
   514  }
   515  
   516  func (x *Features) GetModel() string {
   517  	if x != nil && x.Model != nil {
   518  		return *x.Model
   519  	}
   520  	return ""
   521  }
   522  
   523  func (x *Features) GetFwMajor() uint32 {
   524  	if x != nil && x.FwMajor != nil {
   525  		return *x.FwMajor
   526  	}
   527  	return 0
   528  }
   529  
   530  func (x *Features) GetFwMinor() uint32 {
   531  	if x != nil && x.FwMinor != nil {
   532  		return *x.FwMinor
   533  	}
   534  	return 0
   535  }
   536  
   537  func (x *Features) GetFwPatch() uint32 {
   538  	if x != nil && x.FwPatch != nil {
   539  		return *x.FwPatch
   540  	}
   541  	return 0
   542  }
   543  
   544  func (x *Features) GetFwVendor() string {
   545  	if x != nil && x.FwVendor != nil {
   546  		return *x.FwVendor
   547  	}
   548  	return ""
   549  }
   550  
   551  func (x *Features) GetFwVendorKeys() []byte {
   552  	if x != nil {
   553  		return x.FwVendorKeys
   554  	}
   555  	return nil
   556  }
   557  
   558  func (x *Features) GetUnfinishedBackup() bool {
   559  	if x != nil && x.UnfinishedBackup != nil {
   560  		return *x.UnfinishedBackup
   561  	}
   562  	return false
   563  }
   564  
   565  func (x *Features) GetNoBackup() bool {
   566  	if x != nil && x.NoBackup != nil {
   567  		return *x.NoBackup
   568  	}
   569  	return false
   570  }
   571  
   572  // *
   573  // Request: clear session (removes cached PIN, passphrase, etc).
   574  // @start
   575  // @next Success
   576  type ClearSession struct {
   577  	state         protoimpl.MessageState
   578  	sizeCache     protoimpl.SizeCache
   579  	unknownFields protoimpl.UnknownFields
   580  }
   581  
   582  func (x *ClearSession) Reset() {
   583  	*x = ClearSession{}
   584  	if protoimpl.UnsafeEnabled {
   585  		mi := &file_messages_management_proto_msgTypes[3]
   586  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   587  		ms.StoreMessageInfo(mi)
   588  	}
   589  }
   590  
   591  func (x *ClearSession) String() string {
   592  	return protoimpl.X.MessageStringOf(x)
   593  }
   594  
   595  func (*ClearSession) ProtoMessage() {}
   596  
   597  func (x *ClearSession) ProtoReflect() protoreflect.Message {
   598  	mi := &file_messages_management_proto_msgTypes[3]
   599  	if protoimpl.UnsafeEnabled && x != nil {
   600  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   601  		if ms.LoadMessageInfo() == nil {
   602  			ms.StoreMessageInfo(mi)
   603  		}
   604  		return ms
   605  	}
   606  	return mi.MessageOf(x)
   607  }
   608  
   609  // Deprecated: Use ClearSession.ProtoReflect.Descriptor instead.
   610  func (*ClearSession) Descriptor() ([]byte, []int) {
   611  	return file_messages_management_proto_rawDescGZIP(), []int{3}
   612  }
   613  
   614  // *
   615  // Request: change language and/or label of the device
   616  // @start
   617  // @next Success
   618  // @next Failure
   619  type ApplySettings struct {
   620  	state         protoimpl.MessageState
   621  	sizeCache     protoimpl.SizeCache
   622  	unknownFields protoimpl.UnknownFields
   623  
   624  	Language         *string                             `protobuf:"bytes,1,opt,name=language" json:"language,omitempty"`
   625  	Label            *string                             `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
   626  	UsePassphrase    *bool                               `protobuf:"varint,3,opt,name=use_passphrase,json=usePassphrase" json:"use_passphrase,omitempty"`
   627  	Homescreen       []byte                              `protobuf:"bytes,4,opt,name=homescreen" json:"homescreen,omitempty"`
   628  	PassphraseSource *ApplySettings_PassphraseSourceType `protobuf:"varint,5,opt,name=passphrase_source,json=passphraseSource,enum=hw.trezor.messages.management.ApplySettings_PassphraseSourceType" json:"passphrase_source,omitempty"`
   629  	AutoLockDelayMs  *uint32                             `protobuf:"varint,6,opt,name=auto_lock_delay_ms,json=autoLockDelayMs" json:"auto_lock_delay_ms,omitempty"`
   630  	DisplayRotation  *uint32                             `protobuf:"varint,7,opt,name=display_rotation,json=displayRotation" json:"display_rotation,omitempty"` // in degrees from North
   631  }
   632  
   633  func (x *ApplySettings) Reset() {
   634  	*x = ApplySettings{}
   635  	if protoimpl.UnsafeEnabled {
   636  		mi := &file_messages_management_proto_msgTypes[4]
   637  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   638  		ms.StoreMessageInfo(mi)
   639  	}
   640  }
   641  
   642  func (x *ApplySettings) String() string {
   643  	return protoimpl.X.MessageStringOf(x)
   644  }
   645  
   646  func (*ApplySettings) ProtoMessage() {}
   647  
   648  func (x *ApplySettings) ProtoReflect() protoreflect.Message {
   649  	mi := &file_messages_management_proto_msgTypes[4]
   650  	if protoimpl.UnsafeEnabled && x != nil {
   651  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   652  		if ms.LoadMessageInfo() == nil {
   653  			ms.StoreMessageInfo(mi)
   654  		}
   655  		return ms
   656  	}
   657  	return mi.MessageOf(x)
   658  }
   659  
   660  // Deprecated: Use ApplySettings.ProtoReflect.Descriptor instead.
   661  func (*ApplySettings) Descriptor() ([]byte, []int) {
   662  	return file_messages_management_proto_rawDescGZIP(), []int{4}
   663  }
   664  
   665  func (x *ApplySettings) GetLanguage() string {
   666  	if x != nil && x.Language != nil {
   667  		return *x.Language
   668  	}
   669  	return ""
   670  }
   671  
   672  func (x *ApplySettings) GetLabel() string {
   673  	if x != nil && x.Label != nil {
   674  		return *x.Label
   675  	}
   676  	return ""
   677  }
   678  
   679  func (x *ApplySettings) GetUsePassphrase() bool {
   680  	if x != nil && x.UsePassphrase != nil {
   681  		return *x.UsePassphrase
   682  	}
   683  	return false
   684  }
   685  
   686  func (x *ApplySettings) GetHomescreen() []byte {
   687  	if x != nil {
   688  		return x.Homescreen
   689  	}
   690  	return nil
   691  }
   692  
   693  func (x *ApplySettings) GetPassphraseSource() ApplySettings_PassphraseSourceType {
   694  	if x != nil && x.PassphraseSource != nil {
   695  		return *x.PassphraseSource
   696  	}
   697  	return ApplySettings_ASK
   698  }
   699  
   700  func (x *ApplySettings) GetAutoLockDelayMs() uint32 {
   701  	if x != nil && x.AutoLockDelayMs != nil {
   702  		return *x.AutoLockDelayMs
   703  	}
   704  	return 0
   705  }
   706  
   707  func (x *ApplySettings) GetDisplayRotation() uint32 {
   708  	if x != nil && x.DisplayRotation != nil {
   709  		return *x.DisplayRotation
   710  	}
   711  	return 0
   712  }
   713  
   714  // *
   715  // Request: set flags of the device
   716  // @start
   717  // @next Success
   718  // @next Failure
   719  type ApplyFlags struct {
   720  	state         protoimpl.MessageState
   721  	sizeCache     protoimpl.SizeCache
   722  	unknownFields protoimpl.UnknownFields
   723  
   724  	Flags *uint32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"` // bitmask, can only set bits, not unset
   725  }
   726  
   727  func (x *ApplyFlags) Reset() {
   728  	*x = ApplyFlags{}
   729  	if protoimpl.UnsafeEnabled {
   730  		mi := &file_messages_management_proto_msgTypes[5]
   731  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   732  		ms.StoreMessageInfo(mi)
   733  	}
   734  }
   735  
   736  func (x *ApplyFlags) String() string {
   737  	return protoimpl.X.MessageStringOf(x)
   738  }
   739  
   740  func (*ApplyFlags) ProtoMessage() {}
   741  
   742  func (x *ApplyFlags) ProtoReflect() protoreflect.Message {
   743  	mi := &file_messages_management_proto_msgTypes[5]
   744  	if protoimpl.UnsafeEnabled && x != nil {
   745  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   746  		if ms.LoadMessageInfo() == nil {
   747  			ms.StoreMessageInfo(mi)
   748  		}
   749  		return ms
   750  	}
   751  	return mi.MessageOf(x)
   752  }
   753  
   754  // Deprecated: Use ApplyFlags.ProtoReflect.Descriptor instead.
   755  func (*ApplyFlags) Descriptor() ([]byte, []int) {
   756  	return file_messages_management_proto_rawDescGZIP(), []int{5}
   757  }
   758  
   759  func (x *ApplyFlags) GetFlags() uint32 {
   760  	if x != nil && x.Flags != nil {
   761  		return *x.Flags
   762  	}
   763  	return 0
   764  }
   765  
   766  // *
   767  // Request: Starts workflow for setting/changing/removing the PIN
   768  // @start
   769  // @next Success
   770  // @next Failure
   771  type ChangePin struct {
   772  	state         protoimpl.MessageState
   773  	sizeCache     protoimpl.SizeCache
   774  	unknownFields protoimpl.UnknownFields
   775  
   776  	Remove *bool `protobuf:"varint,1,opt,name=remove" json:"remove,omitempty"` // is PIN removal requested?
   777  }
   778  
   779  func (x *ChangePin) Reset() {
   780  	*x = ChangePin{}
   781  	if protoimpl.UnsafeEnabled {
   782  		mi := &file_messages_management_proto_msgTypes[6]
   783  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   784  		ms.StoreMessageInfo(mi)
   785  	}
   786  }
   787  
   788  func (x *ChangePin) String() string {
   789  	return protoimpl.X.MessageStringOf(x)
   790  }
   791  
   792  func (*ChangePin) ProtoMessage() {}
   793  
   794  func (x *ChangePin) ProtoReflect() protoreflect.Message {
   795  	mi := &file_messages_management_proto_msgTypes[6]
   796  	if protoimpl.UnsafeEnabled && x != nil {
   797  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   798  		if ms.LoadMessageInfo() == nil {
   799  			ms.StoreMessageInfo(mi)
   800  		}
   801  		return ms
   802  	}
   803  	return mi.MessageOf(x)
   804  }
   805  
   806  // Deprecated: Use ChangePin.ProtoReflect.Descriptor instead.
   807  func (*ChangePin) Descriptor() ([]byte, []int) {
   808  	return file_messages_management_proto_rawDescGZIP(), []int{6}
   809  }
   810  
   811  func (x *ChangePin) GetRemove() bool {
   812  	if x != nil && x.Remove != nil {
   813  		return *x.Remove
   814  	}
   815  	return false
   816  }
   817  
   818  // *
   819  // Request: Test if the device is alive, device sends back the message in Success response
   820  // @start
   821  // @next Success
   822  type Ping struct {
   823  	state         protoimpl.MessageState
   824  	sizeCache     protoimpl.SizeCache
   825  	unknownFields protoimpl.UnknownFields
   826  
   827  	Message              *string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`                                                        // message to send back in Success message
   828  	ButtonProtection     *bool   `protobuf:"varint,2,opt,name=button_protection,json=buttonProtection" json:"button_protection,omitempty"`             // ask for button press
   829  	PinProtection        *bool   `protobuf:"varint,3,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`                      // ask for PIN if set in device
   830  	PassphraseProtection *bool   `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // ask for passphrase if set in device
   831  }
   832  
   833  func (x *Ping) Reset() {
   834  	*x = Ping{}
   835  	if protoimpl.UnsafeEnabled {
   836  		mi := &file_messages_management_proto_msgTypes[7]
   837  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   838  		ms.StoreMessageInfo(mi)
   839  	}
   840  }
   841  
   842  func (x *Ping) String() string {
   843  	return protoimpl.X.MessageStringOf(x)
   844  }
   845  
   846  func (*Ping) ProtoMessage() {}
   847  
   848  func (x *Ping) ProtoReflect() protoreflect.Message {
   849  	mi := &file_messages_management_proto_msgTypes[7]
   850  	if protoimpl.UnsafeEnabled && x != nil {
   851  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   852  		if ms.LoadMessageInfo() == nil {
   853  			ms.StoreMessageInfo(mi)
   854  		}
   855  		return ms
   856  	}
   857  	return mi.MessageOf(x)
   858  }
   859  
   860  // Deprecated: Use Ping.ProtoReflect.Descriptor instead.
   861  func (*Ping) Descriptor() ([]byte, []int) {
   862  	return file_messages_management_proto_rawDescGZIP(), []int{7}
   863  }
   864  
   865  func (x *Ping) GetMessage() string {
   866  	if x != nil && x.Message != nil {
   867  		return *x.Message
   868  	}
   869  	return ""
   870  }
   871  
   872  func (x *Ping) GetButtonProtection() bool {
   873  	if x != nil && x.ButtonProtection != nil {
   874  		return *x.ButtonProtection
   875  	}
   876  	return false
   877  }
   878  
   879  func (x *Ping) GetPinProtection() bool {
   880  	if x != nil && x.PinProtection != nil {
   881  		return *x.PinProtection
   882  	}
   883  	return false
   884  }
   885  
   886  func (x *Ping) GetPassphraseProtection() bool {
   887  	if x != nil && x.PassphraseProtection != nil {
   888  		return *x.PassphraseProtection
   889  	}
   890  	return false
   891  }
   892  
   893  // *
   894  // Request: Abort last operation that required user interaction
   895  // @start
   896  // @next Failure
   897  type Cancel struct {
   898  	state         protoimpl.MessageState
   899  	sizeCache     protoimpl.SizeCache
   900  	unknownFields protoimpl.UnknownFields
   901  }
   902  
   903  func (x *Cancel) Reset() {
   904  	*x = Cancel{}
   905  	if protoimpl.UnsafeEnabled {
   906  		mi := &file_messages_management_proto_msgTypes[8]
   907  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   908  		ms.StoreMessageInfo(mi)
   909  	}
   910  }
   911  
   912  func (x *Cancel) String() string {
   913  	return protoimpl.X.MessageStringOf(x)
   914  }
   915  
   916  func (*Cancel) ProtoMessage() {}
   917  
   918  func (x *Cancel) ProtoReflect() protoreflect.Message {
   919  	mi := &file_messages_management_proto_msgTypes[8]
   920  	if protoimpl.UnsafeEnabled && x != nil {
   921  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   922  		if ms.LoadMessageInfo() == nil {
   923  			ms.StoreMessageInfo(mi)
   924  		}
   925  		return ms
   926  	}
   927  	return mi.MessageOf(x)
   928  }
   929  
   930  // Deprecated: Use Cancel.ProtoReflect.Descriptor instead.
   931  func (*Cancel) Descriptor() ([]byte, []int) {
   932  	return file_messages_management_proto_rawDescGZIP(), []int{8}
   933  }
   934  
   935  // *
   936  // Request: Request a sample of random data generated by hardware RNG. May be used for testing.
   937  // @start
   938  // @next Entropy
   939  // @next Failure
   940  type GetEntropy struct {
   941  	state         protoimpl.MessageState
   942  	sizeCache     protoimpl.SizeCache
   943  	unknownFields protoimpl.UnknownFields
   944  
   945  	Size *uint32 `protobuf:"varint,1,req,name=size" json:"size,omitempty"` // size of requested entropy
   946  }
   947  
   948  func (x *GetEntropy) Reset() {
   949  	*x = GetEntropy{}
   950  	if protoimpl.UnsafeEnabled {
   951  		mi := &file_messages_management_proto_msgTypes[9]
   952  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   953  		ms.StoreMessageInfo(mi)
   954  	}
   955  }
   956  
   957  func (x *GetEntropy) String() string {
   958  	return protoimpl.X.MessageStringOf(x)
   959  }
   960  
   961  func (*GetEntropy) ProtoMessage() {}
   962  
   963  func (x *GetEntropy) ProtoReflect() protoreflect.Message {
   964  	mi := &file_messages_management_proto_msgTypes[9]
   965  	if protoimpl.UnsafeEnabled && x != nil {
   966  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   967  		if ms.LoadMessageInfo() == nil {
   968  			ms.StoreMessageInfo(mi)
   969  		}
   970  		return ms
   971  	}
   972  	return mi.MessageOf(x)
   973  }
   974  
   975  // Deprecated: Use GetEntropy.ProtoReflect.Descriptor instead.
   976  func (*GetEntropy) Descriptor() ([]byte, []int) {
   977  	return file_messages_management_proto_rawDescGZIP(), []int{9}
   978  }
   979  
   980  func (x *GetEntropy) GetSize() uint32 {
   981  	if x != nil && x.Size != nil {
   982  		return *x.Size
   983  	}
   984  	return 0
   985  }
   986  
   987  // *
   988  // Response: Reply with random data generated by internal RNG
   989  // @end
   990  type Entropy struct {
   991  	state         protoimpl.MessageState
   992  	sizeCache     protoimpl.SizeCache
   993  	unknownFields protoimpl.UnknownFields
   994  
   995  	Entropy []byte `protobuf:"bytes,1,req,name=entropy" json:"entropy,omitempty"` // chunk of random generated bytes
   996  }
   997  
   998  func (x *Entropy) Reset() {
   999  	*x = Entropy{}
  1000  	if protoimpl.UnsafeEnabled {
  1001  		mi := &file_messages_management_proto_msgTypes[10]
  1002  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1003  		ms.StoreMessageInfo(mi)
  1004  	}
  1005  }
  1006  
  1007  func (x *Entropy) String() string {
  1008  	return protoimpl.X.MessageStringOf(x)
  1009  }
  1010  
  1011  func (*Entropy) ProtoMessage() {}
  1012  
  1013  func (x *Entropy) ProtoReflect() protoreflect.Message {
  1014  	mi := &file_messages_management_proto_msgTypes[10]
  1015  	if protoimpl.UnsafeEnabled && x != nil {
  1016  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1017  		if ms.LoadMessageInfo() == nil {
  1018  			ms.StoreMessageInfo(mi)
  1019  		}
  1020  		return ms
  1021  	}
  1022  	return mi.MessageOf(x)
  1023  }
  1024  
  1025  // Deprecated: Use Entropy.ProtoReflect.Descriptor instead.
  1026  func (*Entropy) Descriptor() ([]byte, []int) {
  1027  	return file_messages_management_proto_rawDescGZIP(), []int{10}
  1028  }
  1029  
  1030  func (x *Entropy) GetEntropy() []byte {
  1031  	if x != nil {
  1032  		return x.Entropy
  1033  	}
  1034  	return nil
  1035  }
  1036  
  1037  // *
  1038  // Request: Request device to wipe all sensitive data and settings
  1039  // @start
  1040  // @next Success
  1041  // @next Failure
  1042  type WipeDevice struct {
  1043  	state         protoimpl.MessageState
  1044  	sizeCache     protoimpl.SizeCache
  1045  	unknownFields protoimpl.UnknownFields
  1046  }
  1047  
  1048  func (x *WipeDevice) Reset() {
  1049  	*x = WipeDevice{}
  1050  	if protoimpl.UnsafeEnabled {
  1051  		mi := &file_messages_management_proto_msgTypes[11]
  1052  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1053  		ms.StoreMessageInfo(mi)
  1054  	}
  1055  }
  1056  
  1057  func (x *WipeDevice) String() string {
  1058  	return protoimpl.X.MessageStringOf(x)
  1059  }
  1060  
  1061  func (*WipeDevice) ProtoMessage() {}
  1062  
  1063  func (x *WipeDevice) ProtoReflect() protoreflect.Message {
  1064  	mi := &file_messages_management_proto_msgTypes[11]
  1065  	if protoimpl.UnsafeEnabled && x != nil {
  1066  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1067  		if ms.LoadMessageInfo() == nil {
  1068  			ms.StoreMessageInfo(mi)
  1069  		}
  1070  		return ms
  1071  	}
  1072  	return mi.MessageOf(x)
  1073  }
  1074  
  1075  // Deprecated: Use WipeDevice.ProtoReflect.Descriptor instead.
  1076  func (*WipeDevice) Descriptor() ([]byte, []int) {
  1077  	return file_messages_management_proto_rawDescGZIP(), []int{11}
  1078  }
  1079  
  1080  // *
  1081  // Request: Load seed and related internal settings from the computer
  1082  // @start
  1083  // @next Success
  1084  // @next Failure
  1085  type LoadDevice struct {
  1086  	state         protoimpl.MessageState
  1087  	sizeCache     protoimpl.SizeCache
  1088  	unknownFields protoimpl.UnknownFields
  1089  
  1090  	Mnemonic             *string     `protobuf:"bytes,1,opt,name=mnemonic" json:"mnemonic,omitempty"`                                                      // seed encoded as BIP-39 mnemonic (12, 18 or 24 words)
  1091  	Node                 *HDNodeType `protobuf:"bytes,2,opt,name=node" json:"node,omitempty"`                                                              // BIP-32 node
  1092  	Pin                  *string     `protobuf:"bytes,3,opt,name=pin" json:"pin,omitempty"`                                                                // set PIN protection
  1093  	PassphraseProtection *bool       `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // enable master node encryption using passphrase
  1094  	Language             *string     `protobuf:"bytes,5,opt,name=language,def=english" json:"language,omitempty"`                                          // device language
  1095  	Label                *string     `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"`                                                            // device label
  1096  	SkipChecksum         *bool       `protobuf:"varint,7,opt,name=skip_checksum,json=skipChecksum" json:"skip_checksum,omitempty"`                         // do not test mnemonic for valid BIP-39 checksum
  1097  	U2FCounter           *uint32     `protobuf:"varint,8,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`                               // U2F counter
  1098  }
  1099  
  1100  // Default values for LoadDevice fields.
  1101  const (
  1102  	Default_LoadDevice_Language = string("english")
  1103  )
  1104  
  1105  func (x *LoadDevice) Reset() {
  1106  	*x = LoadDevice{}
  1107  	if protoimpl.UnsafeEnabled {
  1108  		mi := &file_messages_management_proto_msgTypes[12]
  1109  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1110  		ms.StoreMessageInfo(mi)
  1111  	}
  1112  }
  1113  
  1114  func (x *LoadDevice) String() string {
  1115  	return protoimpl.X.MessageStringOf(x)
  1116  }
  1117  
  1118  func (*LoadDevice) ProtoMessage() {}
  1119  
  1120  func (x *LoadDevice) ProtoReflect() protoreflect.Message {
  1121  	mi := &file_messages_management_proto_msgTypes[12]
  1122  	if protoimpl.UnsafeEnabled && x != nil {
  1123  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1124  		if ms.LoadMessageInfo() == nil {
  1125  			ms.StoreMessageInfo(mi)
  1126  		}
  1127  		return ms
  1128  	}
  1129  	return mi.MessageOf(x)
  1130  }
  1131  
  1132  // Deprecated: Use LoadDevice.ProtoReflect.Descriptor instead.
  1133  func (*LoadDevice) Descriptor() ([]byte, []int) {
  1134  	return file_messages_management_proto_rawDescGZIP(), []int{12}
  1135  }
  1136  
  1137  func (x *LoadDevice) GetMnemonic() string {
  1138  	if x != nil && x.Mnemonic != nil {
  1139  		return *x.Mnemonic
  1140  	}
  1141  	return ""
  1142  }
  1143  
  1144  func (x *LoadDevice) GetNode() *HDNodeType {
  1145  	if x != nil {
  1146  		return x.Node
  1147  	}
  1148  	return nil
  1149  }
  1150  
  1151  func (x *LoadDevice) GetPin() string {
  1152  	if x != nil && x.Pin != nil {
  1153  		return *x.Pin
  1154  	}
  1155  	return ""
  1156  }
  1157  
  1158  func (x *LoadDevice) GetPassphraseProtection() bool {
  1159  	if x != nil && x.PassphraseProtection != nil {
  1160  		return *x.PassphraseProtection
  1161  	}
  1162  	return false
  1163  }
  1164  
  1165  func (x *LoadDevice) GetLanguage() string {
  1166  	if x != nil && x.Language != nil {
  1167  		return *x.Language
  1168  	}
  1169  	return Default_LoadDevice_Language
  1170  }
  1171  
  1172  func (x *LoadDevice) GetLabel() string {
  1173  	if x != nil && x.Label != nil {
  1174  		return *x.Label
  1175  	}
  1176  	return ""
  1177  }
  1178  
  1179  func (x *LoadDevice) GetSkipChecksum() bool {
  1180  	if x != nil && x.SkipChecksum != nil {
  1181  		return *x.SkipChecksum
  1182  	}
  1183  	return false
  1184  }
  1185  
  1186  func (x *LoadDevice) GetU2FCounter() uint32 {
  1187  	if x != nil && x.U2FCounter != nil {
  1188  		return *x.U2FCounter
  1189  	}
  1190  	return 0
  1191  }
  1192  
  1193  // *
  1194  // Request: Ask device to do initialization involving user interaction
  1195  // @start
  1196  // @next EntropyRequest
  1197  // @next Failure
  1198  type ResetDevice struct {
  1199  	state         protoimpl.MessageState
  1200  	sizeCache     protoimpl.SizeCache
  1201  	unknownFields protoimpl.UnknownFields
  1202  
  1203  	DisplayRandom        *bool   `protobuf:"varint,1,opt,name=display_random,json=displayRandom" json:"display_random,omitempty"`                      // display entropy generated by the device before asking for additional entropy
  1204  	Strength             *uint32 `protobuf:"varint,2,opt,name=strength,def=256" json:"strength,omitempty"`                                             // strength of seed in bits
  1205  	PassphraseProtection *bool   `protobuf:"varint,3,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // enable master node encryption using passphrase
  1206  	PinProtection        *bool   `protobuf:"varint,4,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`                      // enable PIN protection
  1207  	Language             *string `protobuf:"bytes,5,opt,name=language,def=english" json:"language,omitempty"`                                          // device language
  1208  	Label                *string `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"`                                                            // device label
  1209  	U2FCounter           *uint32 `protobuf:"varint,7,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`                               // U2F counter
  1210  	SkipBackup           *bool   `protobuf:"varint,8,opt,name=skip_backup,json=skipBackup" json:"skip_backup,omitempty"`                               // postpone seed backup to BackupDevice workflow
  1211  	NoBackup             *bool   `protobuf:"varint,9,opt,name=no_backup,json=noBackup" json:"no_backup,omitempty"`                                     // indicate that no backup is going to be made
  1212  }
  1213  
  1214  // Default values for ResetDevice fields.
  1215  const (
  1216  	Default_ResetDevice_Strength = uint32(256)
  1217  	Default_ResetDevice_Language = string("english")
  1218  )
  1219  
  1220  func (x *ResetDevice) Reset() {
  1221  	*x = ResetDevice{}
  1222  	if protoimpl.UnsafeEnabled {
  1223  		mi := &file_messages_management_proto_msgTypes[13]
  1224  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1225  		ms.StoreMessageInfo(mi)
  1226  	}
  1227  }
  1228  
  1229  func (x *ResetDevice) String() string {
  1230  	return protoimpl.X.MessageStringOf(x)
  1231  }
  1232  
  1233  func (*ResetDevice) ProtoMessage() {}
  1234  
  1235  func (x *ResetDevice) ProtoReflect() protoreflect.Message {
  1236  	mi := &file_messages_management_proto_msgTypes[13]
  1237  	if protoimpl.UnsafeEnabled && x != nil {
  1238  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1239  		if ms.LoadMessageInfo() == nil {
  1240  			ms.StoreMessageInfo(mi)
  1241  		}
  1242  		return ms
  1243  	}
  1244  	return mi.MessageOf(x)
  1245  }
  1246  
  1247  // Deprecated: Use ResetDevice.ProtoReflect.Descriptor instead.
  1248  func (*ResetDevice) Descriptor() ([]byte, []int) {
  1249  	return file_messages_management_proto_rawDescGZIP(), []int{13}
  1250  }
  1251  
  1252  func (x *ResetDevice) GetDisplayRandom() bool {
  1253  	if x != nil && x.DisplayRandom != nil {
  1254  		return *x.DisplayRandom
  1255  	}
  1256  	return false
  1257  }
  1258  
  1259  func (x *ResetDevice) GetStrength() uint32 {
  1260  	if x != nil && x.Strength != nil {
  1261  		return *x.Strength
  1262  	}
  1263  	return Default_ResetDevice_Strength
  1264  }
  1265  
  1266  func (x *ResetDevice) GetPassphraseProtection() bool {
  1267  	if x != nil && x.PassphraseProtection != nil {
  1268  		return *x.PassphraseProtection
  1269  	}
  1270  	return false
  1271  }
  1272  
  1273  func (x *ResetDevice) GetPinProtection() bool {
  1274  	if x != nil && x.PinProtection != nil {
  1275  		return *x.PinProtection
  1276  	}
  1277  	return false
  1278  }
  1279  
  1280  func (x *ResetDevice) GetLanguage() string {
  1281  	if x != nil && x.Language != nil {
  1282  		return *x.Language
  1283  	}
  1284  	return Default_ResetDevice_Language
  1285  }
  1286  
  1287  func (x *ResetDevice) GetLabel() string {
  1288  	if x != nil && x.Label != nil {
  1289  		return *x.Label
  1290  	}
  1291  	return ""
  1292  }
  1293  
  1294  func (x *ResetDevice) GetU2FCounter() uint32 {
  1295  	if x != nil && x.U2FCounter != nil {
  1296  		return *x.U2FCounter
  1297  	}
  1298  	return 0
  1299  }
  1300  
  1301  func (x *ResetDevice) GetSkipBackup() bool {
  1302  	if x != nil && x.SkipBackup != nil {
  1303  		return *x.SkipBackup
  1304  	}
  1305  	return false
  1306  }
  1307  
  1308  func (x *ResetDevice) GetNoBackup() bool {
  1309  	if x != nil && x.NoBackup != nil {
  1310  		return *x.NoBackup
  1311  	}
  1312  	return false
  1313  }
  1314  
  1315  // *
  1316  // Request: Perform backup of the device seed if not backed up using ResetDevice
  1317  // @start
  1318  // @next Success
  1319  type BackupDevice struct {
  1320  	state         protoimpl.MessageState
  1321  	sizeCache     protoimpl.SizeCache
  1322  	unknownFields protoimpl.UnknownFields
  1323  }
  1324  
  1325  func (x *BackupDevice) Reset() {
  1326  	*x = BackupDevice{}
  1327  	if protoimpl.UnsafeEnabled {
  1328  		mi := &file_messages_management_proto_msgTypes[14]
  1329  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1330  		ms.StoreMessageInfo(mi)
  1331  	}
  1332  }
  1333  
  1334  func (x *BackupDevice) String() string {
  1335  	return protoimpl.X.MessageStringOf(x)
  1336  }
  1337  
  1338  func (*BackupDevice) ProtoMessage() {}
  1339  
  1340  func (x *BackupDevice) ProtoReflect() protoreflect.Message {
  1341  	mi := &file_messages_management_proto_msgTypes[14]
  1342  	if protoimpl.UnsafeEnabled && x != nil {
  1343  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1344  		if ms.LoadMessageInfo() == nil {
  1345  			ms.StoreMessageInfo(mi)
  1346  		}
  1347  		return ms
  1348  	}
  1349  	return mi.MessageOf(x)
  1350  }
  1351  
  1352  // Deprecated: Use BackupDevice.ProtoReflect.Descriptor instead.
  1353  func (*BackupDevice) Descriptor() ([]byte, []int) {
  1354  	return file_messages_management_proto_rawDescGZIP(), []int{14}
  1355  }
  1356  
  1357  // *
  1358  // Response: Ask for additional entropy from host computer
  1359  // @next EntropyAck
  1360  type EntropyRequest struct {
  1361  	state         protoimpl.MessageState
  1362  	sizeCache     protoimpl.SizeCache
  1363  	unknownFields protoimpl.UnknownFields
  1364  }
  1365  
  1366  func (x *EntropyRequest) Reset() {
  1367  	*x = EntropyRequest{}
  1368  	if protoimpl.UnsafeEnabled {
  1369  		mi := &file_messages_management_proto_msgTypes[15]
  1370  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1371  		ms.StoreMessageInfo(mi)
  1372  	}
  1373  }
  1374  
  1375  func (x *EntropyRequest) String() string {
  1376  	return protoimpl.X.MessageStringOf(x)
  1377  }
  1378  
  1379  func (*EntropyRequest) ProtoMessage() {}
  1380  
  1381  func (x *EntropyRequest) ProtoReflect() protoreflect.Message {
  1382  	mi := &file_messages_management_proto_msgTypes[15]
  1383  	if protoimpl.UnsafeEnabled && x != nil {
  1384  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1385  		if ms.LoadMessageInfo() == nil {
  1386  			ms.StoreMessageInfo(mi)
  1387  		}
  1388  		return ms
  1389  	}
  1390  	return mi.MessageOf(x)
  1391  }
  1392  
  1393  // Deprecated: Use EntropyRequest.ProtoReflect.Descriptor instead.
  1394  func (*EntropyRequest) Descriptor() ([]byte, []int) {
  1395  	return file_messages_management_proto_rawDescGZIP(), []int{15}
  1396  }
  1397  
  1398  // *
  1399  // Request: Provide additional entropy for seed generation function
  1400  // @next Success
  1401  type EntropyAck struct {
  1402  	state         protoimpl.MessageState
  1403  	sizeCache     protoimpl.SizeCache
  1404  	unknownFields protoimpl.UnknownFields
  1405  
  1406  	Entropy []byte `protobuf:"bytes,1,opt,name=entropy" json:"entropy,omitempty"` // 256 bits (32 bytes) of random data
  1407  }
  1408  
  1409  func (x *EntropyAck) Reset() {
  1410  	*x = EntropyAck{}
  1411  	if protoimpl.UnsafeEnabled {
  1412  		mi := &file_messages_management_proto_msgTypes[16]
  1413  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1414  		ms.StoreMessageInfo(mi)
  1415  	}
  1416  }
  1417  
  1418  func (x *EntropyAck) String() string {
  1419  	return protoimpl.X.MessageStringOf(x)
  1420  }
  1421  
  1422  func (*EntropyAck) ProtoMessage() {}
  1423  
  1424  func (x *EntropyAck) ProtoReflect() protoreflect.Message {
  1425  	mi := &file_messages_management_proto_msgTypes[16]
  1426  	if protoimpl.UnsafeEnabled && x != nil {
  1427  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1428  		if ms.LoadMessageInfo() == nil {
  1429  			ms.StoreMessageInfo(mi)
  1430  		}
  1431  		return ms
  1432  	}
  1433  	return mi.MessageOf(x)
  1434  }
  1435  
  1436  // Deprecated: Use EntropyAck.ProtoReflect.Descriptor instead.
  1437  func (*EntropyAck) Descriptor() ([]byte, []int) {
  1438  	return file_messages_management_proto_rawDescGZIP(), []int{16}
  1439  }
  1440  
  1441  func (x *EntropyAck) GetEntropy() []byte {
  1442  	if x != nil {
  1443  		return x.Entropy
  1444  	}
  1445  	return nil
  1446  }
  1447  
  1448  // *
  1449  // Request: Start recovery workflow asking user for specific words of mnemonic
  1450  // Used to recovery device safely even on untrusted computer.
  1451  // @start
  1452  // @next WordRequest
  1453  type RecoveryDevice struct {
  1454  	state         protoimpl.MessageState
  1455  	sizeCache     protoimpl.SizeCache
  1456  	unknownFields protoimpl.UnknownFields
  1457  
  1458  	WordCount            *uint32 `protobuf:"varint,1,opt,name=word_count,json=wordCount" json:"word_count,omitempty"`                                  // number of words in BIP-39 mnemonic
  1459  	PassphraseProtection *bool   `protobuf:"varint,2,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // enable master node encryption using passphrase
  1460  	PinProtection        *bool   `protobuf:"varint,3,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`                      // enable PIN protection
  1461  	Language             *string `protobuf:"bytes,4,opt,name=language,def=english" json:"language,omitempty"`                                          // device language
  1462  	Label                *string `protobuf:"bytes,5,opt,name=label" json:"label,omitempty"`                                                            // device label
  1463  	EnforceWordlist      *bool   `protobuf:"varint,6,opt,name=enforce_wordlist,json=enforceWordlist" json:"enforce_wordlist,omitempty"`                // enforce BIP-39 wordlist during the process
  1464  	// 7 reserved for unused recovery method
  1465  	Type       *RecoveryDevice_RecoveryDeviceType `protobuf:"varint,8,opt,name=type,enum=hw.trezor.messages.management.RecoveryDevice_RecoveryDeviceType" json:"type,omitempty"` // supported recovery type
  1466  	U2FCounter *uint32                            `protobuf:"varint,9,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`                                        // U2F counter
  1467  	DryRun     *bool                              `protobuf:"varint,10,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`                                                   // perform dry-run recovery workflow (for safe mnemonic validation)
  1468  }
  1469  
  1470  // Default values for RecoveryDevice fields.
  1471  const (
  1472  	Default_RecoveryDevice_Language = string("english")
  1473  )
  1474  
  1475  func (x *RecoveryDevice) Reset() {
  1476  	*x = RecoveryDevice{}
  1477  	if protoimpl.UnsafeEnabled {
  1478  		mi := &file_messages_management_proto_msgTypes[17]
  1479  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1480  		ms.StoreMessageInfo(mi)
  1481  	}
  1482  }
  1483  
  1484  func (x *RecoveryDevice) String() string {
  1485  	return protoimpl.X.MessageStringOf(x)
  1486  }
  1487  
  1488  func (*RecoveryDevice) ProtoMessage() {}
  1489  
  1490  func (x *RecoveryDevice) ProtoReflect() protoreflect.Message {
  1491  	mi := &file_messages_management_proto_msgTypes[17]
  1492  	if protoimpl.UnsafeEnabled && x != nil {
  1493  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1494  		if ms.LoadMessageInfo() == nil {
  1495  			ms.StoreMessageInfo(mi)
  1496  		}
  1497  		return ms
  1498  	}
  1499  	return mi.MessageOf(x)
  1500  }
  1501  
  1502  // Deprecated: Use RecoveryDevice.ProtoReflect.Descriptor instead.
  1503  func (*RecoveryDevice) Descriptor() ([]byte, []int) {
  1504  	return file_messages_management_proto_rawDescGZIP(), []int{17}
  1505  }
  1506  
  1507  func (x *RecoveryDevice) GetWordCount() uint32 {
  1508  	if x != nil && x.WordCount != nil {
  1509  		return *x.WordCount
  1510  	}
  1511  	return 0
  1512  }
  1513  
  1514  func (x *RecoveryDevice) GetPassphraseProtection() bool {
  1515  	if x != nil && x.PassphraseProtection != nil {
  1516  		return *x.PassphraseProtection
  1517  	}
  1518  	return false
  1519  }
  1520  
  1521  func (x *RecoveryDevice) GetPinProtection() bool {
  1522  	if x != nil && x.PinProtection != nil {
  1523  		return *x.PinProtection
  1524  	}
  1525  	return false
  1526  }
  1527  
  1528  func (x *RecoveryDevice) GetLanguage() string {
  1529  	if x != nil && x.Language != nil {
  1530  		return *x.Language
  1531  	}
  1532  	return Default_RecoveryDevice_Language
  1533  }
  1534  
  1535  func (x *RecoveryDevice) GetLabel() string {
  1536  	if x != nil && x.Label != nil {
  1537  		return *x.Label
  1538  	}
  1539  	return ""
  1540  }
  1541  
  1542  func (x *RecoveryDevice) GetEnforceWordlist() bool {
  1543  	if x != nil && x.EnforceWordlist != nil {
  1544  		return *x.EnforceWordlist
  1545  	}
  1546  	return false
  1547  }
  1548  
  1549  func (x *RecoveryDevice) GetType() RecoveryDevice_RecoveryDeviceType {
  1550  	if x != nil && x.Type != nil {
  1551  		return *x.Type
  1552  	}
  1553  	return RecoveryDevice_RecoveryDeviceType_ScrambledWords
  1554  }
  1555  
  1556  func (x *RecoveryDevice) GetU2FCounter() uint32 {
  1557  	if x != nil && x.U2FCounter != nil {
  1558  		return *x.U2FCounter
  1559  	}
  1560  	return 0
  1561  }
  1562  
  1563  func (x *RecoveryDevice) GetDryRun() bool {
  1564  	if x != nil && x.DryRun != nil {
  1565  		return *x.DryRun
  1566  	}
  1567  	return false
  1568  }
  1569  
  1570  // *
  1571  // Response: Device is waiting for user to enter word of the mnemonic
  1572  // Its position is shown only on device's internal display.
  1573  // @next WordAck
  1574  type WordRequest struct {
  1575  	state         protoimpl.MessageState
  1576  	sizeCache     protoimpl.SizeCache
  1577  	unknownFields protoimpl.UnknownFields
  1578  
  1579  	Type *WordRequest_WordRequestType `protobuf:"varint,1,opt,name=type,enum=hw.trezor.messages.management.WordRequest_WordRequestType" json:"type,omitempty"`
  1580  }
  1581  
  1582  func (x *WordRequest) Reset() {
  1583  	*x = WordRequest{}
  1584  	if protoimpl.UnsafeEnabled {
  1585  		mi := &file_messages_management_proto_msgTypes[18]
  1586  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1587  		ms.StoreMessageInfo(mi)
  1588  	}
  1589  }
  1590  
  1591  func (x *WordRequest) String() string {
  1592  	return protoimpl.X.MessageStringOf(x)
  1593  }
  1594  
  1595  func (*WordRequest) ProtoMessage() {}
  1596  
  1597  func (x *WordRequest) ProtoReflect() protoreflect.Message {
  1598  	mi := &file_messages_management_proto_msgTypes[18]
  1599  	if protoimpl.UnsafeEnabled && x != nil {
  1600  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1601  		if ms.LoadMessageInfo() == nil {
  1602  			ms.StoreMessageInfo(mi)
  1603  		}
  1604  		return ms
  1605  	}
  1606  	return mi.MessageOf(x)
  1607  }
  1608  
  1609  // Deprecated: Use WordRequest.ProtoReflect.Descriptor instead.
  1610  func (*WordRequest) Descriptor() ([]byte, []int) {
  1611  	return file_messages_management_proto_rawDescGZIP(), []int{18}
  1612  }
  1613  
  1614  func (x *WordRequest) GetType() WordRequest_WordRequestType {
  1615  	if x != nil && x.Type != nil {
  1616  		return *x.Type
  1617  	}
  1618  	return WordRequest_WordRequestType_Plain
  1619  }
  1620  
  1621  // *
  1622  // Request: Computer replies with word from the mnemonic
  1623  // @next WordRequest
  1624  // @next Success
  1625  // @next Failure
  1626  type WordAck struct {
  1627  	state         protoimpl.MessageState
  1628  	sizeCache     protoimpl.SizeCache
  1629  	unknownFields protoimpl.UnknownFields
  1630  
  1631  	Word *string `protobuf:"bytes,1,req,name=word" json:"word,omitempty"` // one word of mnemonic on asked position
  1632  }
  1633  
  1634  func (x *WordAck) Reset() {
  1635  	*x = WordAck{}
  1636  	if protoimpl.UnsafeEnabled {
  1637  		mi := &file_messages_management_proto_msgTypes[19]
  1638  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1639  		ms.StoreMessageInfo(mi)
  1640  	}
  1641  }
  1642  
  1643  func (x *WordAck) String() string {
  1644  	return protoimpl.X.MessageStringOf(x)
  1645  }
  1646  
  1647  func (*WordAck) ProtoMessage() {}
  1648  
  1649  func (x *WordAck) ProtoReflect() protoreflect.Message {
  1650  	mi := &file_messages_management_proto_msgTypes[19]
  1651  	if protoimpl.UnsafeEnabled && x != nil {
  1652  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1653  		if ms.LoadMessageInfo() == nil {
  1654  			ms.StoreMessageInfo(mi)
  1655  		}
  1656  		return ms
  1657  	}
  1658  	return mi.MessageOf(x)
  1659  }
  1660  
  1661  // Deprecated: Use WordAck.ProtoReflect.Descriptor instead.
  1662  func (*WordAck) Descriptor() ([]byte, []int) {
  1663  	return file_messages_management_proto_rawDescGZIP(), []int{19}
  1664  }
  1665  
  1666  func (x *WordAck) GetWord() string {
  1667  	if x != nil && x.Word != nil {
  1668  		return *x.Word
  1669  	}
  1670  	return ""
  1671  }
  1672  
  1673  // *
  1674  // Request: Set U2F counter
  1675  // @start
  1676  // @next Success
  1677  type SetU2FCounter struct {
  1678  	state         protoimpl.MessageState
  1679  	sizeCache     protoimpl.SizeCache
  1680  	unknownFields protoimpl.UnknownFields
  1681  
  1682  	U2FCounter *uint32 `protobuf:"varint,1,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"` // counter
  1683  }
  1684  
  1685  func (x *SetU2FCounter) Reset() {
  1686  	*x = SetU2FCounter{}
  1687  	if protoimpl.UnsafeEnabled {
  1688  		mi := &file_messages_management_proto_msgTypes[20]
  1689  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1690  		ms.StoreMessageInfo(mi)
  1691  	}
  1692  }
  1693  
  1694  func (x *SetU2FCounter) String() string {
  1695  	return protoimpl.X.MessageStringOf(x)
  1696  }
  1697  
  1698  func (*SetU2FCounter) ProtoMessage() {}
  1699  
  1700  func (x *SetU2FCounter) ProtoReflect() protoreflect.Message {
  1701  	mi := &file_messages_management_proto_msgTypes[20]
  1702  	if protoimpl.UnsafeEnabled && x != nil {
  1703  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1704  		if ms.LoadMessageInfo() == nil {
  1705  			ms.StoreMessageInfo(mi)
  1706  		}
  1707  		return ms
  1708  	}
  1709  	return mi.MessageOf(x)
  1710  }
  1711  
  1712  // Deprecated: Use SetU2FCounter.ProtoReflect.Descriptor instead.
  1713  func (*SetU2FCounter) Descriptor() ([]byte, []int) {
  1714  	return file_messages_management_proto_rawDescGZIP(), []int{20}
  1715  }
  1716  
  1717  func (x *SetU2FCounter) GetU2FCounter() uint32 {
  1718  	if x != nil && x.U2FCounter != nil {
  1719  		return *x.U2FCounter
  1720  	}
  1721  	return 0
  1722  }
  1723  
  1724  var File_messages_management_proto protoreflect.FileDescriptor
  1725  
  1726  var file_messages_management_proto_rawDesc = []byte{
  1727  	0x0a, 0x19, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2d, 0x6d, 0x61, 0x6e, 0x61, 0x67,
  1728  	0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x68, 0x77, 0x2e,
  1729  	0x74, 0x72, 0x65, 0x7a, 0x6f, 0x72, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e,
  1730  	0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x15, 0x6d, 0x65, 0x73, 0x73,
  1731  	0x61, 0x67, 0x65, 0x73, 0x2d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1732  	0x6f, 0x22, 0x4b, 0x0a, 0x0a, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12,
  1733  	0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05,
  1734  	0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x70, 0x61,
  1735  	0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e,
  1736  	0x73, 0x6b, 0x69, 0x70, 0x50, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x22, 0x0d,
  1737  	0x0a, 0x0b, 0x47, 0x65, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x8c, 0x07,
  1738  	0x0a, 0x08, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x65,
  1739  	0x6e, 0x64, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x65, 0x6e, 0x64,
  1740  	0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73,
  1741  	0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x61, 0x6a, 0x6f, 0x72,
  1742  	0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x6f, 0x72,
  1743  	0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c,
  1744  	0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d,
  1745  	0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
  1746  	0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x61, 0x74, 0x63, 0x68, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
  1747  	0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x5f,
  1748  	0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x62, 0x6f, 0x6f, 0x74,
  1749  	0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65,
  1750  	0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64,
  1751  	0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x69, 0x6e, 0x5f, 0x70,
  1752  	0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
  1753  	0x0d, 0x70, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33,
  1754  	0x0a, 0x15, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x70, 0x72, 0x6f,
  1755  	0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x70,
  1756  	0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
  1757  	0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18,
  1758  	0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12,
  1759  	0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  1760  	0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c,
  1761  	0x69, 0x7a, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6e, 0x69, 0x74,
  1762  	0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73,
  1763  	0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73,
  1764  	0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65,
  1765  	0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x62, 0x6f,
  1766  	0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1a, 0x0a, 0x08,
  1767  	0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
  1768  	0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x69, 0x6e, 0x5f,
  1769  	0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x70, 0x69,
  1770  	0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x61, 0x73, 0x73, 0x70,
  1771  	0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01,
  1772  	0x28, 0x08, 0x52, 0x10, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x43, 0x61,
  1773  	0x63, 0x68, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65,
  1774  	0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f,
  1775  	0x66, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x12,
  1776  	0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x65, 0x64, 0x73, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18,
  1777  	0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x65, 0x65, 0x64, 0x73, 0x42, 0x61, 0x63, 0x6b,
  1778  	0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28,
  1779  	0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65,
  1780  	0x6c, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x19,
  1781  	0x0a, 0x08, 0x66, 0x77, 0x5f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0d,
  1782  	0x52, 0x07, 0x66, 0x77, 0x4d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x77, 0x5f,
  1783  	0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x77, 0x4d,
  1784  	0x69, 0x6e, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68,
  1785  	0x18, 0x18, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x12,
  1786  	0x1b, 0x0a, 0x09, 0x66, 0x77, 0x5f, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x18, 0x19, 0x20, 0x01,
  1787  	0x28, 0x09, 0x52, 0x08, 0x66, 0x77, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0e,
  1788  	0x66, 0x77, 0x5f, 0x76, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x1a,
  1789  	0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x77, 0x56, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x4b, 0x65,
  1790  	0x79, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64,
  1791  	0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x75,
  1792  	0x6e, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12,
  1793  	0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x1c, 0x20, 0x01,
  1794  	0x28, 0x08, 0x52, 0x08, 0x6e, 0x6f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x22, 0x0e, 0x0a, 0x0c,
  1795  	0x43, 0x6c, 0x65, 0x61, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x03, 0x0a,
  1796  	0x0d, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1a,
  1797  	0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1798  	0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61,
  1799  	0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c,
  1800  	0x12, 0x25, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61,
  1801  	0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x50, 0x61, 0x73,
  1802  	0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x6f, 0x6d, 0x65, 0x73,
  1803  	0x63, 0x72, 0x65, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x68, 0x6f, 0x6d,
  1804  	0x65, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x12, 0x6e, 0x0a, 0x11, 0x70, 0x61, 0x73, 0x73, 0x70,
  1805  	0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01,
  1806  	0x28, 0x0e, 0x32, 0x41, 0x2e, 0x68, 0x77, 0x2e, 0x74, 0x72, 0x65, 0x7a, 0x6f, 0x72, 0x2e, 0x6d,
  1807  	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65,
  1808  	0x6e, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
  1809  	0x2e, 0x50, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63,
  1810  	0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73,
  1811  	0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x5f,
  1812  	0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x6d, 0x73, 0x18, 0x06, 0x20,
  1813  	0x01, 0x28, 0x0d, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x6f, 0x4c, 0x6f, 0x63, 0x6b, 0x44, 0x65, 0x6c,
  1814  	0x61, 0x79, 0x4d, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f,
  1815  	0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f,
  1816  	0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  1817  	0x35, 0x0a, 0x14, 0x50, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75,
  1818  	0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x53, 0x4b, 0x10, 0x00,
  1819  	0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
  1820  	0x48, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x22, 0x22, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x46,
  1821  	0x6c, 0x61, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20,
  1822  	0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x23, 0x0a, 0x09, 0x43, 0x68,
  1823  	0x61, 0x6e, 0x67, 0x65, 0x50, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76,
  1824  	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x22,
  1825  	0xa9, 0x01, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
  1826  	0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1827  	0x67, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f,
  1828  	0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x62,
  1829  	0x75, 0x74, 0x74, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  1830  	0x25, 0x0a, 0x0e, 0x70, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
  1831  	0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x70, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74,
  1832  	0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x15, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68,
  1833  	0x72, 0x61, 0x73, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  1834  	0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73,
  1835  	0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x08, 0x0a, 0x06, 0x43,
  1836  	0x61, 0x6e, 0x63, 0x65, 0x6c, 0x22, 0x20, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72,
  1837  	0x6f, 0x70, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28,
  1838  	0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x23, 0x0a, 0x07, 0x45, 0x6e, 0x74, 0x72, 0x6f,
  1839  	0x70, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x18, 0x01, 0x20,
  1840  	0x02, 0x28, 0x0c, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x22, 0x0c, 0x0a, 0x0a,
  1841  	0x57, 0x69, 0x70, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0xab, 0x02, 0x0a, 0x0a, 0x4c,
  1842  	0x6f, 0x61, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x6e, 0x65,
  1843  	0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6e, 0x65,
  1844  	0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20,
  1845  	0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x77, 0x2e, 0x74, 0x72, 0x65, 0x7a, 0x6f, 0x72, 0x2e,
  1846  	0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  1847  	0x48, 0x44, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65,
  1848  	0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70,
  1849  	0x69, 0x6e, 0x12, 0x33, 0x0a, 0x15, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65,
  1850  	0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
  1851  	0x08, 0x52, 0x14, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x50, 0x72, 0x6f,
  1852  	0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75,
  1853  	0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x3a, 0x07, 0x65, 0x6e, 0x67, 0x6c, 0x69,
  1854  	0x73, 0x68, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05,
  1855  	0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62,
  1856  	0x65, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b,
  1857  	0x73, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x43,
  1858  	0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x32, 0x66, 0x5f, 0x63,
  1859  	0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x75, 0x32,
  1860  	0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x22, 0xcb, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x73,
  1861  	0x65, 0x74, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x70,
  1862  	0x6c, 0x61, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
  1863  	0x52, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x12,
  1864  	0x1f, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
  1865  	0x0d, 0x3a, 0x03, 0x32, 0x35, 0x36, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68,
  1866  	0x12, 0x33, 0x0a, 0x15, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x70,
  1867  	0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
  1868  	0x14, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65,
  1869  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f,
  1870  	0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x70,
  1871  	0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x08,
  1872  	0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x3a, 0x07,
  1873  	0x65, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
  1874  	0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
  1875  	0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x32, 0x66, 0x5f, 0x63,
  1876  	0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x75, 0x32,
  1877  	0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6b, 0x69, 0x70,
  1878  	0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73,
  1879  	0x6b, 0x69, 0x70, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x5f,
  1880  	0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x6f,
  1881  	0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x22, 0x0e, 0x0a, 0x0c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
  1882  	0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x45, 0x6e, 0x74, 0x72, 0x6f, 0x70,
  1883  	0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x26, 0x0a, 0x0a, 0x45, 0x6e, 0x74, 0x72,
  1884  	0x6f, 0x70, 0x79, 0x41, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70,
  1885  	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79,
  1886  	0x22, 0xdd, 0x03, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x44, 0x65, 0x76,
  1887  	0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
  1888  	0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x6f, 0x75,
  1889  	0x6e, 0x74, 0x12, 0x33, 0x0a, 0x15, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65,
  1890  	0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
  1891  	0x08, 0x52, 0x14, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x50, 0x72, 0x6f,
  1892  	0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x69, 0x6e, 0x5f, 0x70,
  1893  	0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
  1894  	0x0d, 0x70, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23,
  1895  	0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  1896  	0x3a, 0x07, 0x65, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75,
  1897  	0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01,
  1898  	0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x6e, 0x66,
  1899  	0x6f, 0x72, 0x63, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20,
  1900  	0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x57, 0x6f, 0x72, 0x64,
  1901  	0x6c, 0x69, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01,
  1902  	0x28, 0x0e, 0x32, 0x40, 0x2e, 0x68, 0x77, 0x2e, 0x74, 0x72, 0x65, 0x7a, 0x6f, 0x72, 0x2e, 0x6d,
  1903  	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65,
  1904  	0x6e, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x44, 0x65, 0x76, 0x69, 0x63,
  1905  	0x65, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
  1906  	0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x32,
  1907  	0x66, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1908  	0x0a, 0x75, 0x32, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x64,
  1909  	0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72,
  1910  	0x79, 0x52, 0x75, 0x6e, 0x22, 0x5a, 0x0a, 0x12, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
  1911  	0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x21, 0x52, 0x65,
  1912  	0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65,
  1913  	0x5f, 0x53, 0x63, 0x72, 0x61, 0x6d, 0x62, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x64, 0x73, 0x10,
  1914  	0x00, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x44, 0x65, 0x76,
  1915  	0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x10, 0x01,
  1916  	0x22, 0xc5, 0x01, 0x0a, 0x0b, 0x57, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1917  	0x12, 0x4e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a,
  1918  	0x2e, 0x68, 0x77, 0x2e, 0x74, 0x72, 0x65, 0x7a, 0x6f, 0x72, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
  1919  	0x67, 0x65, 0x73, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x57,
  1920  	0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x64, 0x52,
  1921  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
  1922  	0x22, 0x66, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54,
  1923  	0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x57, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
  1924  	0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x50, 0x6c, 0x61, 0x69, 0x6e, 0x10, 0x00, 0x12, 0x1b,
  1925  	0x0a, 0x17, 0x57, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70,
  1926  	0x65, 0x5f, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x39, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x57,
  1927  	0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x4d,
  1928  	0x61, 0x74, 0x72, 0x69, 0x78, 0x36, 0x10, 0x02, 0x22, 0x1d, 0x0a, 0x07, 0x57, 0x6f, 0x72, 0x64,
  1929  	0x41, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28,
  1930  	0x09, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x30, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x55, 0x32,
  1931  	0x46, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x32, 0x66, 0x5f,
  1932  	0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x75,
  1933  	0x32, 0x66, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x0a, 0x23, 0x63, 0x6f, 0x6d,
  1934  	0x2e, 0x73, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2e, 0x74, 0x72, 0x65,
  1935  	0x7a, 0x6f, 0x72, 0x2e, 0x6c, 0x69, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  1936  	0x42, 0x17, 0x54, 0x72, 0x65, 0x7a, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d,
  1937  	0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75,
  1938  	0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2f, 0x67,
  1939  	0x6f, 0x2d, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
  1940  	0x6e, 0x74, 0x73, 0x2f, 0x75, 0x73, 0x62, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72,
  1941  	0x65, 0x7a, 0x6f, 0x72,
  1942  }
  1943  
  1944  var (
  1945  	file_messages_management_proto_rawDescOnce sync.Once
  1946  	file_messages_management_proto_rawDescData = file_messages_management_proto_rawDesc
  1947  )
  1948  
  1949  func file_messages_management_proto_rawDescGZIP() []byte {
  1950  	file_messages_management_proto_rawDescOnce.Do(func() {
  1951  		file_messages_management_proto_rawDescData = protoimpl.X.CompressGZIP(file_messages_management_proto_rawDescData)
  1952  	})
  1953  	return file_messages_management_proto_rawDescData
  1954  }
  1955  
  1956  var file_messages_management_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
  1957  var file_messages_management_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
  1958  var file_messages_management_proto_goTypes = []any{
  1959  	(ApplySettings_PassphraseSourceType)(0), // 0: hw.trezor.messages.management.ApplySettings.PassphraseSourceType
  1960  	(RecoveryDevice_RecoveryDeviceType)(0),  // 1: hw.trezor.messages.management.RecoveryDevice.RecoveryDeviceType
  1961  	(WordRequest_WordRequestType)(0),        // 2: hw.trezor.messages.management.WordRequest.WordRequestType
  1962  	(*Initialize)(nil),                      // 3: hw.trezor.messages.management.Initialize
  1963  	(*GetFeatures)(nil),                     // 4: hw.trezor.messages.management.GetFeatures
  1964  	(*Features)(nil),                        // 5: hw.trezor.messages.management.Features
  1965  	(*ClearSession)(nil),                    // 6: hw.trezor.messages.management.ClearSession
  1966  	(*ApplySettings)(nil),                   // 7: hw.trezor.messages.management.ApplySettings
  1967  	(*ApplyFlags)(nil),                      // 8: hw.trezor.messages.management.ApplyFlags
  1968  	(*ChangePin)(nil),                       // 9: hw.trezor.messages.management.ChangePin
  1969  	(*Ping)(nil),                            // 10: hw.trezor.messages.management.Ping
  1970  	(*Cancel)(nil),                          // 11: hw.trezor.messages.management.Cancel
  1971  	(*GetEntropy)(nil),                      // 12: hw.trezor.messages.management.GetEntropy
  1972  	(*Entropy)(nil),                         // 13: hw.trezor.messages.management.Entropy
  1973  	(*WipeDevice)(nil),                      // 14: hw.trezor.messages.management.WipeDevice
  1974  	(*LoadDevice)(nil),                      // 15: hw.trezor.messages.management.LoadDevice
  1975  	(*ResetDevice)(nil),                     // 16: hw.trezor.messages.management.ResetDevice
  1976  	(*BackupDevice)(nil),                    // 17: hw.trezor.messages.management.BackupDevice
  1977  	(*EntropyRequest)(nil),                  // 18: hw.trezor.messages.management.EntropyRequest
  1978  	(*EntropyAck)(nil),                      // 19: hw.trezor.messages.management.EntropyAck
  1979  	(*RecoveryDevice)(nil),                  // 20: hw.trezor.messages.management.RecoveryDevice
  1980  	(*WordRequest)(nil),                     // 21: hw.trezor.messages.management.WordRequest
  1981  	(*WordAck)(nil),                         // 22: hw.trezor.messages.management.WordAck
  1982  	(*SetU2FCounter)(nil),                   // 23: hw.trezor.messages.management.SetU2FCounter
  1983  	(*HDNodeType)(nil),                      // 24: hw.trezor.messages.common.HDNodeType
  1984  }
  1985  var file_messages_management_proto_depIdxs = []int32{
  1986  	0,  // 0: hw.trezor.messages.management.ApplySettings.passphrase_source:type_name -> hw.trezor.messages.management.ApplySettings.PassphraseSourceType
  1987  	24, // 1: hw.trezor.messages.management.LoadDevice.node:type_name -> hw.trezor.messages.common.HDNodeType
  1988  	1,  // 2: hw.trezor.messages.management.RecoveryDevice.type:type_name -> hw.trezor.messages.management.RecoveryDevice.RecoveryDeviceType
  1989  	2,  // 3: hw.trezor.messages.management.WordRequest.type:type_name -> hw.trezor.messages.management.WordRequest.WordRequestType
  1990  	4,  // [4:4] is the sub-list for method output_type
  1991  	4,  // [4:4] is the sub-list for method input_type
  1992  	4,  // [4:4] is the sub-list for extension type_name
  1993  	4,  // [4:4] is the sub-list for extension extendee
  1994  	0,  // [0:4] is the sub-list for field type_name
  1995  }
  1996  
  1997  func init() { file_messages_management_proto_init() }
  1998  func file_messages_management_proto_init() {
  1999  	if File_messages_management_proto != nil {
  2000  		return
  2001  	}
  2002  	file_messages_common_proto_init()
  2003  	if !protoimpl.UnsafeEnabled {
  2004  		file_messages_management_proto_msgTypes[0].Exporter = func(v any, i int) any {
  2005  			switch v := v.(*Initialize); i {
  2006  			case 0:
  2007  				return &v.state
  2008  			case 1:
  2009  				return &v.sizeCache
  2010  			case 2:
  2011  				return &v.unknownFields
  2012  			default:
  2013  				return nil
  2014  			}
  2015  		}
  2016  		file_messages_management_proto_msgTypes[1].Exporter = func(v any, i int) any {
  2017  			switch v := v.(*GetFeatures); i {
  2018  			case 0:
  2019  				return &v.state
  2020  			case 1:
  2021  				return &v.sizeCache
  2022  			case 2:
  2023  				return &v.unknownFields
  2024  			default:
  2025  				return nil
  2026  			}
  2027  		}
  2028  		file_messages_management_proto_msgTypes[2].Exporter = func(v any, i int) any {
  2029  			switch v := v.(*Features); i {
  2030  			case 0:
  2031  				return &v.state
  2032  			case 1:
  2033  				return &v.sizeCache
  2034  			case 2:
  2035  				return &v.unknownFields
  2036  			default:
  2037  				return nil
  2038  			}
  2039  		}
  2040  		file_messages_management_proto_msgTypes[3].Exporter = func(v any, i int) any {
  2041  			switch v := v.(*ClearSession); i {
  2042  			case 0:
  2043  				return &v.state
  2044  			case 1:
  2045  				return &v.sizeCache
  2046  			case 2:
  2047  				return &v.unknownFields
  2048  			default:
  2049  				return nil
  2050  			}
  2051  		}
  2052  		file_messages_management_proto_msgTypes[4].Exporter = func(v any, i int) any {
  2053  			switch v := v.(*ApplySettings); i {
  2054  			case 0:
  2055  				return &v.state
  2056  			case 1:
  2057  				return &v.sizeCache
  2058  			case 2:
  2059  				return &v.unknownFields
  2060  			default:
  2061  				return nil
  2062  			}
  2063  		}
  2064  		file_messages_management_proto_msgTypes[5].Exporter = func(v any, i int) any {
  2065  			switch v := v.(*ApplyFlags); i {
  2066  			case 0:
  2067  				return &v.state
  2068  			case 1:
  2069  				return &v.sizeCache
  2070  			case 2:
  2071  				return &v.unknownFields
  2072  			default:
  2073  				return nil
  2074  			}
  2075  		}
  2076  		file_messages_management_proto_msgTypes[6].Exporter = func(v any, i int) any {
  2077  			switch v := v.(*ChangePin); i {
  2078  			case 0:
  2079  				return &v.state
  2080  			case 1:
  2081  				return &v.sizeCache
  2082  			case 2:
  2083  				return &v.unknownFields
  2084  			default:
  2085  				return nil
  2086  			}
  2087  		}
  2088  		file_messages_management_proto_msgTypes[7].Exporter = func(v any, i int) any {
  2089  			switch v := v.(*Ping); i {
  2090  			case 0:
  2091  				return &v.state
  2092  			case 1:
  2093  				return &v.sizeCache
  2094  			case 2:
  2095  				return &v.unknownFields
  2096  			default:
  2097  				return nil
  2098  			}
  2099  		}
  2100  		file_messages_management_proto_msgTypes[8].Exporter = func(v any, i int) any {
  2101  			switch v := v.(*Cancel); i {
  2102  			case 0:
  2103  				return &v.state
  2104  			case 1:
  2105  				return &v.sizeCache
  2106  			case 2:
  2107  				return &v.unknownFields
  2108  			default:
  2109  				return nil
  2110  			}
  2111  		}
  2112  		file_messages_management_proto_msgTypes[9].Exporter = func(v any, i int) any {
  2113  			switch v := v.(*GetEntropy); i {
  2114  			case 0:
  2115  				return &v.state
  2116  			case 1:
  2117  				return &v.sizeCache
  2118  			case 2:
  2119  				return &v.unknownFields
  2120  			default:
  2121  				return nil
  2122  			}
  2123  		}
  2124  		file_messages_management_proto_msgTypes[10].Exporter = func(v any, i int) any {
  2125  			switch v := v.(*Entropy); i {
  2126  			case 0:
  2127  				return &v.state
  2128  			case 1:
  2129  				return &v.sizeCache
  2130  			case 2:
  2131  				return &v.unknownFields
  2132  			default:
  2133  				return nil
  2134  			}
  2135  		}
  2136  		file_messages_management_proto_msgTypes[11].Exporter = func(v any, i int) any {
  2137  			switch v := v.(*WipeDevice); i {
  2138  			case 0:
  2139  				return &v.state
  2140  			case 1:
  2141  				return &v.sizeCache
  2142  			case 2:
  2143  				return &v.unknownFields
  2144  			default:
  2145  				return nil
  2146  			}
  2147  		}
  2148  		file_messages_management_proto_msgTypes[12].Exporter = func(v any, i int) any {
  2149  			switch v := v.(*LoadDevice); i {
  2150  			case 0:
  2151  				return &v.state
  2152  			case 1:
  2153  				return &v.sizeCache
  2154  			case 2:
  2155  				return &v.unknownFields
  2156  			default:
  2157  				return nil
  2158  			}
  2159  		}
  2160  		file_messages_management_proto_msgTypes[13].Exporter = func(v any, i int) any {
  2161  			switch v := v.(*ResetDevice); i {
  2162  			case 0:
  2163  				return &v.state
  2164  			case 1:
  2165  				return &v.sizeCache
  2166  			case 2:
  2167  				return &v.unknownFields
  2168  			default:
  2169  				return nil
  2170  			}
  2171  		}
  2172  		file_messages_management_proto_msgTypes[14].Exporter = func(v any, i int) any {
  2173  			switch v := v.(*BackupDevice); i {
  2174  			case 0:
  2175  				return &v.state
  2176  			case 1:
  2177  				return &v.sizeCache
  2178  			case 2:
  2179  				return &v.unknownFields
  2180  			default:
  2181  				return nil
  2182  			}
  2183  		}
  2184  		file_messages_management_proto_msgTypes[15].Exporter = func(v any, i int) any {
  2185  			switch v := v.(*EntropyRequest); i {
  2186  			case 0:
  2187  				return &v.state
  2188  			case 1:
  2189  				return &v.sizeCache
  2190  			case 2:
  2191  				return &v.unknownFields
  2192  			default:
  2193  				return nil
  2194  			}
  2195  		}
  2196  		file_messages_management_proto_msgTypes[16].Exporter = func(v any, i int) any {
  2197  			switch v := v.(*EntropyAck); i {
  2198  			case 0:
  2199  				return &v.state
  2200  			case 1:
  2201  				return &v.sizeCache
  2202  			case 2:
  2203  				return &v.unknownFields
  2204  			default:
  2205  				return nil
  2206  			}
  2207  		}
  2208  		file_messages_management_proto_msgTypes[17].Exporter = func(v any, i int) any {
  2209  			switch v := v.(*RecoveryDevice); i {
  2210  			case 0:
  2211  				return &v.state
  2212  			case 1:
  2213  				return &v.sizeCache
  2214  			case 2:
  2215  				return &v.unknownFields
  2216  			default:
  2217  				return nil
  2218  			}
  2219  		}
  2220  		file_messages_management_proto_msgTypes[18].Exporter = func(v any, i int) any {
  2221  			switch v := v.(*WordRequest); i {
  2222  			case 0:
  2223  				return &v.state
  2224  			case 1:
  2225  				return &v.sizeCache
  2226  			case 2:
  2227  				return &v.unknownFields
  2228  			default:
  2229  				return nil
  2230  			}
  2231  		}
  2232  		file_messages_management_proto_msgTypes[19].Exporter = func(v any, i int) any {
  2233  			switch v := v.(*WordAck); i {
  2234  			case 0:
  2235  				return &v.state
  2236  			case 1:
  2237  				return &v.sizeCache
  2238  			case 2:
  2239  				return &v.unknownFields
  2240  			default:
  2241  				return nil
  2242  			}
  2243  		}
  2244  		file_messages_management_proto_msgTypes[20].Exporter = func(v any, i int) any {
  2245  			switch v := v.(*SetU2FCounter); i {
  2246  			case 0:
  2247  				return &v.state
  2248  			case 1:
  2249  				return &v.sizeCache
  2250  			case 2:
  2251  				return &v.unknownFields
  2252  			default:
  2253  				return nil
  2254  			}
  2255  		}
  2256  	}
  2257  	type x struct{}
  2258  	out := protoimpl.TypeBuilder{
  2259  		File: protoimpl.DescBuilder{
  2260  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2261  			RawDescriptor: file_messages_management_proto_rawDesc,
  2262  			NumEnums:      3,
  2263  			NumMessages:   21,
  2264  			NumExtensions: 0,
  2265  			NumServices:   0,
  2266  		},
  2267  		GoTypes:           file_messages_management_proto_goTypes,
  2268  		DependencyIndexes: file_messages_management_proto_depIdxs,
  2269  		EnumInfos:         file_messages_management_proto_enumTypes,
  2270  		MessageInfos:      file_messages_management_proto_msgTypes,
  2271  	}.Build()
  2272  	File_messages_management_proto = out.File
  2273  	file_messages_management_proto_rawDesc = nil
  2274  	file_messages_management_proto_goTypes = nil
  2275  	file_messages_management_proto_depIdxs = nil
  2276  }