OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 option optimize_for = LITE_RUNTIME; |
| 7 |
6 package foo.bar; | 8 package foo.bar; |
7 | 9 |
8 import public "library_internals/galaxies.proto"; | 10 import public "library_internals/galaxies.proto"; |
9 | 11 |
10 message TransgalacticMessage { | 12 message TransgalacticMessage { |
11 optional Galaxy origin_galaxy = 1; | 13 optional Galaxy origin_galaxy = 1; |
12 optional string origin_planet = 2; | 14 optional string origin_planet = 2; |
13 optional Galaxy destination_galaxy = 3; | 15 optional Galaxy destination_galaxy = 3; |
14 optional string destination_planet = 4; | 16 optional string destination_planet = 4; |
15 optional bytes proto_message = 5; | 17 optional bytes proto_message = 5; |
16 } | 18 } |
OLD | NEW |