| OLD | NEW |
| 1 // Protocol Buffers - Google's data interchange format | 1 // Protocol Buffers - Google's data interchange format |
| 2 // Copyright 2008 Google Inc. All rights reserved. | 2 // Copyright 2008 Google Inc. All rights reserved. |
| 3 // http://code.google.com/p/protobuf/ | 3 // https://developers.google.com/protocol-buffers/ |
| 4 // | 4 // |
| 5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
| 6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
| 7 // met: | 7 // met: |
| 8 // | 8 // |
| 9 // * Redistributions of source code must retain the above copyright | 9 // * Redistributions of source code must retain the above copyright |
| 10 // notice, this list of conditions and the following disclaimer. | 10 // notice, this list of conditions and the following disclaimer. |
| 11 // * Redistributions in binary form must reproduce the above | 11 // * Redistributions in binary form must reproduce the above |
| 12 // copyright notice, this list of conditions and the following disclaimer | 12 // copyright notice, this list of conditions and the following disclaimer |
| 13 // in the documentation and/or other materials provided with the | 13 // in the documentation and/or other materials provided with the |
| (...skipping 12 matching lines...) Expand all Loading... |
| 26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 | 30 |
| 31 // Author: kenton@google.com (Kenton Varda) | 31 // Author: kenton@google.com (Kenton Varda) |
| 32 // Based on original Protocol Buffers design by | 32 // Based on original Protocol Buffers design by |
| 33 // Sanjay Ghemawat, Jeff Dean, and others. | 33 // Sanjay Ghemawat, Jeff Dean, and others. |
| 34 // | 34 // |
| 35 // A proto file that has an extremely large descriptor. Used to test that | 35 // A proto file that has an extremely large descriptor. Used to test that |
| 36 // descriptors over 64k don't break the string literal length limit in Java. | 36 // descriptors over 64k don't break language-specific limits in generated code, |
| 37 // such as the string literal length limit in Java. |
| 37 | 38 |
| 39 syntax = "proto2"; |
| 38 | 40 |
| 39 package google.protobuf; | 41 package google.protobuf; |
| 40 option java_package = "com.google.protobuf"; | 42 option java_package = "com.google.protobuf"; |
| 41 | 43 |
| 42 // Avoid generating insanely long methods. | 44 // Avoid generating insanely long methods. |
| 43 option optimize_for = CODE_SIZE; | 45 option optimize_for = CODE_SIZE; |
| 44 | 46 |
| 45 message TestEnormousDescriptor { | 47 message TestEnormousDescriptor { |
| 46 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_1 = 1 [default="long default value is also loo
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
ng"]; | 48 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_1 = 1 [default="long default value is also loo
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
ng"]; |
| 47 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_2 = 2 [default="long default value is also loo
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
ng"]; | 49 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_2 = 2 [default="long default value is also loo
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
ng"]; |
| (...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1037 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_992 = 992 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; | 1039 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_992 = 992 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; |
| 1038 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_993 = 993 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; | 1040 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_993 = 993 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; |
| 1039 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_994 = 994 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; | 1041 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_994 = 994 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; |
| 1040 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_995 = 995 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; | 1042 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_995 = 995 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; |
| 1041 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_996 = 996 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; | 1043 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_996 = 996 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; |
| 1042 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_997 = 997 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; | 1044 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_997 = 997 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; |
| 1043 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_998 = 998 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; | 1045 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_998 = 998 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; |
| 1044 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_999 = 999 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; | 1046 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_999 = 999 [default="long default value is also
loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooong"]; |
| 1045 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_1000 = 1000 [default="long default value is al
so loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooooong"]; | 1047 optional string long_field_name_is_loooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooong_1000 = 1000 [default="long default value is al
so loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
oooooong"]; |
| 1046 } | 1048 } |
| OLD | NEW |