class_docstr: A container accepting FileDescriptorProtos and maps DescriptorProtos.
docstr: Finds the file descriptor proto by file name.
  
  Typically the file name is a relative path ending to a .proto file. The
  proto with the given name will have to have been added to this database
  using the Add method or else an error will be raised.
  
  Args:
    name: The file name to find.
  
  Returns:
    The file descriptor proto matching the name.
  
  Raises:
    KeyError if no file by the given name was added.
docstr_tok: ["Finds","the","file","descriptor","proto","by","file","name",".","Typically","the","file","name","is","a","relative","path","ending","to","a",".proto","file",".","The","proto","with","the","given","name","will","have","to","have","been","added","to","this","database","using","the","Add","method","or","else","an","error","will","be","raised",".","Args",":","name",":","The","file","name","to","find",".","Returns",":","The","file","descriptor","proto","matching","the","name",".","Raises",":","KeyError","if","no","file","by","the","given","name","was","added","."]
code: def FindFileByName(self, name):
      """Finds the file descriptor proto by file name.
  
      Typically the file name is a relative path ending to a .proto file. The
      proto with the given name will have to have been added to this database
      using the Add method or else an error will be raised.
  
      Args:
        name: The file name to find.
  
      Returns:
        The file descriptor proto matching the name.
  
      Raises:
        KeyError if no file by the given name was added.
      """
  
      return self._file_desc_protos_by_file[name]
  
file_path: catboost/contrib/python/protobuf/py2/google/protobuf/descriptor_database.py
imports: import warnings
label_desc: Use image node_id 3 for calling the DescriptorDatabase obj's underlying member method code with example usage: obj.FindFileByName(name) and returns: self