code: def RegisterMessage(self, message):
      
  
      desc = message.DESCRIPTOR
      self._classes[desc.full_name] = message
      self.pool.AddDescriptor(desc)
      return message
docs: Registers the given message type in the local database.
  
      Calls to GetSymbol() and GetMessages() will return messages registered here.
  
      Args:
        message: a message.Message, to be registered.
  
      Returns:
        The provided message.