protobuf-go/proto
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
..
bench_test.go
decode_gen.go
decode_test.go proto: eagerly unmarshal extensions 2019-05-09 01:19:44 +00:00
decode.go reflect/protoreflect: add helper methods to FieldDescriptor 2019-05-14 17:14:05 +00:00
encode_gen.go
encode_test.go proto: add Equal 2019-04-29 23:34:17 +00:00
encode.go reflect/protoreflect: add helper methods to FieldDescriptor 2019-05-14 17:14:05 +00:00
equal_test.go proto: add Equal 2019-04-29 23:34:17 +00:00
equal.go reflect/protoreflect: add helper methods to FieldDescriptor 2019-05-14 17:14:05 +00:00
isinit_test.go
isinit.go reflect/protoreflect: add helper methods to FieldDescriptor 2019-05-14 17:14:05 +00:00
proto_methods.go
proto_reflect.go
proto.go
size_gen.go
size.go reflect/protoreflect: add helper methods to FieldDescriptor 2019-05-14 17:14:05 +00:00