1 // <auto-generated> 2 // Generated by the protocol buffer compiler. DO NOT EDIT! 3 // source: math/math.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 Math { 13 14 /// <summary>Holder for reflection information generated from math/math.proto</summary> 15 public static partial class MathReflection { 16 17 #region Descriptor 18 /// <summary>File descriptor for math/math.proto</summary> 19 public static pbr::FileDescriptor Descriptor { 20 get { return descriptor; } 21 } 22 private static pbr::FileDescriptor descriptor; 23 MathReflection()24 static MathReflection() { 25 byte[] descriptorData = global::System.Convert.FromBase64String( 26 string.Concat( 27 "Cg9tYXRoL21hdGgucHJvdG8SBG1hdGgiLAoHRGl2QXJncxIQCghkaXZpZGVu", 28 "ZBgBIAEoAxIPCgdkaXZpc29yGAIgASgDIi8KCERpdlJlcGx5EhAKCHF1b3Rp", 29 "ZW50GAEgASgDEhEKCXJlbWFpbmRlchgCIAEoAyIYCgdGaWJBcmdzEg0KBWxp", 30 "bWl0GAEgASgDIhIKA051bRILCgNudW0YASABKAMiGQoIRmliUmVwbHkSDQoF", 31 "Y291bnQYASABKAMypAEKBE1hdGgSJgoDRGl2Eg0ubWF0aC5EaXZBcmdzGg4u", 32 "bWF0aC5EaXZSZXBseSIAEi4KB0Rpdk1hbnkSDS5tYXRoLkRpdkFyZ3MaDi5t", 33 "YXRoLkRpdlJlcGx5IgAoATABEiMKA0ZpYhINLm1hdGguRmliQXJncxoJLm1h", 34 "dGguTnVtIgAwARIfCgNTdW0SCS5tYXRoLk51bRoJLm1hdGguTnVtIgAoAWIG", 35 "cHJvdG8z")); 36 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 37 new pbr::FileDescriptor[] { }, 38 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { 39 new pbr::GeneratedClrTypeInfo(typeof(global::Math.DivArgs), global::Math.DivArgs.Parser, new[]{ "Dividend", "Divisor" }, null, null, null), 40 new pbr::GeneratedClrTypeInfo(typeof(global::Math.DivReply), global::Math.DivReply.Parser, new[]{ "Quotient", "Remainder" }, null, null, null), 41 new pbr::GeneratedClrTypeInfo(typeof(global::Math.FibArgs), global::Math.FibArgs.Parser, new[]{ "Limit" }, null, null, null), 42 new pbr::GeneratedClrTypeInfo(typeof(global::Math.Num), global::Math.Num.Parser, new[]{ "Num_" }, null, null, null), 43 new pbr::GeneratedClrTypeInfo(typeof(global::Math.FibReply), global::Math.FibReply.Parser, new[]{ "Count" }, null, null, null) 44 })); 45 } 46 #endregion 47 48 } 49 #region Messages 50 public sealed partial class DivArgs : pb::IMessage<DivArgs> { 51 private static readonly pb::MessageParser<DivArgs> _parser = new pb::MessageParser<DivArgs>(() => new DivArgs()); 52 private pb::UnknownFieldSet _unknownFields; 53 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 54 public static pb::MessageParser<DivArgs> Parser { get { return _parser; } } 55 56 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 57 public static pbr::MessageDescriptor Descriptor { 58 get { return global::Math.MathReflection.Descriptor.MessageTypes[0]; } 59 } 60 61 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 62 pbr::MessageDescriptor pb::IMessage.Descriptor { 63 get { return Descriptor; } 64 } 65 66 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] DivArgs()67 public DivArgs() { 68 OnConstruction(); 69 } 70 OnConstruction()71 partial void OnConstruction(); 72 73 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] DivArgs(DivArgs other)74 public DivArgs(DivArgs other) : this() { 75 dividend_ = other.dividend_; 76 divisor_ = other.divisor_; 77 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 78 } 79 80 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()81 public DivArgs Clone() { 82 return new DivArgs(this); 83 } 84 85 /// <summary>Field number for the "dividend" field.</summary> 86 public const int DividendFieldNumber = 1; 87 private long dividend_; 88 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 89 public long Dividend { 90 get { return dividend_; } 91 set { 92 dividend_ = value; 93 } 94 } 95 96 /// <summary>Field number for the "divisor" field.</summary> 97 public const int DivisorFieldNumber = 2; 98 private long divisor_; 99 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 100 public long Divisor { 101 get { return divisor_; } 102 set { 103 divisor_ = value; 104 } 105 } 106 107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)108 public override bool Equals(object other) { 109 return Equals(other as DivArgs); 110 } 111 112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(DivArgs other)113 public bool Equals(DivArgs other) { 114 if (ReferenceEquals(other, null)) { 115 return false; 116 } 117 if (ReferenceEquals(other, this)) { 118 return true; 119 } 120 if (Dividend != other.Dividend) return false; 121 if (Divisor != other.Divisor) return false; 122 return Equals(_unknownFields, other._unknownFields); 123 } 124 125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()126 public override int GetHashCode() { 127 int hash = 1; 128 if (Dividend != 0L) hash ^= Dividend.GetHashCode(); 129 if (Divisor != 0L) hash ^= Divisor.GetHashCode(); 130 if (_unknownFields != null) { 131 hash ^= _unknownFields.GetHashCode(); 132 } 133 return hash; 134 } 135 136 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()137 public override string ToString() { 138 return pb::JsonFormatter.ToDiagnosticString(this); 139 } 140 141 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)142 public void WriteTo(pb::CodedOutputStream output) { 143 if (Dividend != 0L) { 144 output.WriteRawTag(8); 145 output.WriteInt64(Dividend); 146 } 147 if (Divisor != 0L) { 148 output.WriteRawTag(16); 149 output.WriteInt64(Divisor); 150 } 151 if (_unknownFields != null) { 152 _unknownFields.WriteTo(output); 153 } 154 } 155 156 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()157 public int CalculateSize() { 158 int size = 0; 159 if (Dividend != 0L) { 160 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Dividend); 161 } 162 if (Divisor != 0L) { 163 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Divisor); 164 } 165 if (_unknownFields != null) { 166 size += _unknownFields.CalculateSize(); 167 } 168 return size; 169 } 170 171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(DivArgs other)172 public void MergeFrom(DivArgs other) { 173 if (other == null) { 174 return; 175 } 176 if (other.Dividend != 0L) { 177 Dividend = other.Dividend; 178 } 179 if (other.Divisor != 0L) { 180 Divisor = other.Divisor; 181 } 182 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 183 } 184 185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)186 public void MergeFrom(pb::CodedInputStream input) { 187 uint tag; 188 while ((tag = input.ReadTag()) != 0) { 189 switch(tag) { 190 default: 191 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 192 break; 193 case 8: { 194 Dividend = input.ReadInt64(); 195 break; 196 } 197 case 16: { 198 Divisor = input.ReadInt64(); 199 break; 200 } 201 } 202 } 203 } 204 205 } 206 207 public sealed partial class DivReply : pb::IMessage<DivReply> { 208 private static readonly pb::MessageParser<DivReply> _parser = new pb::MessageParser<DivReply>(() => new DivReply()); 209 private pb::UnknownFieldSet _unknownFields; 210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 211 public static pb::MessageParser<DivReply> Parser { get { return _parser; } } 212 213 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 214 public static pbr::MessageDescriptor Descriptor { 215 get { return global::Math.MathReflection.Descriptor.MessageTypes[1]; } 216 } 217 218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 219 pbr::MessageDescriptor pb::IMessage.Descriptor { 220 get { return Descriptor; } 221 } 222 223 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] DivReply()224 public DivReply() { 225 OnConstruction(); 226 } 227 OnConstruction()228 partial void OnConstruction(); 229 230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] DivReply(DivReply other)231 public DivReply(DivReply other) : this() { 232 quotient_ = other.quotient_; 233 remainder_ = other.remainder_; 234 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 235 } 236 237 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()238 public DivReply Clone() { 239 return new DivReply(this); 240 } 241 242 /// <summary>Field number for the "quotient" field.</summary> 243 public const int QuotientFieldNumber = 1; 244 private long quotient_; 245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 246 public long Quotient { 247 get { return quotient_; } 248 set { 249 quotient_ = value; 250 } 251 } 252 253 /// <summary>Field number for the "remainder" field.</summary> 254 public const int RemainderFieldNumber = 2; 255 private long remainder_; 256 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 257 public long Remainder { 258 get { return remainder_; } 259 set { 260 remainder_ = value; 261 } 262 } 263 264 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)265 public override bool Equals(object other) { 266 return Equals(other as DivReply); 267 } 268 269 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(DivReply other)270 public bool Equals(DivReply other) { 271 if (ReferenceEquals(other, null)) { 272 return false; 273 } 274 if (ReferenceEquals(other, this)) { 275 return true; 276 } 277 if (Quotient != other.Quotient) return false; 278 if (Remainder != other.Remainder) return false; 279 return Equals(_unknownFields, other._unknownFields); 280 } 281 282 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()283 public override int GetHashCode() { 284 int hash = 1; 285 if (Quotient != 0L) hash ^= Quotient.GetHashCode(); 286 if (Remainder != 0L) hash ^= Remainder.GetHashCode(); 287 if (_unknownFields != null) { 288 hash ^= _unknownFields.GetHashCode(); 289 } 290 return hash; 291 } 292 293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()294 public override string ToString() { 295 return pb::JsonFormatter.ToDiagnosticString(this); 296 } 297 298 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)299 public void WriteTo(pb::CodedOutputStream output) { 300 if (Quotient != 0L) { 301 output.WriteRawTag(8); 302 output.WriteInt64(Quotient); 303 } 304 if (Remainder != 0L) { 305 output.WriteRawTag(16); 306 output.WriteInt64(Remainder); 307 } 308 if (_unknownFields != null) { 309 _unknownFields.WriteTo(output); 310 } 311 } 312 313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()314 public int CalculateSize() { 315 int size = 0; 316 if (Quotient != 0L) { 317 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Quotient); 318 } 319 if (Remainder != 0L) { 320 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Remainder); 321 } 322 if (_unknownFields != null) { 323 size += _unknownFields.CalculateSize(); 324 } 325 return size; 326 } 327 328 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(DivReply other)329 public void MergeFrom(DivReply other) { 330 if (other == null) { 331 return; 332 } 333 if (other.Quotient != 0L) { 334 Quotient = other.Quotient; 335 } 336 if (other.Remainder != 0L) { 337 Remainder = other.Remainder; 338 } 339 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 340 } 341 342 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)343 public void MergeFrom(pb::CodedInputStream input) { 344 uint tag; 345 while ((tag = input.ReadTag()) != 0) { 346 switch(tag) { 347 default: 348 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 349 break; 350 case 8: { 351 Quotient = input.ReadInt64(); 352 break; 353 } 354 case 16: { 355 Remainder = input.ReadInt64(); 356 break; 357 } 358 } 359 } 360 } 361 362 } 363 364 public sealed partial class FibArgs : pb::IMessage<FibArgs> { 365 private static readonly pb::MessageParser<FibArgs> _parser = new pb::MessageParser<FibArgs>(() => new FibArgs()); 366 private pb::UnknownFieldSet _unknownFields; 367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 368 public static pb::MessageParser<FibArgs> Parser { get { return _parser; } } 369 370 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 371 public static pbr::MessageDescriptor Descriptor { 372 get { return global::Math.MathReflection.Descriptor.MessageTypes[2]; } 373 } 374 375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 376 pbr::MessageDescriptor pb::IMessage.Descriptor { 377 get { return Descriptor; } 378 } 379 380 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] FibArgs()381 public FibArgs() { 382 OnConstruction(); 383 } 384 OnConstruction()385 partial void OnConstruction(); 386 387 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] FibArgs(FibArgs other)388 public FibArgs(FibArgs other) : this() { 389 limit_ = other.limit_; 390 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 391 } 392 393 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()394 public FibArgs Clone() { 395 return new FibArgs(this); 396 } 397 398 /// <summary>Field number for the "limit" field.</summary> 399 public const int LimitFieldNumber = 1; 400 private long limit_; 401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 402 public long Limit { 403 get { return limit_; } 404 set { 405 limit_ = value; 406 } 407 } 408 409 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)410 public override bool Equals(object other) { 411 return Equals(other as FibArgs); 412 } 413 414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(FibArgs other)415 public bool Equals(FibArgs other) { 416 if (ReferenceEquals(other, null)) { 417 return false; 418 } 419 if (ReferenceEquals(other, this)) { 420 return true; 421 } 422 if (Limit != other.Limit) return false; 423 return Equals(_unknownFields, other._unknownFields); 424 } 425 426 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()427 public override int GetHashCode() { 428 int hash = 1; 429 if (Limit != 0L) hash ^= Limit.GetHashCode(); 430 if (_unknownFields != null) { 431 hash ^= _unknownFields.GetHashCode(); 432 } 433 return hash; 434 } 435 436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()437 public override string ToString() { 438 return pb::JsonFormatter.ToDiagnosticString(this); 439 } 440 441 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)442 public void WriteTo(pb::CodedOutputStream output) { 443 if (Limit != 0L) { 444 output.WriteRawTag(8); 445 output.WriteInt64(Limit); 446 } 447 if (_unknownFields != null) { 448 _unknownFields.WriteTo(output); 449 } 450 } 451 452 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()453 public int CalculateSize() { 454 int size = 0; 455 if (Limit != 0L) { 456 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Limit); 457 } 458 if (_unknownFields != null) { 459 size += _unknownFields.CalculateSize(); 460 } 461 return size; 462 } 463 464 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(FibArgs other)465 public void MergeFrom(FibArgs other) { 466 if (other == null) { 467 return; 468 } 469 if (other.Limit != 0L) { 470 Limit = other.Limit; 471 } 472 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 473 } 474 475 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)476 public void MergeFrom(pb::CodedInputStream input) { 477 uint tag; 478 while ((tag = input.ReadTag()) != 0) { 479 switch(tag) { 480 default: 481 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 482 break; 483 case 8: { 484 Limit = input.ReadInt64(); 485 break; 486 } 487 } 488 } 489 } 490 491 } 492 493 public sealed partial class Num : pb::IMessage<Num> { 494 private static readonly pb::MessageParser<Num> _parser = new pb::MessageParser<Num>(() => new Num()); 495 private pb::UnknownFieldSet _unknownFields; 496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 497 public static pb::MessageParser<Num> Parser { get { return _parser; } } 498 499 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 500 public static pbr::MessageDescriptor Descriptor { 501 get { return global::Math.MathReflection.Descriptor.MessageTypes[3]; } 502 } 503 504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 505 pbr::MessageDescriptor pb::IMessage.Descriptor { 506 get { return Descriptor; } 507 } 508 509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Num()510 public Num() { 511 OnConstruction(); 512 } 513 OnConstruction()514 partial void OnConstruction(); 515 516 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Num(Num other)517 public Num(Num other) : this() { 518 num_ = other.num_; 519 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 520 } 521 522 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()523 public Num Clone() { 524 return new Num(this); 525 } 526 527 /// <summary>Field number for the "num" field.</summary> 528 public const int Num_FieldNumber = 1; 529 private long num_; 530 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 531 public long Num_ { 532 get { return num_; } 533 set { 534 num_ = value; 535 } 536 } 537 538 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)539 public override bool Equals(object other) { 540 return Equals(other as Num); 541 } 542 543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(Num other)544 public bool Equals(Num other) { 545 if (ReferenceEquals(other, null)) { 546 return false; 547 } 548 if (ReferenceEquals(other, this)) { 549 return true; 550 } 551 if (Num_ != other.Num_) return false; 552 return Equals(_unknownFields, other._unknownFields); 553 } 554 555 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()556 public override int GetHashCode() { 557 int hash = 1; 558 if (Num_ != 0L) hash ^= Num_.GetHashCode(); 559 if (_unknownFields != null) { 560 hash ^= _unknownFields.GetHashCode(); 561 } 562 return hash; 563 } 564 565 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()566 public override string ToString() { 567 return pb::JsonFormatter.ToDiagnosticString(this); 568 } 569 570 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)571 public void WriteTo(pb::CodedOutputStream output) { 572 if (Num_ != 0L) { 573 output.WriteRawTag(8); 574 output.WriteInt64(Num_); 575 } 576 if (_unknownFields != null) { 577 _unknownFields.WriteTo(output); 578 } 579 } 580 581 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()582 public int CalculateSize() { 583 int size = 0; 584 if (Num_ != 0L) { 585 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Num_); 586 } 587 if (_unknownFields != null) { 588 size += _unknownFields.CalculateSize(); 589 } 590 return size; 591 } 592 593 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(Num other)594 public void MergeFrom(Num other) { 595 if (other == null) { 596 return; 597 } 598 if (other.Num_ != 0L) { 599 Num_ = other.Num_; 600 } 601 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 602 } 603 604 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)605 public void MergeFrom(pb::CodedInputStream input) { 606 uint tag; 607 while ((tag = input.ReadTag()) != 0) { 608 switch(tag) { 609 default: 610 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 611 break; 612 case 8: { 613 Num_ = input.ReadInt64(); 614 break; 615 } 616 } 617 } 618 } 619 620 } 621 622 public sealed partial class FibReply : pb::IMessage<FibReply> { 623 private static readonly pb::MessageParser<FibReply> _parser = new pb::MessageParser<FibReply>(() => new FibReply()); 624 private pb::UnknownFieldSet _unknownFields; 625 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 626 public static pb::MessageParser<FibReply> Parser { get { return _parser; } } 627 628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 629 public static pbr::MessageDescriptor Descriptor { 630 get { return global::Math.MathReflection.Descriptor.MessageTypes[4]; } 631 } 632 633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 634 pbr::MessageDescriptor pb::IMessage.Descriptor { 635 get { return Descriptor; } 636 } 637 638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] FibReply()639 public FibReply() { 640 OnConstruction(); 641 } 642 OnConstruction()643 partial void OnConstruction(); 644 645 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] FibReply(FibReply other)646 public FibReply(FibReply other) : this() { 647 count_ = other.count_; 648 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); 649 } 650 651 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Clone()652 public FibReply Clone() { 653 return new FibReply(this); 654 } 655 656 /// <summary>Field number for the "count" field.</summary> 657 public const int CountFieldNumber = 1; 658 private long count_; 659 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] 660 public long Count { 661 get { return count_; } 662 set { 663 count_ = value; 664 } 665 } 666 667 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(object other)668 public override bool Equals(object other) { 669 return Equals(other as FibReply); 670 } 671 672 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] Equals(FibReply other)673 public bool Equals(FibReply other) { 674 if (ReferenceEquals(other, null)) { 675 return false; 676 } 677 if (ReferenceEquals(other, this)) { 678 return true; 679 } 680 if (Count != other.Count) return false; 681 return Equals(_unknownFields, other._unknownFields); 682 } 683 684 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] GetHashCode()685 public override int GetHashCode() { 686 int hash = 1; 687 if (Count != 0L) hash ^= Count.GetHashCode(); 688 if (_unknownFields != null) { 689 hash ^= _unknownFields.GetHashCode(); 690 } 691 return hash; 692 } 693 694 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] ToString()695 public override string ToString() { 696 return pb::JsonFormatter.ToDiagnosticString(this); 697 } 698 699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] WriteTo(pb::CodedOutputStream output)700 public void WriteTo(pb::CodedOutputStream output) { 701 if (Count != 0L) { 702 output.WriteRawTag(8); 703 output.WriteInt64(Count); 704 } 705 if (_unknownFields != null) { 706 _unknownFields.WriteTo(output); 707 } 708 } 709 710 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] CalculateSize()711 public int CalculateSize() { 712 int size = 0; 713 if (Count != 0L) { 714 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Count); 715 } 716 if (_unknownFields != null) { 717 size += _unknownFields.CalculateSize(); 718 } 719 return size; 720 } 721 722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(FibReply other)723 public void MergeFrom(FibReply other) { 724 if (other == null) { 725 return; 726 } 727 if (other.Count != 0L) { 728 Count = other.Count; 729 } 730 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); 731 } 732 733 [global::System.Diagnostics.DebuggerNonUserCodeAttribute] MergeFrom(pb::CodedInputStream input)734 public void MergeFrom(pb::CodedInputStream input) { 735 uint tag; 736 while ((tag = input.ReadTag()) != 0) { 737 switch(tag) { 738 default: 739 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); 740 break; 741 case 8: { 742 Count = input.ReadInt64(); 743 break; 744 } 745 } 746 } 747 } 748 749 } 750 751 #endregion 752 753 } 754 755 #endregion Designer generated code 756