protobuf-go/cmd/protoc-gen-go/testdata/imports
Joe Tsai 0fc49f8225 reflect/protoreflect: add Descriptor specific methods
Added methods:
	Enum.Descriptor
	Message.Descriptor
	EnumType.Descriptor
	MessageType.Descriptor
	ExtensionType.Descriptor
	Message.New

All functionality is switched over to use those methods instead of
implicitly relying on the fact that {Enum,Message}Type implicitly
implement the associated descriptor interface.

This CL does not yet remove {Enum,Message}.Type or prevent
{Enum,Message,Extension}Type from implementating a descriptor.
That is a subsequent CL.

The Message.New method is also added to replace functionality
that will be lost when the Type methods are removed.

Change-Id: I7fefde1673bbd40bfdac489aca05cec9a6c98eb1
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/174918
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Herbie Ong <herbie@google.com>
2019-05-13 19:34:41 +00:00
..
fmt cmd/protoc-gen-go: used named types for special fields 2019-04-16 22:04:16 +00:00
test_a_1 reflect/protoreflect: add Descriptor specific methods 2019-05-13 19:34:41 +00:00
test_a_2 cmd/protoc-gen-go: used named types for special fields 2019-04-16 22:04:16 +00:00
test_b_1 cmd/protoc-gen-go: used named types for special fields 2019-04-16 22:04:16 +00:00
test_import_a1m1.pb.go cmd/protoc-gen-go: used named types for special fields 2019-04-16 22:04:16 +00:00
test_import_a1m1.proto internal/cmd/generate-protos: generate test for testdata 2019-03-11 19:40:53 +00:00
test_import_a1m2.pb.go cmd/protoc-gen-go: used named types for special fields 2019-04-16 22:04:16 +00:00
test_import_a1m2.proto internal/cmd/generate-protos: generate test for testdata 2019-03-11 19:40:53 +00:00
test_import_all.pb.go cmd/protoc-gen-go: used named types for special fields 2019-04-16 22:04:16 +00:00
test_import_all.proto internal/cmd/generate-protos: generate test for testdata 2019-03-11 19:40:53 +00:00