EnumValueDescription
EnumValueDescription maps a fully-qualified enum value name to its numeric value.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new EnumValueDescription(
enumValueName,desc):EnumValueDescription
Parameters
Section titled “Parameters”enumValueName
Section titled “enumValueName”string
DescEnumValue
Returns
Section titled “Returns”EnumValueDescription
Methods
Section titled “Methods”descriptor()
Section titled “descriptor()”descriptor():
DescEnumValue
Descriptor returns the protobuf enum value descriptor.
Returns
Section titled “Returns”DescEnumValue
name()
Section titled “name()”name():
string
Name returns the fully-qualified identifier name for the enum value.
Returns
Section titled “Returns”string
value()
Section titled “value()”value():
number
Value returns the (numeric) value of the enum.
Returns
Section titled “Returns”number