From f5d9528e1a25f33985d8f77ae35749e9f1d86854 Mon Sep 17 00:00:00 2001 From: Changhua Date: Tue, 11 Feb 2025 23:46:32 +0800 Subject: [PATCH] chore(python): update pb --- clients/python/wcferry/wcf_pb2.py | 463 ++++++------------------------ 1 file changed, 94 insertions(+), 369 deletions(-) diff --git a/clients/python/wcferry/wcf_pb2.py b/clients/python/wcferry/wcf_pb2.py index da7267e..acb1981 100644 --- a/clients/python/wcferry/wcf_pb2.py +++ b/clients/python/wcferry/wcf_pb2.py @@ -1,13 +1,22 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE # source: wcf.proto +# Protobuf Python Version: 5.29.0 """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper 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 runtime_version as _runtime_version from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 0, + '', + 'wcf.proto' +) # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,370 +26,86 @@ _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\twcf.proto\x12\x03wcf\"\xff\x03\n\x07Request\x12\x1c\n\x04\x66unc\x18\x01 \x01(\x0e\x32\x0e.wcf.Functions\x12\x1b\n\x05\x65mpty\x18\x02 \x01(\x0b\x32\n.wcf.EmptyH\x00\x12\r\n\x03str\x18\x03 \x01(\tH\x00\x12\x1b\n\x03txt\x18\x04 \x01(\x0b\x32\x0c.wcf.TextMsgH\x00\x12\x1c\n\x04\x66ile\x18\x05 \x01(\x0b\x32\x0c.wcf.PathMsgH\x00\x12\x1d\n\x05query\x18\x06 \x01(\x0b\x32\x0c.wcf.DbQueryH\x00\x12\x1e\n\x01v\x18\x07 \x01(\x0b\x32\x11.wcf.VerificationH\x00\x12\x1c\n\x01m\x18\x08 \x01(\x0b\x32\x0f.wcf.MemberMgmtH\x00\x12\x1a\n\x03xml\x18\t \x01(\x0b\x32\x0b.wcf.XmlMsgH\x00\x12\x1b\n\x03\x64\x65\x63\x18\n \x01(\x0b\x32\x0c.wcf.DecPathH\x00\x12\x1b\n\x02tf\x18\x0b \x01(\x0b\x32\r.wcf.TransferH\x00\x12\x12\n\x04ui64\x18\x0c \x01(\x04\x42\x02\x30\x01H\x00\x12\x0e\n\x04\x66lag\x18\r \x01(\x08H\x00\x12\x1d\n\x03\x61tt\x18\x0e \x01(\x0b\x32\x0e.wcf.AttachMsgH\x00\x12\x1b\n\x02\x61m\x18\x0f \x01(\x0b\x32\r.wcf.AudioMsgH\x00\x12\x1b\n\x02rt\x18\x10 \x01(\x0b\x32\r.wcf.RichTextH\x00\x12\x19\n\x02pm\x18\x11 \x01(\x0b\x32\x0b.wcf.PatMsgH\x00\x12\x1d\n\x02\x66m\x18\x12 \x01(\x0b\x32\x0f.wcf.ForwardMsgH\x00\x42\x05\n\x03msg\"\xc7\x02\n\x08Response\x12\x1c\n\x04\x66unc\x18\x01 \x01(\x0e\x32\x0e.wcf.Functions\x12\x10\n\x06status\x18\x02 \x01(\x05H\x00\x12\r\n\x03str\x18\x03 \x01(\tH\x00\x12\x1b\n\x05wxmsg\x18\x04 \x01(\x0b\x32\n.wcf.WxMsgH\x00\x12\x1e\n\x05types\x18\x05 \x01(\x0b\x32\r.wcf.MsgTypesH\x00\x12$\n\x08\x63ontacts\x18\x06 \x01(\x0b\x32\x10.wcf.RpcContactsH\x00\x12\x1b\n\x03\x64\x62s\x18\x07 \x01(\x0b\x32\x0c.wcf.DbNamesH\x00\x12\x1f\n\x06tables\x18\x08 \x01(\x0b\x32\r.wcf.DbTablesH\x00\x12\x1b\n\x04rows\x18\t \x01(\x0b\x32\x0b.wcf.DbRowsH\x00\x12\x1b\n\x02ui\x18\n \x01(\x0b\x32\r.wcf.UserInfoH\x00\x12\x1a\n\x03ocr\x18\x0b \x01(\x0b\x32\x0b.wcf.OcrMsgH\x00\x42\x05\n\x03msg\"\x07\n\x05\x45mpty\"\xbe\x01\n\x05WxMsg\x12\x0f\n\x07is_self\x18\x01 \x01(\x08\x12\x10\n\x08is_group\x18\x02 \x01(\x08\x12\x0e\n\x02id\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04type\x18\x04 \x01(\r\x12\n\n\x02ts\x18\x05 \x01(\r\x12\x0e\n\x06roomid\x18\x06 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x07 \x01(\t\x12\x0e\n\x06sender\x18\x08 \x01(\t\x12\x0c\n\x04sign\x18\t \x01(\t\x12\r\n\x05thumb\x18\n \x01(\t\x12\r\n\x05\x65xtra\x18\x0b \x01(\t\x12\x0b\n\x03xml\x18\x0c \x01(\t\"7\n\x07TextMsg\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\x12\r\n\x05\x61ters\x18\x03 \x01(\t\")\n\x07PathMsg\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x10\n\x08receiver\x18\x02 \x01(\t\"G\n\x06XmlMsg\x12\x10\n\x08receiver\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\x04\"a\n\x08MsgTypes\x12\'\n\x05types\x18\x01 \x03(\x0b\x32\x18.wcf.MsgTypes.TypesEntry\x1a,\n\nTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x01\n\nRpcContact\x12\x0c\n\x04wxid\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x0e\n\x06remark\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x05 \x01(\t\x12\x10\n\x08province\x18\x06 \x01(\t\x12\x0c\n\x04\x63ity\x18\x07 \x01(\t\x12\x0e\n\x06gender\x18\x08 \x01(\x05\"0\n\x0bRpcContacts\x12!\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32\x0f.wcf.RpcContact\"\x18\n\x07\x44\x62Names\x12\r\n\x05names\x18\x01 \x03(\t\"$\n\x07\x44\x62Table\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03sql\x18\x02 \x01(\t\"(\n\x08\x44\x62Tables\x12\x1c\n\x06tables\x18\x01 \x03(\x0b\x32\x0c.wcf.DbTable\"\"\n\x07\x44\x62Query\x12\n\n\x02\x64\x62\x18\x01 \x01(\t\x12\x0b\n\x03sql\x18\x02 \x01(\t\"8\n\x07\x44\x62\x46ield\x12\x0c\n\x04type\x18\x01 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\x0c\"%\n\x05\x44\x62Row\x12\x1c\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x0c.wcf.DbField\"\"\n\x06\x44\x62Rows\x12\x18\n\x04rows\x18\x01 \x03(\x0b\x32\n.wcf.DbRow\"5\n\x0cVerification\x12\n\n\x02v3\x18\x01 \x01(\t\x12\n\n\x02v4\x18\x02 \x01(\t\x12\r\n\x05scene\x18\x03 \x01(\x05\"+\n\nMemberMgmt\x12\x0e\n\x06roomid\x18\x01 \x01(\t\x12\r\n\x05wxids\x18\x02 \x01(\t\"D\n\x08UserInfo\x12\x0c\n\x04wxid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06mobile\x18\x03 \x01(\t\x12\x0c\n\x04home\x18\x04 \x01(\t\"#\n\x07\x44\x65\x63Path\x12\x0b\n\x03src\x18\x01 \x01(\t\x12\x0b\n\x03\x64st\x18\x02 \x01(\t\"4\n\x08Transfer\x12\x0c\n\x04wxid\x18\x01 \x01(\t\x12\x0c\n\x04tfid\x18\x02 \x01(\t\x12\x0c\n\x04taid\x18\x03 \x01(\t\"9\n\tAttachMsg\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05thumb\x18\x02 \x01(\t\x12\r\n\x05\x65xtra\x18\x03 \x01(\t\"\'\n\x08\x41udioMsg\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0b\n\x03\x64ir\x18\x02 \x01(\t\"y\n\x08RichText\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x0e\n\x06\x64igest\x18\x04 \x01(\t\x12\x0b\n\x03url\x18\x05 \x01(\t\x12\x10\n\x08thumburl\x18\x06 \x01(\t\x12\x10\n\x08receiver\x18\x07 \x01(\t\"&\n\x06PatMsg\x12\x0e\n\x06roomid\x18\x01 \x01(\t\x12\x0c\n\x04wxid\x18\x02 \x01(\t\"(\n\x06OcrMsg\x12\x0e\n\x06status\x18\x01 \x01(\x05\x12\x0e\n\x06result\x18\x02 \x01(\t\".\n\nForwardMsg\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08receiver\x18\x02 \x01(\t\"\xb7\x02\n\x08RoomData\x12)\n\x07members\x18\x01 \x03(\x0b\x32\x18.wcf.RoomData.RoomMember\x12\x14\n\x07\x66ield_2\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\x0f\n\x07\x66ield_3\x18\x03 \x01(\x05\x12\x14\n\x07\x66ield_4\x18\x04 \x01(\x05H\x01\x88\x01\x01\x12\x10\n\x08\x63\x61pacity\x18\x05 \x01(\x05\x12\x14\n\x07\x66ield_6\x18\x06 \x01(\tH\x02\x88\x01\x01\x12\x0f\n\x07\x66ield_7\x18\x07 \x01(\x05\x12\x0f\n\x07\x66ield_8\x18\x08 \x01(\x05\x12\x0e\n\x06\x61\x64mins\x18\t \x03(\t\x1a\x45\n\nRoomMember\x12\x0c\n\x04wxid\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\r\n\x05state\x18\x03 \x01(\x05\x42\x07\n\x05_nameB\n\n\x08_field_2B\n\n\x08_field_4B\n\n\x08_field_6*\xf2\x05\n\tFunctions\x12\x11\n\rFUNC_RESERVED\x10\x00\x12\x11\n\rFUNC_IS_LOGIN\x10\x01\x12\x16\n\x12\x46UNC_GET_SELF_WXID\x10\x10\x12\x16\n\x12\x46UNC_GET_MSG_TYPES\x10\x11\x12\x15\n\x11\x46UNC_GET_CONTACTS\x10\x12\x12\x15\n\x11\x46UNC_GET_DB_NAMES\x10\x13\x12\x16\n\x12\x46UNC_GET_DB_TABLES\x10\x14\x12\x16\n\x12\x46UNC_GET_USER_INFO\x10\x15\x12\x16\n\x12\x46UNC_GET_AUDIO_MSG\x10\x16\x12\x11\n\rFUNC_SEND_TXT\x10 \x12\x11\n\rFUNC_SEND_IMG\x10!\x12\x12\n\x0e\x46UNC_SEND_FILE\x10\"\x12\x11\n\rFUNC_SEND_XML\x10#\x12\x15\n\x11\x46UNC_SEND_EMOTION\x10$\x12\x16\n\x12\x46UNC_SEND_RICH_TXT\x10%\x12\x15\n\x11\x46UNC_SEND_PAT_MSG\x10&\x12\x14\n\x10\x46UNC_FORWARD_MSG\x10\'\x12\x18\n\x14\x46UNC_ENABLE_RECV_TXT\x10\x30\x12\x19\n\x15\x46UNC_DISABLE_RECV_TXT\x10@\x12\x16\n\x12\x46UNC_EXEC_DB_QUERY\x10P\x12\x16\n\x12\x46UNC_ACCEPT_FRIEND\x10Q\x12\x16\n\x12\x46UNC_RECV_TRANSFER\x10R\x12\x14\n\x10\x46UNC_REFRESH_PYQ\x10S\x12\x18\n\x14\x46UNC_DOWNLOAD_ATTACH\x10T\x12\x19\n\x15\x46UNC_GET_CONTACT_INFO\x10U\x12\x13\n\x0f\x46UNC_REVOKE_MSG\x10V\x12\x17\n\x13\x46UNC_REFRESH_QRCODE\x10W\x12\x16\n\x12\x46UNC_DECRYPT_IMAGE\x10`\x12\x11\n\rFUNC_EXEC_OCR\x10\x61\x12\x19\n\x15\x46UNC_ADD_ROOM_MEMBERS\x10p\x12\x19\n\x15\x46UNC_DEL_ROOM_MEMBERS\x10q\x12\x19\n\x15\x46UNC_INV_ROOM_MEMBERS\x10rB\r\n\x0b\x63om.iamteerb\x06proto3') -_FUNCTIONS = DESCRIPTOR.enum_types_by_name['Functions'] -Functions = enum_type_wrapper.EnumTypeWrapper(_FUNCTIONS) -FUNC_RESERVED = 0 -FUNC_IS_LOGIN = 1 -FUNC_GET_SELF_WXID = 16 -FUNC_GET_MSG_TYPES = 17 -FUNC_GET_CONTACTS = 18 -FUNC_GET_DB_NAMES = 19 -FUNC_GET_DB_TABLES = 20 -FUNC_GET_USER_INFO = 21 -FUNC_GET_AUDIO_MSG = 22 -FUNC_SEND_TXT = 32 -FUNC_SEND_IMG = 33 -FUNC_SEND_FILE = 34 -FUNC_SEND_XML = 35 -FUNC_SEND_EMOTION = 36 -FUNC_SEND_RICH_TXT = 37 -FUNC_SEND_PAT_MSG = 38 -FUNC_FORWARD_MSG = 39 -FUNC_ENABLE_RECV_TXT = 48 -FUNC_DISABLE_RECV_TXT = 64 -FUNC_EXEC_DB_QUERY = 80 -FUNC_ACCEPT_FRIEND = 81 -FUNC_RECV_TRANSFER = 82 -FUNC_REFRESH_PYQ = 83 -FUNC_DOWNLOAD_ATTACH = 84 -FUNC_GET_CONTACT_INFO = 85 -FUNC_REVOKE_MSG = 86 -FUNC_REFRESH_QRCODE = 87 -FUNC_DECRYPT_IMAGE = 96 -FUNC_EXEC_OCR = 97 -FUNC_ADD_ROOM_MEMBERS = 112 -FUNC_DEL_ROOM_MEMBERS = 113 -FUNC_INV_ROOM_MEMBERS = 114 - - -_REQUEST = DESCRIPTOR.message_types_by_name['Request'] -_RESPONSE = DESCRIPTOR.message_types_by_name['Response'] -_EMPTY = DESCRIPTOR.message_types_by_name['Empty'] -_WXMSG = DESCRIPTOR.message_types_by_name['WxMsg'] -_TEXTMSG = DESCRIPTOR.message_types_by_name['TextMsg'] -_PATHMSG = DESCRIPTOR.message_types_by_name['PathMsg'] -_XMLMSG = DESCRIPTOR.message_types_by_name['XmlMsg'] -_MSGTYPES = DESCRIPTOR.message_types_by_name['MsgTypes'] -_MSGTYPES_TYPESENTRY = _MSGTYPES.nested_types_by_name['TypesEntry'] -_RPCCONTACT = DESCRIPTOR.message_types_by_name['RpcContact'] -_RPCCONTACTS = DESCRIPTOR.message_types_by_name['RpcContacts'] -_DBNAMES = DESCRIPTOR.message_types_by_name['DbNames'] -_DBTABLE = DESCRIPTOR.message_types_by_name['DbTable'] -_DBTABLES = DESCRIPTOR.message_types_by_name['DbTables'] -_DBQUERY = DESCRIPTOR.message_types_by_name['DbQuery'] -_DBFIELD = DESCRIPTOR.message_types_by_name['DbField'] -_DBROW = DESCRIPTOR.message_types_by_name['DbRow'] -_DBROWS = DESCRIPTOR.message_types_by_name['DbRows'] -_VERIFICATION = DESCRIPTOR.message_types_by_name['Verification'] -_MEMBERMGMT = DESCRIPTOR.message_types_by_name['MemberMgmt'] -_USERINFO = DESCRIPTOR.message_types_by_name['UserInfo'] -_DECPATH = DESCRIPTOR.message_types_by_name['DecPath'] -_TRANSFER = DESCRIPTOR.message_types_by_name['Transfer'] -_ATTACHMSG = DESCRIPTOR.message_types_by_name['AttachMsg'] -_AUDIOMSG = DESCRIPTOR.message_types_by_name['AudioMsg'] -_RICHTEXT = DESCRIPTOR.message_types_by_name['RichText'] -_PATMSG = DESCRIPTOR.message_types_by_name['PatMsg'] -_OCRMSG = DESCRIPTOR.message_types_by_name['OcrMsg'] -_FORWARDMSG = DESCRIPTOR.message_types_by_name['ForwardMsg'] -_ROOMDATA = DESCRIPTOR.message_types_by_name['RoomData'] -_ROOMDATA_ROOMMEMBER = _ROOMDATA.nested_types_by_name['RoomMember'] -Request = _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), { - 'DESCRIPTOR' : _REQUEST, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.Request) - }) -_sym_db.RegisterMessage(Request) - -Response = _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), { - 'DESCRIPTOR' : _RESPONSE, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.Response) - }) -_sym_db.RegisterMessage(Response) - -Empty = _reflection.GeneratedProtocolMessageType('Empty', (_message.Message,), { - 'DESCRIPTOR' : _EMPTY, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.Empty) - }) -_sym_db.RegisterMessage(Empty) - -WxMsg = _reflection.GeneratedProtocolMessageType('WxMsg', (_message.Message,), { - 'DESCRIPTOR' : _WXMSG, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.WxMsg) - }) -_sym_db.RegisterMessage(WxMsg) - -TextMsg = _reflection.GeneratedProtocolMessageType('TextMsg', (_message.Message,), { - 'DESCRIPTOR' : _TEXTMSG, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.TextMsg) - }) -_sym_db.RegisterMessage(TextMsg) - -PathMsg = _reflection.GeneratedProtocolMessageType('PathMsg', (_message.Message,), { - 'DESCRIPTOR' : _PATHMSG, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.PathMsg) - }) -_sym_db.RegisterMessage(PathMsg) - -XmlMsg = _reflection.GeneratedProtocolMessageType('XmlMsg', (_message.Message,), { - 'DESCRIPTOR' : _XMLMSG, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.XmlMsg) - }) -_sym_db.RegisterMessage(XmlMsg) - -MsgTypes = _reflection.GeneratedProtocolMessageType('MsgTypes', (_message.Message,), { - - 'TypesEntry' : _reflection.GeneratedProtocolMessageType('TypesEntry', (_message.Message,), { - 'DESCRIPTOR' : _MSGTYPES_TYPESENTRY, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.MsgTypes.TypesEntry) - }) - , - 'DESCRIPTOR' : _MSGTYPES, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.MsgTypes) - }) -_sym_db.RegisterMessage(MsgTypes) -_sym_db.RegisterMessage(MsgTypes.TypesEntry) - -RpcContact = _reflection.GeneratedProtocolMessageType('RpcContact', (_message.Message,), { - 'DESCRIPTOR' : _RPCCONTACT, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.RpcContact) - }) -_sym_db.RegisterMessage(RpcContact) - -RpcContacts = _reflection.GeneratedProtocolMessageType('RpcContacts', (_message.Message,), { - 'DESCRIPTOR' : _RPCCONTACTS, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.RpcContacts) - }) -_sym_db.RegisterMessage(RpcContacts) - -DbNames = _reflection.GeneratedProtocolMessageType('DbNames', (_message.Message,), { - 'DESCRIPTOR' : _DBNAMES, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.DbNames) - }) -_sym_db.RegisterMessage(DbNames) - -DbTable = _reflection.GeneratedProtocolMessageType('DbTable', (_message.Message,), { - 'DESCRIPTOR' : _DBTABLE, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.DbTable) - }) -_sym_db.RegisterMessage(DbTable) - -DbTables = _reflection.GeneratedProtocolMessageType('DbTables', (_message.Message,), { - 'DESCRIPTOR' : _DBTABLES, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.DbTables) - }) -_sym_db.RegisterMessage(DbTables) - -DbQuery = _reflection.GeneratedProtocolMessageType('DbQuery', (_message.Message,), { - 'DESCRIPTOR' : _DBQUERY, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.DbQuery) - }) -_sym_db.RegisterMessage(DbQuery) - -DbField = _reflection.GeneratedProtocolMessageType('DbField', (_message.Message,), { - 'DESCRIPTOR' : _DBFIELD, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.DbField) - }) -_sym_db.RegisterMessage(DbField) - -DbRow = _reflection.GeneratedProtocolMessageType('DbRow', (_message.Message,), { - 'DESCRIPTOR' : _DBROW, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.DbRow) - }) -_sym_db.RegisterMessage(DbRow) - -DbRows = _reflection.GeneratedProtocolMessageType('DbRows', (_message.Message,), { - 'DESCRIPTOR' : _DBROWS, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.DbRows) - }) -_sym_db.RegisterMessage(DbRows) - -Verification = _reflection.GeneratedProtocolMessageType('Verification', (_message.Message,), { - 'DESCRIPTOR' : _VERIFICATION, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.Verification) - }) -_sym_db.RegisterMessage(Verification) - -MemberMgmt = _reflection.GeneratedProtocolMessageType('MemberMgmt', (_message.Message,), { - 'DESCRIPTOR' : _MEMBERMGMT, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.MemberMgmt) - }) -_sym_db.RegisterMessage(MemberMgmt) - -UserInfo = _reflection.GeneratedProtocolMessageType('UserInfo', (_message.Message,), { - 'DESCRIPTOR' : _USERINFO, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.UserInfo) - }) -_sym_db.RegisterMessage(UserInfo) - -DecPath = _reflection.GeneratedProtocolMessageType('DecPath', (_message.Message,), { - 'DESCRIPTOR' : _DECPATH, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.DecPath) - }) -_sym_db.RegisterMessage(DecPath) - -Transfer = _reflection.GeneratedProtocolMessageType('Transfer', (_message.Message,), { - 'DESCRIPTOR' : _TRANSFER, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.Transfer) - }) -_sym_db.RegisterMessage(Transfer) - -AttachMsg = _reflection.GeneratedProtocolMessageType('AttachMsg', (_message.Message,), { - 'DESCRIPTOR' : _ATTACHMSG, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.AttachMsg) - }) -_sym_db.RegisterMessage(AttachMsg) - -AudioMsg = _reflection.GeneratedProtocolMessageType('AudioMsg', (_message.Message,), { - 'DESCRIPTOR' : _AUDIOMSG, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.AudioMsg) - }) -_sym_db.RegisterMessage(AudioMsg) - -RichText = _reflection.GeneratedProtocolMessageType('RichText', (_message.Message,), { - 'DESCRIPTOR' : _RICHTEXT, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.RichText) - }) -_sym_db.RegisterMessage(RichText) - -PatMsg = _reflection.GeneratedProtocolMessageType('PatMsg', (_message.Message,), { - 'DESCRIPTOR' : _PATMSG, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.PatMsg) - }) -_sym_db.RegisterMessage(PatMsg) - -OcrMsg = _reflection.GeneratedProtocolMessageType('OcrMsg', (_message.Message,), { - 'DESCRIPTOR' : _OCRMSG, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.OcrMsg) - }) -_sym_db.RegisterMessage(OcrMsg) - -ForwardMsg = _reflection.GeneratedProtocolMessageType('ForwardMsg', (_message.Message,), { - 'DESCRIPTOR' : _FORWARDMSG, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.ForwardMsg) - }) -_sym_db.RegisterMessage(ForwardMsg) - -RoomData = _reflection.GeneratedProtocolMessageType('RoomData', (_message.Message,), { - - 'RoomMember' : _reflection.GeneratedProtocolMessageType('RoomMember', (_message.Message,), { - 'DESCRIPTOR' : _ROOMDATA_ROOMMEMBER, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.RoomData.RoomMember) - }) - , - 'DESCRIPTOR' : _ROOMDATA, - '__module__' : 'wcf_pb2' - # @@protoc_insertion_point(class_scope:wcf.RoomData) - }) -_sym_db.RegisterMessage(RoomData) -_sym_db.RegisterMessage(RoomData.RoomMember) - -if _descriptor._USE_C_DESCRIPTORS == False: - - DESCRIPTOR._options = None - DESCRIPTOR._serialized_options = b'\n\013com.iamteer' - _REQUEST.fields_by_name['ui64']._options = None - _REQUEST.fields_by_name['ui64']._serialized_options = b'0\001' - _WXMSG.fields_by_name['id']._options = None - _WXMSG.fields_by_name['id']._serialized_options = b'0\001' - _MSGTYPES_TYPESENTRY._options = None - _MSGTYPES_TYPESENTRY._serialized_options = b'8\001' - _ATTACHMSG.fields_by_name['id']._options = None - _ATTACHMSG.fields_by_name['id']._serialized_options = b'0\001' - _AUDIOMSG.fields_by_name['id']._options = None - _AUDIOMSG.fields_by_name['id']._serialized_options = b'0\001' - _FORWARDMSG.fields_by_name['id']._options = None - _FORWARDMSG.fields_by_name['id']._serialized_options = b'0\001' - _FUNCTIONS._serialized_start=2728 - _FUNCTIONS._serialized_end=3482 - _REQUEST._serialized_start=19 - _REQUEST._serialized_end=530 - _RESPONSE._serialized_start=533 - _RESPONSE._serialized_end=860 - _EMPTY._serialized_start=862 - _EMPTY._serialized_end=869 - _WXMSG._serialized_start=872 - _WXMSG._serialized_end=1062 - _TEXTMSG._serialized_start=1064 - _TEXTMSG._serialized_end=1119 - _PATHMSG._serialized_start=1121 - _PATHMSG._serialized_end=1162 - _XMLMSG._serialized_start=1164 - _XMLMSG._serialized_end=1235 - _MSGTYPES._serialized_start=1237 - _MSGTYPES._serialized_end=1334 - _MSGTYPES_TYPESENTRY._serialized_start=1290 - _MSGTYPES_TYPESENTRY._serialized_end=1334 - _RPCCONTACT._serialized_start=1337 - _RPCCONTACT._serialized_end=1472 - _RPCCONTACTS._serialized_start=1474 - _RPCCONTACTS._serialized_end=1522 - _DBNAMES._serialized_start=1524 - _DBNAMES._serialized_end=1548 - _DBTABLE._serialized_start=1550 - _DBTABLE._serialized_end=1586 - _DBTABLES._serialized_start=1588 - _DBTABLES._serialized_end=1628 - _DBQUERY._serialized_start=1630 - _DBQUERY._serialized_end=1664 - _DBFIELD._serialized_start=1666 - _DBFIELD._serialized_end=1722 - _DBROW._serialized_start=1724 - _DBROW._serialized_end=1761 - _DBROWS._serialized_start=1763 - _DBROWS._serialized_end=1797 - _VERIFICATION._serialized_start=1799 - _VERIFICATION._serialized_end=1852 - _MEMBERMGMT._serialized_start=1854 - _MEMBERMGMT._serialized_end=1897 - _USERINFO._serialized_start=1899 - _USERINFO._serialized_end=1967 - _DECPATH._serialized_start=1969 - _DECPATH._serialized_end=2004 - _TRANSFER._serialized_start=2006 - _TRANSFER._serialized_end=2058 - _ATTACHMSG._serialized_start=2060 - _ATTACHMSG._serialized_end=2117 - _AUDIOMSG._serialized_start=2119 - _AUDIOMSG._serialized_end=2158 - _RICHTEXT._serialized_start=2160 - _RICHTEXT._serialized_end=2281 - _PATMSG._serialized_start=2283 - _PATMSG._serialized_end=2321 - _OCRMSG._serialized_start=2323 - _OCRMSG._serialized_end=2363 - _FORWARDMSG._serialized_start=2365 - _FORWARDMSG._serialized_end=2411 - _ROOMDATA._serialized_start=2414 - _ROOMDATA._serialized_end=2725 - _ROOMDATA_ROOMMEMBER._serialized_start=2620 - _ROOMDATA_ROOMMEMBER._serialized_end=2689 +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'wcf_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\013com.iamteer' + _globals['_REQUEST'].fields_by_name['ui64']._loaded_options = None + _globals['_REQUEST'].fields_by_name['ui64']._serialized_options = b'0\001' + _globals['_WXMSG'].fields_by_name['id']._loaded_options = None + _globals['_WXMSG'].fields_by_name['id']._serialized_options = b'0\001' + _globals['_MSGTYPES_TYPESENTRY']._loaded_options = None + _globals['_MSGTYPES_TYPESENTRY']._serialized_options = b'8\001' + _globals['_ATTACHMSG'].fields_by_name['id']._loaded_options = None + _globals['_ATTACHMSG'].fields_by_name['id']._serialized_options = b'0\001' + _globals['_AUDIOMSG'].fields_by_name['id']._loaded_options = None + _globals['_AUDIOMSG'].fields_by_name['id']._serialized_options = b'0\001' + _globals['_FORWARDMSG'].fields_by_name['id']._loaded_options = None + _globals['_FORWARDMSG'].fields_by_name['id']._serialized_options = b'0\001' + _globals['_FUNCTIONS']._serialized_start=2728 + _globals['_FUNCTIONS']._serialized_end=3482 + _globals['_REQUEST']._serialized_start=19 + _globals['_REQUEST']._serialized_end=530 + _globals['_RESPONSE']._serialized_start=533 + _globals['_RESPONSE']._serialized_end=860 + _globals['_EMPTY']._serialized_start=862 + _globals['_EMPTY']._serialized_end=869 + _globals['_WXMSG']._serialized_start=872 + _globals['_WXMSG']._serialized_end=1062 + _globals['_TEXTMSG']._serialized_start=1064 + _globals['_TEXTMSG']._serialized_end=1119 + _globals['_PATHMSG']._serialized_start=1121 + _globals['_PATHMSG']._serialized_end=1162 + _globals['_XMLMSG']._serialized_start=1164 + _globals['_XMLMSG']._serialized_end=1235 + _globals['_MSGTYPES']._serialized_start=1237 + _globals['_MSGTYPES']._serialized_end=1334 + _globals['_MSGTYPES_TYPESENTRY']._serialized_start=1290 + _globals['_MSGTYPES_TYPESENTRY']._serialized_end=1334 + _globals['_RPCCONTACT']._serialized_start=1337 + _globals['_RPCCONTACT']._serialized_end=1472 + _globals['_RPCCONTACTS']._serialized_start=1474 + _globals['_RPCCONTACTS']._serialized_end=1522 + _globals['_DBNAMES']._serialized_start=1524 + _globals['_DBNAMES']._serialized_end=1548 + _globals['_DBTABLE']._serialized_start=1550 + _globals['_DBTABLE']._serialized_end=1586 + _globals['_DBTABLES']._serialized_start=1588 + _globals['_DBTABLES']._serialized_end=1628 + _globals['_DBQUERY']._serialized_start=1630 + _globals['_DBQUERY']._serialized_end=1664 + _globals['_DBFIELD']._serialized_start=1666 + _globals['_DBFIELD']._serialized_end=1722 + _globals['_DBROW']._serialized_start=1724 + _globals['_DBROW']._serialized_end=1761 + _globals['_DBROWS']._serialized_start=1763 + _globals['_DBROWS']._serialized_end=1797 + _globals['_VERIFICATION']._serialized_start=1799 + _globals['_VERIFICATION']._serialized_end=1852 + _globals['_MEMBERMGMT']._serialized_start=1854 + _globals['_MEMBERMGMT']._serialized_end=1897 + _globals['_USERINFO']._serialized_start=1899 + _globals['_USERINFO']._serialized_end=1967 + _globals['_DECPATH']._serialized_start=1969 + _globals['_DECPATH']._serialized_end=2004 + _globals['_TRANSFER']._serialized_start=2006 + _globals['_TRANSFER']._serialized_end=2058 + _globals['_ATTACHMSG']._serialized_start=2060 + _globals['_ATTACHMSG']._serialized_end=2117 + _globals['_AUDIOMSG']._serialized_start=2119 + _globals['_AUDIOMSG']._serialized_end=2158 + _globals['_RICHTEXT']._serialized_start=2160 + _globals['_RICHTEXT']._serialized_end=2281 + _globals['_PATMSG']._serialized_start=2283 + _globals['_PATMSG']._serialized_end=2321 + _globals['_OCRMSG']._serialized_start=2323 + _globals['_OCRMSG']._serialized_end=2363 + _globals['_FORWARDMSG']._serialized_start=2365 + _globals['_FORWARDMSG']._serialized_end=2411 + _globals['_ROOMDATA']._serialized_start=2414 + _globals['_ROOMDATA']._serialized_end=2725 + _globals['_ROOMDATA_ROOMMEMBER']._serialized_start=2620 + _globals['_ROOMDATA_ROOMMEMBER']._serialized_end=2689 # @@protoc_insertion_point(module_scope)