class_docstr: Descriptor for a file. Mimics the descriptor_pb2.FileDescriptorProto.
  
  Note that :attr:`enum_types_by_name`, :attr:`extensions_by_name`, and
  :attr:`dependencies` fields are only set by the
  :py:mod:`google.protobuf.message_factory` module, and not by the generated
  proto code.
  
  Attributes:
    name (str): Name of file, relative to root of source tree.
    package (str): Name of the package
    syntax (str): string indicating syntax of the file (can be "proto2" or
      "proto3")
    serialized_pb (bytes): Byte string of serialized
      :class:`descriptor_pb2.FileDescriptorProto`.
    dependencies (list[FileDescriptor]): List of other :class:`FileDescriptor`
      objects this :class:`FileDescriptor` depends on.
    public_dependencies (list[FileDescriptor]): A subset of
      :attr:`dependencies`, which were declared as "public".
    message_types_by_name (dict(str, Descriptor)): Mapping from message names
      to their :class:`Desctiptor`.
    enum_types_by_name (dict(str, EnumDescriptor)): Mapping from enum names to
      their :class:`EnumDescriptor`.
    extensions_by_name (dict(str, FieldDescriptor)): Mapping from extension
      names declared at file scope to their :class:`FieldDescriptor`.
    services_by_name (dict(str, ServiceDescriptor)): Mapping from services'
      names to their :class:`ServiceDescriptor`.
    pool (DescriptorPool): The pool this descriptor belongs to.  When not
      passed to the constructor, the global default pool is used.
docstr: Copies this to a descriptor_pb2.FileDescriptorProto.
  
  Args:
    proto: An empty descriptor_pb2.FileDescriptorProto.
docstr_tok: ["Copies","this","to","a","descriptor_pb2.FileDescriptorProto",".","Args",":","proto",":","An","empty","descriptor_pb2.FileDescriptorProto","."]
code: def CopyToProto(self, proto):
      """Copies this to a descriptor_pb2.FileDescriptorProto.
  
      Args:
        proto: An empty descriptor_pb2.FileDescriptorProto.
      """
      proto.ParseFromString(self.serialized_pb)
  
imports: import threading
  import warnings
  from google.protobuf.internal import api_implementation
label_desc: Use image node_id 2 for calling the FileDescriptor obj's underlying member method code with example usage: obj.CopyToProto(proto) without return types