type google.golang.org/protobuf/internal/filedesc.OneofFields
11 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc.go#L229: Fields OneofFields // must be consistent with Message.Fields.ContainingOneof
desc_list.go#L243: type OneofFields struct {
desc_list.go#L251: func (p *OneofFields) Len() int { return len(p.List) }
desc_list.go#L252: func (p *OneofFields) Get(i int) pref.FieldDescriptor { return p.List[i] }
desc_list.go#L253: func (p *OneofFields) ByName(s pref.Name) pref.FieldDescriptor { return p.lazyInit().byName[s] }
desc_list.go#L254: func (p *OneofFields) ByJSONName(s string) pref.FieldDescriptor { return p.lazyInit().byJSON[s] }
desc_list.go#L255: func (p *OneofFields) ByNumber(n pref.FieldNumber) pref.FieldDescriptor { return p.lazyInit().byNum[n] }
desc_list.go#L256: func (p *OneofFields) Format(s fmt.State, r rune) { descfmt.FormatList(s, r, p) }
desc_list.go#L257: func (p *OneofFields) ProtoInternal(pragma.DoNotImplement) {}
desc_list.go#L259: func (p *OneofFields) lazyInit() *OneofFields {
 |
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. |