Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Side by Side Diff: third_party/protobuf/benchmarks/benchmark_messages_proto2.proto

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Benchmark messages for proto2. 1 // Benchmark messages for proto2.
2 2
3 syntax = "proto2"; 3 syntax = "proto2";
4 4
5 package benchmarks.proto2; 5 package benchmarks.proto2;
6 option java_package = "com.google.protobuf.benchmarks"; 6 option java_package = "com.google.protobuf.benchmarks";
7 7
8 // This is the default, but we specify it here explicitly. 8 // This is the default, but we specify it here explicitly.
9 option optimize_for = SPEED; 9 option optimize_for = SPEED;
10 10
11 option cc_enable_arenas = true;
12
11 message GoogleMessage1 { 13 message GoogleMessage1 {
12 required string field1 = 1; 14 required string field1 = 1;
13 optional string field9 = 9; 15 optional string field9 = 9;
14 optional string field18 = 18; 16 optional string field18 = 18;
15 optional bool field80 = 80 [default=false]; 17 optional bool field80 = 80 [default=false];
16 optional bool field81 = 81 [default=true]; 18 optional bool field81 = 81 [default=true];
17 required int32 field2 = 2; 19 required int32 field2 = 2;
18 required int32 field3 = 3; 20 required int32 field3 = 3;
19 optional int32 field280 = 280; 21 optional int32 field280 = 280;
20 optional int32 field6 = 6 [default=0]; 22 optional int32 field6 = 6 [default=0];
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 optional float field3 = 3 [default=0.0]; 134 optional float field3 = 3 [default=0.0];
133 optional bool field4 = 4; 135 optional bool field4 = 4;
134 optional bool field5 = 5; 136 optional bool field5 = 5;
135 optional bool field6 = 6 [default=true]; 137 optional bool field6 = 6 [default=true];
136 optional bool field7 = 7 [default=false]; 138 optional bool field7 = 7 [default=false];
137 optional float field8 = 8; 139 optional float field8 = 8;
138 optional bool field9 = 9; 140 optional bool field9 = 9;
139 optional float field10 = 10; 141 optional float field10 = 10;
140 optional int64 field11 = 11; 142 optional int64 field11 = 11;
141 } 143 }
OLDNEW
« no previous file with comments | « third_party/protobuf/benchmarks/Makefile.am ('k') | third_party/protobuf/benchmarks/benchmark_messages_proto3.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698