Describes an individual value of an enumeration in a protobuf source file.

Hierarchy

  • DescEnumValue

Properties

deprecated: boolean

Marked as deprecated in the protobuf source.

kind: "enum_value"
name: string

The name of the enumeration value, as specified in the protobuf source.

number: number

The numeric enumeration value, as specified in the protobuf source.

parent: DescEnum

The enumeration this value belongs to.

The compiler-generated descriptor.

Methods

  • Return a string that (closely) matches the definition of the enumeration value in the protobuf source.

    Returns string

  • Get comments on the element in the protobuf source.

    Returns DescComments

  • Returns string

Generated using TypeDoc