(message_descriptor, cls)
Constructs a new message instance (called before instance's __init__).
Constructs a new message instance (called before instance's __init__).
Constructs a new message instance ( called before instance s __init__ ) .
def InitMessage(message_descriptor, cls):
  """Constructs a new message instance (called before instance's __init__)."""
  cls._extensions_by_name = {}
  _AddInitMethod(message_descriptor, cls)
  _AddMessageMethods(message_descriptor, cls)
  _AddPropertiesForExtensions(message_descriptor, cls)
  copy_reg.pickle(cls, lambda obj: (cls, (), obj.__getstate__()))
def InitMessage ( message_descriptor , cls ) : cls . _extensions_by_name = { } _AddInitMethod ( message_descriptor , cls ) _AddMessageMethods ( message_descriptor , cls ) _AddPropertiesForExtensions ( message_descriptor , cls ) copy_reg . pickle ( cls , lambda obj : ( cls , ( ) , obj . __getstate__ ( ) ) )