class_docstr: A collection of protobufs dynamically constructed by descriptor protos.
class_docstr_tok: ["A","collection","of","protobufs","dynamically","constructed","by","descriptor","protos","."]
docstr: Gets a FileDescriptor by file name.
  
  Args:
    file_name (str): The path to the file to get a descriptor for.
  
  Returns:
    FileDescriptor: The descriptor for the named file.
  
  Raises:
    KeyError: if the file cannot be found in the pool.
code: def FindFileByName(self, file_name):
      """Gets a FileDescriptor by file name.
  
      Args:
        file_name (str): The path to the file to get a descriptor for.
  
      Returns:
        FileDescriptor: The descriptor for the named file.
  
      Raises:
        KeyError: if the file cannot be found in the pool.
      """
  
      try:
          return self._file_descriptors[file_name]
      except KeyError:
          pass
  
      try:
          file_proto = self._internal_db.FindFileByName(file_name)
      except KeyError as error:
          if self._descriptor_db:
              file_proto = self._descriptor_db.FindFileByName(file_name)
          else:
              raise error
      if not file_proto:
          raise KeyError("Cannot find a file named %s" % file_name)
      return self._ConvertFileProtoToFileDescriptor(file_proto)
  
imports: import collections
  import warnings
  from google.protobuf import descriptor
  from google.protobuf import descriptor_database
  from google.protobuf import text_encoding
label_desc: Use image node_id 16 for calling the DescriptorPool obj's underlying member method code with example usage: obj.FindFileByName(file_name) and returns: self, self