• 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/messages.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/messages.proto</summary>
15   public static partial class MessagesReflection {
16 
17     #region Descriptor
18     /// <summary>File descriptor for src/proto/grpc/testing/messages.proto</summary>
19     public static pbr::FileDescriptor Descriptor {
20       get { return descriptor; }
21     }
22     private static pbr::FileDescriptor descriptor;
23 
MessagesReflection()24     static MessagesReflection() {
25       byte[] descriptorData = global::System.Convert.FromBase64String(
26           string.Concat(
27             "CiVzcmMvcHJvdG8vZ3JwYy90ZXN0aW5nL21lc3NhZ2VzLnByb3RvEgxncnBj",
28             "LnRlc3RpbmciGgoJQm9vbFZhbHVlEg0KBXZhbHVlGAEgASgIIkAKB1BheWxv",
29             "YWQSJwoEdHlwZRgBIAEoDjIZLmdycGMudGVzdGluZy5QYXlsb2FkVHlwZRIM",
30             "CgRib2R5GAIgASgMIisKCkVjaG9TdGF0dXMSDAoEY29kZRgBIAEoBRIPCgdt",
31             "ZXNzYWdlGAIgASgJIoYDCg1TaW1wbGVSZXF1ZXN0EjAKDXJlc3BvbnNlX3R5",
32             "cGUYASABKA4yGS5ncnBjLnRlc3RpbmcuUGF5bG9hZFR5cGUSFQoNcmVzcG9u",
33             "c2Vfc2l6ZRgCIAEoBRImCgdwYXlsb2FkGAMgASgLMhUuZ3JwYy50ZXN0aW5n",
34             "LlBheWxvYWQSFQoNZmlsbF91c2VybmFtZRgEIAEoCBIYChBmaWxsX29hdXRo",
35             "X3Njb3BlGAUgASgIEjQKE3Jlc3BvbnNlX2NvbXByZXNzZWQYBiABKAsyFy5n",
36             "cnBjLnRlc3RpbmcuQm9vbFZhbHVlEjEKD3Jlc3BvbnNlX3N0YXR1cxgHIAEo",
37             "CzIYLmdycGMudGVzdGluZy5FY2hvU3RhdHVzEjIKEWV4cGVjdF9jb21wcmVz",
38             "c2VkGAggASgLMhcuZ3JwYy50ZXN0aW5nLkJvb2xWYWx1ZRIWCg5maWxsX3Nl",
39             "cnZlcl9pZBgJIAEoCBIeChZmaWxsX2dycGNsYl9yb3V0ZV90eXBlGAogASgI",
40             "Ir4BCg5TaW1wbGVSZXNwb25zZRImCgdwYXlsb2FkGAEgASgLMhUuZ3JwYy50",
41             "ZXN0aW5nLlBheWxvYWQSEAoIdXNlcm5hbWUYAiABKAkSEwoLb2F1dGhfc2Nv",
42             "cGUYAyABKAkSEQoJc2VydmVyX2lkGAQgASgJEjgKEWdycGNsYl9yb3V0ZV90",
43             "eXBlGAUgASgOMh0uZ3JwYy50ZXN0aW5nLkdycGNsYlJvdXRlVHlwZRIQCgho",
44             "b3N0bmFtZRgGIAEoCSJ3ChlTdHJlYW1pbmdJbnB1dENhbGxSZXF1ZXN0EiYK",
45             "B3BheWxvYWQYASABKAsyFS5ncnBjLnRlc3RpbmcuUGF5bG9hZBIyChFleHBl",
46             "Y3RfY29tcHJlc3NlZBgCIAEoCzIXLmdycGMudGVzdGluZy5Cb29sVmFsdWUi",
47             "PQoaU3RyZWFtaW5nSW5wdXRDYWxsUmVzcG9uc2USHwoXYWdncmVnYXRlZF9w",
48             "YXlsb2FkX3NpemUYASABKAUiZAoSUmVzcG9uc2VQYXJhbWV0ZXJzEgwKBHNp",
49             "emUYASABKAUSEwoLaW50ZXJ2YWxfdXMYAiABKAUSKwoKY29tcHJlc3NlZBgD",
50             "IAEoCzIXLmdycGMudGVzdGluZy5Cb29sVmFsdWUi6AEKGlN0cmVhbWluZ091",
51             "dHB1dENhbGxSZXF1ZXN0EjAKDXJlc3BvbnNlX3R5cGUYASABKA4yGS5ncnBj",
52             "LnRlc3RpbmcuUGF5bG9hZFR5cGUSPQoTcmVzcG9uc2VfcGFyYW1ldGVycxgC",
53             "IAMoCzIgLmdycGMudGVzdGluZy5SZXNwb25zZVBhcmFtZXRlcnMSJgoHcGF5",
54             "bG9hZBgDIAEoCzIVLmdycGMudGVzdGluZy5QYXlsb2FkEjEKD3Jlc3BvbnNl",
55             "X3N0YXR1cxgHIAEoCzIYLmdycGMudGVzdGluZy5FY2hvU3RhdHVzIkUKG1N0",
56             "cmVhbWluZ091dHB1dENhbGxSZXNwb25zZRImCgdwYXlsb2FkGAEgASgLMhUu",
57             "Z3JwYy50ZXN0aW5nLlBheWxvYWQiMwoPUmVjb25uZWN0UGFyYW1zEiAKGG1h",
58             "eF9yZWNvbm5lY3RfYmFja29mZl9tcxgBIAEoBSIzCg1SZWNvbm5lY3RJbmZv",
59             "Eg4KBnBhc3NlZBgBIAEoCBISCgpiYWNrb2ZmX21zGAIgAygFIkEKGExvYWRC",
60             "YWxhbmNlclN0YXRzUmVxdWVzdBIQCghudW1fcnBjcxgBIAEoBRITCgt0aW1l",
61             "b3V0X3NlYxgCIAEoBSKzAQoZTG9hZEJhbGFuY2VyU3RhdHNSZXNwb25zZRJN",
62             "CgxycGNzX2J5X3BlZXIYASADKAsyNy5ncnBjLnRlc3RpbmcuTG9hZEJhbGFu",
63             "Y2VyU3RhdHNSZXNwb25zZS5ScGNzQnlQZWVyRW50cnkSFAoMbnVtX2ZhaWx1",
64             "cmVzGAIgASgFGjEKD1JwY3NCeVBlZXJFbnRyeRILCgNrZXkYASABKAkSDQoF",
65             "dmFsdWUYAiABKAU6AjgBKh8KC1BheWxvYWRUeXBlEhAKDENPTVBSRVNTQUJM",
66             "RRAAKm8KD0dycGNsYlJvdXRlVHlwZRIdChlHUlBDTEJfUk9VVEVfVFlQRV9V",
67             "TktOT1dOEAASHgoaR1JQQ0xCX1JPVVRFX1RZUEVfRkFMTEJBQ0sQARIdChlH",
68             "UlBDTEJfUk9VVEVfVFlQRV9CQUNLRU5EEAJiBnByb3RvMw=="));
69       descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
70           new pbr::FileDescriptor[] { },
71           new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Grpc.Testing.PayloadType), typeof(global::Grpc.Testing.GrpclbRouteType), }, null, new pbr::GeneratedClrTypeInfo[] {
72             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.BoolValue), global::Grpc.Testing.BoolValue.Parser, new[]{ "Value" }, null, null, null, null),
73             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.Payload), global::Grpc.Testing.Payload.Parser, new[]{ "Type", "Body" }, null, null, null, null),
74             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.EchoStatus), global::Grpc.Testing.EchoStatus.Parser, new[]{ "Code", "Message" }, null, null, null, null),
75             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.SimpleRequest), global::Grpc.Testing.SimpleRequest.Parser, new[]{ "ResponseType", "ResponseSize", "Payload", "FillUsername", "FillOauthScope", "ResponseCompressed", "ResponseStatus", "ExpectCompressed", "FillServerId", "FillGrpclbRouteType" }, null, null, null, null),
76             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.SimpleResponse), global::Grpc.Testing.SimpleResponse.Parser, new[]{ "Payload", "Username", "OauthScope", "ServerId", "GrpclbRouteType", "Hostname" }, null, null, null, null),
77             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.StreamingInputCallRequest), global::Grpc.Testing.StreamingInputCallRequest.Parser, new[]{ "Payload", "ExpectCompressed" }, null, null, null, null),
78             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.StreamingInputCallResponse), global::Grpc.Testing.StreamingInputCallResponse.Parser, new[]{ "AggregatedPayloadSize" }, null, null, null, null),
79             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ResponseParameters), global::Grpc.Testing.ResponseParameters.Parser, new[]{ "Size", "IntervalUs", "Compressed" }, null, null, null, null),
80             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.StreamingOutputCallRequest), global::Grpc.Testing.StreamingOutputCallRequest.Parser, new[]{ "ResponseType", "ResponseParameters", "Payload", "ResponseStatus" }, null, null, null, null),
81             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.StreamingOutputCallResponse), global::Grpc.Testing.StreamingOutputCallResponse.Parser, new[]{ "Payload" }, null, null, null, null),
82             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ReconnectParams), global::Grpc.Testing.ReconnectParams.Parser, new[]{ "MaxReconnectBackoffMs" }, null, null, null, null),
83             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ReconnectInfo), global::Grpc.Testing.ReconnectInfo.Parser, new[]{ "Passed", "BackoffMs" }, null, null, null, null),
84             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.LoadBalancerStatsRequest), global::Grpc.Testing.LoadBalancerStatsRequest.Parser, new[]{ "NumRpcs", "TimeoutSec" }, null, null, null, null),
85             new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.LoadBalancerStatsResponse), global::Grpc.Testing.LoadBalancerStatsResponse.Parser, new[]{ "RpcsByPeer", "NumFailures" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
86           }));
87     }
88     #endregion
89 
90   }
91   #region Enums
92   /// <summary>
93   /// The type of payload that should be returned.
94   /// </summary>
95   public enum PayloadType {
96     /// <summary>
97     /// Compressable text format.
98     /// </summary>
99     [pbr::OriginalName("COMPRESSABLE")] Compressable = 0,
100   }
101 
102   /// <summary>
103   /// The type of route that a client took to reach a server w.r.t. gRPCLB.
104   /// The server must fill in "fallback" if it detects that the RPC reached
105   /// the server via the "gRPCLB fallback" path, and "backend" if it detects
106   /// that the RPC reached the server via "gRPCLB backend" path (i.e. if it got
107   /// the address of this server from the gRPCLB server BalanceLoad RPC). Exactly
108   /// how this detection is done is context and server dependent.
109   /// </summary>
110   public enum GrpclbRouteType {
111     /// <summary>
112     /// Server didn't detect the route that a client took to reach it.
113     /// </summary>
114     [pbr::OriginalName("GRPCLB_ROUTE_TYPE_UNKNOWN")] Unknown = 0,
115     /// <summary>
116     /// Indicates that a client reached a server via gRPCLB fallback.
117     /// </summary>
118     [pbr::OriginalName("GRPCLB_ROUTE_TYPE_FALLBACK")] Fallback = 1,
119     /// <summary>
120     /// Indicates that a client reached a server as a gRPCLB-given backend.
121     /// </summary>
122     [pbr::OriginalName("GRPCLB_ROUTE_TYPE_BACKEND")] Backend = 2,
123   }
124 
125   #endregion
126 
127   #region Messages
128   /// <summary>
129   /// TODO(dgq): Go back to using well-known types once
130   /// https://github.com/grpc/grpc/issues/6980 has been fixed.
131   /// import "google/protobuf/wrappers.proto";
132   /// </summary>
133   public sealed partial class BoolValue : pb::IMessage<BoolValue> {
134     private static readonly pb::MessageParser<BoolValue> _parser = new pb::MessageParser<BoolValue>(() => new BoolValue());
135     private pb::UnknownFieldSet _unknownFields;
136     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
137     public static pb::MessageParser<BoolValue> Parser { get { return _parser; } }
138 
139     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
140     public static pbr::MessageDescriptor Descriptor {
141       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[0]; }
142     }
143 
144     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
145     pbr::MessageDescriptor pb::IMessage.Descriptor {
146       get { return Descriptor; }
147     }
148 
149     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
BoolValue()150     public BoolValue() {
151       OnConstruction();
152     }
153 
OnConstruction()154     partial void OnConstruction();
155 
156     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
BoolValue(BoolValue other)157     public BoolValue(BoolValue other) : this() {
158       value_ = other.value_;
159       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
160     }
161 
162     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()163     public BoolValue Clone() {
164       return new BoolValue(this);
165     }
166 
167     /// <summary>Field number for the "value" field.</summary>
168     public const int ValueFieldNumber = 1;
169     private bool value_;
170     /// <summary>
171     /// The bool value.
172     /// </summary>
173     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
174     public bool Value {
175       get { return value_; }
176       set {
177         value_ = value;
178       }
179     }
180 
181     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)182     public override bool Equals(object other) {
183       return Equals(other as BoolValue);
184     }
185 
186     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(BoolValue other)187     public bool Equals(BoolValue other) {
188       if (ReferenceEquals(other, null)) {
189         return false;
190       }
191       if (ReferenceEquals(other, this)) {
192         return true;
193       }
194       if (Value != other.Value) return false;
195       return Equals(_unknownFields, other._unknownFields);
196     }
197 
198     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()199     public override int GetHashCode() {
200       int hash = 1;
201       if (Value != false) hash ^= Value.GetHashCode();
202       if (_unknownFields != null) {
203         hash ^= _unknownFields.GetHashCode();
204       }
205       return hash;
206     }
207 
208     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()209     public override string ToString() {
210       return pb::JsonFormatter.ToDiagnosticString(this);
211     }
212 
213     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)214     public void WriteTo(pb::CodedOutputStream output) {
215       if (Value != false) {
216         output.WriteRawTag(8);
217         output.WriteBool(Value);
218       }
219       if (_unknownFields != null) {
220         _unknownFields.WriteTo(output);
221       }
222     }
223 
224     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()225     public int CalculateSize() {
226       int size = 0;
227       if (Value != false) {
228         size += 1 + 1;
229       }
230       if (_unknownFields != null) {
231         size += _unknownFields.CalculateSize();
232       }
233       return size;
234     }
235 
236     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(BoolValue other)237     public void MergeFrom(BoolValue other) {
238       if (other == null) {
239         return;
240       }
241       if (other.Value != false) {
242         Value = other.Value;
243       }
244       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
245     }
246 
247     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)248     public void MergeFrom(pb::CodedInputStream input) {
249       uint tag;
250       while ((tag = input.ReadTag()) != 0) {
251         switch(tag) {
252           default:
253             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
254             break;
255           case 8: {
256             Value = input.ReadBool();
257             break;
258           }
259         }
260       }
261     }
262 
263   }
264 
265   /// <summary>
266   /// A block of data, to simply increase gRPC message size.
267   /// </summary>
268   public sealed partial class Payload : pb::IMessage<Payload> {
269     private static readonly pb::MessageParser<Payload> _parser = new pb::MessageParser<Payload>(() => new Payload());
270     private pb::UnknownFieldSet _unknownFields;
271     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
272     public static pb::MessageParser<Payload> Parser { get { return _parser; } }
273 
274     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
275     public static pbr::MessageDescriptor Descriptor {
276       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[1]; }
277     }
278 
279     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
280     pbr::MessageDescriptor pb::IMessage.Descriptor {
281       get { return Descriptor; }
282     }
283 
284     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Payload()285     public Payload() {
286       OnConstruction();
287     }
288 
OnConstruction()289     partial void OnConstruction();
290 
291     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Payload(Payload other)292     public Payload(Payload other) : this() {
293       type_ = other.type_;
294       body_ = other.body_;
295       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
296     }
297 
298     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()299     public Payload Clone() {
300       return new Payload(this);
301     }
302 
303     /// <summary>Field number for the "type" field.</summary>
304     public const int TypeFieldNumber = 1;
305     private global::Grpc.Testing.PayloadType type_ = global::Grpc.Testing.PayloadType.Compressable;
306     /// <summary>
307     /// The type of data in body.
308     /// </summary>
309     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
310     public global::Grpc.Testing.PayloadType Type {
311       get { return type_; }
312       set {
313         type_ = value;
314       }
315     }
316 
317     /// <summary>Field number for the "body" field.</summary>
318     public const int BodyFieldNumber = 2;
319     private pb::ByteString body_ = pb::ByteString.Empty;
320     /// <summary>
321     /// Primary contents of payload.
322     /// </summary>
323     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
324     public pb::ByteString Body {
325       get { return body_; }
326       set {
327         body_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
328       }
329     }
330 
331     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)332     public override bool Equals(object other) {
333       return Equals(other as Payload);
334     }
335 
336     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(Payload other)337     public bool Equals(Payload other) {
338       if (ReferenceEquals(other, null)) {
339         return false;
340       }
341       if (ReferenceEquals(other, this)) {
342         return true;
343       }
344       if (Type != other.Type) return false;
345       if (Body != other.Body) return false;
346       return Equals(_unknownFields, other._unknownFields);
347     }
348 
349     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()350     public override int GetHashCode() {
351       int hash = 1;
352       if (Type != global::Grpc.Testing.PayloadType.Compressable) hash ^= Type.GetHashCode();
353       if (Body.Length != 0) hash ^= Body.GetHashCode();
354       if (_unknownFields != null) {
355         hash ^= _unknownFields.GetHashCode();
356       }
357       return hash;
358     }
359 
360     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()361     public override string ToString() {
362       return pb::JsonFormatter.ToDiagnosticString(this);
363     }
364 
365     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)366     public void WriteTo(pb::CodedOutputStream output) {
367       if (Type != global::Grpc.Testing.PayloadType.Compressable) {
368         output.WriteRawTag(8);
369         output.WriteEnum((int) Type);
370       }
371       if (Body.Length != 0) {
372         output.WriteRawTag(18);
373         output.WriteBytes(Body);
374       }
375       if (_unknownFields != null) {
376         _unknownFields.WriteTo(output);
377       }
378     }
379 
380     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()381     public int CalculateSize() {
382       int size = 0;
383       if (Type != global::Grpc.Testing.PayloadType.Compressable) {
384         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
385       }
386       if (Body.Length != 0) {
387         size += 1 + pb::CodedOutputStream.ComputeBytesSize(Body);
388       }
389       if (_unknownFields != null) {
390         size += _unknownFields.CalculateSize();
391       }
392       return size;
393     }
394 
395     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(Payload other)396     public void MergeFrom(Payload other) {
397       if (other == null) {
398         return;
399       }
400       if (other.Type != global::Grpc.Testing.PayloadType.Compressable) {
401         Type = other.Type;
402       }
403       if (other.Body.Length != 0) {
404         Body = other.Body;
405       }
406       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
407     }
408 
409     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)410     public void MergeFrom(pb::CodedInputStream input) {
411       uint tag;
412       while ((tag = input.ReadTag()) != 0) {
413         switch(tag) {
414           default:
415             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
416             break;
417           case 8: {
418             Type = (global::Grpc.Testing.PayloadType) input.ReadEnum();
419             break;
420           }
421           case 18: {
422             Body = input.ReadBytes();
423             break;
424           }
425         }
426       }
427     }
428 
429   }
430 
431   /// <summary>
432   /// A protobuf representation for grpc status. This is used by test
433   /// clients to specify a status that the server should attempt to return.
434   /// </summary>
435   public sealed partial class EchoStatus : pb::IMessage<EchoStatus> {
436     private static readonly pb::MessageParser<EchoStatus> _parser = new pb::MessageParser<EchoStatus>(() => new EchoStatus());
437     private pb::UnknownFieldSet _unknownFields;
438     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
439     public static pb::MessageParser<EchoStatus> Parser { get { return _parser; } }
440 
441     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
442     public static pbr::MessageDescriptor Descriptor {
443       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[2]; }
444     }
445 
446     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
447     pbr::MessageDescriptor pb::IMessage.Descriptor {
448       get { return Descriptor; }
449     }
450 
451     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
EchoStatus()452     public EchoStatus() {
453       OnConstruction();
454     }
455 
OnConstruction()456     partial void OnConstruction();
457 
458     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
EchoStatus(EchoStatus other)459     public EchoStatus(EchoStatus other) : this() {
460       code_ = other.code_;
461       message_ = other.message_;
462       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
463     }
464 
465     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()466     public EchoStatus Clone() {
467       return new EchoStatus(this);
468     }
469 
470     /// <summary>Field number for the "code" field.</summary>
471     public const int CodeFieldNumber = 1;
472     private int code_;
473     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
474     public int Code {
475       get { return code_; }
476       set {
477         code_ = value;
478       }
479     }
480 
481     /// <summary>Field number for the "message" field.</summary>
482     public const int MessageFieldNumber = 2;
483     private string message_ = "";
484     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
485     public string Message {
486       get { return message_; }
487       set {
488         message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
489       }
490     }
491 
492     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)493     public override bool Equals(object other) {
494       return Equals(other as EchoStatus);
495     }
496 
497     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(EchoStatus other)498     public bool Equals(EchoStatus other) {
499       if (ReferenceEquals(other, null)) {
500         return false;
501       }
502       if (ReferenceEquals(other, this)) {
503         return true;
504       }
505       if (Code != other.Code) return false;
506       if (Message != other.Message) return false;
507       return Equals(_unknownFields, other._unknownFields);
508     }
509 
510     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()511     public override int GetHashCode() {
512       int hash = 1;
513       if (Code != 0) hash ^= Code.GetHashCode();
514       if (Message.Length != 0) hash ^= Message.GetHashCode();
515       if (_unknownFields != null) {
516         hash ^= _unknownFields.GetHashCode();
517       }
518       return hash;
519     }
520 
521     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()522     public override string ToString() {
523       return pb::JsonFormatter.ToDiagnosticString(this);
524     }
525 
526     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)527     public void WriteTo(pb::CodedOutputStream output) {
528       if (Code != 0) {
529         output.WriteRawTag(8);
530         output.WriteInt32(Code);
531       }
532       if (Message.Length != 0) {
533         output.WriteRawTag(18);
534         output.WriteString(Message);
535       }
536       if (_unknownFields != null) {
537         _unknownFields.WriteTo(output);
538       }
539     }
540 
541     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()542     public int CalculateSize() {
543       int size = 0;
544       if (Code != 0) {
545         size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code);
546       }
547       if (Message.Length != 0) {
548         size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
549       }
550       if (_unknownFields != null) {
551         size += _unknownFields.CalculateSize();
552       }
553       return size;
554     }
555 
556     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(EchoStatus other)557     public void MergeFrom(EchoStatus other) {
558       if (other == null) {
559         return;
560       }
561       if (other.Code != 0) {
562         Code = other.Code;
563       }
564       if (other.Message.Length != 0) {
565         Message = other.Message;
566       }
567       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
568     }
569 
570     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)571     public void MergeFrom(pb::CodedInputStream input) {
572       uint tag;
573       while ((tag = input.ReadTag()) != 0) {
574         switch(tag) {
575           default:
576             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
577             break;
578           case 8: {
579             Code = input.ReadInt32();
580             break;
581           }
582           case 18: {
583             Message = input.ReadString();
584             break;
585           }
586         }
587       }
588     }
589 
590   }
591 
592   /// <summary>
593   /// Unary request.
594   /// </summary>
595   public sealed partial class SimpleRequest : pb::IMessage<SimpleRequest> {
596     private static readonly pb::MessageParser<SimpleRequest> _parser = new pb::MessageParser<SimpleRequest>(() => new SimpleRequest());
597     private pb::UnknownFieldSet _unknownFields;
598     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
599     public static pb::MessageParser<SimpleRequest> Parser { get { return _parser; } }
600 
601     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
602     public static pbr::MessageDescriptor Descriptor {
603       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[3]; }
604     }
605 
606     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
607     pbr::MessageDescriptor pb::IMessage.Descriptor {
608       get { return Descriptor; }
609     }
610 
611     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
SimpleRequest()612     public SimpleRequest() {
613       OnConstruction();
614     }
615 
OnConstruction()616     partial void OnConstruction();
617 
618     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
SimpleRequest(SimpleRequest other)619     public SimpleRequest(SimpleRequest other) : this() {
620       responseType_ = other.responseType_;
621       responseSize_ = other.responseSize_;
622       payload_ = other.payload_ != null ? other.payload_.Clone() : null;
623       fillUsername_ = other.fillUsername_;
624       fillOauthScope_ = other.fillOauthScope_;
625       responseCompressed_ = other.responseCompressed_ != null ? other.responseCompressed_.Clone() : null;
626       responseStatus_ = other.responseStatus_ != null ? other.responseStatus_.Clone() : null;
627       expectCompressed_ = other.expectCompressed_ != null ? other.expectCompressed_.Clone() : null;
628       fillServerId_ = other.fillServerId_;
629       fillGrpclbRouteType_ = other.fillGrpclbRouteType_;
630       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
631     }
632 
633     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()634     public SimpleRequest Clone() {
635       return new SimpleRequest(this);
636     }
637 
638     /// <summary>Field number for the "response_type" field.</summary>
639     public const int ResponseTypeFieldNumber = 1;
640     private global::Grpc.Testing.PayloadType responseType_ = global::Grpc.Testing.PayloadType.Compressable;
641     /// <summary>
642     /// Desired payload type in the response from the server.
643     /// If response_type is RANDOM, server randomly chooses one from other formats.
644     /// </summary>
645     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
646     public global::Grpc.Testing.PayloadType ResponseType {
647       get { return responseType_; }
648       set {
649         responseType_ = value;
650       }
651     }
652 
653     /// <summary>Field number for the "response_size" field.</summary>
654     public const int ResponseSizeFieldNumber = 2;
655     private int responseSize_;
656     /// <summary>
657     /// Desired payload size in the response from the server.
658     /// </summary>
659     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
660     public int ResponseSize {
661       get { return responseSize_; }
662       set {
663         responseSize_ = value;
664       }
665     }
666 
667     /// <summary>Field number for the "payload" field.</summary>
668     public const int PayloadFieldNumber = 3;
669     private global::Grpc.Testing.Payload payload_;
670     /// <summary>
671     /// Optional input payload sent along with the request.
672     /// </summary>
673     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
674     public global::Grpc.Testing.Payload Payload {
675       get { return payload_; }
676       set {
677         payload_ = value;
678       }
679     }
680 
681     /// <summary>Field number for the "fill_username" field.</summary>
682     public const int FillUsernameFieldNumber = 4;
683     private bool fillUsername_;
684     /// <summary>
685     /// Whether SimpleResponse should include username.
686     /// </summary>
687     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
688     public bool FillUsername {
689       get { return fillUsername_; }
690       set {
691         fillUsername_ = value;
692       }
693     }
694 
695     /// <summary>Field number for the "fill_oauth_scope" field.</summary>
696     public const int FillOauthScopeFieldNumber = 5;
697     private bool fillOauthScope_;
698     /// <summary>
699     /// Whether SimpleResponse should include OAuth scope.
700     /// </summary>
701     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
702     public bool FillOauthScope {
703       get { return fillOauthScope_; }
704       set {
705         fillOauthScope_ = value;
706       }
707     }
708 
709     /// <summary>Field number for the "response_compressed" field.</summary>
710     public const int ResponseCompressedFieldNumber = 6;
711     private global::Grpc.Testing.BoolValue responseCompressed_;
712     /// <summary>
713     /// Whether to request the server to compress the response. This field is
714     /// "nullable" in order to interoperate seamlessly with clients not able to
715     /// implement the full compression tests by introspecting the call to verify
716     /// the response's compression status.
717     /// </summary>
718     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
719     public global::Grpc.Testing.BoolValue ResponseCompressed {
720       get { return responseCompressed_; }
721       set {
722         responseCompressed_ = value;
723       }
724     }
725 
726     /// <summary>Field number for the "response_status" field.</summary>
727     public const int ResponseStatusFieldNumber = 7;
728     private global::Grpc.Testing.EchoStatus responseStatus_;
729     /// <summary>
730     /// Whether server should return a given status
731     /// </summary>
732     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
733     public global::Grpc.Testing.EchoStatus ResponseStatus {
734       get { return responseStatus_; }
735       set {
736         responseStatus_ = value;
737       }
738     }
739 
740     /// <summary>Field number for the "expect_compressed" field.</summary>
741     public const int ExpectCompressedFieldNumber = 8;
742     private global::Grpc.Testing.BoolValue expectCompressed_;
743     /// <summary>
744     /// Whether the server should expect this request to be compressed.
745     /// </summary>
746     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
747     public global::Grpc.Testing.BoolValue ExpectCompressed {
748       get { return expectCompressed_; }
749       set {
750         expectCompressed_ = value;
751       }
752     }
753 
754     /// <summary>Field number for the "fill_server_id" field.</summary>
755     public const int FillServerIdFieldNumber = 9;
756     private bool fillServerId_;
757     /// <summary>
758     /// Whether SimpleResponse should include server_id.
759     /// </summary>
760     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
761     public bool FillServerId {
762       get { return fillServerId_; }
763       set {
764         fillServerId_ = value;
765       }
766     }
767 
768     /// <summary>Field number for the "fill_grpclb_route_type" field.</summary>
769     public const int FillGrpclbRouteTypeFieldNumber = 10;
770     private bool fillGrpclbRouteType_;
771     /// <summary>
772     /// Whether SimpleResponse should include grpclb_route_type.
773     /// </summary>
774     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
775     public bool FillGrpclbRouteType {
776       get { return fillGrpclbRouteType_; }
777       set {
778         fillGrpclbRouteType_ = value;
779       }
780     }
781 
782     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)783     public override bool Equals(object other) {
784       return Equals(other as SimpleRequest);
785     }
786 
787     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(SimpleRequest other)788     public bool Equals(SimpleRequest other) {
789       if (ReferenceEquals(other, null)) {
790         return false;
791       }
792       if (ReferenceEquals(other, this)) {
793         return true;
794       }
795       if (ResponseType != other.ResponseType) return false;
796       if (ResponseSize != other.ResponseSize) return false;
797       if (!object.Equals(Payload, other.Payload)) return false;
798       if (FillUsername != other.FillUsername) return false;
799       if (FillOauthScope != other.FillOauthScope) return false;
800       if (!object.Equals(ResponseCompressed, other.ResponseCompressed)) return false;
801       if (!object.Equals(ResponseStatus, other.ResponseStatus)) return false;
802       if (!object.Equals(ExpectCompressed, other.ExpectCompressed)) return false;
803       if (FillServerId != other.FillServerId) return false;
804       if (FillGrpclbRouteType != other.FillGrpclbRouteType) return false;
805       return Equals(_unknownFields, other._unknownFields);
806     }
807 
808     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()809     public override int GetHashCode() {
810       int hash = 1;
811       if (ResponseType != global::Grpc.Testing.PayloadType.Compressable) hash ^= ResponseType.GetHashCode();
812       if (ResponseSize != 0) hash ^= ResponseSize.GetHashCode();
813       if (payload_ != null) hash ^= Payload.GetHashCode();
814       if (FillUsername != false) hash ^= FillUsername.GetHashCode();
815       if (FillOauthScope != false) hash ^= FillOauthScope.GetHashCode();
816       if (responseCompressed_ != null) hash ^= ResponseCompressed.GetHashCode();
817       if (responseStatus_ != null) hash ^= ResponseStatus.GetHashCode();
818       if (expectCompressed_ != null) hash ^= ExpectCompressed.GetHashCode();
819       if (FillServerId != false) hash ^= FillServerId.GetHashCode();
820       if (FillGrpclbRouteType != false) hash ^= FillGrpclbRouteType.GetHashCode();
821       if (_unknownFields != null) {
822         hash ^= _unknownFields.GetHashCode();
823       }
824       return hash;
825     }
826 
827     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()828     public override string ToString() {
829       return pb::JsonFormatter.ToDiagnosticString(this);
830     }
831 
832     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)833     public void WriteTo(pb::CodedOutputStream output) {
834       if (ResponseType != global::Grpc.Testing.PayloadType.Compressable) {
835         output.WriteRawTag(8);
836         output.WriteEnum((int) ResponseType);
837       }
838       if (ResponseSize != 0) {
839         output.WriteRawTag(16);
840         output.WriteInt32(ResponseSize);
841       }
842       if (payload_ != null) {
843         output.WriteRawTag(26);
844         output.WriteMessage(Payload);
845       }
846       if (FillUsername != false) {
847         output.WriteRawTag(32);
848         output.WriteBool(FillUsername);
849       }
850       if (FillOauthScope != false) {
851         output.WriteRawTag(40);
852         output.WriteBool(FillOauthScope);
853       }
854       if (responseCompressed_ != null) {
855         output.WriteRawTag(50);
856         output.WriteMessage(ResponseCompressed);
857       }
858       if (responseStatus_ != null) {
859         output.WriteRawTag(58);
860         output.WriteMessage(ResponseStatus);
861       }
862       if (expectCompressed_ != null) {
863         output.WriteRawTag(66);
864         output.WriteMessage(ExpectCompressed);
865       }
866       if (FillServerId != false) {
867         output.WriteRawTag(72);
868         output.WriteBool(FillServerId);
869       }
870       if (FillGrpclbRouteType != false) {
871         output.WriteRawTag(80);
872         output.WriteBool(FillGrpclbRouteType);
873       }
874       if (_unknownFields != null) {
875         _unknownFields.WriteTo(output);
876       }
877     }
878 
879     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()880     public int CalculateSize() {
881       int size = 0;
882       if (ResponseType != global::Grpc.Testing.PayloadType.Compressable) {
883         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ResponseType);
884       }
885       if (ResponseSize != 0) {
886         size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResponseSize);
887       }
888       if (payload_ != null) {
889         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload);
890       }
891       if (FillUsername != false) {
892         size += 1 + 1;
893       }
894       if (FillOauthScope != false) {
895         size += 1 + 1;
896       }
897       if (responseCompressed_ != null) {
898         size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResponseCompressed);
899       }
900       if (responseStatus_ != null) {
901         size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResponseStatus);
902       }
903       if (expectCompressed_ != null) {
904         size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpectCompressed);
905       }
906       if (FillServerId != false) {
907         size += 1 + 1;
908       }
909       if (FillGrpclbRouteType != false) {
910         size += 1 + 1;
911       }
912       if (_unknownFields != null) {
913         size += _unknownFields.CalculateSize();
914       }
915       return size;
916     }
917 
918     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(SimpleRequest other)919     public void MergeFrom(SimpleRequest other) {
920       if (other == null) {
921         return;
922       }
923       if (other.ResponseType != global::Grpc.Testing.PayloadType.Compressable) {
924         ResponseType = other.ResponseType;
925       }
926       if (other.ResponseSize != 0) {
927         ResponseSize = other.ResponseSize;
928       }
929       if (other.payload_ != null) {
930         if (payload_ == null) {
931           Payload = new global::Grpc.Testing.Payload();
932         }
933         Payload.MergeFrom(other.Payload);
934       }
935       if (other.FillUsername != false) {
936         FillUsername = other.FillUsername;
937       }
938       if (other.FillOauthScope != false) {
939         FillOauthScope = other.FillOauthScope;
940       }
941       if (other.responseCompressed_ != null) {
942         if (responseCompressed_ == null) {
943           ResponseCompressed = new global::Grpc.Testing.BoolValue();
944         }
945         ResponseCompressed.MergeFrom(other.ResponseCompressed);
946       }
947       if (other.responseStatus_ != null) {
948         if (responseStatus_ == null) {
949           ResponseStatus = new global::Grpc.Testing.EchoStatus();
950         }
951         ResponseStatus.MergeFrom(other.ResponseStatus);
952       }
953       if (other.expectCompressed_ != null) {
954         if (expectCompressed_ == null) {
955           ExpectCompressed = new global::Grpc.Testing.BoolValue();
956         }
957         ExpectCompressed.MergeFrom(other.ExpectCompressed);
958       }
959       if (other.FillServerId != false) {
960         FillServerId = other.FillServerId;
961       }
962       if (other.FillGrpclbRouteType != false) {
963         FillGrpclbRouteType = other.FillGrpclbRouteType;
964       }
965       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
966     }
967 
968     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)969     public void MergeFrom(pb::CodedInputStream input) {
970       uint tag;
971       while ((tag = input.ReadTag()) != 0) {
972         switch(tag) {
973           default:
974             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
975             break;
976           case 8: {
977             ResponseType = (global::Grpc.Testing.PayloadType) input.ReadEnum();
978             break;
979           }
980           case 16: {
981             ResponseSize = input.ReadInt32();
982             break;
983           }
984           case 26: {
985             if (payload_ == null) {
986               Payload = new global::Grpc.Testing.Payload();
987             }
988             input.ReadMessage(Payload);
989             break;
990           }
991           case 32: {
992             FillUsername = input.ReadBool();
993             break;
994           }
995           case 40: {
996             FillOauthScope = input.ReadBool();
997             break;
998           }
999           case 50: {
1000             if (responseCompressed_ == null) {
1001               ResponseCompressed = new global::Grpc.Testing.BoolValue();
1002             }
1003             input.ReadMessage(ResponseCompressed);
1004             break;
1005           }
1006           case 58: {
1007             if (responseStatus_ == null) {
1008               ResponseStatus = new global::Grpc.Testing.EchoStatus();
1009             }
1010             input.ReadMessage(ResponseStatus);
1011             break;
1012           }
1013           case 66: {
1014             if (expectCompressed_ == null) {
1015               ExpectCompressed = new global::Grpc.Testing.BoolValue();
1016             }
1017             input.ReadMessage(ExpectCompressed);
1018             break;
1019           }
1020           case 72: {
1021             FillServerId = input.ReadBool();
1022             break;
1023           }
1024           case 80: {
1025             FillGrpclbRouteType = input.ReadBool();
1026             break;
1027           }
1028         }
1029       }
1030     }
1031 
1032   }
1033 
1034   /// <summary>
1035   /// Unary response, as configured by the request.
1036   /// </summary>
1037   public sealed partial class SimpleResponse : pb::IMessage<SimpleResponse> {
1038     private static readonly pb::MessageParser<SimpleResponse> _parser = new pb::MessageParser<SimpleResponse>(() => new SimpleResponse());
1039     private pb::UnknownFieldSet _unknownFields;
1040     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1041     public static pb::MessageParser<SimpleResponse> Parser { get { return _parser; } }
1042 
1043     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1044     public static pbr::MessageDescriptor Descriptor {
1045       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[4]; }
1046     }
1047 
1048     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1049     pbr::MessageDescriptor pb::IMessage.Descriptor {
1050       get { return Descriptor; }
1051     }
1052 
1053     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
SimpleResponse()1054     public SimpleResponse() {
1055       OnConstruction();
1056     }
1057 
OnConstruction()1058     partial void OnConstruction();
1059 
1060     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
SimpleResponse(SimpleResponse other)1061     public SimpleResponse(SimpleResponse other) : this() {
1062       payload_ = other.payload_ != null ? other.payload_.Clone() : null;
1063       username_ = other.username_;
1064       oauthScope_ = other.oauthScope_;
1065       serverId_ = other.serverId_;
1066       grpclbRouteType_ = other.grpclbRouteType_;
1067       hostname_ = other.hostname_;
1068       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1069     }
1070 
1071     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()1072     public SimpleResponse Clone() {
1073       return new SimpleResponse(this);
1074     }
1075 
1076     /// <summary>Field number for the "payload" field.</summary>
1077     public const int PayloadFieldNumber = 1;
1078     private global::Grpc.Testing.Payload payload_;
1079     /// <summary>
1080     /// Payload to increase message size.
1081     /// </summary>
1082     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1083     public global::Grpc.Testing.Payload Payload {
1084       get { return payload_; }
1085       set {
1086         payload_ = value;
1087       }
1088     }
1089 
1090     /// <summary>Field number for the "username" field.</summary>
1091     public const int UsernameFieldNumber = 2;
1092     private string username_ = "";
1093     /// <summary>
1094     /// The user the request came from, for verifying authentication was
1095     /// successful when the client expected it.
1096     /// </summary>
1097     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1098     public string Username {
1099       get { return username_; }
1100       set {
1101         username_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1102       }
1103     }
1104 
1105     /// <summary>Field number for the "oauth_scope" field.</summary>
1106     public const int OauthScopeFieldNumber = 3;
1107     private string oauthScope_ = "";
1108     /// <summary>
1109     /// OAuth scope.
1110     /// </summary>
1111     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1112     public string OauthScope {
1113       get { return oauthScope_; }
1114       set {
1115         oauthScope_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1116       }
1117     }
1118 
1119     /// <summary>Field number for the "server_id" field.</summary>
1120     public const int ServerIdFieldNumber = 4;
1121     private string serverId_ = "";
1122     /// <summary>
1123     /// Server ID. This must be unique among different server instances,
1124     /// but the same across all RPC's made to a particular server instance.
1125     /// </summary>
1126     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1127     public string ServerId {
1128       get { return serverId_; }
1129       set {
1130         serverId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1131       }
1132     }
1133 
1134     /// <summary>Field number for the "grpclb_route_type" field.</summary>
1135     public const int GrpclbRouteTypeFieldNumber = 5;
1136     private global::Grpc.Testing.GrpclbRouteType grpclbRouteType_ = global::Grpc.Testing.GrpclbRouteType.Unknown;
1137     /// <summary>
1138     /// gRPCLB Path.
1139     /// </summary>
1140     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1141     public global::Grpc.Testing.GrpclbRouteType GrpclbRouteType {
1142       get { return grpclbRouteType_; }
1143       set {
1144         grpclbRouteType_ = value;
1145       }
1146     }
1147 
1148     /// <summary>Field number for the "hostname" field.</summary>
1149     public const int HostnameFieldNumber = 6;
1150     private string hostname_ = "";
1151     /// <summary>
1152     /// Server hostname.
1153     /// </summary>
1154     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1155     public string Hostname {
1156       get { return hostname_; }
1157       set {
1158         hostname_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1159       }
1160     }
1161 
1162     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)1163     public override bool Equals(object other) {
1164       return Equals(other as SimpleResponse);
1165     }
1166 
1167     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(SimpleResponse other)1168     public bool Equals(SimpleResponse other) {
1169       if (ReferenceEquals(other, null)) {
1170         return false;
1171       }
1172       if (ReferenceEquals(other, this)) {
1173         return true;
1174       }
1175       if (!object.Equals(Payload, other.Payload)) return false;
1176       if (Username != other.Username) return false;
1177       if (OauthScope != other.OauthScope) return false;
1178       if (ServerId != other.ServerId) return false;
1179       if (GrpclbRouteType != other.GrpclbRouteType) return false;
1180       if (Hostname != other.Hostname) return false;
1181       return Equals(_unknownFields, other._unknownFields);
1182     }
1183 
1184     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()1185     public override int GetHashCode() {
1186       int hash = 1;
1187       if (payload_ != null) hash ^= Payload.GetHashCode();
1188       if (Username.Length != 0) hash ^= Username.GetHashCode();
1189       if (OauthScope.Length != 0) hash ^= OauthScope.GetHashCode();
1190       if (ServerId.Length != 0) hash ^= ServerId.GetHashCode();
1191       if (GrpclbRouteType != global::Grpc.Testing.GrpclbRouteType.Unknown) hash ^= GrpclbRouteType.GetHashCode();
1192       if (Hostname.Length != 0) hash ^= Hostname.GetHashCode();
1193       if (_unknownFields != null) {
1194         hash ^= _unknownFields.GetHashCode();
1195       }
1196       return hash;
1197     }
1198 
1199     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()1200     public override string ToString() {
1201       return pb::JsonFormatter.ToDiagnosticString(this);
1202     }
1203 
1204     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)1205     public void WriteTo(pb::CodedOutputStream output) {
1206       if (payload_ != null) {
1207         output.WriteRawTag(10);
1208         output.WriteMessage(Payload);
1209       }
1210       if (Username.Length != 0) {
1211         output.WriteRawTag(18);
1212         output.WriteString(Username);
1213       }
1214       if (OauthScope.Length != 0) {
1215         output.WriteRawTag(26);
1216         output.WriteString(OauthScope);
1217       }
1218       if (ServerId.Length != 0) {
1219         output.WriteRawTag(34);
1220         output.WriteString(ServerId);
1221       }
1222       if (GrpclbRouteType != global::Grpc.Testing.GrpclbRouteType.Unknown) {
1223         output.WriteRawTag(40);
1224         output.WriteEnum((int) GrpclbRouteType);
1225       }
1226       if (Hostname.Length != 0) {
1227         output.WriteRawTag(50);
1228         output.WriteString(Hostname);
1229       }
1230       if (_unknownFields != null) {
1231         _unknownFields.WriteTo(output);
1232       }
1233     }
1234 
1235     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()1236     public int CalculateSize() {
1237       int size = 0;
1238       if (payload_ != null) {
1239         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload);
1240       }
1241       if (Username.Length != 0) {
1242         size += 1 + pb::CodedOutputStream.ComputeStringSize(Username);
1243       }
1244       if (OauthScope.Length != 0) {
1245         size += 1 + pb::CodedOutputStream.ComputeStringSize(OauthScope);
1246       }
1247       if (ServerId.Length != 0) {
1248         size += 1 + pb::CodedOutputStream.ComputeStringSize(ServerId);
1249       }
1250       if (GrpclbRouteType != global::Grpc.Testing.GrpclbRouteType.Unknown) {
1251         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GrpclbRouteType);
1252       }
1253       if (Hostname.Length != 0) {
1254         size += 1 + pb::CodedOutputStream.ComputeStringSize(Hostname);
1255       }
1256       if (_unknownFields != null) {
1257         size += _unknownFields.CalculateSize();
1258       }
1259       return size;
1260     }
1261 
1262     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(SimpleResponse other)1263     public void MergeFrom(SimpleResponse other) {
1264       if (other == null) {
1265         return;
1266       }
1267       if (other.payload_ != null) {
1268         if (payload_ == null) {
1269           Payload = new global::Grpc.Testing.Payload();
1270         }
1271         Payload.MergeFrom(other.Payload);
1272       }
1273       if (other.Username.Length != 0) {
1274         Username = other.Username;
1275       }
1276       if (other.OauthScope.Length != 0) {
1277         OauthScope = other.OauthScope;
1278       }
1279       if (other.ServerId.Length != 0) {
1280         ServerId = other.ServerId;
1281       }
1282       if (other.GrpclbRouteType != global::Grpc.Testing.GrpclbRouteType.Unknown) {
1283         GrpclbRouteType = other.GrpclbRouteType;
1284       }
1285       if (other.Hostname.Length != 0) {
1286         Hostname = other.Hostname;
1287       }
1288       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1289     }
1290 
1291     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)1292     public void MergeFrom(pb::CodedInputStream input) {
1293       uint tag;
1294       while ((tag = input.ReadTag()) != 0) {
1295         switch(tag) {
1296           default:
1297             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1298             break;
1299           case 10: {
1300             if (payload_ == null) {
1301               Payload = new global::Grpc.Testing.Payload();
1302             }
1303             input.ReadMessage(Payload);
1304             break;
1305           }
1306           case 18: {
1307             Username = input.ReadString();
1308             break;
1309           }
1310           case 26: {
1311             OauthScope = input.ReadString();
1312             break;
1313           }
1314           case 34: {
1315             ServerId = input.ReadString();
1316             break;
1317           }
1318           case 40: {
1319             GrpclbRouteType = (global::Grpc.Testing.GrpclbRouteType) input.ReadEnum();
1320             break;
1321           }
1322           case 50: {
1323             Hostname = input.ReadString();
1324             break;
1325           }
1326         }
1327       }
1328     }
1329 
1330   }
1331 
1332   /// <summary>
1333   /// Client-streaming request.
1334   /// </summary>
1335   public sealed partial class StreamingInputCallRequest : pb::IMessage<StreamingInputCallRequest> {
1336     private static readonly pb::MessageParser<StreamingInputCallRequest> _parser = new pb::MessageParser<StreamingInputCallRequest>(() => new StreamingInputCallRequest());
1337     private pb::UnknownFieldSet _unknownFields;
1338     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1339     public static pb::MessageParser<StreamingInputCallRequest> Parser { get { return _parser; } }
1340 
1341     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1342     public static pbr::MessageDescriptor Descriptor {
1343       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[5]; }
1344     }
1345 
1346     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1347     pbr::MessageDescriptor pb::IMessage.Descriptor {
1348       get { return Descriptor; }
1349     }
1350 
1351     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
StreamingInputCallRequest()1352     public StreamingInputCallRequest() {
1353       OnConstruction();
1354     }
1355 
OnConstruction()1356     partial void OnConstruction();
1357 
1358     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
StreamingInputCallRequest(StreamingInputCallRequest other)1359     public StreamingInputCallRequest(StreamingInputCallRequest other) : this() {
1360       payload_ = other.payload_ != null ? other.payload_.Clone() : null;
1361       expectCompressed_ = other.expectCompressed_ != null ? other.expectCompressed_.Clone() : null;
1362       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1363     }
1364 
1365     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()1366     public StreamingInputCallRequest Clone() {
1367       return new StreamingInputCallRequest(this);
1368     }
1369 
1370     /// <summary>Field number for the "payload" field.</summary>
1371     public const int PayloadFieldNumber = 1;
1372     private global::Grpc.Testing.Payload payload_;
1373     /// <summary>
1374     /// Optional input payload sent along with the request.
1375     /// </summary>
1376     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1377     public global::Grpc.Testing.Payload Payload {
1378       get { return payload_; }
1379       set {
1380         payload_ = value;
1381       }
1382     }
1383 
1384     /// <summary>Field number for the "expect_compressed" field.</summary>
1385     public const int ExpectCompressedFieldNumber = 2;
1386     private global::Grpc.Testing.BoolValue expectCompressed_;
1387     /// <summary>
1388     /// Whether the server should expect this request to be compressed. This field
1389     /// is "nullable" in order to interoperate seamlessly with servers not able to
1390     /// implement the full compression tests by introspecting the call to verify
1391     /// the request's compression status.
1392     /// </summary>
1393     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1394     public global::Grpc.Testing.BoolValue ExpectCompressed {
1395       get { return expectCompressed_; }
1396       set {
1397         expectCompressed_ = value;
1398       }
1399     }
1400 
1401     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)1402     public override bool Equals(object other) {
1403       return Equals(other as StreamingInputCallRequest);
1404     }
1405 
1406     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(StreamingInputCallRequest other)1407     public bool Equals(StreamingInputCallRequest other) {
1408       if (ReferenceEquals(other, null)) {
1409         return false;
1410       }
1411       if (ReferenceEquals(other, this)) {
1412         return true;
1413       }
1414       if (!object.Equals(Payload, other.Payload)) return false;
1415       if (!object.Equals(ExpectCompressed, other.ExpectCompressed)) return false;
1416       return Equals(_unknownFields, other._unknownFields);
1417     }
1418 
1419     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()1420     public override int GetHashCode() {
1421       int hash = 1;
1422       if (payload_ != null) hash ^= Payload.GetHashCode();
1423       if (expectCompressed_ != null) hash ^= ExpectCompressed.GetHashCode();
1424       if (_unknownFields != null) {
1425         hash ^= _unknownFields.GetHashCode();
1426       }
1427       return hash;
1428     }
1429 
1430     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()1431     public override string ToString() {
1432       return pb::JsonFormatter.ToDiagnosticString(this);
1433     }
1434 
1435     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)1436     public void WriteTo(pb::CodedOutputStream output) {
1437       if (payload_ != null) {
1438         output.WriteRawTag(10);
1439         output.WriteMessage(Payload);
1440       }
1441       if (expectCompressed_ != null) {
1442         output.WriteRawTag(18);
1443         output.WriteMessage(ExpectCompressed);
1444       }
1445       if (_unknownFields != null) {
1446         _unknownFields.WriteTo(output);
1447       }
1448     }
1449 
1450     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()1451     public int CalculateSize() {
1452       int size = 0;
1453       if (payload_ != null) {
1454         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload);
1455       }
1456       if (expectCompressed_ != null) {
1457         size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpectCompressed);
1458       }
1459       if (_unknownFields != null) {
1460         size += _unknownFields.CalculateSize();
1461       }
1462       return size;
1463     }
1464 
1465     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(StreamingInputCallRequest other)1466     public void MergeFrom(StreamingInputCallRequest other) {
1467       if (other == null) {
1468         return;
1469       }
1470       if (other.payload_ != null) {
1471         if (payload_ == null) {
1472           Payload = new global::Grpc.Testing.Payload();
1473         }
1474         Payload.MergeFrom(other.Payload);
1475       }
1476       if (other.expectCompressed_ != null) {
1477         if (expectCompressed_ == null) {
1478           ExpectCompressed = new global::Grpc.Testing.BoolValue();
1479         }
1480         ExpectCompressed.MergeFrom(other.ExpectCompressed);
1481       }
1482       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1483     }
1484 
1485     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)1486     public void MergeFrom(pb::CodedInputStream input) {
1487       uint tag;
1488       while ((tag = input.ReadTag()) != 0) {
1489         switch(tag) {
1490           default:
1491             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1492             break;
1493           case 10: {
1494             if (payload_ == null) {
1495               Payload = new global::Grpc.Testing.Payload();
1496             }
1497             input.ReadMessage(Payload);
1498             break;
1499           }
1500           case 18: {
1501             if (expectCompressed_ == null) {
1502               ExpectCompressed = new global::Grpc.Testing.BoolValue();
1503             }
1504             input.ReadMessage(ExpectCompressed);
1505             break;
1506           }
1507         }
1508       }
1509     }
1510 
1511   }
1512 
1513   /// <summary>
1514   /// Client-streaming response.
1515   /// </summary>
1516   public sealed partial class StreamingInputCallResponse : pb::IMessage<StreamingInputCallResponse> {
1517     private static readonly pb::MessageParser<StreamingInputCallResponse> _parser = new pb::MessageParser<StreamingInputCallResponse>(() => new StreamingInputCallResponse());
1518     private pb::UnknownFieldSet _unknownFields;
1519     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1520     public static pb::MessageParser<StreamingInputCallResponse> Parser { get { return _parser; } }
1521 
1522     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1523     public static pbr::MessageDescriptor Descriptor {
1524       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[6]; }
1525     }
1526 
1527     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1528     pbr::MessageDescriptor pb::IMessage.Descriptor {
1529       get { return Descriptor; }
1530     }
1531 
1532     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
StreamingInputCallResponse()1533     public StreamingInputCallResponse() {
1534       OnConstruction();
1535     }
1536 
OnConstruction()1537     partial void OnConstruction();
1538 
1539     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
StreamingInputCallResponse(StreamingInputCallResponse other)1540     public StreamingInputCallResponse(StreamingInputCallResponse other) : this() {
1541       aggregatedPayloadSize_ = other.aggregatedPayloadSize_;
1542       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1543     }
1544 
1545     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()1546     public StreamingInputCallResponse Clone() {
1547       return new StreamingInputCallResponse(this);
1548     }
1549 
1550     /// <summary>Field number for the "aggregated_payload_size" field.</summary>
1551     public const int AggregatedPayloadSizeFieldNumber = 1;
1552     private int aggregatedPayloadSize_;
1553     /// <summary>
1554     /// Aggregated size of payloads received from the client.
1555     /// </summary>
1556     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1557     public int AggregatedPayloadSize {
1558       get { return aggregatedPayloadSize_; }
1559       set {
1560         aggregatedPayloadSize_ = value;
1561       }
1562     }
1563 
1564     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)1565     public override bool Equals(object other) {
1566       return Equals(other as StreamingInputCallResponse);
1567     }
1568 
1569     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(StreamingInputCallResponse other)1570     public bool Equals(StreamingInputCallResponse other) {
1571       if (ReferenceEquals(other, null)) {
1572         return false;
1573       }
1574       if (ReferenceEquals(other, this)) {
1575         return true;
1576       }
1577       if (AggregatedPayloadSize != other.AggregatedPayloadSize) return false;
1578       return Equals(_unknownFields, other._unknownFields);
1579     }
1580 
1581     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()1582     public override int GetHashCode() {
1583       int hash = 1;
1584       if (AggregatedPayloadSize != 0) hash ^= AggregatedPayloadSize.GetHashCode();
1585       if (_unknownFields != null) {
1586         hash ^= _unknownFields.GetHashCode();
1587       }
1588       return hash;
1589     }
1590 
1591     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()1592     public override string ToString() {
1593       return pb::JsonFormatter.ToDiagnosticString(this);
1594     }
1595 
1596     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)1597     public void WriteTo(pb::CodedOutputStream output) {
1598       if (AggregatedPayloadSize != 0) {
1599         output.WriteRawTag(8);
1600         output.WriteInt32(AggregatedPayloadSize);
1601       }
1602       if (_unknownFields != null) {
1603         _unknownFields.WriteTo(output);
1604       }
1605     }
1606 
1607     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()1608     public int CalculateSize() {
1609       int size = 0;
1610       if (AggregatedPayloadSize != 0) {
1611         size += 1 + pb::CodedOutputStream.ComputeInt32Size(AggregatedPayloadSize);
1612       }
1613       if (_unknownFields != null) {
1614         size += _unknownFields.CalculateSize();
1615       }
1616       return size;
1617     }
1618 
1619     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(StreamingInputCallResponse other)1620     public void MergeFrom(StreamingInputCallResponse other) {
1621       if (other == null) {
1622         return;
1623       }
1624       if (other.AggregatedPayloadSize != 0) {
1625         AggregatedPayloadSize = other.AggregatedPayloadSize;
1626       }
1627       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1628     }
1629 
1630     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)1631     public void MergeFrom(pb::CodedInputStream input) {
1632       uint tag;
1633       while ((tag = input.ReadTag()) != 0) {
1634         switch(tag) {
1635           default:
1636             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1637             break;
1638           case 8: {
1639             AggregatedPayloadSize = input.ReadInt32();
1640             break;
1641           }
1642         }
1643       }
1644     }
1645 
1646   }
1647 
1648   /// <summary>
1649   /// Configuration for a particular response.
1650   /// </summary>
1651   public sealed partial class ResponseParameters : pb::IMessage<ResponseParameters> {
1652     private static readonly pb::MessageParser<ResponseParameters> _parser = new pb::MessageParser<ResponseParameters>(() => new ResponseParameters());
1653     private pb::UnknownFieldSet _unknownFields;
1654     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1655     public static pb::MessageParser<ResponseParameters> Parser { get { return _parser; } }
1656 
1657     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1658     public static pbr::MessageDescriptor Descriptor {
1659       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[7]; }
1660     }
1661 
1662     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1663     pbr::MessageDescriptor pb::IMessage.Descriptor {
1664       get { return Descriptor; }
1665     }
1666 
1667     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ResponseParameters()1668     public ResponseParameters() {
1669       OnConstruction();
1670     }
1671 
OnConstruction()1672     partial void OnConstruction();
1673 
1674     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ResponseParameters(ResponseParameters other)1675     public ResponseParameters(ResponseParameters other) : this() {
1676       size_ = other.size_;
1677       intervalUs_ = other.intervalUs_;
1678       compressed_ = other.compressed_ != null ? other.compressed_.Clone() : null;
1679       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1680     }
1681 
1682     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()1683     public ResponseParameters Clone() {
1684       return new ResponseParameters(this);
1685     }
1686 
1687     /// <summary>Field number for the "size" field.</summary>
1688     public const int SizeFieldNumber = 1;
1689     private int size_;
1690     /// <summary>
1691     /// Desired payload sizes in responses from the server.
1692     /// </summary>
1693     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1694     public int Size {
1695       get { return size_; }
1696       set {
1697         size_ = value;
1698       }
1699     }
1700 
1701     /// <summary>Field number for the "interval_us" field.</summary>
1702     public const int IntervalUsFieldNumber = 2;
1703     private int intervalUs_;
1704     /// <summary>
1705     /// Desired interval between consecutive responses in the response stream in
1706     /// microseconds.
1707     /// </summary>
1708     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1709     public int IntervalUs {
1710       get { return intervalUs_; }
1711       set {
1712         intervalUs_ = value;
1713       }
1714     }
1715 
1716     /// <summary>Field number for the "compressed" field.</summary>
1717     public const int CompressedFieldNumber = 3;
1718     private global::Grpc.Testing.BoolValue compressed_;
1719     /// <summary>
1720     /// Whether to request the server to compress the response. This field is
1721     /// "nullable" in order to interoperate seamlessly with clients not able to
1722     /// implement the full compression tests by introspecting the call to verify
1723     /// the response's compression status.
1724     /// </summary>
1725     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1726     public global::Grpc.Testing.BoolValue Compressed {
1727       get { return compressed_; }
1728       set {
1729         compressed_ = value;
1730       }
1731     }
1732 
1733     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)1734     public override bool Equals(object other) {
1735       return Equals(other as ResponseParameters);
1736     }
1737 
1738     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(ResponseParameters other)1739     public bool Equals(ResponseParameters other) {
1740       if (ReferenceEquals(other, null)) {
1741         return false;
1742       }
1743       if (ReferenceEquals(other, this)) {
1744         return true;
1745       }
1746       if (Size != other.Size) return false;
1747       if (IntervalUs != other.IntervalUs) return false;
1748       if (!object.Equals(Compressed, other.Compressed)) return false;
1749       return Equals(_unknownFields, other._unknownFields);
1750     }
1751 
1752     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()1753     public override int GetHashCode() {
1754       int hash = 1;
1755       if (Size != 0) hash ^= Size.GetHashCode();
1756       if (IntervalUs != 0) hash ^= IntervalUs.GetHashCode();
1757       if (compressed_ != null) hash ^= Compressed.GetHashCode();
1758       if (_unknownFields != null) {
1759         hash ^= _unknownFields.GetHashCode();
1760       }
1761       return hash;
1762     }
1763 
1764     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()1765     public override string ToString() {
1766       return pb::JsonFormatter.ToDiagnosticString(this);
1767     }
1768 
1769     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)1770     public void WriteTo(pb::CodedOutputStream output) {
1771       if (Size != 0) {
1772         output.WriteRawTag(8);
1773         output.WriteInt32(Size);
1774       }
1775       if (IntervalUs != 0) {
1776         output.WriteRawTag(16);
1777         output.WriteInt32(IntervalUs);
1778       }
1779       if (compressed_ != null) {
1780         output.WriteRawTag(26);
1781         output.WriteMessage(Compressed);
1782       }
1783       if (_unknownFields != null) {
1784         _unknownFields.WriteTo(output);
1785       }
1786     }
1787 
1788     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()1789     public int CalculateSize() {
1790       int size = 0;
1791       if (Size != 0) {
1792         size += 1 + pb::CodedOutputStream.ComputeInt32Size(Size);
1793       }
1794       if (IntervalUs != 0) {
1795         size += 1 + pb::CodedOutputStream.ComputeInt32Size(IntervalUs);
1796       }
1797       if (compressed_ != null) {
1798         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Compressed);
1799       }
1800       if (_unknownFields != null) {
1801         size += _unknownFields.CalculateSize();
1802       }
1803       return size;
1804     }
1805 
1806     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(ResponseParameters other)1807     public void MergeFrom(ResponseParameters other) {
1808       if (other == null) {
1809         return;
1810       }
1811       if (other.Size != 0) {
1812         Size = other.Size;
1813       }
1814       if (other.IntervalUs != 0) {
1815         IntervalUs = other.IntervalUs;
1816       }
1817       if (other.compressed_ != null) {
1818         if (compressed_ == null) {
1819           Compressed = new global::Grpc.Testing.BoolValue();
1820         }
1821         Compressed.MergeFrom(other.Compressed);
1822       }
1823       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1824     }
1825 
1826     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)1827     public void MergeFrom(pb::CodedInputStream input) {
1828       uint tag;
1829       while ((tag = input.ReadTag()) != 0) {
1830         switch(tag) {
1831           default:
1832             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1833             break;
1834           case 8: {
1835             Size = input.ReadInt32();
1836             break;
1837           }
1838           case 16: {
1839             IntervalUs = input.ReadInt32();
1840             break;
1841           }
1842           case 26: {
1843             if (compressed_ == null) {
1844               Compressed = new global::Grpc.Testing.BoolValue();
1845             }
1846             input.ReadMessage(Compressed);
1847             break;
1848           }
1849         }
1850       }
1851     }
1852 
1853   }
1854 
1855   /// <summary>
1856   /// Server-streaming request.
1857   /// </summary>
1858   public sealed partial class StreamingOutputCallRequest : pb::IMessage<StreamingOutputCallRequest> {
1859     private static readonly pb::MessageParser<StreamingOutputCallRequest> _parser = new pb::MessageParser<StreamingOutputCallRequest>(() => new StreamingOutputCallRequest());
1860     private pb::UnknownFieldSet _unknownFields;
1861     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1862     public static pb::MessageParser<StreamingOutputCallRequest> Parser { get { return _parser; } }
1863 
1864     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1865     public static pbr::MessageDescriptor Descriptor {
1866       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[8]; }
1867     }
1868 
1869     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1870     pbr::MessageDescriptor pb::IMessage.Descriptor {
1871       get { return Descriptor; }
1872     }
1873 
1874     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
StreamingOutputCallRequest()1875     public StreamingOutputCallRequest() {
1876       OnConstruction();
1877     }
1878 
OnConstruction()1879     partial void OnConstruction();
1880 
1881     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
StreamingOutputCallRequest(StreamingOutputCallRequest other)1882     public StreamingOutputCallRequest(StreamingOutputCallRequest other) : this() {
1883       responseType_ = other.responseType_;
1884       responseParameters_ = other.responseParameters_.Clone();
1885       payload_ = other.payload_ != null ? other.payload_.Clone() : null;
1886       responseStatus_ = other.responseStatus_ != null ? other.responseStatus_.Clone() : null;
1887       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1888     }
1889 
1890     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()1891     public StreamingOutputCallRequest Clone() {
1892       return new StreamingOutputCallRequest(this);
1893     }
1894 
1895     /// <summary>Field number for the "response_type" field.</summary>
1896     public const int ResponseTypeFieldNumber = 1;
1897     private global::Grpc.Testing.PayloadType responseType_ = global::Grpc.Testing.PayloadType.Compressable;
1898     /// <summary>
1899     /// Desired payload type in the response from the server.
1900     /// If response_type is RANDOM, the payload from each response in the stream
1901     /// might be of different types. This is to simulate a mixed type of payload
1902     /// stream.
1903     /// </summary>
1904     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1905     public global::Grpc.Testing.PayloadType ResponseType {
1906       get { return responseType_; }
1907       set {
1908         responseType_ = value;
1909       }
1910     }
1911 
1912     /// <summary>Field number for the "response_parameters" field.</summary>
1913     public const int ResponseParametersFieldNumber = 2;
1914     private static readonly pb::FieldCodec<global::Grpc.Testing.ResponseParameters> _repeated_responseParameters_codec
1915         = pb::FieldCodec.ForMessage(18, global::Grpc.Testing.ResponseParameters.Parser);
1916     private readonly pbc::RepeatedField<global::Grpc.Testing.ResponseParameters> responseParameters_ = new pbc::RepeatedField<global::Grpc.Testing.ResponseParameters>();
1917     /// <summary>
1918     /// Configuration for each expected response message.
1919     /// </summary>
1920     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1921     public pbc::RepeatedField<global::Grpc.Testing.ResponseParameters> ResponseParameters {
1922       get { return responseParameters_; }
1923     }
1924 
1925     /// <summary>Field number for the "payload" field.</summary>
1926     public const int PayloadFieldNumber = 3;
1927     private global::Grpc.Testing.Payload payload_;
1928     /// <summary>
1929     /// Optional input payload sent along with the request.
1930     /// </summary>
1931     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1932     public global::Grpc.Testing.Payload Payload {
1933       get { return payload_; }
1934       set {
1935         payload_ = value;
1936       }
1937     }
1938 
1939     /// <summary>Field number for the "response_status" field.</summary>
1940     public const int ResponseStatusFieldNumber = 7;
1941     private global::Grpc.Testing.EchoStatus responseStatus_;
1942     /// <summary>
1943     /// Whether server should return a given status
1944     /// </summary>
1945     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1946     public global::Grpc.Testing.EchoStatus ResponseStatus {
1947       get { return responseStatus_; }
1948       set {
1949         responseStatus_ = value;
1950       }
1951     }
1952 
1953     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)1954     public override bool Equals(object other) {
1955       return Equals(other as StreamingOutputCallRequest);
1956     }
1957 
1958     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(StreamingOutputCallRequest other)1959     public bool Equals(StreamingOutputCallRequest other) {
1960       if (ReferenceEquals(other, null)) {
1961         return false;
1962       }
1963       if (ReferenceEquals(other, this)) {
1964         return true;
1965       }
1966       if (ResponseType != other.ResponseType) return false;
1967       if(!responseParameters_.Equals(other.responseParameters_)) return false;
1968       if (!object.Equals(Payload, other.Payload)) return false;
1969       if (!object.Equals(ResponseStatus, other.ResponseStatus)) return false;
1970       return Equals(_unknownFields, other._unknownFields);
1971     }
1972 
1973     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()1974     public override int GetHashCode() {
1975       int hash = 1;
1976       if (ResponseType != global::Grpc.Testing.PayloadType.Compressable) hash ^= ResponseType.GetHashCode();
1977       hash ^= responseParameters_.GetHashCode();
1978       if (payload_ != null) hash ^= Payload.GetHashCode();
1979       if (responseStatus_ != null) hash ^= ResponseStatus.GetHashCode();
1980       if (_unknownFields != null) {
1981         hash ^= _unknownFields.GetHashCode();
1982       }
1983       return hash;
1984     }
1985 
1986     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()1987     public override string ToString() {
1988       return pb::JsonFormatter.ToDiagnosticString(this);
1989     }
1990 
1991     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)1992     public void WriteTo(pb::CodedOutputStream output) {
1993       if (ResponseType != global::Grpc.Testing.PayloadType.Compressable) {
1994         output.WriteRawTag(8);
1995         output.WriteEnum((int) ResponseType);
1996       }
1997       responseParameters_.WriteTo(output, _repeated_responseParameters_codec);
1998       if (payload_ != null) {
1999         output.WriteRawTag(26);
2000         output.WriteMessage(Payload);
2001       }
2002       if (responseStatus_ != null) {
2003         output.WriteRawTag(58);
2004         output.WriteMessage(ResponseStatus);
2005       }
2006       if (_unknownFields != null) {
2007         _unknownFields.WriteTo(output);
2008       }
2009     }
2010 
2011     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()2012     public int CalculateSize() {
2013       int size = 0;
2014       if (ResponseType != global::Grpc.Testing.PayloadType.Compressable) {
2015         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ResponseType);
2016       }
2017       size += responseParameters_.CalculateSize(_repeated_responseParameters_codec);
2018       if (payload_ != null) {
2019         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload);
2020       }
2021       if (responseStatus_ != null) {
2022         size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResponseStatus);
2023       }
2024       if (_unknownFields != null) {
2025         size += _unknownFields.CalculateSize();
2026       }
2027       return size;
2028     }
2029 
2030     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(StreamingOutputCallRequest other)2031     public void MergeFrom(StreamingOutputCallRequest other) {
2032       if (other == null) {
2033         return;
2034       }
2035       if (other.ResponseType != global::Grpc.Testing.PayloadType.Compressable) {
2036         ResponseType = other.ResponseType;
2037       }
2038       responseParameters_.Add(other.responseParameters_);
2039       if (other.payload_ != null) {
2040         if (payload_ == null) {
2041           Payload = new global::Grpc.Testing.Payload();
2042         }
2043         Payload.MergeFrom(other.Payload);
2044       }
2045       if (other.responseStatus_ != null) {
2046         if (responseStatus_ == null) {
2047           ResponseStatus = new global::Grpc.Testing.EchoStatus();
2048         }
2049         ResponseStatus.MergeFrom(other.ResponseStatus);
2050       }
2051       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2052     }
2053 
2054     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)2055     public void MergeFrom(pb::CodedInputStream input) {
2056       uint tag;
2057       while ((tag = input.ReadTag()) != 0) {
2058         switch(tag) {
2059           default:
2060             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2061             break;
2062           case 8: {
2063             ResponseType = (global::Grpc.Testing.PayloadType) input.ReadEnum();
2064             break;
2065           }
2066           case 18: {
2067             responseParameters_.AddEntriesFrom(input, _repeated_responseParameters_codec);
2068             break;
2069           }
2070           case 26: {
2071             if (payload_ == null) {
2072               Payload = new global::Grpc.Testing.Payload();
2073             }
2074             input.ReadMessage(Payload);
2075             break;
2076           }
2077           case 58: {
2078             if (responseStatus_ == null) {
2079               ResponseStatus = new global::Grpc.Testing.EchoStatus();
2080             }
2081             input.ReadMessage(ResponseStatus);
2082             break;
2083           }
2084         }
2085       }
2086     }
2087 
2088   }
2089 
2090   /// <summary>
2091   /// Server-streaming response, as configured by the request and parameters.
2092   /// </summary>
2093   public sealed partial class StreamingOutputCallResponse : pb::IMessage<StreamingOutputCallResponse> {
2094     private static readonly pb::MessageParser<StreamingOutputCallResponse> _parser = new pb::MessageParser<StreamingOutputCallResponse>(() => new StreamingOutputCallResponse());
2095     private pb::UnknownFieldSet _unknownFields;
2096     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2097     public static pb::MessageParser<StreamingOutputCallResponse> Parser { get { return _parser; } }
2098 
2099     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2100     public static pbr::MessageDescriptor Descriptor {
2101       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[9]; }
2102     }
2103 
2104     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2105     pbr::MessageDescriptor pb::IMessage.Descriptor {
2106       get { return Descriptor; }
2107     }
2108 
2109     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
StreamingOutputCallResponse()2110     public StreamingOutputCallResponse() {
2111       OnConstruction();
2112     }
2113 
OnConstruction()2114     partial void OnConstruction();
2115 
2116     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
StreamingOutputCallResponse(StreamingOutputCallResponse other)2117     public StreamingOutputCallResponse(StreamingOutputCallResponse other) : this() {
2118       payload_ = other.payload_ != null ? other.payload_.Clone() : null;
2119       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2120     }
2121 
2122     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()2123     public StreamingOutputCallResponse Clone() {
2124       return new StreamingOutputCallResponse(this);
2125     }
2126 
2127     /// <summary>Field number for the "payload" field.</summary>
2128     public const int PayloadFieldNumber = 1;
2129     private global::Grpc.Testing.Payload payload_;
2130     /// <summary>
2131     /// Payload to increase response size.
2132     /// </summary>
2133     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2134     public global::Grpc.Testing.Payload Payload {
2135       get { return payload_; }
2136       set {
2137         payload_ = value;
2138       }
2139     }
2140 
2141     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)2142     public override bool Equals(object other) {
2143       return Equals(other as StreamingOutputCallResponse);
2144     }
2145 
2146     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(StreamingOutputCallResponse other)2147     public bool Equals(StreamingOutputCallResponse other) {
2148       if (ReferenceEquals(other, null)) {
2149         return false;
2150       }
2151       if (ReferenceEquals(other, this)) {
2152         return true;
2153       }
2154       if (!object.Equals(Payload, other.Payload)) return false;
2155       return Equals(_unknownFields, other._unknownFields);
2156     }
2157 
2158     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()2159     public override int GetHashCode() {
2160       int hash = 1;
2161       if (payload_ != null) hash ^= Payload.GetHashCode();
2162       if (_unknownFields != null) {
2163         hash ^= _unknownFields.GetHashCode();
2164       }
2165       return hash;
2166     }
2167 
2168     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()2169     public override string ToString() {
2170       return pb::JsonFormatter.ToDiagnosticString(this);
2171     }
2172 
2173     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)2174     public void WriteTo(pb::CodedOutputStream output) {
2175       if (payload_ != null) {
2176         output.WriteRawTag(10);
2177         output.WriteMessage(Payload);
2178       }
2179       if (_unknownFields != null) {
2180         _unknownFields.WriteTo(output);
2181       }
2182     }
2183 
2184     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()2185     public int CalculateSize() {
2186       int size = 0;
2187       if (payload_ != null) {
2188         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload);
2189       }
2190       if (_unknownFields != null) {
2191         size += _unknownFields.CalculateSize();
2192       }
2193       return size;
2194     }
2195 
2196     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(StreamingOutputCallResponse other)2197     public void MergeFrom(StreamingOutputCallResponse other) {
2198       if (other == null) {
2199         return;
2200       }
2201       if (other.payload_ != null) {
2202         if (payload_ == null) {
2203           Payload = new global::Grpc.Testing.Payload();
2204         }
2205         Payload.MergeFrom(other.Payload);
2206       }
2207       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2208     }
2209 
2210     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)2211     public void MergeFrom(pb::CodedInputStream input) {
2212       uint tag;
2213       while ((tag = input.ReadTag()) != 0) {
2214         switch(tag) {
2215           default:
2216             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2217             break;
2218           case 10: {
2219             if (payload_ == null) {
2220               Payload = new global::Grpc.Testing.Payload();
2221             }
2222             input.ReadMessage(Payload);
2223             break;
2224           }
2225         }
2226       }
2227     }
2228 
2229   }
2230 
2231   /// <summary>
2232   /// For reconnect interop test only.
2233   /// Client tells server what reconnection parameters it used.
2234   /// </summary>
2235   public sealed partial class ReconnectParams : pb::IMessage<ReconnectParams> {
2236     private static readonly pb::MessageParser<ReconnectParams> _parser = new pb::MessageParser<ReconnectParams>(() => new ReconnectParams());
2237     private pb::UnknownFieldSet _unknownFields;
2238     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2239     public static pb::MessageParser<ReconnectParams> Parser { get { return _parser; } }
2240 
2241     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2242     public static pbr::MessageDescriptor Descriptor {
2243       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[10]; }
2244     }
2245 
2246     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2247     pbr::MessageDescriptor pb::IMessage.Descriptor {
2248       get { return Descriptor; }
2249     }
2250 
2251     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ReconnectParams()2252     public ReconnectParams() {
2253       OnConstruction();
2254     }
2255 
OnConstruction()2256     partial void OnConstruction();
2257 
2258     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ReconnectParams(ReconnectParams other)2259     public ReconnectParams(ReconnectParams other) : this() {
2260       maxReconnectBackoffMs_ = other.maxReconnectBackoffMs_;
2261       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2262     }
2263 
2264     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()2265     public ReconnectParams Clone() {
2266       return new ReconnectParams(this);
2267     }
2268 
2269     /// <summary>Field number for the "max_reconnect_backoff_ms" field.</summary>
2270     public const int MaxReconnectBackoffMsFieldNumber = 1;
2271     private int maxReconnectBackoffMs_;
2272     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2273     public int MaxReconnectBackoffMs {
2274       get { return maxReconnectBackoffMs_; }
2275       set {
2276         maxReconnectBackoffMs_ = value;
2277       }
2278     }
2279 
2280     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)2281     public override bool Equals(object other) {
2282       return Equals(other as ReconnectParams);
2283     }
2284 
2285     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(ReconnectParams other)2286     public bool Equals(ReconnectParams other) {
2287       if (ReferenceEquals(other, null)) {
2288         return false;
2289       }
2290       if (ReferenceEquals(other, this)) {
2291         return true;
2292       }
2293       if (MaxReconnectBackoffMs != other.MaxReconnectBackoffMs) return false;
2294       return Equals(_unknownFields, other._unknownFields);
2295     }
2296 
2297     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()2298     public override int GetHashCode() {
2299       int hash = 1;
2300       if (MaxReconnectBackoffMs != 0) hash ^= MaxReconnectBackoffMs.GetHashCode();
2301       if (_unknownFields != null) {
2302         hash ^= _unknownFields.GetHashCode();
2303       }
2304       return hash;
2305     }
2306 
2307     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()2308     public override string ToString() {
2309       return pb::JsonFormatter.ToDiagnosticString(this);
2310     }
2311 
2312     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)2313     public void WriteTo(pb::CodedOutputStream output) {
2314       if (MaxReconnectBackoffMs != 0) {
2315         output.WriteRawTag(8);
2316         output.WriteInt32(MaxReconnectBackoffMs);
2317       }
2318       if (_unknownFields != null) {
2319         _unknownFields.WriteTo(output);
2320       }
2321     }
2322 
2323     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()2324     public int CalculateSize() {
2325       int size = 0;
2326       if (MaxReconnectBackoffMs != 0) {
2327         size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxReconnectBackoffMs);
2328       }
2329       if (_unknownFields != null) {
2330         size += _unknownFields.CalculateSize();
2331       }
2332       return size;
2333     }
2334 
2335     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(ReconnectParams other)2336     public void MergeFrom(ReconnectParams other) {
2337       if (other == null) {
2338         return;
2339       }
2340       if (other.MaxReconnectBackoffMs != 0) {
2341         MaxReconnectBackoffMs = other.MaxReconnectBackoffMs;
2342       }
2343       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2344     }
2345 
2346     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)2347     public void MergeFrom(pb::CodedInputStream input) {
2348       uint tag;
2349       while ((tag = input.ReadTag()) != 0) {
2350         switch(tag) {
2351           default:
2352             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2353             break;
2354           case 8: {
2355             MaxReconnectBackoffMs = input.ReadInt32();
2356             break;
2357           }
2358         }
2359       }
2360     }
2361 
2362   }
2363 
2364   /// <summary>
2365   /// For reconnect interop test only.
2366   /// Server tells client whether its reconnects are following the spec and the
2367   /// reconnect backoffs it saw.
2368   /// </summary>
2369   public sealed partial class ReconnectInfo : pb::IMessage<ReconnectInfo> {
2370     private static readonly pb::MessageParser<ReconnectInfo> _parser = new pb::MessageParser<ReconnectInfo>(() => new ReconnectInfo());
2371     private pb::UnknownFieldSet _unknownFields;
2372     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2373     public static pb::MessageParser<ReconnectInfo> Parser { get { return _parser; } }
2374 
2375     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2376     public static pbr::MessageDescriptor Descriptor {
2377       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[11]; }
2378     }
2379 
2380     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2381     pbr::MessageDescriptor pb::IMessage.Descriptor {
2382       get { return Descriptor; }
2383     }
2384 
2385     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ReconnectInfo()2386     public ReconnectInfo() {
2387       OnConstruction();
2388     }
2389 
OnConstruction()2390     partial void OnConstruction();
2391 
2392     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ReconnectInfo(ReconnectInfo other)2393     public ReconnectInfo(ReconnectInfo other) : this() {
2394       passed_ = other.passed_;
2395       backoffMs_ = other.backoffMs_.Clone();
2396       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2397     }
2398 
2399     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()2400     public ReconnectInfo Clone() {
2401       return new ReconnectInfo(this);
2402     }
2403 
2404     /// <summary>Field number for the "passed" field.</summary>
2405     public const int PassedFieldNumber = 1;
2406     private bool passed_;
2407     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2408     public bool Passed {
2409       get { return passed_; }
2410       set {
2411         passed_ = value;
2412       }
2413     }
2414 
2415     /// <summary>Field number for the "backoff_ms" field.</summary>
2416     public const int BackoffMsFieldNumber = 2;
2417     private static readonly pb::FieldCodec<int> _repeated_backoffMs_codec
2418         = pb::FieldCodec.ForInt32(18);
2419     private readonly pbc::RepeatedField<int> backoffMs_ = new pbc::RepeatedField<int>();
2420     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2421     public pbc::RepeatedField<int> BackoffMs {
2422       get { return backoffMs_; }
2423     }
2424 
2425     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)2426     public override bool Equals(object other) {
2427       return Equals(other as ReconnectInfo);
2428     }
2429 
2430     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(ReconnectInfo other)2431     public bool Equals(ReconnectInfo other) {
2432       if (ReferenceEquals(other, null)) {
2433         return false;
2434       }
2435       if (ReferenceEquals(other, this)) {
2436         return true;
2437       }
2438       if (Passed != other.Passed) return false;
2439       if(!backoffMs_.Equals(other.backoffMs_)) return false;
2440       return Equals(_unknownFields, other._unknownFields);
2441     }
2442 
2443     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()2444     public override int GetHashCode() {
2445       int hash = 1;
2446       if (Passed != false) hash ^= Passed.GetHashCode();
2447       hash ^= backoffMs_.GetHashCode();
2448       if (_unknownFields != null) {
2449         hash ^= _unknownFields.GetHashCode();
2450       }
2451       return hash;
2452     }
2453 
2454     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()2455     public override string ToString() {
2456       return pb::JsonFormatter.ToDiagnosticString(this);
2457     }
2458 
2459     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)2460     public void WriteTo(pb::CodedOutputStream output) {
2461       if (Passed != false) {
2462         output.WriteRawTag(8);
2463         output.WriteBool(Passed);
2464       }
2465       backoffMs_.WriteTo(output, _repeated_backoffMs_codec);
2466       if (_unknownFields != null) {
2467         _unknownFields.WriteTo(output);
2468       }
2469     }
2470 
2471     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()2472     public int CalculateSize() {
2473       int size = 0;
2474       if (Passed != false) {
2475         size += 1 + 1;
2476       }
2477       size += backoffMs_.CalculateSize(_repeated_backoffMs_codec);
2478       if (_unknownFields != null) {
2479         size += _unknownFields.CalculateSize();
2480       }
2481       return size;
2482     }
2483 
2484     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(ReconnectInfo other)2485     public void MergeFrom(ReconnectInfo other) {
2486       if (other == null) {
2487         return;
2488       }
2489       if (other.Passed != false) {
2490         Passed = other.Passed;
2491       }
2492       backoffMs_.Add(other.backoffMs_);
2493       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2494     }
2495 
2496     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)2497     public void MergeFrom(pb::CodedInputStream input) {
2498       uint tag;
2499       while ((tag = input.ReadTag()) != 0) {
2500         switch(tag) {
2501           default:
2502             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2503             break;
2504           case 8: {
2505             Passed = input.ReadBool();
2506             break;
2507           }
2508           case 18:
2509           case 16: {
2510             backoffMs_.AddEntriesFrom(input, _repeated_backoffMs_codec);
2511             break;
2512           }
2513         }
2514       }
2515     }
2516 
2517   }
2518 
2519   public sealed partial class LoadBalancerStatsRequest : pb::IMessage<LoadBalancerStatsRequest> {
2520     private static readonly pb::MessageParser<LoadBalancerStatsRequest> _parser = new pb::MessageParser<LoadBalancerStatsRequest>(() => new LoadBalancerStatsRequest());
2521     private pb::UnknownFieldSet _unknownFields;
2522     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2523     public static pb::MessageParser<LoadBalancerStatsRequest> Parser { get { return _parser; } }
2524 
2525     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2526     public static pbr::MessageDescriptor Descriptor {
2527       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[12]; }
2528     }
2529 
2530     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2531     pbr::MessageDescriptor pb::IMessage.Descriptor {
2532       get { return Descriptor; }
2533     }
2534 
2535     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
LoadBalancerStatsRequest()2536     public LoadBalancerStatsRequest() {
2537       OnConstruction();
2538     }
2539 
OnConstruction()2540     partial void OnConstruction();
2541 
2542     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
LoadBalancerStatsRequest(LoadBalancerStatsRequest other)2543     public LoadBalancerStatsRequest(LoadBalancerStatsRequest other) : this() {
2544       numRpcs_ = other.numRpcs_;
2545       timeoutSec_ = other.timeoutSec_;
2546       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2547     }
2548 
2549     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()2550     public LoadBalancerStatsRequest Clone() {
2551       return new LoadBalancerStatsRequest(this);
2552     }
2553 
2554     /// <summary>Field number for the "num_rpcs" field.</summary>
2555     public const int NumRpcsFieldNumber = 1;
2556     private int numRpcs_;
2557     /// <summary>
2558     /// Request stats for the next num_rpcs sent by client.
2559     /// </summary>
2560     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2561     public int NumRpcs {
2562       get { return numRpcs_; }
2563       set {
2564         numRpcs_ = value;
2565       }
2566     }
2567 
2568     /// <summary>Field number for the "timeout_sec" field.</summary>
2569     public const int TimeoutSecFieldNumber = 2;
2570     private int timeoutSec_;
2571     /// <summary>
2572     /// If num_rpcs have not completed within timeout_sec, return partial results.
2573     /// </summary>
2574     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2575     public int TimeoutSec {
2576       get { return timeoutSec_; }
2577       set {
2578         timeoutSec_ = value;
2579       }
2580     }
2581 
2582     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)2583     public override bool Equals(object other) {
2584       return Equals(other as LoadBalancerStatsRequest);
2585     }
2586 
2587     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(LoadBalancerStatsRequest other)2588     public bool Equals(LoadBalancerStatsRequest other) {
2589       if (ReferenceEquals(other, null)) {
2590         return false;
2591       }
2592       if (ReferenceEquals(other, this)) {
2593         return true;
2594       }
2595       if (NumRpcs != other.NumRpcs) return false;
2596       if (TimeoutSec != other.TimeoutSec) return false;
2597       return Equals(_unknownFields, other._unknownFields);
2598     }
2599 
2600     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()2601     public override int GetHashCode() {
2602       int hash = 1;
2603       if (NumRpcs != 0) hash ^= NumRpcs.GetHashCode();
2604       if (TimeoutSec != 0) hash ^= TimeoutSec.GetHashCode();
2605       if (_unknownFields != null) {
2606         hash ^= _unknownFields.GetHashCode();
2607       }
2608       return hash;
2609     }
2610 
2611     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()2612     public override string ToString() {
2613       return pb::JsonFormatter.ToDiagnosticString(this);
2614     }
2615 
2616     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)2617     public void WriteTo(pb::CodedOutputStream output) {
2618       if (NumRpcs != 0) {
2619         output.WriteRawTag(8);
2620         output.WriteInt32(NumRpcs);
2621       }
2622       if (TimeoutSec != 0) {
2623         output.WriteRawTag(16);
2624         output.WriteInt32(TimeoutSec);
2625       }
2626       if (_unknownFields != null) {
2627         _unknownFields.WriteTo(output);
2628       }
2629     }
2630 
2631     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()2632     public int CalculateSize() {
2633       int size = 0;
2634       if (NumRpcs != 0) {
2635         size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumRpcs);
2636       }
2637       if (TimeoutSec != 0) {
2638         size += 1 + pb::CodedOutputStream.ComputeInt32Size(TimeoutSec);
2639       }
2640       if (_unknownFields != null) {
2641         size += _unknownFields.CalculateSize();
2642       }
2643       return size;
2644     }
2645 
2646     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(LoadBalancerStatsRequest other)2647     public void MergeFrom(LoadBalancerStatsRequest other) {
2648       if (other == null) {
2649         return;
2650       }
2651       if (other.NumRpcs != 0) {
2652         NumRpcs = other.NumRpcs;
2653       }
2654       if (other.TimeoutSec != 0) {
2655         TimeoutSec = other.TimeoutSec;
2656       }
2657       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2658     }
2659 
2660     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)2661     public void MergeFrom(pb::CodedInputStream input) {
2662       uint tag;
2663       while ((tag = input.ReadTag()) != 0) {
2664         switch(tag) {
2665           default:
2666             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2667             break;
2668           case 8: {
2669             NumRpcs = input.ReadInt32();
2670             break;
2671           }
2672           case 16: {
2673             TimeoutSec = input.ReadInt32();
2674             break;
2675           }
2676         }
2677       }
2678     }
2679 
2680   }
2681 
2682   public sealed partial class LoadBalancerStatsResponse : pb::IMessage<LoadBalancerStatsResponse> {
2683     private static readonly pb::MessageParser<LoadBalancerStatsResponse> _parser = new pb::MessageParser<LoadBalancerStatsResponse>(() => new LoadBalancerStatsResponse());
2684     private pb::UnknownFieldSet _unknownFields;
2685     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2686     public static pb::MessageParser<LoadBalancerStatsResponse> Parser { get { return _parser; } }
2687 
2688     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2689     public static pbr::MessageDescriptor Descriptor {
2690       get { return global::Grpc.Testing.MessagesReflection.Descriptor.MessageTypes[13]; }
2691     }
2692 
2693     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2694     pbr::MessageDescriptor pb::IMessage.Descriptor {
2695       get { return Descriptor; }
2696     }
2697 
2698     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
LoadBalancerStatsResponse()2699     public LoadBalancerStatsResponse() {
2700       OnConstruction();
2701     }
2702 
OnConstruction()2703     partial void OnConstruction();
2704 
2705     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
LoadBalancerStatsResponse(LoadBalancerStatsResponse other)2706     public LoadBalancerStatsResponse(LoadBalancerStatsResponse other) : this() {
2707       rpcsByPeer_ = other.rpcsByPeer_.Clone();
2708       numFailures_ = other.numFailures_;
2709       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2710     }
2711 
2712     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()2713     public LoadBalancerStatsResponse Clone() {
2714       return new LoadBalancerStatsResponse(this);
2715     }
2716 
2717     /// <summary>Field number for the "rpcs_by_peer" field.</summary>
2718     public const int RpcsByPeerFieldNumber = 1;
2719     private static readonly pbc::MapField<string, int>.Codec _map_rpcsByPeer_codec
2720         = new pbc::MapField<string, int>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForInt32(16, 0), 10);
2721     private readonly pbc::MapField<string, int> rpcsByPeer_ = new pbc::MapField<string, int>();
2722     /// <summary>
2723     /// The number of completed RPCs for each peer.
2724     /// </summary>
2725     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2726     public pbc::MapField<string, int> RpcsByPeer {
2727       get { return rpcsByPeer_; }
2728     }
2729 
2730     /// <summary>Field number for the "num_failures" field.</summary>
2731     public const int NumFailuresFieldNumber = 2;
2732     private int numFailures_;
2733     /// <summary>
2734     /// The number of RPCs that failed to record a remote peer.
2735     /// </summary>
2736     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2737     public int NumFailures {
2738       get { return numFailures_; }
2739       set {
2740         numFailures_ = value;
2741       }
2742     }
2743 
2744     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)2745     public override bool Equals(object other) {
2746       return Equals(other as LoadBalancerStatsResponse);
2747     }
2748 
2749     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(LoadBalancerStatsResponse other)2750     public bool Equals(LoadBalancerStatsResponse other) {
2751       if (ReferenceEquals(other, null)) {
2752         return false;
2753       }
2754       if (ReferenceEquals(other, this)) {
2755         return true;
2756       }
2757       if (!RpcsByPeer.Equals(other.RpcsByPeer)) return false;
2758       if (NumFailures != other.NumFailures) return false;
2759       return Equals(_unknownFields, other._unknownFields);
2760     }
2761 
2762     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()2763     public override int GetHashCode() {
2764       int hash = 1;
2765       hash ^= RpcsByPeer.GetHashCode();
2766       if (NumFailures != 0) hash ^= NumFailures.GetHashCode();
2767       if (_unknownFields != null) {
2768         hash ^= _unknownFields.GetHashCode();
2769       }
2770       return hash;
2771     }
2772 
2773     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()2774     public override string ToString() {
2775       return pb::JsonFormatter.ToDiagnosticString(this);
2776     }
2777 
2778     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)2779     public void WriteTo(pb::CodedOutputStream output) {
2780       rpcsByPeer_.WriteTo(output, _map_rpcsByPeer_codec);
2781       if (NumFailures != 0) {
2782         output.WriteRawTag(16);
2783         output.WriteInt32(NumFailures);
2784       }
2785       if (_unknownFields != null) {
2786         _unknownFields.WriteTo(output);
2787       }
2788     }
2789 
2790     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()2791     public int CalculateSize() {
2792       int size = 0;
2793       size += rpcsByPeer_.CalculateSize(_map_rpcsByPeer_codec);
2794       if (NumFailures != 0) {
2795         size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumFailures);
2796       }
2797       if (_unknownFields != null) {
2798         size += _unknownFields.CalculateSize();
2799       }
2800       return size;
2801     }
2802 
2803     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(LoadBalancerStatsResponse other)2804     public void MergeFrom(LoadBalancerStatsResponse other) {
2805       if (other == null) {
2806         return;
2807       }
2808       rpcsByPeer_.Add(other.rpcsByPeer_);
2809       if (other.NumFailures != 0) {
2810         NumFailures = other.NumFailures;
2811       }
2812       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2813     }
2814 
2815     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)2816     public void MergeFrom(pb::CodedInputStream input) {
2817       uint tag;
2818       while ((tag = input.ReadTag()) != 0) {
2819         switch(tag) {
2820           default:
2821             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2822             break;
2823           case 10: {
2824             rpcsByPeer_.AddEntriesFrom(input, _map_rpcsByPeer_codec);
2825             break;
2826           }
2827           case 16: {
2828             NumFailures = input.ReadInt32();
2829             break;
2830           }
2831         }
2832       }
2833     }
2834 
2835   }
2836 
2837   #endregion
2838 
2839 }
2840 
2841 #endregion Designer generated code
2842