• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // <auto-generated>
2 //     Generated by the protocol buffer compiler.  DO NOT EDIT!
3 //     source: src/proto/grpc/testing/stats.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 Grpc.Testing {
13 
14   /// <summary>Holder for reflection information generated from src/proto/grpc/testing/stats.proto</summary>
15   public static partial class StatsReflection {
16 
17     #region Descriptor
18     /// <summary>File descriptor for src/proto/grpc/testing/stats.proto</summary>
19     public static pbr::FileDescriptor Descriptor {
20       get { return descriptor; }
21     }
22     private static pbr::FileDescriptor descriptor;
23 
StatsReflection()24     static StatsReflection() {
25       byte[] descriptorData = global::System.Convert.FromBase64String(
26           string.Concat(
27             "CiJzcmMvcHJvdG8vZ3JwYy90ZXN0aW5nL3N0YXRzLnByb3RvEgxncnBjLnRl",
28             "c3RpbmcaH3NyYy9wcm90by9ncnBjL2NvcmUvc3RhdHMucHJvdG8itwEKC1Nl",
29             "cnZlclN0YXRzEhQKDHRpbWVfZWxhcHNlZBgBIAEoARIRCgl0aW1lX3VzZXIY",
30             "AiABKAESEwoLdGltZV9zeXN0ZW0YAyABKAESFgoOdG90YWxfY3B1X3RpbWUY",
31             "BCABKAQSFQoNaWRsZV9jcHVfdGltZRgFIAEoBBIVCg1jcV9wb2xsX2NvdW50",
32             "GAYgASgEEiQKCmNvcmVfc3RhdHMYByABKAsyEC5ncnBjLmNvcmUuU3RhdHMi",
33             "OwoPSGlzdG9ncmFtUGFyYW1zEhIKCnJlc29sdXRpb24YASABKAESFAoMbWF4",
34             "X3Bvc3NpYmxlGAIgASgBIncKDUhpc3RvZ3JhbURhdGESDgoGYnVja2V0GAEg",
35             "AygNEhAKCG1pbl9zZWVuGAIgASgBEhAKCG1heF9zZWVuGAMgASgBEgsKA3N1",
36             "bRgEIAEoARIWCg5zdW1fb2Zfc3F1YXJlcxgFIAEoARINCgVjb3VudBgGIAEo",
37             "ASI4ChJSZXF1ZXN0UmVzdWx0Q291bnQSEwoLc3RhdHVzX2NvZGUYASABKAUS",
38             "DQoFY291bnQYAiABKAMi8wEKC0NsaWVudFN0YXRzEi4KCWxhdGVuY2llcxgB",
39             "IAEoCzIbLmdycGMudGVzdGluZy5IaXN0b2dyYW1EYXRhEhQKDHRpbWVfZWxh",
40             "cHNlZBgCIAEoARIRCgl0aW1lX3VzZXIYAyABKAESEwoLdGltZV9zeXN0ZW0Y",
41             "BCABKAESOQoPcmVxdWVzdF9yZXN1bHRzGAUgAygLMiAuZ3JwYy50ZXN0aW5n",
42             "LlJlcXVlc3RSZXN1bHRDb3VudBIVCg1jcV9wb2xsX2NvdW50GAYgASgEEiQK",
43             "CmNvcmVfc3RhdHMYByABKAsyEC5ncnBjLmNvcmUuU3RhdHNiBnByb3RvMw=="));
44       descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
45           new pbr::FileDescriptor[] { global::Grpc.Core.StatsReflection.Descriptor, },
46           new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
47             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ServerStats), global::Grpc.Testing.ServerStats.Parser, new[]{ "TimeElapsed", "TimeUser", "TimeSystem", "TotalCpuTime", "IdleCpuTime", "CqPollCount", "CoreStats" }, null, null, null),
48             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.HistogramParams), global::Grpc.Testing.HistogramParams.Parser, new[]{ "Resolution", "MaxPossible" }, null, null, null),
49             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.HistogramData), global::Grpc.Testing.HistogramData.Parser, new[]{ "Bucket", "MinSeen", "MaxSeen", "Sum", "SumOfSquares", "Count" }, null, null, null),
50             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.RequestResultCount), global::Grpc.Testing.RequestResultCount.Parser, new[]{ "StatusCode", "Count" }, null, null, null),
51             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ClientStats), global::Grpc.Testing.ClientStats.Parser, new[]{ "Latencies", "TimeElapsed", "TimeUser", "TimeSystem", "RequestResults", "CqPollCount", "CoreStats" }, null, null, null)
52           }));
53     }
54     #endregion
55 
56   }
57   #region Messages
58   public sealed partial class ServerStats : pb::IMessage<ServerStats> {
59     private static readonly pb::MessageParser<ServerStats> _parser = new pb::MessageParser<ServerStats>(() => new ServerStats());
60     private pb::UnknownFieldSet _unknownFields;
61     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
62     public static pb::MessageParser<ServerStats> Parser { get { return _parser; } }
63 
64     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
65     public static pbr::MessageDescriptor Descriptor {
66       get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[0]; }
67     }
68 
69     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
70     pbr::MessageDescriptor pb::IMessage.Descriptor {
71       get { return Descriptor; }
72     }
73 
74     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ServerStats()75     public ServerStats() {
76       OnConstruction();
77     }
78 
OnConstruction()79     partial void OnConstruction();
80 
81     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ServerStats(ServerStats other)82     public ServerStats(ServerStats other) : this() {
83       timeElapsed_ = other.timeElapsed_;
84       timeUser_ = other.timeUser_;
85       timeSystem_ = other.timeSystem_;
86       totalCpuTime_ = other.totalCpuTime_;
87       idleCpuTime_ = other.idleCpuTime_;
88       cqPollCount_ = other.cqPollCount_;
89       coreStats_ = other.coreStats_ != null ? other.coreStats_.Clone() : null;
90       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
91     }
92 
93     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()94     public ServerStats Clone() {
95       return new ServerStats(this);
96     }
97 
98     /// <summary>Field number for the "time_elapsed" field.</summary>
99     public const int TimeElapsedFieldNumber = 1;
100     private double timeElapsed_;
101     /// <summary>
102     /// wall clock time change in seconds since last reset
103     /// </summary>
104     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
105     public double TimeElapsed {
106       get { return timeElapsed_; }
107       set {
108         timeElapsed_ = value;
109       }
110     }
111 
112     /// <summary>Field number for the "time_user" field.</summary>
113     public const int TimeUserFieldNumber = 2;
114     private double timeUser_;
115     /// <summary>
116     /// change in user time (in seconds) used by the server since last reset
117     /// </summary>
118     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
119     public double TimeUser {
120       get { return timeUser_; }
121       set {
122         timeUser_ = value;
123       }
124     }
125 
126     /// <summary>Field number for the "time_system" field.</summary>
127     public const int TimeSystemFieldNumber = 3;
128     private double timeSystem_;
129     /// <summary>
130     /// change in server time (in seconds) used by the server process and all
131     /// threads since last reset
132     /// </summary>
133     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
134     public double TimeSystem {
135       get { return timeSystem_; }
136       set {
137         timeSystem_ = value;
138       }
139     }
140 
141     /// <summary>Field number for the "total_cpu_time" field.</summary>
142     public const int TotalCpuTimeFieldNumber = 4;
143     private ulong totalCpuTime_;
144     /// <summary>
145     /// change in total cpu time of the server (data from proc/stat)
146     /// </summary>
147     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
148     public ulong TotalCpuTime {
149       get { return totalCpuTime_; }
150       set {
151         totalCpuTime_ = value;
152       }
153     }
154 
155     /// <summary>Field number for the "idle_cpu_time" field.</summary>
156     public const int IdleCpuTimeFieldNumber = 5;
157     private ulong idleCpuTime_;
158     /// <summary>
159     /// change in idle time of the server (data from proc/stat)
160     /// </summary>
161     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
162     public ulong IdleCpuTime {
163       get { return idleCpuTime_; }
164       set {
165         idleCpuTime_ = value;
166       }
167     }
168 
169     /// <summary>Field number for the "cq_poll_count" field.</summary>
170     public const int CqPollCountFieldNumber = 6;
171     private ulong cqPollCount_;
172     /// <summary>
173     /// Number of polls called inside completion queue
174     /// </summary>
175     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
176     public ulong CqPollCount {
177       get { return cqPollCount_; }
178       set {
179         cqPollCount_ = value;
180       }
181     }
182 
183     /// <summary>Field number for the "core_stats" field.</summary>
184     public const int CoreStatsFieldNumber = 7;
185     private global::Grpc.Core.Stats coreStats_;
186     /// <summary>
187     /// Core library stats
188     /// </summary>
189     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
190     public global::Grpc.Core.Stats CoreStats {
191       get { return coreStats_; }
192       set {
193         coreStats_ = value;
194       }
195     }
196 
197     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)198     public override bool Equals(object other) {
199       return Equals(other as ServerStats);
200     }
201 
202     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(ServerStats other)203     public bool Equals(ServerStats other) {
204       if (ReferenceEquals(other, null)) {
205         return false;
206       }
207       if (ReferenceEquals(other, this)) {
208         return true;
209       }
210       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeElapsed, other.TimeElapsed)) return false;
211       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeUser, other.TimeUser)) return false;
212       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeSystem, other.TimeSystem)) return false;
213       if (TotalCpuTime != other.TotalCpuTime) return false;
214       if (IdleCpuTime != other.IdleCpuTime) return false;
215       if (CqPollCount != other.CqPollCount) return false;
216       if (!object.Equals(CoreStats, other.CoreStats)) return false;
217       return Equals(_unknownFields, other._unknownFields);
218     }
219 
220     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()221     public override int GetHashCode() {
222       int hash = 1;
223       if (TimeElapsed != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeElapsed);
224       if (TimeUser != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeUser);
225       if (TimeSystem != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeSystem);
226       if (TotalCpuTime != 0UL) hash ^= TotalCpuTime.GetHashCode();
227       if (IdleCpuTime != 0UL) hash ^= IdleCpuTime.GetHashCode();
228       if (CqPollCount != 0UL) hash ^= CqPollCount.GetHashCode();
229       if (coreStats_ != null) hash ^= CoreStats.GetHashCode();
230       if (_unknownFields != null) {
231         hash ^= _unknownFields.GetHashCode();
232       }
233       return hash;
234     }
235 
236     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()237     public override string ToString() {
238       return pb::JsonFormatter.ToDiagnosticString(this);
239     }
240 
241     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)242     public void WriteTo(pb::CodedOutputStream output) {
243       if (TimeElapsed != 0D) {
244         output.WriteRawTag(9);
245         output.WriteDouble(TimeElapsed);
246       }
247       if (TimeUser != 0D) {
248         output.WriteRawTag(17);
249         output.WriteDouble(TimeUser);
250       }
251       if (TimeSystem != 0D) {
252         output.WriteRawTag(25);
253         output.WriteDouble(TimeSystem);
254       }
255       if (TotalCpuTime != 0UL) {
256         output.WriteRawTag(32);
257         output.WriteUInt64(TotalCpuTime);
258       }
259       if (IdleCpuTime != 0UL) {
260         output.WriteRawTag(40);
261         output.WriteUInt64(IdleCpuTime);
262       }
263       if (CqPollCount != 0UL) {
264         output.WriteRawTag(48);
265         output.WriteUInt64(CqPollCount);
266       }
267       if (coreStats_ != null) {
268         output.WriteRawTag(58);
269         output.WriteMessage(CoreStats);
270       }
271       if (_unknownFields != null) {
272         _unknownFields.WriteTo(output);
273       }
274     }
275 
276     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()277     public int CalculateSize() {
278       int size = 0;
279       if (TimeElapsed != 0D) {
280         size += 1 + 8;
281       }
282       if (TimeUser != 0D) {
283         size += 1 + 8;
284       }
285       if (TimeSystem != 0D) {
286         size += 1 + 8;
287       }
288       if (TotalCpuTime != 0UL) {
289         size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TotalCpuTime);
290       }
291       if (IdleCpuTime != 0UL) {
292         size += 1 + pb::CodedOutputStream.ComputeUInt64Size(IdleCpuTime);
293       }
294       if (CqPollCount != 0UL) {
295         size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CqPollCount);
296       }
297       if (coreStats_ != null) {
298         size += 1 + pb::CodedOutputStream.ComputeMessageSize(CoreStats);
299       }
300       if (_unknownFields != null) {
301         size += _unknownFields.CalculateSize();
302       }
303       return size;
304     }
305 
306     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(ServerStats other)307     public void MergeFrom(ServerStats other) {
308       if (other == null) {
309         return;
310       }
311       if (other.TimeElapsed != 0D) {
312         TimeElapsed = other.TimeElapsed;
313       }
314       if (other.TimeUser != 0D) {
315         TimeUser = other.TimeUser;
316       }
317       if (other.TimeSystem != 0D) {
318         TimeSystem = other.TimeSystem;
319       }
320       if (other.TotalCpuTime != 0UL) {
321         TotalCpuTime = other.TotalCpuTime;
322       }
323       if (other.IdleCpuTime != 0UL) {
324         IdleCpuTime = other.IdleCpuTime;
325       }
326       if (other.CqPollCount != 0UL) {
327         CqPollCount = other.CqPollCount;
328       }
329       if (other.coreStats_ != null) {
330         if (coreStats_ == null) {
331           coreStats_ = new global::Grpc.Core.Stats();
332         }
333         CoreStats.MergeFrom(other.CoreStats);
334       }
335       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
336     }
337 
338     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)339     public void MergeFrom(pb::CodedInputStream input) {
340       uint tag;
341       while ((tag = input.ReadTag()) != 0) {
342         switch(tag) {
343           default:
344             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
345             break;
346           case 9: {
347             TimeElapsed = input.ReadDouble();
348             break;
349           }
350           case 17: {
351             TimeUser = input.ReadDouble();
352             break;
353           }
354           case 25: {
355             TimeSystem = input.ReadDouble();
356             break;
357           }
358           case 32: {
359             TotalCpuTime = input.ReadUInt64();
360             break;
361           }
362           case 40: {
363             IdleCpuTime = input.ReadUInt64();
364             break;
365           }
366           case 48: {
367             CqPollCount = input.ReadUInt64();
368             break;
369           }
370           case 58: {
371             if (coreStats_ == null) {
372               coreStats_ = new global::Grpc.Core.Stats();
373             }
374             input.ReadMessage(coreStats_);
375             break;
376           }
377         }
378       }
379     }
380 
381   }
382 
383   /// <summary>
384   /// Histogram params based on grpc/support/histogram.c
385   /// </summary>
386   public sealed partial class HistogramParams : pb::IMessage<HistogramParams> {
387     private static readonly pb::MessageParser<HistogramParams> _parser = new pb::MessageParser<HistogramParams>(() => new HistogramParams());
388     private pb::UnknownFieldSet _unknownFields;
389     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
390     public static pb::MessageParser<HistogramParams> Parser { get { return _parser; } }
391 
392     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
393     public static pbr::MessageDescriptor Descriptor {
394       get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[1]; }
395     }
396 
397     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
398     pbr::MessageDescriptor pb::IMessage.Descriptor {
399       get { return Descriptor; }
400     }
401 
402     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
HistogramParams()403     public HistogramParams() {
404       OnConstruction();
405     }
406 
OnConstruction()407     partial void OnConstruction();
408 
409     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
HistogramParams(HistogramParams other)410     public HistogramParams(HistogramParams other) : this() {
411       resolution_ = other.resolution_;
412       maxPossible_ = other.maxPossible_;
413       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
414     }
415 
416     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()417     public HistogramParams Clone() {
418       return new HistogramParams(this);
419     }
420 
421     /// <summary>Field number for the "resolution" field.</summary>
422     public const int ResolutionFieldNumber = 1;
423     private double resolution_;
424     /// <summary>
425     /// first bucket is [0, 1 + resolution)
426     /// </summary>
427     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
428     public double Resolution {
429       get { return resolution_; }
430       set {
431         resolution_ = value;
432       }
433     }
434 
435     /// <summary>Field number for the "max_possible" field.</summary>
436     public const int MaxPossibleFieldNumber = 2;
437     private double maxPossible_;
438     /// <summary>
439     /// use enough buckets to allow this value
440     /// </summary>
441     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
442     public double MaxPossible {
443       get { return maxPossible_; }
444       set {
445         maxPossible_ = value;
446       }
447     }
448 
449     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)450     public override bool Equals(object other) {
451       return Equals(other as HistogramParams);
452     }
453 
454     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(HistogramParams other)455     public bool Equals(HistogramParams other) {
456       if (ReferenceEquals(other, null)) {
457         return false;
458       }
459       if (ReferenceEquals(other, this)) {
460         return true;
461       }
462       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Resolution, other.Resolution)) return false;
463       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxPossible, other.MaxPossible)) return false;
464       return Equals(_unknownFields, other._unknownFields);
465     }
466 
467     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()468     public override int GetHashCode() {
469       int hash = 1;
470       if (Resolution != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Resolution);
471       if (MaxPossible != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxPossible);
472       if (_unknownFields != null) {
473         hash ^= _unknownFields.GetHashCode();
474       }
475       return hash;
476     }
477 
478     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()479     public override string ToString() {
480       return pb::JsonFormatter.ToDiagnosticString(this);
481     }
482 
483     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)484     public void WriteTo(pb::CodedOutputStream output) {
485       if (Resolution != 0D) {
486         output.WriteRawTag(9);
487         output.WriteDouble(Resolution);
488       }
489       if (MaxPossible != 0D) {
490         output.WriteRawTag(17);
491         output.WriteDouble(MaxPossible);
492       }
493       if (_unknownFields != null) {
494         _unknownFields.WriteTo(output);
495       }
496     }
497 
498     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()499     public int CalculateSize() {
500       int size = 0;
501       if (Resolution != 0D) {
502         size += 1 + 8;
503       }
504       if (MaxPossible != 0D) {
505         size += 1 + 8;
506       }
507       if (_unknownFields != null) {
508         size += _unknownFields.CalculateSize();
509       }
510       return size;
511     }
512 
513     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(HistogramParams other)514     public void MergeFrom(HistogramParams other) {
515       if (other == null) {
516         return;
517       }
518       if (other.Resolution != 0D) {
519         Resolution = other.Resolution;
520       }
521       if (other.MaxPossible != 0D) {
522         MaxPossible = other.MaxPossible;
523       }
524       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
525     }
526 
527     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)528     public void MergeFrom(pb::CodedInputStream input) {
529       uint tag;
530       while ((tag = input.ReadTag()) != 0) {
531         switch(tag) {
532           default:
533             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
534             break;
535           case 9: {
536             Resolution = input.ReadDouble();
537             break;
538           }
539           case 17: {
540             MaxPossible = input.ReadDouble();
541             break;
542           }
543         }
544       }
545     }
546 
547   }
548 
549   /// <summary>
550   /// Histogram data based on grpc/support/histogram.c
551   /// </summary>
552   public sealed partial class HistogramData : pb::IMessage<HistogramData> {
553     private static readonly pb::MessageParser<HistogramData> _parser = new pb::MessageParser<HistogramData>(() => new HistogramData());
554     private pb::UnknownFieldSet _unknownFields;
555     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
556     public static pb::MessageParser<HistogramData> Parser { get { return _parser; } }
557 
558     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
559     public static pbr::MessageDescriptor Descriptor {
560       get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[2]; }
561     }
562 
563     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
564     pbr::MessageDescriptor pb::IMessage.Descriptor {
565       get { return Descriptor; }
566     }
567 
568     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
HistogramData()569     public HistogramData() {
570       OnConstruction();
571     }
572 
OnConstruction()573     partial void OnConstruction();
574 
575     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
HistogramData(HistogramData other)576     public HistogramData(HistogramData other) : this() {
577       bucket_ = other.bucket_.Clone();
578       minSeen_ = other.minSeen_;
579       maxSeen_ = other.maxSeen_;
580       sum_ = other.sum_;
581       sumOfSquares_ = other.sumOfSquares_;
582       count_ = other.count_;
583       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
584     }
585 
586     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()587     public HistogramData Clone() {
588       return new HistogramData(this);
589     }
590 
591     /// <summary>Field number for the "bucket" field.</summary>
592     public const int BucketFieldNumber = 1;
593     private static readonly pb::FieldCodec<uint> _repeated_bucket_codec
594         = pb::FieldCodec.ForUInt32(10);
595     private readonly pbc::RepeatedField<uint> bucket_ = new pbc::RepeatedField<uint>();
596     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
597     public pbc::RepeatedField<uint> Bucket {
598       get { return bucket_; }
599     }
600 
601     /// <summary>Field number for the "min_seen" field.</summary>
602     public const int MinSeenFieldNumber = 2;
603     private double minSeen_;
604     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
605     public double MinSeen {
606       get { return minSeen_; }
607       set {
608         minSeen_ = value;
609       }
610     }
611 
612     /// <summary>Field number for the "max_seen" field.</summary>
613     public const int MaxSeenFieldNumber = 3;
614     private double maxSeen_;
615     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
616     public double MaxSeen {
617       get { return maxSeen_; }
618       set {
619         maxSeen_ = value;
620       }
621     }
622 
623     /// <summary>Field number for the "sum" field.</summary>
624     public const int SumFieldNumber = 4;
625     private double sum_;
626     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
627     public double Sum {
628       get { return sum_; }
629       set {
630         sum_ = value;
631       }
632     }
633 
634     /// <summary>Field number for the "sum_of_squares" field.</summary>
635     public const int SumOfSquaresFieldNumber = 5;
636     private double sumOfSquares_;
637     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
638     public double SumOfSquares {
639       get { return sumOfSquares_; }
640       set {
641         sumOfSquares_ = value;
642       }
643     }
644 
645     /// <summary>Field number for the "count" field.</summary>
646     public const int CountFieldNumber = 6;
647     private double count_;
648     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
649     public double Count {
650       get { return count_; }
651       set {
652         count_ = value;
653       }
654     }
655 
656     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)657     public override bool Equals(object other) {
658       return Equals(other as HistogramData);
659     }
660 
661     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(HistogramData other)662     public bool Equals(HistogramData other) {
663       if (ReferenceEquals(other, null)) {
664         return false;
665       }
666       if (ReferenceEquals(other, this)) {
667         return true;
668       }
669       if(!bucket_.Equals(other.bucket_)) return false;
670       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MinSeen, other.MinSeen)) return false;
671       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxSeen, other.MaxSeen)) return false;
672       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Sum, other.Sum)) return false;
673       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SumOfSquares, other.SumOfSquares)) return false;
674       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Count, other.Count)) return false;
675       return Equals(_unknownFields, other._unknownFields);
676     }
677 
678     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()679     public override int GetHashCode() {
680       int hash = 1;
681       hash ^= bucket_.GetHashCode();
682       if (MinSeen != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MinSeen);
683       if (MaxSeen != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxSeen);
684       if (Sum != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Sum);
685       if (SumOfSquares != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SumOfSquares);
686       if (Count != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Count);
687       if (_unknownFields != null) {
688         hash ^= _unknownFields.GetHashCode();
689       }
690       return hash;
691     }
692 
693     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()694     public override string ToString() {
695       return pb::JsonFormatter.ToDiagnosticString(this);
696     }
697 
698     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)699     public void WriteTo(pb::CodedOutputStream output) {
700       bucket_.WriteTo(output, _repeated_bucket_codec);
701       if (MinSeen != 0D) {
702         output.WriteRawTag(17);
703         output.WriteDouble(MinSeen);
704       }
705       if (MaxSeen != 0D) {
706         output.WriteRawTag(25);
707         output.WriteDouble(MaxSeen);
708       }
709       if (Sum != 0D) {
710         output.WriteRawTag(33);
711         output.WriteDouble(Sum);
712       }
713       if (SumOfSquares != 0D) {
714         output.WriteRawTag(41);
715         output.WriteDouble(SumOfSquares);
716       }
717       if (Count != 0D) {
718         output.WriteRawTag(49);
719         output.WriteDouble(Count);
720       }
721       if (_unknownFields != null) {
722         _unknownFields.WriteTo(output);
723       }
724     }
725 
726     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()727     public int CalculateSize() {
728       int size = 0;
729       size += bucket_.CalculateSize(_repeated_bucket_codec);
730       if (MinSeen != 0D) {
731         size += 1 + 8;
732       }
733       if (MaxSeen != 0D) {
734         size += 1 + 8;
735       }
736       if (Sum != 0D) {
737         size += 1 + 8;
738       }
739       if (SumOfSquares != 0D) {
740         size += 1 + 8;
741       }
742       if (Count != 0D) {
743         size += 1 + 8;
744       }
745       if (_unknownFields != null) {
746         size += _unknownFields.CalculateSize();
747       }
748       return size;
749     }
750 
751     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(HistogramData other)752     public void MergeFrom(HistogramData other) {
753       if (other == null) {
754         return;
755       }
756       bucket_.Add(other.bucket_);
757       if (other.MinSeen != 0D) {
758         MinSeen = other.MinSeen;
759       }
760       if (other.MaxSeen != 0D) {
761         MaxSeen = other.MaxSeen;
762       }
763       if (other.Sum != 0D) {
764         Sum = other.Sum;
765       }
766       if (other.SumOfSquares != 0D) {
767         SumOfSquares = other.SumOfSquares;
768       }
769       if (other.Count != 0D) {
770         Count = other.Count;
771       }
772       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
773     }
774 
775     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)776     public void MergeFrom(pb::CodedInputStream input) {
777       uint tag;
778       while ((tag = input.ReadTag()) != 0) {
779         switch(tag) {
780           default:
781             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
782             break;
783           case 10:
784           case 8: {
785             bucket_.AddEntriesFrom(input, _repeated_bucket_codec);
786             break;
787           }
788           case 17: {
789             MinSeen = input.ReadDouble();
790             break;
791           }
792           case 25: {
793             MaxSeen = input.ReadDouble();
794             break;
795           }
796           case 33: {
797             Sum = input.ReadDouble();
798             break;
799           }
800           case 41: {
801             SumOfSquares = input.ReadDouble();
802             break;
803           }
804           case 49: {
805             Count = input.ReadDouble();
806             break;
807           }
808         }
809       }
810     }
811 
812   }
813 
814   public sealed partial class RequestResultCount : pb::IMessage<RequestResultCount> {
815     private static readonly pb::MessageParser<RequestResultCount> _parser = new pb::MessageParser<RequestResultCount>(() => new RequestResultCount());
816     private pb::UnknownFieldSet _unknownFields;
817     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
818     public static pb::MessageParser<RequestResultCount> Parser { get { return _parser; } }
819 
820     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
821     public static pbr::MessageDescriptor Descriptor {
822       get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[3]; }
823     }
824 
825     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
826     pbr::MessageDescriptor pb::IMessage.Descriptor {
827       get { return Descriptor; }
828     }
829 
830     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
RequestResultCount()831     public RequestResultCount() {
832       OnConstruction();
833     }
834 
OnConstruction()835     partial void OnConstruction();
836 
837     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
RequestResultCount(RequestResultCount other)838     public RequestResultCount(RequestResultCount other) : this() {
839       statusCode_ = other.statusCode_;
840       count_ = other.count_;
841       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
842     }
843 
844     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()845     public RequestResultCount Clone() {
846       return new RequestResultCount(this);
847     }
848 
849     /// <summary>Field number for the "status_code" field.</summary>
850     public const int StatusCodeFieldNumber = 1;
851     private int statusCode_;
852     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
853     public int StatusCode {
854       get { return statusCode_; }
855       set {
856         statusCode_ = value;
857       }
858     }
859 
860     /// <summary>Field number for the "count" field.</summary>
861     public const int CountFieldNumber = 2;
862     private long count_;
863     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
864     public long Count {
865       get { return count_; }
866       set {
867         count_ = value;
868       }
869     }
870 
871     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)872     public override bool Equals(object other) {
873       return Equals(other as RequestResultCount);
874     }
875 
876     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(RequestResultCount other)877     public bool Equals(RequestResultCount other) {
878       if (ReferenceEquals(other, null)) {
879         return false;
880       }
881       if (ReferenceEquals(other, this)) {
882         return true;
883       }
884       if (StatusCode != other.StatusCode) return false;
885       if (Count != other.Count) return false;
886       return Equals(_unknownFields, other._unknownFields);
887     }
888 
889     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()890     public override int GetHashCode() {
891       int hash = 1;
892       if (StatusCode != 0) hash ^= StatusCode.GetHashCode();
893       if (Count != 0L) hash ^= Count.GetHashCode();
894       if (_unknownFields != null) {
895         hash ^= _unknownFields.GetHashCode();
896       }
897       return hash;
898     }
899 
900     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()901     public override string ToString() {
902       return pb::JsonFormatter.ToDiagnosticString(this);
903     }
904 
905     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)906     public void WriteTo(pb::CodedOutputStream output) {
907       if (StatusCode != 0) {
908         output.WriteRawTag(8);
909         output.WriteInt32(StatusCode);
910       }
911       if (Count != 0L) {
912         output.WriteRawTag(16);
913         output.WriteInt64(Count);
914       }
915       if (_unknownFields != null) {
916         _unknownFields.WriteTo(output);
917       }
918     }
919 
920     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()921     public int CalculateSize() {
922       int size = 0;
923       if (StatusCode != 0) {
924         size += 1 + pb::CodedOutputStream.ComputeInt32Size(StatusCode);
925       }
926       if (Count != 0L) {
927         size += 1 + pb::CodedOutputStream.ComputeInt64Size(Count);
928       }
929       if (_unknownFields != null) {
930         size += _unknownFields.CalculateSize();
931       }
932       return size;
933     }
934 
935     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(RequestResultCount other)936     public void MergeFrom(RequestResultCount other) {
937       if (other == null) {
938         return;
939       }
940       if (other.StatusCode != 0) {
941         StatusCode = other.StatusCode;
942       }
943       if (other.Count != 0L) {
944         Count = other.Count;
945       }
946       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
947     }
948 
949     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)950     public void MergeFrom(pb::CodedInputStream input) {
951       uint tag;
952       while ((tag = input.ReadTag()) != 0) {
953         switch(tag) {
954           default:
955             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
956             break;
957           case 8: {
958             StatusCode = input.ReadInt32();
959             break;
960           }
961           case 16: {
962             Count = input.ReadInt64();
963             break;
964           }
965         }
966       }
967     }
968 
969   }
970 
971   public sealed partial class ClientStats : pb::IMessage<ClientStats> {
972     private static readonly pb::MessageParser<ClientStats> _parser = new pb::MessageParser<ClientStats>(() => new ClientStats());
973     private pb::UnknownFieldSet _unknownFields;
974     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
975     public static pb::MessageParser<ClientStats> Parser { get { return _parser; } }
976 
977     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
978     public static pbr::MessageDescriptor Descriptor {
979       get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[4]; }
980     }
981 
982     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
983     pbr::MessageDescriptor pb::IMessage.Descriptor {
984       get { return Descriptor; }
985     }
986 
987     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ClientStats()988     public ClientStats() {
989       OnConstruction();
990     }
991 
OnConstruction()992     partial void OnConstruction();
993 
994     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ClientStats(ClientStats other)995     public ClientStats(ClientStats other) : this() {
996       latencies_ = other.latencies_ != null ? other.latencies_.Clone() : null;
997       timeElapsed_ = other.timeElapsed_;
998       timeUser_ = other.timeUser_;
999       timeSystem_ = other.timeSystem_;
1000       requestResults_ = other.requestResults_.Clone();
1001       cqPollCount_ = other.cqPollCount_;
1002       coreStats_ = other.coreStats_ != null ? other.coreStats_.Clone() : null;
1003       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1004     }
1005 
1006     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()1007     public ClientStats Clone() {
1008       return new ClientStats(this);
1009     }
1010 
1011     /// <summary>Field number for the "latencies" field.</summary>
1012     public const int LatenciesFieldNumber = 1;
1013     private global::Grpc.Testing.HistogramData latencies_;
1014     /// <summary>
1015     /// Latency histogram. Data points are in nanoseconds.
1016     /// </summary>
1017     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1018     public global::Grpc.Testing.HistogramData Latencies {
1019       get { return latencies_; }
1020       set {
1021         latencies_ = value;
1022       }
1023     }
1024 
1025     /// <summary>Field number for the "time_elapsed" field.</summary>
1026     public const int TimeElapsedFieldNumber = 2;
1027     private double timeElapsed_;
1028     /// <summary>
1029     /// See ServerStats for details.
1030     /// </summary>
1031     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1032     public double TimeElapsed {
1033       get { return timeElapsed_; }
1034       set {
1035         timeElapsed_ = value;
1036       }
1037     }
1038 
1039     /// <summary>Field number for the "time_user" field.</summary>
1040     public const int TimeUserFieldNumber = 3;
1041     private double timeUser_;
1042     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1043     public double TimeUser {
1044       get { return timeUser_; }
1045       set {
1046         timeUser_ = value;
1047       }
1048     }
1049 
1050     /// <summary>Field number for the "time_system" field.</summary>
1051     public const int TimeSystemFieldNumber = 4;
1052     private double timeSystem_;
1053     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1054     public double TimeSystem {
1055       get { return timeSystem_; }
1056       set {
1057         timeSystem_ = value;
1058       }
1059     }
1060 
1061     /// <summary>Field number for the "request_results" field.</summary>
1062     public const int RequestResultsFieldNumber = 5;
1063     private static readonly pb::FieldCodec<global::Grpc.Testing.RequestResultCount> _repeated_requestResults_codec
1064         = pb::FieldCodec.ForMessage(42, global::Grpc.Testing.RequestResultCount.Parser);
1065     private readonly pbc::RepeatedField<global::Grpc.Testing.RequestResultCount> requestResults_ = new pbc::RepeatedField<global::Grpc.Testing.RequestResultCount>();
1066     /// <summary>
1067     /// Number of failed requests (one row per status code seen)
1068     /// </summary>
1069     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1070     public pbc::RepeatedField<global::Grpc.Testing.RequestResultCount> RequestResults {
1071       get { return requestResults_; }
1072     }
1073 
1074     /// <summary>Field number for the "cq_poll_count" field.</summary>
1075     public const int CqPollCountFieldNumber = 6;
1076     private ulong cqPollCount_;
1077     /// <summary>
1078     /// Number of polls called inside completion queue
1079     /// </summary>
1080     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1081     public ulong CqPollCount {
1082       get { return cqPollCount_; }
1083       set {
1084         cqPollCount_ = value;
1085       }
1086     }
1087 
1088     /// <summary>Field number for the "core_stats" field.</summary>
1089     public const int CoreStatsFieldNumber = 7;
1090     private global::Grpc.Core.Stats coreStats_;
1091     /// <summary>
1092     /// Core library stats
1093     /// </summary>
1094     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1095     public global::Grpc.Core.Stats CoreStats {
1096       get { return coreStats_; }
1097       set {
1098         coreStats_ = value;
1099       }
1100     }
1101 
1102     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)1103     public override bool Equals(object other) {
1104       return Equals(other as ClientStats);
1105     }
1106 
1107     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(ClientStats other)1108     public bool Equals(ClientStats other) {
1109       if (ReferenceEquals(other, null)) {
1110         return false;
1111       }
1112       if (ReferenceEquals(other, this)) {
1113         return true;
1114       }
1115       if (!object.Equals(Latencies, other.Latencies)) return false;
1116       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeElapsed, other.TimeElapsed)) return false;
1117       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeUser, other.TimeUser)) return false;
1118       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeSystem, other.TimeSystem)) return false;
1119       if(!requestResults_.Equals(other.requestResults_)) return false;
1120       if (CqPollCount != other.CqPollCount) return false;
1121       if (!object.Equals(CoreStats, other.CoreStats)) return false;
1122       return Equals(_unknownFields, other._unknownFields);
1123     }
1124 
1125     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()1126     public override int GetHashCode() {
1127       int hash = 1;
1128       if (latencies_ != null) hash ^= Latencies.GetHashCode();
1129       if (TimeElapsed != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeElapsed);
1130       if (TimeUser != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeUser);
1131       if (TimeSystem != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeSystem);
1132       hash ^= requestResults_.GetHashCode();
1133       if (CqPollCount != 0UL) hash ^= CqPollCount.GetHashCode();
1134       if (coreStats_ != null) hash ^= CoreStats.GetHashCode();
1135       if (_unknownFields != null) {
1136         hash ^= _unknownFields.GetHashCode();
1137       }
1138       return hash;
1139     }
1140 
1141     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()1142     public override string ToString() {
1143       return pb::JsonFormatter.ToDiagnosticString(this);
1144     }
1145 
1146     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)1147     public void WriteTo(pb::CodedOutputStream output) {
1148       if (latencies_ != null) {
1149         output.WriteRawTag(10);
1150         output.WriteMessage(Latencies);
1151       }
1152       if (TimeElapsed != 0D) {
1153         output.WriteRawTag(17);
1154         output.WriteDouble(TimeElapsed);
1155       }
1156       if (TimeUser != 0D) {
1157         output.WriteRawTag(25);
1158         output.WriteDouble(TimeUser);
1159       }
1160       if (TimeSystem != 0D) {
1161         output.WriteRawTag(33);
1162         output.WriteDouble(TimeSystem);
1163       }
1164       requestResults_.WriteTo(output, _repeated_requestResults_codec);
1165       if (CqPollCount != 0UL) {
1166         output.WriteRawTag(48);
1167         output.WriteUInt64(CqPollCount);
1168       }
1169       if (coreStats_ != null) {
1170         output.WriteRawTag(58);
1171         output.WriteMessage(CoreStats);
1172       }
1173       if (_unknownFields != null) {
1174         _unknownFields.WriteTo(output);
1175       }
1176     }
1177 
1178     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()1179     public int CalculateSize() {
1180       int size = 0;
1181       if (latencies_ != null) {
1182         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Latencies);
1183       }
1184       if (TimeElapsed != 0D) {
1185         size += 1 + 8;
1186       }
1187       if (TimeUser != 0D) {
1188         size += 1 + 8;
1189       }
1190       if (TimeSystem != 0D) {
1191         size += 1 + 8;
1192       }
1193       size += requestResults_.CalculateSize(_repeated_requestResults_codec);
1194       if (CqPollCount != 0UL) {
1195         size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CqPollCount);
1196       }
1197       if (coreStats_ != null) {
1198         size += 1 + pb::CodedOutputStream.ComputeMessageSize(CoreStats);
1199       }
1200       if (_unknownFields != null) {
1201         size += _unknownFields.CalculateSize();
1202       }
1203       return size;
1204     }
1205 
1206     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(ClientStats other)1207     public void MergeFrom(ClientStats other) {
1208       if (other == null) {
1209         return;
1210       }
1211       if (other.latencies_ != null) {
1212         if (latencies_ == null) {
1213           latencies_ = new global::Grpc.Testing.HistogramData();
1214         }
1215         Latencies.MergeFrom(other.Latencies);
1216       }
1217       if (other.TimeElapsed != 0D) {
1218         TimeElapsed = other.TimeElapsed;
1219       }
1220       if (other.TimeUser != 0D) {
1221         TimeUser = other.TimeUser;
1222       }
1223       if (other.TimeSystem != 0D) {
1224         TimeSystem = other.TimeSystem;
1225       }
1226       requestResults_.Add(other.requestResults_);
1227       if (other.CqPollCount != 0UL) {
1228         CqPollCount = other.CqPollCount;
1229       }
1230       if (other.coreStats_ != null) {
1231         if (coreStats_ == null) {
1232           coreStats_ = new global::Grpc.Core.Stats();
1233         }
1234         CoreStats.MergeFrom(other.CoreStats);
1235       }
1236       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1237     }
1238 
1239     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)1240     public void MergeFrom(pb::CodedInputStream input) {
1241       uint tag;
1242       while ((tag = input.ReadTag()) != 0) {
1243         switch(tag) {
1244           default:
1245             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1246             break;
1247           case 10: {
1248             if (latencies_ == null) {
1249               latencies_ = new global::Grpc.Testing.HistogramData();
1250             }
1251             input.ReadMessage(latencies_);
1252             break;
1253           }
1254           case 17: {
1255             TimeElapsed = input.ReadDouble();
1256             break;
1257           }
1258           case 25: {
1259             TimeUser = input.ReadDouble();
1260             break;
1261           }
1262           case 33: {
1263             TimeSystem = input.ReadDouble();
1264             break;
1265           }
1266           case 42: {
1267             requestResults_.AddEntriesFrom(input, _repeated_requestResults_codec);
1268             break;
1269           }
1270           case 48: {
1271             CqPollCount = input.ReadUInt64();
1272             break;
1273           }
1274           case 58: {
1275             if (coreStats_ == null) {
1276               coreStats_ = new global::Grpc.Core.Stats();
1277             }
1278             input.ReadMessage(coreStats_);
1279             break;
1280           }
1281         }
1282       }
1283     }
1284 
1285   }
1286 
1287   #endregion
1288 
1289 }
1290 
1291 #endregion Designer generated code
1292