Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveHiveEngine/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/0.9.1/ProtobufCS/benchmarks/google_speed.proto @ 7317

Last change on this file since 7317 was 3857, checked in by abeham, 15 years ago

#866

  • Added protobuf-csharp-port project source to ExtLibs
File size: 5.0 KB
Line 
1import "google/protobuf/csharp_options.proto";
2option (google.protobuf.csharp_file_options).namespace = "Google.ProtocolBuffers.ProtoBench";
3option (google.protobuf.csharp_file_options).umbrella_classname = "GoogleSpeedProtoFile";
4
5package benchmarks;
6
7option java_outer_classname = "GoogleSpeed";
8option optimize_for = SPEED;
9
10message SpeedMessage1 {
11  required string field1 = 1;
12  optional string field9 = 9;
13  optional string field18 = 18;
14  optional bool field80 = 80 [default=false];
15  optional bool field81 = 81 [default=true];
16  required int32 field2 = 2;
17  required int32 field3 = 3;
18  optional int32 field280 = 280;
19  optional int32 field6 = 6 [default=0];
20  optional int64 field22 = 22;
21  optional string field4 = 4;
22  repeated fixed64 field5 = 5;
23  optional bool field59 = 59 [default=false];
24  optional string field7 = 7;
25  optional int32 field16 = 16;
26  optional int32 field130 = 130 [default=0];
27  optional bool field12 = 12 [default=true];
28  optional bool field17 = 17 [default=true];
29  optional bool field13 = 13 [default=true];
30  optional bool field14 = 14 [default=true];
31  optional int32 field104 = 104 [default=0];
32  optional int32 field100 = 100 [default=0];
33  optional int32 field101 = 101 [default=0];
34  optional string field102 = 102;
35  optional string field103 = 103;
36  optional int32 field29 = 29 [default=0];
37  optional bool field30 = 30 [default=false];
38  optional int32 field60 = 60 [default=-1];
39  optional int32 field271 = 271 [default=-1];
40  optional int32 field272 = 272 [default=-1];
41  optional int32 field150 = 150;
42  optional int32 field23 = 23 [default=0];
43  optional bool field24 = 24 [default=false];
44  optional int32 field25 = 25 [default=0];
45  optional SpeedMessage1SubMessage field15 = 15;
46  optional bool field78 = 78;
47  optional int32 field67 = 67 [default=0];
48  optional int32 field68 = 68;
49  optional int32 field128 = 128 [default=0];
50  optional string field129 = 129 [default="xxxxxxxxxxxxxxxxxxxxx"];
51  optional int32 field131 = 131 [default=0];
52}
53
54message SpeedMessage1SubMessage {
55  optional int32 field1 = 1 [default=0];
56  optional int32 field2 = 2 [default=0];
57  optional int32 field3 = 3 [default=0];
58  optional string field15 = 15;
59  optional bool field12 = 12 [default=true];
60  optional int64 field13 = 13;
61  optional int64 field14 = 14;
62  optional int32 field16 = 16;
63  optional int32 field19 = 19 [default=2];
64  optional bool field20  = 20 [default=true];
65  optional bool field28 = 28 [default=true];
66  optional fixed64 field21 = 21;
67  optional int32 field22 = 22;
68  optional bool field23 = 23 [ default=false ];
69  optional bool field206 = 206 [default=false];
70  optional fixed32 field203 = 203;
71  optional int32 field204 = 204;
72  optional string field205 = 205;
73  optional uint64 field207 = 207;
74  optional uint64 field300 = 300;
75}
76
77message SpeedMessage2 {
78  optional string field1 = 1;
79  optional int64 field3 = 3;
80  optional int64 field4 = 4;
81  optional int64 field30 = 30;
82  optional bool field75  = 75 [default=false];
83  optional string field6 = 6;
84  optional bytes field2 = 2;
85  optional int32 field21 = 21 [default=0];
86  optional int32 field71 = 71;
87  optional float field25 = 25;
88  optional int32 field109 = 109 [default=0];
89  optional int32 field210 = 210 [default=0];
90  optional int32 field211 = 211 [default=0];
91  optional int32 field212 = 212 [default=0];
92  optional int32 field213 = 213 [default=0];
93  optional int32 field216 = 216 [default=0];
94  optional int32 field217 = 217 [default=0];
95  optional int32 field218 = 218 [default=0];
96  optional int32 field220 = 220 [default=0];
97  optional int32 field221 = 221 [default=0];
98  optional float field222 = 222 [default=0.0];
99  optional int32 field63 = 63;
100
101  repeated group Group1 = 10 {
102    required float field11 = 11;
103    optional float field26 = 26;
104    optional string field12 = 12;
105    optional string field13 = 13;
106    repeated string field14 = 14;
107    required uint64 field15 = 15;
108    optional int32 field5 = 5;
109    optional string field27 = 27;
110    optional int32 field28 = 28;
111    optional string field29 = 29;
112    optional string field16 = 16;
113    repeated string field22 = 22;
114    repeated int32 field73 = 73;
115    optional int32 field20 = 20 [default=0];
116    optional string field24 = 24;
117    optional SpeedMessage2GroupedMessage field31 = 31;
118  }
119  repeated string field128 = 128;
120  optional int64 field131 = 131;
121  repeated string field127 = 127;
122  optional int32 field129 = 129;
123  repeated int64 field130 = 130;
124  optional bool field205 = 205 [default=false];
125  optional bool field206 = 206 [default=false];
126}
127
128message SpeedMessage2GroupedMessage {
129  optional float field1 = 1;
130  optional float field2 = 2;
131  optional float field3 = 3 [default=0.0];
132  optional bool field4 = 4;
133  optional bool field5 = 5;
134  optional bool field6 = 6 [default=true];
135  optional bool field7 = 7 [default=false];
136  optional float field8 = 8;
137  optional bool field9 = 9;
138  optional float field10 = 10;
139  optional int64 field11 = 11;
140}
Note: See TracBrowser for help on using the repository browser.