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"; 16 17option objc_class_prefix = "Chain"; 18 19// The root should end up needing to merge B (C will be merged into B, so it 20// doesn't need to be directly merged). 21 22message DMessage { 23 optional BMessage b = 1; 24 optional CMessage c = 2; 25} 26 27extend objc.protobuf.tests.TestAllExtensions { 28 optional int32 chain_d_extension = 10004; 29} 30