|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
|
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.33.0
|
|
|
|
|
// protoc-gen-go v1.34.2
|
|
|
|
|
// protoc v5.27.1
|
|
|
|
|
// source: messages-management.proto
|
|
|
|
|
|
|
|
|
@ -1955,7 +1955,7 @@ func file_messages_management_proto_rawDescGZIP() []byte { |
|
|
|
|
|
|
|
|
|
var file_messages_management_proto_enumTypes = make([]protoimpl.EnumInfo, 3) |
|
|
|
|
var file_messages_management_proto_msgTypes = make([]protoimpl.MessageInfo, 21) |
|
|
|
|
var file_messages_management_proto_goTypes = []interface{}{ |
|
|
|
|
var file_messages_management_proto_goTypes = []any{ |
|
|
|
|
(ApplySettings_PassphraseSourceType)(0), // 0: hw.trezor.messages.management.ApplySettings.PassphraseSourceType
|
|
|
|
|
(RecoveryDevice_RecoveryDeviceType)(0), // 1: hw.trezor.messages.management.RecoveryDevice.RecoveryDeviceType
|
|
|
|
|
(WordRequest_WordRequestType)(0), // 2: hw.trezor.messages.management.WordRequest.WordRequestType
|
|
|
|
@ -2001,7 +2001,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
} |
|
|
|
|
file_messages_common_proto_init() |
|
|
|
|
if !protoimpl.UnsafeEnabled { |
|
|
|
|
file_messages_management_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[0].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*Initialize); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2013,7 +2013,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[1].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*GetFeatures); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2025,7 +2025,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[2].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*Features); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2037,7 +2037,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[3].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*ClearSession); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2049,7 +2049,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[4].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*ApplySettings); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2061,7 +2061,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[5].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*ApplyFlags); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2073,7 +2073,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[6].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*ChangePin); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2085,7 +2085,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[7].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*Ping); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2097,7 +2097,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[8].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*Cancel); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2109,7 +2109,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[9].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*GetEntropy); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2121,7 +2121,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[10].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*Entropy); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2133,7 +2133,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[11].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*WipeDevice); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2145,7 +2145,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[12].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*LoadDevice); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2157,7 +2157,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[13].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*ResetDevice); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2169,7 +2169,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[14].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*BackupDevice); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2181,7 +2181,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[15].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*EntropyRequest); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2193,7 +2193,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[16].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*EntropyAck); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2205,7 +2205,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[17].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*RecoveryDevice); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2217,7 +2217,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[18].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*WordRequest); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2229,7 +2229,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[19].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*WordAck); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -2241,7 +2241,7 @@ func file_messages_management_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_messages_management_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_messages_management_proto_msgTypes[20].Exporter = func(v any, i int) any { |
|
|
|
|
switch v := v.(*SetU2FCounter); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|