Merge pull request #15252 from carl-mastrangelo/healthy

Update health.proto to match grpc-proto reference copy
reviewable/pr15274/r1
Yang Gao 7 years ago committed by GitHub
commit e84ea53a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 86
      src/csharp/Grpc.Examples/Math.cs
  2. 42
      src/csharp/Grpc.HealthCheck/Health.cs
  3. 5
      src/csharp/Grpc.HealthCheck/HealthGrpc.cs
  4. 6
      src/csharp/Grpc.IntegrationTesting/BenchmarkService.cs
  5. 386
      src/csharp/Grpc.IntegrationTesting/Control.cs
  6. 74
      src/csharp/Grpc.IntegrationTesting/CoreStats/Stats.cs
  7. 102
      src/csharp/Grpc.IntegrationTesting/EchoMessages.cs
  8. 22
      src/csharp/Grpc.IntegrationTesting/Empty.cs
  9. 198
      src/csharp/Grpc.IntegrationTesting/Messages.cs
  10. 58
      src/csharp/Grpc.IntegrationTesting/Metrics.cs
  11. 70
      src/csharp/Grpc.IntegrationTesting/Payloads.cs
  12. 6
      src/csharp/Grpc.IntegrationTesting/ReportQpsScenarioService.cs
  13. 138
      src/csharp/Grpc.IntegrationTesting/Stats.cs
  14. 6
      src/csharp/Grpc.IntegrationTesting/Test.cs
  15. 6
      src/csharp/Grpc.IntegrationTesting/WorkerService.cs
  16. 134
      src/csharp/Grpc.Reflection/Reflection.cs
  17. 10
      src/proto/grpc/health/v1/health.proto
  18. 5
      src/ruby/pb/grpc/health/v1/health_services_pb.rb

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: math/math.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: math/math.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -47,6 +49,7 @@ namespace Math {
#region Messages #region Messages
public sealed partial class DivArgs : pb::IMessage<DivArgs> { public sealed partial class DivArgs : pb::IMessage<DivArgs> {
private static readonly pb::MessageParser<DivArgs> _parser = new pb::MessageParser<DivArgs>(() => new DivArgs()); private static readonly pb::MessageParser<DivArgs> _parser = new pb::MessageParser<DivArgs>(() => new DivArgs());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<DivArgs> Parser { get { return _parser; } } public static pb::MessageParser<DivArgs> Parser { get { return _parser; } }
@ -71,6 +74,7 @@ namespace Math {
public DivArgs(DivArgs other) : this() { public DivArgs(DivArgs other) : this() {
dividend_ = other.dividend_; dividend_ = other.dividend_;
divisor_ = other.divisor_; divisor_ = other.divisor_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -115,7 +119,7 @@ namespace Math {
} }
if (Dividend != other.Dividend) return false; if (Dividend != other.Dividend) return false;
if (Divisor != other.Divisor) return false; if (Divisor != other.Divisor) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -123,6 +127,9 @@ namespace Math {
int hash = 1; int hash = 1;
if (Dividend != 0L) hash ^= Dividend.GetHashCode(); if (Dividend != 0L) hash ^= Dividend.GetHashCode();
if (Divisor != 0L) hash ^= Divisor.GetHashCode(); if (Divisor != 0L) hash ^= Divisor.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -141,6 +148,9 @@ namespace Math {
output.WriteRawTag(16); output.WriteRawTag(16);
output.WriteInt64(Divisor); output.WriteInt64(Divisor);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -152,6 +162,9 @@ namespace Math {
if (Divisor != 0L) { if (Divisor != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Divisor); size += 1 + pb::CodedOutputStream.ComputeInt64Size(Divisor);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -166,6 +179,7 @@ namespace Math {
if (other.Divisor != 0L) { if (other.Divisor != 0L) {
Divisor = other.Divisor; Divisor = other.Divisor;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -174,7 +188,7 @@ namespace Math {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Dividend = input.ReadInt64(); Dividend = input.ReadInt64();
@ -192,6 +206,7 @@ namespace Math {
public sealed partial class DivReply : pb::IMessage<DivReply> { public sealed partial class DivReply : pb::IMessage<DivReply> {
private static readonly pb::MessageParser<DivReply> _parser = new pb::MessageParser<DivReply>(() => new DivReply()); private static readonly pb::MessageParser<DivReply> _parser = new pb::MessageParser<DivReply>(() => new DivReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<DivReply> Parser { get { return _parser; } } public static pb::MessageParser<DivReply> Parser { get { return _parser; } }
@ -216,6 +231,7 @@ namespace Math {
public DivReply(DivReply other) : this() { public DivReply(DivReply other) : this() {
quotient_ = other.quotient_; quotient_ = other.quotient_;
remainder_ = other.remainder_; remainder_ = other.remainder_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -260,7 +276,7 @@ namespace Math {
} }
if (Quotient != other.Quotient) return false; if (Quotient != other.Quotient) return false;
if (Remainder != other.Remainder) return false; if (Remainder != other.Remainder) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -268,6 +284,9 @@ namespace Math {
int hash = 1; int hash = 1;
if (Quotient != 0L) hash ^= Quotient.GetHashCode(); if (Quotient != 0L) hash ^= Quotient.GetHashCode();
if (Remainder != 0L) hash ^= Remainder.GetHashCode(); if (Remainder != 0L) hash ^= Remainder.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -286,6 +305,9 @@ namespace Math {
output.WriteRawTag(16); output.WriteRawTag(16);
output.WriteInt64(Remainder); output.WriteInt64(Remainder);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -297,6 +319,9 @@ namespace Math {
if (Remainder != 0L) { if (Remainder != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Remainder); size += 1 + pb::CodedOutputStream.ComputeInt64Size(Remainder);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -311,6 +336,7 @@ namespace Math {
if (other.Remainder != 0L) { if (other.Remainder != 0L) {
Remainder = other.Remainder; Remainder = other.Remainder;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -319,7 +345,7 @@ namespace Math {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Quotient = input.ReadInt64(); Quotient = input.ReadInt64();
@ -337,6 +363,7 @@ namespace Math {
public sealed partial class FibArgs : pb::IMessage<FibArgs> { public sealed partial class FibArgs : pb::IMessage<FibArgs> {
private static readonly pb::MessageParser<FibArgs> _parser = new pb::MessageParser<FibArgs>(() => new FibArgs()); private static readonly pb::MessageParser<FibArgs> _parser = new pb::MessageParser<FibArgs>(() => new FibArgs());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<FibArgs> Parser { get { return _parser; } } public static pb::MessageParser<FibArgs> Parser { get { return _parser; } }
@ -360,6 +387,7 @@ namespace Math {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FibArgs(FibArgs other) : this() { public FibArgs(FibArgs other) : this() {
limit_ = other.limit_; limit_ = other.limit_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -392,13 +420,16 @@ namespace Math {
return true; return true;
} }
if (Limit != other.Limit) return false; if (Limit != other.Limit) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Limit != 0L) hash ^= Limit.GetHashCode(); if (Limit != 0L) hash ^= Limit.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -413,6 +444,9 @@ namespace Math {
output.WriteRawTag(8); output.WriteRawTag(8);
output.WriteInt64(Limit); output.WriteInt64(Limit);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -421,6 +455,9 @@ namespace Math {
if (Limit != 0L) { if (Limit != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Limit); size += 1 + pb::CodedOutputStream.ComputeInt64Size(Limit);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -432,6 +469,7 @@ namespace Math {
if (other.Limit != 0L) { if (other.Limit != 0L) {
Limit = other.Limit; Limit = other.Limit;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -440,7 +478,7 @@ namespace Math {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Limit = input.ReadInt64(); Limit = input.ReadInt64();
@ -454,6 +492,7 @@ namespace Math {
public sealed partial class Num : pb::IMessage<Num> { public sealed partial class Num : pb::IMessage<Num> {
private static readonly pb::MessageParser<Num> _parser = new pb::MessageParser<Num>(() => new Num()); private static readonly pb::MessageParser<Num> _parser = new pb::MessageParser<Num>(() => new Num());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Num> Parser { get { return _parser; } } public static pb::MessageParser<Num> Parser { get { return _parser; } }
@ -477,6 +516,7 @@ namespace Math {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Num(Num other) : this() { public Num(Num other) : this() {
num_ = other.num_; num_ = other.num_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -509,13 +549,16 @@ namespace Math {
return true; return true;
} }
if (Num_ != other.Num_) return false; if (Num_ != other.Num_) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Num_ != 0L) hash ^= Num_.GetHashCode(); if (Num_ != 0L) hash ^= Num_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -530,6 +573,9 @@ namespace Math {
output.WriteRawTag(8); output.WriteRawTag(8);
output.WriteInt64(Num_); output.WriteInt64(Num_);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -538,6 +584,9 @@ namespace Math {
if (Num_ != 0L) { if (Num_ != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Num_); size += 1 + pb::CodedOutputStream.ComputeInt64Size(Num_);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -549,6 +598,7 @@ namespace Math {
if (other.Num_ != 0L) { if (other.Num_ != 0L) {
Num_ = other.Num_; Num_ = other.Num_;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -557,7 +607,7 @@ namespace Math {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Num_ = input.ReadInt64(); Num_ = input.ReadInt64();
@ -571,6 +621,7 @@ namespace Math {
public sealed partial class FibReply : pb::IMessage<FibReply> { public sealed partial class FibReply : pb::IMessage<FibReply> {
private static readonly pb::MessageParser<FibReply> _parser = new pb::MessageParser<FibReply>(() => new FibReply()); private static readonly pb::MessageParser<FibReply> _parser = new pb::MessageParser<FibReply>(() => new FibReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<FibReply> Parser { get { return _parser; } } public static pb::MessageParser<FibReply> Parser { get { return _parser; } }
@ -594,6 +645,7 @@ namespace Math {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FibReply(FibReply other) : this() { public FibReply(FibReply other) : this() {
count_ = other.count_; count_ = other.count_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -626,13 +678,16 @@ namespace Math {
return true; return true;
} }
if (Count != other.Count) return false; if (Count != other.Count) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Count != 0L) hash ^= Count.GetHashCode(); if (Count != 0L) hash ^= Count.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -647,6 +702,9 @@ namespace Math {
output.WriteRawTag(8); output.WriteRawTag(8);
output.WriteInt64(Count); output.WriteInt64(Count);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -655,6 +713,9 @@ namespace Math {
if (Count != 0L) { if (Count != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Count); size += 1 + pb::CodedOutputStream.ComputeInt64Size(Count);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -666,6 +727,7 @@ namespace Math {
if (other.Count != 0L) { if (other.Count != 0L) {
Count = other.Count; Count = other.Count;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -674,7 +736,7 @@ namespace Math {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Count = input.ReadInt64(); Count = input.ReadInt64();

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: grpc/health/v1/health.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/health/v1/health.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -29,7 +31,9 @@ namespace Grpc.Health.V1 {
"ZXJ2aW5nU3RhdHVzEgsKB1VOS05PV04QABILCgdTRVJWSU5HEAESDwoLTk9U", "ZXJ2aW5nU3RhdHVzEgsKB1VOS05PV04QABILCgdTRVJWSU5HEAESDwoLTk9U",
"X1NFUlZJTkcQAjJaCgZIZWFsdGgSUAoFQ2hlY2sSIi5ncnBjLmhlYWx0aC52", "X1NFUlZJTkcQAjJaCgZIZWFsdGgSUAoFQ2hlY2sSIi5ncnBjLmhlYWx0aC52",
"MS5IZWFsdGhDaGVja1JlcXVlc3QaIy5ncnBjLmhlYWx0aC52MS5IZWFsdGhD", "MS5IZWFsdGhDaGVja1JlcXVlc3QaIy5ncnBjLmhlYWx0aC52MS5IZWFsdGhD",
"aGVja1Jlc3BvbnNlQhGqAg5HcnBjLkhlYWx0aC5WMWIGcHJvdG8z")); "aGVja1Jlc3BvbnNlQmEKEWlvLmdycGMuaGVhbHRoLnYxQgtIZWFsdGhQcm90",
"b1ABWixnb29nbGUuZ29sYW5nLm9yZy9ncnBjL2hlYWx0aC9ncnBjX2hlYWx0",
"aF92MaoCDkdycGMuSGVhbHRoLlYxYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
@ -43,6 +47,7 @@ namespace Grpc.Health.V1 {
#region Messages #region Messages
public sealed partial class HealthCheckRequest : pb::IMessage<HealthCheckRequest> { public sealed partial class HealthCheckRequest : pb::IMessage<HealthCheckRequest> {
private static readonly pb::MessageParser<HealthCheckRequest> _parser = new pb::MessageParser<HealthCheckRequest>(() => new HealthCheckRequest()); private static readonly pb::MessageParser<HealthCheckRequest> _parser = new pb::MessageParser<HealthCheckRequest>(() => new HealthCheckRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<HealthCheckRequest> Parser { get { return _parser; } } public static pb::MessageParser<HealthCheckRequest> Parser { get { return _parser; } }
@ -66,6 +71,7 @@ namespace Grpc.Health.V1 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HealthCheckRequest(HealthCheckRequest other) : this() { public HealthCheckRequest(HealthCheckRequest other) : this() {
service_ = other.service_; service_ = other.service_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -98,13 +104,16 @@ namespace Grpc.Health.V1 {
return true; return true;
} }
if (Service != other.Service) return false; if (Service != other.Service) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Service.Length != 0) hash ^= Service.GetHashCode(); if (Service.Length != 0) hash ^= Service.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -119,6 +128,9 @@ namespace Grpc.Health.V1 {
output.WriteRawTag(10); output.WriteRawTag(10);
output.WriteString(Service); output.WriteString(Service);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -127,6 +139,9 @@ namespace Grpc.Health.V1 {
if (Service.Length != 0) { if (Service.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Service); size += 1 + pb::CodedOutputStream.ComputeStringSize(Service);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -138,6 +153,7 @@ namespace Grpc.Health.V1 {
if (other.Service.Length != 0) { if (other.Service.Length != 0) {
Service = other.Service; Service = other.Service;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -146,7 +162,7 @@ namespace Grpc.Health.V1 {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
Service = input.ReadString(); Service = input.ReadString();
@ -160,6 +176,7 @@ namespace Grpc.Health.V1 {
public sealed partial class HealthCheckResponse : pb::IMessage<HealthCheckResponse> { public sealed partial class HealthCheckResponse : pb::IMessage<HealthCheckResponse> {
private static readonly pb::MessageParser<HealthCheckResponse> _parser = new pb::MessageParser<HealthCheckResponse>(() => new HealthCheckResponse()); private static readonly pb::MessageParser<HealthCheckResponse> _parser = new pb::MessageParser<HealthCheckResponse>(() => new HealthCheckResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<HealthCheckResponse> Parser { get { return _parser; } } public static pb::MessageParser<HealthCheckResponse> Parser { get { return _parser; } }
@ -183,6 +200,7 @@ namespace Grpc.Health.V1 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HealthCheckResponse(HealthCheckResponse other) : this() { public HealthCheckResponse(HealthCheckResponse other) : this() {
status_ = other.status_; status_ = other.status_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -215,13 +233,16 @@ namespace Grpc.Health.V1 {
return true; return true;
} }
if (Status != other.Status) return false; if (Status != other.Status) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Status != 0) hash ^= Status.GetHashCode(); if (Status != 0) hash ^= Status.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -236,6 +257,9 @@ namespace Grpc.Health.V1 {
output.WriteRawTag(8); output.WriteRawTag(8);
output.WriteEnum((int) Status); output.WriteEnum((int) Status);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -244,6 +268,9 @@ namespace Grpc.Health.V1 {
if (Status != 0) { if (Status != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -255,6 +282,7 @@ namespace Grpc.Health.V1 {
if (other.Status != 0) { if (other.Status != 0) {
Status = other.Status; Status = other.Status;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -263,7 +291,7 @@ namespace Grpc.Health.V1 {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
status_ = (global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus) input.ReadEnum(); status_ = (global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus) input.ReadEnum();

@ -3,7 +3,7 @@
// source: grpc/health/v1/health.proto // source: grpc/health/v1/health.proto
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2015 gRPC authors. // Copyright 2015 The gRPC Authors
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
@ -17,6 +17,9 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
// The canonical version of this proto can be found at
// https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto
//
#pragma warning disable 1591 #pragma warning disable 1591
#region Designer generated code #region Designer generated code

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/benchmark_service.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/benchmark_service.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code

File diff suppressed because it is too large Load Diff

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: grpc/core/stats.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/core/stats.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -43,6 +45,7 @@ namespace Grpc.Core {
#region Messages #region Messages
public sealed partial class Bucket : pb::IMessage<Bucket> { public sealed partial class Bucket : pb::IMessage<Bucket> {
private static readonly pb::MessageParser<Bucket> _parser = new pb::MessageParser<Bucket>(() => new Bucket()); private static readonly pb::MessageParser<Bucket> _parser = new pb::MessageParser<Bucket>(() => new Bucket());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Bucket> Parser { get { return _parser; } } public static pb::MessageParser<Bucket> Parser { get { return _parser; } }
@ -67,6 +70,7 @@ namespace Grpc.Core {
public Bucket(Bucket other) : this() { public Bucket(Bucket other) : this() {
start_ = other.start_; start_ = other.start_;
count_ = other.count_; count_ = other.count_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -109,16 +113,19 @@ namespace Grpc.Core {
if (ReferenceEquals(other, this)) { if (ReferenceEquals(other, this)) {
return true; return true;
} }
if (Start != other.Start) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Start, other.Start)) return false;
if (Count != other.Count) return false; if (Count != other.Count) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Start != 0D) hash ^= Start.GetHashCode(); if (Start != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Start);
if (Count != 0UL) hash ^= Count.GetHashCode(); if (Count != 0UL) hash ^= Count.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -137,6 +144,9 @@ namespace Grpc.Core {
output.WriteRawTag(16); output.WriteRawTag(16);
output.WriteUInt64(Count); output.WriteUInt64(Count);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -148,6 +158,9 @@ namespace Grpc.Core {
if (Count != 0UL) { if (Count != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Count); size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Count);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -162,6 +175,7 @@ namespace Grpc.Core {
if (other.Count != 0UL) { if (other.Count != 0UL) {
Count = other.Count; Count = other.Count;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -170,7 +184,7 @@ namespace Grpc.Core {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 9: { case 9: {
Start = input.ReadDouble(); Start = input.ReadDouble();
@ -188,6 +202,7 @@ namespace Grpc.Core {
public sealed partial class Histogram : pb::IMessage<Histogram> { public sealed partial class Histogram : pb::IMessage<Histogram> {
private static readonly pb::MessageParser<Histogram> _parser = new pb::MessageParser<Histogram>(() => new Histogram()); private static readonly pb::MessageParser<Histogram> _parser = new pb::MessageParser<Histogram>(() => new Histogram());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Histogram> Parser { get { return _parser; } } public static pb::MessageParser<Histogram> Parser { get { return _parser; } }
@ -211,6 +226,7 @@ namespace Grpc.Core {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Histogram(Histogram other) : this() { public Histogram(Histogram other) : this() {
buckets_ = other.buckets_.Clone(); buckets_ = other.buckets_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -242,13 +258,16 @@ namespace Grpc.Core {
return true; return true;
} }
if(!buckets_.Equals(other.buckets_)) return false; if(!buckets_.Equals(other.buckets_)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
hash ^= buckets_.GetHashCode(); hash ^= buckets_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -260,12 +279,18 @@ namespace Grpc.Core {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
buckets_.WriteTo(output, _repeated_buckets_codec); buckets_.WriteTo(output, _repeated_buckets_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
size += buckets_.CalculateSize(_repeated_buckets_codec); size += buckets_.CalculateSize(_repeated_buckets_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -275,6 +300,7 @@ namespace Grpc.Core {
return; return;
} }
buckets_.Add(other.buckets_); buckets_.Add(other.buckets_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -283,7 +309,7 @@ namespace Grpc.Core {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
buckets_.AddEntriesFrom(input, _repeated_buckets_codec); buckets_.AddEntriesFrom(input, _repeated_buckets_codec);
@ -297,6 +323,7 @@ namespace Grpc.Core {
public sealed partial class Metric : pb::IMessage<Metric> { public sealed partial class Metric : pb::IMessage<Metric> {
private static readonly pb::MessageParser<Metric> _parser = new pb::MessageParser<Metric>(() => new Metric()); private static readonly pb::MessageParser<Metric> _parser = new pb::MessageParser<Metric>(() => new Metric());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Metric> Parser { get { return _parser; } } public static pb::MessageParser<Metric> Parser { get { return _parser; } }
@ -329,6 +356,7 @@ namespace Grpc.Core {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -405,7 +433,7 @@ namespace Grpc.Core {
if (Count != other.Count) return false; if (Count != other.Count) return false;
if (!object.Equals(Histogram, other.Histogram)) return false; if (!object.Equals(Histogram, other.Histogram)) return false;
if (ValueCase != other.ValueCase) return false; if (ValueCase != other.ValueCase) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -415,6 +443,9 @@ namespace Grpc.Core {
if (valueCase_ == ValueOneofCase.Count) hash ^= Count.GetHashCode(); if (valueCase_ == ValueOneofCase.Count) hash ^= Count.GetHashCode();
if (valueCase_ == ValueOneofCase.Histogram) hash ^= Histogram.GetHashCode(); if (valueCase_ == ValueOneofCase.Histogram) hash ^= Histogram.GetHashCode();
hash ^= (int) valueCase_; hash ^= (int) valueCase_;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -437,6 +468,9 @@ namespace Grpc.Core {
output.WriteRawTag(90); output.WriteRawTag(90);
output.WriteMessage(Histogram); output.WriteMessage(Histogram);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -451,6 +485,9 @@ namespace Grpc.Core {
if (valueCase_ == ValueOneofCase.Histogram) { if (valueCase_ == ValueOneofCase.Histogram) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Histogram); size += 1 + pb::CodedOutputStream.ComputeMessageSize(Histogram);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -474,6 +511,7 @@ namespace Grpc.Core {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -482,7 +520,7 @@ namespace Grpc.Core {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
Name = input.ReadString(); Name = input.ReadString();
@ -509,6 +547,7 @@ namespace Grpc.Core {
public sealed partial class Stats : pb::IMessage<Stats> { public sealed partial class Stats : pb::IMessage<Stats> {
private static readonly pb::MessageParser<Stats> _parser = new pb::MessageParser<Stats>(() => new Stats()); private static readonly pb::MessageParser<Stats> _parser = new pb::MessageParser<Stats>(() => new Stats());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Stats> Parser { get { return _parser; } } public static pb::MessageParser<Stats> Parser { get { return _parser; } }
@ -532,6 +571,7 @@ namespace Grpc.Core {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Stats(Stats other) : this() { public Stats(Stats other) : this() {
metrics_ = other.metrics_.Clone(); metrics_ = other.metrics_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -563,13 +603,16 @@ namespace Grpc.Core {
return true; return true;
} }
if(!metrics_.Equals(other.metrics_)) return false; if(!metrics_.Equals(other.metrics_)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
hash ^= metrics_.GetHashCode(); hash ^= metrics_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -581,12 +624,18 @@ namespace Grpc.Core {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
metrics_.WriteTo(output, _repeated_metrics_codec); metrics_.WriteTo(output, _repeated_metrics_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
size += metrics_.CalculateSize(_repeated_metrics_codec); size += metrics_.CalculateSize(_repeated_metrics_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -596,6 +645,7 @@ namespace Grpc.Core {
return; return;
} }
metrics_.Add(other.metrics_); metrics_.Add(other.metrics_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -604,7 +654,7 @@ namespace Grpc.Core {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
metrics_.AddEntriesFrom(input, _repeated_metrics_codec); metrics_.AddEntriesFrom(input, _repeated_metrics_codec);

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/echo_messages.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/echo_messages.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -63,6 +65,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class DebugInfo : pb::IMessage<DebugInfo> { public sealed partial class DebugInfo : pb::IMessage<DebugInfo> {
private static readonly pb::MessageParser<DebugInfo> _parser = new pb::MessageParser<DebugInfo>(() => new DebugInfo()); private static readonly pb::MessageParser<DebugInfo> _parser = new pb::MessageParser<DebugInfo>(() => new DebugInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<DebugInfo> Parser { get { return _parser; } } public static pb::MessageParser<DebugInfo> Parser { get { return _parser; } }
@ -87,6 +90,7 @@ namespace Grpc.Testing {
public DebugInfo(DebugInfo other) : this() { public DebugInfo(DebugInfo other) : this() {
stackEntries_ = other.stackEntries_.Clone(); stackEntries_ = other.stackEntries_.Clone();
detail_ = other.detail_; detail_ = other.detail_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -130,7 +134,7 @@ namespace Grpc.Testing {
} }
if(!stackEntries_.Equals(other.stackEntries_)) return false; if(!stackEntries_.Equals(other.stackEntries_)) return false;
if (Detail != other.Detail) return false; if (Detail != other.Detail) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -138,6 +142,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
hash ^= stackEntries_.GetHashCode(); hash ^= stackEntries_.GetHashCode();
if (Detail.Length != 0) hash ^= Detail.GetHashCode(); if (Detail.Length != 0) hash ^= Detail.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -153,6 +160,9 @@ namespace Grpc.Testing {
output.WriteRawTag(18); output.WriteRawTag(18);
output.WriteString(Detail); output.WriteString(Detail);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -162,6 +172,9 @@ namespace Grpc.Testing {
if (Detail.Length != 0) { if (Detail.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Detail); size += 1 + pb::CodedOutputStream.ComputeStringSize(Detail);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -174,6 +187,7 @@ namespace Grpc.Testing {
if (other.Detail.Length != 0) { if (other.Detail.Length != 0) {
Detail = other.Detail; Detail = other.Detail;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -182,7 +196,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
stackEntries_.AddEntriesFrom(input, _repeated_stackEntries_codec); stackEntries_.AddEntriesFrom(input, _repeated_stackEntries_codec);
@ -203,6 +217,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class ErrorStatus : pb::IMessage<ErrorStatus> { public sealed partial class ErrorStatus : pb::IMessage<ErrorStatus> {
private static readonly pb::MessageParser<ErrorStatus> _parser = new pb::MessageParser<ErrorStatus>(() => new ErrorStatus()); private static readonly pb::MessageParser<ErrorStatus> _parser = new pb::MessageParser<ErrorStatus>(() => new ErrorStatus());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ErrorStatus> Parser { get { return _parser; } } public static pb::MessageParser<ErrorStatus> Parser { get { return _parser; } }
@ -228,6 +243,7 @@ namespace Grpc.Testing {
code_ = other.code_; code_ = other.code_;
errorMessage_ = other.errorMessage_; errorMessage_ = other.errorMessage_;
binaryErrorDetails_ = other.binaryErrorDetails_; binaryErrorDetails_ = other.binaryErrorDetails_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -284,7 +300,7 @@ namespace Grpc.Testing {
if (Code != other.Code) return false; if (Code != other.Code) return false;
if (ErrorMessage != other.ErrorMessage) return false; if (ErrorMessage != other.ErrorMessage) return false;
if (BinaryErrorDetails != other.BinaryErrorDetails) return false; if (BinaryErrorDetails != other.BinaryErrorDetails) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -293,6 +309,9 @@ namespace Grpc.Testing {
if (Code != 0) hash ^= Code.GetHashCode(); if (Code != 0) hash ^= Code.GetHashCode();
if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode(); if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
if (BinaryErrorDetails.Length != 0) hash ^= BinaryErrorDetails.GetHashCode(); if (BinaryErrorDetails.Length != 0) hash ^= BinaryErrorDetails.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -315,6 +334,9 @@ namespace Grpc.Testing {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteString(BinaryErrorDetails); output.WriteString(BinaryErrorDetails);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -329,6 +351,9 @@ namespace Grpc.Testing {
if (BinaryErrorDetails.Length != 0) { if (BinaryErrorDetails.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(BinaryErrorDetails); size += 1 + pb::CodedOutputStream.ComputeStringSize(BinaryErrorDetails);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -346,6 +371,7 @@ namespace Grpc.Testing {
if (other.BinaryErrorDetails.Length != 0) { if (other.BinaryErrorDetails.Length != 0) {
BinaryErrorDetails = other.BinaryErrorDetails; BinaryErrorDetails = other.BinaryErrorDetails;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -354,7 +380,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Code = input.ReadInt32(); Code = input.ReadInt32();
@ -376,6 +402,7 @@ namespace Grpc.Testing {
public sealed partial class RequestParams : pb::IMessage<RequestParams> { public sealed partial class RequestParams : pb::IMessage<RequestParams> {
private static readonly pb::MessageParser<RequestParams> _parser = new pb::MessageParser<RequestParams>(() => new RequestParams()); private static readonly pb::MessageParser<RequestParams> _parser = new pb::MessageParser<RequestParams>(() => new RequestParams());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<RequestParams> Parser { get { return _parser; } } public static pb::MessageParser<RequestParams> Parser { get { return _parser; } }
@ -413,6 +440,7 @@ namespace Grpc.Testing {
binaryErrorDetails_ = other.binaryErrorDetails_; binaryErrorDetails_ = other.binaryErrorDetails_;
ExpectedError = other.expectedError_ != null ? other.ExpectedError.Clone() : null; ExpectedError = other.expectedError_ != null ? other.ExpectedError.Clone() : null;
serverSleepUs_ = other.serverSleepUs_; serverSleepUs_ = other.serverSleepUs_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -622,7 +650,7 @@ namespace Grpc.Testing {
if (BinaryErrorDetails != other.BinaryErrorDetails) return false; if (BinaryErrorDetails != other.BinaryErrorDetails) return false;
if (!object.Equals(ExpectedError, other.ExpectedError)) return false; if (!object.Equals(ExpectedError, other.ExpectedError)) return false;
if (ServerSleepUs != other.ServerSleepUs) return false; if (ServerSleepUs != other.ServerSleepUs) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -643,6 +671,9 @@ namespace Grpc.Testing {
if (BinaryErrorDetails.Length != 0) hash ^= BinaryErrorDetails.GetHashCode(); if (BinaryErrorDetails.Length != 0) hash ^= BinaryErrorDetails.GetHashCode();
if (expectedError_ != null) hash ^= ExpectedError.GetHashCode(); if (expectedError_ != null) hash ^= ExpectedError.GetHashCode();
if (ServerSleepUs != 0) hash ^= ServerSleepUs.GetHashCode(); if (ServerSleepUs != 0) hash ^= ServerSleepUs.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -713,6 +744,9 @@ namespace Grpc.Testing {
output.WriteRawTag(120); output.WriteRawTag(120);
output.WriteInt32(ServerSleepUs); output.WriteInt32(ServerSleepUs);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -763,6 +797,9 @@ namespace Grpc.Testing {
if (ServerSleepUs != 0) { if (ServerSleepUs != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerSleepUs); size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerSleepUs);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -822,6 +859,7 @@ namespace Grpc.Testing {
if (other.ServerSleepUs != 0) { if (other.ServerSleepUs != 0) {
ServerSleepUs = other.ServerSleepUs; ServerSleepUs = other.ServerSleepUs;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -830,7 +868,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
EchoDeadline = input.ReadBool(); EchoDeadline = input.ReadBool();
@ -906,6 +944,7 @@ namespace Grpc.Testing {
public sealed partial class EchoRequest : pb::IMessage<EchoRequest> { public sealed partial class EchoRequest : pb::IMessage<EchoRequest> {
private static readonly pb::MessageParser<EchoRequest> _parser = new pb::MessageParser<EchoRequest>(() => new EchoRequest()); private static readonly pb::MessageParser<EchoRequest> _parser = new pb::MessageParser<EchoRequest>(() => new EchoRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<EchoRequest> Parser { get { return _parser; } } public static pb::MessageParser<EchoRequest> Parser { get { return _parser; } }
@ -930,6 +969,7 @@ namespace Grpc.Testing {
public EchoRequest(EchoRequest other) : this() { public EchoRequest(EchoRequest other) : this() {
message_ = other.message_; message_ = other.message_;
Param = other.param_ != null ? other.Param.Clone() : null; Param = other.param_ != null ? other.Param.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -974,7 +1014,7 @@ namespace Grpc.Testing {
} }
if (Message != other.Message) return false; if (Message != other.Message) return false;
if (!object.Equals(Param, other.Param)) return false; if (!object.Equals(Param, other.Param)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -982,6 +1022,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (Message.Length != 0) hash ^= Message.GetHashCode(); if (Message.Length != 0) hash ^= Message.GetHashCode();
if (param_ != null) hash ^= Param.GetHashCode(); if (param_ != null) hash ^= Param.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1000,6 +1043,9 @@ namespace Grpc.Testing {
output.WriteRawTag(18); output.WriteRawTag(18);
output.WriteMessage(Param); output.WriteMessage(Param);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1011,6 +1057,9 @@ namespace Grpc.Testing {
if (param_ != null) { if (param_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Param); size += 1 + pb::CodedOutputStream.ComputeMessageSize(Param);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1028,6 +1077,7 @@ namespace Grpc.Testing {
} }
Param.MergeFrom(other.Param); Param.MergeFrom(other.Param);
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1036,7 +1086,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
Message = input.ReadString(); Message = input.ReadString();
@ -1057,6 +1107,7 @@ namespace Grpc.Testing {
public sealed partial class ResponseParams : pb::IMessage<ResponseParams> { public sealed partial class ResponseParams : pb::IMessage<ResponseParams> {
private static readonly pb::MessageParser<ResponseParams> _parser = new pb::MessageParser<ResponseParams>(() => new ResponseParams()); private static readonly pb::MessageParser<ResponseParams> _parser = new pb::MessageParser<ResponseParams>(() => new ResponseParams());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ResponseParams> Parser { get { return _parser; } } public static pb::MessageParser<ResponseParams> Parser { get { return _parser; } }
@ -1082,6 +1133,7 @@ namespace Grpc.Testing {
requestDeadline_ = other.requestDeadline_; requestDeadline_ = other.requestDeadline_;
host_ = other.host_; host_ = other.host_;
peer_ = other.peer_; peer_ = other.peer_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1138,7 +1190,7 @@ namespace Grpc.Testing {
if (RequestDeadline != other.RequestDeadline) return false; if (RequestDeadline != other.RequestDeadline) return false;
if (Host != other.Host) return false; if (Host != other.Host) return false;
if (Peer != other.Peer) return false; if (Peer != other.Peer) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1147,6 +1199,9 @@ namespace Grpc.Testing {
if (RequestDeadline != 0L) hash ^= RequestDeadline.GetHashCode(); if (RequestDeadline != 0L) hash ^= RequestDeadline.GetHashCode();
if (Host.Length != 0) hash ^= Host.GetHashCode(); if (Host.Length != 0) hash ^= Host.GetHashCode();
if (Peer.Length != 0) hash ^= Peer.GetHashCode(); if (Peer.Length != 0) hash ^= Peer.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1169,6 +1224,9 @@ namespace Grpc.Testing {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteString(Peer); output.WriteString(Peer);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1183,6 +1241,9 @@ namespace Grpc.Testing {
if (Peer.Length != 0) { if (Peer.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Peer); size += 1 + pb::CodedOutputStream.ComputeStringSize(Peer);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1200,6 +1261,7 @@ namespace Grpc.Testing {
if (other.Peer.Length != 0) { if (other.Peer.Length != 0) {
Peer = other.Peer; Peer = other.Peer;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1208,7 +1270,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
RequestDeadline = input.ReadInt64(); RequestDeadline = input.ReadInt64();
@ -1230,6 +1292,7 @@ namespace Grpc.Testing {
public sealed partial class EchoResponse : pb::IMessage<EchoResponse> { public sealed partial class EchoResponse : pb::IMessage<EchoResponse> {
private static readonly pb::MessageParser<EchoResponse> _parser = new pb::MessageParser<EchoResponse>(() => new EchoResponse()); private static readonly pb::MessageParser<EchoResponse> _parser = new pb::MessageParser<EchoResponse>(() => new EchoResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<EchoResponse> Parser { get { return _parser; } } public static pb::MessageParser<EchoResponse> Parser { get { return _parser; } }
@ -1254,6 +1317,7 @@ namespace Grpc.Testing {
public EchoResponse(EchoResponse other) : this() { public EchoResponse(EchoResponse other) : this() {
message_ = other.message_; message_ = other.message_;
Param = other.param_ != null ? other.Param.Clone() : null; Param = other.param_ != null ? other.Param.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1298,7 +1362,7 @@ namespace Grpc.Testing {
} }
if (Message != other.Message) return false; if (Message != other.Message) return false;
if (!object.Equals(Param, other.Param)) return false; if (!object.Equals(Param, other.Param)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1306,6 +1370,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (Message.Length != 0) hash ^= Message.GetHashCode(); if (Message.Length != 0) hash ^= Message.GetHashCode();
if (param_ != null) hash ^= Param.GetHashCode(); if (param_ != null) hash ^= Param.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1324,6 +1391,9 @@ namespace Grpc.Testing {
output.WriteRawTag(18); output.WriteRawTag(18);
output.WriteMessage(Param); output.WriteMessage(Param);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1335,6 +1405,9 @@ namespace Grpc.Testing {
if (param_ != null) { if (param_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Param); size += 1 + pb::CodedOutputStream.ComputeMessageSize(Param);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1352,6 +1425,7 @@ namespace Grpc.Testing {
} }
Param.MergeFrom(other.Param); Param.MergeFrom(other.Param);
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1360,7 +1434,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
Message = input.ReadString(); Message = input.ReadString();

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/empty.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/empty.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -45,6 +47,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class Empty : pb::IMessage<Empty> { public sealed partial class Empty : pb::IMessage<Empty> {
private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty()); private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Empty> Parser { get { return _parser; } } public static pb::MessageParser<Empty> Parser { get { return _parser; } }
@ -67,6 +70,7 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Empty(Empty other) : this() { public Empty(Empty other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -87,12 +91,15 @@ namespace Grpc.Testing {
if (ReferenceEquals(other, this)) { if (ReferenceEquals(other, this)) {
return true; return true;
} }
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -103,11 +110,17 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -116,6 +129,7 @@ namespace Grpc.Testing {
if (other == null) { if (other == null) {
return; return;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -124,7 +138,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
} }
} }

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/messages.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/messages.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -95,6 +97,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class BoolValue : pb::IMessage<BoolValue> { public sealed partial class BoolValue : pb::IMessage<BoolValue> {
private static readonly pb::MessageParser<BoolValue> _parser = new pb::MessageParser<BoolValue>(() => new BoolValue()); private static readonly pb::MessageParser<BoolValue> _parser = new pb::MessageParser<BoolValue>(() => new BoolValue());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<BoolValue> Parser { get { return _parser; } } public static pb::MessageParser<BoolValue> Parser { get { return _parser; } }
@ -118,6 +121,7 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BoolValue(BoolValue other) : this() { public BoolValue(BoolValue other) : this() {
value_ = other.value_; value_ = other.value_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -153,13 +157,16 @@ namespace Grpc.Testing {
return true; return true;
} }
if (Value != other.Value) return false; if (Value != other.Value) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Value != false) hash ^= Value.GetHashCode(); if (Value != false) hash ^= Value.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -174,6 +181,9 @@ namespace Grpc.Testing {
output.WriteRawTag(8); output.WriteRawTag(8);
output.WriteBool(Value); output.WriteBool(Value);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -182,6 +192,9 @@ namespace Grpc.Testing {
if (Value != false) { if (Value != false) {
size += 1 + 1; size += 1 + 1;
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -193,6 +206,7 @@ namespace Grpc.Testing {
if (other.Value != false) { if (other.Value != false) {
Value = other.Value; Value = other.Value;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -201,7 +215,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Value = input.ReadBool(); Value = input.ReadBool();
@ -218,6 +232,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class Payload : pb::IMessage<Payload> { public sealed partial class Payload : pb::IMessage<Payload> {
private static readonly pb::MessageParser<Payload> _parser = new pb::MessageParser<Payload>(() => new Payload()); private static readonly pb::MessageParser<Payload> _parser = new pb::MessageParser<Payload>(() => new Payload());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Payload> Parser { get { return _parser; } } public static pb::MessageParser<Payload> Parser { get { return _parser; } }
@ -242,6 +257,7 @@ namespace Grpc.Testing {
public Payload(Payload other) : this() { public Payload(Payload other) : this() {
type_ = other.type_; type_ = other.type_;
body_ = other.body_; body_ = other.body_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -293,7 +309,7 @@ namespace Grpc.Testing {
} }
if (Type != other.Type) return false; if (Type != other.Type) return false;
if (Body != other.Body) return false; if (Body != other.Body) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -301,6 +317,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (Type != 0) hash ^= Type.GetHashCode(); if (Type != 0) hash ^= Type.GetHashCode();
if (Body.Length != 0) hash ^= Body.GetHashCode(); if (Body.Length != 0) hash ^= Body.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -319,6 +338,9 @@ namespace Grpc.Testing {
output.WriteRawTag(18); output.WriteRawTag(18);
output.WriteBytes(Body); output.WriteBytes(Body);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -330,6 +352,9 @@ namespace Grpc.Testing {
if (Body.Length != 0) { if (Body.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Body); size += 1 + pb::CodedOutputStream.ComputeBytesSize(Body);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -344,6 +369,7 @@ namespace Grpc.Testing {
if (other.Body.Length != 0) { if (other.Body.Length != 0) {
Body = other.Body; Body = other.Body;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -352,7 +378,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
type_ = (global::Grpc.Testing.PayloadType) input.ReadEnum(); type_ = (global::Grpc.Testing.PayloadType) input.ReadEnum();
@ -374,6 +400,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class EchoStatus : pb::IMessage<EchoStatus> { public sealed partial class EchoStatus : pb::IMessage<EchoStatus> {
private static readonly pb::MessageParser<EchoStatus> _parser = new pb::MessageParser<EchoStatus>(() => new EchoStatus()); private static readonly pb::MessageParser<EchoStatus> _parser = new pb::MessageParser<EchoStatus>(() => new EchoStatus());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<EchoStatus> Parser { get { return _parser; } } public static pb::MessageParser<EchoStatus> Parser { get { return _parser; } }
@ -398,6 +425,7 @@ namespace Grpc.Testing {
public EchoStatus(EchoStatus other) : this() { public EchoStatus(EchoStatus other) : this() {
code_ = other.code_; code_ = other.code_;
message_ = other.message_; message_ = other.message_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -442,7 +470,7 @@ namespace Grpc.Testing {
} }
if (Code != other.Code) return false; if (Code != other.Code) return false;
if (Message != other.Message) return false; if (Message != other.Message) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -450,6 +478,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (Code != 0) hash ^= Code.GetHashCode(); if (Code != 0) hash ^= Code.GetHashCode();
if (Message.Length != 0) hash ^= Message.GetHashCode(); if (Message.Length != 0) hash ^= Message.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -468,6 +499,9 @@ namespace Grpc.Testing {
output.WriteRawTag(18); output.WriteRawTag(18);
output.WriteString(Message); output.WriteString(Message);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -479,6 +513,9 @@ namespace Grpc.Testing {
if (Message.Length != 0) { if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -493,6 +530,7 @@ namespace Grpc.Testing {
if (other.Message.Length != 0) { if (other.Message.Length != 0) {
Message = other.Message; Message = other.Message;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -501,7 +539,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Code = input.ReadInt32(); Code = input.ReadInt32();
@ -522,6 +560,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class SimpleRequest : pb::IMessage<SimpleRequest> { public sealed partial class SimpleRequest : pb::IMessage<SimpleRequest> {
private static readonly pb::MessageParser<SimpleRequest> _parser = new pb::MessageParser<SimpleRequest>(() => new SimpleRequest()); private static readonly pb::MessageParser<SimpleRequest> _parser = new pb::MessageParser<SimpleRequest>(() => new SimpleRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SimpleRequest> Parser { get { return _parser; } } public static pb::MessageParser<SimpleRequest> Parser { get { return _parser; } }
@ -552,6 +591,7 @@ namespace Grpc.Testing {
ResponseCompressed = other.responseCompressed_ != null ? other.ResponseCompressed.Clone() : null; ResponseCompressed = other.responseCompressed_ != null ? other.ResponseCompressed.Clone() : null;
ResponseStatus = other.responseStatus_ != null ? other.ResponseStatus.Clone() : null; ResponseStatus = other.responseStatus_ != null ? other.ResponseStatus.Clone() : null;
ExpectCompressed = other.expectCompressed_ != null ? other.ExpectCompressed.Clone() : null; ExpectCompressed = other.expectCompressed_ != null ? other.ExpectCompressed.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -697,7 +737,7 @@ namespace Grpc.Testing {
if (!object.Equals(ResponseCompressed, other.ResponseCompressed)) return false; if (!object.Equals(ResponseCompressed, other.ResponseCompressed)) return false;
if (!object.Equals(ResponseStatus, other.ResponseStatus)) return false; if (!object.Equals(ResponseStatus, other.ResponseStatus)) return false;
if (!object.Equals(ExpectCompressed, other.ExpectCompressed)) return false; if (!object.Equals(ExpectCompressed, other.ExpectCompressed)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -711,6 +751,9 @@ namespace Grpc.Testing {
if (responseCompressed_ != null) hash ^= ResponseCompressed.GetHashCode(); if (responseCompressed_ != null) hash ^= ResponseCompressed.GetHashCode();
if (responseStatus_ != null) hash ^= ResponseStatus.GetHashCode(); if (responseStatus_ != null) hash ^= ResponseStatus.GetHashCode();
if (expectCompressed_ != null) hash ^= ExpectCompressed.GetHashCode(); if (expectCompressed_ != null) hash ^= ExpectCompressed.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -753,6 +796,9 @@ namespace Grpc.Testing {
output.WriteRawTag(66); output.WriteRawTag(66);
output.WriteMessage(ExpectCompressed); output.WriteMessage(ExpectCompressed);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -782,6 +828,9 @@ namespace Grpc.Testing {
if (expectCompressed_ != null) { if (expectCompressed_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpectCompressed); size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpectCompressed);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -826,6 +875,7 @@ namespace Grpc.Testing {
} }
ExpectCompressed.MergeFrom(other.ExpectCompressed); ExpectCompressed.MergeFrom(other.ExpectCompressed);
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -834,7 +884,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
responseType_ = (global::Grpc.Testing.PayloadType) input.ReadEnum(); responseType_ = (global::Grpc.Testing.PayloadType) input.ReadEnum();
@ -891,6 +941,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class SimpleResponse : pb::IMessage<SimpleResponse> { public sealed partial class SimpleResponse : pb::IMessage<SimpleResponse> {
private static readonly pb::MessageParser<SimpleResponse> _parser = new pb::MessageParser<SimpleResponse>(() => new SimpleResponse()); private static readonly pb::MessageParser<SimpleResponse> _parser = new pb::MessageParser<SimpleResponse>(() => new SimpleResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SimpleResponse> Parser { get { return _parser; } } public static pb::MessageParser<SimpleResponse> Parser { get { return _parser; } }
@ -916,6 +967,7 @@ namespace Grpc.Testing {
Payload = other.payload_ != null ? other.Payload.Clone() : null; Payload = other.payload_ != null ? other.Payload.Clone() : null;
username_ = other.username_; username_ = other.username_;
oauthScope_ = other.oauthScope_; oauthScope_ = other.oauthScope_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -982,7 +1034,7 @@ namespace Grpc.Testing {
if (!object.Equals(Payload, other.Payload)) return false; if (!object.Equals(Payload, other.Payload)) return false;
if (Username != other.Username) return false; if (Username != other.Username) return false;
if (OauthScope != other.OauthScope) return false; if (OauthScope != other.OauthScope) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -991,6 +1043,9 @@ namespace Grpc.Testing {
if (payload_ != null) hash ^= Payload.GetHashCode(); if (payload_ != null) hash ^= Payload.GetHashCode();
if (Username.Length != 0) hash ^= Username.GetHashCode(); if (Username.Length != 0) hash ^= Username.GetHashCode();
if (OauthScope.Length != 0) hash ^= OauthScope.GetHashCode(); if (OauthScope.Length != 0) hash ^= OauthScope.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1013,6 +1068,9 @@ namespace Grpc.Testing {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteString(OauthScope); output.WriteString(OauthScope);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1027,6 +1085,9 @@ namespace Grpc.Testing {
if (OauthScope.Length != 0) { if (OauthScope.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(OauthScope); size += 1 + pb::CodedOutputStream.ComputeStringSize(OauthScope);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1047,6 +1108,7 @@ namespace Grpc.Testing {
if (other.OauthScope.Length != 0) { if (other.OauthScope.Length != 0) {
OauthScope = other.OauthScope; OauthScope = other.OauthScope;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1055,7 +1117,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
if (payload_ == null) { if (payload_ == null) {
@ -1083,6 +1145,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class StreamingInputCallRequest : pb::IMessage<StreamingInputCallRequest> { public sealed partial class StreamingInputCallRequest : pb::IMessage<StreamingInputCallRequest> {
private static readonly pb::MessageParser<StreamingInputCallRequest> _parser = new pb::MessageParser<StreamingInputCallRequest>(() => new StreamingInputCallRequest()); private static readonly pb::MessageParser<StreamingInputCallRequest> _parser = new pb::MessageParser<StreamingInputCallRequest>(() => new StreamingInputCallRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<StreamingInputCallRequest> Parser { get { return _parser; } } public static pb::MessageParser<StreamingInputCallRequest> Parser { get { return _parser; } }
@ -1107,6 +1170,7 @@ namespace Grpc.Testing {
public StreamingInputCallRequest(StreamingInputCallRequest other) : this() { public StreamingInputCallRequest(StreamingInputCallRequest other) : this() {
Payload = other.payload_ != null ? other.Payload.Clone() : null; Payload = other.payload_ != null ? other.Payload.Clone() : null;
ExpectCompressed = other.expectCompressed_ != null ? other.ExpectCompressed.Clone() : null; ExpectCompressed = other.expectCompressed_ != null ? other.ExpectCompressed.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1160,7 +1224,7 @@ namespace Grpc.Testing {
} }
if (!object.Equals(Payload, other.Payload)) return false; if (!object.Equals(Payload, other.Payload)) return false;
if (!object.Equals(ExpectCompressed, other.ExpectCompressed)) return false; if (!object.Equals(ExpectCompressed, other.ExpectCompressed)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1168,6 +1232,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (payload_ != null) hash ^= Payload.GetHashCode(); if (payload_ != null) hash ^= Payload.GetHashCode();
if (expectCompressed_ != null) hash ^= ExpectCompressed.GetHashCode(); if (expectCompressed_ != null) hash ^= ExpectCompressed.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1186,6 +1253,9 @@ namespace Grpc.Testing {
output.WriteRawTag(18); output.WriteRawTag(18);
output.WriteMessage(ExpectCompressed); output.WriteMessage(ExpectCompressed);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1197,6 +1267,9 @@ namespace Grpc.Testing {
if (expectCompressed_ != null) { if (expectCompressed_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpectCompressed); size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpectCompressed);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1217,6 +1290,7 @@ namespace Grpc.Testing {
} }
ExpectCompressed.MergeFrom(other.ExpectCompressed); ExpectCompressed.MergeFrom(other.ExpectCompressed);
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1225,7 +1299,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
if (payload_ == null) { if (payload_ == null) {
@ -1252,6 +1326,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class StreamingInputCallResponse : pb::IMessage<StreamingInputCallResponse> { public sealed partial class StreamingInputCallResponse : pb::IMessage<StreamingInputCallResponse> {
private static readonly pb::MessageParser<StreamingInputCallResponse> _parser = new pb::MessageParser<StreamingInputCallResponse>(() => new StreamingInputCallResponse()); private static readonly pb::MessageParser<StreamingInputCallResponse> _parser = new pb::MessageParser<StreamingInputCallResponse>(() => new StreamingInputCallResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<StreamingInputCallResponse> Parser { get { return _parser; } } public static pb::MessageParser<StreamingInputCallResponse> Parser { get { return _parser; } }
@ -1275,6 +1350,7 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StreamingInputCallResponse(StreamingInputCallResponse other) : this() { public StreamingInputCallResponse(StreamingInputCallResponse other) : this() {
aggregatedPayloadSize_ = other.aggregatedPayloadSize_; aggregatedPayloadSize_ = other.aggregatedPayloadSize_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1310,13 +1386,16 @@ namespace Grpc.Testing {
return true; return true;
} }
if (AggregatedPayloadSize != other.AggregatedPayloadSize) return false; if (AggregatedPayloadSize != other.AggregatedPayloadSize) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (AggregatedPayloadSize != 0) hash ^= AggregatedPayloadSize.GetHashCode(); if (AggregatedPayloadSize != 0) hash ^= AggregatedPayloadSize.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1331,6 +1410,9 @@ namespace Grpc.Testing {
output.WriteRawTag(8); output.WriteRawTag(8);
output.WriteInt32(AggregatedPayloadSize); output.WriteInt32(AggregatedPayloadSize);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1339,6 +1421,9 @@ namespace Grpc.Testing {
if (AggregatedPayloadSize != 0) { if (AggregatedPayloadSize != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AggregatedPayloadSize); size += 1 + pb::CodedOutputStream.ComputeInt32Size(AggregatedPayloadSize);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1350,6 +1435,7 @@ namespace Grpc.Testing {
if (other.AggregatedPayloadSize != 0) { if (other.AggregatedPayloadSize != 0) {
AggregatedPayloadSize = other.AggregatedPayloadSize; AggregatedPayloadSize = other.AggregatedPayloadSize;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1358,7 +1444,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
AggregatedPayloadSize = input.ReadInt32(); AggregatedPayloadSize = input.ReadInt32();
@ -1375,6 +1461,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class ResponseParameters : pb::IMessage<ResponseParameters> { public sealed partial class ResponseParameters : pb::IMessage<ResponseParameters> {
private static readonly pb::MessageParser<ResponseParameters> _parser = new pb::MessageParser<ResponseParameters>(() => new ResponseParameters()); private static readonly pb::MessageParser<ResponseParameters> _parser = new pb::MessageParser<ResponseParameters>(() => new ResponseParameters());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ResponseParameters> Parser { get { return _parser; } } public static pb::MessageParser<ResponseParameters> Parser { get { return _parser; } }
@ -1400,6 +1487,7 @@ namespace Grpc.Testing {
size_ = other.size_; size_ = other.size_;
intervalUs_ = other.intervalUs_; intervalUs_ = other.intervalUs_;
Compressed = other.compressed_ != null ? other.Compressed.Clone() : null; Compressed = other.compressed_ != null ? other.Compressed.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1469,7 +1557,7 @@ namespace Grpc.Testing {
if (Size != other.Size) return false; if (Size != other.Size) return false;
if (IntervalUs != other.IntervalUs) return false; if (IntervalUs != other.IntervalUs) return false;
if (!object.Equals(Compressed, other.Compressed)) return false; if (!object.Equals(Compressed, other.Compressed)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1478,6 +1566,9 @@ namespace Grpc.Testing {
if (Size != 0) hash ^= Size.GetHashCode(); if (Size != 0) hash ^= Size.GetHashCode();
if (IntervalUs != 0) hash ^= IntervalUs.GetHashCode(); if (IntervalUs != 0) hash ^= IntervalUs.GetHashCode();
if (compressed_ != null) hash ^= Compressed.GetHashCode(); if (compressed_ != null) hash ^= Compressed.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1500,6 +1591,9 @@ namespace Grpc.Testing {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteMessage(Compressed); output.WriteMessage(Compressed);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1514,6 +1608,9 @@ namespace Grpc.Testing {
if (compressed_ != null) { if (compressed_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Compressed); size += 1 + pb::CodedOutputStream.ComputeMessageSize(Compressed);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1534,6 +1631,7 @@ namespace Grpc.Testing {
} }
Compressed.MergeFrom(other.Compressed); Compressed.MergeFrom(other.Compressed);
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1542,7 +1640,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Size = input.ReadInt32(); Size = input.ReadInt32();
@ -1570,6 +1668,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class StreamingOutputCallRequest : pb::IMessage<StreamingOutputCallRequest> { public sealed partial class StreamingOutputCallRequest : pb::IMessage<StreamingOutputCallRequest> {
private static readonly pb::MessageParser<StreamingOutputCallRequest> _parser = new pb::MessageParser<StreamingOutputCallRequest>(() => new StreamingOutputCallRequest()); private static readonly pb::MessageParser<StreamingOutputCallRequest> _parser = new pb::MessageParser<StreamingOutputCallRequest>(() => new StreamingOutputCallRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<StreamingOutputCallRequest> Parser { get { return _parser; } } public static pb::MessageParser<StreamingOutputCallRequest> Parser { get { return _parser; } }
@ -1596,6 +1695,7 @@ namespace Grpc.Testing {
responseParameters_ = other.responseParameters_.Clone(); responseParameters_ = other.responseParameters_.Clone();
Payload = other.payload_ != null ? other.Payload.Clone() : null; Payload = other.payload_ != null ? other.Payload.Clone() : null;
ResponseStatus = other.responseStatus_ != null ? other.ResponseStatus.Clone() : null; ResponseStatus = other.responseStatus_ != null ? other.ResponseStatus.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1679,7 +1779,7 @@ namespace Grpc.Testing {
if(!responseParameters_.Equals(other.responseParameters_)) return false; if(!responseParameters_.Equals(other.responseParameters_)) return false;
if (!object.Equals(Payload, other.Payload)) return false; if (!object.Equals(Payload, other.Payload)) return false;
if (!object.Equals(ResponseStatus, other.ResponseStatus)) return false; if (!object.Equals(ResponseStatus, other.ResponseStatus)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1689,6 +1789,9 @@ namespace Grpc.Testing {
hash ^= responseParameters_.GetHashCode(); hash ^= responseParameters_.GetHashCode();
if (payload_ != null) hash ^= Payload.GetHashCode(); if (payload_ != null) hash ^= Payload.GetHashCode();
if (responseStatus_ != null) hash ^= ResponseStatus.GetHashCode(); if (responseStatus_ != null) hash ^= ResponseStatus.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1712,6 +1815,9 @@ namespace Grpc.Testing {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteMessage(ResponseStatus); output.WriteMessage(ResponseStatus);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1727,6 +1833,9 @@ namespace Grpc.Testing {
if (responseStatus_ != null) { if (responseStatus_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResponseStatus); size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResponseStatus);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1751,6 +1860,7 @@ namespace Grpc.Testing {
} }
ResponseStatus.MergeFrom(other.ResponseStatus); ResponseStatus.MergeFrom(other.ResponseStatus);
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1759,7 +1869,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
responseType_ = (global::Grpc.Testing.PayloadType) input.ReadEnum(); responseType_ = (global::Grpc.Testing.PayloadType) input.ReadEnum();
@ -1794,6 +1904,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class StreamingOutputCallResponse : pb::IMessage<StreamingOutputCallResponse> { public sealed partial class StreamingOutputCallResponse : pb::IMessage<StreamingOutputCallResponse> {
private static readonly pb::MessageParser<StreamingOutputCallResponse> _parser = new pb::MessageParser<StreamingOutputCallResponse>(() => new StreamingOutputCallResponse()); private static readonly pb::MessageParser<StreamingOutputCallResponse> _parser = new pb::MessageParser<StreamingOutputCallResponse>(() => new StreamingOutputCallResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<StreamingOutputCallResponse> Parser { get { return _parser; } } public static pb::MessageParser<StreamingOutputCallResponse> Parser { get { return _parser; } }
@ -1817,6 +1928,7 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StreamingOutputCallResponse(StreamingOutputCallResponse other) : this() { public StreamingOutputCallResponse(StreamingOutputCallResponse other) : this() {
Payload = other.payload_ != null ? other.Payload.Clone() : null; Payload = other.payload_ != null ? other.Payload.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1852,13 +1964,16 @@ namespace Grpc.Testing {
return true; return true;
} }
if (!object.Equals(Payload, other.Payload)) return false; if (!object.Equals(Payload, other.Payload)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (payload_ != null) hash ^= Payload.GetHashCode(); if (payload_ != null) hash ^= Payload.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1873,6 +1988,9 @@ namespace Grpc.Testing {
output.WriteRawTag(10); output.WriteRawTag(10);
output.WriteMessage(Payload); output.WriteMessage(Payload);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1881,6 +1999,9 @@ namespace Grpc.Testing {
if (payload_ != null) { if (payload_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1895,6 +2016,7 @@ namespace Grpc.Testing {
} }
Payload.MergeFrom(other.Payload); Payload.MergeFrom(other.Payload);
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1903,7 +2025,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
if (payload_ == null) { if (payload_ == null) {
@ -1924,6 +2046,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class ReconnectParams : pb::IMessage<ReconnectParams> { public sealed partial class ReconnectParams : pb::IMessage<ReconnectParams> {
private static readonly pb::MessageParser<ReconnectParams> _parser = new pb::MessageParser<ReconnectParams>(() => new ReconnectParams()); private static readonly pb::MessageParser<ReconnectParams> _parser = new pb::MessageParser<ReconnectParams>(() => new ReconnectParams());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ReconnectParams> Parser { get { return _parser; } } public static pb::MessageParser<ReconnectParams> Parser { get { return _parser; } }
@ -1947,6 +2070,7 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ReconnectParams(ReconnectParams other) : this() { public ReconnectParams(ReconnectParams other) : this() {
maxReconnectBackoffMs_ = other.maxReconnectBackoffMs_; maxReconnectBackoffMs_ = other.maxReconnectBackoffMs_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1979,13 +2103,16 @@ namespace Grpc.Testing {
return true; return true;
} }
if (MaxReconnectBackoffMs != other.MaxReconnectBackoffMs) return false; if (MaxReconnectBackoffMs != other.MaxReconnectBackoffMs) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (MaxReconnectBackoffMs != 0) hash ^= MaxReconnectBackoffMs.GetHashCode(); if (MaxReconnectBackoffMs != 0) hash ^= MaxReconnectBackoffMs.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -2000,6 +2127,9 @@ namespace Grpc.Testing {
output.WriteRawTag(8); output.WriteRawTag(8);
output.WriteInt32(MaxReconnectBackoffMs); output.WriteInt32(MaxReconnectBackoffMs);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -2008,6 +2138,9 @@ namespace Grpc.Testing {
if (MaxReconnectBackoffMs != 0) { if (MaxReconnectBackoffMs != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxReconnectBackoffMs); size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxReconnectBackoffMs);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -2019,6 +2152,7 @@ namespace Grpc.Testing {
if (other.MaxReconnectBackoffMs != 0) { if (other.MaxReconnectBackoffMs != 0) {
MaxReconnectBackoffMs = other.MaxReconnectBackoffMs; MaxReconnectBackoffMs = other.MaxReconnectBackoffMs;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -2027,7 +2161,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
MaxReconnectBackoffMs = input.ReadInt32(); MaxReconnectBackoffMs = input.ReadInt32();
@ -2046,6 +2180,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class ReconnectInfo : pb::IMessage<ReconnectInfo> { public sealed partial class ReconnectInfo : pb::IMessage<ReconnectInfo> {
private static readonly pb::MessageParser<ReconnectInfo> _parser = new pb::MessageParser<ReconnectInfo>(() => new ReconnectInfo()); private static readonly pb::MessageParser<ReconnectInfo> _parser = new pb::MessageParser<ReconnectInfo>(() => new ReconnectInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ReconnectInfo> Parser { get { return _parser; } } public static pb::MessageParser<ReconnectInfo> Parser { get { return _parser; } }
@ -2070,6 +2205,7 @@ namespace Grpc.Testing {
public ReconnectInfo(ReconnectInfo other) : this() { public ReconnectInfo(ReconnectInfo other) : this() {
passed_ = other.passed_; passed_ = other.passed_;
backoffMs_ = other.backoffMs_.Clone(); backoffMs_ = other.backoffMs_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -2113,7 +2249,7 @@ namespace Grpc.Testing {
} }
if (Passed != other.Passed) return false; if (Passed != other.Passed) return false;
if(!backoffMs_.Equals(other.backoffMs_)) return false; if(!backoffMs_.Equals(other.backoffMs_)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -2121,6 +2257,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (Passed != false) hash ^= Passed.GetHashCode(); if (Passed != false) hash ^= Passed.GetHashCode();
hash ^= backoffMs_.GetHashCode(); hash ^= backoffMs_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -2136,6 +2275,9 @@ namespace Grpc.Testing {
output.WriteBool(Passed); output.WriteBool(Passed);
} }
backoffMs_.WriteTo(output, _repeated_backoffMs_codec); backoffMs_.WriteTo(output, _repeated_backoffMs_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -2145,6 +2287,9 @@ namespace Grpc.Testing {
size += 1 + 1; size += 1 + 1;
} }
size += backoffMs_.CalculateSize(_repeated_backoffMs_codec); size += backoffMs_.CalculateSize(_repeated_backoffMs_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -2157,6 +2302,7 @@ namespace Grpc.Testing {
Passed = other.Passed; Passed = other.Passed;
} }
backoffMs_.Add(other.backoffMs_); backoffMs_.Add(other.backoffMs_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -2165,7 +2311,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
Passed = input.ReadBool(); Passed = input.ReadBool();

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/metrics.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/metrics.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -48,6 +50,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class GaugeResponse : pb::IMessage<GaugeResponse> { public sealed partial class GaugeResponse : pb::IMessage<GaugeResponse> {
private static readonly pb::MessageParser<GaugeResponse> _parser = new pb::MessageParser<GaugeResponse>(() => new GaugeResponse()); private static readonly pb::MessageParser<GaugeResponse> _parser = new pb::MessageParser<GaugeResponse>(() => new GaugeResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<GaugeResponse> Parser { get { return _parser; } } public static pb::MessageParser<GaugeResponse> Parser { get { return _parser; } }
@ -83,6 +86,7 @@ namespace Grpc.Testing {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -169,10 +173,10 @@ namespace Grpc.Testing {
} }
if (Name != other.Name) return false; if (Name != other.Name) return false;
if (LongValue != other.LongValue) return false; if (LongValue != other.LongValue) return false;
if (DoubleValue != other.DoubleValue) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DoubleValue, other.DoubleValue)) return false;
if (StringValue != other.StringValue) return false; if (StringValue != other.StringValue) return false;
if (ValueCase != other.ValueCase) return false; if (ValueCase != other.ValueCase) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -180,9 +184,12 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode();
if (valueCase_ == ValueOneofCase.LongValue) hash ^= LongValue.GetHashCode(); if (valueCase_ == ValueOneofCase.LongValue) hash ^= LongValue.GetHashCode();
if (valueCase_ == ValueOneofCase.DoubleValue) hash ^= DoubleValue.GetHashCode(); if (valueCase_ == ValueOneofCase.DoubleValue) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DoubleValue);
if (valueCase_ == ValueOneofCase.StringValue) hash ^= StringValue.GetHashCode(); if (valueCase_ == ValueOneofCase.StringValue) hash ^= StringValue.GetHashCode();
hash ^= (int) valueCase_; hash ^= (int) valueCase_;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -209,6 +216,9 @@ namespace Grpc.Testing {
output.WriteRawTag(34); output.WriteRawTag(34);
output.WriteString(StringValue); output.WriteString(StringValue);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -226,6 +236,9 @@ namespace Grpc.Testing {
if (valueCase_ == ValueOneofCase.StringValue) { if (valueCase_ == ValueOneofCase.StringValue) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(StringValue); size += 1 + pb::CodedOutputStream.ComputeStringSize(StringValue);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -249,6 +262,7 @@ namespace Grpc.Testing {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -257,7 +271,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
Name = input.ReadString(); Name = input.ReadString();
@ -286,6 +300,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class GaugeRequest : pb::IMessage<GaugeRequest> { public sealed partial class GaugeRequest : pb::IMessage<GaugeRequest> {
private static readonly pb::MessageParser<GaugeRequest> _parser = new pb::MessageParser<GaugeRequest>(() => new GaugeRequest()); private static readonly pb::MessageParser<GaugeRequest> _parser = new pb::MessageParser<GaugeRequest>(() => new GaugeRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<GaugeRequest> Parser { get { return _parser; } } public static pb::MessageParser<GaugeRequest> Parser { get { return _parser; } }
@ -309,6 +324,7 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GaugeRequest(GaugeRequest other) : this() { public GaugeRequest(GaugeRequest other) : this() {
name_ = other.name_; name_ = other.name_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -341,13 +357,16 @@ namespace Grpc.Testing {
return true; return true;
} }
if (Name != other.Name) return false; if (Name != other.Name) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -362,6 +381,9 @@ namespace Grpc.Testing {
output.WriteRawTag(10); output.WriteRawTag(10);
output.WriteString(Name); output.WriteString(Name);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -370,6 +392,9 @@ namespace Grpc.Testing {
if (Name.Length != 0) { if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -381,6 +406,7 @@ namespace Grpc.Testing {
if (other.Name.Length != 0) { if (other.Name.Length != 0) {
Name = other.Name; Name = other.Name;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -389,7 +415,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
Name = input.ReadString(); Name = input.ReadString();
@ -403,6 +429,7 @@ namespace Grpc.Testing {
public sealed partial class EmptyMessage : pb::IMessage<EmptyMessage> { public sealed partial class EmptyMessage : pb::IMessage<EmptyMessage> {
private static readonly pb::MessageParser<EmptyMessage> _parser = new pb::MessageParser<EmptyMessage>(() => new EmptyMessage()); private static readonly pb::MessageParser<EmptyMessage> _parser = new pb::MessageParser<EmptyMessage>(() => new EmptyMessage());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<EmptyMessage> Parser { get { return _parser; } } public static pb::MessageParser<EmptyMessage> Parser { get { return _parser; } }
@ -425,6 +452,7 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public EmptyMessage(EmptyMessage other) : this() { public EmptyMessage(EmptyMessage other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -445,12 +473,15 @@ namespace Grpc.Testing {
if (ReferenceEquals(other, this)) { if (ReferenceEquals(other, this)) {
return true; return true;
} }
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -461,11 +492,17 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -474,6 +511,7 @@ namespace Grpc.Testing {
if (other == null) { if (other == null) {
return; return;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -482,7 +520,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
} }
} }

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/payloads.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/payloads.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -46,6 +48,7 @@ namespace Grpc.Testing {
#region Messages #region Messages
public sealed partial class ByteBufferParams : pb::IMessage<ByteBufferParams> { public sealed partial class ByteBufferParams : pb::IMessage<ByteBufferParams> {
private static readonly pb::MessageParser<ByteBufferParams> _parser = new pb::MessageParser<ByteBufferParams>(() => new ByteBufferParams()); private static readonly pb::MessageParser<ByteBufferParams> _parser = new pb::MessageParser<ByteBufferParams>(() => new ByteBufferParams());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ByteBufferParams> Parser { get { return _parser; } } public static pb::MessageParser<ByteBufferParams> Parser { get { return _parser; } }
@ -70,6 +73,7 @@ namespace Grpc.Testing {
public ByteBufferParams(ByteBufferParams other) : this() { public ByteBufferParams(ByteBufferParams other) : this() {
reqSize_ = other.reqSize_; reqSize_ = other.reqSize_;
respSize_ = other.respSize_; respSize_ = other.respSize_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -114,7 +118,7 @@ namespace Grpc.Testing {
} }
if (ReqSize != other.ReqSize) return false; if (ReqSize != other.ReqSize) return false;
if (RespSize != other.RespSize) return false; if (RespSize != other.RespSize) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -122,6 +126,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (ReqSize != 0) hash ^= ReqSize.GetHashCode(); if (ReqSize != 0) hash ^= ReqSize.GetHashCode();
if (RespSize != 0) hash ^= RespSize.GetHashCode(); if (RespSize != 0) hash ^= RespSize.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -140,6 +147,9 @@ namespace Grpc.Testing {
output.WriteRawTag(16); output.WriteRawTag(16);
output.WriteInt32(RespSize); output.WriteInt32(RespSize);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -151,6 +161,9 @@ namespace Grpc.Testing {
if (RespSize != 0) { if (RespSize != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RespSize); size += 1 + pb::CodedOutputStream.ComputeInt32Size(RespSize);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -165,6 +178,7 @@ namespace Grpc.Testing {
if (other.RespSize != 0) { if (other.RespSize != 0) {
RespSize = other.RespSize; RespSize = other.RespSize;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -173,7 +187,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
ReqSize = input.ReadInt32(); ReqSize = input.ReadInt32();
@ -191,6 +205,7 @@ namespace Grpc.Testing {
public sealed partial class SimpleProtoParams : pb::IMessage<SimpleProtoParams> { public sealed partial class SimpleProtoParams : pb::IMessage<SimpleProtoParams> {
private static readonly pb::MessageParser<SimpleProtoParams> _parser = new pb::MessageParser<SimpleProtoParams>(() => new SimpleProtoParams()); private static readonly pb::MessageParser<SimpleProtoParams> _parser = new pb::MessageParser<SimpleProtoParams>(() => new SimpleProtoParams());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SimpleProtoParams> Parser { get { return _parser; } } public static pb::MessageParser<SimpleProtoParams> Parser { get { return _parser; } }
@ -215,6 +230,7 @@ namespace Grpc.Testing {
public SimpleProtoParams(SimpleProtoParams other) : this() { public SimpleProtoParams(SimpleProtoParams other) : this() {
reqSize_ = other.reqSize_; reqSize_ = other.reqSize_;
respSize_ = other.respSize_; respSize_ = other.respSize_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -259,7 +275,7 @@ namespace Grpc.Testing {
} }
if (ReqSize != other.ReqSize) return false; if (ReqSize != other.ReqSize) return false;
if (RespSize != other.RespSize) return false; if (RespSize != other.RespSize) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -267,6 +283,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (ReqSize != 0) hash ^= ReqSize.GetHashCode(); if (ReqSize != 0) hash ^= ReqSize.GetHashCode();
if (RespSize != 0) hash ^= RespSize.GetHashCode(); if (RespSize != 0) hash ^= RespSize.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -285,6 +304,9 @@ namespace Grpc.Testing {
output.WriteRawTag(16); output.WriteRawTag(16);
output.WriteInt32(RespSize); output.WriteInt32(RespSize);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -296,6 +318,9 @@ namespace Grpc.Testing {
if (RespSize != 0) { if (RespSize != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RespSize); size += 1 + pb::CodedOutputStream.ComputeInt32Size(RespSize);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -310,6 +335,7 @@ namespace Grpc.Testing {
if (other.RespSize != 0) { if (other.RespSize != 0) {
RespSize = other.RespSize; RespSize = other.RespSize;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -318,7 +344,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
ReqSize = input.ReadInt32(); ReqSize = input.ReadInt32();
@ -340,6 +366,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class ComplexProtoParams : pb::IMessage<ComplexProtoParams> { public sealed partial class ComplexProtoParams : pb::IMessage<ComplexProtoParams> {
private static readonly pb::MessageParser<ComplexProtoParams> _parser = new pb::MessageParser<ComplexProtoParams>(() => new ComplexProtoParams()); private static readonly pb::MessageParser<ComplexProtoParams> _parser = new pb::MessageParser<ComplexProtoParams>(() => new ComplexProtoParams());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ComplexProtoParams> Parser { get { return _parser; } } public static pb::MessageParser<ComplexProtoParams> Parser { get { return _parser; } }
@ -362,6 +389,7 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ComplexProtoParams(ComplexProtoParams other) : this() { public ComplexProtoParams(ComplexProtoParams other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -382,12 +410,15 @@ namespace Grpc.Testing {
if (ReferenceEquals(other, this)) { if (ReferenceEquals(other, this)) {
return true; return true;
} }
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -398,11 +429,17 @@ namespace Grpc.Testing {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -411,6 +448,7 @@ namespace Grpc.Testing {
if (other == null) { if (other == null) {
return; return;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -419,7 +457,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
} }
} }
@ -429,6 +467,7 @@ namespace Grpc.Testing {
public sealed partial class PayloadConfig : pb::IMessage<PayloadConfig> { public sealed partial class PayloadConfig : pb::IMessage<PayloadConfig> {
private static readonly pb::MessageParser<PayloadConfig> _parser = new pb::MessageParser<PayloadConfig>(() => new PayloadConfig()); private static readonly pb::MessageParser<PayloadConfig> _parser = new pb::MessageParser<PayloadConfig>(() => new PayloadConfig());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<PayloadConfig> Parser { get { return _parser; } } public static pb::MessageParser<PayloadConfig> Parser { get { return _parser; } }
@ -463,6 +502,7 @@ namespace Grpc.Testing {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -540,7 +580,7 @@ namespace Grpc.Testing {
if (!object.Equals(SimpleParams, other.SimpleParams)) return false; if (!object.Equals(SimpleParams, other.SimpleParams)) return false;
if (!object.Equals(ComplexParams, other.ComplexParams)) return false; if (!object.Equals(ComplexParams, other.ComplexParams)) return false;
if (PayloadCase != other.PayloadCase) return false; if (PayloadCase != other.PayloadCase) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -550,6 +590,9 @@ namespace Grpc.Testing {
if (payloadCase_ == PayloadOneofCase.SimpleParams) hash ^= SimpleParams.GetHashCode(); if (payloadCase_ == PayloadOneofCase.SimpleParams) hash ^= SimpleParams.GetHashCode();
if (payloadCase_ == PayloadOneofCase.ComplexParams) hash ^= ComplexParams.GetHashCode(); if (payloadCase_ == PayloadOneofCase.ComplexParams) hash ^= ComplexParams.GetHashCode();
hash ^= (int) payloadCase_; hash ^= (int) payloadCase_;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -572,6 +615,9 @@ namespace Grpc.Testing {
output.WriteRawTag(26); output.WriteRawTag(26);
output.WriteMessage(ComplexParams); output.WriteMessage(ComplexParams);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -586,6 +632,9 @@ namespace Grpc.Testing {
if (payloadCase_ == PayloadOneofCase.ComplexParams) { if (payloadCase_ == PayloadOneofCase.ComplexParams) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComplexParams); size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComplexParams);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -615,6 +664,7 @@ namespace Grpc.Testing {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -623,7 +673,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
global::Grpc.Testing.ByteBufferParams subBuilder = new global::Grpc.Testing.ByteBufferParams(); global::Grpc.Testing.ByteBufferParams subBuilder = new global::Grpc.Testing.ByteBufferParams();

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/report_qps_scenario_service.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/report_qps_scenario_service.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/stats.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/stats.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -55,6 +57,7 @@ namespace Grpc.Testing {
#region Messages #region Messages
public sealed partial class ServerStats : pb::IMessage<ServerStats> { public sealed partial class ServerStats : pb::IMessage<ServerStats> {
private static readonly pb::MessageParser<ServerStats> _parser = new pb::MessageParser<ServerStats>(() => new ServerStats()); private static readonly pb::MessageParser<ServerStats> _parser = new pb::MessageParser<ServerStats>(() => new ServerStats());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ServerStats> Parser { get { return _parser; } } public static pb::MessageParser<ServerStats> Parser { get { return _parser; } }
@ -84,6 +87,7 @@ namespace Grpc.Testing {
idleCpuTime_ = other.idleCpuTime_; idleCpuTime_ = other.idleCpuTime_;
cqPollCount_ = other.cqPollCount_; cqPollCount_ = other.cqPollCount_;
CoreStats = other.coreStats_ != null ? other.CoreStats.Clone() : null; CoreStats = other.coreStats_ != null ? other.CoreStats.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -203,26 +207,29 @@ namespace Grpc.Testing {
if (ReferenceEquals(other, this)) { if (ReferenceEquals(other, this)) {
return true; return true;
} }
if (TimeElapsed != other.TimeElapsed) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeElapsed, other.TimeElapsed)) return false;
if (TimeUser != other.TimeUser) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeUser, other.TimeUser)) return false;
if (TimeSystem != other.TimeSystem) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeSystem, other.TimeSystem)) return false;
if (TotalCpuTime != other.TotalCpuTime) return false; if (TotalCpuTime != other.TotalCpuTime) return false;
if (IdleCpuTime != other.IdleCpuTime) return false; if (IdleCpuTime != other.IdleCpuTime) return false;
if (CqPollCount != other.CqPollCount) return false; if (CqPollCount != other.CqPollCount) return false;
if (!object.Equals(CoreStats, other.CoreStats)) return false; if (!object.Equals(CoreStats, other.CoreStats)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (TimeElapsed != 0D) hash ^= TimeElapsed.GetHashCode(); if (TimeElapsed != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeElapsed);
if (TimeUser != 0D) hash ^= TimeUser.GetHashCode(); if (TimeUser != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeUser);
if (TimeSystem != 0D) hash ^= TimeSystem.GetHashCode(); if (TimeSystem != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeSystem);
if (TotalCpuTime != 0UL) hash ^= TotalCpuTime.GetHashCode(); if (TotalCpuTime != 0UL) hash ^= TotalCpuTime.GetHashCode();
if (IdleCpuTime != 0UL) hash ^= IdleCpuTime.GetHashCode(); if (IdleCpuTime != 0UL) hash ^= IdleCpuTime.GetHashCode();
if (CqPollCount != 0UL) hash ^= CqPollCount.GetHashCode(); if (CqPollCount != 0UL) hash ^= CqPollCount.GetHashCode();
if (coreStats_ != null) hash ^= CoreStats.GetHashCode(); if (coreStats_ != null) hash ^= CoreStats.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -261,6 +268,9 @@ namespace Grpc.Testing {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteMessage(CoreStats); output.WriteMessage(CoreStats);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -287,6 +297,9 @@ namespace Grpc.Testing {
if (coreStats_ != null) { if (coreStats_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CoreStats); size += 1 + pb::CodedOutputStream.ComputeMessageSize(CoreStats);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -319,6 +332,7 @@ namespace Grpc.Testing {
} }
CoreStats.MergeFrom(other.CoreStats); CoreStats.MergeFrom(other.CoreStats);
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -327,7 +341,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 9: { case 9: {
TimeElapsed = input.ReadDouble(); TimeElapsed = input.ReadDouble();
@ -371,6 +385,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class HistogramParams : pb::IMessage<HistogramParams> { public sealed partial class HistogramParams : pb::IMessage<HistogramParams> {
private static readonly pb::MessageParser<HistogramParams> _parser = new pb::MessageParser<HistogramParams>(() => new HistogramParams()); private static readonly pb::MessageParser<HistogramParams> _parser = new pb::MessageParser<HistogramParams>(() => new HistogramParams());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<HistogramParams> Parser { get { return _parser; } } public static pb::MessageParser<HistogramParams> Parser { get { return _parser; } }
@ -395,6 +410,7 @@ namespace Grpc.Testing {
public HistogramParams(HistogramParams other) : this() { public HistogramParams(HistogramParams other) : this() {
resolution_ = other.resolution_; resolution_ = other.resolution_;
maxPossible_ = other.maxPossible_; maxPossible_ = other.maxPossible_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -443,16 +459,19 @@ namespace Grpc.Testing {
if (ReferenceEquals(other, this)) { if (ReferenceEquals(other, this)) {
return true; return true;
} }
if (Resolution != other.Resolution) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Resolution, other.Resolution)) return false;
if (MaxPossible != other.MaxPossible) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxPossible, other.MaxPossible)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Resolution != 0D) hash ^= Resolution.GetHashCode(); if (Resolution != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Resolution);
if (MaxPossible != 0D) hash ^= MaxPossible.GetHashCode(); if (MaxPossible != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxPossible);
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -471,6 +490,9 @@ namespace Grpc.Testing {
output.WriteRawTag(17); output.WriteRawTag(17);
output.WriteDouble(MaxPossible); output.WriteDouble(MaxPossible);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -482,6 +504,9 @@ namespace Grpc.Testing {
if (MaxPossible != 0D) { if (MaxPossible != 0D) {
size += 1 + 8; size += 1 + 8;
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -496,6 +521,7 @@ namespace Grpc.Testing {
if (other.MaxPossible != 0D) { if (other.MaxPossible != 0D) {
MaxPossible = other.MaxPossible; MaxPossible = other.MaxPossible;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -504,7 +530,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 9: { case 9: {
Resolution = input.ReadDouble(); Resolution = input.ReadDouble();
@ -525,6 +551,7 @@ namespace Grpc.Testing {
/// </summary> /// </summary>
public sealed partial class HistogramData : pb::IMessage<HistogramData> { public sealed partial class HistogramData : pb::IMessage<HistogramData> {
private static readonly pb::MessageParser<HistogramData> _parser = new pb::MessageParser<HistogramData>(() => new HistogramData()); private static readonly pb::MessageParser<HistogramData> _parser = new pb::MessageParser<HistogramData>(() => new HistogramData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<HistogramData> Parser { get { return _parser; } } public static pb::MessageParser<HistogramData> Parser { get { return _parser; } }
@ -553,6 +580,7 @@ namespace Grpc.Testing {
sum_ = other.sum_; sum_ = other.sum_;
sumOfSquares_ = other.sumOfSquares_; sumOfSquares_ = other.sumOfSquares_;
count_ = other.count_; count_ = other.count_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -639,23 +667,26 @@ namespace Grpc.Testing {
return true; return true;
} }
if(!bucket_.Equals(other.bucket_)) return false; if(!bucket_.Equals(other.bucket_)) return false;
if (MinSeen != other.MinSeen) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MinSeen, other.MinSeen)) return false;
if (MaxSeen != other.MaxSeen) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxSeen, other.MaxSeen)) return false;
if (Sum != other.Sum) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Sum, other.Sum)) return false;
if (SumOfSquares != other.SumOfSquares) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SumOfSquares, other.SumOfSquares)) return false;
if (Count != other.Count) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Count, other.Count)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
hash ^= bucket_.GetHashCode(); hash ^= bucket_.GetHashCode();
if (MinSeen != 0D) hash ^= MinSeen.GetHashCode(); if (MinSeen != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MinSeen);
if (MaxSeen != 0D) hash ^= MaxSeen.GetHashCode(); if (MaxSeen != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxSeen);
if (Sum != 0D) hash ^= Sum.GetHashCode(); if (Sum != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Sum);
if (SumOfSquares != 0D) hash ^= SumOfSquares.GetHashCode(); if (SumOfSquares != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SumOfSquares);
if (Count != 0D) hash ^= Count.GetHashCode(); if (Count != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Count);
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -687,6 +718,9 @@ namespace Grpc.Testing {
output.WriteRawTag(49); output.WriteRawTag(49);
output.WriteDouble(Count); output.WriteDouble(Count);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -708,6 +742,9 @@ namespace Grpc.Testing {
if (Count != 0D) { if (Count != 0D) {
size += 1 + 8; size += 1 + 8;
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -732,6 +769,7 @@ namespace Grpc.Testing {
if (other.Count != 0D) { if (other.Count != 0D) {
Count = other.Count; Count = other.Count;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -740,7 +778,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: case 10:
case 8: { case 8: {
@ -775,6 +813,7 @@ namespace Grpc.Testing {
public sealed partial class RequestResultCount : pb::IMessage<RequestResultCount> { public sealed partial class RequestResultCount : pb::IMessage<RequestResultCount> {
private static readonly pb::MessageParser<RequestResultCount> _parser = new pb::MessageParser<RequestResultCount>(() => new RequestResultCount()); private static readonly pb::MessageParser<RequestResultCount> _parser = new pb::MessageParser<RequestResultCount>(() => new RequestResultCount());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<RequestResultCount> Parser { get { return _parser; } } public static pb::MessageParser<RequestResultCount> Parser { get { return _parser; } }
@ -799,6 +838,7 @@ namespace Grpc.Testing {
public RequestResultCount(RequestResultCount other) : this() { public RequestResultCount(RequestResultCount other) : this() {
statusCode_ = other.statusCode_; statusCode_ = other.statusCode_;
count_ = other.count_; count_ = other.count_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -843,7 +883,7 @@ namespace Grpc.Testing {
} }
if (StatusCode != other.StatusCode) return false; if (StatusCode != other.StatusCode) return false;
if (Count != other.Count) return false; if (Count != other.Count) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -851,6 +891,9 @@ namespace Grpc.Testing {
int hash = 1; int hash = 1;
if (StatusCode != 0) hash ^= StatusCode.GetHashCode(); if (StatusCode != 0) hash ^= StatusCode.GetHashCode();
if (Count != 0L) hash ^= Count.GetHashCode(); if (Count != 0L) hash ^= Count.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -869,6 +912,9 @@ namespace Grpc.Testing {
output.WriteRawTag(16); output.WriteRawTag(16);
output.WriteInt64(Count); output.WriteInt64(Count);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -880,6 +926,9 @@ namespace Grpc.Testing {
if (Count != 0L) { if (Count != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Count); size += 1 + pb::CodedOutputStream.ComputeInt64Size(Count);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -894,6 +943,7 @@ namespace Grpc.Testing {
if (other.Count != 0L) { if (other.Count != 0L) {
Count = other.Count; Count = other.Count;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -902,7 +952,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
StatusCode = input.ReadInt32(); StatusCode = input.ReadInt32();
@ -920,6 +970,7 @@ namespace Grpc.Testing {
public sealed partial class ClientStats : pb::IMessage<ClientStats> { public sealed partial class ClientStats : pb::IMessage<ClientStats> {
private static readonly pb::MessageParser<ClientStats> _parser = new pb::MessageParser<ClientStats>(() => new ClientStats()); private static readonly pb::MessageParser<ClientStats> _parser = new pb::MessageParser<ClientStats>(() => new ClientStats());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ClientStats> Parser { get { return _parser; } } public static pb::MessageParser<ClientStats> Parser { get { return _parser; } }
@ -949,6 +1000,7 @@ namespace Grpc.Testing {
requestResults_ = other.requestResults_.Clone(); requestResults_ = other.requestResults_.Clone();
cqPollCount_ = other.cqPollCount_; cqPollCount_ = other.cqPollCount_;
CoreStats = other.coreStats_ != null ? other.CoreStats.Clone() : null; CoreStats = other.coreStats_ != null ? other.CoreStats.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1061,25 +1113,28 @@ namespace Grpc.Testing {
return true; return true;
} }
if (!object.Equals(Latencies, other.Latencies)) return false; if (!object.Equals(Latencies, other.Latencies)) return false;
if (TimeElapsed != other.TimeElapsed) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeElapsed, other.TimeElapsed)) return false;
if (TimeUser != other.TimeUser) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeUser, other.TimeUser)) return false;
if (TimeSystem != other.TimeSystem) return false; if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TimeSystem, other.TimeSystem)) return false;
if(!requestResults_.Equals(other.requestResults_)) return false; if(!requestResults_.Equals(other.requestResults_)) return false;
if (CqPollCount != other.CqPollCount) return false; if (CqPollCount != other.CqPollCount) return false;
if (!object.Equals(CoreStats, other.CoreStats)) return false; if (!object.Equals(CoreStats, other.CoreStats)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (latencies_ != null) hash ^= Latencies.GetHashCode(); if (latencies_ != null) hash ^= Latencies.GetHashCode();
if (TimeElapsed != 0D) hash ^= TimeElapsed.GetHashCode(); if (TimeElapsed != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeElapsed);
if (TimeUser != 0D) hash ^= TimeUser.GetHashCode(); if (TimeUser != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeUser);
if (TimeSystem != 0D) hash ^= TimeSystem.GetHashCode(); if (TimeSystem != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TimeSystem);
hash ^= requestResults_.GetHashCode(); hash ^= requestResults_.GetHashCode();
if (CqPollCount != 0UL) hash ^= CqPollCount.GetHashCode(); if (CqPollCount != 0UL) hash ^= CqPollCount.GetHashCode();
if (coreStats_ != null) hash ^= CoreStats.GetHashCode(); if (coreStats_ != null) hash ^= CoreStats.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1115,6 +1170,9 @@ namespace Grpc.Testing {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteMessage(CoreStats); output.WriteMessage(CoreStats);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1139,6 +1197,9 @@ namespace Grpc.Testing {
if (coreStats_ != null) { if (coreStats_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CoreStats); size += 1 + pb::CodedOutputStream.ComputeMessageSize(CoreStats);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1172,6 +1233,7 @@ namespace Grpc.Testing {
} }
CoreStats.MergeFrom(other.CoreStats); CoreStats.MergeFrom(other.CoreStats);
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1180,7 +1242,7 @@ namespace Grpc.Testing {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
if (latencies_ == null) { if (latencies_ == null) {

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/test.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/test.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: src/proto/grpc/testing/worker_service.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/worker_service.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code

@ -1,5 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // <auto-generated>
// source: grpc/reflection/v1alpha/reflection.proto // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/reflection/v1alpha/reflection.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021 #pragma warning disable 1591, 0612, 3021
#region Designer generated code #region Designer generated code
@ -74,6 +76,7 @@ namespace Grpc.Reflection.V1Alpha {
/// </summary> /// </summary>
public sealed partial class ServerReflectionRequest : pb::IMessage<ServerReflectionRequest> { public sealed partial class ServerReflectionRequest : pb::IMessage<ServerReflectionRequest> {
private static readonly pb::MessageParser<ServerReflectionRequest> _parser = new pb::MessageParser<ServerReflectionRequest>(() => new ServerReflectionRequest()); private static readonly pb::MessageParser<ServerReflectionRequest> _parser = new pb::MessageParser<ServerReflectionRequest>(() => new ServerReflectionRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ServerReflectionRequest> Parser { get { return _parser; } } public static pb::MessageParser<ServerReflectionRequest> Parser { get { return _parser; } }
@ -115,6 +118,7 @@ namespace Grpc.Reflection.V1Alpha {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -256,7 +260,7 @@ namespace Grpc.Reflection.V1Alpha {
if (AllExtensionNumbersOfType != other.AllExtensionNumbersOfType) return false; if (AllExtensionNumbersOfType != other.AllExtensionNumbersOfType) return false;
if (ListServices != other.ListServices) return false; if (ListServices != other.ListServices) return false;
if (MessageRequestCase != other.MessageRequestCase) return false; if (MessageRequestCase != other.MessageRequestCase) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -269,6 +273,9 @@ namespace Grpc.Reflection.V1Alpha {
if (messageRequestCase_ == MessageRequestOneofCase.AllExtensionNumbersOfType) hash ^= AllExtensionNumbersOfType.GetHashCode(); if (messageRequestCase_ == MessageRequestOneofCase.AllExtensionNumbersOfType) hash ^= AllExtensionNumbersOfType.GetHashCode();
if (messageRequestCase_ == MessageRequestOneofCase.ListServices) hash ^= ListServices.GetHashCode(); if (messageRequestCase_ == MessageRequestOneofCase.ListServices) hash ^= ListServices.GetHashCode();
hash ^= (int) messageRequestCase_; hash ^= (int) messageRequestCase_;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -303,6 +310,9 @@ namespace Grpc.Reflection.V1Alpha {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteString(ListServices); output.WriteString(ListServices);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -326,6 +336,9 @@ namespace Grpc.Reflection.V1Alpha {
if (messageRequestCase_ == MessageRequestOneofCase.ListServices) { if (messageRequestCase_ == MessageRequestOneofCase.ListServices) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ListServices); size += 1 + pb::CodedOutputStream.ComputeStringSize(ListServices);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -358,6 +371,7 @@ namespace Grpc.Reflection.V1Alpha {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -366,7 +380,7 @@ namespace Grpc.Reflection.V1Alpha {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
Host = input.ReadString(); Host = input.ReadString();
@ -409,6 +423,7 @@ namespace Grpc.Reflection.V1Alpha {
/// </summary> /// </summary>
public sealed partial class ExtensionRequest : pb::IMessage<ExtensionRequest> { public sealed partial class ExtensionRequest : pb::IMessage<ExtensionRequest> {
private static readonly pb::MessageParser<ExtensionRequest> _parser = new pb::MessageParser<ExtensionRequest>(() => new ExtensionRequest()); private static readonly pb::MessageParser<ExtensionRequest> _parser = new pb::MessageParser<ExtensionRequest>(() => new ExtensionRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ExtensionRequest> Parser { get { return _parser; } } public static pb::MessageParser<ExtensionRequest> Parser { get { return _parser; } }
@ -433,6 +448,7 @@ namespace Grpc.Reflection.V1Alpha {
public ExtensionRequest(ExtensionRequest other) : this() { public ExtensionRequest(ExtensionRequest other) : this() {
containingType_ = other.containingType_; containingType_ = other.containingType_;
extensionNumber_ = other.extensionNumber_; extensionNumber_ = other.extensionNumber_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -480,7 +496,7 @@ namespace Grpc.Reflection.V1Alpha {
} }
if (ContainingType != other.ContainingType) return false; if (ContainingType != other.ContainingType) return false;
if (ExtensionNumber != other.ExtensionNumber) return false; if (ExtensionNumber != other.ExtensionNumber) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -488,6 +504,9 @@ namespace Grpc.Reflection.V1Alpha {
int hash = 1; int hash = 1;
if (ContainingType.Length != 0) hash ^= ContainingType.GetHashCode(); if (ContainingType.Length != 0) hash ^= ContainingType.GetHashCode();
if (ExtensionNumber != 0) hash ^= ExtensionNumber.GetHashCode(); if (ExtensionNumber != 0) hash ^= ExtensionNumber.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -506,6 +525,9 @@ namespace Grpc.Reflection.V1Alpha {
output.WriteRawTag(16); output.WriteRawTag(16);
output.WriteInt32(ExtensionNumber); output.WriteInt32(ExtensionNumber);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -517,6 +539,9 @@ namespace Grpc.Reflection.V1Alpha {
if (ExtensionNumber != 0) { if (ExtensionNumber != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExtensionNumber); size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExtensionNumber);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -531,6 +556,7 @@ namespace Grpc.Reflection.V1Alpha {
if (other.ExtensionNumber != 0) { if (other.ExtensionNumber != 0) {
ExtensionNumber = other.ExtensionNumber; ExtensionNumber = other.ExtensionNumber;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -539,7 +565,7 @@ namespace Grpc.Reflection.V1Alpha {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
ContainingType = input.ReadString(); ContainingType = input.ReadString();
@ -560,6 +586,7 @@ namespace Grpc.Reflection.V1Alpha {
/// </summary> /// </summary>
public sealed partial class ServerReflectionResponse : pb::IMessage<ServerReflectionResponse> { public sealed partial class ServerReflectionResponse : pb::IMessage<ServerReflectionResponse> {
private static readonly pb::MessageParser<ServerReflectionResponse> _parser = new pb::MessageParser<ServerReflectionResponse>(() => new ServerReflectionResponse()); private static readonly pb::MessageParser<ServerReflectionResponse> _parser = new pb::MessageParser<ServerReflectionResponse>(() => new ServerReflectionResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ServerReflectionResponse> Parser { get { return _parser; } } public static pb::MessageParser<ServerReflectionResponse> Parser { get { return _parser; } }
@ -599,6 +626,7 @@ namespace Grpc.Reflection.V1Alpha {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -730,7 +758,7 @@ namespace Grpc.Reflection.V1Alpha {
if (!object.Equals(ListServicesResponse, other.ListServicesResponse)) return false; if (!object.Equals(ListServicesResponse, other.ListServicesResponse)) return false;
if (!object.Equals(ErrorResponse, other.ErrorResponse)) return false; if (!object.Equals(ErrorResponse, other.ErrorResponse)) return false;
if (MessageResponseCase != other.MessageResponseCase) return false; if (MessageResponseCase != other.MessageResponseCase) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -743,6 +771,9 @@ namespace Grpc.Reflection.V1Alpha {
if (messageResponseCase_ == MessageResponseOneofCase.ListServicesResponse) hash ^= ListServicesResponse.GetHashCode(); if (messageResponseCase_ == MessageResponseOneofCase.ListServicesResponse) hash ^= ListServicesResponse.GetHashCode();
if (messageResponseCase_ == MessageResponseOneofCase.ErrorResponse) hash ^= ErrorResponse.GetHashCode(); if (messageResponseCase_ == MessageResponseOneofCase.ErrorResponse) hash ^= ErrorResponse.GetHashCode();
hash ^= (int) messageResponseCase_; hash ^= (int) messageResponseCase_;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -777,6 +808,9 @@ namespace Grpc.Reflection.V1Alpha {
output.WriteRawTag(58); output.WriteRawTag(58);
output.WriteMessage(ErrorResponse); output.WriteMessage(ErrorResponse);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -800,6 +834,9 @@ namespace Grpc.Reflection.V1Alpha {
if (messageResponseCase_ == MessageResponseOneofCase.ErrorResponse) { if (messageResponseCase_ == MessageResponseOneofCase.ErrorResponse) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorResponse); size += 1 + pb::CodedOutputStream.ComputeMessageSize(ErrorResponse);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -844,6 +881,7 @@ namespace Grpc.Reflection.V1Alpha {
break; break;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -852,7 +890,7 @@ namespace Grpc.Reflection.V1Alpha {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
ValidHost = input.ReadString(); ValidHost = input.ReadString();
@ -914,6 +952,7 @@ namespace Grpc.Reflection.V1Alpha {
/// </summary> /// </summary>
public sealed partial class FileDescriptorResponse : pb::IMessage<FileDescriptorResponse> { public sealed partial class FileDescriptorResponse : pb::IMessage<FileDescriptorResponse> {
private static readonly pb::MessageParser<FileDescriptorResponse> _parser = new pb::MessageParser<FileDescriptorResponse>(() => new FileDescriptorResponse()); private static readonly pb::MessageParser<FileDescriptorResponse> _parser = new pb::MessageParser<FileDescriptorResponse>(() => new FileDescriptorResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<FileDescriptorResponse> Parser { get { return _parser; } } public static pb::MessageParser<FileDescriptorResponse> Parser { get { return _parser; } }
@ -937,6 +976,7 @@ namespace Grpc.Reflection.V1Alpha {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FileDescriptorResponse(FileDescriptorResponse other) : this() { public FileDescriptorResponse(FileDescriptorResponse other) : this() {
fileDescriptorProto_ = other.fileDescriptorProto_.Clone(); fileDescriptorProto_ = other.fileDescriptorProto_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -973,13 +1013,16 @@ namespace Grpc.Reflection.V1Alpha {
return true; return true;
} }
if(!fileDescriptorProto_.Equals(other.fileDescriptorProto_)) return false; if(!fileDescriptorProto_.Equals(other.fileDescriptorProto_)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
hash ^= fileDescriptorProto_.GetHashCode(); hash ^= fileDescriptorProto_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -991,12 +1034,18 @@ namespace Grpc.Reflection.V1Alpha {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
fileDescriptorProto_.WriteTo(output, _repeated_fileDescriptorProto_codec); fileDescriptorProto_.WriteTo(output, _repeated_fileDescriptorProto_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
size += fileDescriptorProto_.CalculateSize(_repeated_fileDescriptorProto_codec); size += fileDescriptorProto_.CalculateSize(_repeated_fileDescriptorProto_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1006,6 +1055,7 @@ namespace Grpc.Reflection.V1Alpha {
return; return;
} }
fileDescriptorProto_.Add(other.fileDescriptorProto_); fileDescriptorProto_.Add(other.fileDescriptorProto_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1014,7 +1064,7 @@ namespace Grpc.Reflection.V1Alpha {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
fileDescriptorProto_.AddEntriesFrom(input, _repeated_fileDescriptorProto_codec); fileDescriptorProto_.AddEntriesFrom(input, _repeated_fileDescriptorProto_codec);
@ -1032,6 +1082,7 @@ namespace Grpc.Reflection.V1Alpha {
/// </summary> /// </summary>
public sealed partial class ExtensionNumberResponse : pb::IMessage<ExtensionNumberResponse> { public sealed partial class ExtensionNumberResponse : pb::IMessage<ExtensionNumberResponse> {
private static readonly pb::MessageParser<ExtensionNumberResponse> _parser = new pb::MessageParser<ExtensionNumberResponse>(() => new ExtensionNumberResponse()); private static readonly pb::MessageParser<ExtensionNumberResponse> _parser = new pb::MessageParser<ExtensionNumberResponse>(() => new ExtensionNumberResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ExtensionNumberResponse> Parser { get { return _parser; } } public static pb::MessageParser<ExtensionNumberResponse> Parser { get { return _parser; } }
@ -1056,6 +1107,7 @@ namespace Grpc.Reflection.V1Alpha {
public ExtensionNumberResponse(ExtensionNumberResponse other) : this() { public ExtensionNumberResponse(ExtensionNumberResponse other) : this() {
baseTypeName_ = other.baseTypeName_; baseTypeName_ = other.baseTypeName_;
extensionNumber_ = other.extensionNumber_.Clone(); extensionNumber_ = other.extensionNumber_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1103,7 +1155,7 @@ namespace Grpc.Reflection.V1Alpha {
} }
if (BaseTypeName != other.BaseTypeName) return false; if (BaseTypeName != other.BaseTypeName) return false;
if(!extensionNumber_.Equals(other.extensionNumber_)) return false; if(!extensionNumber_.Equals(other.extensionNumber_)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1111,6 +1163,9 @@ namespace Grpc.Reflection.V1Alpha {
int hash = 1; int hash = 1;
if (BaseTypeName.Length != 0) hash ^= BaseTypeName.GetHashCode(); if (BaseTypeName.Length != 0) hash ^= BaseTypeName.GetHashCode();
hash ^= extensionNumber_.GetHashCode(); hash ^= extensionNumber_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1126,6 +1181,9 @@ namespace Grpc.Reflection.V1Alpha {
output.WriteString(BaseTypeName); output.WriteString(BaseTypeName);
} }
extensionNumber_.WriteTo(output, _repeated_extensionNumber_codec); extensionNumber_.WriteTo(output, _repeated_extensionNumber_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1135,6 +1193,9 @@ namespace Grpc.Reflection.V1Alpha {
size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseTypeName); size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseTypeName);
} }
size += extensionNumber_.CalculateSize(_repeated_extensionNumber_codec); size += extensionNumber_.CalculateSize(_repeated_extensionNumber_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1147,6 +1208,7 @@ namespace Grpc.Reflection.V1Alpha {
BaseTypeName = other.BaseTypeName; BaseTypeName = other.BaseTypeName;
} }
extensionNumber_.Add(other.extensionNumber_); extensionNumber_.Add(other.extensionNumber_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1155,7 +1217,7 @@ namespace Grpc.Reflection.V1Alpha {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
BaseTypeName = input.ReadString(); BaseTypeName = input.ReadString();
@ -1177,6 +1239,7 @@ namespace Grpc.Reflection.V1Alpha {
/// </summary> /// </summary>
public sealed partial class ListServiceResponse : pb::IMessage<ListServiceResponse> { public sealed partial class ListServiceResponse : pb::IMessage<ListServiceResponse> {
private static readonly pb::MessageParser<ListServiceResponse> _parser = new pb::MessageParser<ListServiceResponse>(() => new ListServiceResponse()); private static readonly pb::MessageParser<ListServiceResponse> _parser = new pb::MessageParser<ListServiceResponse>(() => new ListServiceResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ListServiceResponse> Parser { get { return _parser; } } public static pb::MessageParser<ListServiceResponse> Parser { get { return _parser; } }
@ -1200,6 +1263,7 @@ namespace Grpc.Reflection.V1Alpha {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ListServiceResponse(ListServiceResponse other) : this() { public ListServiceResponse(ListServiceResponse other) : this() {
service_ = other.service_.Clone(); service_ = other.service_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1235,13 +1299,16 @@ namespace Grpc.Reflection.V1Alpha {
return true; return true;
} }
if(!service_.Equals(other.service_)) return false; if(!service_.Equals(other.service_)) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
hash ^= service_.GetHashCode(); hash ^= service_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1253,12 +1320,18 @@ namespace Grpc.Reflection.V1Alpha {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
service_.WriteTo(output, _repeated_service_codec); service_.WriteTo(output, _repeated_service_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
size += service_.CalculateSize(_repeated_service_codec); size += service_.CalculateSize(_repeated_service_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1268,6 +1341,7 @@ namespace Grpc.Reflection.V1Alpha {
return; return;
} }
service_.Add(other.service_); service_.Add(other.service_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1276,7 +1350,7 @@ namespace Grpc.Reflection.V1Alpha {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
service_.AddEntriesFrom(input, _repeated_service_codec); service_.AddEntriesFrom(input, _repeated_service_codec);
@ -1294,6 +1368,7 @@ namespace Grpc.Reflection.V1Alpha {
/// </summary> /// </summary>
public sealed partial class ServiceResponse : pb::IMessage<ServiceResponse> { public sealed partial class ServiceResponse : pb::IMessage<ServiceResponse> {
private static readonly pb::MessageParser<ServiceResponse> _parser = new pb::MessageParser<ServiceResponse>(() => new ServiceResponse()); private static readonly pb::MessageParser<ServiceResponse> _parser = new pb::MessageParser<ServiceResponse>(() => new ServiceResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ServiceResponse> Parser { get { return _parser; } } public static pb::MessageParser<ServiceResponse> Parser { get { return _parser; } }
@ -1317,6 +1392,7 @@ namespace Grpc.Reflection.V1Alpha {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServiceResponse(ServiceResponse other) : this() { public ServiceResponse(ServiceResponse other) : this() {
name_ = other.name_; name_ = other.name_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1353,13 +1429,16 @@ namespace Grpc.Reflection.V1Alpha {
return true; return true;
} }
if (Name != other.Name) return false; if (Name != other.Name) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1374,6 +1453,9 @@ namespace Grpc.Reflection.V1Alpha {
output.WriteRawTag(10); output.WriteRawTag(10);
output.WriteString(Name); output.WriteString(Name);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1382,6 +1464,9 @@ namespace Grpc.Reflection.V1Alpha {
if (Name.Length != 0) { if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1393,6 +1478,7 @@ namespace Grpc.Reflection.V1Alpha {
if (other.Name.Length != 0) { if (other.Name.Length != 0) {
Name = other.Name; Name = other.Name;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1401,7 +1487,7 @@ namespace Grpc.Reflection.V1Alpha {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 10: { case 10: {
Name = input.ReadString(); Name = input.ReadString();
@ -1418,6 +1504,7 @@ namespace Grpc.Reflection.V1Alpha {
/// </summary> /// </summary>
public sealed partial class ErrorResponse : pb::IMessage<ErrorResponse> { public sealed partial class ErrorResponse : pb::IMessage<ErrorResponse> {
private static readonly pb::MessageParser<ErrorResponse> _parser = new pb::MessageParser<ErrorResponse>(() => new ErrorResponse()); private static readonly pb::MessageParser<ErrorResponse> _parser = new pb::MessageParser<ErrorResponse>(() => new ErrorResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ErrorResponse> Parser { get { return _parser; } } public static pb::MessageParser<ErrorResponse> Parser { get { return _parser; } }
@ -1442,6 +1529,7 @@ namespace Grpc.Reflection.V1Alpha {
public ErrorResponse(ErrorResponse other) : this() { public ErrorResponse(ErrorResponse other) : this() {
errorCode_ = other.errorCode_; errorCode_ = other.errorCode_;
errorMessage_ = other.errorMessage_; errorMessage_ = other.errorMessage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1489,7 +1577,7 @@ namespace Grpc.Reflection.V1Alpha {
} }
if (ErrorCode != other.ErrorCode) return false; if (ErrorCode != other.ErrorCode) return false;
if (ErrorMessage != other.ErrorMessage) return false; if (ErrorMessage != other.ErrorMessage) return false;
return true; return Equals(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1497,6 +1585,9 @@ namespace Grpc.Reflection.V1Alpha {
int hash = 1; int hash = 1;
if (ErrorCode != 0) hash ^= ErrorCode.GetHashCode(); if (ErrorCode != 0) hash ^= ErrorCode.GetHashCode();
if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode(); if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash; return hash;
} }
@ -1515,6 +1606,9 @@ namespace Grpc.Reflection.V1Alpha {
output.WriteRawTag(18); output.WriteRawTag(18);
output.WriteString(ErrorMessage); output.WriteString(ErrorMessage);
} }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1526,6 +1620,9 @@ namespace Grpc.Reflection.V1Alpha {
if (ErrorMessage.Length != 0) { if (ErrorMessage.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorMessage); size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorMessage);
} }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size; return size;
} }
@ -1540,6 +1637,7 @@ namespace Grpc.Reflection.V1Alpha {
if (other.ErrorMessage.Length != 0) { if (other.ErrorMessage.Length != 0) {
ErrorMessage = other.ErrorMessage; ErrorMessage = other.ErrorMessage;
} }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1548,7 +1646,7 @@ namespace Grpc.Reflection.V1Alpha {
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
switch(tag) { switch(tag) {
default: default:
input.SkipLastField(); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
ErrorCode = input.ReadInt32(); ErrorCode = input.ReadInt32();

@ -1,4 +1,4 @@
// Copyright 2015 gRPC authors. // Copyright 2015 The gRPC Authors
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
@ -12,10 +12,18 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// The canonical version of this proto can be found at
// https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto
syntax = "proto3"; syntax = "proto3";
package grpc.health.v1; package grpc.health.v1;
option csharp_namespace = "Grpc.Health.V1"; option csharp_namespace = "Grpc.Health.V1";
option go_package = "google.golang.org/grpc/health/grpc_health_v1";
option java_multiple_files = true;
option java_outer_classname = "HealthProto";
option java_package = "io.grpc.health.v1";
message HealthCheckRequest { message HealthCheckRequest {
string service = 1; string service = 1;

@ -1,7 +1,7 @@
# Generated by the protocol buffer compiler. DO NOT EDIT! # Generated by the protocol buffer compiler. DO NOT EDIT!
# Source: grpc/health/v1/health.proto for package 'grpc.health.v1' # Source: grpc/health/v1/health.proto for package 'grpc.health.v1'
# Original file comments: # Original file comments:
# Copyright 2015 gRPC authors. # Copyright 2015 The gRPC Authors
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@ -15,6 +15,9 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
# The canonical version of this proto can be found at
# https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto
#
require 'grpc' require 'grpc'
require 'grpc/health/v1/health_pb' require 'grpc/health/v1/health_pb'

Loading…
Cancel
Save