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