diff options
author | csharptest <roger@csharptest.net> | 2011-09-20 13:17:03 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2011-09-20 13:17:03 -0500 |
commit | aeb30d8351f33350d58e6795b16c4f861939f4e3 (patch) | |
tree | 447abfb7d24599fa632e50cf0e7ff88465a9e619 /protos | |
parent | ef4af57b119dfab849a7d07203f1e3ae6d5d7f89 (diff) | |
download | protobuf-aeb30d8351f33350d58e6795b16c4f861939f4e3.tar.gz protobuf-aeb30d8351f33350d58e6795b16c4f861939f4e3.tar.bz2 protobuf-aeb30d8351f33350d58e6795b16c4f861939f4e3.zip |
changes from review
Diffstat (limited to 'protos')
-rw-r--r-- | protos/extest/unittest_extras_xmltest.proto | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/protos/extest/unittest_extras_xmltest.proto b/protos/extest/unittest_extras_xmltest.proto index 7fc4e3a2..ab8088a7 100644 --- a/protos/extest/unittest_extras_xmltest.proto +++ b/protos/extest/unittest_extras_xmltest.proto @@ -8,46 +8,44 @@ package protobuf_unittest_extra; option optimize_for = SPEED;
enum EnumOptions {
- ONE = 0;
- TWO = 1;
- THREE = 2;
+ ONE = 0;
+ TWO = 1;
+ THREE = 2;
}
-message TestXmlChild
-{
- repeated EnumOptions options = 3;
- optional bytes binary = 4;
+message TestXmlChild {
+ repeated EnumOptions options = 3;
+ optional bytes binary = 4;
}
message TestXmlNoFields {
}
message TestXmlRescursive {
- optional TestXmlRescursive child = 1;
+ optional TestXmlRescursive child = 1;
}
message TestXmlMessage {
- optional int64 number = 6;
- repeated int32 numbers = 2;
- optional string text = 3;
- repeated string textlines = 700;
- optional bool valid = 5;
-
- optional TestXmlChild child = 1;
- repeated group Children = 401
- {
- repeated EnumOptions options = 3;
- optional bytes binary = 4;
- }
-
- extensions 100 to 199;
+ optional int64 number = 6;
+ repeated int32 numbers = 2;
+ optional string text = 3;
+ repeated string textlines = 700;
+ optional bool valid = 5;
+
+ optional TestXmlChild child = 1;
+ repeated group Children = 401 {
+ repeated EnumOptions options = 3;
+ optional bytes binary = 4;
+ }
+
+extensions 100 to 199;
}
message TestXmlExtension {
required int32 number = 1;
}
-
+
extend TestXmlMessage {
optional EnumOptions extension_enum = 101;
optional string extension_text = 102;
|