class_docstr: Descriptor for a single value within an enum.
  
  Attributes:
    name (str): Name of this value.
    index (int): Dense, 0-indexed index giving the order that this
      value appears textually within its enum in the .proto file.
    number (int): Actual number assigned to this enum value.
    type (EnumDescriptor): :class:`EnumDescriptor` to which this value
      belongs.  Set by :class:`EnumDescriptor`'s constructor if we're
      passed into one.
    options (descriptor_pb2.EnumValueOptions): Enum value options message or
      None to use default enum value options options.
class_docstr_tok: ["Descriptor","for","a","single","value","within","an","enum",".","Attributes",":","name","(","str",")",":","Name","of","this","value",".","index","(","int",")",":","Dense",",","0-indexed","index","giving","the","order","that","this","value","appears","textually","within","its","enum","in","the",".proto","file",".","number","(","int",")",":","Actual","number","assigned","to","this","enum","value",".","type","(","EnumDescriptor",")",":",":","class",":","`","EnumDescriptor","`","to","which","this","value","belongs",".","Set","by",":","class",":","`","EnumDescriptor","`","'s","constructor","if","we're","passed","into","one",".","options","(","descriptor_pb2.EnumValueOptions",")",":","Enum","value","options","message","or","None","to","use","default","enum","value","options","options","."]
docstr: Arguments are as described in the attribute description above.
code: def __init__(
      self,
      name,
      index,
      number,
      type=None,  # pylint: disable=redefined-builtin
      options=None,
      serialized_options=None,
      create_key=None,
  ):
      """Arguments are as described in the attribute description above."""
      if create_key is not _internal_create_key:
          _Deprecated("EnumValueDescriptor")
  
      super(EnumValueDescriptor, self).__init__(
          options, serialized_options, "EnumValueOptions"
      )
      self.name = name
      self.index = index
      self.number = number
      self.type = type
  
imports: import threading
  import warnings
  import six
  from google.protobuf.internal import api_implementation
label_desc: Use image node_id 1 to create a new EnumValueDescriptor object from inherited base classes: DescriptorBase with example: obj = EnumValueDescriptor(name, index, number, type, options, serialized_options, create_key)