protobuf-go/internal
Damien Neil a8593bae57 reflect/protoreflect: drop the ProtoEnum type
Drop the protoreflect.ProtoEnum type (containing a single method
returning a protoreflect.Enum) and make generated enum types
directly implement protoreflect.Enum instead.

Messages have a two-level type split (ProtoMessage and Message) to
minimize conflicts between reflection methods and field names. Enums
need no such split, since enums do not have fields and therefore have
no source of conflicts.

Change-Id: I2b6222e9404253e6bfef2217859e1b760ffcd29b
Reviewed-on: https://go-review.googlesource.com/c/156902
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
2019-01-09 00:40:35 +00:00
..
cmd proto: wire decoding support 2018-12-17 18:48:00 +00:00
detrand internal/detrand: support disabling detrand 2018-11-29 07:49:45 +00:00
encoding reflect/prototype: hoist semantic options into builders 2018-12-11 20:25:45 +00:00
errors
flags
impl reflect/protoreflect: drop the ProtoEnum type 2019-01-09 00:40:35 +00:00
legacy reflect/protoreflect: drop the ProtoEnum type 2019-01-09 00:40:35 +00:00
pragma internal/pragma: package to statically enforce certain properties 2018-08-06 21:47:01 +00:00
protogen/goldentest protogen: annotate interface methods 2018-12-12 19:34:33 +00:00
scalar internal/scalar: add scalar package for primitive wrappers 2018-11-28 07:06:11 +00:00
set internal/set: add set package for set data structures 2018-08-09 21:46:35 +00:00
testprotos reflect/protoreflect: drop the ProtoEnum type 2019-01-09 00:40:35 +00:00
typefmt reflect/protoreflect: add HasJSONName, ReservedRanges, and ReservedNames 2018-12-07 20:10:15 +00:00
value reflect/protoreflect: drop the ProtoEnum type 2019-01-09 00:40:35 +00:00