1 // <auto-generated> 2 // Generated by the protocol buffer compiler. DO NOT EDIT! 3 // source: datasets/google_message1/proto3/benchmark_message1_proto3.proto 4 // </auto-generated> 5 #pragma warning disable 1591, 0612, 3021 6 #region Designer generated code 7 8 using pb = global::Google.Protobuf; 9 using pbc = global::Google.Protobuf.Collections; 10 using pbr = global::Google.Protobuf.Reflection; 11 using scg = global::System.Collections.Generic; 12 namespace Benchmarks.Proto3 { 13 14 /// <summary>Holder for reflection information generated from datasets/google_message1/proto3/benchmark_message1_proto3.proto</summary> 15 public static partial class BenchmarkMessage1Proto3Reflection { 16 17 #region Descriptor 18 /// <summary>File descriptor for datasets/google_message1/proto3/benchmark_message1_proto3.proto</summary> 19 public static pbr::FileDescriptor Descriptor { 20 get { return descriptor; } 21 } 22 private static pbr::FileDescriptor descriptor; 23 BenchmarkMessage1Proto3Reflection()24 static BenchmarkMessage1Proto3Reflection() { 25 byte[] descriptorData = global::System.Convert.FromBase64String( 26 string.Concat( 27 "Cj9kYXRhc2V0cy9nb29nbGVfbWVzc2FnZTEvcHJvdG8zL2JlbmNobWFya19t", 28 "ZXNzYWdlMV9wcm90bzMucHJvdG8SEWJlbmNobWFya3MucHJvdG8zIoMGCg5H", 29 "b29nbGVNZXNzYWdlMRIOCgZmaWVsZDEYASABKAkSDgoGZmllbGQ5GAkgASgJ", 30 "Eg8KB2ZpZWxkMTgYEiABKAkSDwoHZmllbGQ4MBhQIAEoCBIPCgdmaWVsZDgx", 31 "GFEgASgIEg4KBmZpZWxkMhgCIAEoBRIOCgZmaWVsZDMYAyABKAUSEQoIZmll", 32 "bGQyODAYmAIgASgFEg4KBmZpZWxkNhgGIAEoBRIPCgdmaWVsZDIyGBYgASgD", 33 "Eg4KBmZpZWxkNBgEIAEoCRIOCgZmaWVsZDUYBSADKAYSDwoHZmllbGQ1ORg7", 34 "IAEoCBIOCgZmaWVsZDcYByABKAkSDwoHZmllbGQxNhgQIAEoBRIRCghmaWVs", 35 "ZDEzMBiCASABKAUSDwoHZmllbGQxMhgMIAEoCBIPCgdmaWVsZDE3GBEgASgI", 36 "Eg8KB2ZpZWxkMTMYDSABKAgSDwoHZmllbGQxNBgOIAEoCBIQCghmaWVsZDEw", 37 "NBhoIAEoBRIQCghmaWVsZDEwMBhkIAEoBRIQCghmaWVsZDEwMRhlIAEoBRIQ", 38 "CghmaWVsZDEwMhhmIAEoCRIQCghmaWVsZDEwMxhnIAEoCRIPCgdmaWVsZDI5", 39 "GB0gASgFEg8KB2ZpZWxkMzAYHiABKAgSDwoHZmllbGQ2MBg8IAEoBRIRCghm", 40 "aWVsZDI3MRiPAiABKAUSEQoIZmllbGQyNzIYkAIgASgFEhEKCGZpZWxkMTUw", 41 "GJYBIAEoBRIPCgdmaWVsZDIzGBcgASgFEg8KB2ZpZWxkMjQYGCABKAgSDwoH", 42 "ZmllbGQyNRgZIAEoBRI8CgdmaWVsZDE1GA8gASgLMisuYmVuY2htYXJrcy5w", 43 "cm90bzMuR29vZ2xlTWVzc2FnZTFTdWJNZXNzYWdlEg8KB2ZpZWxkNzgYTiAB", 44 "KAgSDwoHZmllbGQ2NxhDIAEoBRIPCgdmaWVsZDY4GEQgASgFEhEKCGZpZWxk", 45 "MTI4GIABIAEoBRIRCghmaWVsZDEyORiBASABKAkSEQoIZmllbGQxMzEYgwEg", 46 "ASgFIvcCChhHb29nbGVNZXNzYWdlMVN1Yk1lc3NhZ2USDgoGZmllbGQxGAEg", 47 "ASgFEg4KBmZpZWxkMhgCIAEoBRIOCgZmaWVsZDMYAyABKAUSDwoHZmllbGQx", 48 "NRgPIAEoCRIPCgdmaWVsZDEyGAwgASgIEg8KB2ZpZWxkMTMYDSABKAMSDwoH", 49 "ZmllbGQxNBgOIAEoAxIPCgdmaWVsZDE2GBAgASgFEg8KB2ZpZWxkMTkYEyAB", 50 "KAUSDwoHZmllbGQyMBgUIAEoCBIPCgdmaWVsZDI4GBwgASgIEg8KB2ZpZWxk", 51 "MjEYFSABKAYSDwoHZmllbGQyMhgWIAEoBRIPCgdmaWVsZDIzGBcgASgIEhEK", 52 "CGZpZWxkMjA2GM4BIAEoCBIRCghmaWVsZDIwMxjLASABKAcSEQoIZmllbGQy", 53 "MDQYzAEgASgFEhEKCGZpZWxkMjA1GM0BIAEoCRIRCghmaWVsZDIwNxjPASAB", 54 "KAQSEQoIZmllbGQzMDAYrAIgASgEQiUKHmNvbS5nb29nbGUucHJvdG9idWYu", 55 "YmVuY2htYXJrc0gB+AEBYgZwcm90bzM=")); 56 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 57 new pbr::FileDescriptor[] { }, 58 new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { 59 new pbr::GeneratedClrTypeInfo(typeof(global::Benchmarks.Proto3.GoogleMessage1), global::Benchmarks.Proto3.GoogleMessage1.Parser, new[]{ "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" }, null, null, null, null), 60 new pbr::GeneratedClrTypeInfo(typeof(global::Benchmarks.Proto3.GoogleMessage1SubMessage), global::Benchmarks.Proto3.GoogleMessage1SubMessage.Parser, new[]{ "Field1", "Field2", "Field3", "Field15", "Field12", "Field13", "Field14", "Field16", "Field19", "Field20", "Field28", "Field21", "Field22", "Field23", "Field206", "Field203", "Field204", "Field205", "Field207", "Field300" }, null, null, null, null) 61 })); 62 } 63 #endregion 64 65 } 66 #region Messages 67 public sealed partial class GoogleMessage1 : pb::IMessage<GoogleMessage1> 68 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 69 , pb::IBufferMessage 70 #endif 71 { 72 private static readonly pb::MessageParser<GoogleMessage1> _parser = new pb::MessageParser<GoogleMessage1>(() => new GoogleMessage1()); 73 private pb::UnknownFieldSet _unknownFields; 74 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 75 public static pb::MessageParser<GoogleMessage1> Parser { get { return _parser; } } 76 77 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 78 public static pbr::MessageDescriptor Descriptor { 79 get { return global::Benchmarks.Proto3.BenchmarkMessage1Proto3Reflection.Descriptor.MessageTypes[0]; } 80 } 81 82 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 83 pbr::MessageDescriptor pb::IMessage.Descriptor { 84 get { return Descriptor; } 85 } 86 87 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GoogleMessage1()88 public GoogleMessage1() { 89 OnConstruction(); 90 } 91 OnConstruction()92 partial void OnConstruction(); 93 94 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GoogleMessage1(GoogleMessage1 other)95 public GoogleMessage1(GoogleMessage1 other) : this() { 96 field1_ = other.field1_; 97 field9_ = other.field9_; 98 field18_ = other.field18_; 99 field80_ = other.field80_; 100 field81_ = other.field81_; 101 field2_ = other.field2_; 102 field3_ = other.field3_; 103 field280_ = other.field280_; 104 field6_ = other.field6_; 105 field22_ = other.field22_; 106 field4_ = other.field4_; 107 field5_ = other.field5_.Clone(); 108 field59_ = other.field59_; 109 field7_ = other.field7_; 110 field16_ = other.field16_; 111 field130_ = other.field130_; 112 field12_ = other.field12_; 113 field17_ = other.field17_; 114 field13_ = other.field13_; 115 field14_ = other.field14_; 116 field104_ = other.field104_; 117 field100_ = other.field100_; 118 field101_ = other.field101_; 119 field102_ = other.field102_; 120 field103_ = other.field103_; 121 field29_ = other.field29_; 122 field30_ = other.field30_; 123 field60_ = other.field60_; 124 field271_ = other.field271_; 125 field272_ = other.field272_; 126 field150_ = other.field150_; 127 field23_ = other.field23_; 128 field24_ = other.field24_; 129 field25_ = other.field25_; 130 field15_ = other.field15_ != null ? other.field15_.Clone() : null; 131 field78_ = other.field78_; 132 field67_ = other.field67_; 133 field68_ = other.field68_; 134 field128_ = other.field128_; 135 field129_ = other.field129_; 136 field131_ = other.field131_; 137 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 138 } 139 140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()141 public GoogleMessage1 Clone() { 142 return new GoogleMessage1(this); 143 } 144 145 /// <summary>Field number for the "field1" field.</summary> 146 public const int Field1FieldNumber = 1; 147 private string field1_ = ""; 148 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 149 public string Field1 { 150 get { return field1_; } 151 set { 152 field1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 153 } 154 } 155 156 /// <summary>Field number for the "field9" field.</summary> 157 public const int Field9FieldNumber = 9; 158 private string field9_ = ""; 159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 160 public string Field9 { 161 get { return field9_; } 162 set { 163 field9_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 164 } 165 } 166 167 /// <summary>Field number for the "field18" field.</summary> 168 public const int Field18FieldNumber = 18; 169 private string field18_ = ""; 170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 171 public string Field18 { 172 get { return field18_; } 173 set { 174 field18_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 175 } 176 } 177 178 /// <summary>Field number for the "field80" field.</summary> 179 public const int Field80FieldNumber = 80; 180 private bool field80_; 181 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 182 public bool Field80 { 183 get { return field80_; } 184 set { 185 field80_ = value; 186 } 187 } 188 189 /// <summary>Field number for the "field81" field.</summary> 190 public const int Field81FieldNumber = 81; 191 private bool field81_; 192 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 193 public bool Field81 { 194 get { return field81_; } 195 set { 196 field81_ = value; 197 } 198 } 199 200 /// <summary>Field number for the "field2" field.</summary> 201 public const int Field2FieldNumber = 2; 202 private int field2_; 203 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 204 public int Field2 { 205 get { return field2_; } 206 set { 207 field2_ = value; 208 } 209 } 210 211 /// <summary>Field number for the "field3" field.</summary> 212 public const int Field3FieldNumber = 3; 213 private int field3_; 214 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 215 public int Field3 { 216 get { return field3_; } 217 set { 218 field3_ = value; 219 } 220 } 221 222 /// <summary>Field number for the "field280" field.</summary> 223 public const int Field280FieldNumber = 280; 224 private int field280_; 225 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 226 public int Field280 { 227 get { return field280_; } 228 set { 229 field280_ = value; 230 } 231 } 232 233 /// <summary>Field number for the "field6" field.</summary> 234 public const int Field6FieldNumber = 6; 235 private int field6_; 236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 237 public int Field6 { 238 get { return field6_; } 239 set { 240 field6_ = value; 241 } 242 } 243 244 /// <summary>Field number for the "field22" field.</summary> 245 public const int Field22FieldNumber = 22; 246 private long field22_; 247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 248 public long Field22 { 249 get { return field22_; } 250 set { 251 field22_ = value; 252 } 253 } 254 255 /// <summary>Field number for the "field4" field.</summary> 256 public const int Field4FieldNumber = 4; 257 private string field4_ = ""; 258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 259 public string Field4 { 260 get { return field4_; } 261 set { 262 field4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 263 } 264 } 265 266 /// <summary>Field number for the "field5" field.</summary> 267 public const int Field5FieldNumber = 5; 268 private static readonly pb::FieldCodec<ulong> _repeated_field5_codec 269 = pb::FieldCodec.ForFixed64(42); 270 private readonly pbc::RepeatedField<ulong> field5_ = new pbc::RepeatedField<ulong>(); 271 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 272 public pbc::RepeatedField<ulong> Field5 { 273 get { return field5_; } 274 } 275 276 /// <summary>Field number for the "field59" field.</summary> 277 public const int Field59FieldNumber = 59; 278 private bool field59_; 279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 280 public bool Field59 { 281 get { return field59_; } 282 set { 283 field59_ = value; 284 } 285 } 286 287 /// <summary>Field number for the "field7" field.</summary> 288 public const int Field7FieldNumber = 7; 289 private string field7_ = ""; 290 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 291 public string Field7 { 292 get { return field7_; } 293 set { 294 field7_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 295 } 296 } 297 298 /// <summary>Field number for the "field16" field.</summary> 299 public const int Field16FieldNumber = 16; 300 private int field16_; 301 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 302 public int Field16 { 303 get { return field16_; } 304 set { 305 field16_ = value; 306 } 307 } 308 309 /// <summary>Field number for the "field130" field.</summary> 310 public const int Field130FieldNumber = 130; 311 private int field130_; 312 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 313 public int Field130 { 314 get { return field130_; } 315 set { 316 field130_ = value; 317 } 318 } 319 320 /// <summary>Field number for the "field12" field.</summary> 321 public const int Field12FieldNumber = 12; 322 private bool field12_; 323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 324 public bool Field12 { 325 get { return field12_; } 326 set { 327 field12_ = value; 328 } 329 } 330 331 /// <summary>Field number for the "field17" field.</summary> 332 public const int Field17FieldNumber = 17; 333 private bool field17_; 334 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 335 public bool Field17 { 336 get { return field17_; } 337 set { 338 field17_ = value; 339 } 340 } 341 342 /// <summary>Field number for the "field13" field.</summary> 343 public const int Field13FieldNumber = 13; 344 private bool field13_; 345 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 346 public bool Field13 { 347 get { return field13_; } 348 set { 349 field13_ = value; 350 } 351 } 352 353 /// <summary>Field number for the "field14" field.</summary> 354 public const int Field14FieldNumber = 14; 355 private bool field14_; 356 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 357 public bool Field14 { 358 get { return field14_; } 359 set { 360 field14_ = value; 361 } 362 } 363 364 /// <summary>Field number for the "field104" field.</summary> 365 public const int Field104FieldNumber = 104; 366 private int field104_; 367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 368 public int Field104 { 369 get { return field104_; } 370 set { 371 field104_ = value; 372 } 373 } 374 375 /// <summary>Field number for the "field100" field.</summary> 376 public const int Field100FieldNumber = 100; 377 private int field100_; 378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 379 public int Field100 { 380 get { return field100_; } 381 set { 382 field100_ = value; 383 } 384 } 385 386 /// <summary>Field number for the "field101" field.</summary> 387 public const int Field101FieldNumber = 101; 388 private int field101_; 389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 390 public int Field101 { 391 get { return field101_; } 392 set { 393 field101_ = value; 394 } 395 } 396 397 /// <summary>Field number for the "field102" field.</summary> 398 public const int Field102FieldNumber = 102; 399 private string field102_ = ""; 400 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 401 public string Field102 { 402 get { return field102_; } 403 set { 404 field102_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 405 } 406 } 407 408 /// <summary>Field number for the "field103" field.</summary> 409 public const int Field103FieldNumber = 103; 410 private string field103_ = ""; 411 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 412 public string Field103 { 413 get { return field103_; } 414 set { 415 field103_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 416 } 417 } 418 419 /// <summary>Field number for the "field29" field.</summary> 420 public const int Field29FieldNumber = 29; 421 private int field29_; 422 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 423 public int Field29 { 424 get { return field29_; } 425 set { 426 field29_ = value; 427 } 428 } 429 430 /// <summary>Field number for the "field30" field.</summary> 431 public const int Field30FieldNumber = 30; 432 private bool field30_; 433 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 434 public bool Field30 { 435 get { return field30_; } 436 set { 437 field30_ = value; 438 } 439 } 440 441 /// <summary>Field number for the "field60" field.</summary> 442 public const int Field60FieldNumber = 60; 443 private int field60_; 444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 445 public int Field60 { 446 get { return field60_; } 447 set { 448 field60_ = value; 449 } 450 } 451 452 /// <summary>Field number for the "field271" field.</summary> 453 public const int Field271FieldNumber = 271; 454 private int field271_; 455 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 456 public int Field271 { 457 get { return field271_; } 458 set { 459 field271_ = value; 460 } 461 } 462 463 /// <summary>Field number for the "field272" field.</summary> 464 public const int Field272FieldNumber = 272; 465 private int field272_; 466 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 467 public int Field272 { 468 get { return field272_; } 469 set { 470 field272_ = value; 471 } 472 } 473 474 /// <summary>Field number for the "field150" field.</summary> 475 public const int Field150FieldNumber = 150; 476 private int field150_; 477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 478 public int Field150 { 479 get { return field150_; } 480 set { 481 field150_ = value; 482 } 483 } 484 485 /// <summary>Field number for the "field23" field.</summary> 486 public const int Field23FieldNumber = 23; 487 private int field23_; 488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 489 public int Field23 { 490 get { return field23_; } 491 set { 492 field23_ = value; 493 } 494 } 495 496 /// <summary>Field number for the "field24" field.</summary> 497 public const int Field24FieldNumber = 24; 498 private bool field24_; 499 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 500 public bool Field24 { 501 get { return field24_; } 502 set { 503 field24_ = value; 504 } 505 } 506 507 /// <summary>Field number for the "field25" field.</summary> 508 public const int Field25FieldNumber = 25; 509 private int field25_; 510 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 511 public int Field25 { 512 get { return field25_; } 513 set { 514 field25_ = value; 515 } 516 } 517 518 /// <summary>Field number for the "field15" field.</summary> 519 public const int Field15FieldNumber = 15; 520 private global::Benchmarks.Proto3.GoogleMessage1SubMessage field15_; 521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 522 public global::Benchmarks.Proto3.GoogleMessage1SubMessage Field15 { 523 get { return field15_; } 524 set { 525 field15_ = value; 526 } 527 } 528 529 /// <summary>Field number for the "field78" field.</summary> 530 public const int Field78FieldNumber = 78; 531 private bool field78_; 532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 533 public bool Field78 { 534 get { return field78_; } 535 set { 536 field78_ = value; 537 } 538 } 539 540 /// <summary>Field number for the "field67" field.</summary> 541 public const int Field67FieldNumber = 67; 542 private int field67_; 543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 544 public int Field67 { 545 get { return field67_; } 546 set { 547 field67_ = value; 548 } 549 } 550 551 /// <summary>Field number for the "field68" field.</summary> 552 public const int Field68FieldNumber = 68; 553 private int field68_; 554 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 555 public int Field68 { 556 get { return field68_; } 557 set { 558 field68_ = value; 559 } 560 } 561 562 /// <summary>Field number for the "field128" field.</summary> 563 public const int Field128FieldNumber = 128; 564 private int field128_; 565 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 566 public int Field128 { 567 get { return field128_; } 568 set { 569 field128_ = value; 570 } 571 } 572 573 /// <summary>Field number for the "field129" field.</summary> 574 public const int Field129FieldNumber = 129; 575 private string field129_ = ""; 576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 577 public string Field129 { 578 get { return field129_; } 579 set { 580 field129_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 581 } 582 } 583 584 /// <summary>Field number for the "field131" field.</summary> 585 public const int Field131FieldNumber = 131; 586 private int field131_; 587 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 588 public int Field131 { 589 get { return field131_; } 590 set { 591 field131_ = value; 592 } 593 } 594 595 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)596 public override bool Equals(object other) { 597 return Equals(other as GoogleMessage1); 598 } 599 600 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(GoogleMessage1 other)601 public bool Equals(GoogleMessage1 other) { 602 if (ReferenceEquals(other, null)) { 603 return false; 604 } 605 if (ReferenceEquals(other, this)) { 606 return true; 607 } 608 if (Field1 != other.Field1) return false; 609 if (Field9 != other.Field9) return false; 610 if (Field18 != other.Field18) return false; 611 if (Field80 != other.Field80) return false; 612 if (Field81 != other.Field81) return false; 613 if (Field2 != other.Field2) return false; 614 if (Field3 != other.Field3) return false; 615 if (Field280 != other.Field280) return false; 616 if (Field6 != other.Field6) return false; 617 if (Field22 != other.Field22) return false; 618 if (Field4 != other.Field4) return false; 619 if(!field5_.Equals(other.field5_)) return false; 620 if (Field59 != other.Field59) return false; 621 if (Field7 != other.Field7) return false; 622 if (Field16 != other.Field16) return false; 623 if (Field130 != other.Field130) return false; 624 if (Field12 != other.Field12) return false; 625 if (Field17 != other.Field17) return false; 626 if (Field13 != other.Field13) return false; 627 if (Field14 != other.Field14) return false; 628 if (Field104 != other.Field104) return false; 629 if (Field100 != other.Field100) return false; 630 if (Field101 != other.Field101) return false; 631 if (Field102 != other.Field102) return false; 632 if (Field103 != other.Field103) return false; 633 if (Field29 != other.Field29) return false; 634 if (Field30 != other.Field30) return false; 635 if (Field60 != other.Field60) return false; 636 if (Field271 != other.Field271) return false; 637 if (Field272 != other.Field272) return false; 638 if (Field150 != other.Field150) return false; 639 if (Field23 != other.Field23) return false; 640 if (Field24 != other.Field24) return false; 641 if (Field25 != other.Field25) return false; 642 if (!object.Equals(Field15, other.Field15)) return false; 643 if (Field78 != other.Field78) return false; 644 if (Field67 != other.Field67) return false; 645 if (Field68 != other.Field68) return false; 646 if (Field128 != other.Field128) return false; 647 if (Field129 != other.Field129) return false; 648 if (Field131 != other.Field131) return false; 649 return Equals(_unknownFields, other._unknownFields); 650 } 651 652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()653 public override int GetHashCode() { 654 int hash = 1; 655 if (Field1.Length != 0) hash ^= Field1.GetHashCode(); 656 if (Field9.Length != 0) hash ^= Field9.GetHashCode(); 657 if (Field18.Length != 0) hash ^= Field18.GetHashCode(); 658 if (Field80 != false) hash ^= Field80.GetHashCode(); 659 if (Field81 != false) hash ^= Field81.GetHashCode(); 660 if (Field2 != 0) hash ^= Field2.GetHashCode(); 661 if (Field3 != 0) hash ^= Field3.GetHashCode(); 662 if (Field280 != 0) hash ^= Field280.GetHashCode(); 663 if (Field6 != 0) hash ^= Field6.GetHashCode(); 664 if (Field22 != 0L) hash ^= Field22.GetHashCode(); 665 if (Field4.Length != 0) hash ^= Field4.GetHashCode(); 666 hash ^= field5_.GetHashCode(); 667 if (Field59 != false) hash ^= Field59.GetHashCode(); 668 if (Field7.Length != 0) hash ^= Field7.GetHashCode(); 669 if (Field16 != 0) hash ^= Field16.GetHashCode(); 670 if (Field130 != 0) hash ^= Field130.GetHashCode(); 671 if (Field12 != false) hash ^= Field12.GetHashCode(); 672 if (Field17 != false) hash ^= Field17.GetHashCode(); 673 if (Field13 != false) hash ^= Field13.GetHashCode(); 674 if (Field14 != false) hash ^= Field14.GetHashCode(); 675 if (Field104 != 0) hash ^= Field104.GetHashCode(); 676 if (Field100 != 0) hash ^= Field100.GetHashCode(); 677 if (Field101 != 0) hash ^= Field101.GetHashCode(); 678 if (Field102.Length != 0) hash ^= Field102.GetHashCode(); 679 if (Field103.Length != 0) hash ^= Field103.GetHashCode(); 680 if (Field29 != 0) hash ^= Field29.GetHashCode(); 681 if (Field30 != false) hash ^= Field30.GetHashCode(); 682 if (Field60 != 0) hash ^= Field60.GetHashCode(); 683 if (Field271 != 0) hash ^= Field271.GetHashCode(); 684 if (Field272 != 0) hash ^= Field272.GetHashCode(); 685 if (Field150 != 0) hash ^= Field150.GetHashCode(); 686 if (Field23 != 0) hash ^= Field23.GetHashCode(); 687 if (Field24 != false) hash ^= Field24.GetHashCode(); 688 if (Field25 != 0) hash ^= Field25.GetHashCode(); 689 if (field15_ != null) hash ^= Field15.GetHashCode(); 690 if (Field78 != false) hash ^= Field78.GetHashCode(); 691 if (Field67 != 0) hash ^= Field67.GetHashCode(); 692 if (Field68 != 0) hash ^= Field68.GetHashCode(); 693 if (Field128 != 0) hash ^= Field128.GetHashCode(); 694 if (Field129.Length != 0) hash ^= Field129.GetHashCode(); 695 if (Field131 != 0) hash ^= Field131.GetHashCode(); 696 if (_unknownFields != null) { 697 hash ^= _unknownFields.GetHashCode(); 698 } 699 return hash; 700 } 701 702 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()703 public override string ToString() { 704 return pb::JsonFormatter.ToDiagnosticString(this); 705 } 706 707 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)708 public void WriteTo(pb::CodedOutputStream output) { 709 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 710 output.WriteRawMessage(this); 711 #else 712 if (Field1.Length != 0) { 713 output.WriteRawTag(10); 714 output.WriteString(Field1); 715 } 716 if (Field2 != 0) { 717 output.WriteRawTag(16); 718 output.WriteInt32(Field2); 719 } 720 if (Field3 != 0) { 721 output.WriteRawTag(24); 722 output.WriteInt32(Field3); 723 } 724 if (Field4.Length != 0) { 725 output.WriteRawTag(34); 726 output.WriteString(Field4); 727 } 728 field5_.WriteTo(output, _repeated_field5_codec); 729 if (Field6 != 0) { 730 output.WriteRawTag(48); 731 output.WriteInt32(Field6); 732 } 733 if (Field7.Length != 0) { 734 output.WriteRawTag(58); 735 output.WriteString(Field7); 736 } 737 if (Field9.Length != 0) { 738 output.WriteRawTag(74); 739 output.WriteString(Field9); 740 } 741 if (Field12 != false) { 742 output.WriteRawTag(96); 743 output.WriteBool(Field12); 744 } 745 if (Field13 != false) { 746 output.WriteRawTag(104); 747 output.WriteBool(Field13); 748 } 749 if (Field14 != false) { 750 output.WriteRawTag(112); 751 output.WriteBool(Field14); 752 } 753 if (field15_ != null) { 754 output.WriteRawTag(122); 755 output.WriteMessage(Field15); 756 } 757 if (Field16 != 0) { 758 output.WriteRawTag(128, 1); 759 output.WriteInt32(Field16); 760 } 761 if (Field17 != false) { 762 output.WriteRawTag(136, 1); 763 output.WriteBool(Field17); 764 } 765 if (Field18.Length != 0) { 766 output.WriteRawTag(146, 1); 767 output.WriteString(Field18); 768 } 769 if (Field22 != 0L) { 770 output.WriteRawTag(176, 1); 771 output.WriteInt64(Field22); 772 } 773 if (Field23 != 0) { 774 output.WriteRawTag(184, 1); 775 output.WriteInt32(Field23); 776 } 777 if (Field24 != false) { 778 output.WriteRawTag(192, 1); 779 output.WriteBool(Field24); 780 } 781 if (Field25 != 0) { 782 output.WriteRawTag(200, 1); 783 output.WriteInt32(Field25); 784 } 785 if (Field29 != 0) { 786 output.WriteRawTag(232, 1); 787 output.WriteInt32(Field29); 788 } 789 if (Field30 != false) { 790 output.WriteRawTag(240, 1); 791 output.WriteBool(Field30); 792 } 793 if (Field59 != false) { 794 output.WriteRawTag(216, 3); 795 output.WriteBool(Field59); 796 } 797 if (Field60 != 0) { 798 output.WriteRawTag(224, 3); 799 output.WriteInt32(Field60); 800 } 801 if (Field67 != 0) { 802 output.WriteRawTag(152, 4); 803 output.WriteInt32(Field67); 804 } 805 if (Field68 != 0) { 806 output.WriteRawTag(160, 4); 807 output.WriteInt32(Field68); 808 } 809 if (Field78 != false) { 810 output.WriteRawTag(240, 4); 811 output.WriteBool(Field78); 812 } 813 if (Field80 != false) { 814 output.WriteRawTag(128, 5); 815 output.WriteBool(Field80); 816 } 817 if (Field81 != false) { 818 output.WriteRawTag(136, 5); 819 output.WriteBool(Field81); 820 } 821 if (Field100 != 0) { 822 output.WriteRawTag(160, 6); 823 output.WriteInt32(Field100); 824 } 825 if (Field101 != 0) { 826 output.WriteRawTag(168, 6); 827 output.WriteInt32(Field101); 828 } 829 if (Field102.Length != 0) { 830 output.WriteRawTag(178, 6); 831 output.WriteString(Field102); 832 } 833 if (Field103.Length != 0) { 834 output.WriteRawTag(186, 6); 835 output.WriteString(Field103); 836 } 837 if (Field104 != 0) { 838 output.WriteRawTag(192, 6); 839 output.WriteInt32(Field104); 840 } 841 if (Field128 != 0) { 842 output.WriteRawTag(128, 8); 843 output.WriteInt32(Field128); 844 } 845 if (Field129.Length != 0) { 846 output.WriteRawTag(138, 8); 847 output.WriteString(Field129); 848 } 849 if (Field130 != 0) { 850 output.WriteRawTag(144, 8); 851 output.WriteInt32(Field130); 852 } 853 if (Field131 != 0) { 854 output.WriteRawTag(152, 8); 855 output.WriteInt32(Field131); 856 } 857 if (Field150 != 0) { 858 output.WriteRawTag(176, 9); 859 output.WriteInt32(Field150); 860 } 861 if (Field271 != 0) { 862 output.WriteRawTag(248, 16); 863 output.WriteInt32(Field271); 864 } 865 if (Field272 != 0) { 866 output.WriteRawTag(128, 17); 867 output.WriteInt32(Field272); 868 } 869 if (Field280 != 0) { 870 output.WriteRawTag(192, 17); 871 output.WriteInt32(Field280); 872 } 873 if (_unknownFields != null) { 874 _unknownFields.WriteTo(output); 875 } 876 #endif 877 } 878 879 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 880 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)881 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 882 if (Field1.Length != 0) { 883 output.WriteRawTag(10); 884 output.WriteString(Field1); 885 } 886 if (Field2 != 0) { 887 output.WriteRawTag(16); 888 output.WriteInt32(Field2); 889 } 890 if (Field3 != 0) { 891 output.WriteRawTag(24); 892 output.WriteInt32(Field3); 893 } 894 if (Field4.Length != 0) { 895 output.WriteRawTag(34); 896 output.WriteString(Field4); 897 } 898 field5_.WriteTo(ref output, _repeated_field5_codec); 899 if (Field6 != 0) { 900 output.WriteRawTag(48); 901 output.WriteInt32(Field6); 902 } 903 if (Field7.Length != 0) { 904 output.WriteRawTag(58); 905 output.WriteString(Field7); 906 } 907 if (Field9.Length != 0) { 908 output.WriteRawTag(74); 909 output.WriteString(Field9); 910 } 911 if (Field12 != false) { 912 output.WriteRawTag(96); 913 output.WriteBool(Field12); 914 } 915 if (Field13 != false) { 916 output.WriteRawTag(104); 917 output.WriteBool(Field13); 918 } 919 if (Field14 != false) { 920 output.WriteRawTag(112); 921 output.WriteBool(Field14); 922 } 923 if (field15_ != null) { 924 output.WriteRawTag(122); 925 output.WriteMessage(Field15); 926 } 927 if (Field16 != 0) { 928 output.WriteRawTag(128, 1); 929 output.WriteInt32(Field16); 930 } 931 if (Field17 != false) { 932 output.WriteRawTag(136, 1); 933 output.WriteBool(Field17); 934 } 935 if (Field18.Length != 0) { 936 output.WriteRawTag(146, 1); 937 output.WriteString(Field18); 938 } 939 if (Field22 != 0L) { 940 output.WriteRawTag(176, 1); 941 output.WriteInt64(Field22); 942 } 943 if (Field23 != 0) { 944 output.WriteRawTag(184, 1); 945 output.WriteInt32(Field23); 946 } 947 if (Field24 != false) { 948 output.WriteRawTag(192, 1); 949 output.WriteBool(Field24); 950 } 951 if (Field25 != 0) { 952 output.WriteRawTag(200, 1); 953 output.WriteInt32(Field25); 954 } 955 if (Field29 != 0) { 956 output.WriteRawTag(232, 1); 957 output.WriteInt32(Field29); 958 } 959 if (Field30 != false) { 960 output.WriteRawTag(240, 1); 961 output.WriteBool(Field30); 962 } 963 if (Field59 != false) { 964 output.WriteRawTag(216, 3); 965 output.WriteBool(Field59); 966 } 967 if (Field60 != 0) { 968 output.WriteRawTag(224, 3); 969 output.WriteInt32(Field60); 970 } 971 if (Field67 != 0) { 972 output.WriteRawTag(152, 4); 973 output.WriteInt32(Field67); 974 } 975 if (Field68 != 0) { 976 output.WriteRawTag(160, 4); 977 output.WriteInt32(Field68); 978 } 979 if (Field78 != false) { 980 output.WriteRawTag(240, 4); 981 output.WriteBool(Field78); 982 } 983 if (Field80 != false) { 984 output.WriteRawTag(128, 5); 985 output.WriteBool(Field80); 986 } 987 if (Field81 != false) { 988 output.WriteRawTag(136, 5); 989 output.WriteBool(Field81); 990 } 991 if (Field100 != 0) { 992 output.WriteRawTag(160, 6); 993 output.WriteInt32(Field100); 994 } 995 if (Field101 != 0) { 996 output.WriteRawTag(168, 6); 997 output.WriteInt32(Field101); 998 } 999 if (Field102.Length != 0) { 1000 output.WriteRawTag(178, 6); 1001 output.WriteString(Field102); 1002 } 1003 if (Field103.Length != 0) { 1004 output.WriteRawTag(186, 6); 1005 output.WriteString(Field103); 1006 } 1007 if (Field104 != 0) { 1008 output.WriteRawTag(192, 6); 1009 output.WriteInt32(Field104); 1010 } 1011 if (Field128 != 0) { 1012 output.WriteRawTag(128, 8); 1013 output.WriteInt32(Field128); 1014 } 1015 if (Field129.Length != 0) { 1016 output.WriteRawTag(138, 8); 1017 output.WriteString(Field129); 1018 } 1019 if (Field130 != 0) { 1020 output.WriteRawTag(144, 8); 1021 output.WriteInt32(Field130); 1022 } 1023 if (Field131 != 0) { 1024 output.WriteRawTag(152, 8); 1025 output.WriteInt32(Field131); 1026 } 1027 if (Field150 != 0) { 1028 output.WriteRawTag(176, 9); 1029 output.WriteInt32(Field150); 1030 } 1031 if (Field271 != 0) { 1032 output.WriteRawTag(248, 16); 1033 output.WriteInt32(Field271); 1034 } 1035 if (Field272 != 0) { 1036 output.WriteRawTag(128, 17); 1037 output.WriteInt32(Field272); 1038 } 1039 if (Field280 != 0) { 1040 output.WriteRawTag(192, 17); 1041 output.WriteInt32(Field280); 1042 } 1043 if (_unknownFields != null) { 1044 _unknownFields.WriteTo(ref output); 1045 } 1046 } 1047 #endif 1048 1049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()1050 public int CalculateSize() { 1051 int size = 0; 1052 if (Field1.Length != 0) { 1053 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field1); 1054 } 1055 if (Field9.Length != 0) { 1056 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field9); 1057 } 1058 if (Field18.Length != 0) { 1059 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field18); 1060 } 1061 if (Field80 != false) { 1062 size += 2 + 1; 1063 } 1064 if (Field81 != false) { 1065 size += 2 + 1; 1066 } 1067 if (Field2 != 0) { 1068 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field2); 1069 } 1070 if (Field3 != 0) { 1071 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field3); 1072 } 1073 if (Field280 != 0) { 1074 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field280); 1075 } 1076 if (Field6 != 0) { 1077 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field6); 1078 } 1079 if (Field22 != 0L) { 1080 size += 2 + pb::CodedOutputStream.ComputeInt64Size(Field22); 1081 } 1082 if (Field4.Length != 0) { 1083 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field4); 1084 } 1085 size += field5_.CalculateSize(_repeated_field5_codec); 1086 if (Field59 != false) { 1087 size += 2 + 1; 1088 } 1089 if (Field7.Length != 0) { 1090 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field7); 1091 } 1092 if (Field16 != 0) { 1093 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field16); 1094 } 1095 if (Field130 != 0) { 1096 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field130); 1097 } 1098 if (Field12 != false) { 1099 size += 1 + 1; 1100 } 1101 if (Field17 != false) { 1102 size += 2 + 1; 1103 } 1104 if (Field13 != false) { 1105 size += 1 + 1; 1106 } 1107 if (Field14 != false) { 1108 size += 1 + 1; 1109 } 1110 if (Field104 != 0) { 1111 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field104); 1112 } 1113 if (Field100 != 0) { 1114 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field100); 1115 } 1116 if (Field101 != 0) { 1117 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field101); 1118 } 1119 if (Field102.Length != 0) { 1120 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field102); 1121 } 1122 if (Field103.Length != 0) { 1123 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field103); 1124 } 1125 if (Field29 != 0) { 1126 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field29); 1127 } 1128 if (Field30 != false) { 1129 size += 2 + 1; 1130 } 1131 if (Field60 != 0) { 1132 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field60); 1133 } 1134 if (Field271 != 0) { 1135 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field271); 1136 } 1137 if (Field272 != 0) { 1138 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field272); 1139 } 1140 if (Field150 != 0) { 1141 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field150); 1142 } 1143 if (Field23 != 0) { 1144 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field23); 1145 } 1146 if (Field24 != false) { 1147 size += 2 + 1; 1148 } 1149 if (Field25 != 0) { 1150 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field25); 1151 } 1152 if (field15_ != null) { 1153 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Field15); 1154 } 1155 if (Field78 != false) { 1156 size += 2 + 1; 1157 } 1158 if (Field67 != 0) { 1159 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field67); 1160 } 1161 if (Field68 != 0) { 1162 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field68); 1163 } 1164 if (Field128 != 0) { 1165 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field128); 1166 } 1167 if (Field129.Length != 0) { 1168 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field129); 1169 } 1170 if (Field131 != 0) { 1171 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field131); 1172 } 1173 if (_unknownFields != null) { 1174 size += _unknownFields.CalculateSize(); 1175 } 1176 return size; 1177 } 1178 1179 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(GoogleMessage1 other)1180 public void MergeFrom(GoogleMessage1 other) { 1181 if (other == null) { 1182 return; 1183 } 1184 if (other.Field1.Length != 0) { 1185 Field1 = other.Field1; 1186 } 1187 if (other.Field9.Length != 0) { 1188 Field9 = other.Field9; 1189 } 1190 if (other.Field18.Length != 0) { 1191 Field18 = other.Field18; 1192 } 1193 if (other.Field80 != false) { 1194 Field80 = other.Field80; 1195 } 1196 if (other.Field81 != false) { 1197 Field81 = other.Field81; 1198 } 1199 if (other.Field2 != 0) { 1200 Field2 = other.Field2; 1201 } 1202 if (other.Field3 != 0) { 1203 Field3 = other.Field3; 1204 } 1205 if (other.Field280 != 0) { 1206 Field280 = other.Field280; 1207 } 1208 if (other.Field6 != 0) { 1209 Field6 = other.Field6; 1210 } 1211 if (other.Field22 != 0L) { 1212 Field22 = other.Field22; 1213 } 1214 if (other.Field4.Length != 0) { 1215 Field4 = other.Field4; 1216 } 1217 field5_.Add(other.field5_); 1218 if (other.Field59 != false) { 1219 Field59 = other.Field59; 1220 } 1221 if (other.Field7.Length != 0) { 1222 Field7 = other.Field7; 1223 } 1224 if (other.Field16 != 0) { 1225 Field16 = other.Field16; 1226 } 1227 if (other.Field130 != 0) { 1228 Field130 = other.Field130; 1229 } 1230 if (other.Field12 != false) { 1231 Field12 = other.Field12; 1232 } 1233 if (other.Field17 != false) { 1234 Field17 = other.Field17; 1235 } 1236 if (other.Field13 != false) { 1237 Field13 = other.Field13; 1238 } 1239 if (other.Field14 != false) { 1240 Field14 = other.Field14; 1241 } 1242 if (other.Field104 != 0) { 1243 Field104 = other.Field104; 1244 } 1245 if (other.Field100 != 0) { 1246 Field100 = other.Field100; 1247 } 1248 if (other.Field101 != 0) { 1249 Field101 = other.Field101; 1250 } 1251 if (other.Field102.Length != 0) { 1252 Field102 = other.Field102; 1253 } 1254 if (other.Field103.Length != 0) { 1255 Field103 = other.Field103; 1256 } 1257 if (other.Field29 != 0) { 1258 Field29 = other.Field29; 1259 } 1260 if (other.Field30 != false) { 1261 Field30 = other.Field30; 1262 } 1263 if (other.Field60 != 0) { 1264 Field60 = other.Field60; 1265 } 1266 if (other.Field271 != 0) { 1267 Field271 = other.Field271; 1268 } 1269 if (other.Field272 != 0) { 1270 Field272 = other.Field272; 1271 } 1272 if (other.Field150 != 0) { 1273 Field150 = other.Field150; 1274 } 1275 if (other.Field23 != 0) { 1276 Field23 = other.Field23; 1277 } 1278 if (other.Field24 != false) { 1279 Field24 = other.Field24; 1280 } 1281 if (other.Field25 != 0) { 1282 Field25 = other.Field25; 1283 } 1284 if (other.field15_ != null) { 1285 if (field15_ == null) { 1286 Field15 = new global::Benchmarks.Proto3.GoogleMessage1SubMessage(); 1287 } 1288 Field15.MergeFrom(other.Field15); 1289 } 1290 if (other.Field78 != false) { 1291 Field78 = other.Field78; 1292 } 1293 if (other.Field67 != 0) { 1294 Field67 = other.Field67; 1295 } 1296 if (other.Field68 != 0) { 1297 Field68 = other.Field68; 1298 } 1299 if (other.Field128 != 0) { 1300 Field128 = other.Field128; 1301 } 1302 if (other.Field129.Length != 0) { 1303 Field129 = other.Field129; 1304 } 1305 if (other.Field131 != 0) { 1306 Field131 = other.Field131; 1307 } 1308 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 1309 } 1310 1311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)1312 public void MergeFrom(pb::CodedInputStream input) { 1313 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1314 input.ReadRawMessage(this); 1315 #else 1316 uint tag; 1317 while ((tag = input.ReadTag()) != 0) { 1318 switch(tag) { 1319 default: 1320 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 1321 break; 1322 case 10: { 1323 Field1 = input.ReadString(); 1324 break; 1325 } 1326 case 16: { 1327 Field2 = input.ReadInt32(); 1328 break; 1329 } 1330 case 24: { 1331 Field3 = input.ReadInt32(); 1332 break; 1333 } 1334 case 34: { 1335 Field4 = input.ReadString(); 1336 break; 1337 } 1338 case 42: 1339 case 41: { 1340 field5_.AddEntriesFrom(input, _repeated_field5_codec); 1341 break; 1342 } 1343 case 48: { 1344 Field6 = input.ReadInt32(); 1345 break; 1346 } 1347 case 58: { 1348 Field7 = input.ReadString(); 1349 break; 1350 } 1351 case 74: { 1352 Field9 = input.ReadString(); 1353 break; 1354 } 1355 case 96: { 1356 Field12 = input.ReadBool(); 1357 break; 1358 } 1359 case 104: { 1360 Field13 = input.ReadBool(); 1361 break; 1362 } 1363 case 112: { 1364 Field14 = input.ReadBool(); 1365 break; 1366 } 1367 case 122: { 1368 if (field15_ == null) { 1369 Field15 = new global::Benchmarks.Proto3.GoogleMessage1SubMessage(); 1370 } 1371 input.ReadMessage(Field15); 1372 break; 1373 } 1374 case 128: { 1375 Field16 = input.ReadInt32(); 1376 break; 1377 } 1378 case 136: { 1379 Field17 = input.ReadBool(); 1380 break; 1381 } 1382 case 146: { 1383 Field18 = input.ReadString(); 1384 break; 1385 } 1386 case 176: { 1387 Field22 = input.ReadInt64(); 1388 break; 1389 } 1390 case 184: { 1391 Field23 = input.ReadInt32(); 1392 break; 1393 } 1394 case 192: { 1395 Field24 = input.ReadBool(); 1396 break; 1397 } 1398 case 200: { 1399 Field25 = input.ReadInt32(); 1400 break; 1401 } 1402 case 232: { 1403 Field29 = input.ReadInt32(); 1404 break; 1405 } 1406 case 240: { 1407 Field30 = input.ReadBool(); 1408 break; 1409 } 1410 case 472: { 1411 Field59 = input.ReadBool(); 1412 break; 1413 } 1414 case 480: { 1415 Field60 = input.ReadInt32(); 1416 break; 1417 } 1418 case 536: { 1419 Field67 = input.ReadInt32(); 1420 break; 1421 } 1422 case 544: { 1423 Field68 = input.ReadInt32(); 1424 break; 1425 } 1426 case 624: { 1427 Field78 = input.ReadBool(); 1428 break; 1429 } 1430 case 640: { 1431 Field80 = input.ReadBool(); 1432 break; 1433 } 1434 case 648: { 1435 Field81 = input.ReadBool(); 1436 break; 1437 } 1438 case 800: { 1439 Field100 = input.ReadInt32(); 1440 break; 1441 } 1442 case 808: { 1443 Field101 = input.ReadInt32(); 1444 break; 1445 } 1446 case 818: { 1447 Field102 = input.ReadString(); 1448 break; 1449 } 1450 case 826: { 1451 Field103 = input.ReadString(); 1452 break; 1453 } 1454 case 832: { 1455 Field104 = input.ReadInt32(); 1456 break; 1457 } 1458 case 1024: { 1459 Field128 = input.ReadInt32(); 1460 break; 1461 } 1462 case 1034: { 1463 Field129 = input.ReadString(); 1464 break; 1465 } 1466 case 1040: { 1467 Field130 = input.ReadInt32(); 1468 break; 1469 } 1470 case 1048: { 1471 Field131 = input.ReadInt32(); 1472 break; 1473 } 1474 case 1200: { 1475 Field150 = input.ReadInt32(); 1476 break; 1477 } 1478 case 2168: { 1479 Field271 = input.ReadInt32(); 1480 break; 1481 } 1482 case 2176: { 1483 Field272 = input.ReadInt32(); 1484 break; 1485 } 1486 case 2240: { 1487 Field280 = input.ReadInt32(); 1488 break; 1489 } 1490 } 1491 } 1492 #endif 1493 } 1494 1495 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)1497 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 1498 uint tag; 1499 while ((tag = input.ReadTag()) != 0) { 1500 switch(tag) { 1501 default: 1502 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 1503 break; 1504 case 10: { 1505 Field1 = input.ReadString(); 1506 break; 1507 } 1508 case 16: { 1509 Field2 = input.ReadInt32(); 1510 break; 1511 } 1512 case 24: { 1513 Field3 = input.ReadInt32(); 1514 break; 1515 } 1516 case 34: { 1517 Field4 = input.ReadString(); 1518 break; 1519 } 1520 case 42: 1521 case 41: { 1522 field5_.AddEntriesFrom(ref input, _repeated_field5_codec); 1523 break; 1524 } 1525 case 48: { 1526 Field6 = input.ReadInt32(); 1527 break; 1528 } 1529 case 58: { 1530 Field7 = input.ReadString(); 1531 break; 1532 } 1533 case 74: { 1534 Field9 = input.ReadString(); 1535 break; 1536 } 1537 case 96: { 1538 Field12 = input.ReadBool(); 1539 break; 1540 } 1541 case 104: { 1542 Field13 = input.ReadBool(); 1543 break; 1544 } 1545 case 112: { 1546 Field14 = input.ReadBool(); 1547 break; 1548 } 1549 case 122: { 1550 if (field15_ == null) { 1551 Field15 = new global::Benchmarks.Proto3.GoogleMessage1SubMessage(); 1552 } 1553 input.ReadMessage(Field15); 1554 break; 1555 } 1556 case 128: { 1557 Field16 = input.ReadInt32(); 1558 break; 1559 } 1560 case 136: { 1561 Field17 = input.ReadBool(); 1562 break; 1563 } 1564 case 146: { 1565 Field18 = input.ReadString(); 1566 break; 1567 } 1568 case 176: { 1569 Field22 = input.ReadInt64(); 1570 break; 1571 } 1572 case 184: { 1573 Field23 = input.ReadInt32(); 1574 break; 1575 } 1576 case 192: { 1577 Field24 = input.ReadBool(); 1578 break; 1579 } 1580 case 200: { 1581 Field25 = input.ReadInt32(); 1582 break; 1583 } 1584 case 232: { 1585 Field29 = input.ReadInt32(); 1586 break; 1587 } 1588 case 240: { 1589 Field30 = input.ReadBool(); 1590 break; 1591 } 1592 case 472: { 1593 Field59 = input.ReadBool(); 1594 break; 1595 } 1596 case 480: { 1597 Field60 = input.ReadInt32(); 1598 break; 1599 } 1600 case 536: { 1601 Field67 = input.ReadInt32(); 1602 break; 1603 } 1604 case 544: { 1605 Field68 = input.ReadInt32(); 1606 break; 1607 } 1608 case 624: { 1609 Field78 = input.ReadBool(); 1610 break; 1611 } 1612 case 640: { 1613 Field80 = input.ReadBool(); 1614 break; 1615 } 1616 case 648: { 1617 Field81 = input.ReadBool(); 1618 break; 1619 } 1620 case 800: { 1621 Field100 = input.ReadInt32(); 1622 break; 1623 } 1624 case 808: { 1625 Field101 = input.ReadInt32(); 1626 break; 1627 } 1628 case 818: { 1629 Field102 = input.ReadString(); 1630 break; 1631 } 1632 case 826: { 1633 Field103 = input.ReadString(); 1634 break; 1635 } 1636 case 832: { 1637 Field104 = input.ReadInt32(); 1638 break; 1639 } 1640 case 1024: { 1641 Field128 = input.ReadInt32(); 1642 break; 1643 } 1644 case 1034: { 1645 Field129 = input.ReadString(); 1646 break; 1647 } 1648 case 1040: { 1649 Field130 = input.ReadInt32(); 1650 break; 1651 } 1652 case 1048: { 1653 Field131 = input.ReadInt32(); 1654 break; 1655 } 1656 case 1200: { 1657 Field150 = input.ReadInt32(); 1658 break; 1659 } 1660 case 2168: { 1661 Field271 = input.ReadInt32(); 1662 break; 1663 } 1664 case 2176: { 1665 Field272 = input.ReadInt32(); 1666 break; 1667 } 1668 case 2240: { 1669 Field280 = input.ReadInt32(); 1670 break; 1671 } 1672 } 1673 } 1674 } 1675 #endif 1676 1677 } 1678 1679 public sealed partial class GoogleMessage1SubMessage : pb::IMessage<GoogleMessage1SubMessage> 1680 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 1681 , pb::IBufferMessage 1682 #endif 1683 { 1684 private static readonly pb::MessageParser<GoogleMessage1SubMessage> _parser = new pb::MessageParser<GoogleMessage1SubMessage>(() => new GoogleMessage1SubMessage()); 1685 private pb::UnknownFieldSet _unknownFields; 1686 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1687 public static pb::MessageParser<GoogleMessage1SubMessage> Parser { get { return _parser; } } 1688 1689 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1690 public static pbr::MessageDescriptor Descriptor { 1691 get { return global::Benchmarks.Proto3.BenchmarkMessage1Proto3Reflection.Descriptor.MessageTypes[1]; } 1692 } 1693 1694 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1695 pbr::MessageDescriptor pb::IMessage.Descriptor { 1696 get { return Descriptor; } 1697 } 1698 1699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GoogleMessage1SubMessage()1700 public GoogleMessage1SubMessage() { 1701 OnConstruction(); 1702 } 1703 OnConstruction()1704 partial void OnConstruction(); 1705 1706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GoogleMessage1SubMessage(GoogleMessage1SubMessage other)1707 public GoogleMessage1SubMessage(GoogleMessage1SubMessage other) : this() { 1708 field1_ = other.field1_; 1709 field2_ = other.field2_; 1710 field3_ = other.field3_; 1711 field15_ = other.field15_; 1712 field12_ = other.field12_; 1713 field13_ = other.field13_; 1714 field14_ = other.field14_; 1715 field16_ = other.field16_; 1716 field19_ = other.field19_; 1717 field20_ = other.field20_; 1718 field28_ = other.field28_; 1719 field21_ = other.field21_; 1720 field22_ = other.field22_; 1721 field23_ = other.field23_; 1722 field206_ = other.field206_; 1723 field203_ = other.field203_; 1724 field204_ = other.field204_; 1725 field205_ = other.field205_; 1726 field207_ = other.field207_; 1727 field300_ = other.field300_; 1728 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 1729 } 1730 1731 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()1732 public GoogleMessage1SubMessage Clone() { 1733 return new GoogleMessage1SubMessage(this); 1734 } 1735 1736 /// <summary>Field number for the "field1" field.</summary> 1737 public const int Field1FieldNumber = 1; 1738 private int field1_; 1739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1740 public int Field1 { 1741 get { return field1_; } 1742 set { 1743 field1_ = value; 1744 } 1745 } 1746 1747 /// <summary>Field number for the "field2" field.</summary> 1748 public const int Field2FieldNumber = 2; 1749 private int field2_; 1750 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1751 public int Field2 { 1752 get { return field2_; } 1753 set { 1754 field2_ = value; 1755 } 1756 } 1757 1758 /// <summary>Field number for the "field3" field.</summary> 1759 public const int Field3FieldNumber = 3; 1760 private int field3_; 1761 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1762 public int Field3 { 1763 get { return field3_; } 1764 set { 1765 field3_ = value; 1766 } 1767 } 1768 1769 /// <summary>Field number for the "field15" field.</summary> 1770 public const int Field15FieldNumber = 15; 1771 private string field15_ = ""; 1772 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1773 public string Field15 { 1774 get { return field15_; } 1775 set { 1776 field15_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1777 } 1778 } 1779 1780 /// <summary>Field number for the "field12" field.</summary> 1781 public const int Field12FieldNumber = 12; 1782 private bool field12_; 1783 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1784 public bool Field12 { 1785 get { return field12_; } 1786 set { 1787 field12_ = value; 1788 } 1789 } 1790 1791 /// <summary>Field number for the "field13" field.</summary> 1792 public const int Field13FieldNumber = 13; 1793 private long field13_; 1794 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1795 public long Field13 { 1796 get { return field13_; } 1797 set { 1798 field13_ = value; 1799 } 1800 } 1801 1802 /// <summary>Field number for the "field14" field.</summary> 1803 public const int Field14FieldNumber = 14; 1804 private long field14_; 1805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1806 public long Field14 { 1807 get { return field14_; } 1808 set { 1809 field14_ = value; 1810 } 1811 } 1812 1813 /// <summary>Field number for the "field16" field.</summary> 1814 public const int Field16FieldNumber = 16; 1815 private int field16_; 1816 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1817 public int Field16 { 1818 get { return field16_; } 1819 set { 1820 field16_ = value; 1821 } 1822 } 1823 1824 /// <summary>Field number for the "field19" field.</summary> 1825 public const int Field19FieldNumber = 19; 1826 private int field19_; 1827 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1828 public int Field19 { 1829 get { return field19_; } 1830 set { 1831 field19_ = value; 1832 } 1833 } 1834 1835 /// <summary>Field number for the "field20" field.</summary> 1836 public const int Field20FieldNumber = 20; 1837 private bool field20_; 1838 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1839 public bool Field20 { 1840 get { return field20_; } 1841 set { 1842 field20_ = value; 1843 } 1844 } 1845 1846 /// <summary>Field number for the "field28" field.</summary> 1847 public const int Field28FieldNumber = 28; 1848 private bool field28_; 1849 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1850 public bool Field28 { 1851 get { return field28_; } 1852 set { 1853 field28_ = value; 1854 } 1855 } 1856 1857 /// <summary>Field number for the "field21" field.</summary> 1858 public const int Field21FieldNumber = 21; 1859 private ulong field21_; 1860 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1861 public ulong Field21 { 1862 get { return field21_; } 1863 set { 1864 field21_ = value; 1865 } 1866 } 1867 1868 /// <summary>Field number for the "field22" field.</summary> 1869 public const int Field22FieldNumber = 22; 1870 private int field22_; 1871 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1872 public int Field22 { 1873 get { return field22_; } 1874 set { 1875 field22_ = value; 1876 } 1877 } 1878 1879 /// <summary>Field number for the "field23" field.</summary> 1880 public const int Field23FieldNumber = 23; 1881 private bool field23_; 1882 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1883 public bool Field23 { 1884 get { return field23_; } 1885 set { 1886 field23_ = value; 1887 } 1888 } 1889 1890 /// <summary>Field number for the "field206" field.</summary> 1891 public const int Field206FieldNumber = 206; 1892 private bool field206_; 1893 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1894 public bool Field206 { 1895 get { return field206_; } 1896 set { 1897 field206_ = value; 1898 } 1899 } 1900 1901 /// <summary>Field number for the "field203" field.</summary> 1902 public const int Field203FieldNumber = 203; 1903 private uint field203_; 1904 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1905 public uint Field203 { 1906 get { return field203_; } 1907 set { 1908 field203_ = value; 1909 } 1910 } 1911 1912 /// <summary>Field number for the "field204" field.</summary> 1913 public const int Field204FieldNumber = 204; 1914 private int field204_; 1915 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1916 public int Field204 { 1917 get { return field204_; } 1918 set { 1919 field204_ = value; 1920 } 1921 } 1922 1923 /// <summary>Field number for the "field205" field.</summary> 1924 public const int Field205FieldNumber = 205; 1925 private string field205_ = ""; 1926 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1927 public string Field205 { 1928 get { return field205_; } 1929 set { 1930 field205_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1931 } 1932 } 1933 1934 /// <summary>Field number for the "field207" field.</summary> 1935 public const int Field207FieldNumber = 207; 1936 private ulong field207_; 1937 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1938 public ulong Field207 { 1939 get { return field207_; } 1940 set { 1941 field207_ = value; 1942 } 1943 } 1944 1945 /// <summary>Field number for the "field300" field.</summary> 1946 public const int Field300FieldNumber = 300; 1947 private ulong field300_; 1948 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 1949 public ulong Field300 { 1950 get { return field300_; } 1951 set { 1952 field300_ = value; 1953 } 1954 } 1955 1956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)1957 public override bool Equals(object other) { 1958 return Equals(other as GoogleMessage1SubMessage); 1959 } 1960 1961 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(GoogleMessage1SubMessage other)1962 public bool Equals(GoogleMessage1SubMessage other) { 1963 if (ReferenceEquals(other, null)) { 1964 return false; 1965 } 1966 if (ReferenceEquals(other, this)) { 1967 return true; 1968 } 1969 if (Field1 != other.Field1) return false; 1970 if (Field2 != other.Field2) return false; 1971 if (Field3 != other.Field3) return false; 1972 if (Field15 != other.Field15) return false; 1973 if (Field12 != other.Field12) return false; 1974 if (Field13 != other.Field13) return false; 1975 if (Field14 != other.Field14) return false; 1976 if (Field16 != other.Field16) return false; 1977 if (Field19 != other.Field19) return false; 1978 if (Field20 != other.Field20) return false; 1979 if (Field28 != other.Field28) return false; 1980 if (Field21 != other.Field21) return false; 1981 if (Field22 != other.Field22) return false; 1982 if (Field23 != other.Field23) return false; 1983 if (Field206 != other.Field206) return false; 1984 if (Field203 != other.Field203) return false; 1985 if (Field204 != other.Field204) return false; 1986 if (Field205 != other.Field205) return false; 1987 if (Field207 != other.Field207) return false; 1988 if (Field300 != other.Field300) return false; 1989 return Equals(_unknownFields, other._unknownFields); 1990 } 1991 1992 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()1993 public override int GetHashCode() { 1994 int hash = 1; 1995 if (Field1 != 0) hash ^= Field1.GetHashCode(); 1996 if (Field2 != 0) hash ^= Field2.GetHashCode(); 1997 if (Field3 != 0) hash ^= Field3.GetHashCode(); 1998 if (Field15.Length != 0) hash ^= Field15.GetHashCode(); 1999 if (Field12 != false) hash ^= Field12.GetHashCode(); 2000 if (Field13 != 0L) hash ^= Field13.GetHashCode(); 2001 if (Field14 != 0L) hash ^= Field14.GetHashCode(); 2002 if (Field16 != 0) hash ^= Field16.GetHashCode(); 2003 if (Field19 != 0) hash ^= Field19.GetHashCode(); 2004 if (Field20 != false) hash ^= Field20.GetHashCode(); 2005 if (Field28 != false) hash ^= Field28.GetHashCode(); 2006 if (Field21 != 0UL) hash ^= Field21.GetHashCode(); 2007 if (Field22 != 0) hash ^= Field22.GetHashCode(); 2008 if (Field23 != false) hash ^= Field23.GetHashCode(); 2009 if (Field206 != false) hash ^= Field206.GetHashCode(); 2010 if (Field203 != 0) hash ^= Field203.GetHashCode(); 2011 if (Field204 != 0) hash ^= Field204.GetHashCode(); 2012 if (Field205.Length != 0) hash ^= Field205.GetHashCode(); 2013 if (Field207 != 0UL) hash ^= Field207.GetHashCode(); 2014 if (Field300 != 0UL) hash ^= Field300.GetHashCode(); 2015 if (_unknownFields != null) { 2016 hash ^= _unknownFields.GetHashCode(); 2017 } 2018 return hash; 2019 } 2020 2021 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()2022 public override string ToString() { 2023 return pb::JsonFormatter.ToDiagnosticString(this); 2024 } 2025 2026 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)2027 public void WriteTo(pb::CodedOutputStream output) { 2028 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 2029 output.WriteRawMessage(this); 2030 #else 2031 if (Field1 != 0) { 2032 output.WriteRawTag(8); 2033 output.WriteInt32(Field1); 2034 } 2035 if (Field2 != 0) { 2036 output.WriteRawTag(16); 2037 output.WriteInt32(Field2); 2038 } 2039 if (Field3 != 0) { 2040 output.WriteRawTag(24); 2041 output.WriteInt32(Field3); 2042 } 2043 if (Field12 != false) { 2044 output.WriteRawTag(96); 2045 output.WriteBool(Field12); 2046 } 2047 if (Field13 != 0L) { 2048 output.WriteRawTag(104); 2049 output.WriteInt64(Field13); 2050 } 2051 if (Field14 != 0L) { 2052 output.WriteRawTag(112); 2053 output.WriteInt64(Field14); 2054 } 2055 if (Field15.Length != 0) { 2056 output.WriteRawTag(122); 2057 output.WriteString(Field15); 2058 } 2059 if (Field16 != 0) { 2060 output.WriteRawTag(128, 1); 2061 output.WriteInt32(Field16); 2062 } 2063 if (Field19 != 0) { 2064 output.WriteRawTag(152, 1); 2065 output.WriteInt32(Field19); 2066 } 2067 if (Field20 != false) { 2068 output.WriteRawTag(160, 1); 2069 output.WriteBool(Field20); 2070 } 2071 if (Field21 != 0UL) { 2072 output.WriteRawTag(169, 1); 2073 output.WriteFixed64(Field21); 2074 } 2075 if (Field22 != 0) { 2076 output.WriteRawTag(176, 1); 2077 output.WriteInt32(Field22); 2078 } 2079 if (Field23 != false) { 2080 output.WriteRawTag(184, 1); 2081 output.WriteBool(Field23); 2082 } 2083 if (Field28 != false) { 2084 output.WriteRawTag(224, 1); 2085 output.WriteBool(Field28); 2086 } 2087 if (Field203 != 0) { 2088 output.WriteRawTag(221, 12); 2089 output.WriteFixed32(Field203); 2090 } 2091 if (Field204 != 0) { 2092 output.WriteRawTag(224, 12); 2093 output.WriteInt32(Field204); 2094 } 2095 if (Field205.Length != 0) { 2096 output.WriteRawTag(234, 12); 2097 output.WriteString(Field205); 2098 } 2099 if (Field206 != false) { 2100 output.WriteRawTag(240, 12); 2101 output.WriteBool(Field206); 2102 } 2103 if (Field207 != 0UL) { 2104 output.WriteRawTag(248, 12); 2105 output.WriteUInt64(Field207); 2106 } 2107 if (Field300 != 0UL) { 2108 output.WriteRawTag(224, 18); 2109 output.WriteUInt64(Field300); 2110 } 2111 if (_unknownFields != null) { 2112 _unknownFields.WriteTo(output); 2113 } 2114 #endif 2115 } 2116 2117 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 2118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalWriteTo(ref pb::WriteContext output)2119 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { 2120 if (Field1 != 0) { 2121 output.WriteRawTag(8); 2122 output.WriteInt32(Field1); 2123 } 2124 if (Field2 != 0) { 2125 output.WriteRawTag(16); 2126 output.WriteInt32(Field2); 2127 } 2128 if (Field3 != 0) { 2129 output.WriteRawTag(24); 2130 output.WriteInt32(Field3); 2131 } 2132 if (Field12 != false) { 2133 output.WriteRawTag(96); 2134 output.WriteBool(Field12); 2135 } 2136 if (Field13 != 0L) { 2137 output.WriteRawTag(104); 2138 output.WriteInt64(Field13); 2139 } 2140 if (Field14 != 0L) { 2141 output.WriteRawTag(112); 2142 output.WriteInt64(Field14); 2143 } 2144 if (Field15.Length != 0) { 2145 output.WriteRawTag(122); 2146 output.WriteString(Field15); 2147 } 2148 if (Field16 != 0) { 2149 output.WriteRawTag(128, 1); 2150 output.WriteInt32(Field16); 2151 } 2152 if (Field19 != 0) { 2153 output.WriteRawTag(152, 1); 2154 output.WriteInt32(Field19); 2155 } 2156 if (Field20 != false) { 2157 output.WriteRawTag(160, 1); 2158 output.WriteBool(Field20); 2159 } 2160 if (Field21 != 0UL) { 2161 output.WriteRawTag(169, 1); 2162 output.WriteFixed64(Field21); 2163 } 2164 if (Field22 != 0) { 2165 output.WriteRawTag(176, 1); 2166 output.WriteInt32(Field22); 2167 } 2168 if (Field23 != false) { 2169 output.WriteRawTag(184, 1); 2170 output.WriteBool(Field23); 2171 } 2172 if (Field28 != false) { 2173 output.WriteRawTag(224, 1); 2174 output.WriteBool(Field28); 2175 } 2176 if (Field203 != 0) { 2177 output.WriteRawTag(221, 12); 2178 output.WriteFixed32(Field203); 2179 } 2180 if (Field204 != 0) { 2181 output.WriteRawTag(224, 12); 2182 output.WriteInt32(Field204); 2183 } 2184 if (Field205.Length != 0) { 2185 output.WriteRawTag(234, 12); 2186 output.WriteString(Field205); 2187 } 2188 if (Field206 != false) { 2189 output.WriteRawTag(240, 12); 2190 output.WriteBool(Field206); 2191 } 2192 if (Field207 != 0UL) { 2193 output.WriteRawTag(248, 12); 2194 output.WriteUInt64(Field207); 2195 } 2196 if (Field300 != 0UL) { 2197 output.WriteRawTag(224, 18); 2198 output.WriteUInt64(Field300); 2199 } 2200 if (_unknownFields != null) { 2201 _unknownFields.WriteTo(ref output); 2202 } 2203 } 2204 #endif 2205 2206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()2207 public int CalculateSize() { 2208 int size = 0; 2209 if (Field1 != 0) { 2210 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field1); 2211 } 2212 if (Field2 != 0) { 2213 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field2); 2214 } 2215 if (Field3 != 0) { 2216 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field3); 2217 } 2218 if (Field15.Length != 0) { 2219 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field15); 2220 } 2221 if (Field12 != false) { 2222 size += 1 + 1; 2223 } 2224 if (Field13 != 0L) { 2225 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Field13); 2226 } 2227 if (Field14 != 0L) { 2228 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Field14); 2229 } 2230 if (Field16 != 0) { 2231 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field16); 2232 } 2233 if (Field19 != 0) { 2234 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field19); 2235 } 2236 if (Field20 != false) { 2237 size += 2 + 1; 2238 } 2239 if (Field28 != false) { 2240 size += 2 + 1; 2241 } 2242 if (Field21 != 0UL) { 2243 size += 2 + 8; 2244 } 2245 if (Field22 != 0) { 2246 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field22); 2247 } 2248 if (Field23 != false) { 2249 size += 2 + 1; 2250 } 2251 if (Field206 != false) { 2252 size += 2 + 1; 2253 } 2254 if (Field203 != 0) { 2255 size += 2 + 4; 2256 } 2257 if (Field204 != 0) { 2258 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field204); 2259 } 2260 if (Field205.Length != 0) { 2261 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field205); 2262 } 2263 if (Field207 != 0UL) { 2264 size += 2 + pb::CodedOutputStream.ComputeUInt64Size(Field207); 2265 } 2266 if (Field300 != 0UL) { 2267 size += 2 + pb::CodedOutputStream.ComputeUInt64Size(Field300); 2268 } 2269 if (_unknownFields != null) { 2270 size += _unknownFields.CalculateSize(); 2271 } 2272 return size; 2273 } 2274 2275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(GoogleMessage1SubMessage other)2276 public void MergeFrom(GoogleMessage1SubMessage other) { 2277 if (other == null) { 2278 return; 2279 } 2280 if (other.Field1 != 0) { 2281 Field1 = other.Field1; 2282 } 2283 if (other.Field2 != 0) { 2284 Field2 = other.Field2; 2285 } 2286 if (other.Field3 != 0) { 2287 Field3 = other.Field3; 2288 } 2289 if (other.Field15.Length != 0) { 2290 Field15 = other.Field15; 2291 } 2292 if (other.Field12 != false) { 2293 Field12 = other.Field12; 2294 } 2295 if (other.Field13 != 0L) { 2296 Field13 = other.Field13; 2297 } 2298 if (other.Field14 != 0L) { 2299 Field14 = other.Field14; 2300 } 2301 if (other.Field16 != 0) { 2302 Field16 = other.Field16; 2303 } 2304 if (other.Field19 != 0) { 2305 Field19 = other.Field19; 2306 } 2307 if (other.Field20 != false) { 2308 Field20 = other.Field20; 2309 } 2310 if (other.Field28 != false) { 2311 Field28 = other.Field28; 2312 } 2313 if (other.Field21 != 0UL) { 2314 Field21 = other.Field21; 2315 } 2316 if (other.Field22 != 0) { 2317 Field22 = other.Field22; 2318 } 2319 if (other.Field23 != false) { 2320 Field23 = other.Field23; 2321 } 2322 if (other.Field206 != false) { 2323 Field206 = other.Field206; 2324 } 2325 if (other.Field203 != 0) { 2326 Field203 = other.Field203; 2327 } 2328 if (other.Field204 != 0) { 2329 Field204 = other.Field204; 2330 } 2331 if (other.Field205.Length != 0) { 2332 Field205 = other.Field205; 2333 } 2334 if (other.Field207 != 0UL) { 2335 Field207 = other.Field207; 2336 } 2337 if (other.Field300 != 0UL) { 2338 Field300 = other.Field300; 2339 } 2340 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 2341 } 2342 2343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)2344 public void MergeFrom(pb::CodedInputStream input) { 2345 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 2346 input.ReadRawMessage(this); 2347 #else 2348 uint tag; 2349 while ((tag = input.ReadTag()) != 0) { 2350 switch(tag) { 2351 default: 2352 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 2353 break; 2354 case 8: { 2355 Field1 = input.ReadInt32(); 2356 break; 2357 } 2358 case 16: { 2359 Field2 = input.ReadInt32(); 2360 break; 2361 } 2362 case 24: { 2363 Field3 = input.ReadInt32(); 2364 break; 2365 } 2366 case 96: { 2367 Field12 = input.ReadBool(); 2368 break; 2369 } 2370 case 104: { 2371 Field13 = input.ReadInt64(); 2372 break; 2373 } 2374 case 112: { 2375 Field14 = input.ReadInt64(); 2376 break; 2377 } 2378 case 122: { 2379 Field15 = input.ReadString(); 2380 break; 2381 } 2382 case 128: { 2383 Field16 = input.ReadInt32(); 2384 break; 2385 } 2386 case 152: { 2387 Field19 = input.ReadInt32(); 2388 break; 2389 } 2390 case 160: { 2391 Field20 = input.ReadBool(); 2392 break; 2393 } 2394 case 169: { 2395 Field21 = input.ReadFixed64(); 2396 break; 2397 } 2398 case 176: { 2399 Field22 = input.ReadInt32(); 2400 break; 2401 } 2402 case 184: { 2403 Field23 = input.ReadBool(); 2404 break; 2405 } 2406 case 224: { 2407 Field28 = input.ReadBool(); 2408 break; 2409 } 2410 case 1629: { 2411 Field203 = input.ReadFixed32(); 2412 break; 2413 } 2414 case 1632: { 2415 Field204 = input.ReadInt32(); 2416 break; 2417 } 2418 case 1642: { 2419 Field205 = input.ReadString(); 2420 break; 2421 } 2422 case 1648: { 2423 Field206 = input.ReadBool(); 2424 break; 2425 } 2426 case 1656: { 2427 Field207 = input.ReadUInt64(); 2428 break; 2429 } 2430 case 2400: { 2431 Field300 = input.ReadUInt64(); 2432 break; 2433 } 2434 } 2435 } 2436 #endif 2437 } 2438 2439 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE 2440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)2441 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { 2442 uint tag; 2443 while ((tag = input.ReadTag()) != 0) { 2444 switch(tag) { 2445 default: 2446 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); 2447 break; 2448 case 8: { 2449 Field1 = input.ReadInt32(); 2450 break; 2451 } 2452 case 16: { 2453 Field2 = input.ReadInt32(); 2454 break; 2455 } 2456 case 24: { 2457 Field3 = input.ReadInt32(); 2458 break; 2459 } 2460 case 96: { 2461 Field12 = input.ReadBool(); 2462 break; 2463 } 2464 case 104: { 2465 Field13 = input.ReadInt64(); 2466 break; 2467 } 2468 case 112: { 2469 Field14 = input.ReadInt64(); 2470 break; 2471 } 2472 case 122: { 2473 Field15 = input.ReadString(); 2474 break; 2475 } 2476 case 128: { 2477 Field16 = input.ReadInt32(); 2478 break; 2479 } 2480 case 152: { 2481 Field19 = input.ReadInt32(); 2482 break; 2483 } 2484 case 160: { 2485 Field20 = input.ReadBool(); 2486 break; 2487 } 2488 case 169: { 2489 Field21 = input.ReadFixed64(); 2490 break; 2491 } 2492 case 176: { 2493 Field22 = input.ReadInt32(); 2494 break; 2495 } 2496 case 184: { 2497 Field23 = input.ReadBool(); 2498 break; 2499 } 2500 case 224: { 2501 Field28 = input.ReadBool(); 2502 break; 2503 } 2504 case 1629: { 2505 Field203 = input.ReadFixed32(); 2506 break; 2507 } 2508 case 1632: { 2509 Field204 = input.ReadInt32(); 2510 break; 2511 } 2512 case 1642: { 2513 Field205 = input.ReadString(); 2514 break; 2515 } 2516 case 1648: { 2517 Field206 = input.ReadBool(); 2518 break; 2519 } 2520 case 1656: { 2521 Field207 = input.ReadUInt64(); 2522 break; 2523 } 2524 case 2400: { 2525 Field300 = input.ReadUInt64(); 2526 break; 2527 } 2528 } 2529 } 2530 } 2531 #endif 2532 2533 } 2534 2535 #endregion 2536 2537 } 2538 2539 #endregion Designer generated code 2540