constants_pb2.py 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: constants.proto
  4. from google.protobuf.internal import enum_type_wrapper
  5. from google.protobuf import descriptor as _descriptor
  6. from google.protobuf import message as _message
  7. from google.protobuf import reflection as _reflection
  8. from google.protobuf import symbol_database as _symbol_database
  9. # @@protoc_insertion_point(imports)
  10. _sym_db = _symbol_database.Default()
  11. DESCRIPTOR = _descriptor.FileDescriptor(
  12. name='constants.proto',
  13. package='',
  14. syntax='proto3',
  15. serialized_options=None,
  16. create_key=_descriptor._internal_create_key,
  17. serialized_pb=b'\n\x0f\x63onstants.proto*\x9f\x01\n\x06Status\x12\x0b\n\x07Success\x10\x00\x12\x14\n\x10InvalidSecScheme\x10\x01\x12\x10\n\x0cInvalidProto\x10\x02\x12\x13\n\x0fTooManySessions\x10\x03\x12\x13\n\x0fInvalidArgument\x10\x04\x12\x11\n\rInternalError\x10\x05\x12\x0f\n\x0b\x43ryptoError\x10\x06\x12\x12\n\x0eInvalidSession\x10\x07\x62\x06proto3'
  18. )
  19. _STATUS = _descriptor.EnumDescriptor(
  20. name='Status',
  21. full_name='Status',
  22. filename=None,
  23. file=DESCRIPTOR,
  24. create_key=_descriptor._internal_create_key,
  25. values=[
  26. _descriptor.EnumValueDescriptor(
  27. name='Success', index=0, number=0,
  28. serialized_options=None,
  29. type=None,
  30. create_key=_descriptor._internal_create_key),
  31. _descriptor.EnumValueDescriptor(
  32. name='InvalidSecScheme', index=1, number=1,
  33. serialized_options=None,
  34. type=None,
  35. create_key=_descriptor._internal_create_key),
  36. _descriptor.EnumValueDescriptor(
  37. name='InvalidProto', index=2, number=2,
  38. serialized_options=None,
  39. type=None,
  40. create_key=_descriptor._internal_create_key),
  41. _descriptor.EnumValueDescriptor(
  42. name='TooManySessions', index=3, number=3,
  43. serialized_options=None,
  44. type=None,
  45. create_key=_descriptor._internal_create_key),
  46. _descriptor.EnumValueDescriptor(
  47. name='InvalidArgument', index=4, number=4,
  48. serialized_options=None,
  49. type=None,
  50. create_key=_descriptor._internal_create_key),
  51. _descriptor.EnumValueDescriptor(
  52. name='InternalError', index=5, number=5,
  53. serialized_options=None,
  54. type=None,
  55. create_key=_descriptor._internal_create_key),
  56. _descriptor.EnumValueDescriptor(
  57. name='CryptoError', index=6, number=6,
  58. serialized_options=None,
  59. type=None,
  60. create_key=_descriptor._internal_create_key),
  61. _descriptor.EnumValueDescriptor(
  62. name='InvalidSession', index=7, number=7,
  63. serialized_options=None,
  64. type=None,
  65. create_key=_descriptor._internal_create_key),
  66. ],
  67. containing_type=None,
  68. serialized_options=None,
  69. serialized_start=20,
  70. serialized_end=179,
  71. )
  72. _sym_db.RegisterEnumDescriptor(_STATUS)
  73. Status = enum_type_wrapper.EnumTypeWrapper(_STATUS)
  74. Success = 0
  75. InvalidSecScheme = 1
  76. InvalidProto = 2
  77. TooManySessions = 3
  78. InvalidArgument = 4
  79. InternalError = 5
  80. CryptoError = 6
  81. InvalidSession = 7
  82. DESCRIPTOR.enum_types_by_name['Status'] = _STATUS
  83. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  84. # @@protoc_insertion_point(module_scope)