label_transform_param_pb2.py 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: label-transform-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\x1blabel-transform-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\"\xfa\x03\n\x13LabelTransformParam\x12\x64\n\rlabel_encoder\x18\x01 \x03(\x0b\x32M.com.webank.ai.fate.core.mlmodel.buffer.LabelTransformParam.LabelEncoderEntry\x12i\n\x10\x65ncoder_key_type\x18\x02 \x03(\x0b\x32O.com.webank.ai.fate.core.mlmodel.buffer.LabelTransformParam.EncoderKeyTypeEntry\x12m\n\x12\x65ncoder_value_type\x18\x03 \x03(\x0b\x32Q.com.webank.ai.fate.core.mlmodel.buffer.LabelTransformParam.EncoderValueTypeEntry\x1a\x33\n\x11LabelEncoderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x35\n\x13\x45ncoderKeyTypeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15\x45ncoderValueTypeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1a\x42\x18LabelTransformParamProtob\x06proto3')
  13. _LABELTRANSFORMPARAM = DESCRIPTOR.message_types_by_name['LabelTransformParam']
  14. _LABELTRANSFORMPARAM_LABELENCODERENTRY = _LABELTRANSFORMPARAM.nested_types_by_name['LabelEncoderEntry']
  15. _LABELTRANSFORMPARAM_ENCODERKEYTYPEENTRY = _LABELTRANSFORMPARAM.nested_types_by_name['EncoderKeyTypeEntry']
  16. _LABELTRANSFORMPARAM_ENCODERVALUETYPEENTRY = _LABELTRANSFORMPARAM.nested_types_by_name['EncoderValueTypeEntry']
  17. LabelTransformParam = _reflection.GeneratedProtocolMessageType('LabelTransformParam', (_message.Message,), {
  18. 'LabelEncoderEntry' : _reflection.GeneratedProtocolMessageType('LabelEncoderEntry', (_message.Message,), {
  19. 'DESCRIPTOR' : _LABELTRANSFORMPARAM_LABELENCODERENTRY,
  20. '__module__' : 'label_transform_param_pb2'
  21. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LabelTransformParam.LabelEncoderEntry)
  22. })
  23. ,
  24. 'EncoderKeyTypeEntry' : _reflection.GeneratedProtocolMessageType('EncoderKeyTypeEntry', (_message.Message,), {
  25. 'DESCRIPTOR' : _LABELTRANSFORMPARAM_ENCODERKEYTYPEENTRY,
  26. '__module__' : 'label_transform_param_pb2'
  27. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LabelTransformParam.EncoderKeyTypeEntry)
  28. })
  29. ,
  30. 'EncoderValueTypeEntry' : _reflection.GeneratedProtocolMessageType('EncoderValueTypeEntry', (_message.Message,), {
  31. 'DESCRIPTOR' : _LABELTRANSFORMPARAM_ENCODERVALUETYPEENTRY,
  32. '__module__' : 'label_transform_param_pb2'
  33. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LabelTransformParam.EncoderValueTypeEntry)
  34. })
  35. ,
  36. 'DESCRIPTOR' : _LABELTRANSFORMPARAM,
  37. '__module__' : 'label_transform_param_pb2'
  38. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LabelTransformParam)
  39. })
  40. _sym_db.RegisterMessage(LabelTransformParam)
  41. _sym_db.RegisterMessage(LabelTransformParam.LabelEncoderEntry)
  42. _sym_db.RegisterMessage(LabelTransformParam.EncoderKeyTypeEntry)
  43. _sym_db.RegisterMessage(LabelTransformParam.EncoderValueTypeEntry)
  44. if _descriptor._USE_C_DESCRIPTORS == False:
  45. DESCRIPTOR._options = None
  46. DESCRIPTOR._serialized_options = b'B\030LabelTransformParamProto'
  47. _LABELTRANSFORMPARAM_LABELENCODERENTRY._options = None
  48. _LABELTRANSFORMPARAM_LABELENCODERENTRY._serialized_options = b'8\001'
  49. _LABELTRANSFORMPARAM_ENCODERKEYTYPEENTRY._options = None
  50. _LABELTRANSFORMPARAM_ENCODERKEYTYPEENTRY._serialized_options = b'8\001'
  51. _LABELTRANSFORMPARAM_ENCODERVALUETYPEENTRY._options = None
  52. _LABELTRANSFORMPARAM_ENCODERVALUETYPEENTRY._serialized_options = b'8\001'
  53. _LABELTRANSFORMPARAM._serialized_start=72
  54. _LABELTRANSFORMPARAM._serialized_end=578
  55. _LABELTRANSFORMPARAM_LABELENCODERENTRY._serialized_start=415
  56. _LABELTRANSFORMPARAM_LABELENCODERENTRY._serialized_end=466
  57. _LABELTRANSFORMPARAM_ENCODERKEYTYPEENTRY._serialized_start=468
  58. _LABELTRANSFORMPARAM_ENCODERKEYTYPEENTRY._serialized_end=521
  59. _LABELTRANSFORMPARAM_ENCODERVALUETYPEENTRY._serialized_start=523
  60. _LABELTRANSFORMPARAM_ENCODERVALUETYPEENTRY._serialized_end=578
  61. # @@protoc_insertion_point(module_scope)