blob: f54a54b42d3e9b3d677beccbc0beb9549454d057 [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();
csharptest920b09a2011-06-08 20:13:29 -0500139 private static readonly string[] _speedMessage1FieldNames = new string[] { "field1", "field100", "field101", "field102", "field103", "field104", "field12", "field128", "field129", "field13", "field130", "field131", "field14", "field15", "field150", "field16", "field17", "field18", "field2", "field22", "field23", "field24", "field25", "field271", "field272", "field280", "field29", "field3", "field30", "field4", "field5", "field59", "field6", "field60", "field67", "field68", "field7", "field78", "field80", "field81", "field9" };
140 private static readonly uint[] _speedMessage1FieldTags = new uint[] { 10, 800, 808, 818, 826, 832, 96, 1024, 1034, 104, 1040, 1048, 112, 122, 1200, 128, 136, 146, 16, 176, 184, 192, 200, 2168, 2176, 2240, 232, 24, 240, 34, 41, 472, 48, 480, 536, 544, 58, 624, 640, 648, 74 };
csharptest27bfcc52011-06-02 12:04:06 -0500141 public static SpeedMessage1 DefaultInstance {
142 get { return defaultInstance; }
143 }
144
145 public override SpeedMessage1 DefaultInstanceForType {
146 get { return defaultInstance; }
147 }
148
149 protected override SpeedMessage1 ThisMessage {
150 get { return this; }
151 }
152
153 public static pbd::MessageDescriptor Descriptor {
154 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__Descriptor; }
155 }
156
157 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1, SpeedMessage1.Builder> InternalFieldAccessors {
158 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__FieldAccessorTable; }
159 }
160
161 public const int Field1FieldNumber = 1;
162 private bool hasField1;
163 private string field1_ = "";
164 public bool HasField1 {
165 get { return hasField1; }
166 }
167 public string Field1 {
168 get { return field1_; }
169 }
170
171 public const int Field9FieldNumber = 9;
172 private bool hasField9;
173 private string field9_ = "";
174 public bool HasField9 {
175 get { return hasField9; }
176 }
177 public string Field9 {
178 get { return field9_; }
179 }
180
181 public const int Field18FieldNumber = 18;
182 private bool hasField18;
183 private string field18_ = "";
184 public bool HasField18 {
185 get { return hasField18; }
186 }
187 public string Field18 {
188 get { return field18_; }
189 }
190
191 public const int Field80FieldNumber = 80;
192 private bool hasField80;
193 private bool field80_ = false;
194 public bool HasField80 {
195 get { return hasField80; }
196 }
197 public bool Field80 {
198 get { return field80_; }
199 }
200
201 public const int Field81FieldNumber = 81;
202 private bool hasField81;
203 private bool field81_ = true;
204 public bool HasField81 {
205 get { return hasField81; }
206 }
207 public bool Field81 {
208 get { return field81_; }
209 }
210
211 public const int Field2FieldNumber = 2;
212 private bool hasField2;
213 private int field2_ = 0;
214 public bool HasField2 {
215 get { return hasField2; }
216 }
217 public int Field2 {
218 get { return field2_; }
219 }
220
221 public const int Field3FieldNumber = 3;
222 private bool hasField3;
223 private int field3_ = 0;
224 public bool HasField3 {
225 get { return hasField3; }
226 }
227 public int Field3 {
228 get { return field3_; }
229 }
230
231 public const int Field280FieldNumber = 280;
232 private bool hasField280;
233 private int field280_ = 0;
234 public bool HasField280 {
235 get { return hasField280; }
236 }
237 public int Field280 {
238 get { return field280_; }
239 }
240
241 public const int Field6FieldNumber = 6;
242 private bool hasField6;
243 private int field6_ = 0;
244 public bool HasField6 {
245 get { return hasField6; }
246 }
247 public int Field6 {
248 get { return field6_; }
249 }
250
251 public const int Field22FieldNumber = 22;
252 private bool hasField22;
253 private long field22_ = 0L;
254 public bool HasField22 {
255 get { return hasField22; }
256 }
257 public long Field22 {
258 get { return field22_; }
259 }
260
261 public const int Field4FieldNumber = 4;
262 private bool hasField4;
263 private string field4_ = "";
264 public bool HasField4 {
265 get { return hasField4; }
266 }
267 public string Field4 {
268 get { return field4_; }
269 }
270
271 public const int Field5FieldNumber = 5;
272 private pbc::PopsicleList<ulong> field5_ = new pbc::PopsicleList<ulong>();
273 [global::System.CLSCompliant(false)]
274 public scg::IList<ulong> Field5List {
275 get { return pbc::Lists.AsReadOnly(field5_); }
276 }
277 public int Field5Count {
278 get { return field5_.Count; }
279 }
280 [global::System.CLSCompliant(false)]
281 public ulong GetField5(int index) {
282 return field5_[index];
283 }
284
285 public const int Field59FieldNumber = 59;
286 private bool hasField59;
287 private bool field59_ = false;
288 public bool HasField59 {
289 get { return hasField59; }
290 }
291 public bool Field59 {
292 get { return field59_; }
293 }
294
295 public const int Field7FieldNumber = 7;
296 private bool hasField7;
297 private string field7_ = "";
298 public bool HasField7 {
299 get { return hasField7; }
300 }
301 public string Field7 {
302 get { return field7_; }
303 }
304
305 public const int Field16FieldNumber = 16;
306 private bool hasField16;
307 private int field16_ = 0;
308 public bool HasField16 {
309 get { return hasField16; }
310 }
311 public int Field16 {
312 get { return field16_; }
313 }
314
315 public const int Field130FieldNumber = 130;
316 private bool hasField130;
317 private int field130_ = 0;
318 public bool HasField130 {
319 get { return hasField130; }
320 }
321 public int Field130 {
322 get { return field130_; }
323 }
324
325 public const int Field12FieldNumber = 12;
326 private bool hasField12;
327 private bool field12_ = true;
328 public bool HasField12 {
329 get { return hasField12; }
330 }
331 public bool Field12 {
332 get { return field12_; }
333 }
334
335 public const int Field17FieldNumber = 17;
336 private bool hasField17;
337 private bool field17_ = true;
338 public bool HasField17 {
339 get { return hasField17; }
340 }
341 public bool Field17 {
342 get { return field17_; }
343 }
344
345 public const int Field13FieldNumber = 13;
346 private bool hasField13;
347 private bool field13_ = true;
348 public bool HasField13 {
349 get { return hasField13; }
350 }
351 public bool Field13 {
352 get { return field13_; }
353 }
354
355 public const int Field14FieldNumber = 14;
356 private bool hasField14;
357 private bool field14_ = true;
358 public bool HasField14 {
359 get { return hasField14; }
360 }
361 public bool Field14 {
362 get { return field14_; }
363 }
364
365 public const int Field104FieldNumber = 104;
366 private bool hasField104;
367 private int field104_ = 0;
368 public bool HasField104 {
369 get { return hasField104; }
370 }
371 public int Field104 {
372 get { return field104_; }
373 }
374
375 public const int Field100FieldNumber = 100;
376 private bool hasField100;
377 private int field100_ = 0;
378 public bool HasField100 {
379 get { return hasField100; }
380 }
381 public int Field100 {
382 get { return field100_; }
383 }
384
385 public const int Field101FieldNumber = 101;
386 private bool hasField101;
387 private int field101_ = 0;
388 public bool HasField101 {
389 get { return hasField101; }
390 }
391 public int Field101 {
392 get { return field101_; }
393 }
394
395 public const int Field102FieldNumber = 102;
396 private bool hasField102;
397 private string field102_ = "";
398 public bool HasField102 {
399 get { return hasField102; }
400 }
401 public string Field102 {
402 get { return field102_; }
403 }
404
405 public const int Field103FieldNumber = 103;
406 private bool hasField103;
407 private string field103_ = "";
408 public bool HasField103 {
409 get { return hasField103; }
410 }
411 public string Field103 {
412 get { return field103_; }
413 }
414
415 public const int Field29FieldNumber = 29;
416 private bool hasField29;
417 private int field29_ = 0;
418 public bool HasField29 {
419 get { return hasField29; }
420 }
421 public int Field29 {
422 get { return field29_; }
423 }
424
425 public const int Field30FieldNumber = 30;
426 private bool hasField30;
427 private bool field30_ = false;
428 public bool HasField30 {
429 get { return hasField30; }
430 }
431 public bool Field30 {
432 get { return field30_; }
433 }
434
435 public const int Field60FieldNumber = 60;
436 private bool hasField60;
437 private int field60_ = -1;
438 public bool HasField60 {
439 get { return hasField60; }
440 }
441 public int Field60 {
442 get { return field60_; }
443 }
444
445 public const int Field271FieldNumber = 271;
446 private bool hasField271;
447 private int field271_ = -1;
448 public bool HasField271 {
449 get { return hasField271; }
450 }
451 public int Field271 {
452 get { return field271_; }
453 }
454
455 public const int Field272FieldNumber = 272;
456 private bool hasField272;
457 private int field272_ = -1;
458 public bool HasField272 {
459 get { return hasField272; }
460 }
461 public int Field272 {
462 get { return field272_; }
463 }
464
465 public const int Field150FieldNumber = 150;
466 private bool hasField150;
467 private int field150_ = 0;
468 public bool HasField150 {
469 get { return hasField150; }
470 }
471 public int Field150 {
472 get { return field150_; }
473 }
474
475 public const int Field23FieldNumber = 23;
476 private bool hasField23;
477 private int field23_ = 0;
478 public bool HasField23 {
479 get { return hasField23; }
480 }
481 public int Field23 {
482 get { return field23_; }
483 }
484
485 public const int Field24FieldNumber = 24;
486 private bool hasField24;
487 private bool field24_ = false;
488 public bool HasField24 {
489 get { return hasField24; }
490 }
491 public bool Field24 {
492 get { return field24_; }
493 }
494
495 public const int Field25FieldNumber = 25;
496 private bool hasField25;
497 private int field25_ = 0;
498 public bool HasField25 {
499 get { return hasField25; }
500 }
501 public int Field25 {
502 get { return field25_; }
503 }
504
505 public const int Field15FieldNumber = 15;
506 private bool hasField15;
507 private global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
508 public bool HasField15 {
509 get { return hasField15; }
510 }
511 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
512 get { return field15_; }
513 }
514
515 public const int Field78FieldNumber = 78;
516 private bool hasField78;
517 private bool field78_ = false;
518 public bool HasField78 {
519 get { return hasField78; }
520 }
521 public bool Field78 {
522 get { return field78_; }
523 }
524
525 public const int Field67FieldNumber = 67;
526 private bool hasField67;
527 private int field67_ = 0;
528 public bool HasField67 {
529 get { return hasField67; }
530 }
531 public int Field67 {
532 get { return field67_; }
533 }
534
535 public const int Field68FieldNumber = 68;
536 private bool hasField68;
537 private int field68_ = 0;
538 public bool HasField68 {
539 get { return hasField68; }
540 }
541 public int Field68 {
542 get { return field68_; }
543 }
544
545 public const int Field128FieldNumber = 128;
546 private bool hasField128;
547 private int field128_ = 0;
548 public bool HasField128 {
549 get { return hasField128; }
550 }
551 public int Field128 {
552 get { return field128_; }
553 }
554
555 public const int Field129FieldNumber = 129;
556 private bool hasField129;
557 private string field129_ = "xxxxxxxxxxxxxxxxxxxxx";
558 public bool HasField129 {
559 get { return hasField129; }
560 }
561 public string Field129 {
562 get { return field129_; }
563 }
564
565 public const int Field131FieldNumber = 131;
566 private bool hasField131;
567 private int field131_ = 0;
568 public bool HasField131 {
569 get { return hasField131; }
570 }
571 public int Field131 {
572 get { return field131_; }
573 }
574
575 public override bool IsInitialized {
576 get {
577 if (!hasField1) return false;
578 if (!hasField2) return false;
579 if (!hasField3) return false;
580 return true;
581 }
582 }
583
csharptestffafdaa2011-06-03 12:58:14 -0500584 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -0500585 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -0500586 string[] field_names = _speedMessage1FieldNames;
csharptestc671a4b2011-06-08 11:51:24 -0500587 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -0500588 output.WriteString(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -0500589 }
csharptestc671a4b2011-06-08 11:51:24 -0500590 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -0500591 output.WriteInt32(2, field_names[18], Field2);
csharptest27bfcc52011-06-02 12:04:06 -0500592 }
csharptestc671a4b2011-06-08 11:51:24 -0500593 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -0500594 output.WriteInt32(3, field_names[27], Field3);
csharptest27bfcc52011-06-02 12:04:06 -0500595 }
csharptestc671a4b2011-06-08 11:51:24 -0500596 if (hasField4) {
csharptest920b09a2011-06-08 20:13:29 -0500597 output.WriteString(4, field_names[29], Field4);
csharptest27bfcc52011-06-02 12:04:06 -0500598 }
599 if (field5_.Count > 0) {
csharptest920b09a2011-06-08 20:13:29 -0500600 output.WriteArray(pbd::FieldType.Fixed64, 5, field_names[30], field5_);
csharptest27bfcc52011-06-02 12:04:06 -0500601 }
csharptestc671a4b2011-06-08 11:51:24 -0500602 if (hasField6) {
csharptest920b09a2011-06-08 20:13:29 -0500603 output.WriteInt32(6, field_names[32], Field6);
csharptest27bfcc52011-06-02 12:04:06 -0500604 }
csharptestc671a4b2011-06-08 11:51:24 -0500605 if (hasField7) {
csharptest920b09a2011-06-08 20:13:29 -0500606 output.WriteString(7, field_names[36], Field7);
csharptest27bfcc52011-06-02 12:04:06 -0500607 }
csharptestc671a4b2011-06-08 11:51:24 -0500608 if (hasField9) {
csharptest920b09a2011-06-08 20:13:29 -0500609 output.WriteString(9, field_names[40], Field9);
csharptest27bfcc52011-06-02 12:04:06 -0500610 }
csharptestc671a4b2011-06-08 11:51:24 -0500611 if (hasField12) {
csharptest920b09a2011-06-08 20:13:29 -0500612 output.WriteBool(12, field_names[6], Field12);
csharptest27bfcc52011-06-02 12:04:06 -0500613 }
csharptestc671a4b2011-06-08 11:51:24 -0500614 if (hasField13) {
csharptest920b09a2011-06-08 20:13:29 -0500615 output.WriteBool(13, field_names[9], Field13);
csharptest27bfcc52011-06-02 12:04:06 -0500616 }
csharptestc671a4b2011-06-08 11:51:24 -0500617 if (hasField14) {
csharptest920b09a2011-06-08 20:13:29 -0500618 output.WriteBool(14, field_names[12], Field14);
csharptest27bfcc52011-06-02 12:04:06 -0500619 }
csharptestc671a4b2011-06-08 11:51:24 -0500620 if (hasField15) {
csharptest920b09a2011-06-08 20:13:29 -0500621 output.WriteMessage(15, field_names[13], Field15);
csharptest27bfcc52011-06-02 12:04:06 -0500622 }
csharptestc671a4b2011-06-08 11:51:24 -0500623 if (hasField16) {
csharptest920b09a2011-06-08 20:13:29 -0500624 output.WriteInt32(16, field_names[15], Field16);
csharptest27bfcc52011-06-02 12:04:06 -0500625 }
csharptestc671a4b2011-06-08 11:51:24 -0500626 if (hasField17) {
csharptest920b09a2011-06-08 20:13:29 -0500627 output.WriteBool(17, field_names[16], Field17);
csharptest27bfcc52011-06-02 12:04:06 -0500628 }
csharptestc671a4b2011-06-08 11:51:24 -0500629 if (hasField18) {
csharptest920b09a2011-06-08 20:13:29 -0500630 output.WriteString(18, field_names[17], Field18);
csharptest27bfcc52011-06-02 12:04:06 -0500631 }
csharptestc671a4b2011-06-08 11:51:24 -0500632 if (hasField22) {
csharptest920b09a2011-06-08 20:13:29 -0500633 output.WriteInt64(22, field_names[19], Field22);
csharptest27bfcc52011-06-02 12:04:06 -0500634 }
csharptestc671a4b2011-06-08 11:51:24 -0500635 if (hasField23) {
csharptest920b09a2011-06-08 20:13:29 -0500636 output.WriteInt32(23, field_names[20], Field23);
csharptest27bfcc52011-06-02 12:04:06 -0500637 }
csharptestc671a4b2011-06-08 11:51:24 -0500638 if (hasField24) {
csharptest920b09a2011-06-08 20:13:29 -0500639 output.WriteBool(24, field_names[21], Field24);
csharptest27bfcc52011-06-02 12:04:06 -0500640 }
csharptestc671a4b2011-06-08 11:51:24 -0500641 if (hasField25) {
csharptest920b09a2011-06-08 20:13:29 -0500642 output.WriteInt32(25, field_names[22], Field25);
csharptest27bfcc52011-06-02 12:04:06 -0500643 }
csharptestc671a4b2011-06-08 11:51:24 -0500644 if (hasField29) {
csharptest920b09a2011-06-08 20:13:29 -0500645 output.WriteInt32(29, field_names[26], Field29);
csharptest27bfcc52011-06-02 12:04:06 -0500646 }
csharptestc671a4b2011-06-08 11:51:24 -0500647 if (hasField30) {
csharptest920b09a2011-06-08 20:13:29 -0500648 output.WriteBool(30, field_names[28], Field30);
csharptest27bfcc52011-06-02 12:04:06 -0500649 }
csharptestc671a4b2011-06-08 11:51:24 -0500650 if (hasField59) {
csharptest920b09a2011-06-08 20:13:29 -0500651 output.WriteBool(59, field_names[31], Field59);
csharptest27bfcc52011-06-02 12:04:06 -0500652 }
csharptestc671a4b2011-06-08 11:51:24 -0500653 if (hasField60) {
csharptest920b09a2011-06-08 20:13:29 -0500654 output.WriteInt32(60, field_names[33], Field60);
csharptest27bfcc52011-06-02 12:04:06 -0500655 }
csharptestc671a4b2011-06-08 11:51:24 -0500656 if (hasField67) {
csharptest920b09a2011-06-08 20:13:29 -0500657 output.WriteInt32(67, field_names[34], Field67);
csharptest27bfcc52011-06-02 12:04:06 -0500658 }
csharptestc671a4b2011-06-08 11:51:24 -0500659 if (hasField68) {
csharptest920b09a2011-06-08 20:13:29 -0500660 output.WriteInt32(68, field_names[35], Field68);
csharptest27bfcc52011-06-02 12:04:06 -0500661 }
csharptestc671a4b2011-06-08 11:51:24 -0500662 if (hasField78) {
csharptest920b09a2011-06-08 20:13:29 -0500663 output.WriteBool(78, field_names[37], Field78);
csharptest27bfcc52011-06-02 12:04:06 -0500664 }
csharptestc671a4b2011-06-08 11:51:24 -0500665 if (hasField80) {
csharptest920b09a2011-06-08 20:13:29 -0500666 output.WriteBool(80, field_names[38], Field80);
csharptest27bfcc52011-06-02 12:04:06 -0500667 }
csharptestc671a4b2011-06-08 11:51:24 -0500668 if (hasField81) {
csharptest920b09a2011-06-08 20:13:29 -0500669 output.WriteBool(81, field_names[39], Field81);
csharptest27bfcc52011-06-02 12:04:06 -0500670 }
csharptestc671a4b2011-06-08 11:51:24 -0500671 if (hasField100) {
csharptest920b09a2011-06-08 20:13:29 -0500672 output.WriteInt32(100, field_names[1], Field100);
csharptest27bfcc52011-06-02 12:04:06 -0500673 }
csharptestc671a4b2011-06-08 11:51:24 -0500674 if (hasField101) {
csharptest920b09a2011-06-08 20:13:29 -0500675 output.WriteInt32(101, field_names[2], Field101);
csharptest27bfcc52011-06-02 12:04:06 -0500676 }
csharptestc671a4b2011-06-08 11:51:24 -0500677 if (hasField102) {
csharptest920b09a2011-06-08 20:13:29 -0500678 output.WriteString(102, field_names[3], Field102);
csharptest27bfcc52011-06-02 12:04:06 -0500679 }
csharptestc671a4b2011-06-08 11:51:24 -0500680 if (hasField103) {
csharptest920b09a2011-06-08 20:13:29 -0500681 output.WriteString(103, field_names[4], Field103);
csharptest27bfcc52011-06-02 12:04:06 -0500682 }
csharptestc671a4b2011-06-08 11:51:24 -0500683 if (hasField104) {
csharptest920b09a2011-06-08 20:13:29 -0500684 output.WriteInt32(104, field_names[5], Field104);
csharptest27bfcc52011-06-02 12:04:06 -0500685 }
csharptestc671a4b2011-06-08 11:51:24 -0500686 if (hasField128) {
csharptest920b09a2011-06-08 20:13:29 -0500687 output.WriteInt32(128, field_names[7], Field128);
csharptest27bfcc52011-06-02 12:04:06 -0500688 }
csharptestc671a4b2011-06-08 11:51:24 -0500689 if (hasField129) {
csharptest920b09a2011-06-08 20:13:29 -0500690 output.WriteString(129, field_names[8], Field129);
csharptest27bfcc52011-06-02 12:04:06 -0500691 }
csharptestc671a4b2011-06-08 11:51:24 -0500692 if (hasField130) {
csharptest920b09a2011-06-08 20:13:29 -0500693 output.WriteInt32(130, field_names[10], Field130);
csharptest27bfcc52011-06-02 12:04:06 -0500694 }
csharptestc671a4b2011-06-08 11:51:24 -0500695 if (hasField131) {
csharptest920b09a2011-06-08 20:13:29 -0500696 output.WriteInt32(131, field_names[11], Field131);
csharptest27bfcc52011-06-02 12:04:06 -0500697 }
csharptestc671a4b2011-06-08 11:51:24 -0500698 if (hasField150) {
csharptest920b09a2011-06-08 20:13:29 -0500699 output.WriteInt32(150, field_names[14], Field150);
csharptest27bfcc52011-06-02 12:04:06 -0500700 }
csharptestc671a4b2011-06-08 11:51:24 -0500701 if (hasField271) {
csharptest920b09a2011-06-08 20:13:29 -0500702 output.WriteInt32(271, field_names[23], Field271);
csharptest27bfcc52011-06-02 12:04:06 -0500703 }
csharptestc671a4b2011-06-08 11:51:24 -0500704 if (hasField272) {
csharptest920b09a2011-06-08 20:13:29 -0500705 output.WriteInt32(272, field_names[24], Field272);
csharptest27bfcc52011-06-02 12:04:06 -0500706 }
csharptestc671a4b2011-06-08 11:51:24 -0500707 if (hasField280) {
csharptest920b09a2011-06-08 20:13:29 -0500708 output.WriteInt32(280, field_names[25], Field280);
csharptest27bfcc52011-06-02 12:04:06 -0500709 }
710 UnknownFields.WriteTo(output);
711 }
712
713 private int memoizedSerializedSize = -1;
714 public override int SerializedSize {
715 get {
716 int size = memoizedSerializedSize;
717 if (size != -1) return size;
718
719 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -0500720 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -0500721 size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
722 }
csharptestc671a4b2011-06-08 11:51:24 -0500723 if (hasField9) {
csharptest27bfcc52011-06-02 12:04:06 -0500724 size += pb::CodedOutputStream.ComputeStringSize(9, Field9);
725 }
csharptestc671a4b2011-06-08 11:51:24 -0500726 if (hasField18) {
csharptest27bfcc52011-06-02 12:04:06 -0500727 size += pb::CodedOutputStream.ComputeStringSize(18, Field18);
728 }
csharptestc671a4b2011-06-08 11:51:24 -0500729 if (hasField80) {
csharptest27bfcc52011-06-02 12:04:06 -0500730 size += pb::CodedOutputStream.ComputeBoolSize(80, Field80);
731 }
csharptestc671a4b2011-06-08 11:51:24 -0500732 if (hasField81) {
csharptest27bfcc52011-06-02 12:04:06 -0500733 size += pb::CodedOutputStream.ComputeBoolSize(81, Field81);
734 }
csharptestc671a4b2011-06-08 11:51:24 -0500735 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -0500736 size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
737 }
csharptestc671a4b2011-06-08 11:51:24 -0500738 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -0500739 size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
740 }
csharptestc671a4b2011-06-08 11:51:24 -0500741 if (hasField280) {
csharptest27bfcc52011-06-02 12:04:06 -0500742 size += pb::CodedOutputStream.ComputeInt32Size(280, Field280);
743 }
csharptestc671a4b2011-06-08 11:51:24 -0500744 if (hasField6) {
csharptest27bfcc52011-06-02 12:04:06 -0500745 size += pb::CodedOutputStream.ComputeInt32Size(6, Field6);
746 }
csharptestc671a4b2011-06-08 11:51:24 -0500747 if (hasField22) {
csharptest27bfcc52011-06-02 12:04:06 -0500748 size += pb::CodedOutputStream.ComputeInt64Size(22, Field22);
749 }
csharptestc671a4b2011-06-08 11:51:24 -0500750 if (hasField4) {
csharptest27bfcc52011-06-02 12:04:06 -0500751 size += pb::CodedOutputStream.ComputeStringSize(4, Field4);
752 }
753 {
754 int dataSize = 0;
755 dataSize = 8 * field5_.Count;
756 size += dataSize;
757 size += 1 * field5_.Count;
758 }
csharptestc671a4b2011-06-08 11:51:24 -0500759 if (hasField59) {
csharptest27bfcc52011-06-02 12:04:06 -0500760 size += pb::CodedOutputStream.ComputeBoolSize(59, Field59);
761 }
csharptestc671a4b2011-06-08 11:51:24 -0500762 if (hasField7) {
csharptest27bfcc52011-06-02 12:04:06 -0500763 size += pb::CodedOutputStream.ComputeStringSize(7, Field7);
764 }
csharptestc671a4b2011-06-08 11:51:24 -0500765 if (hasField16) {
csharptest27bfcc52011-06-02 12:04:06 -0500766 size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
767 }
csharptestc671a4b2011-06-08 11:51:24 -0500768 if (hasField130) {
csharptest27bfcc52011-06-02 12:04:06 -0500769 size += pb::CodedOutputStream.ComputeInt32Size(130, Field130);
770 }
csharptestc671a4b2011-06-08 11:51:24 -0500771 if (hasField12) {
csharptest27bfcc52011-06-02 12:04:06 -0500772 size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
773 }
csharptestc671a4b2011-06-08 11:51:24 -0500774 if (hasField17) {
csharptest27bfcc52011-06-02 12:04:06 -0500775 size += pb::CodedOutputStream.ComputeBoolSize(17, Field17);
776 }
csharptestc671a4b2011-06-08 11:51:24 -0500777 if (hasField13) {
csharptest27bfcc52011-06-02 12:04:06 -0500778 size += pb::CodedOutputStream.ComputeBoolSize(13, Field13);
779 }
csharptestc671a4b2011-06-08 11:51:24 -0500780 if (hasField14) {
csharptest27bfcc52011-06-02 12:04:06 -0500781 size += pb::CodedOutputStream.ComputeBoolSize(14, Field14);
782 }
csharptestc671a4b2011-06-08 11:51:24 -0500783 if (hasField104) {
csharptest27bfcc52011-06-02 12:04:06 -0500784 size += pb::CodedOutputStream.ComputeInt32Size(104, Field104);
785 }
csharptestc671a4b2011-06-08 11:51:24 -0500786 if (hasField100) {
csharptest27bfcc52011-06-02 12:04:06 -0500787 size += pb::CodedOutputStream.ComputeInt32Size(100, Field100);
788 }
csharptestc671a4b2011-06-08 11:51:24 -0500789 if (hasField101) {
csharptest27bfcc52011-06-02 12:04:06 -0500790 size += pb::CodedOutputStream.ComputeInt32Size(101, Field101);
791 }
csharptestc671a4b2011-06-08 11:51:24 -0500792 if (hasField102) {
csharptest27bfcc52011-06-02 12:04:06 -0500793 size += pb::CodedOutputStream.ComputeStringSize(102, Field102);
794 }
csharptestc671a4b2011-06-08 11:51:24 -0500795 if (hasField103) {
csharptest27bfcc52011-06-02 12:04:06 -0500796 size += pb::CodedOutputStream.ComputeStringSize(103, Field103);
797 }
csharptestc671a4b2011-06-08 11:51:24 -0500798 if (hasField29) {
csharptest27bfcc52011-06-02 12:04:06 -0500799 size += pb::CodedOutputStream.ComputeInt32Size(29, Field29);
800 }
csharptestc671a4b2011-06-08 11:51:24 -0500801 if (hasField30) {
csharptest27bfcc52011-06-02 12:04:06 -0500802 size += pb::CodedOutputStream.ComputeBoolSize(30, Field30);
803 }
csharptestc671a4b2011-06-08 11:51:24 -0500804 if (hasField60) {
csharptest27bfcc52011-06-02 12:04:06 -0500805 size += pb::CodedOutputStream.ComputeInt32Size(60, Field60);
806 }
csharptestc671a4b2011-06-08 11:51:24 -0500807 if (hasField271) {
csharptest27bfcc52011-06-02 12:04:06 -0500808 size += pb::CodedOutputStream.ComputeInt32Size(271, Field271);
809 }
csharptestc671a4b2011-06-08 11:51:24 -0500810 if (hasField272) {
csharptest27bfcc52011-06-02 12:04:06 -0500811 size += pb::CodedOutputStream.ComputeInt32Size(272, Field272);
812 }
csharptestc671a4b2011-06-08 11:51:24 -0500813 if (hasField150) {
csharptest27bfcc52011-06-02 12:04:06 -0500814 size += pb::CodedOutputStream.ComputeInt32Size(150, Field150);
815 }
csharptestc671a4b2011-06-08 11:51:24 -0500816 if (hasField23) {
csharptest27bfcc52011-06-02 12:04:06 -0500817 size += pb::CodedOutputStream.ComputeInt32Size(23, Field23);
818 }
csharptestc671a4b2011-06-08 11:51:24 -0500819 if (hasField24) {
csharptest27bfcc52011-06-02 12:04:06 -0500820 size += pb::CodedOutputStream.ComputeBoolSize(24, Field24);
821 }
csharptestc671a4b2011-06-08 11:51:24 -0500822 if (hasField25) {
csharptest27bfcc52011-06-02 12:04:06 -0500823 size += pb::CodedOutputStream.ComputeInt32Size(25, Field25);
824 }
csharptestc671a4b2011-06-08 11:51:24 -0500825 if (hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -0500826 size += pb::CodedOutputStream.ComputeMessageSize(15, Field15);
827 }
csharptestc671a4b2011-06-08 11:51:24 -0500828 if (hasField78) {
csharptest27bfcc52011-06-02 12:04:06 -0500829 size += pb::CodedOutputStream.ComputeBoolSize(78, Field78);
830 }
csharptestc671a4b2011-06-08 11:51:24 -0500831 if (hasField67) {
csharptest27bfcc52011-06-02 12:04:06 -0500832 size += pb::CodedOutputStream.ComputeInt32Size(67, Field67);
833 }
csharptestc671a4b2011-06-08 11:51:24 -0500834 if (hasField68) {
csharptest27bfcc52011-06-02 12:04:06 -0500835 size += pb::CodedOutputStream.ComputeInt32Size(68, Field68);
836 }
csharptestc671a4b2011-06-08 11:51:24 -0500837 if (hasField128) {
csharptest27bfcc52011-06-02 12:04:06 -0500838 size += pb::CodedOutputStream.ComputeInt32Size(128, Field128);
839 }
csharptestc671a4b2011-06-08 11:51:24 -0500840 if (hasField129) {
csharptest27bfcc52011-06-02 12:04:06 -0500841 size += pb::CodedOutputStream.ComputeStringSize(129, Field129);
842 }
csharptestc671a4b2011-06-08 11:51:24 -0500843 if (hasField131) {
csharptest27bfcc52011-06-02 12:04:06 -0500844 size += pb::CodedOutputStream.ComputeInt32Size(131, Field131);
845 }
846 size += UnknownFields.SerializedSize;
847 memoizedSerializedSize = size;
848 return size;
849 }
850 }
851
852 public static SpeedMessage1 ParseFrom(pb::ByteString data) {
853 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
854 }
855 public static SpeedMessage1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
856 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
857 }
858 public static SpeedMessage1 ParseFrom(byte[] data) {
859 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
860 }
861 public static SpeedMessage1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
862 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
863 }
864 public static SpeedMessage1 ParseFrom(global::System.IO.Stream input) {
865 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
866 }
867 public static SpeedMessage1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
868 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
869 }
870 public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input) {
871 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
872 }
873 public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
874 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
875 }
csharptest17699c22011-06-03 21:57:15 -0500876 public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -0500877 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
878 }
csharptest17699c22011-06-03 21:57:15 -0500879 public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -0500880 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
881 }
882 public static Builder CreateBuilder() { return new Builder(); }
883 public override Builder ToBuilder() { return CreateBuilder(this); }
884 public override Builder CreateBuilderForType() { return new Builder(); }
885 public static Builder CreateBuilder(SpeedMessage1 prototype) {
886 return (Builder) new Builder().MergeFrom(prototype);
887 }
888
889 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
890 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
891 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
892 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1, Builder> {
893 protected override Builder ThisBuilder {
894 get { return this; }
895 }
896 public Builder() {}
897
898 SpeedMessage1 result = new SpeedMessage1();
899
900 protected override SpeedMessage1 MessageBeingBuilt {
901 get { return result; }
902 }
903
904 public override Builder Clear() {
905 result = new SpeedMessage1();
906 return this;
907 }
908
909 public override Builder Clone() {
910 return new Builder().MergeFrom(result);
911 }
912
913 public override pbd::MessageDescriptor DescriptorForType {
914 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Descriptor; }
915 }
916
917 public override SpeedMessage1 DefaultInstanceForType {
918 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance; }
919 }
920
921 public override SpeedMessage1 BuildPartial() {
922 if (result == null) {
923 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
924 }
925 result.field5_.MakeReadOnly();
926 SpeedMessage1 returnMe = result;
927 result = null;
928 return returnMe;
929 }
930
931 public override Builder MergeFrom(pb::IMessage other) {
932 if (other is SpeedMessage1) {
933 return MergeFrom((SpeedMessage1) other);
934 } else {
935 base.MergeFrom(other);
936 return this;
937 }
938 }
939
940 public override Builder MergeFrom(SpeedMessage1 other) {
941 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance) return this;
942 if (other.HasField1) {
943 Field1 = other.Field1;
944 }
945 if (other.HasField9) {
946 Field9 = other.Field9;
947 }
948 if (other.HasField18) {
949 Field18 = other.Field18;
950 }
951 if (other.HasField80) {
952 Field80 = other.Field80;
953 }
954 if (other.HasField81) {
955 Field81 = other.Field81;
956 }
957 if (other.HasField2) {
958 Field2 = other.Field2;
959 }
960 if (other.HasField3) {
961 Field3 = other.Field3;
962 }
963 if (other.HasField280) {
964 Field280 = other.Field280;
965 }
966 if (other.HasField6) {
967 Field6 = other.Field6;
968 }
969 if (other.HasField22) {
970 Field22 = other.Field22;
971 }
972 if (other.HasField4) {
973 Field4 = other.Field4;
974 }
975 if (other.field5_.Count != 0) {
976 base.AddRange(other.field5_, result.field5_);
977 }
978 if (other.HasField59) {
979 Field59 = other.Field59;
980 }
981 if (other.HasField7) {
982 Field7 = other.Field7;
983 }
984 if (other.HasField16) {
985 Field16 = other.Field16;
986 }
987 if (other.HasField130) {
988 Field130 = other.Field130;
989 }
990 if (other.HasField12) {
991 Field12 = other.Field12;
992 }
993 if (other.HasField17) {
994 Field17 = other.Field17;
995 }
996 if (other.HasField13) {
997 Field13 = other.Field13;
998 }
999 if (other.HasField14) {
1000 Field14 = other.Field14;
1001 }
1002 if (other.HasField104) {
1003 Field104 = other.Field104;
1004 }
1005 if (other.HasField100) {
1006 Field100 = other.Field100;
1007 }
1008 if (other.HasField101) {
1009 Field101 = other.Field101;
1010 }
1011 if (other.HasField102) {
1012 Field102 = other.Field102;
1013 }
1014 if (other.HasField103) {
1015 Field103 = other.Field103;
1016 }
1017 if (other.HasField29) {
1018 Field29 = other.Field29;
1019 }
1020 if (other.HasField30) {
1021 Field30 = other.Field30;
1022 }
1023 if (other.HasField60) {
1024 Field60 = other.Field60;
1025 }
1026 if (other.HasField271) {
1027 Field271 = other.Field271;
1028 }
1029 if (other.HasField272) {
1030 Field272 = other.Field272;
1031 }
1032 if (other.HasField150) {
1033 Field150 = other.Field150;
1034 }
1035 if (other.HasField23) {
1036 Field23 = other.Field23;
1037 }
1038 if (other.HasField24) {
1039 Field24 = other.Field24;
1040 }
1041 if (other.HasField25) {
1042 Field25 = other.Field25;
1043 }
1044 if (other.HasField15) {
1045 MergeField15(other.Field15);
1046 }
1047 if (other.HasField78) {
1048 Field78 = other.Field78;
1049 }
1050 if (other.HasField67) {
1051 Field67 = other.Field67;
1052 }
1053 if (other.HasField68) {
1054 Field68 = other.Field68;
1055 }
1056 if (other.HasField128) {
1057 Field128 = other.Field128;
1058 }
1059 if (other.HasField129) {
1060 Field129 = other.Field129;
1061 }
1062 if (other.HasField131) {
1063 Field131 = other.Field131;
1064 }
1065 this.MergeUnknownFields(other.UnknownFields);
1066 return this;
1067 }
1068
csharptest17699c22011-06-03 21:57:15 -05001069 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05001070 return MergeFrom(input, pb::ExtensionRegistry.Empty);
1071 }
1072
csharptest17699c22011-06-03 21:57:15 -05001073 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05001074 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05001075 uint tag;
1076 string field_name;
1077 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05001078 if(tag == 0 && field_name != null) {
1079 int field_ordinal = global::System.Array.BinarySearch(_speedMessage1FieldNames, field_name, global::System.StringComparer.Ordinal);
1080 if(field_ordinal >= 0)
1081 tag = _speedMessage1FieldTags[field_ordinal];
1082 else {
1083 if (unknownFields == null) {
1084 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
1085 }
1086 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
1087 continue;
1088 }
1089 }
csharptest27bfcc52011-06-02 12:04:06 -05001090 switch (tag) {
1091 case 0: {
csharptest99284412011-06-03 14:51:06 -05001092 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05001093 }
1094 default: {
1095 if (pb::WireFormat.IsEndGroupTag(tag)) {
1096 if (unknownFields != null) {
1097 this.UnknownFields = unknownFields.Build();
1098 }
1099 return this;
1100 }
1101 if (unknownFields == null) {
1102 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
1103 }
csharptestd2af9e92011-06-03 21:35:02 -05001104 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05001105 break;
1106 }
1107 case 10: {
csharptest920b09a2011-06-08 20:13:29 -05001108 result.hasField1 = input.ReadString(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05001109 break;
1110 }
1111 case 16: {
csharptest920b09a2011-06-08 20:13:29 -05001112 result.hasField2 = input.ReadInt32(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05001113 break;
1114 }
1115 case 24: {
csharptest920b09a2011-06-08 20:13:29 -05001116 result.hasField3 = input.ReadInt32(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05001117 break;
1118 }
1119 case 34: {
csharptest920b09a2011-06-08 20:13:29 -05001120 result.hasField4 = input.ReadString(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05001121 break;
1122 }
csharptest6da31702011-06-04 12:52:57 -05001123 case 42:
csharptest27bfcc52011-06-02 12:04:06 -05001124 case 41: {
csharptestd2af9e92011-06-03 21:35:02 -05001125 input.ReadPrimitiveArray(pbd::FieldType.Fixed64, tag, field_name, result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05001126 break;
1127 }
1128 case 48: {
csharptest920b09a2011-06-08 20:13:29 -05001129 result.hasField6 = input.ReadInt32(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05001130 break;
1131 }
1132 case 58: {
csharptest920b09a2011-06-08 20:13:29 -05001133 result.hasField7 = input.ReadString(ref result.field7_);
csharptest27bfcc52011-06-02 12:04:06 -05001134 break;
1135 }
1136 case 74: {
csharptest920b09a2011-06-08 20:13:29 -05001137 result.hasField9 = input.ReadString(ref result.field9_);
csharptest27bfcc52011-06-02 12:04:06 -05001138 break;
1139 }
1140 case 96: {
csharptest920b09a2011-06-08 20:13:29 -05001141 result.hasField12 = input.ReadBool(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05001142 break;
1143 }
1144 case 104: {
csharptest920b09a2011-06-08 20:13:29 -05001145 result.hasField13 = input.ReadBool(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05001146 break;
1147 }
1148 case 112: {
csharptest920b09a2011-06-08 20:13:29 -05001149 result.hasField14 = input.ReadBool(ref result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05001150 break;
1151 }
1152 case 122: {
1153 global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder();
csharptestc671a4b2011-06-08 11:51:24 -05001154 if (result.hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -05001155 subBuilder.MergeFrom(Field15);
1156 }
1157 input.ReadMessage(subBuilder, extensionRegistry);
1158 Field15 = subBuilder.BuildPartial();
1159 break;
1160 }
1161 case 128: {
csharptest920b09a2011-06-08 20:13:29 -05001162 result.hasField16 = input.ReadInt32(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05001163 break;
1164 }
1165 case 136: {
csharptest920b09a2011-06-08 20:13:29 -05001166 result.hasField17 = input.ReadBool(ref result.field17_);
csharptest27bfcc52011-06-02 12:04:06 -05001167 break;
1168 }
1169 case 146: {
csharptest920b09a2011-06-08 20:13:29 -05001170 result.hasField18 = input.ReadString(ref result.field18_);
csharptest27bfcc52011-06-02 12:04:06 -05001171 break;
1172 }
1173 case 176: {
csharptest920b09a2011-06-08 20:13:29 -05001174 result.hasField22 = input.ReadInt64(ref result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05001175 break;
1176 }
1177 case 184: {
csharptest920b09a2011-06-08 20:13:29 -05001178 result.hasField23 = input.ReadInt32(ref result.field23_);
csharptest27bfcc52011-06-02 12:04:06 -05001179 break;
1180 }
1181 case 192: {
csharptest920b09a2011-06-08 20:13:29 -05001182 result.hasField24 = input.ReadBool(ref result.field24_);
csharptest27bfcc52011-06-02 12:04:06 -05001183 break;
1184 }
1185 case 200: {
csharptest920b09a2011-06-08 20:13:29 -05001186 result.hasField25 = input.ReadInt32(ref result.field25_);
csharptest27bfcc52011-06-02 12:04:06 -05001187 break;
1188 }
1189 case 232: {
csharptest920b09a2011-06-08 20:13:29 -05001190 result.hasField29 = input.ReadInt32(ref result.field29_);
csharptest27bfcc52011-06-02 12:04:06 -05001191 break;
1192 }
1193 case 240: {
csharptest920b09a2011-06-08 20:13:29 -05001194 result.hasField30 = input.ReadBool(ref result.field30_);
csharptest27bfcc52011-06-02 12:04:06 -05001195 break;
1196 }
1197 case 472: {
csharptest920b09a2011-06-08 20:13:29 -05001198 result.hasField59 = input.ReadBool(ref result.field59_);
csharptest27bfcc52011-06-02 12:04:06 -05001199 break;
1200 }
1201 case 480: {
csharptest920b09a2011-06-08 20:13:29 -05001202 result.hasField60 = input.ReadInt32(ref result.field60_);
csharptest27bfcc52011-06-02 12:04:06 -05001203 break;
1204 }
1205 case 536: {
csharptest920b09a2011-06-08 20:13:29 -05001206 result.hasField67 = input.ReadInt32(ref result.field67_);
csharptest27bfcc52011-06-02 12:04:06 -05001207 break;
1208 }
1209 case 544: {
csharptest920b09a2011-06-08 20:13:29 -05001210 result.hasField68 = input.ReadInt32(ref result.field68_);
csharptest27bfcc52011-06-02 12:04:06 -05001211 break;
1212 }
1213 case 624: {
csharptest920b09a2011-06-08 20:13:29 -05001214 result.hasField78 = input.ReadBool(ref result.field78_);
csharptest27bfcc52011-06-02 12:04:06 -05001215 break;
1216 }
1217 case 640: {
csharptest920b09a2011-06-08 20:13:29 -05001218 result.hasField80 = input.ReadBool(ref result.field80_);
csharptest27bfcc52011-06-02 12:04:06 -05001219 break;
1220 }
1221 case 648: {
csharptest920b09a2011-06-08 20:13:29 -05001222 result.hasField81 = input.ReadBool(ref result.field81_);
csharptest27bfcc52011-06-02 12:04:06 -05001223 break;
1224 }
1225 case 800: {
csharptest920b09a2011-06-08 20:13:29 -05001226 result.hasField100 = input.ReadInt32(ref result.field100_);
csharptest27bfcc52011-06-02 12:04:06 -05001227 break;
1228 }
1229 case 808: {
csharptest920b09a2011-06-08 20:13:29 -05001230 result.hasField101 = input.ReadInt32(ref result.field101_);
csharptest27bfcc52011-06-02 12:04:06 -05001231 break;
1232 }
1233 case 818: {
csharptest920b09a2011-06-08 20:13:29 -05001234 result.hasField102 = input.ReadString(ref result.field102_);
csharptest27bfcc52011-06-02 12:04:06 -05001235 break;
1236 }
1237 case 826: {
csharptest920b09a2011-06-08 20:13:29 -05001238 result.hasField103 = input.ReadString(ref result.field103_);
csharptest27bfcc52011-06-02 12:04:06 -05001239 break;
1240 }
1241 case 832: {
csharptest920b09a2011-06-08 20:13:29 -05001242 result.hasField104 = input.ReadInt32(ref result.field104_);
csharptest27bfcc52011-06-02 12:04:06 -05001243 break;
1244 }
1245 case 1024: {
csharptest920b09a2011-06-08 20:13:29 -05001246 result.hasField128 = input.ReadInt32(ref result.field128_);
csharptest27bfcc52011-06-02 12:04:06 -05001247 break;
1248 }
1249 case 1034: {
csharptest920b09a2011-06-08 20:13:29 -05001250 result.hasField129 = input.ReadString(ref result.field129_);
csharptest27bfcc52011-06-02 12:04:06 -05001251 break;
1252 }
1253 case 1040: {
csharptest920b09a2011-06-08 20:13:29 -05001254 result.hasField130 = input.ReadInt32(ref result.field130_);
csharptest27bfcc52011-06-02 12:04:06 -05001255 break;
1256 }
1257 case 1048: {
csharptest920b09a2011-06-08 20:13:29 -05001258 result.hasField131 = input.ReadInt32(ref result.field131_);
csharptest27bfcc52011-06-02 12:04:06 -05001259 break;
1260 }
1261 case 1200: {
csharptest920b09a2011-06-08 20:13:29 -05001262 result.hasField150 = input.ReadInt32(ref result.field150_);
csharptest27bfcc52011-06-02 12:04:06 -05001263 break;
1264 }
1265 case 2168: {
csharptest920b09a2011-06-08 20:13:29 -05001266 result.hasField271 = input.ReadInt32(ref result.field271_);
csharptest27bfcc52011-06-02 12:04:06 -05001267 break;
1268 }
1269 case 2176: {
csharptest920b09a2011-06-08 20:13:29 -05001270 result.hasField272 = input.ReadInt32(ref result.field272_);
csharptest27bfcc52011-06-02 12:04:06 -05001271 break;
1272 }
1273 case 2240: {
csharptest920b09a2011-06-08 20:13:29 -05001274 result.hasField280 = input.ReadInt32(ref result.field280_);
csharptest27bfcc52011-06-02 12:04:06 -05001275 break;
1276 }
1277 }
1278 }
csharptest123e5342011-06-03 14:15:21 -05001279
1280 if (unknownFields != null) {
1281 this.UnknownFields = unknownFields.Build();
1282 }
1283 return this;
csharptest27bfcc52011-06-02 12:04:06 -05001284 }
1285
1286
1287 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05001288 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05001289 }
1290 public string Field1 {
1291 get { return result.Field1; }
1292 set { SetField1(value); }
1293 }
1294 public Builder SetField1(string value) {
1295 pb::ThrowHelper.ThrowIfNull(value, "value");
1296 result.hasField1 = true;
1297 result.field1_ = value;
1298 return this;
1299 }
1300 public Builder ClearField1() {
1301 result.hasField1 = false;
1302 result.field1_ = "";
1303 return this;
1304 }
1305
1306 public bool HasField9 {
csharptestc671a4b2011-06-08 11:51:24 -05001307 get { return result.hasField9; }
csharptest27bfcc52011-06-02 12:04:06 -05001308 }
1309 public string Field9 {
1310 get { return result.Field9; }
1311 set { SetField9(value); }
1312 }
1313 public Builder SetField9(string value) {
1314 pb::ThrowHelper.ThrowIfNull(value, "value");
1315 result.hasField9 = true;
1316 result.field9_ = value;
1317 return this;
1318 }
1319 public Builder ClearField9() {
1320 result.hasField9 = false;
1321 result.field9_ = "";
1322 return this;
1323 }
1324
1325 public bool HasField18 {
csharptestc671a4b2011-06-08 11:51:24 -05001326 get { return result.hasField18; }
csharptest27bfcc52011-06-02 12:04:06 -05001327 }
1328 public string Field18 {
1329 get { return result.Field18; }
1330 set { SetField18(value); }
1331 }
1332 public Builder SetField18(string value) {
1333 pb::ThrowHelper.ThrowIfNull(value, "value");
1334 result.hasField18 = true;
1335 result.field18_ = value;
1336 return this;
1337 }
1338 public Builder ClearField18() {
1339 result.hasField18 = false;
1340 result.field18_ = "";
1341 return this;
1342 }
1343
1344 public bool HasField80 {
csharptestc671a4b2011-06-08 11:51:24 -05001345 get { return result.hasField80; }
csharptest27bfcc52011-06-02 12:04:06 -05001346 }
1347 public bool Field80 {
1348 get { return result.Field80; }
1349 set { SetField80(value); }
1350 }
1351 public Builder SetField80(bool value) {
1352 result.hasField80 = true;
1353 result.field80_ = value;
1354 return this;
1355 }
1356 public Builder ClearField80() {
1357 result.hasField80 = false;
1358 result.field80_ = false;
1359 return this;
1360 }
1361
1362 public bool HasField81 {
csharptestc671a4b2011-06-08 11:51:24 -05001363 get { return result.hasField81; }
csharptest27bfcc52011-06-02 12:04:06 -05001364 }
1365 public bool Field81 {
1366 get { return result.Field81; }
1367 set { SetField81(value); }
1368 }
1369 public Builder SetField81(bool value) {
1370 result.hasField81 = true;
1371 result.field81_ = value;
1372 return this;
1373 }
1374 public Builder ClearField81() {
1375 result.hasField81 = false;
1376 result.field81_ = true;
1377 return this;
1378 }
1379
1380 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05001381 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05001382 }
1383 public int Field2 {
1384 get { return result.Field2; }
1385 set { SetField2(value); }
1386 }
1387 public Builder SetField2(int value) {
1388 result.hasField2 = true;
1389 result.field2_ = value;
1390 return this;
1391 }
1392 public Builder ClearField2() {
1393 result.hasField2 = false;
1394 result.field2_ = 0;
1395 return this;
1396 }
1397
1398 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05001399 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05001400 }
1401 public int Field3 {
1402 get { return result.Field3; }
1403 set { SetField3(value); }
1404 }
1405 public Builder SetField3(int value) {
1406 result.hasField3 = true;
1407 result.field3_ = value;
1408 return this;
1409 }
1410 public Builder ClearField3() {
1411 result.hasField3 = false;
1412 result.field3_ = 0;
1413 return this;
1414 }
1415
1416 public bool HasField280 {
csharptestc671a4b2011-06-08 11:51:24 -05001417 get { return result.hasField280; }
csharptest27bfcc52011-06-02 12:04:06 -05001418 }
1419 public int Field280 {
1420 get { return result.Field280; }
1421 set { SetField280(value); }
1422 }
1423 public Builder SetField280(int value) {
1424 result.hasField280 = true;
1425 result.field280_ = value;
1426 return this;
1427 }
1428 public Builder ClearField280() {
1429 result.hasField280 = false;
1430 result.field280_ = 0;
1431 return this;
1432 }
1433
1434 public bool HasField6 {
csharptestc671a4b2011-06-08 11:51:24 -05001435 get { return result.hasField6; }
csharptest27bfcc52011-06-02 12:04:06 -05001436 }
1437 public int Field6 {
1438 get { return result.Field6; }
1439 set { SetField6(value); }
1440 }
1441 public Builder SetField6(int value) {
1442 result.hasField6 = true;
1443 result.field6_ = value;
1444 return this;
1445 }
1446 public Builder ClearField6() {
1447 result.hasField6 = false;
1448 result.field6_ = 0;
1449 return this;
1450 }
1451
1452 public bool HasField22 {
csharptestc671a4b2011-06-08 11:51:24 -05001453 get { return result.hasField22; }
csharptest27bfcc52011-06-02 12:04:06 -05001454 }
1455 public long Field22 {
1456 get { return result.Field22; }
1457 set { SetField22(value); }
1458 }
1459 public Builder SetField22(long value) {
1460 result.hasField22 = true;
1461 result.field22_ = value;
1462 return this;
1463 }
1464 public Builder ClearField22() {
1465 result.hasField22 = false;
1466 result.field22_ = 0L;
1467 return this;
1468 }
1469
1470 public bool HasField4 {
csharptestc671a4b2011-06-08 11:51:24 -05001471 get { return result.hasField4; }
csharptest27bfcc52011-06-02 12:04:06 -05001472 }
1473 public string Field4 {
1474 get { return result.Field4; }
1475 set { SetField4(value); }
1476 }
1477 public Builder SetField4(string value) {
1478 pb::ThrowHelper.ThrowIfNull(value, "value");
1479 result.hasField4 = true;
1480 result.field4_ = value;
1481 return this;
1482 }
1483 public Builder ClearField4() {
1484 result.hasField4 = false;
1485 result.field4_ = "";
1486 return this;
1487 }
1488
1489 [global::System.CLSCompliant(false)]
1490 public pbc::IPopsicleList<ulong> Field5List {
1491 get { return result.field5_; }
1492 }
1493 public int Field5Count {
1494 get { return result.Field5Count; }
1495 }
1496 [global::System.CLSCompliant(false)]
1497 public ulong GetField5(int index) {
1498 return result.GetField5(index);
1499 }
1500 [global::System.CLSCompliant(false)]
1501 public Builder SetField5(int index, ulong value) {
1502 result.field5_[index] = value;
1503 return this;
1504 }
1505 [global::System.CLSCompliant(false)]
1506 public Builder AddField5(ulong value) {
1507 result.field5_.Add(value);
1508 return this;
1509 }
1510 [global::System.CLSCompliant(false)]
1511 public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
1512 base.AddRange(values, result.field5_);
1513 return this;
1514 }
1515 public Builder ClearField5() {
1516 result.field5_.Clear();
1517 return this;
1518 }
1519
1520 public bool HasField59 {
csharptestc671a4b2011-06-08 11:51:24 -05001521 get { return result.hasField59; }
csharptest27bfcc52011-06-02 12:04:06 -05001522 }
1523 public bool Field59 {
1524 get { return result.Field59; }
1525 set { SetField59(value); }
1526 }
1527 public Builder SetField59(bool value) {
1528 result.hasField59 = true;
1529 result.field59_ = value;
1530 return this;
1531 }
1532 public Builder ClearField59() {
1533 result.hasField59 = false;
1534 result.field59_ = false;
1535 return this;
1536 }
1537
1538 public bool HasField7 {
csharptestc671a4b2011-06-08 11:51:24 -05001539 get { return result.hasField7; }
csharptest27bfcc52011-06-02 12:04:06 -05001540 }
1541 public string Field7 {
1542 get { return result.Field7; }
1543 set { SetField7(value); }
1544 }
1545 public Builder SetField7(string value) {
1546 pb::ThrowHelper.ThrowIfNull(value, "value");
1547 result.hasField7 = true;
1548 result.field7_ = value;
1549 return this;
1550 }
1551 public Builder ClearField7() {
1552 result.hasField7 = false;
1553 result.field7_ = "";
1554 return this;
1555 }
1556
1557 public bool HasField16 {
csharptestc671a4b2011-06-08 11:51:24 -05001558 get { return result.hasField16; }
csharptest27bfcc52011-06-02 12:04:06 -05001559 }
1560 public int Field16 {
1561 get { return result.Field16; }
1562 set { SetField16(value); }
1563 }
1564 public Builder SetField16(int value) {
1565 result.hasField16 = true;
1566 result.field16_ = value;
1567 return this;
1568 }
1569 public Builder ClearField16() {
1570 result.hasField16 = false;
1571 result.field16_ = 0;
1572 return this;
1573 }
1574
1575 public bool HasField130 {
csharptestc671a4b2011-06-08 11:51:24 -05001576 get { return result.hasField130; }
csharptest27bfcc52011-06-02 12:04:06 -05001577 }
1578 public int Field130 {
1579 get { return result.Field130; }
1580 set { SetField130(value); }
1581 }
1582 public Builder SetField130(int value) {
1583 result.hasField130 = true;
1584 result.field130_ = value;
1585 return this;
1586 }
1587 public Builder ClearField130() {
1588 result.hasField130 = false;
1589 result.field130_ = 0;
1590 return this;
1591 }
1592
1593 public bool HasField12 {
csharptestc671a4b2011-06-08 11:51:24 -05001594 get { return result.hasField12; }
csharptest27bfcc52011-06-02 12:04:06 -05001595 }
1596 public bool Field12 {
1597 get { return result.Field12; }
1598 set { SetField12(value); }
1599 }
1600 public Builder SetField12(bool value) {
1601 result.hasField12 = true;
1602 result.field12_ = value;
1603 return this;
1604 }
1605 public Builder ClearField12() {
1606 result.hasField12 = false;
1607 result.field12_ = true;
1608 return this;
1609 }
1610
1611 public bool HasField17 {
csharptestc671a4b2011-06-08 11:51:24 -05001612 get { return result.hasField17; }
csharptest27bfcc52011-06-02 12:04:06 -05001613 }
1614 public bool Field17 {
1615 get { return result.Field17; }
1616 set { SetField17(value); }
1617 }
1618 public Builder SetField17(bool value) {
1619 result.hasField17 = true;
1620 result.field17_ = value;
1621 return this;
1622 }
1623 public Builder ClearField17() {
1624 result.hasField17 = false;
1625 result.field17_ = true;
1626 return this;
1627 }
1628
1629 public bool HasField13 {
csharptestc671a4b2011-06-08 11:51:24 -05001630 get { return result.hasField13; }
csharptest27bfcc52011-06-02 12:04:06 -05001631 }
1632 public bool Field13 {
1633 get { return result.Field13; }
1634 set { SetField13(value); }
1635 }
1636 public Builder SetField13(bool value) {
1637 result.hasField13 = true;
1638 result.field13_ = value;
1639 return this;
1640 }
1641 public Builder ClearField13() {
1642 result.hasField13 = false;
1643 result.field13_ = true;
1644 return this;
1645 }
1646
1647 public bool HasField14 {
csharptestc671a4b2011-06-08 11:51:24 -05001648 get { return result.hasField14; }
csharptest27bfcc52011-06-02 12:04:06 -05001649 }
1650 public bool Field14 {
1651 get { return result.Field14; }
1652 set { SetField14(value); }
1653 }
1654 public Builder SetField14(bool value) {
1655 result.hasField14 = true;
1656 result.field14_ = value;
1657 return this;
1658 }
1659 public Builder ClearField14() {
1660 result.hasField14 = false;
1661 result.field14_ = true;
1662 return this;
1663 }
1664
1665 public bool HasField104 {
csharptestc671a4b2011-06-08 11:51:24 -05001666 get { return result.hasField104; }
csharptest27bfcc52011-06-02 12:04:06 -05001667 }
1668 public int Field104 {
1669 get { return result.Field104; }
1670 set { SetField104(value); }
1671 }
1672 public Builder SetField104(int value) {
1673 result.hasField104 = true;
1674 result.field104_ = value;
1675 return this;
1676 }
1677 public Builder ClearField104() {
1678 result.hasField104 = false;
1679 result.field104_ = 0;
1680 return this;
1681 }
1682
1683 public bool HasField100 {
csharptestc671a4b2011-06-08 11:51:24 -05001684 get { return result.hasField100; }
csharptest27bfcc52011-06-02 12:04:06 -05001685 }
1686 public int Field100 {
1687 get { return result.Field100; }
1688 set { SetField100(value); }
1689 }
1690 public Builder SetField100(int value) {
1691 result.hasField100 = true;
1692 result.field100_ = value;
1693 return this;
1694 }
1695 public Builder ClearField100() {
1696 result.hasField100 = false;
1697 result.field100_ = 0;
1698 return this;
1699 }
1700
1701 public bool HasField101 {
csharptestc671a4b2011-06-08 11:51:24 -05001702 get { return result.hasField101; }
csharptest27bfcc52011-06-02 12:04:06 -05001703 }
1704 public int Field101 {
1705 get { return result.Field101; }
1706 set { SetField101(value); }
1707 }
1708 public Builder SetField101(int value) {
1709 result.hasField101 = true;
1710 result.field101_ = value;
1711 return this;
1712 }
1713 public Builder ClearField101() {
1714 result.hasField101 = false;
1715 result.field101_ = 0;
1716 return this;
1717 }
1718
1719 public bool HasField102 {
csharptestc671a4b2011-06-08 11:51:24 -05001720 get { return result.hasField102; }
csharptest27bfcc52011-06-02 12:04:06 -05001721 }
1722 public string Field102 {
1723 get { return result.Field102; }
1724 set { SetField102(value); }
1725 }
1726 public Builder SetField102(string value) {
1727 pb::ThrowHelper.ThrowIfNull(value, "value");
1728 result.hasField102 = true;
1729 result.field102_ = value;
1730 return this;
1731 }
1732 public Builder ClearField102() {
1733 result.hasField102 = false;
1734 result.field102_ = "";
1735 return this;
1736 }
1737
1738 public bool HasField103 {
csharptestc671a4b2011-06-08 11:51:24 -05001739 get { return result.hasField103; }
csharptest27bfcc52011-06-02 12:04:06 -05001740 }
1741 public string Field103 {
1742 get { return result.Field103; }
1743 set { SetField103(value); }
1744 }
1745 public Builder SetField103(string value) {
1746 pb::ThrowHelper.ThrowIfNull(value, "value");
1747 result.hasField103 = true;
1748 result.field103_ = value;
1749 return this;
1750 }
1751 public Builder ClearField103() {
1752 result.hasField103 = false;
1753 result.field103_ = "";
1754 return this;
1755 }
1756
1757 public bool HasField29 {
csharptestc671a4b2011-06-08 11:51:24 -05001758 get { return result.hasField29; }
csharptest27bfcc52011-06-02 12:04:06 -05001759 }
1760 public int Field29 {
1761 get { return result.Field29; }
1762 set { SetField29(value); }
1763 }
1764 public Builder SetField29(int value) {
1765 result.hasField29 = true;
1766 result.field29_ = value;
1767 return this;
1768 }
1769 public Builder ClearField29() {
1770 result.hasField29 = false;
1771 result.field29_ = 0;
1772 return this;
1773 }
1774
1775 public bool HasField30 {
csharptestc671a4b2011-06-08 11:51:24 -05001776 get { return result.hasField30; }
csharptest27bfcc52011-06-02 12:04:06 -05001777 }
1778 public bool Field30 {
1779 get { return result.Field30; }
1780 set { SetField30(value); }
1781 }
1782 public Builder SetField30(bool value) {
1783 result.hasField30 = true;
1784 result.field30_ = value;
1785 return this;
1786 }
1787 public Builder ClearField30() {
1788 result.hasField30 = false;
1789 result.field30_ = false;
1790 return this;
1791 }
1792
1793 public bool HasField60 {
csharptestc671a4b2011-06-08 11:51:24 -05001794 get { return result.hasField60; }
csharptest27bfcc52011-06-02 12:04:06 -05001795 }
1796 public int Field60 {
1797 get { return result.Field60; }
1798 set { SetField60(value); }
1799 }
1800 public Builder SetField60(int value) {
1801 result.hasField60 = true;
1802 result.field60_ = value;
1803 return this;
1804 }
1805 public Builder ClearField60() {
1806 result.hasField60 = false;
1807 result.field60_ = -1;
1808 return this;
1809 }
1810
1811 public bool HasField271 {
csharptestc671a4b2011-06-08 11:51:24 -05001812 get { return result.hasField271; }
csharptest27bfcc52011-06-02 12:04:06 -05001813 }
1814 public int Field271 {
1815 get { return result.Field271; }
1816 set { SetField271(value); }
1817 }
1818 public Builder SetField271(int value) {
1819 result.hasField271 = true;
1820 result.field271_ = value;
1821 return this;
1822 }
1823 public Builder ClearField271() {
1824 result.hasField271 = false;
1825 result.field271_ = -1;
1826 return this;
1827 }
1828
1829 public bool HasField272 {
csharptestc671a4b2011-06-08 11:51:24 -05001830 get { return result.hasField272; }
csharptest27bfcc52011-06-02 12:04:06 -05001831 }
1832 public int Field272 {
1833 get { return result.Field272; }
1834 set { SetField272(value); }
1835 }
1836 public Builder SetField272(int value) {
1837 result.hasField272 = true;
1838 result.field272_ = value;
1839 return this;
1840 }
1841 public Builder ClearField272() {
1842 result.hasField272 = false;
1843 result.field272_ = -1;
1844 return this;
1845 }
1846
1847 public bool HasField150 {
csharptestc671a4b2011-06-08 11:51:24 -05001848 get { return result.hasField150; }
csharptest27bfcc52011-06-02 12:04:06 -05001849 }
1850 public int Field150 {
1851 get { return result.Field150; }
1852 set { SetField150(value); }
1853 }
1854 public Builder SetField150(int value) {
1855 result.hasField150 = true;
1856 result.field150_ = value;
1857 return this;
1858 }
1859 public Builder ClearField150() {
1860 result.hasField150 = false;
1861 result.field150_ = 0;
1862 return this;
1863 }
1864
1865 public bool HasField23 {
csharptestc671a4b2011-06-08 11:51:24 -05001866 get { return result.hasField23; }
csharptest27bfcc52011-06-02 12:04:06 -05001867 }
1868 public int Field23 {
1869 get { return result.Field23; }
1870 set { SetField23(value); }
1871 }
1872 public Builder SetField23(int value) {
1873 result.hasField23 = true;
1874 result.field23_ = value;
1875 return this;
1876 }
1877 public Builder ClearField23() {
1878 result.hasField23 = false;
1879 result.field23_ = 0;
1880 return this;
1881 }
1882
1883 public bool HasField24 {
csharptestc671a4b2011-06-08 11:51:24 -05001884 get { return result.hasField24; }
csharptest27bfcc52011-06-02 12:04:06 -05001885 }
1886 public bool Field24 {
1887 get { return result.Field24; }
1888 set { SetField24(value); }
1889 }
1890 public Builder SetField24(bool value) {
1891 result.hasField24 = true;
1892 result.field24_ = value;
1893 return this;
1894 }
1895 public Builder ClearField24() {
1896 result.hasField24 = false;
1897 result.field24_ = false;
1898 return this;
1899 }
1900
1901 public bool HasField25 {
csharptestc671a4b2011-06-08 11:51:24 -05001902 get { return result.hasField25; }
csharptest27bfcc52011-06-02 12:04:06 -05001903 }
1904 public int Field25 {
1905 get { return result.Field25; }
1906 set { SetField25(value); }
1907 }
1908 public Builder SetField25(int value) {
1909 result.hasField25 = true;
1910 result.field25_ = value;
1911 return this;
1912 }
1913 public Builder ClearField25() {
1914 result.hasField25 = false;
1915 result.field25_ = 0;
1916 return this;
1917 }
1918
1919 public bool HasField15 {
csharptestc671a4b2011-06-08 11:51:24 -05001920 get { return result.hasField15; }
csharptest27bfcc52011-06-02 12:04:06 -05001921 }
1922 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
1923 get { return result.Field15; }
1924 set { SetField15(value); }
1925 }
1926 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1927 pb::ThrowHelper.ThrowIfNull(value, "value");
1928 result.hasField15 = true;
1929 result.field15_ = value;
1930 return this;
1931 }
1932 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder builderForValue) {
1933 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
1934 result.hasField15 = true;
1935 result.field15_ = builderForValue.Build();
1936 return this;
1937 }
1938 public Builder MergeField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1939 pb::ThrowHelper.ThrowIfNull(value, "value");
csharptestc671a4b2011-06-08 11:51:24 -05001940 if (result.hasField15 &&
csharptest27bfcc52011-06-02 12:04:06 -05001941 result.field15_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) {
1942 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder(result.field15_).MergeFrom(value).BuildPartial();
1943 } else {
1944 result.field15_ = value;
1945 }
1946 result.hasField15 = true;
1947 return this;
1948 }
1949 public Builder ClearField15() {
1950 result.hasField15 = false;
1951 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
1952 return this;
1953 }
1954
1955 public bool HasField78 {
csharptestc671a4b2011-06-08 11:51:24 -05001956 get { return result.hasField78; }
csharptest27bfcc52011-06-02 12:04:06 -05001957 }
1958 public bool Field78 {
1959 get { return result.Field78; }
1960 set { SetField78(value); }
1961 }
1962 public Builder SetField78(bool value) {
1963 result.hasField78 = true;
1964 result.field78_ = value;
1965 return this;
1966 }
1967 public Builder ClearField78() {
1968 result.hasField78 = false;
1969 result.field78_ = false;
1970 return this;
1971 }
1972
1973 public bool HasField67 {
csharptestc671a4b2011-06-08 11:51:24 -05001974 get { return result.hasField67; }
csharptest27bfcc52011-06-02 12:04:06 -05001975 }
1976 public int Field67 {
1977 get { return result.Field67; }
1978 set { SetField67(value); }
1979 }
1980 public Builder SetField67(int value) {
1981 result.hasField67 = true;
1982 result.field67_ = value;
1983 return this;
1984 }
1985 public Builder ClearField67() {
1986 result.hasField67 = false;
1987 result.field67_ = 0;
1988 return this;
1989 }
1990
1991 public bool HasField68 {
csharptestc671a4b2011-06-08 11:51:24 -05001992 get { return result.hasField68; }
csharptest27bfcc52011-06-02 12:04:06 -05001993 }
1994 public int Field68 {
1995 get { return result.Field68; }
1996 set { SetField68(value); }
1997 }
1998 public Builder SetField68(int value) {
1999 result.hasField68 = true;
2000 result.field68_ = value;
2001 return this;
2002 }
2003 public Builder ClearField68() {
2004 result.hasField68 = false;
2005 result.field68_ = 0;
2006 return this;
2007 }
2008
2009 public bool HasField128 {
csharptestc671a4b2011-06-08 11:51:24 -05002010 get { return result.hasField128; }
csharptest27bfcc52011-06-02 12:04:06 -05002011 }
2012 public int Field128 {
2013 get { return result.Field128; }
2014 set { SetField128(value); }
2015 }
2016 public Builder SetField128(int value) {
2017 result.hasField128 = true;
2018 result.field128_ = value;
2019 return this;
2020 }
2021 public Builder ClearField128() {
2022 result.hasField128 = false;
2023 result.field128_ = 0;
2024 return this;
2025 }
2026
2027 public bool HasField129 {
csharptestc671a4b2011-06-08 11:51:24 -05002028 get { return result.hasField129; }
csharptest27bfcc52011-06-02 12:04:06 -05002029 }
2030 public string Field129 {
2031 get { return result.Field129; }
2032 set { SetField129(value); }
2033 }
2034 public Builder SetField129(string value) {
2035 pb::ThrowHelper.ThrowIfNull(value, "value");
2036 result.hasField129 = true;
2037 result.field129_ = value;
2038 return this;
2039 }
2040 public Builder ClearField129() {
2041 result.hasField129 = false;
2042 result.field129_ = "xxxxxxxxxxxxxxxxxxxxx";
2043 return this;
2044 }
2045
2046 public bool HasField131 {
csharptestc671a4b2011-06-08 11:51:24 -05002047 get { return result.hasField131; }
csharptest27bfcc52011-06-02 12:04:06 -05002048 }
2049 public int Field131 {
2050 get { return result.Field131; }
2051 set { SetField131(value); }
2052 }
2053 public Builder SetField131(int value) {
2054 result.hasField131 = true;
2055 result.field131_ = value;
2056 return this;
2057 }
2058 public Builder ClearField131() {
2059 result.hasField131 = false;
2060 result.field131_ = 0;
2061 return this;
2062 }
2063 }
2064 static SpeedMessage1() {
2065 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
2066 }
2067 }
2068
2069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2070 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2071 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2072 public sealed partial class SpeedMessage1SubMessage : pb::GeneratedMessage<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> {
2073 private static readonly SpeedMessage1SubMessage defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05002074 private static readonly string[] _speedMessage1SubMessageFieldNames = new string[] { "field1", "field12", "field13", "field14", "field15", "field16", "field19", "field2", "field20", "field203", "field204", "field205", "field206", "field207", "field21", "field22", "field23", "field28", "field3", "field300" };
2075 private static readonly uint[] _speedMessage1SubMessageFieldTags = new uint[] { 8, 96, 104, 112, 122, 128, 152, 16, 160, 1629, 1632, 1642, 1648, 1656, 169, 176, 184, 224, 24, 2400 };
csharptest27bfcc52011-06-02 12:04:06 -05002076 public static SpeedMessage1SubMessage DefaultInstance {
2077 get { return defaultInstance; }
2078 }
2079
2080 public override SpeedMessage1SubMessage DefaultInstanceForType {
2081 get { return defaultInstance; }
2082 }
2083
2084 protected override SpeedMessage1SubMessage ThisMessage {
2085 get { return this; }
2086 }
2087
2088 public static pbd::MessageDescriptor Descriptor {
2089 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor; }
2090 }
2091
2092 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> InternalFieldAccessors {
2093 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable; }
2094 }
2095
2096 public const int Field1FieldNumber = 1;
2097 private bool hasField1;
2098 private int field1_ = 0;
2099 public bool HasField1 {
2100 get { return hasField1; }
2101 }
2102 public int Field1 {
2103 get { return field1_; }
2104 }
2105
2106 public const int Field2FieldNumber = 2;
2107 private bool hasField2;
2108 private int field2_ = 0;
2109 public bool HasField2 {
2110 get { return hasField2; }
2111 }
2112 public int Field2 {
2113 get { return field2_; }
2114 }
2115
2116 public const int Field3FieldNumber = 3;
2117 private bool hasField3;
2118 private int field3_ = 0;
2119 public bool HasField3 {
2120 get { return hasField3; }
2121 }
2122 public int Field3 {
2123 get { return field3_; }
2124 }
2125
2126 public const int Field15FieldNumber = 15;
2127 private bool hasField15;
2128 private string field15_ = "";
2129 public bool HasField15 {
2130 get { return hasField15; }
2131 }
2132 public string Field15 {
2133 get { return field15_; }
2134 }
2135
2136 public const int Field12FieldNumber = 12;
2137 private bool hasField12;
2138 private bool field12_ = true;
2139 public bool HasField12 {
2140 get { return hasField12; }
2141 }
2142 public bool Field12 {
2143 get { return field12_; }
2144 }
2145
2146 public const int Field13FieldNumber = 13;
2147 private bool hasField13;
2148 private long field13_ = 0L;
2149 public bool HasField13 {
2150 get { return hasField13; }
2151 }
2152 public long Field13 {
2153 get { return field13_; }
2154 }
2155
2156 public const int Field14FieldNumber = 14;
2157 private bool hasField14;
2158 private long field14_ = 0L;
2159 public bool HasField14 {
2160 get { return hasField14; }
2161 }
2162 public long Field14 {
2163 get { return field14_; }
2164 }
2165
2166 public const int Field16FieldNumber = 16;
2167 private bool hasField16;
2168 private int field16_ = 0;
2169 public bool HasField16 {
2170 get { return hasField16; }
2171 }
2172 public int Field16 {
2173 get { return field16_; }
2174 }
2175
2176 public const int Field19FieldNumber = 19;
2177 private bool hasField19;
2178 private int field19_ = 2;
2179 public bool HasField19 {
2180 get { return hasField19; }
2181 }
2182 public int Field19 {
2183 get { return field19_; }
2184 }
2185
2186 public const int Field20FieldNumber = 20;
2187 private bool hasField20;
2188 private bool field20_ = true;
2189 public bool HasField20 {
2190 get { return hasField20; }
2191 }
2192 public bool Field20 {
2193 get { return field20_; }
2194 }
2195
2196 public const int Field28FieldNumber = 28;
2197 private bool hasField28;
2198 private bool field28_ = true;
2199 public bool HasField28 {
2200 get { return hasField28; }
2201 }
2202 public bool Field28 {
2203 get { return field28_; }
2204 }
2205
2206 public const int Field21FieldNumber = 21;
2207 private bool hasField21;
2208 private ulong field21_ = 0;
2209 public bool HasField21 {
2210 get { return hasField21; }
2211 }
2212 [global::System.CLSCompliant(false)]
2213 public ulong Field21 {
2214 get { return field21_; }
2215 }
2216
2217 public const int Field22FieldNumber = 22;
2218 private bool hasField22;
2219 private int field22_ = 0;
2220 public bool HasField22 {
2221 get { return hasField22; }
2222 }
2223 public int Field22 {
2224 get { return field22_; }
2225 }
2226
2227 public const int Field23FieldNumber = 23;
2228 private bool hasField23;
2229 private bool field23_ = false;
2230 public bool HasField23 {
2231 get { return hasField23; }
2232 }
2233 public bool Field23 {
2234 get { return field23_; }
2235 }
2236
2237 public const int Field206FieldNumber = 206;
2238 private bool hasField206;
2239 private bool field206_ = false;
2240 public bool HasField206 {
2241 get { return hasField206; }
2242 }
2243 public bool Field206 {
2244 get { return field206_; }
2245 }
2246
2247 public const int Field203FieldNumber = 203;
2248 private bool hasField203;
2249 private uint field203_ = 0;
2250 public bool HasField203 {
2251 get { return hasField203; }
2252 }
2253 [global::System.CLSCompliant(false)]
2254 public uint Field203 {
2255 get { return field203_; }
2256 }
2257
2258 public const int Field204FieldNumber = 204;
2259 private bool hasField204;
2260 private int field204_ = 0;
2261 public bool HasField204 {
2262 get { return hasField204; }
2263 }
2264 public int Field204 {
2265 get { return field204_; }
2266 }
2267
2268 public const int Field205FieldNumber = 205;
2269 private bool hasField205;
2270 private string field205_ = "";
2271 public bool HasField205 {
2272 get { return hasField205; }
2273 }
2274 public string Field205 {
2275 get { return field205_; }
2276 }
2277
2278 public const int Field207FieldNumber = 207;
2279 private bool hasField207;
2280 private ulong field207_ = 0UL;
2281 public bool HasField207 {
2282 get { return hasField207; }
2283 }
2284 [global::System.CLSCompliant(false)]
2285 public ulong Field207 {
2286 get { return field207_; }
2287 }
2288
2289 public const int Field300FieldNumber = 300;
2290 private bool hasField300;
2291 private ulong field300_ = 0UL;
2292 public bool HasField300 {
2293 get { return hasField300; }
2294 }
2295 [global::System.CLSCompliant(false)]
2296 public ulong Field300 {
2297 get { return field300_; }
2298 }
2299
2300 public override bool IsInitialized {
2301 get {
2302 return true;
2303 }
2304 }
2305
csharptestffafdaa2011-06-03 12:58:14 -05002306 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05002307 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05002308 string[] field_names = _speedMessage1SubMessageFieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05002309 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -05002310 output.WriteInt32(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -05002311 }
csharptestc671a4b2011-06-08 11:51:24 -05002312 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -05002313 output.WriteInt32(2, field_names[7], Field2);
csharptest27bfcc52011-06-02 12:04:06 -05002314 }
csharptestc671a4b2011-06-08 11:51:24 -05002315 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -05002316 output.WriteInt32(3, field_names[18], Field3);
csharptest27bfcc52011-06-02 12:04:06 -05002317 }
csharptestc671a4b2011-06-08 11:51:24 -05002318 if (hasField12) {
csharptest920b09a2011-06-08 20:13:29 -05002319 output.WriteBool(12, field_names[1], Field12);
csharptest27bfcc52011-06-02 12:04:06 -05002320 }
csharptestc671a4b2011-06-08 11:51:24 -05002321 if (hasField13) {
csharptest920b09a2011-06-08 20:13:29 -05002322 output.WriteInt64(13, field_names[2], Field13);
csharptest27bfcc52011-06-02 12:04:06 -05002323 }
csharptestc671a4b2011-06-08 11:51:24 -05002324 if (hasField14) {
csharptest920b09a2011-06-08 20:13:29 -05002325 output.WriteInt64(14, field_names[3], Field14);
csharptest27bfcc52011-06-02 12:04:06 -05002326 }
csharptestc671a4b2011-06-08 11:51:24 -05002327 if (hasField15) {
csharptest920b09a2011-06-08 20:13:29 -05002328 output.WriteString(15, field_names[4], Field15);
csharptest27bfcc52011-06-02 12:04:06 -05002329 }
csharptestc671a4b2011-06-08 11:51:24 -05002330 if (hasField16) {
csharptest920b09a2011-06-08 20:13:29 -05002331 output.WriteInt32(16, field_names[5], Field16);
csharptest27bfcc52011-06-02 12:04:06 -05002332 }
csharptestc671a4b2011-06-08 11:51:24 -05002333 if (hasField19) {
csharptest920b09a2011-06-08 20:13:29 -05002334 output.WriteInt32(19, field_names[6], Field19);
csharptest27bfcc52011-06-02 12:04:06 -05002335 }
csharptestc671a4b2011-06-08 11:51:24 -05002336 if (hasField20) {
csharptest920b09a2011-06-08 20:13:29 -05002337 output.WriteBool(20, field_names[8], Field20);
csharptest27bfcc52011-06-02 12:04:06 -05002338 }
csharptestc671a4b2011-06-08 11:51:24 -05002339 if (hasField21) {
csharptest920b09a2011-06-08 20:13:29 -05002340 output.WriteFixed64(21, field_names[14], Field21);
csharptest27bfcc52011-06-02 12:04:06 -05002341 }
csharptestc671a4b2011-06-08 11:51:24 -05002342 if (hasField22) {
csharptest920b09a2011-06-08 20:13:29 -05002343 output.WriteInt32(22, field_names[15], Field22);
csharptest27bfcc52011-06-02 12:04:06 -05002344 }
csharptestc671a4b2011-06-08 11:51:24 -05002345 if (hasField23) {
csharptest920b09a2011-06-08 20:13:29 -05002346 output.WriteBool(23, field_names[16], Field23);
csharptest27bfcc52011-06-02 12:04:06 -05002347 }
csharptestc671a4b2011-06-08 11:51:24 -05002348 if (hasField28) {
csharptest920b09a2011-06-08 20:13:29 -05002349 output.WriteBool(28, field_names[17], Field28);
csharptest27bfcc52011-06-02 12:04:06 -05002350 }
csharptestc671a4b2011-06-08 11:51:24 -05002351 if (hasField203) {
csharptest920b09a2011-06-08 20:13:29 -05002352 output.WriteFixed32(203, field_names[9], Field203);
csharptest27bfcc52011-06-02 12:04:06 -05002353 }
csharptestc671a4b2011-06-08 11:51:24 -05002354 if (hasField204) {
csharptest920b09a2011-06-08 20:13:29 -05002355 output.WriteInt32(204, field_names[10], Field204);
csharptest27bfcc52011-06-02 12:04:06 -05002356 }
csharptestc671a4b2011-06-08 11:51:24 -05002357 if (hasField205) {
csharptest920b09a2011-06-08 20:13:29 -05002358 output.WriteString(205, field_names[11], Field205);
csharptest27bfcc52011-06-02 12:04:06 -05002359 }
csharptestc671a4b2011-06-08 11:51:24 -05002360 if (hasField206) {
csharptest920b09a2011-06-08 20:13:29 -05002361 output.WriteBool(206, field_names[12], Field206);
csharptest27bfcc52011-06-02 12:04:06 -05002362 }
csharptestc671a4b2011-06-08 11:51:24 -05002363 if (hasField207) {
csharptest920b09a2011-06-08 20:13:29 -05002364 output.WriteUInt64(207, field_names[13], Field207);
csharptest27bfcc52011-06-02 12:04:06 -05002365 }
csharptestc671a4b2011-06-08 11:51:24 -05002366 if (hasField300) {
csharptest920b09a2011-06-08 20:13:29 -05002367 output.WriteUInt64(300, field_names[19], Field300);
csharptest27bfcc52011-06-02 12:04:06 -05002368 }
2369 UnknownFields.WriteTo(output);
2370 }
2371
2372 private int memoizedSerializedSize = -1;
2373 public override int SerializedSize {
2374 get {
2375 int size = memoizedSerializedSize;
2376 if (size != -1) return size;
2377
2378 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05002379 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -05002380 size += pb::CodedOutputStream.ComputeInt32Size(1, Field1);
2381 }
csharptestc671a4b2011-06-08 11:51:24 -05002382 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -05002383 size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
2384 }
csharptestc671a4b2011-06-08 11:51:24 -05002385 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -05002386 size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
2387 }
csharptestc671a4b2011-06-08 11:51:24 -05002388 if (hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -05002389 size += pb::CodedOutputStream.ComputeStringSize(15, Field15);
2390 }
csharptestc671a4b2011-06-08 11:51:24 -05002391 if (hasField12) {
csharptest27bfcc52011-06-02 12:04:06 -05002392 size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
2393 }
csharptestc671a4b2011-06-08 11:51:24 -05002394 if (hasField13) {
csharptest27bfcc52011-06-02 12:04:06 -05002395 size += pb::CodedOutputStream.ComputeInt64Size(13, Field13);
2396 }
csharptestc671a4b2011-06-08 11:51:24 -05002397 if (hasField14) {
csharptest27bfcc52011-06-02 12:04:06 -05002398 size += pb::CodedOutputStream.ComputeInt64Size(14, Field14);
2399 }
csharptestc671a4b2011-06-08 11:51:24 -05002400 if (hasField16) {
csharptest27bfcc52011-06-02 12:04:06 -05002401 size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
2402 }
csharptestc671a4b2011-06-08 11:51:24 -05002403 if (hasField19) {
csharptest27bfcc52011-06-02 12:04:06 -05002404 size += pb::CodedOutputStream.ComputeInt32Size(19, Field19);
2405 }
csharptestc671a4b2011-06-08 11:51:24 -05002406 if (hasField20) {
csharptest27bfcc52011-06-02 12:04:06 -05002407 size += pb::CodedOutputStream.ComputeBoolSize(20, Field20);
2408 }
csharptestc671a4b2011-06-08 11:51:24 -05002409 if (hasField28) {
csharptest27bfcc52011-06-02 12:04:06 -05002410 size += pb::CodedOutputStream.ComputeBoolSize(28, Field28);
2411 }
csharptestc671a4b2011-06-08 11:51:24 -05002412 if (hasField21) {
csharptest27bfcc52011-06-02 12:04:06 -05002413 size += pb::CodedOutputStream.ComputeFixed64Size(21, Field21);
2414 }
csharptestc671a4b2011-06-08 11:51:24 -05002415 if (hasField22) {
csharptest27bfcc52011-06-02 12:04:06 -05002416 size += pb::CodedOutputStream.ComputeInt32Size(22, Field22);
2417 }
csharptestc671a4b2011-06-08 11:51:24 -05002418 if (hasField23) {
csharptest27bfcc52011-06-02 12:04:06 -05002419 size += pb::CodedOutputStream.ComputeBoolSize(23, Field23);
2420 }
csharptestc671a4b2011-06-08 11:51:24 -05002421 if (hasField206) {
csharptest27bfcc52011-06-02 12:04:06 -05002422 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
2423 }
csharptestc671a4b2011-06-08 11:51:24 -05002424 if (hasField203) {
csharptest27bfcc52011-06-02 12:04:06 -05002425 size += pb::CodedOutputStream.ComputeFixed32Size(203, Field203);
2426 }
csharptestc671a4b2011-06-08 11:51:24 -05002427 if (hasField204) {
csharptest27bfcc52011-06-02 12:04:06 -05002428 size += pb::CodedOutputStream.ComputeInt32Size(204, Field204);
2429 }
csharptestc671a4b2011-06-08 11:51:24 -05002430 if (hasField205) {
csharptest27bfcc52011-06-02 12:04:06 -05002431 size += pb::CodedOutputStream.ComputeStringSize(205, Field205);
2432 }
csharptestc671a4b2011-06-08 11:51:24 -05002433 if (hasField207) {
csharptest27bfcc52011-06-02 12:04:06 -05002434 size += pb::CodedOutputStream.ComputeUInt64Size(207, Field207);
2435 }
csharptestc671a4b2011-06-08 11:51:24 -05002436 if (hasField300) {
csharptest27bfcc52011-06-02 12:04:06 -05002437 size += pb::CodedOutputStream.ComputeUInt64Size(300, Field300);
2438 }
2439 size += UnknownFields.SerializedSize;
2440 memoizedSerializedSize = size;
2441 return size;
2442 }
2443 }
2444
2445 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data) {
2446 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2447 }
2448 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
2449 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2450 }
2451 public static SpeedMessage1SubMessage ParseFrom(byte[] data) {
2452 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2453 }
2454 public static SpeedMessage1SubMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
2455 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2456 }
2457 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input) {
2458 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2459 }
2460 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2461 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2462 }
2463 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input) {
2464 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
2465 }
2466 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2467 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
2468 }
csharptest17699c22011-06-03 21:57:15 -05002469 public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05002470 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2471 }
csharptest17699c22011-06-03 21:57:15 -05002472 public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05002473 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2474 }
2475 public static Builder CreateBuilder() { return new Builder(); }
2476 public override Builder ToBuilder() { return CreateBuilder(this); }
2477 public override Builder CreateBuilderForType() { return new Builder(); }
2478 public static Builder CreateBuilder(SpeedMessage1SubMessage prototype) {
2479 return (Builder) new Builder().MergeFrom(prototype);
2480 }
2481
2482 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2483 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2484 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2485 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1SubMessage, Builder> {
2486 protected override Builder ThisBuilder {
2487 get { return this; }
2488 }
2489 public Builder() {}
2490
2491 SpeedMessage1SubMessage result = new SpeedMessage1SubMessage();
2492
2493 protected override SpeedMessage1SubMessage MessageBeingBuilt {
2494 get { return result; }
2495 }
2496
2497 public override Builder Clear() {
2498 result = new SpeedMessage1SubMessage();
2499 return this;
2500 }
2501
2502 public override Builder Clone() {
2503 return new Builder().MergeFrom(result);
2504 }
2505
2506 public override pbd::MessageDescriptor DescriptorForType {
2507 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Descriptor; }
2508 }
2509
2510 public override SpeedMessage1SubMessage DefaultInstanceForType {
2511 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance; }
2512 }
2513
2514 public override SpeedMessage1SubMessage BuildPartial() {
2515 if (result == null) {
2516 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
2517 }
2518 SpeedMessage1SubMessage returnMe = result;
2519 result = null;
2520 return returnMe;
2521 }
2522
2523 public override Builder MergeFrom(pb::IMessage other) {
2524 if (other is SpeedMessage1SubMessage) {
2525 return MergeFrom((SpeedMessage1SubMessage) other);
2526 } else {
2527 base.MergeFrom(other);
2528 return this;
2529 }
2530 }
2531
2532 public override Builder MergeFrom(SpeedMessage1SubMessage other) {
2533 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) return this;
2534 if (other.HasField1) {
2535 Field1 = other.Field1;
2536 }
2537 if (other.HasField2) {
2538 Field2 = other.Field2;
2539 }
2540 if (other.HasField3) {
2541 Field3 = other.Field3;
2542 }
2543 if (other.HasField15) {
2544 Field15 = other.Field15;
2545 }
2546 if (other.HasField12) {
2547 Field12 = other.Field12;
2548 }
2549 if (other.HasField13) {
2550 Field13 = other.Field13;
2551 }
2552 if (other.HasField14) {
2553 Field14 = other.Field14;
2554 }
2555 if (other.HasField16) {
2556 Field16 = other.Field16;
2557 }
2558 if (other.HasField19) {
2559 Field19 = other.Field19;
2560 }
2561 if (other.HasField20) {
2562 Field20 = other.Field20;
2563 }
2564 if (other.HasField28) {
2565 Field28 = other.Field28;
2566 }
2567 if (other.HasField21) {
2568 Field21 = other.Field21;
2569 }
2570 if (other.HasField22) {
2571 Field22 = other.Field22;
2572 }
2573 if (other.HasField23) {
2574 Field23 = other.Field23;
2575 }
2576 if (other.HasField206) {
2577 Field206 = other.Field206;
2578 }
2579 if (other.HasField203) {
2580 Field203 = other.Field203;
2581 }
2582 if (other.HasField204) {
2583 Field204 = other.Field204;
2584 }
2585 if (other.HasField205) {
2586 Field205 = other.Field205;
2587 }
2588 if (other.HasField207) {
2589 Field207 = other.Field207;
2590 }
2591 if (other.HasField300) {
2592 Field300 = other.Field300;
2593 }
2594 this.MergeUnknownFields(other.UnknownFields);
2595 return this;
2596 }
2597
csharptest17699c22011-06-03 21:57:15 -05002598 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05002599 return MergeFrom(input, pb::ExtensionRegistry.Empty);
2600 }
2601
csharptest17699c22011-06-03 21:57:15 -05002602 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05002603 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05002604 uint tag;
2605 string field_name;
2606 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05002607 if(tag == 0 && field_name != null) {
2608 int field_ordinal = global::System.Array.BinarySearch(_speedMessage1SubMessageFieldNames, field_name, global::System.StringComparer.Ordinal);
2609 if(field_ordinal >= 0)
2610 tag = _speedMessage1SubMessageFieldTags[field_ordinal];
2611 else {
2612 if (unknownFields == null) {
2613 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2614 }
2615 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
2616 continue;
2617 }
2618 }
csharptest27bfcc52011-06-02 12:04:06 -05002619 switch (tag) {
2620 case 0: {
csharptest99284412011-06-03 14:51:06 -05002621 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05002622 }
2623 default: {
2624 if (pb::WireFormat.IsEndGroupTag(tag)) {
2625 if (unknownFields != null) {
2626 this.UnknownFields = unknownFields.Build();
2627 }
2628 return this;
2629 }
2630 if (unknownFields == null) {
2631 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2632 }
csharptestd2af9e92011-06-03 21:35:02 -05002633 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05002634 break;
2635 }
2636 case 8: {
csharptest920b09a2011-06-08 20:13:29 -05002637 result.hasField1 = input.ReadInt32(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05002638 break;
2639 }
2640 case 16: {
csharptest920b09a2011-06-08 20:13:29 -05002641 result.hasField2 = input.ReadInt32(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05002642 break;
2643 }
2644 case 24: {
csharptest920b09a2011-06-08 20:13:29 -05002645 result.hasField3 = input.ReadInt32(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05002646 break;
2647 }
2648 case 96: {
csharptest920b09a2011-06-08 20:13:29 -05002649 result.hasField12 = input.ReadBool(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05002650 break;
2651 }
2652 case 104: {
csharptest920b09a2011-06-08 20:13:29 -05002653 result.hasField13 = input.ReadInt64(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05002654 break;
2655 }
2656 case 112: {
csharptest920b09a2011-06-08 20:13:29 -05002657 result.hasField14 = input.ReadInt64(ref result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05002658 break;
2659 }
2660 case 122: {
csharptest920b09a2011-06-08 20:13:29 -05002661 result.hasField15 = input.ReadString(ref result.field15_);
csharptest27bfcc52011-06-02 12:04:06 -05002662 break;
2663 }
2664 case 128: {
csharptest920b09a2011-06-08 20:13:29 -05002665 result.hasField16 = input.ReadInt32(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05002666 break;
2667 }
2668 case 152: {
csharptest920b09a2011-06-08 20:13:29 -05002669 result.hasField19 = input.ReadInt32(ref result.field19_);
csharptest27bfcc52011-06-02 12:04:06 -05002670 break;
2671 }
2672 case 160: {
csharptest920b09a2011-06-08 20:13:29 -05002673 result.hasField20 = input.ReadBool(ref result.field20_);
csharptest27bfcc52011-06-02 12:04:06 -05002674 break;
2675 }
2676 case 169: {
csharptest920b09a2011-06-08 20:13:29 -05002677 result.hasField21 = input.ReadFixed64(ref result.field21_);
csharptest27bfcc52011-06-02 12:04:06 -05002678 break;
2679 }
2680 case 176: {
csharptest920b09a2011-06-08 20:13:29 -05002681 result.hasField22 = input.ReadInt32(ref result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05002682 break;
2683 }
2684 case 184: {
csharptest920b09a2011-06-08 20:13:29 -05002685 result.hasField23 = input.ReadBool(ref result.field23_);
csharptest27bfcc52011-06-02 12:04:06 -05002686 break;
2687 }
2688 case 224: {
csharptest920b09a2011-06-08 20:13:29 -05002689 result.hasField28 = input.ReadBool(ref result.field28_);
csharptest27bfcc52011-06-02 12:04:06 -05002690 break;
2691 }
2692 case 1629: {
csharptest920b09a2011-06-08 20:13:29 -05002693 result.hasField203 = input.ReadFixed32(ref result.field203_);
csharptest27bfcc52011-06-02 12:04:06 -05002694 break;
2695 }
2696 case 1632: {
csharptest920b09a2011-06-08 20:13:29 -05002697 result.hasField204 = input.ReadInt32(ref result.field204_);
csharptest27bfcc52011-06-02 12:04:06 -05002698 break;
2699 }
2700 case 1642: {
csharptest920b09a2011-06-08 20:13:29 -05002701 result.hasField205 = input.ReadString(ref result.field205_);
csharptest27bfcc52011-06-02 12:04:06 -05002702 break;
2703 }
2704 case 1648: {
csharptest920b09a2011-06-08 20:13:29 -05002705 result.hasField206 = input.ReadBool(ref result.field206_);
csharptest27bfcc52011-06-02 12:04:06 -05002706 break;
2707 }
2708 case 1656: {
csharptest920b09a2011-06-08 20:13:29 -05002709 result.hasField207 = input.ReadUInt64(ref result.field207_);
csharptest27bfcc52011-06-02 12:04:06 -05002710 break;
2711 }
2712 case 2400: {
csharptest920b09a2011-06-08 20:13:29 -05002713 result.hasField300 = input.ReadUInt64(ref result.field300_);
csharptest27bfcc52011-06-02 12:04:06 -05002714 break;
2715 }
2716 }
2717 }
csharptest123e5342011-06-03 14:15:21 -05002718
2719 if (unknownFields != null) {
2720 this.UnknownFields = unknownFields.Build();
2721 }
2722 return this;
csharptest27bfcc52011-06-02 12:04:06 -05002723 }
2724
2725
2726 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05002727 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05002728 }
2729 public int Field1 {
2730 get { return result.Field1; }
2731 set { SetField1(value); }
2732 }
2733 public Builder SetField1(int value) {
2734 result.hasField1 = true;
2735 result.field1_ = value;
2736 return this;
2737 }
2738 public Builder ClearField1() {
2739 result.hasField1 = false;
2740 result.field1_ = 0;
2741 return this;
2742 }
2743
2744 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05002745 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05002746 }
2747 public int Field2 {
2748 get { return result.Field2; }
2749 set { SetField2(value); }
2750 }
2751 public Builder SetField2(int value) {
2752 result.hasField2 = true;
2753 result.field2_ = value;
2754 return this;
2755 }
2756 public Builder ClearField2() {
2757 result.hasField2 = false;
2758 result.field2_ = 0;
2759 return this;
2760 }
2761
2762 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05002763 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05002764 }
2765 public int Field3 {
2766 get { return result.Field3; }
2767 set { SetField3(value); }
2768 }
2769 public Builder SetField3(int value) {
2770 result.hasField3 = true;
2771 result.field3_ = value;
2772 return this;
2773 }
2774 public Builder ClearField3() {
2775 result.hasField3 = false;
2776 result.field3_ = 0;
2777 return this;
2778 }
2779
2780 public bool HasField15 {
csharptestc671a4b2011-06-08 11:51:24 -05002781 get { return result.hasField15; }
csharptest27bfcc52011-06-02 12:04:06 -05002782 }
2783 public string Field15 {
2784 get { return result.Field15; }
2785 set { SetField15(value); }
2786 }
2787 public Builder SetField15(string value) {
2788 pb::ThrowHelper.ThrowIfNull(value, "value");
2789 result.hasField15 = true;
2790 result.field15_ = value;
2791 return this;
2792 }
2793 public Builder ClearField15() {
2794 result.hasField15 = false;
2795 result.field15_ = "";
2796 return this;
2797 }
2798
2799 public bool HasField12 {
csharptestc671a4b2011-06-08 11:51:24 -05002800 get { return result.hasField12; }
csharptest27bfcc52011-06-02 12:04:06 -05002801 }
2802 public bool Field12 {
2803 get { return result.Field12; }
2804 set { SetField12(value); }
2805 }
2806 public Builder SetField12(bool value) {
2807 result.hasField12 = true;
2808 result.field12_ = value;
2809 return this;
2810 }
2811 public Builder ClearField12() {
2812 result.hasField12 = false;
2813 result.field12_ = true;
2814 return this;
2815 }
2816
2817 public bool HasField13 {
csharptestc671a4b2011-06-08 11:51:24 -05002818 get { return result.hasField13; }
csharptest27bfcc52011-06-02 12:04:06 -05002819 }
2820 public long Field13 {
2821 get { return result.Field13; }
2822 set { SetField13(value); }
2823 }
2824 public Builder SetField13(long value) {
2825 result.hasField13 = true;
2826 result.field13_ = value;
2827 return this;
2828 }
2829 public Builder ClearField13() {
2830 result.hasField13 = false;
2831 result.field13_ = 0L;
2832 return this;
2833 }
2834
2835 public bool HasField14 {
csharptestc671a4b2011-06-08 11:51:24 -05002836 get { return result.hasField14; }
csharptest27bfcc52011-06-02 12:04:06 -05002837 }
2838 public long Field14 {
2839 get { return result.Field14; }
2840 set { SetField14(value); }
2841 }
2842 public Builder SetField14(long value) {
2843 result.hasField14 = true;
2844 result.field14_ = value;
2845 return this;
2846 }
2847 public Builder ClearField14() {
2848 result.hasField14 = false;
2849 result.field14_ = 0L;
2850 return this;
2851 }
2852
2853 public bool HasField16 {
csharptestc671a4b2011-06-08 11:51:24 -05002854 get { return result.hasField16; }
csharptest27bfcc52011-06-02 12:04:06 -05002855 }
2856 public int Field16 {
2857 get { return result.Field16; }
2858 set { SetField16(value); }
2859 }
2860 public Builder SetField16(int value) {
2861 result.hasField16 = true;
2862 result.field16_ = value;
2863 return this;
2864 }
2865 public Builder ClearField16() {
2866 result.hasField16 = false;
2867 result.field16_ = 0;
2868 return this;
2869 }
2870
2871 public bool HasField19 {
csharptestc671a4b2011-06-08 11:51:24 -05002872 get { return result.hasField19; }
csharptest27bfcc52011-06-02 12:04:06 -05002873 }
2874 public int Field19 {
2875 get { return result.Field19; }
2876 set { SetField19(value); }
2877 }
2878 public Builder SetField19(int value) {
2879 result.hasField19 = true;
2880 result.field19_ = value;
2881 return this;
2882 }
2883 public Builder ClearField19() {
2884 result.hasField19 = false;
2885 result.field19_ = 2;
2886 return this;
2887 }
2888
2889 public bool HasField20 {
csharptestc671a4b2011-06-08 11:51:24 -05002890 get { return result.hasField20; }
csharptest27bfcc52011-06-02 12:04:06 -05002891 }
2892 public bool Field20 {
2893 get { return result.Field20; }
2894 set { SetField20(value); }
2895 }
2896 public Builder SetField20(bool value) {
2897 result.hasField20 = true;
2898 result.field20_ = value;
2899 return this;
2900 }
2901 public Builder ClearField20() {
2902 result.hasField20 = false;
2903 result.field20_ = true;
2904 return this;
2905 }
2906
2907 public bool HasField28 {
csharptestc671a4b2011-06-08 11:51:24 -05002908 get { return result.hasField28; }
csharptest27bfcc52011-06-02 12:04:06 -05002909 }
2910 public bool Field28 {
2911 get { return result.Field28; }
2912 set { SetField28(value); }
2913 }
2914 public Builder SetField28(bool value) {
2915 result.hasField28 = true;
2916 result.field28_ = value;
2917 return this;
2918 }
2919 public Builder ClearField28() {
2920 result.hasField28 = false;
2921 result.field28_ = true;
2922 return this;
2923 }
2924
2925 public bool HasField21 {
csharptestc671a4b2011-06-08 11:51:24 -05002926 get { return result.hasField21; }
csharptest27bfcc52011-06-02 12:04:06 -05002927 }
2928 [global::System.CLSCompliant(false)]
2929 public ulong Field21 {
2930 get { return result.Field21; }
2931 set { SetField21(value); }
2932 }
2933 [global::System.CLSCompliant(false)]
2934 public Builder SetField21(ulong value) {
2935 result.hasField21 = true;
2936 result.field21_ = value;
2937 return this;
2938 }
2939 public Builder ClearField21() {
2940 result.hasField21 = false;
2941 result.field21_ = 0;
2942 return this;
2943 }
2944
2945 public bool HasField22 {
csharptestc671a4b2011-06-08 11:51:24 -05002946 get { return result.hasField22; }
csharptest27bfcc52011-06-02 12:04:06 -05002947 }
2948 public int Field22 {
2949 get { return result.Field22; }
2950 set { SetField22(value); }
2951 }
2952 public Builder SetField22(int value) {
2953 result.hasField22 = true;
2954 result.field22_ = value;
2955 return this;
2956 }
2957 public Builder ClearField22() {
2958 result.hasField22 = false;
2959 result.field22_ = 0;
2960 return this;
2961 }
2962
2963 public bool HasField23 {
csharptestc671a4b2011-06-08 11:51:24 -05002964 get { return result.hasField23; }
csharptest27bfcc52011-06-02 12:04:06 -05002965 }
2966 public bool Field23 {
2967 get { return result.Field23; }
2968 set { SetField23(value); }
2969 }
2970 public Builder SetField23(bool value) {
2971 result.hasField23 = true;
2972 result.field23_ = value;
2973 return this;
2974 }
2975 public Builder ClearField23() {
2976 result.hasField23 = false;
2977 result.field23_ = false;
2978 return this;
2979 }
2980
2981 public bool HasField206 {
csharptestc671a4b2011-06-08 11:51:24 -05002982 get { return result.hasField206; }
csharptest27bfcc52011-06-02 12:04:06 -05002983 }
2984 public bool Field206 {
2985 get { return result.Field206; }
2986 set { SetField206(value); }
2987 }
2988 public Builder SetField206(bool value) {
2989 result.hasField206 = true;
2990 result.field206_ = value;
2991 return this;
2992 }
2993 public Builder ClearField206() {
2994 result.hasField206 = false;
2995 result.field206_ = false;
2996 return this;
2997 }
2998
2999 public bool HasField203 {
csharptestc671a4b2011-06-08 11:51:24 -05003000 get { return result.hasField203; }
csharptest27bfcc52011-06-02 12:04:06 -05003001 }
3002 [global::System.CLSCompliant(false)]
3003 public uint Field203 {
3004 get { return result.Field203; }
3005 set { SetField203(value); }
3006 }
3007 [global::System.CLSCompliant(false)]
3008 public Builder SetField203(uint value) {
3009 result.hasField203 = true;
3010 result.field203_ = value;
3011 return this;
3012 }
3013 public Builder ClearField203() {
3014 result.hasField203 = false;
3015 result.field203_ = 0;
3016 return this;
3017 }
3018
3019 public bool HasField204 {
csharptestc671a4b2011-06-08 11:51:24 -05003020 get { return result.hasField204; }
csharptest27bfcc52011-06-02 12:04:06 -05003021 }
3022 public int Field204 {
3023 get { return result.Field204; }
3024 set { SetField204(value); }
3025 }
3026 public Builder SetField204(int value) {
3027 result.hasField204 = true;
3028 result.field204_ = value;
3029 return this;
3030 }
3031 public Builder ClearField204() {
3032 result.hasField204 = false;
3033 result.field204_ = 0;
3034 return this;
3035 }
3036
3037 public bool HasField205 {
csharptestc671a4b2011-06-08 11:51:24 -05003038 get { return result.hasField205; }
csharptest27bfcc52011-06-02 12:04:06 -05003039 }
3040 public string Field205 {
3041 get { return result.Field205; }
3042 set { SetField205(value); }
3043 }
3044 public Builder SetField205(string value) {
3045 pb::ThrowHelper.ThrowIfNull(value, "value");
3046 result.hasField205 = true;
3047 result.field205_ = value;
3048 return this;
3049 }
3050 public Builder ClearField205() {
3051 result.hasField205 = false;
3052 result.field205_ = "";
3053 return this;
3054 }
3055
3056 public bool HasField207 {
csharptestc671a4b2011-06-08 11:51:24 -05003057 get { return result.hasField207; }
csharptest27bfcc52011-06-02 12:04:06 -05003058 }
3059 [global::System.CLSCompliant(false)]
3060 public ulong Field207 {
3061 get { return result.Field207; }
3062 set { SetField207(value); }
3063 }
3064 [global::System.CLSCompliant(false)]
3065 public Builder SetField207(ulong value) {
3066 result.hasField207 = true;
3067 result.field207_ = value;
3068 return this;
3069 }
3070 public Builder ClearField207() {
3071 result.hasField207 = false;
3072 result.field207_ = 0UL;
3073 return this;
3074 }
3075
3076 public bool HasField300 {
csharptestc671a4b2011-06-08 11:51:24 -05003077 get { return result.hasField300; }
csharptest27bfcc52011-06-02 12:04:06 -05003078 }
3079 [global::System.CLSCompliant(false)]
3080 public ulong Field300 {
3081 get { return result.Field300; }
3082 set { SetField300(value); }
3083 }
3084 [global::System.CLSCompliant(false)]
3085 public Builder SetField300(ulong value) {
3086 result.hasField300 = true;
3087 result.field300_ = value;
3088 return this;
3089 }
3090 public Builder ClearField300() {
3091 result.hasField300 = false;
3092 result.field300_ = 0UL;
3093 return this;
3094 }
3095 }
3096 static SpeedMessage1SubMessage() {
3097 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
3098 }
3099 }
3100
3101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3102 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3103 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3104 public sealed partial class SpeedMessage2 : pb::GeneratedMessage<SpeedMessage2, SpeedMessage2.Builder> {
3105 private static readonly SpeedMessage2 defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05003106 private static readonly string[] _speedMessage2FieldNames = new string[] { "field1", "field109", "field127", "field128", "field129", "field130", "field131", "field2", "field205", "field206", "field21", "field210", "field211", "field212", "field213", "field216", "field217", "field218", "field220", "field221", "field222", "field25", "field3", "field30", "field4", "field6", "field63", "field71", "field75", "group1" };
3107 private static readonly uint[] _speedMessage2FieldTags = new uint[] { 10, 872, 1018, 1026, 1032, 1040, 1048, 18, 1640, 1648, 168, 1680, 1688, 1696, 1704, 1728, 1736, 1744, 1760, 1768, 1781, 205, 24, 240, 32, 50, 504, 568, 600, 83 };
csharptest27bfcc52011-06-02 12:04:06 -05003108 public static SpeedMessage2 DefaultInstance {
3109 get { return defaultInstance; }
3110 }
3111
3112 public override SpeedMessage2 DefaultInstanceForType {
3113 get { return defaultInstance; }
3114 }
3115
3116 protected override SpeedMessage2 ThisMessage {
3117 get { return this; }
3118 }
3119
3120 public static pbd::MessageDescriptor Descriptor {
3121 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__Descriptor; }
3122 }
3123
3124 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2, SpeedMessage2.Builder> InternalFieldAccessors {
3125 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__FieldAccessorTable; }
3126 }
3127
3128 #region Nested types
3129 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3130 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3131 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3132 public static class Types {
3133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3134 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3135 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3136 public sealed partial class Group1 : pb::GeneratedMessage<Group1, Group1.Builder> {
3137 private static readonly Group1 defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05003138 private static readonly string[] _group1FieldNames = new string[] { "field11", "field12", "field13", "field14", "field15", "field16", "field20", "field22", "field24", "field26", "field27", "field28", "field29", "field31", "field5", "field73" };
3139 private static readonly uint[] _group1FieldTags = new uint[] { 93, 98, 106, 114, 120, 130, 160, 178, 194, 213, 218, 224, 234, 250, 40, 584 };
csharptest27bfcc52011-06-02 12:04:06 -05003140 public static Group1 DefaultInstance {
3141 get { return defaultInstance; }
3142 }
3143
3144 public override Group1 DefaultInstanceForType {
3145 get { return defaultInstance; }
3146 }
3147
3148 protected override Group1 ThisMessage {
3149 get { return this; }
3150 }
3151
3152 public static pbd::MessageDescriptor Descriptor {
3153 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__Descriptor; }
3154 }
3155
3156 protected override pb::FieldAccess.FieldAccessorTable<Group1, Group1.Builder> InternalFieldAccessors {
3157 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable; }
3158 }
3159
3160 public const int Field11FieldNumber = 11;
3161 private bool hasField11;
3162 private float field11_ = 0F;
3163 public bool HasField11 {
3164 get { return hasField11; }
3165 }
3166 public float Field11 {
3167 get { return field11_; }
3168 }
3169
3170 public const int Field26FieldNumber = 26;
3171 private bool hasField26;
3172 private float field26_ = 0F;
3173 public bool HasField26 {
3174 get { return hasField26; }
3175 }
3176 public float Field26 {
3177 get { return field26_; }
3178 }
3179
3180 public const int Field12FieldNumber = 12;
3181 private bool hasField12;
3182 private string field12_ = "";
3183 public bool HasField12 {
3184 get { return hasField12; }
3185 }
3186 public string Field12 {
3187 get { return field12_; }
3188 }
3189
3190 public const int Field13FieldNumber = 13;
3191 private bool hasField13;
3192 private string field13_ = "";
3193 public bool HasField13 {
3194 get { return hasField13; }
3195 }
3196 public string Field13 {
3197 get { return field13_; }
3198 }
3199
3200 public const int Field14FieldNumber = 14;
3201 private pbc::PopsicleList<string> field14_ = new pbc::PopsicleList<string>();
3202 public scg::IList<string> Field14List {
3203 get { return pbc::Lists.AsReadOnly(field14_); }
3204 }
3205 public int Field14Count {
3206 get { return field14_.Count; }
3207 }
3208 public string GetField14(int index) {
3209 return field14_[index];
3210 }
3211
3212 public const int Field15FieldNumber = 15;
3213 private bool hasField15;
3214 private ulong field15_ = 0UL;
3215 public bool HasField15 {
3216 get { return hasField15; }
3217 }
3218 [global::System.CLSCompliant(false)]
3219 public ulong Field15 {
3220 get { return field15_; }
3221 }
3222
3223 public const int Field5FieldNumber = 5;
3224 private bool hasField5;
3225 private int field5_ = 0;
3226 public bool HasField5 {
3227 get { return hasField5; }
3228 }
3229 public int Field5 {
3230 get { return field5_; }
3231 }
3232
3233 public const int Field27FieldNumber = 27;
3234 private bool hasField27;
3235 private string field27_ = "";
3236 public bool HasField27 {
3237 get { return hasField27; }
3238 }
3239 public string Field27 {
3240 get { return field27_; }
3241 }
3242
3243 public const int Field28FieldNumber = 28;
3244 private bool hasField28;
3245 private int field28_ = 0;
3246 public bool HasField28 {
3247 get { return hasField28; }
3248 }
3249 public int Field28 {
3250 get { return field28_; }
3251 }
3252
3253 public const int Field29FieldNumber = 29;
3254 private bool hasField29;
3255 private string field29_ = "";
3256 public bool HasField29 {
3257 get { return hasField29; }
3258 }
3259 public string Field29 {
3260 get { return field29_; }
3261 }
3262
3263 public const int Field16FieldNumber = 16;
3264 private bool hasField16;
3265 private string field16_ = "";
3266 public bool HasField16 {
3267 get { return hasField16; }
3268 }
3269 public string Field16 {
3270 get { return field16_; }
3271 }
3272
3273 public const int Field22FieldNumber = 22;
3274 private pbc::PopsicleList<string> field22_ = new pbc::PopsicleList<string>();
3275 public scg::IList<string> Field22List {
3276 get { return pbc::Lists.AsReadOnly(field22_); }
3277 }
3278 public int Field22Count {
3279 get { return field22_.Count; }
3280 }
3281 public string GetField22(int index) {
3282 return field22_[index];
3283 }
3284
3285 public const int Field73FieldNumber = 73;
3286 private pbc::PopsicleList<int> field73_ = new pbc::PopsicleList<int>();
3287 public scg::IList<int> Field73List {
3288 get { return pbc::Lists.AsReadOnly(field73_); }
3289 }
3290 public int Field73Count {
3291 get { return field73_.Count; }
3292 }
3293 public int GetField73(int index) {
3294 return field73_[index];
3295 }
3296
3297 public const int Field20FieldNumber = 20;
3298 private bool hasField20;
3299 private int field20_ = 0;
3300 public bool HasField20 {
3301 get { return hasField20; }
3302 }
3303 public int Field20 {
3304 get { return field20_; }
3305 }
3306
3307 public const int Field24FieldNumber = 24;
3308 private bool hasField24;
3309 private string field24_ = "";
3310 public bool HasField24 {
3311 get { return hasField24; }
3312 }
3313 public string Field24 {
3314 get { return field24_; }
3315 }
3316
3317 public const int Field31FieldNumber = 31;
3318 private bool hasField31;
3319 private global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
3320 public bool HasField31 {
3321 get { return hasField31; }
3322 }
3323 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
3324 get { return field31_; }
3325 }
3326
3327 public override bool IsInitialized {
3328 get {
3329 if (!hasField11) return false;
3330 if (!hasField15) return false;
3331 return true;
3332 }
3333 }
3334
csharptestffafdaa2011-06-03 12:58:14 -05003335 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05003336 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05003337 string[] field_names = _group1FieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05003338 if (hasField5) {
csharptest920b09a2011-06-08 20:13:29 -05003339 output.WriteInt32(5, field_names[14], Field5);
csharptest27bfcc52011-06-02 12:04:06 -05003340 }
csharptestc671a4b2011-06-08 11:51:24 -05003341 if (hasField11) {
csharptest920b09a2011-06-08 20:13:29 -05003342 output.WriteFloat(11, field_names[0], Field11);
csharptest27bfcc52011-06-02 12:04:06 -05003343 }
csharptestc671a4b2011-06-08 11:51:24 -05003344 if (hasField12) {
csharptest920b09a2011-06-08 20:13:29 -05003345 output.WriteString(12, field_names[1], Field12);
csharptest27bfcc52011-06-02 12:04:06 -05003346 }
csharptestc671a4b2011-06-08 11:51:24 -05003347 if (hasField13) {
csharptest920b09a2011-06-08 20:13:29 -05003348 output.WriteString(13, field_names[2], Field13);
csharptest27bfcc52011-06-02 12:04:06 -05003349 }
3350 if (field14_.Count > 0) {
csharptest920b09a2011-06-08 20:13:29 -05003351 output.WriteArray(pbd::FieldType.String, 14, field_names[3], field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003352 }
csharptestc671a4b2011-06-08 11:51:24 -05003353 if (hasField15) {
csharptest920b09a2011-06-08 20:13:29 -05003354 output.WriteUInt64(15, field_names[4], Field15);
csharptest27bfcc52011-06-02 12:04:06 -05003355 }
csharptestc671a4b2011-06-08 11:51:24 -05003356 if (hasField16) {
csharptest920b09a2011-06-08 20:13:29 -05003357 output.WriteString(16, field_names[5], Field16);
csharptest27bfcc52011-06-02 12:04:06 -05003358 }
csharptestc671a4b2011-06-08 11:51:24 -05003359 if (hasField20) {
csharptest920b09a2011-06-08 20:13:29 -05003360 output.WriteInt32(20, field_names[6], Field20);
csharptest27bfcc52011-06-02 12:04:06 -05003361 }
3362 if (field22_.Count > 0) {
csharptest920b09a2011-06-08 20:13:29 -05003363 output.WriteArray(pbd::FieldType.String, 22, field_names[7], field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003364 }
csharptestc671a4b2011-06-08 11:51:24 -05003365 if (hasField24) {
csharptest920b09a2011-06-08 20:13:29 -05003366 output.WriteString(24, field_names[8], Field24);
csharptest27bfcc52011-06-02 12:04:06 -05003367 }
csharptestc671a4b2011-06-08 11:51:24 -05003368 if (hasField26) {
csharptest920b09a2011-06-08 20:13:29 -05003369 output.WriteFloat(26, field_names[9], Field26);
csharptest27bfcc52011-06-02 12:04:06 -05003370 }
csharptestc671a4b2011-06-08 11:51:24 -05003371 if (hasField27) {
csharptest920b09a2011-06-08 20:13:29 -05003372 output.WriteString(27, field_names[10], Field27);
csharptest27bfcc52011-06-02 12:04:06 -05003373 }
csharptestc671a4b2011-06-08 11:51:24 -05003374 if (hasField28) {
csharptest920b09a2011-06-08 20:13:29 -05003375 output.WriteInt32(28, field_names[11], Field28);
csharptest27bfcc52011-06-02 12:04:06 -05003376 }
csharptestc671a4b2011-06-08 11:51:24 -05003377 if (hasField29) {
csharptest920b09a2011-06-08 20:13:29 -05003378 output.WriteString(29, field_names[12], Field29);
csharptest27bfcc52011-06-02 12:04:06 -05003379 }
csharptestc671a4b2011-06-08 11:51:24 -05003380 if (hasField31) {
csharptest920b09a2011-06-08 20:13:29 -05003381 output.WriteMessage(31, field_names[13], Field31);
csharptest27bfcc52011-06-02 12:04:06 -05003382 }
3383 if (field73_.Count > 0) {
csharptest920b09a2011-06-08 20:13:29 -05003384 output.WriteArray(pbd::FieldType.Int32, 73, field_names[15], field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003385 }
3386 UnknownFields.WriteTo(output);
3387 }
3388
3389 private int memoizedSerializedSize = -1;
3390 public override int SerializedSize {
3391 get {
3392 int size = memoizedSerializedSize;
3393 if (size != -1) return size;
3394
3395 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05003396 if (hasField11) {
csharptest27bfcc52011-06-02 12:04:06 -05003397 size += pb::CodedOutputStream.ComputeFloatSize(11, Field11);
3398 }
csharptestc671a4b2011-06-08 11:51:24 -05003399 if (hasField26) {
csharptest27bfcc52011-06-02 12:04:06 -05003400 size += pb::CodedOutputStream.ComputeFloatSize(26, Field26);
3401 }
csharptestc671a4b2011-06-08 11:51:24 -05003402 if (hasField12) {
csharptest27bfcc52011-06-02 12:04:06 -05003403 size += pb::CodedOutputStream.ComputeStringSize(12, Field12);
3404 }
csharptestc671a4b2011-06-08 11:51:24 -05003405 if (hasField13) {
csharptest27bfcc52011-06-02 12:04:06 -05003406 size += pb::CodedOutputStream.ComputeStringSize(13, Field13);
3407 }
3408 {
3409 int dataSize = 0;
3410 foreach (string element in Field14List) {
3411 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3412 }
3413 size += dataSize;
3414 size += 1 * field14_.Count;
3415 }
csharptestc671a4b2011-06-08 11:51:24 -05003416 if (hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -05003417 size += pb::CodedOutputStream.ComputeUInt64Size(15, Field15);
3418 }
csharptestc671a4b2011-06-08 11:51:24 -05003419 if (hasField5) {
csharptest27bfcc52011-06-02 12:04:06 -05003420 size += pb::CodedOutputStream.ComputeInt32Size(5, Field5);
3421 }
csharptestc671a4b2011-06-08 11:51:24 -05003422 if (hasField27) {
csharptest27bfcc52011-06-02 12:04:06 -05003423 size += pb::CodedOutputStream.ComputeStringSize(27, Field27);
3424 }
csharptestc671a4b2011-06-08 11:51:24 -05003425 if (hasField28) {
csharptest27bfcc52011-06-02 12:04:06 -05003426 size += pb::CodedOutputStream.ComputeInt32Size(28, Field28);
3427 }
csharptestc671a4b2011-06-08 11:51:24 -05003428 if (hasField29) {
csharptest27bfcc52011-06-02 12:04:06 -05003429 size += pb::CodedOutputStream.ComputeStringSize(29, Field29);
3430 }
csharptestc671a4b2011-06-08 11:51:24 -05003431 if (hasField16) {
csharptest27bfcc52011-06-02 12:04:06 -05003432 size += pb::CodedOutputStream.ComputeStringSize(16, Field16);
3433 }
3434 {
3435 int dataSize = 0;
3436 foreach (string element in Field22List) {
3437 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3438 }
3439 size += dataSize;
3440 size += 2 * field22_.Count;
3441 }
3442 {
3443 int dataSize = 0;
3444 foreach (int element in Field73List) {
3445 dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
3446 }
3447 size += dataSize;
3448 size += 2 * field73_.Count;
3449 }
csharptestc671a4b2011-06-08 11:51:24 -05003450 if (hasField20) {
csharptest27bfcc52011-06-02 12:04:06 -05003451 size += pb::CodedOutputStream.ComputeInt32Size(20, Field20);
3452 }
csharptestc671a4b2011-06-08 11:51:24 -05003453 if (hasField24) {
csharptest27bfcc52011-06-02 12:04:06 -05003454 size += pb::CodedOutputStream.ComputeStringSize(24, Field24);
3455 }
csharptestc671a4b2011-06-08 11:51:24 -05003456 if (hasField31) {
csharptest27bfcc52011-06-02 12:04:06 -05003457 size += pb::CodedOutputStream.ComputeMessageSize(31, Field31);
3458 }
3459 size += UnknownFields.SerializedSize;
3460 memoizedSerializedSize = size;
3461 return size;
3462 }
3463 }
3464
3465 public static Group1 ParseFrom(pb::ByteString data) {
3466 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3467 }
3468 public static Group1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
3469 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3470 }
3471 public static Group1 ParseFrom(byte[] data) {
3472 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3473 }
3474 public static Group1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
3475 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3476 }
3477 public static Group1 ParseFrom(global::System.IO.Stream input) {
3478 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3479 }
3480 public static Group1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3481 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3482 }
3483 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input) {
3484 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
3485 }
3486 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3487 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
3488 }
csharptest17699c22011-06-03 21:57:15 -05003489 public static Group1 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05003490 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3491 }
csharptest17699c22011-06-03 21:57:15 -05003492 public static Group1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05003493 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3494 }
3495 public static Builder CreateBuilder() { return new Builder(); }
3496 public override Builder ToBuilder() { return CreateBuilder(this); }
3497 public override Builder CreateBuilderForType() { return new Builder(); }
3498 public static Builder CreateBuilder(Group1 prototype) {
3499 return (Builder) new Builder().MergeFrom(prototype);
3500 }
3501
3502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3503 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3504 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3505 public sealed partial class Builder : pb::GeneratedBuilder<Group1, Builder> {
3506 protected override Builder ThisBuilder {
3507 get { return this; }
3508 }
3509 public Builder() {}
3510
3511 Group1 result = new Group1();
3512
3513 protected override Group1 MessageBeingBuilt {
3514 get { return result; }
3515 }
3516
3517 public override Builder Clear() {
3518 result = new Group1();
3519 return this;
3520 }
3521
3522 public override Builder Clone() {
3523 return new Builder().MergeFrom(result);
3524 }
3525
3526 public override pbd::MessageDescriptor DescriptorForType {
3527 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Descriptor; }
3528 }
3529
3530 public override Group1 DefaultInstanceForType {
3531 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance; }
3532 }
3533
3534 public override Group1 BuildPartial() {
3535 if (result == null) {
3536 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
3537 }
3538 result.field14_.MakeReadOnly();
3539 result.field22_.MakeReadOnly();
3540 result.field73_.MakeReadOnly();
3541 Group1 returnMe = result;
3542 result = null;
3543 return returnMe;
3544 }
3545
3546 public override Builder MergeFrom(pb::IMessage other) {
3547 if (other is Group1) {
3548 return MergeFrom((Group1) other);
3549 } else {
3550 base.MergeFrom(other);
3551 return this;
3552 }
3553 }
3554
3555 public override Builder MergeFrom(Group1 other) {
3556 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance) return this;
3557 if (other.HasField11) {
3558 Field11 = other.Field11;
3559 }
3560 if (other.HasField26) {
3561 Field26 = other.Field26;
3562 }
3563 if (other.HasField12) {
3564 Field12 = other.Field12;
3565 }
3566 if (other.HasField13) {
3567 Field13 = other.Field13;
3568 }
3569 if (other.field14_.Count != 0) {
3570 base.AddRange(other.field14_, result.field14_);
3571 }
3572 if (other.HasField15) {
3573 Field15 = other.Field15;
3574 }
3575 if (other.HasField5) {
3576 Field5 = other.Field5;
3577 }
3578 if (other.HasField27) {
3579 Field27 = other.Field27;
3580 }
3581 if (other.HasField28) {
3582 Field28 = other.Field28;
3583 }
3584 if (other.HasField29) {
3585 Field29 = other.Field29;
3586 }
3587 if (other.HasField16) {
3588 Field16 = other.Field16;
3589 }
3590 if (other.field22_.Count != 0) {
3591 base.AddRange(other.field22_, result.field22_);
3592 }
3593 if (other.field73_.Count != 0) {
3594 base.AddRange(other.field73_, result.field73_);
3595 }
3596 if (other.HasField20) {
3597 Field20 = other.Field20;
3598 }
3599 if (other.HasField24) {
3600 Field24 = other.Field24;
3601 }
3602 if (other.HasField31) {
3603 MergeField31(other.Field31);
3604 }
3605 this.MergeUnknownFields(other.UnknownFields);
3606 return this;
3607 }
3608
csharptest17699c22011-06-03 21:57:15 -05003609 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05003610 return MergeFrom(input, pb::ExtensionRegistry.Empty);
3611 }
3612
csharptest17699c22011-06-03 21:57:15 -05003613 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05003614 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05003615 uint tag;
3616 string field_name;
3617 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05003618 if(tag == 0 && field_name != null) {
3619 int field_ordinal = global::System.Array.BinarySearch(_group1FieldNames, field_name, global::System.StringComparer.Ordinal);
3620 if(field_ordinal >= 0)
3621 tag = _group1FieldTags[field_ordinal];
3622 else {
3623 if (unknownFields == null) {
3624 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3625 }
3626 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
3627 continue;
3628 }
3629 }
csharptest27bfcc52011-06-02 12:04:06 -05003630 switch (tag) {
3631 case 0: {
csharptest99284412011-06-03 14:51:06 -05003632 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05003633 }
3634 default: {
3635 if (pb::WireFormat.IsEndGroupTag(tag)) {
3636 if (unknownFields != null) {
3637 this.UnknownFields = unknownFields.Build();
3638 }
3639 return this;
3640 }
3641 if (unknownFields == null) {
3642 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3643 }
csharptestd2af9e92011-06-03 21:35:02 -05003644 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05003645 break;
3646 }
3647 case 40: {
csharptest920b09a2011-06-08 20:13:29 -05003648 result.hasField5 = input.ReadInt32(ref result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05003649 break;
3650 }
3651 case 93: {
csharptest920b09a2011-06-08 20:13:29 -05003652 result.hasField11 = input.ReadFloat(ref result.field11_);
csharptest27bfcc52011-06-02 12:04:06 -05003653 break;
3654 }
3655 case 98: {
csharptest920b09a2011-06-08 20:13:29 -05003656 result.hasField12 = input.ReadString(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05003657 break;
3658 }
3659 case 106: {
csharptest920b09a2011-06-08 20:13:29 -05003660 result.hasField13 = input.ReadString(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05003661 break;
3662 }
3663 case 114: {
csharptestd2af9e92011-06-03 21:35:02 -05003664 input.ReadPrimitiveArray(pbd::FieldType.String, tag, field_name, result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003665 break;
3666 }
3667 case 120: {
csharptest920b09a2011-06-08 20:13:29 -05003668 result.hasField15 = input.ReadUInt64(ref result.field15_);
csharptest27bfcc52011-06-02 12:04:06 -05003669 break;
3670 }
3671 case 130: {
csharptest920b09a2011-06-08 20:13:29 -05003672 result.hasField16 = input.ReadString(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05003673 break;
3674 }
3675 case 160: {
csharptest920b09a2011-06-08 20:13:29 -05003676 result.hasField20 = input.ReadInt32(ref result.field20_);
csharptest27bfcc52011-06-02 12:04:06 -05003677 break;
3678 }
3679 case 178: {
csharptestd2af9e92011-06-03 21:35:02 -05003680 input.ReadPrimitiveArray(pbd::FieldType.String, tag, field_name, result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003681 break;
3682 }
3683 case 194: {
csharptest920b09a2011-06-08 20:13:29 -05003684 result.hasField24 = input.ReadString(ref result.field24_);
csharptest27bfcc52011-06-02 12:04:06 -05003685 break;
3686 }
3687 case 213: {
csharptest920b09a2011-06-08 20:13:29 -05003688 result.hasField26 = input.ReadFloat(ref result.field26_);
csharptest27bfcc52011-06-02 12:04:06 -05003689 break;
3690 }
3691 case 218: {
csharptest920b09a2011-06-08 20:13:29 -05003692 result.hasField27 = input.ReadString(ref result.field27_);
csharptest27bfcc52011-06-02 12:04:06 -05003693 break;
3694 }
3695 case 224: {
csharptest920b09a2011-06-08 20:13:29 -05003696 result.hasField28 = input.ReadInt32(ref result.field28_);
csharptest27bfcc52011-06-02 12:04:06 -05003697 break;
3698 }
3699 case 234: {
csharptest920b09a2011-06-08 20:13:29 -05003700 result.hasField29 = input.ReadString(ref result.field29_);
csharptest27bfcc52011-06-02 12:04:06 -05003701 break;
3702 }
3703 case 250: {
3704 global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder();
csharptestc671a4b2011-06-08 11:51:24 -05003705 if (result.hasField31) {
csharptest27bfcc52011-06-02 12:04:06 -05003706 subBuilder.MergeFrom(Field31);
3707 }
3708 input.ReadMessage(subBuilder, extensionRegistry);
3709 Field31 = subBuilder.BuildPartial();
3710 break;
3711 }
csharptest6da31702011-06-04 12:52:57 -05003712 case 586:
csharptest27bfcc52011-06-02 12:04:06 -05003713 case 584: {
csharptestd2af9e92011-06-03 21:35:02 -05003714 input.ReadPrimitiveArray(pbd::FieldType.Int32, tag, field_name, result.field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003715 break;
3716 }
3717 }
3718 }
csharptest123e5342011-06-03 14:15:21 -05003719
3720 if (unknownFields != null) {
3721 this.UnknownFields = unknownFields.Build();
3722 }
3723 return this;
csharptest27bfcc52011-06-02 12:04:06 -05003724 }
3725
3726
3727 public bool HasField11 {
csharptestc671a4b2011-06-08 11:51:24 -05003728 get { return result.hasField11; }
csharptest27bfcc52011-06-02 12:04:06 -05003729 }
3730 public float Field11 {
3731 get { return result.Field11; }
3732 set { SetField11(value); }
3733 }
3734 public Builder SetField11(float value) {
3735 result.hasField11 = true;
3736 result.field11_ = value;
3737 return this;
3738 }
3739 public Builder ClearField11() {
3740 result.hasField11 = false;
3741 result.field11_ = 0F;
3742 return this;
3743 }
3744
3745 public bool HasField26 {
csharptestc671a4b2011-06-08 11:51:24 -05003746 get { return result.hasField26; }
csharptest27bfcc52011-06-02 12:04:06 -05003747 }
3748 public float Field26 {
3749 get { return result.Field26; }
3750 set { SetField26(value); }
3751 }
3752 public Builder SetField26(float value) {
3753 result.hasField26 = true;
3754 result.field26_ = value;
3755 return this;
3756 }
3757 public Builder ClearField26() {
3758 result.hasField26 = false;
3759 result.field26_ = 0F;
3760 return this;
3761 }
3762
3763 public bool HasField12 {
csharptestc671a4b2011-06-08 11:51:24 -05003764 get { return result.hasField12; }
csharptest27bfcc52011-06-02 12:04:06 -05003765 }
3766 public string Field12 {
3767 get { return result.Field12; }
3768 set { SetField12(value); }
3769 }
3770 public Builder SetField12(string value) {
3771 pb::ThrowHelper.ThrowIfNull(value, "value");
3772 result.hasField12 = true;
3773 result.field12_ = value;
3774 return this;
3775 }
3776 public Builder ClearField12() {
3777 result.hasField12 = false;
3778 result.field12_ = "";
3779 return this;
3780 }
3781
3782 public bool HasField13 {
csharptestc671a4b2011-06-08 11:51:24 -05003783 get { return result.hasField13; }
csharptest27bfcc52011-06-02 12:04:06 -05003784 }
3785 public string Field13 {
3786 get { return result.Field13; }
3787 set { SetField13(value); }
3788 }
3789 public Builder SetField13(string value) {
3790 pb::ThrowHelper.ThrowIfNull(value, "value");
3791 result.hasField13 = true;
3792 result.field13_ = value;
3793 return this;
3794 }
3795 public Builder ClearField13() {
3796 result.hasField13 = false;
3797 result.field13_ = "";
3798 return this;
3799 }
3800
3801 public pbc::IPopsicleList<string> Field14List {
3802 get { return result.field14_; }
3803 }
3804 public int Field14Count {
3805 get { return result.Field14Count; }
3806 }
3807 public string GetField14(int index) {
3808 return result.GetField14(index);
3809 }
3810 public Builder SetField14(int index, string value) {
3811 pb::ThrowHelper.ThrowIfNull(value, "value");
3812 result.field14_[index] = value;
3813 return this;
3814 }
3815 public Builder AddField14(string value) {
3816 pb::ThrowHelper.ThrowIfNull(value, "value");
3817 result.field14_.Add(value);
3818 return this;
3819 }
3820 public Builder AddRangeField14(scg::IEnumerable<string> values) {
3821 base.AddRange(values, result.field14_);
3822 return this;
3823 }
3824 public Builder ClearField14() {
3825 result.field14_.Clear();
3826 return this;
3827 }
3828
3829 public bool HasField15 {
csharptestc671a4b2011-06-08 11:51:24 -05003830 get { return result.hasField15; }
csharptest27bfcc52011-06-02 12:04:06 -05003831 }
3832 [global::System.CLSCompliant(false)]
3833 public ulong Field15 {
3834 get { return result.Field15; }
3835 set { SetField15(value); }
3836 }
3837 [global::System.CLSCompliant(false)]
3838 public Builder SetField15(ulong value) {
3839 result.hasField15 = true;
3840 result.field15_ = value;
3841 return this;
3842 }
3843 public Builder ClearField15() {
3844 result.hasField15 = false;
3845 result.field15_ = 0UL;
3846 return this;
3847 }
3848
3849 public bool HasField5 {
csharptestc671a4b2011-06-08 11:51:24 -05003850 get { return result.hasField5; }
csharptest27bfcc52011-06-02 12:04:06 -05003851 }
3852 public int Field5 {
3853 get { return result.Field5; }
3854 set { SetField5(value); }
3855 }
3856 public Builder SetField5(int value) {
3857 result.hasField5 = true;
3858 result.field5_ = value;
3859 return this;
3860 }
3861 public Builder ClearField5() {
3862 result.hasField5 = false;
3863 result.field5_ = 0;
3864 return this;
3865 }
3866
3867 public bool HasField27 {
csharptestc671a4b2011-06-08 11:51:24 -05003868 get { return result.hasField27; }
csharptest27bfcc52011-06-02 12:04:06 -05003869 }
3870 public string Field27 {
3871 get { return result.Field27; }
3872 set { SetField27(value); }
3873 }
3874 public Builder SetField27(string value) {
3875 pb::ThrowHelper.ThrowIfNull(value, "value");
3876 result.hasField27 = true;
3877 result.field27_ = value;
3878 return this;
3879 }
3880 public Builder ClearField27() {
3881 result.hasField27 = false;
3882 result.field27_ = "";
3883 return this;
3884 }
3885
3886 public bool HasField28 {
csharptestc671a4b2011-06-08 11:51:24 -05003887 get { return result.hasField28; }
csharptest27bfcc52011-06-02 12:04:06 -05003888 }
3889 public int Field28 {
3890 get { return result.Field28; }
3891 set { SetField28(value); }
3892 }
3893 public Builder SetField28(int value) {
3894 result.hasField28 = true;
3895 result.field28_ = value;
3896 return this;
3897 }
3898 public Builder ClearField28() {
3899 result.hasField28 = false;
3900 result.field28_ = 0;
3901 return this;
3902 }
3903
3904 public bool HasField29 {
csharptestc671a4b2011-06-08 11:51:24 -05003905 get { return result.hasField29; }
csharptest27bfcc52011-06-02 12:04:06 -05003906 }
3907 public string Field29 {
3908 get { return result.Field29; }
3909 set { SetField29(value); }
3910 }
3911 public Builder SetField29(string value) {
3912 pb::ThrowHelper.ThrowIfNull(value, "value");
3913 result.hasField29 = true;
3914 result.field29_ = value;
3915 return this;
3916 }
3917 public Builder ClearField29() {
3918 result.hasField29 = false;
3919 result.field29_ = "";
3920 return this;
3921 }
3922
3923 public bool HasField16 {
csharptestc671a4b2011-06-08 11:51:24 -05003924 get { return result.hasField16; }
csharptest27bfcc52011-06-02 12:04:06 -05003925 }
3926 public string Field16 {
3927 get { return result.Field16; }
3928 set { SetField16(value); }
3929 }
3930 public Builder SetField16(string value) {
3931 pb::ThrowHelper.ThrowIfNull(value, "value");
3932 result.hasField16 = true;
3933 result.field16_ = value;
3934 return this;
3935 }
3936 public Builder ClearField16() {
3937 result.hasField16 = false;
3938 result.field16_ = "";
3939 return this;
3940 }
3941
3942 public pbc::IPopsicleList<string> Field22List {
3943 get { return result.field22_; }
3944 }
3945 public int Field22Count {
3946 get { return result.Field22Count; }
3947 }
3948 public string GetField22(int index) {
3949 return result.GetField22(index);
3950 }
3951 public Builder SetField22(int index, string value) {
3952 pb::ThrowHelper.ThrowIfNull(value, "value");
3953 result.field22_[index] = value;
3954 return this;
3955 }
3956 public Builder AddField22(string value) {
3957 pb::ThrowHelper.ThrowIfNull(value, "value");
3958 result.field22_.Add(value);
3959 return this;
3960 }
3961 public Builder AddRangeField22(scg::IEnumerable<string> values) {
3962 base.AddRange(values, result.field22_);
3963 return this;
3964 }
3965 public Builder ClearField22() {
3966 result.field22_.Clear();
3967 return this;
3968 }
3969
3970 public pbc::IPopsicleList<int> Field73List {
3971 get { return result.field73_; }
3972 }
3973 public int Field73Count {
3974 get { return result.Field73Count; }
3975 }
3976 public int GetField73(int index) {
3977 return result.GetField73(index);
3978 }
3979 public Builder SetField73(int index, int value) {
3980 result.field73_[index] = value;
3981 return this;
3982 }
3983 public Builder AddField73(int value) {
3984 result.field73_.Add(value);
3985 return this;
3986 }
3987 public Builder AddRangeField73(scg::IEnumerable<int> values) {
3988 base.AddRange(values, result.field73_);
3989 return this;
3990 }
3991 public Builder ClearField73() {
3992 result.field73_.Clear();
3993 return this;
3994 }
3995
3996 public bool HasField20 {
csharptestc671a4b2011-06-08 11:51:24 -05003997 get { return result.hasField20; }
csharptest27bfcc52011-06-02 12:04:06 -05003998 }
3999 public int Field20 {
4000 get { return result.Field20; }
4001 set { SetField20(value); }
4002 }
4003 public Builder SetField20(int value) {
4004 result.hasField20 = true;
4005 result.field20_ = value;
4006 return this;
4007 }
4008 public Builder ClearField20() {
4009 result.hasField20 = false;
4010 result.field20_ = 0;
4011 return this;
4012 }
4013
4014 public bool HasField24 {
csharptestc671a4b2011-06-08 11:51:24 -05004015 get { return result.hasField24; }
csharptest27bfcc52011-06-02 12:04:06 -05004016 }
4017 public string Field24 {
4018 get { return result.Field24; }
4019 set { SetField24(value); }
4020 }
4021 public Builder SetField24(string value) {
4022 pb::ThrowHelper.ThrowIfNull(value, "value");
4023 result.hasField24 = true;
4024 result.field24_ = value;
4025 return this;
4026 }
4027 public Builder ClearField24() {
4028 result.hasField24 = false;
4029 result.field24_ = "";
4030 return this;
4031 }
4032
4033 public bool HasField31 {
csharptestc671a4b2011-06-08 11:51:24 -05004034 get { return result.hasField31; }
csharptest27bfcc52011-06-02 12:04:06 -05004035 }
4036 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
4037 get { return result.Field31; }
4038 set { SetField31(value); }
4039 }
4040 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
4041 pb::ThrowHelper.ThrowIfNull(value, "value");
4042 result.hasField31 = true;
4043 result.field31_ = value;
4044 return this;
4045 }
4046 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder builderForValue) {
4047 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
4048 result.hasField31 = true;
4049 result.field31_ = builderForValue.Build();
4050 return this;
4051 }
4052 public Builder MergeField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
4053 pb::ThrowHelper.ThrowIfNull(value, "value");
csharptestc671a4b2011-06-08 11:51:24 -05004054 if (result.hasField31 &&
csharptest27bfcc52011-06-02 12:04:06 -05004055 result.field31_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) {
4056 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder(result.field31_).MergeFrom(value).BuildPartial();
4057 } else {
4058 result.field31_ = value;
4059 }
4060 result.hasField31 = true;
4061 return this;
4062 }
4063 public Builder ClearField31() {
4064 result.hasField31 = false;
4065 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
4066 return this;
4067 }
4068 }
4069 static Group1() {
4070 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
4071 }
4072 }
4073
4074 }
4075 #endregion
4076
4077 public const int Field1FieldNumber = 1;
4078 private bool hasField1;
4079 private string field1_ = "";
4080 public bool HasField1 {
4081 get { return hasField1; }
4082 }
4083 public string Field1 {
4084 get { return field1_; }
4085 }
4086
4087 public const int Field3FieldNumber = 3;
4088 private bool hasField3;
4089 private long field3_ = 0L;
4090 public bool HasField3 {
4091 get { return hasField3; }
4092 }
4093 public long Field3 {
4094 get { return field3_; }
4095 }
4096
4097 public const int Field4FieldNumber = 4;
4098 private bool hasField4;
4099 private long field4_ = 0L;
4100 public bool HasField4 {
4101 get { return hasField4; }
4102 }
4103 public long Field4 {
4104 get { return field4_; }
4105 }
4106
4107 public const int Field30FieldNumber = 30;
4108 private bool hasField30;
4109 private long field30_ = 0L;
4110 public bool HasField30 {
4111 get { return hasField30; }
4112 }
4113 public long Field30 {
4114 get { return field30_; }
4115 }
4116
4117 public const int Field75FieldNumber = 75;
4118 private bool hasField75;
4119 private bool field75_ = false;
4120 public bool HasField75 {
4121 get { return hasField75; }
4122 }
4123 public bool Field75 {
4124 get { return field75_; }
4125 }
4126
4127 public const int Field6FieldNumber = 6;
4128 private bool hasField6;
4129 private string field6_ = "";
4130 public bool HasField6 {
4131 get { return hasField6; }
4132 }
4133 public string Field6 {
4134 get { return field6_; }
4135 }
4136
4137 public const int Field2FieldNumber = 2;
4138 private bool hasField2;
4139 private pb::ByteString field2_ = pb::ByteString.Empty;
4140 public bool HasField2 {
4141 get { return hasField2; }
4142 }
4143 public pb::ByteString Field2 {
4144 get { return field2_; }
4145 }
4146
4147 public const int Field21FieldNumber = 21;
4148 private bool hasField21;
4149 private int field21_ = 0;
4150 public bool HasField21 {
4151 get { return hasField21; }
4152 }
4153 public int Field21 {
4154 get { return field21_; }
4155 }
4156
4157 public const int Field71FieldNumber = 71;
4158 private bool hasField71;
4159 private int field71_ = 0;
4160 public bool HasField71 {
4161 get { return hasField71; }
4162 }
4163 public int Field71 {
4164 get { return field71_; }
4165 }
4166
4167 public const int Field25FieldNumber = 25;
4168 private bool hasField25;
4169 private float field25_ = 0F;
4170 public bool HasField25 {
4171 get { return hasField25; }
4172 }
4173 public float Field25 {
4174 get { return field25_; }
4175 }
4176
4177 public const int Field109FieldNumber = 109;
4178 private bool hasField109;
4179 private int field109_ = 0;
4180 public bool HasField109 {
4181 get { return hasField109; }
4182 }
4183 public int Field109 {
4184 get { return field109_; }
4185 }
4186
4187 public const int Field210FieldNumber = 210;
4188 private bool hasField210;
4189 private int field210_ = 0;
4190 public bool HasField210 {
4191 get { return hasField210; }
4192 }
4193 public int Field210 {
4194 get { return field210_; }
4195 }
4196
4197 public const int Field211FieldNumber = 211;
4198 private bool hasField211;
4199 private int field211_ = 0;
4200 public bool HasField211 {
4201 get { return hasField211; }
4202 }
4203 public int Field211 {
4204 get { return field211_; }
4205 }
4206
4207 public const int Field212FieldNumber = 212;
4208 private bool hasField212;
4209 private int field212_ = 0;
4210 public bool HasField212 {
4211 get { return hasField212; }
4212 }
4213 public int Field212 {
4214 get { return field212_; }
4215 }
4216
4217 public const int Field213FieldNumber = 213;
4218 private bool hasField213;
4219 private int field213_ = 0;
4220 public bool HasField213 {
4221 get { return hasField213; }
4222 }
4223 public int Field213 {
4224 get { return field213_; }
4225 }
4226
4227 public const int Field216FieldNumber = 216;
4228 private bool hasField216;
4229 private int field216_ = 0;
4230 public bool HasField216 {
4231 get { return hasField216; }
4232 }
4233 public int Field216 {
4234 get { return field216_; }
4235 }
4236
4237 public const int Field217FieldNumber = 217;
4238 private bool hasField217;
4239 private int field217_ = 0;
4240 public bool HasField217 {
4241 get { return hasField217; }
4242 }
4243 public int Field217 {
4244 get { return field217_; }
4245 }
4246
4247 public const int Field218FieldNumber = 218;
4248 private bool hasField218;
4249 private int field218_ = 0;
4250 public bool HasField218 {
4251 get { return hasField218; }
4252 }
4253 public int Field218 {
4254 get { return field218_; }
4255 }
4256
4257 public const int Field220FieldNumber = 220;
4258 private bool hasField220;
4259 private int field220_ = 0;
4260 public bool HasField220 {
4261 get { return hasField220; }
4262 }
4263 public int Field220 {
4264 get { return field220_; }
4265 }
4266
4267 public const int Field221FieldNumber = 221;
4268 private bool hasField221;
4269 private int field221_ = 0;
4270 public bool HasField221 {
4271 get { return hasField221; }
4272 }
4273 public int Field221 {
4274 get { return field221_; }
4275 }
4276
4277 public const int Field222FieldNumber = 222;
4278 private bool hasField222;
4279 private float field222_ = 0F;
4280 public bool HasField222 {
4281 get { return hasField222; }
4282 }
4283 public float Field222 {
4284 get { return field222_; }
4285 }
4286
4287 public const int Field63FieldNumber = 63;
4288 private bool hasField63;
4289 private int field63_ = 0;
4290 public bool HasField63 {
4291 get { return hasField63; }
4292 }
4293 public int Field63 {
4294 get { return field63_; }
4295 }
4296
4297 public const int Group1FieldNumber = 10;
4298 private pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> group1_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1>();
4299 public scg::IList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
4300 get { return group1_; }
4301 }
4302 public int Group1Count {
4303 get { return group1_.Count; }
4304 }
4305 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
4306 return group1_[index];
4307 }
4308
4309 public const int Field128FieldNumber = 128;
4310 private pbc::PopsicleList<string> field128_ = new pbc::PopsicleList<string>();
4311 public scg::IList<string> Field128List {
4312 get { return pbc::Lists.AsReadOnly(field128_); }
4313 }
4314 public int Field128Count {
4315 get { return field128_.Count; }
4316 }
4317 public string GetField128(int index) {
4318 return field128_[index];
4319 }
4320
4321 public const int Field131FieldNumber = 131;
4322 private bool hasField131;
4323 private long field131_ = 0L;
4324 public bool HasField131 {
4325 get { return hasField131; }
4326 }
4327 public long Field131 {
4328 get { return field131_; }
4329 }
4330
4331 public const int Field127FieldNumber = 127;
4332 private pbc::PopsicleList<string> field127_ = new pbc::PopsicleList<string>();
4333 public scg::IList<string> Field127List {
4334 get { return pbc::Lists.AsReadOnly(field127_); }
4335 }
4336 public int Field127Count {
4337 get { return field127_.Count; }
4338 }
4339 public string GetField127(int index) {
4340 return field127_[index];
4341 }
4342
4343 public const int Field129FieldNumber = 129;
4344 private bool hasField129;
4345 private int field129_ = 0;
4346 public bool HasField129 {
4347 get { return hasField129; }
4348 }
4349 public int Field129 {
4350 get { return field129_; }
4351 }
4352
4353 public const int Field130FieldNumber = 130;
4354 private pbc::PopsicleList<long> field130_ = new pbc::PopsicleList<long>();
4355 public scg::IList<long> Field130List {
4356 get { return pbc::Lists.AsReadOnly(field130_); }
4357 }
4358 public int Field130Count {
4359 get { return field130_.Count; }
4360 }
4361 public long GetField130(int index) {
4362 return field130_[index];
4363 }
4364
4365 public const int Field205FieldNumber = 205;
4366 private bool hasField205;
4367 private bool field205_ = false;
4368 public bool HasField205 {
4369 get { return hasField205; }
4370 }
4371 public bool Field205 {
4372 get { return field205_; }
4373 }
4374
4375 public const int Field206FieldNumber = 206;
4376 private bool hasField206;
4377 private bool field206_ = false;
4378 public bool HasField206 {
4379 get { return hasField206; }
4380 }
4381 public bool Field206 {
4382 get { return field206_; }
4383 }
4384
4385 public override bool IsInitialized {
4386 get {
4387 return true;
4388 }
4389 }
4390
csharptestffafdaa2011-06-03 12:58:14 -05004391 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05004392 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05004393 string[] field_names = _speedMessage2FieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05004394 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -05004395 output.WriteString(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -05004396 }
csharptestc671a4b2011-06-08 11:51:24 -05004397 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -05004398 output.WriteBytes(2, field_names[7], Field2);
csharptest27bfcc52011-06-02 12:04:06 -05004399 }
csharptestc671a4b2011-06-08 11:51:24 -05004400 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -05004401 output.WriteInt64(3, field_names[22], Field3);
csharptest27bfcc52011-06-02 12:04:06 -05004402 }
csharptestc671a4b2011-06-08 11:51:24 -05004403 if (hasField4) {
csharptest920b09a2011-06-08 20:13:29 -05004404 output.WriteInt64(4, field_names[24], Field4);
csharptest27bfcc52011-06-02 12:04:06 -05004405 }
csharptestc671a4b2011-06-08 11:51:24 -05004406 if (hasField6) {
csharptest920b09a2011-06-08 20:13:29 -05004407 output.WriteString(6, field_names[25], Field6);
csharptest27bfcc52011-06-02 12:04:06 -05004408 }
csharptest90922db2011-06-03 11:57:47 -05004409 if (group1_.Count > 0) {
csharptest920b09a2011-06-08 20:13:29 -05004410 output.WriteArray(pbd::FieldType.Group, 10, field_names[29], group1_);
csharptest27bfcc52011-06-02 12:04:06 -05004411 }
csharptestc671a4b2011-06-08 11:51:24 -05004412 if (hasField21) {
csharptest920b09a2011-06-08 20:13:29 -05004413 output.WriteInt32(21, field_names[10], Field21);
csharptest27bfcc52011-06-02 12:04:06 -05004414 }
csharptestc671a4b2011-06-08 11:51:24 -05004415 if (hasField25) {
csharptest920b09a2011-06-08 20:13:29 -05004416 output.WriteFloat(25, field_names[21], Field25);
csharptest27bfcc52011-06-02 12:04:06 -05004417 }
csharptestc671a4b2011-06-08 11:51:24 -05004418 if (hasField30) {
csharptest920b09a2011-06-08 20:13:29 -05004419 output.WriteInt64(30, field_names[23], Field30);
csharptest27bfcc52011-06-02 12:04:06 -05004420 }
csharptestc671a4b2011-06-08 11:51:24 -05004421 if (hasField63) {
csharptest920b09a2011-06-08 20:13:29 -05004422 output.WriteInt32(63, field_names[26], Field63);
csharptest27bfcc52011-06-02 12:04:06 -05004423 }
csharptestc671a4b2011-06-08 11:51:24 -05004424 if (hasField71) {
csharptest920b09a2011-06-08 20:13:29 -05004425 output.WriteInt32(71, field_names[27], Field71);
csharptest27bfcc52011-06-02 12:04:06 -05004426 }
csharptestc671a4b2011-06-08 11:51:24 -05004427 if (hasField75) {
csharptest920b09a2011-06-08 20:13:29 -05004428 output.WriteBool(75, field_names[28], Field75);
csharptest27bfcc52011-06-02 12:04:06 -05004429 }
csharptestc671a4b2011-06-08 11:51:24 -05004430 if (hasField109) {
csharptest920b09a2011-06-08 20:13:29 -05004431 output.WriteInt32(109, field_names[1], Field109);
csharptest27bfcc52011-06-02 12:04:06 -05004432 }
4433 if (field127_.Count > 0) {
csharptest920b09a2011-06-08 20:13:29 -05004434 output.WriteArray(pbd::FieldType.String, 127, field_names[2], field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004435 }
4436 if (field128_.Count > 0) {
csharptest920b09a2011-06-08 20:13:29 -05004437 output.WriteArray(pbd::FieldType.String, 128, field_names[3], field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004438 }
csharptestc671a4b2011-06-08 11:51:24 -05004439 if (hasField129) {
csharptest920b09a2011-06-08 20:13:29 -05004440 output.WriteInt32(129, field_names[4], Field129);
csharptest27bfcc52011-06-02 12:04:06 -05004441 }
4442 if (field130_.Count > 0) {
csharptest920b09a2011-06-08 20:13:29 -05004443 output.WriteArray(pbd::FieldType.Int64, 130, field_names[5], field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004444 }
csharptestc671a4b2011-06-08 11:51:24 -05004445 if (hasField131) {
csharptest920b09a2011-06-08 20:13:29 -05004446 output.WriteInt64(131, field_names[6], Field131);
csharptest27bfcc52011-06-02 12:04:06 -05004447 }
csharptestc671a4b2011-06-08 11:51:24 -05004448 if (hasField205) {
csharptest920b09a2011-06-08 20:13:29 -05004449 output.WriteBool(205, field_names[8], Field205);
csharptest27bfcc52011-06-02 12:04:06 -05004450 }
csharptestc671a4b2011-06-08 11:51:24 -05004451 if (hasField206) {
csharptest920b09a2011-06-08 20:13:29 -05004452 output.WriteBool(206, field_names[9], Field206);
csharptest27bfcc52011-06-02 12:04:06 -05004453 }
csharptestc671a4b2011-06-08 11:51:24 -05004454 if (hasField210) {
csharptest920b09a2011-06-08 20:13:29 -05004455 output.WriteInt32(210, field_names[11], Field210);
csharptest27bfcc52011-06-02 12:04:06 -05004456 }
csharptestc671a4b2011-06-08 11:51:24 -05004457 if (hasField211) {
csharptest920b09a2011-06-08 20:13:29 -05004458 output.WriteInt32(211, field_names[12], Field211);
csharptest27bfcc52011-06-02 12:04:06 -05004459 }
csharptestc671a4b2011-06-08 11:51:24 -05004460 if (hasField212) {
csharptest920b09a2011-06-08 20:13:29 -05004461 output.WriteInt32(212, field_names[13], Field212);
csharptest27bfcc52011-06-02 12:04:06 -05004462 }
csharptestc671a4b2011-06-08 11:51:24 -05004463 if (hasField213) {
csharptest920b09a2011-06-08 20:13:29 -05004464 output.WriteInt32(213, field_names[14], Field213);
csharptest27bfcc52011-06-02 12:04:06 -05004465 }
csharptestc671a4b2011-06-08 11:51:24 -05004466 if (hasField216) {
csharptest920b09a2011-06-08 20:13:29 -05004467 output.WriteInt32(216, field_names[15], Field216);
csharptest27bfcc52011-06-02 12:04:06 -05004468 }
csharptestc671a4b2011-06-08 11:51:24 -05004469 if (hasField217) {
csharptest920b09a2011-06-08 20:13:29 -05004470 output.WriteInt32(217, field_names[16], Field217);
csharptest27bfcc52011-06-02 12:04:06 -05004471 }
csharptestc671a4b2011-06-08 11:51:24 -05004472 if (hasField218) {
csharptest920b09a2011-06-08 20:13:29 -05004473 output.WriteInt32(218, field_names[17], Field218);
csharptest27bfcc52011-06-02 12:04:06 -05004474 }
csharptestc671a4b2011-06-08 11:51:24 -05004475 if (hasField220) {
csharptest920b09a2011-06-08 20:13:29 -05004476 output.WriteInt32(220, field_names[18], Field220);
csharptest27bfcc52011-06-02 12:04:06 -05004477 }
csharptestc671a4b2011-06-08 11:51:24 -05004478 if (hasField221) {
csharptest920b09a2011-06-08 20:13:29 -05004479 output.WriteInt32(221, field_names[19], Field221);
csharptest27bfcc52011-06-02 12:04:06 -05004480 }
csharptestc671a4b2011-06-08 11:51:24 -05004481 if (hasField222) {
csharptest920b09a2011-06-08 20:13:29 -05004482 output.WriteFloat(222, field_names[20], Field222);
csharptest27bfcc52011-06-02 12:04:06 -05004483 }
4484 UnknownFields.WriteTo(output);
4485 }
4486
4487 private int memoizedSerializedSize = -1;
4488 public override int SerializedSize {
4489 get {
4490 int size = memoizedSerializedSize;
4491 if (size != -1) return size;
4492
4493 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05004494 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -05004495 size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
4496 }
csharptestc671a4b2011-06-08 11:51:24 -05004497 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -05004498 size += pb::CodedOutputStream.ComputeInt64Size(3, Field3);
4499 }
csharptestc671a4b2011-06-08 11:51:24 -05004500 if (hasField4) {
csharptest27bfcc52011-06-02 12:04:06 -05004501 size += pb::CodedOutputStream.ComputeInt64Size(4, Field4);
4502 }
csharptestc671a4b2011-06-08 11:51:24 -05004503 if (hasField30) {
csharptest27bfcc52011-06-02 12:04:06 -05004504 size += pb::CodedOutputStream.ComputeInt64Size(30, Field30);
4505 }
csharptestc671a4b2011-06-08 11:51:24 -05004506 if (hasField75) {
csharptest27bfcc52011-06-02 12:04:06 -05004507 size += pb::CodedOutputStream.ComputeBoolSize(75, Field75);
4508 }
csharptestc671a4b2011-06-08 11:51:24 -05004509 if (hasField6) {
csharptest27bfcc52011-06-02 12:04:06 -05004510 size += pb::CodedOutputStream.ComputeStringSize(6, Field6);
4511 }
csharptestc671a4b2011-06-08 11:51:24 -05004512 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -05004513 size += pb::CodedOutputStream.ComputeBytesSize(2, Field2);
4514 }
csharptestc671a4b2011-06-08 11:51:24 -05004515 if (hasField21) {
csharptest27bfcc52011-06-02 12:04:06 -05004516 size += pb::CodedOutputStream.ComputeInt32Size(21, Field21);
4517 }
csharptestc671a4b2011-06-08 11:51:24 -05004518 if (hasField71) {
csharptest27bfcc52011-06-02 12:04:06 -05004519 size += pb::CodedOutputStream.ComputeInt32Size(71, Field71);
4520 }
csharptestc671a4b2011-06-08 11:51:24 -05004521 if (hasField25) {
csharptest27bfcc52011-06-02 12:04:06 -05004522 size += pb::CodedOutputStream.ComputeFloatSize(25, Field25);
4523 }
csharptestc671a4b2011-06-08 11:51:24 -05004524 if (hasField109) {
csharptest27bfcc52011-06-02 12:04:06 -05004525 size += pb::CodedOutputStream.ComputeInt32Size(109, Field109);
4526 }
csharptestc671a4b2011-06-08 11:51:24 -05004527 if (hasField210) {
csharptest27bfcc52011-06-02 12:04:06 -05004528 size += pb::CodedOutputStream.ComputeInt32Size(210, Field210);
4529 }
csharptestc671a4b2011-06-08 11:51:24 -05004530 if (hasField211) {
csharptest27bfcc52011-06-02 12:04:06 -05004531 size += pb::CodedOutputStream.ComputeInt32Size(211, Field211);
4532 }
csharptestc671a4b2011-06-08 11:51:24 -05004533 if (hasField212) {
csharptest27bfcc52011-06-02 12:04:06 -05004534 size += pb::CodedOutputStream.ComputeInt32Size(212, Field212);
4535 }
csharptestc671a4b2011-06-08 11:51:24 -05004536 if (hasField213) {
csharptest27bfcc52011-06-02 12:04:06 -05004537 size += pb::CodedOutputStream.ComputeInt32Size(213, Field213);
4538 }
csharptestc671a4b2011-06-08 11:51:24 -05004539 if (hasField216) {
csharptest27bfcc52011-06-02 12:04:06 -05004540 size += pb::CodedOutputStream.ComputeInt32Size(216, Field216);
4541 }
csharptestc671a4b2011-06-08 11:51:24 -05004542 if (hasField217) {
csharptest27bfcc52011-06-02 12:04:06 -05004543 size += pb::CodedOutputStream.ComputeInt32Size(217, Field217);
4544 }
csharptestc671a4b2011-06-08 11:51:24 -05004545 if (hasField218) {
csharptest27bfcc52011-06-02 12:04:06 -05004546 size += pb::CodedOutputStream.ComputeInt32Size(218, Field218);
4547 }
csharptestc671a4b2011-06-08 11:51:24 -05004548 if (hasField220) {
csharptest27bfcc52011-06-02 12:04:06 -05004549 size += pb::CodedOutputStream.ComputeInt32Size(220, Field220);
4550 }
csharptestc671a4b2011-06-08 11:51:24 -05004551 if (hasField221) {
csharptest27bfcc52011-06-02 12:04:06 -05004552 size += pb::CodedOutputStream.ComputeInt32Size(221, Field221);
4553 }
csharptestc671a4b2011-06-08 11:51:24 -05004554 if (hasField222) {
csharptest27bfcc52011-06-02 12:04:06 -05004555 size += pb::CodedOutputStream.ComputeFloatSize(222, Field222);
4556 }
csharptestc671a4b2011-06-08 11:51:24 -05004557 if (hasField63) {
csharptest27bfcc52011-06-02 12:04:06 -05004558 size += pb::CodedOutputStream.ComputeInt32Size(63, Field63);
4559 }
4560 foreach (global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 element in Group1List) {
4561 size += pb::CodedOutputStream.ComputeGroupSize(10, element);
4562 }
4563 {
4564 int dataSize = 0;
4565 foreach (string element in Field128List) {
4566 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4567 }
4568 size += dataSize;
4569 size += 2 * field128_.Count;
4570 }
csharptestc671a4b2011-06-08 11:51:24 -05004571 if (hasField131) {
csharptest27bfcc52011-06-02 12:04:06 -05004572 size += pb::CodedOutputStream.ComputeInt64Size(131, Field131);
4573 }
4574 {
4575 int dataSize = 0;
4576 foreach (string element in Field127List) {
4577 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4578 }
4579 size += dataSize;
4580 size += 2 * field127_.Count;
4581 }
csharptestc671a4b2011-06-08 11:51:24 -05004582 if (hasField129) {
csharptest27bfcc52011-06-02 12:04:06 -05004583 size += pb::CodedOutputStream.ComputeInt32Size(129, Field129);
4584 }
4585 {
4586 int dataSize = 0;
4587 foreach (long element in Field130List) {
4588 dataSize += pb::CodedOutputStream.ComputeInt64SizeNoTag(element);
4589 }
4590 size += dataSize;
4591 size += 2 * field130_.Count;
4592 }
csharptestc671a4b2011-06-08 11:51:24 -05004593 if (hasField205) {
csharptest27bfcc52011-06-02 12:04:06 -05004594 size += pb::CodedOutputStream.ComputeBoolSize(205, Field205);
4595 }
csharptestc671a4b2011-06-08 11:51:24 -05004596 if (hasField206) {
csharptest27bfcc52011-06-02 12:04:06 -05004597 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
4598 }
4599 size += UnknownFields.SerializedSize;
4600 memoizedSerializedSize = size;
4601 return size;
4602 }
4603 }
4604
4605 public static SpeedMessage2 ParseFrom(pb::ByteString data) {
4606 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4607 }
4608 public static SpeedMessage2 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
4609 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4610 }
4611 public static SpeedMessage2 ParseFrom(byte[] data) {
4612 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4613 }
4614 public static SpeedMessage2 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
4615 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4616 }
4617 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input) {
4618 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4619 }
4620 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4621 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4622 }
4623 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input) {
4624 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
4625 }
4626 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4627 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
4628 }
csharptest17699c22011-06-03 21:57:15 -05004629 public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05004630 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4631 }
csharptest17699c22011-06-03 21:57:15 -05004632 public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05004633 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4634 }
4635 public static Builder CreateBuilder() { return new Builder(); }
4636 public override Builder ToBuilder() { return CreateBuilder(this); }
4637 public override Builder CreateBuilderForType() { return new Builder(); }
4638 public static Builder CreateBuilder(SpeedMessage2 prototype) {
4639 return (Builder) new Builder().MergeFrom(prototype);
4640 }
4641
4642 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4643 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
4644 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
4645 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2, Builder> {
4646 protected override Builder ThisBuilder {
4647 get { return this; }
4648 }
4649 public Builder() {}
4650
4651 SpeedMessage2 result = new SpeedMessage2();
4652
4653 protected override SpeedMessage2 MessageBeingBuilt {
4654 get { return result; }
4655 }
4656
4657 public override Builder Clear() {
4658 result = new SpeedMessage2();
4659 return this;
4660 }
4661
4662 public override Builder Clone() {
4663 return new Builder().MergeFrom(result);
4664 }
4665
4666 public override pbd::MessageDescriptor DescriptorForType {
4667 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Descriptor; }
4668 }
4669
4670 public override SpeedMessage2 DefaultInstanceForType {
4671 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance; }
4672 }
4673
4674 public override SpeedMessage2 BuildPartial() {
4675 if (result == null) {
4676 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
4677 }
4678 result.group1_.MakeReadOnly();
4679 result.field128_.MakeReadOnly();
4680 result.field127_.MakeReadOnly();
4681 result.field130_.MakeReadOnly();
4682 SpeedMessage2 returnMe = result;
4683 result = null;
4684 return returnMe;
4685 }
4686
4687 public override Builder MergeFrom(pb::IMessage other) {
4688 if (other is SpeedMessage2) {
4689 return MergeFrom((SpeedMessage2) other);
4690 } else {
4691 base.MergeFrom(other);
4692 return this;
4693 }
4694 }
4695
4696 public override Builder MergeFrom(SpeedMessage2 other) {
4697 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance) return this;
4698 if (other.HasField1) {
4699 Field1 = other.Field1;
4700 }
4701 if (other.HasField3) {
4702 Field3 = other.Field3;
4703 }
4704 if (other.HasField4) {
4705 Field4 = other.Field4;
4706 }
4707 if (other.HasField30) {
4708 Field30 = other.Field30;
4709 }
4710 if (other.HasField75) {
4711 Field75 = other.Field75;
4712 }
4713 if (other.HasField6) {
4714 Field6 = other.Field6;
4715 }
4716 if (other.HasField2) {
4717 Field2 = other.Field2;
4718 }
4719 if (other.HasField21) {
4720 Field21 = other.Field21;
4721 }
4722 if (other.HasField71) {
4723 Field71 = other.Field71;
4724 }
4725 if (other.HasField25) {
4726 Field25 = other.Field25;
4727 }
4728 if (other.HasField109) {
4729 Field109 = other.Field109;
4730 }
4731 if (other.HasField210) {
4732 Field210 = other.Field210;
4733 }
4734 if (other.HasField211) {
4735 Field211 = other.Field211;
4736 }
4737 if (other.HasField212) {
4738 Field212 = other.Field212;
4739 }
4740 if (other.HasField213) {
4741 Field213 = other.Field213;
4742 }
4743 if (other.HasField216) {
4744 Field216 = other.Field216;
4745 }
4746 if (other.HasField217) {
4747 Field217 = other.Field217;
4748 }
4749 if (other.HasField218) {
4750 Field218 = other.Field218;
4751 }
4752 if (other.HasField220) {
4753 Field220 = other.Field220;
4754 }
4755 if (other.HasField221) {
4756 Field221 = other.Field221;
4757 }
4758 if (other.HasField222) {
4759 Field222 = other.Field222;
4760 }
4761 if (other.HasField63) {
4762 Field63 = other.Field63;
4763 }
4764 if (other.group1_.Count != 0) {
4765 base.AddRange(other.group1_, result.group1_);
4766 }
4767 if (other.field128_.Count != 0) {
4768 base.AddRange(other.field128_, result.field128_);
4769 }
4770 if (other.HasField131) {
4771 Field131 = other.Field131;
4772 }
4773 if (other.field127_.Count != 0) {
4774 base.AddRange(other.field127_, result.field127_);
4775 }
4776 if (other.HasField129) {
4777 Field129 = other.Field129;
4778 }
4779 if (other.field130_.Count != 0) {
4780 base.AddRange(other.field130_, result.field130_);
4781 }
4782 if (other.HasField205) {
4783 Field205 = other.Field205;
4784 }
4785 if (other.HasField206) {
4786 Field206 = other.Field206;
4787 }
4788 this.MergeUnknownFields(other.UnknownFields);
4789 return this;
4790 }
4791
csharptest17699c22011-06-03 21:57:15 -05004792 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05004793 return MergeFrom(input, pb::ExtensionRegistry.Empty);
4794 }
4795
csharptest17699c22011-06-03 21:57:15 -05004796 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05004797 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05004798 uint tag;
4799 string field_name;
4800 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05004801 if(tag == 0 && field_name != null) {
4802 int field_ordinal = global::System.Array.BinarySearch(_speedMessage2FieldNames, field_name, global::System.StringComparer.Ordinal);
4803 if(field_ordinal >= 0)
4804 tag = _speedMessage2FieldTags[field_ordinal];
4805 else {
4806 if (unknownFields == null) {
4807 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4808 }
4809 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
4810 continue;
4811 }
4812 }
csharptest27bfcc52011-06-02 12:04:06 -05004813 switch (tag) {
4814 case 0: {
csharptest99284412011-06-03 14:51:06 -05004815 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05004816 }
4817 default: {
4818 if (pb::WireFormat.IsEndGroupTag(tag)) {
4819 if (unknownFields != null) {
4820 this.UnknownFields = unknownFields.Build();
4821 }
4822 return this;
4823 }
4824 if (unknownFields == null) {
4825 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4826 }
csharptestd2af9e92011-06-03 21:35:02 -05004827 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05004828 break;
4829 }
4830 case 10: {
csharptest920b09a2011-06-08 20:13:29 -05004831 result.hasField1 = input.ReadString(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05004832 break;
4833 }
4834 case 18: {
csharptest920b09a2011-06-08 20:13:29 -05004835 result.hasField2 = input.ReadBytes(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05004836 break;
4837 }
4838 case 24: {
csharptest920b09a2011-06-08 20:13:29 -05004839 result.hasField3 = input.ReadInt64(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05004840 break;
4841 }
4842 case 32: {
csharptest920b09a2011-06-08 20:13:29 -05004843 result.hasField4 = input.ReadInt64(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05004844 break;
4845 }
4846 case 50: {
csharptest920b09a2011-06-08 20:13:29 -05004847 result.hasField6 = input.ReadString(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05004848 break;
4849 }
4850 case 83: {
csharptestd2af9e92011-06-03 21:35:02 -05004851 input.ReadGroupArray(tag, field_name, result.group1_, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance, extensionRegistry);
csharptest27bfcc52011-06-02 12:04:06 -05004852 break;
4853 }
4854 case 168: {
csharptest920b09a2011-06-08 20:13:29 -05004855 result.hasField21 = input.ReadInt32(ref result.field21_);
csharptest27bfcc52011-06-02 12:04:06 -05004856 break;
4857 }
4858 case 205: {
csharptest920b09a2011-06-08 20:13:29 -05004859 result.hasField25 = input.ReadFloat(ref result.field25_);
csharptest27bfcc52011-06-02 12:04:06 -05004860 break;
4861 }
4862 case 240: {
csharptest920b09a2011-06-08 20:13:29 -05004863 result.hasField30 = input.ReadInt64(ref result.field30_);
csharptest27bfcc52011-06-02 12:04:06 -05004864 break;
4865 }
4866 case 504: {
csharptest920b09a2011-06-08 20:13:29 -05004867 result.hasField63 = input.ReadInt32(ref result.field63_);
csharptest27bfcc52011-06-02 12:04:06 -05004868 break;
4869 }
4870 case 568: {
csharptest920b09a2011-06-08 20:13:29 -05004871 result.hasField71 = input.ReadInt32(ref result.field71_);
csharptest27bfcc52011-06-02 12:04:06 -05004872 break;
4873 }
4874 case 600: {
csharptest920b09a2011-06-08 20:13:29 -05004875 result.hasField75 = input.ReadBool(ref result.field75_);
csharptest27bfcc52011-06-02 12:04:06 -05004876 break;
4877 }
4878 case 872: {
csharptest920b09a2011-06-08 20:13:29 -05004879 result.hasField109 = input.ReadInt32(ref result.field109_);
csharptest27bfcc52011-06-02 12:04:06 -05004880 break;
4881 }
4882 case 1018: {
csharptestd2af9e92011-06-03 21:35:02 -05004883 input.ReadPrimitiveArray(pbd::FieldType.String, tag, field_name, result.field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004884 break;
4885 }
4886 case 1026: {
csharptestd2af9e92011-06-03 21:35:02 -05004887 input.ReadPrimitiveArray(pbd::FieldType.String, tag, field_name, result.field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004888 break;
4889 }
4890 case 1032: {
csharptest920b09a2011-06-08 20:13:29 -05004891 result.hasField129 = input.ReadInt32(ref result.field129_);
csharptest27bfcc52011-06-02 12:04:06 -05004892 break;
4893 }
csharptest6da31702011-06-04 12:52:57 -05004894 case 1042:
csharptest27bfcc52011-06-02 12:04:06 -05004895 case 1040: {
csharptestd2af9e92011-06-03 21:35:02 -05004896 input.ReadPrimitiveArray(pbd::FieldType.Int64, tag, field_name, result.field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004897 break;
4898 }
4899 case 1048: {
csharptest920b09a2011-06-08 20:13:29 -05004900 result.hasField131 = input.ReadInt64(ref result.field131_);
csharptest27bfcc52011-06-02 12:04:06 -05004901 break;
4902 }
4903 case 1640: {
csharptest920b09a2011-06-08 20:13:29 -05004904 result.hasField205 = input.ReadBool(ref result.field205_);
csharptest27bfcc52011-06-02 12:04:06 -05004905 break;
4906 }
4907 case 1648: {
csharptest920b09a2011-06-08 20:13:29 -05004908 result.hasField206 = input.ReadBool(ref result.field206_);
csharptest27bfcc52011-06-02 12:04:06 -05004909 break;
4910 }
4911 case 1680: {
csharptest920b09a2011-06-08 20:13:29 -05004912 result.hasField210 = input.ReadInt32(ref result.field210_);
csharptest27bfcc52011-06-02 12:04:06 -05004913 break;
4914 }
4915 case 1688: {
csharptest920b09a2011-06-08 20:13:29 -05004916 result.hasField211 = input.ReadInt32(ref result.field211_);
csharptest27bfcc52011-06-02 12:04:06 -05004917 break;
4918 }
4919 case 1696: {
csharptest920b09a2011-06-08 20:13:29 -05004920 result.hasField212 = input.ReadInt32(ref result.field212_);
csharptest27bfcc52011-06-02 12:04:06 -05004921 break;
4922 }
4923 case 1704: {
csharptest920b09a2011-06-08 20:13:29 -05004924 result.hasField213 = input.ReadInt32(ref result.field213_);
csharptest27bfcc52011-06-02 12:04:06 -05004925 break;
4926 }
4927 case 1728: {
csharptest920b09a2011-06-08 20:13:29 -05004928 result.hasField216 = input.ReadInt32(ref result.field216_);
csharptest27bfcc52011-06-02 12:04:06 -05004929 break;
4930 }
4931 case 1736: {
csharptest920b09a2011-06-08 20:13:29 -05004932 result.hasField217 = input.ReadInt32(ref result.field217_);
csharptest27bfcc52011-06-02 12:04:06 -05004933 break;
4934 }
4935 case 1744: {
csharptest920b09a2011-06-08 20:13:29 -05004936 result.hasField218 = input.ReadInt32(ref result.field218_);
csharptest27bfcc52011-06-02 12:04:06 -05004937 break;
4938 }
4939 case 1760: {
csharptest920b09a2011-06-08 20:13:29 -05004940 result.hasField220 = input.ReadInt32(ref result.field220_);
csharptest27bfcc52011-06-02 12:04:06 -05004941 break;
4942 }
4943 case 1768: {
csharptest920b09a2011-06-08 20:13:29 -05004944 result.hasField221 = input.ReadInt32(ref result.field221_);
csharptest27bfcc52011-06-02 12:04:06 -05004945 break;
4946 }
4947 case 1781: {
csharptest920b09a2011-06-08 20:13:29 -05004948 result.hasField222 = input.ReadFloat(ref result.field222_);
csharptest27bfcc52011-06-02 12:04:06 -05004949 break;
4950 }
4951 }
4952 }
csharptest123e5342011-06-03 14:15:21 -05004953
4954 if (unknownFields != null) {
4955 this.UnknownFields = unknownFields.Build();
4956 }
4957 return this;
csharptest27bfcc52011-06-02 12:04:06 -05004958 }
4959
4960
4961 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05004962 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05004963 }
4964 public string Field1 {
4965 get { return result.Field1; }
4966 set { SetField1(value); }
4967 }
4968 public Builder SetField1(string value) {
4969 pb::ThrowHelper.ThrowIfNull(value, "value");
4970 result.hasField1 = true;
4971 result.field1_ = value;
4972 return this;
4973 }
4974 public Builder ClearField1() {
4975 result.hasField1 = false;
4976 result.field1_ = "";
4977 return this;
4978 }
4979
4980 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05004981 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05004982 }
4983 public long Field3 {
4984 get { return result.Field3; }
4985 set { SetField3(value); }
4986 }
4987 public Builder SetField3(long value) {
4988 result.hasField3 = true;
4989 result.field3_ = value;
4990 return this;
4991 }
4992 public Builder ClearField3() {
4993 result.hasField3 = false;
4994 result.field3_ = 0L;
4995 return this;
4996 }
4997
4998 public bool HasField4 {
csharptestc671a4b2011-06-08 11:51:24 -05004999 get { return result.hasField4; }
csharptest27bfcc52011-06-02 12:04:06 -05005000 }
5001 public long Field4 {
5002 get { return result.Field4; }
5003 set { SetField4(value); }
5004 }
5005 public Builder SetField4(long value) {
5006 result.hasField4 = true;
5007 result.field4_ = value;
5008 return this;
5009 }
5010 public Builder ClearField4() {
5011 result.hasField4 = false;
5012 result.field4_ = 0L;
5013 return this;
5014 }
5015
5016 public bool HasField30 {
csharptestc671a4b2011-06-08 11:51:24 -05005017 get { return result.hasField30; }
csharptest27bfcc52011-06-02 12:04:06 -05005018 }
5019 public long Field30 {
5020 get { return result.Field30; }
5021 set { SetField30(value); }
5022 }
5023 public Builder SetField30(long value) {
5024 result.hasField30 = true;
5025 result.field30_ = value;
5026 return this;
5027 }
5028 public Builder ClearField30() {
5029 result.hasField30 = false;
5030 result.field30_ = 0L;
5031 return this;
5032 }
5033
5034 public bool HasField75 {
csharptestc671a4b2011-06-08 11:51:24 -05005035 get { return result.hasField75; }
csharptest27bfcc52011-06-02 12:04:06 -05005036 }
5037 public bool Field75 {
5038 get { return result.Field75; }
5039 set { SetField75(value); }
5040 }
5041 public Builder SetField75(bool value) {
5042 result.hasField75 = true;
5043 result.field75_ = value;
5044 return this;
5045 }
5046 public Builder ClearField75() {
5047 result.hasField75 = false;
5048 result.field75_ = false;
5049 return this;
5050 }
5051
5052 public bool HasField6 {
csharptestc671a4b2011-06-08 11:51:24 -05005053 get { return result.hasField6; }
csharptest27bfcc52011-06-02 12:04:06 -05005054 }
5055 public string Field6 {
5056 get { return result.Field6; }
5057 set { SetField6(value); }
5058 }
5059 public Builder SetField6(string value) {
5060 pb::ThrowHelper.ThrowIfNull(value, "value");
5061 result.hasField6 = true;
5062 result.field6_ = value;
5063 return this;
5064 }
5065 public Builder ClearField6() {
5066 result.hasField6 = false;
5067 result.field6_ = "";
5068 return this;
5069 }
5070
5071 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05005072 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05005073 }
5074 public pb::ByteString Field2 {
5075 get { return result.Field2; }
5076 set { SetField2(value); }
5077 }
5078 public Builder SetField2(pb::ByteString value) {
5079 pb::ThrowHelper.ThrowIfNull(value, "value");
5080 result.hasField2 = true;
5081 result.field2_ = value;
5082 return this;
5083 }
5084 public Builder ClearField2() {
5085 result.hasField2 = false;
5086 result.field2_ = pb::ByteString.Empty;
5087 return this;
5088 }
5089
5090 public bool HasField21 {
csharptestc671a4b2011-06-08 11:51:24 -05005091 get { return result.hasField21; }
csharptest27bfcc52011-06-02 12:04:06 -05005092 }
5093 public int Field21 {
5094 get { return result.Field21; }
5095 set { SetField21(value); }
5096 }
5097 public Builder SetField21(int value) {
5098 result.hasField21 = true;
5099 result.field21_ = value;
5100 return this;
5101 }
5102 public Builder ClearField21() {
5103 result.hasField21 = false;
5104 result.field21_ = 0;
5105 return this;
5106 }
5107
5108 public bool HasField71 {
csharptestc671a4b2011-06-08 11:51:24 -05005109 get { return result.hasField71; }
csharptest27bfcc52011-06-02 12:04:06 -05005110 }
5111 public int Field71 {
5112 get { return result.Field71; }
5113 set { SetField71(value); }
5114 }
5115 public Builder SetField71(int value) {
5116 result.hasField71 = true;
5117 result.field71_ = value;
5118 return this;
5119 }
5120 public Builder ClearField71() {
5121 result.hasField71 = false;
5122 result.field71_ = 0;
5123 return this;
5124 }
5125
5126 public bool HasField25 {
csharptestc671a4b2011-06-08 11:51:24 -05005127 get { return result.hasField25; }
csharptest27bfcc52011-06-02 12:04:06 -05005128 }
5129 public float Field25 {
5130 get { return result.Field25; }
5131 set { SetField25(value); }
5132 }
5133 public Builder SetField25(float value) {
5134 result.hasField25 = true;
5135 result.field25_ = value;
5136 return this;
5137 }
5138 public Builder ClearField25() {
5139 result.hasField25 = false;
5140 result.field25_ = 0F;
5141 return this;
5142 }
5143
5144 public bool HasField109 {
csharptestc671a4b2011-06-08 11:51:24 -05005145 get { return result.hasField109; }
csharptest27bfcc52011-06-02 12:04:06 -05005146 }
5147 public int Field109 {
5148 get { return result.Field109; }
5149 set { SetField109(value); }
5150 }
5151 public Builder SetField109(int value) {
5152 result.hasField109 = true;
5153 result.field109_ = value;
5154 return this;
5155 }
5156 public Builder ClearField109() {
5157 result.hasField109 = false;
5158 result.field109_ = 0;
5159 return this;
5160 }
5161
5162 public bool HasField210 {
csharptestc671a4b2011-06-08 11:51:24 -05005163 get { return result.hasField210; }
csharptest27bfcc52011-06-02 12:04:06 -05005164 }
5165 public int Field210 {
5166 get { return result.Field210; }
5167 set { SetField210(value); }
5168 }
5169 public Builder SetField210(int value) {
5170 result.hasField210 = true;
5171 result.field210_ = value;
5172 return this;
5173 }
5174 public Builder ClearField210() {
5175 result.hasField210 = false;
5176 result.field210_ = 0;
5177 return this;
5178 }
5179
5180 public bool HasField211 {
csharptestc671a4b2011-06-08 11:51:24 -05005181 get { return result.hasField211; }
csharptest27bfcc52011-06-02 12:04:06 -05005182 }
5183 public int Field211 {
5184 get { return result.Field211; }
5185 set { SetField211(value); }
5186 }
5187 public Builder SetField211(int value) {
5188 result.hasField211 = true;
5189 result.field211_ = value;
5190 return this;
5191 }
5192 public Builder ClearField211() {
5193 result.hasField211 = false;
5194 result.field211_ = 0;
5195 return this;
5196 }
5197
5198 public bool HasField212 {
csharptestc671a4b2011-06-08 11:51:24 -05005199 get { return result.hasField212; }
csharptest27bfcc52011-06-02 12:04:06 -05005200 }
5201 public int Field212 {
5202 get { return result.Field212; }
5203 set { SetField212(value); }
5204 }
5205 public Builder SetField212(int value) {
5206 result.hasField212 = true;
5207 result.field212_ = value;
5208 return this;
5209 }
5210 public Builder ClearField212() {
5211 result.hasField212 = false;
5212 result.field212_ = 0;
5213 return this;
5214 }
5215
5216 public bool HasField213 {
csharptestc671a4b2011-06-08 11:51:24 -05005217 get { return result.hasField213; }
csharptest27bfcc52011-06-02 12:04:06 -05005218 }
5219 public int Field213 {
5220 get { return result.Field213; }
5221 set { SetField213(value); }
5222 }
5223 public Builder SetField213(int value) {
5224 result.hasField213 = true;
5225 result.field213_ = value;
5226 return this;
5227 }
5228 public Builder ClearField213() {
5229 result.hasField213 = false;
5230 result.field213_ = 0;
5231 return this;
5232 }
5233
5234 public bool HasField216 {
csharptestc671a4b2011-06-08 11:51:24 -05005235 get { return result.hasField216; }
csharptest27bfcc52011-06-02 12:04:06 -05005236 }
5237 public int Field216 {
5238 get { return result.Field216; }
5239 set { SetField216(value); }
5240 }
5241 public Builder SetField216(int value) {
5242 result.hasField216 = true;
5243 result.field216_ = value;
5244 return this;
5245 }
5246 public Builder ClearField216() {
5247 result.hasField216 = false;
5248 result.field216_ = 0;
5249 return this;
5250 }
5251
5252 public bool HasField217 {
csharptestc671a4b2011-06-08 11:51:24 -05005253 get { return result.hasField217; }
csharptest27bfcc52011-06-02 12:04:06 -05005254 }
5255 public int Field217 {
5256 get { return result.Field217; }
5257 set { SetField217(value); }
5258 }
5259 public Builder SetField217(int value) {
5260 result.hasField217 = true;
5261 result.field217_ = value;
5262 return this;
5263 }
5264 public Builder ClearField217() {
5265 result.hasField217 = false;
5266 result.field217_ = 0;
5267 return this;
5268 }
5269
5270 public bool HasField218 {
csharptestc671a4b2011-06-08 11:51:24 -05005271 get { return result.hasField218; }
csharptest27bfcc52011-06-02 12:04:06 -05005272 }
5273 public int Field218 {
5274 get { return result.Field218; }
5275 set { SetField218(value); }
5276 }
5277 public Builder SetField218(int value) {
5278 result.hasField218 = true;
5279 result.field218_ = value;
5280 return this;
5281 }
5282 public Builder ClearField218() {
5283 result.hasField218 = false;
5284 result.field218_ = 0;
5285 return this;
5286 }
5287
5288 public bool HasField220 {
csharptestc671a4b2011-06-08 11:51:24 -05005289 get { return result.hasField220; }
csharptest27bfcc52011-06-02 12:04:06 -05005290 }
5291 public int Field220 {
5292 get { return result.Field220; }
5293 set { SetField220(value); }
5294 }
5295 public Builder SetField220(int value) {
5296 result.hasField220 = true;
5297 result.field220_ = value;
5298 return this;
5299 }
5300 public Builder ClearField220() {
5301 result.hasField220 = false;
5302 result.field220_ = 0;
5303 return this;
5304 }
5305
5306 public bool HasField221 {
csharptestc671a4b2011-06-08 11:51:24 -05005307 get { return result.hasField221; }
csharptest27bfcc52011-06-02 12:04:06 -05005308 }
5309 public int Field221 {
5310 get { return result.Field221; }
5311 set { SetField221(value); }
5312 }
5313 public Builder SetField221(int value) {
5314 result.hasField221 = true;
5315 result.field221_ = value;
5316 return this;
5317 }
5318 public Builder ClearField221() {
5319 result.hasField221 = false;
5320 result.field221_ = 0;
5321 return this;
5322 }
5323
5324 public bool HasField222 {
csharptestc671a4b2011-06-08 11:51:24 -05005325 get { return result.hasField222; }
csharptest27bfcc52011-06-02 12:04:06 -05005326 }
5327 public float Field222 {
5328 get { return result.Field222; }
5329 set { SetField222(value); }
5330 }
5331 public Builder SetField222(float value) {
5332 result.hasField222 = true;
5333 result.field222_ = value;
5334 return this;
5335 }
5336 public Builder ClearField222() {
5337 result.hasField222 = false;
5338 result.field222_ = 0F;
5339 return this;
5340 }
5341
5342 public bool HasField63 {
csharptestc671a4b2011-06-08 11:51:24 -05005343 get { return result.hasField63; }
csharptest27bfcc52011-06-02 12:04:06 -05005344 }
5345 public int Field63 {
5346 get { return result.Field63; }
5347 set { SetField63(value); }
5348 }
5349 public Builder SetField63(int value) {
5350 result.hasField63 = true;
5351 result.field63_ = value;
5352 return this;
5353 }
5354 public Builder ClearField63() {
5355 result.hasField63 = false;
5356 result.field63_ = 0;
5357 return this;
5358 }
5359
5360 public pbc::IPopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
5361 get { return result.group1_; }
5362 }
5363 public int Group1Count {
5364 get { return result.Group1Count; }
5365 }
5366 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
5367 return result.GetGroup1(index);
5368 }
5369 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5370 pb::ThrowHelper.ThrowIfNull(value, "value");
5371 result.group1_[index] = value;
5372 return this;
5373 }
5374 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5375 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5376 result.group1_[index] = builderForValue.Build();
5377 return this;
5378 }
5379 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5380 pb::ThrowHelper.ThrowIfNull(value, "value");
5381 result.group1_.Add(value);
5382 return this;
5383 }
5384 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5385 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5386 result.group1_.Add(builderForValue.Build());
5387 return this;
5388 }
5389 public Builder AddRangeGroup1(scg::IEnumerable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> values) {
5390 base.AddRange(values, result.group1_);
5391 return this;
5392 }
5393 public Builder ClearGroup1() {
5394 result.group1_.Clear();
5395 return this;
5396 }
5397
5398 public pbc::IPopsicleList<string> Field128List {
5399 get { return result.field128_; }
5400 }
5401 public int Field128Count {
5402 get { return result.Field128Count; }
5403 }
5404 public string GetField128(int index) {
5405 return result.GetField128(index);
5406 }
5407 public Builder SetField128(int index, string value) {
5408 pb::ThrowHelper.ThrowIfNull(value, "value");
5409 result.field128_[index] = value;
5410 return this;
5411 }
5412 public Builder AddField128(string value) {
5413 pb::ThrowHelper.ThrowIfNull(value, "value");
5414 result.field128_.Add(value);
5415 return this;
5416 }
5417 public Builder AddRangeField128(scg::IEnumerable<string> values) {
5418 base.AddRange(values, result.field128_);
5419 return this;
5420 }
5421 public Builder ClearField128() {
5422 result.field128_.Clear();
5423 return this;
5424 }
5425
5426 public bool HasField131 {
csharptestc671a4b2011-06-08 11:51:24 -05005427 get { return result.hasField131; }
csharptest27bfcc52011-06-02 12:04:06 -05005428 }
5429 public long Field131 {
5430 get { return result.Field131; }
5431 set { SetField131(value); }
5432 }
5433 public Builder SetField131(long value) {
5434 result.hasField131 = true;
5435 result.field131_ = value;
5436 return this;
5437 }
5438 public Builder ClearField131() {
5439 result.hasField131 = false;
5440 result.field131_ = 0L;
5441 return this;
5442 }
5443
5444 public pbc::IPopsicleList<string> Field127List {
5445 get { return result.field127_; }
5446 }
5447 public int Field127Count {
5448 get { return result.Field127Count; }
5449 }
5450 public string GetField127(int index) {
5451 return result.GetField127(index);
5452 }
5453 public Builder SetField127(int index, string value) {
5454 pb::ThrowHelper.ThrowIfNull(value, "value");
5455 result.field127_[index] = value;
5456 return this;
5457 }
5458 public Builder AddField127(string value) {
5459 pb::ThrowHelper.ThrowIfNull(value, "value");
5460 result.field127_.Add(value);
5461 return this;
5462 }
5463 public Builder AddRangeField127(scg::IEnumerable<string> values) {
5464 base.AddRange(values, result.field127_);
5465 return this;
5466 }
5467 public Builder ClearField127() {
5468 result.field127_.Clear();
5469 return this;
5470 }
5471
5472 public bool HasField129 {
csharptestc671a4b2011-06-08 11:51:24 -05005473 get { return result.hasField129; }
csharptest27bfcc52011-06-02 12:04:06 -05005474 }
5475 public int Field129 {
5476 get { return result.Field129; }
5477 set { SetField129(value); }
5478 }
5479 public Builder SetField129(int value) {
5480 result.hasField129 = true;
5481 result.field129_ = value;
5482 return this;
5483 }
5484 public Builder ClearField129() {
5485 result.hasField129 = false;
5486 result.field129_ = 0;
5487 return this;
5488 }
5489
5490 public pbc::IPopsicleList<long> Field130List {
5491 get { return result.field130_; }
5492 }
5493 public int Field130Count {
5494 get { return result.Field130Count; }
5495 }
5496 public long GetField130(int index) {
5497 return result.GetField130(index);
5498 }
5499 public Builder SetField130(int index, long value) {
5500 result.field130_[index] = value;
5501 return this;
5502 }
5503 public Builder AddField130(long value) {
5504 result.field130_.Add(value);
5505 return this;
5506 }
5507 public Builder AddRangeField130(scg::IEnumerable<long> values) {
5508 base.AddRange(values, result.field130_);
5509 return this;
5510 }
5511 public Builder ClearField130() {
5512 result.field130_.Clear();
5513 return this;
5514 }
5515
5516 public bool HasField205 {
csharptestc671a4b2011-06-08 11:51:24 -05005517 get { return result.hasField205; }
csharptest27bfcc52011-06-02 12:04:06 -05005518 }
5519 public bool Field205 {
5520 get { return result.Field205; }
5521 set { SetField205(value); }
5522 }
5523 public Builder SetField205(bool value) {
5524 result.hasField205 = true;
5525 result.field205_ = value;
5526 return this;
5527 }
5528 public Builder ClearField205() {
5529 result.hasField205 = false;
5530 result.field205_ = false;
5531 return this;
5532 }
5533
5534 public bool HasField206 {
csharptestc671a4b2011-06-08 11:51:24 -05005535 get { return result.hasField206; }
csharptest27bfcc52011-06-02 12:04:06 -05005536 }
5537 public bool Field206 {
5538 get { return result.Field206; }
5539 set { SetField206(value); }
5540 }
5541 public Builder SetField206(bool value) {
5542 result.hasField206 = true;
5543 result.field206_ = value;
5544 return this;
5545 }
5546 public Builder ClearField206() {
5547 result.hasField206 = false;
5548 result.field206_ = false;
5549 return this;
5550 }
5551 }
5552 static SpeedMessage2() {
5553 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
5554 }
5555 }
5556
5557 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5558 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5559 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5560 public sealed partial class SpeedMessage2GroupedMessage : pb::GeneratedMessage<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> {
5561 private static readonly SpeedMessage2GroupedMessage defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05005562 private static readonly string[] _speedMessage2GroupedMessageFieldNames = new string[] { "field1", "field10", "field11", "field2", "field3", "field4", "field5", "field6", "field7", "field8", "field9" };
5563 private static readonly uint[] _speedMessage2GroupedMessageFieldTags = new uint[] { 13, 85, 88, 21, 29, 32, 40, 48, 56, 69, 72 };
csharptest27bfcc52011-06-02 12:04:06 -05005564 public static SpeedMessage2GroupedMessage DefaultInstance {
5565 get { return defaultInstance; }
5566 }
5567
5568 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5569 get { return defaultInstance; }
5570 }
5571
5572 protected override SpeedMessage2GroupedMessage ThisMessage {
5573 get { return this; }
5574 }
5575
5576 public static pbd::MessageDescriptor Descriptor {
5577 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor; }
5578 }
5579
5580 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> InternalFieldAccessors {
5581 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable; }
5582 }
5583
5584 public const int Field1FieldNumber = 1;
5585 private bool hasField1;
5586 private float field1_ = 0F;
5587 public bool HasField1 {
5588 get { return hasField1; }
5589 }
5590 public float Field1 {
5591 get { return field1_; }
5592 }
5593
5594 public const int Field2FieldNumber = 2;
5595 private bool hasField2;
5596 private float field2_ = 0F;
5597 public bool HasField2 {
5598 get { return hasField2; }
5599 }
5600 public float Field2 {
5601 get { return field2_; }
5602 }
5603
5604 public const int Field3FieldNumber = 3;
5605 private bool hasField3;
5606 private float field3_ = 0F;
5607 public bool HasField3 {
5608 get { return hasField3; }
5609 }
5610 public float Field3 {
5611 get { return field3_; }
5612 }
5613
5614 public const int Field4FieldNumber = 4;
5615 private bool hasField4;
5616 private bool field4_ = false;
5617 public bool HasField4 {
5618 get { return hasField4; }
5619 }
5620 public bool Field4 {
5621 get { return field4_; }
5622 }
5623
5624 public const int Field5FieldNumber = 5;
5625 private bool hasField5;
5626 private bool field5_ = false;
5627 public bool HasField5 {
5628 get { return hasField5; }
5629 }
5630 public bool Field5 {
5631 get { return field5_; }
5632 }
5633
5634 public const int Field6FieldNumber = 6;
5635 private bool hasField6;
5636 private bool field6_ = true;
5637 public bool HasField6 {
5638 get { return hasField6; }
5639 }
5640 public bool Field6 {
5641 get { return field6_; }
5642 }
5643
5644 public const int Field7FieldNumber = 7;
5645 private bool hasField7;
5646 private bool field7_ = false;
5647 public bool HasField7 {
5648 get { return hasField7; }
5649 }
5650 public bool Field7 {
5651 get { return field7_; }
5652 }
5653
5654 public const int Field8FieldNumber = 8;
5655 private bool hasField8;
5656 private float field8_ = 0F;
5657 public bool HasField8 {
5658 get { return hasField8; }
5659 }
5660 public float Field8 {
5661 get { return field8_; }
5662 }
5663
5664 public const int Field9FieldNumber = 9;
5665 private bool hasField9;
5666 private bool field9_ = false;
5667 public bool HasField9 {
5668 get { return hasField9; }
5669 }
5670 public bool Field9 {
5671 get { return field9_; }
5672 }
5673
5674 public const int Field10FieldNumber = 10;
5675 private bool hasField10;
5676 private float field10_ = 0F;
5677 public bool HasField10 {
5678 get { return hasField10; }
5679 }
5680 public float Field10 {
5681 get { return field10_; }
5682 }
5683
5684 public const int Field11FieldNumber = 11;
5685 private bool hasField11;
5686 private long field11_ = 0L;
5687 public bool HasField11 {
5688 get { return hasField11; }
5689 }
5690 public long Field11 {
5691 get { return field11_; }
5692 }
5693
5694 public override bool IsInitialized {
5695 get {
5696 return true;
5697 }
5698 }
5699
csharptestffafdaa2011-06-03 12:58:14 -05005700 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05005701 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05005702 string[] field_names = _speedMessage2GroupedMessageFieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05005703 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -05005704 output.WriteFloat(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -05005705 }
csharptestc671a4b2011-06-08 11:51:24 -05005706 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -05005707 output.WriteFloat(2, field_names[3], Field2);
csharptest27bfcc52011-06-02 12:04:06 -05005708 }
csharptestc671a4b2011-06-08 11:51:24 -05005709 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -05005710 output.WriteFloat(3, field_names[4], Field3);
csharptest27bfcc52011-06-02 12:04:06 -05005711 }
csharptestc671a4b2011-06-08 11:51:24 -05005712 if (hasField4) {
csharptest920b09a2011-06-08 20:13:29 -05005713 output.WriteBool(4, field_names[5], Field4);
csharptest27bfcc52011-06-02 12:04:06 -05005714 }
csharptestc671a4b2011-06-08 11:51:24 -05005715 if (hasField5) {
csharptest920b09a2011-06-08 20:13:29 -05005716 output.WriteBool(5, field_names[6], Field5);
csharptest27bfcc52011-06-02 12:04:06 -05005717 }
csharptestc671a4b2011-06-08 11:51:24 -05005718 if (hasField6) {
csharptest920b09a2011-06-08 20:13:29 -05005719 output.WriteBool(6, field_names[7], Field6);
csharptest27bfcc52011-06-02 12:04:06 -05005720 }
csharptestc671a4b2011-06-08 11:51:24 -05005721 if (hasField7) {
csharptest920b09a2011-06-08 20:13:29 -05005722 output.WriteBool(7, field_names[8], Field7);
csharptest27bfcc52011-06-02 12:04:06 -05005723 }
csharptestc671a4b2011-06-08 11:51:24 -05005724 if (hasField8) {
csharptest920b09a2011-06-08 20:13:29 -05005725 output.WriteFloat(8, field_names[9], Field8);
csharptest27bfcc52011-06-02 12:04:06 -05005726 }
csharptestc671a4b2011-06-08 11:51:24 -05005727 if (hasField9) {
csharptest920b09a2011-06-08 20:13:29 -05005728 output.WriteBool(9, field_names[10], Field9);
csharptest27bfcc52011-06-02 12:04:06 -05005729 }
csharptestc671a4b2011-06-08 11:51:24 -05005730 if (hasField10) {
csharptest920b09a2011-06-08 20:13:29 -05005731 output.WriteFloat(10, field_names[1], Field10);
csharptest27bfcc52011-06-02 12:04:06 -05005732 }
csharptestc671a4b2011-06-08 11:51:24 -05005733 if (hasField11) {
csharptest920b09a2011-06-08 20:13:29 -05005734 output.WriteInt64(11, field_names[2], Field11);
csharptest27bfcc52011-06-02 12:04:06 -05005735 }
5736 UnknownFields.WriteTo(output);
5737 }
5738
5739 private int memoizedSerializedSize = -1;
5740 public override int SerializedSize {
5741 get {
5742 int size = memoizedSerializedSize;
5743 if (size != -1) return size;
5744
5745 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05005746 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -05005747 size += pb::CodedOutputStream.ComputeFloatSize(1, Field1);
5748 }
csharptestc671a4b2011-06-08 11:51:24 -05005749 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -05005750 size += pb::CodedOutputStream.ComputeFloatSize(2, Field2);
5751 }
csharptestc671a4b2011-06-08 11:51:24 -05005752 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -05005753 size += pb::CodedOutputStream.ComputeFloatSize(3, Field3);
5754 }
csharptestc671a4b2011-06-08 11:51:24 -05005755 if (hasField4) {
csharptest27bfcc52011-06-02 12:04:06 -05005756 size += pb::CodedOutputStream.ComputeBoolSize(4, Field4);
5757 }
csharptestc671a4b2011-06-08 11:51:24 -05005758 if (hasField5) {
csharptest27bfcc52011-06-02 12:04:06 -05005759 size += pb::CodedOutputStream.ComputeBoolSize(5, Field5);
5760 }
csharptestc671a4b2011-06-08 11:51:24 -05005761 if (hasField6) {
csharptest27bfcc52011-06-02 12:04:06 -05005762 size += pb::CodedOutputStream.ComputeBoolSize(6, Field6);
5763 }
csharptestc671a4b2011-06-08 11:51:24 -05005764 if (hasField7) {
csharptest27bfcc52011-06-02 12:04:06 -05005765 size += pb::CodedOutputStream.ComputeBoolSize(7, Field7);
5766 }
csharptestc671a4b2011-06-08 11:51:24 -05005767 if (hasField8) {
csharptest27bfcc52011-06-02 12:04:06 -05005768 size += pb::CodedOutputStream.ComputeFloatSize(8, Field8);
5769 }
csharptestc671a4b2011-06-08 11:51:24 -05005770 if (hasField9) {
csharptest27bfcc52011-06-02 12:04:06 -05005771 size += pb::CodedOutputStream.ComputeBoolSize(9, Field9);
5772 }
csharptestc671a4b2011-06-08 11:51:24 -05005773 if (hasField10) {
csharptest27bfcc52011-06-02 12:04:06 -05005774 size += pb::CodedOutputStream.ComputeFloatSize(10, Field10);
5775 }
csharptestc671a4b2011-06-08 11:51:24 -05005776 if (hasField11) {
csharptest27bfcc52011-06-02 12:04:06 -05005777 size += pb::CodedOutputStream.ComputeInt64Size(11, Field11);
5778 }
5779 size += UnknownFields.SerializedSize;
5780 memoizedSerializedSize = size;
5781 return size;
5782 }
5783 }
5784
5785 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data) {
5786 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5787 }
5788 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
5789 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5790 }
5791 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data) {
5792 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5793 }
5794 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
5795 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5796 }
5797 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input) {
5798 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5799 }
5800 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5801 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5802 }
5803 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input) {
5804 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
5805 }
5806 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5807 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
5808 }
csharptest17699c22011-06-03 21:57:15 -05005809 public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05005810 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5811 }
csharptest17699c22011-06-03 21:57:15 -05005812 public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05005813 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5814 }
5815 public static Builder CreateBuilder() { return new Builder(); }
5816 public override Builder ToBuilder() { return CreateBuilder(this); }
5817 public override Builder CreateBuilderForType() { return new Builder(); }
5818 public static Builder CreateBuilder(SpeedMessage2GroupedMessage prototype) {
5819 return (Builder) new Builder().MergeFrom(prototype);
5820 }
5821
5822 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5823 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5824 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5825 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2GroupedMessage, Builder> {
5826 protected override Builder ThisBuilder {
5827 get { return this; }
5828 }
5829 public Builder() {}
5830
5831 SpeedMessage2GroupedMessage result = new SpeedMessage2GroupedMessage();
5832
5833 protected override SpeedMessage2GroupedMessage MessageBeingBuilt {
5834 get { return result; }
5835 }
5836
5837 public override Builder Clear() {
5838 result = new SpeedMessage2GroupedMessage();
5839 return this;
5840 }
5841
5842 public override Builder Clone() {
5843 return new Builder().MergeFrom(result);
5844 }
5845
5846 public override pbd::MessageDescriptor DescriptorForType {
5847 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Descriptor; }
5848 }
5849
5850 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5851 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance; }
5852 }
5853
5854 public override SpeedMessage2GroupedMessage BuildPartial() {
5855 if (result == null) {
5856 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
5857 }
5858 SpeedMessage2GroupedMessage returnMe = result;
5859 result = null;
5860 return returnMe;
5861 }
5862
5863 public override Builder MergeFrom(pb::IMessage other) {
5864 if (other is SpeedMessage2GroupedMessage) {
5865 return MergeFrom((SpeedMessage2GroupedMessage) other);
5866 } else {
5867 base.MergeFrom(other);
5868 return this;
5869 }
5870 }
5871
5872 public override Builder MergeFrom(SpeedMessage2GroupedMessage other) {
5873 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) return this;
5874 if (other.HasField1) {
5875 Field1 = other.Field1;
5876 }
5877 if (other.HasField2) {
5878 Field2 = other.Field2;
5879 }
5880 if (other.HasField3) {
5881 Field3 = other.Field3;
5882 }
5883 if (other.HasField4) {
5884 Field4 = other.Field4;
5885 }
5886 if (other.HasField5) {
5887 Field5 = other.Field5;
5888 }
5889 if (other.HasField6) {
5890 Field6 = other.Field6;
5891 }
5892 if (other.HasField7) {
5893 Field7 = other.Field7;
5894 }
5895 if (other.HasField8) {
5896 Field8 = other.Field8;
5897 }
5898 if (other.HasField9) {
5899 Field9 = other.Field9;
5900 }
5901 if (other.HasField10) {
5902 Field10 = other.Field10;
5903 }
5904 if (other.HasField11) {
5905 Field11 = other.Field11;
5906 }
5907 this.MergeUnknownFields(other.UnknownFields);
5908 return this;
5909 }
5910
csharptest17699c22011-06-03 21:57:15 -05005911 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05005912 return MergeFrom(input, pb::ExtensionRegistry.Empty);
5913 }
5914
csharptest17699c22011-06-03 21:57:15 -05005915 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05005916 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05005917 uint tag;
5918 string field_name;
5919 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05005920 if(tag == 0 && field_name != null) {
5921 int field_ordinal = global::System.Array.BinarySearch(_speedMessage2GroupedMessageFieldNames, field_name, global::System.StringComparer.Ordinal);
5922 if(field_ordinal >= 0)
5923 tag = _speedMessage2GroupedMessageFieldTags[field_ordinal];
5924 else {
5925 if (unknownFields == null) {
5926 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5927 }
5928 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
5929 continue;
5930 }
5931 }
csharptest27bfcc52011-06-02 12:04:06 -05005932 switch (tag) {
5933 case 0: {
csharptest99284412011-06-03 14:51:06 -05005934 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05005935 }
5936 default: {
5937 if (pb::WireFormat.IsEndGroupTag(tag)) {
5938 if (unknownFields != null) {
5939 this.UnknownFields = unknownFields.Build();
5940 }
5941 return this;
5942 }
5943 if (unknownFields == null) {
5944 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5945 }
csharptestd2af9e92011-06-03 21:35:02 -05005946 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05005947 break;
5948 }
5949 case 13: {
csharptest920b09a2011-06-08 20:13:29 -05005950 result.hasField1 = input.ReadFloat(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05005951 break;
5952 }
5953 case 21: {
csharptest920b09a2011-06-08 20:13:29 -05005954 result.hasField2 = input.ReadFloat(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05005955 break;
5956 }
5957 case 29: {
csharptest920b09a2011-06-08 20:13:29 -05005958 result.hasField3 = input.ReadFloat(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05005959 break;
5960 }
5961 case 32: {
csharptest920b09a2011-06-08 20:13:29 -05005962 result.hasField4 = input.ReadBool(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05005963 break;
5964 }
5965 case 40: {
csharptest920b09a2011-06-08 20:13:29 -05005966 result.hasField5 = input.ReadBool(ref result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05005967 break;
5968 }
5969 case 48: {
csharptest920b09a2011-06-08 20:13:29 -05005970 result.hasField6 = input.ReadBool(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05005971 break;
5972 }
5973 case 56: {
csharptest920b09a2011-06-08 20:13:29 -05005974 result.hasField7 = input.ReadBool(ref result.field7_);
csharptest27bfcc52011-06-02 12:04:06 -05005975 break;
5976 }
5977 case 69: {
csharptest920b09a2011-06-08 20:13:29 -05005978 result.hasField8 = input.ReadFloat(ref result.field8_);
csharptest27bfcc52011-06-02 12:04:06 -05005979 break;
5980 }
5981 case 72: {
csharptest920b09a2011-06-08 20:13:29 -05005982 result.hasField9 = input.ReadBool(ref result.field9_);
csharptest27bfcc52011-06-02 12:04:06 -05005983 break;
5984 }
5985 case 85: {
csharptest920b09a2011-06-08 20:13:29 -05005986 result.hasField10 = input.ReadFloat(ref result.field10_);
csharptest27bfcc52011-06-02 12:04:06 -05005987 break;
5988 }
5989 case 88: {
csharptest920b09a2011-06-08 20:13:29 -05005990 result.hasField11 = input.ReadInt64(ref result.field11_);
csharptest27bfcc52011-06-02 12:04:06 -05005991 break;
5992 }
5993 }
5994 }
csharptest123e5342011-06-03 14:15:21 -05005995
5996 if (unknownFields != null) {
5997 this.UnknownFields = unknownFields.Build();
5998 }
5999 return this;
csharptest27bfcc52011-06-02 12:04:06 -05006000 }
6001
6002
6003 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05006004 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05006005 }
6006 public float Field1 {
6007 get { return result.Field1; }
6008 set { SetField1(value); }
6009 }
6010 public Builder SetField1(float value) {
6011 result.hasField1 = true;
6012 result.field1_ = value;
6013 return this;
6014 }
6015 public Builder ClearField1() {
6016 result.hasField1 = false;
6017 result.field1_ = 0F;
6018 return this;
6019 }
6020
6021 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05006022 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05006023 }
6024 public float Field2 {
6025 get { return result.Field2; }
6026 set { SetField2(value); }
6027 }
6028 public Builder SetField2(float value) {
6029 result.hasField2 = true;
6030 result.field2_ = value;
6031 return this;
6032 }
6033 public Builder ClearField2() {
6034 result.hasField2 = false;
6035 result.field2_ = 0F;
6036 return this;
6037 }
6038
6039 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05006040 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05006041 }
6042 public float Field3 {
6043 get { return result.Field3; }
6044 set { SetField3(value); }
6045 }
6046 public Builder SetField3(float value) {
6047 result.hasField3 = true;
6048 result.field3_ = value;
6049 return this;
6050 }
6051 public Builder ClearField3() {
6052 result.hasField3 = false;
6053 result.field3_ = 0F;
6054 return this;
6055 }
6056
6057 public bool HasField4 {
csharptestc671a4b2011-06-08 11:51:24 -05006058 get { return result.hasField4; }
csharptest27bfcc52011-06-02 12:04:06 -05006059 }
6060 public bool Field4 {
6061 get { return result.Field4; }
6062 set { SetField4(value); }
6063 }
6064 public Builder SetField4(bool value) {
6065 result.hasField4 = true;
6066 result.field4_ = value;
6067 return this;
6068 }
6069 public Builder ClearField4() {
6070 result.hasField4 = false;
6071 result.field4_ = false;
6072 return this;
6073 }
6074
6075 public bool HasField5 {
csharptestc671a4b2011-06-08 11:51:24 -05006076 get { return result.hasField5; }
csharptest27bfcc52011-06-02 12:04:06 -05006077 }
6078 public bool Field5 {
6079 get { return result.Field5; }
6080 set { SetField5(value); }
6081 }
6082 public Builder SetField5(bool value) {
6083 result.hasField5 = true;
6084 result.field5_ = value;
6085 return this;
6086 }
6087 public Builder ClearField5() {
6088 result.hasField5 = false;
6089 result.field5_ = false;
6090 return this;
6091 }
6092
6093 public bool HasField6 {
csharptestc671a4b2011-06-08 11:51:24 -05006094 get { return result.hasField6; }
csharptest27bfcc52011-06-02 12:04:06 -05006095 }
6096 public bool Field6 {
6097 get { return result.Field6; }
6098 set { SetField6(value); }
6099 }
6100 public Builder SetField6(bool value) {
6101 result.hasField6 = true;
6102 result.field6_ = value;
6103 return this;
6104 }
6105 public Builder ClearField6() {
6106 result.hasField6 = false;
6107 result.field6_ = true;
6108 return this;
6109 }
6110
6111 public bool HasField7 {
csharptestc671a4b2011-06-08 11:51:24 -05006112 get { return result.hasField7; }
csharptest27bfcc52011-06-02 12:04:06 -05006113 }
6114 public bool Field7 {
6115 get { return result.Field7; }
6116 set { SetField7(value); }
6117 }
6118 public Builder SetField7(bool value) {
6119 result.hasField7 = true;
6120 result.field7_ = value;
6121 return this;
6122 }
6123 public Builder ClearField7() {
6124 result.hasField7 = false;
6125 result.field7_ = false;
6126 return this;
6127 }
6128
6129 public bool HasField8 {
csharptestc671a4b2011-06-08 11:51:24 -05006130 get { return result.hasField8; }
csharptest27bfcc52011-06-02 12:04:06 -05006131 }
6132 public float Field8 {
6133 get { return result.Field8; }
6134 set { SetField8(value); }
6135 }
6136 public Builder SetField8(float value) {
6137 result.hasField8 = true;
6138 result.field8_ = value;
6139 return this;
6140 }
6141 public Builder ClearField8() {
6142 result.hasField8 = false;
6143 result.field8_ = 0F;
6144 return this;
6145 }
6146
6147 public bool HasField9 {
csharptestc671a4b2011-06-08 11:51:24 -05006148 get { return result.hasField9; }
csharptest27bfcc52011-06-02 12:04:06 -05006149 }
6150 public bool Field9 {
6151 get { return result.Field9; }
6152 set { SetField9(value); }
6153 }
6154 public Builder SetField9(bool value) {
6155 result.hasField9 = true;
6156 result.field9_ = value;
6157 return this;
6158 }
6159 public Builder ClearField9() {
6160 result.hasField9 = false;
6161 result.field9_ = false;
6162 return this;
6163 }
6164
6165 public bool HasField10 {
csharptestc671a4b2011-06-08 11:51:24 -05006166 get { return result.hasField10; }
csharptest27bfcc52011-06-02 12:04:06 -05006167 }
6168 public float Field10 {
6169 get { return result.Field10; }
6170 set { SetField10(value); }
6171 }
6172 public Builder SetField10(float value) {
6173 result.hasField10 = true;
6174 result.field10_ = value;
6175 return this;
6176 }
6177 public Builder ClearField10() {
6178 result.hasField10 = false;
6179 result.field10_ = 0F;
6180 return this;
6181 }
6182
6183 public bool HasField11 {
csharptestc671a4b2011-06-08 11:51:24 -05006184 get { return result.hasField11; }
csharptest27bfcc52011-06-02 12:04:06 -05006185 }
6186 public long Field11 {
6187 get { return result.Field11; }
6188 set { SetField11(value); }
6189 }
6190 public Builder SetField11(long value) {
6191 result.hasField11 = true;
6192 result.field11_ = value;
6193 return this;
6194 }
6195 public Builder ClearField11() {
6196 result.hasField11 = false;
6197 result.field11_ = 0L;
6198 return this;
6199 }
6200 }
6201 static SpeedMessage2GroupedMessage() {
6202 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
6203 }
6204 }
6205
6206 #endregion
6207
6208}