protobuf-go/reflect/protoreflect
Joe Tsai 2653420232 reflect/protoreflect: remove DescriptorProto method
The DescriptorProto method was originally intended to return a raw descriptor.
However, that functionality will be responsibility of the protodesc package
in the near future.

Also document that any callers of Options must import the descriptor package.
This is reasonable since any usage of that method will almost always be of
the form:
	fd.Options().(*descriptorpb.FieldOptions)

Change-Id: I1085f02305faef8dd724e0cb3ad45ac12bd5df0a
Reviewed-on: https://go-review.googlesource.com/c/153497
Reviewed-by: Damien Neil <dneil@google.com>
2018-12-10 21:53:06 +00:00
..
proto_test.go
proto.go reflect/protoreflect: add HasJSONName, ReservedRanges, and ReservedNames 2018-12-07 20:10:15 +00:00
type.go reflect/protoreflect: remove DescriptorProto method 2018-12-10 21:53:06 +00:00
value_pure.go
value_test.go
value_union.go
value_unsafe.go
value.go reflect/protoreflect: replace Mutable with NewMessage 2018-12-10 21:17:16 +00:00