class_docstr: Descriptors base class.
  
  This class is the base of all descriptor classes. It provides common options
  related functionality.
  
  Attributes:
    has_options:  True if the descriptor has non-default options.  Usually it
        is not necessary to read this -- just call GetOptions() which will
        happily return the default instance.  However, it's sometimes useful
        for efficiency, and also useful inside the protobuf implementation to
        avoid some bootstrapping issues.
docstr: Initialize the descriptor given its options message and the name of the
  class of the options message. The name of the class is required in case
  the options message is None and has to be created.
docstr_tok: ["Initialize","the","descriptor","given","its","options","message","and","the","name","of","the","class","of","the","options","message",".","The","name","of","the","class","is","required","in","case","the","options","message","is","None","and","has","to","be","created","."]
code: def __init__(self, options, serialized_options, options_class_name):
      """Initialize the descriptor given its options message and the name of the
      class of the options message. The name of the class is required in case
      the options message is None and has to be created.
      """
      self._options = options
      self._options_class_name = options_class_name
      self._serialized_options = serialized_options
  
      # Does this descriptor have non-default options?
      self.has_options = (options is not None) or (
          serialized_options is not None
      )
  
imports: import threading
  import warnings
  from google.protobuf.internal import api_implementation
label_desc: Use image node_id 1 to create a new DescriptorBase object  with example: obj = DescriptorBase(options, serialized_options, options_class_name)