protobuf-go/encoding
Joe Tsai 387873dd53 all: implement support for proto3 optional semantics
In the upcoming 3.12.x release of protoc, the proto3 language will be
amended to support true presence for scalars. This CL adds support
to both the generator and runtime to support these semantics.

Newly added public API:
	protogen.Plugin.SupportedFeatures
	protoreflect.FieldDescriptor.HasPresence
	protoreflect.FieldDescriptor.HasOptionalKeyword
	protoreflect.OneofDescriptor.IsSynthetic

Change-Id: I7c86bf66d0ae56642109beb5f2132184593747ad
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/230698
Reviewed-by: Damien Neil <dneil@google.com>
2020-04-29 20:02:24 +00:00
..
protojson all: implement support for proto3 optional semantics 2020-04-29 20:02:24 +00:00
prototext all: implement support for proto3 optional semantics 2020-04-29 20:02:24 +00:00
protowire encoding/protowire: make package publicly available 2020-03-20 07:42:18 +00:00
bench_test.go encoding: remove unused benchV1 flag 2020-02-25 21:50:06 +00:00