internal/testprotos/test: add nested message field with [lazy=true]

This will be useful for a few different upcoming tests,
to be submitted in a follow-up CL.

Change-Id: I1fde9f4567b149141737a74c8448c2ee14946ae4
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/623117
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Chressie Himpel <chressie@google.com>
This commit is contained in:
Michael Stapelberg 2024-10-30 13:31:42 +01:00
parent 5c14d72191
commit 29947bbd16
2 changed files with 1733 additions and 1716 deletions

File diff suppressed because it is too large Load Diff

View File

@ -56,6 +56,7 @@ message TestAllTypes {
optional NestedEnum optional_nested_enum = 21;
optional ForeignEnum optional_foreign_enum = 22;
optional ImportEnum optional_import_enum = 23;
optional NestedMessage optional_lazy_nested_message = 24 [lazy = true];
repeated int32 repeated_int32 = 31;
repeated int64 repeated_int64 = 32;