• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Protocol Buffers - Google's data interchange format
2// Copyright 2008 Google Inc.  All rights reserved.
3//
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file or at
6// https://developers.google.com/open-source/licenses/bsd
7
8// Author: Darick Tong (darick@google.com)
9//
10// A proto file with extensions for a MessageLite messages.
11
12// LINT: LEGACY_NAMES
13
14edition = "2023";
15
16package protobuf_unittest;
17
18option optimize_for = LITE_RUNTIME;
19
20message MessageLiteToBeExtended {
21  extensions 1 to max;
22}
23
24message MyNonNestedExtensionLite {}
25
26extend MessageLiteToBeExtended {
27  MyNonNestedExtensionLite nonNestedExtensionLite = 1;
28  bool package = 2006;
29}
30