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 reflect/protoreflect: initial commit 2018-08-10 19:59:50 +00:00
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 go.mod: rename google.golang.org/proto as github.com/golang/protobuf/v2 2018-09-24 16:11:50 +00:00
value_test.go all: rename Vector as List 2018-11-14 23:03:53 +00:00
value_union.go all: rename Vector as List 2018-11-14 23:03:53 +00:00
value_unsafe.go go.mod: rename google.golang.org/proto as github.com/golang/protobuf/v2 2018-09-24 16:11:50 +00:00
value.go reflect/protoreflect: replace Mutable with NewMessage 2018-12-10 21:17:16 +00:00