packet_pb2.py 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: packet.proto
  4. """Generated protocol buffer code."""
  5. from google.protobuf.internal import builder as _builder
  6. from google.protobuf import descriptor as _descriptor
  7. from google.protobuf import descriptor_pool as _descriptor_pool
  8. from google.protobuf import symbol_database as _symbol_database
  9. # @@protoc_insertion_point(imports)
  10. _sym_db = _symbol_database.Default()
  11. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cpacket.proto\x12\x06packet\".\n\x0bPacketBatch\x12\x1f\n\x07packets\x18\x01 \x03(\x0b\x32\x0e.packet.Packet\"2\n\x06Packet\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x1a\n\x04meta\x18\x02 \x01(\x0b\x32\x0c.packet.Meta\"j\n\x04Meta\x12\x0c\n\x04size\x18\x01 \x01(\x04\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\"\n\x05\x66lags\x18\x04 \x01(\x0b\x32\x13.packet.PacketFlags\x12\x14\n\x0csender_stake\x18\x05 \x01(\x04\"p\n\x0bPacketFlags\x12\x0f\n\x07\x64iscard\x18\x01 \x01(\x08\x12\x11\n\tforwarded\x18\x02 \x01(\x08\x12\x0e\n\x06repair\x18\x03 \x01(\x08\x12\x16\n\x0esimple_vote_tx\x18\x04 \x01(\x08\x12\x15\n\rtracer_packet\x18\x05 \x01(\x08\x62\x06proto3')
  12. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
  13. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'packet_pb2', globals())
  14. if _descriptor._USE_C_DESCRIPTORS == False:
  15. DESCRIPTOR._options = None
  16. _PACKETBATCH._serialized_start=24
  17. _PACKETBATCH._serialized_end=70
  18. _PACKET._serialized_start=72
  19. _PACKET._serialized_end=122
  20. _META._serialized_start=124
  21. _META._serialized_end=230
  22. _PACKETFLAGS._serialized_start=232
  23. _PACKETFLAGS._serialized_end=344
  24. # @@protoc_insertion_point(module_scope)