code: def GetMessages(file_protos):
      """Builds a dictionary of all the messages available in a set of files.
  
      Args:
        file_protos: A sequence of file protos to build messages out of.
  
      Returns:
        A dictionary mapping proto names to the message classes. This will include
        any dependent messages as well as any messages defined in the same file as
        a specified message.
      """
      for file_proto in file_protos:
          _FACTORY.pool.Add(file_proto)
      return _FACTORY.GetMessages(
          [file_proto.name for file_proto in file_protos]
      )
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/deps/protobuf/python/google/protobuf/message_factory.py
imports: from google.protobuf import descriptor_pool
  from google.protobuf import message
  from google.protobuf import reflection
label_desc: Use image node_id 1 for calling a global function with example usage: GetMessages(file_protos) and returns: _FACTORY