google.golang.org/protobuf/internal/filedesc.FieldL1.ContainingOneof (field)
7 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc.go#L218: ContainingOneof pref.OneofDescriptor // must be consistent with Message.Oneofs.Fields
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#L286: return (fd.L0.ParentFile.L1.Syntax == pref.Proto2 && fd.L1.Cardinality == pref.Optional && fd.L1.ContainingOneof == nil) || fd.L1.IsProto3Optional
desc.go#L317: func (fd *Field) ContainingOneof() pref.OneofDescriptor { return fd.L1.ContainingOneof }
desc_lazy.go#L440: if fd.L1.ContainingOneof != nil {
desc_lazy.go#L443: fd.L1.ContainingOneof = od
google.golang.org/protobuf/internal/impl
legacy_message.go#L246: fd.L1.ContainingOneof = od
![]() |
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. |