statistic_param_pb2.py 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: statistic-param.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. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15statistic-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\"T\n\x1bStatisticSingleFeatureValue\x12\x0e\n\x06values\x18\x01 \x03(\x01\x12\x11\n\tcol_names\x18\x02 \x03(\t\x12\x12\n\nvalue_name\x18\x03 \x01(\t\"o\n\x17StatisticOnePartyResult\x12T\n\x07results\x18\x01 \x03(\x0b\x32\x43.com.webank.ai.fate.core.mlmodel.buffer.StatisticSingleFeatureValue\"\xc3\x02\n\nModelParam\x12T\n\x0bself_values\x18\x01 \x01(\x0b\x32?.com.webank.ai.fate.core.mlmodel.buffer.StatisticOnePartyResult\x12W\n\x0bhost_values\x18\x02 \x03(\x0b\x32\x42.com.webank.ai.fate.core.mlmodel.buffer.ModelParam.HostValuesEntry\x12\x12\n\nmodel_name\x18\x03 \x01(\t\x1ar\n\x0fHostValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12N\n\x05value\x18\x02 \x01(\x0b\x32?.com.webank.ai.fate.core.mlmodel.buffer.StatisticOnePartyResult:\x02\x38\x01\x42\x15\x42\x13StatisticParamProtob\x06proto3')
  13. _STATISTICSINGLEFEATUREVALUE = DESCRIPTOR.message_types_by_name['StatisticSingleFeatureValue']
  14. _STATISTICONEPARTYRESULT = DESCRIPTOR.message_types_by_name['StatisticOnePartyResult']
  15. _MODELPARAM = DESCRIPTOR.message_types_by_name['ModelParam']
  16. _MODELPARAM_HOSTVALUESENTRY = _MODELPARAM.nested_types_by_name['HostValuesEntry']
  17. StatisticSingleFeatureValue = _reflection.GeneratedProtocolMessageType('StatisticSingleFeatureValue', (_message.Message,), {
  18. 'DESCRIPTOR' : _STATISTICSINGLEFEATUREVALUE,
  19. '__module__' : 'statistic_param_pb2'
  20. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.StatisticSingleFeatureValue)
  21. })
  22. _sym_db.RegisterMessage(StatisticSingleFeatureValue)
  23. StatisticOnePartyResult = _reflection.GeneratedProtocolMessageType('StatisticOnePartyResult', (_message.Message,), {
  24. 'DESCRIPTOR' : _STATISTICONEPARTYRESULT,
  25. '__module__' : 'statistic_param_pb2'
  26. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.StatisticOnePartyResult)
  27. })
  28. _sym_db.RegisterMessage(StatisticOnePartyResult)
  29. ModelParam = _reflection.GeneratedProtocolMessageType('ModelParam', (_message.Message,), {
  30. 'HostValuesEntry' : _reflection.GeneratedProtocolMessageType('HostValuesEntry', (_message.Message,), {
  31. 'DESCRIPTOR' : _MODELPARAM_HOSTVALUESENTRY,
  32. '__module__' : 'statistic_param_pb2'
  33. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.ModelParam.HostValuesEntry)
  34. })
  35. ,
  36. 'DESCRIPTOR' : _MODELPARAM,
  37. '__module__' : 'statistic_param_pb2'
  38. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.ModelParam)
  39. })
  40. _sym_db.RegisterMessage(ModelParam)
  41. _sym_db.RegisterMessage(ModelParam.HostValuesEntry)
  42. if _descriptor._USE_C_DESCRIPTORS == False:
  43. DESCRIPTOR._options = None
  44. DESCRIPTOR._serialized_options = b'B\023StatisticParamProto'
  45. _MODELPARAM_HOSTVALUESENTRY._options = None
  46. _MODELPARAM_HOSTVALUESENTRY._serialized_options = b'8\001'
  47. _STATISTICSINGLEFEATUREVALUE._serialized_start=65
  48. _STATISTICSINGLEFEATUREVALUE._serialized_end=149
  49. _STATISTICONEPARTYRESULT._serialized_start=151
  50. _STATISTICONEPARTYRESULT._serialized_end=262
  51. _MODELPARAM._serialized_start=265
  52. _MODELPARAM._serialized_end=588
  53. _MODELPARAM_HOSTVALUESENTRY._serialized_start=474
  54. _MODELPARAM_HOSTVALUESENTRY._serialized_end=588
  55. # @@protoc_insertion_point(module_scope)