blob: 93589ecfeeeb4e48ab708bc792ae752e35df5657 [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!
csharptest4a594ca2011-09-09 15:53:10 -05002#pragma warning disable 1591, 0612
csharptest2d887332011-08-12 20:13:44 -05003#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> {
csharptest17fb8f22011-09-23 11:36:39 -0500140 private SpeedMessage1() { }
csharptest27bfcc52011-06-02 12:04:06 -0500141 private static readonly SpeedMessage1 defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -0500142 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" };
143 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 -0500144 public static SpeedMessage1 DefaultInstance {
145 get { return defaultInstance; }
146 }
147
148 public override SpeedMessage1 DefaultInstanceForType {
149 get { return defaultInstance; }
150 }
151
152 protected override SpeedMessage1 ThisMessage {
153 get { return this; }
154 }
155
156 public static pbd::MessageDescriptor Descriptor {
157 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__Descriptor; }
158 }
159
160 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1, SpeedMessage1.Builder> InternalFieldAccessors {
161 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__FieldAccessorTable; }
162 }
163
164 public const int Field1FieldNumber = 1;
165 private bool hasField1;
166 private string field1_ = "";
167 public bool HasField1 {
168 get { return hasField1; }
169 }
170 public string Field1 {
171 get { return field1_; }
172 }
173
174 public const int Field9FieldNumber = 9;
175 private bool hasField9;
176 private string field9_ = "";
177 public bool HasField9 {
178 get { return hasField9; }
179 }
180 public string Field9 {
181 get { return field9_; }
182 }
183
184 public const int Field18FieldNumber = 18;
185 private bool hasField18;
186 private string field18_ = "";
187 public bool HasField18 {
188 get { return hasField18; }
189 }
190 public string Field18 {
191 get { return field18_; }
192 }
193
194 public const int Field80FieldNumber = 80;
195 private bool hasField80;
csharptestced18e12011-06-09 19:47:56 -0500196 private bool field80_;
csharptest27bfcc52011-06-02 12:04:06 -0500197 public bool HasField80 {
198 get { return hasField80; }
199 }
200 public bool Field80 {
201 get { return field80_; }
202 }
203
204 public const int Field81FieldNumber = 81;
205 private bool hasField81;
206 private bool field81_ = true;
207 public bool HasField81 {
208 get { return hasField81; }
209 }
210 public bool Field81 {
211 get { return field81_; }
212 }
213
214 public const int Field2FieldNumber = 2;
215 private bool hasField2;
csharptestced18e12011-06-09 19:47:56 -0500216 private int field2_;
csharptest27bfcc52011-06-02 12:04:06 -0500217 public bool HasField2 {
218 get { return hasField2; }
219 }
220 public int Field2 {
221 get { return field2_; }
222 }
223
224 public const int Field3FieldNumber = 3;
225 private bool hasField3;
csharptestced18e12011-06-09 19:47:56 -0500226 private int field3_;
csharptest27bfcc52011-06-02 12:04:06 -0500227 public bool HasField3 {
228 get { return hasField3; }
229 }
230 public int Field3 {
231 get { return field3_; }
232 }
233
234 public const int Field280FieldNumber = 280;
235 private bool hasField280;
csharptestced18e12011-06-09 19:47:56 -0500236 private int field280_;
csharptest27bfcc52011-06-02 12:04:06 -0500237 public bool HasField280 {
238 get { return hasField280; }
239 }
240 public int Field280 {
241 get { return field280_; }
242 }
243
244 public const int Field6FieldNumber = 6;
245 private bool hasField6;
csharptestced18e12011-06-09 19:47:56 -0500246 private int field6_;
csharptest27bfcc52011-06-02 12:04:06 -0500247 public bool HasField6 {
248 get { return hasField6; }
249 }
250 public int Field6 {
251 get { return field6_; }
252 }
253
254 public const int Field22FieldNumber = 22;
255 private bool hasField22;
csharptestced18e12011-06-09 19:47:56 -0500256 private long field22_;
csharptest27bfcc52011-06-02 12:04:06 -0500257 public bool HasField22 {
258 get { return hasField22; }
259 }
260 public long Field22 {
261 get { return field22_; }
262 }
263
264 public const int Field4FieldNumber = 4;
265 private bool hasField4;
266 private string field4_ = "";
267 public bool HasField4 {
268 get { return hasField4; }
269 }
270 public string Field4 {
271 get { return field4_; }
272 }
273
274 public const int Field5FieldNumber = 5;
275 private pbc::PopsicleList<ulong> field5_ = new pbc::PopsicleList<ulong>();
276 [global::System.CLSCompliant(false)]
277 public scg::IList<ulong> Field5List {
278 get { return pbc::Lists.AsReadOnly(field5_); }
279 }
280 public int Field5Count {
281 get { return field5_.Count; }
282 }
283 [global::System.CLSCompliant(false)]
284 public ulong GetField5(int index) {
285 return field5_[index];
286 }
287
288 public const int Field59FieldNumber = 59;
289 private bool hasField59;
csharptestced18e12011-06-09 19:47:56 -0500290 private bool field59_;
csharptest27bfcc52011-06-02 12:04:06 -0500291 public bool HasField59 {
292 get { return hasField59; }
293 }
294 public bool Field59 {
295 get { return field59_; }
296 }
297
298 public const int Field7FieldNumber = 7;
299 private bool hasField7;
300 private string field7_ = "";
301 public bool HasField7 {
302 get { return hasField7; }
303 }
304 public string Field7 {
305 get { return field7_; }
306 }
307
308 public const int Field16FieldNumber = 16;
309 private bool hasField16;
csharptestced18e12011-06-09 19:47:56 -0500310 private int field16_;
csharptest27bfcc52011-06-02 12:04:06 -0500311 public bool HasField16 {
312 get { return hasField16; }
313 }
314 public int Field16 {
315 get { return field16_; }
316 }
317
318 public const int Field130FieldNumber = 130;
319 private bool hasField130;
csharptestced18e12011-06-09 19:47:56 -0500320 private int field130_;
csharptest27bfcc52011-06-02 12:04:06 -0500321 public bool HasField130 {
322 get { return hasField130; }
323 }
324 public int Field130 {
325 get { return field130_; }
326 }
327
328 public const int Field12FieldNumber = 12;
329 private bool hasField12;
330 private bool field12_ = true;
331 public bool HasField12 {
332 get { return hasField12; }
333 }
334 public bool Field12 {
335 get { return field12_; }
336 }
337
338 public const int Field17FieldNumber = 17;
339 private bool hasField17;
340 private bool field17_ = true;
341 public bool HasField17 {
342 get { return hasField17; }
343 }
344 public bool Field17 {
345 get { return field17_; }
346 }
347
348 public const int Field13FieldNumber = 13;
349 private bool hasField13;
350 private bool field13_ = true;
351 public bool HasField13 {
352 get { return hasField13; }
353 }
354 public bool Field13 {
355 get { return field13_; }
356 }
357
358 public const int Field14FieldNumber = 14;
359 private bool hasField14;
360 private bool field14_ = true;
361 public bool HasField14 {
362 get { return hasField14; }
363 }
364 public bool Field14 {
365 get { return field14_; }
366 }
367
368 public const int Field104FieldNumber = 104;
369 private bool hasField104;
csharptestced18e12011-06-09 19:47:56 -0500370 private int field104_;
csharptest27bfcc52011-06-02 12:04:06 -0500371 public bool HasField104 {
372 get { return hasField104; }
373 }
374 public int Field104 {
375 get { return field104_; }
376 }
377
378 public const int Field100FieldNumber = 100;
379 private bool hasField100;
csharptestced18e12011-06-09 19:47:56 -0500380 private int field100_;
csharptest27bfcc52011-06-02 12:04:06 -0500381 public bool HasField100 {
382 get { return hasField100; }
383 }
384 public int Field100 {
385 get { return field100_; }
386 }
387
388 public const int Field101FieldNumber = 101;
389 private bool hasField101;
csharptestced18e12011-06-09 19:47:56 -0500390 private int field101_;
csharptest27bfcc52011-06-02 12:04:06 -0500391 public bool HasField101 {
392 get { return hasField101; }
393 }
394 public int Field101 {
395 get { return field101_; }
396 }
397
398 public const int Field102FieldNumber = 102;
399 private bool hasField102;
400 private string field102_ = "";
401 public bool HasField102 {
402 get { return hasField102; }
403 }
404 public string Field102 {
405 get { return field102_; }
406 }
407
408 public const int Field103FieldNumber = 103;
409 private bool hasField103;
410 private string field103_ = "";
411 public bool HasField103 {
412 get { return hasField103; }
413 }
414 public string Field103 {
415 get { return field103_; }
416 }
417
418 public const int Field29FieldNumber = 29;
419 private bool hasField29;
csharptestced18e12011-06-09 19:47:56 -0500420 private int field29_;
csharptest27bfcc52011-06-02 12:04:06 -0500421 public bool HasField29 {
422 get { return hasField29; }
423 }
424 public int Field29 {
425 get { return field29_; }
426 }
427
428 public const int Field30FieldNumber = 30;
429 private bool hasField30;
csharptestced18e12011-06-09 19:47:56 -0500430 private bool field30_;
csharptest27bfcc52011-06-02 12:04:06 -0500431 public bool HasField30 {
432 get { return hasField30; }
433 }
434 public bool Field30 {
435 get { return field30_; }
436 }
437
438 public const int Field60FieldNumber = 60;
439 private bool hasField60;
440 private int field60_ = -1;
441 public bool HasField60 {
442 get { return hasField60; }
443 }
444 public int Field60 {
445 get { return field60_; }
446 }
447
448 public const int Field271FieldNumber = 271;
449 private bool hasField271;
450 private int field271_ = -1;
451 public bool HasField271 {
452 get { return hasField271; }
453 }
454 public int Field271 {
455 get { return field271_; }
456 }
457
458 public const int Field272FieldNumber = 272;
459 private bool hasField272;
460 private int field272_ = -1;
461 public bool HasField272 {
462 get { return hasField272; }
463 }
464 public int Field272 {
465 get { return field272_; }
466 }
467
468 public const int Field150FieldNumber = 150;
469 private bool hasField150;
csharptestced18e12011-06-09 19:47:56 -0500470 private int field150_;
csharptest27bfcc52011-06-02 12:04:06 -0500471 public bool HasField150 {
472 get { return hasField150; }
473 }
474 public int Field150 {
475 get { return field150_; }
476 }
477
478 public const int Field23FieldNumber = 23;
479 private bool hasField23;
csharptestced18e12011-06-09 19:47:56 -0500480 private int field23_;
csharptest27bfcc52011-06-02 12:04:06 -0500481 public bool HasField23 {
482 get { return hasField23; }
483 }
484 public int Field23 {
485 get { return field23_; }
486 }
487
488 public const int Field24FieldNumber = 24;
489 private bool hasField24;
csharptestced18e12011-06-09 19:47:56 -0500490 private bool field24_;
csharptest27bfcc52011-06-02 12:04:06 -0500491 public bool HasField24 {
492 get { return hasField24; }
493 }
494 public bool Field24 {
495 get { return field24_; }
496 }
497
498 public const int Field25FieldNumber = 25;
499 private bool hasField25;
csharptestced18e12011-06-09 19:47:56 -0500500 private int field25_;
csharptest27bfcc52011-06-02 12:04:06 -0500501 public bool HasField25 {
502 get { return hasField25; }
503 }
504 public int Field25 {
505 get { return field25_; }
506 }
507
508 public const int Field15FieldNumber = 15;
509 private bool hasField15;
510 private global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
511 public bool HasField15 {
512 get { return hasField15; }
513 }
514 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
515 get { return field15_; }
516 }
517
518 public const int Field78FieldNumber = 78;
519 private bool hasField78;
csharptestced18e12011-06-09 19:47:56 -0500520 private bool field78_;
csharptest27bfcc52011-06-02 12:04:06 -0500521 public bool HasField78 {
522 get { return hasField78; }
523 }
524 public bool Field78 {
525 get { return field78_; }
526 }
527
528 public const int Field67FieldNumber = 67;
529 private bool hasField67;
csharptestced18e12011-06-09 19:47:56 -0500530 private int field67_;
csharptest27bfcc52011-06-02 12:04:06 -0500531 public bool HasField67 {
532 get { return hasField67; }
533 }
534 public int Field67 {
535 get { return field67_; }
536 }
537
538 public const int Field68FieldNumber = 68;
539 private bool hasField68;
csharptestced18e12011-06-09 19:47:56 -0500540 private int field68_;
csharptest27bfcc52011-06-02 12:04:06 -0500541 public bool HasField68 {
542 get { return hasField68; }
543 }
544 public int Field68 {
545 get { return field68_; }
546 }
547
548 public const int Field128FieldNumber = 128;
549 private bool hasField128;
csharptestced18e12011-06-09 19:47:56 -0500550 private int field128_;
csharptest27bfcc52011-06-02 12:04:06 -0500551 public bool HasField128 {
552 get { return hasField128; }
553 }
554 public int Field128 {
555 get { return field128_; }
556 }
557
558 public const int Field129FieldNumber = 129;
559 private bool hasField129;
560 private string field129_ = "xxxxxxxxxxxxxxxxxxxxx";
561 public bool HasField129 {
562 get { return hasField129; }
563 }
564 public string Field129 {
565 get { return field129_; }
566 }
567
568 public const int Field131FieldNumber = 131;
569 private bool hasField131;
csharptestced18e12011-06-09 19:47:56 -0500570 private int field131_;
csharptest27bfcc52011-06-02 12:04:06 -0500571 public bool HasField131 {
572 get { return hasField131; }
573 }
574 public int Field131 {
575 get { return field131_; }
576 }
577
578 public override bool IsInitialized {
579 get {
580 if (!hasField1) return false;
581 if (!hasField2) return false;
582 if (!hasField3) return false;
583 return true;
584 }
585 }
586
csharptestffafdaa2011-06-03 12:58:14 -0500587 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -0500588 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -0500589 string[] field_names = _speedMessage1FieldNames;
csharptestc671a4b2011-06-08 11:51:24 -0500590 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -0500591 output.WriteString(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -0500592 }
csharptestc671a4b2011-06-08 11:51:24 -0500593 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -0500594 output.WriteInt32(2, field_names[18], Field2);
csharptest27bfcc52011-06-02 12:04:06 -0500595 }
csharptestc671a4b2011-06-08 11:51:24 -0500596 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -0500597 output.WriteInt32(3, field_names[27], Field3);
csharptest27bfcc52011-06-02 12:04:06 -0500598 }
csharptestc671a4b2011-06-08 11:51:24 -0500599 if (hasField4) {
csharptest920b09a2011-06-08 20:13:29 -0500600 output.WriteString(4, field_names[29], Field4);
csharptest27bfcc52011-06-02 12:04:06 -0500601 }
602 if (field5_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -0500603 output.WriteFixed64Array(5, field_names[30], field5_);
csharptest27bfcc52011-06-02 12:04:06 -0500604 }
csharptestc671a4b2011-06-08 11:51:24 -0500605 if (hasField6) {
csharptest920b09a2011-06-08 20:13:29 -0500606 output.WriteInt32(6, field_names[32], Field6);
csharptest27bfcc52011-06-02 12:04:06 -0500607 }
csharptestc671a4b2011-06-08 11:51:24 -0500608 if (hasField7) {
csharptest920b09a2011-06-08 20:13:29 -0500609 output.WriteString(7, field_names[36], Field7);
csharptest27bfcc52011-06-02 12:04:06 -0500610 }
csharptestc671a4b2011-06-08 11:51:24 -0500611 if (hasField9) {
csharptest920b09a2011-06-08 20:13:29 -0500612 output.WriteString(9, field_names[40], Field9);
csharptest27bfcc52011-06-02 12:04:06 -0500613 }
csharptestc671a4b2011-06-08 11:51:24 -0500614 if (hasField12) {
csharptest920b09a2011-06-08 20:13:29 -0500615 output.WriteBool(12, field_names[6], Field12);
csharptest27bfcc52011-06-02 12:04:06 -0500616 }
csharptestc671a4b2011-06-08 11:51:24 -0500617 if (hasField13) {
csharptest920b09a2011-06-08 20:13:29 -0500618 output.WriteBool(13, field_names[9], Field13);
csharptest27bfcc52011-06-02 12:04:06 -0500619 }
csharptestc671a4b2011-06-08 11:51:24 -0500620 if (hasField14) {
csharptest920b09a2011-06-08 20:13:29 -0500621 output.WriteBool(14, field_names[12], Field14);
csharptest27bfcc52011-06-02 12:04:06 -0500622 }
csharptestc671a4b2011-06-08 11:51:24 -0500623 if (hasField15) {
csharptest920b09a2011-06-08 20:13:29 -0500624 output.WriteMessage(15, field_names[13], Field15);
csharptest27bfcc52011-06-02 12:04:06 -0500625 }
csharptestc671a4b2011-06-08 11:51:24 -0500626 if (hasField16) {
csharptest920b09a2011-06-08 20:13:29 -0500627 output.WriteInt32(16, field_names[15], Field16);
csharptest27bfcc52011-06-02 12:04:06 -0500628 }
csharptestc671a4b2011-06-08 11:51:24 -0500629 if (hasField17) {
csharptest920b09a2011-06-08 20:13:29 -0500630 output.WriteBool(17, field_names[16], Field17);
csharptest27bfcc52011-06-02 12:04:06 -0500631 }
csharptestc671a4b2011-06-08 11:51:24 -0500632 if (hasField18) {
csharptest920b09a2011-06-08 20:13:29 -0500633 output.WriteString(18, field_names[17], Field18);
csharptest27bfcc52011-06-02 12:04:06 -0500634 }
csharptestc671a4b2011-06-08 11:51:24 -0500635 if (hasField22) {
csharptest920b09a2011-06-08 20:13:29 -0500636 output.WriteInt64(22, field_names[19], Field22);
csharptest27bfcc52011-06-02 12:04:06 -0500637 }
csharptestc671a4b2011-06-08 11:51:24 -0500638 if (hasField23) {
csharptest920b09a2011-06-08 20:13:29 -0500639 output.WriteInt32(23, field_names[20], Field23);
csharptest27bfcc52011-06-02 12:04:06 -0500640 }
csharptestc671a4b2011-06-08 11:51:24 -0500641 if (hasField24) {
csharptest920b09a2011-06-08 20:13:29 -0500642 output.WriteBool(24, field_names[21], Field24);
csharptest27bfcc52011-06-02 12:04:06 -0500643 }
csharptestc671a4b2011-06-08 11:51:24 -0500644 if (hasField25) {
csharptest920b09a2011-06-08 20:13:29 -0500645 output.WriteInt32(25, field_names[22], Field25);
csharptest27bfcc52011-06-02 12:04:06 -0500646 }
csharptestc671a4b2011-06-08 11:51:24 -0500647 if (hasField29) {
csharptest920b09a2011-06-08 20:13:29 -0500648 output.WriteInt32(29, field_names[26], Field29);
csharptest27bfcc52011-06-02 12:04:06 -0500649 }
csharptestc671a4b2011-06-08 11:51:24 -0500650 if (hasField30) {
csharptest920b09a2011-06-08 20:13:29 -0500651 output.WriteBool(30, field_names[28], Field30);
csharptest27bfcc52011-06-02 12:04:06 -0500652 }
csharptestc671a4b2011-06-08 11:51:24 -0500653 if (hasField59) {
csharptest920b09a2011-06-08 20:13:29 -0500654 output.WriteBool(59, field_names[31], Field59);
csharptest27bfcc52011-06-02 12:04:06 -0500655 }
csharptestc671a4b2011-06-08 11:51:24 -0500656 if (hasField60) {
csharptest920b09a2011-06-08 20:13:29 -0500657 output.WriteInt32(60, field_names[33], Field60);
csharptest27bfcc52011-06-02 12:04:06 -0500658 }
csharptestc671a4b2011-06-08 11:51:24 -0500659 if (hasField67) {
csharptest920b09a2011-06-08 20:13:29 -0500660 output.WriteInt32(67, field_names[34], Field67);
csharptest27bfcc52011-06-02 12:04:06 -0500661 }
csharptestc671a4b2011-06-08 11:51:24 -0500662 if (hasField68) {
csharptest920b09a2011-06-08 20:13:29 -0500663 output.WriteInt32(68, field_names[35], Field68);
csharptest27bfcc52011-06-02 12:04:06 -0500664 }
csharptestc671a4b2011-06-08 11:51:24 -0500665 if (hasField78) {
csharptest920b09a2011-06-08 20:13:29 -0500666 output.WriteBool(78, field_names[37], Field78);
csharptest27bfcc52011-06-02 12:04:06 -0500667 }
csharptestc671a4b2011-06-08 11:51:24 -0500668 if (hasField80) {
csharptest920b09a2011-06-08 20:13:29 -0500669 output.WriteBool(80, field_names[38], Field80);
csharptest27bfcc52011-06-02 12:04:06 -0500670 }
csharptestc671a4b2011-06-08 11:51:24 -0500671 if (hasField81) {
csharptest920b09a2011-06-08 20:13:29 -0500672 output.WriteBool(81, field_names[39], Field81);
csharptest27bfcc52011-06-02 12:04:06 -0500673 }
csharptestc671a4b2011-06-08 11:51:24 -0500674 if (hasField100) {
csharptest920b09a2011-06-08 20:13:29 -0500675 output.WriteInt32(100, field_names[1], Field100);
csharptest27bfcc52011-06-02 12:04:06 -0500676 }
csharptestc671a4b2011-06-08 11:51:24 -0500677 if (hasField101) {
csharptest920b09a2011-06-08 20:13:29 -0500678 output.WriteInt32(101, field_names[2], Field101);
csharptest27bfcc52011-06-02 12:04:06 -0500679 }
csharptestc671a4b2011-06-08 11:51:24 -0500680 if (hasField102) {
csharptest920b09a2011-06-08 20:13:29 -0500681 output.WriteString(102, field_names[3], Field102);
csharptest27bfcc52011-06-02 12:04:06 -0500682 }
csharptestc671a4b2011-06-08 11:51:24 -0500683 if (hasField103) {
csharptest920b09a2011-06-08 20:13:29 -0500684 output.WriteString(103, field_names[4], Field103);
csharptest27bfcc52011-06-02 12:04:06 -0500685 }
csharptestc671a4b2011-06-08 11:51:24 -0500686 if (hasField104) {
csharptest920b09a2011-06-08 20:13:29 -0500687 output.WriteInt32(104, field_names[5], Field104);
csharptest27bfcc52011-06-02 12:04:06 -0500688 }
csharptestc671a4b2011-06-08 11:51:24 -0500689 if (hasField128) {
csharptest920b09a2011-06-08 20:13:29 -0500690 output.WriteInt32(128, field_names[7], Field128);
csharptest27bfcc52011-06-02 12:04:06 -0500691 }
csharptestc671a4b2011-06-08 11:51:24 -0500692 if (hasField129) {
csharptest920b09a2011-06-08 20:13:29 -0500693 output.WriteString(129, field_names[8], Field129);
csharptest27bfcc52011-06-02 12:04:06 -0500694 }
csharptestc671a4b2011-06-08 11:51:24 -0500695 if (hasField130) {
csharptest920b09a2011-06-08 20:13:29 -0500696 output.WriteInt32(130, field_names[10], Field130);
csharptest27bfcc52011-06-02 12:04:06 -0500697 }
csharptestc671a4b2011-06-08 11:51:24 -0500698 if (hasField131) {
csharptest920b09a2011-06-08 20:13:29 -0500699 output.WriteInt32(131, field_names[11], Field131);
csharptest27bfcc52011-06-02 12:04:06 -0500700 }
csharptestc671a4b2011-06-08 11:51:24 -0500701 if (hasField150) {
csharptest920b09a2011-06-08 20:13:29 -0500702 output.WriteInt32(150, field_names[14], Field150);
csharptest27bfcc52011-06-02 12:04:06 -0500703 }
csharptestc671a4b2011-06-08 11:51:24 -0500704 if (hasField271) {
csharptest920b09a2011-06-08 20:13:29 -0500705 output.WriteInt32(271, field_names[23], Field271);
csharptest27bfcc52011-06-02 12:04:06 -0500706 }
csharptestc671a4b2011-06-08 11:51:24 -0500707 if (hasField272) {
csharptest920b09a2011-06-08 20:13:29 -0500708 output.WriteInt32(272, field_names[24], Field272);
csharptest27bfcc52011-06-02 12:04:06 -0500709 }
csharptestc671a4b2011-06-08 11:51:24 -0500710 if (hasField280) {
csharptest920b09a2011-06-08 20:13:29 -0500711 output.WriteInt32(280, field_names[25], Field280);
csharptest27bfcc52011-06-02 12:04:06 -0500712 }
713 UnknownFields.WriteTo(output);
714 }
715
716 private int memoizedSerializedSize = -1;
717 public override int SerializedSize {
718 get {
719 int size = memoizedSerializedSize;
720 if (size != -1) return size;
721
722 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -0500723 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -0500724 size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
725 }
csharptestc671a4b2011-06-08 11:51:24 -0500726 if (hasField9) {
csharptest27bfcc52011-06-02 12:04:06 -0500727 size += pb::CodedOutputStream.ComputeStringSize(9, Field9);
728 }
csharptestc671a4b2011-06-08 11:51:24 -0500729 if (hasField18) {
csharptest27bfcc52011-06-02 12:04:06 -0500730 size += pb::CodedOutputStream.ComputeStringSize(18, Field18);
731 }
csharptestc671a4b2011-06-08 11:51:24 -0500732 if (hasField80) {
csharptest27bfcc52011-06-02 12:04:06 -0500733 size += pb::CodedOutputStream.ComputeBoolSize(80, Field80);
734 }
csharptestc671a4b2011-06-08 11:51:24 -0500735 if (hasField81) {
csharptest27bfcc52011-06-02 12:04:06 -0500736 size += pb::CodedOutputStream.ComputeBoolSize(81, Field81);
737 }
csharptestc671a4b2011-06-08 11:51:24 -0500738 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -0500739 size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
740 }
csharptestc671a4b2011-06-08 11:51:24 -0500741 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -0500742 size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
743 }
csharptestc671a4b2011-06-08 11:51:24 -0500744 if (hasField280) {
csharptest27bfcc52011-06-02 12:04:06 -0500745 size += pb::CodedOutputStream.ComputeInt32Size(280, Field280);
746 }
csharptestc671a4b2011-06-08 11:51:24 -0500747 if (hasField6) {
csharptest27bfcc52011-06-02 12:04:06 -0500748 size += pb::CodedOutputStream.ComputeInt32Size(6, Field6);
749 }
csharptestc671a4b2011-06-08 11:51:24 -0500750 if (hasField22) {
csharptest27bfcc52011-06-02 12:04:06 -0500751 size += pb::CodedOutputStream.ComputeInt64Size(22, Field22);
752 }
csharptestc671a4b2011-06-08 11:51:24 -0500753 if (hasField4) {
csharptest27bfcc52011-06-02 12:04:06 -0500754 size += pb::CodedOutputStream.ComputeStringSize(4, Field4);
755 }
756 {
757 int dataSize = 0;
758 dataSize = 8 * field5_.Count;
759 size += dataSize;
760 size += 1 * field5_.Count;
761 }
csharptestc671a4b2011-06-08 11:51:24 -0500762 if (hasField59) {
csharptest27bfcc52011-06-02 12:04:06 -0500763 size += pb::CodedOutputStream.ComputeBoolSize(59, Field59);
764 }
csharptestc671a4b2011-06-08 11:51:24 -0500765 if (hasField7) {
csharptest27bfcc52011-06-02 12:04:06 -0500766 size += pb::CodedOutputStream.ComputeStringSize(7, Field7);
767 }
csharptestc671a4b2011-06-08 11:51:24 -0500768 if (hasField16) {
csharptest27bfcc52011-06-02 12:04:06 -0500769 size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
770 }
csharptestc671a4b2011-06-08 11:51:24 -0500771 if (hasField130) {
csharptest27bfcc52011-06-02 12:04:06 -0500772 size += pb::CodedOutputStream.ComputeInt32Size(130, Field130);
773 }
csharptestc671a4b2011-06-08 11:51:24 -0500774 if (hasField12) {
csharptest27bfcc52011-06-02 12:04:06 -0500775 size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
776 }
csharptestc671a4b2011-06-08 11:51:24 -0500777 if (hasField17) {
csharptest27bfcc52011-06-02 12:04:06 -0500778 size += pb::CodedOutputStream.ComputeBoolSize(17, Field17);
779 }
csharptestc671a4b2011-06-08 11:51:24 -0500780 if (hasField13) {
csharptest27bfcc52011-06-02 12:04:06 -0500781 size += pb::CodedOutputStream.ComputeBoolSize(13, Field13);
782 }
csharptestc671a4b2011-06-08 11:51:24 -0500783 if (hasField14) {
csharptest27bfcc52011-06-02 12:04:06 -0500784 size += pb::CodedOutputStream.ComputeBoolSize(14, Field14);
785 }
csharptestc671a4b2011-06-08 11:51:24 -0500786 if (hasField104) {
csharptest27bfcc52011-06-02 12:04:06 -0500787 size += pb::CodedOutputStream.ComputeInt32Size(104, Field104);
788 }
csharptestc671a4b2011-06-08 11:51:24 -0500789 if (hasField100) {
csharptest27bfcc52011-06-02 12:04:06 -0500790 size += pb::CodedOutputStream.ComputeInt32Size(100, Field100);
791 }
csharptestc671a4b2011-06-08 11:51:24 -0500792 if (hasField101) {
csharptest27bfcc52011-06-02 12:04:06 -0500793 size += pb::CodedOutputStream.ComputeInt32Size(101, Field101);
794 }
csharptestc671a4b2011-06-08 11:51:24 -0500795 if (hasField102) {
csharptest27bfcc52011-06-02 12:04:06 -0500796 size += pb::CodedOutputStream.ComputeStringSize(102, Field102);
797 }
csharptestc671a4b2011-06-08 11:51:24 -0500798 if (hasField103) {
csharptest27bfcc52011-06-02 12:04:06 -0500799 size += pb::CodedOutputStream.ComputeStringSize(103, Field103);
800 }
csharptestc671a4b2011-06-08 11:51:24 -0500801 if (hasField29) {
csharptest27bfcc52011-06-02 12:04:06 -0500802 size += pb::CodedOutputStream.ComputeInt32Size(29, Field29);
803 }
csharptestc671a4b2011-06-08 11:51:24 -0500804 if (hasField30) {
csharptest27bfcc52011-06-02 12:04:06 -0500805 size += pb::CodedOutputStream.ComputeBoolSize(30, Field30);
806 }
csharptestc671a4b2011-06-08 11:51:24 -0500807 if (hasField60) {
csharptest27bfcc52011-06-02 12:04:06 -0500808 size += pb::CodedOutputStream.ComputeInt32Size(60, Field60);
809 }
csharptestc671a4b2011-06-08 11:51:24 -0500810 if (hasField271) {
csharptest27bfcc52011-06-02 12:04:06 -0500811 size += pb::CodedOutputStream.ComputeInt32Size(271, Field271);
812 }
csharptestc671a4b2011-06-08 11:51:24 -0500813 if (hasField272) {
csharptest27bfcc52011-06-02 12:04:06 -0500814 size += pb::CodedOutputStream.ComputeInt32Size(272, Field272);
815 }
csharptestc671a4b2011-06-08 11:51:24 -0500816 if (hasField150) {
csharptest27bfcc52011-06-02 12:04:06 -0500817 size += pb::CodedOutputStream.ComputeInt32Size(150, Field150);
818 }
csharptestc671a4b2011-06-08 11:51:24 -0500819 if (hasField23) {
csharptest27bfcc52011-06-02 12:04:06 -0500820 size += pb::CodedOutputStream.ComputeInt32Size(23, Field23);
821 }
csharptestc671a4b2011-06-08 11:51:24 -0500822 if (hasField24) {
csharptest27bfcc52011-06-02 12:04:06 -0500823 size += pb::CodedOutputStream.ComputeBoolSize(24, Field24);
824 }
csharptestc671a4b2011-06-08 11:51:24 -0500825 if (hasField25) {
csharptest27bfcc52011-06-02 12:04:06 -0500826 size += pb::CodedOutputStream.ComputeInt32Size(25, Field25);
827 }
csharptestc671a4b2011-06-08 11:51:24 -0500828 if (hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -0500829 size += pb::CodedOutputStream.ComputeMessageSize(15, Field15);
830 }
csharptestc671a4b2011-06-08 11:51:24 -0500831 if (hasField78) {
csharptest27bfcc52011-06-02 12:04:06 -0500832 size += pb::CodedOutputStream.ComputeBoolSize(78, Field78);
833 }
csharptestc671a4b2011-06-08 11:51:24 -0500834 if (hasField67) {
csharptest27bfcc52011-06-02 12:04:06 -0500835 size += pb::CodedOutputStream.ComputeInt32Size(67, Field67);
836 }
csharptestc671a4b2011-06-08 11:51:24 -0500837 if (hasField68) {
csharptest27bfcc52011-06-02 12:04:06 -0500838 size += pb::CodedOutputStream.ComputeInt32Size(68, Field68);
839 }
csharptestc671a4b2011-06-08 11:51:24 -0500840 if (hasField128) {
csharptest27bfcc52011-06-02 12:04:06 -0500841 size += pb::CodedOutputStream.ComputeInt32Size(128, Field128);
842 }
csharptestc671a4b2011-06-08 11:51:24 -0500843 if (hasField129) {
csharptest27bfcc52011-06-02 12:04:06 -0500844 size += pb::CodedOutputStream.ComputeStringSize(129, Field129);
845 }
csharptestc671a4b2011-06-08 11:51:24 -0500846 if (hasField131) {
csharptest27bfcc52011-06-02 12:04:06 -0500847 size += pb::CodedOutputStream.ComputeInt32Size(131, Field131);
848 }
849 size += UnknownFields.SerializedSize;
850 memoizedSerializedSize = size;
851 return size;
852 }
853 }
854
855 public static SpeedMessage1 ParseFrom(pb::ByteString data) {
856 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
857 }
858 public static SpeedMessage1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
859 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
860 }
861 public static SpeedMessage1 ParseFrom(byte[] data) {
862 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
863 }
864 public static SpeedMessage1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
865 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
866 }
867 public static SpeedMessage1 ParseFrom(global::System.IO.Stream input) {
868 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
869 }
870 public static SpeedMessage1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
871 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
872 }
873 public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input) {
874 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
875 }
876 public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
877 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
878 }
csharptest17699c22011-06-03 21:57:15 -0500879 public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -0500880 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
881 }
csharptest17699c22011-06-03 21:57:15 -0500882 public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -0500883 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
884 }
885 public static Builder CreateBuilder() { return new Builder(); }
886 public override Builder ToBuilder() { return CreateBuilder(this); }
887 public override Builder CreateBuilderForType() { return new Builder(); }
888 public static Builder CreateBuilder(SpeedMessage1 prototype) {
889 return (Builder) new Builder().MergeFrom(prototype);
890 }
891
892 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
893 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
894 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
895 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1, Builder> {
896 protected override Builder ThisBuilder {
897 get { return this; }
898 }
899 public Builder() {}
900
901 SpeedMessage1 result = new SpeedMessage1();
902
903 protected override SpeedMessage1 MessageBeingBuilt {
904 get { return result; }
905 }
906
907 public override Builder Clear() {
908 result = new SpeedMessage1();
909 return this;
910 }
911
912 public override Builder Clone() {
913 return new Builder().MergeFrom(result);
914 }
915
916 public override pbd::MessageDescriptor DescriptorForType {
917 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Descriptor; }
918 }
919
920 public override SpeedMessage1 DefaultInstanceForType {
921 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance; }
922 }
923
924 public override SpeedMessage1 BuildPartial() {
925 if (result == null) {
926 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
927 }
928 result.field5_.MakeReadOnly();
929 SpeedMessage1 returnMe = result;
930 result = null;
931 return returnMe;
932 }
933
934 public override Builder MergeFrom(pb::IMessage other) {
935 if (other is SpeedMessage1) {
936 return MergeFrom((SpeedMessage1) other);
937 } else {
938 base.MergeFrom(other);
939 return this;
940 }
941 }
942
943 public override Builder MergeFrom(SpeedMessage1 other) {
944 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance) return this;
945 if (other.HasField1) {
946 Field1 = other.Field1;
947 }
948 if (other.HasField9) {
949 Field9 = other.Field9;
950 }
951 if (other.HasField18) {
952 Field18 = other.Field18;
953 }
954 if (other.HasField80) {
955 Field80 = other.Field80;
956 }
957 if (other.HasField81) {
958 Field81 = other.Field81;
959 }
960 if (other.HasField2) {
961 Field2 = other.Field2;
962 }
963 if (other.HasField3) {
964 Field3 = other.Field3;
965 }
966 if (other.HasField280) {
967 Field280 = other.Field280;
968 }
969 if (other.HasField6) {
970 Field6 = other.Field6;
971 }
972 if (other.HasField22) {
973 Field22 = other.Field22;
974 }
975 if (other.HasField4) {
976 Field4 = other.Field4;
977 }
978 if (other.field5_.Count != 0) {
csharptest4ecebd82011-09-16 12:21:00 -0500979 result.field5_.Add(other.field5_);
csharptest27bfcc52011-06-02 12:04:06 -0500980 }
981 if (other.HasField59) {
982 Field59 = other.Field59;
983 }
984 if (other.HasField7) {
985 Field7 = other.Field7;
986 }
987 if (other.HasField16) {
988 Field16 = other.Field16;
989 }
990 if (other.HasField130) {
991 Field130 = other.Field130;
992 }
993 if (other.HasField12) {
994 Field12 = other.Field12;
995 }
996 if (other.HasField17) {
997 Field17 = other.Field17;
998 }
999 if (other.HasField13) {
1000 Field13 = other.Field13;
1001 }
1002 if (other.HasField14) {
1003 Field14 = other.Field14;
1004 }
1005 if (other.HasField104) {
1006 Field104 = other.Field104;
1007 }
1008 if (other.HasField100) {
1009 Field100 = other.Field100;
1010 }
1011 if (other.HasField101) {
1012 Field101 = other.Field101;
1013 }
1014 if (other.HasField102) {
1015 Field102 = other.Field102;
1016 }
1017 if (other.HasField103) {
1018 Field103 = other.Field103;
1019 }
1020 if (other.HasField29) {
1021 Field29 = other.Field29;
1022 }
1023 if (other.HasField30) {
1024 Field30 = other.Field30;
1025 }
1026 if (other.HasField60) {
1027 Field60 = other.Field60;
1028 }
1029 if (other.HasField271) {
1030 Field271 = other.Field271;
1031 }
1032 if (other.HasField272) {
1033 Field272 = other.Field272;
1034 }
1035 if (other.HasField150) {
1036 Field150 = other.Field150;
1037 }
1038 if (other.HasField23) {
1039 Field23 = other.Field23;
1040 }
1041 if (other.HasField24) {
1042 Field24 = other.Field24;
1043 }
1044 if (other.HasField25) {
1045 Field25 = other.Field25;
1046 }
1047 if (other.HasField15) {
1048 MergeField15(other.Field15);
1049 }
1050 if (other.HasField78) {
1051 Field78 = other.Field78;
1052 }
1053 if (other.HasField67) {
1054 Field67 = other.Field67;
1055 }
1056 if (other.HasField68) {
1057 Field68 = other.Field68;
1058 }
1059 if (other.HasField128) {
1060 Field128 = other.Field128;
1061 }
1062 if (other.HasField129) {
1063 Field129 = other.Field129;
1064 }
1065 if (other.HasField131) {
1066 Field131 = other.Field131;
1067 }
1068 this.MergeUnknownFields(other.UnknownFields);
1069 return this;
1070 }
1071
csharptest17699c22011-06-03 21:57:15 -05001072 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05001073 return MergeFrom(input, pb::ExtensionRegistry.Empty);
1074 }
1075
csharptest17699c22011-06-03 21:57:15 -05001076 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05001077 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05001078 uint tag;
1079 string field_name;
1080 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05001081 if(tag == 0 && field_name != null) {
1082 int field_ordinal = global::System.Array.BinarySearch(_speedMessage1FieldNames, field_name, global::System.StringComparer.Ordinal);
1083 if(field_ordinal >= 0)
1084 tag = _speedMessage1FieldTags[field_ordinal];
1085 else {
1086 if (unknownFields == null) {
1087 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
1088 }
1089 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
1090 continue;
1091 }
1092 }
csharptest27bfcc52011-06-02 12:04:06 -05001093 switch (tag) {
1094 case 0: {
csharptest99284412011-06-03 14:51:06 -05001095 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05001096 }
1097 default: {
1098 if (pb::WireFormat.IsEndGroupTag(tag)) {
1099 if (unknownFields != null) {
1100 this.UnknownFields = unknownFields.Build();
1101 }
1102 return this;
1103 }
1104 if (unknownFields == null) {
1105 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
1106 }
csharptestd2af9e92011-06-03 21:35:02 -05001107 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05001108 break;
1109 }
1110 case 10: {
csharptest920b09a2011-06-08 20:13:29 -05001111 result.hasField1 = input.ReadString(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05001112 break;
1113 }
1114 case 16: {
csharptest920b09a2011-06-08 20:13:29 -05001115 result.hasField2 = input.ReadInt32(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05001116 break;
1117 }
1118 case 24: {
csharptest920b09a2011-06-08 20:13:29 -05001119 result.hasField3 = input.ReadInt32(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05001120 break;
1121 }
1122 case 34: {
csharptest920b09a2011-06-08 20:13:29 -05001123 result.hasField4 = input.ReadString(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05001124 break;
1125 }
csharptest6da31702011-06-04 12:52:57 -05001126 case 42:
csharptest27bfcc52011-06-02 12:04:06 -05001127 case 41: {
csharptestb00ea132011-06-10 01:09:57 -05001128 input.ReadFixed64Array(tag, field_name, result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05001129 break;
1130 }
1131 case 48: {
csharptest920b09a2011-06-08 20:13:29 -05001132 result.hasField6 = input.ReadInt32(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05001133 break;
1134 }
1135 case 58: {
csharptest920b09a2011-06-08 20:13:29 -05001136 result.hasField7 = input.ReadString(ref result.field7_);
csharptest27bfcc52011-06-02 12:04:06 -05001137 break;
1138 }
1139 case 74: {
csharptest920b09a2011-06-08 20:13:29 -05001140 result.hasField9 = input.ReadString(ref result.field9_);
csharptest27bfcc52011-06-02 12:04:06 -05001141 break;
1142 }
1143 case 96: {
csharptest920b09a2011-06-08 20:13:29 -05001144 result.hasField12 = input.ReadBool(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05001145 break;
1146 }
1147 case 104: {
csharptest920b09a2011-06-08 20:13:29 -05001148 result.hasField13 = input.ReadBool(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05001149 break;
1150 }
1151 case 112: {
csharptest920b09a2011-06-08 20:13:29 -05001152 result.hasField14 = input.ReadBool(ref result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05001153 break;
1154 }
1155 case 122: {
1156 global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder();
csharptestc671a4b2011-06-08 11:51:24 -05001157 if (result.hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -05001158 subBuilder.MergeFrom(Field15);
1159 }
1160 input.ReadMessage(subBuilder, extensionRegistry);
1161 Field15 = subBuilder.BuildPartial();
1162 break;
1163 }
1164 case 128: {
csharptest920b09a2011-06-08 20:13:29 -05001165 result.hasField16 = input.ReadInt32(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05001166 break;
1167 }
1168 case 136: {
csharptest920b09a2011-06-08 20:13:29 -05001169 result.hasField17 = input.ReadBool(ref result.field17_);
csharptest27bfcc52011-06-02 12:04:06 -05001170 break;
1171 }
1172 case 146: {
csharptest920b09a2011-06-08 20:13:29 -05001173 result.hasField18 = input.ReadString(ref result.field18_);
csharptest27bfcc52011-06-02 12:04:06 -05001174 break;
1175 }
1176 case 176: {
csharptest920b09a2011-06-08 20:13:29 -05001177 result.hasField22 = input.ReadInt64(ref result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05001178 break;
1179 }
1180 case 184: {
csharptest920b09a2011-06-08 20:13:29 -05001181 result.hasField23 = input.ReadInt32(ref result.field23_);
csharptest27bfcc52011-06-02 12:04:06 -05001182 break;
1183 }
1184 case 192: {
csharptest920b09a2011-06-08 20:13:29 -05001185 result.hasField24 = input.ReadBool(ref result.field24_);
csharptest27bfcc52011-06-02 12:04:06 -05001186 break;
1187 }
1188 case 200: {
csharptest920b09a2011-06-08 20:13:29 -05001189 result.hasField25 = input.ReadInt32(ref result.field25_);
csharptest27bfcc52011-06-02 12:04:06 -05001190 break;
1191 }
1192 case 232: {
csharptest920b09a2011-06-08 20:13:29 -05001193 result.hasField29 = input.ReadInt32(ref result.field29_);
csharptest27bfcc52011-06-02 12:04:06 -05001194 break;
1195 }
1196 case 240: {
csharptest920b09a2011-06-08 20:13:29 -05001197 result.hasField30 = input.ReadBool(ref result.field30_);
csharptest27bfcc52011-06-02 12:04:06 -05001198 break;
1199 }
1200 case 472: {
csharptest920b09a2011-06-08 20:13:29 -05001201 result.hasField59 = input.ReadBool(ref result.field59_);
csharptest27bfcc52011-06-02 12:04:06 -05001202 break;
1203 }
1204 case 480: {
csharptest920b09a2011-06-08 20:13:29 -05001205 result.hasField60 = input.ReadInt32(ref result.field60_);
csharptest27bfcc52011-06-02 12:04:06 -05001206 break;
1207 }
1208 case 536: {
csharptest920b09a2011-06-08 20:13:29 -05001209 result.hasField67 = input.ReadInt32(ref result.field67_);
csharptest27bfcc52011-06-02 12:04:06 -05001210 break;
1211 }
1212 case 544: {
csharptest920b09a2011-06-08 20:13:29 -05001213 result.hasField68 = input.ReadInt32(ref result.field68_);
csharptest27bfcc52011-06-02 12:04:06 -05001214 break;
1215 }
1216 case 624: {
csharptest920b09a2011-06-08 20:13:29 -05001217 result.hasField78 = input.ReadBool(ref result.field78_);
csharptest27bfcc52011-06-02 12:04:06 -05001218 break;
1219 }
1220 case 640: {
csharptest920b09a2011-06-08 20:13:29 -05001221 result.hasField80 = input.ReadBool(ref result.field80_);
csharptest27bfcc52011-06-02 12:04:06 -05001222 break;
1223 }
1224 case 648: {
csharptest920b09a2011-06-08 20:13:29 -05001225 result.hasField81 = input.ReadBool(ref result.field81_);
csharptest27bfcc52011-06-02 12:04:06 -05001226 break;
1227 }
1228 case 800: {
csharptest920b09a2011-06-08 20:13:29 -05001229 result.hasField100 = input.ReadInt32(ref result.field100_);
csharptest27bfcc52011-06-02 12:04:06 -05001230 break;
1231 }
1232 case 808: {
csharptest920b09a2011-06-08 20:13:29 -05001233 result.hasField101 = input.ReadInt32(ref result.field101_);
csharptest27bfcc52011-06-02 12:04:06 -05001234 break;
1235 }
1236 case 818: {
csharptest920b09a2011-06-08 20:13:29 -05001237 result.hasField102 = input.ReadString(ref result.field102_);
csharptest27bfcc52011-06-02 12:04:06 -05001238 break;
1239 }
1240 case 826: {
csharptest920b09a2011-06-08 20:13:29 -05001241 result.hasField103 = input.ReadString(ref result.field103_);
csharptest27bfcc52011-06-02 12:04:06 -05001242 break;
1243 }
1244 case 832: {
csharptest920b09a2011-06-08 20:13:29 -05001245 result.hasField104 = input.ReadInt32(ref result.field104_);
csharptest27bfcc52011-06-02 12:04:06 -05001246 break;
1247 }
1248 case 1024: {
csharptest920b09a2011-06-08 20:13:29 -05001249 result.hasField128 = input.ReadInt32(ref result.field128_);
csharptest27bfcc52011-06-02 12:04:06 -05001250 break;
1251 }
1252 case 1034: {
csharptest920b09a2011-06-08 20:13:29 -05001253 result.hasField129 = input.ReadString(ref result.field129_);
csharptest27bfcc52011-06-02 12:04:06 -05001254 break;
1255 }
1256 case 1040: {
csharptest920b09a2011-06-08 20:13:29 -05001257 result.hasField130 = input.ReadInt32(ref result.field130_);
csharptest27bfcc52011-06-02 12:04:06 -05001258 break;
1259 }
1260 case 1048: {
csharptest920b09a2011-06-08 20:13:29 -05001261 result.hasField131 = input.ReadInt32(ref result.field131_);
csharptest27bfcc52011-06-02 12:04:06 -05001262 break;
1263 }
1264 case 1200: {
csharptest920b09a2011-06-08 20:13:29 -05001265 result.hasField150 = input.ReadInt32(ref result.field150_);
csharptest27bfcc52011-06-02 12:04:06 -05001266 break;
1267 }
1268 case 2168: {
csharptest920b09a2011-06-08 20:13:29 -05001269 result.hasField271 = input.ReadInt32(ref result.field271_);
csharptest27bfcc52011-06-02 12:04:06 -05001270 break;
1271 }
1272 case 2176: {
csharptest920b09a2011-06-08 20:13:29 -05001273 result.hasField272 = input.ReadInt32(ref result.field272_);
csharptest27bfcc52011-06-02 12:04:06 -05001274 break;
1275 }
1276 case 2240: {
csharptest920b09a2011-06-08 20:13:29 -05001277 result.hasField280 = input.ReadInt32(ref result.field280_);
csharptest27bfcc52011-06-02 12:04:06 -05001278 break;
1279 }
1280 }
1281 }
csharptest123e5342011-06-03 14:15:21 -05001282
1283 if (unknownFields != null) {
1284 this.UnknownFields = unknownFields.Build();
1285 }
1286 return this;
csharptest27bfcc52011-06-02 12:04:06 -05001287 }
1288
1289
1290 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05001291 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05001292 }
1293 public string Field1 {
1294 get { return result.Field1; }
1295 set { SetField1(value); }
1296 }
1297 public Builder SetField1(string value) {
1298 pb::ThrowHelper.ThrowIfNull(value, "value");
1299 result.hasField1 = true;
1300 result.field1_ = value;
1301 return this;
1302 }
1303 public Builder ClearField1() {
1304 result.hasField1 = false;
1305 result.field1_ = "";
1306 return this;
1307 }
1308
1309 public bool HasField9 {
csharptestc671a4b2011-06-08 11:51:24 -05001310 get { return result.hasField9; }
csharptest27bfcc52011-06-02 12:04:06 -05001311 }
1312 public string Field9 {
1313 get { return result.Field9; }
1314 set { SetField9(value); }
1315 }
1316 public Builder SetField9(string value) {
1317 pb::ThrowHelper.ThrowIfNull(value, "value");
1318 result.hasField9 = true;
1319 result.field9_ = value;
1320 return this;
1321 }
1322 public Builder ClearField9() {
1323 result.hasField9 = false;
1324 result.field9_ = "";
1325 return this;
1326 }
1327
1328 public bool HasField18 {
csharptestc671a4b2011-06-08 11:51:24 -05001329 get { return result.hasField18; }
csharptest27bfcc52011-06-02 12:04:06 -05001330 }
1331 public string Field18 {
1332 get { return result.Field18; }
1333 set { SetField18(value); }
1334 }
1335 public Builder SetField18(string value) {
1336 pb::ThrowHelper.ThrowIfNull(value, "value");
1337 result.hasField18 = true;
1338 result.field18_ = value;
1339 return this;
1340 }
1341 public Builder ClearField18() {
1342 result.hasField18 = false;
1343 result.field18_ = "";
1344 return this;
1345 }
1346
1347 public bool HasField80 {
csharptestc671a4b2011-06-08 11:51:24 -05001348 get { return result.hasField80; }
csharptest27bfcc52011-06-02 12:04:06 -05001349 }
1350 public bool Field80 {
1351 get { return result.Field80; }
1352 set { SetField80(value); }
1353 }
1354 public Builder SetField80(bool value) {
1355 result.hasField80 = true;
1356 result.field80_ = value;
1357 return this;
1358 }
1359 public Builder ClearField80() {
1360 result.hasField80 = false;
1361 result.field80_ = false;
1362 return this;
1363 }
1364
1365 public bool HasField81 {
csharptestc671a4b2011-06-08 11:51:24 -05001366 get { return result.hasField81; }
csharptest27bfcc52011-06-02 12:04:06 -05001367 }
1368 public bool Field81 {
1369 get { return result.Field81; }
1370 set { SetField81(value); }
1371 }
1372 public Builder SetField81(bool value) {
1373 result.hasField81 = true;
1374 result.field81_ = value;
1375 return this;
1376 }
1377 public Builder ClearField81() {
1378 result.hasField81 = false;
1379 result.field81_ = true;
1380 return this;
1381 }
1382
1383 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05001384 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05001385 }
1386 public int Field2 {
1387 get { return result.Field2; }
1388 set { SetField2(value); }
1389 }
1390 public Builder SetField2(int value) {
1391 result.hasField2 = true;
1392 result.field2_ = value;
1393 return this;
1394 }
1395 public Builder ClearField2() {
1396 result.hasField2 = false;
1397 result.field2_ = 0;
1398 return this;
1399 }
1400
1401 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05001402 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05001403 }
1404 public int Field3 {
1405 get { return result.Field3; }
1406 set { SetField3(value); }
1407 }
1408 public Builder SetField3(int value) {
1409 result.hasField3 = true;
1410 result.field3_ = value;
1411 return this;
1412 }
1413 public Builder ClearField3() {
1414 result.hasField3 = false;
1415 result.field3_ = 0;
1416 return this;
1417 }
1418
1419 public bool HasField280 {
csharptestc671a4b2011-06-08 11:51:24 -05001420 get { return result.hasField280; }
csharptest27bfcc52011-06-02 12:04:06 -05001421 }
1422 public int Field280 {
1423 get { return result.Field280; }
1424 set { SetField280(value); }
1425 }
1426 public Builder SetField280(int value) {
1427 result.hasField280 = true;
1428 result.field280_ = value;
1429 return this;
1430 }
1431 public Builder ClearField280() {
1432 result.hasField280 = false;
1433 result.field280_ = 0;
1434 return this;
1435 }
1436
1437 public bool HasField6 {
csharptestc671a4b2011-06-08 11:51:24 -05001438 get { return result.hasField6; }
csharptest27bfcc52011-06-02 12:04:06 -05001439 }
1440 public int Field6 {
1441 get { return result.Field6; }
1442 set { SetField6(value); }
1443 }
1444 public Builder SetField6(int value) {
1445 result.hasField6 = true;
1446 result.field6_ = value;
1447 return this;
1448 }
1449 public Builder ClearField6() {
1450 result.hasField6 = false;
1451 result.field6_ = 0;
1452 return this;
1453 }
1454
1455 public bool HasField22 {
csharptestc671a4b2011-06-08 11:51:24 -05001456 get { return result.hasField22; }
csharptest27bfcc52011-06-02 12:04:06 -05001457 }
1458 public long Field22 {
1459 get { return result.Field22; }
1460 set { SetField22(value); }
1461 }
1462 public Builder SetField22(long value) {
1463 result.hasField22 = true;
1464 result.field22_ = value;
1465 return this;
1466 }
1467 public Builder ClearField22() {
1468 result.hasField22 = false;
1469 result.field22_ = 0L;
1470 return this;
1471 }
1472
1473 public bool HasField4 {
csharptestc671a4b2011-06-08 11:51:24 -05001474 get { return result.hasField4; }
csharptest27bfcc52011-06-02 12:04:06 -05001475 }
1476 public string Field4 {
1477 get { return result.Field4; }
1478 set { SetField4(value); }
1479 }
1480 public Builder SetField4(string value) {
1481 pb::ThrowHelper.ThrowIfNull(value, "value");
1482 result.hasField4 = true;
1483 result.field4_ = value;
1484 return this;
1485 }
1486 public Builder ClearField4() {
1487 result.hasField4 = false;
1488 result.field4_ = "";
1489 return this;
1490 }
1491
1492 [global::System.CLSCompliant(false)]
1493 public pbc::IPopsicleList<ulong> Field5List {
1494 get { return result.field5_; }
1495 }
1496 public int Field5Count {
1497 get { return result.Field5Count; }
1498 }
1499 [global::System.CLSCompliant(false)]
1500 public ulong GetField5(int index) {
1501 return result.GetField5(index);
1502 }
1503 [global::System.CLSCompliant(false)]
1504 public Builder SetField5(int index, ulong value) {
1505 result.field5_[index] = value;
1506 return this;
1507 }
1508 [global::System.CLSCompliant(false)]
1509 public Builder AddField5(ulong value) {
1510 result.field5_.Add(value);
1511 return this;
1512 }
1513 [global::System.CLSCompliant(false)]
1514 public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
csharptest4ecebd82011-09-16 12:21:00 -05001515 result.field5_.Add(values);
csharptest27bfcc52011-06-02 12:04:06 -05001516 return this;
1517 }
1518 public Builder ClearField5() {
1519 result.field5_.Clear();
1520 return this;
1521 }
1522
1523 public bool HasField59 {
csharptestc671a4b2011-06-08 11:51:24 -05001524 get { return result.hasField59; }
csharptest27bfcc52011-06-02 12:04:06 -05001525 }
1526 public bool Field59 {
1527 get { return result.Field59; }
1528 set { SetField59(value); }
1529 }
1530 public Builder SetField59(bool value) {
1531 result.hasField59 = true;
1532 result.field59_ = value;
1533 return this;
1534 }
1535 public Builder ClearField59() {
1536 result.hasField59 = false;
1537 result.field59_ = false;
1538 return this;
1539 }
1540
1541 public bool HasField7 {
csharptestc671a4b2011-06-08 11:51:24 -05001542 get { return result.hasField7; }
csharptest27bfcc52011-06-02 12:04:06 -05001543 }
1544 public string Field7 {
1545 get { return result.Field7; }
1546 set { SetField7(value); }
1547 }
1548 public Builder SetField7(string value) {
1549 pb::ThrowHelper.ThrowIfNull(value, "value");
1550 result.hasField7 = true;
1551 result.field7_ = value;
1552 return this;
1553 }
1554 public Builder ClearField7() {
1555 result.hasField7 = false;
1556 result.field7_ = "";
1557 return this;
1558 }
1559
1560 public bool HasField16 {
csharptestc671a4b2011-06-08 11:51:24 -05001561 get { return result.hasField16; }
csharptest27bfcc52011-06-02 12:04:06 -05001562 }
1563 public int Field16 {
1564 get { return result.Field16; }
1565 set { SetField16(value); }
1566 }
1567 public Builder SetField16(int value) {
1568 result.hasField16 = true;
1569 result.field16_ = value;
1570 return this;
1571 }
1572 public Builder ClearField16() {
1573 result.hasField16 = false;
1574 result.field16_ = 0;
1575 return this;
1576 }
1577
1578 public bool HasField130 {
csharptestc671a4b2011-06-08 11:51:24 -05001579 get { return result.hasField130; }
csharptest27bfcc52011-06-02 12:04:06 -05001580 }
1581 public int Field130 {
1582 get { return result.Field130; }
1583 set { SetField130(value); }
1584 }
1585 public Builder SetField130(int value) {
1586 result.hasField130 = true;
1587 result.field130_ = value;
1588 return this;
1589 }
1590 public Builder ClearField130() {
1591 result.hasField130 = false;
1592 result.field130_ = 0;
1593 return this;
1594 }
1595
1596 public bool HasField12 {
csharptestc671a4b2011-06-08 11:51:24 -05001597 get { return result.hasField12; }
csharptest27bfcc52011-06-02 12:04:06 -05001598 }
1599 public bool Field12 {
1600 get { return result.Field12; }
1601 set { SetField12(value); }
1602 }
1603 public Builder SetField12(bool value) {
1604 result.hasField12 = true;
1605 result.field12_ = value;
1606 return this;
1607 }
1608 public Builder ClearField12() {
1609 result.hasField12 = false;
1610 result.field12_ = true;
1611 return this;
1612 }
1613
1614 public bool HasField17 {
csharptestc671a4b2011-06-08 11:51:24 -05001615 get { return result.hasField17; }
csharptest27bfcc52011-06-02 12:04:06 -05001616 }
1617 public bool Field17 {
1618 get { return result.Field17; }
1619 set { SetField17(value); }
1620 }
1621 public Builder SetField17(bool value) {
1622 result.hasField17 = true;
1623 result.field17_ = value;
1624 return this;
1625 }
1626 public Builder ClearField17() {
1627 result.hasField17 = false;
1628 result.field17_ = true;
1629 return this;
1630 }
1631
1632 public bool HasField13 {
csharptestc671a4b2011-06-08 11:51:24 -05001633 get { return result.hasField13; }
csharptest27bfcc52011-06-02 12:04:06 -05001634 }
1635 public bool Field13 {
1636 get { return result.Field13; }
1637 set { SetField13(value); }
1638 }
1639 public Builder SetField13(bool value) {
1640 result.hasField13 = true;
1641 result.field13_ = value;
1642 return this;
1643 }
1644 public Builder ClearField13() {
1645 result.hasField13 = false;
1646 result.field13_ = true;
1647 return this;
1648 }
1649
1650 public bool HasField14 {
csharptestc671a4b2011-06-08 11:51:24 -05001651 get { return result.hasField14; }
csharptest27bfcc52011-06-02 12:04:06 -05001652 }
1653 public bool Field14 {
1654 get { return result.Field14; }
1655 set { SetField14(value); }
1656 }
1657 public Builder SetField14(bool value) {
1658 result.hasField14 = true;
1659 result.field14_ = value;
1660 return this;
1661 }
1662 public Builder ClearField14() {
1663 result.hasField14 = false;
1664 result.field14_ = true;
1665 return this;
1666 }
1667
1668 public bool HasField104 {
csharptestc671a4b2011-06-08 11:51:24 -05001669 get { return result.hasField104; }
csharptest27bfcc52011-06-02 12:04:06 -05001670 }
1671 public int Field104 {
1672 get { return result.Field104; }
1673 set { SetField104(value); }
1674 }
1675 public Builder SetField104(int value) {
1676 result.hasField104 = true;
1677 result.field104_ = value;
1678 return this;
1679 }
1680 public Builder ClearField104() {
1681 result.hasField104 = false;
1682 result.field104_ = 0;
1683 return this;
1684 }
1685
1686 public bool HasField100 {
csharptestc671a4b2011-06-08 11:51:24 -05001687 get { return result.hasField100; }
csharptest27bfcc52011-06-02 12:04:06 -05001688 }
1689 public int Field100 {
1690 get { return result.Field100; }
1691 set { SetField100(value); }
1692 }
1693 public Builder SetField100(int value) {
1694 result.hasField100 = true;
1695 result.field100_ = value;
1696 return this;
1697 }
1698 public Builder ClearField100() {
1699 result.hasField100 = false;
1700 result.field100_ = 0;
1701 return this;
1702 }
1703
1704 public bool HasField101 {
csharptestc671a4b2011-06-08 11:51:24 -05001705 get { return result.hasField101; }
csharptest27bfcc52011-06-02 12:04:06 -05001706 }
1707 public int Field101 {
1708 get { return result.Field101; }
1709 set { SetField101(value); }
1710 }
1711 public Builder SetField101(int value) {
1712 result.hasField101 = true;
1713 result.field101_ = value;
1714 return this;
1715 }
1716 public Builder ClearField101() {
1717 result.hasField101 = false;
1718 result.field101_ = 0;
1719 return this;
1720 }
1721
1722 public bool HasField102 {
csharptestc671a4b2011-06-08 11:51:24 -05001723 get { return result.hasField102; }
csharptest27bfcc52011-06-02 12:04:06 -05001724 }
1725 public string Field102 {
1726 get { return result.Field102; }
1727 set { SetField102(value); }
1728 }
1729 public Builder SetField102(string value) {
1730 pb::ThrowHelper.ThrowIfNull(value, "value");
1731 result.hasField102 = true;
1732 result.field102_ = value;
1733 return this;
1734 }
1735 public Builder ClearField102() {
1736 result.hasField102 = false;
1737 result.field102_ = "";
1738 return this;
1739 }
1740
1741 public bool HasField103 {
csharptestc671a4b2011-06-08 11:51:24 -05001742 get { return result.hasField103; }
csharptest27bfcc52011-06-02 12:04:06 -05001743 }
1744 public string Field103 {
1745 get { return result.Field103; }
1746 set { SetField103(value); }
1747 }
1748 public Builder SetField103(string value) {
1749 pb::ThrowHelper.ThrowIfNull(value, "value");
1750 result.hasField103 = true;
1751 result.field103_ = value;
1752 return this;
1753 }
1754 public Builder ClearField103() {
1755 result.hasField103 = false;
1756 result.field103_ = "";
1757 return this;
1758 }
1759
1760 public bool HasField29 {
csharptestc671a4b2011-06-08 11:51:24 -05001761 get { return result.hasField29; }
csharptest27bfcc52011-06-02 12:04:06 -05001762 }
1763 public int Field29 {
1764 get { return result.Field29; }
1765 set { SetField29(value); }
1766 }
1767 public Builder SetField29(int value) {
1768 result.hasField29 = true;
1769 result.field29_ = value;
1770 return this;
1771 }
1772 public Builder ClearField29() {
1773 result.hasField29 = false;
1774 result.field29_ = 0;
1775 return this;
1776 }
1777
1778 public bool HasField30 {
csharptestc671a4b2011-06-08 11:51:24 -05001779 get { return result.hasField30; }
csharptest27bfcc52011-06-02 12:04:06 -05001780 }
1781 public bool Field30 {
1782 get { return result.Field30; }
1783 set { SetField30(value); }
1784 }
1785 public Builder SetField30(bool value) {
1786 result.hasField30 = true;
1787 result.field30_ = value;
1788 return this;
1789 }
1790 public Builder ClearField30() {
1791 result.hasField30 = false;
1792 result.field30_ = false;
1793 return this;
1794 }
1795
1796 public bool HasField60 {
csharptestc671a4b2011-06-08 11:51:24 -05001797 get { return result.hasField60; }
csharptest27bfcc52011-06-02 12:04:06 -05001798 }
1799 public int Field60 {
1800 get { return result.Field60; }
1801 set { SetField60(value); }
1802 }
1803 public Builder SetField60(int value) {
1804 result.hasField60 = true;
1805 result.field60_ = value;
1806 return this;
1807 }
1808 public Builder ClearField60() {
1809 result.hasField60 = false;
1810 result.field60_ = -1;
1811 return this;
1812 }
1813
1814 public bool HasField271 {
csharptestc671a4b2011-06-08 11:51:24 -05001815 get { return result.hasField271; }
csharptest27bfcc52011-06-02 12:04:06 -05001816 }
1817 public int Field271 {
1818 get { return result.Field271; }
1819 set { SetField271(value); }
1820 }
1821 public Builder SetField271(int value) {
1822 result.hasField271 = true;
1823 result.field271_ = value;
1824 return this;
1825 }
1826 public Builder ClearField271() {
1827 result.hasField271 = false;
1828 result.field271_ = -1;
1829 return this;
1830 }
1831
1832 public bool HasField272 {
csharptestc671a4b2011-06-08 11:51:24 -05001833 get { return result.hasField272; }
csharptest27bfcc52011-06-02 12:04:06 -05001834 }
1835 public int Field272 {
1836 get { return result.Field272; }
1837 set { SetField272(value); }
1838 }
1839 public Builder SetField272(int value) {
1840 result.hasField272 = true;
1841 result.field272_ = value;
1842 return this;
1843 }
1844 public Builder ClearField272() {
1845 result.hasField272 = false;
1846 result.field272_ = -1;
1847 return this;
1848 }
1849
1850 public bool HasField150 {
csharptestc671a4b2011-06-08 11:51:24 -05001851 get { return result.hasField150; }
csharptest27bfcc52011-06-02 12:04:06 -05001852 }
1853 public int Field150 {
1854 get { return result.Field150; }
1855 set { SetField150(value); }
1856 }
1857 public Builder SetField150(int value) {
1858 result.hasField150 = true;
1859 result.field150_ = value;
1860 return this;
1861 }
1862 public Builder ClearField150() {
1863 result.hasField150 = false;
1864 result.field150_ = 0;
1865 return this;
1866 }
1867
1868 public bool HasField23 {
csharptestc671a4b2011-06-08 11:51:24 -05001869 get { return result.hasField23; }
csharptest27bfcc52011-06-02 12:04:06 -05001870 }
1871 public int Field23 {
1872 get { return result.Field23; }
1873 set { SetField23(value); }
1874 }
1875 public Builder SetField23(int value) {
1876 result.hasField23 = true;
1877 result.field23_ = value;
1878 return this;
1879 }
1880 public Builder ClearField23() {
1881 result.hasField23 = false;
1882 result.field23_ = 0;
1883 return this;
1884 }
1885
1886 public bool HasField24 {
csharptestc671a4b2011-06-08 11:51:24 -05001887 get { return result.hasField24; }
csharptest27bfcc52011-06-02 12:04:06 -05001888 }
1889 public bool Field24 {
1890 get { return result.Field24; }
1891 set { SetField24(value); }
1892 }
1893 public Builder SetField24(bool value) {
1894 result.hasField24 = true;
1895 result.field24_ = value;
1896 return this;
1897 }
1898 public Builder ClearField24() {
1899 result.hasField24 = false;
1900 result.field24_ = false;
1901 return this;
1902 }
1903
1904 public bool HasField25 {
csharptestc671a4b2011-06-08 11:51:24 -05001905 get { return result.hasField25; }
csharptest27bfcc52011-06-02 12:04:06 -05001906 }
1907 public int Field25 {
1908 get { return result.Field25; }
1909 set { SetField25(value); }
1910 }
1911 public Builder SetField25(int value) {
1912 result.hasField25 = true;
1913 result.field25_ = value;
1914 return this;
1915 }
1916 public Builder ClearField25() {
1917 result.hasField25 = false;
1918 result.field25_ = 0;
1919 return this;
1920 }
1921
1922 public bool HasField15 {
csharptestc671a4b2011-06-08 11:51:24 -05001923 get { return result.hasField15; }
csharptest27bfcc52011-06-02 12:04:06 -05001924 }
1925 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
1926 get { return result.Field15; }
1927 set { SetField15(value); }
1928 }
1929 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1930 pb::ThrowHelper.ThrowIfNull(value, "value");
1931 result.hasField15 = true;
1932 result.field15_ = value;
1933 return this;
1934 }
1935 public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder builderForValue) {
1936 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
1937 result.hasField15 = true;
1938 result.field15_ = builderForValue.Build();
1939 return this;
1940 }
1941 public Builder MergeField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
1942 pb::ThrowHelper.ThrowIfNull(value, "value");
csharptestc671a4b2011-06-08 11:51:24 -05001943 if (result.hasField15 &&
csharptest27bfcc52011-06-02 12:04:06 -05001944 result.field15_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) {
1945 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder(result.field15_).MergeFrom(value).BuildPartial();
1946 } else {
1947 result.field15_ = value;
1948 }
1949 result.hasField15 = true;
1950 return this;
1951 }
1952 public Builder ClearField15() {
1953 result.hasField15 = false;
1954 result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
1955 return this;
1956 }
1957
1958 public bool HasField78 {
csharptestc671a4b2011-06-08 11:51:24 -05001959 get { return result.hasField78; }
csharptest27bfcc52011-06-02 12:04:06 -05001960 }
1961 public bool Field78 {
1962 get { return result.Field78; }
1963 set { SetField78(value); }
1964 }
1965 public Builder SetField78(bool value) {
1966 result.hasField78 = true;
1967 result.field78_ = value;
1968 return this;
1969 }
1970 public Builder ClearField78() {
1971 result.hasField78 = false;
1972 result.field78_ = false;
1973 return this;
1974 }
1975
1976 public bool HasField67 {
csharptestc671a4b2011-06-08 11:51:24 -05001977 get { return result.hasField67; }
csharptest27bfcc52011-06-02 12:04:06 -05001978 }
1979 public int Field67 {
1980 get { return result.Field67; }
1981 set { SetField67(value); }
1982 }
1983 public Builder SetField67(int value) {
1984 result.hasField67 = true;
1985 result.field67_ = value;
1986 return this;
1987 }
1988 public Builder ClearField67() {
1989 result.hasField67 = false;
1990 result.field67_ = 0;
1991 return this;
1992 }
1993
1994 public bool HasField68 {
csharptestc671a4b2011-06-08 11:51:24 -05001995 get { return result.hasField68; }
csharptest27bfcc52011-06-02 12:04:06 -05001996 }
1997 public int Field68 {
1998 get { return result.Field68; }
1999 set { SetField68(value); }
2000 }
2001 public Builder SetField68(int value) {
2002 result.hasField68 = true;
2003 result.field68_ = value;
2004 return this;
2005 }
2006 public Builder ClearField68() {
2007 result.hasField68 = false;
2008 result.field68_ = 0;
2009 return this;
2010 }
2011
2012 public bool HasField128 {
csharptestc671a4b2011-06-08 11:51:24 -05002013 get { return result.hasField128; }
csharptest27bfcc52011-06-02 12:04:06 -05002014 }
2015 public int Field128 {
2016 get { return result.Field128; }
2017 set { SetField128(value); }
2018 }
2019 public Builder SetField128(int value) {
2020 result.hasField128 = true;
2021 result.field128_ = value;
2022 return this;
2023 }
2024 public Builder ClearField128() {
2025 result.hasField128 = false;
2026 result.field128_ = 0;
2027 return this;
2028 }
2029
2030 public bool HasField129 {
csharptestc671a4b2011-06-08 11:51:24 -05002031 get { return result.hasField129; }
csharptest27bfcc52011-06-02 12:04:06 -05002032 }
2033 public string Field129 {
2034 get { return result.Field129; }
2035 set { SetField129(value); }
2036 }
2037 public Builder SetField129(string value) {
2038 pb::ThrowHelper.ThrowIfNull(value, "value");
2039 result.hasField129 = true;
2040 result.field129_ = value;
2041 return this;
2042 }
2043 public Builder ClearField129() {
2044 result.hasField129 = false;
2045 result.field129_ = "xxxxxxxxxxxxxxxxxxxxx";
2046 return this;
2047 }
2048
2049 public bool HasField131 {
csharptestc671a4b2011-06-08 11:51:24 -05002050 get { return result.hasField131; }
csharptest27bfcc52011-06-02 12:04:06 -05002051 }
2052 public int Field131 {
2053 get { return result.Field131; }
2054 set { SetField131(value); }
2055 }
2056 public Builder SetField131(int value) {
2057 result.hasField131 = true;
2058 result.field131_ = value;
2059 return this;
2060 }
2061 public Builder ClearField131() {
2062 result.hasField131 = false;
2063 result.field131_ = 0;
2064 return this;
2065 }
2066 }
2067 static SpeedMessage1() {
2068 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
2069 }
2070 }
2071
2072 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2073 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2074 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2075 public sealed partial class SpeedMessage1SubMessage : pb::GeneratedMessage<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> {
csharptest17fb8f22011-09-23 11:36:39 -05002076 private SpeedMessage1SubMessage() { }
csharptest27bfcc52011-06-02 12:04:06 -05002077 private static readonly SpeedMessage1SubMessage defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05002078 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" };
2079 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 -05002080 public static SpeedMessage1SubMessage DefaultInstance {
2081 get { return defaultInstance; }
2082 }
2083
2084 public override SpeedMessage1SubMessage DefaultInstanceForType {
2085 get { return defaultInstance; }
2086 }
2087
2088 protected override SpeedMessage1SubMessage ThisMessage {
2089 get { return this; }
2090 }
2091
2092 public static pbd::MessageDescriptor Descriptor {
2093 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor; }
2094 }
2095
2096 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> InternalFieldAccessors {
2097 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable; }
2098 }
2099
2100 public const int Field1FieldNumber = 1;
2101 private bool hasField1;
csharptestced18e12011-06-09 19:47:56 -05002102 private int field1_;
csharptest27bfcc52011-06-02 12:04:06 -05002103 public bool HasField1 {
2104 get { return hasField1; }
2105 }
2106 public int Field1 {
2107 get { return field1_; }
2108 }
2109
2110 public const int Field2FieldNumber = 2;
2111 private bool hasField2;
csharptestced18e12011-06-09 19:47:56 -05002112 private int field2_;
csharptest27bfcc52011-06-02 12:04:06 -05002113 public bool HasField2 {
2114 get { return hasField2; }
2115 }
2116 public int Field2 {
2117 get { return field2_; }
2118 }
2119
2120 public const int Field3FieldNumber = 3;
2121 private bool hasField3;
csharptestced18e12011-06-09 19:47:56 -05002122 private int field3_;
csharptest27bfcc52011-06-02 12:04:06 -05002123 public bool HasField3 {
2124 get { return hasField3; }
2125 }
2126 public int Field3 {
2127 get { return field3_; }
2128 }
2129
2130 public const int Field15FieldNumber = 15;
2131 private bool hasField15;
2132 private string field15_ = "";
2133 public bool HasField15 {
2134 get { return hasField15; }
2135 }
2136 public string Field15 {
2137 get { return field15_; }
2138 }
2139
2140 public const int Field12FieldNumber = 12;
2141 private bool hasField12;
2142 private bool field12_ = true;
2143 public bool HasField12 {
2144 get { return hasField12; }
2145 }
2146 public bool Field12 {
2147 get { return field12_; }
2148 }
2149
2150 public const int Field13FieldNumber = 13;
2151 private bool hasField13;
csharptestced18e12011-06-09 19:47:56 -05002152 private long field13_;
csharptest27bfcc52011-06-02 12:04:06 -05002153 public bool HasField13 {
2154 get { return hasField13; }
2155 }
2156 public long Field13 {
2157 get { return field13_; }
2158 }
2159
2160 public const int Field14FieldNumber = 14;
2161 private bool hasField14;
csharptestced18e12011-06-09 19:47:56 -05002162 private long field14_;
csharptest27bfcc52011-06-02 12:04:06 -05002163 public bool HasField14 {
2164 get { return hasField14; }
2165 }
2166 public long Field14 {
2167 get { return field14_; }
2168 }
2169
2170 public const int Field16FieldNumber = 16;
2171 private bool hasField16;
csharptestced18e12011-06-09 19:47:56 -05002172 private int field16_;
csharptest27bfcc52011-06-02 12:04:06 -05002173 public bool HasField16 {
2174 get { return hasField16; }
2175 }
2176 public int Field16 {
2177 get { return field16_; }
2178 }
2179
2180 public const int Field19FieldNumber = 19;
2181 private bool hasField19;
2182 private int field19_ = 2;
2183 public bool HasField19 {
2184 get { return hasField19; }
2185 }
2186 public int Field19 {
2187 get { return field19_; }
2188 }
2189
2190 public const int Field20FieldNumber = 20;
2191 private bool hasField20;
2192 private bool field20_ = true;
2193 public bool HasField20 {
2194 get { return hasField20; }
2195 }
2196 public bool Field20 {
2197 get { return field20_; }
2198 }
2199
2200 public const int Field28FieldNumber = 28;
2201 private bool hasField28;
2202 private bool field28_ = true;
2203 public bool HasField28 {
2204 get { return hasField28; }
2205 }
2206 public bool Field28 {
2207 get { return field28_; }
2208 }
2209
2210 public const int Field21FieldNumber = 21;
2211 private bool hasField21;
csharptestced18e12011-06-09 19:47:56 -05002212 private ulong field21_;
csharptest27bfcc52011-06-02 12:04:06 -05002213 public bool HasField21 {
2214 get { return hasField21; }
2215 }
2216 [global::System.CLSCompliant(false)]
2217 public ulong Field21 {
2218 get { return field21_; }
2219 }
2220
2221 public const int Field22FieldNumber = 22;
2222 private bool hasField22;
csharptestced18e12011-06-09 19:47:56 -05002223 private int field22_;
csharptest27bfcc52011-06-02 12:04:06 -05002224 public bool HasField22 {
2225 get { return hasField22; }
2226 }
2227 public int Field22 {
2228 get { return field22_; }
2229 }
2230
2231 public const int Field23FieldNumber = 23;
2232 private bool hasField23;
csharptestced18e12011-06-09 19:47:56 -05002233 private bool field23_;
csharptest27bfcc52011-06-02 12:04:06 -05002234 public bool HasField23 {
2235 get { return hasField23; }
2236 }
2237 public bool Field23 {
2238 get { return field23_; }
2239 }
2240
2241 public const int Field206FieldNumber = 206;
2242 private bool hasField206;
csharptestced18e12011-06-09 19:47:56 -05002243 private bool field206_;
csharptest27bfcc52011-06-02 12:04:06 -05002244 public bool HasField206 {
2245 get { return hasField206; }
2246 }
2247 public bool Field206 {
2248 get { return field206_; }
2249 }
2250
2251 public const int Field203FieldNumber = 203;
2252 private bool hasField203;
csharptestced18e12011-06-09 19:47:56 -05002253 private uint field203_;
csharptest27bfcc52011-06-02 12:04:06 -05002254 public bool HasField203 {
2255 get { return hasField203; }
2256 }
2257 [global::System.CLSCompliant(false)]
2258 public uint Field203 {
2259 get { return field203_; }
2260 }
2261
2262 public const int Field204FieldNumber = 204;
2263 private bool hasField204;
csharptestced18e12011-06-09 19:47:56 -05002264 private int field204_;
csharptest27bfcc52011-06-02 12:04:06 -05002265 public bool HasField204 {
2266 get { return hasField204; }
2267 }
2268 public int Field204 {
2269 get { return field204_; }
2270 }
2271
2272 public const int Field205FieldNumber = 205;
2273 private bool hasField205;
2274 private string field205_ = "";
2275 public bool HasField205 {
2276 get { return hasField205; }
2277 }
2278 public string Field205 {
2279 get { return field205_; }
2280 }
2281
2282 public const int Field207FieldNumber = 207;
2283 private bool hasField207;
csharptestced18e12011-06-09 19:47:56 -05002284 private ulong field207_;
csharptest27bfcc52011-06-02 12:04:06 -05002285 public bool HasField207 {
2286 get { return hasField207; }
2287 }
2288 [global::System.CLSCompliant(false)]
2289 public ulong Field207 {
2290 get { return field207_; }
2291 }
2292
2293 public const int Field300FieldNumber = 300;
2294 private bool hasField300;
csharptestced18e12011-06-09 19:47:56 -05002295 private ulong field300_;
csharptest27bfcc52011-06-02 12:04:06 -05002296 public bool HasField300 {
2297 get { return hasField300; }
2298 }
2299 [global::System.CLSCompliant(false)]
2300 public ulong Field300 {
2301 get { return field300_; }
2302 }
2303
2304 public override bool IsInitialized {
2305 get {
2306 return true;
2307 }
2308 }
2309
csharptestffafdaa2011-06-03 12:58:14 -05002310 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05002311 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05002312 string[] field_names = _speedMessage1SubMessageFieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05002313 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -05002314 output.WriteInt32(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -05002315 }
csharptestc671a4b2011-06-08 11:51:24 -05002316 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -05002317 output.WriteInt32(2, field_names[7], Field2);
csharptest27bfcc52011-06-02 12:04:06 -05002318 }
csharptestc671a4b2011-06-08 11:51:24 -05002319 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -05002320 output.WriteInt32(3, field_names[18], Field3);
csharptest27bfcc52011-06-02 12:04:06 -05002321 }
csharptestc671a4b2011-06-08 11:51:24 -05002322 if (hasField12) {
csharptest920b09a2011-06-08 20:13:29 -05002323 output.WriteBool(12, field_names[1], Field12);
csharptest27bfcc52011-06-02 12:04:06 -05002324 }
csharptestc671a4b2011-06-08 11:51:24 -05002325 if (hasField13) {
csharptest920b09a2011-06-08 20:13:29 -05002326 output.WriteInt64(13, field_names[2], Field13);
csharptest27bfcc52011-06-02 12:04:06 -05002327 }
csharptestc671a4b2011-06-08 11:51:24 -05002328 if (hasField14) {
csharptest920b09a2011-06-08 20:13:29 -05002329 output.WriteInt64(14, field_names[3], Field14);
csharptest27bfcc52011-06-02 12:04:06 -05002330 }
csharptestc671a4b2011-06-08 11:51:24 -05002331 if (hasField15) {
csharptest920b09a2011-06-08 20:13:29 -05002332 output.WriteString(15, field_names[4], Field15);
csharptest27bfcc52011-06-02 12:04:06 -05002333 }
csharptestc671a4b2011-06-08 11:51:24 -05002334 if (hasField16) {
csharptest920b09a2011-06-08 20:13:29 -05002335 output.WriteInt32(16, field_names[5], Field16);
csharptest27bfcc52011-06-02 12:04:06 -05002336 }
csharptestc671a4b2011-06-08 11:51:24 -05002337 if (hasField19) {
csharptest920b09a2011-06-08 20:13:29 -05002338 output.WriteInt32(19, field_names[6], Field19);
csharptest27bfcc52011-06-02 12:04:06 -05002339 }
csharptestc671a4b2011-06-08 11:51:24 -05002340 if (hasField20) {
csharptest920b09a2011-06-08 20:13:29 -05002341 output.WriteBool(20, field_names[8], Field20);
csharptest27bfcc52011-06-02 12:04:06 -05002342 }
csharptestc671a4b2011-06-08 11:51:24 -05002343 if (hasField21) {
csharptest920b09a2011-06-08 20:13:29 -05002344 output.WriteFixed64(21, field_names[14], Field21);
csharptest27bfcc52011-06-02 12:04:06 -05002345 }
csharptestc671a4b2011-06-08 11:51:24 -05002346 if (hasField22) {
csharptest920b09a2011-06-08 20:13:29 -05002347 output.WriteInt32(22, field_names[15], Field22);
csharptest27bfcc52011-06-02 12:04:06 -05002348 }
csharptestc671a4b2011-06-08 11:51:24 -05002349 if (hasField23) {
csharptest920b09a2011-06-08 20:13:29 -05002350 output.WriteBool(23, field_names[16], Field23);
csharptest27bfcc52011-06-02 12:04:06 -05002351 }
csharptestc671a4b2011-06-08 11:51:24 -05002352 if (hasField28) {
csharptest920b09a2011-06-08 20:13:29 -05002353 output.WriteBool(28, field_names[17], Field28);
csharptest27bfcc52011-06-02 12:04:06 -05002354 }
csharptestc671a4b2011-06-08 11:51:24 -05002355 if (hasField203) {
csharptest920b09a2011-06-08 20:13:29 -05002356 output.WriteFixed32(203, field_names[9], Field203);
csharptest27bfcc52011-06-02 12:04:06 -05002357 }
csharptestc671a4b2011-06-08 11:51:24 -05002358 if (hasField204) {
csharptest920b09a2011-06-08 20:13:29 -05002359 output.WriteInt32(204, field_names[10], Field204);
csharptest27bfcc52011-06-02 12:04:06 -05002360 }
csharptestc671a4b2011-06-08 11:51:24 -05002361 if (hasField205) {
csharptest920b09a2011-06-08 20:13:29 -05002362 output.WriteString(205, field_names[11], Field205);
csharptest27bfcc52011-06-02 12:04:06 -05002363 }
csharptestc671a4b2011-06-08 11:51:24 -05002364 if (hasField206) {
csharptest920b09a2011-06-08 20:13:29 -05002365 output.WriteBool(206, field_names[12], Field206);
csharptest27bfcc52011-06-02 12:04:06 -05002366 }
csharptestc671a4b2011-06-08 11:51:24 -05002367 if (hasField207) {
csharptest920b09a2011-06-08 20:13:29 -05002368 output.WriteUInt64(207, field_names[13], Field207);
csharptest27bfcc52011-06-02 12:04:06 -05002369 }
csharptestc671a4b2011-06-08 11:51:24 -05002370 if (hasField300) {
csharptest920b09a2011-06-08 20:13:29 -05002371 output.WriteUInt64(300, field_names[19], Field300);
csharptest27bfcc52011-06-02 12:04:06 -05002372 }
2373 UnknownFields.WriteTo(output);
2374 }
2375
2376 private int memoizedSerializedSize = -1;
2377 public override int SerializedSize {
2378 get {
2379 int size = memoizedSerializedSize;
2380 if (size != -1) return size;
2381
2382 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05002383 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -05002384 size += pb::CodedOutputStream.ComputeInt32Size(1, Field1);
2385 }
csharptestc671a4b2011-06-08 11:51:24 -05002386 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -05002387 size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
2388 }
csharptestc671a4b2011-06-08 11:51:24 -05002389 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -05002390 size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
2391 }
csharptestc671a4b2011-06-08 11:51:24 -05002392 if (hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -05002393 size += pb::CodedOutputStream.ComputeStringSize(15, Field15);
2394 }
csharptestc671a4b2011-06-08 11:51:24 -05002395 if (hasField12) {
csharptest27bfcc52011-06-02 12:04:06 -05002396 size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
2397 }
csharptestc671a4b2011-06-08 11:51:24 -05002398 if (hasField13) {
csharptest27bfcc52011-06-02 12:04:06 -05002399 size += pb::CodedOutputStream.ComputeInt64Size(13, Field13);
2400 }
csharptestc671a4b2011-06-08 11:51:24 -05002401 if (hasField14) {
csharptest27bfcc52011-06-02 12:04:06 -05002402 size += pb::CodedOutputStream.ComputeInt64Size(14, Field14);
2403 }
csharptestc671a4b2011-06-08 11:51:24 -05002404 if (hasField16) {
csharptest27bfcc52011-06-02 12:04:06 -05002405 size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
2406 }
csharptestc671a4b2011-06-08 11:51:24 -05002407 if (hasField19) {
csharptest27bfcc52011-06-02 12:04:06 -05002408 size += pb::CodedOutputStream.ComputeInt32Size(19, Field19);
2409 }
csharptestc671a4b2011-06-08 11:51:24 -05002410 if (hasField20) {
csharptest27bfcc52011-06-02 12:04:06 -05002411 size += pb::CodedOutputStream.ComputeBoolSize(20, Field20);
2412 }
csharptestc671a4b2011-06-08 11:51:24 -05002413 if (hasField28) {
csharptest27bfcc52011-06-02 12:04:06 -05002414 size += pb::CodedOutputStream.ComputeBoolSize(28, Field28);
2415 }
csharptestc671a4b2011-06-08 11:51:24 -05002416 if (hasField21) {
csharptest27bfcc52011-06-02 12:04:06 -05002417 size += pb::CodedOutputStream.ComputeFixed64Size(21, Field21);
2418 }
csharptestc671a4b2011-06-08 11:51:24 -05002419 if (hasField22) {
csharptest27bfcc52011-06-02 12:04:06 -05002420 size += pb::CodedOutputStream.ComputeInt32Size(22, Field22);
2421 }
csharptestc671a4b2011-06-08 11:51:24 -05002422 if (hasField23) {
csharptest27bfcc52011-06-02 12:04:06 -05002423 size += pb::CodedOutputStream.ComputeBoolSize(23, Field23);
2424 }
csharptestc671a4b2011-06-08 11:51:24 -05002425 if (hasField206) {
csharptest27bfcc52011-06-02 12:04:06 -05002426 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
2427 }
csharptestc671a4b2011-06-08 11:51:24 -05002428 if (hasField203) {
csharptest27bfcc52011-06-02 12:04:06 -05002429 size += pb::CodedOutputStream.ComputeFixed32Size(203, Field203);
2430 }
csharptestc671a4b2011-06-08 11:51:24 -05002431 if (hasField204) {
csharptest27bfcc52011-06-02 12:04:06 -05002432 size += pb::CodedOutputStream.ComputeInt32Size(204, Field204);
2433 }
csharptestc671a4b2011-06-08 11:51:24 -05002434 if (hasField205) {
csharptest27bfcc52011-06-02 12:04:06 -05002435 size += pb::CodedOutputStream.ComputeStringSize(205, Field205);
2436 }
csharptestc671a4b2011-06-08 11:51:24 -05002437 if (hasField207) {
csharptest27bfcc52011-06-02 12:04:06 -05002438 size += pb::CodedOutputStream.ComputeUInt64Size(207, Field207);
2439 }
csharptestc671a4b2011-06-08 11:51:24 -05002440 if (hasField300) {
csharptest27bfcc52011-06-02 12:04:06 -05002441 size += pb::CodedOutputStream.ComputeUInt64Size(300, Field300);
2442 }
2443 size += UnknownFields.SerializedSize;
2444 memoizedSerializedSize = size;
2445 return size;
2446 }
2447 }
2448
2449 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data) {
2450 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2451 }
2452 public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
2453 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2454 }
2455 public static SpeedMessage1SubMessage ParseFrom(byte[] data) {
2456 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
2457 }
2458 public static SpeedMessage1SubMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
2459 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
2460 }
2461 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input) {
2462 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2463 }
2464 public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2465 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2466 }
2467 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input) {
2468 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
2469 }
2470 public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
2471 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
2472 }
csharptest17699c22011-06-03 21:57:15 -05002473 public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05002474 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
2475 }
csharptest17699c22011-06-03 21:57:15 -05002476 public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05002477 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
2478 }
2479 public static Builder CreateBuilder() { return new Builder(); }
2480 public override Builder ToBuilder() { return CreateBuilder(this); }
2481 public override Builder CreateBuilderForType() { return new Builder(); }
2482 public static Builder CreateBuilder(SpeedMessage1SubMessage prototype) {
2483 return (Builder) new Builder().MergeFrom(prototype);
2484 }
2485
2486 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2487 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
2488 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
2489 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1SubMessage, Builder> {
2490 protected override Builder ThisBuilder {
2491 get { return this; }
2492 }
2493 public Builder() {}
2494
2495 SpeedMessage1SubMessage result = new SpeedMessage1SubMessage();
2496
2497 protected override SpeedMessage1SubMessage MessageBeingBuilt {
2498 get { return result; }
2499 }
2500
2501 public override Builder Clear() {
2502 result = new SpeedMessage1SubMessage();
2503 return this;
2504 }
2505
2506 public override Builder Clone() {
2507 return new Builder().MergeFrom(result);
2508 }
2509
2510 public override pbd::MessageDescriptor DescriptorForType {
2511 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Descriptor; }
2512 }
2513
2514 public override SpeedMessage1SubMessage DefaultInstanceForType {
2515 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance; }
2516 }
2517
2518 public override SpeedMessage1SubMessage BuildPartial() {
2519 if (result == null) {
2520 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
2521 }
2522 SpeedMessage1SubMessage returnMe = result;
2523 result = null;
2524 return returnMe;
2525 }
2526
2527 public override Builder MergeFrom(pb::IMessage other) {
2528 if (other is SpeedMessage1SubMessage) {
2529 return MergeFrom((SpeedMessage1SubMessage) other);
2530 } else {
2531 base.MergeFrom(other);
2532 return this;
2533 }
2534 }
2535
2536 public override Builder MergeFrom(SpeedMessage1SubMessage other) {
2537 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) return this;
2538 if (other.HasField1) {
2539 Field1 = other.Field1;
2540 }
2541 if (other.HasField2) {
2542 Field2 = other.Field2;
2543 }
2544 if (other.HasField3) {
2545 Field3 = other.Field3;
2546 }
2547 if (other.HasField15) {
2548 Field15 = other.Field15;
2549 }
2550 if (other.HasField12) {
2551 Field12 = other.Field12;
2552 }
2553 if (other.HasField13) {
2554 Field13 = other.Field13;
2555 }
2556 if (other.HasField14) {
2557 Field14 = other.Field14;
2558 }
2559 if (other.HasField16) {
2560 Field16 = other.Field16;
2561 }
2562 if (other.HasField19) {
2563 Field19 = other.Field19;
2564 }
2565 if (other.HasField20) {
2566 Field20 = other.Field20;
2567 }
2568 if (other.HasField28) {
2569 Field28 = other.Field28;
2570 }
2571 if (other.HasField21) {
2572 Field21 = other.Field21;
2573 }
2574 if (other.HasField22) {
2575 Field22 = other.Field22;
2576 }
2577 if (other.HasField23) {
2578 Field23 = other.Field23;
2579 }
2580 if (other.HasField206) {
2581 Field206 = other.Field206;
2582 }
2583 if (other.HasField203) {
2584 Field203 = other.Field203;
2585 }
2586 if (other.HasField204) {
2587 Field204 = other.Field204;
2588 }
2589 if (other.HasField205) {
2590 Field205 = other.Field205;
2591 }
2592 if (other.HasField207) {
2593 Field207 = other.Field207;
2594 }
2595 if (other.HasField300) {
2596 Field300 = other.Field300;
2597 }
2598 this.MergeUnknownFields(other.UnknownFields);
2599 return this;
2600 }
2601
csharptest17699c22011-06-03 21:57:15 -05002602 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05002603 return MergeFrom(input, pb::ExtensionRegistry.Empty);
2604 }
2605
csharptest17699c22011-06-03 21:57:15 -05002606 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05002607 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05002608 uint tag;
2609 string field_name;
2610 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05002611 if(tag == 0 && field_name != null) {
2612 int field_ordinal = global::System.Array.BinarySearch(_speedMessage1SubMessageFieldNames, field_name, global::System.StringComparer.Ordinal);
2613 if(field_ordinal >= 0)
2614 tag = _speedMessage1SubMessageFieldTags[field_ordinal];
2615 else {
2616 if (unknownFields == null) {
2617 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2618 }
2619 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
2620 continue;
2621 }
2622 }
csharptest27bfcc52011-06-02 12:04:06 -05002623 switch (tag) {
2624 case 0: {
csharptest99284412011-06-03 14:51:06 -05002625 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05002626 }
2627 default: {
2628 if (pb::WireFormat.IsEndGroupTag(tag)) {
2629 if (unknownFields != null) {
2630 this.UnknownFields = unknownFields.Build();
2631 }
2632 return this;
2633 }
2634 if (unknownFields == null) {
2635 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
2636 }
csharptestd2af9e92011-06-03 21:35:02 -05002637 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05002638 break;
2639 }
2640 case 8: {
csharptest920b09a2011-06-08 20:13:29 -05002641 result.hasField1 = input.ReadInt32(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05002642 break;
2643 }
2644 case 16: {
csharptest920b09a2011-06-08 20:13:29 -05002645 result.hasField2 = input.ReadInt32(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05002646 break;
2647 }
2648 case 24: {
csharptest920b09a2011-06-08 20:13:29 -05002649 result.hasField3 = input.ReadInt32(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05002650 break;
2651 }
2652 case 96: {
csharptest920b09a2011-06-08 20:13:29 -05002653 result.hasField12 = input.ReadBool(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05002654 break;
2655 }
2656 case 104: {
csharptest920b09a2011-06-08 20:13:29 -05002657 result.hasField13 = input.ReadInt64(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05002658 break;
2659 }
2660 case 112: {
csharptest920b09a2011-06-08 20:13:29 -05002661 result.hasField14 = input.ReadInt64(ref result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05002662 break;
2663 }
2664 case 122: {
csharptest920b09a2011-06-08 20:13:29 -05002665 result.hasField15 = input.ReadString(ref result.field15_);
csharptest27bfcc52011-06-02 12:04:06 -05002666 break;
2667 }
2668 case 128: {
csharptest920b09a2011-06-08 20:13:29 -05002669 result.hasField16 = input.ReadInt32(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05002670 break;
2671 }
2672 case 152: {
csharptest920b09a2011-06-08 20:13:29 -05002673 result.hasField19 = input.ReadInt32(ref result.field19_);
csharptest27bfcc52011-06-02 12:04:06 -05002674 break;
2675 }
2676 case 160: {
csharptest920b09a2011-06-08 20:13:29 -05002677 result.hasField20 = input.ReadBool(ref result.field20_);
csharptest27bfcc52011-06-02 12:04:06 -05002678 break;
2679 }
2680 case 169: {
csharptest920b09a2011-06-08 20:13:29 -05002681 result.hasField21 = input.ReadFixed64(ref result.field21_);
csharptest27bfcc52011-06-02 12:04:06 -05002682 break;
2683 }
2684 case 176: {
csharptest920b09a2011-06-08 20:13:29 -05002685 result.hasField22 = input.ReadInt32(ref result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05002686 break;
2687 }
2688 case 184: {
csharptest920b09a2011-06-08 20:13:29 -05002689 result.hasField23 = input.ReadBool(ref result.field23_);
csharptest27bfcc52011-06-02 12:04:06 -05002690 break;
2691 }
2692 case 224: {
csharptest920b09a2011-06-08 20:13:29 -05002693 result.hasField28 = input.ReadBool(ref result.field28_);
csharptest27bfcc52011-06-02 12:04:06 -05002694 break;
2695 }
2696 case 1629: {
csharptest920b09a2011-06-08 20:13:29 -05002697 result.hasField203 = input.ReadFixed32(ref result.field203_);
csharptest27bfcc52011-06-02 12:04:06 -05002698 break;
2699 }
2700 case 1632: {
csharptest920b09a2011-06-08 20:13:29 -05002701 result.hasField204 = input.ReadInt32(ref result.field204_);
csharptest27bfcc52011-06-02 12:04:06 -05002702 break;
2703 }
2704 case 1642: {
csharptest920b09a2011-06-08 20:13:29 -05002705 result.hasField205 = input.ReadString(ref result.field205_);
csharptest27bfcc52011-06-02 12:04:06 -05002706 break;
2707 }
2708 case 1648: {
csharptest920b09a2011-06-08 20:13:29 -05002709 result.hasField206 = input.ReadBool(ref result.field206_);
csharptest27bfcc52011-06-02 12:04:06 -05002710 break;
2711 }
2712 case 1656: {
csharptest920b09a2011-06-08 20:13:29 -05002713 result.hasField207 = input.ReadUInt64(ref result.field207_);
csharptest27bfcc52011-06-02 12:04:06 -05002714 break;
2715 }
2716 case 2400: {
csharptest920b09a2011-06-08 20:13:29 -05002717 result.hasField300 = input.ReadUInt64(ref result.field300_);
csharptest27bfcc52011-06-02 12:04:06 -05002718 break;
2719 }
2720 }
2721 }
csharptest123e5342011-06-03 14:15:21 -05002722
2723 if (unknownFields != null) {
2724 this.UnknownFields = unknownFields.Build();
2725 }
2726 return this;
csharptest27bfcc52011-06-02 12:04:06 -05002727 }
2728
2729
2730 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05002731 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05002732 }
2733 public int Field1 {
2734 get { return result.Field1; }
2735 set { SetField1(value); }
2736 }
2737 public Builder SetField1(int value) {
2738 result.hasField1 = true;
2739 result.field1_ = value;
2740 return this;
2741 }
2742 public Builder ClearField1() {
2743 result.hasField1 = false;
2744 result.field1_ = 0;
2745 return this;
2746 }
2747
2748 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05002749 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05002750 }
2751 public int Field2 {
2752 get { return result.Field2; }
2753 set { SetField2(value); }
2754 }
2755 public Builder SetField2(int value) {
2756 result.hasField2 = true;
2757 result.field2_ = value;
2758 return this;
2759 }
2760 public Builder ClearField2() {
2761 result.hasField2 = false;
2762 result.field2_ = 0;
2763 return this;
2764 }
2765
2766 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05002767 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05002768 }
2769 public int Field3 {
2770 get { return result.Field3; }
2771 set { SetField3(value); }
2772 }
2773 public Builder SetField3(int value) {
2774 result.hasField3 = true;
2775 result.field3_ = value;
2776 return this;
2777 }
2778 public Builder ClearField3() {
2779 result.hasField3 = false;
2780 result.field3_ = 0;
2781 return this;
2782 }
2783
2784 public bool HasField15 {
csharptestc671a4b2011-06-08 11:51:24 -05002785 get { return result.hasField15; }
csharptest27bfcc52011-06-02 12:04:06 -05002786 }
2787 public string Field15 {
2788 get { return result.Field15; }
2789 set { SetField15(value); }
2790 }
2791 public Builder SetField15(string value) {
2792 pb::ThrowHelper.ThrowIfNull(value, "value");
2793 result.hasField15 = true;
2794 result.field15_ = value;
2795 return this;
2796 }
2797 public Builder ClearField15() {
2798 result.hasField15 = false;
2799 result.field15_ = "";
2800 return this;
2801 }
2802
2803 public bool HasField12 {
csharptestc671a4b2011-06-08 11:51:24 -05002804 get { return result.hasField12; }
csharptest27bfcc52011-06-02 12:04:06 -05002805 }
2806 public bool Field12 {
2807 get { return result.Field12; }
2808 set { SetField12(value); }
2809 }
2810 public Builder SetField12(bool value) {
2811 result.hasField12 = true;
2812 result.field12_ = value;
2813 return this;
2814 }
2815 public Builder ClearField12() {
2816 result.hasField12 = false;
2817 result.field12_ = true;
2818 return this;
2819 }
2820
2821 public bool HasField13 {
csharptestc671a4b2011-06-08 11:51:24 -05002822 get { return result.hasField13; }
csharptest27bfcc52011-06-02 12:04:06 -05002823 }
2824 public long Field13 {
2825 get { return result.Field13; }
2826 set { SetField13(value); }
2827 }
2828 public Builder SetField13(long value) {
2829 result.hasField13 = true;
2830 result.field13_ = value;
2831 return this;
2832 }
2833 public Builder ClearField13() {
2834 result.hasField13 = false;
2835 result.field13_ = 0L;
2836 return this;
2837 }
2838
2839 public bool HasField14 {
csharptestc671a4b2011-06-08 11:51:24 -05002840 get { return result.hasField14; }
csharptest27bfcc52011-06-02 12:04:06 -05002841 }
2842 public long Field14 {
2843 get { return result.Field14; }
2844 set { SetField14(value); }
2845 }
2846 public Builder SetField14(long value) {
2847 result.hasField14 = true;
2848 result.field14_ = value;
2849 return this;
2850 }
2851 public Builder ClearField14() {
2852 result.hasField14 = false;
2853 result.field14_ = 0L;
2854 return this;
2855 }
2856
2857 public bool HasField16 {
csharptestc671a4b2011-06-08 11:51:24 -05002858 get { return result.hasField16; }
csharptest27bfcc52011-06-02 12:04:06 -05002859 }
2860 public int Field16 {
2861 get { return result.Field16; }
2862 set { SetField16(value); }
2863 }
2864 public Builder SetField16(int value) {
2865 result.hasField16 = true;
2866 result.field16_ = value;
2867 return this;
2868 }
2869 public Builder ClearField16() {
2870 result.hasField16 = false;
2871 result.field16_ = 0;
2872 return this;
2873 }
2874
2875 public bool HasField19 {
csharptestc671a4b2011-06-08 11:51:24 -05002876 get { return result.hasField19; }
csharptest27bfcc52011-06-02 12:04:06 -05002877 }
2878 public int Field19 {
2879 get { return result.Field19; }
2880 set { SetField19(value); }
2881 }
2882 public Builder SetField19(int value) {
2883 result.hasField19 = true;
2884 result.field19_ = value;
2885 return this;
2886 }
2887 public Builder ClearField19() {
2888 result.hasField19 = false;
2889 result.field19_ = 2;
2890 return this;
2891 }
2892
2893 public bool HasField20 {
csharptestc671a4b2011-06-08 11:51:24 -05002894 get { return result.hasField20; }
csharptest27bfcc52011-06-02 12:04:06 -05002895 }
2896 public bool Field20 {
2897 get { return result.Field20; }
2898 set { SetField20(value); }
2899 }
2900 public Builder SetField20(bool value) {
2901 result.hasField20 = true;
2902 result.field20_ = value;
2903 return this;
2904 }
2905 public Builder ClearField20() {
2906 result.hasField20 = false;
2907 result.field20_ = true;
2908 return this;
2909 }
2910
2911 public bool HasField28 {
csharptestc671a4b2011-06-08 11:51:24 -05002912 get { return result.hasField28; }
csharptest27bfcc52011-06-02 12:04:06 -05002913 }
2914 public bool Field28 {
2915 get { return result.Field28; }
2916 set { SetField28(value); }
2917 }
2918 public Builder SetField28(bool value) {
2919 result.hasField28 = true;
2920 result.field28_ = value;
2921 return this;
2922 }
2923 public Builder ClearField28() {
2924 result.hasField28 = false;
2925 result.field28_ = true;
2926 return this;
2927 }
2928
2929 public bool HasField21 {
csharptestc671a4b2011-06-08 11:51:24 -05002930 get { return result.hasField21; }
csharptest27bfcc52011-06-02 12:04:06 -05002931 }
2932 [global::System.CLSCompliant(false)]
2933 public ulong Field21 {
2934 get { return result.Field21; }
2935 set { SetField21(value); }
2936 }
2937 [global::System.CLSCompliant(false)]
2938 public Builder SetField21(ulong value) {
2939 result.hasField21 = true;
2940 result.field21_ = value;
2941 return this;
2942 }
2943 public Builder ClearField21() {
2944 result.hasField21 = false;
2945 result.field21_ = 0;
2946 return this;
2947 }
2948
2949 public bool HasField22 {
csharptestc671a4b2011-06-08 11:51:24 -05002950 get { return result.hasField22; }
csharptest27bfcc52011-06-02 12:04:06 -05002951 }
2952 public int Field22 {
2953 get { return result.Field22; }
2954 set { SetField22(value); }
2955 }
2956 public Builder SetField22(int value) {
2957 result.hasField22 = true;
2958 result.field22_ = value;
2959 return this;
2960 }
2961 public Builder ClearField22() {
2962 result.hasField22 = false;
2963 result.field22_ = 0;
2964 return this;
2965 }
2966
2967 public bool HasField23 {
csharptestc671a4b2011-06-08 11:51:24 -05002968 get { return result.hasField23; }
csharptest27bfcc52011-06-02 12:04:06 -05002969 }
2970 public bool Field23 {
2971 get { return result.Field23; }
2972 set { SetField23(value); }
2973 }
2974 public Builder SetField23(bool value) {
2975 result.hasField23 = true;
2976 result.field23_ = value;
2977 return this;
2978 }
2979 public Builder ClearField23() {
2980 result.hasField23 = false;
2981 result.field23_ = false;
2982 return this;
2983 }
2984
2985 public bool HasField206 {
csharptestc671a4b2011-06-08 11:51:24 -05002986 get { return result.hasField206; }
csharptest27bfcc52011-06-02 12:04:06 -05002987 }
2988 public bool Field206 {
2989 get { return result.Field206; }
2990 set { SetField206(value); }
2991 }
2992 public Builder SetField206(bool value) {
2993 result.hasField206 = true;
2994 result.field206_ = value;
2995 return this;
2996 }
2997 public Builder ClearField206() {
2998 result.hasField206 = false;
2999 result.field206_ = false;
3000 return this;
3001 }
3002
3003 public bool HasField203 {
csharptestc671a4b2011-06-08 11:51:24 -05003004 get { return result.hasField203; }
csharptest27bfcc52011-06-02 12:04:06 -05003005 }
3006 [global::System.CLSCompliant(false)]
3007 public uint Field203 {
3008 get { return result.Field203; }
3009 set { SetField203(value); }
3010 }
3011 [global::System.CLSCompliant(false)]
3012 public Builder SetField203(uint value) {
3013 result.hasField203 = true;
3014 result.field203_ = value;
3015 return this;
3016 }
3017 public Builder ClearField203() {
3018 result.hasField203 = false;
3019 result.field203_ = 0;
3020 return this;
3021 }
3022
3023 public bool HasField204 {
csharptestc671a4b2011-06-08 11:51:24 -05003024 get { return result.hasField204; }
csharptest27bfcc52011-06-02 12:04:06 -05003025 }
3026 public int Field204 {
3027 get { return result.Field204; }
3028 set { SetField204(value); }
3029 }
3030 public Builder SetField204(int value) {
3031 result.hasField204 = true;
3032 result.field204_ = value;
3033 return this;
3034 }
3035 public Builder ClearField204() {
3036 result.hasField204 = false;
3037 result.field204_ = 0;
3038 return this;
3039 }
3040
3041 public bool HasField205 {
csharptestc671a4b2011-06-08 11:51:24 -05003042 get { return result.hasField205; }
csharptest27bfcc52011-06-02 12:04:06 -05003043 }
3044 public string Field205 {
3045 get { return result.Field205; }
3046 set { SetField205(value); }
3047 }
3048 public Builder SetField205(string value) {
3049 pb::ThrowHelper.ThrowIfNull(value, "value");
3050 result.hasField205 = true;
3051 result.field205_ = value;
3052 return this;
3053 }
3054 public Builder ClearField205() {
3055 result.hasField205 = false;
3056 result.field205_ = "";
3057 return this;
3058 }
3059
3060 public bool HasField207 {
csharptestc671a4b2011-06-08 11:51:24 -05003061 get { return result.hasField207; }
csharptest27bfcc52011-06-02 12:04:06 -05003062 }
3063 [global::System.CLSCompliant(false)]
3064 public ulong Field207 {
3065 get { return result.Field207; }
3066 set { SetField207(value); }
3067 }
3068 [global::System.CLSCompliant(false)]
3069 public Builder SetField207(ulong value) {
3070 result.hasField207 = true;
3071 result.field207_ = value;
3072 return this;
3073 }
3074 public Builder ClearField207() {
3075 result.hasField207 = false;
3076 result.field207_ = 0UL;
3077 return this;
3078 }
3079
3080 public bool HasField300 {
csharptestc671a4b2011-06-08 11:51:24 -05003081 get { return result.hasField300; }
csharptest27bfcc52011-06-02 12:04:06 -05003082 }
3083 [global::System.CLSCompliant(false)]
3084 public ulong Field300 {
3085 get { return result.Field300; }
3086 set { SetField300(value); }
3087 }
3088 [global::System.CLSCompliant(false)]
3089 public Builder SetField300(ulong value) {
3090 result.hasField300 = true;
3091 result.field300_ = value;
3092 return this;
3093 }
3094 public Builder ClearField300() {
3095 result.hasField300 = false;
3096 result.field300_ = 0UL;
3097 return this;
3098 }
3099 }
3100 static SpeedMessage1SubMessage() {
3101 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
3102 }
3103 }
3104
3105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3106 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3107 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3108 public sealed partial class SpeedMessage2 : pb::GeneratedMessage<SpeedMessage2, SpeedMessage2.Builder> {
csharptest17fb8f22011-09-23 11:36:39 -05003109 private SpeedMessage2() { }
csharptest27bfcc52011-06-02 12:04:06 -05003110 private static readonly SpeedMessage2 defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05003111 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" };
3112 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 -05003113 public static SpeedMessage2 DefaultInstance {
3114 get { return defaultInstance; }
3115 }
3116
3117 public override SpeedMessage2 DefaultInstanceForType {
3118 get { return defaultInstance; }
3119 }
3120
3121 protected override SpeedMessage2 ThisMessage {
3122 get { return this; }
3123 }
3124
3125 public static pbd::MessageDescriptor Descriptor {
3126 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__Descriptor; }
3127 }
3128
3129 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2, SpeedMessage2.Builder> InternalFieldAccessors {
3130 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__FieldAccessorTable; }
3131 }
3132
3133 #region Nested types
3134 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3135 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3136 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3137 public static class Types {
3138 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3139 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3140 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3141 public sealed partial class Group1 : pb::GeneratedMessage<Group1, Group1.Builder> {
csharptest17fb8f22011-09-23 11:36:39 -05003142 private Group1() { }
csharptest27bfcc52011-06-02 12:04:06 -05003143 private static readonly Group1 defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05003144 private static readonly string[] _group1FieldNames = new string[] { "field11", "field12", "field13", "field14", "field15", "field16", "field20", "field22", "field24", "field26", "field27", "field28", "field29", "field31", "field5", "field73" };
3145 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 -05003146 public static Group1 DefaultInstance {
3147 get { return defaultInstance; }
3148 }
3149
3150 public override Group1 DefaultInstanceForType {
3151 get { return defaultInstance; }
3152 }
3153
3154 protected override Group1 ThisMessage {
3155 get { return this; }
3156 }
3157
3158 public static pbd::MessageDescriptor Descriptor {
3159 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__Descriptor; }
3160 }
3161
3162 protected override pb::FieldAccess.FieldAccessorTable<Group1, Group1.Builder> InternalFieldAccessors {
3163 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable; }
3164 }
3165
3166 public const int Field11FieldNumber = 11;
3167 private bool hasField11;
csharptestced18e12011-06-09 19:47:56 -05003168 private float field11_;
csharptest27bfcc52011-06-02 12:04:06 -05003169 public bool HasField11 {
3170 get { return hasField11; }
3171 }
3172 public float Field11 {
3173 get { return field11_; }
3174 }
3175
3176 public const int Field26FieldNumber = 26;
3177 private bool hasField26;
csharptestced18e12011-06-09 19:47:56 -05003178 private float field26_;
csharptest27bfcc52011-06-02 12:04:06 -05003179 public bool HasField26 {
3180 get { return hasField26; }
3181 }
3182 public float Field26 {
3183 get { return field26_; }
3184 }
3185
3186 public const int Field12FieldNumber = 12;
3187 private bool hasField12;
3188 private string field12_ = "";
3189 public bool HasField12 {
3190 get { return hasField12; }
3191 }
3192 public string Field12 {
3193 get { return field12_; }
3194 }
3195
3196 public const int Field13FieldNumber = 13;
3197 private bool hasField13;
3198 private string field13_ = "";
3199 public bool HasField13 {
3200 get { return hasField13; }
3201 }
3202 public string Field13 {
3203 get { return field13_; }
3204 }
3205
3206 public const int Field14FieldNumber = 14;
3207 private pbc::PopsicleList<string> field14_ = new pbc::PopsicleList<string>();
3208 public scg::IList<string> Field14List {
3209 get { return pbc::Lists.AsReadOnly(field14_); }
3210 }
3211 public int Field14Count {
3212 get { return field14_.Count; }
3213 }
3214 public string GetField14(int index) {
3215 return field14_[index];
3216 }
3217
3218 public const int Field15FieldNumber = 15;
3219 private bool hasField15;
csharptestced18e12011-06-09 19:47:56 -05003220 private ulong field15_;
csharptest27bfcc52011-06-02 12:04:06 -05003221 public bool HasField15 {
3222 get { return hasField15; }
3223 }
3224 [global::System.CLSCompliant(false)]
3225 public ulong Field15 {
3226 get { return field15_; }
3227 }
3228
3229 public const int Field5FieldNumber = 5;
3230 private bool hasField5;
csharptestced18e12011-06-09 19:47:56 -05003231 private int field5_;
csharptest27bfcc52011-06-02 12:04:06 -05003232 public bool HasField5 {
3233 get { return hasField5; }
3234 }
3235 public int Field5 {
3236 get { return field5_; }
3237 }
3238
3239 public const int Field27FieldNumber = 27;
3240 private bool hasField27;
3241 private string field27_ = "";
3242 public bool HasField27 {
3243 get { return hasField27; }
3244 }
3245 public string Field27 {
3246 get { return field27_; }
3247 }
3248
3249 public const int Field28FieldNumber = 28;
3250 private bool hasField28;
csharptestced18e12011-06-09 19:47:56 -05003251 private int field28_;
csharptest27bfcc52011-06-02 12:04:06 -05003252 public bool HasField28 {
3253 get { return hasField28; }
3254 }
3255 public int Field28 {
3256 get { return field28_; }
3257 }
3258
3259 public const int Field29FieldNumber = 29;
3260 private bool hasField29;
3261 private string field29_ = "";
3262 public bool HasField29 {
3263 get { return hasField29; }
3264 }
3265 public string Field29 {
3266 get { return field29_; }
3267 }
3268
3269 public const int Field16FieldNumber = 16;
3270 private bool hasField16;
3271 private string field16_ = "";
3272 public bool HasField16 {
3273 get { return hasField16; }
3274 }
3275 public string Field16 {
3276 get { return field16_; }
3277 }
3278
3279 public const int Field22FieldNumber = 22;
3280 private pbc::PopsicleList<string> field22_ = new pbc::PopsicleList<string>();
3281 public scg::IList<string> Field22List {
3282 get { return pbc::Lists.AsReadOnly(field22_); }
3283 }
3284 public int Field22Count {
3285 get { return field22_.Count; }
3286 }
3287 public string GetField22(int index) {
3288 return field22_[index];
3289 }
3290
3291 public const int Field73FieldNumber = 73;
3292 private pbc::PopsicleList<int> field73_ = new pbc::PopsicleList<int>();
3293 public scg::IList<int> Field73List {
3294 get { return pbc::Lists.AsReadOnly(field73_); }
3295 }
3296 public int Field73Count {
3297 get { return field73_.Count; }
3298 }
3299 public int GetField73(int index) {
3300 return field73_[index];
3301 }
3302
3303 public const int Field20FieldNumber = 20;
3304 private bool hasField20;
csharptestced18e12011-06-09 19:47:56 -05003305 private int field20_;
csharptest27bfcc52011-06-02 12:04:06 -05003306 public bool HasField20 {
3307 get { return hasField20; }
3308 }
3309 public int Field20 {
3310 get { return field20_; }
3311 }
3312
3313 public const int Field24FieldNumber = 24;
3314 private bool hasField24;
3315 private string field24_ = "";
3316 public bool HasField24 {
3317 get { return hasField24; }
3318 }
3319 public string Field24 {
3320 get { return field24_; }
3321 }
3322
3323 public const int Field31FieldNumber = 31;
3324 private bool hasField31;
3325 private global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
3326 public bool HasField31 {
3327 get { return hasField31; }
3328 }
3329 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
3330 get { return field31_; }
3331 }
3332
3333 public override bool IsInitialized {
3334 get {
3335 if (!hasField11) return false;
3336 if (!hasField15) return false;
3337 return true;
3338 }
3339 }
3340
csharptestffafdaa2011-06-03 12:58:14 -05003341 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05003342 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05003343 string[] field_names = _group1FieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05003344 if (hasField5) {
csharptest920b09a2011-06-08 20:13:29 -05003345 output.WriteInt32(5, field_names[14], Field5);
csharptest27bfcc52011-06-02 12:04:06 -05003346 }
csharptestc671a4b2011-06-08 11:51:24 -05003347 if (hasField11) {
csharptest920b09a2011-06-08 20:13:29 -05003348 output.WriteFloat(11, field_names[0], Field11);
csharptest27bfcc52011-06-02 12:04:06 -05003349 }
csharptestc671a4b2011-06-08 11:51:24 -05003350 if (hasField12) {
csharptest920b09a2011-06-08 20:13:29 -05003351 output.WriteString(12, field_names[1], Field12);
csharptest27bfcc52011-06-02 12:04:06 -05003352 }
csharptestc671a4b2011-06-08 11:51:24 -05003353 if (hasField13) {
csharptest920b09a2011-06-08 20:13:29 -05003354 output.WriteString(13, field_names[2], Field13);
csharptest27bfcc52011-06-02 12:04:06 -05003355 }
3356 if (field14_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05003357 output.WriteStringArray(14, field_names[3], field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003358 }
csharptestc671a4b2011-06-08 11:51:24 -05003359 if (hasField15) {
csharptest920b09a2011-06-08 20:13:29 -05003360 output.WriteUInt64(15, field_names[4], Field15);
csharptest27bfcc52011-06-02 12:04:06 -05003361 }
csharptestc671a4b2011-06-08 11:51:24 -05003362 if (hasField16) {
csharptest920b09a2011-06-08 20:13:29 -05003363 output.WriteString(16, field_names[5], Field16);
csharptest27bfcc52011-06-02 12:04:06 -05003364 }
csharptestc671a4b2011-06-08 11:51:24 -05003365 if (hasField20) {
csharptest920b09a2011-06-08 20:13:29 -05003366 output.WriteInt32(20, field_names[6], Field20);
csharptest27bfcc52011-06-02 12:04:06 -05003367 }
3368 if (field22_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05003369 output.WriteStringArray(22, field_names[7], field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003370 }
csharptestc671a4b2011-06-08 11:51:24 -05003371 if (hasField24) {
csharptest920b09a2011-06-08 20:13:29 -05003372 output.WriteString(24, field_names[8], Field24);
csharptest27bfcc52011-06-02 12:04:06 -05003373 }
csharptestc671a4b2011-06-08 11:51:24 -05003374 if (hasField26) {
csharptest920b09a2011-06-08 20:13:29 -05003375 output.WriteFloat(26, field_names[9], Field26);
csharptest27bfcc52011-06-02 12:04:06 -05003376 }
csharptestc671a4b2011-06-08 11:51:24 -05003377 if (hasField27) {
csharptest920b09a2011-06-08 20:13:29 -05003378 output.WriteString(27, field_names[10], Field27);
csharptest27bfcc52011-06-02 12:04:06 -05003379 }
csharptestc671a4b2011-06-08 11:51:24 -05003380 if (hasField28) {
csharptest920b09a2011-06-08 20:13:29 -05003381 output.WriteInt32(28, field_names[11], Field28);
csharptest27bfcc52011-06-02 12:04:06 -05003382 }
csharptestc671a4b2011-06-08 11:51:24 -05003383 if (hasField29) {
csharptest920b09a2011-06-08 20:13:29 -05003384 output.WriteString(29, field_names[12], Field29);
csharptest27bfcc52011-06-02 12:04:06 -05003385 }
csharptestc671a4b2011-06-08 11:51:24 -05003386 if (hasField31) {
csharptest920b09a2011-06-08 20:13:29 -05003387 output.WriteMessage(31, field_names[13], Field31);
csharptest27bfcc52011-06-02 12:04:06 -05003388 }
3389 if (field73_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05003390 output.WriteInt32Array(73, field_names[15], field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003391 }
3392 UnknownFields.WriteTo(output);
3393 }
3394
3395 private int memoizedSerializedSize = -1;
3396 public override int SerializedSize {
3397 get {
3398 int size = memoizedSerializedSize;
3399 if (size != -1) return size;
3400
3401 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05003402 if (hasField11) {
csharptest27bfcc52011-06-02 12:04:06 -05003403 size += pb::CodedOutputStream.ComputeFloatSize(11, Field11);
3404 }
csharptestc671a4b2011-06-08 11:51:24 -05003405 if (hasField26) {
csharptest27bfcc52011-06-02 12:04:06 -05003406 size += pb::CodedOutputStream.ComputeFloatSize(26, Field26);
3407 }
csharptestc671a4b2011-06-08 11:51:24 -05003408 if (hasField12) {
csharptest27bfcc52011-06-02 12:04:06 -05003409 size += pb::CodedOutputStream.ComputeStringSize(12, Field12);
3410 }
csharptestc671a4b2011-06-08 11:51:24 -05003411 if (hasField13) {
csharptest27bfcc52011-06-02 12:04:06 -05003412 size += pb::CodedOutputStream.ComputeStringSize(13, Field13);
3413 }
3414 {
3415 int dataSize = 0;
3416 foreach (string element in Field14List) {
3417 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3418 }
3419 size += dataSize;
3420 size += 1 * field14_.Count;
3421 }
csharptestc671a4b2011-06-08 11:51:24 -05003422 if (hasField15) {
csharptest27bfcc52011-06-02 12:04:06 -05003423 size += pb::CodedOutputStream.ComputeUInt64Size(15, Field15);
3424 }
csharptestc671a4b2011-06-08 11:51:24 -05003425 if (hasField5) {
csharptest27bfcc52011-06-02 12:04:06 -05003426 size += pb::CodedOutputStream.ComputeInt32Size(5, Field5);
3427 }
csharptestc671a4b2011-06-08 11:51:24 -05003428 if (hasField27) {
csharptest27bfcc52011-06-02 12:04:06 -05003429 size += pb::CodedOutputStream.ComputeStringSize(27, Field27);
3430 }
csharptestc671a4b2011-06-08 11:51:24 -05003431 if (hasField28) {
csharptest27bfcc52011-06-02 12:04:06 -05003432 size += pb::CodedOutputStream.ComputeInt32Size(28, Field28);
3433 }
csharptestc671a4b2011-06-08 11:51:24 -05003434 if (hasField29) {
csharptest27bfcc52011-06-02 12:04:06 -05003435 size += pb::CodedOutputStream.ComputeStringSize(29, Field29);
3436 }
csharptestc671a4b2011-06-08 11:51:24 -05003437 if (hasField16) {
csharptest27bfcc52011-06-02 12:04:06 -05003438 size += pb::CodedOutputStream.ComputeStringSize(16, Field16);
3439 }
3440 {
3441 int dataSize = 0;
3442 foreach (string element in Field22List) {
3443 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
3444 }
3445 size += dataSize;
3446 size += 2 * field22_.Count;
3447 }
3448 {
3449 int dataSize = 0;
3450 foreach (int element in Field73List) {
3451 dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
3452 }
3453 size += dataSize;
3454 size += 2 * field73_.Count;
3455 }
csharptestc671a4b2011-06-08 11:51:24 -05003456 if (hasField20) {
csharptest27bfcc52011-06-02 12:04:06 -05003457 size += pb::CodedOutputStream.ComputeInt32Size(20, Field20);
3458 }
csharptestc671a4b2011-06-08 11:51:24 -05003459 if (hasField24) {
csharptest27bfcc52011-06-02 12:04:06 -05003460 size += pb::CodedOutputStream.ComputeStringSize(24, Field24);
3461 }
csharptestc671a4b2011-06-08 11:51:24 -05003462 if (hasField31) {
csharptest27bfcc52011-06-02 12:04:06 -05003463 size += pb::CodedOutputStream.ComputeMessageSize(31, Field31);
3464 }
3465 size += UnknownFields.SerializedSize;
3466 memoizedSerializedSize = size;
3467 return size;
3468 }
3469 }
3470
3471 public static Group1 ParseFrom(pb::ByteString data) {
3472 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3473 }
3474 public static Group1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
3475 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3476 }
3477 public static Group1 ParseFrom(byte[] data) {
3478 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
3479 }
3480 public static Group1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
3481 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
3482 }
3483 public static Group1 ParseFrom(global::System.IO.Stream input) {
3484 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3485 }
3486 public static Group1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3487 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3488 }
3489 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input) {
3490 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
3491 }
3492 public static Group1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
3493 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
3494 }
csharptest17699c22011-06-03 21:57:15 -05003495 public static Group1 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05003496 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
3497 }
csharptest17699c22011-06-03 21:57:15 -05003498 public static Group1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05003499 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
3500 }
3501 public static Builder CreateBuilder() { return new Builder(); }
3502 public override Builder ToBuilder() { return CreateBuilder(this); }
3503 public override Builder CreateBuilderForType() { return new Builder(); }
3504 public static Builder CreateBuilder(Group1 prototype) {
3505 return (Builder) new Builder().MergeFrom(prototype);
3506 }
3507
3508 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3509 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
3510 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
3511 public sealed partial class Builder : pb::GeneratedBuilder<Group1, Builder> {
3512 protected override Builder ThisBuilder {
3513 get { return this; }
3514 }
3515 public Builder() {}
3516
3517 Group1 result = new Group1();
3518
3519 protected override Group1 MessageBeingBuilt {
3520 get { return result; }
3521 }
3522
3523 public override Builder Clear() {
3524 result = new Group1();
3525 return this;
3526 }
3527
3528 public override Builder Clone() {
3529 return new Builder().MergeFrom(result);
3530 }
3531
3532 public override pbd::MessageDescriptor DescriptorForType {
3533 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Descriptor; }
3534 }
3535
3536 public override Group1 DefaultInstanceForType {
3537 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance; }
3538 }
3539
3540 public override Group1 BuildPartial() {
3541 if (result == null) {
3542 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
3543 }
3544 result.field14_.MakeReadOnly();
3545 result.field22_.MakeReadOnly();
3546 result.field73_.MakeReadOnly();
3547 Group1 returnMe = result;
3548 result = null;
3549 return returnMe;
3550 }
3551
3552 public override Builder MergeFrom(pb::IMessage other) {
3553 if (other is Group1) {
3554 return MergeFrom((Group1) other);
3555 } else {
3556 base.MergeFrom(other);
3557 return this;
3558 }
3559 }
3560
3561 public override Builder MergeFrom(Group1 other) {
3562 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance) return this;
3563 if (other.HasField11) {
3564 Field11 = other.Field11;
3565 }
3566 if (other.HasField26) {
3567 Field26 = other.Field26;
3568 }
3569 if (other.HasField12) {
3570 Field12 = other.Field12;
3571 }
3572 if (other.HasField13) {
3573 Field13 = other.Field13;
3574 }
3575 if (other.field14_.Count != 0) {
csharptest4ecebd82011-09-16 12:21:00 -05003576 result.field14_.Add(other.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003577 }
3578 if (other.HasField15) {
3579 Field15 = other.Field15;
3580 }
3581 if (other.HasField5) {
3582 Field5 = other.Field5;
3583 }
3584 if (other.HasField27) {
3585 Field27 = other.Field27;
3586 }
3587 if (other.HasField28) {
3588 Field28 = other.Field28;
3589 }
3590 if (other.HasField29) {
3591 Field29 = other.Field29;
3592 }
3593 if (other.HasField16) {
3594 Field16 = other.Field16;
3595 }
3596 if (other.field22_.Count != 0) {
csharptest4ecebd82011-09-16 12:21:00 -05003597 result.field22_.Add(other.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003598 }
3599 if (other.field73_.Count != 0) {
csharptest4ecebd82011-09-16 12:21:00 -05003600 result.field73_.Add(other.field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003601 }
3602 if (other.HasField20) {
3603 Field20 = other.Field20;
3604 }
3605 if (other.HasField24) {
3606 Field24 = other.Field24;
3607 }
3608 if (other.HasField31) {
3609 MergeField31(other.Field31);
3610 }
3611 this.MergeUnknownFields(other.UnknownFields);
3612 return this;
3613 }
3614
csharptest17699c22011-06-03 21:57:15 -05003615 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05003616 return MergeFrom(input, pb::ExtensionRegistry.Empty);
3617 }
3618
csharptest17699c22011-06-03 21:57:15 -05003619 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05003620 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05003621 uint tag;
3622 string field_name;
3623 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05003624 if(tag == 0 && field_name != null) {
3625 int field_ordinal = global::System.Array.BinarySearch(_group1FieldNames, field_name, global::System.StringComparer.Ordinal);
3626 if(field_ordinal >= 0)
3627 tag = _group1FieldTags[field_ordinal];
3628 else {
3629 if (unknownFields == null) {
3630 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3631 }
3632 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
3633 continue;
3634 }
3635 }
csharptest27bfcc52011-06-02 12:04:06 -05003636 switch (tag) {
3637 case 0: {
csharptest99284412011-06-03 14:51:06 -05003638 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05003639 }
3640 default: {
3641 if (pb::WireFormat.IsEndGroupTag(tag)) {
3642 if (unknownFields != null) {
3643 this.UnknownFields = unknownFields.Build();
3644 }
3645 return this;
3646 }
3647 if (unknownFields == null) {
3648 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
3649 }
csharptestd2af9e92011-06-03 21:35:02 -05003650 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05003651 break;
3652 }
3653 case 40: {
csharptest920b09a2011-06-08 20:13:29 -05003654 result.hasField5 = input.ReadInt32(ref result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05003655 break;
3656 }
3657 case 93: {
csharptest920b09a2011-06-08 20:13:29 -05003658 result.hasField11 = input.ReadFloat(ref result.field11_);
csharptest27bfcc52011-06-02 12:04:06 -05003659 break;
3660 }
3661 case 98: {
csharptest920b09a2011-06-08 20:13:29 -05003662 result.hasField12 = input.ReadString(ref result.field12_);
csharptest27bfcc52011-06-02 12:04:06 -05003663 break;
3664 }
3665 case 106: {
csharptest920b09a2011-06-08 20:13:29 -05003666 result.hasField13 = input.ReadString(ref result.field13_);
csharptest27bfcc52011-06-02 12:04:06 -05003667 break;
3668 }
3669 case 114: {
csharptestb00ea132011-06-10 01:09:57 -05003670 input.ReadStringArray(tag, field_name, result.field14_);
csharptest27bfcc52011-06-02 12:04:06 -05003671 break;
3672 }
3673 case 120: {
csharptest920b09a2011-06-08 20:13:29 -05003674 result.hasField15 = input.ReadUInt64(ref result.field15_);
csharptest27bfcc52011-06-02 12:04:06 -05003675 break;
3676 }
3677 case 130: {
csharptest920b09a2011-06-08 20:13:29 -05003678 result.hasField16 = input.ReadString(ref result.field16_);
csharptest27bfcc52011-06-02 12:04:06 -05003679 break;
3680 }
3681 case 160: {
csharptest920b09a2011-06-08 20:13:29 -05003682 result.hasField20 = input.ReadInt32(ref result.field20_);
csharptest27bfcc52011-06-02 12:04:06 -05003683 break;
3684 }
3685 case 178: {
csharptestb00ea132011-06-10 01:09:57 -05003686 input.ReadStringArray(tag, field_name, result.field22_);
csharptest27bfcc52011-06-02 12:04:06 -05003687 break;
3688 }
3689 case 194: {
csharptest920b09a2011-06-08 20:13:29 -05003690 result.hasField24 = input.ReadString(ref result.field24_);
csharptest27bfcc52011-06-02 12:04:06 -05003691 break;
3692 }
3693 case 213: {
csharptest920b09a2011-06-08 20:13:29 -05003694 result.hasField26 = input.ReadFloat(ref result.field26_);
csharptest27bfcc52011-06-02 12:04:06 -05003695 break;
3696 }
3697 case 218: {
csharptest920b09a2011-06-08 20:13:29 -05003698 result.hasField27 = input.ReadString(ref result.field27_);
csharptest27bfcc52011-06-02 12:04:06 -05003699 break;
3700 }
3701 case 224: {
csharptest920b09a2011-06-08 20:13:29 -05003702 result.hasField28 = input.ReadInt32(ref result.field28_);
csharptest27bfcc52011-06-02 12:04:06 -05003703 break;
3704 }
3705 case 234: {
csharptest920b09a2011-06-08 20:13:29 -05003706 result.hasField29 = input.ReadString(ref result.field29_);
csharptest27bfcc52011-06-02 12:04:06 -05003707 break;
3708 }
3709 case 250: {
3710 global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder();
csharptestc671a4b2011-06-08 11:51:24 -05003711 if (result.hasField31) {
csharptest27bfcc52011-06-02 12:04:06 -05003712 subBuilder.MergeFrom(Field31);
3713 }
3714 input.ReadMessage(subBuilder, extensionRegistry);
3715 Field31 = subBuilder.BuildPartial();
3716 break;
3717 }
csharptest6da31702011-06-04 12:52:57 -05003718 case 586:
csharptest27bfcc52011-06-02 12:04:06 -05003719 case 584: {
csharptestb00ea132011-06-10 01:09:57 -05003720 input.ReadInt32Array(tag, field_name, result.field73_);
csharptest27bfcc52011-06-02 12:04:06 -05003721 break;
3722 }
3723 }
3724 }
csharptest123e5342011-06-03 14:15:21 -05003725
3726 if (unknownFields != null) {
3727 this.UnknownFields = unknownFields.Build();
3728 }
3729 return this;
csharptest27bfcc52011-06-02 12:04:06 -05003730 }
3731
3732
3733 public bool HasField11 {
csharptestc671a4b2011-06-08 11:51:24 -05003734 get { return result.hasField11; }
csharptest27bfcc52011-06-02 12:04:06 -05003735 }
3736 public float Field11 {
3737 get { return result.Field11; }
3738 set { SetField11(value); }
3739 }
3740 public Builder SetField11(float value) {
3741 result.hasField11 = true;
3742 result.field11_ = value;
3743 return this;
3744 }
3745 public Builder ClearField11() {
3746 result.hasField11 = false;
3747 result.field11_ = 0F;
3748 return this;
3749 }
3750
3751 public bool HasField26 {
csharptestc671a4b2011-06-08 11:51:24 -05003752 get { return result.hasField26; }
csharptest27bfcc52011-06-02 12:04:06 -05003753 }
3754 public float Field26 {
3755 get { return result.Field26; }
3756 set { SetField26(value); }
3757 }
3758 public Builder SetField26(float value) {
3759 result.hasField26 = true;
3760 result.field26_ = value;
3761 return this;
3762 }
3763 public Builder ClearField26() {
3764 result.hasField26 = false;
3765 result.field26_ = 0F;
3766 return this;
3767 }
3768
3769 public bool HasField12 {
csharptestc671a4b2011-06-08 11:51:24 -05003770 get { return result.hasField12; }
csharptest27bfcc52011-06-02 12:04:06 -05003771 }
3772 public string Field12 {
3773 get { return result.Field12; }
3774 set { SetField12(value); }
3775 }
3776 public Builder SetField12(string value) {
3777 pb::ThrowHelper.ThrowIfNull(value, "value");
3778 result.hasField12 = true;
3779 result.field12_ = value;
3780 return this;
3781 }
3782 public Builder ClearField12() {
3783 result.hasField12 = false;
3784 result.field12_ = "";
3785 return this;
3786 }
3787
3788 public bool HasField13 {
csharptestc671a4b2011-06-08 11:51:24 -05003789 get { return result.hasField13; }
csharptest27bfcc52011-06-02 12:04:06 -05003790 }
3791 public string Field13 {
3792 get { return result.Field13; }
3793 set { SetField13(value); }
3794 }
3795 public Builder SetField13(string value) {
3796 pb::ThrowHelper.ThrowIfNull(value, "value");
3797 result.hasField13 = true;
3798 result.field13_ = value;
3799 return this;
3800 }
3801 public Builder ClearField13() {
3802 result.hasField13 = false;
3803 result.field13_ = "";
3804 return this;
3805 }
3806
3807 public pbc::IPopsicleList<string> Field14List {
3808 get { return result.field14_; }
3809 }
3810 public int Field14Count {
3811 get { return result.Field14Count; }
3812 }
3813 public string GetField14(int index) {
3814 return result.GetField14(index);
3815 }
3816 public Builder SetField14(int index, string value) {
3817 pb::ThrowHelper.ThrowIfNull(value, "value");
3818 result.field14_[index] = value;
3819 return this;
3820 }
3821 public Builder AddField14(string value) {
3822 pb::ThrowHelper.ThrowIfNull(value, "value");
3823 result.field14_.Add(value);
3824 return this;
3825 }
3826 public Builder AddRangeField14(scg::IEnumerable<string> values) {
csharptest4ecebd82011-09-16 12:21:00 -05003827 result.field14_.Add(values);
csharptest27bfcc52011-06-02 12:04:06 -05003828 return this;
3829 }
3830 public Builder ClearField14() {
3831 result.field14_.Clear();
3832 return this;
3833 }
3834
3835 public bool HasField15 {
csharptestc671a4b2011-06-08 11:51:24 -05003836 get { return result.hasField15; }
csharptest27bfcc52011-06-02 12:04:06 -05003837 }
3838 [global::System.CLSCompliant(false)]
3839 public ulong Field15 {
3840 get { return result.Field15; }
3841 set { SetField15(value); }
3842 }
3843 [global::System.CLSCompliant(false)]
3844 public Builder SetField15(ulong value) {
3845 result.hasField15 = true;
3846 result.field15_ = value;
3847 return this;
3848 }
3849 public Builder ClearField15() {
3850 result.hasField15 = false;
3851 result.field15_ = 0UL;
3852 return this;
3853 }
3854
3855 public bool HasField5 {
csharptestc671a4b2011-06-08 11:51:24 -05003856 get { return result.hasField5; }
csharptest27bfcc52011-06-02 12:04:06 -05003857 }
3858 public int Field5 {
3859 get { return result.Field5; }
3860 set { SetField5(value); }
3861 }
3862 public Builder SetField5(int value) {
3863 result.hasField5 = true;
3864 result.field5_ = value;
3865 return this;
3866 }
3867 public Builder ClearField5() {
3868 result.hasField5 = false;
3869 result.field5_ = 0;
3870 return this;
3871 }
3872
3873 public bool HasField27 {
csharptestc671a4b2011-06-08 11:51:24 -05003874 get { return result.hasField27; }
csharptest27bfcc52011-06-02 12:04:06 -05003875 }
3876 public string Field27 {
3877 get { return result.Field27; }
3878 set { SetField27(value); }
3879 }
3880 public Builder SetField27(string value) {
3881 pb::ThrowHelper.ThrowIfNull(value, "value");
3882 result.hasField27 = true;
3883 result.field27_ = value;
3884 return this;
3885 }
3886 public Builder ClearField27() {
3887 result.hasField27 = false;
3888 result.field27_ = "";
3889 return this;
3890 }
3891
3892 public bool HasField28 {
csharptestc671a4b2011-06-08 11:51:24 -05003893 get { return result.hasField28; }
csharptest27bfcc52011-06-02 12:04:06 -05003894 }
3895 public int Field28 {
3896 get { return result.Field28; }
3897 set { SetField28(value); }
3898 }
3899 public Builder SetField28(int value) {
3900 result.hasField28 = true;
3901 result.field28_ = value;
3902 return this;
3903 }
3904 public Builder ClearField28() {
3905 result.hasField28 = false;
3906 result.field28_ = 0;
3907 return this;
3908 }
3909
3910 public bool HasField29 {
csharptestc671a4b2011-06-08 11:51:24 -05003911 get { return result.hasField29; }
csharptest27bfcc52011-06-02 12:04:06 -05003912 }
3913 public string Field29 {
3914 get { return result.Field29; }
3915 set { SetField29(value); }
3916 }
3917 public Builder SetField29(string value) {
3918 pb::ThrowHelper.ThrowIfNull(value, "value");
3919 result.hasField29 = true;
3920 result.field29_ = value;
3921 return this;
3922 }
3923 public Builder ClearField29() {
3924 result.hasField29 = false;
3925 result.field29_ = "";
3926 return this;
3927 }
3928
3929 public bool HasField16 {
csharptestc671a4b2011-06-08 11:51:24 -05003930 get { return result.hasField16; }
csharptest27bfcc52011-06-02 12:04:06 -05003931 }
3932 public string Field16 {
3933 get { return result.Field16; }
3934 set { SetField16(value); }
3935 }
3936 public Builder SetField16(string value) {
3937 pb::ThrowHelper.ThrowIfNull(value, "value");
3938 result.hasField16 = true;
3939 result.field16_ = value;
3940 return this;
3941 }
3942 public Builder ClearField16() {
3943 result.hasField16 = false;
3944 result.field16_ = "";
3945 return this;
3946 }
3947
3948 public pbc::IPopsicleList<string> Field22List {
3949 get { return result.field22_; }
3950 }
3951 public int Field22Count {
3952 get { return result.Field22Count; }
3953 }
3954 public string GetField22(int index) {
3955 return result.GetField22(index);
3956 }
3957 public Builder SetField22(int index, string value) {
3958 pb::ThrowHelper.ThrowIfNull(value, "value");
3959 result.field22_[index] = value;
3960 return this;
3961 }
3962 public Builder AddField22(string value) {
3963 pb::ThrowHelper.ThrowIfNull(value, "value");
3964 result.field22_.Add(value);
3965 return this;
3966 }
3967 public Builder AddRangeField22(scg::IEnumerable<string> values) {
csharptest4ecebd82011-09-16 12:21:00 -05003968 result.field22_.Add(values);
csharptest27bfcc52011-06-02 12:04:06 -05003969 return this;
3970 }
3971 public Builder ClearField22() {
3972 result.field22_.Clear();
3973 return this;
3974 }
3975
3976 public pbc::IPopsicleList<int> Field73List {
3977 get { return result.field73_; }
3978 }
3979 public int Field73Count {
3980 get { return result.Field73Count; }
3981 }
3982 public int GetField73(int index) {
3983 return result.GetField73(index);
3984 }
3985 public Builder SetField73(int index, int value) {
3986 result.field73_[index] = value;
3987 return this;
3988 }
3989 public Builder AddField73(int value) {
3990 result.field73_.Add(value);
3991 return this;
3992 }
3993 public Builder AddRangeField73(scg::IEnumerable<int> values) {
csharptest4ecebd82011-09-16 12:21:00 -05003994 result.field73_.Add(values);
csharptest27bfcc52011-06-02 12:04:06 -05003995 return this;
3996 }
3997 public Builder ClearField73() {
3998 result.field73_.Clear();
3999 return this;
4000 }
4001
4002 public bool HasField20 {
csharptestc671a4b2011-06-08 11:51:24 -05004003 get { return result.hasField20; }
csharptest27bfcc52011-06-02 12:04:06 -05004004 }
4005 public int Field20 {
4006 get { return result.Field20; }
4007 set { SetField20(value); }
4008 }
4009 public Builder SetField20(int value) {
4010 result.hasField20 = true;
4011 result.field20_ = value;
4012 return this;
4013 }
4014 public Builder ClearField20() {
4015 result.hasField20 = false;
4016 result.field20_ = 0;
4017 return this;
4018 }
4019
4020 public bool HasField24 {
csharptestc671a4b2011-06-08 11:51:24 -05004021 get { return result.hasField24; }
csharptest27bfcc52011-06-02 12:04:06 -05004022 }
4023 public string Field24 {
4024 get { return result.Field24; }
4025 set { SetField24(value); }
4026 }
4027 public Builder SetField24(string value) {
4028 pb::ThrowHelper.ThrowIfNull(value, "value");
4029 result.hasField24 = true;
4030 result.field24_ = value;
4031 return this;
4032 }
4033 public Builder ClearField24() {
4034 result.hasField24 = false;
4035 result.field24_ = "";
4036 return this;
4037 }
4038
4039 public bool HasField31 {
csharptestc671a4b2011-06-08 11:51:24 -05004040 get { return result.hasField31; }
csharptest27bfcc52011-06-02 12:04:06 -05004041 }
4042 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
4043 get { return result.Field31; }
4044 set { SetField31(value); }
4045 }
4046 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
4047 pb::ThrowHelper.ThrowIfNull(value, "value");
4048 result.hasField31 = true;
4049 result.field31_ = value;
4050 return this;
4051 }
4052 public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder builderForValue) {
4053 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
4054 result.hasField31 = true;
4055 result.field31_ = builderForValue.Build();
4056 return this;
4057 }
4058 public Builder MergeField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
4059 pb::ThrowHelper.ThrowIfNull(value, "value");
csharptestc671a4b2011-06-08 11:51:24 -05004060 if (result.hasField31 &&
csharptest27bfcc52011-06-02 12:04:06 -05004061 result.field31_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) {
4062 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder(result.field31_).MergeFrom(value).BuildPartial();
4063 } else {
4064 result.field31_ = value;
4065 }
4066 result.hasField31 = true;
4067 return this;
4068 }
4069 public Builder ClearField31() {
4070 result.hasField31 = false;
4071 result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
4072 return this;
4073 }
4074 }
4075 static Group1() {
4076 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
4077 }
4078 }
4079
4080 }
4081 #endregion
4082
4083 public const int Field1FieldNumber = 1;
4084 private bool hasField1;
4085 private string field1_ = "";
4086 public bool HasField1 {
4087 get { return hasField1; }
4088 }
4089 public string Field1 {
4090 get { return field1_; }
4091 }
4092
4093 public const int Field3FieldNumber = 3;
4094 private bool hasField3;
csharptestced18e12011-06-09 19:47:56 -05004095 private long field3_;
csharptest27bfcc52011-06-02 12:04:06 -05004096 public bool HasField3 {
4097 get { return hasField3; }
4098 }
4099 public long Field3 {
4100 get { return field3_; }
4101 }
4102
4103 public const int Field4FieldNumber = 4;
4104 private bool hasField4;
csharptestced18e12011-06-09 19:47:56 -05004105 private long field4_;
csharptest27bfcc52011-06-02 12:04:06 -05004106 public bool HasField4 {
4107 get { return hasField4; }
4108 }
4109 public long Field4 {
4110 get { return field4_; }
4111 }
4112
4113 public const int Field30FieldNumber = 30;
4114 private bool hasField30;
csharptestced18e12011-06-09 19:47:56 -05004115 private long field30_;
csharptest27bfcc52011-06-02 12:04:06 -05004116 public bool HasField30 {
4117 get { return hasField30; }
4118 }
4119 public long Field30 {
4120 get { return field30_; }
4121 }
4122
4123 public const int Field75FieldNumber = 75;
4124 private bool hasField75;
csharptestced18e12011-06-09 19:47:56 -05004125 private bool field75_;
csharptest27bfcc52011-06-02 12:04:06 -05004126 public bool HasField75 {
4127 get { return hasField75; }
4128 }
4129 public bool Field75 {
4130 get { return field75_; }
4131 }
4132
4133 public const int Field6FieldNumber = 6;
4134 private bool hasField6;
4135 private string field6_ = "";
4136 public bool HasField6 {
4137 get { return hasField6; }
4138 }
4139 public string Field6 {
4140 get { return field6_; }
4141 }
4142
4143 public const int Field2FieldNumber = 2;
4144 private bool hasField2;
4145 private pb::ByteString field2_ = pb::ByteString.Empty;
4146 public bool HasField2 {
4147 get { return hasField2; }
4148 }
4149 public pb::ByteString Field2 {
4150 get { return field2_; }
4151 }
4152
4153 public const int Field21FieldNumber = 21;
4154 private bool hasField21;
csharptestced18e12011-06-09 19:47:56 -05004155 private int field21_;
csharptest27bfcc52011-06-02 12:04:06 -05004156 public bool HasField21 {
4157 get { return hasField21; }
4158 }
4159 public int Field21 {
4160 get { return field21_; }
4161 }
4162
4163 public const int Field71FieldNumber = 71;
4164 private bool hasField71;
csharptestced18e12011-06-09 19:47:56 -05004165 private int field71_;
csharptest27bfcc52011-06-02 12:04:06 -05004166 public bool HasField71 {
4167 get { return hasField71; }
4168 }
4169 public int Field71 {
4170 get { return field71_; }
4171 }
4172
4173 public const int Field25FieldNumber = 25;
4174 private bool hasField25;
csharptestced18e12011-06-09 19:47:56 -05004175 private float field25_;
csharptest27bfcc52011-06-02 12:04:06 -05004176 public bool HasField25 {
4177 get { return hasField25; }
4178 }
4179 public float Field25 {
4180 get { return field25_; }
4181 }
4182
4183 public const int Field109FieldNumber = 109;
4184 private bool hasField109;
csharptestced18e12011-06-09 19:47:56 -05004185 private int field109_;
csharptest27bfcc52011-06-02 12:04:06 -05004186 public bool HasField109 {
4187 get { return hasField109; }
4188 }
4189 public int Field109 {
4190 get { return field109_; }
4191 }
4192
4193 public const int Field210FieldNumber = 210;
4194 private bool hasField210;
csharptestced18e12011-06-09 19:47:56 -05004195 private int field210_;
csharptest27bfcc52011-06-02 12:04:06 -05004196 public bool HasField210 {
4197 get { return hasField210; }
4198 }
4199 public int Field210 {
4200 get { return field210_; }
4201 }
4202
4203 public const int Field211FieldNumber = 211;
4204 private bool hasField211;
csharptestced18e12011-06-09 19:47:56 -05004205 private int field211_;
csharptest27bfcc52011-06-02 12:04:06 -05004206 public bool HasField211 {
4207 get { return hasField211; }
4208 }
4209 public int Field211 {
4210 get { return field211_; }
4211 }
4212
4213 public const int Field212FieldNumber = 212;
4214 private bool hasField212;
csharptestced18e12011-06-09 19:47:56 -05004215 private int field212_;
csharptest27bfcc52011-06-02 12:04:06 -05004216 public bool HasField212 {
4217 get { return hasField212; }
4218 }
4219 public int Field212 {
4220 get { return field212_; }
4221 }
4222
4223 public const int Field213FieldNumber = 213;
4224 private bool hasField213;
csharptestced18e12011-06-09 19:47:56 -05004225 private int field213_;
csharptest27bfcc52011-06-02 12:04:06 -05004226 public bool HasField213 {
4227 get { return hasField213; }
4228 }
4229 public int Field213 {
4230 get { return field213_; }
4231 }
4232
4233 public const int Field216FieldNumber = 216;
4234 private bool hasField216;
csharptestced18e12011-06-09 19:47:56 -05004235 private int field216_;
csharptest27bfcc52011-06-02 12:04:06 -05004236 public bool HasField216 {
4237 get { return hasField216; }
4238 }
4239 public int Field216 {
4240 get { return field216_; }
4241 }
4242
4243 public const int Field217FieldNumber = 217;
4244 private bool hasField217;
csharptestced18e12011-06-09 19:47:56 -05004245 private int field217_;
csharptest27bfcc52011-06-02 12:04:06 -05004246 public bool HasField217 {
4247 get { return hasField217; }
4248 }
4249 public int Field217 {
4250 get { return field217_; }
4251 }
4252
4253 public const int Field218FieldNumber = 218;
4254 private bool hasField218;
csharptestced18e12011-06-09 19:47:56 -05004255 private int field218_;
csharptest27bfcc52011-06-02 12:04:06 -05004256 public bool HasField218 {
4257 get { return hasField218; }
4258 }
4259 public int Field218 {
4260 get { return field218_; }
4261 }
4262
4263 public const int Field220FieldNumber = 220;
4264 private bool hasField220;
csharptestced18e12011-06-09 19:47:56 -05004265 private int field220_;
csharptest27bfcc52011-06-02 12:04:06 -05004266 public bool HasField220 {
4267 get { return hasField220; }
4268 }
4269 public int Field220 {
4270 get { return field220_; }
4271 }
4272
4273 public const int Field221FieldNumber = 221;
4274 private bool hasField221;
csharptestced18e12011-06-09 19:47:56 -05004275 private int field221_;
csharptest27bfcc52011-06-02 12:04:06 -05004276 public bool HasField221 {
4277 get { return hasField221; }
4278 }
4279 public int Field221 {
4280 get { return field221_; }
4281 }
4282
4283 public const int Field222FieldNumber = 222;
4284 private bool hasField222;
csharptestced18e12011-06-09 19:47:56 -05004285 private float field222_;
csharptest27bfcc52011-06-02 12:04:06 -05004286 public bool HasField222 {
4287 get { return hasField222; }
4288 }
4289 public float Field222 {
4290 get { return field222_; }
4291 }
4292
4293 public const int Field63FieldNumber = 63;
4294 private bool hasField63;
csharptestced18e12011-06-09 19:47:56 -05004295 private int field63_;
csharptest27bfcc52011-06-02 12:04:06 -05004296 public bool HasField63 {
4297 get { return hasField63; }
4298 }
4299 public int Field63 {
4300 get { return field63_; }
4301 }
4302
4303 public const int Group1FieldNumber = 10;
4304 private pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> group1_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1>();
4305 public scg::IList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
4306 get { return group1_; }
4307 }
4308 public int Group1Count {
4309 get { return group1_.Count; }
4310 }
4311 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
4312 return group1_[index];
4313 }
4314
4315 public const int Field128FieldNumber = 128;
4316 private pbc::PopsicleList<string> field128_ = new pbc::PopsicleList<string>();
4317 public scg::IList<string> Field128List {
4318 get { return pbc::Lists.AsReadOnly(field128_); }
4319 }
4320 public int Field128Count {
4321 get { return field128_.Count; }
4322 }
4323 public string GetField128(int index) {
4324 return field128_[index];
4325 }
4326
4327 public const int Field131FieldNumber = 131;
4328 private bool hasField131;
csharptestced18e12011-06-09 19:47:56 -05004329 private long field131_;
csharptest27bfcc52011-06-02 12:04:06 -05004330 public bool HasField131 {
4331 get { return hasField131; }
4332 }
4333 public long Field131 {
4334 get { return field131_; }
4335 }
4336
4337 public const int Field127FieldNumber = 127;
4338 private pbc::PopsicleList<string> field127_ = new pbc::PopsicleList<string>();
4339 public scg::IList<string> Field127List {
4340 get { return pbc::Lists.AsReadOnly(field127_); }
4341 }
4342 public int Field127Count {
4343 get { return field127_.Count; }
4344 }
4345 public string GetField127(int index) {
4346 return field127_[index];
4347 }
4348
4349 public const int Field129FieldNumber = 129;
4350 private bool hasField129;
csharptestced18e12011-06-09 19:47:56 -05004351 private int field129_;
csharptest27bfcc52011-06-02 12:04:06 -05004352 public bool HasField129 {
4353 get { return hasField129; }
4354 }
4355 public int Field129 {
4356 get { return field129_; }
4357 }
4358
4359 public const int Field130FieldNumber = 130;
4360 private pbc::PopsicleList<long> field130_ = new pbc::PopsicleList<long>();
4361 public scg::IList<long> Field130List {
4362 get { return pbc::Lists.AsReadOnly(field130_); }
4363 }
4364 public int Field130Count {
4365 get { return field130_.Count; }
4366 }
4367 public long GetField130(int index) {
4368 return field130_[index];
4369 }
4370
4371 public const int Field205FieldNumber = 205;
4372 private bool hasField205;
csharptestced18e12011-06-09 19:47:56 -05004373 private bool field205_;
csharptest27bfcc52011-06-02 12:04:06 -05004374 public bool HasField205 {
4375 get { return hasField205; }
4376 }
4377 public bool Field205 {
4378 get { return field205_; }
4379 }
4380
4381 public const int Field206FieldNumber = 206;
4382 private bool hasField206;
csharptestced18e12011-06-09 19:47:56 -05004383 private bool field206_;
csharptest27bfcc52011-06-02 12:04:06 -05004384 public bool HasField206 {
4385 get { return hasField206; }
4386 }
4387 public bool Field206 {
4388 get { return field206_; }
4389 }
4390
4391 public override bool IsInitialized {
4392 get {
4393 return true;
4394 }
4395 }
4396
csharptestffafdaa2011-06-03 12:58:14 -05004397 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05004398 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05004399 string[] field_names = _speedMessage2FieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05004400 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -05004401 output.WriteString(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -05004402 }
csharptestc671a4b2011-06-08 11:51:24 -05004403 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -05004404 output.WriteBytes(2, field_names[7], Field2);
csharptest27bfcc52011-06-02 12:04:06 -05004405 }
csharptestc671a4b2011-06-08 11:51:24 -05004406 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -05004407 output.WriteInt64(3, field_names[22], Field3);
csharptest27bfcc52011-06-02 12:04:06 -05004408 }
csharptestc671a4b2011-06-08 11:51:24 -05004409 if (hasField4) {
csharptest920b09a2011-06-08 20:13:29 -05004410 output.WriteInt64(4, field_names[24], Field4);
csharptest27bfcc52011-06-02 12:04:06 -05004411 }
csharptestc671a4b2011-06-08 11:51:24 -05004412 if (hasField6) {
csharptest920b09a2011-06-08 20:13:29 -05004413 output.WriteString(6, field_names[25], Field6);
csharptest27bfcc52011-06-02 12:04:06 -05004414 }
csharptest90922db2011-06-03 11:57:47 -05004415 if (group1_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05004416 output.WriteGroupArray(10, field_names[29], group1_);
csharptest27bfcc52011-06-02 12:04:06 -05004417 }
csharptestc671a4b2011-06-08 11:51:24 -05004418 if (hasField21) {
csharptest920b09a2011-06-08 20:13:29 -05004419 output.WriteInt32(21, field_names[10], Field21);
csharptest27bfcc52011-06-02 12:04:06 -05004420 }
csharptestc671a4b2011-06-08 11:51:24 -05004421 if (hasField25) {
csharptest920b09a2011-06-08 20:13:29 -05004422 output.WriteFloat(25, field_names[21], Field25);
csharptest27bfcc52011-06-02 12:04:06 -05004423 }
csharptestc671a4b2011-06-08 11:51:24 -05004424 if (hasField30) {
csharptest920b09a2011-06-08 20:13:29 -05004425 output.WriteInt64(30, field_names[23], Field30);
csharptest27bfcc52011-06-02 12:04:06 -05004426 }
csharptestc671a4b2011-06-08 11:51:24 -05004427 if (hasField63) {
csharptest920b09a2011-06-08 20:13:29 -05004428 output.WriteInt32(63, field_names[26], Field63);
csharptest27bfcc52011-06-02 12:04:06 -05004429 }
csharptestc671a4b2011-06-08 11:51:24 -05004430 if (hasField71) {
csharptest920b09a2011-06-08 20:13:29 -05004431 output.WriteInt32(71, field_names[27], Field71);
csharptest27bfcc52011-06-02 12:04:06 -05004432 }
csharptestc671a4b2011-06-08 11:51:24 -05004433 if (hasField75) {
csharptest920b09a2011-06-08 20:13:29 -05004434 output.WriteBool(75, field_names[28], Field75);
csharptest27bfcc52011-06-02 12:04:06 -05004435 }
csharptestc671a4b2011-06-08 11:51:24 -05004436 if (hasField109) {
csharptest920b09a2011-06-08 20:13:29 -05004437 output.WriteInt32(109, field_names[1], Field109);
csharptest27bfcc52011-06-02 12:04:06 -05004438 }
4439 if (field127_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05004440 output.WriteStringArray(127, field_names[2], field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004441 }
4442 if (field128_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05004443 output.WriteStringArray(128, field_names[3], field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004444 }
csharptestc671a4b2011-06-08 11:51:24 -05004445 if (hasField129) {
csharptest920b09a2011-06-08 20:13:29 -05004446 output.WriteInt32(129, field_names[4], Field129);
csharptest27bfcc52011-06-02 12:04:06 -05004447 }
4448 if (field130_.Count > 0) {
csharptestb00ea132011-06-10 01:09:57 -05004449 output.WriteInt64Array(130, field_names[5], field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004450 }
csharptestc671a4b2011-06-08 11:51:24 -05004451 if (hasField131) {
csharptest920b09a2011-06-08 20:13:29 -05004452 output.WriteInt64(131, field_names[6], Field131);
csharptest27bfcc52011-06-02 12:04:06 -05004453 }
csharptestc671a4b2011-06-08 11:51:24 -05004454 if (hasField205) {
csharptest920b09a2011-06-08 20:13:29 -05004455 output.WriteBool(205, field_names[8], Field205);
csharptest27bfcc52011-06-02 12:04:06 -05004456 }
csharptestc671a4b2011-06-08 11:51:24 -05004457 if (hasField206) {
csharptest920b09a2011-06-08 20:13:29 -05004458 output.WriteBool(206, field_names[9], Field206);
csharptest27bfcc52011-06-02 12:04:06 -05004459 }
csharptestc671a4b2011-06-08 11:51:24 -05004460 if (hasField210) {
csharptest920b09a2011-06-08 20:13:29 -05004461 output.WriteInt32(210, field_names[11], Field210);
csharptest27bfcc52011-06-02 12:04:06 -05004462 }
csharptestc671a4b2011-06-08 11:51:24 -05004463 if (hasField211) {
csharptest920b09a2011-06-08 20:13:29 -05004464 output.WriteInt32(211, field_names[12], Field211);
csharptest27bfcc52011-06-02 12:04:06 -05004465 }
csharptestc671a4b2011-06-08 11:51:24 -05004466 if (hasField212) {
csharptest920b09a2011-06-08 20:13:29 -05004467 output.WriteInt32(212, field_names[13], Field212);
csharptest27bfcc52011-06-02 12:04:06 -05004468 }
csharptestc671a4b2011-06-08 11:51:24 -05004469 if (hasField213) {
csharptest920b09a2011-06-08 20:13:29 -05004470 output.WriteInt32(213, field_names[14], Field213);
csharptest27bfcc52011-06-02 12:04:06 -05004471 }
csharptestc671a4b2011-06-08 11:51:24 -05004472 if (hasField216) {
csharptest920b09a2011-06-08 20:13:29 -05004473 output.WriteInt32(216, field_names[15], Field216);
csharptest27bfcc52011-06-02 12:04:06 -05004474 }
csharptestc671a4b2011-06-08 11:51:24 -05004475 if (hasField217) {
csharptest920b09a2011-06-08 20:13:29 -05004476 output.WriteInt32(217, field_names[16], Field217);
csharptest27bfcc52011-06-02 12:04:06 -05004477 }
csharptestc671a4b2011-06-08 11:51:24 -05004478 if (hasField218) {
csharptest920b09a2011-06-08 20:13:29 -05004479 output.WriteInt32(218, field_names[17], Field218);
csharptest27bfcc52011-06-02 12:04:06 -05004480 }
csharptestc671a4b2011-06-08 11:51:24 -05004481 if (hasField220) {
csharptest920b09a2011-06-08 20:13:29 -05004482 output.WriteInt32(220, field_names[18], Field220);
csharptest27bfcc52011-06-02 12:04:06 -05004483 }
csharptestc671a4b2011-06-08 11:51:24 -05004484 if (hasField221) {
csharptest920b09a2011-06-08 20:13:29 -05004485 output.WriteInt32(221, field_names[19], Field221);
csharptest27bfcc52011-06-02 12:04:06 -05004486 }
csharptestc671a4b2011-06-08 11:51:24 -05004487 if (hasField222) {
csharptest920b09a2011-06-08 20:13:29 -05004488 output.WriteFloat(222, field_names[20], Field222);
csharptest27bfcc52011-06-02 12:04:06 -05004489 }
4490 UnknownFields.WriteTo(output);
4491 }
4492
4493 private int memoizedSerializedSize = -1;
4494 public override int SerializedSize {
4495 get {
4496 int size = memoizedSerializedSize;
4497 if (size != -1) return size;
4498
4499 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05004500 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -05004501 size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
4502 }
csharptestc671a4b2011-06-08 11:51:24 -05004503 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -05004504 size += pb::CodedOutputStream.ComputeInt64Size(3, Field3);
4505 }
csharptestc671a4b2011-06-08 11:51:24 -05004506 if (hasField4) {
csharptest27bfcc52011-06-02 12:04:06 -05004507 size += pb::CodedOutputStream.ComputeInt64Size(4, Field4);
4508 }
csharptestc671a4b2011-06-08 11:51:24 -05004509 if (hasField30) {
csharptest27bfcc52011-06-02 12:04:06 -05004510 size += pb::CodedOutputStream.ComputeInt64Size(30, Field30);
4511 }
csharptestc671a4b2011-06-08 11:51:24 -05004512 if (hasField75) {
csharptest27bfcc52011-06-02 12:04:06 -05004513 size += pb::CodedOutputStream.ComputeBoolSize(75, Field75);
4514 }
csharptestc671a4b2011-06-08 11:51:24 -05004515 if (hasField6) {
csharptest27bfcc52011-06-02 12:04:06 -05004516 size += pb::CodedOutputStream.ComputeStringSize(6, Field6);
4517 }
csharptestc671a4b2011-06-08 11:51:24 -05004518 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -05004519 size += pb::CodedOutputStream.ComputeBytesSize(2, Field2);
4520 }
csharptestc671a4b2011-06-08 11:51:24 -05004521 if (hasField21) {
csharptest27bfcc52011-06-02 12:04:06 -05004522 size += pb::CodedOutputStream.ComputeInt32Size(21, Field21);
4523 }
csharptestc671a4b2011-06-08 11:51:24 -05004524 if (hasField71) {
csharptest27bfcc52011-06-02 12:04:06 -05004525 size += pb::CodedOutputStream.ComputeInt32Size(71, Field71);
4526 }
csharptestc671a4b2011-06-08 11:51:24 -05004527 if (hasField25) {
csharptest27bfcc52011-06-02 12:04:06 -05004528 size += pb::CodedOutputStream.ComputeFloatSize(25, Field25);
4529 }
csharptestc671a4b2011-06-08 11:51:24 -05004530 if (hasField109) {
csharptest27bfcc52011-06-02 12:04:06 -05004531 size += pb::CodedOutputStream.ComputeInt32Size(109, Field109);
4532 }
csharptestc671a4b2011-06-08 11:51:24 -05004533 if (hasField210) {
csharptest27bfcc52011-06-02 12:04:06 -05004534 size += pb::CodedOutputStream.ComputeInt32Size(210, Field210);
4535 }
csharptestc671a4b2011-06-08 11:51:24 -05004536 if (hasField211) {
csharptest27bfcc52011-06-02 12:04:06 -05004537 size += pb::CodedOutputStream.ComputeInt32Size(211, Field211);
4538 }
csharptestc671a4b2011-06-08 11:51:24 -05004539 if (hasField212) {
csharptest27bfcc52011-06-02 12:04:06 -05004540 size += pb::CodedOutputStream.ComputeInt32Size(212, Field212);
4541 }
csharptestc671a4b2011-06-08 11:51:24 -05004542 if (hasField213) {
csharptest27bfcc52011-06-02 12:04:06 -05004543 size += pb::CodedOutputStream.ComputeInt32Size(213, Field213);
4544 }
csharptestc671a4b2011-06-08 11:51:24 -05004545 if (hasField216) {
csharptest27bfcc52011-06-02 12:04:06 -05004546 size += pb::CodedOutputStream.ComputeInt32Size(216, Field216);
4547 }
csharptestc671a4b2011-06-08 11:51:24 -05004548 if (hasField217) {
csharptest27bfcc52011-06-02 12:04:06 -05004549 size += pb::CodedOutputStream.ComputeInt32Size(217, Field217);
4550 }
csharptestc671a4b2011-06-08 11:51:24 -05004551 if (hasField218) {
csharptest27bfcc52011-06-02 12:04:06 -05004552 size += pb::CodedOutputStream.ComputeInt32Size(218, Field218);
4553 }
csharptestc671a4b2011-06-08 11:51:24 -05004554 if (hasField220) {
csharptest27bfcc52011-06-02 12:04:06 -05004555 size += pb::CodedOutputStream.ComputeInt32Size(220, Field220);
4556 }
csharptestc671a4b2011-06-08 11:51:24 -05004557 if (hasField221) {
csharptest27bfcc52011-06-02 12:04:06 -05004558 size += pb::CodedOutputStream.ComputeInt32Size(221, Field221);
4559 }
csharptestc671a4b2011-06-08 11:51:24 -05004560 if (hasField222) {
csharptest27bfcc52011-06-02 12:04:06 -05004561 size += pb::CodedOutputStream.ComputeFloatSize(222, Field222);
4562 }
csharptestc671a4b2011-06-08 11:51:24 -05004563 if (hasField63) {
csharptest27bfcc52011-06-02 12:04:06 -05004564 size += pb::CodedOutputStream.ComputeInt32Size(63, Field63);
4565 }
4566 foreach (global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 element in Group1List) {
4567 size += pb::CodedOutputStream.ComputeGroupSize(10, element);
4568 }
4569 {
4570 int dataSize = 0;
4571 foreach (string element in Field128List) {
4572 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4573 }
4574 size += dataSize;
4575 size += 2 * field128_.Count;
4576 }
csharptestc671a4b2011-06-08 11:51:24 -05004577 if (hasField131) {
csharptest27bfcc52011-06-02 12:04:06 -05004578 size += pb::CodedOutputStream.ComputeInt64Size(131, Field131);
4579 }
4580 {
4581 int dataSize = 0;
4582 foreach (string element in Field127List) {
4583 dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
4584 }
4585 size += dataSize;
4586 size += 2 * field127_.Count;
4587 }
csharptestc671a4b2011-06-08 11:51:24 -05004588 if (hasField129) {
csharptest27bfcc52011-06-02 12:04:06 -05004589 size += pb::CodedOutputStream.ComputeInt32Size(129, Field129);
4590 }
4591 {
4592 int dataSize = 0;
4593 foreach (long element in Field130List) {
4594 dataSize += pb::CodedOutputStream.ComputeInt64SizeNoTag(element);
4595 }
4596 size += dataSize;
4597 size += 2 * field130_.Count;
4598 }
csharptestc671a4b2011-06-08 11:51:24 -05004599 if (hasField205) {
csharptest27bfcc52011-06-02 12:04:06 -05004600 size += pb::CodedOutputStream.ComputeBoolSize(205, Field205);
4601 }
csharptestc671a4b2011-06-08 11:51:24 -05004602 if (hasField206) {
csharptest27bfcc52011-06-02 12:04:06 -05004603 size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
4604 }
4605 size += UnknownFields.SerializedSize;
4606 memoizedSerializedSize = size;
4607 return size;
4608 }
4609 }
4610
4611 public static SpeedMessage2 ParseFrom(pb::ByteString data) {
4612 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4613 }
4614 public static SpeedMessage2 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
4615 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4616 }
4617 public static SpeedMessage2 ParseFrom(byte[] data) {
4618 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
4619 }
4620 public static SpeedMessage2 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
4621 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
4622 }
4623 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input) {
4624 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4625 }
4626 public static SpeedMessage2 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4627 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4628 }
4629 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input) {
4630 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
4631 }
4632 public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
4633 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
4634 }
csharptest17699c22011-06-03 21:57:15 -05004635 public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05004636 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
4637 }
csharptest17699c22011-06-03 21:57:15 -05004638 public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05004639 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
4640 }
4641 public static Builder CreateBuilder() { return new Builder(); }
4642 public override Builder ToBuilder() { return CreateBuilder(this); }
4643 public override Builder CreateBuilderForType() { return new Builder(); }
4644 public static Builder CreateBuilder(SpeedMessage2 prototype) {
4645 return (Builder) new Builder().MergeFrom(prototype);
4646 }
4647
4648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4649 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
4650 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
4651 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2, Builder> {
4652 protected override Builder ThisBuilder {
4653 get { return this; }
4654 }
4655 public Builder() {}
4656
4657 SpeedMessage2 result = new SpeedMessage2();
4658
4659 protected override SpeedMessage2 MessageBeingBuilt {
4660 get { return result; }
4661 }
4662
4663 public override Builder Clear() {
4664 result = new SpeedMessage2();
4665 return this;
4666 }
4667
4668 public override Builder Clone() {
4669 return new Builder().MergeFrom(result);
4670 }
4671
4672 public override pbd::MessageDescriptor DescriptorForType {
4673 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Descriptor; }
4674 }
4675
4676 public override SpeedMessage2 DefaultInstanceForType {
4677 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance; }
4678 }
4679
4680 public override SpeedMessage2 BuildPartial() {
4681 if (result == null) {
4682 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
4683 }
4684 result.group1_.MakeReadOnly();
4685 result.field128_.MakeReadOnly();
4686 result.field127_.MakeReadOnly();
4687 result.field130_.MakeReadOnly();
4688 SpeedMessage2 returnMe = result;
4689 result = null;
4690 return returnMe;
4691 }
4692
4693 public override Builder MergeFrom(pb::IMessage other) {
4694 if (other is SpeedMessage2) {
4695 return MergeFrom((SpeedMessage2) other);
4696 } else {
4697 base.MergeFrom(other);
4698 return this;
4699 }
4700 }
4701
4702 public override Builder MergeFrom(SpeedMessage2 other) {
4703 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance) return this;
4704 if (other.HasField1) {
4705 Field1 = other.Field1;
4706 }
4707 if (other.HasField3) {
4708 Field3 = other.Field3;
4709 }
4710 if (other.HasField4) {
4711 Field4 = other.Field4;
4712 }
4713 if (other.HasField30) {
4714 Field30 = other.Field30;
4715 }
4716 if (other.HasField75) {
4717 Field75 = other.Field75;
4718 }
4719 if (other.HasField6) {
4720 Field6 = other.Field6;
4721 }
4722 if (other.HasField2) {
4723 Field2 = other.Field2;
4724 }
4725 if (other.HasField21) {
4726 Field21 = other.Field21;
4727 }
4728 if (other.HasField71) {
4729 Field71 = other.Field71;
4730 }
4731 if (other.HasField25) {
4732 Field25 = other.Field25;
4733 }
4734 if (other.HasField109) {
4735 Field109 = other.Field109;
4736 }
4737 if (other.HasField210) {
4738 Field210 = other.Field210;
4739 }
4740 if (other.HasField211) {
4741 Field211 = other.Field211;
4742 }
4743 if (other.HasField212) {
4744 Field212 = other.Field212;
4745 }
4746 if (other.HasField213) {
4747 Field213 = other.Field213;
4748 }
4749 if (other.HasField216) {
4750 Field216 = other.Field216;
4751 }
4752 if (other.HasField217) {
4753 Field217 = other.Field217;
4754 }
4755 if (other.HasField218) {
4756 Field218 = other.Field218;
4757 }
4758 if (other.HasField220) {
4759 Field220 = other.Field220;
4760 }
4761 if (other.HasField221) {
4762 Field221 = other.Field221;
4763 }
4764 if (other.HasField222) {
4765 Field222 = other.Field222;
4766 }
4767 if (other.HasField63) {
4768 Field63 = other.Field63;
4769 }
4770 if (other.group1_.Count != 0) {
csharptest4ecebd82011-09-16 12:21:00 -05004771 result.group1_.Add(other.group1_);
csharptest27bfcc52011-06-02 12:04:06 -05004772 }
4773 if (other.field128_.Count != 0) {
csharptest4ecebd82011-09-16 12:21:00 -05004774 result.field128_.Add(other.field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004775 }
4776 if (other.HasField131) {
4777 Field131 = other.Field131;
4778 }
4779 if (other.field127_.Count != 0) {
csharptest4ecebd82011-09-16 12:21:00 -05004780 result.field127_.Add(other.field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004781 }
4782 if (other.HasField129) {
4783 Field129 = other.Field129;
4784 }
4785 if (other.field130_.Count != 0) {
csharptest4ecebd82011-09-16 12:21:00 -05004786 result.field130_.Add(other.field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004787 }
4788 if (other.HasField205) {
4789 Field205 = other.Field205;
4790 }
4791 if (other.HasField206) {
4792 Field206 = other.Field206;
4793 }
4794 this.MergeUnknownFields(other.UnknownFields);
4795 return this;
4796 }
4797
csharptest17699c22011-06-03 21:57:15 -05004798 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05004799 return MergeFrom(input, pb::ExtensionRegistry.Empty);
4800 }
4801
csharptest17699c22011-06-03 21:57:15 -05004802 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05004803 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05004804 uint tag;
4805 string field_name;
4806 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05004807 if(tag == 0 && field_name != null) {
4808 int field_ordinal = global::System.Array.BinarySearch(_speedMessage2FieldNames, field_name, global::System.StringComparer.Ordinal);
4809 if(field_ordinal >= 0)
4810 tag = _speedMessage2FieldTags[field_ordinal];
4811 else {
4812 if (unknownFields == null) {
4813 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4814 }
4815 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
4816 continue;
4817 }
4818 }
csharptest27bfcc52011-06-02 12:04:06 -05004819 switch (tag) {
4820 case 0: {
csharptest99284412011-06-03 14:51:06 -05004821 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05004822 }
4823 default: {
4824 if (pb::WireFormat.IsEndGroupTag(tag)) {
4825 if (unknownFields != null) {
4826 this.UnknownFields = unknownFields.Build();
4827 }
4828 return this;
4829 }
4830 if (unknownFields == null) {
4831 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
4832 }
csharptestd2af9e92011-06-03 21:35:02 -05004833 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05004834 break;
4835 }
4836 case 10: {
csharptest920b09a2011-06-08 20:13:29 -05004837 result.hasField1 = input.ReadString(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05004838 break;
4839 }
4840 case 18: {
csharptest920b09a2011-06-08 20:13:29 -05004841 result.hasField2 = input.ReadBytes(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05004842 break;
4843 }
4844 case 24: {
csharptest920b09a2011-06-08 20:13:29 -05004845 result.hasField3 = input.ReadInt64(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05004846 break;
4847 }
4848 case 32: {
csharptest920b09a2011-06-08 20:13:29 -05004849 result.hasField4 = input.ReadInt64(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05004850 break;
4851 }
4852 case 50: {
csharptest920b09a2011-06-08 20:13:29 -05004853 result.hasField6 = input.ReadString(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05004854 break;
4855 }
4856 case 83: {
csharptestd2af9e92011-06-03 21:35:02 -05004857 input.ReadGroupArray(tag, field_name, result.group1_, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance, extensionRegistry);
csharptest27bfcc52011-06-02 12:04:06 -05004858 break;
4859 }
4860 case 168: {
csharptest920b09a2011-06-08 20:13:29 -05004861 result.hasField21 = input.ReadInt32(ref result.field21_);
csharptest27bfcc52011-06-02 12:04:06 -05004862 break;
4863 }
4864 case 205: {
csharptest920b09a2011-06-08 20:13:29 -05004865 result.hasField25 = input.ReadFloat(ref result.field25_);
csharptest27bfcc52011-06-02 12:04:06 -05004866 break;
4867 }
4868 case 240: {
csharptest920b09a2011-06-08 20:13:29 -05004869 result.hasField30 = input.ReadInt64(ref result.field30_);
csharptest27bfcc52011-06-02 12:04:06 -05004870 break;
4871 }
4872 case 504: {
csharptest920b09a2011-06-08 20:13:29 -05004873 result.hasField63 = input.ReadInt32(ref result.field63_);
csharptest27bfcc52011-06-02 12:04:06 -05004874 break;
4875 }
4876 case 568: {
csharptest920b09a2011-06-08 20:13:29 -05004877 result.hasField71 = input.ReadInt32(ref result.field71_);
csharptest27bfcc52011-06-02 12:04:06 -05004878 break;
4879 }
4880 case 600: {
csharptest920b09a2011-06-08 20:13:29 -05004881 result.hasField75 = input.ReadBool(ref result.field75_);
csharptest27bfcc52011-06-02 12:04:06 -05004882 break;
4883 }
4884 case 872: {
csharptest920b09a2011-06-08 20:13:29 -05004885 result.hasField109 = input.ReadInt32(ref result.field109_);
csharptest27bfcc52011-06-02 12:04:06 -05004886 break;
4887 }
4888 case 1018: {
csharptestb00ea132011-06-10 01:09:57 -05004889 input.ReadStringArray(tag, field_name, result.field127_);
csharptest27bfcc52011-06-02 12:04:06 -05004890 break;
4891 }
4892 case 1026: {
csharptestb00ea132011-06-10 01:09:57 -05004893 input.ReadStringArray(tag, field_name, result.field128_);
csharptest27bfcc52011-06-02 12:04:06 -05004894 break;
4895 }
4896 case 1032: {
csharptest920b09a2011-06-08 20:13:29 -05004897 result.hasField129 = input.ReadInt32(ref result.field129_);
csharptest27bfcc52011-06-02 12:04:06 -05004898 break;
4899 }
csharptest6da31702011-06-04 12:52:57 -05004900 case 1042:
csharptest27bfcc52011-06-02 12:04:06 -05004901 case 1040: {
csharptestb00ea132011-06-10 01:09:57 -05004902 input.ReadInt64Array(tag, field_name, result.field130_);
csharptest27bfcc52011-06-02 12:04:06 -05004903 break;
4904 }
4905 case 1048: {
csharptest920b09a2011-06-08 20:13:29 -05004906 result.hasField131 = input.ReadInt64(ref result.field131_);
csharptest27bfcc52011-06-02 12:04:06 -05004907 break;
4908 }
4909 case 1640: {
csharptest920b09a2011-06-08 20:13:29 -05004910 result.hasField205 = input.ReadBool(ref result.field205_);
csharptest27bfcc52011-06-02 12:04:06 -05004911 break;
4912 }
4913 case 1648: {
csharptest920b09a2011-06-08 20:13:29 -05004914 result.hasField206 = input.ReadBool(ref result.field206_);
csharptest27bfcc52011-06-02 12:04:06 -05004915 break;
4916 }
4917 case 1680: {
csharptest920b09a2011-06-08 20:13:29 -05004918 result.hasField210 = input.ReadInt32(ref result.field210_);
csharptest27bfcc52011-06-02 12:04:06 -05004919 break;
4920 }
4921 case 1688: {
csharptest920b09a2011-06-08 20:13:29 -05004922 result.hasField211 = input.ReadInt32(ref result.field211_);
csharptest27bfcc52011-06-02 12:04:06 -05004923 break;
4924 }
4925 case 1696: {
csharptest920b09a2011-06-08 20:13:29 -05004926 result.hasField212 = input.ReadInt32(ref result.field212_);
csharptest27bfcc52011-06-02 12:04:06 -05004927 break;
4928 }
4929 case 1704: {
csharptest920b09a2011-06-08 20:13:29 -05004930 result.hasField213 = input.ReadInt32(ref result.field213_);
csharptest27bfcc52011-06-02 12:04:06 -05004931 break;
4932 }
4933 case 1728: {
csharptest920b09a2011-06-08 20:13:29 -05004934 result.hasField216 = input.ReadInt32(ref result.field216_);
csharptest27bfcc52011-06-02 12:04:06 -05004935 break;
4936 }
4937 case 1736: {
csharptest920b09a2011-06-08 20:13:29 -05004938 result.hasField217 = input.ReadInt32(ref result.field217_);
csharptest27bfcc52011-06-02 12:04:06 -05004939 break;
4940 }
4941 case 1744: {
csharptest920b09a2011-06-08 20:13:29 -05004942 result.hasField218 = input.ReadInt32(ref result.field218_);
csharptest27bfcc52011-06-02 12:04:06 -05004943 break;
4944 }
4945 case 1760: {
csharptest920b09a2011-06-08 20:13:29 -05004946 result.hasField220 = input.ReadInt32(ref result.field220_);
csharptest27bfcc52011-06-02 12:04:06 -05004947 break;
4948 }
4949 case 1768: {
csharptest920b09a2011-06-08 20:13:29 -05004950 result.hasField221 = input.ReadInt32(ref result.field221_);
csharptest27bfcc52011-06-02 12:04:06 -05004951 break;
4952 }
4953 case 1781: {
csharptest920b09a2011-06-08 20:13:29 -05004954 result.hasField222 = input.ReadFloat(ref result.field222_);
csharptest27bfcc52011-06-02 12:04:06 -05004955 break;
4956 }
4957 }
4958 }
csharptest123e5342011-06-03 14:15:21 -05004959
4960 if (unknownFields != null) {
4961 this.UnknownFields = unknownFields.Build();
4962 }
4963 return this;
csharptest27bfcc52011-06-02 12:04:06 -05004964 }
4965
4966
4967 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05004968 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05004969 }
4970 public string Field1 {
4971 get { return result.Field1; }
4972 set { SetField1(value); }
4973 }
4974 public Builder SetField1(string value) {
4975 pb::ThrowHelper.ThrowIfNull(value, "value");
4976 result.hasField1 = true;
4977 result.field1_ = value;
4978 return this;
4979 }
4980 public Builder ClearField1() {
4981 result.hasField1 = false;
4982 result.field1_ = "";
4983 return this;
4984 }
4985
4986 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05004987 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05004988 }
4989 public long Field3 {
4990 get { return result.Field3; }
4991 set { SetField3(value); }
4992 }
4993 public Builder SetField3(long value) {
4994 result.hasField3 = true;
4995 result.field3_ = value;
4996 return this;
4997 }
4998 public Builder ClearField3() {
4999 result.hasField3 = false;
5000 result.field3_ = 0L;
5001 return this;
5002 }
5003
5004 public bool HasField4 {
csharptestc671a4b2011-06-08 11:51:24 -05005005 get { return result.hasField4; }
csharptest27bfcc52011-06-02 12:04:06 -05005006 }
5007 public long Field4 {
5008 get { return result.Field4; }
5009 set { SetField4(value); }
5010 }
5011 public Builder SetField4(long value) {
5012 result.hasField4 = true;
5013 result.field4_ = value;
5014 return this;
5015 }
5016 public Builder ClearField4() {
5017 result.hasField4 = false;
5018 result.field4_ = 0L;
5019 return this;
5020 }
5021
5022 public bool HasField30 {
csharptestc671a4b2011-06-08 11:51:24 -05005023 get { return result.hasField30; }
csharptest27bfcc52011-06-02 12:04:06 -05005024 }
5025 public long Field30 {
5026 get { return result.Field30; }
5027 set { SetField30(value); }
5028 }
5029 public Builder SetField30(long value) {
5030 result.hasField30 = true;
5031 result.field30_ = value;
5032 return this;
5033 }
5034 public Builder ClearField30() {
5035 result.hasField30 = false;
5036 result.field30_ = 0L;
5037 return this;
5038 }
5039
5040 public bool HasField75 {
csharptestc671a4b2011-06-08 11:51:24 -05005041 get { return result.hasField75; }
csharptest27bfcc52011-06-02 12:04:06 -05005042 }
5043 public bool Field75 {
5044 get { return result.Field75; }
5045 set { SetField75(value); }
5046 }
5047 public Builder SetField75(bool value) {
5048 result.hasField75 = true;
5049 result.field75_ = value;
5050 return this;
5051 }
5052 public Builder ClearField75() {
5053 result.hasField75 = false;
5054 result.field75_ = false;
5055 return this;
5056 }
5057
5058 public bool HasField6 {
csharptestc671a4b2011-06-08 11:51:24 -05005059 get { return result.hasField6; }
csharptest27bfcc52011-06-02 12:04:06 -05005060 }
5061 public string Field6 {
5062 get { return result.Field6; }
5063 set { SetField6(value); }
5064 }
5065 public Builder SetField6(string value) {
5066 pb::ThrowHelper.ThrowIfNull(value, "value");
5067 result.hasField6 = true;
5068 result.field6_ = value;
5069 return this;
5070 }
5071 public Builder ClearField6() {
5072 result.hasField6 = false;
5073 result.field6_ = "";
5074 return this;
5075 }
5076
5077 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05005078 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05005079 }
5080 public pb::ByteString Field2 {
5081 get { return result.Field2; }
5082 set { SetField2(value); }
5083 }
5084 public Builder SetField2(pb::ByteString value) {
5085 pb::ThrowHelper.ThrowIfNull(value, "value");
5086 result.hasField2 = true;
5087 result.field2_ = value;
5088 return this;
5089 }
5090 public Builder ClearField2() {
5091 result.hasField2 = false;
5092 result.field2_ = pb::ByteString.Empty;
5093 return this;
5094 }
5095
5096 public bool HasField21 {
csharptestc671a4b2011-06-08 11:51:24 -05005097 get { return result.hasField21; }
csharptest27bfcc52011-06-02 12:04:06 -05005098 }
5099 public int Field21 {
5100 get { return result.Field21; }
5101 set { SetField21(value); }
5102 }
5103 public Builder SetField21(int value) {
5104 result.hasField21 = true;
5105 result.field21_ = value;
5106 return this;
5107 }
5108 public Builder ClearField21() {
5109 result.hasField21 = false;
5110 result.field21_ = 0;
5111 return this;
5112 }
5113
5114 public bool HasField71 {
csharptestc671a4b2011-06-08 11:51:24 -05005115 get { return result.hasField71; }
csharptest27bfcc52011-06-02 12:04:06 -05005116 }
5117 public int Field71 {
5118 get { return result.Field71; }
5119 set { SetField71(value); }
5120 }
5121 public Builder SetField71(int value) {
5122 result.hasField71 = true;
5123 result.field71_ = value;
5124 return this;
5125 }
5126 public Builder ClearField71() {
5127 result.hasField71 = false;
5128 result.field71_ = 0;
5129 return this;
5130 }
5131
5132 public bool HasField25 {
csharptestc671a4b2011-06-08 11:51:24 -05005133 get { return result.hasField25; }
csharptest27bfcc52011-06-02 12:04:06 -05005134 }
5135 public float Field25 {
5136 get { return result.Field25; }
5137 set { SetField25(value); }
5138 }
5139 public Builder SetField25(float value) {
5140 result.hasField25 = true;
5141 result.field25_ = value;
5142 return this;
5143 }
5144 public Builder ClearField25() {
5145 result.hasField25 = false;
5146 result.field25_ = 0F;
5147 return this;
5148 }
5149
5150 public bool HasField109 {
csharptestc671a4b2011-06-08 11:51:24 -05005151 get { return result.hasField109; }
csharptest27bfcc52011-06-02 12:04:06 -05005152 }
5153 public int Field109 {
5154 get { return result.Field109; }
5155 set { SetField109(value); }
5156 }
5157 public Builder SetField109(int value) {
5158 result.hasField109 = true;
5159 result.field109_ = value;
5160 return this;
5161 }
5162 public Builder ClearField109() {
5163 result.hasField109 = false;
5164 result.field109_ = 0;
5165 return this;
5166 }
5167
5168 public bool HasField210 {
csharptestc671a4b2011-06-08 11:51:24 -05005169 get { return result.hasField210; }
csharptest27bfcc52011-06-02 12:04:06 -05005170 }
5171 public int Field210 {
5172 get { return result.Field210; }
5173 set { SetField210(value); }
5174 }
5175 public Builder SetField210(int value) {
5176 result.hasField210 = true;
5177 result.field210_ = value;
5178 return this;
5179 }
5180 public Builder ClearField210() {
5181 result.hasField210 = false;
5182 result.field210_ = 0;
5183 return this;
5184 }
5185
5186 public bool HasField211 {
csharptestc671a4b2011-06-08 11:51:24 -05005187 get { return result.hasField211; }
csharptest27bfcc52011-06-02 12:04:06 -05005188 }
5189 public int Field211 {
5190 get { return result.Field211; }
5191 set { SetField211(value); }
5192 }
5193 public Builder SetField211(int value) {
5194 result.hasField211 = true;
5195 result.field211_ = value;
5196 return this;
5197 }
5198 public Builder ClearField211() {
5199 result.hasField211 = false;
5200 result.field211_ = 0;
5201 return this;
5202 }
5203
5204 public bool HasField212 {
csharptestc671a4b2011-06-08 11:51:24 -05005205 get { return result.hasField212; }
csharptest27bfcc52011-06-02 12:04:06 -05005206 }
5207 public int Field212 {
5208 get { return result.Field212; }
5209 set { SetField212(value); }
5210 }
5211 public Builder SetField212(int value) {
5212 result.hasField212 = true;
5213 result.field212_ = value;
5214 return this;
5215 }
5216 public Builder ClearField212() {
5217 result.hasField212 = false;
5218 result.field212_ = 0;
5219 return this;
5220 }
5221
5222 public bool HasField213 {
csharptestc671a4b2011-06-08 11:51:24 -05005223 get { return result.hasField213; }
csharptest27bfcc52011-06-02 12:04:06 -05005224 }
5225 public int Field213 {
5226 get { return result.Field213; }
5227 set { SetField213(value); }
5228 }
5229 public Builder SetField213(int value) {
5230 result.hasField213 = true;
5231 result.field213_ = value;
5232 return this;
5233 }
5234 public Builder ClearField213() {
5235 result.hasField213 = false;
5236 result.field213_ = 0;
5237 return this;
5238 }
5239
5240 public bool HasField216 {
csharptestc671a4b2011-06-08 11:51:24 -05005241 get { return result.hasField216; }
csharptest27bfcc52011-06-02 12:04:06 -05005242 }
5243 public int Field216 {
5244 get { return result.Field216; }
5245 set { SetField216(value); }
5246 }
5247 public Builder SetField216(int value) {
5248 result.hasField216 = true;
5249 result.field216_ = value;
5250 return this;
5251 }
5252 public Builder ClearField216() {
5253 result.hasField216 = false;
5254 result.field216_ = 0;
5255 return this;
5256 }
5257
5258 public bool HasField217 {
csharptestc671a4b2011-06-08 11:51:24 -05005259 get { return result.hasField217; }
csharptest27bfcc52011-06-02 12:04:06 -05005260 }
5261 public int Field217 {
5262 get { return result.Field217; }
5263 set { SetField217(value); }
5264 }
5265 public Builder SetField217(int value) {
5266 result.hasField217 = true;
5267 result.field217_ = value;
5268 return this;
5269 }
5270 public Builder ClearField217() {
5271 result.hasField217 = false;
5272 result.field217_ = 0;
5273 return this;
5274 }
5275
5276 public bool HasField218 {
csharptestc671a4b2011-06-08 11:51:24 -05005277 get { return result.hasField218; }
csharptest27bfcc52011-06-02 12:04:06 -05005278 }
5279 public int Field218 {
5280 get { return result.Field218; }
5281 set { SetField218(value); }
5282 }
5283 public Builder SetField218(int value) {
5284 result.hasField218 = true;
5285 result.field218_ = value;
5286 return this;
5287 }
5288 public Builder ClearField218() {
5289 result.hasField218 = false;
5290 result.field218_ = 0;
5291 return this;
5292 }
5293
5294 public bool HasField220 {
csharptestc671a4b2011-06-08 11:51:24 -05005295 get { return result.hasField220; }
csharptest27bfcc52011-06-02 12:04:06 -05005296 }
5297 public int Field220 {
5298 get { return result.Field220; }
5299 set { SetField220(value); }
5300 }
5301 public Builder SetField220(int value) {
5302 result.hasField220 = true;
5303 result.field220_ = value;
5304 return this;
5305 }
5306 public Builder ClearField220() {
5307 result.hasField220 = false;
5308 result.field220_ = 0;
5309 return this;
5310 }
5311
5312 public bool HasField221 {
csharptestc671a4b2011-06-08 11:51:24 -05005313 get { return result.hasField221; }
csharptest27bfcc52011-06-02 12:04:06 -05005314 }
5315 public int Field221 {
5316 get { return result.Field221; }
5317 set { SetField221(value); }
5318 }
5319 public Builder SetField221(int value) {
5320 result.hasField221 = true;
5321 result.field221_ = value;
5322 return this;
5323 }
5324 public Builder ClearField221() {
5325 result.hasField221 = false;
5326 result.field221_ = 0;
5327 return this;
5328 }
5329
5330 public bool HasField222 {
csharptestc671a4b2011-06-08 11:51:24 -05005331 get { return result.hasField222; }
csharptest27bfcc52011-06-02 12:04:06 -05005332 }
5333 public float Field222 {
5334 get { return result.Field222; }
5335 set { SetField222(value); }
5336 }
5337 public Builder SetField222(float value) {
5338 result.hasField222 = true;
5339 result.field222_ = value;
5340 return this;
5341 }
5342 public Builder ClearField222() {
5343 result.hasField222 = false;
5344 result.field222_ = 0F;
5345 return this;
5346 }
5347
5348 public bool HasField63 {
csharptestc671a4b2011-06-08 11:51:24 -05005349 get { return result.hasField63; }
csharptest27bfcc52011-06-02 12:04:06 -05005350 }
5351 public int Field63 {
5352 get { return result.Field63; }
5353 set { SetField63(value); }
5354 }
5355 public Builder SetField63(int value) {
5356 result.hasField63 = true;
5357 result.field63_ = value;
5358 return this;
5359 }
5360 public Builder ClearField63() {
5361 result.hasField63 = false;
5362 result.field63_ = 0;
5363 return this;
5364 }
5365
5366 public pbc::IPopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
5367 get { return result.group1_; }
5368 }
5369 public int Group1Count {
5370 get { return result.Group1Count; }
5371 }
5372 public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
5373 return result.GetGroup1(index);
5374 }
5375 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5376 pb::ThrowHelper.ThrowIfNull(value, "value");
5377 result.group1_[index] = value;
5378 return this;
5379 }
5380 public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5381 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5382 result.group1_[index] = builderForValue.Build();
5383 return this;
5384 }
5385 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
5386 pb::ThrowHelper.ThrowIfNull(value, "value");
5387 result.group1_.Add(value);
5388 return this;
5389 }
5390 public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
5391 pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
5392 result.group1_.Add(builderForValue.Build());
5393 return this;
5394 }
5395 public Builder AddRangeGroup1(scg::IEnumerable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> values) {
csharptest4ecebd82011-09-16 12:21:00 -05005396 result.group1_.Add(values);
csharptest27bfcc52011-06-02 12:04:06 -05005397 return this;
5398 }
5399 public Builder ClearGroup1() {
5400 result.group1_.Clear();
5401 return this;
5402 }
5403
5404 public pbc::IPopsicleList<string> Field128List {
5405 get { return result.field128_; }
5406 }
5407 public int Field128Count {
5408 get { return result.Field128Count; }
5409 }
5410 public string GetField128(int index) {
5411 return result.GetField128(index);
5412 }
5413 public Builder SetField128(int index, string value) {
5414 pb::ThrowHelper.ThrowIfNull(value, "value");
5415 result.field128_[index] = value;
5416 return this;
5417 }
5418 public Builder AddField128(string value) {
5419 pb::ThrowHelper.ThrowIfNull(value, "value");
5420 result.field128_.Add(value);
5421 return this;
5422 }
5423 public Builder AddRangeField128(scg::IEnumerable<string> values) {
csharptest4ecebd82011-09-16 12:21:00 -05005424 result.field128_.Add(values);
csharptest27bfcc52011-06-02 12:04:06 -05005425 return this;
5426 }
5427 public Builder ClearField128() {
5428 result.field128_.Clear();
5429 return this;
5430 }
5431
5432 public bool HasField131 {
csharptestc671a4b2011-06-08 11:51:24 -05005433 get { return result.hasField131; }
csharptest27bfcc52011-06-02 12:04:06 -05005434 }
5435 public long Field131 {
5436 get { return result.Field131; }
5437 set { SetField131(value); }
5438 }
5439 public Builder SetField131(long value) {
5440 result.hasField131 = true;
5441 result.field131_ = value;
5442 return this;
5443 }
5444 public Builder ClearField131() {
5445 result.hasField131 = false;
5446 result.field131_ = 0L;
5447 return this;
5448 }
5449
5450 public pbc::IPopsicleList<string> Field127List {
5451 get { return result.field127_; }
5452 }
5453 public int Field127Count {
5454 get { return result.Field127Count; }
5455 }
5456 public string GetField127(int index) {
5457 return result.GetField127(index);
5458 }
5459 public Builder SetField127(int index, string value) {
5460 pb::ThrowHelper.ThrowIfNull(value, "value");
5461 result.field127_[index] = value;
5462 return this;
5463 }
5464 public Builder AddField127(string value) {
5465 pb::ThrowHelper.ThrowIfNull(value, "value");
5466 result.field127_.Add(value);
5467 return this;
5468 }
5469 public Builder AddRangeField127(scg::IEnumerable<string> values) {
csharptest4ecebd82011-09-16 12:21:00 -05005470 result.field127_.Add(values);
csharptest27bfcc52011-06-02 12:04:06 -05005471 return this;
5472 }
5473 public Builder ClearField127() {
5474 result.field127_.Clear();
5475 return this;
5476 }
5477
5478 public bool HasField129 {
csharptestc671a4b2011-06-08 11:51:24 -05005479 get { return result.hasField129; }
csharptest27bfcc52011-06-02 12:04:06 -05005480 }
5481 public int Field129 {
5482 get { return result.Field129; }
5483 set { SetField129(value); }
5484 }
5485 public Builder SetField129(int value) {
5486 result.hasField129 = true;
5487 result.field129_ = value;
5488 return this;
5489 }
5490 public Builder ClearField129() {
5491 result.hasField129 = false;
5492 result.field129_ = 0;
5493 return this;
5494 }
5495
5496 public pbc::IPopsicleList<long> Field130List {
5497 get { return result.field130_; }
5498 }
5499 public int Field130Count {
5500 get { return result.Field130Count; }
5501 }
5502 public long GetField130(int index) {
5503 return result.GetField130(index);
5504 }
5505 public Builder SetField130(int index, long value) {
5506 result.field130_[index] = value;
5507 return this;
5508 }
5509 public Builder AddField130(long value) {
5510 result.field130_.Add(value);
5511 return this;
5512 }
5513 public Builder AddRangeField130(scg::IEnumerable<long> values) {
csharptest4ecebd82011-09-16 12:21:00 -05005514 result.field130_.Add(values);
csharptest27bfcc52011-06-02 12:04:06 -05005515 return this;
5516 }
5517 public Builder ClearField130() {
5518 result.field130_.Clear();
5519 return this;
5520 }
5521
5522 public bool HasField205 {
csharptestc671a4b2011-06-08 11:51:24 -05005523 get { return result.hasField205; }
csharptest27bfcc52011-06-02 12:04:06 -05005524 }
5525 public bool Field205 {
5526 get { return result.Field205; }
5527 set { SetField205(value); }
5528 }
5529 public Builder SetField205(bool value) {
5530 result.hasField205 = true;
5531 result.field205_ = value;
5532 return this;
5533 }
5534 public Builder ClearField205() {
5535 result.hasField205 = false;
5536 result.field205_ = false;
5537 return this;
5538 }
5539
5540 public bool HasField206 {
csharptestc671a4b2011-06-08 11:51:24 -05005541 get { return result.hasField206; }
csharptest27bfcc52011-06-02 12:04:06 -05005542 }
5543 public bool Field206 {
5544 get { return result.Field206; }
5545 set { SetField206(value); }
5546 }
5547 public Builder SetField206(bool value) {
5548 result.hasField206 = true;
5549 result.field206_ = value;
5550 return this;
5551 }
5552 public Builder ClearField206() {
5553 result.hasField206 = false;
5554 result.field206_ = false;
5555 return this;
5556 }
5557 }
5558 static SpeedMessage2() {
5559 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
5560 }
5561 }
5562
5563 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5564 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5565 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5566 public sealed partial class SpeedMessage2GroupedMessage : pb::GeneratedMessage<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> {
csharptest17fb8f22011-09-23 11:36:39 -05005567 private SpeedMessage2GroupedMessage() { }
csharptest27bfcc52011-06-02 12:04:06 -05005568 private static readonly SpeedMessage2GroupedMessage defaultInstance = new Builder().BuildPartial();
csharptest920b09a2011-06-08 20:13:29 -05005569 private static readonly string[] _speedMessage2GroupedMessageFieldNames = new string[] { "field1", "field10", "field11", "field2", "field3", "field4", "field5", "field6", "field7", "field8", "field9" };
5570 private static readonly uint[] _speedMessage2GroupedMessageFieldTags = new uint[] { 13, 85, 88, 21, 29, 32, 40, 48, 56, 69, 72 };
csharptest27bfcc52011-06-02 12:04:06 -05005571 public static SpeedMessage2GroupedMessage DefaultInstance {
5572 get { return defaultInstance; }
5573 }
5574
5575 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5576 get { return defaultInstance; }
5577 }
5578
5579 protected override SpeedMessage2GroupedMessage ThisMessage {
5580 get { return this; }
5581 }
5582
5583 public static pbd::MessageDescriptor Descriptor {
5584 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor; }
5585 }
5586
5587 protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> InternalFieldAccessors {
5588 get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable; }
5589 }
5590
5591 public const int Field1FieldNumber = 1;
5592 private bool hasField1;
csharptestced18e12011-06-09 19:47:56 -05005593 private float field1_;
csharptest27bfcc52011-06-02 12:04:06 -05005594 public bool HasField1 {
5595 get { return hasField1; }
5596 }
5597 public float Field1 {
5598 get { return field1_; }
5599 }
5600
5601 public const int Field2FieldNumber = 2;
5602 private bool hasField2;
csharptestced18e12011-06-09 19:47:56 -05005603 private float field2_;
csharptest27bfcc52011-06-02 12:04:06 -05005604 public bool HasField2 {
5605 get { return hasField2; }
5606 }
5607 public float Field2 {
5608 get { return field2_; }
5609 }
5610
5611 public const int Field3FieldNumber = 3;
5612 private bool hasField3;
csharptestced18e12011-06-09 19:47:56 -05005613 private float field3_;
csharptest27bfcc52011-06-02 12:04:06 -05005614 public bool HasField3 {
5615 get { return hasField3; }
5616 }
5617 public float Field3 {
5618 get { return field3_; }
5619 }
5620
5621 public const int Field4FieldNumber = 4;
5622 private bool hasField4;
csharptestced18e12011-06-09 19:47:56 -05005623 private bool field4_;
csharptest27bfcc52011-06-02 12:04:06 -05005624 public bool HasField4 {
5625 get { return hasField4; }
5626 }
5627 public bool Field4 {
5628 get { return field4_; }
5629 }
5630
5631 public const int Field5FieldNumber = 5;
5632 private bool hasField5;
csharptestced18e12011-06-09 19:47:56 -05005633 private bool field5_;
csharptest27bfcc52011-06-02 12:04:06 -05005634 public bool HasField5 {
5635 get { return hasField5; }
5636 }
5637 public bool Field5 {
5638 get { return field5_; }
5639 }
5640
5641 public const int Field6FieldNumber = 6;
5642 private bool hasField6;
5643 private bool field6_ = true;
5644 public bool HasField6 {
5645 get { return hasField6; }
5646 }
5647 public bool Field6 {
5648 get { return field6_; }
5649 }
5650
5651 public const int Field7FieldNumber = 7;
5652 private bool hasField7;
csharptestced18e12011-06-09 19:47:56 -05005653 private bool field7_;
csharptest27bfcc52011-06-02 12:04:06 -05005654 public bool HasField7 {
5655 get { return hasField7; }
5656 }
5657 public bool Field7 {
5658 get { return field7_; }
5659 }
5660
5661 public const int Field8FieldNumber = 8;
5662 private bool hasField8;
csharptestced18e12011-06-09 19:47:56 -05005663 private float field8_;
csharptest27bfcc52011-06-02 12:04:06 -05005664 public bool HasField8 {
5665 get { return hasField8; }
5666 }
5667 public float Field8 {
5668 get { return field8_; }
5669 }
5670
5671 public const int Field9FieldNumber = 9;
5672 private bool hasField9;
csharptestced18e12011-06-09 19:47:56 -05005673 private bool field9_;
csharptest27bfcc52011-06-02 12:04:06 -05005674 public bool HasField9 {
5675 get { return hasField9; }
5676 }
5677 public bool Field9 {
5678 get { return field9_; }
5679 }
5680
5681 public const int Field10FieldNumber = 10;
5682 private bool hasField10;
csharptestced18e12011-06-09 19:47:56 -05005683 private float field10_;
csharptest27bfcc52011-06-02 12:04:06 -05005684 public bool HasField10 {
5685 get { return hasField10; }
5686 }
5687 public float Field10 {
5688 get { return field10_; }
5689 }
5690
5691 public const int Field11FieldNumber = 11;
5692 private bool hasField11;
csharptestced18e12011-06-09 19:47:56 -05005693 private long field11_;
csharptest27bfcc52011-06-02 12:04:06 -05005694 public bool HasField11 {
5695 get { return hasField11; }
5696 }
5697 public long Field11 {
5698 get { return field11_; }
5699 }
5700
5701 public override bool IsInitialized {
5702 get {
5703 return true;
5704 }
5705 }
5706
csharptestffafdaa2011-06-03 12:58:14 -05005707 public override void WriteTo(pb::ICodedOutputStream output) {
csharptest27bfcc52011-06-02 12:04:06 -05005708 int size = SerializedSize;
csharptest920b09a2011-06-08 20:13:29 -05005709 string[] field_names = _speedMessage2GroupedMessageFieldNames;
csharptestc671a4b2011-06-08 11:51:24 -05005710 if (hasField1) {
csharptest920b09a2011-06-08 20:13:29 -05005711 output.WriteFloat(1, field_names[0], Field1);
csharptest27bfcc52011-06-02 12:04:06 -05005712 }
csharptestc671a4b2011-06-08 11:51:24 -05005713 if (hasField2) {
csharptest920b09a2011-06-08 20:13:29 -05005714 output.WriteFloat(2, field_names[3], Field2);
csharptest27bfcc52011-06-02 12:04:06 -05005715 }
csharptestc671a4b2011-06-08 11:51:24 -05005716 if (hasField3) {
csharptest920b09a2011-06-08 20:13:29 -05005717 output.WriteFloat(3, field_names[4], Field3);
csharptest27bfcc52011-06-02 12:04:06 -05005718 }
csharptestc671a4b2011-06-08 11:51:24 -05005719 if (hasField4) {
csharptest920b09a2011-06-08 20:13:29 -05005720 output.WriteBool(4, field_names[5], Field4);
csharptest27bfcc52011-06-02 12:04:06 -05005721 }
csharptestc671a4b2011-06-08 11:51:24 -05005722 if (hasField5) {
csharptest920b09a2011-06-08 20:13:29 -05005723 output.WriteBool(5, field_names[6], Field5);
csharptest27bfcc52011-06-02 12:04:06 -05005724 }
csharptestc671a4b2011-06-08 11:51:24 -05005725 if (hasField6) {
csharptest920b09a2011-06-08 20:13:29 -05005726 output.WriteBool(6, field_names[7], Field6);
csharptest27bfcc52011-06-02 12:04:06 -05005727 }
csharptestc671a4b2011-06-08 11:51:24 -05005728 if (hasField7) {
csharptest920b09a2011-06-08 20:13:29 -05005729 output.WriteBool(7, field_names[8], Field7);
csharptest27bfcc52011-06-02 12:04:06 -05005730 }
csharptestc671a4b2011-06-08 11:51:24 -05005731 if (hasField8) {
csharptest920b09a2011-06-08 20:13:29 -05005732 output.WriteFloat(8, field_names[9], Field8);
csharptest27bfcc52011-06-02 12:04:06 -05005733 }
csharptestc671a4b2011-06-08 11:51:24 -05005734 if (hasField9) {
csharptest920b09a2011-06-08 20:13:29 -05005735 output.WriteBool(9, field_names[10], Field9);
csharptest27bfcc52011-06-02 12:04:06 -05005736 }
csharptestc671a4b2011-06-08 11:51:24 -05005737 if (hasField10) {
csharptest920b09a2011-06-08 20:13:29 -05005738 output.WriteFloat(10, field_names[1], Field10);
csharptest27bfcc52011-06-02 12:04:06 -05005739 }
csharptestc671a4b2011-06-08 11:51:24 -05005740 if (hasField11) {
csharptest920b09a2011-06-08 20:13:29 -05005741 output.WriteInt64(11, field_names[2], Field11);
csharptest27bfcc52011-06-02 12:04:06 -05005742 }
5743 UnknownFields.WriteTo(output);
5744 }
5745
5746 private int memoizedSerializedSize = -1;
5747 public override int SerializedSize {
5748 get {
5749 int size = memoizedSerializedSize;
5750 if (size != -1) return size;
5751
5752 size = 0;
csharptestc671a4b2011-06-08 11:51:24 -05005753 if (hasField1) {
csharptest27bfcc52011-06-02 12:04:06 -05005754 size += pb::CodedOutputStream.ComputeFloatSize(1, Field1);
5755 }
csharptestc671a4b2011-06-08 11:51:24 -05005756 if (hasField2) {
csharptest27bfcc52011-06-02 12:04:06 -05005757 size += pb::CodedOutputStream.ComputeFloatSize(2, Field2);
5758 }
csharptestc671a4b2011-06-08 11:51:24 -05005759 if (hasField3) {
csharptest27bfcc52011-06-02 12:04:06 -05005760 size += pb::CodedOutputStream.ComputeFloatSize(3, Field3);
5761 }
csharptestc671a4b2011-06-08 11:51:24 -05005762 if (hasField4) {
csharptest27bfcc52011-06-02 12:04:06 -05005763 size += pb::CodedOutputStream.ComputeBoolSize(4, Field4);
5764 }
csharptestc671a4b2011-06-08 11:51:24 -05005765 if (hasField5) {
csharptest27bfcc52011-06-02 12:04:06 -05005766 size += pb::CodedOutputStream.ComputeBoolSize(5, Field5);
5767 }
csharptestc671a4b2011-06-08 11:51:24 -05005768 if (hasField6) {
csharptest27bfcc52011-06-02 12:04:06 -05005769 size += pb::CodedOutputStream.ComputeBoolSize(6, Field6);
5770 }
csharptestc671a4b2011-06-08 11:51:24 -05005771 if (hasField7) {
csharptest27bfcc52011-06-02 12:04:06 -05005772 size += pb::CodedOutputStream.ComputeBoolSize(7, Field7);
5773 }
csharptestc671a4b2011-06-08 11:51:24 -05005774 if (hasField8) {
csharptest27bfcc52011-06-02 12:04:06 -05005775 size += pb::CodedOutputStream.ComputeFloatSize(8, Field8);
5776 }
csharptestc671a4b2011-06-08 11:51:24 -05005777 if (hasField9) {
csharptest27bfcc52011-06-02 12:04:06 -05005778 size += pb::CodedOutputStream.ComputeBoolSize(9, Field9);
5779 }
csharptestc671a4b2011-06-08 11:51:24 -05005780 if (hasField10) {
csharptest27bfcc52011-06-02 12:04:06 -05005781 size += pb::CodedOutputStream.ComputeFloatSize(10, Field10);
5782 }
csharptestc671a4b2011-06-08 11:51:24 -05005783 if (hasField11) {
csharptest27bfcc52011-06-02 12:04:06 -05005784 size += pb::CodedOutputStream.ComputeInt64Size(11, Field11);
5785 }
5786 size += UnknownFields.SerializedSize;
5787 memoizedSerializedSize = size;
5788 return size;
5789 }
5790 }
5791
5792 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data) {
5793 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5794 }
5795 public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
5796 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5797 }
5798 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data) {
5799 return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
5800 }
5801 public static SpeedMessage2GroupedMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
5802 return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
5803 }
5804 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input) {
5805 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5806 }
5807 public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5808 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5809 }
5810 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input) {
5811 return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
5812 }
5813 public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
5814 return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
5815 }
csharptest17699c22011-06-03 21:57:15 -05005816 public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05005817 return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
5818 }
csharptest17699c22011-06-03 21:57:15 -05005819 public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05005820 return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
5821 }
5822 public static Builder CreateBuilder() { return new Builder(); }
5823 public override Builder ToBuilder() { return CreateBuilder(this); }
5824 public override Builder CreateBuilderForType() { return new Builder(); }
5825 public static Builder CreateBuilder(SpeedMessage2GroupedMessage prototype) {
5826 return (Builder) new Builder().MergeFrom(prototype);
5827 }
5828
5829 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5830 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
5831 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
5832 public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2GroupedMessage, Builder> {
5833 protected override Builder ThisBuilder {
5834 get { return this; }
5835 }
5836 public Builder() {}
5837
5838 SpeedMessage2GroupedMessage result = new SpeedMessage2GroupedMessage();
5839
5840 protected override SpeedMessage2GroupedMessage MessageBeingBuilt {
5841 get { return result; }
5842 }
5843
5844 public override Builder Clear() {
5845 result = new SpeedMessage2GroupedMessage();
5846 return this;
5847 }
5848
5849 public override Builder Clone() {
5850 return new Builder().MergeFrom(result);
5851 }
5852
5853 public override pbd::MessageDescriptor DescriptorForType {
5854 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Descriptor; }
5855 }
5856
5857 public override SpeedMessage2GroupedMessage DefaultInstanceForType {
5858 get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance; }
5859 }
5860
5861 public override SpeedMessage2GroupedMessage BuildPartial() {
5862 if (result == null) {
5863 throw new global::System.InvalidOperationException("build() has already been called on this Builder");
5864 }
5865 SpeedMessage2GroupedMessage returnMe = result;
5866 result = null;
5867 return returnMe;
5868 }
5869
5870 public override Builder MergeFrom(pb::IMessage other) {
5871 if (other is SpeedMessage2GroupedMessage) {
5872 return MergeFrom((SpeedMessage2GroupedMessage) other);
5873 } else {
5874 base.MergeFrom(other);
5875 return this;
5876 }
5877 }
5878
5879 public override Builder MergeFrom(SpeedMessage2GroupedMessage other) {
5880 if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) return this;
5881 if (other.HasField1) {
5882 Field1 = other.Field1;
5883 }
5884 if (other.HasField2) {
5885 Field2 = other.Field2;
5886 }
5887 if (other.HasField3) {
5888 Field3 = other.Field3;
5889 }
5890 if (other.HasField4) {
5891 Field4 = other.Field4;
5892 }
5893 if (other.HasField5) {
5894 Field5 = other.Field5;
5895 }
5896 if (other.HasField6) {
5897 Field6 = other.Field6;
5898 }
5899 if (other.HasField7) {
5900 Field7 = other.Field7;
5901 }
5902 if (other.HasField8) {
5903 Field8 = other.Field8;
5904 }
5905 if (other.HasField9) {
5906 Field9 = other.Field9;
5907 }
5908 if (other.HasField10) {
5909 Field10 = other.Field10;
5910 }
5911 if (other.HasField11) {
5912 Field11 = other.Field11;
5913 }
5914 this.MergeUnknownFields(other.UnknownFields);
5915 return this;
5916 }
5917
csharptest17699c22011-06-03 21:57:15 -05005918 public override Builder MergeFrom(pb::ICodedInputStream input) {
csharptest27bfcc52011-06-02 12:04:06 -05005919 return MergeFrom(input, pb::ExtensionRegistry.Empty);
5920 }
5921
csharptest17699c22011-06-03 21:57:15 -05005922 public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
csharptest27bfcc52011-06-02 12:04:06 -05005923 pb::UnknownFieldSet.Builder unknownFields = null;
csharptest123e5342011-06-03 14:15:21 -05005924 uint tag;
5925 string field_name;
5926 while (input.ReadTag(out tag, out field_name)) {
csharptest920b09a2011-06-08 20:13:29 -05005927 if(tag == 0 && field_name != null) {
5928 int field_ordinal = global::System.Array.BinarySearch(_speedMessage2GroupedMessageFieldNames, field_name, global::System.StringComparer.Ordinal);
5929 if(field_ordinal >= 0)
5930 tag = _speedMessage2GroupedMessageFieldTags[field_ordinal];
5931 else {
5932 if (unknownFields == null) {
5933 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5934 }
5935 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
5936 continue;
5937 }
5938 }
csharptest27bfcc52011-06-02 12:04:06 -05005939 switch (tag) {
5940 case 0: {
csharptest99284412011-06-03 14:51:06 -05005941 throw pb::InvalidProtocolBufferException.InvalidTag();
csharptest27bfcc52011-06-02 12:04:06 -05005942 }
5943 default: {
5944 if (pb::WireFormat.IsEndGroupTag(tag)) {
5945 if (unknownFields != null) {
5946 this.UnknownFields = unknownFields.Build();
5947 }
5948 return this;
5949 }
5950 if (unknownFields == null) {
5951 unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
5952 }
csharptestd2af9e92011-06-03 21:35:02 -05005953 ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
csharptest27bfcc52011-06-02 12:04:06 -05005954 break;
5955 }
5956 case 13: {
csharptest920b09a2011-06-08 20:13:29 -05005957 result.hasField1 = input.ReadFloat(ref result.field1_);
csharptest27bfcc52011-06-02 12:04:06 -05005958 break;
5959 }
5960 case 21: {
csharptest920b09a2011-06-08 20:13:29 -05005961 result.hasField2 = input.ReadFloat(ref result.field2_);
csharptest27bfcc52011-06-02 12:04:06 -05005962 break;
5963 }
5964 case 29: {
csharptest920b09a2011-06-08 20:13:29 -05005965 result.hasField3 = input.ReadFloat(ref result.field3_);
csharptest27bfcc52011-06-02 12:04:06 -05005966 break;
5967 }
5968 case 32: {
csharptest920b09a2011-06-08 20:13:29 -05005969 result.hasField4 = input.ReadBool(ref result.field4_);
csharptest27bfcc52011-06-02 12:04:06 -05005970 break;
5971 }
5972 case 40: {
csharptest920b09a2011-06-08 20:13:29 -05005973 result.hasField5 = input.ReadBool(ref result.field5_);
csharptest27bfcc52011-06-02 12:04:06 -05005974 break;
5975 }
5976 case 48: {
csharptest920b09a2011-06-08 20:13:29 -05005977 result.hasField6 = input.ReadBool(ref result.field6_);
csharptest27bfcc52011-06-02 12:04:06 -05005978 break;
5979 }
5980 case 56: {
csharptest920b09a2011-06-08 20:13:29 -05005981 result.hasField7 = input.ReadBool(ref result.field7_);
csharptest27bfcc52011-06-02 12:04:06 -05005982 break;
5983 }
5984 case 69: {
csharptest920b09a2011-06-08 20:13:29 -05005985 result.hasField8 = input.ReadFloat(ref result.field8_);
csharptest27bfcc52011-06-02 12:04:06 -05005986 break;
5987 }
5988 case 72: {
csharptest920b09a2011-06-08 20:13:29 -05005989 result.hasField9 = input.ReadBool(ref result.field9_);
csharptest27bfcc52011-06-02 12:04:06 -05005990 break;
5991 }
5992 case 85: {
csharptest920b09a2011-06-08 20:13:29 -05005993 result.hasField10 = input.ReadFloat(ref result.field10_);
csharptest27bfcc52011-06-02 12:04:06 -05005994 break;
5995 }
5996 case 88: {
csharptest920b09a2011-06-08 20:13:29 -05005997 result.hasField11 = input.ReadInt64(ref result.field11_);
csharptest27bfcc52011-06-02 12:04:06 -05005998 break;
5999 }
6000 }
6001 }
csharptest123e5342011-06-03 14:15:21 -05006002
6003 if (unknownFields != null) {
6004 this.UnknownFields = unknownFields.Build();
6005 }
6006 return this;
csharptest27bfcc52011-06-02 12:04:06 -05006007 }
6008
6009
6010 public bool HasField1 {
csharptestc671a4b2011-06-08 11:51:24 -05006011 get { return result.hasField1; }
csharptest27bfcc52011-06-02 12:04:06 -05006012 }
6013 public float Field1 {
6014 get { return result.Field1; }
6015 set { SetField1(value); }
6016 }
6017 public Builder SetField1(float value) {
6018 result.hasField1 = true;
6019 result.field1_ = value;
6020 return this;
6021 }
6022 public Builder ClearField1() {
6023 result.hasField1 = false;
6024 result.field1_ = 0F;
6025 return this;
6026 }
6027
6028 public bool HasField2 {
csharptestc671a4b2011-06-08 11:51:24 -05006029 get { return result.hasField2; }
csharptest27bfcc52011-06-02 12:04:06 -05006030 }
6031 public float Field2 {
6032 get { return result.Field2; }
6033 set { SetField2(value); }
6034 }
6035 public Builder SetField2(float value) {
6036 result.hasField2 = true;
6037 result.field2_ = value;
6038 return this;
6039 }
6040 public Builder ClearField2() {
6041 result.hasField2 = false;
6042 result.field2_ = 0F;
6043 return this;
6044 }
6045
6046 public bool HasField3 {
csharptestc671a4b2011-06-08 11:51:24 -05006047 get { return result.hasField3; }
csharptest27bfcc52011-06-02 12:04:06 -05006048 }
6049 public float Field3 {
6050 get { return result.Field3; }
6051 set { SetField3(value); }
6052 }
6053 public Builder SetField3(float value) {
6054 result.hasField3 = true;
6055 result.field3_ = value;
6056 return this;
6057 }
6058 public Builder ClearField3() {
6059 result.hasField3 = false;
6060 result.field3_ = 0F;
6061 return this;
6062 }
6063
6064 public bool HasField4 {
csharptestc671a4b2011-06-08 11:51:24 -05006065 get { return result.hasField4; }
csharptest27bfcc52011-06-02 12:04:06 -05006066 }
6067 public bool Field4 {
6068 get { return result.Field4; }
6069 set { SetField4(value); }
6070 }
6071 public Builder SetField4(bool value) {
6072 result.hasField4 = true;
6073 result.field4_ = value;
6074 return this;
6075 }
6076 public Builder ClearField4() {
6077 result.hasField4 = false;
6078 result.field4_ = false;
6079 return this;
6080 }
6081
6082 public bool HasField5 {
csharptestc671a4b2011-06-08 11:51:24 -05006083 get { return result.hasField5; }
csharptest27bfcc52011-06-02 12:04:06 -05006084 }
6085 public bool Field5 {
6086 get { return result.Field5; }
6087 set { SetField5(value); }
6088 }
6089 public Builder SetField5(bool value) {
6090 result.hasField5 = true;
6091 result.field5_ = value;
6092 return this;
6093 }
6094 public Builder ClearField5() {
6095 result.hasField5 = false;
6096 result.field5_ = false;
6097 return this;
6098 }
6099
6100 public bool HasField6 {
csharptestc671a4b2011-06-08 11:51:24 -05006101 get { return result.hasField6; }
csharptest27bfcc52011-06-02 12:04:06 -05006102 }
6103 public bool Field6 {
6104 get { return result.Field6; }
6105 set { SetField6(value); }
6106 }
6107 public Builder SetField6(bool value) {
6108 result.hasField6 = true;
6109 result.field6_ = value;
6110 return this;
6111 }
6112 public Builder ClearField6() {
6113 result.hasField6 = false;
6114 result.field6_ = true;
6115 return this;
6116 }
6117
6118 public bool HasField7 {
csharptestc671a4b2011-06-08 11:51:24 -05006119 get { return result.hasField7; }
csharptest27bfcc52011-06-02 12:04:06 -05006120 }
6121 public bool Field7 {
6122 get { return result.Field7; }
6123 set { SetField7(value); }
6124 }
6125 public Builder SetField7(bool value) {
6126 result.hasField7 = true;
6127 result.field7_ = value;
6128 return this;
6129 }
6130 public Builder ClearField7() {
6131 result.hasField7 = false;
6132 result.field7_ = false;
6133 return this;
6134 }
6135
6136 public bool HasField8 {
csharptestc671a4b2011-06-08 11:51:24 -05006137 get { return result.hasField8; }
csharptest27bfcc52011-06-02 12:04:06 -05006138 }
6139 public float Field8 {
6140 get { return result.Field8; }
6141 set { SetField8(value); }
6142 }
6143 public Builder SetField8(float value) {
6144 result.hasField8 = true;
6145 result.field8_ = value;
6146 return this;
6147 }
6148 public Builder ClearField8() {
6149 result.hasField8 = false;
6150 result.field8_ = 0F;
6151 return this;
6152 }
6153
6154 public bool HasField9 {
csharptestc671a4b2011-06-08 11:51:24 -05006155 get { return result.hasField9; }
csharptest27bfcc52011-06-02 12:04:06 -05006156 }
6157 public bool Field9 {
6158 get { return result.Field9; }
6159 set { SetField9(value); }
6160 }
6161 public Builder SetField9(bool value) {
6162 result.hasField9 = true;
6163 result.field9_ = value;
6164 return this;
6165 }
6166 public Builder ClearField9() {
6167 result.hasField9 = false;
6168 result.field9_ = false;
6169 return this;
6170 }
6171
6172 public bool HasField10 {
csharptestc671a4b2011-06-08 11:51:24 -05006173 get { return result.hasField10; }
csharptest27bfcc52011-06-02 12:04:06 -05006174 }
6175 public float Field10 {
6176 get { return result.Field10; }
6177 set { SetField10(value); }
6178 }
6179 public Builder SetField10(float value) {
6180 result.hasField10 = true;
6181 result.field10_ = value;
6182 return this;
6183 }
6184 public Builder ClearField10() {
6185 result.hasField10 = false;
6186 result.field10_ = 0F;
6187 return this;
6188 }
6189
6190 public bool HasField11 {
csharptestc671a4b2011-06-08 11:51:24 -05006191 get { return result.hasField11; }
csharptest27bfcc52011-06-02 12:04:06 -05006192 }
6193 public long Field11 {
6194 get { return result.Field11; }
6195 set { SetField11(value); }
6196 }
6197 public Builder SetField11(long value) {
6198 result.hasField11 = true;
6199 result.field11_ = value;
6200 return this;
6201 }
6202 public Builder ClearField11() {
6203 result.hasField11 = false;
6204 result.field11_ = 0L;
6205 return this;
6206 }
6207 }
6208 static SpeedMessage2GroupedMessage() {
6209 object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
6210 }
6211 }
6212
6213 #endregion
6214
6215}
csharptest2d887332011-08-12 20:13:44 -05006216
6217#endregion Designer generated code