1// Protocol Buffers - Google's data interchange format 2// Copyright 2016 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.chain; 11 12import "objectivec/Tests/unittest.proto"; 13 14import "objectivec/Tests/unittest_extension_chain_b.proto"; 15import "objectivec/Tests/unittest_extension_chain_c.proto"; 16import "objectivec/Tests/unittest_extension_chain_d.proto"; 17 18option objc_class_prefix = "Chain"; 19 20// The Root for this file should end up adding the local extension and merging 21// in the extensions from D's Root (unittest and C will come via D's). 22 23message AMessage { 24 optional BMessage b = 1; 25 optional CMessage c = 2; 26 optional DMessage d = 3; 27} 28 29extend objc.protobuf.tests.TestAllExtensions { 30 optional int32 chain_a_extension = 10001; 31} 32