blob: 918be643ecfe48180bda7b09cf9d534e736e474c [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!
csharptest2d887332011-08-12 20:13:44 -05002#pragma warning disable 1591
3#region Designer generated code
csharptest27bfcc52011-06-02 12:04:06 -05004
5using pb = global::Google.ProtocolBuffers;
6using pbc = global::Google.ProtocolBuffers.Collections;
7using pbd = global::Google.ProtocolBuffers.Descriptors;
8using scg = global::System.Collections.Generic;
9namespace Google.ProtocolBuffers.TestProtos {
10
11 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
12 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
13 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
14 public static partial class UnitTestGoogleSpeedProtoFile {
15
16 #region Extension registration
17 public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
18 }
19 #endregion
20 #region Static variables
21 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage1__Descriptor;
22 internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Builder> internal__static_benchmarks_SpeedMessage1__FieldAccessorTable;
23 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor;
24 internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder> internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable;
25 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage2__Descriptor;
26 internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Builder> internal__static_benchmarks_SpeedMessage2__FieldAccessorTable;
27 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage2_Group1__Descriptor;
28 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;
29 internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor;
30 internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder> internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable;
31 #endregion
32 #region Descriptor
33 public static pbd::FileDescriptor Descriptor {
34 get { return descriptor; }
35 }
36 private static pbd::FileDescriptor descriptor;
37
38 static UnitTestGoogleSpeedProtoFile() {
39 byte[] descriptorData = global::System.Convert.FromBase64String(
40 "Ch5nb29nbGUvdGVzdC9nb29nbGVfc3BlZWQucHJvdG8SCmJlbmNobWFya3Ma" +
41 "JGdvb2dsZS9wcm90b2J1Zi9jc2hhcnBfb3B0aW9ucy5wcm90byL4BgoNU3Bl" +
42 "ZWRNZXNzYWdlMRIOCgZmaWVsZDEYASACKAkSDgoGZmllbGQ5GAkgASgJEg8K" +
43 "B2ZpZWxkMTgYEiABKAkSFgoHZmllbGQ4MBhQIAEoCDoFZmFsc2USFQoHZmll" +
44 "bGQ4MRhRIAEoCDoEdHJ1ZRIOCgZmaWVsZDIYAiACKAUSDgoGZmllbGQzGAMg" +
45 "AigFEhEKCGZpZWxkMjgwGJgCIAEoBRIRCgZmaWVsZDYYBiABKAU6ATASDwoH" +
46 "ZmllbGQyMhgWIAEoAxIOCgZmaWVsZDQYBCABKAkSDgoGZmllbGQ1GAUgAygG" +
47 "EhYKB2ZpZWxkNTkYOyABKAg6BWZhbHNlEg4KBmZpZWxkNxgHIAEoCRIPCgdm" +
48 "aWVsZDE2GBAgASgFEhQKCGZpZWxkMTMwGIIBIAEoBToBMBIVCgdmaWVsZDEy" +
49 "GAwgASgIOgR0cnVlEhUKB2ZpZWxkMTcYESABKAg6BHRydWUSFQoHZmllbGQx" +
50 "MxgNIAEoCDoEdHJ1ZRIVCgdmaWVsZDE0GA4gASgIOgR0cnVlEhMKCGZpZWxk" +
51 "MTA0GGggASgFOgEwEhMKCGZpZWxkMTAwGGQgASgFOgEwEhMKCGZpZWxkMTAx" +
52 "GGUgASgFOgEwEhAKCGZpZWxkMTAyGGYgASgJEhAKCGZpZWxkMTAzGGcgASgJ" +
53 "EhIKB2ZpZWxkMjkYHSABKAU6ATASFgoHZmllbGQzMBgeIAEoCDoFZmFsc2US" +
54 "EwoHZmllbGQ2MBg8IAEoBToCLTESFQoIZmllbGQyNzEYjwIgASgFOgItMRIV" +
55 "CghmaWVsZDI3MhiQAiABKAU6Ai0xEhEKCGZpZWxkMTUwGJYBIAEoBRISCgdm" +
56 "aWVsZDIzGBcgASgFOgEwEhYKB2ZpZWxkMjQYGCABKAg6BWZhbHNlEhIKB2Zp" +
57 "ZWxkMjUYGSABKAU6ATASNAoHZmllbGQxNRgPIAEoCzIjLmJlbmNobWFya3Mu" +
58 "U3BlZWRNZXNzYWdlMVN1Yk1lc3NhZ2USDwoHZmllbGQ3OBhOIAEoCBISCgdm" +
59 "aWVsZDY3GEMgASgFOgEwEg8KB2ZpZWxkNjgYRCABKAUSFAoIZmllbGQxMjgY" +
60 "gAEgASgFOgEwEigKCGZpZWxkMTI5GIEBIAEoCToVeHh4eHh4eHh4eHh4eHh4" +
61 "eHh4eHh4EhQKCGZpZWxkMTMxGIMBIAEoBToBMCKiAwoXU3BlZWRNZXNzYWdl" +
62 "MVN1Yk1lc3NhZ2USEQoGZmllbGQxGAEgASgFOgEwEhEKBmZpZWxkMhgCIAEo" +
63 "BToBMBIRCgZmaWVsZDMYAyABKAU6ATASDwoHZmllbGQxNRgPIAEoCRIVCgdm" +
64 "aWVsZDEyGAwgASgIOgR0cnVlEg8KB2ZpZWxkMTMYDSABKAMSDwoHZmllbGQx" +
65 "NBgOIAEoAxIPCgdmaWVsZDE2GBAgASgFEhIKB2ZpZWxkMTkYEyABKAU6ATIS" +
66 "FQoHZmllbGQyMBgUIAEoCDoEdHJ1ZRIVCgdmaWVsZDI4GBwgASgIOgR0cnVl" +
67 "Eg8KB2ZpZWxkMjEYFSABKAYSDwoHZmllbGQyMhgWIAEoBRIWCgdmaWVsZDIz" +
68 "GBcgASgIOgVmYWxzZRIYCghmaWVsZDIwNhjOASABKAg6BWZhbHNlEhEKCGZp" +
69 "ZWxkMjAzGMsBIAEoBxIRCghmaWVsZDIwNBjMASABKAUSEQoIZmllbGQyMDUY" +
70 "zQEgASgJEhEKCGZpZWxkMjA3GM8BIAEoBBIRCghmaWVsZDMwMBisAiABKAQi" +
71 "ygcKDVNwZWVkTWVzc2FnZTISDgoGZmllbGQxGAEgASgJEg4KBmZpZWxkMxgD" +
72 "IAEoAxIOCgZmaWVsZDQYBCABKAMSDwoHZmllbGQzMBgeIAEoAxIWCgdmaWVs" +
73 "ZDc1GEsgASgIOgVmYWxzZRIOCgZmaWVsZDYYBiABKAkSDgoGZmllbGQyGAIg" +
74 "ASgMEhIKB2ZpZWxkMjEYFSABKAU6ATASDwoHZmllbGQ3MRhHIAEoBRIPCgdm" +
75 "aWVsZDI1GBkgASgCEhMKCGZpZWxkMTA5GG0gASgFOgEwEhQKCGZpZWxkMjEw" +
76 "GNIBIAEoBToBMBIUCghmaWVsZDIxMRjTASABKAU6ATASFAoIZmllbGQyMTIY" +
77 "1AEgASgFOgEwEhQKCGZpZWxkMjEzGNUBIAEoBToBMBIUCghmaWVsZDIxNhjY" +
78 "ASABKAU6ATASFAoIZmllbGQyMTcY2QEgASgFOgEwEhQKCGZpZWxkMjE4GNoB" +
79 "IAEoBToBMBIUCghmaWVsZDIyMBjcASABKAU6ATASFAoIZmllbGQyMjEY3QEg" +
80 "ASgFOgEwEhQKCGZpZWxkMjIyGN4BIAEoAjoBMBIPCgdmaWVsZDYzGD8gASgF" +
81 "EjAKBmdyb3VwMRgKIAMoCjIgLmJlbmNobWFya3MuU3BlZWRNZXNzYWdlMi5H" +
82 "cm91cDESEQoIZmllbGQxMjgYgAEgAygJEhEKCGZpZWxkMTMxGIMBIAEoAxIQ" +
83 "CghmaWVsZDEyNxh/IAMoCRIRCghmaWVsZDEyORiBASABKAUSEQoIZmllbGQx" +
84 "MzAYggEgAygDEhgKCGZpZWxkMjA1GM0BIAEoCDoFZmFsc2USGAoIZmllbGQy" +
85 "MDYYzgEgASgIOgVmYWxzZRrDAgoGR3JvdXAxEg8KB2ZpZWxkMTEYCyACKAIS" +
86 "DwoHZmllbGQyNhgaIAEoAhIPCgdmaWVsZDEyGAwgASgJEg8KB2ZpZWxkMTMY" +
87 "DSABKAkSDwoHZmllbGQxNBgOIAMoCRIPCgdmaWVsZDE1GA8gAigEEg4KBmZp" +
88 "ZWxkNRgFIAEoBRIPCgdmaWVsZDI3GBsgASgJEg8KB2ZpZWxkMjgYHCABKAUS" +
89 "DwoHZmllbGQyORgdIAEoCRIPCgdmaWVsZDE2GBAgASgJEg8KB2ZpZWxkMjIY" +
90 "FiADKAkSDwoHZmllbGQ3MxhJIAMoBRISCgdmaWVsZDIwGBQgASgFOgEwEg8K" +
91 "B2ZpZWxkMjQYGCABKAkSOAoHZmllbGQzMRgfIAEoCzInLmJlbmNobWFya3Mu" +
92 "U3BlZWRNZXNzYWdlMkdyb3VwZWRNZXNzYWdlIt8BChtTcGVlZE1lc3NhZ2Uy" +
93 "R3JvdXBlZE1lc3NhZ2USDgoGZmllbGQxGAEgASgCEg4KBmZpZWxkMhgCIAEo" +
94 "AhIRCgZmaWVsZDMYAyABKAI6ATASDgoGZmllbGQ0GAQgASgIEg4KBmZpZWxk" +
95 "NRgFIAEoCBIUCgZmaWVsZDYYBiABKAg6BHRydWUSFQoGZmllbGQ3GAcgASgI" +
96 "OgVmYWxzZRIOCgZmaWVsZDgYCCABKAISDgoGZmllbGQ5GAkgASgIEg8KB2Zp" +
97 "ZWxkMTAYCiABKAISDwoHZmllbGQxMRgLIAEoA0JTQgtHb29nbGVTcGVlZEgB" +
98 "wj5BCiFHb29nbGUuUHJvdG9jb2xCdWZmZXJzLlRlc3RQcm90b3MSHFVuaXRU" +
99 "ZXN0R29vZ2xlU3BlZWRQcm90b0ZpbGU=");
100 pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
101 descriptor = root;
102 internal__static_benchmarks_SpeedMessage1__Descriptor = Descriptor.MessageTypes[0];
103 internal__static_benchmarks_SpeedMessage1__FieldAccessorTable =
104 new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Builder>(internal__static_benchmarks_SpeedMessage1__Descriptor,
105 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", });
106 internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor = Descriptor.MessageTypes[1];
107 internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable =
108 new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder>(internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor,
109 new string[] { "Field1", "Field2", "Field3", "Field15", "Field12", "Field13", "Field14", "Field16", "Field19", "Field20", "Field28", "Field21", "Field22", "Field23", "Field206", "Field203", "Field204", "Field205", "Field207", "Field300", });
110 internal__static_benchmarks_SpeedMessage2__Descriptor = Descriptor.MessageTypes[2];
111 internal__static_benchmarks_SpeedMessage2__FieldAccessorTable =
112 new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Builder>(internal__static_benchmarks_SpeedMessage2__Descriptor,
113 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", });
114 internal__static_benchmarks_SpeedMessage2_Group1__Descriptor = internal__static_benchmarks_SpeedMessage2__Descriptor.NestedTypes[0];
115 internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable =
116 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,
117 new string[] { "Field11", "Field26", "Field12", "Field13", "Field14", "Field15", "Field5", "Field27", "Field28", "Field29", "Field16", "Field22", "Field73", "Field20", "Field24", "Field31", });
118 internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor = Descriptor.MessageTypes[3];
119 internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable =
120 new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder>(internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor,
121 new string[] { "Field1", "Field2", "Field3", "Field4", "Field5", "Field6", "Field7", "Field8", "Field9", "Field10", "Field11", });
122 pb::ExtensionRegistry registry = pb::ExtensionRegistry.CreateInstance();
123 RegisterAllExtensions(registry);
124 global::Google.ProtocolBuffers.DescriptorProtos.CSharpOptions.RegisterAllExtensions(registry);
125 return registry;
126 };
127 pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
128 new pbd::FileDescriptor[] {
129 global::Google.ProtocolBuffers.DescriptorProtos.CSharpOptions.Descriptor,
130 }, assigner);
131 }
132 #endregion
133
134 }
135 #region Messages
136 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
137 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
138 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
139 public sealed partial class SpeedMessage1 : pb::GeneratedMessage<SpeedMessage1, SpeedMessage1.Builder> {
140 private static readonly SpeedMessage1 defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -0500141 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" };
142 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 -0500143 public static SpeedMessage1 DefaultInstance {
144 get { return defaultInstance; }
145 }
146
147 public override SpeedMessage1 DefaultInstanceForType {
148 get { return defaultInstance; }
149 }
150
151 protected override SpeedMessage1 ThisMessage {
152 get { return this; }
153 }
154
155 public static pbd::MessageDescriptor Descriptor {
156 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__Descriptor; }
157 }
158
159 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1, SpeedMessage1.Builder> InternalFieldAccessors {
160 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__FieldAccessorTable; }
161 }
162
163 public const int Field1FieldNumber = 1;
164 private bool hasField1;
165 private string field1_ = "";
166 public bool HasField1 {
167 get { return hasField1; }
168 }
169 public string Field1 {
170 get { return field1_; }
171 }
172
173 public const int Field9FieldNumber = 9;
174 private bool hasField9;
175 private string field9_ = "";
176 public bool HasField9 {
177 get { return hasField9; }
178 }
179 public string Field9 {
180 get { return field9_; }
181 }
182
183 public const int Field18FieldNumber = 18;
184 private bool hasField18;
185 private string field18_ = "";
186 public bool HasField18 {
187 get { return hasField18; }
188 }
189 public string Field18 {
190 get { return field18_; }
191 }
192
193 public const int Field80FieldNumber = 80;
194 private bool hasField80;
csharptestced18e12011-06-09 19:47:56 -0500195 private bool field80_;
csharptest27bfcc52011-06-02 12:04:06 -0500196 public bool HasField80 {
197 get { return hasField80; }
198 }
199 public bool Field80 {
200 get { return field80_; }
201 }
202
203 public const int Field81FieldNumber = 81;
204 private bool hasField81;
205 private bool field81_ = true;
206 public bool HasField81 {
207 get { return hasField81; }
208 }
209 public bool Field81 {
210 get { return field81_; }
211 }
212
213 public const int Field2FieldNumber = 2;
214 private bool hasField2;
csharptestced18e12011-06-09 19:47:56 -0500215 private int field2_;
csharptest27bfcc52011-06-02 12:04:06 -0500216 public bool HasField2 {
217 get { return hasField2; }
218 }
219 public int Field2 {
220 get { return field2_; }
221 }
222
223 public const int Field3FieldNumber = 3;
224 private bool hasField3;
csharptestced18e12011-06-09 19:47:56 -0500225 private int field3_;
csharptest27bfcc52011-06-02 12:04:06 -0500226 public bool HasField3 {
227 get { return hasField3; }
228 }
229 public int Field3 {
230 get { return field3_; }
231 }
232
233 public const int Field280FieldNumber = 280;
234 private bool hasField280;
csharptestced18e12011-06-09 19:47:56 -0500235 private int field280_;
csharptest27bfcc52011-06-02 12:04:06 -0500236 public bool HasField280 {
237 get { return hasField280; }
238 }
239 public int Field280 {
240 get { return field280_; }
241 }
242
243 public const int Field6FieldNumber = 6;
244 private bool hasField6;
csharptestced18e12011-06-09 19:47:56 -0500245 private int field6_;
csharptest27bfcc52011-06-02 12:04:06 -0500246 public bool HasField6 {
247 get { return hasField6; }
248 }
249 public int Field6 {
250 get { return field6_; }
251 }
252
253 public const int Field22FieldNumber = 22;
254 private bool hasField22;
csharptestced18e12011-06-09 19:47:56 -0500255 private long field22_;
csharptest27bfcc52011-06-02 12:04:06 -0500256 public bool HasField22 {
257 get { return hasField22; }
258 }
259 public long Field22 {
260 get { return field22_; }
261 }
262
263 public const int Field4FieldNumber = 4;
264 private bool hasField4;
265 private string field4_ = "";
266 public bool HasField4 {
267 get { return hasField4; }
268 }
269 public string Field4 {
270 get { return field4_; }
271 }
272
273 public const int Field5FieldNumber = 5;
274 private pbc::PopsicleList<ulong> field5_ = new pbc::PopsicleList<ulong>();
275 [global::System.CLSCompliant(false)]
276 public scg::IList<ulong> Field5List {
277 get { return pbc::Lists.AsReadOnly(field5_); }
278 }
279 public int Field5Count {
280 get { return field5_.Count; }
281 }
282 [global::System.CLSCompliant(false)]
283 public ulong GetField5(int index) {
284 return field5_[index];
285 }
286
287 public const int Field59FieldNumber = 59;
288 private bool hasField59;
csharptestced18e12011-06-09 19:47:56 -0500289 private bool field59_;
csharptest27bfcc52011-06-02 12:04:06 -0500290 public bool HasField59 {
291 get { return hasField59; }
292 }
293 public bool Field59 {
294 get { return field59_; }
295 }
296
297 public const int Field7FieldNumber = 7;
298 private bool hasField7;
299 private string field7_ = "";
300 public bool HasField7 {
301 get { return hasField7; }
302 }
303 public string Field7 {
304 get { return field7_; }
305 }
306
307 public const int Field16FieldNumber = 16;
308 private bool hasField16;
csharptestced18e12011-06-09 19:47:56 -0500309 private int field16_;
csharptest27bfcc52011-06-02 12:04:06 -0500310 public bool HasField16 {
311 get { return hasField16; }
312 }
313 public int Field16 {
314 get { return field16_; }
315 }
316
317 public const int Field130FieldNumber = 130;
318 private bool hasField130;
csharptestced18e12011-06-09 19:47:56 -0500319 private int field130_;
csharptest27bfcc52011-06-02 12:04:06 -0500320 public bool HasField130 {
321 get { return hasField130; }
322 }
323 public int Field130 {
324 get { return field130_; }
325 }
326
327 public const int Field12FieldNumber = 12;
328 private bool hasField12;
329 private bool field12_ = true;
330 public bool HasField12 {
331 get { return hasField12; }
332 }
333 public bool Field12 {
334 get { return field12_; }
335 }
336
337 public const int Field17FieldNumber = 17;
338 private bool hasField17;
339 private bool field17_ = true;
340 public bool HasField17 {
341 get { return hasField17; }
342 }
343 public bool Field17 {
344 get { return field17_; }
345 }
346
347 public const int Field13FieldNumber = 13;
348 private bool hasField13;
349 private bool field13_ = true;
350 public bool HasField13 {
351 get { return hasField13; }
352 }
353 public bool Field13 {
354 get { return field13_; }
355 }
356
357 public const int Field14FieldNumber = 14;
358 private bool hasField14;
359 private bool field14_ = true;
360 public bool HasField14 {
361 get { return hasField14; }
362 }
363 public bool Field14 {
364 get { return field14_; }
365 }
366
367 public const int Field104FieldNumber = 104;
368 private bool hasField104;
csharptestced18e12011-06-09 19:47:56 -0500369 private int field104_;
csharptest27bfcc52011-06-02 12:04:06 -0500370 public bool HasField104 {
371 get { return hasField104; }
372 }
373 public int Field104 {
374 get { return field104_; }
375 }
376
377 public const int Field100FieldNumber = 100;
378 private bool hasField100;
csharptestced18e12011-06-09 19:47:56 -0500379 private int field100_;
csharptest27bfcc52011-06-02 12:04:06 -0500380 public bool HasField100 {
381 get { return hasField100; }
382 }
383 public int Field100 {
384 get { return field100_; }
385 }
386
387 public const int Field101FieldNumber = 101;
388 private bool hasField101;
csharptestced18e12011-06-09 19:47:56 -0500389 private int field101_;
csharptest27bfcc52011-06-02 12:04:06 -0500390 public bool HasField101 {
391 get { return hasField101; }
392 }
393 public int Field101 {
394 get { return field101_; }
395 }
396
397 public const int Field102FieldNumber = 102;
398 private bool hasField102;
399 private string field102_ = "";
400 public bool HasField102 {
401 get { return hasField102; }
402 }
403 public string Field102 {
404 get { return field102_; }
405 }
406
407 public const int Field103FieldNumber = 103;
408 private bool hasField103;
409 private string field103_ = "";
410 public bool HasField103 {
411 get { return hasField103; }
412 }
413 public string Field103 {
414 get { return field103_; }
415 }
416
417 public const int Field29FieldNumber = 29;
418 private bool hasField29;
csharptestced18e12011-06-09 19:47:56 -0500419 private int field29_;
csharptest27bfcc52011-06-02 12:04:06 -0500420 public bool HasField29 {
421 get { return hasField29; }
422 }
423 public int Field29 {
424 get { return field29_; }
425 }
426
427 public const int Field30FieldNumber = 30;
428 private bool hasField30;
csharptestced18e12011-06-09 19:47:56 -0500429 private bool field30_;
csharptest27bfcc52011-06-02 12:04:06 -0500430 public bool HasField30 {
431 get { return hasField30; }
432 }
433 public bool Field30 {
434 get { return field30_; }
435 }
436
437 public const int Field60FieldNumber = 60;
438 private bool hasField60;
439 private int field60_ = -1;
440 public bool HasField60 {
441 get { return hasField60; }
442 }
443 public int Field60 {
444 get { return field60_; }
445 }
446
447 public const int Field271FieldNumber = 271;
448 private bool hasField271;
449 private int field271_ = -1;
450 public bool HasField271 {
451 get { return hasField271; }
452 }
453 public int Field271 {
454 get { return field271_; }
455 }
456
457 public const int Field272FieldNumber = 272;
458 private bool hasField272;
459 private int field272_ = -1;
460 public bool HasField272 {
461 get { return hasField272; }
462 }
463 public int Field272 {
464 get { return field272_; }
465 }
466
467 public const int Field150FieldNumber = 150;
468 private bool hasField150;
csharptestced18e12011-06-09 19:47:56 -0500469 private int field150_;
csharptest27bfcc52011-06-02 12:04:06 -0500470 public bool HasField150 {
471 get { return hasField150; }
472 }
473 public int Field150 {
474 get { return field150_; }
475 }
476
477 public const int Field23FieldNumber = 23;
478 private bool hasField23;
csharptestced18e12011-06-09 19:47:56 -0500479 private int field23_;
csharptest27bfcc52011-06-02 12:04:06 -0500480 public bool HasField23 {
481 get { return hasField23; }
482 }
483 public int Field23 {
484 get { return field23_; }
485 }
486
487 public const int Field24FieldNumber = 24;
488 private bool hasField24;
csharptestced18e12011-06-09 19:47:56 -0500489 private bool field24_;
csharptest27bfcc52011-06-02 12:04:06 -0500490 public bool HasField24 {
491 get { return hasField24; }
492 }
493 public bool Field24 {
494 get { return field24_; }
495 }
496
497 public const int Field25FieldNumber = 25;
498 private bool hasField25;
csharptestced18e12011-06-09 19:47:56 -0500499 private int field25_;
csharptest27bfcc52011-06-02 12:04:06 -0500500 public bool HasField25 {
501 get { return hasField25; }
502 }
503 public int Field25 {
504 get { return field25_; }
505 }
506
507 public const int Field15FieldNumber = 15;
508 private bool hasField15;
509 private global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
510 public bool HasField15 {
511 get { return hasField15; }
512 }
513 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
514 get { return field15_; }
515 }
516
517 public const int Field78FieldNumber = 78;
518 private bool hasField78;
csharptestced18e12011-06-09 19:47:56 -0500519 private bool field78_;
csharptest27bfcc52011-06-02 12:04:06 -0500520 public bool HasField78 {
521 get { return hasField78; }
522 }
523 public bool Field78 {
524 get { return field78_; }
525 }
526
527 public const int Field67FieldNumber = 67;
528 private bool hasField67;
csharptestced18e12011-06-09 19:47:56 -0500529 private int field67_;
csharptest27bfcc52011-06-02 12:04:06 -0500530 public bool HasField67 {
531 get { return hasField67; }
532 }
533 public int Field67 {
534 get { return field67_; }
535 }
536
537 public const int Field68FieldNumber = 68;
538 private bool hasField68;
csharptestced18e12011-06-09 19:47:56 -0500539 private int field68_;
csharptest27bfcc52011-06-02 12:04:06 -0500540 public bool HasField68 {
541 get { return hasField68; }
542 }
543 public int Field68 {
544 get { return field68_; }
545 }
546
547 public const int Field128FieldNumber = 128;
548 private bool hasField128;
csharptestced18e12011-06-09 19:47:56 -0500549 private int field128_;
csharptest27bfcc52011-06-02 12:04:06 -0500550 public bool HasField128 {
551 get { return hasField128; }
552 }
553 public int Field128 {
554 get { return field128_; }
555 }
556
557 public const int Field129FieldNumber = 129;
558 private bool hasField129;
559 private string field129_ = "xxxxxxxxxxxxxxxxxxxxx";
560 public bool HasField129 {
561 get { return hasField129; }
562 }
563 public string Field129 {
564 get { return field129_; }
565 }
566
567 public const int Field131FieldNumber = 131;
568 private bool hasField131;
csharptestced18e12011-06-09 19:47:56 -0500569 private int field131_;
csharptest27bfcc52011-06-02 12:04:06 -0500570 public bool HasField131 {
571 get { return hasField131; }
572 }
573 public int Field131 {
574 get { return field131_; }
575 }
576
577 public override bool IsInitialized {
578 get {
579 if (!hasField1) return false;
580 if (!hasField2) return false;
581 if (!hasField3) return false;
582 return true;
583 }
584 }
585
csharptestffafdaa2011-06-03 12:58:14 -0500586 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -0500587 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -0500588 string[] field_names = _speedMessage1FieldNames;
csharptestc671a4b2011-06-08 11:51:24 -0500589 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -0500590 output.WriteString(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -0500591 }
csharptestc671a4b2011-06-08 11:51:24 -0500592 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -0500593 output.WriteInt32(2, field_names[18], Field2);
csharptest27bfcc52011-06-02 12:04:06 -0500594 }
csharptestc671a4b2011-06-08 11:51:24 -0500595 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -0500596 output.WriteInt32(3, field_names[27], Field3);
csharptest27bfcc52011-06-02 12:04:06 -0500597 }
csharptestc671a4b2011-06-08 11:51:24 -0500598 if (hasField4) {
csharptest920b09a2011-06-08 20:13:29 -0500599 output.WriteString(4, field_names[29], Field4);
csharptest27bfcc52011-06-02 12:04:06 -0500600 }
601 if (field5_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -0500602 output.WriteFixed64Array(5, field_names[30], field5_);
csharptest27bfcc52011-06-02 12:04:06 -0500603 }
csharptestc671a4b2011-06-08 11:51:24 -0500604 if (hasField6) {
csharptest920b09a2011-06-08 20:13:29 -0500605 output.WriteInt32(6, field_names[32], Field6);
csharptest27bfcc52011-06-02 12:04:06 -0500606 }
csharptestc671a4b2011-06-08 11:51:24 -0500607 if (hasField7) {
csharptest920b09a2011-06-08 20:13:29 -0500608 output.WriteString(7, field_names[36], Field7);
csharptest27bfcc52011-06-02 12:04:06 -0500609 }
csharptestc671a4b2011-06-08 11:51:24 -0500610 if (hasField9) {
csharptest920b09a2011-06-08 20:13:29 -0500611 output.WriteString(9, field_names[40], Field9);
csharptest27bfcc52011-06-02 12:04:06 -0500612 }
csharptestc671a4b2011-06-08 11:51:24 -0500613 if (hasField12) {
csharptest920b09a2011-06-08 20:13:29 -0500614 output.WriteBool(12, field_names[6], Field12);
csharptest27bfcc52011-06-02 12:04:06 -0500615 }
csharptestc671a4b2011-06-08 11:51:24 -0500616 if (hasField13) {
csharptest920b09a2011-06-08 20:13:29 -0500617 output.WriteBool(13, field_names[9], Field13);
csharptest27bfcc52011-06-02 12:04:06 -0500618 }
csharptestc671a4b2011-06-08 11:51:24 -0500619 if (hasField14) {
csharptest920b09a2011-06-08 20:13:29 -0500620 output.WriteBool(14, field_names[12], Field14);
csharptest27bfcc52011-06-02 12:04:06 -0500621 }
csharptestc671a4b2011-06-08 11:51:24 -0500622 if (hasField15) {
csharptest920b09a2011-06-08 20:13:29 -0500623 output.WriteMessage(15, field_names[13], Field15);
csharptest27bfcc52011-06-02 12:04:06 -0500624 }
csharptestc671a4b2011-06-08 11:51:24 -0500625 if (hasField16) {
csharptest920b09a2011-06-08 20:13:29 -0500626 output.WriteInt32(16, field_names[15], Field16);
csharptest27bfcc52011-06-02 12:04:06 -0500627 }
csharptestc671a4b2011-06-08 11:51:24 -0500628 if (hasField17) {
csharptest920b09a2011-06-08 20:13:29 -0500629 output.WriteBool(17, field_names[16], Field17);
csharptest27bfcc52011-06-02 12:04:06 -0500630 }
csharptestc671a4b2011-06-08 11:51:24 -0500631 if (hasField18) {
csharptest920b09a2011-06-08 20:13:29 -0500632 output.WriteString(18, field_names[17], Field18);
csharptest27bfcc52011-06-02 12:04:06 -0500633 }
csharptestc671a4b2011-06-08 11:51:24 -0500634 if (hasField22) {
csharptest920b09a2011-06-08 20:13:29 -0500635 output.WriteInt64(22, field_names[19], Field22);
csharptest27bfcc52011-06-02 12:04:06 -0500636 }
csharptestc671a4b2011-06-08 11:51:24 -0500637 if (hasField23) {
csharptest920b09a2011-06-08 20:13:29 -0500638 output.WriteInt32(23, field_names[20], Field23);
csharptest27bfcc52011-06-02 12:04:06 -0500639 }
csharptestc671a4b2011-06-08 11:51:24 -0500640 if (hasField24) {
csharptest920b09a2011-06-08 20:13:29 -0500641 output.WriteBool(24, field_names[21], Field24);
csharptest27bfcc52011-06-02 12:04:06 -0500642 }
csharptestc671a4b2011-06-08 11:51:24 -0500643 if (hasField25) {
csharptest920b09a2011-06-08 20:13:29 -0500644 output.WriteInt32(25, field_names[22], Field25);
csharptest27bfcc52011-06-02 12:04:06 -0500645 }
csharptestc671a4b2011-06-08 11:51:24 -0500646 if (hasField29) {
csharptest920b09a2011-06-08 20:13:29 -0500647 output.WriteInt32(29, field_names[26], Field29);
csharptest27bfcc52011-06-02 12:04:06 -0500648 }
csharptestc671a4b2011-06-08 11:51:24 -0500649 if (hasField30) {
csharptest920b09a2011-06-08 20:13:29 -0500650 output.WriteBool(30, field_names[28], Field30);
csharptest27bfcc52011-06-02 12:04:06 -0500651 }
csharptestc671a4b2011-06-08 11:51:24 -0500652 if (hasField59) {
csharptest920b09a2011-06-08 20:13:29 -0500653 output.WriteBool(59, field_names[31], Field59);
csharptest27bfcc52011-06-02 12:04:06 -0500654 }
csharptestc671a4b2011-06-08 11:51:24 -0500655 if (hasField60) {
csharptest920b09a2011-06-08 20:13:29 -0500656 output.WriteInt32(60, field_names[33], Field60);
csharptest27bfcc52011-06-02 12:04:06 -0500657 }
csharptestc671a4b2011-06-08 11:51:24 -0500658 if (hasField67) {
csharptest920b09a2011-06-08 20:13:29 -0500659 output.WriteInt32(67, field_names[34], Field67);
csharptest27bfcc52011-06-02 12:04:06 -0500660 }
csharptestc671a4b2011-06-08 11:51:24 -0500661 if (hasField68) {
csharptest920b09a2011-06-08 20:13:29 -0500662 output.WriteInt32(68, field_names[35], Field68);
csharptest27bfcc52011-06-02 12:04:06 -0500663 }
csharptestc671a4b2011-06-08 11:51:24 -0500664 if (hasField78) {
csharptest920b09a2011-06-08 20:13:29 -0500665 output.WriteBool(78, field_names[37], Field78);
csharptest27bfcc52011-06-02 12:04:06 -0500666 }
csharptestc671a4b2011-06-08 11:51:24 -0500667 if (hasField80) {
csharptest920b09a2011-06-08 20:13:29 -0500668 output.WriteBool(80, field_names[38], Field80);
csharptest27bfcc52011-06-02 12:04:06 -0500669 }
csharptestc671a4b2011-06-08 11:51:24 -0500670 if (hasField81) {
csharptest920b09a2011-06-08 20:13:29 -0500671 output.WriteBool(81, field_names[39], Field81);
csharptest27bfcc52011-06-02 12:04:06 -0500672 }
csharptestc671a4b2011-06-08 11:51:24 -0500673 if (hasField100) {
csharptest920b09a2011-06-08 20:13:29 -0500674 output.WriteInt32(100, field_names[1], Field100);
csharptest27bfcc52011-06-02 12:04:06 -0500675 }
csharptestc671a4b2011-06-08 11:51:24 -0500676 if (hasField101) {
csharptest920b09a2011-06-08 20:13:29 -0500677 output.WriteInt32(101, field_names[2], Field101);
csharptest27bfcc52011-06-02 12:04:06 -0500678 }
csharptestc671a4b2011-06-08 11:51:24 -0500679 if (hasField102) {
csharptest920b09a2011-06-08 20:13:29 -0500680 output.WriteString(102, field_names[3], Field102);
csharptest27bfcc52011-06-02 12:04:06 -0500681 }
csharptestc671a4b2011-06-08 11:51:24 -0500682 if (hasField103) {
csharptest920b09a2011-06-08 20:13:29 -0500683 output.WriteString(103, field_names[4], Field103);
csharptest27bfcc52011-06-02 12:04:06 -0500684 }
csharptestc671a4b2011-06-08 11:51:24 -0500685 if (hasField104) {
csharptest920b09a2011-06-08 20:13:29 -0500686 output.WriteInt32(104, field_names[5], Field104);
csharptest27bfcc52011-06-02 12:04:06 -0500687 }
csharptestc671a4b2011-06-08 11:51:24 -0500688 if (hasField128) {
csharptest920b09a2011-06-08 20:13:29 -0500689 output.WriteInt32(128, field_names[7], Field128);
csharptest27bfcc52011-06-02 12:04:06 -0500690 }
csharptestc671a4b2011-06-08 11:51:24 -0500691 if (hasField129) {
csharptest920b09a2011-06-08 20:13:29 -0500692 output.WriteString(129, field_names[8], Field129);
csharptest27bfcc52011-06-02 12:04:06 -0500693 }
csharptestc671a4b2011-06-08 11:51:24 -0500694 if (hasField130) {
csharptest920b09a2011-06-08 20:13:29 -0500695 output.WriteInt32(130, field_names[10], Field130);
csharptest27bfcc52011-06-02 12:04:06 -0500696 }
csharptestc671a4b2011-06-08 11:51:24 -0500697 if (hasField131) {
csharptest920b09a2011-06-08 20:13:29 -0500698 output.WriteInt32(131, field_names[11], Field131);
csharptest27bfcc52011-06-02 12:04:06 -0500699 }
csharptestc671a4b2011-06-08 11:51:24 -0500700 if (hasField150) {
csharptest920b09a2011-06-08 20:13:29 -0500701 output.WriteInt32(150, field_names[14], Field150);
csharptest27bfcc52011-06-02 12:04:06 -0500702 }
csharptestc671a4b2011-06-08 11:51:24 -0500703 if (hasField271) {
csharptest920b09a2011-06-08 20:13:29 -0500704 output.WriteInt32(271, field_names[23], Field271);
csharptest27bfcc52011-06-02 12:04:06 -0500705 }
csharptestc671a4b2011-06-08 11:51:24 -0500706 if (hasField272) {
csharptest920b09a2011-06-08 20:13:29 -0500707 output.WriteInt32(272, field_names[24], Field272);
csharptest27bfcc52011-06-02 12:04:06 -0500708 }
csharptestc671a4b2011-06-08 11:51:24 -0500709 if (hasField280) {
csharptest920b09a2011-06-08 20:13:29 -0500710 output.WriteInt32(280, field_names[25], Field280);
csharptest27bfcc52011-06-02 12:04:06 -0500711 }
712 UnknownFields.WriteTo(output);
713 }
714
715 private int memoizedSerializedSize = -1;
716 public override int SerializedSize {
717 get {
718 int size = memoizedSerializedSize;
719 if (size != -1) return size;
720
721 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -0500722 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -0500723 size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
724 }
csharptestc671a4b2011-06-08 11:51:24 -0500725 if (hasField9) {
csharptest27bfcc52011-06-02 12:04:06 -0500726 size += pb::CodedOutputStream.ComputeStringSize(9, Field9);
727 }
csharptestc671a4b2011-06-08 11:51:24 -0500728 if (hasField18) {
csharptest27bfcc52011-06-02 12:04:06 -0500729 size += pb::CodedOutputStream.ComputeStringSize(18, Field18);
730 }
csharptestc671a4b2011-06-08 11:51:24 -0500731 if (hasField80) {
csharptest27bfcc52011-06-02 12:04:06 -0500732 size += pb::CodedOutputStream.ComputeBoolSize(80, Field80);
733 }
csharptestc671a4b2011-06-08 11:51:24 -0500734 if (hasField81) {
csharptest27bfcc52011-06-02 12:04:06 -0500735 size += pb::CodedOutputStream.ComputeBoolSize(81, Field81);
736 }
csharptestc671a4b2011-06-08 11:51:24 -0500737 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -0500738 size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
739 }
csharptestc671a4b2011-06-08 11:51:24 -0500740 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -0500741 size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
742 }
csharptestc671a4b2011-06-08 11:51:24 -0500743 if (hasField280) {
csharptest27bfcc52011-06-02 12:04:06 -0500744 size += pb::CodedOutputStream.ComputeInt32Size(280, Field280);
745 }
csharptestc671a4b2011-06-08 11:51:24 -0500746 if (hasField6) {
csharptest27bfcc52011-06-02 12:04:06 -0500747 size += pb::CodedOutputStream.ComputeInt32Size(6, Field6);
748 }
csharptestc671a4b2011-06-08 11:51:24 -0500749 if (hasField22) {
csharptest27bfcc52011-06-02 12:04:06 -0500750 size += pb::CodedOutputStream.ComputeInt64Size(22, Field22);
751 }
csharptestc671a4b2011-06-08 11:51:24 -0500752 if (hasField4) {
csharptest27bfcc52011-06-02 12:04:06 -0500753 size += pb::CodedOutputStream.ComputeStringSize(4, Field4);
754 }
755 {
756 int dataSize = 0;
757 dataSize = 8 * field5_.Count;
758 size += dataSize;
759 size += 1 * field5_.Count;
760 }
csharptestc671a4b2011-06-08 11:51:24 -0500761 if (hasField59) {
csharptest27bfcc52011-06-02 12:04:06 -0500762 size += pb::CodedOutputStream.ComputeBoolSize(59, Field59);
763 }
csharptestc671a4b2011-06-08 11:51:24 -0500764 if (hasField7) {
csharptest27bfcc52011-06-02 12:04:06 -0500765 size += pb::CodedOutputStream.ComputeStringSize(7, Field7);
766 }
csharptestc671a4b2011-06-08 11:51:24 -0500767 if (hasField16) {
csharptest27bfcc52011-06-02 12:04:06 -0500768 size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
769 }
csharptestc671a4b2011-06-08 11:51:24 -0500770 if (hasField130) {
csharptest27bfcc52011-06-02 12:04:06 -0500771 size += pb::CodedOutputStream.ComputeInt32Size(130, Field130);
772 }
csharptestc671a4b2011-06-08 11:51:24 -0500773 if (hasField12) {
csharptest27bfcc52011-06-02 12:04:06 -0500774 size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
775 }
csharptestc671a4b2011-06-08 11:51:24 -0500776 if (hasField17) {
csharptest27bfcc52011-06-02 12:04:06 -0500777 size += pb::CodedOutputStream.ComputeBoolSize(17, Field17);
778 }
csharptestc671a4b2011-06-08 11:51:24 -0500779 if (hasField13) {
csharptest27bfcc52011-06-02 12:04:06 -0500780 size += pb::CodedOutputStream.ComputeBoolSize(13, Field13);
781 }
csharptestc671a4b2011-06-08 11:51:24 -0500782 if (hasField14) {
csharptest27bfcc52011-06-02 12:04:06 -0500783 size += pb::CodedOutputStream.ComputeBoolSize(14, Field14);
784 }
csharptestc671a4b2011-06-08 11:51:24 -0500785 if (hasField104) {
csharptest27bfcc52011-06-02 12:04:06 -0500786 size += pb::CodedOutputStream.ComputeInt32Size(104, Field104);
787 }
csharptestc671a4b2011-06-08 11:51:24 -0500788 if (hasField100) {
csharptest27bfcc52011-06-02 12:04:06 -0500789 size += pb::CodedOutputStream.ComputeInt32Size(100, Field100);
790 }
csharptestc671a4b2011-06-08 11:51:24 -0500791 if (hasField101) {
csharptest27bfcc52011-06-02 12:04:06 -0500792 size += pb::CodedOutputStream.ComputeInt32Size(101, Field101);
793 }
csharptestc671a4b2011-06-08 11:51:24 -0500794 if (hasField102) {
csharptest27bfcc52011-06-02 12:04:06 -0500795 size += pb::CodedOutputStream.ComputeStringSize(102, Field102);
796 }
csharptestc671a4b2011-06-08 11:51:24 -0500797 if (hasField103) {
csharptest27bfcc52011-06-02 12:04:06 -0500798 size += pb::CodedOutputStream.ComputeStringSize(103, Field103);
799 }
csharptestc671a4b2011-06-08 11:51:24 -0500800 if (hasField29) {
csharptest27bfcc52011-06-02 12:04:06 -0500801 size += pb::CodedOutputStream.ComputeInt32Size(29, Field29);
802 }
csharptestc671a4b2011-06-08 11:51:24 -0500803 if (hasField30) {
csharptest27bfcc52011-06-02 12:04:06 -0500804 size += pb::CodedOutputStream.ComputeBoolSize(30, Field30);
805 }
csharptestc671a4b2011-06-08 11:51:24 -0500806 if (hasField60) {
csharptest27bfcc52011-06-02 12:04:06 -0500807 size += pb::CodedOutputStream.ComputeInt32Size(60, Field60);
808 }
csharptestc671a4b2011-06-08 11:51:24 -0500809 if (hasField271) {
csharptest27bfcc52011-06-02 12:04:06 -0500810 size += pb::CodedOutputStream.ComputeInt32Size(271, Field271);
811 }
csharptestc671a4b2011-06-08 11:51:24 -0500812 if (hasField272) {
csharptest27bfcc52011-06-02 12:04:06 -0500813 size += pb::CodedOutputStream.ComputeInt32Size(272, Field272);
814 }
csharptestc671a4b2011-06-08 11:51:24 -0500815 if (hasField150) {
csharptest27bfcc52011-06-02 12:04:06 -0500816 size += pb::CodedOutputStream.ComputeInt32Size(150, Field150);
817 }
csharptestc671a4b2011-06-08 11:51:24 -0500818 if (hasField23) {
csharptest27bfcc52011-06-02 12:04:06 -0500819 size += pb::CodedOutputStream.ComputeInt32Size(23, Field23);
820 }
csharptestc671a4b2011-06-08 11:51:24 -0500821 if (hasField24) {
csharptest27bfcc52011-06-02 12:04:06 -0500822 size += pb::CodedOutputStream.ComputeBoolSize(24, Field24);
823 }
csharptestc671a4b2011-06-08 11:51:24 -0500824 if (hasField25) {
csharptest27bfcc52011-06-02 12:04:06 -0500825 size += pb::CodedOutputStream.ComputeInt32Size(25, Field25);
826 }
csharptestc671a4b2011-06-08 11:51:24 -0500827 if (hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -0500828 size += pb::CodedOutputStream.ComputeMessageSize(15, Field15);
829 }
csharptestc671a4b2011-06-08 11:51:24 -0500830 if (hasField78) {
csharptest27bfcc52011-06-02 12:04:06 -0500831 size += pb::CodedOutputStream.ComputeBoolSize(78, Field78);
832 }
csharptestc671a4b2011-06-08 11:51:24 -0500833 if (hasField67) {
csharptest27bfcc52011-06-02 12:04:06 -0500834 size += pb::CodedOutputStream.ComputeInt32Size(67, Field67);
835 }
csharptestc671a4b2011-06-08 11:51:24 -0500836 if (hasField68) {
csharptest27bfcc52011-06-02 12:04:06 -0500837 size += pb::CodedOutputStream.ComputeInt32Size(68, Field68);
838 }
csharptestc671a4b2011-06-08 11:51:24 -0500839 if (hasField128) {
csharptest27bfcc52011-06-02 12:04:06 -0500840 size += pb::CodedOutputStream.ComputeInt32Size(128, Field128);
841 }
csharptestc671a4b2011-06-08 11:51:24 -0500842 if (hasField129) {
csharptest27bfcc52011-06-02 12:04:06 -0500843 size += pb::CodedOutputStream.ComputeStringSize(129, Field129);
844 }
csharptestc671a4b2011-06-08 11:51:24 -0500845 if (hasField131) {
csharptest27bfcc52011-06-02 12:04:06 -0500846 size += pb::CodedOutputStream.ComputeInt32Size(131, Field131);
847 }
848 size += UnknownFields.SerializedSize;
849 memoizedSerializedSize = size;
850 return size;
851 }
852 }
853
854 public static SpeedMessage1 ParseFrom(pb::ByteString data) {
855 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
856 }
857 public static SpeedMessage1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
858 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
859 }
860 public static SpeedMessage1 ParseFrom(byte[] data) {
861 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
862 }
863 public static SpeedMessage1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
864 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
865 }
866 public static SpeedMessage1 ParseFrom(global::System.IO.Stream input) {
867 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
868 }
869 public static SpeedMessage1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
870 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
871 }
872 public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input) {
873 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
874 }
875 public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
876 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
877 }
csharptest17699c22011-06-03 21:57:15 -0500878 public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -0500879 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
880 }
csharptest17699c22011-06-03 21:57:15 -0500881 public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -0500882 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
883 }
884 public static Builder CreateBuilder() { return new Builder(); }
885 public override Builder ToBuilder() { return CreateBuilder(this); }
886 public override Builder CreateBuilderForType() { return new Builder(); }
887 public static Builder CreateBuilder(SpeedMessage1 prototype) {
888 return (Builder) new Builder().MergeFrom(prototype);
889 }
890
891 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
892 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
893 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
894 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1, Builder> {
895 protected override Builder ThisBuilder {
896 get { return this; }
897 }
898 public Builder() {}
899
900 SpeedMessage1 result = new SpeedMessage1();
901
902 protected override SpeedMessage1 MessageBeingBuilt {
903 get { return result; }
904 }
905
906 public override Builder Clear() {
907 result = new SpeedMessage1();
908 return this;
909 }
910
911 public override Builder Clone() {
912 return new Builder().MergeFrom(result);
913 }
914
915 public override pbd::MessageDescriptor DescriptorForType {
916 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Descriptor; }
917 }
918
919 public override SpeedMessage1 DefaultInstanceForType {
920 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance; }
921 }
922
923 public override SpeedMessage1 BuildPartial() {
924 if (result == null) {
925 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
926 }
927 result.field5_.MakeReadOnly();
928 SpeedMessage1 returnMe = result;
929 result = null;
930 return returnMe;
931 }
932
933 public override Builder MergeFrom(pb::IMessage other) {
934 if (other is SpeedMessage1) {
935 return MergeFrom((SpeedMessage1) other);
936 } else {
937 base.MergeFrom(other);
938 return this;
939 }
940 }
941
942 public override Builder MergeFrom(SpeedMessage1 other) {
943 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance) return this;
944 if (other.HasField1) {
945 Field1 = other.Field1;
946 }
947 if (other.HasField9) {
948 Field9 = other.Field9;
949 }
950 if (other.HasField18) {
951 Field18 = other.Field18;
952 }
953 if (other.HasField80) {
954 Field80 = other.Field80;
955 }
956 if (other.HasField81) {
957 Field81 = other.Field81;
958 }
959 if (other.HasField2) {
960 Field2 = other.Field2;
961 }
962 if (other.HasField3) {
963 Field3 = other.Field3;
964 }
965 if (other.HasField280) {
966 Field280 = other.Field280;
967 }
968 if (other.HasField6) {
969 Field6 = other.Field6;
970 }
971 if (other.HasField22) {
972 Field22 = other.Field22;
973 }
974 if (other.HasField4) {
975 Field4 = other.Field4;
976 }
977 if (other.field5_.Count != 0) {
978 base.AddRange(other.field5_, result.field5_);
979 }
980 if (other.HasField59) {
981 Field59 = other.Field59;
982 }
983 if (other.HasField7) {
984 Field7 = other.Field7;
985 }
986 if (other.HasField16) {
987 Field16 = other.Field16;
988 }
989 if (other.HasField130) {
990 Field130 = other.Field130;
991 }
992 if (other.HasField12) {
993 Field12 = other.Field12;
994 }
995 if (other.HasField17) {
996 Field17 = other.Field17;
997 }
998 if (other.HasField13) {
999 Field13 = other.Field13;
1000 }
1001 if (other.HasField14) {
1002 Field14 = other.Field14;
1003 }
1004 if (other.HasField104) {
1005 Field104 = other.Field104;
1006 }
1007 if (other.HasField100) {
1008 Field100 = other.Field100;
1009 }
1010 if (other.HasField101) {
1011 Field101 = other.Field101;
1012 }
1013 if (other.HasField102) {
1014 Field102 = other.Field102;
1015 }
1016 if (other.HasField103) {
1017 Field103 = other.Field103;
1018 }
1019 if (other.HasField29) {
1020 Field29 = other.Field29;
1021 }
1022 if (other.HasField30) {
1023 Field30 = other.Field30;
1024 }
1025 if (other.HasField60) {
1026 Field60 = other.Field60;
1027 }
1028 if (other.HasField271) {
1029 Field271 = other.Field271;
1030 }
1031 if (other.HasField272) {
1032 Field272 = other.Field272;
1033 }
1034 if (other.HasField150) {
1035 Field150 = other.Field150;
1036 }
1037 if (other.HasField23) {
1038 Field23 = other.Field23;
1039 }
1040 if (other.HasField24) {
1041 Field24 = other.Field24;
1042 }
1043 if (other.HasField25) {
1044 Field25 = other.Field25;
1045 }
1046 if (other.HasField15) {
1047 MergeField15(other.Field15);
1048 }
1049 if (other.HasField78) {
1050 Field78 = other.Field78;
1051 }
1052 if (other.HasField67) {
1053 Field67 = other.Field67;
1054 }
1055 if (other.HasField68) {
1056 Field68 = other.Field68;
1057 }
1058 if (other.HasField128) {
1059 Field128 = other.Field128;
1060 }
1061 if (other.HasField129) {
1062 Field129 = other.Field129;
1063 }
1064 if (other.HasField131) {
1065 Field131 = other.Field131;
1066 }
1067 this.MergeUnknownFields(other.UnknownFields);
1068 return this;
1069 }
1070
csharptest17699c22011-06-03 21:57:15 -05001071 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05001072 return MergeFrom(input, pb::ExtensionRegistry.Empty);
1073 }
1074
csharptest17699c22011-06-03 21:57:15 -05001075 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05001076 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05001077 uint tag;
1078 string field_name;
1079 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05001080 if(tag == 0 && field_name != null) {
1081 int field_ordinal = global::System.Array.BinarySearch(_speedMessage1FieldNames, field_name, global::System.StringComparer.Ordinal);
1082 if(field_ordinal >= 0)
1083 tag = _speedMessage1FieldTags[field_ordinal];
1084 else {
1085 if (unknownFields == null) {
1086 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
1087 }
1088 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
1089 continue;
1090 }
1091 }
csharptest27bfcc52011-06-02 12:04:06 -05001092 switch (tag) {
1093 case 0: {
csharptest99284412011-06-03 14:51:06 -05001094 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05001095 }
1096 default: {
1097 if (pb::WireFormat.IsEndGroupTag(tag)) {
1098 if (unknownFields != null) {
1099 this.UnknownFields = unknownFields.Build();
1100 }
1101 return this;
1102 }
1103 if (unknownFields == null) {
1104 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
1105 }
csharptestd2af9e92011-06-03 21:35:02 -05001106 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05001107 break;
1108 }
1109 case 10: {
csharptest920b09a2011-06-08 20:13:29 -05001110 result.hasField1 = input.ReadString(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05001111 break;
1112 }
1113 case 16: {
csharptest920b09a2011-06-08 20:13:29 -05001114 result.hasField2 = input.ReadInt32(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05001115 break;
1116 }
1117 case 24: {
csharptest920b09a2011-06-08 20:13:29 -05001118 result.hasField3 = input.ReadInt32(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05001119 break;
1120 }
1121 case 34: {
csharptest920b09a2011-06-08 20:13:29 -05001122 result.hasField4 = input.ReadString(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05001123 break;
1124 }
csharptest6da31702011-06-04 12:52:57 -05001125 case 42:
csharptest27bfcc52011-06-02 12:04:06 -05001126 case 41: {
csharptestb00ea132011-06-10 01:09:57 -05001127 input.ReadFixed64Array(tag, field_name, result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05001128 break;
1129 }
1130 case 48: {
csharptest920b09a2011-06-08 20:13:29 -05001131 result.hasField6 = input.ReadInt32(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05001132 break;
1133 }
1134 case 58: {
csharptest920b09a2011-06-08 20:13:29 -05001135 result.hasField7 = input.ReadString(ref result.field7_);
csharptest27bfcc52011-06-02 12:04:06 -05001136 break;
1137 }
1138 case 74: {
csharptest920b09a2011-06-08 20:13:29 -05001139 result.hasField9 = input.ReadString(ref result.field9_);
csharptest27bfcc52011-06-02 12:04:06 -05001140 break;
1141 }
1142 case 96: {
csharptest920b09a2011-06-08 20:13:29 -05001143 result.hasField12 = input.ReadBool(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05001144 break;
1145 }
1146 case 104: {
csharptest920b09a2011-06-08 20:13:29 -05001147 result.hasField13 = input.ReadBool(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05001148 break;
1149 }
1150 case 112: {
csharptest920b09a2011-06-08 20:13:29 -05001151 result.hasField14 = input.ReadBool(ref result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05001152 break;
1153 }
1154 case 122: {
1155 global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder();
csharptestc671a4b2011-06-08 11:51:24 -05001156 if (result.hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -05001157 subBuilder.MergeFrom(Field15);
1158 }
1159 input.ReadMessage(subBuilder, extensionRegistry);
1160 Field15 = subBuilder.BuildPartial();
1161 break;
1162 }
1163 case 128: {
csharptest920b09a2011-06-08 20:13:29 -05001164 result.hasField16 = input.ReadInt32(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05001165 break;
1166 }
1167 case 136: {
csharptest920b09a2011-06-08 20:13:29 -05001168 result.hasField17 = input.ReadBool(ref result.field17_);
csharptest27bfcc52011-06-02 12:04:06 -05001169 break;
1170 }
1171 case 146: {
csharptest920b09a2011-06-08 20:13:29 -05001172 result.hasField18 = input.ReadString(ref result.field18_);
csharptest27bfcc52011-06-02 12:04:06 -05001173 break;
1174 }
1175 case 176: {
csharptest920b09a2011-06-08 20:13:29 -05001176 result.hasField22 = input.ReadInt64(ref result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05001177 break;
1178 }
1179 case 184: {
csharptest920b09a2011-06-08 20:13:29 -05001180 result.hasField23 = input.ReadInt32(ref result.field23_);
csharptest27bfcc52011-06-02 12:04:06 -05001181 break;
1182 }
1183 case 192: {
csharptest920b09a2011-06-08 20:13:29 -05001184 result.hasField24 = input.ReadBool(ref result.field24_);
csharptest27bfcc52011-06-02 12:04:06 -05001185 break;
1186 }
1187 case 200: {
csharptest920b09a2011-06-08 20:13:29 -05001188 result.hasField25 = input.ReadInt32(ref result.field25_);
csharptest27bfcc52011-06-02 12:04:06 -05001189 break;
1190 }
1191 case 232: {
csharptest920b09a2011-06-08 20:13:29 -05001192 result.hasField29 = input.ReadInt32(ref result.field29_);
csharptest27bfcc52011-06-02 12:04:06 -05001193 break;
1194 }
1195 case 240: {
csharptest920b09a2011-06-08 20:13:29 -05001196 result.hasField30 = input.ReadBool(ref result.field30_);
csharptest27bfcc52011-06-02 12:04:06 -05001197 break;
1198 }
1199 case 472: {
csharptest920b09a2011-06-08 20:13:29 -05001200 result.hasField59 = input.ReadBool(ref result.field59_);
csharptest27bfcc52011-06-02 12:04:06 -05001201 break;
1202 }
1203 case 480: {
csharptest920b09a2011-06-08 20:13:29 -05001204 result.hasField60 = input.ReadInt32(ref result.field60_);
csharptest27bfcc52011-06-02 12:04:06 -05001205 break;
1206 }
1207 case 536: {
csharptest920b09a2011-06-08 20:13:29 -05001208 result.hasField67 = input.ReadInt32(ref result.field67_);
csharptest27bfcc52011-06-02 12:04:06 -05001209 break;
1210 }
1211 case 544: {
csharptest920b09a2011-06-08 20:13:29 -05001212 result.hasField68 = input.ReadInt32(ref result.field68_);
csharptest27bfcc52011-06-02 12:04:06 -05001213 break;
1214 }
1215 case 624: {
csharptest920b09a2011-06-08 20:13:29 -05001216 result.hasField78 = input.ReadBool(ref result.field78_);
csharptest27bfcc52011-06-02 12:04:06 -05001217 break;
1218 }
1219 case 640: {
csharptest920b09a2011-06-08 20:13:29 -05001220 result.hasField80 = input.ReadBool(ref result.field80_);
csharptest27bfcc52011-06-02 12:04:06 -05001221 break;
1222 }
1223 case 648: {
csharptest920b09a2011-06-08 20:13:29 -05001224 result.hasField81 = input.ReadBool(ref result.field81_);
csharptest27bfcc52011-06-02 12:04:06 -05001225 break;
1226 }
1227 case 800: {
csharptest920b09a2011-06-08 20:13:29 -05001228 result.hasField100 = input.ReadInt32(ref result.field100_);
csharptest27bfcc52011-06-02 12:04:06 -05001229 break;
1230 }
1231 case 808: {
csharptest920b09a2011-06-08 20:13:29 -05001232 result.hasField101 = input.ReadInt32(ref result.field101_);
csharptest27bfcc52011-06-02 12:04:06 -05001233 break;
1234 }
1235 case 818: {
csharptest920b09a2011-06-08 20:13:29 -05001236 result.hasField102 = input.ReadString(ref result.field102_);
csharptest27bfcc52011-06-02 12:04:06 -05001237 break;
1238 }
1239 case 826: {
csharptest920b09a2011-06-08 20:13:29 -05001240 result.hasField103 = input.ReadString(ref result.field103_);
csharptest27bfcc52011-06-02 12:04:06 -05001241 break;
1242 }
1243 case 832: {
csharptest920b09a2011-06-08 20:13:29 -05001244 result.hasField104 = input.ReadInt32(ref result.field104_);
csharptest27bfcc52011-06-02 12:04:06 -05001245 break;
1246 }
1247 case 1024: {
csharptest920b09a2011-06-08 20:13:29 -05001248 result.hasField128 = input.ReadInt32(ref result.field128_);
csharptest27bfcc52011-06-02 12:04:06 -05001249 break;
1250 }
1251 case 1034: {
csharptest920b09a2011-06-08 20:13:29 -05001252 result.hasField129 = input.ReadString(ref result.field129_);
csharptest27bfcc52011-06-02 12:04:06 -05001253 break;
1254 }
1255 case 1040: {
csharptest920b09a2011-06-08 20:13:29 -05001256 result.hasField130 = input.ReadInt32(ref result.field130_);
csharptest27bfcc52011-06-02 12:04:06 -05001257 break;
1258 }
1259 case 1048: {
csharptest920b09a2011-06-08 20:13:29 -05001260 result.hasField131 = input.ReadInt32(ref result.field131_);
csharptest27bfcc52011-06-02 12:04:06 -05001261 break;
1262 }
1263 case 1200: {
csharptest920b09a2011-06-08 20:13:29 -05001264 result.hasField150 = input.ReadInt32(ref result.field150_);
csharptest27bfcc52011-06-02 12:04:06 -05001265 break;
1266 }
1267 case 2168: {
csharptest920b09a2011-06-08 20:13:29 -05001268 result.hasField271 = input.ReadInt32(ref result.field271_);
csharptest27bfcc52011-06-02 12:04:06 -05001269 break;
1270 }
1271 case 2176: {
csharptest920b09a2011-06-08 20:13:29 -05001272 result.hasField272 = input.ReadInt32(ref result.field272_);
csharptest27bfcc52011-06-02 12:04:06 -05001273 break;
1274 }
1275 case 2240: {
csharptest920b09a2011-06-08 20:13:29 -05001276 result.hasField280 = input.ReadInt32(ref result.field280_);
csharptest27bfcc52011-06-02 12:04:06 -05001277 break;
1278 }
1279 }
1280 }
csharptest123e5342011-06-03 14:15:21 -05001281
1282 if (unknownFields != null) {
1283 this.UnknownFields = unknownFields.Build();
1284 }
1285 return this;
csharptest27bfcc52011-06-02 12:04:06 -05001286 }
1287
1288
1289 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05001290 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05001291 }
1292 public string Field1 {
1293 get { return result.Field1; }
1294 set { SetField1(value); }
1295 }
1296 public Builder SetField1(string value) {
1297 pb::ThrowHelper.ThrowIfNull(value, "value");
1298 result.hasField1 = true;
1299 result.field1_ = value;
1300 return this;
1301 }
1302 public Builder ClearField1() {
1303 result.hasField1 = false;
1304 result.field1_ = "";
1305 return this;
1306 }
1307
1308 public bool HasField9 {
csharptestc671a4b2011-06-08 11:51:24 -05001309 get { return result.hasField9; }
csharptest27bfcc52011-06-02 12:04:06 -05001310 }
1311 public string Field9 {
1312 get { return result.Field9; }
1313 set { SetField9(value); }
1314 }
1315 public Builder SetField9(string value) {
1316 pb::ThrowHelper.ThrowIfNull(value, "value");
1317 result.hasField9 = true;
1318 result.field9_ = value;
1319 return this;
1320 }
1321 public Builder ClearField9() {
1322 result.hasField9 = false;
1323 result.field9_ = "";
1324 return this;
1325 }
1326
1327 public bool HasField18 {
csharptestc671a4b2011-06-08 11:51:24 -05001328 get { return result.hasField18; }
csharptest27bfcc52011-06-02 12:04:06 -05001329 }
1330 public string Field18 {
1331 get { return result.Field18; }
1332 set { SetField18(value); }
1333 }
1334 public Builder SetField18(string value) {
1335 pb::ThrowHelper.ThrowIfNull(value, "value");
1336 result.hasField18 = true;
1337 result.field18_ = value;
1338 return this;
1339 }
1340 public Builder ClearField18() {
1341 result.hasField18 = false;
1342 result.field18_ = "";
1343 return this;
1344 }
1345
1346 public bool HasField80 {
csharptestc671a4b2011-06-08 11:51:24 -05001347 get { return result.hasField80; }
csharptest27bfcc52011-06-02 12:04:06 -05001348 }
1349 public bool Field80 {
1350 get { return result.Field80; }
1351 set { SetField80(value); }
1352 }
1353 public Builder SetField80(bool value) {
1354 result.hasField80 = true;
1355 result.field80_ = value;
1356 return this;
1357 }
1358 public Builder ClearField80() {
1359 result.hasField80 = false;
1360 result.field80_ = false;
1361 return this;
1362 }
1363
1364 public bool HasField81 {
csharptestc671a4b2011-06-08 11:51:24 -05001365 get { return result.hasField81; }
csharptest27bfcc52011-06-02 12:04:06 -05001366 }
1367 public bool Field81 {
1368 get { return result.Field81; }
1369 set { SetField81(value); }
1370 }
1371 public Builder SetField81(bool value) {
1372 result.hasField81 = true;
1373 result.field81_ = value;
1374 return this;
1375 }
1376 public Builder ClearField81() {
1377 result.hasField81 = false;
1378 result.field81_ = true;
1379 return this;
1380 }
1381
1382 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05001383 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05001384 }
1385 public int Field2 {
1386 get { return result.Field2; }
1387 set { SetField2(value); }
1388 }
1389 public Builder SetField2(int value) {
1390 result.hasField2 = true;
1391 result.field2_ = value;
1392 return this;
1393 }
1394 public Builder ClearField2() {
1395 result.hasField2 = false;
1396 result.field2_ = 0;
1397 return this;
1398 }
1399
1400 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05001401 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05001402 }
1403 public int Field3 {
1404 get { return result.Field3; }
1405 set { SetField3(value); }
1406 }
1407 public Builder SetField3(int value) {
1408 result.hasField3 = true;
1409 result.field3_ = value;
1410 return this;
1411 }
1412 public Builder ClearField3() {
1413 result.hasField3 = false;
1414 result.field3_ = 0;
1415 return this;
1416 }
1417
1418 public bool HasField280 {
csharptestc671a4b2011-06-08 11:51:24 -05001419 get { return result.hasField280; }
csharptest27bfcc52011-06-02 12:04:06 -05001420 }
1421 public int Field280 {
1422 get { return result.Field280; }
1423 set { SetField280(value); }
1424 }
1425 public Builder SetField280(int value) {
1426 result.hasField280 = true;
1427 result.field280_ = value;
1428 return this;
1429 }
1430 public Builder ClearField280() {
1431 result.hasField280 = false;
1432 result.field280_ = 0;
1433 return this;
1434 }
1435
1436 public bool HasField6 {
csharptestc671a4b2011-06-08 11:51:24 -05001437 get { return result.hasField6; }
csharptest27bfcc52011-06-02 12:04:06 -05001438 }
1439 public int Field6 {
1440 get { return result.Field6; }
1441 set { SetField6(value); }
1442 }
1443 public Builder SetField6(int value) {
1444 result.hasField6 = true;
1445 result.field6_ = value;
1446 return this;
1447 }
1448 public Builder ClearField6() {
1449 result.hasField6 = false;
1450 result.field6_ = 0;
1451 return this;
1452 }
1453
1454 public bool HasField22 {
csharptestc671a4b2011-06-08 11:51:24 -05001455 get { return result.hasField22; }
csharptest27bfcc52011-06-02 12:04:06 -05001456 }
1457 public long Field22 {
1458 get { return result.Field22; }
1459 set { SetField22(value); }
1460 }
1461 public Builder SetField22(long value) {
1462 result.hasField22 = true;
1463 result.field22_ = value;
1464 return this;
1465 }
1466 public Builder ClearField22() {
1467 result.hasField22 = false;
1468 result.field22_ = 0L;
1469 return this;
1470 }
1471
1472 public bool HasField4 {
csharptestc671a4b2011-06-08 11:51:24 -05001473 get { return result.hasField4; }
csharptest27bfcc52011-06-02 12:04:06 -05001474 }
1475 public string Field4 {
1476 get { return result.Field4; }
1477 set { SetField4(value); }
1478 }
1479 public Builder SetField4(string value) {
1480 pb::ThrowHelper.ThrowIfNull(value, "value");
1481 result.hasField4 = true;
1482 result.field4_ = value;
1483 return this;
1484 }
1485 public Builder ClearField4() {
1486 result.hasField4 = false;
1487 result.field4_ = "";
1488 return this;
1489 }
1490
1491 [global::System.CLSCompliant(false)]
1492 public pbc::IPopsicleList<ulong> Field5List {
1493 get { return result.field5_; }
1494 }
1495 public int Field5Count {
1496 get { return result.Field5Count; }
1497 }
1498 [global::System.CLSCompliant(false)]
1499 public ulong GetField5(int index) {
1500 return result.GetField5(index);
1501 }
1502 [global::System.CLSCompliant(false)]
1503 public Builder SetField5(int index, ulong value) {
1504 result.field5_[index] = value;
1505 return this;
1506 }
1507 [global::System.CLSCompliant(false)]
1508 public Builder AddField5(ulong value) {
1509 result.field5_.Add(value);
1510 return this;
1511 }
1512 [global::System.CLSCompliant(false)]
1513 public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
1514 base.AddRange(values, result.field5_);
1515 return this;
1516 }
1517 public Builder ClearField5() {
1518 result.field5_.Clear();
1519 return this;
1520 }
1521
1522 public bool HasField59 {
csharptestc671a4b2011-06-08 11:51:24 -05001523 get { return result.hasField59; }
csharptest27bfcc52011-06-02 12:04:06 -05001524 }
1525 public bool Field59 {
1526 get { return result.Field59; }
1527 set { SetField59(value); }
1528 }
1529 public Builder SetField59(bool value) {
1530 result.hasField59 = true;
1531 result.field59_ = value;
1532 return this;
1533 }
1534 public Builder ClearField59() {
1535 result.hasField59 = false;
1536 result.field59_ = false;
1537 return this;
1538 }
1539
1540 public bool HasField7 {
csharptestc671a4b2011-06-08 11:51:24 -05001541 get { return result.hasField7; }
csharptest27bfcc52011-06-02 12:04:06 -05001542 }
1543 public string Field7 {
1544 get { return result.Field7; }
1545 set { SetField7(value); }
1546 }
1547 public Builder SetField7(string value) {
1548 pb::ThrowHelper.ThrowIfNull(value, "value");
1549 result.hasField7 = true;
1550 result.field7_ = value;
1551 return this;
1552 }
1553 public Builder ClearField7() {
1554 result.hasField7 = false;
1555 result.field7_ = "";
1556 return this;
1557 }
1558
1559 public bool HasField16 {
csharptestc671a4b2011-06-08 11:51:24 -05001560 get { return result.hasField16; }
csharptest27bfcc52011-06-02 12:04:06 -05001561 }
1562 public int Field16 {
1563 get { return result.Field16; }
1564 set { SetField16(value); }
1565 }
1566 public Builder SetField16(int value) {
1567 result.hasField16 = true;
1568 result.field16_ = value;
1569 return this;
1570 }
1571 public Builder ClearField16() {
1572 result.hasField16 = false;
1573 result.field16_ = 0;
1574 return this;
1575 }
1576
1577 public bool HasField130 {
csharptestc671a4b2011-06-08 11:51:24 -05001578 get { return result.hasField130; }
csharptest27bfcc52011-06-02 12:04:06 -05001579 }
1580 public int Field130 {
1581 get { return result.Field130; }
1582 set { SetField130(value); }
1583 }
1584 public Builder SetField130(int value) {
1585 result.hasField130 = true;
1586 result.field130_ = value;
1587 return this;
1588 }
1589 public Builder ClearField130() {
1590 result.hasField130 = false;
1591 result.field130_ = 0;
1592 return this;
1593 }
1594
1595 public bool HasField12 {
csharptestc671a4b2011-06-08 11:51:24 -05001596 get { return result.hasField12; }
csharptest27bfcc52011-06-02 12:04:06 -05001597 }
1598 public bool Field12 {
1599 get { return result.Field12; }
1600 set { SetField12(value); }
1601 }
1602 public Builder SetField12(bool value) {
1603 result.hasField12 = true;
1604 result.field12_ = value;
1605 return this;
1606 }
1607 public Builder ClearField12() {
1608 result.hasField12 = false;
1609 result.field12_ = true;
1610 return this;
1611 }
1612
1613 public bool HasField17 {
csharptestc671a4b2011-06-08 11:51:24 -05001614 get { return result.hasField17; }
csharptest27bfcc52011-06-02 12:04:06 -05001615 }
1616 public bool Field17 {
1617 get { return result.Field17; }
1618 set { SetField17(value); }
1619 }
1620 public Builder SetField17(bool value) {
1621 result.hasField17 = true;
1622 result.field17_ = value;
1623 return this;
1624 }
1625 public Builder ClearField17() {
1626 result.hasField17 = false;
1627 result.field17_ = true;
1628 return this;
1629 }
1630
1631 public bool HasField13 {
csharptestc671a4b2011-06-08 11:51:24 -05001632 get { return result.hasField13; }
csharptest27bfcc52011-06-02 12:04:06 -05001633 }
1634 public bool Field13 {
1635 get { return result.Field13; }
1636 set { SetField13(value); }
1637 }
1638 public Builder SetField13(bool value) {
1639 result.hasField13 = true;
1640 result.field13_ = value;
1641 return this;
1642 }
1643 public Builder ClearField13() {
1644 result.hasField13 = false;
1645 result.field13_ = true;
1646 return this;
1647 }
1648
1649 public bool HasField14 {
csharptestc671a4b2011-06-08 11:51:24 -05001650 get { return result.hasField14; }
csharptest27bfcc52011-06-02 12:04:06 -05001651 }
1652 public bool Field14 {
1653 get { return result.Field14; }
1654 set { SetField14(value); }
1655 }
1656 public Builder SetField14(bool value) {
1657 result.hasField14 = true;
1658 result.field14_ = value;
1659 return this;
1660 }
1661 public Builder ClearField14() {
1662 result.hasField14 = false;
1663 result.field14_ = true;
1664 return this;
1665 }
1666
1667 public bool HasField104 {
csharptestc671a4b2011-06-08 11:51:24 -05001668 get { return result.hasField104; }
csharptest27bfcc52011-06-02 12:04:06 -05001669 }
1670 public int Field104 {
1671 get { return result.Field104; }
1672 set { SetField104(value); }
1673 }
1674 public Builder SetField104(int value) {
1675 result.hasField104 = true;
1676 result.field104_ = value;
1677 return this;
1678 }
1679 public Builder ClearField104() {
1680 result.hasField104 = false;
1681 result.field104_ = 0;
1682 return this;
1683 }
1684
1685 public bool HasField100 {
csharptestc671a4b2011-06-08 11:51:24 -05001686 get { return result.hasField100; }
csharptest27bfcc52011-06-02 12:04:06 -05001687 }
1688 public int Field100 {
1689 get { return result.Field100; }
1690 set { SetField100(value); }
1691 }
1692 public Builder SetField100(int value) {
1693 result.hasField100 = true;
1694 result.field100_ = value;
1695 return this;
1696 }
1697 public Builder ClearField100() {
1698 result.hasField100 = false;
1699 result.field100_ = 0;
1700 return this;
1701 }
1702
1703 public bool HasField101 {
csharptestc671a4b2011-06-08 11:51:24 -05001704 get { return result.hasField101; }
csharptest27bfcc52011-06-02 12:04:06 -05001705 }
1706 public int Field101 {
1707 get { return result.Field101; }
1708 set { SetField101(value); }
1709 }
1710 public Builder SetField101(int value) {
1711 result.hasField101 = true;
1712 result.field101_ = value;
1713 return this;
1714 }
1715 public Builder ClearField101() {
1716 result.hasField101 = false;
1717 result.field101_ = 0;
1718 return this;
1719 }
1720
1721 public bool HasField102 {
csharptestc671a4b2011-06-08 11:51:24 -05001722 get { return result.hasField102; }
csharptest27bfcc52011-06-02 12:04:06 -05001723 }
1724 public string Field102 {
1725 get { return result.Field102; }
1726 set { SetField102(value); }
1727 }
1728 public Builder SetField102(string value) {
1729 pb::ThrowHelper.ThrowIfNull(value, "value");
1730 result.hasField102 = true;
1731 result.field102_ = value;
1732 return this;
1733 }
1734 public Builder ClearField102() {
1735 result.hasField102 = false;
1736 result.field102_ = "";
1737 return this;
1738 }
1739
1740 public bool HasField103 {
csharptestc671a4b2011-06-08 11:51:24 -05001741 get { return result.hasField103; }
csharptest27bfcc52011-06-02 12:04:06 -05001742 }
1743 public string Field103 {
1744 get { return result.Field103; }
1745 set { SetField103(value); }
1746 }
1747 public Builder SetField103(string value) {
1748 pb::ThrowHelper.ThrowIfNull(value, "value");
1749 result.hasField103 = true;
1750 result.field103_ = value;
1751 return this;
1752 }
1753 public Builder ClearField103() {
1754 result.hasField103 = false;
1755 result.field103_ = "";
1756 return this;
1757 }
1758
1759 public bool HasField29 {
csharptestc671a4b2011-06-08 11:51:24 -05001760 get { return result.hasField29; }
csharptest27bfcc52011-06-02 12:04:06 -05001761 }
1762 public int Field29 {
1763 get { return result.Field29; }
1764 set { SetField29(value); }
1765 }
1766 public Builder SetField29(int value) {
1767 result.hasField29 = true;
1768 result.field29_ = value;
1769 return this;
1770 }
1771 public Builder ClearField29() {
1772 result.hasField29 = false;
1773 result.field29_ = 0;
1774 return this;
1775 }
1776
1777 public bool HasField30 {
csharptestc671a4b2011-06-08 11:51:24 -05001778 get { return result.hasField30; }
csharptest27bfcc52011-06-02 12:04:06 -05001779 }
1780 public bool Field30 {
1781 get { return result.Field30; }
1782 set { SetField30(value); }
1783 }
1784 public Builder SetField30(bool value) {
1785 result.hasField30 = true;
1786 result.field30_ = value;
1787 return this;
1788 }
1789 public Builder ClearField30() {
1790 result.hasField30 = false;
1791 result.field30_ = false;
1792 return this;
1793 }
1794
1795 public bool HasField60 {
csharptestc671a4b2011-06-08 11:51:24 -05001796 get { return result.hasField60; }
csharptest27bfcc52011-06-02 12:04:06 -05001797 }
1798 public int Field60 {
1799 get { return result.Field60; }
1800 set { SetField60(value); }
1801 }
1802 public Builder SetField60(int value) {
1803 result.hasField60 = true;
1804 result.field60_ = value;
1805 return this;
1806 }
1807 public Builder ClearField60() {
1808 result.hasField60 = false;
1809 result.field60_ = -1;
1810 return this;
1811 }
1812
1813 public bool HasField271 {
csharptestc671a4b2011-06-08 11:51:24 -05001814 get { return result.hasField271; }
csharptest27bfcc52011-06-02 12:04:06 -05001815 }
1816 public int Field271 {
1817 get { return result.Field271; }
1818 set { SetField271(value); }
1819 }
1820 public Builder SetField271(int value) {
1821 result.hasField271 = true;
1822 result.field271_ = value;
1823 return this;
1824 }
1825 public Builder ClearField271() {
1826 result.hasField271 = false;
1827 result.field271_ = -1;
1828 return this;
1829 }
1830
1831 public bool HasField272 {
csharptestc671a4b2011-06-08 11:51:24 -05001832 get { return result.hasField272; }
csharptest27bfcc52011-06-02 12:04:06 -05001833 }
1834 public int Field272 {
1835 get { return result.Field272; }
1836 set { SetField272(value); }
1837 }
1838 public Builder SetField272(int value) {
1839 result.hasField272 = true;
1840 result.field272_ = value;
1841 return this;
1842 }
1843 public Builder ClearField272() {
1844 result.hasField272 = false;
1845 result.field272_ = -1;
1846 return this;
1847 }
1848
1849 public bool HasField150 {
csharptestc671a4b2011-06-08 11:51:24 -05001850 get { return result.hasField150; }
csharptest27bfcc52011-06-02 12:04:06 -05001851 }
1852 public int Field150 {
1853 get { return result.Field150; }
1854 set { SetField150(value); }
1855 }
1856 public Builder SetField150(int value) {
1857 result.hasField150 = true;
1858 result.field150_ = value;
1859 return this;
1860 }
1861 public Builder ClearField150() {
1862 result.hasField150 = false;
1863 result.field150_ = 0;
1864 return this;
1865 }
1866
1867 public bool HasField23 {
csharptestc671a4b2011-06-08 11:51:24 -05001868 get { return result.hasField23; }
csharptest27bfcc52011-06-02 12:04:06 -05001869 }
1870 public int Field23 {
1871 get { return result.Field23; }
1872 set { SetField23(value); }
1873 }
1874 public Builder SetField23(int value) {
1875 result.hasField23 = true;
1876 result.field23_ = value;
1877 return this;
1878 }
1879 public Builder ClearField23() {
1880 result.hasField23 = false;
1881 result.field23_ = 0;
1882 return this;
1883 }
1884
1885 public bool HasField24 {
csharptestc671a4b2011-06-08 11:51:24 -05001886 get { return result.hasField24; }
csharptest27bfcc52011-06-02 12:04:06 -05001887 }
1888 public bool Field24 {
1889 get { return result.Field24; }
1890 set { SetField24(value); }
1891 }
1892 public Builder SetField24(bool value) {
1893 result.hasField24 = true;
1894 result.field24_ = value;
1895 return this;
1896 }
1897 public Builder ClearField24() {
1898 result.hasField24 = false;
1899 result.field24_ = false;
1900 return this;
1901 }
1902
1903 public bool HasField25 {
csharptestc671a4b2011-06-08 11:51:24 -05001904 get { return result.hasField25; }
csharptest27bfcc52011-06-02 12:04:06 -05001905 }
1906 public int Field25 {
1907 get { return result.Field25; }
1908 set { SetField25(value); }
1909 }
1910 public Builder SetField25(int value) {
1911 result.hasField25 = true;
1912 result.field25_ = value;
1913 return this;
1914 }
1915 public Builder ClearField25() {
1916 result.hasField25 = false;
1917 result.field25_ = 0;
1918 return this;
1919 }
1920
1921 public bool HasField15 {
csharptestc671a4b2011-06-08 11:51:24 -05001922 get { return result.hasField15; }
csharptest27bfcc52011-06-02 12:04:06 -05001923 }
1924 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
1925 get { return result.Field15; }
1926 set { SetField15(value); }
1927 }
1928 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1929 pb::ThrowHelper.ThrowIfNull(value, "value");
1930 result.hasField15 = true;
1931 result.field15_ = value;
1932 return this;
1933 }
1934 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder builderForValue) {
1935 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
1936 result.hasField15 = true;
1937 result.field15_ = builderForValue.Build();
1938 return this;
1939 }
1940 public Builder MergeField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1941 pb::ThrowHelper.ThrowIfNull(value, "value");
csharptestc671a4b2011-06-08 11:51:24 -05001942 if (result.hasField15 &&
csharptest27bfcc52011-06-02 12:04:06 -05001943 result.field15_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) {
1944 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder(result.field15_).MergeFrom(value).BuildPartial();
1945 } else {
1946 result.field15_ = value;
1947 }
1948 result.hasField15 = true;
1949 return this;
1950 }
1951 public Builder ClearField15() {
1952 result.hasField15 = false;
1953 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
1954 return this;
1955 }
1956
1957 public bool HasField78 {
csharptestc671a4b2011-06-08 11:51:24 -05001958 get { return result.hasField78; }
csharptest27bfcc52011-06-02 12:04:06 -05001959 }
1960 public bool Field78 {
1961 get { return result.Field78; }
1962 set { SetField78(value); }
1963 }
1964 public Builder SetField78(bool value) {
1965 result.hasField78 = true;
1966 result.field78_ = value;
1967 return this;
1968 }
1969 public Builder ClearField78() {
1970 result.hasField78 = false;
1971 result.field78_ = false;
1972 return this;
1973 }
1974
1975 public bool HasField67 {
csharptestc671a4b2011-06-08 11:51:24 -05001976 get { return result.hasField67; }
csharptest27bfcc52011-06-02 12:04:06 -05001977 }
1978 public int Field67 {
1979 get { return result.Field67; }
1980 set { SetField67(value); }
1981 }
1982 public Builder SetField67(int value) {
1983 result.hasField67 = true;
1984 result.field67_ = value;
1985 return this;
1986 }
1987 public Builder ClearField67() {
1988 result.hasField67 = false;
1989 result.field67_ = 0;
1990 return this;
1991 }
1992
1993 public bool HasField68 {
csharptestc671a4b2011-06-08 11:51:24 -05001994 get { return result.hasField68; }
csharptest27bfcc52011-06-02 12:04:06 -05001995 }
1996 public int Field68 {
1997 get { return result.Field68; }
1998 set { SetField68(value); }
1999 }
2000 public Builder SetField68(int value) {
2001 result.hasField68 = true;
2002 result.field68_ = value;
2003 return this;
2004 }
2005 public Builder ClearField68() {
2006 result.hasField68 = false;
2007 result.field68_ = 0;
2008 return this;
2009 }
2010
2011 public bool HasField128 {
csharptestc671a4b2011-06-08 11:51:24 -05002012 get { return result.hasField128; }
csharptest27bfcc52011-06-02 12:04:06 -05002013 }
2014 public int Field128 {
2015 get { return result.Field128; }
2016 set { SetField128(value); }
2017 }
2018 public Builder SetField128(int value) {
2019 result.hasField128 = true;
2020 result.field128_ = value;
2021 return this;
2022 }
2023 public Builder ClearField128() {
2024 result.hasField128 = false;
2025 result.field128_ = 0;
2026 return this;
2027 }
2028
2029 public bool HasField129 {
csharptestc671a4b2011-06-08 11:51:24 -05002030 get { return result.hasField129; }
csharptest27bfcc52011-06-02 12:04:06 -05002031 }
2032 public string Field129 {
2033 get { return result.Field129; }
2034 set { SetField129(value); }
2035 }
2036 public Builder SetField129(string value) {
2037 pb::ThrowHelper.ThrowIfNull(value, "value");
2038 result.hasField129 = true;
2039 result.field129_ = value;
2040 return this;
2041 }
2042 public Builder ClearField129() {
2043 result.hasField129 = false;
2044 result.field129_ = "xxxxxxxxxxxxxxxxxxxxx";
2045 return this;
2046 }
2047
2048 public bool HasField131 {
csharptestc671a4b2011-06-08 11:51:24 -05002049 get { return result.hasField131; }
csharptest27bfcc52011-06-02 12:04:06 -05002050 }
2051 public int Field131 {
2052 get { return result.Field131; }
2053 set { SetField131(value); }
2054 }
2055 public Builder SetField131(int value) {
2056 result.hasField131 = true;
2057 result.field131_ = value;
2058 return this;
2059 }
2060 public Builder ClearField131() {
2061 result.hasField131 = false;
2062 result.field131_ = 0;
2063 return this;
2064 }
2065 }
2066 static SpeedMessage1() {
2067 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
2068 }
2069 }
2070
2071 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2072 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2073 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2074 public sealed partial class SpeedMessage1SubMessage : pb::GeneratedMessage<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> {
2075 private static readonly SpeedMessage1SubMessage defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05002076 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" };
2077 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 -05002078 public static SpeedMessage1SubMessage DefaultInstance {
2079 get { return defaultInstance; }
2080 }
2081
2082 public override SpeedMessage1SubMessage DefaultInstanceForType {
2083 get { return defaultInstance; }
2084 }
2085
2086 protected override SpeedMessage1SubMessage ThisMessage {
2087 get { return this; }
2088 }
2089
2090 public static pbd::MessageDescriptor Descriptor {
2091 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor; }
2092 }
2093
2094 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> InternalFieldAccessors {
2095 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable; }
2096 }
2097
2098 public const int Field1FieldNumber = 1;
2099 private bool hasField1;
csharptestced18e12011-06-09 19:47:56 -05002100 private int field1_;
csharptest27bfcc52011-06-02 12:04:06 -05002101 public bool HasField1 {
2102 get { return hasField1; }
2103 }
2104 public int Field1 {
2105 get { return field1_; }
2106 }
2107
2108 public const int Field2FieldNumber = 2;
2109 private bool hasField2;
csharptestced18e12011-06-09 19:47:56 -05002110 private int field2_;
csharptest27bfcc52011-06-02 12:04:06 -05002111 public bool HasField2 {
2112 get { return hasField2; }
2113 }
2114 public int Field2 {
2115 get { return field2_; }
2116 }
2117
2118 public const int Field3FieldNumber = 3;
2119 private bool hasField3;
csharptestced18e12011-06-09 19:47:56 -05002120 private int field3_;
csharptest27bfcc52011-06-02 12:04:06 -05002121 public bool HasField3 {
2122 get { return hasField3; }
2123 }
2124 public int Field3 {
2125 get { return field3_; }
2126 }
2127
2128 public const int Field15FieldNumber = 15;
2129 private bool hasField15;
2130 private string field15_ = "";
2131 public bool HasField15 {
2132 get { return hasField15; }
2133 }
2134 public string Field15 {
2135 get { return field15_; }
2136 }
2137
2138 public const int Field12FieldNumber = 12;
2139 private bool hasField12;
2140 private bool field12_ = true;
2141 public bool HasField12 {
2142 get { return hasField12; }
2143 }
2144 public bool Field12 {
2145 get { return field12_; }
2146 }
2147
2148 public const int Field13FieldNumber = 13;
2149 private bool hasField13;
csharptestced18e12011-06-09 19:47:56 -05002150 private long field13_;
csharptest27bfcc52011-06-02 12:04:06 -05002151 public bool HasField13 {
2152 get { return hasField13; }
2153 }
2154 public long Field13 {
2155 get { return field13_; }
2156 }
2157
2158 public const int Field14FieldNumber = 14;
2159 private bool hasField14;
csharptestced18e12011-06-09 19:47:56 -05002160 private long field14_;
csharptest27bfcc52011-06-02 12:04:06 -05002161 public bool HasField14 {
2162 get { return hasField14; }
2163 }
2164 public long Field14 {
2165 get { return field14_; }
2166 }
2167
2168 public const int Field16FieldNumber = 16;
2169 private bool hasField16;
csharptestced18e12011-06-09 19:47:56 -05002170 private int field16_;
csharptest27bfcc52011-06-02 12:04:06 -05002171 public bool HasField16 {
2172 get { return hasField16; }
2173 }
2174 public int Field16 {
2175 get { return field16_; }
2176 }
2177
2178 public const int Field19FieldNumber = 19;
2179 private bool hasField19;
2180 private int field19_ = 2;
2181 public bool HasField19 {
2182 get { return hasField19; }
2183 }
2184 public int Field19 {
2185 get { return field19_; }
2186 }
2187
2188 public const int Field20FieldNumber = 20;
2189 private bool hasField20;
2190 private bool field20_ = true;
2191 public bool HasField20 {
2192 get { return hasField20; }
2193 }
2194 public bool Field20 {
2195 get { return field20_; }
2196 }
2197
2198 public const int Field28FieldNumber = 28;
2199 private bool hasField28;
2200 private bool field28_ = true;
2201 public bool HasField28 {
2202 get { return hasField28; }
2203 }
2204 public bool Field28 {
2205 get { return field28_; }
2206 }
2207
2208 public const int Field21FieldNumber = 21;
2209 private bool hasField21;
csharptestced18e12011-06-09 19:47:56 -05002210 private ulong field21_;
csharptest27bfcc52011-06-02 12:04:06 -05002211 public bool HasField21 {
2212 get { return hasField21; }
2213 }
2214 [global::System.CLSCompliant(false)]
2215 public ulong Field21 {
2216 get { return field21_; }
2217 }
2218
2219 public const int Field22FieldNumber = 22;
2220 private bool hasField22;
csharptestced18e12011-06-09 19:47:56 -05002221 private int field22_;
csharptest27bfcc52011-06-02 12:04:06 -05002222 public bool HasField22 {
2223 get { return hasField22; }
2224 }
2225 public int Field22 {
2226 get { return field22_; }
2227 }
2228
2229 public const int Field23FieldNumber = 23;
2230 private bool hasField23;
csharptestced18e12011-06-09 19:47:56 -05002231 private bool field23_;
csharptest27bfcc52011-06-02 12:04:06 -05002232 public bool HasField23 {
2233 get { return hasField23; }
2234 }
2235 public bool Field23 {
2236 get { return field23_; }
2237 }
2238
2239 public const int Field206FieldNumber = 206;
2240 private bool hasField206;
csharptestced18e12011-06-09 19:47:56 -05002241 private bool field206_;
csharptest27bfcc52011-06-02 12:04:06 -05002242 public bool HasField206 {
2243 get { return hasField206; }
2244 }
2245 public bool Field206 {
2246 get { return field206_; }
2247 }
2248
2249 public const int Field203FieldNumber = 203;
2250 private bool hasField203;
csharptestced18e12011-06-09 19:47:56 -05002251 private uint field203_;
csharptest27bfcc52011-06-02 12:04:06 -05002252 public bool HasField203 {
2253 get { return hasField203; }
2254 }
2255 [global::System.CLSCompliant(false)]
2256 public uint Field203 {
2257 get { return field203_; }
2258 }
2259
2260 public const int Field204FieldNumber = 204;
2261 private bool hasField204;
csharptestced18e12011-06-09 19:47:56 -05002262 private int field204_;
csharptest27bfcc52011-06-02 12:04:06 -05002263 public bool HasField204 {
2264 get { return hasField204; }
2265 }
2266 public int Field204 {
2267 get { return field204_; }
2268 }
2269
2270 public const int Field205FieldNumber = 205;
2271 private bool hasField205;
2272 private string field205_ = "";
2273 public bool HasField205 {
2274 get { return hasField205; }
2275 }
2276 public string Field205 {
2277 get { return field205_; }
2278 }
2279
2280 public const int Field207FieldNumber = 207;
2281 private bool hasField207;
csharptestced18e12011-06-09 19:47:56 -05002282 private ulong field207_;
csharptest27bfcc52011-06-02 12:04:06 -05002283 public bool HasField207 {
2284 get { return hasField207; }
2285 }
2286 [global::System.CLSCompliant(false)]
2287 public ulong Field207 {
2288 get { return field207_; }
2289 }
2290
2291 public const int Field300FieldNumber = 300;
2292 private bool hasField300;
csharptestced18e12011-06-09 19:47:56 -05002293 private ulong field300_;
csharptest27bfcc52011-06-02 12:04:06 -05002294 public bool HasField300 {
2295 get { return hasField300; }
2296 }
2297 [global::System.CLSCompliant(false)]
2298 public ulong Field300 {
2299 get { return field300_; }
2300 }
2301
2302 public override bool IsInitialized {
2303 get {
2304 return true;
2305 }
2306 }
2307
csharptestffafdaa2011-06-03 12:58:14 -05002308 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05002309 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05002310 string[] field_names = _speedMessage1SubMessageFieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05002311 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -05002312 output.WriteInt32(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -05002313 }
csharptestc671a4b2011-06-08 11:51:24 -05002314 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -05002315 output.WriteInt32(2, field_names[7], Field2);
csharptest27bfcc52011-06-02 12:04:06 -05002316 }
csharptestc671a4b2011-06-08 11:51:24 -05002317 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -05002318 output.WriteInt32(3, field_names[18], Field3);
csharptest27bfcc52011-06-02 12:04:06 -05002319 }
csharptestc671a4b2011-06-08 11:51:24 -05002320 if (hasField12) {
csharptest920b09a2011-06-08 20:13:29 -05002321 output.WriteBool(12, field_names[1], Field12);
csharptest27bfcc52011-06-02 12:04:06 -05002322 }
csharptestc671a4b2011-06-08 11:51:24 -05002323 if (hasField13) {
csharptest920b09a2011-06-08 20:13:29 -05002324 output.WriteInt64(13, field_names[2], Field13);
csharptest27bfcc52011-06-02 12:04:06 -05002325 }
csharptestc671a4b2011-06-08 11:51:24 -05002326 if (hasField14) {
csharptest920b09a2011-06-08 20:13:29 -05002327 output.WriteInt64(14, field_names[3], Field14);
csharptest27bfcc52011-06-02 12:04:06 -05002328 }
csharptestc671a4b2011-06-08 11:51:24 -05002329 if (hasField15) {
csharptest920b09a2011-06-08 20:13:29 -05002330 output.WriteString(15, field_names[4], Field15);
csharptest27bfcc52011-06-02 12:04:06 -05002331 }
csharptestc671a4b2011-06-08 11:51:24 -05002332 if (hasField16) {
csharptest920b09a2011-06-08 20:13:29 -05002333 output.WriteInt32(16, field_names[5], Field16);
csharptest27bfcc52011-06-02 12:04:06 -05002334 }
csharptestc671a4b2011-06-08 11:51:24 -05002335 if (hasField19) {
csharptest920b09a2011-06-08 20:13:29 -05002336 output.WriteInt32(19, field_names[6], Field19);
csharptest27bfcc52011-06-02 12:04:06 -05002337 }
csharptestc671a4b2011-06-08 11:51:24 -05002338 if (hasField20) {
csharptest920b09a2011-06-08 20:13:29 -05002339 output.WriteBool(20, field_names[8], Field20);
csharptest27bfcc52011-06-02 12:04:06 -05002340 }
csharptestc671a4b2011-06-08 11:51:24 -05002341 if (hasField21) {
csharptest920b09a2011-06-08 20:13:29 -05002342 output.WriteFixed64(21, field_names[14], Field21);
csharptest27bfcc52011-06-02 12:04:06 -05002343 }
csharptestc671a4b2011-06-08 11:51:24 -05002344 if (hasField22) {
csharptest920b09a2011-06-08 20:13:29 -05002345 output.WriteInt32(22, field_names[15], Field22);
csharptest27bfcc52011-06-02 12:04:06 -05002346 }
csharptestc671a4b2011-06-08 11:51:24 -05002347 if (hasField23) {
csharptest920b09a2011-06-08 20:13:29 -05002348 output.WriteBool(23, field_names[16], Field23);
csharptest27bfcc52011-06-02 12:04:06 -05002349 }
csharptestc671a4b2011-06-08 11:51:24 -05002350 if (hasField28) {
csharptest920b09a2011-06-08 20:13:29 -05002351 output.WriteBool(28, field_names[17], Field28);
csharptest27bfcc52011-06-02 12:04:06 -05002352 }
csharptestc671a4b2011-06-08 11:51:24 -05002353 if (hasField203) {
csharptest920b09a2011-06-08 20:13:29 -05002354 output.WriteFixed32(203, field_names[9], Field203);
csharptest27bfcc52011-06-02 12:04:06 -05002355 }
csharptestc671a4b2011-06-08 11:51:24 -05002356 if (hasField204) {
csharptest920b09a2011-06-08 20:13:29 -05002357 output.WriteInt32(204, field_names[10], Field204);
csharptest27bfcc52011-06-02 12:04:06 -05002358 }
csharptestc671a4b2011-06-08 11:51:24 -05002359 if (hasField205) {
csharptest920b09a2011-06-08 20:13:29 -05002360 output.WriteString(205, field_names[11], Field205);
csharptest27bfcc52011-06-02 12:04:06 -05002361 }
csharptestc671a4b2011-06-08 11:51:24 -05002362 if (hasField206) {
csharptest920b09a2011-06-08 20:13:29 -05002363 output.WriteBool(206, field_names[12], Field206);
csharptest27bfcc52011-06-02 12:04:06 -05002364 }
csharptestc671a4b2011-06-08 11:51:24 -05002365 if (hasField207) {
csharptest920b09a2011-06-08 20:13:29 -05002366 output.WriteUInt64(207, field_names[13], Field207);
csharptest27bfcc52011-06-02 12:04:06 -05002367 }
csharptestc671a4b2011-06-08 11:51:24 -05002368 if (hasField300) {
csharptest920b09a2011-06-08 20:13:29 -05002369 output.WriteUInt64(300, field_names[19], Field300);
csharptest27bfcc52011-06-02 12:04:06 -05002370 }
2371 UnknownFields.WriteTo(output);
2372 }
2373
2374 private int memoizedSerializedSize = -1;
2375 public override int SerializedSize {
2376 get {
2377 int size = memoizedSerializedSize;
2378 if (size != -1) return size;
2379
2380 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05002381 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -05002382 size += pb::CodedOutputStream.ComputeInt32Size(1, Field1);
2383 }
csharptestc671a4b2011-06-08 11:51:24 -05002384 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -05002385 size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
2386 }
csharptestc671a4b2011-06-08 11:51:24 -05002387 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -05002388 size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
2389 }
csharptestc671a4b2011-06-08 11:51:24 -05002390 if (hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -05002391 size += pb::CodedOutputStream.ComputeStringSize(15, Field15);
2392 }
csharptestc671a4b2011-06-08 11:51:24 -05002393 if (hasField12) {
csharptest27bfcc52011-06-02 12:04:06 -05002394 size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
2395 }
csharptestc671a4b2011-06-08 11:51:24 -05002396 if (hasField13) {
csharptest27bfcc52011-06-02 12:04:06 -05002397 size += pb::CodedOutputStream.ComputeInt64Size(13, Field13);
2398 }
csharptestc671a4b2011-06-08 11:51:24 -05002399 if (hasField14) {
csharptest27bfcc52011-06-02 12:04:06 -05002400 size += pb::CodedOutputStream.ComputeInt64Size(14, Field14);
2401 }
csharptestc671a4b2011-06-08 11:51:24 -05002402 if (hasField16) {
csharptest27bfcc52011-06-02 12:04:06 -05002403 size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
2404 }
csharptestc671a4b2011-06-08 11:51:24 -05002405 if (hasField19) {
csharptest27bfcc52011-06-02 12:04:06 -05002406 size += pb::CodedOutputStream.ComputeInt32Size(19, Field19);
2407 }
csharptestc671a4b2011-06-08 11:51:24 -05002408 if (hasField20) {
csharptest27bfcc52011-06-02 12:04:06 -05002409 size += pb::CodedOutputStream.ComputeBoolSize(20, Field20);
2410 }
csharptestc671a4b2011-06-08 11:51:24 -05002411 if (hasField28) {
csharptest27bfcc52011-06-02 12:04:06 -05002412 size += pb::CodedOutputStream.ComputeBoolSize(28, Field28);
2413 }
csharptestc671a4b2011-06-08 11:51:24 -05002414 if (hasField21) {
csharptest27bfcc52011-06-02 12:04:06 -05002415 size += pb::CodedOutputStream.ComputeFixed64Size(21, Field21);
2416 }
csharptestc671a4b2011-06-08 11:51:24 -05002417 if (hasField22) {
csharptest27bfcc52011-06-02 12:04:06 -05002418 size += pb::CodedOutputStream.ComputeInt32Size(22, Field22);
2419 }
csharptestc671a4b2011-06-08 11:51:24 -05002420 if (hasField23) {
csharptest27bfcc52011-06-02 12:04:06 -05002421 size += pb::CodedOutputStream.ComputeBoolSize(23, Field23);
2422 }
csharptestc671a4b2011-06-08 11:51:24 -05002423 if (hasField206) {
csharptest27bfcc52011-06-02 12:04:06 -05002424 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
2425 }
csharptestc671a4b2011-06-08 11:51:24 -05002426 if (hasField203) {
csharptest27bfcc52011-06-02 12:04:06 -05002427 size += pb::CodedOutputStream.ComputeFixed32Size(203, Field203);
2428 }
csharptestc671a4b2011-06-08 11:51:24 -05002429 if (hasField204) {
csharptest27bfcc52011-06-02 12:04:06 -05002430 size += pb::CodedOutputStream.ComputeInt32Size(204, Field204);
2431 }
csharptestc671a4b2011-06-08 11:51:24 -05002432 if (hasField205) {
csharptest27bfcc52011-06-02 12:04:06 -05002433 size += pb::CodedOutputStream.ComputeStringSize(205, Field205);
2434 }
csharptestc671a4b2011-06-08 11:51:24 -05002435 if (hasField207) {
csharptest27bfcc52011-06-02 12:04:06 -05002436 size += pb::CodedOutputStream.ComputeUInt64Size(207, Field207);
2437 }
csharptestc671a4b2011-06-08 11:51:24 -05002438 if (hasField300) {
csharptest27bfcc52011-06-02 12:04:06 -05002439 size += pb::CodedOutputStream.ComputeUInt64Size(300, Field300);
2440 }
2441 size += UnknownFields.SerializedSize;
2442 memoizedSerializedSize = size;
2443 return size;
2444 }
2445 }
2446
2447 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data) {
2448 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2449 }
2450 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
2451 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2452 }
2453 public static SpeedMessage1SubMessage ParseFrom(byte[] data) {
2454 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2455 }
2456 public static SpeedMessage1SubMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
2457 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2458 }
2459 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input) {
2460 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2461 }
2462 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2463 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2464 }
2465 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input) {
2466 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
2467 }
2468 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2469 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
2470 }
csharptest17699c22011-06-03 21:57:15 -05002471 public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05002472 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2473 }
csharptest17699c22011-06-03 21:57:15 -05002474 public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05002475 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2476 }
2477 public static Builder CreateBuilder() { return new Builder(); }
2478 public override Builder ToBuilder() { return CreateBuilder(this); }
2479 public override Builder CreateBuilderForType() { return new Builder(); }
2480 public static Builder CreateBuilder(SpeedMessage1SubMessage prototype) {
2481 return (Builder) new Builder().MergeFrom(prototype);
2482 }
2483
2484 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2485 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2486 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2487 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1SubMessage, Builder> {
2488 protected override Builder ThisBuilder {
2489 get { return this; }
2490 }
2491 public Builder() {}
2492
2493 SpeedMessage1SubMessage result = new SpeedMessage1SubMessage();
2494
2495 protected override SpeedMessage1SubMessage MessageBeingBuilt {
2496 get { return result; }
2497 }
2498
2499 public override Builder Clear() {
2500 result = new SpeedMessage1SubMessage();
2501 return this;
2502 }
2503
2504 public override Builder Clone() {
2505 return new Builder().MergeFrom(result);
2506 }
2507
2508 public override pbd::MessageDescriptor DescriptorForType {
2509 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Descriptor; }
2510 }
2511
2512 public override SpeedMessage1SubMessage DefaultInstanceForType {
2513 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance; }
2514 }
2515
2516 public override SpeedMessage1SubMessage BuildPartial() {
2517 if (result == null) {
2518 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
2519 }
2520 SpeedMessage1SubMessage returnMe = result;
2521 result = null;
2522 return returnMe;
2523 }
2524
2525 public override Builder MergeFrom(pb::IMessage other) {
2526 if (other is SpeedMessage1SubMessage) {
2527 return MergeFrom((SpeedMessage1SubMessage) other);
2528 } else {
2529 base.MergeFrom(other);
2530 return this;
2531 }
2532 }
2533
2534 public override Builder MergeFrom(SpeedMessage1SubMessage other) {
2535 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) return this;
2536 if (other.HasField1) {
2537 Field1 = other.Field1;
2538 }
2539 if (other.HasField2) {
2540 Field2 = other.Field2;
2541 }
2542 if (other.HasField3) {
2543 Field3 = other.Field3;
2544 }
2545 if (other.HasField15) {
2546 Field15 = other.Field15;
2547 }
2548 if (other.HasField12) {
2549 Field12 = other.Field12;
2550 }
2551 if (other.HasField13) {
2552 Field13 = other.Field13;
2553 }
2554 if (other.HasField14) {
2555 Field14 = other.Field14;
2556 }
2557 if (other.HasField16) {
2558 Field16 = other.Field16;
2559 }
2560 if (other.HasField19) {
2561 Field19 = other.Field19;
2562 }
2563 if (other.HasField20) {
2564 Field20 = other.Field20;
2565 }
2566 if (other.HasField28) {
2567 Field28 = other.Field28;
2568 }
2569 if (other.HasField21) {
2570 Field21 = other.Field21;
2571 }
2572 if (other.HasField22) {
2573 Field22 = other.Field22;
2574 }
2575 if (other.HasField23) {
2576 Field23 = other.Field23;
2577 }
2578 if (other.HasField206) {
2579 Field206 = other.Field206;
2580 }
2581 if (other.HasField203) {
2582 Field203 = other.Field203;
2583 }
2584 if (other.HasField204) {
2585 Field204 = other.Field204;
2586 }
2587 if (other.HasField205) {
2588 Field205 = other.Field205;
2589 }
2590 if (other.HasField207) {
2591 Field207 = other.Field207;
2592 }
2593 if (other.HasField300) {
2594 Field300 = other.Field300;
2595 }
2596 this.MergeUnknownFields(other.UnknownFields);
2597 return this;
2598 }
2599
csharptest17699c22011-06-03 21:57:15 -05002600 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05002601 return MergeFrom(input, pb::ExtensionRegistry.Empty);
2602 }
2603
csharptest17699c22011-06-03 21:57:15 -05002604 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05002605 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05002606 uint tag;
2607 string field_name;
2608 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05002609 if(tag == 0 && field_name != null) {
2610 int field_ordinal = global::System.Array.BinarySearch(_speedMessage1SubMessageFieldNames, field_name, global::System.StringComparer.Ordinal);
2611 if(field_ordinal >= 0)
2612 tag = _speedMessage1SubMessageFieldTags[field_ordinal];
2613 else {
2614 if (unknownFields == null) {
2615 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2616 }
2617 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
2618 continue;
2619 }
2620 }
csharptest27bfcc52011-06-02 12:04:06 -05002621 switch (tag) {
2622 case 0: {
csharptest99284412011-06-03 14:51:06 -05002623 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05002624 }
2625 default: {
2626 if (pb::WireFormat.IsEndGroupTag(tag)) {
2627 if (unknownFields != null) {
2628 this.UnknownFields = unknownFields.Build();
2629 }
2630 return this;
2631 }
2632 if (unknownFields == null) {
2633 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2634 }
csharptestd2af9e92011-06-03 21:35:02 -05002635 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05002636 break;
2637 }
2638 case 8: {
csharptest920b09a2011-06-08 20:13:29 -05002639 result.hasField1 = input.ReadInt32(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05002640 break;
2641 }
2642 case 16: {
csharptest920b09a2011-06-08 20:13:29 -05002643 result.hasField2 = input.ReadInt32(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05002644 break;
2645 }
2646 case 24: {
csharptest920b09a2011-06-08 20:13:29 -05002647 result.hasField3 = input.ReadInt32(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05002648 break;
2649 }
2650 case 96: {
csharptest920b09a2011-06-08 20:13:29 -05002651 result.hasField12 = input.ReadBool(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05002652 break;
2653 }
2654 case 104: {
csharptest920b09a2011-06-08 20:13:29 -05002655 result.hasField13 = input.ReadInt64(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05002656 break;
2657 }
2658 case 112: {
csharptest920b09a2011-06-08 20:13:29 -05002659 result.hasField14 = input.ReadInt64(ref result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05002660 break;
2661 }
2662 case 122: {
csharptest920b09a2011-06-08 20:13:29 -05002663 result.hasField15 = input.ReadString(ref result.field15_);
csharptest27bfcc52011-06-02 12:04:06 -05002664 break;
2665 }
2666 case 128: {
csharptest920b09a2011-06-08 20:13:29 -05002667 result.hasField16 = input.ReadInt32(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05002668 break;
2669 }
2670 case 152: {
csharptest920b09a2011-06-08 20:13:29 -05002671 result.hasField19 = input.ReadInt32(ref result.field19_);
csharptest27bfcc52011-06-02 12:04:06 -05002672 break;
2673 }
2674 case 160: {
csharptest920b09a2011-06-08 20:13:29 -05002675 result.hasField20 = input.ReadBool(ref result.field20_);
csharptest27bfcc52011-06-02 12:04:06 -05002676 break;
2677 }
2678 case 169: {
csharptest920b09a2011-06-08 20:13:29 -05002679 result.hasField21 = input.ReadFixed64(ref result.field21_);
csharptest27bfcc52011-06-02 12:04:06 -05002680 break;
2681 }
2682 case 176: {
csharptest920b09a2011-06-08 20:13:29 -05002683 result.hasField22 = input.ReadInt32(ref result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05002684 break;
2685 }
2686 case 184: {
csharptest920b09a2011-06-08 20:13:29 -05002687 result.hasField23 = input.ReadBool(ref result.field23_);
csharptest27bfcc52011-06-02 12:04:06 -05002688 break;
2689 }
2690 case 224: {
csharptest920b09a2011-06-08 20:13:29 -05002691 result.hasField28 = input.ReadBool(ref result.field28_);
csharptest27bfcc52011-06-02 12:04:06 -05002692 break;
2693 }
2694 case 1629: {
csharptest920b09a2011-06-08 20:13:29 -05002695 result.hasField203 = input.ReadFixed32(ref result.field203_);
csharptest27bfcc52011-06-02 12:04:06 -05002696 break;
2697 }
2698 case 1632: {
csharptest920b09a2011-06-08 20:13:29 -05002699 result.hasField204 = input.ReadInt32(ref result.field204_);
csharptest27bfcc52011-06-02 12:04:06 -05002700 break;
2701 }
2702 case 1642: {
csharptest920b09a2011-06-08 20:13:29 -05002703 result.hasField205 = input.ReadString(ref result.field205_);
csharptest27bfcc52011-06-02 12:04:06 -05002704 break;
2705 }
2706 case 1648: {
csharptest920b09a2011-06-08 20:13:29 -05002707 result.hasField206 = input.ReadBool(ref result.field206_);
csharptest27bfcc52011-06-02 12:04:06 -05002708 break;
2709 }
2710 case 1656: {
csharptest920b09a2011-06-08 20:13:29 -05002711 result.hasField207 = input.ReadUInt64(ref result.field207_);
csharptest27bfcc52011-06-02 12:04:06 -05002712 break;
2713 }
2714 case 2400: {
csharptest920b09a2011-06-08 20:13:29 -05002715 result.hasField300 = input.ReadUInt64(ref result.field300_);
csharptest27bfcc52011-06-02 12:04:06 -05002716 break;
2717 }
2718 }
2719 }
csharptest123e5342011-06-03 14:15:21 -05002720
2721 if (unknownFields != null) {
2722 this.UnknownFields = unknownFields.Build();
2723 }
2724 return this;
csharptest27bfcc52011-06-02 12:04:06 -05002725 }
2726
2727
2728 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05002729 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05002730 }
2731 public int Field1 {
2732 get { return result.Field1; }
2733 set { SetField1(value); }
2734 }
2735 public Builder SetField1(int value) {
2736 result.hasField1 = true;
2737 result.field1_ = value;
2738 return this;
2739 }
2740 public Builder ClearField1() {
2741 result.hasField1 = false;
2742 result.field1_ = 0;
2743 return this;
2744 }
2745
2746 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05002747 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05002748 }
2749 public int Field2 {
2750 get { return result.Field2; }
2751 set { SetField2(value); }
2752 }
2753 public Builder SetField2(int value) {
2754 result.hasField2 = true;
2755 result.field2_ = value;
2756 return this;
2757 }
2758 public Builder ClearField2() {
2759 result.hasField2 = false;
2760 result.field2_ = 0;
2761 return this;
2762 }
2763
2764 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05002765 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05002766 }
2767 public int Field3 {
2768 get { return result.Field3; }
2769 set { SetField3(value); }
2770 }
2771 public Builder SetField3(int value) {
2772 result.hasField3 = true;
2773 result.field3_ = value;
2774 return this;
2775 }
2776 public Builder ClearField3() {
2777 result.hasField3 = false;
2778 result.field3_ = 0;
2779 return this;
2780 }
2781
2782 public bool HasField15 {
csharptestc671a4b2011-06-08 11:51:24 -05002783 get { return result.hasField15; }
csharptest27bfcc52011-06-02 12:04:06 -05002784 }
2785 public string Field15 {
2786 get { return result.Field15; }
2787 set { SetField15(value); }
2788 }
2789 public Builder SetField15(string value) {
2790 pb::ThrowHelper.ThrowIfNull(value, "value");
2791 result.hasField15 = true;
2792 result.field15_ = value;
2793 return this;
2794 }
2795 public Builder ClearField15() {
2796 result.hasField15 = false;
2797 result.field15_ = "";
2798 return this;
2799 }
2800
2801 public bool HasField12 {
csharptestc671a4b2011-06-08 11:51:24 -05002802 get { return result.hasField12; }
csharptest27bfcc52011-06-02 12:04:06 -05002803 }
2804 public bool Field12 {
2805 get { return result.Field12; }
2806 set { SetField12(value); }
2807 }
2808 public Builder SetField12(bool value) {
2809 result.hasField12 = true;
2810 result.field12_ = value;
2811 return this;
2812 }
2813 public Builder ClearField12() {
2814 result.hasField12 = false;
2815 result.field12_ = true;
2816 return this;
2817 }
2818
2819 public bool HasField13 {
csharptestc671a4b2011-06-08 11:51:24 -05002820 get { return result.hasField13; }
csharptest27bfcc52011-06-02 12:04:06 -05002821 }
2822 public long Field13 {
2823 get { return result.Field13; }
2824 set { SetField13(value); }
2825 }
2826 public Builder SetField13(long value) {
2827 result.hasField13 = true;
2828 result.field13_ = value;
2829 return this;
2830 }
2831 public Builder ClearField13() {
2832 result.hasField13 = false;
2833 result.field13_ = 0L;
2834 return this;
2835 }
2836
2837 public bool HasField14 {
csharptestc671a4b2011-06-08 11:51:24 -05002838 get { return result.hasField14; }
csharptest27bfcc52011-06-02 12:04:06 -05002839 }
2840 public long Field14 {
2841 get { return result.Field14; }
2842 set { SetField14(value); }
2843 }
2844 public Builder SetField14(long value) {
2845 result.hasField14 = true;
2846 result.field14_ = value;
2847 return this;
2848 }
2849 public Builder ClearField14() {
2850 result.hasField14 = false;
2851 result.field14_ = 0L;
2852 return this;
2853 }
2854
2855 public bool HasField16 {
csharptestc671a4b2011-06-08 11:51:24 -05002856 get { return result.hasField16; }
csharptest27bfcc52011-06-02 12:04:06 -05002857 }
2858 public int Field16 {
2859 get { return result.Field16; }
2860 set { SetField16(value); }
2861 }
2862 public Builder SetField16(int value) {
2863 result.hasField16 = true;
2864 result.field16_ = value;
2865 return this;
2866 }
2867 public Builder ClearField16() {
2868 result.hasField16 = false;
2869 result.field16_ = 0;
2870 return this;
2871 }
2872
2873 public bool HasField19 {
csharptestc671a4b2011-06-08 11:51:24 -05002874 get { return result.hasField19; }
csharptest27bfcc52011-06-02 12:04:06 -05002875 }
2876 public int Field19 {
2877 get { return result.Field19; }
2878 set { SetField19(value); }
2879 }
2880 public Builder SetField19(int value) {
2881 result.hasField19 = true;
2882 result.field19_ = value;
2883 return this;
2884 }
2885 public Builder ClearField19() {
2886 result.hasField19 = false;
2887 result.field19_ = 2;
2888 return this;
2889 }
2890
2891 public bool HasField20 {
csharptestc671a4b2011-06-08 11:51:24 -05002892 get { return result.hasField20; }
csharptest27bfcc52011-06-02 12:04:06 -05002893 }
2894 public bool Field20 {
2895 get { return result.Field20; }
2896 set { SetField20(value); }
2897 }
2898 public Builder SetField20(bool value) {
2899 result.hasField20 = true;
2900 result.field20_ = value;
2901 return this;
2902 }
2903 public Builder ClearField20() {
2904 result.hasField20 = false;
2905 result.field20_ = true;
2906 return this;
2907 }
2908
2909 public bool HasField28 {
csharptestc671a4b2011-06-08 11:51:24 -05002910 get { return result.hasField28; }
csharptest27bfcc52011-06-02 12:04:06 -05002911 }
2912 public bool Field28 {
2913 get { return result.Field28; }
2914 set { SetField28(value); }
2915 }
2916 public Builder SetField28(bool value) {
2917 result.hasField28 = true;
2918 result.field28_ = value;
2919 return this;
2920 }
2921 public Builder ClearField28() {
2922 result.hasField28 = false;
2923 result.field28_ = true;
2924 return this;
2925 }
2926
2927 public bool HasField21 {
csharptestc671a4b2011-06-08 11:51:24 -05002928 get { return result.hasField21; }
csharptest27bfcc52011-06-02 12:04:06 -05002929 }
2930 [global::System.CLSCompliant(false)]
2931 public ulong Field21 {
2932 get { return result.Field21; }
2933 set { SetField21(value); }
2934 }
2935 [global::System.CLSCompliant(false)]
2936 public Builder SetField21(ulong value) {
2937 result.hasField21 = true;
2938 result.field21_ = value;
2939 return this;
2940 }
2941 public Builder ClearField21() {
2942 result.hasField21 = false;
2943 result.field21_ = 0;
2944 return this;
2945 }
2946
2947 public bool HasField22 {
csharptestc671a4b2011-06-08 11:51:24 -05002948 get { return result.hasField22; }
csharptest27bfcc52011-06-02 12:04:06 -05002949 }
2950 public int Field22 {
2951 get { return result.Field22; }
2952 set { SetField22(value); }
2953 }
2954 public Builder SetField22(int value) {
2955 result.hasField22 = true;
2956 result.field22_ = value;
2957 return this;
2958 }
2959 public Builder ClearField22() {
2960 result.hasField22 = false;
2961 result.field22_ = 0;
2962 return this;
2963 }
2964
2965 public bool HasField23 {
csharptestc671a4b2011-06-08 11:51:24 -05002966 get { return result.hasField23; }
csharptest27bfcc52011-06-02 12:04:06 -05002967 }
2968 public bool Field23 {
2969 get { return result.Field23; }
2970 set { SetField23(value); }
2971 }
2972 public Builder SetField23(bool value) {
2973 result.hasField23 = true;
2974 result.field23_ = value;
2975 return this;
2976 }
2977 public Builder ClearField23() {
2978 result.hasField23 = false;
2979 result.field23_ = false;
2980 return this;
2981 }
2982
2983 public bool HasField206 {
csharptestc671a4b2011-06-08 11:51:24 -05002984 get { return result.hasField206; }
csharptest27bfcc52011-06-02 12:04:06 -05002985 }
2986 public bool Field206 {
2987 get { return result.Field206; }
2988 set { SetField206(value); }
2989 }
2990 public Builder SetField206(bool value) {
2991 result.hasField206 = true;
2992 result.field206_ = value;
2993 return this;
2994 }
2995 public Builder ClearField206() {
2996 result.hasField206 = false;
2997 result.field206_ = false;
2998 return this;
2999 }
3000
3001 public bool HasField203 {
csharptestc671a4b2011-06-08 11:51:24 -05003002 get { return result.hasField203; }
csharptest27bfcc52011-06-02 12:04:06 -05003003 }
3004 [global::System.CLSCompliant(false)]
3005 public uint Field203 {
3006 get { return result.Field203; }
3007 set { SetField203(value); }
3008 }
3009 [global::System.CLSCompliant(false)]
3010 public Builder SetField203(uint value) {
3011 result.hasField203 = true;
3012 result.field203_ = value;
3013 return this;
3014 }
3015 public Builder ClearField203() {
3016 result.hasField203 = false;
3017 result.field203_ = 0;
3018 return this;
3019 }
3020
3021 public bool HasField204 {
csharptestc671a4b2011-06-08 11:51:24 -05003022 get { return result.hasField204; }
csharptest27bfcc52011-06-02 12:04:06 -05003023 }
3024 public int Field204 {
3025 get { return result.Field204; }
3026 set { SetField204(value); }
3027 }
3028 public Builder SetField204(int value) {
3029 result.hasField204 = true;
3030 result.field204_ = value;
3031 return this;
3032 }
3033 public Builder ClearField204() {
3034 result.hasField204 = false;
3035 result.field204_ = 0;
3036 return this;
3037 }
3038
3039 public bool HasField205 {
csharptestc671a4b2011-06-08 11:51:24 -05003040 get { return result.hasField205; }
csharptest27bfcc52011-06-02 12:04:06 -05003041 }
3042 public string Field205 {
3043 get { return result.Field205; }
3044 set { SetField205(value); }
3045 }
3046 public Builder SetField205(string value) {
3047 pb::ThrowHelper.ThrowIfNull(value, "value");
3048 result.hasField205 = true;
3049 result.field205_ = value;
3050 return this;
3051 }
3052 public Builder ClearField205() {
3053 result.hasField205 = false;
3054 result.field205_ = "";
3055 return this;
3056 }
3057
3058 public bool HasField207 {
csharptestc671a4b2011-06-08 11:51:24 -05003059 get { return result.hasField207; }
csharptest27bfcc52011-06-02 12:04:06 -05003060 }
3061 [global::System.CLSCompliant(false)]
3062 public ulong Field207 {
3063 get { return result.Field207; }
3064 set { SetField207(value); }
3065 }
3066 [global::System.CLSCompliant(false)]
3067 public Builder SetField207(ulong value) {
3068 result.hasField207 = true;
3069 result.field207_ = value;
3070 return this;
3071 }
3072 public Builder ClearField207() {
3073 result.hasField207 = false;
3074 result.field207_ = 0UL;
3075 return this;
3076 }
3077
3078 public bool HasField300 {
csharptestc671a4b2011-06-08 11:51:24 -05003079 get { return result.hasField300; }
csharptest27bfcc52011-06-02 12:04:06 -05003080 }
3081 [global::System.CLSCompliant(false)]
3082 public ulong Field300 {
3083 get { return result.Field300; }
3084 set { SetField300(value); }
3085 }
3086 [global::System.CLSCompliant(false)]
3087 public Builder SetField300(ulong value) {
3088 result.hasField300 = true;
3089 result.field300_ = value;
3090 return this;
3091 }
3092 public Builder ClearField300() {
3093 result.hasField300 = false;
3094 result.field300_ = 0UL;
3095 return this;
3096 }
3097 }
3098 static SpeedMessage1SubMessage() {
3099 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
3100 }
3101 }
3102
3103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3104 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3105 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3106 public sealed partial class SpeedMessage2 : pb::GeneratedMessage<SpeedMessage2, SpeedMessage2.Builder> {
3107 private static readonly SpeedMessage2 defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05003108 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" };
3109 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 -05003110 public static SpeedMessage2 DefaultInstance {
3111 get { return defaultInstance; }
3112 }
3113
3114 public override SpeedMessage2 DefaultInstanceForType {
3115 get { return defaultInstance; }
3116 }
3117
3118 protected override SpeedMessage2 ThisMessage {
3119 get { return this; }
3120 }
3121
3122 public static pbd::MessageDescriptor Descriptor {
3123 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__Descriptor; }
3124 }
3125
3126 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2, SpeedMessage2.Builder> InternalFieldAccessors {
3127 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__FieldAccessorTable; }
3128 }
3129
3130 #region Nested types
3131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3132 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3133 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3134 public static class Types {
3135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3136 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3137 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3138 public sealed partial class Group1 : pb::GeneratedMessage<Group1, Group1.Builder> {
3139 private static readonly Group1 defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05003140 private static readonly string[] _group1FieldNames = new string[] { "field11", "field12", "field13", "field14", "field15", "field16", "field20", "field22", "field24", "field26", "field27", "field28", "field29", "field31", "field5", "field73" };
3141 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 -05003142 public static Group1 DefaultInstance {
3143 get { return defaultInstance; }
3144 }
3145
3146 public override Group1 DefaultInstanceForType {
3147 get { return defaultInstance; }
3148 }
3149
3150 protected override Group1 ThisMessage {
3151 get { return this; }
3152 }
3153
3154 public static pbd::MessageDescriptor Descriptor {
3155 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__Descriptor; }
3156 }
3157
3158 protected override pb::FieldAccess.FieldAccessorTable<Group1, Group1.Builder> InternalFieldAccessors {
3159 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable; }
3160 }
3161
3162 public const int Field11FieldNumber = 11;
3163 private bool hasField11;
csharptestced18e12011-06-09 19:47:56 -05003164 private float field11_;
csharptest27bfcc52011-06-02 12:04:06 -05003165 public bool HasField11 {
3166 get { return hasField11; }
3167 }
3168 public float Field11 {
3169 get { return field11_; }
3170 }
3171
3172 public const int Field26FieldNumber = 26;
3173 private bool hasField26;
csharptestced18e12011-06-09 19:47:56 -05003174 private float field26_;
csharptest27bfcc52011-06-02 12:04:06 -05003175 public bool HasField26 {
3176 get { return hasField26; }
3177 }
3178 public float Field26 {
3179 get { return field26_; }
3180 }
3181
3182 public const int Field12FieldNumber = 12;
3183 private bool hasField12;
3184 private string field12_ = "";
3185 public bool HasField12 {
3186 get { return hasField12; }
3187 }
3188 public string Field12 {
3189 get { return field12_; }
3190 }
3191
3192 public const int Field13FieldNumber = 13;
3193 private bool hasField13;
3194 private string field13_ = "";
3195 public bool HasField13 {
3196 get { return hasField13; }
3197 }
3198 public string Field13 {
3199 get { return field13_; }
3200 }
3201
3202 public const int Field14FieldNumber = 14;
3203 private pbc::PopsicleList<string> field14_ = new pbc::PopsicleList<string>();
3204 public scg::IList<string> Field14List {
3205 get { return pbc::Lists.AsReadOnly(field14_); }
3206 }
3207 public int Field14Count {
3208 get { return field14_.Count; }
3209 }
3210 public string GetField14(int index) {
3211 return field14_[index];
3212 }
3213
3214 public const int Field15FieldNumber = 15;
3215 private bool hasField15;
csharptestced18e12011-06-09 19:47:56 -05003216 private ulong field15_;
csharptest27bfcc52011-06-02 12:04:06 -05003217 public bool HasField15 {
3218 get { return hasField15; }
3219 }
3220 [global::System.CLSCompliant(false)]
3221 public ulong Field15 {
3222 get { return field15_; }
3223 }
3224
3225 public const int Field5FieldNumber = 5;
3226 private bool hasField5;
csharptestced18e12011-06-09 19:47:56 -05003227 private int field5_;
csharptest27bfcc52011-06-02 12:04:06 -05003228 public bool HasField5 {
3229 get { return hasField5; }
3230 }
3231 public int Field5 {
3232 get { return field5_; }
3233 }
3234
3235 public const int Field27FieldNumber = 27;
3236 private bool hasField27;
3237 private string field27_ = "";
3238 public bool HasField27 {
3239 get { return hasField27; }
3240 }
3241 public string Field27 {
3242 get { return field27_; }
3243 }
3244
3245 public const int Field28FieldNumber = 28;
3246 private bool hasField28;
csharptestced18e12011-06-09 19:47:56 -05003247 private int field28_;
csharptest27bfcc52011-06-02 12:04:06 -05003248 public bool HasField28 {
3249 get { return hasField28; }
3250 }
3251 public int Field28 {
3252 get { return field28_; }
3253 }
3254
3255 public const int Field29FieldNumber = 29;
3256 private bool hasField29;
3257 private string field29_ = "";
3258 public bool HasField29 {
3259 get { return hasField29; }
3260 }
3261 public string Field29 {
3262 get { return field29_; }
3263 }
3264
3265 public const int Field16FieldNumber = 16;
3266 private bool hasField16;
3267 private string field16_ = "";
3268 public bool HasField16 {
3269 get { return hasField16; }
3270 }
3271 public string Field16 {
3272 get { return field16_; }
3273 }
3274
3275 public const int Field22FieldNumber = 22;
3276 private pbc::PopsicleList<string> field22_ = new pbc::PopsicleList<string>();
3277 public scg::IList<string> Field22List {
3278 get { return pbc::Lists.AsReadOnly(field22_); }
3279 }
3280 public int Field22Count {
3281 get { return field22_.Count; }
3282 }
3283 public string GetField22(int index) {
3284 return field22_[index];
3285 }
3286
3287 public const int Field73FieldNumber = 73;
3288 private pbc::PopsicleList<int> field73_ = new pbc::PopsicleList<int>();
3289 public scg::IList<int> Field73List {
3290 get { return pbc::Lists.AsReadOnly(field73_); }
3291 }
3292 public int Field73Count {
3293 get { return field73_.Count; }
3294 }
3295 public int GetField73(int index) {
3296 return field73_[index];
3297 }
3298
3299 public const int Field20FieldNumber = 20;
3300 private bool hasField20;
csharptestced18e12011-06-09 19:47:56 -05003301 private int field20_;
csharptest27bfcc52011-06-02 12:04:06 -05003302 public bool HasField20 {
3303 get { return hasField20; }
3304 }
3305 public int Field20 {
3306 get { return field20_; }
3307 }
3308
3309 public const int Field24FieldNumber = 24;
3310 private bool hasField24;
3311 private string field24_ = "";
3312 public bool HasField24 {
3313 get { return hasField24; }
3314 }
3315 public string Field24 {
3316 get { return field24_; }
3317 }
3318
3319 public const int Field31FieldNumber = 31;
3320 private bool hasField31;
3321 private global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
3322 public bool HasField31 {
3323 get { return hasField31; }
3324 }
3325 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
3326 get { return field31_; }
3327 }
3328
3329 public override bool IsInitialized {
3330 get {
3331 if (!hasField11) return false;
3332 if (!hasField15) return false;
3333 return true;
3334 }
3335 }
3336
csharptestffafdaa2011-06-03 12:58:14 -05003337 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05003338 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05003339 string[] field_names = _group1FieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05003340 if (hasField5) {
csharptest920b09a2011-06-08 20:13:29 -05003341 output.WriteInt32(5, field_names[14], Field5);
csharptest27bfcc52011-06-02 12:04:06 -05003342 }
csharptestc671a4b2011-06-08 11:51:24 -05003343 if (hasField11) {
csharptest920b09a2011-06-08 20:13:29 -05003344 output.WriteFloat(11, field_names[0], Field11);
csharptest27bfcc52011-06-02 12:04:06 -05003345 }
csharptestc671a4b2011-06-08 11:51:24 -05003346 if (hasField12) {
csharptest920b09a2011-06-08 20:13:29 -05003347 output.WriteString(12, field_names[1], Field12);
csharptest27bfcc52011-06-02 12:04:06 -05003348 }
csharptestc671a4b2011-06-08 11:51:24 -05003349 if (hasField13) {
csharptest920b09a2011-06-08 20:13:29 -05003350 output.WriteString(13, field_names[2], Field13);
csharptest27bfcc52011-06-02 12:04:06 -05003351 }
3352 if (field14_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05003353 output.WriteStringArray(14, field_names[3], field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003354 }
csharptestc671a4b2011-06-08 11:51:24 -05003355 if (hasField15) {
csharptest920b09a2011-06-08 20:13:29 -05003356 output.WriteUInt64(15, field_names[4], Field15);
csharptest27bfcc52011-06-02 12:04:06 -05003357 }
csharptestc671a4b2011-06-08 11:51:24 -05003358 if (hasField16) {
csharptest920b09a2011-06-08 20:13:29 -05003359 output.WriteString(16, field_names[5], Field16);
csharptest27bfcc52011-06-02 12:04:06 -05003360 }
csharptestc671a4b2011-06-08 11:51:24 -05003361 if (hasField20) {
csharptest920b09a2011-06-08 20:13:29 -05003362 output.WriteInt32(20, field_names[6], Field20);
csharptest27bfcc52011-06-02 12:04:06 -05003363 }
3364 if (field22_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05003365 output.WriteStringArray(22, field_names[7], field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003366 }
csharptestc671a4b2011-06-08 11:51:24 -05003367 if (hasField24) {
csharptest920b09a2011-06-08 20:13:29 -05003368 output.WriteString(24, field_names[8], Field24);
csharptest27bfcc52011-06-02 12:04:06 -05003369 }
csharptestc671a4b2011-06-08 11:51:24 -05003370 if (hasField26) {
csharptest920b09a2011-06-08 20:13:29 -05003371 output.WriteFloat(26, field_names[9], Field26);
csharptest27bfcc52011-06-02 12:04:06 -05003372 }
csharptestc671a4b2011-06-08 11:51:24 -05003373 if (hasField27) {
csharptest920b09a2011-06-08 20:13:29 -05003374 output.WriteString(27, field_names[10], Field27);
csharptest27bfcc52011-06-02 12:04:06 -05003375 }
csharptestc671a4b2011-06-08 11:51:24 -05003376 if (hasField28) {
csharptest920b09a2011-06-08 20:13:29 -05003377 output.WriteInt32(28, field_names[11], Field28);
csharptest27bfcc52011-06-02 12:04:06 -05003378 }
csharptestc671a4b2011-06-08 11:51:24 -05003379 if (hasField29) {
csharptest920b09a2011-06-08 20:13:29 -05003380 output.WriteString(29, field_names[12], Field29);
csharptest27bfcc52011-06-02 12:04:06 -05003381 }
csharptestc671a4b2011-06-08 11:51:24 -05003382 if (hasField31) {
csharptest920b09a2011-06-08 20:13:29 -05003383 output.WriteMessage(31, field_names[13], Field31);
csharptest27bfcc52011-06-02 12:04:06 -05003384 }
3385 if (field73_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05003386 output.WriteInt32Array(73, field_names[15], field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003387 }
3388 UnknownFields.WriteTo(output);
3389 }
3390
3391 private int memoizedSerializedSize = -1;
3392 public override int SerializedSize {
3393 get {
3394 int size = memoizedSerializedSize;
3395 if (size != -1) return size;
3396
3397 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05003398 if (hasField11) {
csharptest27bfcc52011-06-02 12:04:06 -05003399 size += pb::CodedOutputStream.ComputeFloatSize(11, Field11);
3400 }
csharptestc671a4b2011-06-08 11:51:24 -05003401 if (hasField26) {
csharptest27bfcc52011-06-02 12:04:06 -05003402 size += pb::CodedOutputStream.ComputeFloatSize(26, Field26);
3403 }
csharptestc671a4b2011-06-08 11:51:24 -05003404 if (hasField12) {
csharptest27bfcc52011-06-02 12:04:06 -05003405 size += pb::CodedOutputStream.ComputeStringSize(12, Field12);
3406 }
csharptestc671a4b2011-06-08 11:51:24 -05003407 if (hasField13) {
csharptest27bfcc52011-06-02 12:04:06 -05003408 size += pb::CodedOutputStream.ComputeStringSize(13, Field13);
3409 }
3410 {
3411 int dataSize = 0;
3412 foreach (string element in Field14List) {
3413 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3414 }
3415 size += dataSize;
3416 size += 1 * field14_.Count;
3417 }
csharptestc671a4b2011-06-08 11:51:24 -05003418 if (hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -05003419 size += pb::CodedOutputStream.ComputeUInt64Size(15, Field15);
3420 }
csharptestc671a4b2011-06-08 11:51:24 -05003421 if (hasField5) {
csharptest27bfcc52011-06-02 12:04:06 -05003422 size += pb::CodedOutputStream.ComputeInt32Size(5, Field5);
3423 }
csharptestc671a4b2011-06-08 11:51:24 -05003424 if (hasField27) {
csharptest27bfcc52011-06-02 12:04:06 -05003425 size += pb::CodedOutputStream.ComputeStringSize(27, Field27);
3426 }
csharptestc671a4b2011-06-08 11:51:24 -05003427 if (hasField28) {
csharptest27bfcc52011-06-02 12:04:06 -05003428 size += pb::CodedOutputStream.ComputeInt32Size(28, Field28);
3429 }
csharptestc671a4b2011-06-08 11:51:24 -05003430 if (hasField29) {
csharptest27bfcc52011-06-02 12:04:06 -05003431 size += pb::CodedOutputStream.ComputeStringSize(29, Field29);
3432 }
csharptestc671a4b2011-06-08 11:51:24 -05003433 if (hasField16) {
csharptest27bfcc52011-06-02 12:04:06 -05003434 size += pb::CodedOutputStream.ComputeStringSize(16, Field16);
3435 }
3436 {
3437 int dataSize = 0;
3438 foreach (string element in Field22List) {
3439 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3440 }
3441 size += dataSize;
3442 size += 2 * field22_.Count;
3443 }
3444 {
3445 int dataSize = 0;
3446 foreach (int element in Field73List) {
3447 dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
3448 }
3449 size += dataSize;
3450 size += 2 * field73_.Count;
3451 }
csharptestc671a4b2011-06-08 11:51:24 -05003452 if (hasField20) {
csharptest27bfcc52011-06-02 12:04:06 -05003453 size += pb::CodedOutputStream.ComputeInt32Size(20, Field20);
3454 }
csharptestc671a4b2011-06-08 11:51:24 -05003455 if (hasField24) {
csharptest27bfcc52011-06-02 12:04:06 -05003456 size += pb::CodedOutputStream.ComputeStringSize(24, Field24);
3457 }
csharptestc671a4b2011-06-08 11:51:24 -05003458 if (hasField31) {
csharptest27bfcc52011-06-02 12:04:06 -05003459 size += pb::CodedOutputStream.ComputeMessageSize(31, Field31);
3460 }
3461 size += UnknownFields.SerializedSize;
3462 memoizedSerializedSize = size;
3463 return size;
3464 }
3465 }
3466
3467 public static Group1 ParseFrom(pb::ByteString data) {
3468 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3469 }
3470 public static Group1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
3471 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3472 }
3473 public static Group1 ParseFrom(byte[] data) {
3474 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3475 }
3476 public static Group1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
3477 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3478 }
3479 public static Group1 ParseFrom(global::System.IO.Stream input) {
3480 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3481 }
3482 public static Group1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3483 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3484 }
3485 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input) {
3486 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
3487 }
3488 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3489 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
3490 }
csharptest17699c22011-06-03 21:57:15 -05003491 public static Group1 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05003492 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3493 }
csharptest17699c22011-06-03 21:57:15 -05003494 public static Group1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05003495 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3496 }
3497 public static Builder CreateBuilder() { return new Builder(); }
3498 public override Builder ToBuilder() { return CreateBuilder(this); }
3499 public override Builder CreateBuilderForType() { return new Builder(); }
3500 public static Builder CreateBuilder(Group1 prototype) {
3501 return (Builder) new Builder().MergeFrom(prototype);
3502 }
3503
3504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3505 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3506 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3507 public sealed partial class Builder : pb::GeneratedBuilder<Group1, Builder> {
3508 protected override Builder ThisBuilder {
3509 get { return this; }
3510 }
3511 public Builder() {}
3512
3513 Group1 result = new Group1();
3514
3515 protected override Group1 MessageBeingBuilt {
3516 get { return result; }
3517 }
3518
3519 public override Builder Clear() {
3520 result = new Group1();
3521 return this;
3522 }
3523
3524 public override Builder Clone() {
3525 return new Builder().MergeFrom(result);
3526 }
3527
3528 public override pbd::MessageDescriptor DescriptorForType {
3529 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Descriptor; }
3530 }
3531
3532 public override Group1 DefaultInstanceForType {
3533 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance; }
3534 }
3535
3536 public override Group1 BuildPartial() {
3537 if (result == null) {
3538 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
3539 }
3540 result.field14_.MakeReadOnly();
3541 result.field22_.MakeReadOnly();
3542 result.field73_.MakeReadOnly();
3543 Group1 returnMe = result;
3544 result = null;
3545 return returnMe;
3546 }
3547
3548 public override Builder MergeFrom(pb::IMessage other) {
3549 if (other is Group1) {
3550 return MergeFrom((Group1) other);
3551 } else {
3552 base.MergeFrom(other);
3553 return this;
3554 }
3555 }
3556
3557 public override Builder MergeFrom(Group1 other) {
3558 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance) return this;
3559 if (other.HasField11) {
3560 Field11 = other.Field11;
3561 }
3562 if (other.HasField26) {
3563 Field26 = other.Field26;
3564 }
3565 if (other.HasField12) {
3566 Field12 = other.Field12;
3567 }
3568 if (other.HasField13) {
3569 Field13 = other.Field13;
3570 }
3571 if (other.field14_.Count != 0) {
3572 base.AddRange(other.field14_, result.field14_);
3573 }
3574 if (other.HasField15) {
3575 Field15 = other.Field15;
3576 }
3577 if (other.HasField5) {
3578 Field5 = other.Field5;
3579 }
3580 if (other.HasField27) {
3581 Field27 = other.Field27;
3582 }
3583 if (other.HasField28) {
3584 Field28 = other.Field28;
3585 }
3586 if (other.HasField29) {
3587 Field29 = other.Field29;
3588 }
3589 if (other.HasField16) {
3590 Field16 = other.Field16;
3591 }
3592 if (other.field22_.Count != 0) {
3593 base.AddRange(other.field22_, result.field22_);
3594 }
3595 if (other.field73_.Count != 0) {
3596 base.AddRange(other.field73_, result.field73_);
3597 }
3598 if (other.HasField20) {
3599 Field20 = other.Field20;
3600 }
3601 if (other.HasField24) {
3602 Field24 = other.Field24;
3603 }
3604 if (other.HasField31) {
3605 MergeField31(other.Field31);
3606 }
3607 this.MergeUnknownFields(other.UnknownFields);
3608 return this;
3609 }
3610
csharptest17699c22011-06-03 21:57:15 -05003611 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05003612 return MergeFrom(input, pb::ExtensionRegistry.Empty);
3613 }
3614
csharptest17699c22011-06-03 21:57:15 -05003615 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05003616 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05003617 uint tag;
3618 string field_name;
3619 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05003620 if(tag == 0 && field_name != null) {
3621 int field_ordinal = global::System.Array.BinarySearch(_group1FieldNames, field_name, global::System.StringComparer.Ordinal);
3622 if(field_ordinal >= 0)
3623 tag = _group1FieldTags[field_ordinal];
3624 else {
3625 if (unknownFields == null) {
3626 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3627 }
3628 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
3629 continue;
3630 }
3631 }
csharptest27bfcc52011-06-02 12:04:06 -05003632 switch (tag) {
3633 case 0: {
csharptest99284412011-06-03 14:51:06 -05003634 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05003635 }
3636 default: {
3637 if (pb::WireFormat.IsEndGroupTag(tag)) {
3638 if (unknownFields != null) {
3639 this.UnknownFields = unknownFields.Build();
3640 }
3641 return this;
3642 }
3643 if (unknownFields == null) {
3644 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3645 }
csharptestd2af9e92011-06-03 21:35:02 -05003646 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05003647 break;
3648 }
3649 case 40: {
csharptest920b09a2011-06-08 20:13:29 -05003650 result.hasField5 = input.ReadInt32(ref result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05003651 break;
3652 }
3653 case 93: {
csharptest920b09a2011-06-08 20:13:29 -05003654 result.hasField11 = input.ReadFloat(ref result.field11_);
csharptest27bfcc52011-06-02 12:04:06 -05003655 break;
3656 }
3657 case 98: {
csharptest920b09a2011-06-08 20:13:29 -05003658 result.hasField12 = input.ReadString(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05003659 break;
3660 }
3661 case 106: {
csharptest920b09a2011-06-08 20:13:29 -05003662 result.hasField13 = input.ReadString(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05003663 break;
3664 }
3665 case 114: {
csharptestb00ea132011-06-10 01:09:57 -05003666 input.ReadStringArray(tag, field_name, result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003667 break;
3668 }
3669 case 120: {
csharptest920b09a2011-06-08 20:13:29 -05003670 result.hasField15 = input.ReadUInt64(ref result.field15_);
csharptest27bfcc52011-06-02 12:04:06 -05003671 break;
3672 }
3673 case 130: {
csharptest920b09a2011-06-08 20:13:29 -05003674 result.hasField16 = input.ReadString(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05003675 break;
3676 }
3677 case 160: {
csharptest920b09a2011-06-08 20:13:29 -05003678 result.hasField20 = input.ReadInt32(ref result.field20_);
csharptest27bfcc52011-06-02 12:04:06 -05003679 break;
3680 }
3681 case 178: {
csharptestb00ea132011-06-10 01:09:57 -05003682 input.ReadStringArray(tag, field_name, result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003683 break;
3684 }
3685 case 194: {
csharptest920b09a2011-06-08 20:13:29 -05003686 result.hasField24 = input.ReadString(ref result.field24_);
csharptest27bfcc52011-06-02 12:04:06 -05003687 break;
3688 }
3689 case 213: {
csharptest920b09a2011-06-08 20:13:29 -05003690 result.hasField26 = input.ReadFloat(ref result.field26_);
csharptest27bfcc52011-06-02 12:04:06 -05003691 break;
3692 }
3693 case 218: {
csharptest920b09a2011-06-08 20:13:29 -05003694 result.hasField27 = input.ReadString(ref result.field27_);
csharptest27bfcc52011-06-02 12:04:06 -05003695 break;
3696 }
3697 case 224: {
csharptest920b09a2011-06-08 20:13:29 -05003698 result.hasField28 = input.ReadInt32(ref result.field28_);
csharptest27bfcc52011-06-02 12:04:06 -05003699 break;
3700 }
3701 case 234: {
csharptest920b09a2011-06-08 20:13:29 -05003702 result.hasField29 = input.ReadString(ref result.field29_);
csharptest27bfcc52011-06-02 12:04:06 -05003703 break;
3704 }
3705 case 250: {
3706 global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder();
csharptestc671a4b2011-06-08 11:51:24 -05003707 if (result.hasField31) {
csharptest27bfcc52011-06-02 12:04:06 -05003708 subBuilder.MergeFrom(Field31);
3709 }
3710 input.ReadMessage(subBuilder, extensionRegistry);
3711 Field31 = subBuilder.BuildPartial();
3712 break;
3713 }
csharptest6da31702011-06-04 12:52:57 -05003714 case 586:
csharptest27bfcc52011-06-02 12:04:06 -05003715 case 584: {
csharptestb00ea132011-06-10 01:09:57 -05003716 input.ReadInt32Array(tag, field_name, result.field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003717 break;
3718 }
3719 }
3720 }
csharptest123e5342011-06-03 14:15:21 -05003721
3722 if (unknownFields != null) {
3723 this.UnknownFields = unknownFields.Build();
3724 }
3725 return this;
csharptest27bfcc52011-06-02 12:04:06 -05003726 }
3727
3728
3729 public bool HasField11 {
csharptestc671a4b2011-06-08 11:51:24 -05003730 get { return result.hasField11; }
csharptest27bfcc52011-06-02 12:04:06 -05003731 }
3732 public float Field11 {
3733 get { return result.Field11; }
3734 set { SetField11(value); }
3735 }
3736 public Builder SetField11(float value) {
3737 result.hasField11 = true;
3738 result.field11_ = value;
3739 return this;
3740 }
3741 public Builder ClearField11() {
3742 result.hasField11 = false;
3743 result.field11_ = 0F;
3744 return this;
3745 }
3746
3747 public bool HasField26 {
csharptestc671a4b2011-06-08 11:51:24 -05003748 get { return result.hasField26; }
csharptest27bfcc52011-06-02 12:04:06 -05003749 }
3750 public float Field26 {
3751 get { return result.Field26; }
3752 set { SetField26(value); }
3753 }
3754 public Builder SetField26(float value) {
3755 result.hasField26 = true;
3756 result.field26_ = value;
3757 return this;
3758 }
3759 public Builder ClearField26() {
3760 result.hasField26 = false;
3761 result.field26_ = 0F;
3762 return this;
3763 }
3764
3765 public bool HasField12 {
csharptestc671a4b2011-06-08 11:51:24 -05003766 get { return result.hasField12; }
csharptest27bfcc52011-06-02 12:04:06 -05003767 }
3768 public string Field12 {
3769 get { return result.Field12; }
3770 set { SetField12(value); }
3771 }
3772 public Builder SetField12(string value) {
3773 pb::ThrowHelper.ThrowIfNull(value, "value");
3774 result.hasField12 = true;
3775 result.field12_ = value;
3776 return this;
3777 }
3778 public Builder ClearField12() {
3779 result.hasField12 = false;
3780 result.field12_ = "";
3781 return this;
3782 }
3783
3784 public bool HasField13 {
csharptestc671a4b2011-06-08 11:51:24 -05003785 get { return result.hasField13; }
csharptest27bfcc52011-06-02 12:04:06 -05003786 }
3787 public string Field13 {
3788 get { return result.Field13; }
3789 set { SetField13(value); }
3790 }
3791 public Builder SetField13(string value) {
3792 pb::ThrowHelper.ThrowIfNull(value, "value");
3793 result.hasField13 = true;
3794 result.field13_ = value;
3795 return this;
3796 }
3797 public Builder ClearField13() {
3798 result.hasField13 = false;
3799 result.field13_ = "";
3800 return this;
3801 }
3802
3803 public pbc::IPopsicleList<string> Field14List {
3804 get { return result.field14_; }
3805 }
3806 public int Field14Count {
3807 get { return result.Field14Count; }
3808 }
3809 public string GetField14(int index) {
3810 return result.GetField14(index);
3811 }
3812 public Builder SetField14(int index, string value) {
3813 pb::ThrowHelper.ThrowIfNull(value, "value");
3814 result.field14_[index] = value;
3815 return this;
3816 }
3817 public Builder AddField14(string value) {
3818 pb::ThrowHelper.ThrowIfNull(value, "value");
3819 result.field14_.Add(value);
3820 return this;
3821 }
3822 public Builder AddRangeField14(scg::IEnumerable<string> values) {
3823 base.AddRange(values, result.field14_);
3824 return this;
3825 }
3826 public Builder ClearField14() {
3827 result.field14_.Clear();
3828 return this;
3829 }
3830
3831 public bool HasField15 {
csharptestc671a4b2011-06-08 11:51:24 -05003832 get { return result.hasField15; }
csharptest27bfcc52011-06-02 12:04:06 -05003833 }
3834 [global::System.CLSCompliant(false)]
3835 public ulong Field15 {
3836 get { return result.Field15; }
3837 set { SetField15(value); }
3838 }
3839 [global::System.CLSCompliant(false)]
3840 public Builder SetField15(ulong value) {
3841 result.hasField15 = true;
3842 result.field15_ = value;
3843 return this;
3844 }
3845 public Builder ClearField15() {
3846 result.hasField15 = false;
3847 result.field15_ = 0UL;
3848 return this;
3849 }
3850
3851 public bool HasField5 {
csharptestc671a4b2011-06-08 11:51:24 -05003852 get { return result.hasField5; }
csharptest27bfcc52011-06-02 12:04:06 -05003853 }
3854 public int Field5 {
3855 get { return result.Field5; }
3856 set { SetField5(value); }
3857 }
3858 public Builder SetField5(int value) {
3859 result.hasField5 = true;
3860 result.field5_ = value;
3861 return this;
3862 }
3863 public Builder ClearField5() {
3864 result.hasField5 = false;
3865 result.field5_ = 0;
3866 return this;
3867 }
3868
3869 public bool HasField27 {
csharptestc671a4b2011-06-08 11:51:24 -05003870 get { return result.hasField27; }
csharptest27bfcc52011-06-02 12:04:06 -05003871 }
3872 public string Field27 {
3873 get { return result.Field27; }
3874 set { SetField27(value); }
3875 }
3876 public Builder SetField27(string value) {
3877 pb::ThrowHelper.ThrowIfNull(value, "value");
3878 result.hasField27 = true;
3879 result.field27_ = value;
3880 return this;
3881 }
3882 public Builder ClearField27() {
3883 result.hasField27 = false;
3884 result.field27_ = "";
3885 return this;
3886 }
3887
3888 public bool HasField28 {
csharptestc671a4b2011-06-08 11:51:24 -05003889 get { return result.hasField28; }
csharptest27bfcc52011-06-02 12:04:06 -05003890 }
3891 public int Field28 {
3892 get { return result.Field28; }
3893 set { SetField28(value); }
3894 }
3895 public Builder SetField28(int value) {
3896 result.hasField28 = true;
3897 result.field28_ = value;
3898 return this;
3899 }
3900 public Builder ClearField28() {
3901 result.hasField28 = false;
3902 result.field28_ = 0;
3903 return this;
3904 }
3905
3906 public bool HasField29 {
csharptestc671a4b2011-06-08 11:51:24 -05003907 get { return result.hasField29; }
csharptest27bfcc52011-06-02 12:04:06 -05003908 }
3909 public string Field29 {
3910 get { return result.Field29; }
3911 set { SetField29(value); }
3912 }
3913 public Builder SetField29(string value) {
3914 pb::ThrowHelper.ThrowIfNull(value, "value");
3915 result.hasField29 = true;
3916 result.field29_ = value;
3917 return this;
3918 }
3919 public Builder ClearField29() {
3920 result.hasField29 = false;
3921 result.field29_ = "";
3922 return this;
3923 }
3924
3925 public bool HasField16 {
csharptestc671a4b2011-06-08 11:51:24 -05003926 get { return result.hasField16; }
csharptest27bfcc52011-06-02 12:04:06 -05003927 }
3928 public string Field16 {
3929 get { return result.Field16; }
3930 set { SetField16(value); }
3931 }
3932 public Builder SetField16(string value) {
3933 pb::ThrowHelper.ThrowIfNull(value, "value");
3934 result.hasField16 = true;
3935 result.field16_ = value;
3936 return this;
3937 }
3938 public Builder ClearField16() {
3939 result.hasField16 = false;
3940 result.field16_ = "";
3941 return this;
3942 }
3943
3944 public pbc::IPopsicleList<string> Field22List {
3945 get { return result.field22_; }
3946 }
3947 public int Field22Count {
3948 get { return result.Field22Count; }
3949 }
3950 public string GetField22(int index) {
3951 return result.GetField22(index);
3952 }
3953 public Builder SetField22(int index, string value) {
3954 pb::ThrowHelper.ThrowIfNull(value, "value");
3955 result.field22_[index] = value;
3956 return this;
3957 }
3958 public Builder AddField22(string value) {
3959 pb::ThrowHelper.ThrowIfNull(value, "value");
3960 result.field22_.Add(value);
3961 return this;
3962 }
3963 public Builder AddRangeField22(scg::IEnumerable<string> values) {
3964 base.AddRange(values, result.field22_);
3965 return this;
3966 }
3967 public Builder ClearField22() {
3968 result.field22_.Clear();
3969 return this;
3970 }
3971
3972 public pbc::IPopsicleList<int> Field73List {
3973 get { return result.field73_; }
3974 }
3975 public int Field73Count {
3976 get { return result.Field73Count; }
3977 }
3978 public int GetField73(int index) {
3979 return result.GetField73(index);
3980 }
3981 public Builder SetField73(int index, int value) {
3982 result.field73_[index] = value;
3983 return this;
3984 }
3985 public Builder AddField73(int value) {
3986 result.field73_.Add(value);
3987 return this;
3988 }
3989 public Builder AddRangeField73(scg::IEnumerable<int> values) {
3990 base.AddRange(values, result.field73_);
3991 return this;
3992 }
3993 public Builder ClearField73() {
3994 result.field73_.Clear();
3995 return this;
3996 }
3997
3998 public bool HasField20 {
csharptestc671a4b2011-06-08 11:51:24 -05003999 get { return result.hasField20; }
csharptest27bfcc52011-06-02 12:04:06 -05004000 }
4001 public int Field20 {
4002 get { return result.Field20; }
4003 set { SetField20(value); }
4004 }
4005 public Builder SetField20(int value) {
4006 result.hasField20 = true;
4007 result.field20_ = value;
4008 return this;
4009 }
4010 public Builder ClearField20() {
4011 result.hasField20 = false;
4012 result.field20_ = 0;
4013 return this;
4014 }
4015
4016 public bool HasField24 {
csharptestc671a4b2011-06-08 11:51:24 -05004017 get { return result.hasField24; }
csharptest27bfcc52011-06-02 12:04:06 -05004018 }
4019 public string Field24 {
4020 get { return result.Field24; }
4021 set { SetField24(value); }
4022 }
4023 public Builder SetField24(string value) {
4024 pb::ThrowHelper.ThrowIfNull(value, "value");
4025 result.hasField24 = true;
4026 result.field24_ = value;
4027 return this;
4028 }
4029 public Builder ClearField24() {
4030 result.hasField24 = false;
4031 result.field24_ = "";
4032 return this;
4033 }
4034
4035 public bool HasField31 {
csharptestc671a4b2011-06-08 11:51:24 -05004036 get { return result.hasField31; }
csharptest27bfcc52011-06-02 12:04:06 -05004037 }
4038 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
4039 get { return result.Field31; }
4040 set { SetField31(value); }
4041 }
4042 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
4043 pb::ThrowHelper.ThrowIfNull(value, "value");
4044 result.hasField31 = true;
4045 result.field31_ = value;
4046 return this;
4047 }
4048 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder builderForValue) {
4049 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
4050 result.hasField31 = true;
4051 result.field31_ = builderForValue.Build();
4052 return this;
4053 }
4054 public Builder MergeField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
4055 pb::ThrowHelper.ThrowIfNull(value, "value");
csharptestc671a4b2011-06-08 11:51:24 -05004056 if (result.hasField31 &&
csharptest27bfcc52011-06-02 12:04:06 -05004057 result.field31_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) {
4058 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder(result.field31_).MergeFrom(value).BuildPartial();
4059 } else {
4060 result.field31_ = value;
4061 }
4062 result.hasField31 = true;
4063 return this;
4064 }
4065 public Builder ClearField31() {
4066 result.hasField31 = false;
4067 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
4068 return this;
4069 }
4070 }
4071 static Group1() {
4072 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
4073 }
4074 }
4075
4076 }
4077 #endregion
4078
4079 public const int Field1FieldNumber = 1;
4080 private bool hasField1;
4081 private string field1_ = "";
4082 public bool HasField1 {
4083 get { return hasField1; }
4084 }
4085 public string Field1 {
4086 get { return field1_; }
4087 }
4088
4089 public const int Field3FieldNumber = 3;
4090 private bool hasField3;
csharptestced18e12011-06-09 19:47:56 -05004091 private long field3_;
csharptest27bfcc52011-06-02 12:04:06 -05004092 public bool HasField3 {
4093 get { return hasField3; }
4094 }
4095 public long Field3 {
4096 get { return field3_; }
4097 }
4098
4099 public const int Field4FieldNumber = 4;
4100 private bool hasField4;
csharptestced18e12011-06-09 19:47:56 -05004101 private long field4_;
csharptest27bfcc52011-06-02 12:04:06 -05004102 public bool HasField4 {
4103 get { return hasField4; }
4104 }
4105 public long Field4 {
4106 get { return field4_; }
4107 }
4108
4109 public const int Field30FieldNumber = 30;
4110 private bool hasField30;
csharptestced18e12011-06-09 19:47:56 -05004111 private long field30_;
csharptest27bfcc52011-06-02 12:04:06 -05004112 public bool HasField30 {
4113 get { return hasField30; }
4114 }
4115 public long Field30 {
4116 get { return field30_; }
4117 }
4118
4119 public const int Field75FieldNumber = 75;
4120 private bool hasField75;
csharptestced18e12011-06-09 19:47:56 -05004121 private bool field75_;
csharptest27bfcc52011-06-02 12:04:06 -05004122 public bool HasField75 {
4123 get { return hasField75; }
4124 }
4125 public bool Field75 {
4126 get { return field75_; }
4127 }
4128
4129 public const int Field6FieldNumber = 6;
4130 private bool hasField6;
4131 private string field6_ = "";
4132 public bool HasField6 {
4133 get { return hasField6; }
4134 }
4135 public string Field6 {
4136 get { return field6_; }
4137 }
4138
4139 public const int Field2FieldNumber = 2;
4140 private bool hasField2;
4141 private pb::ByteString field2_ = pb::ByteString.Empty;
4142 public bool HasField2 {
4143 get { return hasField2; }
4144 }
4145 public pb::ByteString Field2 {
4146 get { return field2_; }
4147 }
4148
4149 public const int Field21FieldNumber = 21;
4150 private bool hasField21;
csharptestced18e12011-06-09 19:47:56 -05004151 private int field21_;
csharptest27bfcc52011-06-02 12:04:06 -05004152 public bool HasField21 {
4153 get { return hasField21; }
4154 }
4155 public int Field21 {
4156 get { return field21_; }
4157 }
4158
4159 public const int Field71FieldNumber = 71;
4160 private bool hasField71;
csharptestced18e12011-06-09 19:47:56 -05004161 private int field71_;
csharptest27bfcc52011-06-02 12:04:06 -05004162 public bool HasField71 {
4163 get { return hasField71; }
4164 }
4165 public int Field71 {
4166 get { return field71_; }
4167 }
4168
4169 public const int Field25FieldNumber = 25;
4170 private bool hasField25;
csharptestced18e12011-06-09 19:47:56 -05004171 private float field25_;
csharptest27bfcc52011-06-02 12:04:06 -05004172 public bool HasField25 {
4173 get { return hasField25; }
4174 }
4175 public float Field25 {
4176 get { return field25_; }
4177 }
4178
4179 public const int Field109FieldNumber = 109;
4180 private bool hasField109;
csharptestced18e12011-06-09 19:47:56 -05004181 private int field109_;
csharptest27bfcc52011-06-02 12:04:06 -05004182 public bool HasField109 {
4183 get { return hasField109; }
4184 }
4185 public int Field109 {
4186 get { return field109_; }
4187 }
4188
4189 public const int Field210FieldNumber = 210;
4190 private bool hasField210;
csharptestced18e12011-06-09 19:47:56 -05004191 private int field210_;
csharptest27bfcc52011-06-02 12:04:06 -05004192 public bool HasField210 {
4193 get { return hasField210; }
4194 }
4195 public int Field210 {
4196 get { return field210_; }
4197 }
4198
4199 public const int Field211FieldNumber = 211;
4200 private bool hasField211;
csharptestced18e12011-06-09 19:47:56 -05004201 private int field211_;
csharptest27bfcc52011-06-02 12:04:06 -05004202 public bool HasField211 {
4203 get { return hasField211; }
4204 }
4205 public int Field211 {
4206 get { return field211_; }
4207 }
4208
4209 public const int Field212FieldNumber = 212;
4210 private bool hasField212;
csharptestced18e12011-06-09 19:47:56 -05004211 private int field212_;
csharptest27bfcc52011-06-02 12:04:06 -05004212 public bool HasField212 {
4213 get { return hasField212; }
4214 }
4215 public int Field212 {
4216 get { return field212_; }
4217 }
4218
4219 public const int Field213FieldNumber = 213;
4220 private bool hasField213;
csharptestced18e12011-06-09 19:47:56 -05004221 private int field213_;
csharptest27bfcc52011-06-02 12:04:06 -05004222 public bool HasField213 {
4223 get { return hasField213; }
4224 }
4225 public int Field213 {
4226 get { return field213_; }
4227 }
4228
4229 public const int Field216FieldNumber = 216;
4230 private bool hasField216;
csharptestced18e12011-06-09 19:47:56 -05004231 private int field216_;
csharptest27bfcc52011-06-02 12:04:06 -05004232 public bool HasField216 {
4233 get { return hasField216; }
4234 }
4235 public int Field216 {
4236 get { return field216_; }
4237 }
4238
4239 public const int Field217FieldNumber = 217;
4240 private bool hasField217;
csharptestced18e12011-06-09 19:47:56 -05004241 private int field217_;
csharptest27bfcc52011-06-02 12:04:06 -05004242 public bool HasField217 {
4243 get { return hasField217; }
4244 }
4245 public int Field217 {
4246 get { return field217_; }
4247 }
4248
4249 public const int Field218FieldNumber = 218;
4250 private bool hasField218;
csharptestced18e12011-06-09 19:47:56 -05004251 private int field218_;
csharptest27bfcc52011-06-02 12:04:06 -05004252 public bool HasField218 {
4253 get { return hasField218; }
4254 }
4255 public int Field218 {
4256 get { return field218_; }
4257 }
4258
4259 public const int Field220FieldNumber = 220;
4260 private bool hasField220;
csharptestced18e12011-06-09 19:47:56 -05004261 private int field220_;
csharptest27bfcc52011-06-02 12:04:06 -05004262 public bool HasField220 {
4263 get { return hasField220; }
4264 }
4265 public int Field220 {
4266 get { return field220_; }
4267 }
4268
4269 public const int Field221FieldNumber = 221;
4270 private bool hasField221;
csharptestced18e12011-06-09 19:47:56 -05004271 private int field221_;
csharptest27bfcc52011-06-02 12:04:06 -05004272 public bool HasField221 {
4273 get { return hasField221; }
4274 }
4275 public int Field221 {
4276 get { return field221_; }
4277 }
4278
4279 public const int Field222FieldNumber = 222;
4280 private bool hasField222;
csharptestced18e12011-06-09 19:47:56 -05004281 private float field222_;
csharptest27bfcc52011-06-02 12:04:06 -05004282 public bool HasField222 {
4283 get { return hasField222; }
4284 }
4285 public float Field222 {
4286 get { return field222_; }
4287 }
4288
4289 public const int Field63FieldNumber = 63;
4290 private bool hasField63;
csharptestced18e12011-06-09 19:47:56 -05004291 private int field63_;
csharptest27bfcc52011-06-02 12:04:06 -05004292 public bool HasField63 {
4293 get { return hasField63; }
4294 }
4295 public int Field63 {
4296 get { return field63_; }
4297 }
4298
4299 public const int Group1FieldNumber = 10;
4300 private pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> group1_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1>();
4301 public scg::IList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
4302 get { return group1_; }
4303 }
4304 public int Group1Count {
4305 get { return group1_.Count; }
4306 }
4307 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
4308 return group1_[index];
4309 }
4310
4311 public const int Field128FieldNumber = 128;
4312 private pbc::PopsicleList<string> field128_ = new pbc::PopsicleList<string>();
4313 public scg::IList<string> Field128List {
4314 get { return pbc::Lists.AsReadOnly(field128_); }
4315 }
4316 public int Field128Count {
4317 get { return field128_.Count; }
4318 }
4319 public string GetField128(int index) {
4320 return field128_[index];
4321 }
4322
4323 public const int Field131FieldNumber = 131;
4324 private bool hasField131;
csharptestced18e12011-06-09 19:47:56 -05004325 private long field131_;
csharptest27bfcc52011-06-02 12:04:06 -05004326 public bool HasField131 {
4327 get { return hasField131; }
4328 }
4329 public long Field131 {
4330 get { return field131_; }
4331 }
4332
4333 public const int Field127FieldNumber = 127;
4334 private pbc::PopsicleList<string> field127_ = new pbc::PopsicleList<string>();
4335 public scg::IList<string> Field127List {
4336 get { return pbc::Lists.AsReadOnly(field127_); }
4337 }
4338 public int Field127Count {
4339 get { return field127_.Count; }
4340 }
4341 public string GetField127(int index) {
4342 return field127_[index];
4343 }
4344
4345 public const int Field129FieldNumber = 129;
4346 private bool hasField129;
csharptestced18e12011-06-09 19:47:56 -05004347 private int field129_;
csharptest27bfcc52011-06-02 12:04:06 -05004348 public bool HasField129 {
4349 get { return hasField129; }
4350 }
4351 public int Field129 {
4352 get { return field129_; }
4353 }
4354
4355 public const int Field130FieldNumber = 130;
4356 private pbc::PopsicleList<long> field130_ = new pbc::PopsicleList<long>();
4357 public scg::IList<long> Field130List {
4358 get { return pbc::Lists.AsReadOnly(field130_); }
4359 }
4360 public int Field130Count {
4361 get { return field130_.Count; }
4362 }
4363 public long GetField130(int index) {
4364 return field130_[index];
4365 }
4366
4367 public const int Field205FieldNumber = 205;
4368 private bool hasField205;
csharptestced18e12011-06-09 19:47:56 -05004369 private bool field205_;
csharptest27bfcc52011-06-02 12:04:06 -05004370 public bool HasField205 {
4371 get { return hasField205; }
4372 }
4373 public bool Field205 {
4374 get { return field205_; }
4375 }
4376
4377 public const int Field206FieldNumber = 206;
4378 private bool hasField206;
csharptestced18e12011-06-09 19:47:56 -05004379 private bool field206_;
csharptest27bfcc52011-06-02 12:04:06 -05004380 public bool HasField206 {
4381 get { return hasField206; }
4382 }
4383 public bool Field206 {
4384 get { return field206_; }
4385 }
4386
4387 public override bool IsInitialized {
4388 get {
4389 return true;
4390 }
4391 }
4392
csharptestffafdaa2011-06-03 12:58:14 -05004393 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05004394 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05004395 string[] field_names = _speedMessage2FieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05004396 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -05004397 output.WriteString(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -05004398 }
csharptestc671a4b2011-06-08 11:51:24 -05004399 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -05004400 output.WriteBytes(2, field_names[7], Field2);
csharptest27bfcc52011-06-02 12:04:06 -05004401 }
csharptestc671a4b2011-06-08 11:51:24 -05004402 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -05004403 output.WriteInt64(3, field_names[22], Field3);
csharptest27bfcc52011-06-02 12:04:06 -05004404 }
csharptestc671a4b2011-06-08 11:51:24 -05004405 if (hasField4) {
csharptest920b09a2011-06-08 20:13:29 -05004406 output.WriteInt64(4, field_names[24], Field4);
csharptest27bfcc52011-06-02 12:04:06 -05004407 }
csharptestc671a4b2011-06-08 11:51:24 -05004408 if (hasField6) {
csharptest920b09a2011-06-08 20:13:29 -05004409 output.WriteString(6, field_names[25], Field6);
csharptest27bfcc52011-06-02 12:04:06 -05004410 }
csharptest90922db2011-06-03 11:57:47 -05004411 if (group1_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05004412 output.WriteGroupArray(10, field_names[29], group1_);
csharptest27bfcc52011-06-02 12:04:06 -05004413 }
csharptestc671a4b2011-06-08 11:51:24 -05004414 if (hasField21) {
csharptest920b09a2011-06-08 20:13:29 -05004415 output.WriteInt32(21, field_names[10], Field21);
csharptest27bfcc52011-06-02 12:04:06 -05004416 }
csharptestc671a4b2011-06-08 11:51:24 -05004417 if (hasField25) {
csharptest920b09a2011-06-08 20:13:29 -05004418 output.WriteFloat(25, field_names[21], Field25);
csharptest27bfcc52011-06-02 12:04:06 -05004419 }
csharptestc671a4b2011-06-08 11:51:24 -05004420 if (hasField30) {
csharptest920b09a2011-06-08 20:13:29 -05004421 output.WriteInt64(30, field_names[23], Field30);
csharptest27bfcc52011-06-02 12:04:06 -05004422 }
csharptestc671a4b2011-06-08 11:51:24 -05004423 if (hasField63) {
csharptest920b09a2011-06-08 20:13:29 -05004424 output.WriteInt32(63, field_names[26], Field63);
csharptest27bfcc52011-06-02 12:04:06 -05004425 }
csharptestc671a4b2011-06-08 11:51:24 -05004426 if (hasField71) {
csharptest920b09a2011-06-08 20:13:29 -05004427 output.WriteInt32(71, field_names[27], Field71);
csharptest27bfcc52011-06-02 12:04:06 -05004428 }
csharptestc671a4b2011-06-08 11:51:24 -05004429 if (hasField75) {
csharptest920b09a2011-06-08 20:13:29 -05004430 output.WriteBool(75, field_names[28], Field75);
csharptest27bfcc52011-06-02 12:04:06 -05004431 }
csharptestc671a4b2011-06-08 11:51:24 -05004432 if (hasField109) {
csharptest920b09a2011-06-08 20:13:29 -05004433 output.WriteInt32(109, field_names[1], Field109);
csharptest27bfcc52011-06-02 12:04:06 -05004434 }
4435 if (field127_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05004436 output.WriteStringArray(127, field_names[2], field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004437 }
4438 if (field128_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05004439 output.WriteStringArray(128, field_names[3], field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004440 }
csharptestc671a4b2011-06-08 11:51:24 -05004441 if (hasField129) {
csharptest920b09a2011-06-08 20:13:29 -05004442 output.WriteInt32(129, field_names[4], Field129);
csharptest27bfcc52011-06-02 12:04:06 -05004443 }
4444 if (field130_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05004445 output.WriteInt64Array(130, field_names[5], field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004446 }
csharptestc671a4b2011-06-08 11:51:24 -05004447 if (hasField131) {
csharptest920b09a2011-06-08 20:13:29 -05004448 output.WriteInt64(131, field_names[6], Field131);
csharptest27bfcc52011-06-02 12:04:06 -05004449 }
csharptestc671a4b2011-06-08 11:51:24 -05004450 if (hasField205) {
csharptest920b09a2011-06-08 20:13:29 -05004451 output.WriteBool(205, field_names[8], Field205);
csharptest27bfcc52011-06-02 12:04:06 -05004452 }
csharptestc671a4b2011-06-08 11:51:24 -05004453 if (hasField206) {
csharptest920b09a2011-06-08 20:13:29 -05004454 output.WriteBool(206, field_names[9], Field206);
csharptest27bfcc52011-06-02 12:04:06 -05004455 }
csharptestc671a4b2011-06-08 11:51:24 -05004456 if (hasField210) {
csharptest920b09a2011-06-08 20:13:29 -05004457 output.WriteInt32(210, field_names[11], Field210);
csharptest27bfcc52011-06-02 12:04:06 -05004458 }
csharptestc671a4b2011-06-08 11:51:24 -05004459 if (hasField211) {
csharptest920b09a2011-06-08 20:13:29 -05004460 output.WriteInt32(211, field_names[12], Field211);
csharptest27bfcc52011-06-02 12:04:06 -05004461 }
csharptestc671a4b2011-06-08 11:51:24 -05004462 if (hasField212) {
csharptest920b09a2011-06-08 20:13:29 -05004463 output.WriteInt32(212, field_names[13], Field212);
csharptest27bfcc52011-06-02 12:04:06 -05004464 }
csharptestc671a4b2011-06-08 11:51:24 -05004465 if (hasField213) {
csharptest920b09a2011-06-08 20:13:29 -05004466 output.WriteInt32(213, field_names[14], Field213);
csharptest27bfcc52011-06-02 12:04:06 -05004467 }
csharptestc671a4b2011-06-08 11:51:24 -05004468 if (hasField216) {
csharptest920b09a2011-06-08 20:13:29 -05004469 output.WriteInt32(216, field_names[15], Field216);
csharptest27bfcc52011-06-02 12:04:06 -05004470 }
csharptestc671a4b2011-06-08 11:51:24 -05004471 if (hasField217) {
csharptest920b09a2011-06-08 20:13:29 -05004472 output.WriteInt32(217, field_names[16], Field217);
csharptest27bfcc52011-06-02 12:04:06 -05004473 }
csharptestc671a4b2011-06-08 11:51:24 -05004474 if (hasField218) {
csharptest920b09a2011-06-08 20:13:29 -05004475 output.WriteInt32(218, field_names[17], Field218);
csharptest27bfcc52011-06-02 12:04:06 -05004476 }
csharptestc671a4b2011-06-08 11:51:24 -05004477 if (hasField220) {
csharptest920b09a2011-06-08 20:13:29 -05004478 output.WriteInt32(220, field_names[18], Field220);
csharptest27bfcc52011-06-02 12:04:06 -05004479 }
csharptestc671a4b2011-06-08 11:51:24 -05004480 if (hasField221) {
csharptest920b09a2011-06-08 20:13:29 -05004481 output.WriteInt32(221, field_names[19], Field221);
csharptest27bfcc52011-06-02 12:04:06 -05004482 }
csharptestc671a4b2011-06-08 11:51:24 -05004483 if (hasField222) {
csharptest920b09a2011-06-08 20:13:29 -05004484 output.WriteFloat(222, field_names[20], Field222);
csharptest27bfcc52011-06-02 12:04:06 -05004485 }
4486 UnknownFields.WriteTo(output);
4487 }
4488
4489 private int memoizedSerializedSize = -1;
4490 public override int SerializedSize {
4491 get {
4492 int size = memoizedSerializedSize;
4493 if (size != -1) return size;
4494
4495 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05004496 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -05004497 size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
4498 }
csharptestc671a4b2011-06-08 11:51:24 -05004499 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -05004500 size += pb::CodedOutputStream.ComputeInt64Size(3, Field3);
4501 }
csharptestc671a4b2011-06-08 11:51:24 -05004502 if (hasField4) {
csharptest27bfcc52011-06-02 12:04:06 -05004503 size += pb::CodedOutputStream.ComputeInt64Size(4, Field4);
4504 }
csharptestc671a4b2011-06-08 11:51:24 -05004505 if (hasField30) {
csharptest27bfcc52011-06-02 12:04:06 -05004506 size += pb::CodedOutputStream.ComputeInt64Size(30, Field30);
4507 }
csharptestc671a4b2011-06-08 11:51:24 -05004508 if (hasField75) {
csharptest27bfcc52011-06-02 12:04:06 -05004509 size += pb::CodedOutputStream.ComputeBoolSize(75, Field75);
4510 }
csharptestc671a4b2011-06-08 11:51:24 -05004511 if (hasField6) {
csharptest27bfcc52011-06-02 12:04:06 -05004512 size += pb::CodedOutputStream.ComputeStringSize(6, Field6);
4513 }
csharptestc671a4b2011-06-08 11:51:24 -05004514 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -05004515 size += pb::CodedOutputStream.ComputeBytesSize(2, Field2);
4516 }
csharptestc671a4b2011-06-08 11:51:24 -05004517 if (hasField21) {
csharptest27bfcc52011-06-02 12:04:06 -05004518 size += pb::CodedOutputStream.ComputeInt32Size(21, Field21);
4519 }
csharptestc671a4b2011-06-08 11:51:24 -05004520 if (hasField71) {
csharptest27bfcc52011-06-02 12:04:06 -05004521 size += pb::CodedOutputStream.ComputeInt32Size(71, Field71);
4522 }
csharptestc671a4b2011-06-08 11:51:24 -05004523 if (hasField25) {
csharptest27bfcc52011-06-02 12:04:06 -05004524 size += pb::CodedOutputStream.ComputeFloatSize(25, Field25);
4525 }
csharptestc671a4b2011-06-08 11:51:24 -05004526 if (hasField109) {
csharptest27bfcc52011-06-02 12:04:06 -05004527 size += pb::CodedOutputStream.ComputeInt32Size(109, Field109);
4528 }
csharptestc671a4b2011-06-08 11:51:24 -05004529 if (hasField210) {
csharptest27bfcc52011-06-02 12:04:06 -05004530 size += pb::CodedOutputStream.ComputeInt32Size(210, Field210);
4531 }
csharptestc671a4b2011-06-08 11:51:24 -05004532 if (hasField211) {
csharptest27bfcc52011-06-02 12:04:06 -05004533 size += pb::CodedOutputStream.ComputeInt32Size(211, Field211);
4534 }
csharptestc671a4b2011-06-08 11:51:24 -05004535 if (hasField212) {
csharptest27bfcc52011-06-02 12:04:06 -05004536 size += pb::CodedOutputStream.ComputeInt32Size(212, Field212);
4537 }
csharptestc671a4b2011-06-08 11:51:24 -05004538 if (hasField213) {
csharptest27bfcc52011-06-02 12:04:06 -05004539 size += pb::CodedOutputStream.ComputeInt32Size(213, Field213);
4540 }
csharptestc671a4b2011-06-08 11:51:24 -05004541 if (hasField216) {
csharptest27bfcc52011-06-02 12:04:06 -05004542 size += pb::CodedOutputStream.ComputeInt32Size(216, Field216);
4543 }
csharptestc671a4b2011-06-08 11:51:24 -05004544 if (hasField217) {
csharptest27bfcc52011-06-02 12:04:06 -05004545 size += pb::CodedOutputStream.ComputeInt32Size(217, Field217);
4546 }
csharptestc671a4b2011-06-08 11:51:24 -05004547 if (hasField218) {
csharptest27bfcc52011-06-02 12:04:06 -05004548 size += pb::CodedOutputStream.ComputeInt32Size(218, Field218);
4549 }
csharptestc671a4b2011-06-08 11:51:24 -05004550 if (hasField220) {
csharptest27bfcc52011-06-02 12:04:06 -05004551 size += pb::CodedOutputStream.ComputeInt32Size(220, Field220);
4552 }
csharptestc671a4b2011-06-08 11:51:24 -05004553 if (hasField221) {
csharptest27bfcc52011-06-02 12:04:06 -05004554 size += pb::CodedOutputStream.ComputeInt32Size(221, Field221);
4555 }
csharptestc671a4b2011-06-08 11:51:24 -05004556 if (hasField222) {
csharptest27bfcc52011-06-02 12:04:06 -05004557 size += pb::CodedOutputStream.ComputeFloatSize(222, Field222);
4558 }
csharptestc671a4b2011-06-08 11:51:24 -05004559 if (hasField63) {
csharptest27bfcc52011-06-02 12:04:06 -05004560 size += pb::CodedOutputStream.ComputeInt32Size(63, Field63);
4561 }
4562 foreach (global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 element in Group1List) {
4563 size += pb::CodedOutputStream.ComputeGroupSize(10, element);
4564 }
4565 {
4566 int dataSize = 0;
4567 foreach (string element in Field128List) {
4568 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4569 }
4570 size += dataSize;
4571 size += 2 * field128_.Count;
4572 }
csharptestc671a4b2011-06-08 11:51:24 -05004573 if (hasField131) {
csharptest27bfcc52011-06-02 12:04:06 -05004574 size += pb::CodedOutputStream.ComputeInt64Size(131, Field131);
4575 }
4576 {
4577 int dataSize = 0;
4578 foreach (string element in Field127List) {
4579 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4580 }
4581 size += dataSize;
4582 size += 2 * field127_.Count;
4583 }
csharptestc671a4b2011-06-08 11:51:24 -05004584 if (hasField129) {
csharptest27bfcc52011-06-02 12:04:06 -05004585 size += pb::CodedOutputStream.ComputeInt32Size(129, Field129);
4586 }
4587 {
4588 int dataSize = 0;
4589 foreach (long element in Field130List) {
4590 dataSize += pb::CodedOutputStream.ComputeInt64SizeNoTag(element);
4591 }
4592 size += dataSize;
4593 size += 2 * field130_.Count;
4594 }
csharptestc671a4b2011-06-08 11:51:24 -05004595 if (hasField205) {
csharptest27bfcc52011-06-02 12:04:06 -05004596 size += pb::CodedOutputStream.ComputeBoolSize(205, Field205);
4597 }
csharptestc671a4b2011-06-08 11:51:24 -05004598 if (hasField206) {
csharptest27bfcc52011-06-02 12:04:06 -05004599 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
4600 }
4601 size += UnknownFields.SerializedSize;
4602 memoizedSerializedSize = size;
4603 return size;
4604 }
4605 }
4606
4607 public static SpeedMessage2 ParseFrom(pb::ByteString data) {
4608 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4609 }
4610 public static SpeedMessage2 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
4611 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4612 }
4613 public static SpeedMessage2 ParseFrom(byte[] data) {
4614 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4615 }
4616 public static SpeedMessage2 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
4617 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4618 }
4619 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input) {
4620 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4621 }
4622 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4623 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4624 }
4625 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input) {
4626 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
4627 }
4628 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4629 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
4630 }
csharptest17699c22011-06-03 21:57:15 -05004631 public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05004632 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4633 }
csharptest17699c22011-06-03 21:57:15 -05004634 public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05004635 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4636 }
4637 public static Builder CreateBuilder() { return new Builder(); }
4638 public override Builder ToBuilder() { return CreateBuilder(this); }
4639 public override Builder CreateBuilderForType() { return new Builder(); }
4640 public static Builder CreateBuilder(SpeedMessage2 prototype) {
4641 return (Builder) new Builder().MergeFrom(prototype);
4642 }
4643
4644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4645 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
4646 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
4647 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2, Builder> {
4648 protected override Builder ThisBuilder {
4649 get { return this; }
4650 }
4651 public Builder() {}
4652
4653 SpeedMessage2 result = new SpeedMessage2();
4654
4655 protected override SpeedMessage2 MessageBeingBuilt {
4656 get { return result; }
4657 }
4658
4659 public override Builder Clear() {
4660 result = new SpeedMessage2();
4661 return this;
4662 }
4663
4664 public override Builder Clone() {
4665 return new Builder().MergeFrom(result);
4666 }
4667
4668 public override pbd::MessageDescriptor DescriptorForType {
4669 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Descriptor; }
4670 }
4671
4672 public override SpeedMessage2 DefaultInstanceForType {
4673 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance; }
4674 }
4675
4676 public override SpeedMessage2 BuildPartial() {
4677 if (result == null) {
4678 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
4679 }
4680 result.group1_.MakeReadOnly();
4681 result.field128_.MakeReadOnly();
4682 result.field127_.MakeReadOnly();
4683 result.field130_.MakeReadOnly();
4684 SpeedMessage2 returnMe = result;
4685 result = null;
4686 return returnMe;
4687 }
4688
4689 public override Builder MergeFrom(pb::IMessage other) {
4690 if (other is SpeedMessage2) {
4691 return MergeFrom((SpeedMessage2) other);
4692 } else {
4693 base.MergeFrom(other);
4694 return this;
4695 }
4696 }
4697
4698 public override Builder MergeFrom(SpeedMessage2 other) {
4699 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance) return this;
4700 if (other.HasField1) {
4701 Field1 = other.Field1;
4702 }
4703 if (other.HasField3) {
4704 Field3 = other.Field3;
4705 }
4706 if (other.HasField4) {
4707 Field4 = other.Field4;
4708 }
4709 if (other.HasField30) {
4710 Field30 = other.Field30;
4711 }
4712 if (other.HasField75) {
4713 Field75 = other.Field75;
4714 }
4715 if (other.HasField6) {
4716 Field6 = other.Field6;
4717 }
4718 if (other.HasField2) {
4719 Field2 = other.Field2;
4720 }
4721 if (other.HasField21) {
4722 Field21 = other.Field21;
4723 }
4724 if (other.HasField71) {
4725 Field71 = other.Field71;
4726 }
4727 if (other.HasField25) {
4728 Field25 = other.Field25;
4729 }
4730 if (other.HasField109) {
4731 Field109 = other.Field109;
4732 }
4733 if (other.HasField210) {
4734 Field210 = other.Field210;
4735 }
4736 if (other.HasField211) {
4737 Field211 = other.Field211;
4738 }
4739 if (other.HasField212) {
4740 Field212 = other.Field212;
4741 }
4742 if (other.HasField213) {
4743 Field213 = other.Field213;
4744 }
4745 if (other.HasField216) {
4746 Field216 = other.Field216;
4747 }
4748 if (other.HasField217) {
4749 Field217 = other.Field217;
4750 }
4751 if (other.HasField218) {
4752 Field218 = other.Field218;
4753 }
4754 if (other.HasField220) {
4755 Field220 = other.Field220;
4756 }
4757 if (other.HasField221) {
4758 Field221 = other.Field221;
4759 }
4760 if (other.HasField222) {
4761 Field222 = other.Field222;
4762 }
4763 if (other.HasField63) {
4764 Field63 = other.Field63;
4765 }
4766 if (other.group1_.Count != 0) {
4767 base.AddRange(other.group1_, result.group1_);
4768 }
4769 if (other.field128_.Count != 0) {
4770 base.AddRange(other.field128_, result.field128_);
4771 }
4772 if (other.HasField131) {
4773 Field131 = other.Field131;
4774 }
4775 if (other.field127_.Count != 0) {
4776 base.AddRange(other.field127_, result.field127_);
4777 }
4778 if (other.HasField129) {
4779 Field129 = other.Field129;
4780 }
4781 if (other.field130_.Count != 0) {
4782 base.AddRange(other.field130_, result.field130_);
4783 }
4784 if (other.HasField205) {
4785 Field205 = other.Field205;
4786 }
4787 if (other.HasField206) {
4788 Field206 = other.Field206;
4789 }
4790 this.MergeUnknownFields(other.UnknownFields);
4791 return this;
4792 }
4793
csharptest17699c22011-06-03 21:57:15 -05004794 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05004795 return MergeFrom(input, pb::ExtensionRegistry.Empty);
4796 }
4797
csharptest17699c22011-06-03 21:57:15 -05004798 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05004799 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05004800 uint tag;
4801 string field_name;
4802 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05004803 if(tag == 0 && field_name != null) {
4804 int field_ordinal = global::System.Array.BinarySearch(_speedMessage2FieldNames, field_name, global::System.StringComparer.Ordinal);
4805 if(field_ordinal >= 0)
4806 tag = _speedMessage2FieldTags[field_ordinal];
4807 else {
4808 if (unknownFields == null) {
4809 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4810 }
4811 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
4812 continue;
4813 }
4814 }
csharptest27bfcc52011-06-02 12:04:06 -05004815 switch (tag) {
4816 case 0: {
csharptest99284412011-06-03 14:51:06 -05004817 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05004818 }
4819 default: {
4820 if (pb::WireFormat.IsEndGroupTag(tag)) {
4821 if (unknownFields != null) {
4822 this.UnknownFields = unknownFields.Build();
4823 }
4824 return this;
4825 }
4826 if (unknownFields == null) {
4827 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4828 }
csharptestd2af9e92011-06-03 21:35:02 -05004829 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05004830 break;
4831 }
4832 case 10: {
csharptest920b09a2011-06-08 20:13:29 -05004833 result.hasField1 = input.ReadString(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05004834 break;
4835 }
4836 case 18: {
csharptest920b09a2011-06-08 20:13:29 -05004837 result.hasField2 = input.ReadBytes(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05004838 break;
4839 }
4840 case 24: {
csharptest920b09a2011-06-08 20:13:29 -05004841 result.hasField3 = input.ReadInt64(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05004842 break;
4843 }
4844 case 32: {
csharptest920b09a2011-06-08 20:13:29 -05004845 result.hasField4 = input.ReadInt64(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05004846 break;
4847 }
4848 case 50: {
csharptest920b09a2011-06-08 20:13:29 -05004849 result.hasField6 = input.ReadString(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05004850 break;
4851 }
4852 case 83: {
csharptestd2af9e92011-06-03 21:35:02 -05004853 input.ReadGroupArray(tag, field_name, result.group1_, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance, extensionRegistry);
csharptest27bfcc52011-06-02 12:04:06 -05004854 break;
4855 }
4856 case 168: {
csharptest920b09a2011-06-08 20:13:29 -05004857 result.hasField21 = input.ReadInt32(ref result.field21_);
csharptest27bfcc52011-06-02 12:04:06 -05004858 break;
4859 }
4860 case 205: {
csharptest920b09a2011-06-08 20:13:29 -05004861 result.hasField25 = input.ReadFloat(ref result.field25_);
csharptest27bfcc52011-06-02 12:04:06 -05004862 break;
4863 }
4864 case 240: {
csharptest920b09a2011-06-08 20:13:29 -05004865 result.hasField30 = input.ReadInt64(ref result.field30_);
csharptest27bfcc52011-06-02 12:04:06 -05004866 break;
4867 }
4868 case 504: {
csharptest920b09a2011-06-08 20:13:29 -05004869 result.hasField63 = input.ReadInt32(ref result.field63_);
csharptest27bfcc52011-06-02 12:04:06 -05004870 break;
4871 }
4872 case 568: {
csharptest920b09a2011-06-08 20:13:29 -05004873 result.hasField71 = input.ReadInt32(ref result.field71_);
csharptest27bfcc52011-06-02 12:04:06 -05004874 break;
4875 }
4876 case 600: {
csharptest920b09a2011-06-08 20:13:29 -05004877 result.hasField75 = input.ReadBool(ref result.field75_);
csharptest27bfcc52011-06-02 12:04:06 -05004878 break;
4879 }
4880 case 872: {
csharptest920b09a2011-06-08 20:13:29 -05004881 result.hasField109 = input.ReadInt32(ref result.field109_);
csharptest27bfcc52011-06-02 12:04:06 -05004882 break;
4883 }
4884 case 1018: {
csharptestb00ea132011-06-10 01:09:57 -05004885 input.ReadStringArray(tag, field_name, result.field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004886 break;
4887 }
4888 case 1026: {
csharptestb00ea132011-06-10 01:09:57 -05004889 input.ReadStringArray(tag, field_name, result.field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004890 break;
4891 }
4892 case 1032: {
csharptest920b09a2011-06-08 20:13:29 -05004893 result.hasField129 = input.ReadInt32(ref result.field129_);
csharptest27bfcc52011-06-02 12:04:06 -05004894 break;
4895 }
csharptest6da31702011-06-04 12:52:57 -05004896 case 1042:
csharptest27bfcc52011-06-02 12:04:06 -05004897 case 1040: {
csharptestb00ea132011-06-10 01:09:57 -05004898 input.ReadInt64Array(tag, field_name, result.field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004899 break;
4900 }
4901 case 1048: {
csharptest920b09a2011-06-08 20:13:29 -05004902 result.hasField131 = input.ReadInt64(ref result.field131_);
csharptest27bfcc52011-06-02 12:04:06 -05004903 break;
4904 }
4905 case 1640: {
csharptest920b09a2011-06-08 20:13:29 -05004906 result.hasField205 = input.ReadBool(ref result.field205_);
csharptest27bfcc52011-06-02 12:04:06 -05004907 break;
4908 }
4909 case 1648: {
csharptest920b09a2011-06-08 20:13:29 -05004910 result.hasField206 = input.ReadBool(ref result.field206_);
csharptest27bfcc52011-06-02 12:04:06 -05004911 break;
4912 }
4913 case 1680: {
csharptest920b09a2011-06-08 20:13:29 -05004914 result.hasField210 = input.ReadInt32(ref result.field210_);
csharptest27bfcc52011-06-02 12:04:06 -05004915 break;
4916 }
4917 case 1688: {
csharptest920b09a2011-06-08 20:13:29 -05004918 result.hasField211 = input.ReadInt32(ref result.field211_);
csharptest27bfcc52011-06-02 12:04:06 -05004919 break;
4920 }
4921 case 1696: {
csharptest920b09a2011-06-08 20:13:29 -05004922 result.hasField212 = input.ReadInt32(ref result.field212_);
csharptest27bfcc52011-06-02 12:04:06 -05004923 break;
4924 }
4925 case 1704: {
csharptest920b09a2011-06-08 20:13:29 -05004926 result.hasField213 = input.ReadInt32(ref result.field213_);
csharptest27bfcc52011-06-02 12:04:06 -05004927 break;
4928 }
4929 case 1728: {
csharptest920b09a2011-06-08 20:13:29 -05004930 result.hasField216 = input.ReadInt32(ref result.field216_);
csharptest27bfcc52011-06-02 12:04:06 -05004931 break;
4932 }
4933 case 1736: {
csharptest920b09a2011-06-08 20:13:29 -05004934 result.hasField217 = input.ReadInt32(ref result.field217_);
csharptest27bfcc52011-06-02 12:04:06 -05004935 break;
4936 }
4937 case 1744: {
csharptest920b09a2011-06-08 20:13:29 -05004938 result.hasField218 = input.ReadInt32(ref result.field218_);
csharptest27bfcc52011-06-02 12:04:06 -05004939 break;
4940 }
4941 case 1760: {
csharptest920b09a2011-06-08 20:13:29 -05004942 result.hasField220 = input.ReadInt32(ref result.field220_);
csharptest27bfcc52011-06-02 12:04:06 -05004943 break;
4944 }
4945 case 1768: {
csharptest920b09a2011-06-08 20:13:29 -05004946 result.hasField221 = input.ReadInt32(ref result.field221_);
csharptest27bfcc52011-06-02 12:04:06 -05004947 break;
4948 }
4949 case 1781: {
csharptest920b09a2011-06-08 20:13:29 -05004950 result.hasField222 = input.ReadFloat(ref result.field222_);
csharptest27bfcc52011-06-02 12:04:06 -05004951 break;
4952 }
4953 }
4954 }
csharptest123e5342011-06-03 14:15:21 -05004955
4956 if (unknownFields != null) {
4957 this.UnknownFields = unknownFields.Build();
4958 }
4959 return this;
csharptest27bfcc52011-06-02 12:04:06 -05004960 }
4961
4962
4963 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05004964 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05004965 }
4966 public string Field1 {
4967 get { return result.Field1; }
4968 set { SetField1(value); }
4969 }
4970 public Builder SetField1(string value) {
4971 pb::ThrowHelper.ThrowIfNull(value, "value");
4972 result.hasField1 = true;
4973 result.field1_ = value;
4974 return this;
4975 }
4976 public Builder ClearField1() {
4977 result.hasField1 = false;
4978 result.field1_ = "";
4979 return this;
4980 }
4981
4982 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05004983 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05004984 }
4985 public long Field3 {
4986 get { return result.Field3; }
4987 set { SetField3(value); }
4988 }
4989 public Builder SetField3(long value) {
4990 result.hasField3 = true;
4991 result.field3_ = value;
4992 return this;
4993 }
4994 public Builder ClearField3() {
4995 result.hasField3 = false;
4996 result.field3_ = 0L;
4997 return this;
4998 }
4999
5000 public bool HasField4 {
csharptestc671a4b2011-06-08 11:51:24 -05005001 get { return result.hasField4; }
csharptest27bfcc52011-06-02 12:04:06 -05005002 }
5003 public long Field4 {
5004 get { return result.Field4; }
5005 set { SetField4(value); }
5006 }
5007 public Builder SetField4(long value) {
5008 result.hasField4 = true;
5009 result.field4_ = value;
5010 return this;
5011 }
5012 public Builder ClearField4() {
5013 result.hasField4 = false;
5014 result.field4_ = 0L;
5015 return this;
5016 }
5017
5018 public bool HasField30 {
csharptestc671a4b2011-06-08 11:51:24 -05005019 get { return result.hasField30; }
csharptest27bfcc52011-06-02 12:04:06 -05005020 }
5021 public long Field30 {
5022 get { return result.Field30; }
5023 set { SetField30(value); }
5024 }
5025 public Builder SetField30(long value) {
5026 result.hasField30 = true;
5027 result.field30_ = value;
5028 return this;
5029 }
5030 public Builder ClearField30() {
5031 result.hasField30 = false;
5032 result.field30_ = 0L;
5033 return this;
5034 }
5035
5036 public bool HasField75 {
csharptestc671a4b2011-06-08 11:51:24 -05005037 get { return result.hasField75; }
csharptest27bfcc52011-06-02 12:04:06 -05005038 }
5039 public bool Field75 {
5040 get { return result.Field75; }
5041 set { SetField75(value); }
5042 }
5043 public Builder SetField75(bool value) {
5044 result.hasField75 = true;
5045 result.field75_ = value;
5046 return this;
5047 }
5048 public Builder ClearField75() {
5049 result.hasField75 = false;
5050 result.field75_ = false;
5051 return this;
5052 }
5053
5054 public bool HasField6 {
csharptestc671a4b2011-06-08 11:51:24 -05005055 get { return result.hasField6; }
csharptest27bfcc52011-06-02 12:04:06 -05005056 }
5057 public string Field6 {
5058 get { return result.Field6; }
5059 set { SetField6(value); }
5060 }
5061 public Builder SetField6(string value) {
5062 pb::ThrowHelper.ThrowIfNull(value, "value");
5063 result.hasField6 = true;
5064 result.field6_ = value;
5065 return this;
5066 }
5067 public Builder ClearField6() {
5068 result.hasField6 = false;
5069 result.field6_ = "";
5070 return this;
5071 }
5072
5073 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05005074 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05005075 }
5076 public pb::ByteString Field2 {
5077 get { return result.Field2; }
5078 set { SetField2(value); }
5079 }
5080 public Builder SetField2(pb::ByteString value) {
5081 pb::ThrowHelper.ThrowIfNull(value, "value");
5082 result.hasField2 = true;
5083 result.field2_ = value;
5084 return this;
5085 }
5086 public Builder ClearField2() {
5087 result.hasField2 = false;
5088 result.field2_ = pb::ByteString.Empty;
5089 return this;
5090 }
5091
5092 public bool HasField21 {
csharptestc671a4b2011-06-08 11:51:24 -05005093 get { return result.hasField21; }
csharptest27bfcc52011-06-02 12:04:06 -05005094 }
5095 public int Field21 {
5096 get { return result.Field21; }
5097 set { SetField21(value); }
5098 }
5099 public Builder SetField21(int value) {
5100 result.hasField21 = true;
5101 result.field21_ = value;
5102 return this;
5103 }
5104 public Builder ClearField21() {
5105 result.hasField21 = false;
5106 result.field21_ = 0;
5107 return this;
5108 }
5109
5110 public bool HasField71 {
csharptestc671a4b2011-06-08 11:51:24 -05005111 get { return result.hasField71; }
csharptest27bfcc52011-06-02 12:04:06 -05005112 }
5113 public int Field71 {
5114 get { return result.Field71; }
5115 set { SetField71(value); }
5116 }
5117 public Builder SetField71(int value) {
5118 result.hasField71 = true;
5119 result.field71_ = value;
5120 return this;
5121 }
5122 public Builder ClearField71() {
5123 result.hasField71 = false;
5124 result.field71_ = 0;
5125 return this;
5126 }
5127
5128 public bool HasField25 {
csharptestc671a4b2011-06-08 11:51:24 -05005129 get { return result.hasField25; }
csharptest27bfcc52011-06-02 12:04:06 -05005130 }
5131 public float Field25 {
5132 get { return result.Field25; }
5133 set { SetField25(value); }
5134 }
5135 public Builder SetField25(float value) {
5136 result.hasField25 = true;
5137 result.field25_ = value;
5138 return this;
5139 }
5140 public Builder ClearField25() {
5141 result.hasField25 = false;
5142 result.field25_ = 0F;
5143 return this;
5144 }
5145
5146 public bool HasField109 {
csharptestc671a4b2011-06-08 11:51:24 -05005147 get { return result.hasField109; }
csharptest27bfcc52011-06-02 12:04:06 -05005148 }
5149 public int Field109 {
5150 get { return result.Field109; }
5151 set { SetField109(value); }
5152 }
5153 public Builder SetField109(int value) {
5154 result.hasField109 = true;
5155 result.field109_ = value;
5156 return this;
5157 }
5158 public Builder ClearField109() {
5159 result.hasField109 = false;
5160 result.field109_ = 0;
5161 return this;
5162 }
5163
5164 public bool HasField210 {
csharptestc671a4b2011-06-08 11:51:24 -05005165 get { return result.hasField210; }
csharptest27bfcc52011-06-02 12:04:06 -05005166 }
5167 public int Field210 {
5168 get { return result.Field210; }
5169 set { SetField210(value); }
5170 }
5171 public Builder SetField210(int value) {
5172 result.hasField210 = true;
5173 result.field210_ = value;
5174 return this;
5175 }
5176 public Builder ClearField210() {
5177 result.hasField210 = false;
5178 result.field210_ = 0;
5179 return this;
5180 }
5181
5182 public bool HasField211 {
csharptestc671a4b2011-06-08 11:51:24 -05005183 get { return result.hasField211; }
csharptest27bfcc52011-06-02 12:04:06 -05005184 }
5185 public int Field211 {
5186 get { return result.Field211; }
5187 set { SetField211(value); }
5188 }
5189 public Builder SetField211(int value) {
5190 result.hasField211 = true;
5191 result.field211_ = value;
5192 return this;
5193 }
5194 public Builder ClearField211() {
5195 result.hasField211 = false;
5196 result.field211_ = 0;
5197 return this;
5198 }
5199
5200 public bool HasField212 {
csharptestc671a4b2011-06-08 11:51:24 -05005201 get { return result.hasField212; }
csharptest27bfcc52011-06-02 12:04:06 -05005202 }
5203 public int Field212 {
5204 get { return result.Field212; }
5205 set { SetField212(value); }
5206 }
5207 public Builder SetField212(int value) {
5208 result.hasField212 = true;
5209 result.field212_ = value;
5210 return this;
5211 }
5212 public Builder ClearField212() {
5213 result.hasField212 = false;
5214 result.field212_ = 0;
5215 return this;
5216 }
5217
5218 public bool HasField213 {
csharptestc671a4b2011-06-08 11:51:24 -05005219 get { return result.hasField213; }
csharptest27bfcc52011-06-02 12:04:06 -05005220 }
5221 public int Field213 {
5222 get { return result.Field213; }
5223 set { SetField213(value); }
5224 }
5225 public Builder SetField213(int value) {
5226 result.hasField213 = true;
5227 result.field213_ = value;
5228 return this;
5229 }
5230 public Builder ClearField213() {
5231 result.hasField213 = false;
5232 result.field213_ = 0;
5233 return this;
5234 }
5235
5236 public bool HasField216 {
csharptestc671a4b2011-06-08 11:51:24 -05005237 get { return result.hasField216; }
csharptest27bfcc52011-06-02 12:04:06 -05005238 }
5239 public int Field216 {
5240 get { return result.Field216; }
5241 set { SetField216(value); }
5242 }
5243 public Builder SetField216(int value) {
5244 result.hasField216 = true;
5245 result.field216_ = value;
5246 return this;
5247 }
5248 public Builder ClearField216() {
5249 result.hasField216 = false;
5250 result.field216_ = 0;
5251 return this;
5252 }
5253
5254 public bool HasField217 {
csharptestc671a4b2011-06-08 11:51:24 -05005255 get { return result.hasField217; }
csharptest27bfcc52011-06-02 12:04:06 -05005256 }
5257 public int Field217 {
5258 get { return result.Field217; }
5259 set { SetField217(value); }
5260 }
5261 public Builder SetField217(int value) {
5262 result.hasField217 = true;
5263 result.field217_ = value;
5264 return this;
5265 }
5266 public Builder ClearField217() {
5267 result.hasField217 = false;
5268 result.field217_ = 0;
5269 return this;
5270 }
5271
5272 public bool HasField218 {
csharptestc671a4b2011-06-08 11:51:24 -05005273 get { return result.hasField218; }
csharptest27bfcc52011-06-02 12:04:06 -05005274 }
5275 public int Field218 {
5276 get { return result.Field218; }
5277 set { SetField218(value); }
5278 }
5279 public Builder SetField218(int value) {
5280 result.hasField218 = true;
5281 result.field218_ = value;
5282 return this;
5283 }
5284 public Builder ClearField218() {
5285 result.hasField218 = false;
5286 result.field218_ = 0;
5287 return this;
5288 }
5289
5290 public bool HasField220 {
csharptestc671a4b2011-06-08 11:51:24 -05005291 get { return result.hasField220; }
csharptest27bfcc52011-06-02 12:04:06 -05005292 }
5293 public int Field220 {
5294 get { return result.Field220; }
5295 set { SetField220(value); }
5296 }
5297 public Builder SetField220(int value) {
5298 result.hasField220 = true;
5299 result.field220_ = value;
5300 return this;
5301 }
5302 public Builder ClearField220() {
5303 result.hasField220 = false;
5304 result.field220_ = 0;
5305 return this;
5306 }
5307
5308 public bool HasField221 {
csharptestc671a4b2011-06-08 11:51:24 -05005309 get { return result.hasField221; }
csharptest27bfcc52011-06-02 12:04:06 -05005310 }
5311 public int Field221 {
5312 get { return result.Field221; }
5313 set { SetField221(value); }
5314 }
5315 public Builder SetField221(int value) {
5316 result.hasField221 = true;
5317 result.field221_ = value;
5318 return this;
5319 }
5320 public Builder ClearField221() {
5321 result.hasField221 = false;
5322 result.field221_ = 0;
5323 return this;
5324 }
5325
5326 public bool HasField222 {
csharptestc671a4b2011-06-08 11:51:24 -05005327 get { return result.hasField222; }
csharptest27bfcc52011-06-02 12:04:06 -05005328 }
5329 public float Field222 {
5330 get { return result.Field222; }
5331 set { SetField222(value); }
5332 }
5333 public Builder SetField222(float value) {
5334 result.hasField222 = true;
5335 result.field222_ = value;
5336 return this;
5337 }
5338 public Builder ClearField222() {
5339 result.hasField222 = false;
5340 result.field222_ = 0F;
5341 return this;
5342 }
5343
5344 public bool HasField63 {
csharptestc671a4b2011-06-08 11:51:24 -05005345 get { return result.hasField63; }
csharptest27bfcc52011-06-02 12:04:06 -05005346 }
5347 public int Field63 {
5348 get { return result.Field63; }
5349 set { SetField63(value); }
5350 }
5351 public Builder SetField63(int value) {
5352 result.hasField63 = true;
5353 result.field63_ = value;
5354 return this;
5355 }
5356 public Builder ClearField63() {
5357 result.hasField63 = false;
5358 result.field63_ = 0;
5359 return this;
5360 }
5361
5362 public pbc::IPopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
5363 get { return result.group1_; }
5364 }
5365 public int Group1Count {
5366 get { return result.Group1Count; }
5367 }
5368 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
5369 return result.GetGroup1(index);
5370 }
5371 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5372 pb::ThrowHelper.ThrowIfNull(value, "value");
5373 result.group1_[index] = value;
5374 return this;
5375 }
5376 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5377 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5378 result.group1_[index] = builderForValue.Build();
5379 return this;
5380 }
5381 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5382 pb::ThrowHelper.ThrowIfNull(value, "value");
5383 result.group1_.Add(value);
5384 return this;
5385 }
5386 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5387 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5388 result.group1_.Add(builderForValue.Build());
5389 return this;
5390 }
5391 public Builder AddRangeGroup1(scg::IEnumerable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> values) {
5392 base.AddRange(values, result.group1_);
5393 return this;
5394 }
5395 public Builder ClearGroup1() {
5396 result.group1_.Clear();
5397 return this;
5398 }
5399
5400 public pbc::IPopsicleList<string> Field128List {
5401 get { return result.field128_; }
5402 }
5403 public int Field128Count {
5404 get { return result.Field128Count; }
5405 }
5406 public string GetField128(int index) {
5407 return result.GetField128(index);
5408 }
5409 public Builder SetField128(int index, string value) {
5410 pb::ThrowHelper.ThrowIfNull(value, "value");
5411 result.field128_[index] = value;
5412 return this;
5413 }
5414 public Builder AddField128(string value) {
5415 pb::ThrowHelper.ThrowIfNull(value, "value");
5416 result.field128_.Add(value);
5417 return this;
5418 }
5419 public Builder AddRangeField128(scg::IEnumerable<string> values) {
5420 base.AddRange(values, result.field128_);
5421 return this;
5422 }
5423 public Builder ClearField128() {
5424 result.field128_.Clear();
5425 return this;
5426 }
5427
5428 public bool HasField131 {
csharptestc671a4b2011-06-08 11:51:24 -05005429 get { return result.hasField131; }
csharptest27bfcc52011-06-02 12:04:06 -05005430 }
5431 public long Field131 {
5432 get { return result.Field131; }
5433 set { SetField131(value); }
5434 }
5435 public Builder SetField131(long value) {
5436 result.hasField131 = true;
5437 result.field131_ = value;
5438 return this;
5439 }
5440 public Builder ClearField131() {
5441 result.hasField131 = false;
5442 result.field131_ = 0L;
5443 return this;
5444 }
5445
5446 public pbc::IPopsicleList<string> Field127List {
5447 get { return result.field127_; }
5448 }
5449 public int Field127Count {
5450 get { return result.Field127Count; }
5451 }
5452 public string GetField127(int index) {
5453 return result.GetField127(index);
5454 }
5455 public Builder SetField127(int index, string value) {
5456 pb::ThrowHelper.ThrowIfNull(value, "value");
5457 result.field127_[index] = value;
5458 return this;
5459 }
5460 public Builder AddField127(string value) {
5461 pb::ThrowHelper.ThrowIfNull(value, "value");
5462 result.field127_.Add(value);
5463 return this;
5464 }
5465 public Builder AddRangeField127(scg::IEnumerable<string> values) {
5466 base.AddRange(values, result.field127_);
5467 return this;
5468 }
5469 public Builder ClearField127() {
5470 result.field127_.Clear();
5471 return this;
5472 }
5473
5474 public bool HasField129 {
csharptestc671a4b2011-06-08 11:51:24 -05005475 get { return result.hasField129; }
csharptest27bfcc52011-06-02 12:04:06 -05005476 }
5477 public int Field129 {
5478 get { return result.Field129; }
5479 set { SetField129(value); }
5480 }
5481 public Builder SetField129(int value) {
5482 result.hasField129 = true;
5483 result.field129_ = value;
5484 return this;
5485 }
5486 public Builder ClearField129() {
5487 result.hasField129 = false;
5488 result.field129_ = 0;
5489 return this;
5490 }
5491
5492 public pbc::IPopsicleList<long> Field130List {
5493 get { return result.field130_; }
5494 }
5495 public int Field130Count {
5496 get { return result.Field130Count; }
5497 }
5498 public long GetField130(int index) {
5499 return result.GetField130(index);
5500 }
5501 public Builder SetField130(int index, long value) {
5502 result.field130_[index] = value;
5503 return this;
5504 }
5505 public Builder AddField130(long value) {
5506 result.field130_.Add(value);
5507 return this;
5508 }
5509 public Builder AddRangeField130(scg::IEnumerable<long> values) {
5510 base.AddRange(values, result.field130_);
5511 return this;
5512 }
5513 public Builder ClearField130() {
5514 result.field130_.Clear();
5515 return this;
5516 }
5517
5518 public bool HasField205 {
csharptestc671a4b2011-06-08 11:51:24 -05005519 get { return result.hasField205; }
csharptest27bfcc52011-06-02 12:04:06 -05005520 }
5521 public bool Field205 {
5522 get { return result.Field205; }
5523 set { SetField205(value); }
5524 }
5525 public Builder SetField205(bool value) {
5526 result.hasField205 = true;
5527 result.field205_ = value;
5528 return this;
5529 }
5530 public Builder ClearField205() {
5531 result.hasField205 = false;
5532 result.field205_ = false;
5533 return this;
5534 }
5535
5536 public bool HasField206 {
csharptestc671a4b2011-06-08 11:51:24 -05005537 get { return result.hasField206; }
csharptest27bfcc52011-06-02 12:04:06 -05005538 }
5539 public bool Field206 {
5540 get { return result.Field206; }
5541 set { SetField206(value); }
5542 }
5543 public Builder SetField206(bool value) {
5544 result.hasField206 = true;
5545 result.field206_ = value;
5546 return this;
5547 }
5548 public Builder ClearField206() {
5549 result.hasField206 = false;
5550 result.field206_ = false;
5551 return this;
5552 }
5553 }
5554 static SpeedMessage2() {
5555 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
5556 }
5557 }
5558
5559 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5560 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5561 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5562 public sealed partial class SpeedMessage2GroupedMessage : pb::GeneratedMessage<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> {
5563 private static readonly SpeedMessage2GroupedMessage defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05005564 private static readonly string[] _speedMessage2GroupedMessageFieldNames = new string[] { "field1", "field10", "field11", "field2", "field3", "field4", "field5", "field6", "field7", "field8", "field9" };
5565 private static readonly uint[] _speedMessage2GroupedMessageFieldTags = new uint[] { 13, 85, 88, 21, 29, 32, 40, 48, 56, 69, 72 };
csharptest27bfcc52011-06-02 12:04:06 -05005566 public static SpeedMessage2GroupedMessage DefaultInstance {
5567 get { return defaultInstance; }
5568 }
5569
5570 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5571 get { return defaultInstance; }
5572 }
5573
5574 protected override SpeedMessage2GroupedMessage ThisMessage {
5575 get { return this; }
5576 }
5577
5578 public static pbd::MessageDescriptor Descriptor {
5579 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor; }
5580 }
5581
5582 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> InternalFieldAccessors {
5583 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable; }
5584 }
5585
5586 public const int Field1FieldNumber = 1;
5587 private bool hasField1;
csharptestced18e12011-06-09 19:47:56 -05005588 private float field1_;
csharptest27bfcc52011-06-02 12:04:06 -05005589 public bool HasField1 {
5590 get { return hasField1; }
5591 }
5592 public float Field1 {
5593 get { return field1_; }
5594 }
5595
5596 public const int Field2FieldNumber = 2;
5597 private bool hasField2;
csharptestced18e12011-06-09 19:47:56 -05005598 private float field2_;
csharptest27bfcc52011-06-02 12:04:06 -05005599 public bool HasField2 {
5600 get { return hasField2; }
5601 }
5602 public float Field2 {
5603 get { return field2_; }
5604 }
5605
5606 public const int Field3FieldNumber = 3;
5607 private bool hasField3;
csharptestced18e12011-06-09 19:47:56 -05005608 private float field3_;
csharptest27bfcc52011-06-02 12:04:06 -05005609 public bool HasField3 {
5610 get { return hasField3; }
5611 }
5612 public float Field3 {
5613 get { return field3_; }
5614 }
5615
5616 public const int Field4FieldNumber = 4;
5617 private bool hasField4;
csharptestced18e12011-06-09 19:47:56 -05005618 private bool field4_;
csharptest27bfcc52011-06-02 12:04:06 -05005619 public bool HasField4 {
5620 get { return hasField4; }
5621 }
5622 public bool Field4 {
5623 get { return field4_; }
5624 }
5625
5626 public const int Field5FieldNumber = 5;
5627 private bool hasField5;
csharptestced18e12011-06-09 19:47:56 -05005628 private bool field5_;
csharptest27bfcc52011-06-02 12:04:06 -05005629 public bool HasField5 {
5630 get { return hasField5; }
5631 }
5632 public bool Field5 {
5633 get { return field5_; }
5634 }
5635
5636 public const int Field6FieldNumber = 6;
5637 private bool hasField6;
5638 private bool field6_ = true;
5639 public bool HasField6 {
5640 get { return hasField6; }
5641 }
5642 public bool Field6 {
5643 get { return field6_; }
5644 }
5645
5646 public const int Field7FieldNumber = 7;
5647 private bool hasField7;
csharptestced18e12011-06-09 19:47:56 -05005648 private bool field7_;
csharptest27bfcc52011-06-02 12:04:06 -05005649 public bool HasField7 {
5650 get { return hasField7; }
5651 }
5652 public bool Field7 {
5653 get { return field7_; }
5654 }
5655
5656 public const int Field8FieldNumber = 8;
5657 private bool hasField8;
csharptestced18e12011-06-09 19:47:56 -05005658 private float field8_;
csharptest27bfcc52011-06-02 12:04:06 -05005659 public bool HasField8 {
5660 get { return hasField8; }
5661 }
5662 public float Field8 {
5663 get { return field8_; }
5664 }
5665
5666 public const int Field9FieldNumber = 9;
5667 private bool hasField9;
csharptestced18e12011-06-09 19:47:56 -05005668 private bool field9_;
csharptest27bfcc52011-06-02 12:04:06 -05005669 public bool HasField9 {
5670 get { return hasField9; }
5671 }
5672 public bool Field9 {
5673 get { return field9_; }
5674 }
5675
5676 public const int Field10FieldNumber = 10;
5677 private bool hasField10;
csharptestced18e12011-06-09 19:47:56 -05005678 private float field10_;
csharptest27bfcc52011-06-02 12:04:06 -05005679 public bool HasField10 {
5680 get { return hasField10; }
5681 }
5682 public float Field10 {
5683 get { return field10_; }
5684 }
5685
5686 public const int Field11FieldNumber = 11;
5687 private bool hasField11;
csharptestced18e12011-06-09 19:47:56 -05005688 private long field11_;
csharptest27bfcc52011-06-02 12:04:06 -05005689 public bool HasField11 {
5690 get { return hasField11; }
5691 }
5692 public long Field11 {
5693 get { return field11_; }
5694 }
5695
5696 public override bool IsInitialized {
5697 get {
5698 return true;
5699 }
5700 }
5701
csharptestffafdaa2011-06-03 12:58:14 -05005702 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05005703 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05005704 string[] field_names = _speedMessage2GroupedMessageFieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05005705 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -05005706 output.WriteFloat(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -05005707 }
csharptestc671a4b2011-06-08 11:51:24 -05005708 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -05005709 output.WriteFloat(2, field_names[3], Field2);
csharptest27bfcc52011-06-02 12:04:06 -05005710 }
csharptestc671a4b2011-06-08 11:51:24 -05005711 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -05005712 output.WriteFloat(3, field_names[4], Field3);
csharptest27bfcc52011-06-02 12:04:06 -05005713 }
csharptestc671a4b2011-06-08 11:51:24 -05005714 if (hasField4) {
csharptest920b09a2011-06-08 20:13:29 -05005715 output.WriteBool(4, field_names[5], Field4);
csharptest27bfcc52011-06-02 12:04:06 -05005716 }
csharptestc671a4b2011-06-08 11:51:24 -05005717 if (hasField5) {
csharptest920b09a2011-06-08 20:13:29 -05005718 output.WriteBool(5, field_names[6], Field5);
csharptest27bfcc52011-06-02 12:04:06 -05005719 }
csharptestc671a4b2011-06-08 11:51:24 -05005720 if (hasField6) {
csharptest920b09a2011-06-08 20:13:29 -05005721 output.WriteBool(6, field_names[7], Field6);
csharptest27bfcc52011-06-02 12:04:06 -05005722 }
csharptestc671a4b2011-06-08 11:51:24 -05005723 if (hasField7) {
csharptest920b09a2011-06-08 20:13:29 -05005724 output.WriteBool(7, field_names[8], Field7);
csharptest27bfcc52011-06-02 12:04:06 -05005725 }
csharptestc671a4b2011-06-08 11:51:24 -05005726 if (hasField8) {
csharptest920b09a2011-06-08 20:13:29 -05005727 output.WriteFloat(8, field_names[9], Field8);
csharptest27bfcc52011-06-02 12:04:06 -05005728 }
csharptestc671a4b2011-06-08 11:51:24 -05005729 if (hasField9) {
csharptest920b09a2011-06-08 20:13:29 -05005730 output.WriteBool(9, field_names[10], Field9);
csharptest27bfcc52011-06-02 12:04:06 -05005731 }
csharptestc671a4b2011-06-08 11:51:24 -05005732 if (hasField10) {
csharptest920b09a2011-06-08 20:13:29 -05005733 output.WriteFloat(10, field_names[1], Field10);
csharptest27bfcc52011-06-02 12:04:06 -05005734 }
csharptestc671a4b2011-06-08 11:51:24 -05005735 if (hasField11) {
csharptest920b09a2011-06-08 20:13:29 -05005736 output.WriteInt64(11, field_names[2], Field11);
csharptest27bfcc52011-06-02 12:04:06 -05005737 }
5738 UnknownFields.WriteTo(output);
5739 }
5740
5741 private int memoizedSerializedSize = -1;
5742 public override int SerializedSize {
5743 get {
5744 int size = memoizedSerializedSize;
5745 if (size != -1) return size;
5746
5747 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05005748 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -05005749 size += pb::CodedOutputStream.ComputeFloatSize(1, Field1);
5750 }
csharptestc671a4b2011-06-08 11:51:24 -05005751 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -05005752 size += pb::CodedOutputStream.ComputeFloatSize(2, Field2);
5753 }
csharptestc671a4b2011-06-08 11:51:24 -05005754 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -05005755 size += pb::CodedOutputStream.ComputeFloatSize(3, Field3);
5756 }
csharptestc671a4b2011-06-08 11:51:24 -05005757 if (hasField4) {
csharptest27bfcc52011-06-02 12:04:06 -05005758 size += pb::CodedOutputStream.ComputeBoolSize(4, Field4);
5759 }
csharptestc671a4b2011-06-08 11:51:24 -05005760 if (hasField5) {
csharptest27bfcc52011-06-02 12:04:06 -05005761 size += pb::CodedOutputStream.ComputeBoolSize(5, Field5);
5762 }
csharptestc671a4b2011-06-08 11:51:24 -05005763 if (hasField6) {
csharptest27bfcc52011-06-02 12:04:06 -05005764 size += pb::CodedOutputStream.ComputeBoolSize(6, Field6);
5765 }
csharptestc671a4b2011-06-08 11:51:24 -05005766 if (hasField7) {
csharptest27bfcc52011-06-02 12:04:06 -05005767 size += pb::CodedOutputStream.ComputeBoolSize(7, Field7);
5768 }
csharptestc671a4b2011-06-08 11:51:24 -05005769 if (hasField8) {
csharptest27bfcc52011-06-02 12:04:06 -05005770 size += pb::CodedOutputStream.ComputeFloatSize(8, Field8);
5771 }
csharptestc671a4b2011-06-08 11:51:24 -05005772 if (hasField9) {
csharptest27bfcc52011-06-02 12:04:06 -05005773 size += pb::CodedOutputStream.ComputeBoolSize(9, Field9);
5774 }
csharptestc671a4b2011-06-08 11:51:24 -05005775 if (hasField10) {
csharptest27bfcc52011-06-02 12:04:06 -05005776 size += pb::CodedOutputStream.ComputeFloatSize(10, Field10);
5777 }
csharptestc671a4b2011-06-08 11:51:24 -05005778 if (hasField11) {
csharptest27bfcc52011-06-02 12:04:06 -05005779 size += pb::CodedOutputStream.ComputeInt64Size(11, Field11);
5780 }
5781 size += UnknownFields.SerializedSize;
5782 memoizedSerializedSize = size;
5783 return size;
5784 }
5785 }
5786
5787 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data) {
5788 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5789 }
5790 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
5791 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5792 }
5793 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data) {
5794 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5795 }
5796 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
5797 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5798 }
5799 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input) {
5800 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5801 }
5802 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5803 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5804 }
5805 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input) {
5806 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
5807 }
5808 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5809 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
5810 }
csharptest17699c22011-06-03 21:57:15 -05005811 public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05005812 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5813 }
csharptest17699c22011-06-03 21:57:15 -05005814 public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05005815 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5816 }
5817 public static Builder CreateBuilder() { return new Builder(); }
5818 public override Builder ToBuilder() { return CreateBuilder(this); }
5819 public override Builder CreateBuilderForType() { return new Builder(); }
5820 public static Builder CreateBuilder(SpeedMessage2GroupedMessage prototype) {
5821 return (Builder) new Builder().MergeFrom(prototype);
5822 }
5823
5824 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5825 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5826 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5827 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2GroupedMessage, Builder> {
5828 protected override Builder ThisBuilder {
5829 get { return this; }
5830 }
5831 public Builder() {}
5832
5833 SpeedMessage2GroupedMessage result = new SpeedMessage2GroupedMessage();
5834
5835 protected override SpeedMessage2GroupedMessage MessageBeingBuilt {
5836 get { return result; }
5837 }
5838
5839 public override Builder Clear() {
5840 result = new SpeedMessage2GroupedMessage();
5841 return this;
5842 }
5843
5844 public override Builder Clone() {
5845 return new Builder().MergeFrom(result);
5846 }
5847
5848 public override pbd::MessageDescriptor DescriptorForType {
5849 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Descriptor; }
5850 }
5851
5852 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5853 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance; }
5854 }
5855
5856 public override SpeedMessage2GroupedMessage BuildPartial() {
5857 if (result == null) {
5858 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
5859 }
5860 SpeedMessage2GroupedMessage returnMe = result;
5861 result = null;
5862 return returnMe;
5863 }
5864
5865 public override Builder MergeFrom(pb::IMessage other) {
5866 if (other is SpeedMessage2GroupedMessage) {
5867 return MergeFrom((SpeedMessage2GroupedMessage) other);
5868 } else {
5869 base.MergeFrom(other);
5870 return this;
5871 }
5872 }
5873
5874 public override Builder MergeFrom(SpeedMessage2GroupedMessage other) {
5875 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) return this;
5876 if (other.HasField1) {
5877 Field1 = other.Field1;
5878 }
5879 if (other.HasField2) {
5880 Field2 = other.Field2;
5881 }
5882 if (other.HasField3) {
5883 Field3 = other.Field3;
5884 }
5885 if (other.HasField4) {
5886 Field4 = other.Field4;
5887 }
5888 if (other.HasField5) {
5889 Field5 = other.Field5;
5890 }
5891 if (other.HasField6) {
5892 Field6 = other.Field6;
5893 }
5894 if (other.HasField7) {
5895 Field7 = other.Field7;
5896 }
5897 if (other.HasField8) {
5898 Field8 = other.Field8;
5899 }
5900 if (other.HasField9) {
5901 Field9 = other.Field9;
5902 }
5903 if (other.HasField10) {
5904 Field10 = other.Field10;
5905 }
5906 if (other.HasField11) {
5907 Field11 = other.Field11;
5908 }
5909 this.MergeUnknownFields(other.UnknownFields);
5910 return this;
5911 }
5912
csharptest17699c22011-06-03 21:57:15 -05005913 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05005914 return MergeFrom(input, pb::ExtensionRegistry.Empty);
5915 }
5916
csharptest17699c22011-06-03 21:57:15 -05005917 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05005918 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05005919 uint tag;
5920 string field_name;
5921 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05005922 if(tag == 0 && field_name != null) {
5923 int field_ordinal = global::System.Array.BinarySearch(_speedMessage2GroupedMessageFieldNames, field_name, global::System.StringComparer.Ordinal);
5924 if(field_ordinal >= 0)
5925 tag = _speedMessage2GroupedMessageFieldTags[field_ordinal];
5926 else {
5927 if (unknownFields == null) {
5928 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5929 }
5930 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
5931 continue;
5932 }
5933 }
csharptest27bfcc52011-06-02 12:04:06 -05005934 switch (tag) {
5935 case 0: {
csharptest99284412011-06-03 14:51:06 -05005936 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05005937 }
5938 default: {
5939 if (pb::WireFormat.IsEndGroupTag(tag)) {
5940 if (unknownFields != null) {
5941 this.UnknownFields = unknownFields.Build();
5942 }
5943 return this;
5944 }
5945 if (unknownFields == null) {
5946 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5947 }
csharptestd2af9e92011-06-03 21:35:02 -05005948 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05005949 break;
5950 }
5951 case 13: {
csharptest920b09a2011-06-08 20:13:29 -05005952 result.hasField1 = input.ReadFloat(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05005953 break;
5954 }
5955 case 21: {
csharptest920b09a2011-06-08 20:13:29 -05005956 result.hasField2 = input.ReadFloat(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05005957 break;
5958 }
5959 case 29: {
csharptest920b09a2011-06-08 20:13:29 -05005960 result.hasField3 = input.ReadFloat(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05005961 break;
5962 }
5963 case 32: {
csharptest920b09a2011-06-08 20:13:29 -05005964 result.hasField4 = input.ReadBool(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05005965 break;
5966 }
5967 case 40: {
csharptest920b09a2011-06-08 20:13:29 -05005968 result.hasField5 = input.ReadBool(ref result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05005969 break;
5970 }
5971 case 48: {
csharptest920b09a2011-06-08 20:13:29 -05005972 result.hasField6 = input.ReadBool(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05005973 break;
5974 }
5975 case 56: {
csharptest920b09a2011-06-08 20:13:29 -05005976 result.hasField7 = input.ReadBool(ref result.field7_);
csharptest27bfcc52011-06-02 12:04:06 -05005977 break;
5978 }
5979 case 69: {
csharptest920b09a2011-06-08 20:13:29 -05005980 result.hasField8 = input.ReadFloat(ref result.field8_);
csharptest27bfcc52011-06-02 12:04:06 -05005981 break;
5982 }
5983 case 72: {
csharptest920b09a2011-06-08 20:13:29 -05005984 result.hasField9 = input.ReadBool(ref result.field9_);
csharptest27bfcc52011-06-02 12:04:06 -05005985 break;
5986 }
5987 case 85: {
csharptest920b09a2011-06-08 20:13:29 -05005988 result.hasField10 = input.ReadFloat(ref result.field10_);
csharptest27bfcc52011-06-02 12:04:06 -05005989 break;
5990 }
5991 case 88: {
csharptest920b09a2011-06-08 20:13:29 -05005992 result.hasField11 = input.ReadInt64(ref result.field11_);
csharptest27bfcc52011-06-02 12:04:06 -05005993 break;
5994 }
5995 }
5996 }
csharptest123e5342011-06-03 14:15:21 -05005997
5998 if (unknownFields != null) {
5999 this.UnknownFields = unknownFields.Build();
6000 }
6001 return this;
csharptest27bfcc52011-06-02 12:04:06 -05006002 }
6003
6004
6005 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05006006 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05006007 }
6008 public float Field1 {
6009 get { return result.Field1; }
6010 set { SetField1(value); }
6011 }
6012 public Builder SetField1(float value) {
6013 result.hasField1 = true;
6014 result.field1_ = value;
6015 return this;
6016 }
6017 public Builder ClearField1() {
6018 result.hasField1 = false;
6019 result.field1_ = 0F;
6020 return this;
6021 }
6022
6023 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05006024 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05006025 }
6026 public float Field2 {
6027 get { return result.Field2; }
6028 set { SetField2(value); }
6029 }
6030 public Builder SetField2(float value) {
6031 result.hasField2 = true;
6032 result.field2_ = value;
6033 return this;
6034 }
6035 public Builder ClearField2() {
6036 result.hasField2 = false;
6037 result.field2_ = 0F;
6038 return this;
6039 }
6040
6041 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05006042 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05006043 }
6044 public float Field3 {
6045 get { return result.Field3; }
6046 set { SetField3(value); }
6047 }
6048 public Builder SetField3(float value) {
6049 result.hasField3 = true;
6050 result.field3_ = value;
6051 return this;
6052 }
6053 public Builder ClearField3() {
6054 result.hasField3 = false;
6055 result.field3_ = 0F;
6056 return this;
6057 }
6058
6059 public bool HasField4 {
csharptestc671a4b2011-06-08 11:51:24 -05006060 get { return result.hasField4; }
csharptest27bfcc52011-06-02 12:04:06 -05006061 }
6062 public bool Field4 {
6063 get { return result.Field4; }
6064 set { SetField4(value); }
6065 }
6066 public Builder SetField4(bool value) {
6067 result.hasField4 = true;
6068 result.field4_ = value;
6069 return this;
6070 }
6071 public Builder ClearField4() {
6072 result.hasField4 = false;
6073 result.field4_ = false;
6074 return this;
6075 }
6076
6077 public bool HasField5 {
csharptestc671a4b2011-06-08 11:51:24 -05006078 get { return result.hasField5; }
csharptest27bfcc52011-06-02 12:04:06 -05006079 }
6080 public bool Field5 {
6081 get { return result.Field5; }
6082 set { SetField5(value); }
6083 }
6084 public Builder SetField5(bool value) {
6085 result.hasField5 = true;
6086 result.field5_ = value;
6087 return this;
6088 }
6089 public Builder ClearField5() {
6090 result.hasField5 = false;
6091 result.field5_ = false;
6092 return this;
6093 }
6094
6095 public bool HasField6 {
csharptestc671a4b2011-06-08 11:51:24 -05006096 get { return result.hasField6; }
csharptest27bfcc52011-06-02 12:04:06 -05006097 }
6098 public bool Field6 {
6099 get { return result.Field6; }
6100 set { SetField6(value); }
6101 }
6102 public Builder SetField6(bool value) {
6103 result.hasField6 = true;
6104 result.field6_ = value;
6105 return this;
6106 }
6107 public Builder ClearField6() {
6108 result.hasField6 = false;
6109 result.field6_ = true;
6110 return this;
6111 }
6112
6113 public bool HasField7 {
csharptestc671a4b2011-06-08 11:51:24 -05006114 get { return result.hasField7; }
csharptest27bfcc52011-06-02 12:04:06 -05006115 }
6116 public bool Field7 {
6117 get { return result.Field7; }
6118 set { SetField7(value); }
6119 }
6120 public Builder SetField7(bool value) {
6121 result.hasField7 = true;
6122 result.field7_ = value;
6123 return this;
6124 }
6125 public Builder ClearField7() {
6126 result.hasField7 = false;
6127 result.field7_ = false;
6128 return this;
6129 }
6130
6131 public bool HasField8 {
csharptestc671a4b2011-06-08 11:51:24 -05006132 get { return result.hasField8; }
csharptest27bfcc52011-06-02 12:04:06 -05006133 }
6134 public float Field8 {
6135 get { return result.Field8; }
6136 set { SetField8(value); }
6137 }
6138 public Builder SetField8(float value) {
6139 result.hasField8 = true;
6140 result.field8_ = value;
6141 return this;
6142 }
6143 public Builder ClearField8() {
6144 result.hasField8 = false;
6145 result.field8_ = 0F;
6146 return this;
6147 }
6148
6149 public bool HasField9 {
csharptestc671a4b2011-06-08 11:51:24 -05006150 get { return result.hasField9; }
csharptest27bfcc52011-06-02 12:04:06 -05006151 }
6152 public bool Field9 {
6153 get { return result.Field9; }
6154 set { SetField9(value); }
6155 }
6156 public Builder SetField9(bool value) {
6157 result.hasField9 = true;
6158 result.field9_ = value;
6159 return this;
6160 }
6161 public Builder ClearField9() {
6162 result.hasField9 = false;
6163 result.field9_ = false;
6164 return this;
6165 }
6166
6167 public bool HasField10 {
csharptestc671a4b2011-06-08 11:51:24 -05006168 get { return result.hasField10; }
csharptest27bfcc52011-06-02 12:04:06 -05006169 }
6170 public float Field10 {
6171 get { return result.Field10; }
6172 set { SetField10(value); }
6173 }
6174 public Builder SetField10(float value) {
6175 result.hasField10 = true;
6176 result.field10_ = value;
6177 return this;
6178 }
6179 public Builder ClearField10() {
6180 result.hasField10 = false;
6181 result.field10_ = 0F;
6182 return this;
6183 }
6184
6185 public bool HasField11 {
csharptestc671a4b2011-06-08 11:51:24 -05006186 get { return result.hasField11; }
csharptest27bfcc52011-06-02 12:04:06 -05006187 }
6188 public long Field11 {
6189 get { return result.Field11; }
6190 set { SetField11(value); }
6191 }
6192 public Builder SetField11(long value) {
6193 result.hasField11 = true;
6194 result.field11_ = value;
6195 return this;
6196 }
6197 public Builder ClearField11() {
6198 result.hasField11 = false;
6199 result.field11_ = 0L;
6200 return this;
6201 }
6202 }
6203 static SpeedMessage2GroupedMessage() {
6204 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
6205 }
6206 }
6207
6208 #endregion
6209
6210}
csharptest2d887332011-08-12 20:13:44 -05006211
6212#endregion Designer generated code