Merge pull request #8619 from apolcyn/gen_csharp_partial_class

Generate c# client stubs as partial classes
pull/8818/head
apolcyn 8 years ago committed by GitHub
commit 8a4ac886e4
  1. 6
      src/compiler/csharp_generator.cc
  2. 83
      src/csharp/Grpc.Examples/Math.cs
  3. 6
      src/csharp/Grpc.Examples/MathGrpc.cs
  4. 35
      src/csharp/Grpc.HealthCheck/Health.cs
  5. 6
      src/csharp/Grpc.HealthCheck/HealthGrpc.cs
  6. 401
      src/csharp/Grpc.IntegrationTesting/Control.cs
  7. 16
      src/csharp/Grpc.IntegrationTesting/Empty.cs
  8. 211
      src/csharp/Grpc.IntegrationTesting/Messages.cs
  9. 53
      src/csharp/Grpc.IntegrationTesting/Metrics.cs
  10. 6
      src/csharp/Grpc.IntegrationTesting/MetricsGrpc.cs
  11. 70
      src/csharp/Grpc.IntegrationTesting/Payloads.cs
  12. 1
      src/csharp/Grpc.IntegrationTesting/Services.cs
  13. 12
      src/csharp/Grpc.IntegrationTesting/ServicesGrpc.cs
  14. 76
      src/csharp/Grpc.IntegrationTesting/Stats.cs
  15. 1
      src/csharp/Grpc.IntegrationTesting/Test.cs
  16. 18
      src/csharp/Grpc.IntegrationTesting/TestGrpc.cs

@ -297,7 +297,7 @@ void GenerateServiceDescriptorProperty(Printer* out, const ServiceDescriptor *se
void GenerateServerClass(Printer* out, const ServiceDescriptor *service) { void GenerateServerClass(Printer* out, const ServiceDescriptor *service) {
out->Print("/// <summary>Base class for server-side implementations of $servicename$</summary>\n", out->Print("/// <summary>Base class for server-side implementations of $servicename$</summary>\n",
"servicename", GetServiceClassName(service)); "servicename", GetServiceClassName(service));
out->Print("public abstract class $name$\n", "name", out->Print("public abstract partial class $name$\n", "name",
GetServerClassName(service)); GetServerClassName(service));
out->Print("{\n"); out->Print("{\n");
out->Indent(); out->Indent();
@ -327,7 +327,7 @@ void GenerateClientStub(Printer* out, const ServiceDescriptor *service) {
out->Print("/// <summary>Client for $servicename$</summary>\n", out->Print("/// <summary>Client for $servicename$</summary>\n",
"servicename", GetServiceClassName(service)); "servicename", GetServiceClassName(service));
out->Print( out->Print(
"public class $name$ : ClientBase<$name$>\n", "public partial class $name$ : ClientBase<$name$>\n",
"name", GetClientClassName(service)); "name", GetClientClassName(service));
out->Print("{\n"); out->Print("{\n");
out->Indent(); out->Indent();
@ -495,7 +495,7 @@ void GenerateService(Printer* out, const ServiceDescriptor *service,
bool generate_client, bool generate_server, bool generate_client, bool generate_server,
bool internal_access) { bool internal_access) {
GenerateDocCommentBody(out, service); GenerateDocCommentBody(out, service);
out->Print("$access_level$ static class $classname$\n", "access_level", out->Print("$access_level$ static partial class $classname$\n", "access_level",
GetAccessLevel(internal_access), "classname", GetAccessLevel(internal_access), "classname",
GetServiceClassName(service)); GetServiceClassName(service));
out->Print("{\n"); out->Print("{\n");

@ -10,7 +10,6 @@ using scg = global::System.Collections.Generic;
namespace Math { namespace Math {
/// <summary>Holder for reflection information generated from math.proto</summary> /// <summary>Holder for reflection information generated from math.proto</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class MathReflection { public static partial class MathReflection {
#region Descriptor #region Descriptor
@ -46,30 +45,35 @@ namespace Math {
} }
#region Messages #region Messages
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<DivArgs> Parser { get { return _parser; } } public static pb::MessageParser<DivArgs> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Math.MathReflection.Descriptor.MessageTypes[0]; } get { return global::Math.MathReflection.Descriptor.MessageTypes[0]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DivArgs() { public DivArgs() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DivArgs(DivArgs other) : this() { public DivArgs(DivArgs other) : this() {
dividend_ = other.dividend_; dividend_ = other.dividend_;
divisor_ = other.divisor_; divisor_ = other.divisor_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DivArgs Clone() { public DivArgs Clone() {
return new DivArgs(this); return new DivArgs(this);
} }
@ -77,6 +81,7 @@ namespace Math {
/// <summary>Field number for the "dividend" field.</summary> /// <summary>Field number for the "dividend" field.</summary>
public const int DividendFieldNumber = 1; public const int DividendFieldNumber = 1;
private long dividend_; private long dividend_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Dividend { public long Dividend {
get { return dividend_; } get { return dividend_; }
set { set {
@ -87,6 +92,7 @@ namespace Math {
/// <summary>Field number for the "divisor" field.</summary> /// <summary>Field number for the "divisor" field.</summary>
public const int DivisorFieldNumber = 2; public const int DivisorFieldNumber = 2;
private long divisor_; private long divisor_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Divisor { public long Divisor {
get { return divisor_; } get { return divisor_; }
set { set {
@ -94,10 +100,12 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as DivArgs); return Equals(other as DivArgs);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DivArgs other) { public bool Equals(DivArgs other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -110,6 +118,7 @@ namespace Math {
return true; return true;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Dividend != 0L) hash ^= Dividend.GetHashCode(); if (Dividend != 0L) hash ^= Dividend.GetHashCode();
@ -117,10 +126,12 @@ namespace Math {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Dividend != 0L) { if (Dividend != 0L) {
output.WriteRawTag(8); output.WriteRawTag(8);
@ -132,6 +143,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Dividend != 0L) { if (Dividend != 0L) {
@ -143,6 +155,7 @@ namespace Math {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DivArgs other) { public void MergeFrom(DivArgs other) {
if (other == null) { if (other == null) {
return; return;
@ -155,6 +168,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -176,30 +190,35 @@ namespace Math {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<DivReply> Parser { get { return _parser; } } public static pb::MessageParser<DivReply> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Math.MathReflection.Descriptor.MessageTypes[1]; } get { return global::Math.MathReflection.Descriptor.MessageTypes[1]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DivReply() { public DivReply() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DivReply(DivReply other) : this() { public DivReply(DivReply other) : this() {
quotient_ = other.quotient_; quotient_ = other.quotient_;
remainder_ = other.remainder_; remainder_ = other.remainder_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DivReply Clone() { public DivReply Clone() {
return new DivReply(this); return new DivReply(this);
} }
@ -207,6 +226,7 @@ namespace Math {
/// <summary>Field number for the "quotient" field.</summary> /// <summary>Field number for the "quotient" field.</summary>
public const int QuotientFieldNumber = 1; public const int QuotientFieldNumber = 1;
private long quotient_; private long quotient_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Quotient { public long Quotient {
get { return quotient_; } get { return quotient_; }
set { set {
@ -217,6 +237,7 @@ namespace Math {
/// <summary>Field number for the "remainder" field.</summary> /// <summary>Field number for the "remainder" field.</summary>
public const int RemainderFieldNumber = 2; public const int RemainderFieldNumber = 2;
private long remainder_; private long remainder_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Remainder { public long Remainder {
get { return remainder_; } get { return remainder_; }
set { set {
@ -224,10 +245,12 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as DivReply); return Equals(other as DivReply);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DivReply other) { public bool Equals(DivReply other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -240,6 +263,7 @@ namespace Math {
return true; return true;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (Quotient != 0L) hash ^= Quotient.GetHashCode(); if (Quotient != 0L) hash ^= Quotient.GetHashCode();
@ -247,10 +271,12 @@ namespace Math {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Quotient != 0L) { if (Quotient != 0L) {
output.WriteRawTag(8); output.WriteRawTag(8);
@ -262,6 +288,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Quotient != 0L) { if (Quotient != 0L) {
@ -273,6 +300,7 @@ namespace Math {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DivReply other) { public void MergeFrom(DivReply other) {
if (other == null) { if (other == null) {
return; return;
@ -285,6 +313,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -306,29 +335,34 @@ namespace Math {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<FibArgs> Parser { get { return _parser; } } public static pb::MessageParser<FibArgs> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Math.MathReflection.Descriptor.MessageTypes[2]; } get { return global::Math.MathReflection.Descriptor.MessageTypes[2]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FibArgs() { public FibArgs() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FibArgs(FibArgs other) : this() { public FibArgs(FibArgs other) : this() {
limit_ = other.limit_; limit_ = other.limit_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FibArgs Clone() { public FibArgs Clone() {
return new FibArgs(this); return new FibArgs(this);
} }
@ -336,6 +370,7 @@ namespace Math {
/// <summary>Field number for the "limit" field.</summary> /// <summary>Field number for the "limit" field.</summary>
public const int LimitFieldNumber = 1; public const int LimitFieldNumber = 1;
private long limit_; private long limit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Limit { public long Limit {
get { return limit_; } get { return limit_; }
set { set {
@ -343,10 +378,12 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as FibArgs); return Equals(other as FibArgs);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FibArgs other) { public bool Equals(FibArgs other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -358,16 +395,19 @@ namespace Math {
return true; return true;
} }
[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();
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Limit != 0L) { if (Limit != 0L) {
output.WriteRawTag(8); output.WriteRawTag(8);
@ -375,6 +415,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Limit != 0L) { if (Limit != 0L) {
@ -383,6 +424,7 @@ namespace Math {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FibArgs other) { public void MergeFrom(FibArgs other) {
if (other == null) { if (other == null) {
return; return;
@ -392,6 +434,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -409,29 +452,34 @@ namespace Math {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Num> Parser { get { return _parser; } } public static pb::MessageParser<Num> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Math.MathReflection.Descriptor.MessageTypes[3]; } get { return global::Math.MathReflection.Descriptor.MessageTypes[3]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Num() { public Num() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Num(Num other) : this() { public Num(Num other) : this() {
num_ = other.num_; num_ = other.num_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Num Clone() { public Num Clone() {
return new Num(this); return new Num(this);
} }
@ -439,6 +487,7 @@ namespace Math {
/// <summary>Field number for the "num" field.</summary> /// <summary>Field number for the "num" field.</summary>
public const int Num_FieldNumber = 1; public const int Num_FieldNumber = 1;
private long num_; private long num_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Num_ { public long Num_ {
get { return num_; } get { return num_; }
set { set {
@ -446,10 +495,12 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as Num); return Equals(other as Num);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Num other) { public bool Equals(Num other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -461,16 +512,19 @@ namespace Math {
return true; return true;
} }
[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();
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Num_ != 0L) { if (Num_ != 0L) {
output.WriteRawTag(8); output.WriteRawTag(8);
@ -478,6 +532,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Num_ != 0L) { if (Num_ != 0L) {
@ -486,6 +541,7 @@ namespace Math {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Num other) { public void MergeFrom(Num other) {
if (other == null) { if (other == null) {
return; return;
@ -495,6 +551,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -512,29 +569,34 @@ namespace Math {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<FibReply> Parser { get { return _parser; } } public static pb::MessageParser<FibReply> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Math.MathReflection.Descriptor.MessageTypes[4]; } get { return global::Math.MathReflection.Descriptor.MessageTypes[4]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FibReply() { public FibReply() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FibReply(FibReply other) : this() { public FibReply(FibReply other) : this() {
count_ = other.count_; count_ = other.count_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public FibReply Clone() { public FibReply Clone() {
return new FibReply(this); return new FibReply(this);
} }
@ -542,6 +604,7 @@ namespace Math {
/// <summary>Field number for the "count" field.</summary> /// <summary>Field number for the "count" field.</summary>
public const int CountFieldNumber = 1; public const int CountFieldNumber = 1;
private long count_; private long count_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Count { public long Count {
get { return count_; } get { return count_; }
set { set {
@ -549,10 +612,12 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as FibReply); return Equals(other as FibReply);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(FibReply other) { public bool Equals(FibReply other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -564,16 +629,19 @@ namespace Math {
return true; return true;
} }
[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();
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Count != 0L) { if (Count != 0L) {
output.WriteRawTag(8); output.WriteRawTag(8);
@ -581,6 +649,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Count != 0L) { if (Count != 0L) {
@ -589,6 +658,7 @@ namespace Math {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(FibReply other) { public void MergeFrom(FibReply other) {
if (other == null) { if (other == null) {
return; return;
@ -598,6 +668,7 @@ namespace Math {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {

@ -38,7 +38,7 @@ using System.Threading.Tasks;
using Grpc.Core; using Grpc.Core;
namespace Math { namespace Math {
public static class Math public static partial class Math
{ {
static readonly string __ServiceName = "math.Math"; static readonly string __ServiceName = "math.Math";
@ -82,7 +82,7 @@ namespace Math {
} }
/// <summary>Base class for server-side implementations of Math</summary> /// <summary>Base class for server-side implementations of Math</summary>
public abstract class MathBase public abstract partial class MathBase
{ {
/// <summary> /// <summary>
/// Div divides DivArgs.dividend by DivArgs.divisor and returns the quotient /// Div divides DivArgs.dividend by DivArgs.divisor and returns the quotient
@ -126,7 +126,7 @@ namespace Math {
} }
/// <summary>Client for Math</summary> /// <summary>Client for Math</summary>
public class MathClient : ClientBase<MathClient> public partial class MathClient : ClientBase<MathClient>
{ {
/// <summary>Creates a new client for Math</summary> /// <summary>Creates a new client for Math</summary>
/// <param name="channel">The channel to use to make remote calls.</param> /// <param name="channel">The channel to use to make remote calls.</param>

@ -10,7 +10,6 @@ using scg = global::System.Collections.Generic;
namespace Grpc.Health.V1 { namespace Grpc.Health.V1 {
/// <summary>Holder for reflection information generated from health.proto</summary> /// <summary>Holder for reflection information generated from health.proto</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class HealthReflection { public static partial class HealthReflection {
#region Descriptor #region Descriptor
@ -42,29 +41,34 @@ namespace Grpc.Health.V1 {
} }
#region Messages #region Messages
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<HealthCheckRequest> Parser { get { return _parser; } } public static pb::MessageParser<HealthCheckRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Health.V1.HealthReflection.Descriptor.MessageTypes[0]; } get { return global::Grpc.Health.V1.HealthReflection.Descriptor.MessageTypes[0]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HealthCheckRequest() { public HealthCheckRequest() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HealthCheckRequest(HealthCheckRequest other) : this() { public HealthCheckRequest(HealthCheckRequest other) : this() {
service_ = other.service_; service_ = other.service_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HealthCheckRequest Clone() { public HealthCheckRequest Clone() {
return new HealthCheckRequest(this); return new HealthCheckRequest(this);
} }
@ -72,6 +76,7 @@ namespace Grpc.Health.V1 {
/// <summary>Field number for the "service" field.</summary> /// <summary>Field number for the "service" field.</summary>
public const int ServiceFieldNumber = 1; public const int ServiceFieldNumber = 1;
private string service_ = ""; private string service_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Service { public string Service {
get { return service_; } get { return service_; }
set { set {
@ -79,10 +84,12 @@ namespace Grpc.Health.V1 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as HealthCheckRequest); return Equals(other as HealthCheckRequest);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(HealthCheckRequest other) { public bool Equals(HealthCheckRequest other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -94,16 +101,19 @@ namespace Grpc.Health.V1 {
return true; return true;
} }
[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();
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Service.Length != 0) { if (Service.Length != 0) {
output.WriteRawTag(10); output.WriteRawTag(10);
@ -111,6 +121,7 @@ namespace Grpc.Health.V1 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Service.Length != 0) { if (Service.Length != 0) {
@ -119,6 +130,7 @@ namespace Grpc.Health.V1 {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(HealthCheckRequest other) { public void MergeFrom(HealthCheckRequest other) {
if (other == null) { if (other == null) {
return; return;
@ -128,6 +140,7 @@ namespace Grpc.Health.V1 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -145,29 +158,34 @@ namespace Grpc.Health.V1 {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<HealthCheckResponse> Parser { get { return _parser; } } public static pb::MessageParser<HealthCheckResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Health.V1.HealthReflection.Descriptor.MessageTypes[1]; } get { return global::Grpc.Health.V1.HealthReflection.Descriptor.MessageTypes[1]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HealthCheckResponse() { public HealthCheckResponse() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HealthCheckResponse(HealthCheckResponse other) : this() { public HealthCheckResponse(HealthCheckResponse other) : this() {
status_ = other.status_; status_ = other.status_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HealthCheckResponse Clone() { public HealthCheckResponse Clone() {
return new HealthCheckResponse(this); return new HealthCheckResponse(this);
} }
@ -175,6 +193,7 @@ namespace Grpc.Health.V1 {
/// <summary>Field number for the "status" field.</summary> /// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 1; public const int StatusFieldNumber = 1;
private global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus status_ = 0; private global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus status_ = 0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus Status { public global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus Status {
get { return status_; } get { return status_; }
set { set {
@ -182,10 +201,12 @@ namespace Grpc.Health.V1 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as HealthCheckResponse); return Equals(other as HealthCheckResponse);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(HealthCheckResponse other) { public bool Equals(HealthCheckResponse other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -197,16 +218,19 @@ namespace Grpc.Health.V1 {
return true; return true;
} }
[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();
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Status != 0) { if (Status != 0) {
output.WriteRawTag(8); output.WriteRawTag(8);
@ -214,6 +238,7 @@ namespace Grpc.Health.V1 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Status != 0) { if (Status != 0) {
@ -222,6 +247,7 @@ namespace Grpc.Health.V1 {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(HealthCheckResponse other) { public void MergeFrom(HealthCheckResponse other) {
if (other == null) { if (other == null) {
return; return;
@ -231,6 +257,7 @@ namespace Grpc.Health.V1 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -248,7 +275,7 @@ namespace Grpc.Health.V1 {
#region Nested types #region Nested types
/// <summary>Container for nested types declared in the HealthCheckResponse message type.</summary> /// <summary>Container for nested types declared in the HealthCheckResponse message type.</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static partial class Types { public static partial class Types {
public enum ServingStatus { public enum ServingStatus {
[pbr::OriginalName("UNKNOWN")] Unknown = 0, [pbr::OriginalName("UNKNOWN")] Unknown = 0,

@ -38,7 +38,7 @@ using System.Threading.Tasks;
using Grpc.Core; using Grpc.Core;
namespace Grpc.Health.V1 { namespace Grpc.Health.V1 {
public static class Health public static partial class Health
{ {
static readonly string __ServiceName = "grpc.health.v1.Health"; static readonly string __ServiceName = "grpc.health.v1.Health";
@ -59,7 +59,7 @@ namespace Grpc.Health.V1 {
} }
/// <summary>Base class for server-side implementations of Health</summary> /// <summary>Base class for server-side implementations of Health</summary>
public abstract class HealthBase public abstract partial class HealthBase
{ {
public virtual global::System.Threading.Tasks.Task<global::Grpc.Health.V1.HealthCheckResponse> Check(global::Grpc.Health.V1.HealthCheckRequest request, ServerCallContext context) public virtual global::System.Threading.Tasks.Task<global::Grpc.Health.V1.HealthCheckResponse> Check(global::Grpc.Health.V1.HealthCheckRequest request, ServerCallContext context)
{ {
@ -69,7 +69,7 @@ namespace Grpc.Health.V1 {
} }
/// <summary>Client for Health</summary> /// <summary>Client for Health</summary>
public class HealthClient : ClientBase<HealthClient> public partial class HealthClient : ClientBase<HealthClient>
{ {
/// <summary>Creates a new client for Health</summary> /// <summary>Creates a new client for Health</summary>
/// <param name="channel">The channel to use to make remote calls.</param> /// <param name="channel">The channel to use to make remote calls.</param>

File diff suppressed because it is too large Load Diff

@ -10,7 +10,6 @@ using scg = global::System.Collections.Generic;
namespace Grpc.Testing { namespace Grpc.Testing {
/// <summary>Holder for reflection information generated from src/proto/grpc/testing/empty.proto</summary> /// <summary>Holder for reflection information generated from src/proto/grpc/testing/empty.proto</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class EmptyReflection { public static partial class EmptyReflection {
#region Descriptor #region Descriptor
@ -44,36 +43,43 @@ namespace Grpc.Testing {
/// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { }; /// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
/// }; /// };
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Empty> Parser { get { return _parser; } } public static pb::MessageParser<Empty> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.EmptyReflection.Descriptor.MessageTypes[0]; } get { return global::Grpc.Testing.EmptyReflection.Descriptor.MessageTypes[0]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Empty() { public Empty() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Empty(Empty other) : this() { public Empty(Empty other) : this() {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Empty Clone() { public Empty Clone() {
return new Empty(this); return new Empty(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as Empty); return Equals(other as Empty);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Empty other) { public bool Equals(Empty other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -84,29 +90,35 @@ namespace Grpc.Testing {
return true; return true;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Empty other) { public void MergeFrom(Empty other) {
if (other == null) { if (other == null) {
return; return;
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {

File diff suppressed because it is too large Load Diff

@ -10,7 +10,6 @@ using scg = global::System.Collections.Generic;
namespace Grpc.Testing { namespace Grpc.Testing {
/// <summary>Holder for reflection information generated from src/proto/grpc/testing/metrics.proto</summary> /// <summary>Holder for reflection information generated from src/proto/grpc/testing/metrics.proto</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class MetricsReflection { public static partial class MetricsReflection {
#region Descriptor #region Descriptor
@ -47,25 +46,29 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// Reponse message containing the gauge name and value /// Reponse message containing the gauge name and value
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<GaugeResponse> Parser { get { return _parser; } } public static pb::MessageParser<GaugeResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.MetricsReflection.Descriptor.MessageTypes[0]; } get { return global::Grpc.Testing.MetricsReflection.Descriptor.MessageTypes[0]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GaugeResponse() { public GaugeResponse() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GaugeResponse(GaugeResponse other) : this() { public GaugeResponse(GaugeResponse other) : this() {
name_ = other.name_; name_ = other.name_;
switch (other.ValueCase) { switch (other.ValueCase) {
@ -82,6 +85,7 @@ namespace Grpc.Testing {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GaugeResponse Clone() { public GaugeResponse Clone() {
return new GaugeResponse(this); return new GaugeResponse(this);
} }
@ -89,6 +93,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "name" field.</summary> /// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 1; public const int NameFieldNumber = 1;
private string name_ = ""; private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name { public string Name {
get { return name_; } get { return name_; }
set { set {
@ -98,6 +103,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "long_value" field.</summary> /// <summary>Field number for the "long_value" field.</summary>
public const int LongValueFieldNumber = 2; public const int LongValueFieldNumber = 2;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long LongValue { public long LongValue {
get { return valueCase_ == ValueOneofCase.LongValue ? (long) value_ : 0L; } get { return valueCase_ == ValueOneofCase.LongValue ? (long) value_ : 0L; }
set { set {
@ -108,6 +114,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "double_value" field.</summary> /// <summary>Field number for the "double_value" field.</summary>
public const int DoubleValueFieldNumber = 3; public const int DoubleValueFieldNumber = 3;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double DoubleValue { public double DoubleValue {
get { return valueCase_ == ValueOneofCase.DoubleValue ? (double) value_ : 0D; } get { return valueCase_ == ValueOneofCase.DoubleValue ? (double) value_ : 0D; }
set { set {
@ -118,6 +125,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "string_value" field.</summary> /// <summary>Field number for the "string_value" field.</summary>
public const int StringValueFieldNumber = 4; public const int StringValueFieldNumber = 4;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string StringValue { public string StringValue {
get { return valueCase_ == ValueOneofCase.StringValue ? (string) value_ : ""; } get { return valueCase_ == ValueOneofCase.StringValue ? (string) value_ : ""; }
set { set {
@ -135,19 +143,23 @@ namespace Grpc.Testing {
StringValue = 4, StringValue = 4,
} }
private ValueOneofCase valueCase_ = ValueOneofCase.None; private ValueOneofCase valueCase_ = ValueOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ValueOneofCase ValueCase { public ValueOneofCase ValueCase {
get { return valueCase_; } get { return valueCase_; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearValue() { public void ClearValue() {
valueCase_ = ValueOneofCase.None; valueCase_ = ValueOneofCase.None;
value_ = null; value_ = null;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as GaugeResponse); return Equals(other as GaugeResponse);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GaugeResponse other) { public bool Equals(GaugeResponse other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -163,6 +175,7 @@ namespace Grpc.Testing {
return true; return true;
} }
[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();
@ -173,10 +186,12 @@ namespace Grpc.Testing {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Name.Length != 0) { if (Name.Length != 0) {
output.WriteRawTag(10); output.WriteRawTag(10);
@ -196,6 +211,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Name.Length != 0) { if (Name.Length != 0) {
@ -213,6 +229,7 @@ namespace Grpc.Testing {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GaugeResponse other) { public void MergeFrom(GaugeResponse other) {
if (other == null) { if (other == null) {
return; return;
@ -234,6 +251,7 @@ namespace Grpc.Testing {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -266,29 +284,34 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// Request message containing the gauge name /// Request message containing the gauge name
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<GaugeRequest> Parser { get { return _parser; } } public static pb::MessageParser<GaugeRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.MetricsReflection.Descriptor.MessageTypes[1]; } get { return global::Grpc.Testing.MetricsReflection.Descriptor.MessageTypes[1]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GaugeRequest() { public GaugeRequest() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GaugeRequest(GaugeRequest other) : this() { public GaugeRequest(GaugeRequest other) : this() {
name_ = other.name_; name_ = other.name_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GaugeRequest Clone() { public GaugeRequest Clone() {
return new GaugeRequest(this); return new GaugeRequest(this);
} }
@ -296,6 +319,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "name" field.</summary> /// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 1; public const int NameFieldNumber = 1;
private string name_ = ""; private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name { public string Name {
get { return name_; } get { return name_; }
set { set {
@ -303,10 +327,12 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as GaugeRequest); return Equals(other as GaugeRequest);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GaugeRequest other) { public bool Equals(GaugeRequest other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -318,16 +344,19 @@ namespace Grpc.Testing {
return true; return true;
} }
[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();
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Name.Length != 0) { if (Name.Length != 0) {
output.WriteRawTag(10); output.WriteRawTag(10);
@ -335,6 +364,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Name.Length != 0) { if (Name.Length != 0) {
@ -343,6 +373,7 @@ namespace Grpc.Testing {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GaugeRequest other) { public void MergeFrom(GaugeRequest other) {
if (other == null) { if (other == null) {
return; return;
@ -352,6 +383,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -369,36 +401,43 @@ namespace Grpc.Testing {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<EmptyMessage> Parser { get { return _parser; } } public static pb::MessageParser<EmptyMessage> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.MetricsReflection.Descriptor.MessageTypes[2]; } get { return global::Grpc.Testing.MetricsReflection.Descriptor.MessageTypes[2]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public EmptyMessage() { public EmptyMessage() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public EmptyMessage(EmptyMessage other) : this() { public EmptyMessage(EmptyMessage other) : this() {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public EmptyMessage Clone() { public EmptyMessage Clone() {
return new EmptyMessage(this); return new EmptyMessage(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as EmptyMessage); return Equals(other as EmptyMessage);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(EmptyMessage other) { public bool Equals(EmptyMessage other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -409,29 +448,35 @@ namespace Grpc.Testing {
return true; return true;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(EmptyMessage other) { public void MergeFrom(EmptyMessage other) {
if (other == null) { if (other == null) {
return; return;
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {

@ -44,7 +44,7 @@ using System.Threading.Tasks;
using Grpc.Core; using Grpc.Core;
namespace Grpc.Testing { namespace Grpc.Testing {
public static class MetricsService public static partial class MetricsService
{ {
static readonly string __ServiceName = "grpc.testing.MetricsService"; static readonly string __ServiceName = "grpc.testing.MetricsService";
@ -73,7 +73,7 @@ namespace Grpc.Testing {
} }
/// <summary>Base class for server-side implementations of MetricsService</summary> /// <summary>Base class for server-side implementations of MetricsService</summary>
public abstract class MetricsServiceBase public abstract partial class MetricsServiceBase
{ {
/// <summary> /// <summary>
/// Returns the values of all the gauges that are currently being maintained by /// Returns the values of all the gauges that are currently being maintained by
@ -95,7 +95,7 @@ namespace Grpc.Testing {
} }
/// <summary>Client for MetricsService</summary> /// <summary>Client for MetricsService</summary>
public class MetricsServiceClient : ClientBase<MetricsServiceClient> public partial class MetricsServiceClient : ClientBase<MetricsServiceClient>
{ {
/// <summary>Creates a new client for MetricsService</summary> /// <summary>Creates a new client for MetricsService</summary>
/// <param name="channel">The channel to use to make remote calls.</param> /// <param name="channel">The channel to use to make remote calls.</param>

@ -10,7 +10,6 @@ using scg = global::System.Collections.Generic;
namespace Grpc.Testing { namespace Grpc.Testing {
/// <summary>Holder for reflection information generated from src/proto/grpc/testing/payloads.proto</summary> /// <summary>Holder for reflection information generated from src/proto/grpc/testing/payloads.proto</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class PayloadsReflection { public static partial class PayloadsReflection {
#region Descriptor #region Descriptor
@ -45,30 +44,35 @@ namespace Grpc.Testing {
} }
#region Messages #region Messages
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ByteBufferParams> Parser { get { return _parser; } } public static pb::MessageParser<ByteBufferParams> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.PayloadsReflection.Descriptor.MessageTypes[0]; } get { return global::Grpc.Testing.PayloadsReflection.Descriptor.MessageTypes[0]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ByteBufferParams() { public ByteBufferParams() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ByteBufferParams(ByteBufferParams other) : this() { public ByteBufferParams(ByteBufferParams other) : this() {
reqSize_ = other.reqSize_; reqSize_ = other.reqSize_;
respSize_ = other.respSize_; respSize_ = other.respSize_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ByteBufferParams Clone() { public ByteBufferParams Clone() {
return new ByteBufferParams(this); return new ByteBufferParams(this);
} }
@ -76,6 +80,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "req_size" field.</summary> /// <summary>Field number for the "req_size" field.</summary>
public const int ReqSizeFieldNumber = 1; public const int ReqSizeFieldNumber = 1;
private int reqSize_; private int reqSize_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int ReqSize { public int ReqSize {
get { return reqSize_; } get { return reqSize_; }
set { set {
@ -86,6 +91,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "resp_size" field.</summary> /// <summary>Field number for the "resp_size" field.</summary>
public const int RespSizeFieldNumber = 2; public const int RespSizeFieldNumber = 2;
private int respSize_; private int respSize_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int RespSize { public int RespSize {
get { return respSize_; } get { return respSize_; }
set { set {
@ -93,10 +99,12 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as ByteBufferParams); return Equals(other as ByteBufferParams);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ByteBufferParams other) { public bool Equals(ByteBufferParams other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -109,6 +117,7 @@ namespace Grpc.Testing {
return true; return true;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (ReqSize != 0) hash ^= ReqSize.GetHashCode(); if (ReqSize != 0) hash ^= ReqSize.GetHashCode();
@ -116,10 +125,12 @@ namespace Grpc.Testing {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (ReqSize != 0) { if (ReqSize != 0) {
output.WriteRawTag(8); output.WriteRawTag(8);
@ -131,6 +142,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (ReqSize != 0) { if (ReqSize != 0) {
@ -142,6 +154,7 @@ namespace Grpc.Testing {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ByteBufferParams other) { public void MergeFrom(ByteBufferParams other) {
if (other == null) { if (other == null) {
return; return;
@ -154,6 +167,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -175,30 +189,35 @@ namespace Grpc.Testing {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SimpleProtoParams> Parser { get { return _parser; } } public static pb::MessageParser<SimpleProtoParams> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.PayloadsReflection.Descriptor.MessageTypes[1]; } get { return global::Grpc.Testing.PayloadsReflection.Descriptor.MessageTypes[1]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SimpleProtoParams() { public SimpleProtoParams() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SimpleProtoParams(SimpleProtoParams other) : this() { public SimpleProtoParams(SimpleProtoParams other) : this() {
reqSize_ = other.reqSize_; reqSize_ = other.reqSize_;
respSize_ = other.respSize_; respSize_ = other.respSize_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SimpleProtoParams Clone() { public SimpleProtoParams Clone() {
return new SimpleProtoParams(this); return new SimpleProtoParams(this);
} }
@ -206,6 +225,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "req_size" field.</summary> /// <summary>Field number for the "req_size" field.</summary>
public const int ReqSizeFieldNumber = 1; public const int ReqSizeFieldNumber = 1;
private int reqSize_; private int reqSize_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int ReqSize { public int ReqSize {
get { return reqSize_; } get { return reqSize_; }
set { set {
@ -216,6 +236,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "resp_size" field.</summary> /// <summary>Field number for the "resp_size" field.</summary>
public const int RespSizeFieldNumber = 2; public const int RespSizeFieldNumber = 2;
private int respSize_; private int respSize_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int RespSize { public int RespSize {
get { return respSize_; } get { return respSize_; }
set { set {
@ -223,10 +244,12 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as SimpleProtoParams); return Equals(other as SimpleProtoParams);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SimpleProtoParams other) { public bool Equals(SimpleProtoParams other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -239,6 +262,7 @@ namespace Grpc.Testing {
return true; return true;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (ReqSize != 0) hash ^= ReqSize.GetHashCode(); if (ReqSize != 0) hash ^= ReqSize.GetHashCode();
@ -246,10 +270,12 @@ namespace Grpc.Testing {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (ReqSize != 0) { if (ReqSize != 0) {
output.WriteRawTag(8); output.WriteRawTag(8);
@ -261,6 +287,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (ReqSize != 0) { if (ReqSize != 0) {
@ -272,6 +299,7 @@ namespace Grpc.Testing {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SimpleProtoParams other) { public void MergeFrom(SimpleProtoParams other) {
if (other == null) { if (other == null) {
return; return;
@ -284,6 +312,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -309,36 +338,43 @@ namespace Grpc.Testing {
/// TODO (vpai): Fill this in once the details of complex, representative /// TODO (vpai): Fill this in once the details of complex, representative
/// protos are decided /// protos are decided
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ComplexProtoParams> Parser { get { return _parser; } } public static pb::MessageParser<ComplexProtoParams> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.PayloadsReflection.Descriptor.MessageTypes[2]; } get { return global::Grpc.Testing.PayloadsReflection.Descriptor.MessageTypes[2]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ComplexProtoParams() { public ComplexProtoParams() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ComplexProtoParams(ComplexProtoParams other) : this() { public ComplexProtoParams(ComplexProtoParams other) : this() {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ComplexProtoParams Clone() { public ComplexProtoParams Clone() {
return new ComplexProtoParams(this); return new ComplexProtoParams(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as ComplexProtoParams); return Equals(other as ComplexProtoParams);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ComplexProtoParams other) { public bool Equals(ComplexProtoParams other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -349,29 +385,35 @@ namespace Grpc.Testing {
return true; return true;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ComplexProtoParams other) { public void MergeFrom(ComplexProtoParams other) {
if (other == null) { if (other == null) {
return; return;
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -385,25 +427,29 @@ namespace Grpc.Testing {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<PayloadConfig> Parser { get { return _parser; } } public static pb::MessageParser<PayloadConfig> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.PayloadsReflection.Descriptor.MessageTypes[3]; } get { return global::Grpc.Testing.PayloadsReflection.Descriptor.MessageTypes[3]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PayloadConfig() { public PayloadConfig() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PayloadConfig(PayloadConfig other) : this() { public PayloadConfig(PayloadConfig other) : this() {
switch (other.PayloadCase) { switch (other.PayloadCase) {
case PayloadOneofCase.BytebufParams: case PayloadOneofCase.BytebufParams:
@ -419,12 +465,14 @@ namespace Grpc.Testing {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PayloadConfig Clone() { public PayloadConfig Clone() {
return new PayloadConfig(this); return new PayloadConfig(this);
} }
/// <summary>Field number for the "bytebuf_params" field.</summary> /// <summary>Field number for the "bytebuf_params" field.</summary>
public const int BytebufParamsFieldNumber = 1; public const int BytebufParamsFieldNumber = 1;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Grpc.Testing.ByteBufferParams BytebufParams { public global::Grpc.Testing.ByteBufferParams BytebufParams {
get { return payloadCase_ == PayloadOneofCase.BytebufParams ? (global::Grpc.Testing.ByteBufferParams) payload_ : null; } get { return payloadCase_ == PayloadOneofCase.BytebufParams ? (global::Grpc.Testing.ByteBufferParams) payload_ : null; }
set { set {
@ -435,6 +483,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "simple_params" field.</summary> /// <summary>Field number for the "simple_params" field.</summary>
public const int SimpleParamsFieldNumber = 2; public const int SimpleParamsFieldNumber = 2;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Grpc.Testing.SimpleProtoParams SimpleParams { public global::Grpc.Testing.SimpleProtoParams SimpleParams {
get { return payloadCase_ == PayloadOneofCase.SimpleParams ? (global::Grpc.Testing.SimpleProtoParams) payload_ : null; } get { return payloadCase_ == PayloadOneofCase.SimpleParams ? (global::Grpc.Testing.SimpleProtoParams) payload_ : null; }
set { set {
@ -445,6 +494,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "complex_params" field.</summary> /// <summary>Field number for the "complex_params" field.</summary>
public const int ComplexParamsFieldNumber = 3; public const int ComplexParamsFieldNumber = 3;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Grpc.Testing.ComplexProtoParams ComplexParams { public global::Grpc.Testing.ComplexProtoParams ComplexParams {
get { return payloadCase_ == PayloadOneofCase.ComplexParams ? (global::Grpc.Testing.ComplexProtoParams) payload_ : null; } get { return payloadCase_ == PayloadOneofCase.ComplexParams ? (global::Grpc.Testing.ComplexProtoParams) payload_ : null; }
set { set {
@ -462,19 +512,23 @@ namespace Grpc.Testing {
ComplexParams = 3, ComplexParams = 3,
} }
private PayloadOneofCase payloadCase_ = PayloadOneofCase.None; private PayloadOneofCase payloadCase_ = PayloadOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PayloadOneofCase PayloadCase { public PayloadOneofCase PayloadCase {
get { return payloadCase_; } get { return payloadCase_; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearPayload() { public void ClearPayload() {
payloadCase_ = PayloadOneofCase.None; payloadCase_ = PayloadOneofCase.None;
payload_ = null; payload_ = null;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as PayloadConfig); return Equals(other as PayloadConfig);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(PayloadConfig other) { public bool Equals(PayloadConfig other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -489,6 +543,7 @@ namespace Grpc.Testing {
return true; return true;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
if (payloadCase_ == PayloadOneofCase.BytebufParams) hash ^= BytebufParams.GetHashCode(); if (payloadCase_ == PayloadOneofCase.BytebufParams) hash ^= BytebufParams.GetHashCode();
@ -498,10 +553,12 @@ namespace Grpc.Testing {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (payloadCase_ == PayloadOneofCase.BytebufParams) { if (payloadCase_ == PayloadOneofCase.BytebufParams) {
output.WriteRawTag(10); output.WriteRawTag(10);
@ -517,6 +574,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (payloadCase_ == PayloadOneofCase.BytebufParams) { if (payloadCase_ == PayloadOneofCase.BytebufParams) {
@ -531,6 +589,7 @@ namespace Grpc.Testing {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(PayloadConfig other) { public void MergeFrom(PayloadConfig other) {
if (other == null) { if (other == null) {
return; return;
@ -549,6 +608,7 @@ namespace Grpc.Testing {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {

@ -10,7 +10,6 @@ using scg = global::System.Collections.Generic;
namespace Grpc.Testing { namespace Grpc.Testing {
/// <summary>Holder for reflection information generated from src/proto/grpc/testing/services.proto</summary> /// <summary>Holder for reflection information generated from src/proto/grpc/testing/services.proto</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class ServicesReflection { public static partial class ServicesReflection {
#region Descriptor #region Descriptor

@ -40,7 +40,7 @@ using System.Threading.Tasks;
using Grpc.Core; using Grpc.Core;
namespace Grpc.Testing { namespace Grpc.Testing {
public static class BenchmarkService public static partial class BenchmarkService
{ {
static readonly string __ServiceName = "grpc.testing.BenchmarkService"; static readonly string __ServiceName = "grpc.testing.BenchmarkService";
@ -68,7 +68,7 @@ namespace Grpc.Testing {
} }
/// <summary>Base class for server-side implementations of BenchmarkService</summary> /// <summary>Base class for server-side implementations of BenchmarkService</summary>
public abstract class BenchmarkServiceBase public abstract partial class BenchmarkServiceBase
{ {
/// <summary> /// <summary>
/// One request followed by one response. /// One request followed by one response.
@ -91,7 +91,7 @@ namespace Grpc.Testing {
} }
/// <summary>Client for BenchmarkService</summary> /// <summary>Client for BenchmarkService</summary>
public class BenchmarkServiceClient : ClientBase<BenchmarkServiceClient> public partial class BenchmarkServiceClient : ClientBase<BenchmarkServiceClient>
{ {
/// <summary>Creates a new client for BenchmarkService</summary> /// <summary>Creates a new client for BenchmarkService</summary>
/// <param name="channel">The channel to use to make remote calls.</param> /// <param name="channel">The channel to use to make remote calls.</param>
@ -176,7 +176,7 @@ namespace Grpc.Testing {
} }
} }
public static class WorkerService public static partial class WorkerService
{ {
static readonly string __ServiceName = "grpc.testing.WorkerService"; static readonly string __ServiceName = "grpc.testing.WorkerService";
@ -223,7 +223,7 @@ namespace Grpc.Testing {
} }
/// <summary>Base class for server-side implementations of WorkerService</summary> /// <summary>Base class for server-side implementations of WorkerService</summary>
public abstract class WorkerServiceBase public abstract partial class WorkerServiceBase
{ {
/// <summary> /// <summary>
/// Start server with specified workload. /// Start server with specified workload.
@ -270,7 +270,7 @@ namespace Grpc.Testing {
} }
/// <summary>Client for WorkerService</summary> /// <summary>Client for WorkerService</summary>
public class WorkerServiceClient : ClientBase<WorkerServiceClient> public partial class WorkerServiceClient : ClientBase<WorkerServiceClient>
{ {
/// <summary>Creates a new client for WorkerService</summary> /// <summary>Creates a new client for WorkerService</summary>
/// <param name="channel">The channel to use to make remote calls.</param> /// <param name="channel">The channel to use to make remote calls.</param>

@ -10,7 +10,6 @@ using scg = global::System.Collections.Generic;
namespace Grpc.Testing { namespace Grpc.Testing {
/// <summary>Holder for reflection information generated from src/proto/grpc/testing/stats.proto</summary> /// <summary>Holder for reflection information generated from src/proto/grpc/testing/stats.proto</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class StatsReflection { public static partial class StatsReflection {
#region Descriptor #region Descriptor
@ -46,31 +45,36 @@ namespace Grpc.Testing {
} }
#region Messages #region Messages
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ServerStats> Parser { get { return _parser; } } public static pb::MessageParser<ServerStats> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[0]; } get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[0]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServerStats() { public ServerStats() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServerStats(ServerStats other) : this() { public ServerStats(ServerStats other) : this() {
timeElapsed_ = other.timeElapsed_; timeElapsed_ = other.timeElapsed_;
timeUser_ = other.timeUser_; timeUser_ = other.timeUser_;
timeSystem_ = other.timeSystem_; timeSystem_ = other.timeSystem_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServerStats Clone() { public ServerStats Clone() {
return new ServerStats(this); return new ServerStats(this);
} }
@ -81,6 +85,7 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// wall clock time change in seconds since last reset /// wall clock time change in seconds since last reset
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeElapsed { public double TimeElapsed {
get { return timeElapsed_; } get { return timeElapsed_; }
set { set {
@ -94,6 +99,7 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// change in user time (in seconds) used by the server since last reset /// change in user time (in seconds) used by the server since last reset
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeUser { public double TimeUser {
get { return timeUser_; } get { return timeUser_; }
set { set {
@ -108,6 +114,7 @@ namespace Grpc.Testing {
/// change in server time (in seconds) used by the server process and all /// change in server time (in seconds) used by the server process and all
/// threads since last reset /// threads since last reset
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeSystem { public double TimeSystem {
get { return timeSystem_; } get { return timeSystem_; }
set { set {
@ -115,10 +122,12 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as ServerStats); return Equals(other as ServerStats);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ServerStats other) { public bool Equals(ServerStats other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -132,6 +141,7 @@ namespace Grpc.Testing {
return true; return true;
} }
[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 ^= TimeElapsed.GetHashCode();
@ -140,10 +150,12 @@ namespace Grpc.Testing {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (TimeElapsed != 0D) { if (TimeElapsed != 0D) {
output.WriteRawTag(9); output.WriteRawTag(9);
@ -159,6 +171,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (TimeElapsed != 0D) { if (TimeElapsed != 0D) {
@ -173,6 +186,7 @@ namespace Grpc.Testing {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ServerStats other) { public void MergeFrom(ServerStats other) {
if (other == null) { if (other == null) {
return; return;
@ -188,6 +202,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -216,30 +231,35 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// Histogram params based on grpc/support/histogram.c /// Histogram params based on grpc/support/histogram.c
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<HistogramParams> Parser { get { return _parser; } } public static pb::MessageParser<HistogramParams> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[1]; } get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[1]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HistogramParams() { public HistogramParams() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HistogramParams(HistogramParams other) : this() { public HistogramParams(HistogramParams other) : this() {
resolution_ = other.resolution_; resolution_ = other.resolution_;
maxPossible_ = other.maxPossible_; maxPossible_ = other.maxPossible_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HistogramParams Clone() { public HistogramParams Clone() {
return new HistogramParams(this); return new HistogramParams(this);
} }
@ -250,6 +270,7 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// first bucket is [0, 1 + resolution) /// first bucket is [0, 1 + resolution)
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double Resolution { public double Resolution {
get { return resolution_; } get { return resolution_; }
set { set {
@ -263,6 +284,7 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// use enough buckets to allow this value /// use enough buckets to allow this value
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double MaxPossible { public double MaxPossible {
get { return maxPossible_; } get { return maxPossible_; }
set { set {
@ -270,10 +292,12 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as HistogramParams); return Equals(other as HistogramParams);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(HistogramParams other) { public bool Equals(HistogramParams other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -286,6 +310,7 @@ namespace Grpc.Testing {
return true; return true;
} }
[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 ^= Resolution.GetHashCode();
@ -293,10 +318,12 @@ namespace Grpc.Testing {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (Resolution != 0D) { if (Resolution != 0D) {
output.WriteRawTag(9); output.WriteRawTag(9);
@ -308,6 +335,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (Resolution != 0D) { if (Resolution != 0D) {
@ -319,6 +347,7 @@ namespace Grpc.Testing {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(HistogramParams other) { public void MergeFrom(HistogramParams other) {
if (other == null) { if (other == null) {
return; return;
@ -331,6 +360,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -355,25 +385,29 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// Histogram data based on grpc/support/histogram.c /// Histogram data based on grpc/support/histogram.c
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<HistogramData> Parser { get { return _parser; } } public static pb::MessageParser<HistogramData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[2]; } get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[2]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HistogramData() { public HistogramData() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HistogramData(HistogramData other) : this() { public HistogramData(HistogramData other) : this() {
bucket_ = other.bucket_.Clone(); bucket_ = other.bucket_.Clone();
minSeen_ = other.minSeen_; minSeen_ = other.minSeen_;
@ -383,6 +417,7 @@ namespace Grpc.Testing {
count_ = other.count_; count_ = other.count_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public HistogramData Clone() { public HistogramData Clone() {
return new HistogramData(this); return new HistogramData(this);
} }
@ -392,6 +427,7 @@ namespace Grpc.Testing {
private static readonly pb::FieldCodec<uint> _repeated_bucket_codec private static readonly pb::FieldCodec<uint> _repeated_bucket_codec
= pb::FieldCodec.ForUInt32(10); = pb::FieldCodec.ForUInt32(10);
private readonly pbc::RepeatedField<uint> bucket_ = new pbc::RepeatedField<uint>(); private readonly pbc::RepeatedField<uint> bucket_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<uint> Bucket { public pbc::RepeatedField<uint> Bucket {
get { return bucket_; } get { return bucket_; }
} }
@ -399,6 +435,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "min_seen" field.</summary> /// <summary>Field number for the "min_seen" field.</summary>
public const int MinSeenFieldNumber = 2; public const int MinSeenFieldNumber = 2;
private double minSeen_; private double minSeen_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double MinSeen { public double MinSeen {
get { return minSeen_; } get { return minSeen_; }
set { set {
@ -409,6 +446,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "max_seen" field.</summary> /// <summary>Field number for the "max_seen" field.</summary>
public const int MaxSeenFieldNumber = 3; public const int MaxSeenFieldNumber = 3;
private double maxSeen_; private double maxSeen_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double MaxSeen { public double MaxSeen {
get { return maxSeen_; } get { return maxSeen_; }
set { set {
@ -419,6 +457,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "sum" field.</summary> /// <summary>Field number for the "sum" field.</summary>
public const int SumFieldNumber = 4; public const int SumFieldNumber = 4;
private double sum_; private double sum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double Sum { public double Sum {
get { return sum_; } get { return sum_; }
set { set {
@ -429,6 +468,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "sum_of_squares" field.</summary> /// <summary>Field number for the "sum_of_squares" field.</summary>
public const int SumOfSquaresFieldNumber = 5; public const int SumOfSquaresFieldNumber = 5;
private double sumOfSquares_; private double sumOfSquares_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double SumOfSquares { public double SumOfSquares {
get { return sumOfSquares_; } get { return sumOfSquares_; }
set { set {
@ -439,6 +479,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "count" field.</summary> /// <summary>Field number for the "count" field.</summary>
public const int CountFieldNumber = 6; public const int CountFieldNumber = 6;
private double count_; private double count_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double Count { public double Count {
get { return count_; } get { return count_; }
set { set {
@ -446,10 +487,12 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as HistogramData); return Equals(other as HistogramData);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(HistogramData other) { public bool Equals(HistogramData other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -466,6 +509,7 @@ namespace Grpc.Testing {
return true; return true;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() { public override int GetHashCode() {
int hash = 1; int hash = 1;
hash ^= bucket_.GetHashCode(); hash ^= bucket_.GetHashCode();
@ -477,10 +521,12 @@ namespace Grpc.Testing {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
bucket_.WriteTo(output, _repeated_bucket_codec); bucket_.WriteTo(output, _repeated_bucket_codec);
if (MinSeen != 0D) { if (MinSeen != 0D) {
@ -505,6 +551,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
size += bucket_.CalculateSize(_repeated_bucket_codec); size += bucket_.CalculateSize(_repeated_bucket_codec);
@ -526,6 +573,7 @@ namespace Grpc.Testing {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(HistogramData other) { public void MergeFrom(HistogramData other) {
if (other == null) { if (other == null) {
return; return;
@ -548,6 +596,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {
@ -586,25 +635,29 @@ namespace Grpc.Testing {
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
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());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ClientStats> Parser { get { return _parser; } } public static pb::MessageParser<ClientStats> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor { public static pbr::MessageDescriptor Descriptor {
get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[3]; } get { return global::Grpc.Testing.StatsReflection.Descriptor.MessageTypes[3]; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor { pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; } get { return Descriptor; }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClientStats() { public ClientStats() {
OnConstruction(); OnConstruction();
} }
partial void OnConstruction(); partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClientStats(ClientStats other) : this() { public ClientStats(ClientStats other) : this() {
Latencies = other.latencies_ != null ? other.Latencies.Clone() : null; Latencies = other.latencies_ != null ? other.Latencies.Clone() : null;
timeElapsed_ = other.timeElapsed_; timeElapsed_ = other.timeElapsed_;
@ -612,6 +665,7 @@ namespace Grpc.Testing {
timeSystem_ = other.timeSystem_; timeSystem_ = other.timeSystem_;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClientStats Clone() { public ClientStats Clone() {
return new ClientStats(this); return new ClientStats(this);
} }
@ -622,6 +676,7 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// Latency histogram. Data points are in nanoseconds. /// Latency histogram. Data points are in nanoseconds.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Grpc.Testing.HistogramData Latencies { public global::Grpc.Testing.HistogramData Latencies {
get { return latencies_; } get { return latencies_; }
set { set {
@ -635,6 +690,7 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// See ServerStats for details. /// See ServerStats for details.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeElapsed { public double TimeElapsed {
get { return timeElapsed_; } get { return timeElapsed_; }
set { set {
@ -645,6 +701,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "time_user" field.</summary> /// <summary>Field number for the "time_user" field.</summary>
public const int TimeUserFieldNumber = 3; public const int TimeUserFieldNumber = 3;
private double timeUser_; private double timeUser_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeUser { public double TimeUser {
get { return timeUser_; } get { return timeUser_; }
set { set {
@ -655,6 +712,7 @@ namespace Grpc.Testing {
/// <summary>Field number for the "time_system" field.</summary> /// <summary>Field number for the "time_system" field.</summary>
public const int TimeSystemFieldNumber = 4; public const int TimeSystemFieldNumber = 4;
private double timeSystem_; private double timeSystem_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeSystem { public double TimeSystem {
get { return timeSystem_; } get { return timeSystem_; }
set { set {
@ -662,10 +720,12 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) { public override bool Equals(object other) {
return Equals(other as ClientStats); return Equals(other as ClientStats);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ClientStats other) { public bool Equals(ClientStats other) {
if (ReferenceEquals(other, null)) { if (ReferenceEquals(other, null)) {
return false; return false;
@ -680,6 +740,7 @@ namespace Grpc.Testing {
return true; return true;
} }
[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();
@ -689,10 +750,12 @@ namespace Grpc.Testing {
return hash; return hash;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() { public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this); return pb::JsonFormatter.ToDiagnosticString(this);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) { public void WriteTo(pb::CodedOutputStream output) {
if (latencies_ != null) { if (latencies_ != null) {
output.WriteRawTag(10); output.WriteRawTag(10);
@ -712,6 +775,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() { public int CalculateSize() {
int size = 0; int size = 0;
if (latencies_ != null) { if (latencies_ != null) {
@ -729,6 +793,7 @@ namespace Grpc.Testing {
return size; return size;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ClientStats other) { public void MergeFrom(ClientStats other) {
if (other == null) { if (other == null) {
return; return;
@ -750,6 +815,7 @@ namespace Grpc.Testing {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) { public void MergeFrom(pb::CodedInputStream input) {
uint tag; uint tag;
while ((tag = input.ReadTag()) != 0) { while ((tag = input.ReadTag()) != 0) {

@ -10,7 +10,6 @@ using scg = global::System.Collections.Generic;
namespace Grpc.Testing { namespace Grpc.Testing {
/// <summary>Holder for reflection information generated from src/proto/grpc/testing/test.proto</summary> /// <summary>Holder for reflection information generated from src/proto/grpc/testing/test.proto</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class TestReflection { public static partial class TestReflection {
#region Descriptor #region Descriptor

@ -45,7 +45,7 @@ namespace Grpc.Testing {
/// A simple service to test the various types of RPCs and experiment with /// A simple service to test the various types of RPCs and experiment with
/// performance with various types of payload. /// performance with various types of payload.
/// </summary> /// </summary>
public static class TestService public static partial class TestService
{ {
static readonly string __ServiceName = "grpc.testing.TestService"; static readonly string __ServiceName = "grpc.testing.TestService";
@ -106,7 +106,7 @@ namespace Grpc.Testing {
} }
/// <summary>Base class for server-side implementations of TestService</summary> /// <summary>Base class for server-side implementations of TestService</summary>
public abstract class TestServiceBase public abstract partial class TestServiceBase
{ {
/// <summary> /// <summary>
/// One empty request followed by one empty response. /// One empty request followed by one empty response.
@ -166,7 +166,7 @@ namespace Grpc.Testing {
} }
/// <summary>Client for TestService</summary> /// <summary>Client for TestService</summary>
public class TestServiceClient : ClientBase<TestServiceClient> public partial class TestServiceClient : ClientBase<TestServiceClient>
{ {
/// <summary>Creates a new client for TestService</summary> /// <summary>Creates a new client for TestService</summary>
/// <param name="channel">The channel to use to make remote calls.</param> /// <param name="channel">The channel to use to make remote calls.</param>
@ -337,7 +337,7 @@ namespace Grpc.Testing {
/// A simple service NOT implemented at servers so clients can test for /// A simple service NOT implemented at servers so clients can test for
/// that case. /// that case.
/// </summary> /// </summary>
public static class UnimplementedService public static partial class UnimplementedService
{ {
static readonly string __ServiceName = "grpc.testing.UnimplementedService"; static readonly string __ServiceName = "grpc.testing.UnimplementedService";
@ -357,7 +357,7 @@ namespace Grpc.Testing {
} }
/// <summary>Base class for server-side implementations of UnimplementedService</summary> /// <summary>Base class for server-side implementations of UnimplementedService</summary>
public abstract class UnimplementedServiceBase public abstract partial class UnimplementedServiceBase
{ {
/// <summary> /// <summary>
/// A call that no server should implement /// A call that no server should implement
@ -370,7 +370,7 @@ namespace Grpc.Testing {
} }
/// <summary>Client for UnimplementedService</summary> /// <summary>Client for UnimplementedService</summary>
public class UnimplementedServiceClient : ClientBase<UnimplementedServiceClient> public partial class UnimplementedServiceClient : ClientBase<UnimplementedServiceClient>
{ {
/// <summary>Creates a new client for UnimplementedService</summary> /// <summary>Creates a new client for UnimplementedService</summary>
/// <param name="channel">The channel to use to make remote calls.</param> /// <param name="channel">The channel to use to make remote calls.</param>
@ -437,7 +437,7 @@ namespace Grpc.Testing {
/// <summary> /// <summary>
/// A service used to control reconnect server. /// A service used to control reconnect server.
/// </summary> /// </summary>
public static class ReconnectService public static partial class ReconnectService
{ {
static readonly string __ServiceName = "grpc.testing.ReconnectService"; static readonly string __ServiceName = "grpc.testing.ReconnectService";
@ -466,7 +466,7 @@ namespace Grpc.Testing {
} }
/// <summary>Base class for server-side implementations of ReconnectService</summary> /// <summary>Base class for server-side implementations of ReconnectService</summary>
public abstract class ReconnectServiceBase public abstract partial class ReconnectServiceBase
{ {
public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.Empty> Start(global::Grpc.Testing.ReconnectParams request, ServerCallContext context) public virtual global::System.Threading.Tasks.Task<global::Grpc.Testing.Empty> Start(global::Grpc.Testing.ReconnectParams request, ServerCallContext context)
{ {
@ -481,7 +481,7 @@ namespace Grpc.Testing {
} }
/// <summary>Client for ReconnectService</summary> /// <summary>Client for ReconnectService</summary>
public class ReconnectServiceClient : ClientBase<ReconnectServiceClient> public partial class ReconnectServiceClient : ClientBase<ReconnectServiceClient>
{ {
/// <summary>Creates a new client for ReconnectService</summary> /// <summary>Creates a new client for ReconnectService</summary>
/// <param name="channel">The channel to use to make remote calls.</param> /// <param name="channel">The channel to use to make remote calls.</param>

Loading…
Cancel
Save