Skip to content
callcount

google.golang.org/protobuf/reflect/protoreflect.FieldDescriptor.Cardinality

third-party

The 6814th most-called third-party method by production calls. Called 101 times across 16 modules; 87 of those run outside tests and generated code.

All of google.golang.org/protobuf/reflect/protoreflect → Docs on pkg.go.dev ↗

prod calls
87
non-test, non-generated
all calls
101
total callsites
modules
16
distinct callers
in loop
28%
of prod calls
in tests
14%
14 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 method<1%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.Cardinality from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 101, prioritizing in-loop and non-test usage. We link to source, never display it.

FieldDescriptor.Cardinality · 12 of 101 callsites

top callers

The modules that reach for it

The modules that call FieldDescriptor.Cardinality most in this snapshot.

  • google.golang.org/protobuf3838%
  • github.com/jhump/protoreflect/v21111%
  • github.com/planetscale/vtprotobuf1111%
  • github.com/bufbuild/protocompile99%
  • github.com/bufbuild/buf88%

siblings

More from google.golang.org/protobuf/reflect/protoreflect

The other most-called members in this package. See all →