✏️ 正在编辑: cpp_message.pyo
路径:
/lib/python2.7/site-packages/google/protobuf/pyext/cpp_message.pyo
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
� ���hc @ s9 d Z d Z d d l m Z d e j f d � � YZ d S( s� Protocol message implementation hooks for C++ implementation. Contains helper functions used to create protocol message classes from Descriptor objects at runtime backed by the protocol buffer C++ API. s tibell@google.com (Johan Tibell)i����( t _messaget GeneratedProtocolMessageTypec B s e Z d Z d Z RS( s� Metaclass for protocol message classes created at runtime from Descriptors. The protocol compiler currently uses this metaclass to create protocol message classes at runtime. Clients can also manually create their own classes at runtime, as in this example: mydescriptor = Descriptor(.....) factory = symbol_database.Default() factory.pool.AddDescriptor(mydescriptor) MyProtoClass = factory.GetPrototype(mydescriptor) myproto_instance = MyProtoClass() myproto.foo_field = 23 ... The above example will not work for nested types. If you wish to include them, use reflection.MakeClass() instead of manually instantiating the class in order to create the appropriate class structure. t DESCRIPTOR( t __name__t __module__t __doc__t _DESCRIPTOR_KEY( ( ( sE /usr/lib/python2.7/site-packages/google/protobuf/pyext/cpp_message.pyR * s N( R t __author__t google.protobuf.pyextR t MessageMetaR ( ( ( sE /usr/lib/python2.7/site-packages/google/protobuf/pyext/cpp_message.pyt <module># s
💾 保存文件
← 返回文件管理器