hetero_kmeans_param_pb2.py 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: hetero-kmeans-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\x19hetero-kmeans-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\"\x88\x02\n\x10KmeansModelParam\x12\x19\n\x11\x63ount_of_clusters\x18\x01 \x01(\x03\x12\x16\n\x0emax_interation\x18\x02 \x01(\x03\x12\x11\n\tconverged\x18\x03 \x01(\x08\x12M\n\x0e\x63luster_detail\x18\x04 \x03(\x0b\x32\x35.com.webank.ai.fate.core.mlmodel.buffer.Clusterdetail\x12O\n\x0f\x63\x65ntroid_detail\x18\x05 \x03(\x0b\x32\x36.com.webank.ai.fate.core.mlmodel.buffer.Centroiddetail\x12\x0e\n\x06header\x18\x06 \x03(\t\" \n\rClusterdetail\x12\x0f\n\x07\x63luster\x18\x01 \x03(\x01\"\"\n\x0e\x43\x65ntroiddetail\x12\x10\n\x08\x63\x65ntroid\x18\x01 \x03(\x01\x42\x17\x42\x15KmeansModelParamProtob\x06proto3')
  13. _KMEANSMODELPARAM = DESCRIPTOR.message_types_by_name['KmeansModelParam']
  14. _CLUSTERDETAIL = DESCRIPTOR.message_types_by_name['Clusterdetail']
  15. _CENTROIDDETAIL = DESCRIPTOR.message_types_by_name['Centroiddetail']
  16. KmeansModelParam = _reflection.GeneratedProtocolMessageType('KmeansModelParam', (_message.Message,), {
  17. 'DESCRIPTOR' : _KMEANSMODELPARAM,
  18. '__module__' : 'hetero_kmeans_param_pb2'
  19. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.KmeansModelParam)
  20. })
  21. _sym_db.RegisterMessage(KmeansModelParam)
  22. Clusterdetail = _reflection.GeneratedProtocolMessageType('Clusterdetail', (_message.Message,), {
  23. 'DESCRIPTOR' : _CLUSTERDETAIL,
  24. '__module__' : 'hetero_kmeans_param_pb2'
  25. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.Clusterdetail)
  26. })
  27. _sym_db.RegisterMessage(Clusterdetail)
  28. Centroiddetail = _reflection.GeneratedProtocolMessageType('Centroiddetail', (_message.Message,), {
  29. 'DESCRIPTOR' : _CENTROIDDETAIL,
  30. '__module__' : 'hetero_kmeans_param_pb2'
  31. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.Centroiddetail)
  32. })
  33. _sym_db.RegisterMessage(Centroiddetail)
  34. if _descriptor._USE_C_DESCRIPTORS == False:
  35. DESCRIPTOR._options = None
  36. DESCRIPTOR._serialized_options = b'B\025KmeansModelParamProto'
  37. _KMEANSMODELPARAM._serialized_start=70
  38. _KMEANSMODELPARAM._serialized_end=334
  39. _CLUSTERDETAIL._serialized_start=336
  40. _CLUSTERDETAIL._serialized_end=368
  41. _CENTROIDDETAIL._serialized_start=370
  42. _CENTROIDDETAIL._serialized_end=404
  43. # @@protoc_insertion_point(module_scope)