const google.golang.org/protobuf/reflect/protoreflect.Repeated
24 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
proto.go#L197: Repeated Cardinality = 3 // appears zero or more times
proto.go#L203: case Optional, Required, Repeated:
proto.go#L217: case Repeated:
proto.go#L231: case Repeated:
google.golang.org/protobuf/encoding/protojson
encode.go#L190: isSingularMessage := fd.Cardinality() != pref.Repeated && fd.Message() != nil
google.golang.org/protobuf/internal/encoding/tag
tag.go#L51: f.L1.Cardinality = pref.Repeated
tag.go#L167: case pref.Repeated:
google.golang.org/protobuf/internal/filedesc
desc.go#L283: return fd.L1.Cardinality != pref.Repeated && (fd.L0.ParentFile.L1.Syntax == pref.Proto2 || fd.L1.Message != nil || fd.L1.ContainingOneof != nil)
desc.go#L289: if !fd.L1.HasPacked && fd.L0.ParentFile.L1.Syntax != pref.Proto2 && fd.L1.Cardinality == pref.Repeated {
desc.go#L300: func (fd *Field) IsList() bool { return fd.Cardinality() == pref.Repeated && !fd.IsMap() }
desc.go#L396: func (xd *Extension) HasPresence() bool { return xd.L1.Cardinality != pref.Repeated }
desc.go#L403: func (xd *Extension) IsList() bool { return xd.Cardinality() == pref.Repeated }
desc.go#L577: if fd.Cardinality() == pref.Repeated {
google.golang.org/protobuf/internal/impl
codec_extension.go#L65: if xd.Cardinality() == pref.Repeated {
codec_message.go#L95: isPointer: fd.Cardinality() == pref.Repeated || fd.HasPresence(),
codec_tables.go#L41: case fd.Cardinality() == pref.Repeated && !fd.IsPacked():
codec_tables.go#L129: case fd.Cardinality() == pref.Repeated && fd.IsPacked():
codec_tables.go#L439: case fd.Cardinality() == pref.Repeated && !fd.IsPacked():
codec_tables.go#L481: case fd.Cardinality() == pref.Repeated && fd.IsPacked():
convert.go#L92: if fd.Cardinality() == pref.Repeated {
convert.go#L378: if fd.Cardinality() == pref.Repeated {
github.com/golang/protobuf/proto
defaults.go#L39: case fd.Cardinality() != protoreflect.Repeated:
discard.go#L29: case fd.Cardinality() != protoreflect.Repeated:
text_decode.go#L144: if fd.Cardinality() != protoreflect.Repeated && seen[fd.Number()] {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |