mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-29 12:17:48 +00:00
a485fbd353
Default values for enums are specified by name, not number. An enum may contain multiple values with different names but the same number. Representing the default as a protoreflect.Value containing an EnumNumber can discard information. Add a method returning the EnumValueDescriptor. Change-Id: If8beee3f81d41c4f9af45423252603b86949c7a5 Reviewed-on: https://go-review.googlesource.com/c/145158 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
protoc-gen-go | ||
protoc-gen-go-grpc |