// newEnumValueDescription produces an enum value description with the fully qualified enum value // name and the enum value descriptor. func newEnumValueDescription(name string, desc protoreflect.EnumValueDescriptor) *EnumValueDescription { … } type EnumValueDescription … // Name returns the fully-qualified identifier name for the enum value. func (ed *EnumValueDescription) Name() string { … } // Value returns the (numeric) value of the enum. func (ed *EnumValueDescription) Value() int32 { … }