segment_result_pb2.py 2.6 KB

12345678910111213141516171819202122232425262728293031
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: segment-result.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. import profile_pb2 as profile__pb2
  12. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14segment-result.proto\x1a\rprofile.proto\"\xe6\x03\n\rSegmentResult\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x11\n\tplayer_id\x18\x02 \x02(\x04\x12\x14\n\x0cserver_realm\x18\x03 \x01(\x04\x12\x11\n\tcourse_id\x18\x04 \x01(\x04\x12\x12\n\nsegment_id\x18\x05 \x01(\x03\x12\x19\n\x11\x65vent_subgroup_id\x18\x06 \x01(\x04\x12\x12\n\nfirst_name\x18\x07 \x02(\t\x12\x11\n\tlast_name\x18\x08 \x02(\t\x12\x12\n\nworld_time\x18\t \x01(\x04\x12\x17\n\x0f\x66inish_time_str\x18\n \x01(\t\x12\x12\n\nelapsed_ms\x18\x0b \x02(\x04\x12&\n\x12power_source_model\x18\x0c \x01(\x0e\x32\n.PowerType\x12\x17\n\x0fweight_in_grams\x18\r \x01(\r\x12\x0b\n\x03\x66\x31\x34\x18\x0e \x01(\r\x12\x11\n\tavg_power\x18\x0f \x01(\r\x12\x0f\n\x07is_male\x18\x10 \x01(\x08\x12\x0c\n\x04time\x18\x11 \x01(\t\x12 \n\x0bplayer_type\x18\x12 \x01(\x0e\x32\x0b.PlayerType\x12\x0e\n\x06\x61vg_hr\x18\x13 \x01(\r\x12\x15\n\x05sport\x18\x14 \x01(\x0e\x32\x06.Sport\x12\x13\n\x0b\x61\x63tivity_id\x18\x15 \x01(\x03\x12\x0b\n\x03\x66\x32\x32\x18\x16 \x01(\x08\x12\x0b\n\x03\x66\x32\x33\x18\x17 \x01(\t\"~\n\x0eSegmentResults\x12\x14\n\x0cserver_realm\x18\x01 \x02(\x04\x12\x12\n\nsegment_id\x18\x02 \x02(\x03\x12\x19\n\x11\x65vent_subgroup_id\x18\x03 \x01(\x04\x12\'\n\x0fsegment_results\x18\x04 \x03(\x0b\x32\x0e.SegmentResult\"\xa9\x01\n\x10SegmentRideStats\x12\x12\n\nsegment_id\x18\x01 \x02(\x03\x12\n\n\x02\x66\x32\x18\x02 \x01(\r\x12\x19\n\x11number_of_results\x18\x03 \x01(\r\x12\x13\n\x0blatest_time\x18\x04 \x01(\x04\x12\x19\n\x11latest_percentile\x18\x05 \x01(\x02\x12\x11\n\tbest_time\x18\x06 \x01(\x04\x12\x17\n\x0f\x62\x65st_percentile\x18\x07 \x01(\x02')
  13. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
  14. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'segment_result_pb2', globals())
  15. if _descriptor._USE_C_DESCRIPTORS == False:
  16. DESCRIPTOR._options = None
  17. _SEGMENTRESULT._serialized_start=40
  18. _SEGMENTRESULT._serialized_end=526
  19. _SEGMENTRESULTS._serialized_start=528
  20. _SEGMENTRESULTS._serialized_end=654
  21. _SEGMENTRIDESTATS._serialized_start=657
  22. _SEGMENTRIDESTATS._serialized_end=826
  23. # @@protoc_insertion_point(module_scope)