Skip to content

Commit

Permalink
regenerate C# protos
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed Mar 7, 2017
1 parent fddb01d commit d687e92
Show file tree
Hide file tree
Showing 7 changed files with 500 additions and 269 deletions.
497 changes: 364 additions & 133 deletions src/csharp/Grpc.IntegrationTesting/Control.cs

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/csharp/Grpc.IntegrationTesting/Empty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ static EmptyReflection() {
}
#region Messages
/// <summary>
/// An empty message that you can re-use to avoid defining duplicated empty
/// messages in your project. A typical example is to use it as argument or the
/// return value of a service API. For instance:
/// An empty message that you can re-use to avoid defining duplicated empty
/// messages in your project. A typical example is to use it as argument or the
/// return value of a service API. For instance:
///
/// service Foo {
/// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
/// };
/// service Foo {
/// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
/// };
/// </summary>
public sealed partial class Empty : pb::IMessage<Empty> {
private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty());
Expand Down
128 changes: 64 additions & 64 deletions src/csharp/Grpc.IntegrationTesting/Messages.cs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/csharp/Grpc.IntegrationTesting/Metrics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static MetricsReflection() {
}
#region Messages
/// <summary>
/// Reponse message containing the gauge name and value
/// Reponse message containing the gauge name and value
/// </summary>
public sealed partial class GaugeResponse : pb::IMessage<GaugeResponse> {
private static readonly pb::MessageParser<GaugeResponse> _parser = new pb::MessageParser<GaugeResponse>(() => new GaugeResponse());
Expand Down Expand Up @@ -282,7 +282,7 @@ public void MergeFrom(pb::CodedInputStream input) {
}

/// <summary>
/// Request message containing the gauge name
/// Request message containing the gauge name
/// </summary>
public sealed partial class GaugeRequest : pb::IMessage<GaugeRequest> {
private static readonly pb::MessageParser<GaugeRequest> _parser = new pb::MessageParser<GaugeRequest>(() => new GaugeRequest());
Expand Down
4 changes: 2 additions & 2 deletions src/csharp/Grpc.IntegrationTesting/Payloads.cs
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ public void MergeFrom(pb::CodedInputStream input) {
}

/// <summary>
/// TODO (vpai): Fill this in once the details of complex, representative
/// protos are decided
/// TODO (vpai): Fill this in once the details of complex, representative
/// protos are decided
/// </summary>
public sealed partial class ComplexProtoParams : pb::IMessage<ComplexProtoParams> {
private static readonly pb::MessageParser<ComplexProtoParams> _parser = new pb::MessageParser<ComplexProtoParams>(() => new ComplexProtoParams());
Expand Down
26 changes: 13 additions & 13 deletions src/csharp/Grpc.IntegrationTesting/Stats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public ServerStats Clone() {
public const int TimeElapsedFieldNumber = 1;
private double timeElapsed_;
/// <summary>
/// wall clock time change in seconds since last reset
/// wall clock time change in seconds since last reset
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeElapsed {
Expand All @@ -104,7 +104,7 @@ public double TimeElapsed {
public const int TimeUserFieldNumber = 2;
private double timeUser_;
/// <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>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeUser {
Expand All @@ -118,8 +118,8 @@ public double TimeUser {
public const int TimeSystemFieldNumber = 3;
private double timeSystem_;
/// <summary>
/// change in server time (in seconds) used by the server process and all
/// threads since last reset
/// change in server time (in seconds) used by the server process and all
/// threads since last reset
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeSystem {
Expand All @@ -133,7 +133,7 @@ public double TimeSystem {
public const int TotalCpuTimeFieldNumber = 4;
private ulong totalCpuTime_;
/// <summary>
/// change in total cpu time of the server (data from proc/stat)
/// change in total cpu time of the server (data from proc/stat)
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong TotalCpuTime {
Expand All @@ -147,7 +147,7 @@ public ulong TotalCpuTime {
public const int IdleCpuTimeFieldNumber = 5;
private ulong idleCpuTime_;
/// <summary>
/// change in idle time of the server (data from proc/stat)
/// change in idle time of the server (data from proc/stat)
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong IdleCpuTime {
Expand Down Expand Up @@ -296,7 +296,7 @@ public void MergeFrom(pb::CodedInputStream input) {
}

/// <summary>
/// Histogram params based on grpc/support/histogram.c
/// Histogram params based on grpc/support/histogram.c
/// </summary>
public sealed partial class HistogramParams : pb::IMessage<HistogramParams> {
private static readonly pb::MessageParser<HistogramParams> _parser = new pb::MessageParser<HistogramParams>(() => new HistogramParams());
Expand Down Expand Up @@ -335,7 +335,7 @@ public HistogramParams Clone() {
public const int ResolutionFieldNumber = 1;
private double resolution_;
/// <summary>
/// first bucket is [0, 1 + resolution)
/// first bucket is [0, 1 + resolution)
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double Resolution {
Expand All @@ -349,7 +349,7 @@ public double Resolution {
public const int MaxPossibleFieldNumber = 2;
private double maxPossible_;
/// <summary>
/// use enough buckets to allow this value
/// use enough buckets to allow this value
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double MaxPossible {
Expand Down Expand Up @@ -450,7 +450,7 @@ public void MergeFrom(pb::CodedInputStream input) {
}

/// <summary>
/// Histogram data based on grpc/support/histogram.c
/// Histogram data based on grpc/support/histogram.c
/// </summary>
public sealed partial class HistogramData : pb::IMessage<HistogramData> {
private static readonly pb::MessageParser<HistogramData> _parser = new pb::MessageParser<HistogramData>(() => new HistogramData());
Expand Down Expand Up @@ -887,7 +887,7 @@ public ClientStats Clone() {
public const int LatenciesFieldNumber = 1;
private global::Grpc.Testing.HistogramData latencies_;
/// <summary>
/// Latency histogram. Data points are in nanoseconds.
/// Latency histogram. Data points are in nanoseconds.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Grpc.Testing.HistogramData Latencies {
Expand All @@ -901,7 +901,7 @@ public ClientStats Clone() {
public const int TimeElapsedFieldNumber = 2;
private double timeElapsed_;
/// <summary>
/// See ServerStats for details.
/// See ServerStats for details.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double TimeElapsed {
Expand Down Expand Up @@ -939,7 +939,7 @@ public double TimeSystem {
= pb::FieldCodec.ForMessage(42, global::Grpc.Testing.RequestResultCount.Parser);
private readonly pbc::RepeatedField<global::Grpc.Testing.RequestResultCount> requestResults_ = new pbc::RepeatedField<global::Grpc.Testing.RequestResultCount>();
/// <summary>
/// Number of failed requests (one row per status code seen)
/// Number of failed requests (one row per status code seen)
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Grpc.Testing.RequestResultCount> RequestResults {
Expand Down
Loading

0 comments on commit d687e92

Please sign in to comment.