onehot_param_pb2.py 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: onehot-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\x12onehot-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\"6\n\x07\x43olsMap\x12\x0e\n\x06values\x18\x01 \x03(\t\x12\x1b\n\x13transformed_headers\x18\x02 \x03(\t\"\xd6\x01\n\x0bOneHotParam\x12P\n\x07\x63ol_map\x18\x01 \x03(\x0b\x32?.com.webank.ai.fate.core.mlmodel.buffer.OneHotParam.ColMapEntry\x12\x15\n\rresult_header\x18\x02 \x03(\t\x1a^\n\x0b\x43olMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.com.webank.ai.fate.core.mlmodel.buffer.ColsMap:\x02\x38\x01\x42\x12\x42\x10OneHotParamProtob\x06proto3')
  13. _COLSMAP = DESCRIPTOR.message_types_by_name['ColsMap']
  14. _ONEHOTPARAM = DESCRIPTOR.message_types_by_name['OneHotParam']
  15. _ONEHOTPARAM_COLMAPENTRY = _ONEHOTPARAM.nested_types_by_name['ColMapEntry']
  16. ColsMap = _reflection.GeneratedProtocolMessageType('ColsMap', (_message.Message,), {
  17. 'DESCRIPTOR' : _COLSMAP,
  18. '__module__' : 'onehot_param_pb2'
  19. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.ColsMap)
  20. })
  21. _sym_db.RegisterMessage(ColsMap)
  22. OneHotParam = _reflection.GeneratedProtocolMessageType('OneHotParam', (_message.Message,), {
  23. 'ColMapEntry' : _reflection.GeneratedProtocolMessageType('ColMapEntry', (_message.Message,), {
  24. 'DESCRIPTOR' : _ONEHOTPARAM_COLMAPENTRY,
  25. '__module__' : 'onehot_param_pb2'
  26. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.OneHotParam.ColMapEntry)
  27. })
  28. ,
  29. 'DESCRIPTOR' : _ONEHOTPARAM,
  30. '__module__' : 'onehot_param_pb2'
  31. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.OneHotParam)
  32. })
  33. _sym_db.RegisterMessage(OneHotParam)
  34. _sym_db.RegisterMessage(OneHotParam.ColMapEntry)
  35. if _descriptor._USE_C_DESCRIPTORS == False:
  36. DESCRIPTOR._options = None
  37. DESCRIPTOR._serialized_options = b'B\020OneHotParamProto'
  38. _ONEHOTPARAM_COLMAPENTRY._options = None
  39. _ONEHOTPARAM_COLMAPENTRY._serialized_options = b'8\001'
  40. _COLSMAP._serialized_start=62
  41. _COLSMAP._serialized_end=116
  42. _ONEHOTPARAM._serialized_start=119
  43. _ONEHOTPARAM._serialized_end=333
  44. _ONEHOTPARAM_COLMAPENTRY._serialized_start=239
  45. _ONEHOTPARAM_COLMAPENTRY._serialized_end=333
  46. # @@protoc_insertion_point(module_scope)