type google.golang.org/protobuf/reflect/protoreflect.Descriptor
47 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
source.go#L29: ByDescriptor(desc Descriptor) SourceLocation
type.go#L21: type Descriptor interface {
type.go#L45: Parent() Descriptor
type.go#L120: Descriptor // Descriptor.FullName is identical to Package
type.go#L182: Descriptor
type.go#L288: Descriptor
type.go#L412: Descriptor
type.go#L531: Descriptor
type.go#L584: Descriptor
type.go#L615: Descriptor
type.go#L640: Descriptor
google.golang.org/protobuf/reflect/protoregistry
registry.go#L47: var ignoreConflict = func(d protoreflect.Descriptor, err error) bool {
registry.go#L149: rangeTopLevelDescriptors(file, func(d protoreflect.Descriptor) {
registry.go#L170: rangeTopLevelDescriptors(file, func(d protoreflect.Descriptor) {
registry.go#L222: func (r *Files) FindDescriptorByName(name protoreflect.FullName) (protoreflect.Descriptor, error) {
registry.go#L270: func findDescriptorInMessage(md protoreflect.MessageDescriptor, suffix nameSuffix) protoreflect.Descriptor {
registry.go#L406: func rangeTopLevelDescriptors(fd protoreflect.FileDescriptor, f func(protoreflect.Descriptor)) {
registry.go#L573: func (r *Types) register(kind string, desc protoreflect.Descriptor, typ any) error {
registry.go#L875: if d, ok := v.(protoreflect.Descriptor); ok {
google.golang.org/protobuf/internal/descfmt
stringer.go#L43: case protoreflect.Descriptor:
stringer.go#L101: ss = append(ss, formatDescOpt(v.(protoreflect.Descriptor), false, allowMulti && !isEnumValue, nil))
stringer.go#L112: func FormatDesc(s fmt.State, r rune, t protoreflect.Descriptor) {
stringer.go#L116: func InternalFormatDescOptForTesting(t protoreflect.Descriptor, isRoot, allowMulti bool, record func(string)) string {
stringer.go#L120: func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool, record func(string)) string {
stringer.go#L350: s = string(v.(protoreflect.Descriptor).Name())
stringer.go#L351: case protoreflect.Descriptor:
google.golang.org/protobuf/internal/filedesc
build.go#L48: FindDescriptorByName(protoreflect.FullName) (protoreflect.Descriptor, error)
desc.go#L126: func (fd *File) Parent() protoreflect.Descriptor { return nil }
desc.go#L573: Parent protoreflect.Descriptor
desc.go#L586: func (d *Base) Parent() protoreflect.Descriptor { return d.L0.Parent }
desc_init.go#L267: func (ed *Enum) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_init.go#L320: func (md *Message) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_init.go#L444: func (xd *Extension) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_init.go#L515: func (sd *Service) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L242: func (vd *EnumValue) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L411: func (fd *Field) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L517: func (od *Oneof) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L620: func (md *Method) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_list.go#L316: func (p *SourceLocations) ByDescriptor(desc protoreflect.Descriptor) protoreflect.SourceLocation {
editions.go#L96: func featuresFromParentDesc(parentDesc protoreflect.Descriptor) EditionFeatures {
placeholder.go#L34: func (f PlaceholderFile) Parent() protoreflect.Descriptor { return nil }
placeholder.go#L56: func (e PlaceholderEnum) Parent() protoreflect.Descriptor { return nil }
placeholder.go#L74: func (e PlaceholderEnumValue) Parent() protoreflect.Descriptor { return nil }
placeholder.go#L89: func (m PlaceholderMessage) Parent() protoreflect.Descriptor { return nil }
google.golang.org/protobuf/internal/filetype
build.go#L277: FindDescriptorByName(protoreflect.FullName) (protoreflect.Descriptor, error)
google.golang.org/protobuf/internal/impl
legacy_extension.go#L146: func (x placeholderExtension) Parent() protoreflect.Descriptor { return nil }
legacy_file.go#L76: func (r resolverOnly) FindDescriptorByName(name protoreflect.FullName) (protoreflect.Descriptor, error) {