ADD: added new version of protobuf
This commit is contained in:
@@ -29,25 +29,23 @@
|
||||
|
||||
syntax = "proto2";
|
||||
|
||||
package objc.protobuf.tests.chain;
|
||||
package protobuf_unittest;
|
||||
|
||||
import "objectivec/Tests/unittest.proto";
|
||||
import "google/protobuf/unittest.proto";
|
||||
|
||||
import "objectivec/Tests/unittest_extension_chain_b.proto";
|
||||
import "objectivec/Tests/unittest_extension_chain_c.proto";
|
||||
import "objectivec/Tests/unittest_extension_chain_d.proto";
|
||||
|
||||
option objc_class_prefix = "Chain";
|
||||
import "unittest_extension_chain_b.proto";
|
||||
import "unittest_extension_chain_c.proto";
|
||||
import "unittest_extension_chain_d.proto";
|
||||
|
||||
// The Root for this file should end up adding the local extension and merging
|
||||
// in the extensions from D's Root (unittest and C will come via D's).
|
||||
|
||||
message AMessage {
|
||||
optional BMessage b = 1;
|
||||
optional CMessage c = 2;
|
||||
optional DMessage d = 3;
|
||||
message ChainAMessage {
|
||||
optional ChainBMessage b = 1;
|
||||
optional ChainCMessage c = 2;
|
||||
optional ChainDMessage d = 3;
|
||||
}
|
||||
|
||||
extend objc.protobuf.tests.TestAllExtensions {
|
||||
extend TestAllExtensions {
|
||||
optional int32 chain_a_extension = 10001;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user