const google.golang.org/protobuf/reflect/protoreflect.Required
9 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
proto.go#L196: Required Cardinality = 2 // appears exactly one time; invalid with Proto3
proto.go#L203: case Optional, Required, Repeated:
proto.go#L215: case Required:
proto.go#L229: case Required:
google.golang.org/protobuf/internal/encoding/tag
tag.go#L49: f.L1.Cardinality = pref.Required
tag.go#L165: case pref.Required:
google.golang.org/protobuf/internal/filedesc
desc_lazy.go#L329: if fd.L1.Cardinality == pref.Required {
google.golang.org/protobuf/internal/impl
codec_message.go#L96: isRequired: fd.Cardinality() == pref.Required,
validate.go#L132: if fd.Cardinality() == pref.Required {
![]() |
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. |