1// Benchmark messages for proto3. 2 3syntax = "proto3"; 4 5package benchmarks.proto3; 6option java_package = "com.google.protobuf.benchmarks"; 7 8// This is the default, but we specify it here explicitly. 9option optimize_for = SPEED; 10 11message GoogleMessage1 { 12 string field1 = 1; 13 string field9 = 9; 14 string field18 = 18; 15 bool field80 = 80; 16 bool field81 = 81; 17 int32 field2 = 2; 18 int32 field3 = 3; 19 int32 field280 = 280; 20 int32 field6 = 6; 21 int64 field22 = 22; 22 string field4 = 4; 23 repeated fixed64 field5 = 5; 24 bool field59 = 59; 25 string field7 = 7; 26 int32 field16 = 16; 27 int32 field130 = 130; 28 bool field12 = 12; 29 bool field17 = 17; 30 bool field13 = 13; 31 bool field14 = 14; 32 int32 field104 = 104; 33 int32 field100 = 100; 34 int32 field101 = 101; 35 string field102 = 102; 36 string field103 = 103; 37 int32 field29 = 29; 38 bool field30 = 30; 39 int32 field60 = 60; 40 int32 field271 = 271; 41 int32 field272 = 272; 42 int32 field150 = 150; 43 int32 field23 = 23; 44 bool field24 = 24; 45 int32 field25 = 25; 46 GoogleMessage1SubMessage field15 = 15; 47 bool field78 = 78; 48 int32 field67 = 67; 49 int32 field68 = 68; 50 int32 field128 = 128; 51 string field129 = 129; 52 int32 field131 = 131; 53} 54 55message GoogleMessage1SubMessage { 56 int32 field1 = 1; 57 int32 field2 = 2; 58 int32 field3 = 3; 59 string field15 = 15; 60 bool field12 = 12; 61 int64 field13 = 13; 62 int64 field14 = 14; 63 int32 field16 = 16; 64 int32 field19 = 19; 65 bool field20 = 20; 66 bool field28 = 28; 67 fixed64 field21 = 21; 68 int32 field22 = 22; 69 bool field23 = 23; 70 bool field206 = 206; 71 fixed32 field203 = 203; 72 int32 field204 = 204; 73 string field205 = 205; 74 uint64 field207 = 207; 75 uint64 field300 = 300; 76} 77