File: //lib/python2.7/site-packages/google/protobuf/proto_builder.pyc
ó
ũhc @ s d Z y d d l m Z Wn! e k
r= d d l m Z n Xd d l Z d d l Z d d l m Z d d l m Z d Z
d d d Z d Z
d S( s Dynamic Protobuf class creator.iĸĸĸĸ( t OrderedDictN( t descriptor_pb2( t message_factoryc C s% | j j | } | j | } | S( s8 Get a proto class from the MessageFactory by name.
Args:
factory: a MessageFactory instance.
full_name: str, the fully qualified name of the proto type.
Returns:
A class, for the type identified by full_name.
Raises:
KeyError, if the proto is not found in the factory's descriptor pool.
( t poolt FindMessageTypeByNamet GetPrototype( t factoryt full_namet proto_descriptort proto_cls( ( sA /usr/lib/python2.7/site-packages/google/protobuf/proto_builder.pyt _GetMessageFromFactory, s c
C sN t j d | } | d k rL y t | | } | SWqL t k
rH qL Xn | j } t | t sv t | } n t j
} xF | D]>