Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
762 B
27 lines
762 B
// Protocol Buffers - Google's data interchange format |
|
// Copyright 2016 Google Inc. All rights reserved. |
|
// |
|
// Use of this source code is governed by a BSD-style |
|
// license that can be found in the LICENSE file or at |
|
// https://developers.google.com/open-source/licenses/bsd |
|
|
|
syntax = "proto2"; |
|
|
|
package objc.protobuf.tests.chain; |
|
|
|
import "objectivec/Tests/unittest.proto"; |
|
|
|
import "objectivec/Tests/unittest_extension_chain_c.proto"; |
|
|
|
option objc_class_prefix = "Chain"; |
|
|
|
// The Root for this file should end up adding the local extension and merging |
|
// in the extensions from C's Root (unittest will come via C's). |
|
|
|
message BMessage { |
|
optional CMessage c = 1; |
|
} |
|
|
|
extend objc.protobuf.tests.TestAllExtensions { |
|
optional int32 chain_b_extension = 10002; |
|
}
|
|
|