google.golang.org/protobuf/internal/filedesc.FieldL1.IsProto3Optional (field)
3 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc.go#L211: IsProto3Optional bool // promoted from google.protobuf.FieldDescriptorProto
desc.go#L286: return (fd.L0.ParentFile.L1.Syntax == pref.Proto2 && fd.L1.Cardinality == pref.Optional && fd.L1.ContainingOneof == nil) || fd.L1.IsProto3Optional
desc_lazy.go#L445: fd.L1.IsProto3Optional = protowire.DecodeBool(v)
![]() |
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. |