blob: 22bf5f28a92be8076df0aeb8f88e96850c25313b [file] [log] [blame]
csharptest27bfcc52011-06-02 12:04:06 -05001// Generated by ProtoGen, Version=2.3.0.277, Culture=neutral, PublicKeyToken=17b3b1f090c3ea48. DO NOT EDIT!
2
3using pb = global::Google.ProtocolBuffers;
4using pbc = global::Google.ProtocolBuffers.Collections;
5using pbd = global::Google.ProtocolBuffers.Descriptors;
6using scg = global::System.Collections.Generic;
7namespace Google.ProtocolBuffers.TestProtos {
8
9 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
10 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
11 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
12 public static partial class UnitTestGoogleSpeedProtoFile {
13
14 #region Extension registration
15 public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
16 }
17 #endregion
18 #region Static variables
19 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage1__Descriptor;
20 internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Builder> internal__static_benchmarks_SpeedMessage1__FieldAccessorTable;
21 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor;
22 internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder> internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable;
23 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage2__Descriptor;
24 internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Builder> internal__static_benchmarks_SpeedMessage2__FieldAccessorTable;
25 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage2_Group1__Descriptor;
26 internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder> internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable;
27 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor;
28 internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder> internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable;
29 #endregion
30 #region Descriptor
31 public static pbd::FileDescriptor Descriptor {
32 get { return descriptor; }
33 }
34 private static pbd::FileDescriptor descriptor;
35
36 static UnitTestGoogleSpeedProtoFile() {
37 byte[] descriptorData = global::System.Convert.FromBase64String(
38 "Ch5nb29nbGUvdGVzdC9nb29nbGVfc3BlZWQucHJvdG8SCmJlbmNobWFya3Ma" +
39 "JGdvb2dsZS9wcm90b2J1Zi9jc2hhcnBfb3B0aW9ucy5wcm90byL4BgoNU3Bl" +
40 "ZWRNZXNzYWdlMRIOCgZmaWVsZDEYASACKAkSDgoGZmllbGQ5GAkgASgJEg8K" +
41 "B2ZpZWxkMTgYEiABKAkSFgoHZmllbGQ4MBhQIAEoCDoFZmFsc2USFQoHZmll" +
42 "bGQ4MRhRIAEoCDoEdHJ1ZRIOCgZmaWVsZDIYAiACKAUSDgoGZmllbGQzGAMg" +
43 "AigFEhEKCGZpZWxkMjgwGJgCIAEoBRIRCgZmaWVsZDYYBiABKAU6ATASDwoH" +
44 "ZmllbGQyMhgWIAEoAxIOCgZmaWVsZDQYBCABKAkSDgoGZmllbGQ1GAUgAygG" +
45 "EhYKB2ZpZWxkNTkYOyABKAg6BWZhbHNlEg4KBmZpZWxkNxgHIAEoCRIPCgdm" +
46 "aWVsZDE2GBAgASgFEhQKCGZpZWxkMTMwGIIBIAEoBToBMBIVCgdmaWVsZDEy" +
47 "GAwgASgIOgR0cnVlEhUKB2ZpZWxkMTcYESABKAg6BHRydWUSFQoHZmllbGQx" +
48 "MxgNIAEoCDoEdHJ1ZRIVCgdmaWVsZDE0GA4gASgIOgR0cnVlEhMKCGZpZWxk" +
49 "MTA0GGggASgFOgEwEhMKCGZpZWxkMTAwGGQgASgFOgEwEhMKCGZpZWxkMTAx" +
50 "GGUgASgFOgEwEhAKCGZpZWxkMTAyGGYgASgJEhAKCGZpZWxkMTAzGGcgASgJ" +
51 "EhIKB2ZpZWxkMjkYHSABKAU6ATASFgoHZmllbGQzMBgeIAEoCDoFZmFsc2US" +
52 "EwoHZmllbGQ2MBg8IAEoBToCLTESFQoIZmllbGQyNzEYjwIgASgFOgItMRIV" +
53 "CghmaWVsZDI3MhiQAiABKAU6Ai0xEhEKCGZpZWxkMTUwGJYBIAEoBRISCgdm" +
54 "aWVsZDIzGBcgASgFOgEwEhYKB2ZpZWxkMjQYGCABKAg6BWZhbHNlEhIKB2Zp" +
55 "ZWxkMjUYGSABKAU6ATASNAoHZmllbGQxNRgPIAEoCzIjLmJlbmNobWFya3Mu" +
56 "U3BlZWRNZXNzYWdlMVN1Yk1lc3NhZ2USDwoHZmllbGQ3OBhOIAEoCBISCgdm" +
57 "aWVsZDY3GEMgASgFOgEwEg8KB2ZpZWxkNjgYRCABKAUSFAoIZmllbGQxMjgY" +
58 "gAEgASgFOgEwEigKCGZpZWxkMTI5GIEBIAEoCToVeHh4eHh4eHh4eHh4eHh4" +
59 "eHh4eHh4EhQKCGZpZWxkMTMxGIMBIAEoBToBMCKiAwoXU3BlZWRNZXNzYWdl" +
60 "MVN1Yk1lc3NhZ2USEQoGZmllbGQxGAEgASgFOgEwEhEKBmZpZWxkMhgCIAEo" +
61 "BToBMBIRCgZmaWVsZDMYAyABKAU6ATASDwoHZmllbGQxNRgPIAEoCRIVCgdm" +
62 "aWVsZDEyGAwgASgIOgR0cnVlEg8KB2ZpZWxkMTMYDSABKAMSDwoHZmllbGQx" +
63 "NBgOIAEoAxIPCgdmaWVsZDE2GBAgASgFEhIKB2ZpZWxkMTkYEyABKAU6ATIS" +
64 "FQoHZmllbGQyMBgUIAEoCDoEdHJ1ZRIVCgdmaWVsZDI4GBwgASgIOgR0cnVl" +
65 "Eg8KB2ZpZWxkMjEYFSABKAYSDwoHZmllbGQyMhgWIAEoBRIWCgdmaWVsZDIz" +
66 "GBcgASgIOgVmYWxzZRIYCghmaWVsZDIwNhjOASABKAg6BWZhbHNlEhEKCGZp" +
67 "ZWxkMjAzGMsBIAEoBxIRCghmaWVsZDIwNBjMASABKAUSEQoIZmllbGQyMDUY" +
68 "zQEgASgJEhEKCGZpZWxkMjA3GM8BIAEoBBIRCghmaWVsZDMwMBisAiABKAQi" +
69 "ygcKDVNwZWVkTWVzc2FnZTISDgoGZmllbGQxGAEgASgJEg4KBmZpZWxkMxgD" +
70 "IAEoAxIOCgZmaWVsZDQYBCABKAMSDwoHZmllbGQzMBgeIAEoAxIWCgdmaWVs" +
71 "ZDc1GEsgASgIOgVmYWxzZRIOCgZmaWVsZDYYBiABKAkSDgoGZmllbGQyGAIg" +
72 "ASgMEhIKB2ZpZWxkMjEYFSABKAU6ATASDwoHZmllbGQ3MRhHIAEoBRIPCgdm" +
73 "aWVsZDI1GBkgASgCEhMKCGZpZWxkMTA5GG0gASgFOgEwEhQKCGZpZWxkMjEw" +
74 "GNIBIAEoBToBMBIUCghmaWVsZDIxMRjTASABKAU6ATASFAoIZmllbGQyMTIY" +
75 "1AEgASgFOgEwEhQKCGZpZWxkMjEzGNUBIAEoBToBMBIUCghmaWVsZDIxNhjY" +
76 "ASABKAU6ATASFAoIZmllbGQyMTcY2QEgASgFOgEwEhQKCGZpZWxkMjE4GNoB" +
77 "IAEoBToBMBIUCghmaWVsZDIyMBjcASABKAU6ATASFAoIZmllbGQyMjEY3QEg" +
78 "ASgFOgEwEhQKCGZpZWxkMjIyGN4BIAEoAjoBMBIPCgdmaWVsZDYzGD8gASgF" +
79 "EjAKBmdyb3VwMRgKIAMoCjIgLmJlbmNobWFya3MuU3BlZWRNZXNzYWdlMi5H" +
80 "cm91cDESEQoIZmllbGQxMjgYgAEgAygJEhEKCGZpZWxkMTMxGIMBIAEoAxIQ" +
81 "CghmaWVsZDEyNxh/IAMoCRIRCghmaWVsZDEyORiBASABKAUSEQoIZmllbGQx" +
82 "MzAYggEgAygDEhgKCGZpZWxkMjA1GM0BIAEoCDoFZmFsc2USGAoIZmllbGQy" +
83 "MDYYzgEgASgIOgVmYWxzZRrDAgoGR3JvdXAxEg8KB2ZpZWxkMTEYCyACKAIS" +
84 "DwoHZmllbGQyNhgaIAEoAhIPCgdmaWVsZDEyGAwgASgJEg8KB2ZpZWxkMTMY" +
85 "DSABKAkSDwoHZmllbGQxNBgOIAMoCRIPCgdmaWVsZDE1GA8gAigEEg4KBmZp" +
86 "ZWxkNRgFIAEoBRIPCgdmaWVsZDI3GBsgASgJEg8KB2ZpZWxkMjgYHCABKAUS" +
87 "DwoHZmllbGQyORgdIAEoCRIPCgdmaWVsZDE2GBAgASgJEg8KB2ZpZWxkMjIY" +
88 "FiADKAkSDwoHZmllbGQ3MxhJIAMoBRISCgdmaWVsZDIwGBQgASgFOgEwEg8K" +
89 "B2ZpZWxkMjQYGCABKAkSOAoHZmllbGQzMRgfIAEoCzInLmJlbmNobWFya3Mu" +
90 "U3BlZWRNZXNzYWdlMkdyb3VwZWRNZXNzYWdlIt8BChtTcGVlZE1lc3NhZ2Uy" +
91 "R3JvdXBlZE1lc3NhZ2USDgoGZmllbGQxGAEgASgCEg4KBmZpZWxkMhgCIAEo" +
92 "AhIRCgZmaWVsZDMYAyABKAI6ATASDgoGZmllbGQ0GAQgASgIEg4KBmZpZWxk" +
93 "NRgFIAEoCBIUCgZmaWVsZDYYBiABKAg6BHRydWUSFQoGZmllbGQ3GAcgASgI" +
94 "OgVmYWxzZRIOCgZmaWVsZDgYCCABKAISDgoGZmllbGQ5GAkgASgIEg8KB2Zp" +
95 "ZWxkMTAYCiABKAISDwoHZmllbGQxMRgLIAEoA0JTQgtHb29nbGVTcGVlZEgB" +
96 "wj5BCiFHb29nbGUuUHJvdG9jb2xCdWZmZXJzLlRlc3RQcm90b3MSHFVuaXRU" +
97 "ZXN0R29vZ2xlU3BlZWRQcm90b0ZpbGU=");
98 pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
99 descriptor = root;
100 internal__static_benchmarks_SpeedMessage1__Descriptor = Descriptor.MessageTypes[0];
101 internal__static_benchmarks_SpeedMessage1__FieldAccessorTable =
102 new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Builder>(internal__static_benchmarks_SpeedMessage1__Descriptor,
103 new string[] { "Field1", "Field9", "Field18", "Field80", "Field81", "Field2", "Field3", "Field280", "Field6", "Field22", "Field4", "Field5", "Field59", "Field7", "Field16", "Field130", "Field12", "Field17", "Field13", "Field14", "Field104", "Field100", "Field101", "Field102", "Field103", "Field29", "Field30", "Field60", "Field271", "Field272", "Field150", "Field23", "Field24", "Field25", "Field15", "Field78", "Field67", "Field68", "Field128", "Field129", "Field131", });
104 internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor = Descriptor.MessageTypes[1];
105 internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable =
106 new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder>(internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor,
107 new string[] { "Field1", "Field2", "Field3", "Field15", "Field12", "Field13", "Field14", "Field16", "Field19", "Field20", "Field28", "Field21", "Field22", "Field23", "Field206", "Field203", "Field204", "Field205", "Field207", "Field300", });
108 internal__static_benchmarks_SpeedMessage2__Descriptor = Descriptor.MessageTypes[2];
109 internal__static_benchmarks_SpeedMessage2__FieldAccessorTable =
110 new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Builder>(internal__static_benchmarks_SpeedMessage2__Descriptor,
111 new string[] { "Field1", "Field3", "Field4", "Field30", "Field75", "Field6", "Field2", "Field21", "Field71", "Field25", "Field109", "Field210", "Field211", "Field212", "Field213", "Field216", "Field217", "Field218", "Field220", "Field221", "Field222", "Field63", "Group1", "Field128", "Field131", "Field127", "Field129", "Field130", "Field205", "Field206", });
112 internal__static_benchmarks_SpeedMessage2_Group1__Descriptor = internal__static_benchmarks_SpeedMessage2__Descriptor.NestedTypes[0];
113 internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable =
114 new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder>(internal__static_benchmarks_SpeedMessage2_Group1__Descriptor,
115 new string[] { "Field11", "Field26", "Field12", "Field13", "Field14", "Field15", "Field5", "Field27", "Field28", "Field29", "Field16", "Field22", "Field73", "Field20", "Field24", "Field31", });
116 internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor = Descriptor.MessageTypes[3];
117 internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable =
118 new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder>(internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor,
119 new string[] { "Field1", "Field2", "Field3", "Field4", "Field5", "Field6", "Field7", "Field8", "Field9", "Field10", "Field11", });
120 pb::ExtensionRegistry registry = pb::ExtensionRegistry.CreateInstance();
121 RegisterAllExtensions(registry);
122 global::Google.ProtocolBuffers.DescriptorProtos.CSharpOptions.RegisterAllExtensions(registry);
123 return registry;
124 };
125 pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
126 new pbd::FileDescriptor[] {
127 global::Google.ProtocolBuffers.DescriptorProtos.CSharpOptions.Descriptor,
128 }, assigner);
129 }
130 #endregion
131
132 }
133 #region Messages
134 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
135 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
136 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
137 public sealed partial class SpeedMessage1 : pb::GeneratedMessage<SpeedMessage1, SpeedMessage1.Builder> {
138 private static readonly SpeedMessage1 defaultInstance = new Builder().BuildPartial();
139 public static SpeedMessage1 DefaultInstance {
140 get { return defaultInstance; }
141 }
142
143 public override SpeedMessage1 DefaultInstanceForType {
144 get { return defaultInstance; }
145 }
146
147 protected override SpeedMessage1 ThisMessage {
148 get { return this; }
149 }
150
151 public static pbd::MessageDescriptor Descriptor {
152 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__Descriptor; }
153 }
154
155 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1, SpeedMessage1.Builder> InternalFieldAccessors {
156 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__FieldAccessorTable; }
157 }
158
159 public const int Field1FieldNumber = 1;
160 private bool hasField1;
161 private string field1_ = "";
162 public bool HasField1 {
163 get { return hasField1; }
164 }
165 public string Field1 {
166 get { return field1_; }
167 }
168
169 public const int Field9FieldNumber = 9;
170 private bool hasField9;
171 private string field9_ = "";
172 public bool HasField9 {
173 get { return hasField9; }
174 }
175 public string Field9 {
176 get { return field9_; }
177 }
178
179 public const int Field18FieldNumber = 18;
180 private bool hasField18;
181 private string field18_ = "";
182 public bool HasField18 {
183 get { return hasField18; }
184 }
185 public string Field18 {
186 get { return field18_; }
187 }
188
189 public const int Field80FieldNumber = 80;
190 private bool hasField80;
191 private bool field80_ = false;
192 public bool HasField80 {
193 get { return hasField80; }
194 }
195 public bool Field80 {
196 get { return field80_; }
197 }
198
199 public const int Field81FieldNumber = 81;
200 private bool hasField81;
201 private bool field81_ = true;
202 public bool HasField81 {
203 get { return hasField81; }
204 }
205 public bool Field81 {
206 get { return field81_; }
207 }
208
209 public const int Field2FieldNumber = 2;
210 private bool hasField2;
211 private int field2_ = 0;
212 public bool HasField2 {
213 get { return hasField2; }
214 }
215 public int Field2 {
216 get { return field2_; }
217 }
218
219 public const int Field3FieldNumber = 3;
220 private bool hasField3;
221 private int field3_ = 0;
222 public bool HasField3 {
223 get { return hasField3; }
224 }
225 public int Field3 {
226 get { return field3_; }
227 }
228
229 public const int Field280FieldNumber = 280;
230 private bool hasField280;
231 private int field280_ = 0;
232 public bool HasField280 {
233 get { return hasField280; }
234 }
235 public int Field280 {
236 get { return field280_; }
237 }
238
239 public const int Field6FieldNumber = 6;
240 private bool hasField6;
241 private int field6_ = 0;
242 public bool HasField6 {
243 get { return hasField6; }
244 }
245 public int Field6 {
246 get { return field6_; }
247 }
248
249 public const int Field22FieldNumber = 22;
250 private bool hasField22;
251 private long field22_ = 0L;
252 public bool HasField22 {
253 get { return hasField22; }
254 }
255 public long Field22 {
256 get { return field22_; }
257 }
258
259 public const int Field4FieldNumber = 4;
260 private bool hasField4;
261 private string field4_ = "";
262 public bool HasField4 {
263 get { return hasField4; }
264 }
265 public string Field4 {
266 get { return field4_; }
267 }
268
269 public const int Field5FieldNumber = 5;
270 private pbc::PopsicleList<ulong> field5_ = new pbc::PopsicleList<ulong>();
271 [global::System.CLSCompliant(false)]
272 public scg::IList<ulong> Field5List {
273 get { return pbc::Lists.AsReadOnly(field5_); }
274 }
275 public int Field5Count {
276 get { return field5_.Count; }
277 }
278 [global::System.CLSCompliant(false)]
279 public ulong GetField5(int index) {
280 return field5_[index];
281 }
282
283 public const int Field59FieldNumber = 59;
284 private bool hasField59;
285 private bool field59_ = false;
286 public bool HasField59 {
287 get { return hasField59; }
288 }
289 public bool Field59 {
290 get { return field59_; }
291 }
292
293 public const int Field7FieldNumber = 7;
294 private bool hasField7;
295 private string field7_ = "";
296 public bool HasField7 {
297 get { return hasField7; }
298 }
299 public string Field7 {
300 get { return field7_; }
301 }
302
303 public const int Field16FieldNumber = 16;
304 private bool hasField16;
305 private int field16_ = 0;
306 public bool HasField16 {
307 get { return hasField16; }
308 }
309 public int Field16 {
310 get { return field16_; }
311 }
312
313 public const int Field130FieldNumber = 130;
314 private bool hasField130;
315 private int field130_ = 0;
316 public bool HasField130 {
317 get { return hasField130; }
318 }
319 public int Field130 {
320 get { return field130_; }
321 }
322
323 public const int Field12FieldNumber = 12;
324 private bool hasField12;
325 private bool field12_ = true;
326 public bool HasField12 {
327 get { return hasField12; }
328 }
329 public bool Field12 {
330 get { return field12_; }
331 }
332
333 public const int Field17FieldNumber = 17;
334 private bool hasField17;
335 private bool field17_ = true;
336 public bool HasField17 {
337 get { return hasField17; }
338 }
339 public bool Field17 {
340 get { return field17_; }
341 }
342
343 public const int Field13FieldNumber = 13;
344 private bool hasField13;
345 private bool field13_ = true;
346 public bool HasField13 {
347 get { return hasField13; }
348 }
349 public bool Field13 {
350 get { return field13_; }
351 }
352
353 public const int Field14FieldNumber = 14;
354 private bool hasField14;
355 private bool field14_ = true;
356 public bool HasField14 {
357 get { return hasField14; }
358 }
359 public bool Field14 {
360 get { return field14_; }
361 }
362
363 public const int Field104FieldNumber = 104;
364 private bool hasField104;
365 private int field104_ = 0;
366 public bool HasField104 {
367 get { return hasField104; }
368 }
369 public int Field104 {
370 get { return field104_; }
371 }
372
373 public const int Field100FieldNumber = 100;
374 private bool hasField100;
375 private int field100_ = 0;
376 public bool HasField100 {
377 get { return hasField100; }
378 }
379 public int Field100 {
380 get { return field100_; }
381 }
382
383 public const int Field101FieldNumber = 101;
384 private bool hasField101;
385 private int field101_ = 0;
386 public bool HasField101 {
387 get { return hasField101; }
388 }
389 public int Field101 {
390 get { return field101_; }
391 }
392
393 public const int Field102FieldNumber = 102;
394 private bool hasField102;
395 private string field102_ = "";
396 public bool HasField102 {
397 get { return hasField102; }
398 }
399 public string Field102 {
400 get { return field102_; }
401 }
402
403 public const int Field103FieldNumber = 103;
404 private bool hasField103;
405 private string field103_ = "";
406 public bool HasField103 {
407 get { return hasField103; }
408 }
409 public string Field103 {
410 get { return field103_; }
411 }
412
413 public const int Field29FieldNumber = 29;
414 private bool hasField29;
415 private int field29_ = 0;
416 public bool HasField29 {
417 get { return hasField29; }
418 }
419 public int Field29 {
420 get { return field29_; }
421 }
422
423 public const int Field30FieldNumber = 30;
424 private bool hasField30;
425 private bool field30_ = false;
426 public bool HasField30 {
427 get { return hasField30; }
428 }
429 public bool Field30 {
430 get { return field30_; }
431 }
432
433 public const int Field60FieldNumber = 60;
434 private bool hasField60;
435 private int field60_ = -1;
436 public bool HasField60 {
437 get { return hasField60; }
438 }
439 public int Field60 {
440 get { return field60_; }
441 }
442
443 public const int Field271FieldNumber = 271;
444 private bool hasField271;
445 private int field271_ = -1;
446 public bool HasField271 {
447 get { return hasField271; }
448 }
449 public int Field271 {
450 get { return field271_; }
451 }
452
453 public const int Field272FieldNumber = 272;
454 private bool hasField272;
455 private int field272_ = -1;
456 public bool HasField272 {
457 get { return hasField272; }
458 }
459 public int Field272 {
460 get { return field272_; }
461 }
462
463 public const int Field150FieldNumber = 150;
464 private bool hasField150;
465 private int field150_ = 0;
466 public bool HasField150 {
467 get { return hasField150; }
468 }
469 public int Field150 {
470 get { return field150_; }
471 }
472
473 public const int Field23FieldNumber = 23;
474 private bool hasField23;
475 private int field23_ = 0;
476 public bool HasField23 {
477 get { return hasField23; }
478 }
479 public int Field23 {
480 get { return field23_; }
481 }
482
483 public const int Field24FieldNumber = 24;
484 private bool hasField24;
485 private bool field24_ = false;
486 public bool HasField24 {
487 get { return hasField24; }
488 }
489 public bool Field24 {
490 get { return field24_; }
491 }
492
493 public const int Field25FieldNumber = 25;
494 private bool hasField25;
495 private int field25_ = 0;
496 public bool HasField25 {
497 get { return hasField25; }
498 }
499 public int Field25 {
500 get { return field25_; }
501 }
502
503 public const int Field15FieldNumber = 15;
504 private bool hasField15;
505 private global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
506 public bool HasField15 {
507 get { return hasField15; }
508 }
509 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
510 get { return field15_; }
511 }
512
513 public const int Field78FieldNumber = 78;
514 private bool hasField78;
515 private bool field78_ = false;
516 public bool HasField78 {
517 get { return hasField78; }
518 }
519 public bool Field78 {
520 get { return field78_; }
521 }
522
523 public const int Field67FieldNumber = 67;
524 private bool hasField67;
525 private int field67_ = 0;
526 public bool HasField67 {
527 get { return hasField67; }
528 }
529 public int Field67 {
530 get { return field67_; }
531 }
532
533 public const int Field68FieldNumber = 68;
534 private bool hasField68;
535 private int field68_ = 0;
536 public bool HasField68 {
537 get { return hasField68; }
538 }
539 public int Field68 {
540 get { return field68_; }
541 }
542
543 public const int Field128FieldNumber = 128;
544 private bool hasField128;
545 private int field128_ = 0;
546 public bool HasField128 {
547 get { return hasField128; }
548 }
549 public int Field128 {
550 get { return field128_; }
551 }
552
553 public const int Field129FieldNumber = 129;
554 private bool hasField129;
555 private string field129_ = "xxxxxxxxxxxxxxxxxxxxx";
556 public bool HasField129 {
557 get { return hasField129; }
558 }
559 public string Field129 {
560 get { return field129_; }
561 }
562
563 public const int Field131FieldNumber = 131;
564 private bool hasField131;
565 private int field131_ = 0;
566 public bool HasField131 {
567 get { return hasField131; }
568 }
569 public int Field131 {
570 get { return field131_; }
571 }
572
573 public override bool IsInitialized {
574 get {
575 if (!hasField1) return false;
576 if (!hasField2) return false;
577 if (!hasField3) return false;
578 return true;
579 }
580 }
581
csharptestffafdaa2011-06-03 12:58:14 -0500582 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -0500583 int size = SerializedSize;
584 if (HasField1) {
csharptest90922db2011-06-03 11:57:47 -0500585 output.WriteString(1, "field1", Field1);
csharptest27bfcc52011-06-02 12:04:06 -0500586 }
587 if (HasField2) {
csharptest90922db2011-06-03 11:57:47 -0500588 output.WriteInt32(2, "field2", Field2);
csharptest27bfcc52011-06-02 12:04:06 -0500589 }
590 if (HasField3) {
csharptest90922db2011-06-03 11:57:47 -0500591 output.WriteInt32(3, "field3", Field3);
csharptest27bfcc52011-06-02 12:04:06 -0500592 }
593 if (HasField4) {
csharptest90922db2011-06-03 11:57:47 -0500594 output.WriteString(4, "field4", Field4);
csharptest27bfcc52011-06-02 12:04:06 -0500595 }
596 if (field5_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -0500597 output.WriteArray(pbd::FieldType.Fixed64, 5, "field5", field5_);
csharptest27bfcc52011-06-02 12:04:06 -0500598 }
599 if (HasField6) {
csharptest90922db2011-06-03 11:57:47 -0500600 output.WriteInt32(6, "field6", Field6);
csharptest27bfcc52011-06-02 12:04:06 -0500601 }
602 if (HasField7) {
csharptest90922db2011-06-03 11:57:47 -0500603 output.WriteString(7, "field7", Field7);
csharptest27bfcc52011-06-02 12:04:06 -0500604 }
605 if (HasField9) {
csharptest90922db2011-06-03 11:57:47 -0500606 output.WriteString(9, "field9", Field9);
csharptest27bfcc52011-06-02 12:04:06 -0500607 }
608 if (HasField12) {
csharptest90922db2011-06-03 11:57:47 -0500609 output.WriteBool(12, "field12", Field12);
csharptest27bfcc52011-06-02 12:04:06 -0500610 }
611 if (HasField13) {
csharptest90922db2011-06-03 11:57:47 -0500612 output.WriteBool(13, "field13", Field13);
csharptest27bfcc52011-06-02 12:04:06 -0500613 }
614 if (HasField14) {
csharptest90922db2011-06-03 11:57:47 -0500615 output.WriteBool(14, "field14", Field14);
csharptest27bfcc52011-06-02 12:04:06 -0500616 }
617 if (HasField15) {
csharptest90922db2011-06-03 11:57:47 -0500618 output.WriteMessage(15, "field15", Field15);
csharptest27bfcc52011-06-02 12:04:06 -0500619 }
620 if (HasField16) {
csharptest90922db2011-06-03 11:57:47 -0500621 output.WriteInt32(16, "field16", Field16);
csharptest27bfcc52011-06-02 12:04:06 -0500622 }
623 if (HasField17) {
csharptest90922db2011-06-03 11:57:47 -0500624 output.WriteBool(17, "field17", Field17);
csharptest27bfcc52011-06-02 12:04:06 -0500625 }
626 if (HasField18) {
csharptest90922db2011-06-03 11:57:47 -0500627 output.WriteString(18, "field18", Field18);
csharptest27bfcc52011-06-02 12:04:06 -0500628 }
629 if (HasField22) {
csharptest90922db2011-06-03 11:57:47 -0500630 output.WriteInt64(22, "field22", Field22);
csharptest27bfcc52011-06-02 12:04:06 -0500631 }
632 if (HasField23) {
csharptest90922db2011-06-03 11:57:47 -0500633 output.WriteInt32(23, "field23", Field23);
csharptest27bfcc52011-06-02 12:04:06 -0500634 }
635 if (HasField24) {
csharptest90922db2011-06-03 11:57:47 -0500636 output.WriteBool(24, "field24", Field24);
csharptest27bfcc52011-06-02 12:04:06 -0500637 }
638 if (HasField25) {
csharptest90922db2011-06-03 11:57:47 -0500639 output.WriteInt32(25, "field25", Field25);
csharptest27bfcc52011-06-02 12:04:06 -0500640 }
641 if (HasField29) {
csharptest90922db2011-06-03 11:57:47 -0500642 output.WriteInt32(29, "field29", Field29);
csharptest27bfcc52011-06-02 12:04:06 -0500643 }
644 if (HasField30) {
csharptest90922db2011-06-03 11:57:47 -0500645 output.WriteBool(30, "field30", Field30);
csharptest27bfcc52011-06-02 12:04:06 -0500646 }
647 if (HasField59) {
csharptest90922db2011-06-03 11:57:47 -0500648 output.WriteBool(59, "field59", Field59);
csharptest27bfcc52011-06-02 12:04:06 -0500649 }
650 if (HasField60) {
csharptest90922db2011-06-03 11:57:47 -0500651 output.WriteInt32(60, "field60", Field60);
csharptest27bfcc52011-06-02 12:04:06 -0500652 }
653 if (HasField67) {
csharptest90922db2011-06-03 11:57:47 -0500654 output.WriteInt32(67, "field67", Field67);
csharptest27bfcc52011-06-02 12:04:06 -0500655 }
656 if (HasField68) {
csharptest90922db2011-06-03 11:57:47 -0500657 output.WriteInt32(68, "field68", Field68);
csharptest27bfcc52011-06-02 12:04:06 -0500658 }
659 if (HasField78) {
csharptest90922db2011-06-03 11:57:47 -0500660 output.WriteBool(78, "field78", Field78);
csharptest27bfcc52011-06-02 12:04:06 -0500661 }
662 if (HasField80) {
csharptest90922db2011-06-03 11:57:47 -0500663 output.WriteBool(80, "field80", Field80);
csharptest27bfcc52011-06-02 12:04:06 -0500664 }
665 if (HasField81) {
csharptest90922db2011-06-03 11:57:47 -0500666 output.WriteBool(81, "field81", Field81);
csharptest27bfcc52011-06-02 12:04:06 -0500667 }
668 if (HasField100) {
csharptest90922db2011-06-03 11:57:47 -0500669 output.WriteInt32(100, "field100", Field100);
csharptest27bfcc52011-06-02 12:04:06 -0500670 }
671 if (HasField101) {
csharptest90922db2011-06-03 11:57:47 -0500672 output.WriteInt32(101, "field101", Field101);
csharptest27bfcc52011-06-02 12:04:06 -0500673 }
674 if (HasField102) {
csharptest90922db2011-06-03 11:57:47 -0500675 output.WriteString(102, "field102", Field102);
csharptest27bfcc52011-06-02 12:04:06 -0500676 }
677 if (HasField103) {
csharptest90922db2011-06-03 11:57:47 -0500678 output.WriteString(103, "field103", Field103);
csharptest27bfcc52011-06-02 12:04:06 -0500679 }
680 if (HasField104) {
csharptest90922db2011-06-03 11:57:47 -0500681 output.WriteInt32(104, "field104", Field104);
csharptest27bfcc52011-06-02 12:04:06 -0500682 }
683 if (HasField128) {
csharptest90922db2011-06-03 11:57:47 -0500684 output.WriteInt32(128, "field128", Field128);
csharptest27bfcc52011-06-02 12:04:06 -0500685 }
686 if (HasField129) {
csharptest90922db2011-06-03 11:57:47 -0500687 output.WriteString(129, "field129", Field129);
csharptest27bfcc52011-06-02 12:04:06 -0500688 }
689 if (HasField130) {
csharptest90922db2011-06-03 11:57:47 -0500690 output.WriteInt32(130, "field130", Field130);
csharptest27bfcc52011-06-02 12:04:06 -0500691 }
692 if (HasField131) {
csharptest90922db2011-06-03 11:57:47 -0500693 output.WriteInt32(131, "field131", Field131);
csharptest27bfcc52011-06-02 12:04:06 -0500694 }
695 if (HasField150) {
csharptest90922db2011-06-03 11:57:47 -0500696 output.WriteInt32(150, "field150", Field150);
csharptest27bfcc52011-06-02 12:04:06 -0500697 }
698 if (HasField271) {
csharptest90922db2011-06-03 11:57:47 -0500699 output.WriteInt32(271, "field271", Field271);
csharptest27bfcc52011-06-02 12:04:06 -0500700 }
701 if (HasField272) {
csharptest90922db2011-06-03 11:57:47 -0500702 output.WriteInt32(272, "field272", Field272);
csharptest27bfcc52011-06-02 12:04:06 -0500703 }
704 if (HasField280) {
csharptest90922db2011-06-03 11:57:47 -0500705 output.WriteInt32(280, "field280", Field280);
csharptest27bfcc52011-06-02 12:04:06 -0500706 }
707 UnknownFields.WriteTo(output);
708 }
709
710 private int memoizedSerializedSize = -1;
711 public override int SerializedSize {
712 get {
713 int size = memoizedSerializedSize;
714 if (size != -1) return size;
715
716 size = 0;
717 if (HasField1) {
718 size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
719 }
720 if (HasField9) {
721 size += pb::CodedOutputStream.ComputeStringSize(9, Field9);
722 }
723 if (HasField18) {
724 size += pb::CodedOutputStream.ComputeStringSize(18, Field18);
725 }
726 if (HasField80) {
727 size += pb::CodedOutputStream.ComputeBoolSize(80, Field80);
728 }
729 if (HasField81) {
730 size += pb::CodedOutputStream.ComputeBoolSize(81, Field81);
731 }
732 if (HasField2) {
733 size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
734 }
735 if (HasField3) {
736 size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
737 }
738 if (HasField280) {
739 size += pb::CodedOutputStream.ComputeInt32Size(280, Field280);
740 }
741 if (HasField6) {
742 size += pb::CodedOutputStream.ComputeInt32Size(6, Field6);
743 }
744 if (HasField22) {
745 size += pb::CodedOutputStream.ComputeInt64Size(22, Field22);
746 }
747 if (HasField4) {
748 size += pb::CodedOutputStream.ComputeStringSize(4, Field4);
749 }
750 {
751 int dataSize = 0;
752 dataSize = 8 * field5_.Count;
753 size += dataSize;
754 size += 1 * field5_.Count;
755 }
756 if (HasField59) {
757 size += pb::CodedOutputStream.ComputeBoolSize(59, Field59);
758 }
759 if (HasField7) {
760 size += pb::CodedOutputStream.ComputeStringSize(7, Field7);
761 }
762 if (HasField16) {
763 size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
764 }
765 if (HasField130) {
766 size += pb::CodedOutputStream.ComputeInt32Size(130, Field130);
767 }
768 if (HasField12) {
769 size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
770 }
771 if (HasField17) {
772 size += pb::CodedOutputStream.ComputeBoolSize(17, Field17);
773 }
774 if (HasField13) {
775 size += pb::CodedOutputStream.ComputeBoolSize(13, Field13);
776 }
777 if (HasField14) {
778 size += pb::CodedOutputStream.ComputeBoolSize(14, Field14);
779 }
780 if (HasField104) {
781 size += pb::CodedOutputStream.ComputeInt32Size(104, Field104);
782 }
783 if (HasField100) {
784 size += pb::CodedOutputStream.ComputeInt32Size(100, Field100);
785 }
786 if (HasField101) {
787 size += pb::CodedOutputStream.ComputeInt32Size(101, Field101);
788 }
789 if (HasField102) {
790 size += pb::CodedOutputStream.ComputeStringSize(102, Field102);
791 }
792 if (HasField103) {
793 size += pb::CodedOutputStream.ComputeStringSize(103, Field103);
794 }
795 if (HasField29) {
796 size += pb::CodedOutputStream.ComputeInt32Size(29, Field29);
797 }
798 if (HasField30) {
799 size += pb::CodedOutputStream.ComputeBoolSize(30, Field30);
800 }
801 if (HasField60) {
802 size += pb::CodedOutputStream.ComputeInt32Size(60, Field60);
803 }
804 if (HasField271) {
805 size += pb::CodedOutputStream.ComputeInt32Size(271, Field271);
806 }
807 if (HasField272) {
808 size += pb::CodedOutputStream.ComputeInt32Size(272, Field272);
809 }
810 if (HasField150) {
811 size += pb::CodedOutputStream.ComputeInt32Size(150, Field150);
812 }
813 if (HasField23) {
814 size += pb::CodedOutputStream.ComputeInt32Size(23, Field23);
815 }
816 if (HasField24) {
817 size += pb::CodedOutputStream.ComputeBoolSize(24, Field24);
818 }
819 if (HasField25) {
820 size += pb::CodedOutputStream.ComputeInt32Size(25, Field25);
821 }
822 if (HasField15) {
823 size += pb::CodedOutputStream.ComputeMessageSize(15, Field15);
824 }
825 if (HasField78) {
826 size += pb::CodedOutputStream.ComputeBoolSize(78, Field78);
827 }
828 if (HasField67) {
829 size += pb::CodedOutputStream.ComputeInt32Size(67, Field67);
830 }
831 if (HasField68) {
832 size += pb::CodedOutputStream.ComputeInt32Size(68, Field68);
833 }
834 if (HasField128) {
835 size += pb::CodedOutputStream.ComputeInt32Size(128, Field128);
836 }
837 if (HasField129) {
838 size += pb::CodedOutputStream.ComputeStringSize(129, Field129);
839 }
840 if (HasField131) {
841 size += pb::CodedOutputStream.ComputeInt32Size(131, Field131);
842 }
843 size += UnknownFields.SerializedSize;
844 memoizedSerializedSize = size;
845 return size;
846 }
847 }
848
849 public static SpeedMessage1 ParseFrom(pb::ByteString data) {
850 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
851 }
852 public static SpeedMessage1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
853 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
854 }
855 public static SpeedMessage1 ParseFrom(byte[] data) {
856 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
857 }
858 public static SpeedMessage1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
859 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
860 }
861 public static SpeedMessage1 ParseFrom(global::System.IO.Stream input) {
862 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
863 }
864 public static SpeedMessage1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
865 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
866 }
867 public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input) {
868 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
869 }
870 public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
871 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
872 }
csharptest17699c22011-06-03 21:57:15 -0500873 public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -0500874 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
875 }
csharptest17699c22011-06-03 21:57:15 -0500876 public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -0500877 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
878 }
879 public static Builder CreateBuilder() { return new Builder(); }
880 public override Builder ToBuilder() { return CreateBuilder(this); }
881 public override Builder CreateBuilderForType() { return new Builder(); }
882 public static Builder CreateBuilder(SpeedMessage1 prototype) {
883 return (Builder) new Builder().MergeFrom(prototype);
884 }
885
886 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
887 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
888 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
889 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1, Builder> {
890 protected override Builder ThisBuilder {
891 get { return this; }
892 }
893 public Builder() {}
894
895 SpeedMessage1 result = new SpeedMessage1();
896
897 protected override SpeedMessage1 MessageBeingBuilt {
898 get { return result; }
899 }
900
901 public override Builder Clear() {
902 result = new SpeedMessage1();
903 return this;
904 }
905
906 public override Builder Clone() {
907 return new Builder().MergeFrom(result);
908 }
909
910 public override pbd::MessageDescriptor DescriptorForType {
911 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Descriptor; }
912 }
913
914 public override SpeedMessage1 DefaultInstanceForType {
915 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance; }
916 }
917
918 public override SpeedMessage1 BuildPartial() {
919 if (result == null) {
920 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
921 }
922 result.field5_.MakeReadOnly();
923 SpeedMessage1 returnMe = result;
924 result = null;
925 return returnMe;
926 }
927
928 public override Builder MergeFrom(pb::IMessage other) {
929 if (other is SpeedMessage1) {
930 return MergeFrom((SpeedMessage1) other);
931 } else {
932 base.MergeFrom(other);
933 return this;
934 }
935 }
936
937 public override Builder MergeFrom(SpeedMessage1 other) {
938 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance) return this;
939 if (other.HasField1) {
940 Field1 = other.Field1;
941 }
942 if (other.HasField9) {
943 Field9 = other.Field9;
944 }
945 if (other.HasField18) {
946 Field18 = other.Field18;
947 }
948 if (other.HasField80) {
949 Field80 = other.Field80;
950 }
951 if (other.HasField81) {
952 Field81 = other.Field81;
953 }
954 if (other.HasField2) {
955 Field2 = other.Field2;
956 }
957 if (other.HasField3) {
958 Field3 = other.Field3;
959 }
960 if (other.HasField280) {
961 Field280 = other.Field280;
962 }
963 if (other.HasField6) {
964 Field6 = other.Field6;
965 }
966 if (other.HasField22) {
967 Field22 = other.Field22;
968 }
969 if (other.HasField4) {
970 Field4 = other.Field4;
971 }
972 if (other.field5_.Count != 0) {
973 base.AddRange(other.field5_, result.field5_);
974 }
975 if (other.HasField59) {
976 Field59 = other.Field59;
977 }
978 if (other.HasField7) {
979 Field7 = other.Field7;
980 }
981 if (other.HasField16) {
982 Field16 = other.Field16;
983 }
984 if (other.HasField130) {
985 Field130 = other.Field130;
986 }
987 if (other.HasField12) {
988 Field12 = other.Field12;
989 }
990 if (other.HasField17) {
991 Field17 = other.Field17;
992 }
993 if (other.HasField13) {
994 Field13 = other.Field13;
995 }
996 if (other.HasField14) {
997 Field14 = other.Field14;
998 }
999 if (other.HasField104) {
1000 Field104 = other.Field104;
1001 }
1002 if (other.HasField100) {
1003 Field100 = other.Field100;
1004 }
1005 if (other.HasField101) {
1006 Field101 = other.Field101;
1007 }
1008 if (other.HasField102) {
1009 Field102 = other.Field102;
1010 }
1011 if (other.HasField103) {
1012 Field103 = other.Field103;
1013 }
1014 if (other.HasField29) {
1015 Field29 = other.Field29;
1016 }
1017 if (other.HasField30) {
1018 Field30 = other.Field30;
1019 }
1020 if (other.HasField60) {
1021 Field60 = other.Field60;
1022 }
1023 if (other.HasField271) {
1024 Field271 = other.Field271;
1025 }
1026 if (other.HasField272) {
1027 Field272 = other.Field272;
1028 }
1029 if (other.HasField150) {
1030 Field150 = other.Field150;
1031 }
1032 if (other.HasField23) {
1033 Field23 = other.Field23;
1034 }
1035 if (other.HasField24) {
1036 Field24 = other.Field24;
1037 }
1038 if (other.HasField25) {
1039 Field25 = other.Field25;
1040 }
1041 if (other.HasField15) {
1042 MergeField15(other.Field15);
1043 }
1044 if (other.HasField78) {
1045 Field78 = other.Field78;
1046 }
1047 if (other.HasField67) {
1048 Field67 = other.Field67;
1049 }
1050 if (other.HasField68) {
1051 Field68 = other.Field68;
1052 }
1053 if (other.HasField128) {
1054 Field128 = other.Field128;
1055 }
1056 if (other.HasField129) {
1057 Field129 = other.Field129;
1058 }
1059 if (other.HasField131) {
1060 Field131 = other.Field131;
1061 }
1062 this.MergeUnknownFields(other.UnknownFields);
1063 return this;
1064 }
1065
csharptest17699c22011-06-03 21:57:15 -05001066 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05001067 return MergeFrom(input, pb::ExtensionRegistry.Empty);
1068 }
1069
csharptest17699c22011-06-03 21:57:15 -05001070 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05001071 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05001072 uint tag;
1073 string field_name;
1074 while (input.ReadTag(out tag, out field_name)) {
csharptest27bfcc52011-06-02 12:04:06 -05001075 switch (tag) {
1076 case 0: {
csharptest99284412011-06-03 14:51:06 -05001077 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05001078 }
1079 default: {
1080 if (pb::WireFormat.IsEndGroupTag(tag)) {
1081 if (unknownFields != null) {
1082 this.UnknownFields = unknownFields.Build();
1083 }
1084 return this;
1085 }
1086 if (unknownFields == null) {
1087 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
1088 }
csharptestd2af9e92011-06-03 21:35:02 -05001089 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05001090 break;
1091 }
1092 case 10: {
csharptestd2af9e92011-06-03 21:35:02 -05001093 result.hasField1 |= input.ReadString(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05001094 break;
1095 }
1096 case 16: {
csharptestd2af9e92011-06-03 21:35:02 -05001097 result.hasField2 |= input.ReadInt32(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05001098 break;
1099 }
1100 case 24: {
csharptestd2af9e92011-06-03 21:35:02 -05001101 result.hasField3 |= input.ReadInt32(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05001102 break;
1103 }
1104 case 34: {
csharptestd2af9e92011-06-03 21:35:02 -05001105 result.hasField4 |= input.ReadString(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05001106 break;
1107 }
csharptest6da31702011-06-04 12:52:57 -05001108 case 42:
csharptest27bfcc52011-06-02 12:04:06 -05001109 case 41: {
csharptestd2af9e92011-06-03 21:35:02 -05001110 input.ReadPrimitiveArray(pbd::FieldType.Fixed64, tag, field_name, result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05001111 break;
1112 }
1113 case 48: {
csharptestd2af9e92011-06-03 21:35:02 -05001114 result.hasField6 |= input.ReadInt32(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05001115 break;
1116 }
1117 case 58: {
csharptestd2af9e92011-06-03 21:35:02 -05001118 result.hasField7 |= input.ReadString(ref result.field7_);
csharptest27bfcc52011-06-02 12:04:06 -05001119 break;
1120 }
1121 case 74: {
csharptestd2af9e92011-06-03 21:35:02 -05001122 result.hasField9 |= input.ReadString(ref result.field9_);
csharptest27bfcc52011-06-02 12:04:06 -05001123 break;
1124 }
1125 case 96: {
csharptestd2af9e92011-06-03 21:35:02 -05001126 result.hasField12 |= input.ReadBool(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05001127 break;
1128 }
1129 case 104: {
csharptestd2af9e92011-06-03 21:35:02 -05001130 result.hasField13 |= input.ReadBool(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05001131 break;
1132 }
1133 case 112: {
csharptestd2af9e92011-06-03 21:35:02 -05001134 result.hasField14 |= input.ReadBool(ref result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05001135 break;
1136 }
1137 case 122: {
1138 global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder();
1139 if (HasField15) {
1140 subBuilder.MergeFrom(Field15);
1141 }
1142 input.ReadMessage(subBuilder, extensionRegistry);
1143 Field15 = subBuilder.BuildPartial();
1144 break;
1145 }
1146 case 128: {
csharptestd2af9e92011-06-03 21:35:02 -05001147 result.hasField16 |= input.ReadInt32(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05001148 break;
1149 }
1150 case 136: {
csharptestd2af9e92011-06-03 21:35:02 -05001151 result.hasField17 |= input.ReadBool(ref result.field17_);
csharptest27bfcc52011-06-02 12:04:06 -05001152 break;
1153 }
1154 case 146: {
csharptestd2af9e92011-06-03 21:35:02 -05001155 result.hasField18 |= input.ReadString(ref result.field18_);
csharptest27bfcc52011-06-02 12:04:06 -05001156 break;
1157 }
1158 case 176: {
csharptestd2af9e92011-06-03 21:35:02 -05001159 result.hasField22 |= input.ReadInt64(ref result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05001160 break;
1161 }
1162 case 184: {
csharptestd2af9e92011-06-03 21:35:02 -05001163 result.hasField23 |= input.ReadInt32(ref result.field23_);
csharptest27bfcc52011-06-02 12:04:06 -05001164 break;
1165 }
1166 case 192: {
csharptestd2af9e92011-06-03 21:35:02 -05001167 result.hasField24 |= input.ReadBool(ref result.field24_);
csharptest27bfcc52011-06-02 12:04:06 -05001168 break;
1169 }
1170 case 200: {
csharptestd2af9e92011-06-03 21:35:02 -05001171 result.hasField25 |= input.ReadInt32(ref result.field25_);
csharptest27bfcc52011-06-02 12:04:06 -05001172 break;
1173 }
1174 case 232: {
csharptestd2af9e92011-06-03 21:35:02 -05001175 result.hasField29 |= input.ReadInt32(ref result.field29_);
csharptest27bfcc52011-06-02 12:04:06 -05001176 break;
1177 }
1178 case 240: {
csharptestd2af9e92011-06-03 21:35:02 -05001179 result.hasField30 |= input.ReadBool(ref result.field30_);
csharptest27bfcc52011-06-02 12:04:06 -05001180 break;
1181 }
1182 case 472: {
csharptestd2af9e92011-06-03 21:35:02 -05001183 result.hasField59 |= input.ReadBool(ref result.field59_);
csharptest27bfcc52011-06-02 12:04:06 -05001184 break;
1185 }
1186 case 480: {
csharptestd2af9e92011-06-03 21:35:02 -05001187 result.hasField60 |= input.ReadInt32(ref result.field60_);
csharptest27bfcc52011-06-02 12:04:06 -05001188 break;
1189 }
1190 case 536: {
csharptestd2af9e92011-06-03 21:35:02 -05001191 result.hasField67 |= input.ReadInt32(ref result.field67_);
csharptest27bfcc52011-06-02 12:04:06 -05001192 break;
1193 }
1194 case 544: {
csharptestd2af9e92011-06-03 21:35:02 -05001195 result.hasField68 |= input.ReadInt32(ref result.field68_);
csharptest27bfcc52011-06-02 12:04:06 -05001196 break;
1197 }
1198 case 624: {
csharptestd2af9e92011-06-03 21:35:02 -05001199 result.hasField78 |= input.ReadBool(ref result.field78_);
csharptest27bfcc52011-06-02 12:04:06 -05001200 break;
1201 }
1202 case 640: {
csharptestd2af9e92011-06-03 21:35:02 -05001203 result.hasField80 |= input.ReadBool(ref result.field80_);
csharptest27bfcc52011-06-02 12:04:06 -05001204 break;
1205 }
1206 case 648: {
csharptestd2af9e92011-06-03 21:35:02 -05001207 result.hasField81 |= input.ReadBool(ref result.field81_);
csharptest27bfcc52011-06-02 12:04:06 -05001208 break;
1209 }
1210 case 800: {
csharptestd2af9e92011-06-03 21:35:02 -05001211 result.hasField100 |= input.ReadInt32(ref result.field100_);
csharptest27bfcc52011-06-02 12:04:06 -05001212 break;
1213 }
1214 case 808: {
csharptestd2af9e92011-06-03 21:35:02 -05001215 result.hasField101 |= input.ReadInt32(ref result.field101_);
csharptest27bfcc52011-06-02 12:04:06 -05001216 break;
1217 }
1218 case 818: {
csharptestd2af9e92011-06-03 21:35:02 -05001219 result.hasField102 |= input.ReadString(ref result.field102_);
csharptest27bfcc52011-06-02 12:04:06 -05001220 break;
1221 }
1222 case 826: {
csharptestd2af9e92011-06-03 21:35:02 -05001223 result.hasField103 |= input.ReadString(ref result.field103_);
csharptest27bfcc52011-06-02 12:04:06 -05001224 break;
1225 }
1226 case 832: {
csharptestd2af9e92011-06-03 21:35:02 -05001227 result.hasField104 |= input.ReadInt32(ref result.field104_);
csharptest27bfcc52011-06-02 12:04:06 -05001228 break;
1229 }
1230 case 1024: {
csharptestd2af9e92011-06-03 21:35:02 -05001231 result.hasField128 |= input.ReadInt32(ref result.field128_);
csharptest27bfcc52011-06-02 12:04:06 -05001232 break;
1233 }
1234 case 1034: {
csharptestd2af9e92011-06-03 21:35:02 -05001235 result.hasField129 |= input.ReadString(ref result.field129_);
csharptest27bfcc52011-06-02 12:04:06 -05001236 break;
1237 }
1238 case 1040: {
csharptestd2af9e92011-06-03 21:35:02 -05001239 result.hasField130 |= input.ReadInt32(ref result.field130_);
csharptest27bfcc52011-06-02 12:04:06 -05001240 break;
1241 }
1242 case 1048: {
csharptestd2af9e92011-06-03 21:35:02 -05001243 result.hasField131 |= input.ReadInt32(ref result.field131_);
csharptest27bfcc52011-06-02 12:04:06 -05001244 break;
1245 }
1246 case 1200: {
csharptestd2af9e92011-06-03 21:35:02 -05001247 result.hasField150 |= input.ReadInt32(ref result.field150_);
csharptest27bfcc52011-06-02 12:04:06 -05001248 break;
1249 }
1250 case 2168: {
csharptestd2af9e92011-06-03 21:35:02 -05001251 result.hasField271 |= input.ReadInt32(ref result.field271_);
csharptest27bfcc52011-06-02 12:04:06 -05001252 break;
1253 }
1254 case 2176: {
csharptestd2af9e92011-06-03 21:35:02 -05001255 result.hasField272 |= input.ReadInt32(ref result.field272_);
csharptest27bfcc52011-06-02 12:04:06 -05001256 break;
1257 }
1258 case 2240: {
csharptestd2af9e92011-06-03 21:35:02 -05001259 result.hasField280 |= input.ReadInt32(ref result.field280_);
csharptest27bfcc52011-06-02 12:04:06 -05001260 break;
1261 }
1262 }
1263 }
csharptest123e5342011-06-03 14:15:21 -05001264
1265 if (unknownFields != null) {
1266 this.UnknownFields = unknownFields.Build();
1267 }
1268 return this;
csharptest27bfcc52011-06-02 12:04:06 -05001269 }
1270
1271
1272 public bool HasField1 {
1273 get { return result.HasField1; }
1274 }
1275 public string Field1 {
1276 get { return result.Field1; }
1277 set { SetField1(value); }
1278 }
1279 public Builder SetField1(string value) {
1280 pb::ThrowHelper.ThrowIfNull(value, "value");
1281 result.hasField1 = true;
1282 result.field1_ = value;
1283 return this;
1284 }
1285 public Builder ClearField1() {
1286 result.hasField1 = false;
1287 result.field1_ = "";
1288 return this;
1289 }
1290
1291 public bool HasField9 {
1292 get { return result.HasField9; }
1293 }
1294 public string Field9 {
1295 get { return result.Field9; }
1296 set { SetField9(value); }
1297 }
1298 public Builder SetField9(string value) {
1299 pb::ThrowHelper.ThrowIfNull(value, "value");
1300 result.hasField9 = true;
1301 result.field9_ = value;
1302 return this;
1303 }
1304 public Builder ClearField9() {
1305 result.hasField9 = false;
1306 result.field9_ = "";
1307 return this;
1308 }
1309
1310 public bool HasField18 {
1311 get { return result.HasField18; }
1312 }
1313 public string Field18 {
1314 get { return result.Field18; }
1315 set { SetField18(value); }
1316 }
1317 public Builder SetField18(string value) {
1318 pb::ThrowHelper.ThrowIfNull(value, "value");
1319 result.hasField18 = true;
1320 result.field18_ = value;
1321 return this;
1322 }
1323 public Builder ClearField18() {
1324 result.hasField18 = false;
1325 result.field18_ = "";
1326 return this;
1327 }
1328
1329 public bool HasField80 {
1330 get { return result.HasField80; }
1331 }
1332 public bool Field80 {
1333 get { return result.Field80; }
1334 set { SetField80(value); }
1335 }
1336 public Builder SetField80(bool value) {
1337 result.hasField80 = true;
1338 result.field80_ = value;
1339 return this;
1340 }
1341 public Builder ClearField80() {
1342 result.hasField80 = false;
1343 result.field80_ = false;
1344 return this;
1345 }
1346
1347 public bool HasField81 {
1348 get { return result.HasField81; }
1349 }
1350 public bool Field81 {
1351 get { return result.Field81; }
1352 set { SetField81(value); }
1353 }
1354 public Builder SetField81(bool value) {
1355 result.hasField81 = true;
1356 result.field81_ = value;
1357 return this;
1358 }
1359 public Builder ClearField81() {
1360 result.hasField81 = false;
1361 result.field81_ = true;
1362 return this;
1363 }
1364
1365 public bool HasField2 {
1366 get { return result.HasField2; }
1367 }
1368 public int Field2 {
1369 get { return result.Field2; }
1370 set { SetField2(value); }
1371 }
1372 public Builder SetField2(int value) {
1373 result.hasField2 = true;
1374 result.field2_ = value;
1375 return this;
1376 }
1377 public Builder ClearField2() {
1378 result.hasField2 = false;
1379 result.field2_ = 0;
1380 return this;
1381 }
1382
1383 public bool HasField3 {
1384 get { return result.HasField3; }
1385 }
1386 public int Field3 {
1387 get { return result.Field3; }
1388 set { SetField3(value); }
1389 }
1390 public Builder SetField3(int value) {
1391 result.hasField3 = true;
1392 result.field3_ = value;
1393 return this;
1394 }
1395 public Builder ClearField3() {
1396 result.hasField3 = false;
1397 result.field3_ = 0;
1398 return this;
1399 }
1400
1401 public bool HasField280 {
1402 get { return result.HasField280; }
1403 }
1404 public int Field280 {
1405 get { return result.Field280; }
1406 set { SetField280(value); }
1407 }
1408 public Builder SetField280(int value) {
1409 result.hasField280 = true;
1410 result.field280_ = value;
1411 return this;
1412 }
1413 public Builder ClearField280() {
1414 result.hasField280 = false;
1415 result.field280_ = 0;
1416 return this;
1417 }
1418
1419 public bool HasField6 {
1420 get { return result.HasField6; }
1421 }
1422 public int Field6 {
1423 get { return result.Field6; }
1424 set { SetField6(value); }
1425 }
1426 public Builder SetField6(int value) {
1427 result.hasField6 = true;
1428 result.field6_ = value;
1429 return this;
1430 }
1431 public Builder ClearField6() {
1432 result.hasField6 = false;
1433 result.field6_ = 0;
1434 return this;
1435 }
1436
1437 public bool HasField22 {
1438 get { return result.HasField22; }
1439 }
1440 public long Field22 {
1441 get { return result.Field22; }
1442 set { SetField22(value); }
1443 }
1444 public Builder SetField22(long value) {
1445 result.hasField22 = true;
1446 result.field22_ = value;
1447 return this;
1448 }
1449 public Builder ClearField22() {
1450 result.hasField22 = false;
1451 result.field22_ = 0L;
1452 return this;
1453 }
1454
1455 public bool HasField4 {
1456 get { return result.HasField4; }
1457 }
1458 public string Field4 {
1459 get { return result.Field4; }
1460 set { SetField4(value); }
1461 }
1462 public Builder SetField4(string value) {
1463 pb::ThrowHelper.ThrowIfNull(value, "value");
1464 result.hasField4 = true;
1465 result.field4_ = value;
1466 return this;
1467 }
1468 public Builder ClearField4() {
1469 result.hasField4 = false;
1470 result.field4_ = "";
1471 return this;
1472 }
1473
1474 [global::System.CLSCompliant(false)]
1475 public pbc::IPopsicleList<ulong> Field5List {
1476 get { return result.field5_; }
1477 }
1478 public int Field5Count {
1479 get { return result.Field5Count; }
1480 }
1481 [global::System.CLSCompliant(false)]
1482 public ulong GetField5(int index) {
1483 return result.GetField5(index);
1484 }
1485 [global::System.CLSCompliant(false)]
1486 public Builder SetField5(int index, ulong value) {
1487 result.field5_[index] = value;
1488 return this;
1489 }
1490 [global::System.CLSCompliant(false)]
1491 public Builder AddField5(ulong value) {
1492 result.field5_.Add(value);
1493 return this;
1494 }
1495 [global::System.CLSCompliant(false)]
1496 public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
1497 base.AddRange(values, result.field5_);
1498 return this;
1499 }
1500 public Builder ClearField5() {
1501 result.field5_.Clear();
1502 return this;
1503 }
1504
1505 public bool HasField59 {
1506 get { return result.HasField59; }
1507 }
1508 public bool Field59 {
1509 get { return result.Field59; }
1510 set { SetField59(value); }
1511 }
1512 public Builder SetField59(bool value) {
1513 result.hasField59 = true;
1514 result.field59_ = value;
1515 return this;
1516 }
1517 public Builder ClearField59() {
1518 result.hasField59 = false;
1519 result.field59_ = false;
1520 return this;
1521 }
1522
1523 public bool HasField7 {
1524 get { return result.HasField7; }
1525 }
1526 public string Field7 {
1527 get { return result.Field7; }
1528 set { SetField7(value); }
1529 }
1530 public Builder SetField7(string value) {
1531 pb::ThrowHelper.ThrowIfNull(value, "value");
1532 result.hasField7 = true;
1533 result.field7_ = value;
1534 return this;
1535 }
1536 public Builder ClearField7() {
1537 result.hasField7 = false;
1538 result.field7_ = "";
1539 return this;
1540 }
1541
1542 public bool HasField16 {
1543 get { return result.HasField16; }
1544 }
1545 public int Field16 {
1546 get { return result.Field16; }
1547 set { SetField16(value); }
1548 }
1549 public Builder SetField16(int value) {
1550 result.hasField16 = true;
1551 result.field16_ = value;
1552 return this;
1553 }
1554 public Builder ClearField16() {
1555 result.hasField16 = false;
1556 result.field16_ = 0;
1557 return this;
1558 }
1559
1560 public bool HasField130 {
1561 get { return result.HasField130; }
1562 }
1563 public int Field130 {
1564 get { return result.Field130; }
1565 set { SetField130(value); }
1566 }
1567 public Builder SetField130(int value) {
1568 result.hasField130 = true;
1569 result.field130_ = value;
1570 return this;
1571 }
1572 public Builder ClearField130() {
1573 result.hasField130 = false;
1574 result.field130_ = 0;
1575 return this;
1576 }
1577
1578 public bool HasField12 {
1579 get { return result.HasField12; }
1580 }
1581 public bool Field12 {
1582 get { return result.Field12; }
1583 set { SetField12(value); }
1584 }
1585 public Builder SetField12(bool value) {
1586 result.hasField12 = true;
1587 result.field12_ = value;
1588 return this;
1589 }
1590 public Builder ClearField12() {
1591 result.hasField12 = false;
1592 result.field12_ = true;
1593 return this;
1594 }
1595
1596 public bool HasField17 {
1597 get { return result.HasField17; }
1598 }
1599 public bool Field17 {
1600 get { return result.Field17; }
1601 set { SetField17(value); }
1602 }
1603 public Builder SetField17(bool value) {
1604 result.hasField17 = true;
1605 result.field17_ = value;
1606 return this;
1607 }
1608 public Builder ClearField17() {
1609 result.hasField17 = false;
1610 result.field17_ = true;
1611 return this;
1612 }
1613
1614 public bool HasField13 {
1615 get { return result.HasField13; }
1616 }
1617 public bool Field13 {
1618 get { return result.Field13; }
1619 set { SetField13(value); }
1620 }
1621 public Builder SetField13(bool value) {
1622 result.hasField13 = true;
1623 result.field13_ = value;
1624 return this;
1625 }
1626 public Builder ClearField13() {
1627 result.hasField13 = false;
1628 result.field13_ = true;
1629 return this;
1630 }
1631
1632 public bool HasField14 {
1633 get { return result.HasField14; }
1634 }
1635 public bool Field14 {
1636 get { return result.Field14; }
1637 set { SetField14(value); }
1638 }
1639 public Builder SetField14(bool value) {
1640 result.hasField14 = true;
1641 result.field14_ = value;
1642 return this;
1643 }
1644 public Builder ClearField14() {
1645 result.hasField14 = false;
1646 result.field14_ = true;
1647 return this;
1648 }
1649
1650 public bool HasField104 {
1651 get { return result.HasField104; }
1652 }
1653 public int Field104 {
1654 get { return result.Field104; }
1655 set { SetField104(value); }
1656 }
1657 public Builder SetField104(int value) {
1658 result.hasField104 = true;
1659 result.field104_ = value;
1660 return this;
1661 }
1662 public Builder ClearField104() {
1663 result.hasField104 = false;
1664 result.field104_ = 0;
1665 return this;
1666 }
1667
1668 public bool HasField100 {
1669 get { return result.HasField100; }
1670 }
1671 public int Field100 {
1672 get { return result.Field100; }
1673 set { SetField100(value); }
1674 }
1675 public Builder SetField100(int value) {
1676 result.hasField100 = true;
1677 result.field100_ = value;
1678 return this;
1679 }
1680 public Builder ClearField100() {
1681 result.hasField100 = false;
1682 result.field100_ = 0;
1683 return this;
1684 }
1685
1686 public bool HasField101 {
1687 get { return result.HasField101; }
1688 }
1689 public int Field101 {
1690 get { return result.Field101; }
1691 set { SetField101(value); }
1692 }
1693 public Builder SetField101(int value) {
1694 result.hasField101 = true;
1695 result.field101_ = value;
1696 return this;
1697 }
1698 public Builder ClearField101() {
1699 result.hasField101 = false;
1700 result.field101_ = 0;
1701 return this;
1702 }
1703
1704 public bool HasField102 {
1705 get { return result.HasField102; }
1706 }
1707 public string Field102 {
1708 get { return result.Field102; }
1709 set { SetField102(value); }
1710 }
1711 public Builder SetField102(string value) {
1712 pb::ThrowHelper.ThrowIfNull(value, "value");
1713 result.hasField102 = true;
1714 result.field102_ = value;
1715 return this;
1716 }
1717 public Builder ClearField102() {
1718 result.hasField102 = false;
1719 result.field102_ = "";
1720 return this;
1721 }
1722
1723 public bool HasField103 {
1724 get { return result.HasField103; }
1725 }
1726 public string Field103 {
1727 get { return result.Field103; }
1728 set { SetField103(value); }
1729 }
1730 public Builder SetField103(string value) {
1731 pb::ThrowHelper.ThrowIfNull(value, "value");
1732 result.hasField103 = true;
1733 result.field103_ = value;
1734 return this;
1735 }
1736 public Builder ClearField103() {
1737 result.hasField103 = false;
1738 result.field103_ = "";
1739 return this;
1740 }
1741
1742 public bool HasField29 {
1743 get { return result.HasField29; }
1744 }
1745 public int Field29 {
1746 get { return result.Field29; }
1747 set { SetField29(value); }
1748 }
1749 public Builder SetField29(int value) {
1750 result.hasField29 = true;
1751 result.field29_ = value;
1752 return this;
1753 }
1754 public Builder ClearField29() {
1755 result.hasField29 = false;
1756 result.field29_ = 0;
1757 return this;
1758 }
1759
1760 public bool HasField30 {
1761 get { return result.HasField30; }
1762 }
1763 public bool Field30 {
1764 get { return result.Field30; }
1765 set { SetField30(value); }
1766 }
1767 public Builder SetField30(bool value) {
1768 result.hasField30 = true;
1769 result.field30_ = value;
1770 return this;
1771 }
1772 public Builder ClearField30() {
1773 result.hasField30 = false;
1774 result.field30_ = false;
1775 return this;
1776 }
1777
1778 public bool HasField60 {
1779 get { return result.HasField60; }
1780 }
1781 public int Field60 {
1782 get { return result.Field60; }
1783 set { SetField60(value); }
1784 }
1785 public Builder SetField60(int value) {
1786 result.hasField60 = true;
1787 result.field60_ = value;
1788 return this;
1789 }
1790 public Builder ClearField60() {
1791 result.hasField60 = false;
1792 result.field60_ = -1;
1793 return this;
1794 }
1795
1796 public bool HasField271 {
1797 get { return result.HasField271; }
1798 }
1799 public int Field271 {
1800 get { return result.Field271; }
1801 set { SetField271(value); }
1802 }
1803 public Builder SetField271(int value) {
1804 result.hasField271 = true;
1805 result.field271_ = value;
1806 return this;
1807 }
1808 public Builder ClearField271() {
1809 result.hasField271 = false;
1810 result.field271_ = -1;
1811 return this;
1812 }
1813
1814 public bool HasField272 {
1815 get { return result.HasField272; }
1816 }
1817 public int Field272 {
1818 get { return result.Field272; }
1819 set { SetField272(value); }
1820 }
1821 public Builder SetField272(int value) {
1822 result.hasField272 = true;
1823 result.field272_ = value;
1824 return this;
1825 }
1826 public Builder ClearField272() {
1827 result.hasField272 = false;
1828 result.field272_ = -1;
1829 return this;
1830 }
1831
1832 public bool HasField150 {
1833 get { return result.HasField150; }
1834 }
1835 public int Field150 {
1836 get { return result.Field150; }
1837 set { SetField150(value); }
1838 }
1839 public Builder SetField150(int value) {
1840 result.hasField150 = true;
1841 result.field150_ = value;
1842 return this;
1843 }
1844 public Builder ClearField150() {
1845 result.hasField150 = false;
1846 result.field150_ = 0;
1847 return this;
1848 }
1849
1850 public bool HasField23 {
1851 get { return result.HasField23; }
1852 }
1853 public int Field23 {
1854 get { return result.Field23; }
1855 set { SetField23(value); }
1856 }
1857 public Builder SetField23(int value) {
1858 result.hasField23 = true;
1859 result.field23_ = value;
1860 return this;
1861 }
1862 public Builder ClearField23() {
1863 result.hasField23 = false;
1864 result.field23_ = 0;
1865 return this;
1866 }
1867
1868 public bool HasField24 {
1869 get { return result.HasField24; }
1870 }
1871 public bool Field24 {
1872 get { return result.Field24; }
1873 set { SetField24(value); }
1874 }
1875 public Builder SetField24(bool value) {
1876 result.hasField24 = true;
1877 result.field24_ = value;
1878 return this;
1879 }
1880 public Builder ClearField24() {
1881 result.hasField24 = false;
1882 result.field24_ = false;
1883 return this;
1884 }
1885
1886 public bool HasField25 {
1887 get { return result.HasField25; }
1888 }
1889 public int Field25 {
1890 get { return result.Field25; }
1891 set { SetField25(value); }
1892 }
1893 public Builder SetField25(int value) {
1894 result.hasField25 = true;
1895 result.field25_ = value;
1896 return this;
1897 }
1898 public Builder ClearField25() {
1899 result.hasField25 = false;
1900 result.field25_ = 0;
1901 return this;
1902 }
1903
1904 public bool HasField15 {
1905 get { return result.HasField15; }
1906 }
1907 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
1908 get { return result.Field15; }
1909 set { SetField15(value); }
1910 }
1911 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1912 pb::ThrowHelper.ThrowIfNull(value, "value");
1913 result.hasField15 = true;
1914 result.field15_ = value;
1915 return this;
1916 }
1917 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder builderForValue) {
1918 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
1919 result.hasField15 = true;
1920 result.field15_ = builderForValue.Build();
1921 return this;
1922 }
1923 public Builder MergeField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1924 pb::ThrowHelper.ThrowIfNull(value, "value");
1925 if (result.HasField15 &&
1926 result.field15_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) {
1927 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder(result.field15_).MergeFrom(value).BuildPartial();
1928 } else {
1929 result.field15_ = value;
1930 }
1931 result.hasField15 = true;
1932 return this;
1933 }
1934 public Builder ClearField15() {
1935 result.hasField15 = false;
1936 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
1937 return this;
1938 }
1939
1940 public bool HasField78 {
1941 get { return result.HasField78; }
1942 }
1943 public bool Field78 {
1944 get { return result.Field78; }
1945 set { SetField78(value); }
1946 }
1947 public Builder SetField78(bool value) {
1948 result.hasField78 = true;
1949 result.field78_ = value;
1950 return this;
1951 }
1952 public Builder ClearField78() {
1953 result.hasField78 = false;
1954 result.field78_ = false;
1955 return this;
1956 }
1957
1958 public bool HasField67 {
1959 get { return result.HasField67; }
1960 }
1961 public int Field67 {
1962 get { return result.Field67; }
1963 set { SetField67(value); }
1964 }
1965 public Builder SetField67(int value) {
1966 result.hasField67 = true;
1967 result.field67_ = value;
1968 return this;
1969 }
1970 public Builder ClearField67() {
1971 result.hasField67 = false;
1972 result.field67_ = 0;
1973 return this;
1974 }
1975
1976 public bool HasField68 {
1977 get { return result.HasField68; }
1978 }
1979 public int Field68 {
1980 get { return result.Field68; }
1981 set { SetField68(value); }
1982 }
1983 public Builder SetField68(int value) {
1984 result.hasField68 = true;
1985 result.field68_ = value;
1986 return this;
1987 }
1988 public Builder ClearField68() {
1989 result.hasField68 = false;
1990 result.field68_ = 0;
1991 return this;
1992 }
1993
1994 public bool HasField128 {
1995 get { return result.HasField128; }
1996 }
1997 public int Field128 {
1998 get { return result.Field128; }
1999 set { SetField128(value); }
2000 }
2001 public Builder SetField128(int value) {
2002 result.hasField128 = true;
2003 result.field128_ = value;
2004 return this;
2005 }
2006 public Builder ClearField128() {
2007 result.hasField128 = false;
2008 result.field128_ = 0;
2009 return this;
2010 }
2011
2012 public bool HasField129 {
2013 get { return result.HasField129; }
2014 }
2015 public string Field129 {
2016 get { return result.Field129; }
2017 set { SetField129(value); }
2018 }
2019 public Builder SetField129(string value) {
2020 pb::ThrowHelper.ThrowIfNull(value, "value");
2021 result.hasField129 = true;
2022 result.field129_ = value;
2023 return this;
2024 }
2025 public Builder ClearField129() {
2026 result.hasField129 = false;
2027 result.field129_ = "xxxxxxxxxxxxxxxxxxxxx";
2028 return this;
2029 }
2030
2031 public bool HasField131 {
2032 get { return result.HasField131; }
2033 }
2034 public int Field131 {
2035 get { return result.Field131; }
2036 set { SetField131(value); }
2037 }
2038 public Builder SetField131(int value) {
2039 result.hasField131 = true;
2040 result.field131_ = value;
2041 return this;
2042 }
2043 public Builder ClearField131() {
2044 result.hasField131 = false;
2045 result.field131_ = 0;
2046 return this;
2047 }
2048 }
2049 static SpeedMessage1() {
2050 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
2051 }
2052 }
2053
2054 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2055 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2056 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2057 public sealed partial class SpeedMessage1SubMessage : pb::GeneratedMessage<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> {
2058 private static readonly SpeedMessage1SubMessage defaultInstance = new Builder().BuildPartial();
2059 public static SpeedMessage1SubMessage DefaultInstance {
2060 get { return defaultInstance; }
2061 }
2062
2063 public override SpeedMessage1SubMessage DefaultInstanceForType {
2064 get { return defaultInstance; }
2065 }
2066
2067 protected override SpeedMessage1SubMessage ThisMessage {
2068 get { return this; }
2069 }
2070
2071 public static pbd::MessageDescriptor Descriptor {
2072 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor; }
2073 }
2074
2075 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> InternalFieldAccessors {
2076 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable; }
2077 }
2078
2079 public const int Field1FieldNumber = 1;
2080 private bool hasField1;
2081 private int field1_ = 0;
2082 public bool HasField1 {
2083 get { return hasField1; }
2084 }
2085 public int Field1 {
2086 get { return field1_; }
2087 }
2088
2089 public const int Field2FieldNumber = 2;
2090 private bool hasField2;
2091 private int field2_ = 0;
2092 public bool HasField2 {
2093 get { return hasField2; }
2094 }
2095 public int Field2 {
2096 get { return field2_; }
2097 }
2098
2099 public const int Field3FieldNumber = 3;
2100 private bool hasField3;
2101 private int field3_ = 0;
2102 public bool HasField3 {
2103 get { return hasField3; }
2104 }
2105 public int Field3 {
2106 get { return field3_; }
2107 }
2108
2109 public const int Field15FieldNumber = 15;
2110 private bool hasField15;
2111 private string field15_ = "";
2112 public bool HasField15 {
2113 get { return hasField15; }
2114 }
2115 public string Field15 {
2116 get { return field15_; }
2117 }
2118
2119 public const int Field12FieldNumber = 12;
2120 private bool hasField12;
2121 private bool field12_ = true;
2122 public bool HasField12 {
2123 get { return hasField12; }
2124 }
2125 public bool Field12 {
2126 get { return field12_; }
2127 }
2128
2129 public const int Field13FieldNumber = 13;
2130 private bool hasField13;
2131 private long field13_ = 0L;
2132 public bool HasField13 {
2133 get { return hasField13; }
2134 }
2135 public long Field13 {
2136 get { return field13_; }
2137 }
2138
2139 public const int Field14FieldNumber = 14;
2140 private bool hasField14;
2141 private long field14_ = 0L;
2142 public bool HasField14 {
2143 get { return hasField14; }
2144 }
2145 public long Field14 {
2146 get { return field14_; }
2147 }
2148
2149 public const int Field16FieldNumber = 16;
2150 private bool hasField16;
2151 private int field16_ = 0;
2152 public bool HasField16 {
2153 get { return hasField16; }
2154 }
2155 public int Field16 {
2156 get { return field16_; }
2157 }
2158
2159 public const int Field19FieldNumber = 19;
2160 private bool hasField19;
2161 private int field19_ = 2;
2162 public bool HasField19 {
2163 get { return hasField19; }
2164 }
2165 public int Field19 {
2166 get { return field19_; }
2167 }
2168
2169 public const int Field20FieldNumber = 20;
2170 private bool hasField20;
2171 private bool field20_ = true;
2172 public bool HasField20 {
2173 get { return hasField20; }
2174 }
2175 public bool Field20 {
2176 get { return field20_; }
2177 }
2178
2179 public const int Field28FieldNumber = 28;
2180 private bool hasField28;
2181 private bool field28_ = true;
2182 public bool HasField28 {
2183 get { return hasField28; }
2184 }
2185 public bool Field28 {
2186 get { return field28_; }
2187 }
2188
2189 public const int Field21FieldNumber = 21;
2190 private bool hasField21;
2191 private ulong field21_ = 0;
2192 public bool HasField21 {
2193 get { return hasField21; }
2194 }
2195 [global::System.CLSCompliant(false)]
2196 public ulong Field21 {
2197 get { return field21_; }
2198 }
2199
2200 public const int Field22FieldNumber = 22;
2201 private bool hasField22;
2202 private int field22_ = 0;
2203 public bool HasField22 {
2204 get { return hasField22; }
2205 }
2206 public int Field22 {
2207 get { return field22_; }
2208 }
2209
2210 public const int Field23FieldNumber = 23;
2211 private bool hasField23;
2212 private bool field23_ = false;
2213 public bool HasField23 {
2214 get { return hasField23; }
2215 }
2216 public bool Field23 {
2217 get { return field23_; }
2218 }
2219
2220 public const int Field206FieldNumber = 206;
2221 private bool hasField206;
2222 private bool field206_ = false;
2223 public bool HasField206 {
2224 get { return hasField206; }
2225 }
2226 public bool Field206 {
2227 get { return field206_; }
2228 }
2229
2230 public const int Field203FieldNumber = 203;
2231 private bool hasField203;
2232 private uint field203_ = 0;
2233 public bool HasField203 {
2234 get { return hasField203; }
2235 }
2236 [global::System.CLSCompliant(false)]
2237 public uint Field203 {
2238 get { return field203_; }
2239 }
2240
2241 public const int Field204FieldNumber = 204;
2242 private bool hasField204;
2243 private int field204_ = 0;
2244 public bool HasField204 {
2245 get { return hasField204; }
2246 }
2247 public int Field204 {
2248 get { return field204_; }
2249 }
2250
2251 public const int Field205FieldNumber = 205;
2252 private bool hasField205;
2253 private string field205_ = "";
2254 public bool HasField205 {
2255 get { return hasField205; }
2256 }
2257 public string Field205 {
2258 get { return field205_; }
2259 }
2260
2261 public const int Field207FieldNumber = 207;
2262 private bool hasField207;
2263 private ulong field207_ = 0UL;
2264 public bool HasField207 {
2265 get { return hasField207; }
2266 }
2267 [global::System.CLSCompliant(false)]
2268 public ulong Field207 {
2269 get { return field207_; }
2270 }
2271
2272 public const int Field300FieldNumber = 300;
2273 private bool hasField300;
2274 private ulong field300_ = 0UL;
2275 public bool HasField300 {
2276 get { return hasField300; }
2277 }
2278 [global::System.CLSCompliant(false)]
2279 public ulong Field300 {
2280 get { return field300_; }
2281 }
2282
2283 public override bool IsInitialized {
2284 get {
2285 return true;
2286 }
2287 }
2288
csharptestffafdaa2011-06-03 12:58:14 -05002289 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05002290 int size = SerializedSize;
2291 if (HasField1) {
csharptest90922db2011-06-03 11:57:47 -05002292 output.WriteInt32(1, "field1", Field1);
csharptest27bfcc52011-06-02 12:04:06 -05002293 }
2294 if (HasField2) {
csharptest90922db2011-06-03 11:57:47 -05002295 output.WriteInt32(2, "field2", Field2);
csharptest27bfcc52011-06-02 12:04:06 -05002296 }
2297 if (HasField3) {
csharptest90922db2011-06-03 11:57:47 -05002298 output.WriteInt32(3, "field3", Field3);
csharptest27bfcc52011-06-02 12:04:06 -05002299 }
2300 if (HasField12) {
csharptest90922db2011-06-03 11:57:47 -05002301 output.WriteBool(12, "field12", Field12);
csharptest27bfcc52011-06-02 12:04:06 -05002302 }
2303 if (HasField13) {
csharptest90922db2011-06-03 11:57:47 -05002304 output.WriteInt64(13, "field13", Field13);
csharptest27bfcc52011-06-02 12:04:06 -05002305 }
2306 if (HasField14) {
csharptest90922db2011-06-03 11:57:47 -05002307 output.WriteInt64(14, "field14", Field14);
csharptest27bfcc52011-06-02 12:04:06 -05002308 }
2309 if (HasField15) {
csharptest90922db2011-06-03 11:57:47 -05002310 output.WriteString(15, "field15", Field15);
csharptest27bfcc52011-06-02 12:04:06 -05002311 }
2312 if (HasField16) {
csharptest90922db2011-06-03 11:57:47 -05002313 output.WriteInt32(16, "field16", Field16);
csharptest27bfcc52011-06-02 12:04:06 -05002314 }
2315 if (HasField19) {
csharptest90922db2011-06-03 11:57:47 -05002316 output.WriteInt32(19, "field19", Field19);
csharptest27bfcc52011-06-02 12:04:06 -05002317 }
2318 if (HasField20) {
csharptest90922db2011-06-03 11:57:47 -05002319 output.WriteBool(20, "field20", Field20);
csharptest27bfcc52011-06-02 12:04:06 -05002320 }
2321 if (HasField21) {
csharptest90922db2011-06-03 11:57:47 -05002322 output.WriteFixed64(21, "field21", Field21);
csharptest27bfcc52011-06-02 12:04:06 -05002323 }
2324 if (HasField22) {
csharptest90922db2011-06-03 11:57:47 -05002325 output.WriteInt32(22, "field22", Field22);
csharptest27bfcc52011-06-02 12:04:06 -05002326 }
2327 if (HasField23) {
csharptest90922db2011-06-03 11:57:47 -05002328 output.WriteBool(23, "field23", Field23);
csharptest27bfcc52011-06-02 12:04:06 -05002329 }
2330 if (HasField28) {
csharptest90922db2011-06-03 11:57:47 -05002331 output.WriteBool(28, "field28", Field28);
csharptest27bfcc52011-06-02 12:04:06 -05002332 }
2333 if (HasField203) {
csharptest90922db2011-06-03 11:57:47 -05002334 output.WriteFixed32(203, "field203", Field203);
csharptest27bfcc52011-06-02 12:04:06 -05002335 }
2336 if (HasField204) {
csharptest90922db2011-06-03 11:57:47 -05002337 output.WriteInt32(204, "field204", Field204);
csharptest27bfcc52011-06-02 12:04:06 -05002338 }
2339 if (HasField205) {
csharptest90922db2011-06-03 11:57:47 -05002340 output.WriteString(205, "field205", Field205);
csharptest27bfcc52011-06-02 12:04:06 -05002341 }
2342 if (HasField206) {
csharptest90922db2011-06-03 11:57:47 -05002343 output.WriteBool(206, "field206", Field206);
csharptest27bfcc52011-06-02 12:04:06 -05002344 }
2345 if (HasField207) {
csharptest90922db2011-06-03 11:57:47 -05002346 output.WriteUInt64(207, "field207", Field207);
csharptest27bfcc52011-06-02 12:04:06 -05002347 }
2348 if (HasField300) {
csharptest90922db2011-06-03 11:57:47 -05002349 output.WriteUInt64(300, "field300", Field300);
csharptest27bfcc52011-06-02 12:04:06 -05002350 }
2351 UnknownFields.WriteTo(output);
2352 }
2353
2354 private int memoizedSerializedSize = -1;
2355 public override int SerializedSize {
2356 get {
2357 int size = memoizedSerializedSize;
2358 if (size != -1) return size;
2359
2360 size = 0;
2361 if (HasField1) {
2362 size += pb::CodedOutputStream.ComputeInt32Size(1, Field1);
2363 }
2364 if (HasField2) {
2365 size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
2366 }
2367 if (HasField3) {
2368 size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
2369 }
2370 if (HasField15) {
2371 size += pb::CodedOutputStream.ComputeStringSize(15, Field15);
2372 }
2373 if (HasField12) {
2374 size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
2375 }
2376 if (HasField13) {
2377 size += pb::CodedOutputStream.ComputeInt64Size(13, Field13);
2378 }
2379 if (HasField14) {
2380 size += pb::CodedOutputStream.ComputeInt64Size(14, Field14);
2381 }
2382 if (HasField16) {
2383 size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
2384 }
2385 if (HasField19) {
2386 size += pb::CodedOutputStream.ComputeInt32Size(19, Field19);
2387 }
2388 if (HasField20) {
2389 size += pb::CodedOutputStream.ComputeBoolSize(20, Field20);
2390 }
2391 if (HasField28) {
2392 size += pb::CodedOutputStream.ComputeBoolSize(28, Field28);
2393 }
2394 if (HasField21) {
2395 size += pb::CodedOutputStream.ComputeFixed64Size(21, Field21);
2396 }
2397 if (HasField22) {
2398 size += pb::CodedOutputStream.ComputeInt32Size(22, Field22);
2399 }
2400 if (HasField23) {
2401 size += pb::CodedOutputStream.ComputeBoolSize(23, Field23);
2402 }
2403 if (HasField206) {
2404 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
2405 }
2406 if (HasField203) {
2407 size += pb::CodedOutputStream.ComputeFixed32Size(203, Field203);
2408 }
2409 if (HasField204) {
2410 size += pb::CodedOutputStream.ComputeInt32Size(204, Field204);
2411 }
2412 if (HasField205) {
2413 size += pb::CodedOutputStream.ComputeStringSize(205, Field205);
2414 }
2415 if (HasField207) {
2416 size += pb::CodedOutputStream.ComputeUInt64Size(207, Field207);
2417 }
2418 if (HasField300) {
2419 size += pb::CodedOutputStream.ComputeUInt64Size(300, Field300);
2420 }
2421 size += UnknownFields.SerializedSize;
2422 memoizedSerializedSize = size;
2423 return size;
2424 }
2425 }
2426
2427 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data) {
2428 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2429 }
2430 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
2431 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2432 }
2433 public static SpeedMessage1SubMessage ParseFrom(byte[] data) {
2434 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2435 }
2436 public static SpeedMessage1SubMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
2437 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2438 }
2439 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input) {
2440 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2441 }
2442 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2443 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2444 }
2445 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input) {
2446 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
2447 }
2448 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2449 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
2450 }
csharptest17699c22011-06-03 21:57:15 -05002451 public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05002452 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2453 }
csharptest17699c22011-06-03 21:57:15 -05002454 public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05002455 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2456 }
2457 public static Builder CreateBuilder() { return new Builder(); }
2458 public override Builder ToBuilder() { return CreateBuilder(this); }
2459 public override Builder CreateBuilderForType() { return new Builder(); }
2460 public static Builder CreateBuilder(SpeedMessage1SubMessage prototype) {
2461 return (Builder) new Builder().MergeFrom(prototype);
2462 }
2463
2464 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2465 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2466 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2467 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1SubMessage, Builder> {
2468 protected override Builder ThisBuilder {
2469 get { return this; }
2470 }
2471 public Builder() {}
2472
2473 SpeedMessage1SubMessage result = new SpeedMessage1SubMessage();
2474
2475 protected override SpeedMessage1SubMessage MessageBeingBuilt {
2476 get { return result; }
2477 }
2478
2479 public override Builder Clear() {
2480 result = new SpeedMessage1SubMessage();
2481 return this;
2482 }
2483
2484 public override Builder Clone() {
2485 return new Builder().MergeFrom(result);
2486 }
2487
2488 public override pbd::MessageDescriptor DescriptorForType {
2489 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Descriptor; }
2490 }
2491
2492 public override SpeedMessage1SubMessage DefaultInstanceForType {
2493 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance; }
2494 }
2495
2496 public override SpeedMessage1SubMessage BuildPartial() {
2497 if (result == null) {
2498 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
2499 }
2500 SpeedMessage1SubMessage returnMe = result;
2501 result = null;
2502 return returnMe;
2503 }
2504
2505 public override Builder MergeFrom(pb::IMessage other) {
2506 if (other is SpeedMessage1SubMessage) {
2507 return MergeFrom((SpeedMessage1SubMessage) other);
2508 } else {
2509 base.MergeFrom(other);
2510 return this;
2511 }
2512 }
2513
2514 public override Builder MergeFrom(SpeedMessage1SubMessage other) {
2515 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) return this;
2516 if (other.HasField1) {
2517 Field1 = other.Field1;
2518 }
2519 if (other.HasField2) {
2520 Field2 = other.Field2;
2521 }
2522 if (other.HasField3) {
2523 Field3 = other.Field3;
2524 }
2525 if (other.HasField15) {
2526 Field15 = other.Field15;
2527 }
2528 if (other.HasField12) {
2529 Field12 = other.Field12;
2530 }
2531 if (other.HasField13) {
2532 Field13 = other.Field13;
2533 }
2534 if (other.HasField14) {
2535 Field14 = other.Field14;
2536 }
2537 if (other.HasField16) {
2538 Field16 = other.Field16;
2539 }
2540 if (other.HasField19) {
2541 Field19 = other.Field19;
2542 }
2543 if (other.HasField20) {
2544 Field20 = other.Field20;
2545 }
2546 if (other.HasField28) {
2547 Field28 = other.Field28;
2548 }
2549 if (other.HasField21) {
2550 Field21 = other.Field21;
2551 }
2552 if (other.HasField22) {
2553 Field22 = other.Field22;
2554 }
2555 if (other.HasField23) {
2556 Field23 = other.Field23;
2557 }
2558 if (other.HasField206) {
2559 Field206 = other.Field206;
2560 }
2561 if (other.HasField203) {
2562 Field203 = other.Field203;
2563 }
2564 if (other.HasField204) {
2565 Field204 = other.Field204;
2566 }
2567 if (other.HasField205) {
2568 Field205 = other.Field205;
2569 }
2570 if (other.HasField207) {
2571 Field207 = other.Field207;
2572 }
2573 if (other.HasField300) {
2574 Field300 = other.Field300;
2575 }
2576 this.MergeUnknownFields(other.UnknownFields);
2577 return this;
2578 }
2579
csharptest17699c22011-06-03 21:57:15 -05002580 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05002581 return MergeFrom(input, pb::ExtensionRegistry.Empty);
2582 }
2583
csharptest17699c22011-06-03 21:57:15 -05002584 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05002585 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05002586 uint tag;
2587 string field_name;
2588 while (input.ReadTag(out tag, out field_name)) {
csharptest27bfcc52011-06-02 12:04:06 -05002589 switch (tag) {
2590 case 0: {
csharptest99284412011-06-03 14:51:06 -05002591 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05002592 }
2593 default: {
2594 if (pb::WireFormat.IsEndGroupTag(tag)) {
2595 if (unknownFields != null) {
2596 this.UnknownFields = unknownFields.Build();
2597 }
2598 return this;
2599 }
2600 if (unknownFields == null) {
2601 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2602 }
csharptestd2af9e92011-06-03 21:35:02 -05002603 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05002604 break;
2605 }
2606 case 8: {
csharptestd2af9e92011-06-03 21:35:02 -05002607 result.hasField1 |= input.ReadInt32(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05002608 break;
2609 }
2610 case 16: {
csharptestd2af9e92011-06-03 21:35:02 -05002611 result.hasField2 |= input.ReadInt32(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05002612 break;
2613 }
2614 case 24: {
csharptestd2af9e92011-06-03 21:35:02 -05002615 result.hasField3 |= input.ReadInt32(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05002616 break;
2617 }
2618 case 96: {
csharptestd2af9e92011-06-03 21:35:02 -05002619 result.hasField12 |= input.ReadBool(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05002620 break;
2621 }
2622 case 104: {
csharptestd2af9e92011-06-03 21:35:02 -05002623 result.hasField13 |= input.ReadInt64(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05002624 break;
2625 }
2626 case 112: {
csharptestd2af9e92011-06-03 21:35:02 -05002627 result.hasField14 |= input.ReadInt64(ref result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05002628 break;
2629 }
2630 case 122: {
csharptestd2af9e92011-06-03 21:35:02 -05002631 result.hasField15 |= input.ReadString(ref result.field15_);
csharptest27bfcc52011-06-02 12:04:06 -05002632 break;
2633 }
2634 case 128: {
csharptestd2af9e92011-06-03 21:35:02 -05002635 result.hasField16 |= input.ReadInt32(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05002636 break;
2637 }
2638 case 152: {
csharptestd2af9e92011-06-03 21:35:02 -05002639 result.hasField19 |= input.ReadInt32(ref result.field19_);
csharptest27bfcc52011-06-02 12:04:06 -05002640 break;
2641 }
2642 case 160: {
csharptestd2af9e92011-06-03 21:35:02 -05002643 result.hasField20 |= input.ReadBool(ref result.field20_);
csharptest27bfcc52011-06-02 12:04:06 -05002644 break;
2645 }
2646 case 169: {
csharptestd2af9e92011-06-03 21:35:02 -05002647 result.hasField21 |= input.ReadFixed64(ref result.field21_);
csharptest27bfcc52011-06-02 12:04:06 -05002648 break;
2649 }
2650 case 176: {
csharptestd2af9e92011-06-03 21:35:02 -05002651 result.hasField22 |= input.ReadInt32(ref result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05002652 break;
2653 }
2654 case 184: {
csharptestd2af9e92011-06-03 21:35:02 -05002655 result.hasField23 |= input.ReadBool(ref result.field23_);
csharptest27bfcc52011-06-02 12:04:06 -05002656 break;
2657 }
2658 case 224: {
csharptestd2af9e92011-06-03 21:35:02 -05002659 result.hasField28 |= input.ReadBool(ref result.field28_);
csharptest27bfcc52011-06-02 12:04:06 -05002660 break;
2661 }
2662 case 1629: {
csharptestd2af9e92011-06-03 21:35:02 -05002663 result.hasField203 |= input.ReadFixed32(ref result.field203_);
csharptest27bfcc52011-06-02 12:04:06 -05002664 break;
2665 }
2666 case 1632: {
csharptestd2af9e92011-06-03 21:35:02 -05002667 result.hasField204 |= input.ReadInt32(ref result.field204_);
csharptest27bfcc52011-06-02 12:04:06 -05002668 break;
2669 }
2670 case 1642: {
csharptestd2af9e92011-06-03 21:35:02 -05002671 result.hasField205 |= input.ReadString(ref result.field205_);
csharptest27bfcc52011-06-02 12:04:06 -05002672 break;
2673 }
2674 case 1648: {
csharptestd2af9e92011-06-03 21:35:02 -05002675 result.hasField206 |= input.ReadBool(ref result.field206_);
csharptest27bfcc52011-06-02 12:04:06 -05002676 break;
2677 }
2678 case 1656: {
csharptestd2af9e92011-06-03 21:35:02 -05002679 result.hasField207 |= input.ReadUInt64(ref result.field207_);
csharptest27bfcc52011-06-02 12:04:06 -05002680 break;
2681 }
2682 case 2400: {
csharptestd2af9e92011-06-03 21:35:02 -05002683 result.hasField300 |= input.ReadUInt64(ref result.field300_);
csharptest27bfcc52011-06-02 12:04:06 -05002684 break;
2685 }
2686 }
2687 }
csharptest123e5342011-06-03 14:15:21 -05002688
2689 if (unknownFields != null) {
2690 this.UnknownFields = unknownFields.Build();
2691 }
2692 return this;
csharptest27bfcc52011-06-02 12:04:06 -05002693 }
2694
2695
2696 public bool HasField1 {
2697 get { return result.HasField1; }
2698 }
2699 public int Field1 {
2700 get { return result.Field1; }
2701 set { SetField1(value); }
2702 }
2703 public Builder SetField1(int value) {
2704 result.hasField1 = true;
2705 result.field1_ = value;
2706 return this;
2707 }
2708 public Builder ClearField1() {
2709 result.hasField1 = false;
2710 result.field1_ = 0;
2711 return this;
2712 }
2713
2714 public bool HasField2 {
2715 get { return result.HasField2; }
2716 }
2717 public int Field2 {
2718 get { return result.Field2; }
2719 set { SetField2(value); }
2720 }
2721 public Builder SetField2(int value) {
2722 result.hasField2 = true;
2723 result.field2_ = value;
2724 return this;
2725 }
2726 public Builder ClearField2() {
2727 result.hasField2 = false;
2728 result.field2_ = 0;
2729 return this;
2730 }
2731
2732 public bool HasField3 {
2733 get { return result.HasField3; }
2734 }
2735 public int Field3 {
2736 get { return result.Field3; }
2737 set { SetField3(value); }
2738 }
2739 public Builder SetField3(int value) {
2740 result.hasField3 = true;
2741 result.field3_ = value;
2742 return this;
2743 }
2744 public Builder ClearField3() {
2745 result.hasField3 = false;
2746 result.field3_ = 0;
2747 return this;
2748 }
2749
2750 public bool HasField15 {
2751 get { return result.HasField15; }
2752 }
2753 public string Field15 {
2754 get { return result.Field15; }
2755 set { SetField15(value); }
2756 }
2757 public Builder SetField15(string value) {
2758 pb::ThrowHelper.ThrowIfNull(value, "value");
2759 result.hasField15 = true;
2760 result.field15_ = value;
2761 return this;
2762 }
2763 public Builder ClearField15() {
2764 result.hasField15 = false;
2765 result.field15_ = "";
2766 return this;
2767 }
2768
2769 public bool HasField12 {
2770 get { return result.HasField12; }
2771 }
2772 public bool Field12 {
2773 get { return result.Field12; }
2774 set { SetField12(value); }
2775 }
2776 public Builder SetField12(bool value) {
2777 result.hasField12 = true;
2778 result.field12_ = value;
2779 return this;
2780 }
2781 public Builder ClearField12() {
2782 result.hasField12 = false;
2783 result.field12_ = true;
2784 return this;
2785 }
2786
2787 public bool HasField13 {
2788 get { return result.HasField13; }
2789 }
2790 public long Field13 {
2791 get { return result.Field13; }
2792 set { SetField13(value); }
2793 }
2794 public Builder SetField13(long value) {
2795 result.hasField13 = true;
2796 result.field13_ = value;
2797 return this;
2798 }
2799 public Builder ClearField13() {
2800 result.hasField13 = false;
2801 result.field13_ = 0L;
2802 return this;
2803 }
2804
2805 public bool HasField14 {
2806 get { return result.HasField14; }
2807 }
2808 public long Field14 {
2809 get { return result.Field14; }
2810 set { SetField14(value); }
2811 }
2812 public Builder SetField14(long value) {
2813 result.hasField14 = true;
2814 result.field14_ = value;
2815 return this;
2816 }
2817 public Builder ClearField14() {
2818 result.hasField14 = false;
2819 result.field14_ = 0L;
2820 return this;
2821 }
2822
2823 public bool HasField16 {
2824 get { return result.HasField16; }
2825 }
2826 public int Field16 {
2827 get { return result.Field16; }
2828 set { SetField16(value); }
2829 }
2830 public Builder SetField16(int value) {
2831 result.hasField16 = true;
2832 result.field16_ = value;
2833 return this;
2834 }
2835 public Builder ClearField16() {
2836 result.hasField16 = false;
2837 result.field16_ = 0;
2838 return this;
2839 }
2840
2841 public bool HasField19 {
2842 get { return result.HasField19; }
2843 }
2844 public int Field19 {
2845 get { return result.Field19; }
2846 set { SetField19(value); }
2847 }
2848 public Builder SetField19(int value) {
2849 result.hasField19 = true;
2850 result.field19_ = value;
2851 return this;
2852 }
2853 public Builder ClearField19() {
2854 result.hasField19 = false;
2855 result.field19_ = 2;
2856 return this;
2857 }
2858
2859 public bool HasField20 {
2860 get { return result.HasField20; }
2861 }
2862 public bool Field20 {
2863 get { return result.Field20; }
2864 set { SetField20(value); }
2865 }
2866 public Builder SetField20(bool value) {
2867 result.hasField20 = true;
2868 result.field20_ = value;
2869 return this;
2870 }
2871 public Builder ClearField20() {
2872 result.hasField20 = false;
2873 result.field20_ = true;
2874 return this;
2875 }
2876
2877 public bool HasField28 {
2878 get { return result.HasField28; }
2879 }
2880 public bool Field28 {
2881 get { return result.Field28; }
2882 set { SetField28(value); }
2883 }
2884 public Builder SetField28(bool value) {
2885 result.hasField28 = true;
2886 result.field28_ = value;
2887 return this;
2888 }
2889 public Builder ClearField28() {
2890 result.hasField28 = false;
2891 result.field28_ = true;
2892 return this;
2893 }
2894
2895 public bool HasField21 {
2896 get { return result.HasField21; }
2897 }
2898 [global::System.CLSCompliant(false)]
2899 public ulong Field21 {
2900 get { return result.Field21; }
2901 set { SetField21(value); }
2902 }
2903 [global::System.CLSCompliant(false)]
2904 public Builder SetField21(ulong value) {
2905 result.hasField21 = true;
2906 result.field21_ = value;
2907 return this;
2908 }
2909 public Builder ClearField21() {
2910 result.hasField21 = false;
2911 result.field21_ = 0;
2912 return this;
2913 }
2914
2915 public bool HasField22 {
2916 get { return result.HasField22; }
2917 }
2918 public int Field22 {
2919 get { return result.Field22; }
2920 set { SetField22(value); }
2921 }
2922 public Builder SetField22(int value) {
2923 result.hasField22 = true;
2924 result.field22_ = value;
2925 return this;
2926 }
2927 public Builder ClearField22() {
2928 result.hasField22 = false;
2929 result.field22_ = 0;
2930 return this;
2931 }
2932
2933 public bool HasField23 {
2934 get { return result.HasField23; }
2935 }
2936 public bool Field23 {
2937 get { return result.Field23; }
2938 set { SetField23(value); }
2939 }
2940 public Builder SetField23(bool value) {
2941 result.hasField23 = true;
2942 result.field23_ = value;
2943 return this;
2944 }
2945 public Builder ClearField23() {
2946 result.hasField23 = false;
2947 result.field23_ = false;
2948 return this;
2949 }
2950
2951 public bool HasField206 {
2952 get { return result.HasField206; }
2953 }
2954 public bool Field206 {
2955 get { return result.Field206; }
2956 set { SetField206(value); }
2957 }
2958 public Builder SetField206(bool value) {
2959 result.hasField206 = true;
2960 result.field206_ = value;
2961 return this;
2962 }
2963 public Builder ClearField206() {
2964 result.hasField206 = false;
2965 result.field206_ = false;
2966 return this;
2967 }
2968
2969 public bool HasField203 {
2970 get { return result.HasField203; }
2971 }
2972 [global::System.CLSCompliant(false)]
2973 public uint Field203 {
2974 get { return result.Field203; }
2975 set { SetField203(value); }
2976 }
2977 [global::System.CLSCompliant(false)]
2978 public Builder SetField203(uint value) {
2979 result.hasField203 = true;
2980 result.field203_ = value;
2981 return this;
2982 }
2983 public Builder ClearField203() {
2984 result.hasField203 = false;
2985 result.field203_ = 0;
2986 return this;
2987 }
2988
2989 public bool HasField204 {
2990 get { return result.HasField204; }
2991 }
2992 public int Field204 {
2993 get { return result.Field204; }
2994 set { SetField204(value); }
2995 }
2996 public Builder SetField204(int value) {
2997 result.hasField204 = true;
2998 result.field204_ = value;
2999 return this;
3000 }
3001 public Builder ClearField204() {
3002 result.hasField204 = false;
3003 result.field204_ = 0;
3004 return this;
3005 }
3006
3007 public bool HasField205 {
3008 get { return result.HasField205; }
3009 }
3010 public string Field205 {
3011 get { return result.Field205; }
3012 set { SetField205(value); }
3013 }
3014 public Builder SetField205(string value) {
3015 pb::ThrowHelper.ThrowIfNull(value, "value");
3016 result.hasField205 = true;
3017 result.field205_ = value;
3018 return this;
3019 }
3020 public Builder ClearField205() {
3021 result.hasField205 = false;
3022 result.field205_ = "";
3023 return this;
3024 }
3025
3026 public bool HasField207 {
3027 get { return result.HasField207; }
3028 }
3029 [global::System.CLSCompliant(false)]
3030 public ulong Field207 {
3031 get { return result.Field207; }
3032 set { SetField207(value); }
3033 }
3034 [global::System.CLSCompliant(false)]
3035 public Builder SetField207(ulong value) {
3036 result.hasField207 = true;
3037 result.field207_ = value;
3038 return this;
3039 }
3040 public Builder ClearField207() {
3041 result.hasField207 = false;
3042 result.field207_ = 0UL;
3043 return this;
3044 }
3045
3046 public bool HasField300 {
3047 get { return result.HasField300; }
3048 }
3049 [global::System.CLSCompliant(false)]
3050 public ulong Field300 {
3051 get { return result.Field300; }
3052 set { SetField300(value); }
3053 }
3054 [global::System.CLSCompliant(false)]
3055 public Builder SetField300(ulong value) {
3056 result.hasField300 = true;
3057 result.field300_ = value;
3058 return this;
3059 }
3060 public Builder ClearField300() {
3061 result.hasField300 = false;
3062 result.field300_ = 0UL;
3063 return this;
3064 }
3065 }
3066 static SpeedMessage1SubMessage() {
3067 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
3068 }
3069 }
3070
3071 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3072 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3073 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3074 public sealed partial class SpeedMessage2 : pb::GeneratedMessage<SpeedMessage2, SpeedMessage2.Builder> {
3075 private static readonly SpeedMessage2 defaultInstance = new Builder().BuildPartial();
3076 public static SpeedMessage2 DefaultInstance {
3077 get { return defaultInstance; }
3078 }
3079
3080 public override SpeedMessage2 DefaultInstanceForType {
3081 get { return defaultInstance; }
3082 }
3083
3084 protected override SpeedMessage2 ThisMessage {
3085 get { return this; }
3086 }
3087
3088 public static pbd::MessageDescriptor Descriptor {
3089 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__Descriptor; }
3090 }
3091
3092 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2, SpeedMessage2.Builder> InternalFieldAccessors {
3093 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__FieldAccessorTable; }
3094 }
3095
3096 #region Nested types
3097 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3098 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3099 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3100 public static class Types {
3101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3102 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3103 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3104 public sealed partial class Group1 : pb::GeneratedMessage<Group1, Group1.Builder> {
3105 private static readonly Group1 defaultInstance = new Builder().BuildPartial();
3106 public static Group1 DefaultInstance {
3107 get { return defaultInstance; }
3108 }
3109
3110 public override Group1 DefaultInstanceForType {
3111 get { return defaultInstance; }
3112 }
3113
3114 protected override Group1 ThisMessage {
3115 get { return this; }
3116 }
3117
3118 public static pbd::MessageDescriptor Descriptor {
3119 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__Descriptor; }
3120 }
3121
3122 protected override pb::FieldAccess.FieldAccessorTable<Group1, Group1.Builder> InternalFieldAccessors {
3123 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable; }
3124 }
3125
3126 public const int Field11FieldNumber = 11;
3127 private bool hasField11;
3128 private float field11_ = 0F;
3129 public bool HasField11 {
3130 get { return hasField11; }
3131 }
3132 public float Field11 {
3133 get { return field11_; }
3134 }
3135
3136 public const int Field26FieldNumber = 26;
3137 private bool hasField26;
3138 private float field26_ = 0F;
3139 public bool HasField26 {
3140 get { return hasField26; }
3141 }
3142 public float Field26 {
3143 get { return field26_; }
3144 }
3145
3146 public const int Field12FieldNumber = 12;
3147 private bool hasField12;
3148 private string field12_ = "";
3149 public bool HasField12 {
3150 get { return hasField12; }
3151 }
3152 public string Field12 {
3153 get { return field12_; }
3154 }
3155
3156 public const int Field13FieldNumber = 13;
3157 private bool hasField13;
3158 private string field13_ = "";
3159 public bool HasField13 {
3160 get { return hasField13; }
3161 }
3162 public string Field13 {
3163 get { return field13_; }
3164 }
3165
3166 public const int Field14FieldNumber = 14;
3167 private pbc::PopsicleList<string> field14_ = new pbc::PopsicleList<string>();
3168 public scg::IList<string> Field14List {
3169 get { return pbc::Lists.AsReadOnly(field14_); }
3170 }
3171 public int Field14Count {
3172 get { return field14_.Count; }
3173 }
3174 public string GetField14(int index) {
3175 return field14_[index];
3176 }
3177
3178 public const int Field15FieldNumber = 15;
3179 private bool hasField15;
3180 private ulong field15_ = 0UL;
3181 public bool HasField15 {
3182 get { return hasField15; }
3183 }
3184 [global::System.CLSCompliant(false)]
3185 public ulong Field15 {
3186 get { return field15_; }
3187 }
3188
3189 public const int Field5FieldNumber = 5;
3190 private bool hasField5;
3191 private int field5_ = 0;
3192 public bool HasField5 {
3193 get { return hasField5; }
3194 }
3195 public int Field5 {
3196 get { return field5_; }
3197 }
3198
3199 public const int Field27FieldNumber = 27;
3200 private bool hasField27;
3201 private string field27_ = "";
3202 public bool HasField27 {
3203 get { return hasField27; }
3204 }
3205 public string Field27 {
3206 get { return field27_; }
3207 }
3208
3209 public const int Field28FieldNumber = 28;
3210 private bool hasField28;
3211 private int field28_ = 0;
3212 public bool HasField28 {
3213 get { return hasField28; }
3214 }
3215 public int Field28 {
3216 get { return field28_; }
3217 }
3218
3219 public const int Field29FieldNumber = 29;
3220 private bool hasField29;
3221 private string field29_ = "";
3222 public bool HasField29 {
3223 get { return hasField29; }
3224 }
3225 public string Field29 {
3226 get { return field29_; }
3227 }
3228
3229 public const int Field16FieldNumber = 16;
3230 private bool hasField16;
3231 private string field16_ = "";
3232 public bool HasField16 {
3233 get { return hasField16; }
3234 }
3235 public string Field16 {
3236 get { return field16_; }
3237 }
3238
3239 public const int Field22FieldNumber = 22;
3240 private pbc::PopsicleList<string> field22_ = new pbc::PopsicleList<string>();
3241 public scg::IList<string> Field22List {
3242 get { return pbc::Lists.AsReadOnly(field22_); }
3243 }
3244 public int Field22Count {
3245 get { return field22_.Count; }
3246 }
3247 public string GetField22(int index) {
3248 return field22_[index];
3249 }
3250
3251 public const int Field73FieldNumber = 73;
3252 private pbc::PopsicleList<int> field73_ = new pbc::PopsicleList<int>();
3253 public scg::IList<int> Field73List {
3254 get { return pbc::Lists.AsReadOnly(field73_); }
3255 }
3256 public int Field73Count {
3257 get { return field73_.Count; }
3258 }
3259 public int GetField73(int index) {
3260 return field73_[index];
3261 }
3262
3263 public const int Field20FieldNumber = 20;
3264 private bool hasField20;
3265 private int field20_ = 0;
3266 public bool HasField20 {
3267 get { return hasField20; }
3268 }
3269 public int Field20 {
3270 get { return field20_; }
3271 }
3272
3273 public const int Field24FieldNumber = 24;
3274 private bool hasField24;
3275 private string field24_ = "";
3276 public bool HasField24 {
3277 get { return hasField24; }
3278 }
3279 public string Field24 {
3280 get { return field24_; }
3281 }
3282
3283 public const int Field31FieldNumber = 31;
3284 private bool hasField31;
3285 private global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
3286 public bool HasField31 {
3287 get { return hasField31; }
3288 }
3289 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
3290 get { return field31_; }
3291 }
3292
3293 public override bool IsInitialized {
3294 get {
3295 if (!hasField11) return false;
3296 if (!hasField15) return false;
3297 return true;
3298 }
3299 }
3300
csharptestffafdaa2011-06-03 12:58:14 -05003301 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05003302 int size = SerializedSize;
3303 if (HasField5) {
csharptest90922db2011-06-03 11:57:47 -05003304 output.WriteInt32(5, "field5", Field5);
csharptest27bfcc52011-06-02 12:04:06 -05003305 }
3306 if (HasField11) {
csharptest90922db2011-06-03 11:57:47 -05003307 output.WriteFloat(11, "field11", Field11);
csharptest27bfcc52011-06-02 12:04:06 -05003308 }
3309 if (HasField12) {
csharptest90922db2011-06-03 11:57:47 -05003310 output.WriteString(12, "field12", Field12);
csharptest27bfcc52011-06-02 12:04:06 -05003311 }
3312 if (HasField13) {
csharptest90922db2011-06-03 11:57:47 -05003313 output.WriteString(13, "field13", Field13);
csharptest27bfcc52011-06-02 12:04:06 -05003314 }
3315 if (field14_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05003316 output.WriteArray(pbd::FieldType.String, 14, "field14", field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003317 }
3318 if (HasField15) {
csharptest90922db2011-06-03 11:57:47 -05003319 output.WriteUInt64(15, "field15", Field15);
csharptest27bfcc52011-06-02 12:04:06 -05003320 }
3321 if (HasField16) {
csharptest90922db2011-06-03 11:57:47 -05003322 output.WriteString(16, "field16", Field16);
csharptest27bfcc52011-06-02 12:04:06 -05003323 }
3324 if (HasField20) {
csharptest90922db2011-06-03 11:57:47 -05003325 output.WriteInt32(20, "field20", Field20);
csharptest27bfcc52011-06-02 12:04:06 -05003326 }
3327 if (field22_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05003328 output.WriteArray(pbd::FieldType.String, 22, "field22", field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003329 }
3330 if (HasField24) {
csharptest90922db2011-06-03 11:57:47 -05003331 output.WriteString(24, "field24", Field24);
csharptest27bfcc52011-06-02 12:04:06 -05003332 }
3333 if (HasField26) {
csharptest90922db2011-06-03 11:57:47 -05003334 output.WriteFloat(26, "field26", Field26);
csharptest27bfcc52011-06-02 12:04:06 -05003335 }
3336 if (HasField27) {
csharptest90922db2011-06-03 11:57:47 -05003337 output.WriteString(27, "field27", Field27);
csharptest27bfcc52011-06-02 12:04:06 -05003338 }
3339 if (HasField28) {
csharptest90922db2011-06-03 11:57:47 -05003340 output.WriteInt32(28, "field28", Field28);
csharptest27bfcc52011-06-02 12:04:06 -05003341 }
3342 if (HasField29) {
csharptest90922db2011-06-03 11:57:47 -05003343 output.WriteString(29, "field29", Field29);
csharptest27bfcc52011-06-02 12:04:06 -05003344 }
3345 if (HasField31) {
csharptest90922db2011-06-03 11:57:47 -05003346 output.WriteMessage(31, "field31", Field31);
csharptest27bfcc52011-06-02 12:04:06 -05003347 }
3348 if (field73_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05003349 output.WriteArray(pbd::FieldType.Int32, 73, "field73", field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003350 }
3351 UnknownFields.WriteTo(output);
3352 }
3353
3354 private int memoizedSerializedSize = -1;
3355 public override int SerializedSize {
3356 get {
3357 int size = memoizedSerializedSize;
3358 if (size != -1) return size;
3359
3360 size = 0;
3361 if (HasField11) {
3362 size += pb::CodedOutputStream.ComputeFloatSize(11, Field11);
3363 }
3364 if (HasField26) {
3365 size += pb::CodedOutputStream.ComputeFloatSize(26, Field26);
3366 }
3367 if (HasField12) {
3368 size += pb::CodedOutputStream.ComputeStringSize(12, Field12);
3369 }
3370 if (HasField13) {
3371 size += pb::CodedOutputStream.ComputeStringSize(13, Field13);
3372 }
3373 {
3374 int dataSize = 0;
3375 foreach (string element in Field14List) {
3376 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3377 }
3378 size += dataSize;
3379 size += 1 * field14_.Count;
3380 }
3381 if (HasField15) {
3382 size += pb::CodedOutputStream.ComputeUInt64Size(15, Field15);
3383 }
3384 if (HasField5) {
3385 size += pb::CodedOutputStream.ComputeInt32Size(5, Field5);
3386 }
3387 if (HasField27) {
3388 size += pb::CodedOutputStream.ComputeStringSize(27, Field27);
3389 }
3390 if (HasField28) {
3391 size += pb::CodedOutputStream.ComputeInt32Size(28, Field28);
3392 }
3393 if (HasField29) {
3394 size += pb::CodedOutputStream.ComputeStringSize(29, Field29);
3395 }
3396 if (HasField16) {
3397 size += pb::CodedOutputStream.ComputeStringSize(16, Field16);
3398 }
3399 {
3400 int dataSize = 0;
3401 foreach (string element in Field22List) {
3402 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3403 }
3404 size += dataSize;
3405 size += 2 * field22_.Count;
3406 }
3407 {
3408 int dataSize = 0;
3409 foreach (int element in Field73List) {
3410 dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
3411 }
3412 size += dataSize;
3413 size += 2 * field73_.Count;
3414 }
3415 if (HasField20) {
3416 size += pb::CodedOutputStream.ComputeInt32Size(20, Field20);
3417 }
3418 if (HasField24) {
3419 size += pb::CodedOutputStream.ComputeStringSize(24, Field24);
3420 }
3421 if (HasField31) {
3422 size += pb::CodedOutputStream.ComputeMessageSize(31, Field31);
3423 }
3424 size += UnknownFields.SerializedSize;
3425 memoizedSerializedSize = size;
3426 return size;
3427 }
3428 }
3429
3430 public static Group1 ParseFrom(pb::ByteString data) {
3431 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3432 }
3433 public static Group1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
3434 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3435 }
3436 public static Group1 ParseFrom(byte[] data) {
3437 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3438 }
3439 public static Group1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
3440 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3441 }
3442 public static Group1 ParseFrom(global::System.IO.Stream input) {
3443 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3444 }
3445 public static Group1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3446 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3447 }
3448 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input) {
3449 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
3450 }
3451 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3452 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
3453 }
csharptest17699c22011-06-03 21:57:15 -05003454 public static Group1 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05003455 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3456 }
csharptest17699c22011-06-03 21:57:15 -05003457 public static Group1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05003458 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3459 }
3460 public static Builder CreateBuilder() { return new Builder(); }
3461 public override Builder ToBuilder() { return CreateBuilder(this); }
3462 public override Builder CreateBuilderForType() { return new Builder(); }
3463 public static Builder CreateBuilder(Group1 prototype) {
3464 return (Builder) new Builder().MergeFrom(prototype);
3465 }
3466
3467 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3468 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3469 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3470 public sealed partial class Builder : pb::GeneratedBuilder<Group1, Builder> {
3471 protected override Builder ThisBuilder {
3472 get { return this; }
3473 }
3474 public Builder() {}
3475
3476 Group1 result = new Group1();
3477
3478 protected override Group1 MessageBeingBuilt {
3479 get { return result; }
3480 }
3481
3482 public override Builder Clear() {
3483 result = new Group1();
3484 return this;
3485 }
3486
3487 public override Builder Clone() {
3488 return new Builder().MergeFrom(result);
3489 }
3490
3491 public override pbd::MessageDescriptor DescriptorForType {
3492 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Descriptor; }
3493 }
3494
3495 public override Group1 DefaultInstanceForType {
3496 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance; }
3497 }
3498
3499 public override Group1 BuildPartial() {
3500 if (result == null) {
3501 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
3502 }
3503 result.field14_.MakeReadOnly();
3504 result.field22_.MakeReadOnly();
3505 result.field73_.MakeReadOnly();
3506 Group1 returnMe = result;
3507 result = null;
3508 return returnMe;
3509 }
3510
3511 public override Builder MergeFrom(pb::IMessage other) {
3512 if (other is Group1) {
3513 return MergeFrom((Group1) other);
3514 } else {
3515 base.MergeFrom(other);
3516 return this;
3517 }
3518 }
3519
3520 public override Builder MergeFrom(Group1 other) {
3521 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance) return this;
3522 if (other.HasField11) {
3523 Field11 = other.Field11;
3524 }
3525 if (other.HasField26) {
3526 Field26 = other.Field26;
3527 }
3528 if (other.HasField12) {
3529 Field12 = other.Field12;
3530 }
3531 if (other.HasField13) {
3532 Field13 = other.Field13;
3533 }
3534 if (other.field14_.Count != 0) {
3535 base.AddRange(other.field14_, result.field14_);
3536 }
3537 if (other.HasField15) {
3538 Field15 = other.Field15;
3539 }
3540 if (other.HasField5) {
3541 Field5 = other.Field5;
3542 }
3543 if (other.HasField27) {
3544 Field27 = other.Field27;
3545 }
3546 if (other.HasField28) {
3547 Field28 = other.Field28;
3548 }
3549 if (other.HasField29) {
3550 Field29 = other.Field29;
3551 }
3552 if (other.HasField16) {
3553 Field16 = other.Field16;
3554 }
3555 if (other.field22_.Count != 0) {
3556 base.AddRange(other.field22_, result.field22_);
3557 }
3558 if (other.field73_.Count != 0) {
3559 base.AddRange(other.field73_, result.field73_);
3560 }
3561 if (other.HasField20) {
3562 Field20 = other.Field20;
3563 }
3564 if (other.HasField24) {
3565 Field24 = other.Field24;
3566 }
3567 if (other.HasField31) {
3568 MergeField31(other.Field31);
3569 }
3570 this.MergeUnknownFields(other.UnknownFields);
3571 return this;
3572 }
3573
csharptest17699c22011-06-03 21:57:15 -05003574 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05003575 return MergeFrom(input, pb::ExtensionRegistry.Empty);
3576 }
3577
csharptest17699c22011-06-03 21:57:15 -05003578 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05003579 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05003580 uint tag;
3581 string field_name;
3582 while (input.ReadTag(out tag, out field_name)) {
csharptest27bfcc52011-06-02 12:04:06 -05003583 switch (tag) {
3584 case 0: {
csharptest99284412011-06-03 14:51:06 -05003585 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05003586 }
3587 default: {
3588 if (pb::WireFormat.IsEndGroupTag(tag)) {
3589 if (unknownFields != null) {
3590 this.UnknownFields = unknownFields.Build();
3591 }
3592 return this;
3593 }
3594 if (unknownFields == null) {
3595 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3596 }
csharptestd2af9e92011-06-03 21:35:02 -05003597 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05003598 break;
3599 }
3600 case 40: {
csharptestd2af9e92011-06-03 21:35:02 -05003601 result.hasField5 |= input.ReadInt32(ref result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05003602 break;
3603 }
3604 case 93: {
csharptestd2af9e92011-06-03 21:35:02 -05003605 result.hasField11 |= input.ReadFloat(ref result.field11_);
csharptest27bfcc52011-06-02 12:04:06 -05003606 break;
3607 }
3608 case 98: {
csharptestd2af9e92011-06-03 21:35:02 -05003609 result.hasField12 |= input.ReadString(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05003610 break;
3611 }
3612 case 106: {
csharptestd2af9e92011-06-03 21:35:02 -05003613 result.hasField13 |= input.ReadString(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05003614 break;
3615 }
3616 case 114: {
csharptestd2af9e92011-06-03 21:35:02 -05003617 input.ReadPrimitiveArray(pbd::FieldType.String, tag, field_name, result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003618 break;
3619 }
3620 case 120: {
csharptestd2af9e92011-06-03 21:35:02 -05003621 result.hasField15 |= input.ReadUInt64(ref result.field15_);
csharptest27bfcc52011-06-02 12:04:06 -05003622 break;
3623 }
3624 case 130: {
csharptestd2af9e92011-06-03 21:35:02 -05003625 result.hasField16 |= input.ReadString(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05003626 break;
3627 }
3628 case 160: {
csharptestd2af9e92011-06-03 21:35:02 -05003629 result.hasField20 |= input.ReadInt32(ref result.field20_);
csharptest27bfcc52011-06-02 12:04:06 -05003630 break;
3631 }
3632 case 178: {
csharptestd2af9e92011-06-03 21:35:02 -05003633 input.ReadPrimitiveArray(pbd::FieldType.String, tag, field_name, result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003634 break;
3635 }
3636 case 194: {
csharptestd2af9e92011-06-03 21:35:02 -05003637 result.hasField24 |= input.ReadString(ref result.field24_);
csharptest27bfcc52011-06-02 12:04:06 -05003638 break;
3639 }
3640 case 213: {
csharptestd2af9e92011-06-03 21:35:02 -05003641 result.hasField26 |= input.ReadFloat(ref result.field26_);
csharptest27bfcc52011-06-02 12:04:06 -05003642 break;
3643 }
3644 case 218: {
csharptestd2af9e92011-06-03 21:35:02 -05003645 result.hasField27 |= input.ReadString(ref result.field27_);
csharptest27bfcc52011-06-02 12:04:06 -05003646 break;
3647 }
3648 case 224: {
csharptestd2af9e92011-06-03 21:35:02 -05003649 result.hasField28 |= input.ReadInt32(ref result.field28_);
csharptest27bfcc52011-06-02 12:04:06 -05003650 break;
3651 }
3652 case 234: {
csharptestd2af9e92011-06-03 21:35:02 -05003653 result.hasField29 |= input.ReadString(ref result.field29_);
csharptest27bfcc52011-06-02 12:04:06 -05003654 break;
3655 }
3656 case 250: {
3657 global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder();
3658 if (HasField31) {
3659 subBuilder.MergeFrom(Field31);
3660 }
3661 input.ReadMessage(subBuilder, extensionRegistry);
3662 Field31 = subBuilder.BuildPartial();
3663 break;
3664 }
csharptest6da31702011-06-04 12:52:57 -05003665 case 586:
csharptest27bfcc52011-06-02 12:04:06 -05003666 case 584: {
csharptestd2af9e92011-06-03 21:35:02 -05003667 input.ReadPrimitiveArray(pbd::FieldType.Int32, tag, field_name, result.field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003668 break;
3669 }
3670 }
3671 }
csharptest123e5342011-06-03 14:15:21 -05003672
3673 if (unknownFields != null) {
3674 this.UnknownFields = unknownFields.Build();
3675 }
3676 return this;
csharptest27bfcc52011-06-02 12:04:06 -05003677 }
3678
3679
3680 public bool HasField11 {
3681 get { return result.HasField11; }
3682 }
3683 public float Field11 {
3684 get { return result.Field11; }
3685 set { SetField11(value); }
3686 }
3687 public Builder SetField11(float value) {
3688 result.hasField11 = true;
3689 result.field11_ = value;
3690 return this;
3691 }
3692 public Builder ClearField11() {
3693 result.hasField11 = false;
3694 result.field11_ = 0F;
3695 return this;
3696 }
3697
3698 public bool HasField26 {
3699 get { return result.HasField26; }
3700 }
3701 public float Field26 {
3702 get { return result.Field26; }
3703 set { SetField26(value); }
3704 }
3705 public Builder SetField26(float value) {
3706 result.hasField26 = true;
3707 result.field26_ = value;
3708 return this;
3709 }
3710 public Builder ClearField26() {
3711 result.hasField26 = false;
3712 result.field26_ = 0F;
3713 return this;
3714 }
3715
3716 public bool HasField12 {
3717 get { return result.HasField12; }
3718 }
3719 public string Field12 {
3720 get { return result.Field12; }
3721 set { SetField12(value); }
3722 }
3723 public Builder SetField12(string value) {
3724 pb::ThrowHelper.ThrowIfNull(value, "value");
3725 result.hasField12 = true;
3726 result.field12_ = value;
3727 return this;
3728 }
3729 public Builder ClearField12() {
3730 result.hasField12 = false;
3731 result.field12_ = "";
3732 return this;
3733 }
3734
3735 public bool HasField13 {
3736 get { return result.HasField13; }
3737 }
3738 public string Field13 {
3739 get { return result.Field13; }
3740 set { SetField13(value); }
3741 }
3742 public Builder SetField13(string value) {
3743 pb::ThrowHelper.ThrowIfNull(value, "value");
3744 result.hasField13 = true;
3745 result.field13_ = value;
3746 return this;
3747 }
3748 public Builder ClearField13() {
3749 result.hasField13 = false;
3750 result.field13_ = "";
3751 return this;
3752 }
3753
3754 public pbc::IPopsicleList<string> Field14List {
3755 get { return result.field14_; }
3756 }
3757 public int Field14Count {
3758 get { return result.Field14Count; }
3759 }
3760 public string GetField14(int index) {
3761 return result.GetField14(index);
3762 }
3763 public Builder SetField14(int index, string value) {
3764 pb::ThrowHelper.ThrowIfNull(value, "value");
3765 result.field14_[index] = value;
3766 return this;
3767 }
3768 public Builder AddField14(string value) {
3769 pb::ThrowHelper.ThrowIfNull(value, "value");
3770 result.field14_.Add(value);
3771 return this;
3772 }
3773 public Builder AddRangeField14(scg::IEnumerable<string> values) {
3774 base.AddRange(values, result.field14_);
3775 return this;
3776 }
3777 public Builder ClearField14() {
3778 result.field14_.Clear();
3779 return this;
3780 }
3781
3782 public bool HasField15 {
3783 get { return result.HasField15; }
3784 }
3785 [global::System.CLSCompliant(false)]
3786 public ulong Field15 {
3787 get { return result.Field15; }
3788 set { SetField15(value); }
3789 }
3790 [global::System.CLSCompliant(false)]
3791 public Builder SetField15(ulong value) {
3792 result.hasField15 = true;
3793 result.field15_ = value;
3794 return this;
3795 }
3796 public Builder ClearField15() {
3797 result.hasField15 = false;
3798 result.field15_ = 0UL;
3799 return this;
3800 }
3801
3802 public bool HasField5 {
3803 get { return result.HasField5; }
3804 }
3805 public int Field5 {
3806 get { return result.Field5; }
3807 set { SetField5(value); }
3808 }
3809 public Builder SetField5(int value) {
3810 result.hasField5 = true;
3811 result.field5_ = value;
3812 return this;
3813 }
3814 public Builder ClearField5() {
3815 result.hasField5 = false;
3816 result.field5_ = 0;
3817 return this;
3818 }
3819
3820 public bool HasField27 {
3821 get { return result.HasField27; }
3822 }
3823 public string Field27 {
3824 get { return result.Field27; }
3825 set { SetField27(value); }
3826 }
3827 public Builder SetField27(string value) {
3828 pb::ThrowHelper.ThrowIfNull(value, "value");
3829 result.hasField27 = true;
3830 result.field27_ = value;
3831 return this;
3832 }
3833 public Builder ClearField27() {
3834 result.hasField27 = false;
3835 result.field27_ = "";
3836 return this;
3837 }
3838
3839 public bool HasField28 {
3840 get { return result.HasField28; }
3841 }
3842 public int Field28 {
3843 get { return result.Field28; }
3844 set { SetField28(value); }
3845 }
3846 public Builder SetField28(int value) {
3847 result.hasField28 = true;
3848 result.field28_ = value;
3849 return this;
3850 }
3851 public Builder ClearField28() {
3852 result.hasField28 = false;
3853 result.field28_ = 0;
3854 return this;
3855 }
3856
3857 public bool HasField29 {
3858 get { return result.HasField29; }
3859 }
3860 public string Field29 {
3861 get { return result.Field29; }
3862 set { SetField29(value); }
3863 }
3864 public Builder SetField29(string value) {
3865 pb::ThrowHelper.ThrowIfNull(value, "value");
3866 result.hasField29 = true;
3867 result.field29_ = value;
3868 return this;
3869 }
3870 public Builder ClearField29() {
3871 result.hasField29 = false;
3872 result.field29_ = "";
3873 return this;
3874 }
3875
3876 public bool HasField16 {
3877 get { return result.HasField16; }
3878 }
3879 public string Field16 {
3880 get { return result.Field16; }
3881 set { SetField16(value); }
3882 }
3883 public Builder SetField16(string value) {
3884 pb::ThrowHelper.ThrowIfNull(value, "value");
3885 result.hasField16 = true;
3886 result.field16_ = value;
3887 return this;
3888 }
3889 public Builder ClearField16() {
3890 result.hasField16 = false;
3891 result.field16_ = "";
3892 return this;
3893 }
3894
3895 public pbc::IPopsicleList<string> Field22List {
3896 get { return result.field22_; }
3897 }
3898 public int Field22Count {
3899 get { return result.Field22Count; }
3900 }
3901 public string GetField22(int index) {
3902 return result.GetField22(index);
3903 }
3904 public Builder SetField22(int index, string value) {
3905 pb::ThrowHelper.ThrowIfNull(value, "value");
3906 result.field22_[index] = value;
3907 return this;
3908 }
3909 public Builder AddField22(string value) {
3910 pb::ThrowHelper.ThrowIfNull(value, "value");
3911 result.field22_.Add(value);
3912 return this;
3913 }
3914 public Builder AddRangeField22(scg::IEnumerable<string> values) {
3915 base.AddRange(values, result.field22_);
3916 return this;
3917 }
3918 public Builder ClearField22() {
3919 result.field22_.Clear();
3920 return this;
3921 }
3922
3923 public pbc::IPopsicleList<int> Field73List {
3924 get { return result.field73_; }
3925 }
3926 public int Field73Count {
3927 get { return result.Field73Count; }
3928 }
3929 public int GetField73(int index) {
3930 return result.GetField73(index);
3931 }
3932 public Builder SetField73(int index, int value) {
3933 result.field73_[index] = value;
3934 return this;
3935 }
3936 public Builder AddField73(int value) {
3937 result.field73_.Add(value);
3938 return this;
3939 }
3940 public Builder AddRangeField73(scg::IEnumerable<int> values) {
3941 base.AddRange(values, result.field73_);
3942 return this;
3943 }
3944 public Builder ClearField73() {
3945 result.field73_.Clear();
3946 return this;
3947 }
3948
3949 public bool HasField20 {
3950 get { return result.HasField20; }
3951 }
3952 public int Field20 {
3953 get { return result.Field20; }
3954 set { SetField20(value); }
3955 }
3956 public Builder SetField20(int value) {
3957 result.hasField20 = true;
3958 result.field20_ = value;
3959 return this;
3960 }
3961 public Builder ClearField20() {
3962 result.hasField20 = false;
3963 result.field20_ = 0;
3964 return this;
3965 }
3966
3967 public bool HasField24 {
3968 get { return result.HasField24; }
3969 }
3970 public string Field24 {
3971 get { return result.Field24; }
3972 set { SetField24(value); }
3973 }
3974 public Builder SetField24(string value) {
3975 pb::ThrowHelper.ThrowIfNull(value, "value");
3976 result.hasField24 = true;
3977 result.field24_ = value;
3978 return this;
3979 }
3980 public Builder ClearField24() {
3981 result.hasField24 = false;
3982 result.field24_ = "";
3983 return this;
3984 }
3985
3986 public bool HasField31 {
3987 get { return result.HasField31; }
3988 }
3989 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
3990 get { return result.Field31; }
3991 set { SetField31(value); }
3992 }
3993 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
3994 pb::ThrowHelper.ThrowIfNull(value, "value");
3995 result.hasField31 = true;
3996 result.field31_ = value;
3997 return this;
3998 }
3999 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder builderForValue) {
4000 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
4001 result.hasField31 = true;
4002 result.field31_ = builderForValue.Build();
4003 return this;
4004 }
4005 public Builder MergeField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
4006 pb::ThrowHelper.ThrowIfNull(value, "value");
4007 if (result.HasField31 &&
4008 result.field31_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) {
4009 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder(result.field31_).MergeFrom(value).BuildPartial();
4010 } else {
4011 result.field31_ = value;
4012 }
4013 result.hasField31 = true;
4014 return this;
4015 }
4016 public Builder ClearField31() {
4017 result.hasField31 = false;
4018 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
4019 return this;
4020 }
4021 }
4022 static Group1() {
4023 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
4024 }
4025 }
4026
4027 }
4028 #endregion
4029
4030 public const int Field1FieldNumber = 1;
4031 private bool hasField1;
4032 private string field1_ = "";
4033 public bool HasField1 {
4034 get { return hasField1; }
4035 }
4036 public string Field1 {
4037 get { return field1_; }
4038 }
4039
4040 public const int Field3FieldNumber = 3;
4041 private bool hasField3;
4042 private long field3_ = 0L;
4043 public bool HasField3 {
4044 get { return hasField3; }
4045 }
4046 public long Field3 {
4047 get { return field3_; }
4048 }
4049
4050 public const int Field4FieldNumber = 4;
4051 private bool hasField4;
4052 private long field4_ = 0L;
4053 public bool HasField4 {
4054 get { return hasField4; }
4055 }
4056 public long Field4 {
4057 get { return field4_; }
4058 }
4059
4060 public const int Field30FieldNumber = 30;
4061 private bool hasField30;
4062 private long field30_ = 0L;
4063 public bool HasField30 {
4064 get { return hasField30; }
4065 }
4066 public long Field30 {
4067 get { return field30_; }
4068 }
4069
4070 public const int Field75FieldNumber = 75;
4071 private bool hasField75;
4072 private bool field75_ = false;
4073 public bool HasField75 {
4074 get { return hasField75; }
4075 }
4076 public bool Field75 {
4077 get { return field75_; }
4078 }
4079
4080 public const int Field6FieldNumber = 6;
4081 private bool hasField6;
4082 private string field6_ = "";
4083 public bool HasField6 {
4084 get { return hasField6; }
4085 }
4086 public string Field6 {
4087 get { return field6_; }
4088 }
4089
4090 public const int Field2FieldNumber = 2;
4091 private bool hasField2;
4092 private pb::ByteString field2_ = pb::ByteString.Empty;
4093 public bool HasField2 {
4094 get { return hasField2; }
4095 }
4096 public pb::ByteString Field2 {
4097 get { return field2_; }
4098 }
4099
4100 public const int Field21FieldNumber = 21;
4101 private bool hasField21;
4102 private int field21_ = 0;
4103 public bool HasField21 {
4104 get { return hasField21; }
4105 }
4106 public int Field21 {
4107 get { return field21_; }
4108 }
4109
4110 public const int Field71FieldNumber = 71;
4111 private bool hasField71;
4112 private int field71_ = 0;
4113 public bool HasField71 {
4114 get { return hasField71; }
4115 }
4116 public int Field71 {
4117 get { return field71_; }
4118 }
4119
4120 public const int Field25FieldNumber = 25;
4121 private bool hasField25;
4122 private float field25_ = 0F;
4123 public bool HasField25 {
4124 get { return hasField25; }
4125 }
4126 public float Field25 {
4127 get { return field25_; }
4128 }
4129
4130 public const int Field109FieldNumber = 109;
4131 private bool hasField109;
4132 private int field109_ = 0;
4133 public bool HasField109 {
4134 get { return hasField109; }
4135 }
4136 public int Field109 {
4137 get { return field109_; }
4138 }
4139
4140 public const int Field210FieldNumber = 210;
4141 private bool hasField210;
4142 private int field210_ = 0;
4143 public bool HasField210 {
4144 get { return hasField210; }
4145 }
4146 public int Field210 {
4147 get { return field210_; }
4148 }
4149
4150 public const int Field211FieldNumber = 211;
4151 private bool hasField211;
4152 private int field211_ = 0;
4153 public bool HasField211 {
4154 get { return hasField211; }
4155 }
4156 public int Field211 {
4157 get { return field211_; }
4158 }
4159
4160 public const int Field212FieldNumber = 212;
4161 private bool hasField212;
4162 private int field212_ = 0;
4163 public bool HasField212 {
4164 get { return hasField212; }
4165 }
4166 public int Field212 {
4167 get { return field212_; }
4168 }
4169
4170 public const int Field213FieldNumber = 213;
4171 private bool hasField213;
4172 private int field213_ = 0;
4173 public bool HasField213 {
4174 get { return hasField213; }
4175 }
4176 public int Field213 {
4177 get { return field213_; }
4178 }
4179
4180 public const int Field216FieldNumber = 216;
4181 private bool hasField216;
4182 private int field216_ = 0;
4183 public bool HasField216 {
4184 get { return hasField216; }
4185 }
4186 public int Field216 {
4187 get { return field216_; }
4188 }
4189
4190 public const int Field217FieldNumber = 217;
4191 private bool hasField217;
4192 private int field217_ = 0;
4193 public bool HasField217 {
4194 get { return hasField217; }
4195 }
4196 public int Field217 {
4197 get { return field217_; }
4198 }
4199
4200 public const int Field218FieldNumber = 218;
4201 private bool hasField218;
4202 private int field218_ = 0;
4203 public bool HasField218 {
4204 get { return hasField218; }
4205 }
4206 public int Field218 {
4207 get { return field218_; }
4208 }
4209
4210 public const int Field220FieldNumber = 220;
4211 private bool hasField220;
4212 private int field220_ = 0;
4213 public bool HasField220 {
4214 get { return hasField220; }
4215 }
4216 public int Field220 {
4217 get { return field220_; }
4218 }
4219
4220 public const int Field221FieldNumber = 221;
4221 private bool hasField221;
4222 private int field221_ = 0;
4223 public bool HasField221 {
4224 get { return hasField221; }
4225 }
4226 public int Field221 {
4227 get { return field221_; }
4228 }
4229
4230 public const int Field222FieldNumber = 222;
4231 private bool hasField222;
4232 private float field222_ = 0F;
4233 public bool HasField222 {
4234 get { return hasField222; }
4235 }
4236 public float Field222 {
4237 get { return field222_; }
4238 }
4239
4240 public const int Field63FieldNumber = 63;
4241 private bool hasField63;
4242 private int field63_ = 0;
4243 public bool HasField63 {
4244 get { return hasField63; }
4245 }
4246 public int Field63 {
4247 get { return field63_; }
4248 }
4249
4250 public const int Group1FieldNumber = 10;
4251 private pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> group1_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1>();
4252 public scg::IList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
4253 get { return group1_; }
4254 }
4255 public int Group1Count {
4256 get { return group1_.Count; }
4257 }
4258 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
4259 return group1_[index];
4260 }
4261
4262 public const int Field128FieldNumber = 128;
4263 private pbc::PopsicleList<string> field128_ = new pbc::PopsicleList<string>();
4264 public scg::IList<string> Field128List {
4265 get { return pbc::Lists.AsReadOnly(field128_); }
4266 }
4267 public int Field128Count {
4268 get { return field128_.Count; }
4269 }
4270 public string GetField128(int index) {
4271 return field128_[index];
4272 }
4273
4274 public const int Field131FieldNumber = 131;
4275 private bool hasField131;
4276 private long field131_ = 0L;
4277 public bool HasField131 {
4278 get { return hasField131; }
4279 }
4280 public long Field131 {
4281 get { return field131_; }
4282 }
4283
4284 public const int Field127FieldNumber = 127;
4285 private pbc::PopsicleList<string> field127_ = new pbc::PopsicleList<string>();
4286 public scg::IList<string> Field127List {
4287 get { return pbc::Lists.AsReadOnly(field127_); }
4288 }
4289 public int Field127Count {
4290 get { return field127_.Count; }
4291 }
4292 public string GetField127(int index) {
4293 return field127_[index];
4294 }
4295
4296 public const int Field129FieldNumber = 129;
4297 private bool hasField129;
4298 private int field129_ = 0;
4299 public bool HasField129 {
4300 get { return hasField129; }
4301 }
4302 public int Field129 {
4303 get { return field129_; }
4304 }
4305
4306 public const int Field130FieldNumber = 130;
4307 private pbc::PopsicleList<long> field130_ = new pbc::PopsicleList<long>();
4308 public scg::IList<long> Field130List {
4309 get { return pbc::Lists.AsReadOnly(field130_); }
4310 }
4311 public int Field130Count {
4312 get { return field130_.Count; }
4313 }
4314 public long GetField130(int index) {
4315 return field130_[index];
4316 }
4317
4318 public const int Field205FieldNumber = 205;
4319 private bool hasField205;
4320 private bool field205_ = false;
4321 public bool HasField205 {
4322 get { return hasField205; }
4323 }
4324 public bool Field205 {
4325 get { return field205_; }
4326 }
4327
4328 public const int Field206FieldNumber = 206;
4329 private bool hasField206;
4330 private bool field206_ = false;
4331 public bool HasField206 {
4332 get { return hasField206; }
4333 }
4334 public bool Field206 {
4335 get { return field206_; }
4336 }
4337
4338 public override bool IsInitialized {
4339 get {
4340 return true;
4341 }
4342 }
4343
csharptestffafdaa2011-06-03 12:58:14 -05004344 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05004345 int size = SerializedSize;
4346 if (HasField1) {
csharptest90922db2011-06-03 11:57:47 -05004347 output.WriteString(1, "field1", Field1);
csharptest27bfcc52011-06-02 12:04:06 -05004348 }
4349 if (HasField2) {
csharptest90922db2011-06-03 11:57:47 -05004350 output.WriteBytes(2, "field2", Field2);
csharptest27bfcc52011-06-02 12:04:06 -05004351 }
4352 if (HasField3) {
csharptest90922db2011-06-03 11:57:47 -05004353 output.WriteInt64(3, "field3", Field3);
csharptest27bfcc52011-06-02 12:04:06 -05004354 }
4355 if (HasField4) {
csharptest90922db2011-06-03 11:57:47 -05004356 output.WriteInt64(4, "field4", Field4);
csharptest27bfcc52011-06-02 12:04:06 -05004357 }
4358 if (HasField6) {
csharptest90922db2011-06-03 11:57:47 -05004359 output.WriteString(6, "field6", Field6);
csharptest27bfcc52011-06-02 12:04:06 -05004360 }
csharptest90922db2011-06-03 11:57:47 -05004361 if (group1_.Count > 0) {
csharptestffafdaa2011-06-03 12:58:14 -05004362 output.WriteArray(pbd::FieldType.Group, 10, "group1", group1_);
csharptest27bfcc52011-06-02 12:04:06 -05004363 }
4364 if (HasField21) {
csharptest90922db2011-06-03 11:57:47 -05004365 output.WriteInt32(21, "field21", Field21);
csharptest27bfcc52011-06-02 12:04:06 -05004366 }
4367 if (HasField25) {
csharptest90922db2011-06-03 11:57:47 -05004368 output.WriteFloat(25, "field25", Field25);
csharptest27bfcc52011-06-02 12:04:06 -05004369 }
4370 if (HasField30) {
csharptest90922db2011-06-03 11:57:47 -05004371 output.WriteInt64(30, "field30", Field30);
csharptest27bfcc52011-06-02 12:04:06 -05004372 }
4373 if (HasField63) {
csharptest90922db2011-06-03 11:57:47 -05004374 output.WriteInt32(63, "field63", Field63);
csharptest27bfcc52011-06-02 12:04:06 -05004375 }
4376 if (HasField71) {
csharptest90922db2011-06-03 11:57:47 -05004377 output.WriteInt32(71, "field71", Field71);
csharptest27bfcc52011-06-02 12:04:06 -05004378 }
4379 if (HasField75) {
csharptest90922db2011-06-03 11:57:47 -05004380 output.WriteBool(75, "field75", Field75);
csharptest27bfcc52011-06-02 12:04:06 -05004381 }
4382 if (HasField109) {
csharptest90922db2011-06-03 11:57:47 -05004383 output.WriteInt32(109, "field109", Field109);
csharptest27bfcc52011-06-02 12:04:06 -05004384 }
4385 if (field127_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05004386 output.WriteArray(pbd::FieldType.String, 127, "field127", field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004387 }
4388 if (field128_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05004389 output.WriteArray(pbd::FieldType.String, 128, "field128", field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004390 }
4391 if (HasField129) {
csharptest90922db2011-06-03 11:57:47 -05004392 output.WriteInt32(129, "field129", Field129);
csharptest27bfcc52011-06-02 12:04:06 -05004393 }
4394 if (field130_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05004395 output.WriteArray(pbd::FieldType.Int64, 130, "field130", field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004396 }
4397 if (HasField131) {
csharptest90922db2011-06-03 11:57:47 -05004398 output.WriteInt64(131, "field131", Field131);
csharptest27bfcc52011-06-02 12:04:06 -05004399 }
4400 if (HasField205) {
csharptest90922db2011-06-03 11:57:47 -05004401 output.WriteBool(205, "field205", Field205);
csharptest27bfcc52011-06-02 12:04:06 -05004402 }
4403 if (HasField206) {
csharptest90922db2011-06-03 11:57:47 -05004404 output.WriteBool(206, "field206", Field206);
csharptest27bfcc52011-06-02 12:04:06 -05004405 }
4406 if (HasField210) {
csharptest90922db2011-06-03 11:57:47 -05004407 output.WriteInt32(210, "field210", Field210);
csharptest27bfcc52011-06-02 12:04:06 -05004408 }
4409 if (HasField211) {
csharptest90922db2011-06-03 11:57:47 -05004410 output.WriteInt32(211, "field211", Field211);
csharptest27bfcc52011-06-02 12:04:06 -05004411 }
4412 if (HasField212) {
csharptest90922db2011-06-03 11:57:47 -05004413 output.WriteInt32(212, "field212", Field212);
csharptest27bfcc52011-06-02 12:04:06 -05004414 }
4415 if (HasField213) {
csharptest90922db2011-06-03 11:57:47 -05004416 output.WriteInt32(213, "field213", Field213);
csharptest27bfcc52011-06-02 12:04:06 -05004417 }
4418 if (HasField216) {
csharptest90922db2011-06-03 11:57:47 -05004419 output.WriteInt32(216, "field216", Field216);
csharptest27bfcc52011-06-02 12:04:06 -05004420 }
4421 if (HasField217) {
csharptest90922db2011-06-03 11:57:47 -05004422 output.WriteInt32(217, "field217", Field217);
csharptest27bfcc52011-06-02 12:04:06 -05004423 }
4424 if (HasField218) {
csharptest90922db2011-06-03 11:57:47 -05004425 output.WriteInt32(218, "field218", Field218);
csharptest27bfcc52011-06-02 12:04:06 -05004426 }
4427 if (HasField220) {
csharptest90922db2011-06-03 11:57:47 -05004428 output.WriteInt32(220, "field220", Field220);
csharptest27bfcc52011-06-02 12:04:06 -05004429 }
4430 if (HasField221) {
csharptest90922db2011-06-03 11:57:47 -05004431 output.WriteInt32(221, "field221", Field221);
csharptest27bfcc52011-06-02 12:04:06 -05004432 }
4433 if (HasField222) {
csharptest90922db2011-06-03 11:57:47 -05004434 output.WriteFloat(222, "field222", Field222);
csharptest27bfcc52011-06-02 12:04:06 -05004435 }
4436 UnknownFields.WriteTo(output);
4437 }
4438
4439 private int memoizedSerializedSize = -1;
4440 public override int SerializedSize {
4441 get {
4442 int size = memoizedSerializedSize;
4443 if (size != -1) return size;
4444
4445 size = 0;
4446 if (HasField1) {
4447 size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
4448 }
4449 if (HasField3) {
4450 size += pb::CodedOutputStream.ComputeInt64Size(3, Field3);
4451 }
4452 if (HasField4) {
4453 size += pb::CodedOutputStream.ComputeInt64Size(4, Field4);
4454 }
4455 if (HasField30) {
4456 size += pb::CodedOutputStream.ComputeInt64Size(30, Field30);
4457 }
4458 if (HasField75) {
4459 size += pb::CodedOutputStream.ComputeBoolSize(75, Field75);
4460 }
4461 if (HasField6) {
4462 size += pb::CodedOutputStream.ComputeStringSize(6, Field6);
4463 }
4464 if (HasField2) {
4465 size += pb::CodedOutputStream.ComputeBytesSize(2, Field2);
4466 }
4467 if (HasField21) {
4468 size += pb::CodedOutputStream.ComputeInt32Size(21, Field21);
4469 }
4470 if (HasField71) {
4471 size += pb::CodedOutputStream.ComputeInt32Size(71, Field71);
4472 }
4473 if (HasField25) {
4474 size += pb::CodedOutputStream.ComputeFloatSize(25, Field25);
4475 }
4476 if (HasField109) {
4477 size += pb::CodedOutputStream.ComputeInt32Size(109, Field109);
4478 }
4479 if (HasField210) {
4480 size += pb::CodedOutputStream.ComputeInt32Size(210, Field210);
4481 }
4482 if (HasField211) {
4483 size += pb::CodedOutputStream.ComputeInt32Size(211, Field211);
4484 }
4485 if (HasField212) {
4486 size += pb::CodedOutputStream.ComputeInt32Size(212, Field212);
4487 }
4488 if (HasField213) {
4489 size += pb::CodedOutputStream.ComputeInt32Size(213, Field213);
4490 }
4491 if (HasField216) {
4492 size += pb::CodedOutputStream.ComputeInt32Size(216, Field216);
4493 }
4494 if (HasField217) {
4495 size += pb::CodedOutputStream.ComputeInt32Size(217, Field217);
4496 }
4497 if (HasField218) {
4498 size += pb::CodedOutputStream.ComputeInt32Size(218, Field218);
4499 }
4500 if (HasField220) {
4501 size += pb::CodedOutputStream.ComputeInt32Size(220, Field220);
4502 }
4503 if (HasField221) {
4504 size += pb::CodedOutputStream.ComputeInt32Size(221, Field221);
4505 }
4506 if (HasField222) {
4507 size += pb::CodedOutputStream.ComputeFloatSize(222, Field222);
4508 }
4509 if (HasField63) {
4510 size += pb::CodedOutputStream.ComputeInt32Size(63, Field63);
4511 }
4512 foreach (global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 element in Group1List) {
4513 size += pb::CodedOutputStream.ComputeGroupSize(10, element);
4514 }
4515 {
4516 int dataSize = 0;
4517 foreach (string element in Field128List) {
4518 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4519 }
4520 size += dataSize;
4521 size += 2 * field128_.Count;
4522 }
4523 if (HasField131) {
4524 size += pb::CodedOutputStream.ComputeInt64Size(131, Field131);
4525 }
4526 {
4527 int dataSize = 0;
4528 foreach (string element in Field127List) {
4529 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4530 }
4531 size += dataSize;
4532 size += 2 * field127_.Count;
4533 }
4534 if (HasField129) {
4535 size += pb::CodedOutputStream.ComputeInt32Size(129, Field129);
4536 }
4537 {
4538 int dataSize = 0;
4539 foreach (long element in Field130List) {
4540 dataSize += pb::CodedOutputStream.ComputeInt64SizeNoTag(element);
4541 }
4542 size += dataSize;
4543 size += 2 * field130_.Count;
4544 }
4545 if (HasField205) {
4546 size += pb::CodedOutputStream.ComputeBoolSize(205, Field205);
4547 }
4548 if (HasField206) {
4549 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
4550 }
4551 size += UnknownFields.SerializedSize;
4552 memoizedSerializedSize = size;
4553 return size;
4554 }
4555 }
4556
4557 public static SpeedMessage2 ParseFrom(pb::ByteString data) {
4558 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4559 }
4560 public static SpeedMessage2 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
4561 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4562 }
4563 public static SpeedMessage2 ParseFrom(byte[] data) {
4564 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4565 }
4566 public static SpeedMessage2 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
4567 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4568 }
4569 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input) {
4570 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4571 }
4572 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4573 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4574 }
4575 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input) {
4576 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
4577 }
4578 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4579 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
4580 }
csharptest17699c22011-06-03 21:57:15 -05004581 public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05004582 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4583 }
csharptest17699c22011-06-03 21:57:15 -05004584 public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05004585 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4586 }
4587 public static Builder CreateBuilder() { return new Builder(); }
4588 public override Builder ToBuilder() { return CreateBuilder(this); }
4589 public override Builder CreateBuilderForType() { return new Builder(); }
4590 public static Builder CreateBuilder(SpeedMessage2 prototype) {
4591 return (Builder) new Builder().MergeFrom(prototype);
4592 }
4593
4594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4595 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
4596 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
4597 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2, Builder> {
4598 protected override Builder ThisBuilder {
4599 get { return this; }
4600 }
4601 public Builder() {}
4602
4603 SpeedMessage2 result = new SpeedMessage2();
4604
4605 protected override SpeedMessage2 MessageBeingBuilt {
4606 get { return result; }
4607 }
4608
4609 public override Builder Clear() {
4610 result = new SpeedMessage2();
4611 return this;
4612 }
4613
4614 public override Builder Clone() {
4615 return new Builder().MergeFrom(result);
4616 }
4617
4618 public override pbd::MessageDescriptor DescriptorForType {
4619 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Descriptor; }
4620 }
4621
4622 public override SpeedMessage2 DefaultInstanceForType {
4623 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance; }
4624 }
4625
4626 public override SpeedMessage2 BuildPartial() {
4627 if (result == null) {
4628 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
4629 }
4630 result.group1_.MakeReadOnly();
4631 result.field128_.MakeReadOnly();
4632 result.field127_.MakeReadOnly();
4633 result.field130_.MakeReadOnly();
4634 SpeedMessage2 returnMe = result;
4635 result = null;
4636 return returnMe;
4637 }
4638
4639 public override Builder MergeFrom(pb::IMessage other) {
4640 if (other is SpeedMessage2) {
4641 return MergeFrom((SpeedMessage2) other);
4642 } else {
4643 base.MergeFrom(other);
4644 return this;
4645 }
4646 }
4647
4648 public override Builder MergeFrom(SpeedMessage2 other) {
4649 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance) return this;
4650 if (other.HasField1) {
4651 Field1 = other.Field1;
4652 }
4653 if (other.HasField3) {
4654 Field3 = other.Field3;
4655 }
4656 if (other.HasField4) {
4657 Field4 = other.Field4;
4658 }
4659 if (other.HasField30) {
4660 Field30 = other.Field30;
4661 }
4662 if (other.HasField75) {
4663 Field75 = other.Field75;
4664 }
4665 if (other.HasField6) {
4666 Field6 = other.Field6;
4667 }
4668 if (other.HasField2) {
4669 Field2 = other.Field2;
4670 }
4671 if (other.HasField21) {
4672 Field21 = other.Field21;
4673 }
4674 if (other.HasField71) {
4675 Field71 = other.Field71;
4676 }
4677 if (other.HasField25) {
4678 Field25 = other.Field25;
4679 }
4680 if (other.HasField109) {
4681 Field109 = other.Field109;
4682 }
4683 if (other.HasField210) {
4684 Field210 = other.Field210;
4685 }
4686 if (other.HasField211) {
4687 Field211 = other.Field211;
4688 }
4689 if (other.HasField212) {
4690 Field212 = other.Field212;
4691 }
4692 if (other.HasField213) {
4693 Field213 = other.Field213;
4694 }
4695 if (other.HasField216) {
4696 Field216 = other.Field216;
4697 }
4698 if (other.HasField217) {
4699 Field217 = other.Field217;
4700 }
4701 if (other.HasField218) {
4702 Field218 = other.Field218;
4703 }
4704 if (other.HasField220) {
4705 Field220 = other.Field220;
4706 }
4707 if (other.HasField221) {
4708 Field221 = other.Field221;
4709 }
4710 if (other.HasField222) {
4711 Field222 = other.Field222;
4712 }
4713 if (other.HasField63) {
4714 Field63 = other.Field63;
4715 }
4716 if (other.group1_.Count != 0) {
4717 base.AddRange(other.group1_, result.group1_);
4718 }
4719 if (other.field128_.Count != 0) {
4720 base.AddRange(other.field128_, result.field128_);
4721 }
4722 if (other.HasField131) {
4723 Field131 = other.Field131;
4724 }
4725 if (other.field127_.Count != 0) {
4726 base.AddRange(other.field127_, result.field127_);
4727 }
4728 if (other.HasField129) {
4729 Field129 = other.Field129;
4730 }
4731 if (other.field130_.Count != 0) {
4732 base.AddRange(other.field130_, result.field130_);
4733 }
4734 if (other.HasField205) {
4735 Field205 = other.Field205;
4736 }
4737 if (other.HasField206) {
4738 Field206 = other.Field206;
4739 }
4740 this.MergeUnknownFields(other.UnknownFields);
4741 return this;
4742 }
4743
csharptest17699c22011-06-03 21:57:15 -05004744 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05004745 return MergeFrom(input, pb::ExtensionRegistry.Empty);
4746 }
4747
csharptest17699c22011-06-03 21:57:15 -05004748 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05004749 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05004750 uint tag;
4751 string field_name;
4752 while (input.ReadTag(out tag, out field_name)) {
csharptest27bfcc52011-06-02 12:04:06 -05004753 switch (tag) {
4754 case 0: {
csharptest99284412011-06-03 14:51:06 -05004755 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05004756 }
4757 default: {
4758 if (pb::WireFormat.IsEndGroupTag(tag)) {
4759 if (unknownFields != null) {
4760 this.UnknownFields = unknownFields.Build();
4761 }
4762 return this;
4763 }
4764 if (unknownFields == null) {
4765 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4766 }
csharptestd2af9e92011-06-03 21:35:02 -05004767 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05004768 break;
4769 }
4770 case 10: {
csharptestd2af9e92011-06-03 21:35:02 -05004771 result.hasField1 |= input.ReadString(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05004772 break;
4773 }
4774 case 18: {
csharptestd2af9e92011-06-03 21:35:02 -05004775 result.hasField2 |= input.ReadBytes(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05004776 break;
4777 }
4778 case 24: {
csharptestd2af9e92011-06-03 21:35:02 -05004779 result.hasField3 |= input.ReadInt64(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05004780 break;
4781 }
4782 case 32: {
csharptestd2af9e92011-06-03 21:35:02 -05004783 result.hasField4 |= input.ReadInt64(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05004784 break;
4785 }
4786 case 50: {
csharptestd2af9e92011-06-03 21:35:02 -05004787 result.hasField6 |= input.ReadString(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05004788 break;
4789 }
4790 case 83: {
csharptestd2af9e92011-06-03 21:35:02 -05004791 input.ReadGroupArray(tag, field_name, result.group1_, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance, extensionRegistry);
csharptest27bfcc52011-06-02 12:04:06 -05004792 break;
4793 }
4794 case 168: {
csharptestd2af9e92011-06-03 21:35:02 -05004795 result.hasField21 |= input.ReadInt32(ref result.field21_);
csharptest27bfcc52011-06-02 12:04:06 -05004796 break;
4797 }
4798 case 205: {
csharptestd2af9e92011-06-03 21:35:02 -05004799 result.hasField25 |= input.ReadFloat(ref result.field25_);
csharptest27bfcc52011-06-02 12:04:06 -05004800 break;
4801 }
4802 case 240: {
csharptestd2af9e92011-06-03 21:35:02 -05004803 result.hasField30 |= input.ReadInt64(ref result.field30_);
csharptest27bfcc52011-06-02 12:04:06 -05004804 break;
4805 }
4806 case 504: {
csharptestd2af9e92011-06-03 21:35:02 -05004807 result.hasField63 |= input.ReadInt32(ref result.field63_);
csharptest27bfcc52011-06-02 12:04:06 -05004808 break;
4809 }
4810 case 568: {
csharptestd2af9e92011-06-03 21:35:02 -05004811 result.hasField71 |= input.ReadInt32(ref result.field71_);
csharptest27bfcc52011-06-02 12:04:06 -05004812 break;
4813 }
4814 case 600: {
csharptestd2af9e92011-06-03 21:35:02 -05004815 result.hasField75 |= input.ReadBool(ref result.field75_);
csharptest27bfcc52011-06-02 12:04:06 -05004816 break;
4817 }
4818 case 872: {
csharptestd2af9e92011-06-03 21:35:02 -05004819 result.hasField109 |= input.ReadInt32(ref result.field109_);
csharptest27bfcc52011-06-02 12:04:06 -05004820 break;
4821 }
4822 case 1018: {
csharptestd2af9e92011-06-03 21:35:02 -05004823 input.ReadPrimitiveArray(pbd::FieldType.String, tag, field_name, result.field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004824 break;
4825 }
4826 case 1026: {
csharptestd2af9e92011-06-03 21:35:02 -05004827 input.ReadPrimitiveArray(pbd::FieldType.String, tag, field_name, result.field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004828 break;
4829 }
4830 case 1032: {
csharptestd2af9e92011-06-03 21:35:02 -05004831 result.hasField129 |= input.ReadInt32(ref result.field129_);
csharptest27bfcc52011-06-02 12:04:06 -05004832 break;
4833 }
csharptest6da31702011-06-04 12:52:57 -05004834 case 1042:
csharptest27bfcc52011-06-02 12:04:06 -05004835 case 1040: {
csharptestd2af9e92011-06-03 21:35:02 -05004836 input.ReadPrimitiveArray(pbd::FieldType.Int64, tag, field_name, result.field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004837 break;
4838 }
4839 case 1048: {
csharptestd2af9e92011-06-03 21:35:02 -05004840 result.hasField131 |= input.ReadInt64(ref result.field131_);
csharptest27bfcc52011-06-02 12:04:06 -05004841 break;
4842 }
4843 case 1640: {
csharptestd2af9e92011-06-03 21:35:02 -05004844 result.hasField205 |= input.ReadBool(ref result.field205_);
csharptest27bfcc52011-06-02 12:04:06 -05004845 break;
4846 }
4847 case 1648: {
csharptestd2af9e92011-06-03 21:35:02 -05004848 result.hasField206 |= input.ReadBool(ref result.field206_);
csharptest27bfcc52011-06-02 12:04:06 -05004849 break;
4850 }
4851 case 1680: {
csharptestd2af9e92011-06-03 21:35:02 -05004852 result.hasField210 |= input.ReadInt32(ref result.field210_);
csharptest27bfcc52011-06-02 12:04:06 -05004853 break;
4854 }
4855 case 1688: {
csharptestd2af9e92011-06-03 21:35:02 -05004856 result.hasField211 |= input.ReadInt32(ref result.field211_);
csharptest27bfcc52011-06-02 12:04:06 -05004857 break;
4858 }
4859 case 1696: {
csharptestd2af9e92011-06-03 21:35:02 -05004860 result.hasField212 |= input.ReadInt32(ref result.field212_);
csharptest27bfcc52011-06-02 12:04:06 -05004861 break;
4862 }
4863 case 1704: {
csharptestd2af9e92011-06-03 21:35:02 -05004864 result.hasField213 |= input.ReadInt32(ref result.field213_);
csharptest27bfcc52011-06-02 12:04:06 -05004865 break;
4866 }
4867 case 1728: {
csharptestd2af9e92011-06-03 21:35:02 -05004868 result.hasField216 |= input.ReadInt32(ref result.field216_);
csharptest27bfcc52011-06-02 12:04:06 -05004869 break;
4870 }
4871 case 1736: {
csharptestd2af9e92011-06-03 21:35:02 -05004872 result.hasField217 |= input.ReadInt32(ref result.field217_);
csharptest27bfcc52011-06-02 12:04:06 -05004873 break;
4874 }
4875 case 1744: {
csharptestd2af9e92011-06-03 21:35:02 -05004876 result.hasField218 |= input.ReadInt32(ref result.field218_);
csharptest27bfcc52011-06-02 12:04:06 -05004877 break;
4878 }
4879 case 1760: {
csharptestd2af9e92011-06-03 21:35:02 -05004880 result.hasField220 |= input.ReadInt32(ref result.field220_);
csharptest27bfcc52011-06-02 12:04:06 -05004881 break;
4882 }
4883 case 1768: {
csharptestd2af9e92011-06-03 21:35:02 -05004884 result.hasField221 |= input.ReadInt32(ref result.field221_);
csharptest27bfcc52011-06-02 12:04:06 -05004885 break;
4886 }
4887 case 1781: {
csharptestd2af9e92011-06-03 21:35:02 -05004888 result.hasField222 |= input.ReadFloat(ref result.field222_);
csharptest27bfcc52011-06-02 12:04:06 -05004889 break;
4890 }
4891 }
4892 }
csharptest123e5342011-06-03 14:15:21 -05004893
4894 if (unknownFields != null) {
4895 this.UnknownFields = unknownFields.Build();
4896 }
4897 return this;
csharptest27bfcc52011-06-02 12:04:06 -05004898 }
4899
4900
4901 public bool HasField1 {
4902 get { return result.HasField1; }
4903 }
4904 public string Field1 {
4905 get { return result.Field1; }
4906 set { SetField1(value); }
4907 }
4908 public Builder SetField1(string value) {
4909 pb::ThrowHelper.ThrowIfNull(value, "value");
4910 result.hasField1 = true;
4911 result.field1_ = value;
4912 return this;
4913 }
4914 public Builder ClearField1() {
4915 result.hasField1 = false;
4916 result.field1_ = "";
4917 return this;
4918 }
4919
4920 public bool HasField3 {
4921 get { return result.HasField3; }
4922 }
4923 public long Field3 {
4924 get { return result.Field3; }
4925 set { SetField3(value); }
4926 }
4927 public Builder SetField3(long value) {
4928 result.hasField3 = true;
4929 result.field3_ = value;
4930 return this;
4931 }
4932 public Builder ClearField3() {
4933 result.hasField3 = false;
4934 result.field3_ = 0L;
4935 return this;
4936 }
4937
4938 public bool HasField4 {
4939 get { return result.HasField4; }
4940 }
4941 public long Field4 {
4942 get { return result.Field4; }
4943 set { SetField4(value); }
4944 }
4945 public Builder SetField4(long value) {
4946 result.hasField4 = true;
4947 result.field4_ = value;
4948 return this;
4949 }
4950 public Builder ClearField4() {
4951 result.hasField4 = false;
4952 result.field4_ = 0L;
4953 return this;
4954 }
4955
4956 public bool HasField30 {
4957 get { return result.HasField30; }
4958 }
4959 public long Field30 {
4960 get { return result.Field30; }
4961 set { SetField30(value); }
4962 }
4963 public Builder SetField30(long value) {
4964 result.hasField30 = true;
4965 result.field30_ = value;
4966 return this;
4967 }
4968 public Builder ClearField30() {
4969 result.hasField30 = false;
4970 result.field30_ = 0L;
4971 return this;
4972 }
4973
4974 public bool HasField75 {
4975 get { return result.HasField75; }
4976 }
4977 public bool Field75 {
4978 get { return result.Field75; }
4979 set { SetField75(value); }
4980 }
4981 public Builder SetField75(bool value) {
4982 result.hasField75 = true;
4983 result.field75_ = value;
4984 return this;
4985 }
4986 public Builder ClearField75() {
4987 result.hasField75 = false;
4988 result.field75_ = false;
4989 return this;
4990 }
4991
4992 public bool HasField6 {
4993 get { return result.HasField6; }
4994 }
4995 public string Field6 {
4996 get { return result.Field6; }
4997 set { SetField6(value); }
4998 }
4999 public Builder SetField6(string value) {
5000 pb::ThrowHelper.ThrowIfNull(value, "value");
5001 result.hasField6 = true;
5002 result.field6_ = value;
5003 return this;
5004 }
5005 public Builder ClearField6() {
5006 result.hasField6 = false;
5007 result.field6_ = "";
5008 return this;
5009 }
5010
5011 public bool HasField2 {
5012 get { return result.HasField2; }
5013 }
5014 public pb::ByteString Field2 {
5015 get { return result.Field2; }
5016 set { SetField2(value); }
5017 }
5018 public Builder SetField2(pb::ByteString value) {
5019 pb::ThrowHelper.ThrowIfNull(value, "value");
5020 result.hasField2 = true;
5021 result.field2_ = value;
5022 return this;
5023 }
5024 public Builder ClearField2() {
5025 result.hasField2 = false;
5026 result.field2_ = pb::ByteString.Empty;
5027 return this;
5028 }
5029
5030 public bool HasField21 {
5031 get { return result.HasField21; }
5032 }
5033 public int Field21 {
5034 get { return result.Field21; }
5035 set { SetField21(value); }
5036 }
5037 public Builder SetField21(int value) {
5038 result.hasField21 = true;
5039 result.field21_ = value;
5040 return this;
5041 }
5042 public Builder ClearField21() {
5043 result.hasField21 = false;
5044 result.field21_ = 0;
5045 return this;
5046 }
5047
5048 public bool HasField71 {
5049 get { return result.HasField71; }
5050 }
5051 public int Field71 {
5052 get { return result.Field71; }
5053 set { SetField71(value); }
5054 }
5055 public Builder SetField71(int value) {
5056 result.hasField71 = true;
5057 result.field71_ = value;
5058 return this;
5059 }
5060 public Builder ClearField71() {
5061 result.hasField71 = false;
5062 result.field71_ = 0;
5063 return this;
5064 }
5065
5066 public bool HasField25 {
5067 get { return result.HasField25; }
5068 }
5069 public float Field25 {
5070 get { return result.Field25; }
5071 set { SetField25(value); }
5072 }
5073 public Builder SetField25(float value) {
5074 result.hasField25 = true;
5075 result.field25_ = value;
5076 return this;
5077 }
5078 public Builder ClearField25() {
5079 result.hasField25 = false;
5080 result.field25_ = 0F;
5081 return this;
5082 }
5083
5084 public bool HasField109 {
5085 get { return result.HasField109; }
5086 }
5087 public int Field109 {
5088 get { return result.Field109; }
5089 set { SetField109(value); }
5090 }
5091 public Builder SetField109(int value) {
5092 result.hasField109 = true;
5093 result.field109_ = value;
5094 return this;
5095 }
5096 public Builder ClearField109() {
5097 result.hasField109 = false;
5098 result.field109_ = 0;
5099 return this;
5100 }
5101
5102 public bool HasField210 {
5103 get { return result.HasField210; }
5104 }
5105 public int Field210 {
5106 get { return result.Field210; }
5107 set { SetField210(value); }
5108 }
5109 public Builder SetField210(int value) {
5110 result.hasField210 = true;
5111 result.field210_ = value;
5112 return this;
5113 }
5114 public Builder ClearField210() {
5115 result.hasField210 = false;
5116 result.field210_ = 0;
5117 return this;
5118 }
5119
5120 public bool HasField211 {
5121 get { return result.HasField211; }
5122 }
5123 public int Field211 {
5124 get { return result.Field211; }
5125 set { SetField211(value); }
5126 }
5127 public Builder SetField211(int value) {
5128 result.hasField211 = true;
5129 result.field211_ = value;
5130 return this;
5131 }
5132 public Builder ClearField211() {
5133 result.hasField211 = false;
5134 result.field211_ = 0;
5135 return this;
5136 }
5137
5138 public bool HasField212 {
5139 get { return result.HasField212; }
5140 }
5141 public int Field212 {
5142 get { return result.Field212; }
5143 set { SetField212(value); }
5144 }
5145 public Builder SetField212(int value) {
5146 result.hasField212 = true;
5147 result.field212_ = value;
5148 return this;
5149 }
5150 public Builder ClearField212() {
5151 result.hasField212 = false;
5152 result.field212_ = 0;
5153 return this;
5154 }
5155
5156 public bool HasField213 {
5157 get { return result.HasField213; }
5158 }
5159 public int Field213 {
5160 get { return result.Field213; }
5161 set { SetField213(value); }
5162 }
5163 public Builder SetField213(int value) {
5164 result.hasField213 = true;
5165 result.field213_ = value;
5166 return this;
5167 }
5168 public Builder ClearField213() {
5169 result.hasField213 = false;
5170 result.field213_ = 0;
5171 return this;
5172 }
5173
5174 public bool HasField216 {
5175 get { return result.HasField216; }
5176 }
5177 public int Field216 {
5178 get { return result.Field216; }
5179 set { SetField216(value); }
5180 }
5181 public Builder SetField216(int value) {
5182 result.hasField216 = true;
5183 result.field216_ = value;
5184 return this;
5185 }
5186 public Builder ClearField216() {
5187 result.hasField216 = false;
5188 result.field216_ = 0;
5189 return this;
5190 }
5191
5192 public bool HasField217 {
5193 get { return result.HasField217; }
5194 }
5195 public int Field217 {
5196 get { return result.Field217; }
5197 set { SetField217(value); }
5198 }
5199 public Builder SetField217(int value) {
5200 result.hasField217 = true;
5201 result.field217_ = value;
5202 return this;
5203 }
5204 public Builder ClearField217() {
5205 result.hasField217 = false;
5206 result.field217_ = 0;
5207 return this;
5208 }
5209
5210 public bool HasField218 {
5211 get { return result.HasField218; }
5212 }
5213 public int Field218 {
5214 get { return result.Field218; }
5215 set { SetField218(value); }
5216 }
5217 public Builder SetField218(int value) {
5218 result.hasField218 = true;
5219 result.field218_ = value;
5220 return this;
5221 }
5222 public Builder ClearField218() {
5223 result.hasField218 = false;
5224 result.field218_ = 0;
5225 return this;
5226 }
5227
5228 public bool HasField220 {
5229 get { return result.HasField220; }
5230 }
5231 public int Field220 {
5232 get { return result.Field220; }
5233 set { SetField220(value); }
5234 }
5235 public Builder SetField220(int value) {
5236 result.hasField220 = true;
5237 result.field220_ = value;
5238 return this;
5239 }
5240 public Builder ClearField220() {
5241 result.hasField220 = false;
5242 result.field220_ = 0;
5243 return this;
5244 }
5245
5246 public bool HasField221 {
5247 get { return result.HasField221; }
5248 }
5249 public int Field221 {
5250 get { return result.Field221; }
5251 set { SetField221(value); }
5252 }
5253 public Builder SetField221(int value) {
5254 result.hasField221 = true;
5255 result.field221_ = value;
5256 return this;
5257 }
5258 public Builder ClearField221() {
5259 result.hasField221 = false;
5260 result.field221_ = 0;
5261 return this;
5262 }
5263
5264 public bool HasField222 {
5265 get { return result.HasField222; }
5266 }
5267 public float Field222 {
5268 get { return result.Field222; }
5269 set { SetField222(value); }
5270 }
5271 public Builder SetField222(float value) {
5272 result.hasField222 = true;
5273 result.field222_ = value;
5274 return this;
5275 }
5276 public Builder ClearField222() {
5277 result.hasField222 = false;
5278 result.field222_ = 0F;
5279 return this;
5280 }
5281
5282 public bool HasField63 {
5283 get { return result.HasField63; }
5284 }
5285 public int Field63 {
5286 get { return result.Field63; }
5287 set { SetField63(value); }
5288 }
5289 public Builder SetField63(int value) {
5290 result.hasField63 = true;
5291 result.field63_ = value;
5292 return this;
5293 }
5294 public Builder ClearField63() {
5295 result.hasField63 = false;
5296 result.field63_ = 0;
5297 return this;
5298 }
5299
5300 public pbc::IPopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
5301 get { return result.group1_; }
5302 }
5303 public int Group1Count {
5304 get { return result.Group1Count; }
5305 }
5306 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
5307 return result.GetGroup1(index);
5308 }
5309 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5310 pb::ThrowHelper.ThrowIfNull(value, "value");
5311 result.group1_[index] = value;
5312 return this;
5313 }
5314 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5315 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5316 result.group1_[index] = builderForValue.Build();
5317 return this;
5318 }
5319 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5320 pb::ThrowHelper.ThrowIfNull(value, "value");
5321 result.group1_.Add(value);
5322 return this;
5323 }
5324 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5325 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5326 result.group1_.Add(builderForValue.Build());
5327 return this;
5328 }
5329 public Builder AddRangeGroup1(scg::IEnumerable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> values) {
5330 base.AddRange(values, result.group1_);
5331 return this;
5332 }
5333 public Builder ClearGroup1() {
5334 result.group1_.Clear();
5335 return this;
5336 }
5337
5338 public pbc::IPopsicleList<string> Field128List {
5339 get { return result.field128_; }
5340 }
5341 public int Field128Count {
5342 get { return result.Field128Count; }
5343 }
5344 public string GetField128(int index) {
5345 return result.GetField128(index);
5346 }
5347 public Builder SetField128(int index, string value) {
5348 pb::ThrowHelper.ThrowIfNull(value, "value");
5349 result.field128_[index] = value;
5350 return this;
5351 }
5352 public Builder AddField128(string value) {
5353 pb::ThrowHelper.ThrowIfNull(value, "value");
5354 result.field128_.Add(value);
5355 return this;
5356 }
5357 public Builder AddRangeField128(scg::IEnumerable<string> values) {
5358 base.AddRange(values, result.field128_);
5359 return this;
5360 }
5361 public Builder ClearField128() {
5362 result.field128_.Clear();
5363 return this;
5364 }
5365
5366 public bool HasField131 {
5367 get { return result.HasField131; }
5368 }
5369 public long Field131 {
5370 get { return result.Field131; }
5371 set { SetField131(value); }
5372 }
5373 public Builder SetField131(long value) {
5374 result.hasField131 = true;
5375 result.field131_ = value;
5376 return this;
5377 }
5378 public Builder ClearField131() {
5379 result.hasField131 = false;
5380 result.field131_ = 0L;
5381 return this;
5382 }
5383
5384 public pbc::IPopsicleList<string> Field127List {
5385 get { return result.field127_; }
5386 }
5387 public int Field127Count {
5388 get { return result.Field127Count; }
5389 }
5390 public string GetField127(int index) {
5391 return result.GetField127(index);
5392 }
5393 public Builder SetField127(int index, string value) {
5394 pb::ThrowHelper.ThrowIfNull(value, "value");
5395 result.field127_[index] = value;
5396 return this;
5397 }
5398 public Builder AddField127(string value) {
5399 pb::ThrowHelper.ThrowIfNull(value, "value");
5400 result.field127_.Add(value);
5401 return this;
5402 }
5403 public Builder AddRangeField127(scg::IEnumerable<string> values) {
5404 base.AddRange(values, result.field127_);
5405 return this;
5406 }
5407 public Builder ClearField127() {
5408 result.field127_.Clear();
5409 return this;
5410 }
5411
5412 public bool HasField129 {
5413 get { return result.HasField129; }
5414 }
5415 public int Field129 {
5416 get { return result.Field129; }
5417 set { SetField129(value); }
5418 }
5419 public Builder SetField129(int value) {
5420 result.hasField129 = true;
5421 result.field129_ = value;
5422 return this;
5423 }
5424 public Builder ClearField129() {
5425 result.hasField129 = false;
5426 result.field129_ = 0;
5427 return this;
5428 }
5429
5430 public pbc::IPopsicleList<long> Field130List {
5431 get { return result.field130_; }
5432 }
5433 public int Field130Count {
5434 get { return result.Field130Count; }
5435 }
5436 public long GetField130(int index) {
5437 return result.GetField130(index);
5438 }
5439 public Builder SetField130(int index, long value) {
5440 result.field130_[index] = value;
5441 return this;
5442 }
5443 public Builder AddField130(long value) {
5444 result.field130_.Add(value);
5445 return this;
5446 }
5447 public Builder AddRangeField130(scg::IEnumerable<long> values) {
5448 base.AddRange(values, result.field130_);
5449 return this;
5450 }
5451 public Builder ClearField130() {
5452 result.field130_.Clear();
5453 return this;
5454 }
5455
5456 public bool HasField205 {
5457 get { return result.HasField205; }
5458 }
5459 public bool Field205 {
5460 get { return result.Field205; }
5461 set { SetField205(value); }
5462 }
5463 public Builder SetField205(bool value) {
5464 result.hasField205 = true;
5465 result.field205_ = value;
5466 return this;
5467 }
5468 public Builder ClearField205() {
5469 result.hasField205 = false;
5470 result.field205_ = false;
5471 return this;
5472 }
5473
5474 public bool HasField206 {
5475 get { return result.HasField206; }
5476 }
5477 public bool Field206 {
5478 get { return result.Field206; }
5479 set { SetField206(value); }
5480 }
5481 public Builder SetField206(bool value) {
5482 result.hasField206 = true;
5483 result.field206_ = value;
5484 return this;
5485 }
5486 public Builder ClearField206() {
5487 result.hasField206 = false;
5488 result.field206_ = false;
5489 return this;
5490 }
5491 }
5492 static SpeedMessage2() {
5493 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
5494 }
5495 }
5496
5497 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5498 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5499 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5500 public sealed partial class SpeedMessage2GroupedMessage : pb::GeneratedMessage<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> {
5501 private static readonly SpeedMessage2GroupedMessage defaultInstance = new Builder().BuildPartial();
5502 public static SpeedMessage2GroupedMessage DefaultInstance {
5503 get { return defaultInstance; }
5504 }
5505
5506 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5507 get { return defaultInstance; }
5508 }
5509
5510 protected override SpeedMessage2GroupedMessage ThisMessage {
5511 get { return this; }
5512 }
5513
5514 public static pbd::MessageDescriptor Descriptor {
5515 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor; }
5516 }
5517
5518 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> InternalFieldAccessors {
5519 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable; }
5520 }
5521
5522 public const int Field1FieldNumber = 1;
5523 private bool hasField1;
5524 private float field1_ = 0F;
5525 public bool HasField1 {
5526 get { return hasField1; }
5527 }
5528 public float Field1 {
5529 get { return field1_; }
5530 }
5531
5532 public const int Field2FieldNumber = 2;
5533 private bool hasField2;
5534 private float field2_ = 0F;
5535 public bool HasField2 {
5536 get { return hasField2; }
5537 }
5538 public float Field2 {
5539 get { return field2_; }
5540 }
5541
5542 public const int Field3FieldNumber = 3;
5543 private bool hasField3;
5544 private float field3_ = 0F;
5545 public bool HasField3 {
5546 get { return hasField3; }
5547 }
5548 public float Field3 {
5549 get { return field3_; }
5550 }
5551
5552 public const int Field4FieldNumber = 4;
5553 private bool hasField4;
5554 private bool field4_ = false;
5555 public bool HasField4 {
5556 get { return hasField4; }
5557 }
5558 public bool Field4 {
5559 get { return field4_; }
5560 }
5561
5562 public const int Field5FieldNumber = 5;
5563 private bool hasField5;
5564 private bool field5_ = false;
5565 public bool HasField5 {
5566 get { return hasField5; }
5567 }
5568 public bool Field5 {
5569 get { return field5_; }
5570 }
5571
5572 public const int Field6FieldNumber = 6;
5573 private bool hasField6;
5574 private bool field6_ = true;
5575 public bool HasField6 {
5576 get { return hasField6; }
5577 }
5578 public bool Field6 {
5579 get { return field6_; }
5580 }
5581
5582 public const int Field7FieldNumber = 7;
5583 private bool hasField7;
5584 private bool field7_ = false;
5585 public bool HasField7 {
5586 get { return hasField7; }
5587 }
5588 public bool Field7 {
5589 get { return field7_; }
5590 }
5591
5592 public const int Field8FieldNumber = 8;
5593 private bool hasField8;
5594 private float field8_ = 0F;
5595 public bool HasField8 {
5596 get { return hasField8; }
5597 }
5598 public float Field8 {
5599 get { return field8_; }
5600 }
5601
5602 public const int Field9FieldNumber = 9;
5603 private bool hasField9;
5604 private bool field9_ = false;
5605 public bool HasField9 {
5606 get { return hasField9; }
5607 }
5608 public bool Field9 {
5609 get { return field9_; }
5610 }
5611
5612 public const int Field10FieldNumber = 10;
5613 private bool hasField10;
5614 private float field10_ = 0F;
5615 public bool HasField10 {
5616 get { return hasField10; }
5617 }
5618 public float Field10 {
5619 get { return field10_; }
5620 }
5621
5622 public const int Field11FieldNumber = 11;
5623 private bool hasField11;
5624 private long field11_ = 0L;
5625 public bool HasField11 {
5626 get { return hasField11; }
5627 }
5628 public long Field11 {
5629 get { return field11_; }
5630 }
5631
5632 public override bool IsInitialized {
5633 get {
5634 return true;
5635 }
5636 }
5637
csharptestffafdaa2011-06-03 12:58:14 -05005638 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05005639 int size = SerializedSize;
5640 if (HasField1) {
csharptest90922db2011-06-03 11:57:47 -05005641 output.WriteFloat(1, "field1", Field1);
csharptest27bfcc52011-06-02 12:04:06 -05005642 }
5643 if (HasField2) {
csharptest90922db2011-06-03 11:57:47 -05005644 output.WriteFloat(2, "field2", Field2);
csharptest27bfcc52011-06-02 12:04:06 -05005645 }
5646 if (HasField3) {
csharptest90922db2011-06-03 11:57:47 -05005647 output.WriteFloat(3, "field3", Field3);
csharptest27bfcc52011-06-02 12:04:06 -05005648 }
5649 if (HasField4) {
csharptest90922db2011-06-03 11:57:47 -05005650 output.WriteBool(4, "field4", Field4);
csharptest27bfcc52011-06-02 12:04:06 -05005651 }
5652 if (HasField5) {
csharptest90922db2011-06-03 11:57:47 -05005653 output.WriteBool(5, "field5", Field5);
csharptest27bfcc52011-06-02 12:04:06 -05005654 }
5655 if (HasField6) {
csharptest90922db2011-06-03 11:57:47 -05005656 output.WriteBool(6, "field6", Field6);
csharptest27bfcc52011-06-02 12:04:06 -05005657 }
5658 if (HasField7) {
csharptest90922db2011-06-03 11:57:47 -05005659 output.WriteBool(7, "field7", Field7);
csharptest27bfcc52011-06-02 12:04:06 -05005660 }
5661 if (HasField8) {
csharptest90922db2011-06-03 11:57:47 -05005662 output.WriteFloat(8, "field8", Field8);
csharptest27bfcc52011-06-02 12:04:06 -05005663 }
5664 if (HasField9) {
csharptest90922db2011-06-03 11:57:47 -05005665 output.WriteBool(9, "field9", Field9);
csharptest27bfcc52011-06-02 12:04:06 -05005666 }
5667 if (HasField10) {
csharptest90922db2011-06-03 11:57:47 -05005668 output.WriteFloat(10, "field10", Field10);
csharptest27bfcc52011-06-02 12:04:06 -05005669 }
5670 if (HasField11) {
csharptest90922db2011-06-03 11:57:47 -05005671 output.WriteInt64(11, "field11", Field11);
csharptest27bfcc52011-06-02 12:04:06 -05005672 }
5673 UnknownFields.WriteTo(output);
5674 }
5675
5676 private int memoizedSerializedSize = -1;
5677 public override int SerializedSize {
5678 get {
5679 int size = memoizedSerializedSize;
5680 if (size != -1) return size;
5681
5682 size = 0;
5683 if (HasField1) {
5684 size += pb::CodedOutputStream.ComputeFloatSize(1, Field1);
5685 }
5686 if (HasField2) {
5687 size += pb::CodedOutputStream.ComputeFloatSize(2, Field2);
5688 }
5689 if (HasField3) {
5690 size += pb::CodedOutputStream.ComputeFloatSize(3, Field3);
5691 }
5692 if (HasField4) {
5693 size += pb::CodedOutputStream.ComputeBoolSize(4, Field4);
5694 }
5695 if (HasField5) {
5696 size += pb::CodedOutputStream.ComputeBoolSize(5, Field5);
5697 }
5698 if (HasField6) {
5699 size += pb::CodedOutputStream.ComputeBoolSize(6, Field6);
5700 }
5701 if (HasField7) {
5702 size += pb::CodedOutputStream.ComputeBoolSize(7, Field7);
5703 }
5704 if (HasField8) {
5705 size += pb::CodedOutputStream.ComputeFloatSize(8, Field8);
5706 }
5707 if (HasField9) {
5708 size += pb::CodedOutputStream.ComputeBoolSize(9, Field9);
5709 }
5710 if (HasField10) {
5711 size += pb::CodedOutputStream.ComputeFloatSize(10, Field10);
5712 }
5713 if (HasField11) {
5714 size += pb::CodedOutputStream.ComputeInt64Size(11, Field11);
5715 }
5716 size += UnknownFields.SerializedSize;
5717 memoizedSerializedSize = size;
5718 return size;
5719 }
5720 }
5721
5722 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data) {
5723 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5724 }
5725 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
5726 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5727 }
5728 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data) {
5729 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5730 }
5731 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
5732 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5733 }
5734 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input) {
5735 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5736 }
5737 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5738 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5739 }
5740 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input) {
5741 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
5742 }
5743 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5744 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
5745 }
csharptest17699c22011-06-03 21:57:15 -05005746 public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05005747 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5748 }
csharptest17699c22011-06-03 21:57:15 -05005749 public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05005750 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5751 }
5752 public static Builder CreateBuilder() { return new Builder(); }
5753 public override Builder ToBuilder() { return CreateBuilder(this); }
5754 public override Builder CreateBuilderForType() { return new Builder(); }
5755 public static Builder CreateBuilder(SpeedMessage2GroupedMessage prototype) {
5756 return (Builder) new Builder().MergeFrom(prototype);
5757 }
5758
5759 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5760 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5761 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5762 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2GroupedMessage, Builder> {
5763 protected override Builder ThisBuilder {
5764 get { return this; }
5765 }
5766 public Builder() {}
5767
5768 SpeedMessage2GroupedMessage result = new SpeedMessage2GroupedMessage();
5769
5770 protected override SpeedMessage2GroupedMessage MessageBeingBuilt {
5771 get { return result; }
5772 }
5773
5774 public override Builder Clear() {
5775 result = new SpeedMessage2GroupedMessage();
5776 return this;
5777 }
5778
5779 public override Builder Clone() {
5780 return new Builder().MergeFrom(result);
5781 }
5782
5783 public override pbd::MessageDescriptor DescriptorForType {
5784 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Descriptor; }
5785 }
5786
5787 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5788 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance; }
5789 }
5790
5791 public override SpeedMessage2GroupedMessage BuildPartial() {
5792 if (result == null) {
5793 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
5794 }
5795 SpeedMessage2GroupedMessage returnMe = result;
5796 result = null;
5797 return returnMe;
5798 }
5799
5800 public override Builder MergeFrom(pb::IMessage other) {
5801 if (other is SpeedMessage2GroupedMessage) {
5802 return MergeFrom((SpeedMessage2GroupedMessage) other);
5803 } else {
5804 base.MergeFrom(other);
5805 return this;
5806 }
5807 }
5808
5809 public override Builder MergeFrom(SpeedMessage2GroupedMessage other) {
5810 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) return this;
5811 if (other.HasField1) {
5812 Field1 = other.Field1;
5813 }
5814 if (other.HasField2) {
5815 Field2 = other.Field2;
5816 }
5817 if (other.HasField3) {
5818 Field3 = other.Field3;
5819 }
5820 if (other.HasField4) {
5821 Field4 = other.Field4;
5822 }
5823 if (other.HasField5) {
5824 Field5 = other.Field5;
5825 }
5826 if (other.HasField6) {
5827 Field6 = other.Field6;
5828 }
5829 if (other.HasField7) {
5830 Field7 = other.Field7;
5831 }
5832 if (other.HasField8) {
5833 Field8 = other.Field8;
5834 }
5835 if (other.HasField9) {
5836 Field9 = other.Field9;
5837 }
5838 if (other.HasField10) {
5839 Field10 = other.Field10;
5840 }
5841 if (other.HasField11) {
5842 Field11 = other.Field11;
5843 }
5844 this.MergeUnknownFields(other.UnknownFields);
5845 return this;
5846 }
5847
csharptest17699c22011-06-03 21:57:15 -05005848 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05005849 return MergeFrom(input, pb::ExtensionRegistry.Empty);
5850 }
5851
csharptest17699c22011-06-03 21:57:15 -05005852 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05005853 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05005854 uint tag;
5855 string field_name;
5856 while (input.ReadTag(out tag, out field_name)) {
csharptest27bfcc52011-06-02 12:04:06 -05005857 switch (tag) {
5858 case 0: {
csharptest99284412011-06-03 14:51:06 -05005859 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05005860 }
5861 default: {
5862 if (pb::WireFormat.IsEndGroupTag(tag)) {
5863 if (unknownFields != null) {
5864 this.UnknownFields = unknownFields.Build();
5865 }
5866 return this;
5867 }
5868 if (unknownFields == null) {
5869 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5870 }
csharptestd2af9e92011-06-03 21:35:02 -05005871 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05005872 break;
5873 }
5874 case 13: {
csharptestd2af9e92011-06-03 21:35:02 -05005875 result.hasField1 |= input.ReadFloat(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05005876 break;
5877 }
5878 case 21: {
csharptestd2af9e92011-06-03 21:35:02 -05005879 result.hasField2 |= input.ReadFloat(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05005880 break;
5881 }
5882 case 29: {
csharptestd2af9e92011-06-03 21:35:02 -05005883 result.hasField3 |= input.ReadFloat(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05005884 break;
5885 }
5886 case 32: {
csharptestd2af9e92011-06-03 21:35:02 -05005887 result.hasField4 |= input.ReadBool(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05005888 break;
5889 }
5890 case 40: {
csharptestd2af9e92011-06-03 21:35:02 -05005891 result.hasField5 |= input.ReadBool(ref result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05005892 break;
5893 }
5894 case 48: {
csharptestd2af9e92011-06-03 21:35:02 -05005895 result.hasField6 |= input.ReadBool(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05005896 break;
5897 }
5898 case 56: {
csharptestd2af9e92011-06-03 21:35:02 -05005899 result.hasField7 |= input.ReadBool(ref result.field7_);
csharptest27bfcc52011-06-02 12:04:06 -05005900 break;
5901 }
5902 case 69: {
csharptestd2af9e92011-06-03 21:35:02 -05005903 result.hasField8 |= input.ReadFloat(ref result.field8_);
csharptest27bfcc52011-06-02 12:04:06 -05005904 break;
5905 }
5906 case 72: {
csharptestd2af9e92011-06-03 21:35:02 -05005907 result.hasField9 |= input.ReadBool(ref result.field9_);
csharptest27bfcc52011-06-02 12:04:06 -05005908 break;
5909 }
5910 case 85: {
csharptestd2af9e92011-06-03 21:35:02 -05005911 result.hasField10 |= input.ReadFloat(ref result.field10_);
csharptest27bfcc52011-06-02 12:04:06 -05005912 break;
5913 }
5914 case 88: {
csharptestd2af9e92011-06-03 21:35:02 -05005915 result.hasField11 |= input.ReadInt64(ref result.field11_);
csharptest27bfcc52011-06-02 12:04:06 -05005916 break;
5917 }
5918 }
5919 }
csharptest123e5342011-06-03 14:15:21 -05005920
5921 if (unknownFields != null) {
5922 this.UnknownFields = unknownFields.Build();
5923 }
5924 return this;
csharptest27bfcc52011-06-02 12:04:06 -05005925 }
5926
5927
5928 public bool HasField1 {
5929 get { return result.HasField1; }
5930 }
5931 public float Field1 {
5932 get { return result.Field1; }
5933 set { SetField1(value); }
5934 }
5935 public Builder SetField1(float value) {
5936 result.hasField1 = true;
5937 result.field1_ = value;
5938 return this;
5939 }
5940 public Builder ClearField1() {
5941 result.hasField1 = false;
5942 result.field1_ = 0F;
5943 return this;
5944 }
5945
5946 public bool HasField2 {
5947 get { return result.HasField2; }
5948 }
5949 public float Field2 {
5950 get { return result.Field2; }
5951 set { SetField2(value); }
5952 }
5953 public Builder SetField2(float value) {
5954 result.hasField2 = true;
5955 result.field2_ = value;
5956 return this;
5957 }
5958 public Builder ClearField2() {
5959 result.hasField2 = false;
5960 result.field2_ = 0F;
5961 return this;
5962 }
5963
5964 public bool HasField3 {
5965 get { return result.HasField3; }
5966 }
5967 public float Field3 {
5968 get { return result.Field3; }
5969 set { SetField3(value); }
5970 }
5971 public Builder SetField3(float value) {
5972 result.hasField3 = true;
5973 result.field3_ = value;
5974 return this;
5975 }
5976 public Builder ClearField3() {
5977 result.hasField3 = false;
5978 result.field3_ = 0F;
5979 return this;
5980 }
5981
5982 public bool HasField4 {
5983 get { return result.HasField4; }
5984 }
5985 public bool Field4 {
5986 get { return result.Field4; }
5987 set { SetField4(value); }
5988 }
5989 public Builder SetField4(bool value) {
5990 result.hasField4 = true;
5991 result.field4_ = value;
5992 return this;
5993 }
5994 public Builder ClearField4() {
5995 result.hasField4 = false;
5996 result.field4_ = false;
5997 return this;
5998 }
5999
6000 public bool HasField5 {
6001 get { return result.HasField5; }
6002 }
6003 public bool Field5 {
6004 get { return result.Field5; }
6005 set { SetField5(value); }
6006 }
6007 public Builder SetField5(bool value) {
6008 result.hasField5 = true;
6009 result.field5_ = value;
6010 return this;
6011 }
6012 public Builder ClearField5() {
6013 result.hasField5 = false;
6014 result.field5_ = false;
6015 return this;
6016 }
6017
6018 public bool HasField6 {
6019 get { return result.HasField6; }
6020 }
6021 public bool Field6 {
6022 get { return result.Field6; }
6023 set { SetField6(value); }
6024 }
6025 public Builder SetField6(bool value) {
6026 result.hasField6 = true;
6027 result.field6_ = value;
6028 return this;
6029 }
6030 public Builder ClearField6() {
6031 result.hasField6 = false;
6032 result.field6_ = true;
6033 return this;
6034 }
6035
6036 public bool HasField7 {
6037 get { return result.HasField7; }
6038 }
6039 public bool Field7 {
6040 get { return result.Field7; }
6041 set { SetField7(value); }
6042 }
6043 public Builder SetField7(bool value) {
6044 result.hasField7 = true;
6045 result.field7_ = value;
6046 return this;
6047 }
6048 public Builder ClearField7() {
6049 result.hasField7 = false;
6050 result.field7_ = false;
6051 return this;
6052 }
6053
6054 public bool HasField8 {
6055 get { return result.HasField8; }
6056 }
6057 public float Field8 {
6058 get { return result.Field8; }
6059 set { SetField8(value); }
6060 }
6061 public Builder SetField8(float value) {
6062 result.hasField8 = true;
6063 result.field8_ = value;
6064 return this;
6065 }
6066 public Builder ClearField8() {
6067 result.hasField8 = false;
6068 result.field8_ = 0F;
6069 return this;
6070 }
6071
6072 public bool HasField9 {
6073 get { return result.HasField9; }
6074 }
6075 public bool Field9 {
6076 get { return result.Field9; }
6077 set { SetField9(value); }
6078 }
6079 public Builder SetField9(bool value) {
6080 result.hasField9 = true;
6081 result.field9_ = value;
6082 return this;
6083 }
6084 public Builder ClearField9() {
6085 result.hasField9 = false;
6086 result.field9_ = false;
6087 return this;
6088 }
6089
6090 public bool HasField10 {
6091 get { return result.HasField10; }
6092 }
6093 public float Field10 {
6094 get { return result.Field10; }
6095 set { SetField10(value); }
6096 }
6097 public Builder SetField10(float value) {
6098 result.hasField10 = true;
6099 result.field10_ = value;
6100 return this;
6101 }
6102 public Builder ClearField10() {
6103 result.hasField10 = false;
6104 result.field10_ = 0F;
6105 return this;
6106 }
6107
6108 public bool HasField11 {
6109 get { return result.HasField11; }
6110 }
6111 public long Field11 {
6112 get { return result.Field11; }
6113 set { SetField11(value); }
6114 }
6115 public Builder SetField11(long value) {
6116 result.hasField11 = true;
6117 result.field11_ = value;
6118 return this;
6119 }
6120 public Builder ClearField11() {
6121 result.hasField11 = false;
6122 result.field11_ = 0L;
6123 return this;
6124 }
6125 }
6126 static SpeedMessage2GroupedMessage() {
6127 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
6128 }
6129 }
6130
6131 #endregion
6132
6133}