class_docstr: A collection of protobufs dynamically constructed by descriptor protos.
class_docstr_tok: ["A","collection","of","protobufs","dynamically","constructed","by","descriptor","protos","."]
docstr: Adds a Descriptor to the pool, non-recursively.
  
  If the Descriptor contains nested messages or enums, the caller must
  explicitly register them. This method also registers the FileDescriptor
  associated with the message.
  
  Args:
    desc: A Descriptor.
code: def _AddDescriptor(self, desc):
      """Adds a Descriptor to the pool, non-recursively.
  
      If the Descriptor contains nested messages or enums, the caller must
      explicitly register them. This method also registers the FileDescriptor
      associated with the message.
  
      Args:
        desc: A Descriptor.
      """
      if not isinstance(desc, descriptor.Descriptor):
          raise TypeError("Expected instance of descriptor.Descriptor.")
  
      self._CheckConflictRegister(desc, desc.full_name, desc.file.name)
  
      self._descriptors[desc.full_name] = desc
      self._AddFileDescriptor(desc.file)
  
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 6 for calling the DescriptorPool obj's underlying member method code with example usage: obj._AddDescriptor(desc) without return types