func (Export) LegacyEnumName(ed pref.EnumDescriptor) string {
	return legacyEnumName(ed)
}
These functions exist to support exported APIs in generated protobufs.
While these are deprecated, they cannot be removed for compatibility reasons.
LegacyEnumName returns the name of enums used in legacy code.
package impl
import (
	"encoding/binary"
	"encoding/json"
	"hash/crc32"
	"math"
	"reflect"
	"google.golang.org/protobuf/internal/errors"
	pref "google.golang.org/protobuf/reflect/protoreflect"
	piface "google.golang.org/protobuf/runtime/protoiface"
)