ImageData_pb2.py 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: protobuf/data/ImageData.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 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. from protobuf.common import messageData_pb2 as protobuf_dot_common_dot_messageData__pb2
  12. DESCRIPTOR = _descriptor.FileDescriptor(
  13. name='protobuf/data/ImageData.proto',
  14. package='protobuf.data',
  15. syntax='proto3',
  16. serialized_options=None,
  17. serialized_pb=_b('\n\x1dprotobuf/data/ImageData.proto\x12\rprotobuf.data\x1a!protobuf/common/messageData.proto\"~\n\x05Image\x12\x12\n\nimage_data\x18\x01 \x01(\x0c\x12\x0e\n\x06height\x18\x02 \x01(\x05\x12\r\n\x05width\x18\x03 \x01(\x05\x12\r\n\x05\x66rame\x18\x04 \x01(\x03\x12\x33\n\r_message_data\x18\x05 \x01(\x0b\x32\x1c.protobuf.common.messageDatab\x06proto3')
  18. ,
  19. dependencies=[protobuf_dot_common_dot_messageData__pb2.DESCRIPTOR,])
  20. _IMAGE = _descriptor.Descriptor(
  21. name='Image',
  22. full_name='protobuf.data.Image',
  23. filename=None,
  24. file=DESCRIPTOR,
  25. containing_type=None,
  26. fields=[
  27. _descriptor.FieldDescriptor(
  28. name='image_data', full_name='protobuf.data.Image.image_data', index=0,
  29. number=1, type=12, cpp_type=9, label=1,
  30. has_default_value=False, default_value=_b(""),
  31. message_type=None, enum_type=None, containing_type=None,
  32. is_extension=False, extension_scope=None,
  33. serialized_options=None, file=DESCRIPTOR),
  34. _descriptor.FieldDescriptor(
  35. name='height', full_name='protobuf.data.Image.height', index=1,
  36. number=2, type=5, cpp_type=1, label=1,
  37. has_default_value=False, default_value=0,
  38. message_type=None, enum_type=None, containing_type=None,
  39. is_extension=False, extension_scope=None,
  40. serialized_options=None, file=DESCRIPTOR),
  41. _descriptor.FieldDescriptor(
  42. name='width', full_name='protobuf.data.Image.width', index=2,
  43. number=3, type=5, cpp_type=1, label=1,
  44. has_default_value=False, default_value=0,
  45. message_type=None, enum_type=None, containing_type=None,
  46. is_extension=False, extension_scope=None,
  47. serialized_options=None, file=DESCRIPTOR),
  48. _descriptor.FieldDescriptor(
  49. name='frame', full_name='protobuf.data.Image.frame', index=3,
  50. number=4, type=3, cpp_type=2, label=1,
  51. has_default_value=False, default_value=0,
  52. message_type=None, enum_type=None, containing_type=None,
  53. is_extension=False, extension_scope=None,
  54. serialized_options=None, file=DESCRIPTOR),
  55. _descriptor.FieldDescriptor(
  56. name='_message_data', full_name='protobuf.data.Image._message_data', index=4,
  57. number=5, type=11, cpp_type=10, label=1,
  58. has_default_value=False, default_value=None,
  59. message_type=None, enum_type=None, containing_type=None,
  60. is_extension=False, extension_scope=None,
  61. serialized_options=None, file=DESCRIPTOR),
  62. ],
  63. extensions=[
  64. ],
  65. nested_types=[],
  66. enum_types=[
  67. ],
  68. serialized_options=None,
  69. is_extendable=False,
  70. syntax='proto3',
  71. extension_ranges=[],
  72. oneofs=[
  73. ],
  74. serialized_start=83,
  75. serialized_end=209,
  76. )
  77. _IMAGE.fields_by_name['_message_data'].message_type = protobuf_dot_common_dot_messageData__pb2._MESSAGEDATA
  78. DESCRIPTOR.message_types_by_name['Image'] = _IMAGE
  79. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  80. Image = _reflection.GeneratedProtocolMessageType('Image', (_message.Message,), dict(
  81. DESCRIPTOR = _IMAGE,
  82. __module__ = 'protobuf.data.ImageData_pb2'
  83. # @@protoc_insertion_point(class_scope:protobuf.data.Image)
  84. ))
  85. _sym_db.RegisterMessage(Image)
  86. # @@protoc_insertion_point(module_scope)