tracking_service_pb2.py 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: easyfl/pb/tracking_service.proto
  4. """Generated protocol buffer code."""
  5. from google.protobuf import descriptor as _descriptor
  6. from google.protobuf import descriptor_pool as _descriptor_pool
  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. from easyfl.pb import common_pb2 as easyfl_dot_pb_dot_common__pb2
  13. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n easyfl/pb/tracking_service.proto\x12\teasyfl.pb\x1a\x16\x65\x61syfl/pb/common.proto\"D\n\x16TrackTaskMetricRequest\x12*\n\x0btask_metric\x18\x01 \x01(\x0b\x32\x15.easyfl.pb.TaskMetric\"<\n\x17TrackTaskMetricResponse\x12!\n\x06status\x18\x01 \x01(\x0b\x32\x11.easyfl.pb.Status\"G\n\x17TrackRoundMetricRequest\x12,\n\x0cround_metric\x18\x01 \x01(\x0b\x32\x16.easyfl.pb.RoundMetric\"=\n\x18TrackRoundMetricResponse\x12!\n\x06status\x18\x01 \x01(\x0b\x32\x11.easyfl.pb.Status\"K\n\x18TrackClientMetricRequest\x12/\n\x0e\x63lient_metrics\x18\x01 \x03(\x0b\x32\x17.easyfl.pb.ClientMetric\">\n\x19TrackClientMetricResponse\x12!\n\x06status\x18\x01 \x01(\x0b\x32\x11.easyfl.pb.Status\"\xd0\x01\n\x1dTrackClientTrainMetricRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x10\n\x08round_id\x18\x02 \x01(\x05\x12\x11\n\tclient_id\x18\x03 \x01(\t\x12\x12\n\ntrain_loss\x18\x04 \x03(\x02\x12\x12\n\ntrain_time\x18\x05 \x01(\x02\x12\x19\n\x11train_upload_time\x18\x06 \x01(\x02\x12\x1b\n\x13train_download_size\x18\x07 \x01(\x02\x12\x19\n\x11train_upload_size\x18\x08 \x01(\x02\"C\n\x1eTrackClientTrainMetricResponse\x12!\n\x06status\x18\x01 \x01(\x0b\x32\x11.easyfl.pb.Status\"\xc7\x01\n\x1cTrackClientTestMetricRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x10\n\x08round_id\x18\x02 \x01(\x05\x12\x11\n\tclient_id\x18\x03 \x01(\t\x12\x15\n\rtest_accuracy\x18\x04 \x01(\x02\x12\x11\n\ttest_loss\x18\x05 \x01(\x02\x12\x11\n\ttest_time\x18\x06 \x01(\x02\x12\x18\n\x10test_upload_time\x18\x07 \x01(\x02\x12\x1a\n\x12test_download_size\x18\x08 \x01(\x02\"B\n\x1dTrackClientTestMetricResponse\x12!\n\x06status\x18\x01 \x01(\x0b\x32\x11.easyfl.pb.Status\"Q\n\x1cGetRoundTrainTestTimeRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0e\n\x06rounds\x18\x02 \x01(\x05\x12\x10\n\x08interval\x18\x03 \x01(\x05\"/\n\rTrainTestTime\x12\x10\n\x08round_id\x18\x01 \x01(\x05\x12\x0c\n\x04time\x18\x02 \x01(\x02\"v\n\x1dGetRoundTrainTestTimeResponse\x12\x32\n\x10train_test_times\x18\x01 \x03(\x0b\x32\x18.easyfl.pb.TrainTestTime\x12!\n\x06status\x18\x02 \x01(\x0b\x32\x11.easyfl.pb.Status\"9\n\x16GetRoundMetricsRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0e\n\x06rounds\x18\x02 \x03(\x05\"\x88\x01\n\x17GetRoundMetricsResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x10\n\x08round_id\x18\x02 \x01(\x05\x12\'\n\x07metrics\x18\x03 \x03(\x0b\x32\x16.easyfl.pb.RoundMetric\x12!\n\x06status\x18\x04 \x01(\x0b\x32\x11.easyfl.pb.Status\"P\n\x17GetClientMetricsRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x10\n\x08round_id\x18\x02 \x01(\x05\x12\x12\n\nclient_ids\x18\x03 \x03(\t\"\x8a\x01\n\x18GetClientMetricsResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x10\n\x08round_id\x18\x02 \x01(\x05\x12(\n\x07metrics\x18\x03 \x03(\x0b\x32\x17.easyfl.pb.ClientMetric\x12!\n\x06status\x18\x04 \x01(\x0b\x32\x11.easyfl.pb.Status2\xb6\x06\n\x0fTrackingService\x12Z\n\x0fTrackTaskMetric\x12!.easyfl.pb.TrackTaskMetricRequest\x1a\".easyfl.pb.TrackTaskMetricResponse\"\x00\x12]\n\x10TrackRoundMetric\x12\".easyfl.pb.TrackRoundMetricRequest\x1a#.easyfl.pb.TrackRoundMetricResponse\"\x00\x12`\n\x11TrackClientMetric\x12#.easyfl.pb.TrackClientMetricRequest\x1a$.easyfl.pb.TrackClientMetricResponse\"\x00\x12o\n\x16TrackClientTrainMetric\x12(.easyfl.pb.TrackClientTrainMetricRequest\x1a).easyfl.pb.TrackClientTrainMetricResponse\"\x00\x12l\n\x15TrackClientTestMetric\x12\'.easyfl.pb.TrackClientTestMetricRequest\x1a(.easyfl.pb.TrackClientTestMetricResponse\"\x00\x12Z\n\x0fGetRoundMetrics\x12!.easyfl.pb.GetRoundMetricsRequest\x1a\".easyfl.pb.GetRoundMetricsResponse\"\x00\x12]\n\x10GetClientMetrics\x12\".easyfl.pb.GetClientMetricsRequest\x1a#.easyfl.pb.GetClientMetricsResponse\"\x00\x12l\n\x15GetRoundTrainTestTime\x12\'.easyfl.pb.GetRoundTrainTestTimeRequest\x1a(.easyfl.pb.GetRoundTrainTestTimeResponse\"\x00\x62\x06proto3')
  14. _TRACKTASKMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackTaskMetricRequest']
  15. _TRACKTASKMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackTaskMetricResponse']
  16. _TRACKROUNDMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackRoundMetricRequest']
  17. _TRACKROUNDMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackRoundMetricResponse']
  18. _TRACKCLIENTMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackClientMetricRequest']
  19. _TRACKCLIENTMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackClientMetricResponse']
  20. _TRACKCLIENTTRAINMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackClientTrainMetricRequest']
  21. _TRACKCLIENTTRAINMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackClientTrainMetricResponse']
  22. _TRACKCLIENTTESTMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackClientTestMetricRequest']
  23. _TRACKCLIENTTESTMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackClientTestMetricResponse']
  24. _GETROUNDTRAINTESTTIMEREQUEST = DESCRIPTOR.message_types_by_name['GetRoundTrainTestTimeRequest']
  25. _TRAINTESTTIME = DESCRIPTOR.message_types_by_name['TrainTestTime']
  26. _GETROUNDTRAINTESTTIMERESPONSE = DESCRIPTOR.message_types_by_name['GetRoundTrainTestTimeResponse']
  27. _GETROUNDMETRICSREQUEST = DESCRIPTOR.message_types_by_name['GetRoundMetricsRequest']
  28. _GETROUNDMETRICSRESPONSE = DESCRIPTOR.message_types_by_name['GetRoundMetricsResponse']
  29. _GETCLIENTMETRICSREQUEST = DESCRIPTOR.message_types_by_name['GetClientMetricsRequest']
  30. _GETCLIENTMETRICSRESPONSE = DESCRIPTOR.message_types_by_name['GetClientMetricsResponse']
  31. TrackTaskMetricRequest = _reflection.GeneratedProtocolMessageType('TrackTaskMetricRequest', (_message.Message,), {
  32. 'DESCRIPTOR' : _TRACKTASKMETRICREQUEST,
  33. '__module__' : 'easyfl.pb.tracking_service_pb2'
  34. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackTaskMetricRequest)
  35. })
  36. _sym_db.RegisterMessage(TrackTaskMetricRequest)
  37. TrackTaskMetricResponse = _reflection.GeneratedProtocolMessageType('TrackTaskMetricResponse', (_message.Message,), {
  38. 'DESCRIPTOR' : _TRACKTASKMETRICRESPONSE,
  39. '__module__' : 'easyfl.pb.tracking_service_pb2'
  40. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackTaskMetricResponse)
  41. })
  42. _sym_db.RegisterMessage(TrackTaskMetricResponse)
  43. TrackRoundMetricRequest = _reflection.GeneratedProtocolMessageType('TrackRoundMetricRequest', (_message.Message,), {
  44. 'DESCRIPTOR' : _TRACKROUNDMETRICREQUEST,
  45. '__module__' : 'easyfl.pb.tracking_service_pb2'
  46. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackRoundMetricRequest)
  47. })
  48. _sym_db.RegisterMessage(TrackRoundMetricRequest)
  49. TrackRoundMetricResponse = _reflection.GeneratedProtocolMessageType('TrackRoundMetricResponse', (_message.Message,), {
  50. 'DESCRIPTOR' : _TRACKROUNDMETRICRESPONSE,
  51. '__module__' : 'easyfl.pb.tracking_service_pb2'
  52. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackRoundMetricResponse)
  53. })
  54. _sym_db.RegisterMessage(TrackRoundMetricResponse)
  55. TrackClientMetricRequest = _reflection.GeneratedProtocolMessageType('TrackClientMetricRequest', (_message.Message,), {
  56. 'DESCRIPTOR' : _TRACKCLIENTMETRICREQUEST,
  57. '__module__' : 'easyfl.pb.tracking_service_pb2'
  58. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientMetricRequest)
  59. })
  60. _sym_db.RegisterMessage(TrackClientMetricRequest)
  61. TrackClientMetricResponse = _reflection.GeneratedProtocolMessageType('TrackClientMetricResponse', (_message.Message,), {
  62. 'DESCRIPTOR' : _TRACKCLIENTMETRICRESPONSE,
  63. '__module__' : 'easyfl.pb.tracking_service_pb2'
  64. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientMetricResponse)
  65. })
  66. _sym_db.RegisterMessage(TrackClientMetricResponse)
  67. TrackClientTrainMetricRequest = _reflection.GeneratedProtocolMessageType('TrackClientTrainMetricRequest', (_message.Message,), {
  68. 'DESCRIPTOR' : _TRACKCLIENTTRAINMETRICREQUEST,
  69. '__module__' : 'easyfl.pb.tracking_service_pb2'
  70. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientTrainMetricRequest)
  71. })
  72. _sym_db.RegisterMessage(TrackClientTrainMetricRequest)
  73. TrackClientTrainMetricResponse = _reflection.GeneratedProtocolMessageType('TrackClientTrainMetricResponse', (_message.Message,), {
  74. 'DESCRIPTOR' : _TRACKCLIENTTRAINMETRICRESPONSE,
  75. '__module__' : 'easyfl.pb.tracking_service_pb2'
  76. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientTrainMetricResponse)
  77. })
  78. _sym_db.RegisterMessage(TrackClientTrainMetricResponse)
  79. TrackClientTestMetricRequest = _reflection.GeneratedProtocolMessageType('TrackClientTestMetricRequest', (_message.Message,), {
  80. 'DESCRIPTOR' : _TRACKCLIENTTESTMETRICREQUEST,
  81. '__module__' : 'easyfl.pb.tracking_service_pb2'
  82. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientTestMetricRequest)
  83. })
  84. _sym_db.RegisterMessage(TrackClientTestMetricRequest)
  85. TrackClientTestMetricResponse = _reflection.GeneratedProtocolMessageType('TrackClientTestMetricResponse', (_message.Message,), {
  86. 'DESCRIPTOR' : _TRACKCLIENTTESTMETRICRESPONSE,
  87. '__module__' : 'easyfl.pb.tracking_service_pb2'
  88. # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientTestMetricResponse)
  89. })
  90. _sym_db.RegisterMessage(TrackClientTestMetricResponse)
  91. GetRoundTrainTestTimeRequest = _reflection.GeneratedProtocolMessageType('GetRoundTrainTestTimeRequest', (_message.Message,), {
  92. 'DESCRIPTOR' : _GETROUNDTRAINTESTTIMEREQUEST,
  93. '__module__' : 'easyfl.pb.tracking_service_pb2'
  94. # @@protoc_insertion_point(class_scope:easyfl.pb.GetRoundTrainTestTimeRequest)
  95. })
  96. _sym_db.RegisterMessage(GetRoundTrainTestTimeRequest)
  97. TrainTestTime = _reflection.GeneratedProtocolMessageType('TrainTestTime', (_message.Message,), {
  98. 'DESCRIPTOR' : _TRAINTESTTIME,
  99. '__module__' : 'easyfl.pb.tracking_service_pb2'
  100. # @@protoc_insertion_point(class_scope:easyfl.pb.TrainTestTime)
  101. })
  102. _sym_db.RegisterMessage(TrainTestTime)
  103. GetRoundTrainTestTimeResponse = _reflection.GeneratedProtocolMessageType('GetRoundTrainTestTimeResponse', (_message.Message,), {
  104. 'DESCRIPTOR' : _GETROUNDTRAINTESTTIMERESPONSE,
  105. '__module__' : 'easyfl.pb.tracking_service_pb2'
  106. # @@protoc_insertion_point(class_scope:easyfl.pb.GetRoundTrainTestTimeResponse)
  107. })
  108. _sym_db.RegisterMessage(GetRoundTrainTestTimeResponse)
  109. GetRoundMetricsRequest = _reflection.GeneratedProtocolMessageType('GetRoundMetricsRequest', (_message.Message,), {
  110. 'DESCRIPTOR' : _GETROUNDMETRICSREQUEST,
  111. '__module__' : 'easyfl.pb.tracking_service_pb2'
  112. # @@protoc_insertion_point(class_scope:easyfl.pb.GetRoundMetricsRequest)
  113. })
  114. _sym_db.RegisterMessage(GetRoundMetricsRequest)
  115. GetRoundMetricsResponse = _reflection.GeneratedProtocolMessageType('GetRoundMetricsResponse', (_message.Message,), {
  116. 'DESCRIPTOR' : _GETROUNDMETRICSRESPONSE,
  117. '__module__' : 'easyfl.pb.tracking_service_pb2'
  118. # @@protoc_insertion_point(class_scope:easyfl.pb.GetRoundMetricsResponse)
  119. })
  120. _sym_db.RegisterMessage(GetRoundMetricsResponse)
  121. GetClientMetricsRequest = _reflection.GeneratedProtocolMessageType('GetClientMetricsRequest', (_message.Message,), {
  122. 'DESCRIPTOR' : _GETCLIENTMETRICSREQUEST,
  123. '__module__' : 'easyfl.pb.tracking_service_pb2'
  124. # @@protoc_insertion_point(class_scope:easyfl.pb.GetClientMetricsRequest)
  125. })
  126. _sym_db.RegisterMessage(GetClientMetricsRequest)
  127. GetClientMetricsResponse = _reflection.GeneratedProtocolMessageType('GetClientMetricsResponse', (_message.Message,), {
  128. 'DESCRIPTOR' : _GETCLIENTMETRICSRESPONSE,
  129. '__module__' : 'easyfl.pb.tracking_service_pb2'
  130. # @@protoc_insertion_point(class_scope:easyfl.pb.GetClientMetricsResponse)
  131. })
  132. _sym_db.RegisterMessage(GetClientMetricsResponse)
  133. _TRACKINGSERVICE = DESCRIPTOR.services_by_name['TrackingService']
  134. if _descriptor._USE_C_DESCRIPTORS == False:
  135. DESCRIPTOR._options = None
  136. _TRACKTASKMETRICREQUEST._serialized_start=71
  137. _TRACKTASKMETRICREQUEST._serialized_end=139
  138. _TRACKTASKMETRICRESPONSE._serialized_start=141
  139. _TRACKTASKMETRICRESPONSE._serialized_end=201
  140. _TRACKROUNDMETRICREQUEST._serialized_start=203
  141. _TRACKROUNDMETRICREQUEST._serialized_end=274
  142. _TRACKROUNDMETRICRESPONSE._serialized_start=276
  143. _TRACKROUNDMETRICRESPONSE._serialized_end=337
  144. _TRACKCLIENTMETRICREQUEST._serialized_start=339
  145. _TRACKCLIENTMETRICREQUEST._serialized_end=414
  146. _TRACKCLIENTMETRICRESPONSE._serialized_start=416
  147. _TRACKCLIENTMETRICRESPONSE._serialized_end=478
  148. _TRACKCLIENTTRAINMETRICREQUEST._serialized_start=481
  149. _TRACKCLIENTTRAINMETRICREQUEST._serialized_end=689
  150. _TRACKCLIENTTRAINMETRICRESPONSE._serialized_start=691
  151. _TRACKCLIENTTRAINMETRICRESPONSE._serialized_end=758
  152. _TRACKCLIENTTESTMETRICREQUEST._serialized_start=761
  153. _TRACKCLIENTTESTMETRICREQUEST._serialized_end=960
  154. _TRACKCLIENTTESTMETRICRESPONSE._serialized_start=962
  155. _TRACKCLIENTTESTMETRICRESPONSE._serialized_end=1028
  156. _GETROUNDTRAINTESTTIMEREQUEST._serialized_start=1030
  157. _GETROUNDTRAINTESTTIMEREQUEST._serialized_end=1111
  158. _TRAINTESTTIME._serialized_start=1113
  159. _TRAINTESTTIME._serialized_end=1160
  160. _GETROUNDTRAINTESTTIMERESPONSE._serialized_start=1162
  161. _GETROUNDTRAINTESTTIMERESPONSE._serialized_end=1280
  162. _GETROUNDMETRICSREQUEST._serialized_start=1282
  163. _GETROUNDMETRICSREQUEST._serialized_end=1339
  164. _GETROUNDMETRICSRESPONSE._serialized_start=1342
  165. _GETROUNDMETRICSRESPONSE._serialized_end=1478
  166. _GETCLIENTMETRICSREQUEST._serialized_start=1480
  167. _GETCLIENTMETRICSREQUEST._serialized_end=1560
  168. _GETCLIENTMETRICSRESPONSE._serialized_start=1563
  169. _GETCLIENTMETRICSRESPONSE._serialized_end=1701
  170. _TRACKINGSERVICE._serialized_start=1704
  171. _TRACKINGSERVICE._serialized_end=2526
  172. # @@protoc_insertion_point(module_scope)