sample_weight_model_param_pb2.py 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: sample-weight-model-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\x1fsample-weight-model-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\"\xd8\x01\n\x16SampleWeightModelParam\x12\x0e\n\x06header\x18\x01 \x03(\t\x12\x13\n\x0bweight_mode\x18\x02 \x01(\t\x12\x65\n\x0c\x63lass_weight\x18\x03 \x03(\x0b\x32O.com.webank.ai.fate.core.mlmodel.buffer.SampleWeightModelParam.ClassWeightEntry\x1a\x32\n\x10\x43lassWeightEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x42\x1d\x42\x1bSampleWeightModelParamProtob\x06proto3')
  13. _SAMPLEWEIGHTMODELPARAM = DESCRIPTOR.message_types_by_name['SampleWeightModelParam']
  14. _SAMPLEWEIGHTMODELPARAM_CLASSWEIGHTENTRY = _SAMPLEWEIGHTMODELPARAM.nested_types_by_name['ClassWeightEntry']
  15. SampleWeightModelParam = _reflection.GeneratedProtocolMessageType('SampleWeightModelParam', (_message.Message,), {
  16. 'ClassWeightEntry' : _reflection.GeneratedProtocolMessageType('ClassWeightEntry', (_message.Message,), {
  17. 'DESCRIPTOR' : _SAMPLEWEIGHTMODELPARAM_CLASSWEIGHTENTRY,
  18. '__module__' : 'sample_weight_model_param_pb2'
  19. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.SampleWeightModelParam.ClassWeightEntry)
  20. })
  21. ,
  22. 'DESCRIPTOR' : _SAMPLEWEIGHTMODELPARAM,
  23. '__module__' : 'sample_weight_model_param_pb2'
  24. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.SampleWeightModelParam)
  25. })
  26. _sym_db.RegisterMessage(SampleWeightModelParam)
  27. _sym_db.RegisterMessage(SampleWeightModelParam.ClassWeightEntry)
  28. if _descriptor._USE_C_DESCRIPTORS == False:
  29. DESCRIPTOR._options = None
  30. DESCRIPTOR._serialized_options = b'B\033SampleWeightModelParamProto'
  31. _SAMPLEWEIGHTMODELPARAM_CLASSWEIGHTENTRY._options = None
  32. _SAMPLEWEIGHTMODELPARAM_CLASSWEIGHTENTRY._serialized_options = b'8\001'
  33. _SAMPLEWEIGHTMODELPARAM._serialized_start=76
  34. _SAMPLEWEIGHTMODELPARAM._serialized_end=292
  35. _SAMPLEWEIGHTMODELPARAM_CLASSWEIGHTENTRY._serialized_start=242
  36. _SAMPLEWEIGHTMODELPARAM_CLASSWEIGHTENTRY._serialized_end=292
  37. # @@protoc_insertion_point(module_scope)