mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-04 02:38:50 +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> |
||
---|---|---|
.. | ||
protoreflect | ||
protoregistry | ||
prototype |