| OLD | NEW |
| 1 syntax = "proto3"; | 1 syntax = "proto3"; |
| 2 | 2 |
| 3 // These proto descriptors have at one time been reported as an issue or defect. | 3 // These proto descriptors have at one time been reported as an issue or defect. |
| 4 // They are kept here to replicate the issue, and continue to verify the fix. | 4 // They are kept here to replicate the issue, and continue to verify the fix. |
| 5 | 5 |
| 6 // Issue: Non-"Google.Protobuffers" namespace will ensure that protobuffer libra
ry types are qualified | 6 // Issue: Non-"Google.Protobuffers" namespace will ensure that protobuffer libra
ry types are qualified |
| 7 option csharp_namespace = "UnitTest.Issues.TestProtos"; | 7 option csharp_namespace = "UnitTest.Issues.TestProtos"; |
| 8 | 8 |
| 9 package unittest_issues; | 9 package unittest_issues; |
| 10 option optimize_for = SPEED; | 10 option optimize_for = SPEED; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 int32 o1_int32 = 5; | 109 int32 o1_int32 = 5; |
| 110 } | 110 } |
| 111 | 111 |
| 112 string plain_string = 1; | 112 string plain_string = 1; |
| 113 | 113 |
| 114 oneof o2 { | 114 oneof o2 { |
| 115 int32 o2_int32 = 6; | 115 int32 o2_int32 = 6; |
| 116 string o2_string = 3; | 116 string o2_string = 3; |
| 117 } | 117 } |
| 118 | 118 |
| 119 } | 119 } |
| 120 |
| 121 message TestJsonName { |
| 122 // Message for testing the effects for of the json_name option |
| 123 string name = 1; |
| 124 string description = 2 [json_name = "desc"]; |
| 125 string guid = 3 [json_name = "exid"]; |
| 126 } |
| OLD | NEW |