type google.golang.org/protobuf/reflect/protoreflect.OneofDescriptor
22 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
type.go#L343: ContainingOneof() OneofDescriptor
type.go#L383: type OneofDescriptor interface {
type.go#L396: type isOneofDescriptor interface{ ProtoType(OneofDescriptor) }
type.go#L403: Get(i int) OneofDescriptor
type.go#L406: ByName(s Name) OneofDescriptor
value.go#L125: WhichOneof(OneofDescriptor) FieldDescriptor
google.golang.org/protobuf/internal/descfmt
stringer.go#L110: reflect.TypeOf((*pref.OneofDescriptor)(nil)).Elem(): {"Fields"}, // not directly used; must keep in sync with formatDescOpt
stringer.go#L181: case pref.OneofDescriptor:
stringer.go#L251: case pref.FieldDescriptor, pref.OneofDescriptor, pref.EnumValueDescriptor, pref.MethodDescriptor:
google.golang.org/protobuf/internal/filedesc
desc.go#L218: ContainingOneof pref.OneofDescriptor // must be consistent with Message.Oneofs.Fields
desc.go#L317: func (fd *Field) ContainingOneof() pref.OneofDescriptor { return fd.L1.ContainingOneof }
desc.go#L360: func (od *Oneof) ProtoType(pref.OneofDescriptor) {}
desc.go#L410: func (xd *Extension) ContainingOneof() pref.OneofDescriptor { return nil }
desc_list_gen.go#L208: func (p *Oneofs) Get(i int) protoreflect.OneofDescriptor {
desc_list_gen.go#L211: func (p *Oneofs) ByName(s protoreflect.Name) protoreflect.OneofDescriptor {
google.golang.org/protobuf/internal/impl
codec_field.go#L31: func (mi *MessageInfo) initOneofFieldCoders(od pref.OneofDescriptor, si structInfo) {
legacy_extension.go#L170: func (x placeholderExtension) ContainingOneof() pref.OneofDescriptor { return nil }
legacy_message.go#L482: func (m aberrantMessage) WhichOneof(pref.OneofDescriptor) pref.FieldDescriptor {
message_reflect_field.go#L428: oneofDesc pref.OneofDescriptor
message_reflect_field.go#L432: func makeOneofInfo(od pref.OneofDescriptor, si structInfo, x exporter) *oneofInfo {
message_reflect_gen.go#L112: func (m *messageState) WhichOneof(od protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
message_reflect_gen.go#L232: func (m *messageReflectWrapper) WhichOneof(od protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
![]() |
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. |