#NEWLINE# def __init__( cls , name , bases , dictionary ) : #NEWLINE# #INDENT# "Here we perform the majority of our work on the class.\n    We add enum getters, an __init__ method, implementations\n    of all Message methods, and properties for all fields\n    in the protocol type.\n\n    Args:\n      name: Name of the class (ignored, but required by the\n        metaclass protocol).\n      bases: Base classes of the class we're constructing.\n        (Should be message.Message).  We ignore this field, but\n        it's required by the metaclass protocol\n      dictionary: The class dictionary of the class we're\n        constructing.  dictionary[_DESCRIPTOR_KEY] must contain\n        a Descriptor object describing this protocol message\n        type.\n    " #NEWLINE# descriptor = dictionary [ GeneratedProtocolMessageType . _DESCRIPTOR_KEY ] #NEWLINE# _InitMessage ( descriptor , cls ) #NEWLINE# superclass = super ( GeneratedProtocolMessageType , cls ) #NEWLINE# superclass . __init__ ( name , bases , dictionary ) #NEWLINE# setattr ( bases , '_concrete_class' , cls )