messageData_pb2.py 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: protobuf/common/messageData.proto
  3. import sys
  4. _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
  5. from google.protobuf.internal import enum_type_wrapper
  6. from google.protobuf import descriptor as _descriptor
  7. from google.protobuf import message as _message
  8. from google.protobuf import reflection as _reflection
  9. from google.protobuf import symbol_database as _symbol_database
  10. # @@protoc_insertion_point(imports)
  11. _sym_db = _symbol_database.Default()
  12. DESCRIPTOR = _descriptor.FileDescriptor(
  13. name='protobuf/common/messageData.proto',
  14. package='protobuf.common',
  15. syntax='proto3',
  16. serialized_options=None,
  17. serialized_pb=_b('\n!protobuf/common/messageData.proto\x12\x0fprotobuf.common\"\xc1\x01\n\x0bmessageData\x12\x11\n\ttimestamp\x18\x01 \x01(\x01\x12\x31\n\x0b\x65nvironment\x18\x02 \x01(\x0e\x32\x1c.protobuf.common.Environment\x12\x17\n\x0fsending_service\x18\x03 \x01(\t\x12\x0c\n\x04uuid\x18\x04 \x01(\t\x12\x10\n\x08iso_date\x18\x05 \x01(\t\x12\x0e\n\x06offset\x18\x06 \x01(\x03\x12\x11\n\tpartition\x18\x07 \x01(\x03\x12\x10\n\x08trace_id\x18\x08 \x01(\t*T\n\x0b\x45nvironment\x12\x17\n\x13UNKNOWN_ENVIRONMENT\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\x0f\n\x0b\x44\x45VELOPMENT\x10\x02\x12\x0b\n\x07STAGING\x10\x03\x62\x06proto3')
  18. )
  19. _ENVIRONMENT = _descriptor.EnumDescriptor(
  20. name='Environment',
  21. full_name='protobuf.common.Environment',
  22. filename=None,
  23. file=DESCRIPTOR,
  24. values=[
  25. _descriptor.EnumValueDescriptor(
  26. name='UNKNOWN_ENVIRONMENT', index=0, number=0,
  27. serialized_options=None,
  28. type=None),
  29. _descriptor.EnumValueDescriptor(
  30. name='PRODUCTION', index=1, number=1,
  31. serialized_options=None,
  32. type=None),
  33. _descriptor.EnumValueDescriptor(
  34. name='DEVELOPMENT', index=2, number=2,
  35. serialized_options=None,
  36. type=None),
  37. _descriptor.EnumValueDescriptor(
  38. name='STAGING', index=3, number=3,
  39. serialized_options=None,
  40. type=None),
  41. ],
  42. containing_type=None,
  43. serialized_options=None,
  44. serialized_start=250,
  45. serialized_end=334,
  46. )
  47. _sym_db.RegisterEnumDescriptor(_ENVIRONMENT)
  48. Environment = enum_type_wrapper.EnumTypeWrapper(_ENVIRONMENT)
  49. UNKNOWN_ENVIRONMENT = 0
  50. PRODUCTION = 1
  51. DEVELOPMENT = 2
  52. STAGING = 3
  53. _MESSAGEDATA = _descriptor.Descriptor(
  54. name='messageData',
  55. full_name='protobuf.common.messageData',
  56. filename=None,
  57. file=DESCRIPTOR,
  58. containing_type=None,
  59. fields=[
  60. _descriptor.FieldDescriptor(
  61. name='timestamp', full_name='protobuf.common.messageData.timestamp', index=0,
  62. number=1, type=1, cpp_type=5, label=1,
  63. has_default_value=False, default_value=float(0),
  64. message_type=None, enum_type=None, containing_type=None,
  65. is_extension=False, extension_scope=None,
  66. serialized_options=None, file=DESCRIPTOR),
  67. _descriptor.FieldDescriptor(
  68. name='environment', full_name='protobuf.common.messageData.environment', index=1,
  69. number=2, type=14, cpp_type=8, label=1,
  70. has_default_value=False, default_value=0,
  71. message_type=None, enum_type=None, containing_type=None,
  72. is_extension=False, extension_scope=None,
  73. serialized_options=None, file=DESCRIPTOR),
  74. _descriptor.FieldDescriptor(
  75. name='sending_service', full_name='protobuf.common.messageData.sending_service', index=2,
  76. number=3, type=9, cpp_type=9, label=1,
  77. has_default_value=False, default_value=_b("").decode('utf-8'),
  78. message_type=None, enum_type=None, containing_type=None,
  79. is_extension=False, extension_scope=None,
  80. serialized_options=None, file=DESCRIPTOR),
  81. _descriptor.FieldDescriptor(
  82. name='uuid', full_name='protobuf.common.messageData.uuid', index=3,
  83. number=4, type=9, cpp_type=9, label=1,
  84. has_default_value=False, default_value=_b("").decode('utf-8'),
  85. message_type=None, enum_type=None, containing_type=None,
  86. is_extension=False, extension_scope=None,
  87. serialized_options=None, file=DESCRIPTOR),
  88. _descriptor.FieldDescriptor(
  89. name='iso_date', full_name='protobuf.common.messageData.iso_date', index=4,
  90. number=5, type=9, cpp_type=9, label=1,
  91. has_default_value=False, default_value=_b("").decode('utf-8'),
  92. message_type=None, enum_type=None, containing_type=None,
  93. is_extension=False, extension_scope=None,
  94. serialized_options=None, file=DESCRIPTOR),
  95. _descriptor.FieldDescriptor(
  96. name='offset', full_name='protobuf.common.messageData.offset', index=5,
  97. number=6, type=3, cpp_type=2, label=1,
  98. has_default_value=False, default_value=0,
  99. message_type=None, enum_type=None, containing_type=None,
  100. is_extension=False, extension_scope=None,
  101. serialized_options=None, file=DESCRIPTOR),
  102. _descriptor.FieldDescriptor(
  103. name='partition', full_name='protobuf.common.messageData.partition', index=6,
  104. number=7, type=3, cpp_type=2, label=1,
  105. has_default_value=False, default_value=0,
  106. message_type=None, enum_type=None, containing_type=None,
  107. is_extension=False, extension_scope=None,
  108. serialized_options=None, file=DESCRIPTOR),
  109. _descriptor.FieldDescriptor(
  110. name='trace_id', full_name='protobuf.common.messageData.trace_id', index=7,
  111. number=8, type=9, cpp_type=9, label=1,
  112. has_default_value=False, default_value=_b("").decode('utf-8'),
  113. message_type=None, enum_type=None, containing_type=None,
  114. is_extension=False, extension_scope=None,
  115. serialized_options=None, file=DESCRIPTOR),
  116. ],
  117. extensions=[
  118. ],
  119. nested_types=[],
  120. enum_types=[
  121. ],
  122. serialized_options=None,
  123. is_extendable=False,
  124. syntax='proto3',
  125. extension_ranges=[],
  126. oneofs=[
  127. ],
  128. serialized_start=55,
  129. serialized_end=248,
  130. )
  131. _MESSAGEDATA.fields_by_name['environment'].enum_type = _ENVIRONMENT
  132. DESCRIPTOR.message_types_by_name['messageData'] = _MESSAGEDATA
  133. DESCRIPTOR.enum_types_by_name['Environment'] = _ENVIRONMENT
  134. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  135. messageData = _reflection.GeneratedProtocolMessageType('messageData', (_message.Message,), dict(
  136. DESCRIPTOR = _MESSAGEDATA,
  137. __module__ = 'protobuf.common.messageData_pb2'
  138. # @@protoc_insertion_point(class_scope:protobuf.common.messageData)
  139. ))
  140. _sym_db.RegisterMessage(messageData)
  141. # @@protoc_insertion_point(module_scope)