diff options
author | Jon Skeet <jonskeet@google.com> | 2015-06-26 11:23:33 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-06-26 20:13:07 +0100 |
commit | fb77cc9d9f066a8ce4f12e8d5f76188d48101444 (patch) | |
tree | 430514e0a7f98dd195d720e2a90a9f3183808fb7 /csharp/protos/extest/unittest_extras_full.proto | |
parent | aa5104143cca3bf3e9f44a79f96e394960f45662 (diff) | |
download | protobuf-fb77cc9d9f066a8ce4f12e8d5f76188d48101444.tar.gz protobuf-fb77cc9d9f066a8ce4f12e8d5f76188d48101444.tar.bz2 protobuf-fb77cc9d9f066a8ce4f12e8d5f76188d48101444.zip |
More cleanup, based around searches for "Google.ProtocolBuffers"
- Remove some old proto2-based C#-only messages
- Remove the "build" directory which only contained out-of-date files
- Remove the csharp_namespace option from proto2 messages
- Change "Google.ProtocolBuffers" to "Google.Protobuf" in other messages
Diffstat (limited to 'csharp/protos/extest/unittest_extras_full.proto')
-rw-r--r-- | csharp/protos/extest/unittest_extras_full.proto | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/csharp/protos/extest/unittest_extras_full.proto b/csharp/protos/extest/unittest_extras_full.proto deleted file mode 100644 index 1b546053..00000000 --- a/csharp/protos/extest/unittest_extras_full.proto +++ /dev/null @@ -1,71 +0,0 @@ -syntax = "proto2"; - -package protobuf_unittest_extra; - -option csharp_namespace = "Google.ProtocolBuffers.TestProtos"; -option optimize_for = CODE_SIZE; -option java_package = "com.google.protobuf"; - -message TestInteropPerson { - required string name = 1; - required int32 id = 2; - optional string email = 3; - repeated int32 codes = 10 [packed=true]; - - enum PhoneType { - MOBILE = 0; - HOME = 1; - WORK = 2; - } - - message PhoneNumber { - required string number = 1; - optional PhoneType type = 2 [default = HOME]; - } - - repeated PhoneNumber phone = 4; - - repeated group Addresses = 5 { - required string address = 1; - optional string address2 = 2; - required string city = 3; - required string state = 4; - required fixed32 zip = 5; - } - - extensions 100 to 199; -} - -message TestInteropEmployeeId { - required string number = 1; -} - -extend TestInteropPerson { - // Note: changed from required to optional, as required fields are not - // permitted in extensions. (The fact that this was allowed in protogen - // before was almost certainly a bug.) - optional TestInteropEmployeeId employee_id = 126; -} - -message TestMissingFieldsA { - required string name = 1; - required int32 id = 2; - optional string email = 3; - - message SubA { - required int32 count = 5; - repeated string values = 6; - } - optional SubA testA = 11; -} - -message TestMissingFieldsB { - required string name = 1; - required int32 id = 2; - optional string website = 4; - - message SubB { - repeated string values = 7; - } - optional SubB testB = 12; -} |