class_docstr: A database of Python generated symbols.
class_docstr_tok: ["A","database","of","Python","generated","symbols","."]
docstr: 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.
docstr_tok: ["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","."]
code: def RegisterMessage(self, message):
      """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.
      """
  
      desc = message.DESCRIPTOR
      self._classes[desc.full_name] = message
      self.pool.AddDescriptor(desc)
      return message
  
file_path: coremltools/deps/protobuf/python/google/protobuf/symbol_database.py
imports: from google.protobuf import descriptor_pool
  from google.protobuf import message_factory
label_desc: Use image node_id 1 for calling the SymbolDatabase obj's underlying member method code with example usage: obj.RegisterMessage(message) and returns: message