google.golang.org/protobuf/reflect/protoreflect.FieldDescriptor.Enum
third-partyThe 6733rd most-called third-party method by production calls. Called 98 times across 12 modules; 88 of those run outside tests and generated code.
All of google.golang.org/protobuf/reflect/protoreflect → Docs on pkg.go.dev ↗
- prod calls
- 88
- non-test, non-generated
- all calls
- 98
- total callsites
- modules
- 12
- distinct callers
- in loop
- 17%
- of prod calls
- in tests
- 10%
- 10 calls
- resolved
- 1%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Embedded method1%Reached through an embedded type.
- Interface method99%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into FieldDescriptor.Enum from notable Go projects. Open one on the map to see what else it hammers.
- Protocol Buffers 35 40%
- Consul 8 9%
- HashiCorp 6 7%
where it's called
Callsites in the wild
12 representative callsites of 98, prioritizing in-loop and non-test usage. We link to source, never display it.
-
bufbuild/buf @v1.72.0
private/bufpkg/bufcheck/bufcheckserver/internal/buflintvalidate/field.go:926 ↗
in loop -
jhump/protoreflect/v2 @v2.0.0-beta.2
in loop -
google.golang.org/protobuf @v1.36.11
testing/prototest/message.go:151
in loop -
jhump/protoreflect/v2 @v2.0.0-beta.2
in loop -
google.golang.org/protobuf @v1.36.11
testing/prototest/message.go:154
in loop -
google.golang.org/protobuf @v1.36.11
testing/prototest/message.go:180
in loop -
google.golang.org/protobuf @v1.36.11
testing/prototest/message.go:183
in loop -
google.golang.org/protobuf @v1.36.11
internal/descfmt/stringer.go:192
in loop -
google.golang.org/protobuf @v1.36.11
testing/prototest/message.go:195
in loop -
google.golang.org/protobuf @v1.36.11
internal/impl/message_reflect.go:195
in loop -
google.golang.org/protobuf @v1.36.11
testing/prototest/message.go:198
in loop -
google.golang.org/protobuf @v1.36.11
internal/impl/message_reflect.go:199
in loop
top callers
The modules that reach for it
The modules that call FieldDescriptor.Enum most in this snapshot.
- google.golang.org/protobuf4142%
- github.com/jhump/protoreflect/v21111%
- github.com/golang/protobuf99%
- github.com/hashicorp/consul88%
- github.com/bufbuild/protocompile77%
siblings
More from google.golang.org/protobuf/reflect/protoreflect
The other most-called members in this package. See all →