GoogleAuthenticatorImport.pbjson.dart 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. ///
  2. // Generated code. Do not modify.
  3. // source: GoogleAuthenticatorImport.proto
  4. //
  5. // @dart = 2.12
  6. // ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
  7. import 'dart:core' as $core;
  8. import 'dart:convert' as $convert;
  9. import 'dart:typed_data' as $typed_data;
  10. @$core.Deprecated('Use googleAuthenticatorImportDescriptor instead')
  11. const GoogleAuthenticatorImport$json = const {
  12. '1': 'GoogleAuthenticatorImport',
  13. '2': const [
  14. const {
  15. '1': 'otp_parameters',
  16. '3': 1,
  17. '4': 3,
  18. '5': 11,
  19. '6': '.KeePassOTP.GoogleAuthenticatorImport.OtpParameters',
  20. '10': 'otpParameters'
  21. },
  22. const {'1': 'version', '3': 2, '4': 1, '5': 5, '10': 'version'},
  23. const {'1': 'batch_size', '3': 3, '4': 1, '5': 5, '10': 'batchSize'},
  24. const {'1': 'batch_index', '3': 4, '4': 1, '5': 5, '10': 'batchIndex'},
  25. const {'1': 'batch_id', '3': 5, '4': 1, '5': 5, '10': 'batchId'},
  26. ],
  27. '3': const [GoogleAuthenticatorImport_OtpParameters$json],
  28. '4': const [
  29. GoogleAuthenticatorImport_Algorithm$json,
  30. GoogleAuthenticatorImport_DigitCount$json,
  31. GoogleAuthenticatorImport_OtpType$json
  32. ],
  33. };
  34. @$core.Deprecated('Use googleAuthenticatorImportDescriptor instead')
  35. const GoogleAuthenticatorImport_OtpParameters$json = const {
  36. '1': 'OtpParameters',
  37. '2': const [
  38. const {'1': 'secret', '3': 1, '4': 1, '5': 12, '10': 'secret'},
  39. const {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'},
  40. const {'1': 'issuer', '3': 3, '4': 1, '5': 9, '10': 'issuer'},
  41. const {
  42. '1': 'algorithm',
  43. '3': 4,
  44. '4': 1,
  45. '5': 14,
  46. '6': '.KeePassOTP.GoogleAuthenticatorImport.Algorithm',
  47. '10': 'algorithm'
  48. },
  49. const {
  50. '1': 'digits',
  51. '3': 5,
  52. '4': 1,
  53. '5': 14,
  54. '6': '.KeePassOTP.GoogleAuthenticatorImport.DigitCount',
  55. '10': 'digits'
  56. },
  57. const {
  58. '1': 'type',
  59. '3': 6,
  60. '4': 1,
  61. '5': 14,
  62. '6': '.KeePassOTP.GoogleAuthenticatorImport.OtpType',
  63. '10': 'type'
  64. },
  65. const {'1': 'counter', '3': 7, '4': 1, '5': 3, '10': 'counter'},
  66. ],
  67. };
  68. @$core.Deprecated('Use googleAuthenticatorImportDescriptor instead')
  69. const GoogleAuthenticatorImport_Algorithm$json = const {
  70. '1': 'Algorithm',
  71. '2': const [
  72. const {'1': 'ALGORITHM_UNSPECIFIED', '2': 0},
  73. const {'1': 'ALGORITHM_SHA1', '2': 1},
  74. const {'1': 'ALGORITHM_SHA256', '2': 2},
  75. const {'1': 'ALGORITHM_SHA512', '2': 3},
  76. const {'1': 'ALGORITHM_MD5', '2': 4},
  77. ],
  78. };
  79. @$core.Deprecated('Use googleAuthenticatorImportDescriptor instead')
  80. const GoogleAuthenticatorImport_DigitCount$json = const {
  81. '1': 'DigitCount',
  82. '2': const [
  83. const {'1': 'DIGIT_COUNT_UNSPECIFIED', '2': 0},
  84. const {'1': 'DIGIT_COUNT_SIX', '2': 1},
  85. const {'1': 'DIGIT_COUNT_EIGHT', '2': 2},
  86. ],
  87. };
  88. @$core.Deprecated('Use googleAuthenticatorImportDescriptor instead')
  89. const GoogleAuthenticatorImport_OtpType$json = const {
  90. '1': 'OtpType',
  91. '2': const [
  92. const {'1': 'OTP_TYPE_UNSPECIFIED', '2': 0},
  93. const {'1': 'OTP_TYPE_HOTP', '2': 1},
  94. const {'1': 'OTP_TYPE_TOTP', '2': 2},
  95. ],
  96. };
  97. /// Descriptor for `GoogleAuthenticatorImport`. Decode as a `google.protobuf.DescriptorProto`.
  98. final $typed_data.Uint8List googleAuthenticatorImportDescriptor =
  99. $convert.base64Decode(
  100. 'ChlHb29nbGVBdXRoZW50aWNhdG9ySW1wb3J0EloKDm90cF9wYXJhbWV0ZXJzGAEgAygLMjMuS2VlUGFzc09UUC5Hb29nbGVBdXRoZW50aWNhdG9ySW1wb3J0Lk90cFBhcmFtZXRlcnNSDW90cFBhcmFtZXRlcnMSGAoHdmVyc2lvbhgCIAEoBVIHdmVyc2lvbhIdCgpiYXRjaF9zaXplGAMgASgFUgliYXRjaFNpemUSHwoLYmF0Y2hfaW5kZXgYBCABKAVSCmJhdGNoSW5kZXgSGQoIYmF0Y2hfaWQYBSABKAVSB2JhdGNoSWQayQIKDU90cFBhcmFtZXRlcnMSFgoGc2VjcmV0GAEgASgMUgZzZWNyZXQSEgoEbmFtZRgCIAEoCVIEbmFtZRIWCgZpc3N1ZXIYAyABKAlSBmlzc3VlchJNCglhbGdvcml0aG0YBCABKA4yLy5LZWVQYXNzT1RQLkdvb2dsZUF1dGhlbnRpY2F0b3JJbXBvcnQuQWxnb3JpdGhtUglhbGdvcml0aG0SSAoGZGlnaXRzGAUgASgOMjAuS2VlUGFzc09UUC5Hb29nbGVBdXRoZW50aWNhdG9ySW1wb3J0LkRpZ2l0Q291bnRSBmRpZ2l0cxJBCgR0eXBlGAYgASgOMi0uS2VlUGFzc09UUC5Hb29nbGVBdXRoZW50aWNhdG9ySW1wb3J0Lk90cFR5cGVSBHR5cGUSGAoHY291bnRlchgHIAEoA1IHY291bnRlciJ5CglBbGdvcml0aG0SGQoVQUxHT1JJVEhNX1VOU1BFQ0lGSUVEEAASEgoOQUxHT1JJVEhNX1NIQTEQARIUChBBTEdPUklUSE1fU0hBMjU2EAISFAoQQUxHT1JJVEhNX1NIQTUxMhADEhEKDUFMR09SSVRITV9NRDUQBCJVCgpEaWdpdENvdW50EhsKF0RJR0lUX0NPVU5UX1VOU1BFQ0lGSUVEEAASEwoPRElHSVRfQ09VTlRfU0lYEAESFQoRRElHSVRfQ09VTlRfRUlHSFQQAiJJCgdPdHBUeXBlEhgKFE9UUF9UWVBFX1VOU1BFQ0lGSUVEEAASEQoNT1RQX1RZUEVfSE9UUBABEhEKDU9UUF9UWVBFX1RPVFAQAg==');