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