blob: 5960a9f14f80924056e8c3551a6aa89c08ee001a [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
582 public override void WriteTo(pb::CodedOutputStream output) {
583 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 }
873 public static SpeedMessage1 ParseFrom(pb::CodedInputStream input) {
874 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
875 }
876 public static SpeedMessage1 ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
877 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
1066 public override Builder MergeFrom(pb::CodedInputStream input) {
1067 return MergeFrom(input, pb::ExtensionRegistry.Empty);
1068 }
1069
1070 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
1071 pb::UnknownFieldSet.Builder unknownFields = null;
1072 while (true) {
1073 uint tag = input.ReadTag();
1074 switch (tag) {
1075 case 0: {
1076 if (unknownFields != null) {
1077 this.UnknownFields = unknownFields.Build();
1078 }
1079 return this;
1080 }
1081 default: {
1082 if (pb::WireFormat.IsEndGroupTag(tag)) {
1083 if (unknownFields != null) {
1084 this.UnknownFields = unknownFields.Build();
1085 }
1086 return this;
1087 }
1088 if (unknownFields == null) {
1089 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
1090 }
1091 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
1092 break;
1093 }
1094 case 10: {
1095 Field1 = input.ReadString();
1096 break;
1097 }
1098 case 16: {
1099 Field2 = input.ReadInt32();
1100 break;
1101 }
1102 case 24: {
1103 Field3 = input.ReadInt32();
1104 break;
1105 }
1106 case 34: {
1107 Field4 = input.ReadString();
1108 break;
1109 }
1110 case 41: {
1111 AddField5(input.ReadFixed64());
1112 break;
1113 }
1114 case 48: {
1115 Field6 = input.ReadInt32();
1116 break;
1117 }
1118 case 58: {
1119 Field7 = input.ReadString();
1120 break;
1121 }
1122 case 74: {
1123 Field9 = input.ReadString();
1124 break;
1125 }
1126 case 96: {
1127 Field12 = input.ReadBool();
1128 break;
1129 }
1130 case 104: {
1131 Field13 = input.ReadBool();
1132 break;
1133 }
1134 case 112: {
1135 Field14 = input.ReadBool();
1136 break;
1137 }
1138 case 122: {
1139 global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder();
1140 if (HasField15) {
1141 subBuilder.MergeFrom(Field15);
1142 }
1143 input.ReadMessage(subBuilder, extensionRegistry);
1144 Field15 = subBuilder.BuildPartial();
1145 break;
1146 }
1147 case 128: {
1148 Field16 = input.ReadInt32();
1149 break;
1150 }
1151 case 136: {
1152 Field17 = input.ReadBool();
1153 break;
1154 }
1155 case 146: {
1156 Field18 = input.ReadString();
1157 break;
1158 }
1159 case 176: {
1160 Field22 = input.ReadInt64();
1161 break;
1162 }
1163 case 184: {
1164 Field23 = input.ReadInt32();
1165 break;
1166 }
1167 case 192: {
1168 Field24 = input.ReadBool();
1169 break;
1170 }
1171 case 200: {
1172 Field25 = input.ReadInt32();
1173 break;
1174 }
1175 case 232: {
1176 Field29 = input.ReadInt32();
1177 break;
1178 }
1179 case 240: {
1180 Field30 = input.ReadBool();
1181 break;
1182 }
1183 case 472: {
1184 Field59 = input.ReadBool();
1185 break;
1186 }
1187 case 480: {
1188 Field60 = input.ReadInt32();
1189 break;
1190 }
1191 case 536: {
1192 Field67 = input.ReadInt32();
1193 break;
1194 }
1195 case 544: {
1196 Field68 = input.ReadInt32();
1197 break;
1198 }
1199 case 624: {
1200 Field78 = input.ReadBool();
1201 break;
1202 }
1203 case 640: {
1204 Field80 = input.ReadBool();
1205 break;
1206 }
1207 case 648: {
1208 Field81 = input.ReadBool();
1209 break;
1210 }
1211 case 800: {
1212 Field100 = input.ReadInt32();
1213 break;
1214 }
1215 case 808: {
1216 Field101 = input.ReadInt32();
1217 break;
1218 }
1219 case 818: {
1220 Field102 = input.ReadString();
1221 break;
1222 }
1223 case 826: {
1224 Field103 = input.ReadString();
1225 break;
1226 }
1227 case 832: {
1228 Field104 = input.ReadInt32();
1229 break;
1230 }
1231 case 1024: {
1232 Field128 = input.ReadInt32();
1233 break;
1234 }
1235 case 1034: {
1236 Field129 = input.ReadString();
1237 break;
1238 }
1239 case 1040: {
1240 Field130 = input.ReadInt32();
1241 break;
1242 }
1243 case 1048: {
1244 Field131 = input.ReadInt32();
1245 break;
1246 }
1247 case 1200: {
1248 Field150 = input.ReadInt32();
1249 break;
1250 }
1251 case 2168: {
1252 Field271 = input.ReadInt32();
1253 break;
1254 }
1255 case 2176: {
1256 Field272 = input.ReadInt32();
1257 break;
1258 }
1259 case 2240: {
1260 Field280 = input.ReadInt32();
1261 break;
1262 }
1263 }
1264 }
1265 }
1266
1267
1268 public bool HasField1 {
1269 get { return result.HasField1; }
1270 }
1271 public string Field1 {
1272 get { return result.Field1; }
1273 set { SetField1(value); }
1274 }
1275 public Builder SetField1(string value) {
1276 pb::ThrowHelper.ThrowIfNull(value, "value");
1277 result.hasField1 = true;
1278 result.field1_ = value;
1279 return this;
1280 }
1281 public Builder ClearField1() {
1282 result.hasField1 = false;
1283 result.field1_ = "";
1284 return this;
1285 }
1286
1287 public bool HasField9 {
1288 get { return result.HasField9; }
1289 }
1290 public string Field9 {
1291 get { return result.Field9; }
1292 set { SetField9(value); }
1293 }
1294 public Builder SetField9(string value) {
1295 pb::ThrowHelper.ThrowIfNull(value, "value");
1296 result.hasField9 = true;
1297 result.field9_ = value;
1298 return this;
1299 }
1300 public Builder ClearField9() {
1301 result.hasField9 = false;
1302 result.field9_ = "";
1303 return this;
1304 }
1305
1306 public bool HasField18 {
1307 get { return result.HasField18; }
1308 }
1309 public string Field18 {
1310 get { return result.Field18; }
1311 set { SetField18(value); }
1312 }
1313 public Builder SetField18(string value) {
1314 pb::ThrowHelper.ThrowIfNull(value, "value");
1315 result.hasField18 = true;
1316 result.field18_ = value;
1317 return this;
1318 }
1319 public Builder ClearField18() {
1320 result.hasField18 = false;
1321 result.field18_ = "";
1322 return this;
1323 }
1324
1325 public bool HasField80 {
1326 get { return result.HasField80; }
1327 }
1328 public bool Field80 {
1329 get { return result.Field80; }
1330 set { SetField80(value); }
1331 }
1332 public Builder SetField80(bool value) {
1333 result.hasField80 = true;
1334 result.field80_ = value;
1335 return this;
1336 }
1337 public Builder ClearField80() {
1338 result.hasField80 = false;
1339 result.field80_ = false;
1340 return this;
1341 }
1342
1343 public bool HasField81 {
1344 get { return result.HasField81; }
1345 }
1346 public bool Field81 {
1347 get { return result.Field81; }
1348 set { SetField81(value); }
1349 }
1350 public Builder SetField81(bool value) {
1351 result.hasField81 = true;
1352 result.field81_ = value;
1353 return this;
1354 }
1355 public Builder ClearField81() {
1356 result.hasField81 = false;
1357 result.field81_ = true;
1358 return this;
1359 }
1360
1361 public bool HasField2 {
1362 get { return result.HasField2; }
1363 }
1364 public int Field2 {
1365 get { return result.Field2; }
1366 set { SetField2(value); }
1367 }
1368 public Builder SetField2(int value) {
1369 result.hasField2 = true;
1370 result.field2_ = value;
1371 return this;
1372 }
1373 public Builder ClearField2() {
1374 result.hasField2 = false;
1375 result.field2_ = 0;
1376 return this;
1377 }
1378
1379 public bool HasField3 {
1380 get { return result.HasField3; }
1381 }
1382 public int Field3 {
1383 get { return result.Field3; }
1384 set { SetField3(value); }
1385 }
1386 public Builder SetField3(int value) {
1387 result.hasField3 = true;
1388 result.field3_ = value;
1389 return this;
1390 }
1391 public Builder ClearField3() {
1392 result.hasField3 = false;
1393 result.field3_ = 0;
1394 return this;
1395 }
1396
1397 public bool HasField280 {
1398 get { return result.HasField280; }
1399 }
1400 public int Field280 {
1401 get { return result.Field280; }
1402 set { SetField280(value); }
1403 }
1404 public Builder SetField280(int value) {
1405 result.hasField280 = true;
1406 result.field280_ = value;
1407 return this;
1408 }
1409 public Builder ClearField280() {
1410 result.hasField280 = false;
1411 result.field280_ = 0;
1412 return this;
1413 }
1414
1415 public bool HasField6 {
1416 get { return result.HasField6; }
1417 }
1418 public int Field6 {
1419 get { return result.Field6; }
1420 set { SetField6(value); }
1421 }
1422 public Builder SetField6(int value) {
1423 result.hasField6 = true;
1424 result.field6_ = value;
1425 return this;
1426 }
1427 public Builder ClearField6() {
1428 result.hasField6 = false;
1429 result.field6_ = 0;
1430 return this;
1431 }
1432
1433 public bool HasField22 {
1434 get { return result.HasField22; }
1435 }
1436 public long Field22 {
1437 get { return result.Field22; }
1438 set { SetField22(value); }
1439 }
1440 public Builder SetField22(long value) {
1441 result.hasField22 = true;
1442 result.field22_ = value;
1443 return this;
1444 }
1445 public Builder ClearField22() {
1446 result.hasField22 = false;
1447 result.field22_ = 0L;
1448 return this;
1449 }
1450
1451 public bool HasField4 {
1452 get { return result.HasField4; }
1453 }
1454 public string Field4 {
1455 get { return result.Field4; }
1456 set { SetField4(value); }
1457 }
1458 public Builder SetField4(string value) {
1459 pb::ThrowHelper.ThrowIfNull(value, "value");
1460 result.hasField4 = true;
1461 result.field4_ = value;
1462 return this;
1463 }
1464 public Builder ClearField4() {
1465 result.hasField4 = false;
1466 result.field4_ = "";
1467 return this;
1468 }
1469
1470 [global::System.CLSCompliant(false)]
1471 public pbc::IPopsicleList<ulong> Field5List {
1472 get { return result.field5_; }
1473 }
1474 public int Field5Count {
1475 get { return result.Field5Count; }
1476 }
1477 [global::System.CLSCompliant(false)]
1478 public ulong GetField5(int index) {
1479 return result.GetField5(index);
1480 }
1481 [global::System.CLSCompliant(false)]
1482 public Builder SetField5(int index, ulong value) {
1483 result.field5_[index] = value;
1484 return this;
1485 }
1486 [global::System.CLSCompliant(false)]
1487 public Builder AddField5(ulong value) {
1488 result.field5_.Add(value);
1489 return this;
1490 }
1491 [global::System.CLSCompliant(false)]
1492 public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
1493 base.AddRange(values, result.field5_);
1494 return this;
1495 }
1496 public Builder ClearField5() {
1497 result.field5_.Clear();
1498 return this;
1499 }
1500
1501 public bool HasField59 {
1502 get { return result.HasField59; }
1503 }
1504 public bool Field59 {
1505 get { return result.Field59; }
1506 set { SetField59(value); }
1507 }
1508 public Builder SetField59(bool value) {
1509 result.hasField59 = true;
1510 result.field59_ = value;
1511 return this;
1512 }
1513 public Builder ClearField59() {
1514 result.hasField59 = false;
1515 result.field59_ = false;
1516 return this;
1517 }
1518
1519 public bool HasField7 {
1520 get { return result.HasField7; }
1521 }
1522 public string Field7 {
1523 get { return result.Field7; }
1524 set { SetField7(value); }
1525 }
1526 public Builder SetField7(string value) {
1527 pb::ThrowHelper.ThrowIfNull(value, "value");
1528 result.hasField7 = true;
1529 result.field7_ = value;
1530 return this;
1531 }
1532 public Builder ClearField7() {
1533 result.hasField7 = false;
1534 result.field7_ = "";
1535 return this;
1536 }
1537
1538 public bool HasField16 {
1539 get { return result.HasField16; }
1540 }
1541 public int Field16 {
1542 get { return result.Field16; }
1543 set { SetField16(value); }
1544 }
1545 public Builder SetField16(int value) {
1546 result.hasField16 = true;
1547 result.field16_ = value;
1548 return this;
1549 }
1550 public Builder ClearField16() {
1551 result.hasField16 = false;
1552 result.field16_ = 0;
1553 return this;
1554 }
1555
1556 public bool HasField130 {
1557 get { return result.HasField130; }
1558 }
1559 public int Field130 {
1560 get { return result.Field130; }
1561 set { SetField130(value); }
1562 }
1563 public Builder SetField130(int value) {
1564 result.hasField130 = true;
1565 result.field130_ = value;
1566 return this;
1567 }
1568 public Builder ClearField130() {
1569 result.hasField130 = false;
1570 result.field130_ = 0;
1571 return this;
1572 }
1573
1574 public bool HasField12 {
1575 get { return result.HasField12; }
1576 }
1577 public bool Field12 {
1578 get { return result.Field12; }
1579 set { SetField12(value); }
1580 }
1581 public Builder SetField12(bool value) {
1582 result.hasField12 = true;
1583 result.field12_ = value;
1584 return this;
1585 }
1586 public Builder ClearField12() {
1587 result.hasField12 = false;
1588 result.field12_ = true;
1589 return this;
1590 }
1591
1592 public bool HasField17 {
1593 get { return result.HasField17; }
1594 }
1595 public bool Field17 {
1596 get { return result.Field17; }
1597 set { SetField17(value); }
1598 }
1599 public Builder SetField17(bool value) {
1600 result.hasField17 = true;
1601 result.field17_ = value;
1602 return this;
1603 }
1604 public Builder ClearField17() {
1605 result.hasField17 = false;
1606 result.field17_ = true;
1607 return this;
1608 }
1609
1610 public bool HasField13 {
1611 get { return result.HasField13; }
1612 }
1613 public bool Field13 {
1614 get { return result.Field13; }
1615 set { SetField13(value); }
1616 }
1617 public Builder SetField13(bool value) {
1618 result.hasField13 = true;
1619 result.field13_ = value;
1620 return this;
1621 }
1622 public Builder ClearField13() {
1623 result.hasField13 = false;
1624 result.field13_ = true;
1625 return this;
1626 }
1627
1628 public bool HasField14 {
1629 get { return result.HasField14; }
1630 }
1631 public bool Field14 {
1632 get { return result.Field14; }
1633 set { SetField14(value); }
1634 }
1635 public Builder SetField14(bool value) {
1636 result.hasField14 = true;
1637 result.field14_ = value;
1638 return this;
1639 }
1640 public Builder ClearField14() {
1641 result.hasField14 = false;
1642 result.field14_ = true;
1643 return this;
1644 }
1645
1646 public bool HasField104 {
1647 get { return result.HasField104; }
1648 }
1649 public int Field104 {
1650 get { return result.Field104; }
1651 set { SetField104(value); }
1652 }
1653 public Builder SetField104(int value) {
1654 result.hasField104 = true;
1655 result.field104_ = value;
1656 return this;
1657 }
1658 public Builder ClearField104() {
1659 result.hasField104 = false;
1660 result.field104_ = 0;
1661 return this;
1662 }
1663
1664 public bool HasField100 {
1665 get { return result.HasField100; }
1666 }
1667 public int Field100 {
1668 get { return result.Field100; }
1669 set { SetField100(value); }
1670 }
1671 public Builder SetField100(int value) {
1672 result.hasField100 = true;
1673 result.field100_ = value;
1674 return this;
1675 }
1676 public Builder ClearField100() {
1677 result.hasField100 = false;
1678 result.field100_ = 0;
1679 return this;
1680 }
1681
1682 public bool HasField101 {
1683 get { return result.HasField101; }
1684 }
1685 public int Field101 {
1686 get { return result.Field101; }
1687 set { SetField101(value); }
1688 }
1689 public Builder SetField101(int value) {
1690 result.hasField101 = true;
1691 result.field101_ = value;
1692 return this;
1693 }
1694 public Builder ClearField101() {
1695 result.hasField101 = false;
1696 result.field101_ = 0;
1697 return this;
1698 }
1699
1700 public bool HasField102 {
1701 get { return result.HasField102; }
1702 }
1703 public string Field102 {
1704 get { return result.Field102; }
1705 set { SetField102(value); }
1706 }
1707 public Builder SetField102(string value) {
1708 pb::ThrowHelper.ThrowIfNull(value, "value");
1709 result.hasField102 = true;
1710 result.field102_ = value;
1711 return this;
1712 }
1713 public Builder ClearField102() {
1714 result.hasField102 = false;
1715 result.field102_ = "";
1716 return this;
1717 }
1718
1719 public bool HasField103 {
1720 get { return result.HasField103; }
1721 }
1722 public string Field103 {
1723 get { return result.Field103; }
1724 set { SetField103(value); }
1725 }
1726 public Builder SetField103(string value) {
1727 pb::ThrowHelper.ThrowIfNull(value, "value");
1728 result.hasField103 = true;
1729 result.field103_ = value;
1730 return this;
1731 }
1732 public Builder ClearField103() {
1733 result.hasField103 = false;
1734 result.field103_ = "";
1735 return this;
1736 }
1737
1738 public bool HasField29 {
1739 get { return result.HasField29; }
1740 }
1741 public int Field29 {
1742 get { return result.Field29; }
1743 set { SetField29(value); }
1744 }
1745 public Builder SetField29(int value) {
1746 result.hasField29 = true;
1747 result.field29_ = value;
1748 return this;
1749 }
1750 public Builder ClearField29() {
1751 result.hasField29 = false;
1752 result.field29_ = 0;
1753 return this;
1754 }
1755
1756 public bool HasField30 {
1757 get { return result.HasField30; }
1758 }
1759 public bool Field30 {
1760 get { return result.Field30; }
1761 set { SetField30(value); }
1762 }
1763 public Builder SetField30(bool value) {
1764 result.hasField30 = true;
1765 result.field30_ = value;
1766 return this;
1767 }
1768 public Builder ClearField30() {
1769 result.hasField30 = false;
1770 result.field30_ = false;
1771 return this;
1772 }
1773
1774 public bool HasField60 {
1775 get { return result.HasField60; }
1776 }
1777 public int Field60 {
1778 get { return result.Field60; }
1779 set { SetField60(value); }
1780 }
1781 public Builder SetField60(int value) {
1782 result.hasField60 = true;
1783 result.field60_ = value;
1784 return this;
1785 }
1786 public Builder ClearField60() {
1787 result.hasField60 = false;
1788 result.field60_ = -1;
1789 return this;
1790 }
1791
1792 public bool HasField271 {
1793 get { return result.HasField271; }
1794 }
1795 public int Field271 {
1796 get { return result.Field271; }
1797 set { SetField271(value); }
1798 }
1799 public Builder SetField271(int value) {
1800 result.hasField271 = true;
1801 result.field271_ = value;
1802 return this;
1803 }
1804 public Builder ClearField271() {
1805 result.hasField271 = false;
1806 result.field271_ = -1;
1807 return this;
1808 }
1809
1810 public bool HasField272 {
1811 get { return result.HasField272; }
1812 }
1813 public int Field272 {
1814 get { return result.Field272; }
1815 set { SetField272(value); }
1816 }
1817 public Builder SetField272(int value) {
1818 result.hasField272 = true;
1819 result.field272_ = value;
1820 return this;
1821 }
1822 public Builder ClearField272() {
1823 result.hasField272 = false;
1824 result.field272_ = -1;
1825 return this;
1826 }
1827
1828 public bool HasField150 {
1829 get { return result.HasField150; }
1830 }
1831 public int Field150 {
1832 get { return result.Field150; }
1833 set { SetField150(value); }
1834 }
1835 public Builder SetField150(int value) {
1836 result.hasField150 = true;
1837 result.field150_ = value;
1838 return this;
1839 }
1840 public Builder ClearField150() {
1841 result.hasField150 = false;
1842 result.field150_ = 0;
1843 return this;
1844 }
1845
1846 public bool HasField23 {
1847 get { return result.HasField23; }
1848 }
1849 public int Field23 {
1850 get { return result.Field23; }
1851 set { SetField23(value); }
1852 }
1853 public Builder SetField23(int value) {
1854 result.hasField23 = true;
1855 result.field23_ = value;
1856 return this;
1857 }
1858 public Builder ClearField23() {
1859 result.hasField23 = false;
1860 result.field23_ = 0;
1861 return this;
1862 }
1863
1864 public bool HasField24 {
1865 get { return result.HasField24; }
1866 }
1867 public bool Field24 {
1868 get { return result.Field24; }
1869 set { SetField24(value); }
1870 }
1871 public Builder SetField24(bool value) {
1872 result.hasField24 = true;
1873 result.field24_ = value;
1874 return this;
1875 }
1876 public Builder ClearField24() {
1877 result.hasField24 = false;
1878 result.field24_ = false;
1879 return this;
1880 }
1881
1882 public bool HasField25 {
1883 get { return result.HasField25; }
1884 }
1885 public int Field25 {
1886 get { return result.Field25; }
1887 set { SetField25(value); }
1888 }
1889 public Builder SetField25(int value) {
1890 result.hasField25 = true;
1891 result.field25_ = value;
1892 return this;
1893 }
1894 public Builder ClearField25() {
1895 result.hasField25 = false;
1896 result.field25_ = 0;
1897 return this;
1898 }
1899
1900 public bool HasField15 {
1901 get { return result.HasField15; }
1902 }
1903 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
1904 get { return result.Field15; }
1905 set { SetField15(value); }
1906 }
1907 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1908 pb::ThrowHelper.ThrowIfNull(value, "value");
1909 result.hasField15 = true;
1910 result.field15_ = value;
1911 return this;
1912 }
1913 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder builderForValue) {
1914 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
1915 result.hasField15 = true;
1916 result.field15_ = builderForValue.Build();
1917 return this;
1918 }
1919 public Builder MergeField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1920 pb::ThrowHelper.ThrowIfNull(value, "value");
1921 if (result.HasField15 &&
1922 result.field15_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) {
1923 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder(result.field15_).MergeFrom(value).BuildPartial();
1924 } else {
1925 result.field15_ = value;
1926 }
1927 result.hasField15 = true;
1928 return this;
1929 }
1930 public Builder ClearField15() {
1931 result.hasField15 = false;
1932 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
1933 return this;
1934 }
1935
1936 public bool HasField78 {
1937 get { return result.HasField78; }
1938 }
1939 public bool Field78 {
1940 get { return result.Field78; }
1941 set { SetField78(value); }
1942 }
1943 public Builder SetField78(bool value) {
1944 result.hasField78 = true;
1945 result.field78_ = value;
1946 return this;
1947 }
1948 public Builder ClearField78() {
1949 result.hasField78 = false;
1950 result.field78_ = false;
1951 return this;
1952 }
1953
1954 public bool HasField67 {
1955 get { return result.HasField67; }
1956 }
1957 public int Field67 {
1958 get { return result.Field67; }
1959 set { SetField67(value); }
1960 }
1961 public Builder SetField67(int value) {
1962 result.hasField67 = true;
1963 result.field67_ = value;
1964 return this;
1965 }
1966 public Builder ClearField67() {
1967 result.hasField67 = false;
1968 result.field67_ = 0;
1969 return this;
1970 }
1971
1972 public bool HasField68 {
1973 get { return result.HasField68; }
1974 }
1975 public int Field68 {
1976 get { return result.Field68; }
1977 set { SetField68(value); }
1978 }
1979 public Builder SetField68(int value) {
1980 result.hasField68 = true;
1981 result.field68_ = value;
1982 return this;
1983 }
1984 public Builder ClearField68() {
1985 result.hasField68 = false;
1986 result.field68_ = 0;
1987 return this;
1988 }
1989
1990 public bool HasField128 {
1991 get { return result.HasField128; }
1992 }
1993 public int Field128 {
1994 get { return result.Field128; }
1995 set { SetField128(value); }
1996 }
1997 public Builder SetField128(int value) {
1998 result.hasField128 = true;
1999 result.field128_ = value;
2000 return this;
2001 }
2002 public Builder ClearField128() {
2003 result.hasField128 = false;
2004 result.field128_ = 0;
2005 return this;
2006 }
2007
2008 public bool HasField129 {
2009 get { return result.HasField129; }
2010 }
2011 public string Field129 {
2012 get { return result.Field129; }
2013 set { SetField129(value); }
2014 }
2015 public Builder SetField129(string value) {
2016 pb::ThrowHelper.ThrowIfNull(value, "value");
2017 result.hasField129 = true;
2018 result.field129_ = value;
2019 return this;
2020 }
2021 public Builder ClearField129() {
2022 result.hasField129 = false;
2023 result.field129_ = "xxxxxxxxxxxxxxxxxxxxx";
2024 return this;
2025 }
2026
2027 public bool HasField131 {
2028 get { return result.HasField131; }
2029 }
2030 public int Field131 {
2031 get { return result.Field131; }
2032 set { SetField131(value); }
2033 }
2034 public Builder SetField131(int value) {
2035 result.hasField131 = true;
2036 result.field131_ = value;
2037 return this;
2038 }
2039 public Builder ClearField131() {
2040 result.hasField131 = false;
2041 result.field131_ = 0;
2042 return this;
2043 }
2044 }
2045 static SpeedMessage1() {
2046 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
2047 }
2048 }
2049
2050 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2051 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2052 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2053 public sealed partial class SpeedMessage1SubMessage : pb::GeneratedMessage<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> {
2054 private static readonly SpeedMessage1SubMessage defaultInstance = new Builder().BuildPartial();
2055 public static SpeedMessage1SubMessage DefaultInstance {
2056 get { return defaultInstance; }
2057 }
2058
2059 public override SpeedMessage1SubMessage DefaultInstanceForType {
2060 get { return defaultInstance; }
2061 }
2062
2063 protected override SpeedMessage1SubMessage ThisMessage {
2064 get { return this; }
2065 }
2066
2067 public static pbd::MessageDescriptor Descriptor {
2068 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor; }
2069 }
2070
2071 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> InternalFieldAccessors {
2072 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable; }
2073 }
2074
2075 public const int Field1FieldNumber = 1;
2076 private bool hasField1;
2077 private int field1_ = 0;
2078 public bool HasField1 {
2079 get { return hasField1; }
2080 }
2081 public int Field1 {
2082 get { return field1_; }
2083 }
2084
2085 public const int Field2FieldNumber = 2;
2086 private bool hasField2;
2087 private int field2_ = 0;
2088 public bool HasField2 {
2089 get { return hasField2; }
2090 }
2091 public int Field2 {
2092 get { return field2_; }
2093 }
2094
2095 public const int Field3FieldNumber = 3;
2096 private bool hasField3;
2097 private int field3_ = 0;
2098 public bool HasField3 {
2099 get { return hasField3; }
2100 }
2101 public int Field3 {
2102 get { return field3_; }
2103 }
2104
2105 public const int Field15FieldNumber = 15;
2106 private bool hasField15;
2107 private string field15_ = "";
2108 public bool HasField15 {
2109 get { return hasField15; }
2110 }
2111 public string Field15 {
2112 get { return field15_; }
2113 }
2114
2115 public const int Field12FieldNumber = 12;
2116 private bool hasField12;
2117 private bool field12_ = true;
2118 public bool HasField12 {
2119 get { return hasField12; }
2120 }
2121 public bool Field12 {
2122 get { return field12_; }
2123 }
2124
2125 public const int Field13FieldNumber = 13;
2126 private bool hasField13;
2127 private long field13_ = 0L;
2128 public bool HasField13 {
2129 get { return hasField13; }
2130 }
2131 public long Field13 {
2132 get { return field13_; }
2133 }
2134
2135 public const int Field14FieldNumber = 14;
2136 private bool hasField14;
2137 private long field14_ = 0L;
2138 public bool HasField14 {
2139 get { return hasField14; }
2140 }
2141 public long Field14 {
2142 get { return field14_; }
2143 }
2144
2145 public const int Field16FieldNumber = 16;
2146 private bool hasField16;
2147 private int field16_ = 0;
2148 public bool HasField16 {
2149 get { return hasField16; }
2150 }
2151 public int Field16 {
2152 get { return field16_; }
2153 }
2154
2155 public const int Field19FieldNumber = 19;
2156 private bool hasField19;
2157 private int field19_ = 2;
2158 public bool HasField19 {
2159 get { return hasField19; }
2160 }
2161 public int Field19 {
2162 get { return field19_; }
2163 }
2164
2165 public const int Field20FieldNumber = 20;
2166 private bool hasField20;
2167 private bool field20_ = true;
2168 public bool HasField20 {
2169 get { return hasField20; }
2170 }
2171 public bool Field20 {
2172 get { return field20_; }
2173 }
2174
2175 public const int Field28FieldNumber = 28;
2176 private bool hasField28;
2177 private bool field28_ = true;
2178 public bool HasField28 {
2179 get { return hasField28; }
2180 }
2181 public bool Field28 {
2182 get { return field28_; }
2183 }
2184
2185 public const int Field21FieldNumber = 21;
2186 private bool hasField21;
2187 private ulong field21_ = 0;
2188 public bool HasField21 {
2189 get { return hasField21; }
2190 }
2191 [global::System.CLSCompliant(false)]
2192 public ulong Field21 {
2193 get { return field21_; }
2194 }
2195
2196 public const int Field22FieldNumber = 22;
2197 private bool hasField22;
2198 private int field22_ = 0;
2199 public bool HasField22 {
2200 get { return hasField22; }
2201 }
2202 public int Field22 {
2203 get { return field22_; }
2204 }
2205
2206 public const int Field23FieldNumber = 23;
2207 private bool hasField23;
2208 private bool field23_ = false;
2209 public bool HasField23 {
2210 get { return hasField23; }
2211 }
2212 public bool Field23 {
2213 get { return field23_; }
2214 }
2215
2216 public const int Field206FieldNumber = 206;
2217 private bool hasField206;
2218 private bool field206_ = false;
2219 public bool HasField206 {
2220 get { return hasField206; }
2221 }
2222 public bool Field206 {
2223 get { return field206_; }
2224 }
2225
2226 public const int Field203FieldNumber = 203;
2227 private bool hasField203;
2228 private uint field203_ = 0;
2229 public bool HasField203 {
2230 get { return hasField203; }
2231 }
2232 [global::System.CLSCompliant(false)]
2233 public uint Field203 {
2234 get { return field203_; }
2235 }
2236
2237 public const int Field204FieldNumber = 204;
2238 private bool hasField204;
2239 private int field204_ = 0;
2240 public bool HasField204 {
2241 get { return hasField204; }
2242 }
2243 public int Field204 {
2244 get { return field204_; }
2245 }
2246
2247 public const int Field205FieldNumber = 205;
2248 private bool hasField205;
2249 private string field205_ = "";
2250 public bool HasField205 {
2251 get { return hasField205; }
2252 }
2253 public string Field205 {
2254 get { return field205_; }
2255 }
2256
2257 public const int Field207FieldNumber = 207;
2258 private bool hasField207;
2259 private ulong field207_ = 0UL;
2260 public bool HasField207 {
2261 get { return hasField207; }
2262 }
2263 [global::System.CLSCompliant(false)]
2264 public ulong Field207 {
2265 get { return field207_; }
2266 }
2267
2268 public const int Field300FieldNumber = 300;
2269 private bool hasField300;
2270 private ulong field300_ = 0UL;
2271 public bool HasField300 {
2272 get { return hasField300; }
2273 }
2274 [global::System.CLSCompliant(false)]
2275 public ulong Field300 {
2276 get { return field300_; }
2277 }
2278
2279 public override bool IsInitialized {
2280 get {
2281 return true;
2282 }
2283 }
2284
2285 public override void WriteTo(pb::CodedOutputStream output) {
2286 int size = SerializedSize;
2287 if (HasField1) {
csharptest90922db2011-06-03 11:57:47 -05002288 output.WriteInt32(1, "field1", Field1);
csharptest27bfcc52011-06-02 12:04:06 -05002289 }
2290 if (HasField2) {
csharptest90922db2011-06-03 11:57:47 -05002291 output.WriteInt32(2, "field2", Field2);
csharptest27bfcc52011-06-02 12:04:06 -05002292 }
2293 if (HasField3) {
csharptest90922db2011-06-03 11:57:47 -05002294 output.WriteInt32(3, "field3", Field3);
csharptest27bfcc52011-06-02 12:04:06 -05002295 }
2296 if (HasField12) {
csharptest90922db2011-06-03 11:57:47 -05002297 output.WriteBool(12, "field12", Field12);
csharptest27bfcc52011-06-02 12:04:06 -05002298 }
2299 if (HasField13) {
csharptest90922db2011-06-03 11:57:47 -05002300 output.WriteInt64(13, "field13", Field13);
csharptest27bfcc52011-06-02 12:04:06 -05002301 }
2302 if (HasField14) {
csharptest90922db2011-06-03 11:57:47 -05002303 output.WriteInt64(14, "field14", Field14);
csharptest27bfcc52011-06-02 12:04:06 -05002304 }
2305 if (HasField15) {
csharptest90922db2011-06-03 11:57:47 -05002306 output.WriteString(15, "field15", Field15);
csharptest27bfcc52011-06-02 12:04:06 -05002307 }
2308 if (HasField16) {
csharptest90922db2011-06-03 11:57:47 -05002309 output.WriteInt32(16, "field16", Field16);
csharptest27bfcc52011-06-02 12:04:06 -05002310 }
2311 if (HasField19) {
csharptest90922db2011-06-03 11:57:47 -05002312 output.WriteInt32(19, "field19", Field19);
csharptest27bfcc52011-06-02 12:04:06 -05002313 }
2314 if (HasField20) {
csharptest90922db2011-06-03 11:57:47 -05002315 output.WriteBool(20, "field20", Field20);
csharptest27bfcc52011-06-02 12:04:06 -05002316 }
2317 if (HasField21) {
csharptest90922db2011-06-03 11:57:47 -05002318 output.WriteFixed64(21, "field21", Field21);
csharptest27bfcc52011-06-02 12:04:06 -05002319 }
2320 if (HasField22) {
csharptest90922db2011-06-03 11:57:47 -05002321 output.WriteInt32(22, "field22", Field22);
csharptest27bfcc52011-06-02 12:04:06 -05002322 }
2323 if (HasField23) {
csharptest90922db2011-06-03 11:57:47 -05002324 output.WriteBool(23, "field23", Field23);
csharptest27bfcc52011-06-02 12:04:06 -05002325 }
2326 if (HasField28) {
csharptest90922db2011-06-03 11:57:47 -05002327 output.WriteBool(28, "field28", Field28);
csharptest27bfcc52011-06-02 12:04:06 -05002328 }
2329 if (HasField203) {
csharptest90922db2011-06-03 11:57:47 -05002330 output.WriteFixed32(203, "field203", Field203);
csharptest27bfcc52011-06-02 12:04:06 -05002331 }
2332 if (HasField204) {
csharptest90922db2011-06-03 11:57:47 -05002333 output.WriteInt32(204, "field204", Field204);
csharptest27bfcc52011-06-02 12:04:06 -05002334 }
2335 if (HasField205) {
csharptest90922db2011-06-03 11:57:47 -05002336 output.WriteString(205, "field205", Field205);
csharptest27bfcc52011-06-02 12:04:06 -05002337 }
2338 if (HasField206) {
csharptest90922db2011-06-03 11:57:47 -05002339 output.WriteBool(206, "field206", Field206);
csharptest27bfcc52011-06-02 12:04:06 -05002340 }
2341 if (HasField207) {
csharptest90922db2011-06-03 11:57:47 -05002342 output.WriteUInt64(207, "field207", Field207);
csharptest27bfcc52011-06-02 12:04:06 -05002343 }
2344 if (HasField300) {
csharptest90922db2011-06-03 11:57:47 -05002345 output.WriteUInt64(300, "field300", Field300);
csharptest27bfcc52011-06-02 12:04:06 -05002346 }
2347 UnknownFields.WriteTo(output);
2348 }
2349
2350 private int memoizedSerializedSize = -1;
2351 public override int SerializedSize {
2352 get {
2353 int size = memoizedSerializedSize;
2354 if (size != -1) return size;
2355
2356 size = 0;
2357 if (HasField1) {
2358 size += pb::CodedOutputStream.ComputeInt32Size(1, Field1);
2359 }
2360 if (HasField2) {
2361 size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
2362 }
2363 if (HasField3) {
2364 size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
2365 }
2366 if (HasField15) {
2367 size += pb::CodedOutputStream.ComputeStringSize(15, Field15);
2368 }
2369 if (HasField12) {
2370 size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
2371 }
2372 if (HasField13) {
2373 size += pb::CodedOutputStream.ComputeInt64Size(13, Field13);
2374 }
2375 if (HasField14) {
2376 size += pb::CodedOutputStream.ComputeInt64Size(14, Field14);
2377 }
2378 if (HasField16) {
2379 size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
2380 }
2381 if (HasField19) {
2382 size += pb::CodedOutputStream.ComputeInt32Size(19, Field19);
2383 }
2384 if (HasField20) {
2385 size += pb::CodedOutputStream.ComputeBoolSize(20, Field20);
2386 }
2387 if (HasField28) {
2388 size += pb::CodedOutputStream.ComputeBoolSize(28, Field28);
2389 }
2390 if (HasField21) {
2391 size += pb::CodedOutputStream.ComputeFixed64Size(21, Field21);
2392 }
2393 if (HasField22) {
2394 size += pb::CodedOutputStream.ComputeInt32Size(22, Field22);
2395 }
2396 if (HasField23) {
2397 size += pb::CodedOutputStream.ComputeBoolSize(23, Field23);
2398 }
2399 if (HasField206) {
2400 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
2401 }
2402 if (HasField203) {
2403 size += pb::CodedOutputStream.ComputeFixed32Size(203, Field203);
2404 }
2405 if (HasField204) {
2406 size += pb::CodedOutputStream.ComputeInt32Size(204, Field204);
2407 }
2408 if (HasField205) {
2409 size += pb::CodedOutputStream.ComputeStringSize(205, Field205);
2410 }
2411 if (HasField207) {
2412 size += pb::CodedOutputStream.ComputeUInt64Size(207, Field207);
2413 }
2414 if (HasField300) {
2415 size += pb::CodedOutputStream.ComputeUInt64Size(300, Field300);
2416 }
2417 size += UnknownFields.SerializedSize;
2418 memoizedSerializedSize = size;
2419 return size;
2420 }
2421 }
2422
2423 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data) {
2424 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2425 }
2426 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
2427 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2428 }
2429 public static SpeedMessage1SubMessage ParseFrom(byte[] data) {
2430 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2431 }
2432 public static SpeedMessage1SubMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
2433 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2434 }
2435 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input) {
2436 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2437 }
2438 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2439 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2440 }
2441 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input) {
2442 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
2443 }
2444 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2445 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
2446 }
2447 public static SpeedMessage1SubMessage ParseFrom(pb::CodedInputStream input) {
2448 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2449 }
2450 public static SpeedMessage1SubMessage ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
2451 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2452 }
2453 public static Builder CreateBuilder() { return new Builder(); }
2454 public override Builder ToBuilder() { return CreateBuilder(this); }
2455 public override Builder CreateBuilderForType() { return new Builder(); }
2456 public static Builder CreateBuilder(SpeedMessage1SubMessage prototype) {
2457 return (Builder) new Builder().MergeFrom(prototype);
2458 }
2459
2460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2461 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2462 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2463 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1SubMessage, Builder> {
2464 protected override Builder ThisBuilder {
2465 get { return this; }
2466 }
2467 public Builder() {}
2468
2469 SpeedMessage1SubMessage result = new SpeedMessage1SubMessage();
2470
2471 protected override SpeedMessage1SubMessage MessageBeingBuilt {
2472 get { return result; }
2473 }
2474
2475 public override Builder Clear() {
2476 result = new SpeedMessage1SubMessage();
2477 return this;
2478 }
2479
2480 public override Builder Clone() {
2481 return new Builder().MergeFrom(result);
2482 }
2483
2484 public override pbd::MessageDescriptor DescriptorForType {
2485 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Descriptor; }
2486 }
2487
2488 public override SpeedMessage1SubMessage DefaultInstanceForType {
2489 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance; }
2490 }
2491
2492 public override SpeedMessage1SubMessage BuildPartial() {
2493 if (result == null) {
2494 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
2495 }
2496 SpeedMessage1SubMessage returnMe = result;
2497 result = null;
2498 return returnMe;
2499 }
2500
2501 public override Builder MergeFrom(pb::IMessage other) {
2502 if (other is SpeedMessage1SubMessage) {
2503 return MergeFrom((SpeedMessage1SubMessage) other);
2504 } else {
2505 base.MergeFrom(other);
2506 return this;
2507 }
2508 }
2509
2510 public override Builder MergeFrom(SpeedMessage1SubMessage other) {
2511 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) return this;
2512 if (other.HasField1) {
2513 Field1 = other.Field1;
2514 }
2515 if (other.HasField2) {
2516 Field2 = other.Field2;
2517 }
2518 if (other.HasField3) {
2519 Field3 = other.Field3;
2520 }
2521 if (other.HasField15) {
2522 Field15 = other.Field15;
2523 }
2524 if (other.HasField12) {
2525 Field12 = other.Field12;
2526 }
2527 if (other.HasField13) {
2528 Field13 = other.Field13;
2529 }
2530 if (other.HasField14) {
2531 Field14 = other.Field14;
2532 }
2533 if (other.HasField16) {
2534 Field16 = other.Field16;
2535 }
2536 if (other.HasField19) {
2537 Field19 = other.Field19;
2538 }
2539 if (other.HasField20) {
2540 Field20 = other.Field20;
2541 }
2542 if (other.HasField28) {
2543 Field28 = other.Field28;
2544 }
2545 if (other.HasField21) {
2546 Field21 = other.Field21;
2547 }
2548 if (other.HasField22) {
2549 Field22 = other.Field22;
2550 }
2551 if (other.HasField23) {
2552 Field23 = other.Field23;
2553 }
2554 if (other.HasField206) {
2555 Field206 = other.Field206;
2556 }
2557 if (other.HasField203) {
2558 Field203 = other.Field203;
2559 }
2560 if (other.HasField204) {
2561 Field204 = other.Field204;
2562 }
2563 if (other.HasField205) {
2564 Field205 = other.Field205;
2565 }
2566 if (other.HasField207) {
2567 Field207 = other.Field207;
2568 }
2569 if (other.HasField300) {
2570 Field300 = other.Field300;
2571 }
2572 this.MergeUnknownFields(other.UnknownFields);
2573 return this;
2574 }
2575
2576 public override Builder MergeFrom(pb::CodedInputStream input) {
2577 return MergeFrom(input, pb::ExtensionRegistry.Empty);
2578 }
2579
2580 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
2581 pb::UnknownFieldSet.Builder unknownFields = null;
2582 while (true) {
2583 uint tag = input.ReadTag();
2584 switch (tag) {
2585 case 0: {
2586 if (unknownFields != null) {
2587 this.UnknownFields = unknownFields.Build();
2588 }
2589 return this;
2590 }
2591 default: {
2592 if (pb::WireFormat.IsEndGroupTag(tag)) {
2593 if (unknownFields != null) {
2594 this.UnknownFields = unknownFields.Build();
2595 }
2596 return this;
2597 }
2598 if (unknownFields == null) {
2599 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2600 }
2601 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
2602 break;
2603 }
2604 case 8: {
2605 Field1 = input.ReadInt32();
2606 break;
2607 }
2608 case 16: {
2609 Field2 = input.ReadInt32();
2610 break;
2611 }
2612 case 24: {
2613 Field3 = input.ReadInt32();
2614 break;
2615 }
2616 case 96: {
2617 Field12 = input.ReadBool();
2618 break;
2619 }
2620 case 104: {
2621 Field13 = input.ReadInt64();
2622 break;
2623 }
2624 case 112: {
2625 Field14 = input.ReadInt64();
2626 break;
2627 }
2628 case 122: {
2629 Field15 = input.ReadString();
2630 break;
2631 }
2632 case 128: {
2633 Field16 = input.ReadInt32();
2634 break;
2635 }
2636 case 152: {
2637 Field19 = input.ReadInt32();
2638 break;
2639 }
2640 case 160: {
2641 Field20 = input.ReadBool();
2642 break;
2643 }
2644 case 169: {
2645 Field21 = input.ReadFixed64();
2646 break;
2647 }
2648 case 176: {
2649 Field22 = input.ReadInt32();
2650 break;
2651 }
2652 case 184: {
2653 Field23 = input.ReadBool();
2654 break;
2655 }
2656 case 224: {
2657 Field28 = input.ReadBool();
2658 break;
2659 }
2660 case 1629: {
2661 Field203 = input.ReadFixed32();
2662 break;
2663 }
2664 case 1632: {
2665 Field204 = input.ReadInt32();
2666 break;
2667 }
2668 case 1642: {
2669 Field205 = input.ReadString();
2670 break;
2671 }
2672 case 1648: {
2673 Field206 = input.ReadBool();
2674 break;
2675 }
2676 case 1656: {
2677 Field207 = input.ReadUInt64();
2678 break;
2679 }
2680 case 2400: {
2681 Field300 = input.ReadUInt64();
2682 break;
2683 }
2684 }
2685 }
2686 }
2687
2688
2689 public bool HasField1 {
2690 get { return result.HasField1; }
2691 }
2692 public int Field1 {
2693 get { return result.Field1; }
2694 set { SetField1(value); }
2695 }
2696 public Builder SetField1(int value) {
2697 result.hasField1 = true;
2698 result.field1_ = value;
2699 return this;
2700 }
2701 public Builder ClearField1() {
2702 result.hasField1 = false;
2703 result.field1_ = 0;
2704 return this;
2705 }
2706
2707 public bool HasField2 {
2708 get { return result.HasField2; }
2709 }
2710 public int Field2 {
2711 get { return result.Field2; }
2712 set { SetField2(value); }
2713 }
2714 public Builder SetField2(int value) {
2715 result.hasField2 = true;
2716 result.field2_ = value;
2717 return this;
2718 }
2719 public Builder ClearField2() {
2720 result.hasField2 = false;
2721 result.field2_ = 0;
2722 return this;
2723 }
2724
2725 public bool HasField3 {
2726 get { return result.HasField3; }
2727 }
2728 public int Field3 {
2729 get { return result.Field3; }
2730 set { SetField3(value); }
2731 }
2732 public Builder SetField3(int value) {
2733 result.hasField3 = true;
2734 result.field3_ = value;
2735 return this;
2736 }
2737 public Builder ClearField3() {
2738 result.hasField3 = false;
2739 result.field3_ = 0;
2740 return this;
2741 }
2742
2743 public bool HasField15 {
2744 get { return result.HasField15; }
2745 }
2746 public string Field15 {
2747 get { return result.Field15; }
2748 set { SetField15(value); }
2749 }
2750 public Builder SetField15(string value) {
2751 pb::ThrowHelper.ThrowIfNull(value, "value");
2752 result.hasField15 = true;
2753 result.field15_ = value;
2754 return this;
2755 }
2756 public Builder ClearField15() {
2757 result.hasField15 = false;
2758 result.field15_ = "";
2759 return this;
2760 }
2761
2762 public bool HasField12 {
2763 get { return result.HasField12; }
2764 }
2765 public bool Field12 {
2766 get { return result.Field12; }
2767 set { SetField12(value); }
2768 }
2769 public Builder SetField12(bool value) {
2770 result.hasField12 = true;
2771 result.field12_ = value;
2772 return this;
2773 }
2774 public Builder ClearField12() {
2775 result.hasField12 = false;
2776 result.field12_ = true;
2777 return this;
2778 }
2779
2780 public bool HasField13 {
2781 get { return result.HasField13; }
2782 }
2783 public long Field13 {
2784 get { return result.Field13; }
2785 set { SetField13(value); }
2786 }
2787 public Builder SetField13(long value) {
2788 result.hasField13 = true;
2789 result.field13_ = value;
2790 return this;
2791 }
2792 public Builder ClearField13() {
2793 result.hasField13 = false;
2794 result.field13_ = 0L;
2795 return this;
2796 }
2797
2798 public bool HasField14 {
2799 get { return result.HasField14; }
2800 }
2801 public long Field14 {
2802 get { return result.Field14; }
2803 set { SetField14(value); }
2804 }
2805 public Builder SetField14(long value) {
2806 result.hasField14 = true;
2807 result.field14_ = value;
2808 return this;
2809 }
2810 public Builder ClearField14() {
2811 result.hasField14 = false;
2812 result.field14_ = 0L;
2813 return this;
2814 }
2815
2816 public bool HasField16 {
2817 get { return result.HasField16; }
2818 }
2819 public int Field16 {
2820 get { return result.Field16; }
2821 set { SetField16(value); }
2822 }
2823 public Builder SetField16(int value) {
2824 result.hasField16 = true;
2825 result.field16_ = value;
2826 return this;
2827 }
2828 public Builder ClearField16() {
2829 result.hasField16 = false;
2830 result.field16_ = 0;
2831 return this;
2832 }
2833
2834 public bool HasField19 {
2835 get { return result.HasField19; }
2836 }
2837 public int Field19 {
2838 get { return result.Field19; }
2839 set { SetField19(value); }
2840 }
2841 public Builder SetField19(int value) {
2842 result.hasField19 = true;
2843 result.field19_ = value;
2844 return this;
2845 }
2846 public Builder ClearField19() {
2847 result.hasField19 = false;
2848 result.field19_ = 2;
2849 return this;
2850 }
2851
2852 public bool HasField20 {
2853 get { return result.HasField20; }
2854 }
2855 public bool Field20 {
2856 get { return result.Field20; }
2857 set { SetField20(value); }
2858 }
2859 public Builder SetField20(bool value) {
2860 result.hasField20 = true;
2861 result.field20_ = value;
2862 return this;
2863 }
2864 public Builder ClearField20() {
2865 result.hasField20 = false;
2866 result.field20_ = true;
2867 return this;
2868 }
2869
2870 public bool HasField28 {
2871 get { return result.HasField28; }
2872 }
2873 public bool Field28 {
2874 get { return result.Field28; }
2875 set { SetField28(value); }
2876 }
2877 public Builder SetField28(bool value) {
2878 result.hasField28 = true;
2879 result.field28_ = value;
2880 return this;
2881 }
2882 public Builder ClearField28() {
2883 result.hasField28 = false;
2884 result.field28_ = true;
2885 return this;
2886 }
2887
2888 public bool HasField21 {
2889 get { return result.HasField21; }
2890 }
2891 [global::System.CLSCompliant(false)]
2892 public ulong Field21 {
2893 get { return result.Field21; }
2894 set { SetField21(value); }
2895 }
2896 [global::System.CLSCompliant(false)]
2897 public Builder SetField21(ulong value) {
2898 result.hasField21 = true;
2899 result.field21_ = value;
2900 return this;
2901 }
2902 public Builder ClearField21() {
2903 result.hasField21 = false;
2904 result.field21_ = 0;
2905 return this;
2906 }
2907
2908 public bool HasField22 {
2909 get { return result.HasField22; }
2910 }
2911 public int Field22 {
2912 get { return result.Field22; }
2913 set { SetField22(value); }
2914 }
2915 public Builder SetField22(int value) {
2916 result.hasField22 = true;
2917 result.field22_ = value;
2918 return this;
2919 }
2920 public Builder ClearField22() {
2921 result.hasField22 = false;
2922 result.field22_ = 0;
2923 return this;
2924 }
2925
2926 public bool HasField23 {
2927 get { return result.HasField23; }
2928 }
2929 public bool Field23 {
2930 get { return result.Field23; }
2931 set { SetField23(value); }
2932 }
2933 public Builder SetField23(bool value) {
2934 result.hasField23 = true;
2935 result.field23_ = value;
2936 return this;
2937 }
2938 public Builder ClearField23() {
2939 result.hasField23 = false;
2940 result.field23_ = false;
2941 return this;
2942 }
2943
2944 public bool HasField206 {
2945 get { return result.HasField206; }
2946 }
2947 public bool Field206 {
2948 get { return result.Field206; }
2949 set { SetField206(value); }
2950 }
2951 public Builder SetField206(bool value) {
2952 result.hasField206 = true;
2953 result.field206_ = value;
2954 return this;
2955 }
2956 public Builder ClearField206() {
2957 result.hasField206 = false;
2958 result.field206_ = false;
2959 return this;
2960 }
2961
2962 public bool HasField203 {
2963 get { return result.HasField203; }
2964 }
2965 [global::System.CLSCompliant(false)]
2966 public uint Field203 {
2967 get { return result.Field203; }
2968 set { SetField203(value); }
2969 }
2970 [global::System.CLSCompliant(false)]
2971 public Builder SetField203(uint value) {
2972 result.hasField203 = true;
2973 result.field203_ = value;
2974 return this;
2975 }
2976 public Builder ClearField203() {
2977 result.hasField203 = false;
2978 result.field203_ = 0;
2979 return this;
2980 }
2981
2982 public bool HasField204 {
2983 get { return result.HasField204; }
2984 }
2985 public int Field204 {
2986 get { return result.Field204; }
2987 set { SetField204(value); }
2988 }
2989 public Builder SetField204(int value) {
2990 result.hasField204 = true;
2991 result.field204_ = value;
2992 return this;
2993 }
2994 public Builder ClearField204() {
2995 result.hasField204 = false;
2996 result.field204_ = 0;
2997 return this;
2998 }
2999
3000 public bool HasField205 {
3001 get { return result.HasField205; }
3002 }
3003 public string Field205 {
3004 get { return result.Field205; }
3005 set { SetField205(value); }
3006 }
3007 public Builder SetField205(string value) {
3008 pb::ThrowHelper.ThrowIfNull(value, "value");
3009 result.hasField205 = true;
3010 result.field205_ = value;
3011 return this;
3012 }
3013 public Builder ClearField205() {
3014 result.hasField205 = false;
3015 result.field205_ = "";
3016 return this;
3017 }
3018
3019 public bool HasField207 {
3020 get { return result.HasField207; }
3021 }
3022 [global::System.CLSCompliant(false)]
3023 public ulong Field207 {
3024 get { return result.Field207; }
3025 set { SetField207(value); }
3026 }
3027 [global::System.CLSCompliant(false)]
3028 public Builder SetField207(ulong value) {
3029 result.hasField207 = true;
3030 result.field207_ = value;
3031 return this;
3032 }
3033 public Builder ClearField207() {
3034 result.hasField207 = false;
3035 result.field207_ = 0UL;
3036 return this;
3037 }
3038
3039 public bool HasField300 {
3040 get { return result.HasField300; }
3041 }
3042 [global::System.CLSCompliant(false)]
3043 public ulong Field300 {
3044 get { return result.Field300; }
3045 set { SetField300(value); }
3046 }
3047 [global::System.CLSCompliant(false)]
3048 public Builder SetField300(ulong value) {
3049 result.hasField300 = true;
3050 result.field300_ = value;
3051 return this;
3052 }
3053 public Builder ClearField300() {
3054 result.hasField300 = false;
3055 result.field300_ = 0UL;
3056 return this;
3057 }
3058 }
3059 static SpeedMessage1SubMessage() {
3060 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
3061 }
3062 }
3063
3064 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3065 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3066 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3067 public sealed partial class SpeedMessage2 : pb::GeneratedMessage<SpeedMessage2, SpeedMessage2.Builder> {
3068 private static readonly SpeedMessage2 defaultInstance = new Builder().BuildPartial();
3069 public static SpeedMessage2 DefaultInstance {
3070 get { return defaultInstance; }
3071 }
3072
3073 public override SpeedMessage2 DefaultInstanceForType {
3074 get { return defaultInstance; }
3075 }
3076
3077 protected override SpeedMessage2 ThisMessage {
3078 get { return this; }
3079 }
3080
3081 public static pbd::MessageDescriptor Descriptor {
3082 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__Descriptor; }
3083 }
3084
3085 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2, SpeedMessage2.Builder> InternalFieldAccessors {
3086 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__FieldAccessorTable; }
3087 }
3088
3089 #region Nested types
3090 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3091 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3092 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3093 public static class Types {
3094 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3095 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3096 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3097 public sealed partial class Group1 : pb::GeneratedMessage<Group1, Group1.Builder> {
3098 private static readonly Group1 defaultInstance = new Builder().BuildPartial();
3099 public static Group1 DefaultInstance {
3100 get { return defaultInstance; }
3101 }
3102
3103 public override Group1 DefaultInstanceForType {
3104 get { return defaultInstance; }
3105 }
3106
3107 protected override Group1 ThisMessage {
3108 get { return this; }
3109 }
3110
3111 public static pbd::MessageDescriptor Descriptor {
3112 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__Descriptor; }
3113 }
3114
3115 protected override pb::FieldAccess.FieldAccessorTable<Group1, Group1.Builder> InternalFieldAccessors {
3116 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable; }
3117 }
3118
3119 public const int Field11FieldNumber = 11;
3120 private bool hasField11;
3121 private float field11_ = 0F;
3122 public bool HasField11 {
3123 get { return hasField11; }
3124 }
3125 public float Field11 {
3126 get { return field11_; }
3127 }
3128
3129 public const int Field26FieldNumber = 26;
3130 private bool hasField26;
3131 private float field26_ = 0F;
3132 public bool HasField26 {
3133 get { return hasField26; }
3134 }
3135 public float Field26 {
3136 get { return field26_; }
3137 }
3138
3139 public const int Field12FieldNumber = 12;
3140 private bool hasField12;
3141 private string field12_ = "";
3142 public bool HasField12 {
3143 get { return hasField12; }
3144 }
3145 public string Field12 {
3146 get { return field12_; }
3147 }
3148
3149 public const int Field13FieldNumber = 13;
3150 private bool hasField13;
3151 private string field13_ = "";
3152 public bool HasField13 {
3153 get { return hasField13; }
3154 }
3155 public string Field13 {
3156 get { return field13_; }
3157 }
3158
3159 public const int Field14FieldNumber = 14;
3160 private pbc::PopsicleList<string> field14_ = new pbc::PopsicleList<string>();
3161 public scg::IList<string> Field14List {
3162 get { return pbc::Lists.AsReadOnly(field14_); }
3163 }
3164 public int Field14Count {
3165 get { return field14_.Count; }
3166 }
3167 public string GetField14(int index) {
3168 return field14_[index];
3169 }
3170
3171 public const int Field15FieldNumber = 15;
3172 private bool hasField15;
3173 private ulong field15_ = 0UL;
3174 public bool HasField15 {
3175 get { return hasField15; }
3176 }
3177 [global::System.CLSCompliant(false)]
3178 public ulong Field15 {
3179 get { return field15_; }
3180 }
3181
3182 public const int Field5FieldNumber = 5;
3183 private bool hasField5;
3184 private int field5_ = 0;
3185 public bool HasField5 {
3186 get { return hasField5; }
3187 }
3188 public int Field5 {
3189 get { return field5_; }
3190 }
3191
3192 public const int Field27FieldNumber = 27;
3193 private bool hasField27;
3194 private string field27_ = "";
3195 public bool HasField27 {
3196 get { return hasField27; }
3197 }
3198 public string Field27 {
3199 get { return field27_; }
3200 }
3201
3202 public const int Field28FieldNumber = 28;
3203 private bool hasField28;
3204 private int field28_ = 0;
3205 public bool HasField28 {
3206 get { return hasField28; }
3207 }
3208 public int Field28 {
3209 get { return field28_; }
3210 }
3211
3212 public const int Field29FieldNumber = 29;
3213 private bool hasField29;
3214 private string field29_ = "";
3215 public bool HasField29 {
3216 get { return hasField29; }
3217 }
3218 public string Field29 {
3219 get { return field29_; }
3220 }
3221
3222 public const int Field16FieldNumber = 16;
3223 private bool hasField16;
3224 private string field16_ = "";
3225 public bool HasField16 {
3226 get { return hasField16; }
3227 }
3228 public string Field16 {
3229 get { return field16_; }
3230 }
3231
3232 public const int Field22FieldNumber = 22;
3233 private pbc::PopsicleList<string> field22_ = new pbc::PopsicleList<string>();
3234 public scg::IList<string> Field22List {
3235 get { return pbc::Lists.AsReadOnly(field22_); }
3236 }
3237 public int Field22Count {
3238 get { return field22_.Count; }
3239 }
3240 public string GetField22(int index) {
3241 return field22_[index];
3242 }
3243
3244 public const int Field73FieldNumber = 73;
3245 private pbc::PopsicleList<int> field73_ = new pbc::PopsicleList<int>();
3246 public scg::IList<int> Field73List {
3247 get { return pbc::Lists.AsReadOnly(field73_); }
3248 }
3249 public int Field73Count {
3250 get { return field73_.Count; }
3251 }
3252 public int GetField73(int index) {
3253 return field73_[index];
3254 }
3255
3256 public const int Field20FieldNumber = 20;
3257 private bool hasField20;
3258 private int field20_ = 0;
3259 public bool HasField20 {
3260 get { return hasField20; }
3261 }
3262 public int Field20 {
3263 get { return field20_; }
3264 }
3265
3266 public const int Field24FieldNumber = 24;
3267 private bool hasField24;
3268 private string field24_ = "";
3269 public bool HasField24 {
3270 get { return hasField24; }
3271 }
3272 public string Field24 {
3273 get { return field24_; }
3274 }
3275
3276 public const int Field31FieldNumber = 31;
3277 private bool hasField31;
3278 private global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
3279 public bool HasField31 {
3280 get { return hasField31; }
3281 }
3282 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
3283 get { return field31_; }
3284 }
3285
3286 public override bool IsInitialized {
3287 get {
3288 if (!hasField11) return false;
3289 if (!hasField15) return false;
3290 return true;
3291 }
3292 }
3293
3294 public override void WriteTo(pb::CodedOutputStream output) {
3295 int size = SerializedSize;
3296 if (HasField5) {
csharptest90922db2011-06-03 11:57:47 -05003297 output.WriteInt32(5, "field5", Field5);
csharptest27bfcc52011-06-02 12:04:06 -05003298 }
3299 if (HasField11) {
csharptest90922db2011-06-03 11:57:47 -05003300 output.WriteFloat(11, "field11", Field11);
csharptest27bfcc52011-06-02 12:04:06 -05003301 }
3302 if (HasField12) {
csharptest90922db2011-06-03 11:57:47 -05003303 output.WriteString(12, "field12", Field12);
csharptest27bfcc52011-06-02 12:04:06 -05003304 }
3305 if (HasField13) {
csharptest90922db2011-06-03 11:57:47 -05003306 output.WriteString(13, "field13", Field13);
csharptest27bfcc52011-06-02 12:04:06 -05003307 }
3308 if (field14_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05003309 output.WriteArray(pbd::FieldType.String, 14, "field14", field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003310 }
3311 if (HasField15) {
csharptest90922db2011-06-03 11:57:47 -05003312 output.WriteUInt64(15, "field15", Field15);
csharptest27bfcc52011-06-02 12:04:06 -05003313 }
3314 if (HasField16) {
csharptest90922db2011-06-03 11:57:47 -05003315 output.WriteString(16, "field16", Field16);
csharptest27bfcc52011-06-02 12:04:06 -05003316 }
3317 if (HasField20) {
csharptest90922db2011-06-03 11:57:47 -05003318 output.WriteInt32(20, "field20", Field20);
csharptest27bfcc52011-06-02 12:04:06 -05003319 }
3320 if (field22_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05003321 output.WriteArray(pbd::FieldType.String, 22, "field22", field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003322 }
3323 if (HasField24) {
csharptest90922db2011-06-03 11:57:47 -05003324 output.WriteString(24, "field24", Field24);
csharptest27bfcc52011-06-02 12:04:06 -05003325 }
3326 if (HasField26) {
csharptest90922db2011-06-03 11:57:47 -05003327 output.WriteFloat(26, "field26", Field26);
csharptest27bfcc52011-06-02 12:04:06 -05003328 }
3329 if (HasField27) {
csharptest90922db2011-06-03 11:57:47 -05003330 output.WriteString(27, "field27", Field27);
csharptest27bfcc52011-06-02 12:04:06 -05003331 }
3332 if (HasField28) {
csharptest90922db2011-06-03 11:57:47 -05003333 output.WriteInt32(28, "field28", Field28);
csharptest27bfcc52011-06-02 12:04:06 -05003334 }
3335 if (HasField29) {
csharptest90922db2011-06-03 11:57:47 -05003336 output.WriteString(29, "field29", Field29);
csharptest27bfcc52011-06-02 12:04:06 -05003337 }
3338 if (HasField31) {
csharptest90922db2011-06-03 11:57:47 -05003339 output.WriteMessage(31, "field31", Field31);
csharptest27bfcc52011-06-02 12:04:06 -05003340 }
3341 if (field73_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05003342 output.WriteArray(pbd::FieldType.Int32, 73, "field73", field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003343 }
3344 UnknownFields.WriteTo(output);
3345 }
3346
3347 private int memoizedSerializedSize = -1;
3348 public override int SerializedSize {
3349 get {
3350 int size = memoizedSerializedSize;
3351 if (size != -1) return size;
3352
3353 size = 0;
3354 if (HasField11) {
3355 size += pb::CodedOutputStream.ComputeFloatSize(11, Field11);
3356 }
3357 if (HasField26) {
3358 size += pb::CodedOutputStream.ComputeFloatSize(26, Field26);
3359 }
3360 if (HasField12) {
3361 size += pb::CodedOutputStream.ComputeStringSize(12, Field12);
3362 }
3363 if (HasField13) {
3364 size += pb::CodedOutputStream.ComputeStringSize(13, Field13);
3365 }
3366 {
3367 int dataSize = 0;
3368 foreach (string element in Field14List) {
3369 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3370 }
3371 size += dataSize;
3372 size += 1 * field14_.Count;
3373 }
3374 if (HasField15) {
3375 size += pb::CodedOutputStream.ComputeUInt64Size(15, Field15);
3376 }
3377 if (HasField5) {
3378 size += pb::CodedOutputStream.ComputeInt32Size(5, Field5);
3379 }
3380 if (HasField27) {
3381 size += pb::CodedOutputStream.ComputeStringSize(27, Field27);
3382 }
3383 if (HasField28) {
3384 size += pb::CodedOutputStream.ComputeInt32Size(28, Field28);
3385 }
3386 if (HasField29) {
3387 size += pb::CodedOutputStream.ComputeStringSize(29, Field29);
3388 }
3389 if (HasField16) {
3390 size += pb::CodedOutputStream.ComputeStringSize(16, Field16);
3391 }
3392 {
3393 int dataSize = 0;
3394 foreach (string element in Field22List) {
3395 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3396 }
3397 size += dataSize;
3398 size += 2 * field22_.Count;
3399 }
3400 {
3401 int dataSize = 0;
3402 foreach (int element in Field73List) {
3403 dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
3404 }
3405 size += dataSize;
3406 size += 2 * field73_.Count;
3407 }
3408 if (HasField20) {
3409 size += pb::CodedOutputStream.ComputeInt32Size(20, Field20);
3410 }
3411 if (HasField24) {
3412 size += pb::CodedOutputStream.ComputeStringSize(24, Field24);
3413 }
3414 if (HasField31) {
3415 size += pb::CodedOutputStream.ComputeMessageSize(31, Field31);
3416 }
3417 size += UnknownFields.SerializedSize;
3418 memoizedSerializedSize = size;
3419 return size;
3420 }
3421 }
3422
3423 public static Group1 ParseFrom(pb::ByteString data) {
3424 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3425 }
3426 public static Group1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
3427 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3428 }
3429 public static Group1 ParseFrom(byte[] data) {
3430 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3431 }
3432 public static Group1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
3433 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3434 }
3435 public static Group1 ParseFrom(global::System.IO.Stream input) {
3436 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3437 }
3438 public static Group1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3439 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3440 }
3441 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input) {
3442 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
3443 }
3444 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3445 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
3446 }
3447 public static Group1 ParseFrom(pb::CodedInputStream input) {
3448 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3449 }
3450 public static Group1 ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
3451 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3452 }
3453 public static Builder CreateBuilder() { return new Builder(); }
3454 public override Builder ToBuilder() { return CreateBuilder(this); }
3455 public override Builder CreateBuilderForType() { return new Builder(); }
3456 public static Builder CreateBuilder(Group1 prototype) {
3457 return (Builder) new Builder().MergeFrom(prototype);
3458 }
3459
3460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3461 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3462 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3463 public sealed partial class Builder : pb::GeneratedBuilder<Group1, Builder> {
3464 protected override Builder ThisBuilder {
3465 get { return this; }
3466 }
3467 public Builder() {}
3468
3469 Group1 result = new Group1();
3470
3471 protected override Group1 MessageBeingBuilt {
3472 get { return result; }
3473 }
3474
3475 public override Builder Clear() {
3476 result = new Group1();
3477 return this;
3478 }
3479
3480 public override Builder Clone() {
3481 return new Builder().MergeFrom(result);
3482 }
3483
3484 public override pbd::MessageDescriptor DescriptorForType {
3485 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Descriptor; }
3486 }
3487
3488 public override Group1 DefaultInstanceForType {
3489 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance; }
3490 }
3491
3492 public override Group1 BuildPartial() {
3493 if (result == null) {
3494 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
3495 }
3496 result.field14_.MakeReadOnly();
3497 result.field22_.MakeReadOnly();
3498 result.field73_.MakeReadOnly();
3499 Group1 returnMe = result;
3500 result = null;
3501 return returnMe;
3502 }
3503
3504 public override Builder MergeFrom(pb::IMessage other) {
3505 if (other is Group1) {
3506 return MergeFrom((Group1) other);
3507 } else {
3508 base.MergeFrom(other);
3509 return this;
3510 }
3511 }
3512
3513 public override Builder MergeFrom(Group1 other) {
3514 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance) return this;
3515 if (other.HasField11) {
3516 Field11 = other.Field11;
3517 }
3518 if (other.HasField26) {
3519 Field26 = other.Field26;
3520 }
3521 if (other.HasField12) {
3522 Field12 = other.Field12;
3523 }
3524 if (other.HasField13) {
3525 Field13 = other.Field13;
3526 }
3527 if (other.field14_.Count != 0) {
3528 base.AddRange(other.field14_, result.field14_);
3529 }
3530 if (other.HasField15) {
3531 Field15 = other.Field15;
3532 }
3533 if (other.HasField5) {
3534 Field5 = other.Field5;
3535 }
3536 if (other.HasField27) {
3537 Field27 = other.Field27;
3538 }
3539 if (other.HasField28) {
3540 Field28 = other.Field28;
3541 }
3542 if (other.HasField29) {
3543 Field29 = other.Field29;
3544 }
3545 if (other.HasField16) {
3546 Field16 = other.Field16;
3547 }
3548 if (other.field22_.Count != 0) {
3549 base.AddRange(other.field22_, result.field22_);
3550 }
3551 if (other.field73_.Count != 0) {
3552 base.AddRange(other.field73_, result.field73_);
3553 }
3554 if (other.HasField20) {
3555 Field20 = other.Field20;
3556 }
3557 if (other.HasField24) {
3558 Field24 = other.Field24;
3559 }
3560 if (other.HasField31) {
3561 MergeField31(other.Field31);
3562 }
3563 this.MergeUnknownFields(other.UnknownFields);
3564 return this;
3565 }
3566
3567 public override Builder MergeFrom(pb::CodedInputStream input) {
3568 return MergeFrom(input, pb::ExtensionRegistry.Empty);
3569 }
3570
3571 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
3572 pb::UnknownFieldSet.Builder unknownFields = null;
3573 while (true) {
3574 uint tag = input.ReadTag();
3575 switch (tag) {
3576 case 0: {
3577 if (unknownFields != null) {
3578 this.UnknownFields = unknownFields.Build();
3579 }
3580 return this;
3581 }
3582 default: {
3583 if (pb::WireFormat.IsEndGroupTag(tag)) {
3584 if (unknownFields != null) {
3585 this.UnknownFields = unknownFields.Build();
3586 }
3587 return this;
3588 }
3589 if (unknownFields == null) {
3590 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3591 }
3592 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
3593 break;
3594 }
3595 case 40: {
3596 Field5 = input.ReadInt32();
3597 break;
3598 }
3599 case 93: {
3600 Field11 = input.ReadFloat();
3601 break;
3602 }
3603 case 98: {
3604 Field12 = input.ReadString();
3605 break;
3606 }
3607 case 106: {
3608 Field13 = input.ReadString();
3609 break;
3610 }
3611 case 114: {
3612 AddField14(input.ReadString());
3613 break;
3614 }
3615 case 120: {
3616 Field15 = input.ReadUInt64();
3617 break;
3618 }
3619 case 130: {
3620 Field16 = input.ReadString();
3621 break;
3622 }
3623 case 160: {
3624 Field20 = input.ReadInt32();
3625 break;
3626 }
3627 case 178: {
3628 AddField22(input.ReadString());
3629 break;
3630 }
3631 case 194: {
3632 Field24 = input.ReadString();
3633 break;
3634 }
3635 case 213: {
3636 Field26 = input.ReadFloat();
3637 break;
3638 }
3639 case 218: {
3640 Field27 = input.ReadString();
3641 break;
3642 }
3643 case 224: {
3644 Field28 = input.ReadInt32();
3645 break;
3646 }
3647 case 234: {
3648 Field29 = input.ReadString();
3649 break;
3650 }
3651 case 250: {
3652 global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder();
3653 if (HasField31) {
3654 subBuilder.MergeFrom(Field31);
3655 }
3656 input.ReadMessage(subBuilder, extensionRegistry);
3657 Field31 = subBuilder.BuildPartial();
3658 break;
3659 }
3660 case 584: {
3661 AddField73(input.ReadInt32());
3662 break;
3663 }
3664 }
3665 }
3666 }
3667
3668
3669 public bool HasField11 {
3670 get { return result.HasField11; }
3671 }
3672 public float Field11 {
3673 get { return result.Field11; }
3674 set { SetField11(value); }
3675 }
3676 public Builder SetField11(float value) {
3677 result.hasField11 = true;
3678 result.field11_ = value;
3679 return this;
3680 }
3681 public Builder ClearField11() {
3682 result.hasField11 = false;
3683 result.field11_ = 0F;
3684 return this;
3685 }
3686
3687 public bool HasField26 {
3688 get { return result.HasField26; }
3689 }
3690 public float Field26 {
3691 get { return result.Field26; }
3692 set { SetField26(value); }
3693 }
3694 public Builder SetField26(float value) {
3695 result.hasField26 = true;
3696 result.field26_ = value;
3697 return this;
3698 }
3699 public Builder ClearField26() {
3700 result.hasField26 = false;
3701 result.field26_ = 0F;
3702 return this;
3703 }
3704
3705 public bool HasField12 {
3706 get { return result.HasField12; }
3707 }
3708 public string Field12 {
3709 get { return result.Field12; }
3710 set { SetField12(value); }
3711 }
3712 public Builder SetField12(string value) {
3713 pb::ThrowHelper.ThrowIfNull(value, "value");
3714 result.hasField12 = true;
3715 result.field12_ = value;
3716 return this;
3717 }
3718 public Builder ClearField12() {
3719 result.hasField12 = false;
3720 result.field12_ = "";
3721 return this;
3722 }
3723
3724 public bool HasField13 {
3725 get { return result.HasField13; }
3726 }
3727 public string Field13 {
3728 get { return result.Field13; }
3729 set { SetField13(value); }
3730 }
3731 public Builder SetField13(string value) {
3732 pb::ThrowHelper.ThrowIfNull(value, "value");
3733 result.hasField13 = true;
3734 result.field13_ = value;
3735 return this;
3736 }
3737 public Builder ClearField13() {
3738 result.hasField13 = false;
3739 result.field13_ = "";
3740 return this;
3741 }
3742
3743 public pbc::IPopsicleList<string> Field14List {
3744 get { return result.field14_; }
3745 }
3746 public int Field14Count {
3747 get { return result.Field14Count; }
3748 }
3749 public string GetField14(int index) {
3750 return result.GetField14(index);
3751 }
3752 public Builder SetField14(int index, string value) {
3753 pb::ThrowHelper.ThrowIfNull(value, "value");
3754 result.field14_[index] = value;
3755 return this;
3756 }
3757 public Builder AddField14(string value) {
3758 pb::ThrowHelper.ThrowIfNull(value, "value");
3759 result.field14_.Add(value);
3760 return this;
3761 }
3762 public Builder AddRangeField14(scg::IEnumerable<string> values) {
3763 base.AddRange(values, result.field14_);
3764 return this;
3765 }
3766 public Builder ClearField14() {
3767 result.field14_.Clear();
3768 return this;
3769 }
3770
3771 public bool HasField15 {
3772 get { return result.HasField15; }
3773 }
3774 [global::System.CLSCompliant(false)]
3775 public ulong Field15 {
3776 get { return result.Field15; }
3777 set { SetField15(value); }
3778 }
3779 [global::System.CLSCompliant(false)]
3780 public Builder SetField15(ulong value) {
3781 result.hasField15 = true;
3782 result.field15_ = value;
3783 return this;
3784 }
3785 public Builder ClearField15() {
3786 result.hasField15 = false;
3787 result.field15_ = 0UL;
3788 return this;
3789 }
3790
3791 public bool HasField5 {
3792 get { return result.HasField5; }
3793 }
3794 public int Field5 {
3795 get { return result.Field5; }
3796 set { SetField5(value); }
3797 }
3798 public Builder SetField5(int value) {
3799 result.hasField5 = true;
3800 result.field5_ = value;
3801 return this;
3802 }
3803 public Builder ClearField5() {
3804 result.hasField5 = false;
3805 result.field5_ = 0;
3806 return this;
3807 }
3808
3809 public bool HasField27 {
3810 get { return result.HasField27; }
3811 }
3812 public string Field27 {
3813 get { return result.Field27; }
3814 set { SetField27(value); }
3815 }
3816 public Builder SetField27(string value) {
3817 pb::ThrowHelper.ThrowIfNull(value, "value");
3818 result.hasField27 = true;
3819 result.field27_ = value;
3820 return this;
3821 }
3822 public Builder ClearField27() {
3823 result.hasField27 = false;
3824 result.field27_ = "";
3825 return this;
3826 }
3827
3828 public bool HasField28 {
3829 get { return result.HasField28; }
3830 }
3831 public int Field28 {
3832 get { return result.Field28; }
3833 set { SetField28(value); }
3834 }
3835 public Builder SetField28(int value) {
3836 result.hasField28 = true;
3837 result.field28_ = value;
3838 return this;
3839 }
3840 public Builder ClearField28() {
3841 result.hasField28 = false;
3842 result.field28_ = 0;
3843 return this;
3844 }
3845
3846 public bool HasField29 {
3847 get { return result.HasField29; }
3848 }
3849 public string Field29 {
3850 get { return result.Field29; }
3851 set { SetField29(value); }
3852 }
3853 public Builder SetField29(string value) {
3854 pb::ThrowHelper.ThrowIfNull(value, "value");
3855 result.hasField29 = true;
3856 result.field29_ = value;
3857 return this;
3858 }
3859 public Builder ClearField29() {
3860 result.hasField29 = false;
3861 result.field29_ = "";
3862 return this;
3863 }
3864
3865 public bool HasField16 {
3866 get { return result.HasField16; }
3867 }
3868 public string Field16 {
3869 get { return result.Field16; }
3870 set { SetField16(value); }
3871 }
3872 public Builder SetField16(string value) {
3873 pb::ThrowHelper.ThrowIfNull(value, "value");
3874 result.hasField16 = true;
3875 result.field16_ = value;
3876 return this;
3877 }
3878 public Builder ClearField16() {
3879 result.hasField16 = false;
3880 result.field16_ = "";
3881 return this;
3882 }
3883
3884 public pbc::IPopsicleList<string> Field22List {
3885 get { return result.field22_; }
3886 }
3887 public int Field22Count {
3888 get { return result.Field22Count; }
3889 }
3890 public string GetField22(int index) {
3891 return result.GetField22(index);
3892 }
3893 public Builder SetField22(int index, string value) {
3894 pb::ThrowHelper.ThrowIfNull(value, "value");
3895 result.field22_[index] = value;
3896 return this;
3897 }
3898 public Builder AddField22(string value) {
3899 pb::ThrowHelper.ThrowIfNull(value, "value");
3900 result.field22_.Add(value);
3901 return this;
3902 }
3903 public Builder AddRangeField22(scg::IEnumerable<string> values) {
3904 base.AddRange(values, result.field22_);
3905 return this;
3906 }
3907 public Builder ClearField22() {
3908 result.field22_.Clear();
3909 return this;
3910 }
3911
3912 public pbc::IPopsicleList<int> Field73List {
3913 get { return result.field73_; }
3914 }
3915 public int Field73Count {
3916 get { return result.Field73Count; }
3917 }
3918 public int GetField73(int index) {
3919 return result.GetField73(index);
3920 }
3921 public Builder SetField73(int index, int value) {
3922 result.field73_[index] = value;
3923 return this;
3924 }
3925 public Builder AddField73(int value) {
3926 result.field73_.Add(value);
3927 return this;
3928 }
3929 public Builder AddRangeField73(scg::IEnumerable<int> values) {
3930 base.AddRange(values, result.field73_);
3931 return this;
3932 }
3933 public Builder ClearField73() {
3934 result.field73_.Clear();
3935 return this;
3936 }
3937
3938 public bool HasField20 {
3939 get { return result.HasField20; }
3940 }
3941 public int Field20 {
3942 get { return result.Field20; }
3943 set { SetField20(value); }
3944 }
3945 public Builder SetField20(int value) {
3946 result.hasField20 = true;
3947 result.field20_ = value;
3948 return this;
3949 }
3950 public Builder ClearField20() {
3951 result.hasField20 = false;
3952 result.field20_ = 0;
3953 return this;
3954 }
3955
3956 public bool HasField24 {
3957 get { return result.HasField24; }
3958 }
3959 public string Field24 {
3960 get { return result.Field24; }
3961 set { SetField24(value); }
3962 }
3963 public Builder SetField24(string value) {
3964 pb::ThrowHelper.ThrowIfNull(value, "value");
3965 result.hasField24 = true;
3966 result.field24_ = value;
3967 return this;
3968 }
3969 public Builder ClearField24() {
3970 result.hasField24 = false;
3971 result.field24_ = "";
3972 return this;
3973 }
3974
3975 public bool HasField31 {
3976 get { return result.HasField31; }
3977 }
3978 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
3979 get { return result.Field31; }
3980 set { SetField31(value); }
3981 }
3982 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
3983 pb::ThrowHelper.ThrowIfNull(value, "value");
3984 result.hasField31 = true;
3985 result.field31_ = value;
3986 return this;
3987 }
3988 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder builderForValue) {
3989 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
3990 result.hasField31 = true;
3991 result.field31_ = builderForValue.Build();
3992 return this;
3993 }
3994 public Builder MergeField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
3995 pb::ThrowHelper.ThrowIfNull(value, "value");
3996 if (result.HasField31 &&
3997 result.field31_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) {
3998 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder(result.field31_).MergeFrom(value).BuildPartial();
3999 } else {
4000 result.field31_ = value;
4001 }
4002 result.hasField31 = true;
4003 return this;
4004 }
4005 public Builder ClearField31() {
4006 result.hasField31 = false;
4007 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
4008 return this;
4009 }
4010 }
4011 static Group1() {
4012 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
4013 }
4014 }
4015
4016 }
4017 #endregion
4018
4019 public const int Field1FieldNumber = 1;
4020 private bool hasField1;
4021 private string field1_ = "";
4022 public bool HasField1 {
4023 get { return hasField1; }
4024 }
4025 public string Field1 {
4026 get { return field1_; }
4027 }
4028
4029 public const int Field3FieldNumber = 3;
4030 private bool hasField3;
4031 private long field3_ = 0L;
4032 public bool HasField3 {
4033 get { return hasField3; }
4034 }
4035 public long Field3 {
4036 get { return field3_; }
4037 }
4038
4039 public const int Field4FieldNumber = 4;
4040 private bool hasField4;
4041 private long field4_ = 0L;
4042 public bool HasField4 {
4043 get { return hasField4; }
4044 }
4045 public long Field4 {
4046 get { return field4_; }
4047 }
4048
4049 public const int Field30FieldNumber = 30;
4050 private bool hasField30;
4051 private long field30_ = 0L;
4052 public bool HasField30 {
4053 get { return hasField30; }
4054 }
4055 public long Field30 {
4056 get { return field30_; }
4057 }
4058
4059 public const int Field75FieldNumber = 75;
4060 private bool hasField75;
4061 private bool field75_ = false;
4062 public bool HasField75 {
4063 get { return hasField75; }
4064 }
4065 public bool Field75 {
4066 get { return field75_; }
4067 }
4068
4069 public const int Field6FieldNumber = 6;
4070 private bool hasField6;
4071 private string field6_ = "";
4072 public bool HasField6 {
4073 get { return hasField6; }
4074 }
4075 public string Field6 {
4076 get { return field6_; }
4077 }
4078
4079 public const int Field2FieldNumber = 2;
4080 private bool hasField2;
4081 private pb::ByteString field2_ = pb::ByteString.Empty;
4082 public bool HasField2 {
4083 get { return hasField2; }
4084 }
4085 public pb::ByteString Field2 {
4086 get { return field2_; }
4087 }
4088
4089 public const int Field21FieldNumber = 21;
4090 private bool hasField21;
4091 private int field21_ = 0;
4092 public bool HasField21 {
4093 get { return hasField21; }
4094 }
4095 public int Field21 {
4096 get { return field21_; }
4097 }
4098
4099 public const int Field71FieldNumber = 71;
4100 private bool hasField71;
4101 private int field71_ = 0;
4102 public bool HasField71 {
4103 get { return hasField71; }
4104 }
4105 public int Field71 {
4106 get { return field71_; }
4107 }
4108
4109 public const int Field25FieldNumber = 25;
4110 private bool hasField25;
4111 private float field25_ = 0F;
4112 public bool HasField25 {
4113 get { return hasField25; }
4114 }
4115 public float Field25 {
4116 get { return field25_; }
4117 }
4118
4119 public const int Field109FieldNumber = 109;
4120 private bool hasField109;
4121 private int field109_ = 0;
4122 public bool HasField109 {
4123 get { return hasField109; }
4124 }
4125 public int Field109 {
4126 get { return field109_; }
4127 }
4128
4129 public const int Field210FieldNumber = 210;
4130 private bool hasField210;
4131 private int field210_ = 0;
4132 public bool HasField210 {
4133 get { return hasField210; }
4134 }
4135 public int Field210 {
4136 get { return field210_; }
4137 }
4138
4139 public const int Field211FieldNumber = 211;
4140 private bool hasField211;
4141 private int field211_ = 0;
4142 public bool HasField211 {
4143 get { return hasField211; }
4144 }
4145 public int Field211 {
4146 get { return field211_; }
4147 }
4148
4149 public const int Field212FieldNumber = 212;
4150 private bool hasField212;
4151 private int field212_ = 0;
4152 public bool HasField212 {
4153 get { return hasField212; }
4154 }
4155 public int Field212 {
4156 get { return field212_; }
4157 }
4158
4159 public const int Field213FieldNumber = 213;
4160 private bool hasField213;
4161 private int field213_ = 0;
4162 public bool HasField213 {
4163 get { return hasField213; }
4164 }
4165 public int Field213 {
4166 get { return field213_; }
4167 }
4168
4169 public const int Field216FieldNumber = 216;
4170 private bool hasField216;
4171 private int field216_ = 0;
4172 public bool HasField216 {
4173 get { return hasField216; }
4174 }
4175 public int Field216 {
4176 get { return field216_; }
4177 }
4178
4179 public const int Field217FieldNumber = 217;
4180 private bool hasField217;
4181 private int field217_ = 0;
4182 public bool HasField217 {
4183 get { return hasField217; }
4184 }
4185 public int Field217 {
4186 get { return field217_; }
4187 }
4188
4189 public const int Field218FieldNumber = 218;
4190 private bool hasField218;
4191 private int field218_ = 0;
4192 public bool HasField218 {
4193 get { return hasField218; }
4194 }
4195 public int Field218 {
4196 get { return field218_; }
4197 }
4198
4199 public const int Field220FieldNumber = 220;
4200 private bool hasField220;
4201 private int field220_ = 0;
4202 public bool HasField220 {
4203 get { return hasField220; }
4204 }
4205 public int Field220 {
4206 get { return field220_; }
4207 }
4208
4209 public const int Field221FieldNumber = 221;
4210 private bool hasField221;
4211 private int field221_ = 0;
4212 public bool HasField221 {
4213 get { return hasField221; }
4214 }
4215 public int Field221 {
4216 get { return field221_; }
4217 }
4218
4219 public const int Field222FieldNumber = 222;
4220 private bool hasField222;
4221 private float field222_ = 0F;
4222 public bool HasField222 {
4223 get { return hasField222; }
4224 }
4225 public float Field222 {
4226 get { return field222_; }
4227 }
4228
4229 public const int Field63FieldNumber = 63;
4230 private bool hasField63;
4231 private int field63_ = 0;
4232 public bool HasField63 {
4233 get { return hasField63; }
4234 }
4235 public int Field63 {
4236 get { return field63_; }
4237 }
4238
4239 public const int Group1FieldNumber = 10;
4240 private pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> group1_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1>();
4241 public scg::IList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
4242 get { return group1_; }
4243 }
4244 public int Group1Count {
4245 get { return group1_.Count; }
4246 }
4247 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
4248 return group1_[index];
4249 }
4250
4251 public const int Field128FieldNumber = 128;
4252 private pbc::PopsicleList<string> field128_ = new pbc::PopsicleList<string>();
4253 public scg::IList<string> Field128List {
4254 get { return pbc::Lists.AsReadOnly(field128_); }
4255 }
4256 public int Field128Count {
4257 get { return field128_.Count; }
4258 }
4259 public string GetField128(int index) {
4260 return field128_[index];
4261 }
4262
4263 public const int Field131FieldNumber = 131;
4264 private bool hasField131;
4265 private long field131_ = 0L;
4266 public bool HasField131 {
4267 get { return hasField131; }
4268 }
4269 public long Field131 {
4270 get { return field131_; }
4271 }
4272
4273 public const int Field127FieldNumber = 127;
4274 private pbc::PopsicleList<string> field127_ = new pbc::PopsicleList<string>();
4275 public scg::IList<string> Field127List {
4276 get { return pbc::Lists.AsReadOnly(field127_); }
4277 }
4278 public int Field127Count {
4279 get { return field127_.Count; }
4280 }
4281 public string GetField127(int index) {
4282 return field127_[index];
4283 }
4284
4285 public const int Field129FieldNumber = 129;
4286 private bool hasField129;
4287 private int field129_ = 0;
4288 public bool HasField129 {
4289 get { return hasField129; }
4290 }
4291 public int Field129 {
4292 get { return field129_; }
4293 }
4294
4295 public const int Field130FieldNumber = 130;
4296 private pbc::PopsicleList<long> field130_ = new pbc::PopsicleList<long>();
4297 public scg::IList<long> Field130List {
4298 get { return pbc::Lists.AsReadOnly(field130_); }
4299 }
4300 public int Field130Count {
4301 get { return field130_.Count; }
4302 }
4303 public long GetField130(int index) {
4304 return field130_[index];
4305 }
4306
4307 public const int Field205FieldNumber = 205;
4308 private bool hasField205;
4309 private bool field205_ = false;
4310 public bool HasField205 {
4311 get { return hasField205; }
4312 }
4313 public bool Field205 {
4314 get { return field205_; }
4315 }
4316
4317 public const int Field206FieldNumber = 206;
4318 private bool hasField206;
4319 private bool field206_ = false;
4320 public bool HasField206 {
4321 get { return hasField206; }
4322 }
4323 public bool Field206 {
4324 get { return field206_; }
4325 }
4326
4327 public override bool IsInitialized {
4328 get {
4329 return true;
4330 }
4331 }
4332
4333 public override void WriteTo(pb::CodedOutputStream output) {
4334 int size = SerializedSize;
4335 if (HasField1) {
csharptest90922db2011-06-03 11:57:47 -05004336 output.WriteString(1, "field1", Field1);
csharptest27bfcc52011-06-02 12:04:06 -05004337 }
4338 if (HasField2) {
csharptest90922db2011-06-03 11:57:47 -05004339 output.WriteBytes(2, "field2", Field2);
csharptest27bfcc52011-06-02 12:04:06 -05004340 }
4341 if (HasField3) {
csharptest90922db2011-06-03 11:57:47 -05004342 output.WriteInt64(3, "field3", Field3);
csharptest27bfcc52011-06-02 12:04:06 -05004343 }
4344 if (HasField4) {
csharptest90922db2011-06-03 11:57:47 -05004345 output.WriteInt64(4, "field4", Field4);
csharptest27bfcc52011-06-02 12:04:06 -05004346 }
4347 if (HasField6) {
csharptest90922db2011-06-03 11:57:47 -05004348 output.WriteString(6, "field6", Field6);
csharptest27bfcc52011-06-02 12:04:06 -05004349 }
csharptest90922db2011-06-03 11:57:47 -05004350 if (group1_.Count > 0) {
4351 output.WriteGroupArray(10, "group1", group1_);
csharptest27bfcc52011-06-02 12:04:06 -05004352 }
4353 if (HasField21) {
csharptest90922db2011-06-03 11:57:47 -05004354 output.WriteInt32(21, "field21", Field21);
csharptest27bfcc52011-06-02 12:04:06 -05004355 }
4356 if (HasField25) {
csharptest90922db2011-06-03 11:57:47 -05004357 output.WriteFloat(25, "field25", Field25);
csharptest27bfcc52011-06-02 12:04:06 -05004358 }
4359 if (HasField30) {
csharptest90922db2011-06-03 11:57:47 -05004360 output.WriteInt64(30, "field30", Field30);
csharptest27bfcc52011-06-02 12:04:06 -05004361 }
4362 if (HasField63) {
csharptest90922db2011-06-03 11:57:47 -05004363 output.WriteInt32(63, "field63", Field63);
csharptest27bfcc52011-06-02 12:04:06 -05004364 }
4365 if (HasField71) {
csharptest90922db2011-06-03 11:57:47 -05004366 output.WriteInt32(71, "field71", Field71);
csharptest27bfcc52011-06-02 12:04:06 -05004367 }
4368 if (HasField75) {
csharptest90922db2011-06-03 11:57:47 -05004369 output.WriteBool(75, "field75", Field75);
csharptest27bfcc52011-06-02 12:04:06 -05004370 }
4371 if (HasField109) {
csharptest90922db2011-06-03 11:57:47 -05004372 output.WriteInt32(109, "field109", Field109);
csharptest27bfcc52011-06-02 12:04:06 -05004373 }
4374 if (field127_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05004375 output.WriteArray(pbd::FieldType.String, 127, "field127", field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004376 }
4377 if (field128_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05004378 output.WriteArray(pbd::FieldType.String, 128, "field128", field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004379 }
4380 if (HasField129) {
csharptest90922db2011-06-03 11:57:47 -05004381 output.WriteInt32(129, "field129", Field129);
csharptest27bfcc52011-06-02 12:04:06 -05004382 }
4383 if (field130_.Count > 0) {
csharptest90922db2011-06-03 11:57:47 -05004384 output.WriteArray(pbd::FieldType.Int64, 130, "field130", field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004385 }
4386 if (HasField131) {
csharptest90922db2011-06-03 11:57:47 -05004387 output.WriteInt64(131, "field131", Field131);
csharptest27bfcc52011-06-02 12:04:06 -05004388 }
4389 if (HasField205) {
csharptest90922db2011-06-03 11:57:47 -05004390 output.WriteBool(205, "field205", Field205);
csharptest27bfcc52011-06-02 12:04:06 -05004391 }
4392 if (HasField206) {
csharptest90922db2011-06-03 11:57:47 -05004393 output.WriteBool(206, "field206", Field206);
csharptest27bfcc52011-06-02 12:04:06 -05004394 }
4395 if (HasField210) {
csharptest90922db2011-06-03 11:57:47 -05004396 output.WriteInt32(210, "field210", Field210);
csharptest27bfcc52011-06-02 12:04:06 -05004397 }
4398 if (HasField211) {
csharptest90922db2011-06-03 11:57:47 -05004399 output.WriteInt32(211, "field211", Field211);
csharptest27bfcc52011-06-02 12:04:06 -05004400 }
4401 if (HasField212) {
csharptest90922db2011-06-03 11:57:47 -05004402 output.WriteInt32(212, "field212", Field212);
csharptest27bfcc52011-06-02 12:04:06 -05004403 }
4404 if (HasField213) {
csharptest90922db2011-06-03 11:57:47 -05004405 output.WriteInt32(213, "field213", Field213);
csharptest27bfcc52011-06-02 12:04:06 -05004406 }
4407 if (HasField216) {
csharptest90922db2011-06-03 11:57:47 -05004408 output.WriteInt32(216, "field216", Field216);
csharptest27bfcc52011-06-02 12:04:06 -05004409 }
4410 if (HasField217) {
csharptest90922db2011-06-03 11:57:47 -05004411 output.WriteInt32(217, "field217", Field217);
csharptest27bfcc52011-06-02 12:04:06 -05004412 }
4413 if (HasField218) {
csharptest90922db2011-06-03 11:57:47 -05004414 output.WriteInt32(218, "field218", Field218);
csharptest27bfcc52011-06-02 12:04:06 -05004415 }
4416 if (HasField220) {
csharptest90922db2011-06-03 11:57:47 -05004417 output.WriteInt32(220, "field220", Field220);
csharptest27bfcc52011-06-02 12:04:06 -05004418 }
4419 if (HasField221) {
csharptest90922db2011-06-03 11:57:47 -05004420 output.WriteInt32(221, "field221", Field221);
csharptest27bfcc52011-06-02 12:04:06 -05004421 }
4422 if (HasField222) {
csharptest90922db2011-06-03 11:57:47 -05004423 output.WriteFloat(222, "field222", Field222);
csharptest27bfcc52011-06-02 12:04:06 -05004424 }
4425 UnknownFields.WriteTo(output);
4426 }
4427
4428 private int memoizedSerializedSize = -1;
4429 public override int SerializedSize {
4430 get {
4431 int size = memoizedSerializedSize;
4432 if (size != -1) return size;
4433
4434 size = 0;
4435 if (HasField1) {
4436 size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
4437 }
4438 if (HasField3) {
4439 size += pb::CodedOutputStream.ComputeInt64Size(3, Field3);
4440 }
4441 if (HasField4) {
4442 size += pb::CodedOutputStream.ComputeInt64Size(4, Field4);
4443 }
4444 if (HasField30) {
4445 size += pb::CodedOutputStream.ComputeInt64Size(30, Field30);
4446 }
4447 if (HasField75) {
4448 size += pb::CodedOutputStream.ComputeBoolSize(75, Field75);
4449 }
4450 if (HasField6) {
4451 size += pb::CodedOutputStream.ComputeStringSize(6, Field6);
4452 }
4453 if (HasField2) {
4454 size += pb::CodedOutputStream.ComputeBytesSize(2, Field2);
4455 }
4456 if (HasField21) {
4457 size += pb::CodedOutputStream.ComputeInt32Size(21, Field21);
4458 }
4459 if (HasField71) {
4460 size += pb::CodedOutputStream.ComputeInt32Size(71, Field71);
4461 }
4462 if (HasField25) {
4463 size += pb::CodedOutputStream.ComputeFloatSize(25, Field25);
4464 }
4465 if (HasField109) {
4466 size += pb::CodedOutputStream.ComputeInt32Size(109, Field109);
4467 }
4468 if (HasField210) {
4469 size += pb::CodedOutputStream.ComputeInt32Size(210, Field210);
4470 }
4471 if (HasField211) {
4472 size += pb::CodedOutputStream.ComputeInt32Size(211, Field211);
4473 }
4474 if (HasField212) {
4475 size += pb::CodedOutputStream.ComputeInt32Size(212, Field212);
4476 }
4477 if (HasField213) {
4478 size += pb::CodedOutputStream.ComputeInt32Size(213, Field213);
4479 }
4480 if (HasField216) {
4481 size += pb::CodedOutputStream.ComputeInt32Size(216, Field216);
4482 }
4483 if (HasField217) {
4484 size += pb::CodedOutputStream.ComputeInt32Size(217, Field217);
4485 }
4486 if (HasField218) {
4487 size += pb::CodedOutputStream.ComputeInt32Size(218, Field218);
4488 }
4489 if (HasField220) {
4490 size += pb::CodedOutputStream.ComputeInt32Size(220, Field220);
4491 }
4492 if (HasField221) {
4493 size += pb::CodedOutputStream.ComputeInt32Size(221, Field221);
4494 }
4495 if (HasField222) {
4496 size += pb::CodedOutputStream.ComputeFloatSize(222, Field222);
4497 }
4498 if (HasField63) {
4499 size += pb::CodedOutputStream.ComputeInt32Size(63, Field63);
4500 }
4501 foreach (global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 element in Group1List) {
4502 size += pb::CodedOutputStream.ComputeGroupSize(10, element);
4503 }
4504 {
4505 int dataSize = 0;
4506 foreach (string element in Field128List) {
4507 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4508 }
4509 size += dataSize;
4510 size += 2 * field128_.Count;
4511 }
4512 if (HasField131) {
4513 size += pb::CodedOutputStream.ComputeInt64Size(131, Field131);
4514 }
4515 {
4516 int dataSize = 0;
4517 foreach (string element in Field127List) {
4518 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4519 }
4520 size += dataSize;
4521 size += 2 * field127_.Count;
4522 }
4523 if (HasField129) {
4524 size += pb::CodedOutputStream.ComputeInt32Size(129, Field129);
4525 }
4526 {
4527 int dataSize = 0;
4528 foreach (long element in Field130List) {
4529 dataSize += pb::CodedOutputStream.ComputeInt64SizeNoTag(element);
4530 }
4531 size += dataSize;
4532 size += 2 * field130_.Count;
4533 }
4534 if (HasField205) {
4535 size += pb::CodedOutputStream.ComputeBoolSize(205, Field205);
4536 }
4537 if (HasField206) {
4538 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
4539 }
4540 size += UnknownFields.SerializedSize;
4541 memoizedSerializedSize = size;
4542 return size;
4543 }
4544 }
4545
4546 public static SpeedMessage2 ParseFrom(pb::ByteString data) {
4547 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4548 }
4549 public static SpeedMessage2 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
4550 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4551 }
4552 public static SpeedMessage2 ParseFrom(byte[] data) {
4553 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4554 }
4555 public static SpeedMessage2 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
4556 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4557 }
4558 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input) {
4559 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4560 }
4561 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4562 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4563 }
4564 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input) {
4565 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
4566 }
4567 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4568 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
4569 }
4570 public static SpeedMessage2 ParseFrom(pb::CodedInputStream input) {
4571 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4572 }
4573 public static SpeedMessage2 ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4574 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4575 }
4576 public static Builder CreateBuilder() { return new Builder(); }
4577 public override Builder ToBuilder() { return CreateBuilder(this); }
4578 public override Builder CreateBuilderForType() { return new Builder(); }
4579 public static Builder CreateBuilder(SpeedMessage2 prototype) {
4580 return (Builder) new Builder().MergeFrom(prototype);
4581 }
4582
4583 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4584 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
4585 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
4586 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2, Builder> {
4587 protected override Builder ThisBuilder {
4588 get { return this; }
4589 }
4590 public Builder() {}
4591
4592 SpeedMessage2 result = new SpeedMessage2();
4593
4594 protected override SpeedMessage2 MessageBeingBuilt {
4595 get { return result; }
4596 }
4597
4598 public override Builder Clear() {
4599 result = new SpeedMessage2();
4600 return this;
4601 }
4602
4603 public override Builder Clone() {
4604 return new Builder().MergeFrom(result);
4605 }
4606
4607 public override pbd::MessageDescriptor DescriptorForType {
4608 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Descriptor; }
4609 }
4610
4611 public override SpeedMessage2 DefaultInstanceForType {
4612 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance; }
4613 }
4614
4615 public override SpeedMessage2 BuildPartial() {
4616 if (result == null) {
4617 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
4618 }
4619 result.group1_.MakeReadOnly();
4620 result.field128_.MakeReadOnly();
4621 result.field127_.MakeReadOnly();
4622 result.field130_.MakeReadOnly();
4623 SpeedMessage2 returnMe = result;
4624 result = null;
4625 return returnMe;
4626 }
4627
4628 public override Builder MergeFrom(pb::IMessage other) {
4629 if (other is SpeedMessage2) {
4630 return MergeFrom((SpeedMessage2) other);
4631 } else {
4632 base.MergeFrom(other);
4633 return this;
4634 }
4635 }
4636
4637 public override Builder MergeFrom(SpeedMessage2 other) {
4638 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance) return this;
4639 if (other.HasField1) {
4640 Field1 = other.Field1;
4641 }
4642 if (other.HasField3) {
4643 Field3 = other.Field3;
4644 }
4645 if (other.HasField4) {
4646 Field4 = other.Field4;
4647 }
4648 if (other.HasField30) {
4649 Field30 = other.Field30;
4650 }
4651 if (other.HasField75) {
4652 Field75 = other.Field75;
4653 }
4654 if (other.HasField6) {
4655 Field6 = other.Field6;
4656 }
4657 if (other.HasField2) {
4658 Field2 = other.Field2;
4659 }
4660 if (other.HasField21) {
4661 Field21 = other.Field21;
4662 }
4663 if (other.HasField71) {
4664 Field71 = other.Field71;
4665 }
4666 if (other.HasField25) {
4667 Field25 = other.Field25;
4668 }
4669 if (other.HasField109) {
4670 Field109 = other.Field109;
4671 }
4672 if (other.HasField210) {
4673 Field210 = other.Field210;
4674 }
4675 if (other.HasField211) {
4676 Field211 = other.Field211;
4677 }
4678 if (other.HasField212) {
4679 Field212 = other.Field212;
4680 }
4681 if (other.HasField213) {
4682 Field213 = other.Field213;
4683 }
4684 if (other.HasField216) {
4685 Field216 = other.Field216;
4686 }
4687 if (other.HasField217) {
4688 Field217 = other.Field217;
4689 }
4690 if (other.HasField218) {
4691 Field218 = other.Field218;
4692 }
4693 if (other.HasField220) {
4694 Field220 = other.Field220;
4695 }
4696 if (other.HasField221) {
4697 Field221 = other.Field221;
4698 }
4699 if (other.HasField222) {
4700 Field222 = other.Field222;
4701 }
4702 if (other.HasField63) {
4703 Field63 = other.Field63;
4704 }
4705 if (other.group1_.Count != 0) {
4706 base.AddRange(other.group1_, result.group1_);
4707 }
4708 if (other.field128_.Count != 0) {
4709 base.AddRange(other.field128_, result.field128_);
4710 }
4711 if (other.HasField131) {
4712 Field131 = other.Field131;
4713 }
4714 if (other.field127_.Count != 0) {
4715 base.AddRange(other.field127_, result.field127_);
4716 }
4717 if (other.HasField129) {
4718 Field129 = other.Field129;
4719 }
4720 if (other.field130_.Count != 0) {
4721 base.AddRange(other.field130_, result.field130_);
4722 }
4723 if (other.HasField205) {
4724 Field205 = other.Field205;
4725 }
4726 if (other.HasField206) {
4727 Field206 = other.Field206;
4728 }
4729 this.MergeUnknownFields(other.UnknownFields);
4730 return this;
4731 }
4732
4733 public override Builder MergeFrom(pb::CodedInputStream input) {
4734 return MergeFrom(input, pb::ExtensionRegistry.Empty);
4735 }
4736
4737 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
4738 pb::UnknownFieldSet.Builder unknownFields = null;
4739 while (true) {
4740 uint tag = input.ReadTag();
4741 switch (tag) {
4742 case 0: {
4743 if (unknownFields != null) {
4744 this.UnknownFields = unknownFields.Build();
4745 }
4746 return this;
4747 }
4748 default: {
4749 if (pb::WireFormat.IsEndGroupTag(tag)) {
4750 if (unknownFields != null) {
4751 this.UnknownFields = unknownFields.Build();
4752 }
4753 return this;
4754 }
4755 if (unknownFields == null) {
4756 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4757 }
4758 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
4759 break;
4760 }
4761 case 10: {
4762 Field1 = input.ReadString();
4763 break;
4764 }
4765 case 18: {
4766 Field2 = input.ReadBytes();
4767 break;
4768 }
4769 case 24: {
4770 Field3 = input.ReadInt64();
4771 break;
4772 }
4773 case 32: {
4774 Field4 = input.ReadInt64();
4775 break;
4776 }
4777 case 50: {
4778 Field6 = input.ReadString();
4779 break;
4780 }
4781 case 83: {
4782 global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.CreateBuilder();
4783 input.ReadGroup(10, subBuilder, extensionRegistry);
4784 AddGroup1(subBuilder.BuildPartial());
4785 break;
4786 }
4787 case 168: {
4788 Field21 = input.ReadInt32();
4789 break;
4790 }
4791 case 205: {
4792 Field25 = input.ReadFloat();
4793 break;
4794 }
4795 case 240: {
4796 Field30 = input.ReadInt64();
4797 break;
4798 }
4799 case 504: {
4800 Field63 = input.ReadInt32();
4801 break;
4802 }
4803 case 568: {
4804 Field71 = input.ReadInt32();
4805 break;
4806 }
4807 case 600: {
4808 Field75 = input.ReadBool();
4809 break;
4810 }
4811 case 872: {
4812 Field109 = input.ReadInt32();
4813 break;
4814 }
4815 case 1018: {
4816 AddField127(input.ReadString());
4817 break;
4818 }
4819 case 1026: {
4820 AddField128(input.ReadString());
4821 break;
4822 }
4823 case 1032: {
4824 Field129 = input.ReadInt32();
4825 break;
4826 }
4827 case 1040: {
4828 AddField130(input.ReadInt64());
4829 break;
4830 }
4831 case 1048: {
4832 Field131 = input.ReadInt64();
4833 break;
4834 }
4835 case 1640: {
4836 Field205 = input.ReadBool();
4837 break;
4838 }
4839 case 1648: {
4840 Field206 = input.ReadBool();
4841 break;
4842 }
4843 case 1680: {
4844 Field210 = input.ReadInt32();
4845 break;
4846 }
4847 case 1688: {
4848 Field211 = input.ReadInt32();
4849 break;
4850 }
4851 case 1696: {
4852 Field212 = input.ReadInt32();
4853 break;
4854 }
4855 case 1704: {
4856 Field213 = input.ReadInt32();
4857 break;
4858 }
4859 case 1728: {
4860 Field216 = input.ReadInt32();
4861 break;
4862 }
4863 case 1736: {
4864 Field217 = input.ReadInt32();
4865 break;
4866 }
4867 case 1744: {
4868 Field218 = input.ReadInt32();
4869 break;
4870 }
4871 case 1760: {
4872 Field220 = input.ReadInt32();
4873 break;
4874 }
4875 case 1768: {
4876 Field221 = input.ReadInt32();
4877 break;
4878 }
4879 case 1781: {
4880 Field222 = input.ReadFloat();
4881 break;
4882 }
4883 }
4884 }
4885 }
4886
4887
4888 public bool HasField1 {
4889 get { return result.HasField1; }
4890 }
4891 public string Field1 {
4892 get { return result.Field1; }
4893 set { SetField1(value); }
4894 }
4895 public Builder SetField1(string value) {
4896 pb::ThrowHelper.ThrowIfNull(value, "value");
4897 result.hasField1 = true;
4898 result.field1_ = value;
4899 return this;
4900 }
4901 public Builder ClearField1() {
4902 result.hasField1 = false;
4903 result.field1_ = "";
4904 return this;
4905 }
4906
4907 public bool HasField3 {
4908 get { return result.HasField3; }
4909 }
4910 public long Field3 {
4911 get { return result.Field3; }
4912 set { SetField3(value); }
4913 }
4914 public Builder SetField3(long value) {
4915 result.hasField3 = true;
4916 result.field3_ = value;
4917 return this;
4918 }
4919 public Builder ClearField3() {
4920 result.hasField3 = false;
4921 result.field3_ = 0L;
4922 return this;
4923 }
4924
4925 public bool HasField4 {
4926 get { return result.HasField4; }
4927 }
4928 public long Field4 {
4929 get { return result.Field4; }
4930 set { SetField4(value); }
4931 }
4932 public Builder SetField4(long value) {
4933 result.hasField4 = true;
4934 result.field4_ = value;
4935 return this;
4936 }
4937 public Builder ClearField4() {
4938 result.hasField4 = false;
4939 result.field4_ = 0L;
4940 return this;
4941 }
4942
4943 public bool HasField30 {
4944 get { return result.HasField30; }
4945 }
4946 public long Field30 {
4947 get { return result.Field30; }
4948 set { SetField30(value); }
4949 }
4950 public Builder SetField30(long value) {
4951 result.hasField30 = true;
4952 result.field30_ = value;
4953 return this;
4954 }
4955 public Builder ClearField30() {
4956 result.hasField30 = false;
4957 result.field30_ = 0L;
4958 return this;
4959 }
4960
4961 public bool HasField75 {
4962 get { return result.HasField75; }
4963 }
4964 public bool Field75 {
4965 get { return result.Field75; }
4966 set { SetField75(value); }
4967 }
4968 public Builder SetField75(bool value) {
4969 result.hasField75 = true;
4970 result.field75_ = value;
4971 return this;
4972 }
4973 public Builder ClearField75() {
4974 result.hasField75 = false;
4975 result.field75_ = false;
4976 return this;
4977 }
4978
4979 public bool HasField6 {
4980 get { return result.HasField6; }
4981 }
4982 public string Field6 {
4983 get { return result.Field6; }
4984 set { SetField6(value); }
4985 }
4986 public Builder SetField6(string value) {
4987 pb::ThrowHelper.ThrowIfNull(value, "value");
4988 result.hasField6 = true;
4989 result.field6_ = value;
4990 return this;
4991 }
4992 public Builder ClearField6() {
4993 result.hasField6 = false;
4994 result.field6_ = "";
4995 return this;
4996 }
4997
4998 public bool HasField2 {
4999 get { return result.HasField2; }
5000 }
5001 public pb::ByteString Field2 {
5002 get { return result.Field2; }
5003 set { SetField2(value); }
5004 }
5005 public Builder SetField2(pb::ByteString value) {
5006 pb::ThrowHelper.ThrowIfNull(value, "value");
5007 result.hasField2 = true;
5008 result.field2_ = value;
5009 return this;
5010 }
5011 public Builder ClearField2() {
5012 result.hasField2 = false;
5013 result.field2_ = pb::ByteString.Empty;
5014 return this;
5015 }
5016
5017 public bool HasField21 {
5018 get { return result.HasField21; }
5019 }
5020 public int Field21 {
5021 get { return result.Field21; }
5022 set { SetField21(value); }
5023 }
5024 public Builder SetField21(int value) {
5025 result.hasField21 = true;
5026 result.field21_ = value;
5027 return this;
5028 }
5029 public Builder ClearField21() {
5030 result.hasField21 = false;
5031 result.field21_ = 0;
5032 return this;
5033 }
5034
5035 public bool HasField71 {
5036 get { return result.HasField71; }
5037 }
5038 public int Field71 {
5039 get { return result.Field71; }
5040 set { SetField71(value); }
5041 }
5042 public Builder SetField71(int value) {
5043 result.hasField71 = true;
5044 result.field71_ = value;
5045 return this;
5046 }
5047 public Builder ClearField71() {
5048 result.hasField71 = false;
5049 result.field71_ = 0;
5050 return this;
5051 }
5052
5053 public bool HasField25 {
5054 get { return result.HasField25; }
5055 }
5056 public float Field25 {
5057 get { return result.Field25; }
5058 set { SetField25(value); }
5059 }
5060 public Builder SetField25(float value) {
5061 result.hasField25 = true;
5062 result.field25_ = value;
5063 return this;
5064 }
5065 public Builder ClearField25() {
5066 result.hasField25 = false;
5067 result.field25_ = 0F;
5068 return this;
5069 }
5070
5071 public bool HasField109 {
5072 get { return result.HasField109; }
5073 }
5074 public int Field109 {
5075 get { return result.Field109; }
5076 set { SetField109(value); }
5077 }
5078 public Builder SetField109(int value) {
5079 result.hasField109 = true;
5080 result.field109_ = value;
5081 return this;
5082 }
5083 public Builder ClearField109() {
5084 result.hasField109 = false;
5085 result.field109_ = 0;
5086 return this;
5087 }
5088
5089 public bool HasField210 {
5090 get { return result.HasField210; }
5091 }
5092 public int Field210 {
5093 get { return result.Field210; }
5094 set { SetField210(value); }
5095 }
5096 public Builder SetField210(int value) {
5097 result.hasField210 = true;
5098 result.field210_ = value;
5099 return this;
5100 }
5101 public Builder ClearField210() {
5102 result.hasField210 = false;
5103 result.field210_ = 0;
5104 return this;
5105 }
5106
5107 public bool HasField211 {
5108 get { return result.HasField211; }
5109 }
5110 public int Field211 {
5111 get { return result.Field211; }
5112 set { SetField211(value); }
5113 }
5114 public Builder SetField211(int value) {
5115 result.hasField211 = true;
5116 result.field211_ = value;
5117 return this;
5118 }
5119 public Builder ClearField211() {
5120 result.hasField211 = false;
5121 result.field211_ = 0;
5122 return this;
5123 }
5124
5125 public bool HasField212 {
5126 get { return result.HasField212; }
5127 }
5128 public int Field212 {
5129 get { return result.Field212; }
5130 set { SetField212(value); }
5131 }
5132 public Builder SetField212(int value) {
5133 result.hasField212 = true;
5134 result.field212_ = value;
5135 return this;
5136 }
5137 public Builder ClearField212() {
5138 result.hasField212 = false;
5139 result.field212_ = 0;
5140 return this;
5141 }
5142
5143 public bool HasField213 {
5144 get { return result.HasField213; }
5145 }
5146 public int Field213 {
5147 get { return result.Field213; }
5148 set { SetField213(value); }
5149 }
5150 public Builder SetField213(int value) {
5151 result.hasField213 = true;
5152 result.field213_ = value;
5153 return this;
5154 }
5155 public Builder ClearField213() {
5156 result.hasField213 = false;
5157 result.field213_ = 0;
5158 return this;
5159 }
5160
5161 public bool HasField216 {
5162 get { return result.HasField216; }
5163 }
5164 public int Field216 {
5165 get { return result.Field216; }
5166 set { SetField216(value); }
5167 }
5168 public Builder SetField216(int value) {
5169 result.hasField216 = true;
5170 result.field216_ = value;
5171 return this;
5172 }
5173 public Builder ClearField216() {
5174 result.hasField216 = false;
5175 result.field216_ = 0;
5176 return this;
5177 }
5178
5179 public bool HasField217 {
5180 get { return result.HasField217; }
5181 }
5182 public int Field217 {
5183 get { return result.Field217; }
5184 set { SetField217(value); }
5185 }
5186 public Builder SetField217(int value) {
5187 result.hasField217 = true;
5188 result.field217_ = value;
5189 return this;
5190 }
5191 public Builder ClearField217() {
5192 result.hasField217 = false;
5193 result.field217_ = 0;
5194 return this;
5195 }
5196
5197 public bool HasField218 {
5198 get { return result.HasField218; }
5199 }
5200 public int Field218 {
5201 get { return result.Field218; }
5202 set { SetField218(value); }
5203 }
5204 public Builder SetField218(int value) {
5205 result.hasField218 = true;
5206 result.field218_ = value;
5207 return this;
5208 }
5209 public Builder ClearField218() {
5210 result.hasField218 = false;
5211 result.field218_ = 0;
5212 return this;
5213 }
5214
5215 public bool HasField220 {
5216 get { return result.HasField220; }
5217 }
5218 public int Field220 {
5219 get { return result.Field220; }
5220 set { SetField220(value); }
5221 }
5222 public Builder SetField220(int value) {
5223 result.hasField220 = true;
5224 result.field220_ = value;
5225 return this;
5226 }
5227 public Builder ClearField220() {
5228 result.hasField220 = false;
5229 result.field220_ = 0;
5230 return this;
5231 }
5232
5233 public bool HasField221 {
5234 get { return result.HasField221; }
5235 }
5236 public int Field221 {
5237 get { return result.Field221; }
5238 set { SetField221(value); }
5239 }
5240 public Builder SetField221(int value) {
5241 result.hasField221 = true;
5242 result.field221_ = value;
5243 return this;
5244 }
5245 public Builder ClearField221() {
5246 result.hasField221 = false;
5247 result.field221_ = 0;
5248 return this;
5249 }
5250
5251 public bool HasField222 {
5252 get { return result.HasField222; }
5253 }
5254 public float Field222 {
5255 get { return result.Field222; }
5256 set { SetField222(value); }
5257 }
5258 public Builder SetField222(float value) {
5259 result.hasField222 = true;
5260 result.field222_ = value;
5261 return this;
5262 }
5263 public Builder ClearField222() {
5264 result.hasField222 = false;
5265 result.field222_ = 0F;
5266 return this;
5267 }
5268
5269 public bool HasField63 {
5270 get { return result.HasField63; }
5271 }
5272 public int Field63 {
5273 get { return result.Field63; }
5274 set { SetField63(value); }
5275 }
5276 public Builder SetField63(int value) {
5277 result.hasField63 = true;
5278 result.field63_ = value;
5279 return this;
5280 }
5281 public Builder ClearField63() {
5282 result.hasField63 = false;
5283 result.field63_ = 0;
5284 return this;
5285 }
5286
5287 public pbc::IPopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
5288 get { return result.group1_; }
5289 }
5290 public int Group1Count {
5291 get { return result.Group1Count; }
5292 }
5293 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
5294 return result.GetGroup1(index);
5295 }
5296 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5297 pb::ThrowHelper.ThrowIfNull(value, "value");
5298 result.group1_[index] = value;
5299 return this;
5300 }
5301 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5302 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5303 result.group1_[index] = builderForValue.Build();
5304 return this;
5305 }
5306 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5307 pb::ThrowHelper.ThrowIfNull(value, "value");
5308 result.group1_.Add(value);
5309 return this;
5310 }
5311 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5312 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5313 result.group1_.Add(builderForValue.Build());
5314 return this;
5315 }
5316 public Builder AddRangeGroup1(scg::IEnumerable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> values) {
5317 base.AddRange(values, result.group1_);
5318 return this;
5319 }
5320 public Builder ClearGroup1() {
5321 result.group1_.Clear();
5322 return this;
5323 }
5324
5325 public pbc::IPopsicleList<string> Field128List {
5326 get { return result.field128_; }
5327 }
5328 public int Field128Count {
5329 get { return result.Field128Count; }
5330 }
5331 public string GetField128(int index) {
5332 return result.GetField128(index);
5333 }
5334 public Builder SetField128(int index, string value) {
5335 pb::ThrowHelper.ThrowIfNull(value, "value");
5336 result.field128_[index] = value;
5337 return this;
5338 }
5339 public Builder AddField128(string value) {
5340 pb::ThrowHelper.ThrowIfNull(value, "value");
5341 result.field128_.Add(value);
5342 return this;
5343 }
5344 public Builder AddRangeField128(scg::IEnumerable<string> values) {
5345 base.AddRange(values, result.field128_);
5346 return this;
5347 }
5348 public Builder ClearField128() {
5349 result.field128_.Clear();
5350 return this;
5351 }
5352
5353 public bool HasField131 {
5354 get { return result.HasField131; }
5355 }
5356 public long Field131 {
5357 get { return result.Field131; }
5358 set { SetField131(value); }
5359 }
5360 public Builder SetField131(long value) {
5361 result.hasField131 = true;
5362 result.field131_ = value;
5363 return this;
5364 }
5365 public Builder ClearField131() {
5366 result.hasField131 = false;
5367 result.field131_ = 0L;
5368 return this;
5369 }
5370
5371 public pbc::IPopsicleList<string> Field127List {
5372 get { return result.field127_; }
5373 }
5374 public int Field127Count {
5375 get { return result.Field127Count; }
5376 }
5377 public string GetField127(int index) {
5378 return result.GetField127(index);
5379 }
5380 public Builder SetField127(int index, string value) {
5381 pb::ThrowHelper.ThrowIfNull(value, "value");
5382 result.field127_[index] = value;
5383 return this;
5384 }
5385 public Builder AddField127(string value) {
5386 pb::ThrowHelper.ThrowIfNull(value, "value");
5387 result.field127_.Add(value);
5388 return this;
5389 }
5390 public Builder AddRangeField127(scg::IEnumerable<string> values) {
5391 base.AddRange(values, result.field127_);
5392 return this;
5393 }
5394 public Builder ClearField127() {
5395 result.field127_.Clear();
5396 return this;
5397 }
5398
5399 public bool HasField129 {
5400 get { return result.HasField129; }
5401 }
5402 public int Field129 {
5403 get { return result.Field129; }
5404 set { SetField129(value); }
5405 }
5406 public Builder SetField129(int value) {
5407 result.hasField129 = true;
5408 result.field129_ = value;
5409 return this;
5410 }
5411 public Builder ClearField129() {
5412 result.hasField129 = false;
5413 result.field129_ = 0;
5414 return this;
5415 }
5416
5417 public pbc::IPopsicleList<long> Field130List {
5418 get { return result.field130_; }
5419 }
5420 public int Field130Count {
5421 get { return result.Field130Count; }
5422 }
5423 public long GetField130(int index) {
5424 return result.GetField130(index);
5425 }
5426 public Builder SetField130(int index, long value) {
5427 result.field130_[index] = value;
5428 return this;
5429 }
5430 public Builder AddField130(long value) {
5431 result.field130_.Add(value);
5432 return this;
5433 }
5434 public Builder AddRangeField130(scg::IEnumerable<long> values) {
5435 base.AddRange(values, result.field130_);
5436 return this;
5437 }
5438 public Builder ClearField130() {
5439 result.field130_.Clear();
5440 return this;
5441 }
5442
5443 public bool HasField205 {
5444 get { return result.HasField205; }
5445 }
5446 public bool Field205 {
5447 get { return result.Field205; }
5448 set { SetField205(value); }
5449 }
5450 public Builder SetField205(bool value) {
5451 result.hasField205 = true;
5452 result.field205_ = value;
5453 return this;
5454 }
5455 public Builder ClearField205() {
5456 result.hasField205 = false;
5457 result.field205_ = false;
5458 return this;
5459 }
5460
5461 public bool HasField206 {
5462 get { return result.HasField206; }
5463 }
5464 public bool Field206 {
5465 get { return result.Field206; }
5466 set { SetField206(value); }
5467 }
5468 public Builder SetField206(bool value) {
5469 result.hasField206 = true;
5470 result.field206_ = value;
5471 return this;
5472 }
5473 public Builder ClearField206() {
5474 result.hasField206 = false;
5475 result.field206_ = false;
5476 return this;
5477 }
5478 }
5479 static SpeedMessage2() {
5480 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
5481 }
5482 }
5483
5484 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5485 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5486 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5487 public sealed partial class SpeedMessage2GroupedMessage : pb::GeneratedMessage<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> {
5488 private static readonly SpeedMessage2GroupedMessage defaultInstance = new Builder().BuildPartial();
5489 public static SpeedMessage2GroupedMessage DefaultInstance {
5490 get { return defaultInstance; }
5491 }
5492
5493 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5494 get { return defaultInstance; }
5495 }
5496
5497 protected override SpeedMessage2GroupedMessage ThisMessage {
5498 get { return this; }
5499 }
5500
5501 public static pbd::MessageDescriptor Descriptor {
5502 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor; }
5503 }
5504
5505 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> InternalFieldAccessors {
5506 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable; }
5507 }
5508
5509 public const int Field1FieldNumber = 1;
5510 private bool hasField1;
5511 private float field1_ = 0F;
5512 public bool HasField1 {
5513 get { return hasField1; }
5514 }
5515 public float Field1 {
5516 get { return field1_; }
5517 }
5518
5519 public const int Field2FieldNumber = 2;
5520 private bool hasField2;
5521 private float field2_ = 0F;
5522 public bool HasField2 {
5523 get { return hasField2; }
5524 }
5525 public float Field2 {
5526 get { return field2_; }
5527 }
5528
5529 public const int Field3FieldNumber = 3;
5530 private bool hasField3;
5531 private float field3_ = 0F;
5532 public bool HasField3 {
5533 get { return hasField3; }
5534 }
5535 public float Field3 {
5536 get { return field3_; }
5537 }
5538
5539 public const int Field4FieldNumber = 4;
5540 private bool hasField4;
5541 private bool field4_ = false;
5542 public bool HasField4 {
5543 get { return hasField4; }
5544 }
5545 public bool Field4 {
5546 get { return field4_; }
5547 }
5548
5549 public const int Field5FieldNumber = 5;
5550 private bool hasField5;
5551 private bool field5_ = false;
5552 public bool HasField5 {
5553 get { return hasField5; }
5554 }
5555 public bool Field5 {
5556 get { return field5_; }
5557 }
5558
5559 public const int Field6FieldNumber = 6;
5560 private bool hasField6;
5561 private bool field6_ = true;
5562 public bool HasField6 {
5563 get { return hasField6; }
5564 }
5565 public bool Field6 {
5566 get { return field6_; }
5567 }
5568
5569 public const int Field7FieldNumber = 7;
5570 private bool hasField7;
5571 private bool field7_ = false;
5572 public bool HasField7 {
5573 get { return hasField7; }
5574 }
5575 public bool Field7 {
5576 get { return field7_; }
5577 }
5578
5579 public const int Field8FieldNumber = 8;
5580 private bool hasField8;
5581 private float field8_ = 0F;
5582 public bool HasField8 {
5583 get { return hasField8; }
5584 }
5585 public float Field8 {
5586 get { return field8_; }
5587 }
5588
5589 public const int Field9FieldNumber = 9;
5590 private bool hasField9;
5591 private bool field9_ = false;
5592 public bool HasField9 {
5593 get { return hasField9; }
5594 }
5595 public bool Field9 {
5596 get { return field9_; }
5597 }
5598
5599 public const int Field10FieldNumber = 10;
5600 private bool hasField10;
5601 private float field10_ = 0F;
5602 public bool HasField10 {
5603 get { return hasField10; }
5604 }
5605 public float Field10 {
5606 get { return field10_; }
5607 }
5608
5609 public const int Field11FieldNumber = 11;
5610 private bool hasField11;
5611 private long field11_ = 0L;
5612 public bool HasField11 {
5613 get { return hasField11; }
5614 }
5615 public long Field11 {
5616 get { return field11_; }
5617 }
5618
5619 public override bool IsInitialized {
5620 get {
5621 return true;
5622 }
5623 }
5624
5625 public override void WriteTo(pb::CodedOutputStream output) {
5626 int size = SerializedSize;
5627 if (HasField1) {
csharptest90922db2011-06-03 11:57:47 -05005628 output.WriteFloat(1, "field1", Field1);
csharptest27bfcc52011-06-02 12:04:06 -05005629 }
5630 if (HasField2) {
csharptest90922db2011-06-03 11:57:47 -05005631 output.WriteFloat(2, "field2", Field2);
csharptest27bfcc52011-06-02 12:04:06 -05005632 }
5633 if (HasField3) {
csharptest90922db2011-06-03 11:57:47 -05005634 output.WriteFloat(3, "field3", Field3);
csharptest27bfcc52011-06-02 12:04:06 -05005635 }
5636 if (HasField4) {
csharptest90922db2011-06-03 11:57:47 -05005637 output.WriteBool(4, "field4", Field4);
csharptest27bfcc52011-06-02 12:04:06 -05005638 }
5639 if (HasField5) {
csharptest90922db2011-06-03 11:57:47 -05005640 output.WriteBool(5, "field5", Field5);
csharptest27bfcc52011-06-02 12:04:06 -05005641 }
5642 if (HasField6) {
csharptest90922db2011-06-03 11:57:47 -05005643 output.WriteBool(6, "field6", Field6);
csharptest27bfcc52011-06-02 12:04:06 -05005644 }
5645 if (HasField7) {
csharptest90922db2011-06-03 11:57:47 -05005646 output.WriteBool(7, "field7", Field7);
csharptest27bfcc52011-06-02 12:04:06 -05005647 }
5648 if (HasField8) {
csharptest90922db2011-06-03 11:57:47 -05005649 output.WriteFloat(8, "field8", Field8);
csharptest27bfcc52011-06-02 12:04:06 -05005650 }
5651 if (HasField9) {
csharptest90922db2011-06-03 11:57:47 -05005652 output.WriteBool(9, "field9", Field9);
csharptest27bfcc52011-06-02 12:04:06 -05005653 }
5654 if (HasField10) {
csharptest90922db2011-06-03 11:57:47 -05005655 output.WriteFloat(10, "field10", Field10);
csharptest27bfcc52011-06-02 12:04:06 -05005656 }
5657 if (HasField11) {
csharptest90922db2011-06-03 11:57:47 -05005658 output.WriteInt64(11, "field11", Field11);
csharptest27bfcc52011-06-02 12:04:06 -05005659 }
5660 UnknownFields.WriteTo(output);
5661 }
5662
5663 private int memoizedSerializedSize = -1;
5664 public override int SerializedSize {
5665 get {
5666 int size = memoizedSerializedSize;
5667 if (size != -1) return size;
5668
5669 size = 0;
5670 if (HasField1) {
5671 size += pb::CodedOutputStream.ComputeFloatSize(1, Field1);
5672 }
5673 if (HasField2) {
5674 size += pb::CodedOutputStream.ComputeFloatSize(2, Field2);
5675 }
5676 if (HasField3) {
5677 size += pb::CodedOutputStream.ComputeFloatSize(3, Field3);
5678 }
5679 if (HasField4) {
5680 size += pb::CodedOutputStream.ComputeBoolSize(4, Field4);
5681 }
5682 if (HasField5) {
5683 size += pb::CodedOutputStream.ComputeBoolSize(5, Field5);
5684 }
5685 if (HasField6) {
5686 size += pb::CodedOutputStream.ComputeBoolSize(6, Field6);
5687 }
5688 if (HasField7) {
5689 size += pb::CodedOutputStream.ComputeBoolSize(7, Field7);
5690 }
5691 if (HasField8) {
5692 size += pb::CodedOutputStream.ComputeFloatSize(8, Field8);
5693 }
5694 if (HasField9) {
5695 size += pb::CodedOutputStream.ComputeBoolSize(9, Field9);
5696 }
5697 if (HasField10) {
5698 size += pb::CodedOutputStream.ComputeFloatSize(10, Field10);
5699 }
5700 if (HasField11) {
5701 size += pb::CodedOutputStream.ComputeInt64Size(11, Field11);
5702 }
5703 size += UnknownFields.SerializedSize;
5704 memoizedSerializedSize = size;
5705 return size;
5706 }
5707 }
5708
5709 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data) {
5710 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5711 }
5712 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
5713 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5714 }
5715 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data) {
5716 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5717 }
5718 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
5719 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5720 }
5721 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input) {
5722 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5723 }
5724 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5725 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5726 }
5727 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input) {
5728 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
5729 }
5730 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5731 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
5732 }
5733 public static SpeedMessage2GroupedMessage ParseFrom(pb::CodedInputStream input) {
5734 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5735 }
5736 public static SpeedMessage2GroupedMessage ParseFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
5737 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5738 }
5739 public static Builder CreateBuilder() { return new Builder(); }
5740 public override Builder ToBuilder() { return CreateBuilder(this); }
5741 public override Builder CreateBuilderForType() { return new Builder(); }
5742 public static Builder CreateBuilder(SpeedMessage2GroupedMessage prototype) {
5743 return (Builder) new Builder().MergeFrom(prototype);
5744 }
5745
5746 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5747 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5748 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5749 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2GroupedMessage, Builder> {
5750 protected override Builder ThisBuilder {
5751 get { return this; }
5752 }
5753 public Builder() {}
5754
5755 SpeedMessage2GroupedMessage result = new SpeedMessage2GroupedMessage();
5756
5757 protected override SpeedMessage2GroupedMessage MessageBeingBuilt {
5758 get { return result; }
5759 }
5760
5761 public override Builder Clear() {
5762 result = new SpeedMessage2GroupedMessage();
5763 return this;
5764 }
5765
5766 public override Builder Clone() {
5767 return new Builder().MergeFrom(result);
5768 }
5769
5770 public override pbd::MessageDescriptor DescriptorForType {
5771 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Descriptor; }
5772 }
5773
5774 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5775 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance; }
5776 }
5777
5778 public override SpeedMessage2GroupedMessage BuildPartial() {
5779 if (result == null) {
5780 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
5781 }
5782 SpeedMessage2GroupedMessage returnMe = result;
5783 result = null;
5784 return returnMe;
5785 }
5786
5787 public override Builder MergeFrom(pb::IMessage other) {
5788 if (other is SpeedMessage2GroupedMessage) {
5789 return MergeFrom((SpeedMessage2GroupedMessage) other);
5790 } else {
5791 base.MergeFrom(other);
5792 return this;
5793 }
5794 }
5795
5796 public override Builder MergeFrom(SpeedMessage2GroupedMessage other) {
5797 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) return this;
5798 if (other.HasField1) {
5799 Field1 = other.Field1;
5800 }
5801 if (other.HasField2) {
5802 Field2 = other.Field2;
5803 }
5804 if (other.HasField3) {
5805 Field3 = other.Field3;
5806 }
5807 if (other.HasField4) {
5808 Field4 = other.Field4;
5809 }
5810 if (other.HasField5) {
5811 Field5 = other.Field5;
5812 }
5813 if (other.HasField6) {
5814 Field6 = other.Field6;
5815 }
5816 if (other.HasField7) {
5817 Field7 = other.Field7;
5818 }
5819 if (other.HasField8) {
5820 Field8 = other.Field8;
5821 }
5822 if (other.HasField9) {
5823 Field9 = other.Field9;
5824 }
5825 if (other.HasField10) {
5826 Field10 = other.Field10;
5827 }
5828 if (other.HasField11) {
5829 Field11 = other.Field11;
5830 }
5831 this.MergeUnknownFields(other.UnknownFields);
5832 return this;
5833 }
5834
5835 public override Builder MergeFrom(pb::CodedInputStream input) {
5836 return MergeFrom(input, pb::ExtensionRegistry.Empty);
5837 }
5838
5839 public override Builder MergeFrom(pb::CodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
5840 pb::UnknownFieldSet.Builder unknownFields = null;
5841 while (true) {
5842 uint tag = input.ReadTag();
5843 switch (tag) {
5844 case 0: {
5845 if (unknownFields != null) {
5846 this.UnknownFields = unknownFields.Build();
5847 }
5848 return this;
5849 }
5850 default: {
5851 if (pb::WireFormat.IsEndGroupTag(tag)) {
5852 if (unknownFields != null) {
5853 this.UnknownFields = unknownFields.Build();
5854 }
5855 return this;
5856 }
5857 if (unknownFields == null) {
5858 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5859 }
5860 ParseUnknownField(input, unknownFields, extensionRegistry, tag);
5861 break;
5862 }
5863 case 13: {
5864 Field1 = input.ReadFloat();
5865 break;
5866 }
5867 case 21: {
5868 Field2 = input.ReadFloat();
5869 break;
5870 }
5871 case 29: {
5872 Field3 = input.ReadFloat();
5873 break;
5874 }
5875 case 32: {
5876 Field4 = input.ReadBool();
5877 break;
5878 }
5879 case 40: {
5880 Field5 = input.ReadBool();
5881 break;
5882 }
5883 case 48: {
5884 Field6 = input.ReadBool();
5885 break;
5886 }
5887 case 56: {
5888 Field7 = input.ReadBool();
5889 break;
5890 }
5891 case 69: {
5892 Field8 = input.ReadFloat();
5893 break;
5894 }
5895 case 72: {
5896 Field9 = input.ReadBool();
5897 break;
5898 }
5899 case 85: {
5900 Field10 = input.ReadFloat();
5901 break;
5902 }
5903 case 88: {
5904 Field11 = input.ReadInt64();
5905 break;
5906 }
5907 }
5908 }
5909 }
5910
5911
5912 public bool HasField1 {
5913 get { return result.HasField1; }
5914 }
5915 public float Field1 {
5916 get { return result.Field1; }
5917 set { SetField1(value); }
5918 }
5919 public Builder SetField1(float value) {
5920 result.hasField1 = true;
5921 result.field1_ = value;
5922 return this;
5923 }
5924 public Builder ClearField1() {
5925 result.hasField1 = false;
5926 result.field1_ = 0F;
5927 return this;
5928 }
5929
5930 public bool HasField2 {
5931 get { return result.HasField2; }
5932 }
5933 public float Field2 {
5934 get { return result.Field2; }
5935 set { SetField2(value); }
5936 }
5937 public Builder SetField2(float value) {
5938 result.hasField2 = true;
5939 result.field2_ = value;
5940 return this;
5941 }
5942 public Builder ClearField2() {
5943 result.hasField2 = false;
5944 result.field2_ = 0F;
5945 return this;
5946 }
5947
5948 public bool HasField3 {
5949 get { return result.HasField3; }
5950 }
5951 public float Field3 {
5952 get { return result.Field3; }
5953 set { SetField3(value); }
5954 }
5955 public Builder SetField3(float value) {
5956 result.hasField3 = true;
5957 result.field3_ = value;
5958 return this;
5959 }
5960 public Builder ClearField3() {
5961 result.hasField3 = false;
5962 result.field3_ = 0F;
5963 return this;
5964 }
5965
5966 public bool HasField4 {
5967 get { return result.HasField4; }
5968 }
5969 public bool Field4 {
5970 get { return result.Field4; }
5971 set { SetField4(value); }
5972 }
5973 public Builder SetField4(bool value) {
5974 result.hasField4 = true;
5975 result.field4_ = value;
5976 return this;
5977 }
5978 public Builder ClearField4() {
5979 result.hasField4 = false;
5980 result.field4_ = false;
5981 return this;
5982 }
5983
5984 public bool HasField5 {
5985 get { return result.HasField5; }
5986 }
5987 public bool Field5 {
5988 get { return result.Field5; }
5989 set { SetField5(value); }
5990 }
5991 public Builder SetField5(bool value) {
5992 result.hasField5 = true;
5993 result.field5_ = value;
5994 return this;
5995 }
5996 public Builder ClearField5() {
5997 result.hasField5 = false;
5998 result.field5_ = false;
5999 return this;
6000 }
6001
6002 public bool HasField6 {
6003 get { return result.HasField6; }
6004 }
6005 public bool Field6 {
6006 get { return result.Field6; }
6007 set { SetField6(value); }
6008 }
6009 public Builder SetField6(bool value) {
6010 result.hasField6 = true;
6011 result.field6_ = value;
6012 return this;
6013 }
6014 public Builder ClearField6() {
6015 result.hasField6 = false;
6016 result.field6_ = true;
6017 return this;
6018 }
6019
6020 public bool HasField7 {
6021 get { return result.HasField7; }
6022 }
6023 public bool Field7 {
6024 get { return result.Field7; }
6025 set { SetField7(value); }
6026 }
6027 public Builder SetField7(bool value) {
6028 result.hasField7 = true;
6029 result.field7_ = value;
6030 return this;
6031 }
6032 public Builder ClearField7() {
6033 result.hasField7 = false;
6034 result.field7_ = false;
6035 return this;
6036 }
6037
6038 public bool HasField8 {
6039 get { return result.HasField8; }
6040 }
6041 public float Field8 {
6042 get { return result.Field8; }
6043 set { SetField8(value); }
6044 }
6045 public Builder SetField8(float value) {
6046 result.hasField8 = true;
6047 result.field8_ = value;
6048 return this;
6049 }
6050 public Builder ClearField8() {
6051 result.hasField8 = false;
6052 result.field8_ = 0F;
6053 return this;
6054 }
6055
6056 public bool HasField9 {
6057 get { return result.HasField9; }
6058 }
6059 public bool Field9 {
6060 get { return result.Field9; }
6061 set { SetField9(value); }
6062 }
6063 public Builder SetField9(bool value) {
6064 result.hasField9 = true;
6065 result.field9_ = value;
6066 return this;
6067 }
6068 public Builder ClearField9() {
6069 result.hasField9 = false;
6070 result.field9_ = false;
6071 return this;
6072 }
6073
6074 public bool HasField10 {
6075 get { return result.HasField10; }
6076 }
6077 public float Field10 {
6078 get { return result.Field10; }
6079 set { SetField10(value); }
6080 }
6081 public Builder SetField10(float value) {
6082 result.hasField10 = true;
6083 result.field10_ = value;
6084 return this;
6085 }
6086 public Builder ClearField10() {
6087 result.hasField10 = false;
6088 result.field10_ = 0F;
6089 return this;
6090 }
6091
6092 public bool HasField11 {
6093 get { return result.HasField11; }
6094 }
6095 public long Field11 {
6096 get { return result.Field11; }
6097 set { SetField11(value); }
6098 }
6099 public Builder SetField11(long value) {
6100 result.hasField11 = true;
6101 result.field11_ = value;
6102 return this;
6103 }
6104 public Builder ClearField11() {
6105 result.hasField11 = false;
6106 result.field11_ = 0L;
6107 return this;
6108 }
6109 }
6110 static SpeedMessage2GroupedMessage() {
6111 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
6112 }
6113 }
6114
6115 #endregion
6116
6117}