protobuf-go/reflect/protoreflect
Joe Tsai 4ec39c7663 reflect/protoreflect: add KnownFields.WhichOneof
Add a method that provides efficiently querying for which member field
in a oneof is actually set. This is useful when dealing with oneofs
with many member fields.

Change-Id: I918b566c432f8bdd24dcecbb5501d231ffefef29
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/170580
Reviewed-by: Damien Neil <dneil@google.com>
2019-04-09 21:18:45 +00:00
..
proto_test.go reflect/protoreflect: initial commit 2018-08-10 19:59:50 +00:00
proto.go reflect/protoreflect: clarify documentation 2019-01-09 21:05:02 +00:00
type.go reflect: switch ExtensionType.New to return Value 2019-01-09 21:05:08 +00:00
value_pure.go all: add appengine build tag 2018-12-19 00:36:57 +00:00
value_test.go all: rename Vector as List 2018-11-14 23:03:53 +00:00
value_union.go reflect/protoreflect: drop the ProtoEnum type 2019-01-09 00:40:35 +00:00
value_unsafe.go all: add appengine build tag 2018-12-19 00:36:57 +00:00
value.go reflect/protoreflect: add KnownFields.WhichOneof 2019-04-09 21:18:45 +00:00