protobuf-go/reflect/protoreflect
Joe Tsai ac31a352ca reflect/protoreflect: add helper methods to FieldDescriptor
Added API:
	FieldDescriptor.IsExtension
	FieldDescriptor.IsList
	FieldDescriptor.MapKey
	FieldDescriptor.MapValue
	FieldDescriptor.ContainingOneof
	FieldDescriptor.ContainingMessage

Deprecated API (to be removed in subsequent CL):
	FieldDescriptor.Oneof
	FieldDescriptor.Extendee

These methods help cleanup several common usage patterns.

Change-Id: I9a3ffabc2edb2173c536509b22f330f98bba7cf3
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/176977
Reviewed-by: Damien Neil <dneil@google.com>
2019-05-14 17:14:05 +00:00
..
proto_test.go
proto.go reflect/protoreflect: clarify documentation 2019-01-09 21:05:02 +00:00
type.go reflect/protoreflect: add helper methods to FieldDescriptor 2019-05-14 17:14:05 +00:00
value_pure.go all: add appengine build tag 2018-12-19 00:36:57 +00:00
value_test.go
value_union.go reflect/protoreflect: drop the ProtoEnum type 2019-01-09 00:40:35 +00:00
value_unsafe.go all: add appengine build tag 2018-12-19 00:36:57 +00:00
value.go reflect/protoreflect: add Descriptor specific methods 2019-05-13 19:34:41 +00:00