protobuf-go/reflect/protoreflect
Joe Tsai d421150c3b reflect/protoreflect: add Enum.Type and Message.Type
CL/174938 removed these methods in favor of a method that returned
only the descriptors. This CL adds back in the Type methods alongside
the Descriptor methods.

In a vast majority of protobuf usages, only the descriptor information
is needed. However, there is a small percentage that legitimately needs
the Go type information. We should provide both, but document that the
descriptor-only information is preferred.

Change-Id: Ia0a098997fb1bd009994940ae8ea5257ccd87cae
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/184578
Reviewed-by: Damien Neil <dneil@google.com>
2019-07-12 23:43:21 +00:00
..
proto_test.go
proto.go reflect/protoreflect: print unknown number in String methods 2019-06-24 23:34:46 +00:00
type.go all: fix stale comments 2019-07-08 18:33:38 +00:00
value_pure.go
value_test.go
value_union.go reflect/protoreflect: add alternative message reflection API 2019-06-17 17:33:24 +00:00
value_unsafe.go
value.go reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00