...

Text file src/google.golang.org/protobuf/cmd/protoc-gen-go/testdata/protoeditions/nested_messages.proto

Documentation: google.golang.org/protobuf/cmd/protoc-gen-go/testdata/protoeditions

     1// Copyright 2024 The Go Authors. All rights reserved.
     2// Use of this source code is governed by a BSD-style
     3// license that can be found in the LICENSE file.
     4
     5edition = "2023";
     6
     7package goproto.protoc.protoeditions;
     8
     9option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/protoeditions";
    10
    11message Layer1 {
    12  message Layer2 {
    13    message Layer3 {}
    14    Layer3 l3 = 1;
    15  }
    16  Layer2 l2 = 1;
    17  Layer2.Layer3 l3 = 2;
    18}

View as plain text