• 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
8syntax = "proto2";
9
10package objc.protobuf.tests.startup;
11option objc_class_prefix = "TestObjCStartup";
12
13message Message {
14  extensions 1 to max;
15}
16
17extend Message {
18  // Singular
19  optional    int32 optional_int32_extension    = 1;
20  repeated    int32 repeated_int32_extension    = 2;
21}
22
23message Nested {
24  extend Message {
25    optional string nested_string_extension = 3;
26  }
27}
28