• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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, null, new pbr::GeneratedClrTypeInfo[] {
39             new pbr::GeneratedClrTypeInfo(typeof(global::Math.DivArgs), global::Math.DivArgs.Parser, new[]{ "Dividend", "Divisor" }, null, null, null, null),
40             new pbr::GeneratedClrTypeInfo(typeof(global::Math.DivReply), global::Math.DivReply.Parser, new[]{ "Quotient", "Remainder" }, null, null, null, null),
41             new pbr::GeneratedClrTypeInfo(typeof(global::Math.FibArgs), global::Math.FibArgs.Parser, new[]{ "Limit" }, null, null, null, null),
42             new pbr::GeneratedClrTypeInfo(typeof(global::Math.Num), global::Math.Num.Parser, new[]{ "Num_" }, null, null, null, null),
43             new pbr::GeneratedClrTypeInfo(typeof(global::Math.FibReply), global::Math.FibReply.Parser, new[]{ "Count" }, null, null, null, null)
44           }));
45     }
46     #endregion
47 
48   }
49   #region Messages
50   public sealed partial class DivArgs : pb::IMessage<DivArgs>
51   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
52       , pb::IBufferMessage
53   #endif
54   {
55     private static readonly pb::MessageParser<DivArgs> _parser = new pb::MessageParser<DivArgs>(() => new DivArgs());
56     private pb::UnknownFieldSet _unknownFields;
57     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
58     public static pb::MessageParser<DivArgs> Parser { get { return _parser; } }
59 
60     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
61     public static pbr::MessageDescriptor Descriptor {
62       get { return global::Math.MathReflection.Descriptor.MessageTypes[0]; }
63     }
64 
65     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
66     pbr::MessageDescriptor pb::IMessage.Descriptor {
67       get { return Descriptor; }
68     }
69 
70     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
DivArgs()71     public DivArgs() {
72       OnConstruction();
73     }
74 
OnConstruction()75     partial void OnConstruction();
76 
77     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
DivArgs(DivArgs other)78     public DivArgs(DivArgs other) : this() {
79       dividend_ = other.dividend_;
80       divisor_ = other.divisor_;
81       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
82     }
83 
84     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()85     public DivArgs Clone() {
86       return new DivArgs(this);
87     }
88 
89     /// <summary>Field number for the "dividend" field.</summary>
90     public const int DividendFieldNumber = 1;
91     private long dividend_;
92     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
93     public long Dividend {
94       get { return dividend_; }
95       set {
96         dividend_ = value;
97       }
98     }
99 
100     /// <summary>Field number for the "divisor" field.</summary>
101     public const int DivisorFieldNumber = 2;
102     private long divisor_;
103     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
104     public long Divisor {
105       get { return divisor_; }
106       set {
107         divisor_ = value;
108       }
109     }
110 
111     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)112     public override bool Equals(object other) {
113       return Equals(other as DivArgs);
114     }
115 
116     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(DivArgs other)117     public bool Equals(DivArgs other) {
118       if (ReferenceEquals(other, null)) {
119         return false;
120       }
121       if (ReferenceEquals(other, this)) {
122         return true;
123       }
124       if (Dividend != other.Dividend) return false;
125       if (Divisor != other.Divisor) return false;
126       return Equals(_unknownFields, other._unknownFields);
127     }
128 
129     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()130     public override int GetHashCode() {
131       int hash = 1;
132       if (Dividend != 0L) hash ^= Dividend.GetHashCode();
133       if (Divisor != 0L) hash ^= Divisor.GetHashCode();
134       if (_unknownFields != null) {
135         hash ^= _unknownFields.GetHashCode();
136       }
137       return hash;
138     }
139 
140     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()141     public override string ToString() {
142       return pb::JsonFormatter.ToDiagnosticString(this);
143     }
144 
145     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)146     public void WriteTo(pb::CodedOutputStream output) {
147     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
148       output.WriteRawMessage(this);
149     #else
150       if (Dividend != 0L) {
151         output.WriteRawTag(8);
152         output.WriteInt64(Dividend);
153       }
154       if (Divisor != 0L) {
155         output.WriteRawTag(16);
156         output.WriteInt64(Divisor);
157       }
158       if (_unknownFields != null) {
159         _unknownFields.WriteTo(output);
160       }
161     #endif
162     }
163 
164     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
165     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)166     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
167       if (Dividend != 0L) {
168         output.WriteRawTag(8);
169         output.WriteInt64(Dividend);
170       }
171       if (Divisor != 0L) {
172         output.WriteRawTag(16);
173         output.WriteInt64(Divisor);
174       }
175       if (_unknownFields != null) {
176         _unknownFields.WriteTo(ref output);
177       }
178     }
179     #endif
180 
181     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()182     public int CalculateSize() {
183       int size = 0;
184       if (Dividend != 0L) {
185         size += 1 + pb::CodedOutputStream.ComputeInt64Size(Dividend);
186       }
187       if (Divisor != 0L) {
188         size += 1 + pb::CodedOutputStream.ComputeInt64Size(Divisor);
189       }
190       if (_unknownFields != null) {
191         size += _unknownFields.CalculateSize();
192       }
193       return size;
194     }
195 
196     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(DivArgs other)197     public void MergeFrom(DivArgs other) {
198       if (other == null) {
199         return;
200       }
201       if (other.Dividend != 0L) {
202         Dividend = other.Dividend;
203       }
204       if (other.Divisor != 0L) {
205         Divisor = other.Divisor;
206       }
207       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
208     }
209 
210     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)211     public void MergeFrom(pb::CodedInputStream input) {
212     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
213       input.ReadRawMessage(this);
214     #else
215       uint tag;
216       while ((tag = input.ReadTag()) != 0) {
217         switch(tag) {
218           default:
219             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
220             break;
221           case 8: {
222             Dividend = input.ReadInt64();
223             break;
224           }
225           case 16: {
226             Divisor = input.ReadInt64();
227             break;
228           }
229         }
230       }
231     #endif
232     }
233 
234     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
235     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)236     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
237       uint tag;
238       while ((tag = input.ReadTag()) != 0) {
239         switch(tag) {
240           default:
241             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
242             break;
243           case 8: {
244             Dividend = input.ReadInt64();
245             break;
246           }
247           case 16: {
248             Divisor = input.ReadInt64();
249             break;
250           }
251         }
252       }
253     }
254     #endif
255 
256   }
257 
258   public sealed partial class DivReply : pb::IMessage<DivReply>
259   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
260       , pb::IBufferMessage
261   #endif
262   {
263     private static readonly pb::MessageParser<DivReply> _parser = new pb::MessageParser<DivReply>(() => new DivReply());
264     private pb::UnknownFieldSet _unknownFields;
265     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
266     public static pb::MessageParser<DivReply> Parser { get { return _parser; } }
267 
268     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
269     public static pbr::MessageDescriptor Descriptor {
270       get { return global::Math.MathReflection.Descriptor.MessageTypes[1]; }
271     }
272 
273     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
274     pbr::MessageDescriptor pb::IMessage.Descriptor {
275       get { return Descriptor; }
276     }
277 
278     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
DivReply()279     public DivReply() {
280       OnConstruction();
281     }
282 
OnConstruction()283     partial void OnConstruction();
284 
285     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
DivReply(DivReply other)286     public DivReply(DivReply other) : this() {
287       quotient_ = other.quotient_;
288       remainder_ = other.remainder_;
289       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
290     }
291 
292     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()293     public DivReply Clone() {
294       return new DivReply(this);
295     }
296 
297     /// <summary>Field number for the "quotient" field.</summary>
298     public const int QuotientFieldNumber = 1;
299     private long quotient_;
300     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
301     public long Quotient {
302       get { return quotient_; }
303       set {
304         quotient_ = value;
305       }
306     }
307 
308     /// <summary>Field number for the "remainder" field.</summary>
309     public const int RemainderFieldNumber = 2;
310     private long remainder_;
311     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
312     public long Remainder {
313       get { return remainder_; }
314       set {
315         remainder_ = value;
316       }
317     }
318 
319     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)320     public override bool Equals(object other) {
321       return Equals(other as DivReply);
322     }
323 
324     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(DivReply other)325     public bool Equals(DivReply other) {
326       if (ReferenceEquals(other, null)) {
327         return false;
328       }
329       if (ReferenceEquals(other, this)) {
330         return true;
331       }
332       if (Quotient != other.Quotient) return false;
333       if (Remainder != other.Remainder) return false;
334       return Equals(_unknownFields, other._unknownFields);
335     }
336 
337     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()338     public override int GetHashCode() {
339       int hash = 1;
340       if (Quotient != 0L) hash ^= Quotient.GetHashCode();
341       if (Remainder != 0L) hash ^= Remainder.GetHashCode();
342       if (_unknownFields != null) {
343         hash ^= _unknownFields.GetHashCode();
344       }
345       return hash;
346     }
347 
348     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()349     public override string ToString() {
350       return pb::JsonFormatter.ToDiagnosticString(this);
351     }
352 
353     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)354     public void WriteTo(pb::CodedOutputStream output) {
355     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
356       output.WriteRawMessage(this);
357     #else
358       if (Quotient != 0L) {
359         output.WriteRawTag(8);
360         output.WriteInt64(Quotient);
361       }
362       if (Remainder != 0L) {
363         output.WriteRawTag(16);
364         output.WriteInt64(Remainder);
365       }
366       if (_unknownFields != null) {
367         _unknownFields.WriteTo(output);
368       }
369     #endif
370     }
371 
372     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
373     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)374     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
375       if (Quotient != 0L) {
376         output.WriteRawTag(8);
377         output.WriteInt64(Quotient);
378       }
379       if (Remainder != 0L) {
380         output.WriteRawTag(16);
381         output.WriteInt64(Remainder);
382       }
383       if (_unknownFields != null) {
384         _unknownFields.WriteTo(ref output);
385       }
386     }
387     #endif
388 
389     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()390     public int CalculateSize() {
391       int size = 0;
392       if (Quotient != 0L) {
393         size += 1 + pb::CodedOutputStream.ComputeInt64Size(Quotient);
394       }
395       if (Remainder != 0L) {
396         size += 1 + pb::CodedOutputStream.ComputeInt64Size(Remainder);
397       }
398       if (_unknownFields != null) {
399         size += _unknownFields.CalculateSize();
400       }
401       return size;
402     }
403 
404     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(DivReply other)405     public void MergeFrom(DivReply other) {
406       if (other == null) {
407         return;
408       }
409       if (other.Quotient != 0L) {
410         Quotient = other.Quotient;
411       }
412       if (other.Remainder != 0L) {
413         Remainder = other.Remainder;
414       }
415       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
416     }
417 
418     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)419     public void MergeFrom(pb::CodedInputStream input) {
420     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
421       input.ReadRawMessage(this);
422     #else
423       uint tag;
424       while ((tag = input.ReadTag()) != 0) {
425         switch(tag) {
426           default:
427             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
428             break;
429           case 8: {
430             Quotient = input.ReadInt64();
431             break;
432           }
433           case 16: {
434             Remainder = input.ReadInt64();
435             break;
436           }
437         }
438       }
439     #endif
440     }
441 
442     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
443     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)444     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
445       uint tag;
446       while ((tag = input.ReadTag()) != 0) {
447         switch(tag) {
448           default:
449             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
450             break;
451           case 8: {
452             Quotient = input.ReadInt64();
453             break;
454           }
455           case 16: {
456             Remainder = input.ReadInt64();
457             break;
458           }
459         }
460       }
461     }
462     #endif
463 
464   }
465 
466   public sealed partial class FibArgs : pb::IMessage<FibArgs>
467   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
468       , pb::IBufferMessage
469   #endif
470   {
471     private static readonly pb::MessageParser<FibArgs> _parser = new pb::MessageParser<FibArgs>(() => new FibArgs());
472     private pb::UnknownFieldSet _unknownFields;
473     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
474     public static pb::MessageParser<FibArgs> Parser { get { return _parser; } }
475 
476     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
477     public static pbr::MessageDescriptor Descriptor {
478       get { return global::Math.MathReflection.Descriptor.MessageTypes[2]; }
479     }
480 
481     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
482     pbr::MessageDescriptor pb::IMessage.Descriptor {
483       get { return Descriptor; }
484     }
485 
486     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
FibArgs()487     public FibArgs() {
488       OnConstruction();
489     }
490 
OnConstruction()491     partial void OnConstruction();
492 
493     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
FibArgs(FibArgs other)494     public FibArgs(FibArgs other) : this() {
495       limit_ = other.limit_;
496       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
497     }
498 
499     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()500     public FibArgs Clone() {
501       return new FibArgs(this);
502     }
503 
504     /// <summary>Field number for the "limit" field.</summary>
505     public const int LimitFieldNumber = 1;
506     private long limit_;
507     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
508     public long Limit {
509       get { return limit_; }
510       set {
511         limit_ = value;
512       }
513     }
514 
515     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)516     public override bool Equals(object other) {
517       return Equals(other as FibArgs);
518     }
519 
520     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(FibArgs other)521     public bool Equals(FibArgs other) {
522       if (ReferenceEquals(other, null)) {
523         return false;
524       }
525       if (ReferenceEquals(other, this)) {
526         return true;
527       }
528       if (Limit != other.Limit) return false;
529       return Equals(_unknownFields, other._unknownFields);
530     }
531 
532     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()533     public override int GetHashCode() {
534       int hash = 1;
535       if (Limit != 0L) hash ^= Limit.GetHashCode();
536       if (_unknownFields != null) {
537         hash ^= _unknownFields.GetHashCode();
538       }
539       return hash;
540     }
541 
542     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()543     public override string ToString() {
544       return pb::JsonFormatter.ToDiagnosticString(this);
545     }
546 
547     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)548     public void WriteTo(pb::CodedOutputStream output) {
549     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
550       output.WriteRawMessage(this);
551     #else
552       if (Limit != 0L) {
553         output.WriteRawTag(8);
554         output.WriteInt64(Limit);
555       }
556       if (_unknownFields != null) {
557         _unknownFields.WriteTo(output);
558       }
559     #endif
560     }
561 
562     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
563     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)564     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
565       if (Limit != 0L) {
566         output.WriteRawTag(8);
567         output.WriteInt64(Limit);
568       }
569       if (_unknownFields != null) {
570         _unknownFields.WriteTo(ref output);
571       }
572     }
573     #endif
574 
575     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()576     public int CalculateSize() {
577       int size = 0;
578       if (Limit != 0L) {
579         size += 1 + pb::CodedOutputStream.ComputeInt64Size(Limit);
580       }
581       if (_unknownFields != null) {
582         size += _unknownFields.CalculateSize();
583       }
584       return size;
585     }
586 
587     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(FibArgs other)588     public void MergeFrom(FibArgs other) {
589       if (other == null) {
590         return;
591       }
592       if (other.Limit != 0L) {
593         Limit = other.Limit;
594       }
595       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
596     }
597 
598     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)599     public void MergeFrom(pb::CodedInputStream input) {
600     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
601       input.ReadRawMessage(this);
602     #else
603       uint tag;
604       while ((tag = input.ReadTag()) != 0) {
605         switch(tag) {
606           default:
607             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
608             break;
609           case 8: {
610             Limit = input.ReadInt64();
611             break;
612           }
613         }
614       }
615     #endif
616     }
617 
618     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
619     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)620     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
621       uint tag;
622       while ((tag = input.ReadTag()) != 0) {
623         switch(tag) {
624           default:
625             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
626             break;
627           case 8: {
628             Limit = input.ReadInt64();
629             break;
630           }
631         }
632       }
633     }
634     #endif
635 
636   }
637 
638   public sealed partial class Num : pb::IMessage<Num>
639   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
640       , pb::IBufferMessage
641   #endif
642   {
643     private static readonly pb::MessageParser<Num> _parser = new pb::MessageParser<Num>(() => new Num());
644     private pb::UnknownFieldSet _unknownFields;
645     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
646     public static pb::MessageParser<Num> Parser { get { return _parser; } }
647 
648     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
649     public static pbr::MessageDescriptor Descriptor {
650       get { return global::Math.MathReflection.Descriptor.MessageTypes[3]; }
651     }
652 
653     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
654     pbr::MessageDescriptor pb::IMessage.Descriptor {
655       get { return Descriptor; }
656     }
657 
658     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Num()659     public Num() {
660       OnConstruction();
661     }
662 
OnConstruction()663     partial void OnConstruction();
664 
665     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Num(Num other)666     public Num(Num other) : this() {
667       num_ = other.num_;
668       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
669     }
670 
671     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()672     public Num Clone() {
673       return new Num(this);
674     }
675 
676     /// <summary>Field number for the "num" field.</summary>
677     public const int Num_FieldNumber = 1;
678     private long num_;
679     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
680     public long Num_ {
681       get { return num_; }
682       set {
683         num_ = value;
684       }
685     }
686 
687     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)688     public override bool Equals(object other) {
689       return Equals(other as Num);
690     }
691 
692     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(Num other)693     public bool Equals(Num other) {
694       if (ReferenceEquals(other, null)) {
695         return false;
696       }
697       if (ReferenceEquals(other, this)) {
698         return true;
699       }
700       if (Num_ != other.Num_) return false;
701       return Equals(_unknownFields, other._unknownFields);
702     }
703 
704     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()705     public override int GetHashCode() {
706       int hash = 1;
707       if (Num_ != 0L) hash ^= Num_.GetHashCode();
708       if (_unknownFields != null) {
709         hash ^= _unknownFields.GetHashCode();
710       }
711       return hash;
712     }
713 
714     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()715     public override string ToString() {
716       return pb::JsonFormatter.ToDiagnosticString(this);
717     }
718 
719     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)720     public void WriteTo(pb::CodedOutputStream output) {
721     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
722       output.WriteRawMessage(this);
723     #else
724       if (Num_ != 0L) {
725         output.WriteRawTag(8);
726         output.WriteInt64(Num_);
727       }
728       if (_unknownFields != null) {
729         _unknownFields.WriteTo(output);
730       }
731     #endif
732     }
733 
734     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
735     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)736     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
737       if (Num_ != 0L) {
738         output.WriteRawTag(8);
739         output.WriteInt64(Num_);
740       }
741       if (_unknownFields != null) {
742         _unknownFields.WriteTo(ref output);
743       }
744     }
745     #endif
746 
747     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()748     public int CalculateSize() {
749       int size = 0;
750       if (Num_ != 0L) {
751         size += 1 + pb::CodedOutputStream.ComputeInt64Size(Num_);
752       }
753       if (_unknownFields != null) {
754         size += _unknownFields.CalculateSize();
755       }
756       return size;
757     }
758 
759     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(Num other)760     public void MergeFrom(Num other) {
761       if (other == null) {
762         return;
763       }
764       if (other.Num_ != 0L) {
765         Num_ = other.Num_;
766       }
767       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
768     }
769 
770     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)771     public void MergeFrom(pb::CodedInputStream input) {
772     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
773       input.ReadRawMessage(this);
774     #else
775       uint tag;
776       while ((tag = input.ReadTag()) != 0) {
777         switch(tag) {
778           default:
779             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
780             break;
781           case 8: {
782             Num_ = input.ReadInt64();
783             break;
784           }
785         }
786       }
787     #endif
788     }
789 
790     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
791     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)792     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
793       uint tag;
794       while ((tag = input.ReadTag()) != 0) {
795         switch(tag) {
796           default:
797             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
798             break;
799           case 8: {
800             Num_ = input.ReadInt64();
801             break;
802           }
803         }
804       }
805     }
806     #endif
807 
808   }
809 
810   public sealed partial class FibReply : pb::IMessage<FibReply>
811   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
812       , pb::IBufferMessage
813   #endif
814   {
815     private static readonly pb::MessageParser<FibReply> _parser = new pb::MessageParser<FibReply>(() => new FibReply());
816     private pb::UnknownFieldSet _unknownFields;
817     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
818     public static pb::MessageParser<FibReply> Parser { get { return _parser; } }
819 
820     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
821     public static pbr::MessageDescriptor Descriptor {
822       get { return global::Math.MathReflection.Descriptor.MessageTypes[4]; }
823     }
824 
825     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
826     pbr::MessageDescriptor pb::IMessage.Descriptor {
827       get { return Descriptor; }
828     }
829 
830     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
FibReply()831     public FibReply() {
832       OnConstruction();
833     }
834 
OnConstruction()835     partial void OnConstruction();
836 
837     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
FibReply(FibReply other)838     public FibReply(FibReply other) : this() {
839       count_ = other.count_;
840       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
841     }
842 
843     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()844     public FibReply Clone() {
845       return new FibReply(this);
846     }
847 
848     /// <summary>Field number for the "count" field.</summary>
849     public const int CountFieldNumber = 1;
850     private long count_;
851     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
852     public long Count {
853       get { return count_; }
854       set {
855         count_ = value;
856       }
857     }
858 
859     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)860     public override bool Equals(object other) {
861       return Equals(other as FibReply);
862     }
863 
864     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(FibReply other)865     public bool Equals(FibReply other) {
866       if (ReferenceEquals(other, null)) {
867         return false;
868       }
869       if (ReferenceEquals(other, this)) {
870         return true;
871       }
872       if (Count != other.Count) return false;
873       return Equals(_unknownFields, other._unknownFields);
874     }
875 
876     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()877     public override int GetHashCode() {
878       int hash = 1;
879       if (Count != 0L) hash ^= Count.GetHashCode();
880       if (_unknownFields != null) {
881         hash ^= _unknownFields.GetHashCode();
882       }
883       return hash;
884     }
885 
886     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()887     public override string ToString() {
888       return pb::JsonFormatter.ToDiagnosticString(this);
889     }
890 
891     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)892     public void WriteTo(pb::CodedOutputStream output) {
893     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
894       output.WriteRawMessage(this);
895     #else
896       if (Count != 0L) {
897         output.WriteRawTag(8);
898         output.WriteInt64(Count);
899       }
900       if (_unknownFields != null) {
901         _unknownFields.WriteTo(output);
902       }
903     #endif
904     }
905 
906     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
907     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)908     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
909       if (Count != 0L) {
910         output.WriteRawTag(8);
911         output.WriteInt64(Count);
912       }
913       if (_unknownFields != null) {
914         _unknownFields.WriteTo(ref output);
915       }
916     }
917     #endif
918 
919     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()920     public int CalculateSize() {
921       int size = 0;
922       if (Count != 0L) {
923         size += 1 + pb::CodedOutputStream.ComputeInt64Size(Count);
924       }
925       if (_unknownFields != null) {
926         size += _unknownFields.CalculateSize();
927       }
928       return size;
929     }
930 
931     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(FibReply other)932     public void MergeFrom(FibReply other) {
933       if (other == null) {
934         return;
935       }
936       if (other.Count != 0L) {
937         Count = other.Count;
938       }
939       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
940     }
941 
942     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)943     public void MergeFrom(pb::CodedInputStream input) {
944     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
945       input.ReadRawMessage(this);
946     #else
947       uint tag;
948       while ((tag = input.ReadTag()) != 0) {
949         switch(tag) {
950           default:
951             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
952             break;
953           case 8: {
954             Count = input.ReadInt64();
955             break;
956           }
957         }
958       }
959     #endif
960     }
961 
962     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
963     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)964     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
965       uint tag;
966       while ((tag = input.ReadTag()) != 0) {
967         switch(tag) {
968           default:
969             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
970             break;
971           case 8: {
972             Count = input.ReadInt64();
973             break;
974           }
975         }
976       }
977     }
978     #endif
979 
980   }
981 
982   #endregion
983 
984 }
985 
986 #endregion Designer generated code
987