123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- # -*- coding: utf-8 -*-
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: easyfl/pb/tracking_service.proto
- """Generated protocol buffer code."""
- from google.protobuf import descriptor as _descriptor
- from google.protobuf import descriptor_pool as _descriptor_pool
- from google.protobuf import message as _message
- from google.protobuf import reflection as _reflection
- from google.protobuf import symbol_database as _symbol_database
- # @@protoc_insertion_point(imports)
- _sym_db = _symbol_database.Default()
- from easyfl.pb import common_pb2 as easyfl_dot_pb_dot_common__pb2
- 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')
- _TRACKTASKMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackTaskMetricRequest']
- _TRACKTASKMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackTaskMetricResponse']
- _TRACKROUNDMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackRoundMetricRequest']
- _TRACKROUNDMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackRoundMetricResponse']
- _TRACKCLIENTMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackClientMetricRequest']
- _TRACKCLIENTMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackClientMetricResponse']
- _TRACKCLIENTTRAINMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackClientTrainMetricRequest']
- _TRACKCLIENTTRAINMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackClientTrainMetricResponse']
- _TRACKCLIENTTESTMETRICREQUEST = DESCRIPTOR.message_types_by_name['TrackClientTestMetricRequest']
- _TRACKCLIENTTESTMETRICRESPONSE = DESCRIPTOR.message_types_by_name['TrackClientTestMetricResponse']
- _GETROUNDTRAINTESTTIMEREQUEST = DESCRIPTOR.message_types_by_name['GetRoundTrainTestTimeRequest']
- _TRAINTESTTIME = DESCRIPTOR.message_types_by_name['TrainTestTime']
- _GETROUNDTRAINTESTTIMERESPONSE = DESCRIPTOR.message_types_by_name['GetRoundTrainTestTimeResponse']
- _GETROUNDMETRICSREQUEST = DESCRIPTOR.message_types_by_name['GetRoundMetricsRequest']
- _GETROUNDMETRICSRESPONSE = DESCRIPTOR.message_types_by_name['GetRoundMetricsResponse']
- _GETCLIENTMETRICSREQUEST = DESCRIPTOR.message_types_by_name['GetClientMetricsRequest']
- _GETCLIENTMETRICSRESPONSE = DESCRIPTOR.message_types_by_name['GetClientMetricsResponse']
- TrackTaskMetricRequest = _reflection.GeneratedProtocolMessageType('TrackTaskMetricRequest', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKTASKMETRICREQUEST,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackTaskMetricRequest)
- })
- _sym_db.RegisterMessage(TrackTaskMetricRequest)
- TrackTaskMetricResponse = _reflection.GeneratedProtocolMessageType('TrackTaskMetricResponse', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKTASKMETRICRESPONSE,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackTaskMetricResponse)
- })
- _sym_db.RegisterMessage(TrackTaskMetricResponse)
- TrackRoundMetricRequest = _reflection.GeneratedProtocolMessageType('TrackRoundMetricRequest', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKROUNDMETRICREQUEST,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackRoundMetricRequest)
- })
- _sym_db.RegisterMessage(TrackRoundMetricRequest)
- TrackRoundMetricResponse = _reflection.GeneratedProtocolMessageType('TrackRoundMetricResponse', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKROUNDMETRICRESPONSE,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackRoundMetricResponse)
- })
- _sym_db.RegisterMessage(TrackRoundMetricResponse)
- TrackClientMetricRequest = _reflection.GeneratedProtocolMessageType('TrackClientMetricRequest', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKCLIENTMETRICREQUEST,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientMetricRequest)
- })
- _sym_db.RegisterMessage(TrackClientMetricRequest)
- TrackClientMetricResponse = _reflection.GeneratedProtocolMessageType('TrackClientMetricResponse', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKCLIENTMETRICRESPONSE,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientMetricResponse)
- })
- _sym_db.RegisterMessage(TrackClientMetricResponse)
- TrackClientTrainMetricRequest = _reflection.GeneratedProtocolMessageType('TrackClientTrainMetricRequest', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKCLIENTTRAINMETRICREQUEST,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientTrainMetricRequest)
- })
- _sym_db.RegisterMessage(TrackClientTrainMetricRequest)
- TrackClientTrainMetricResponse = _reflection.GeneratedProtocolMessageType('TrackClientTrainMetricResponse', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKCLIENTTRAINMETRICRESPONSE,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientTrainMetricResponse)
- })
- _sym_db.RegisterMessage(TrackClientTrainMetricResponse)
- TrackClientTestMetricRequest = _reflection.GeneratedProtocolMessageType('TrackClientTestMetricRequest', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKCLIENTTESTMETRICREQUEST,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientTestMetricRequest)
- })
- _sym_db.RegisterMessage(TrackClientTestMetricRequest)
- TrackClientTestMetricResponse = _reflection.GeneratedProtocolMessageType('TrackClientTestMetricResponse', (_message.Message,), {
- 'DESCRIPTOR' : _TRACKCLIENTTESTMETRICRESPONSE,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrackClientTestMetricResponse)
- })
- _sym_db.RegisterMessage(TrackClientTestMetricResponse)
- GetRoundTrainTestTimeRequest = _reflection.GeneratedProtocolMessageType('GetRoundTrainTestTimeRequest', (_message.Message,), {
- 'DESCRIPTOR' : _GETROUNDTRAINTESTTIMEREQUEST,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.GetRoundTrainTestTimeRequest)
- })
- _sym_db.RegisterMessage(GetRoundTrainTestTimeRequest)
- TrainTestTime = _reflection.GeneratedProtocolMessageType('TrainTestTime', (_message.Message,), {
- 'DESCRIPTOR' : _TRAINTESTTIME,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.TrainTestTime)
- })
- _sym_db.RegisterMessage(TrainTestTime)
- GetRoundTrainTestTimeResponse = _reflection.GeneratedProtocolMessageType('GetRoundTrainTestTimeResponse', (_message.Message,), {
- 'DESCRIPTOR' : _GETROUNDTRAINTESTTIMERESPONSE,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.GetRoundTrainTestTimeResponse)
- })
- _sym_db.RegisterMessage(GetRoundTrainTestTimeResponse)
- GetRoundMetricsRequest = _reflection.GeneratedProtocolMessageType('GetRoundMetricsRequest', (_message.Message,), {
- 'DESCRIPTOR' : _GETROUNDMETRICSREQUEST,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.GetRoundMetricsRequest)
- })
- _sym_db.RegisterMessage(GetRoundMetricsRequest)
- GetRoundMetricsResponse = _reflection.GeneratedProtocolMessageType('GetRoundMetricsResponse', (_message.Message,), {
- 'DESCRIPTOR' : _GETROUNDMETRICSRESPONSE,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.GetRoundMetricsResponse)
- })
- _sym_db.RegisterMessage(GetRoundMetricsResponse)
- GetClientMetricsRequest = _reflection.GeneratedProtocolMessageType('GetClientMetricsRequest', (_message.Message,), {
- 'DESCRIPTOR' : _GETCLIENTMETRICSREQUEST,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.GetClientMetricsRequest)
- })
- _sym_db.RegisterMessage(GetClientMetricsRequest)
- GetClientMetricsResponse = _reflection.GeneratedProtocolMessageType('GetClientMetricsResponse', (_message.Message,), {
- 'DESCRIPTOR' : _GETCLIENTMETRICSRESPONSE,
- '__module__' : 'easyfl.pb.tracking_service_pb2'
- # @@protoc_insertion_point(class_scope:easyfl.pb.GetClientMetricsResponse)
- })
- _sym_db.RegisterMessage(GetClientMetricsResponse)
- _TRACKINGSERVICE = DESCRIPTOR.services_by_name['TrackingService']
- if _descriptor._USE_C_DESCRIPTORS == False:
- DESCRIPTOR._options = None
- _TRACKTASKMETRICREQUEST._serialized_start=71
- _TRACKTASKMETRICREQUEST._serialized_end=139
- _TRACKTASKMETRICRESPONSE._serialized_start=141
- _TRACKTASKMETRICRESPONSE._serialized_end=201
- _TRACKROUNDMETRICREQUEST._serialized_start=203
- _TRACKROUNDMETRICREQUEST._serialized_end=274
- _TRACKROUNDMETRICRESPONSE._serialized_start=276
- _TRACKROUNDMETRICRESPONSE._serialized_end=337
- _TRACKCLIENTMETRICREQUEST._serialized_start=339
- _TRACKCLIENTMETRICREQUEST._serialized_end=414
- _TRACKCLIENTMETRICRESPONSE._serialized_start=416
- _TRACKCLIENTMETRICRESPONSE._serialized_end=478
- _TRACKCLIENTTRAINMETRICREQUEST._serialized_start=481
- _TRACKCLIENTTRAINMETRICREQUEST._serialized_end=689
- _TRACKCLIENTTRAINMETRICRESPONSE._serialized_start=691
- _TRACKCLIENTTRAINMETRICRESPONSE._serialized_end=758
- _TRACKCLIENTTESTMETRICREQUEST._serialized_start=761
- _TRACKCLIENTTESTMETRICREQUEST._serialized_end=960
- _TRACKCLIENTTESTMETRICRESPONSE._serialized_start=962
- _TRACKCLIENTTESTMETRICRESPONSE._serialized_end=1028
- _GETROUNDTRAINTESTTIMEREQUEST._serialized_start=1030
- _GETROUNDTRAINTESTTIMEREQUEST._serialized_end=1111
- _TRAINTESTTIME._serialized_start=1113
- _TRAINTESTTIME._serialized_end=1160
- _GETROUNDTRAINTESTTIMERESPONSE._serialized_start=1162
- _GETROUNDTRAINTESTTIMERESPONSE._serialized_end=1280
- _GETROUNDMETRICSREQUEST._serialized_start=1282
- _GETROUNDMETRICSREQUEST._serialized_end=1339
- _GETROUNDMETRICSRESPONSE._serialized_start=1342
- _GETROUNDMETRICSRESPONSE._serialized_end=1478
- _GETCLIENTMETRICSREQUEST._serialized_start=1480
- _GETCLIENTMETRICSREQUEST._serialized_end=1560
- _GETCLIENTMETRICSRESPONSE._serialized_start=1563
- _GETCLIENTMETRICSRESPONSE._serialized_end=1701
- _TRACKINGSERVICE._serialized_start=1704
- _TRACKINGSERVICE._serialized_end=2526
- # @@protoc_insertion_point(module_scope)
|