(message_descriptor, cls)
Helper for _AddMessageMethods().
Helper for _AddMessageMethods().
Helper for _AddMessageMethods () .
def _AddReprMethod(message_descriptor, cls):
  """Helper for _AddMessageMethods()."""
  def __repr__(self):
    return text_format.MessageToString(self)
  cls.__repr__ = __repr__
def _AddReprMethod ( message_descriptor , cls ) : def __repr__ ( self ) : return text_format . MessageToString ( self ) cls . __repr__ = __repr__