# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: linr-model-param.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() import sshe_cipher_param_pb2 as sshe__cipher__param__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16linr-model-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\x1a\x17sshe-cipher-param.proto\"\x9c\x04\n\x0eLinRModelParam\x12\r\n\x05iters\x18\x01 \x01(\x05\x12\x14\n\x0closs_history\x18\x02 \x03(\x01\x12\x14\n\x0cis_converged\x18\x03 \x01(\x08\x12R\n\x06weight\x18\x04 \x03(\x0b\x32\x42.com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam.WeightEntry\x12\x11\n\tintercept\x18\x05 \x01(\x01\x12\x0e\n\x06header\x18\x06 \x03(\t\x12\x16\n\x0e\x62\x65st_iteration\x18\x07 \x01(\x05\x12\x65\n\x10\x65ncrypted_weight\x18\x08 \x03(\x0b\x32K.com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam.EncryptedWeightEntry\x12>\n\x06\x63ipher\x18\t \x01(\x0b\x32..com.webank.ai.fate.core.mlmodel.buffer.Cipher\x1a-\n\x0bWeightEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1aj\n\x14\x45ncryptedWeightEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.com.webank.ai.fate.core.mlmodel.buffer.CipherText:\x02\x38\x01\x42\x15\x42\x13LinRModelParamProtob\x06proto3') _LINRMODELPARAM = DESCRIPTOR.message_types_by_name['LinRModelParam'] _LINRMODELPARAM_WEIGHTENTRY = _LINRMODELPARAM.nested_types_by_name['WeightEntry'] _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY = _LINRMODELPARAM.nested_types_by_name['EncryptedWeightEntry'] LinRModelParam = _reflection.GeneratedProtocolMessageType('LinRModelParam', (_message.Message,), { 'WeightEntry' : _reflection.GeneratedProtocolMessageType('WeightEntry', (_message.Message,), { 'DESCRIPTOR' : _LINRMODELPARAM_WEIGHTENTRY, '__module__' : 'linr_model_param_pb2' # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam.WeightEntry) }) , 'EncryptedWeightEntry' : _reflection.GeneratedProtocolMessageType('EncryptedWeightEntry', (_message.Message,), { 'DESCRIPTOR' : _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY, '__module__' : 'linr_model_param_pb2' # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam.EncryptedWeightEntry) }) , 'DESCRIPTOR' : _LINRMODELPARAM, '__module__' : 'linr_model_param_pb2' # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam) }) _sym_db.RegisterMessage(LinRModelParam) _sym_db.RegisterMessage(LinRModelParam.WeightEntry) _sym_db.RegisterMessage(LinRModelParam.EncryptedWeightEntry) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'B\023LinRModelParamProto' _LINRMODELPARAM_WEIGHTENTRY._options = None _LINRMODELPARAM_WEIGHTENTRY._serialized_options = b'8\001' _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY._options = None _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_options = b'8\001' _LINRMODELPARAM._serialized_start=92 _LINRMODELPARAM._serialized_end=632 _LINRMODELPARAM_WEIGHTENTRY._serialized_start=479 _LINRMODELPARAM_WEIGHTENTRY._serialized_end=524 _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_start=526 _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_end=632 # @@protoc_insertion_point(module_scope)