protobuf-go/cmd/protoc-gen-go/testdata/proto2/nested_messages.proto
Lasse Folger 2caa6b02a2 all: format all .proto files
Change-Id: Ied684945de38ab1895c3ce8afaa1d84cda1e24f9
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/566037
Auto-Submit: Lasse Folger <lassefolger@google.com>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-23 09:30:28 +00:00

19 lines
448 B
Protocol Buffer

// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
syntax = "proto2";
package goproto.protoc.proto2;
option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/proto2";
message Layer1 {
message Layer2 {
message Layer3 {}
optional Layer3 l3 = 1;
}
optional Layer2 l2 = 1;
optional Layer2.Layer3 l3 = 2;
}