protobuf-go/internal/impl
Joe Tsai 3d8e369c4e all: implement proto1 weak fields
This implements generation of and reflection support for weak fields.
Weak fields are a proto1 feature where the "weak" option can be specified
on a singular message field. A weak reference results in generated code
that does not directly link in the dependency containing the weak message.

Weak field support is not added to any of the serialization logic.

Change-Id: I08ccfa72bc80b2ffb6af527a1677a0a81dcf33fb
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/185399
Reviewed-by: Damien Neil <dneil@google.com>
2019-07-15 18:44:12 +00:00
..
api_export.go
codec_extension.go internal/impl: support packed extensions 2019-07-11 18:07:16 +00:00
codec_field.go proto: fix merge semantics for oneof message 2019-07-12 16:20:52 +00:00
codec_gen.go internal/impl: support packed extensions 2019-07-11 18:07:16 +00:00
codec_map_go111.go internal/impl: rename encode->codec in various places 2019-07-08 20:12:42 +00:00
codec_map_go112.go internal/impl: rename encode->codec in various places 2019-07-08 20:12:42 +00:00
codec_map.go internal/impl: add fast-path unmarshal 2019-07-09 19:56:42 +00:00
codec_message.go reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
codec_reflect.go internal/impl: support packed extensions 2019-07-11 18:07:16 +00:00
codec_tables.go internal/impl: support packed extensions 2019-07-11 18:07:16 +00:00
codec_unsafe.go internal/impl: rename encode->codec in various places 2019-07-08 20:12:42 +00:00
decode.go runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
encode.go runtime/protoiface: API adjustments 2019-07-12 23:12:26 +00:00
isinit.go runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
legacy_aberrant_test.go internal/impl: fix race in aberrant message logic 2019-07-02 18:39:06 +00:00
legacy_enum.go reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
legacy_export_test.go
legacy_export.go all: implement proto1 weak fields 2019-07-15 18:44:12 +00:00
legacy_extension.go reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
legacy_file_test.go
legacy_file.go internal/filedesc, internal/filetype: initial commit 2019-06-20 02:06:11 +00:00
legacy_message.go internal/strs: unify string manipulation functionality 2019-07-09 19:57:23 +00:00
legacy_test.go reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
message_field.go all: implement proto1 weak fields 2019-07-15 18:44:12 +00:00
message_reflect_gen.go reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
message_reflect.go runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
message_test.go reflect/protoreflect: add Enum.Type and Message.Type 2019-07-12 23:43:21 +00:00
message.go all: implement proto1 weak fields 2019-07-15 18:44:12 +00:00
pointer_reflect.go all: implement proto1 weak fields 2019-07-15 18:44:12 +00:00
pointer_unsafe.go all: implement proto1 weak fields 2019-07-15 18:44:12 +00:00