class_docstr: Common class for descriptors that can be nested.
docstr: Constructor.
  
  Args:
    options: Protocol message options or None
      to use default message options.
    options_class_name (str): The class name of the above options.
    name (str): Name of this protocol message type.
    full_name (str): Fully-qualified name of this protocol message type,
      which will include protocol "package" name and the name of any
      enclosing types.
    file (FileDescriptor): Reference to file info.
    containing_type: if provided, this is a nested descriptor, with this
      descriptor as parent, otherwise None.
    serialized_start: The start index (inclusive) in block in the
      file.serialized_pb that describes this descriptor.
    serialized_end: The end index (exclusive) in block in the
      file.serialized_pb that describes this descriptor.
    serialized_options: Protocol message serialized options or None.
docstr_tok: ["Constructor",".","Args",":","options",":","Protocol","message","options","or","None","to","use","default","message","options",".","options_class_name","(","str",")",":","The","class","name","of","the","above","options",".","name","(","str",")",":","Name","of","this","protocol","message","type",".","full_name","(","str",")",":","Fully-qualified","name","of","this","protocol","message","type",",","which","will","include","protocol","``","package","''","name","and","the","name","of","any","enclosing","types",".","file","(","FileDescriptor",")",":","Reference","to","file","info",".","containing_type",":","if","provided",",","this","is","a","nested","descriptor",",","with","this","descriptor","as","parent",",","otherwise","None",".","serialized_start",":","The","start","index","(","inclusive",")","in","block","in","the","file.serialized_pb","that","describes","this","descriptor",".","serialized_end",":","The","end","index","(","exclusive",")","in","block","in","the","file.serialized_pb","that","describes","this","descriptor",".","serialized_options",":","Protocol","message","serialized","options","or","None","."]
code: def __init__(
      self,
      options,
      options_class_name,
      name,
      full_name,
      file,
      containing_type,
      serialized_start=None,
      serialized_end=None,
      serialized_options=None,
  ):
      """Constructor.
  
      Args:
        options: Protocol message options or None
          to use default message options.
        options_class_name (str): The class name of the above options.
        name (str): Name of this protocol message type.
        full_name (str): Fully-qualified name of this protocol message type,
          which will include protocol "package" name and the name of any
          enclosing types.
        file (FileDescriptor): Reference to file info.
        containing_type: if provided, this is a nested descriptor, with this
          descriptor as parent, otherwise None.
        serialized_start: The start index (inclusive) in block in the
          file.serialized_pb that describes this descriptor.
        serialized_end: The end index (exclusive) in block in the
          file.serialized_pb that describes this descriptor.
        serialized_options: Protocol message serialized options or None.
      """
      super(_NestedDescriptorBase, self).__init__(
          options, serialized_options, options_class_name
      )
  
      self.name = name
      # TODO(falk): Add function to calculate full_name instead of having it in
      #             memory?
      self.full_name = full_name
      self.file = file
      self.containing_type = containing_type
  
      self._serialized_start = serialized_start
      self._serialized_end = serialized_end
  
imports: import threading
  import warnings
  from google.protobuf.internal import api_implementation
label_desc: Use image node_id 1 to create a new _NestedDescriptorBase object from inherited base classes: DescriptorBase with example: obj = _NestedDescriptorBase(options, options_class_name, name, full_name, file, containing_type, serialized_start, serialized_end, serialized_options)