class_docstr: A collection of protobufs dynamically constructed by descriptor protos.
class_docstr_tok: ["A","collection","of","protobufs","dynamically","constructed","by","descriptor","protos","."]
docstr: Finds the file in descriptor DB containing the specified symbol.
  
  Args:
    symbol (str): The name of the symbol to search for.
  
  Returns:
    FileDescriptor: The file that contains the specified symbol.
  
  Raises:
    KeyError: if the file cannot be found in the descriptor database.
code: def _FindFileContainingSymbolInDb(self, symbol):
      """Finds the file in descriptor DB containing the specified symbol.
  
      Args:
        symbol (str): The name of the symbol to search for.
  
      Returns:
        FileDescriptor: The file that contains the specified symbol.
  
      Raises:
        KeyError: if the file cannot be found in the descriptor database.
      """
      try:
          file_proto = self._internal_db.FindFileContainingSymbol(
              symbol
          )
      except KeyError as error:
          if self._descriptor_db:
              file_proto = self._descriptor_db.FindFileContainingSymbol(
                  symbol
              )
          else:
              raise error
      if not file_proto:
          raise KeyError("Cannot find a file containing %s" % symbol)
      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 29 for calling the DescriptorPool obj's underlying member method code with example usage: obj._FindFileContainingSymbolInDb(symbol) and returns: self