protobuf-go/types/known
Damien Neil 0d3e8cc096 proto, runtime/protoiface: add support for fast-path marshaling
Allow message implementations to provide optimized versions of standard
operations. Generated messages now include a ProtoReflectMethods method,
returning a protoiface.Methods struct containing pointers to assorted
optional functions.

The Methods struct also includes a Flags field indicating support for
optional features such as deterministic marshaling.

Implementation of the fast paths (and tests) will come in later CLs.

Change-Id: Idd1beed0ecf43ec5e5e7b8da2ee1e08d3ce32213
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/170340
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-04-02 21:23:04 +00:00
..
any.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
api.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
duration.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
empty.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
field_mask.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
source_context.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
struct.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
timestamp.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
type.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00
wrappers.pb.go proto, runtime/protoiface: add support for fast-path marshaling 2019-04-02 21:23:04 +00:00