mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-06 09:40:07 +00:00
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>