Current Path : /lib/python2.7/site-packages/google/protobuf/ |
Current File : //lib/python2.7/site-packages/google/protobuf/message_factory.pyc |
� Du�ac @ sh d Z d Z d d l m Z d d l m Z d d l m Z d e f d � � YZ e � Z d � Z d S( so Provides a factory class for generating dynamic messages. The easiest way to use this class is if you have access to the FileDescriptor protos containing the messages you want to create you can just do the following: message_classes = message_factory.GetMessages(iterable_of_file_descriptors) my_proto_instance = message_classes['some.proto.package.MessageName']() s"