regenerate C# protos

pull/18329/head
Jan Tattermusch 6 years ago
parent e3c024591b
commit 1c6040162e
  1. 6
      src/csharp/Grpc.Examples/MathGrpc.cs
  2. 2
      src/csharp/Grpc.HealthCheck/Health.cs
  3. 6
      src/csharp/Grpc.HealthCheck/HealthGrpc.cs
  4. 6
      src/csharp/Grpc.IntegrationTesting/BenchmarkServiceGrpc.cs
  5. 84
      src/csharp/Grpc.IntegrationTesting/Control.cs
  6. 24
      src/csharp/Grpc.IntegrationTesting/EchoMessages.cs
  7. 1
      src/csharp/Grpc.IntegrationTesting/Empty.cs
  8. 6
      src/csharp/Grpc.IntegrationTesting/EmptyServiceGrpc.cs
  9. 72
      src/csharp/Grpc.IntegrationTesting/Messages.cs
  10. 8
      src/csharp/Grpc.IntegrationTesting/MetricsGrpc.cs
  11. 6
      src/csharp/Grpc.IntegrationTesting/ReportQpsScenarioServiceGrpc.cs
  12. 18
      src/csharp/Grpc.IntegrationTesting/Stats.cs
  13. 6
      src/csharp/Grpc.IntegrationTesting/TestGrpc.cs
  14. 6
      src/csharp/Grpc.IntegrationTesting/WorkerServiceGrpc.cs
  15. 6
      src/csharp/Grpc.Reflection/Reflection.cs
  16. 6
      src/csharp/Grpc.Reflection/ReflectionGrpc.cs

@ -4,13 +4,13 @@
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2015 gRPC authors. // Copyright 2015 gRPC authors.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

@ -296,7 +296,7 @@ namespace Grpc.Health.V1 {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
status_ = (global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus) input.ReadEnum(); Status = (global::Grpc.Health.V1.HealthCheckResponse.Types.ServingStatus) input.ReadEnum();
break; break;
} }
} }

@ -4,13 +4,13 @@
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2015 The gRPC Authors // Copyright 2015 The gRPC Authors
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

@ -4,13 +4,13 @@
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2015 gRPC authors. // Copyright 2015 gRPC authors.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

@ -1502,7 +1502,7 @@ namespace Grpc.Testing {
} }
if (other.securityParams_ != null) { if (other.securityParams_ != null) {
if (securityParams_ == null) { if (securityParams_ == null) {
securityParams_ = new global::Grpc.Testing.SecurityParams(); SecurityParams = new global::Grpc.Testing.SecurityParams();
} }
SecurityParams.MergeFrom(other.SecurityParams); SecurityParams.MergeFrom(other.SecurityParams);
} }
@ -1520,19 +1520,19 @@ namespace Grpc.Testing {
} }
if (other.loadParams_ != null) { if (other.loadParams_ != null) {
if (loadParams_ == null) { if (loadParams_ == null) {
loadParams_ = new global::Grpc.Testing.LoadParams(); LoadParams = new global::Grpc.Testing.LoadParams();
} }
LoadParams.MergeFrom(other.LoadParams); LoadParams.MergeFrom(other.LoadParams);
} }
if (other.payloadConfig_ != null) { if (other.payloadConfig_ != null) {
if (payloadConfig_ == null) { if (payloadConfig_ == null) {
payloadConfig_ = new global::Grpc.Testing.PayloadConfig(); PayloadConfig = new global::Grpc.Testing.PayloadConfig();
} }
PayloadConfig.MergeFrom(other.PayloadConfig); PayloadConfig.MergeFrom(other.PayloadConfig);
} }
if (other.histogramParams_ != null) { if (other.histogramParams_ != null) {
if (histogramParams_ == null) { if (histogramParams_ == null) {
histogramParams_ = new global::Grpc.Testing.HistogramParams(); HistogramParams = new global::Grpc.Testing.HistogramParams();
} }
HistogramParams.MergeFrom(other.HistogramParams); HistogramParams.MergeFrom(other.HistogramParams);
} }
@ -1572,14 +1572,14 @@ namespace Grpc.Testing {
break; break;
} }
case 16: { case 16: {
clientType_ = (global::Grpc.Testing.ClientType) input.ReadEnum(); ClientType = (global::Grpc.Testing.ClientType) input.ReadEnum();
break; break;
} }
case 26: { case 26: {
if (securityParams_ == null) { if (securityParams_ == null) {
securityParams_ = new global::Grpc.Testing.SecurityParams(); SecurityParams = new global::Grpc.Testing.SecurityParams();
} }
input.ReadMessage(securityParams_); input.ReadMessage(SecurityParams);
break; break;
} }
case 32: { case 32: {
@ -1595,28 +1595,28 @@ namespace Grpc.Testing {
break; break;
} }
case 64: { case 64: {
rpcType_ = (global::Grpc.Testing.RpcType) input.ReadEnum(); RpcType = (global::Grpc.Testing.RpcType) input.ReadEnum();
break; break;
} }
case 82: { case 82: {
if (loadParams_ == null) { if (loadParams_ == null) {
loadParams_ = new global::Grpc.Testing.LoadParams(); LoadParams = new global::Grpc.Testing.LoadParams();
} }
input.ReadMessage(loadParams_); input.ReadMessage(LoadParams);
break; break;
} }
case 90: { case 90: {
if (payloadConfig_ == null) { if (payloadConfig_ == null) {
payloadConfig_ = new global::Grpc.Testing.PayloadConfig(); PayloadConfig = new global::Grpc.Testing.PayloadConfig();
} }
input.ReadMessage(payloadConfig_); input.ReadMessage(PayloadConfig);
break; break;
} }
case 98: { case 98: {
if (histogramParams_ == null) { if (histogramParams_ == null) {
histogramParams_ = new global::Grpc.Testing.HistogramParams(); HistogramParams = new global::Grpc.Testing.HistogramParams();
} }
input.ReadMessage(histogramParams_); input.ReadMessage(HistogramParams);
break; break;
} }
case 106: case 106:
@ -1765,7 +1765,7 @@ namespace Grpc.Testing {
} }
if (other.stats_ != null) { if (other.stats_ != null) {
if (stats_ == null) { if (stats_ == null) {
stats_ = new global::Grpc.Testing.ClientStats(); Stats = new global::Grpc.Testing.ClientStats();
} }
Stats.MergeFrom(other.Stats); Stats.MergeFrom(other.Stats);
} }
@ -1782,9 +1782,9 @@ namespace Grpc.Testing {
break; break;
case 10: { case 10: {
if (stats_ == null) { if (stats_ == null) {
stats_ = new global::Grpc.Testing.ClientStats(); Stats = new global::Grpc.Testing.ClientStats();
} }
input.ReadMessage(stats_); input.ReadMessage(Stats);
break; break;
} }
} }
@ -2467,7 +2467,7 @@ namespace Grpc.Testing {
} }
if (other.securityParams_ != null) { if (other.securityParams_ != null) {
if (securityParams_ == null) { if (securityParams_ == null) {
securityParams_ = new global::Grpc.Testing.SecurityParams(); SecurityParams = new global::Grpc.Testing.SecurityParams();
} }
SecurityParams.MergeFrom(other.SecurityParams); SecurityParams.MergeFrom(other.SecurityParams);
} }
@ -2482,7 +2482,7 @@ namespace Grpc.Testing {
} }
if (other.payloadConfig_ != null) { if (other.payloadConfig_ != null) {
if (payloadConfig_ == null) { if (payloadConfig_ == null) {
payloadConfig_ = new global::Grpc.Testing.PayloadConfig(); PayloadConfig = new global::Grpc.Testing.PayloadConfig();
} }
PayloadConfig.MergeFrom(other.PayloadConfig); PayloadConfig.MergeFrom(other.PayloadConfig);
} }
@ -2509,14 +2509,14 @@ namespace Grpc.Testing {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
serverType_ = (global::Grpc.Testing.ServerType) input.ReadEnum(); ServerType = (global::Grpc.Testing.ServerType) input.ReadEnum();
break; break;
} }
case 18: { case 18: {
if (securityParams_ == null) { if (securityParams_ == null) {
securityParams_ = new global::Grpc.Testing.SecurityParams(); SecurityParams = new global::Grpc.Testing.SecurityParams();
} }
input.ReadMessage(securityParams_); input.ReadMessage(SecurityParams);
break; break;
} }
case 32: { case 32: {
@ -2533,9 +2533,9 @@ namespace Grpc.Testing {
} }
case 74: { case 74: {
if (payloadConfig_ == null) { if (payloadConfig_ == null) {
payloadConfig_ = new global::Grpc.Testing.PayloadConfig(); PayloadConfig = new global::Grpc.Testing.PayloadConfig();
} }
input.ReadMessage(payloadConfig_); input.ReadMessage(PayloadConfig);
break; break;
} }
case 82: case 82:
@ -2924,7 +2924,7 @@ namespace Grpc.Testing {
} }
if (other.stats_ != null) { if (other.stats_ != null) {
if (stats_ == null) { if (stats_ == null) {
stats_ = new global::Grpc.Testing.ServerStats(); Stats = new global::Grpc.Testing.ServerStats();
} }
Stats.MergeFrom(other.Stats); Stats.MergeFrom(other.Stats);
} }
@ -2947,9 +2947,9 @@ namespace Grpc.Testing {
break; break;
case 10: { case 10: {
if (stats_ == null) { if (stats_ == null) {
stats_ = new global::Grpc.Testing.ServerStats(); Stats = new global::Grpc.Testing.ServerStats();
} }
input.ReadMessage(stats_); input.ReadMessage(Stats);
break; break;
} }
case 16: { case 16: {
@ -3584,7 +3584,7 @@ namespace Grpc.Testing {
} }
if (other.clientConfig_ != null) { if (other.clientConfig_ != null) {
if (clientConfig_ == null) { if (clientConfig_ == null) {
clientConfig_ = new global::Grpc.Testing.ClientConfig(); ClientConfig = new global::Grpc.Testing.ClientConfig();
} }
ClientConfig.MergeFrom(other.ClientConfig); ClientConfig.MergeFrom(other.ClientConfig);
} }
@ -3593,7 +3593,7 @@ namespace Grpc.Testing {
} }
if (other.serverConfig_ != null) { if (other.serverConfig_ != null) {
if (serverConfig_ == null) { if (serverConfig_ == null) {
serverConfig_ = new global::Grpc.Testing.ServerConfig(); ServerConfig = new global::Grpc.Testing.ServerConfig();
} }
ServerConfig.MergeFrom(other.ServerConfig); ServerConfig.MergeFrom(other.ServerConfig);
} }
@ -3626,9 +3626,9 @@ namespace Grpc.Testing {
} }
case 18: { case 18: {
if (clientConfig_ == null) { if (clientConfig_ == null) {
clientConfig_ = new global::Grpc.Testing.ClientConfig(); ClientConfig = new global::Grpc.Testing.ClientConfig();
} }
input.ReadMessage(clientConfig_); input.ReadMessage(ClientConfig);
break; break;
} }
case 24: { case 24: {
@ -3637,9 +3637,9 @@ namespace Grpc.Testing {
} }
case 34: { case 34: {
if (serverConfig_ == null) { if (serverConfig_ == null) {
serverConfig_ = new global::Grpc.Testing.ServerConfig(); ServerConfig = new global::Grpc.Testing.ServerConfig();
} }
input.ReadMessage(serverConfig_); input.ReadMessage(ServerConfig);
break; break;
} }
case 40: { case 40: {
@ -4696,13 +4696,13 @@ namespace Grpc.Testing {
} }
if (other.scenario_ != null) { if (other.scenario_ != null) {
if (scenario_ == null) { if (scenario_ == null) {
scenario_ = new global::Grpc.Testing.Scenario(); Scenario = new global::Grpc.Testing.Scenario();
} }
Scenario.MergeFrom(other.Scenario); Scenario.MergeFrom(other.Scenario);
} }
if (other.latencies_ != null) { if (other.latencies_ != null) {
if (latencies_ == null) { if (latencies_ == null) {
latencies_ = new global::Grpc.Testing.HistogramData(); Latencies = new global::Grpc.Testing.HistogramData();
} }
Latencies.MergeFrom(other.Latencies); Latencies.MergeFrom(other.Latencies);
} }
@ -4711,7 +4711,7 @@ namespace Grpc.Testing {
serverCores_.Add(other.serverCores_); serverCores_.Add(other.serverCores_);
if (other.summary_ != null) { if (other.summary_ != null) {
if (summary_ == null) { if (summary_ == null) {
summary_ = new global::Grpc.Testing.ScenarioResultSummary(); Summary = new global::Grpc.Testing.ScenarioResultSummary();
} }
Summary.MergeFrom(other.Summary); Summary.MergeFrom(other.Summary);
} }
@ -4731,16 +4731,16 @@ namespace Grpc.Testing {
break; break;
case 10: { case 10: {
if (scenario_ == null) { if (scenario_ == null) {
scenario_ = new global::Grpc.Testing.Scenario(); Scenario = new global::Grpc.Testing.Scenario();
} }
input.ReadMessage(scenario_); input.ReadMessage(Scenario);
break; break;
} }
case 18: { case 18: {
if (latencies_ == null) { if (latencies_ == null) {
latencies_ = new global::Grpc.Testing.HistogramData(); Latencies = new global::Grpc.Testing.HistogramData();
} }
input.ReadMessage(latencies_); input.ReadMessage(Latencies);
break; break;
} }
case 26: { case 26: {
@ -4758,9 +4758,9 @@ namespace Grpc.Testing {
} }
case 50: { case 50: {
if (summary_ == null) { if (summary_ == null) {
summary_ = new global::Grpc.Testing.ScenarioResultSummary(); Summary = new global::Grpc.Testing.ScenarioResultSummary();
} }
input.ReadMessage(summary_); input.ReadMessage(Summary);
break; break;
} }
case 58: case 58:

@ -864,7 +864,7 @@ namespace Grpc.Testing {
} }
if (other.debugInfo_ != null) { if (other.debugInfo_ != null) {
if (debugInfo_ == null) { if (debugInfo_ == null) {
debugInfo_ = new global::Grpc.Testing.DebugInfo(); DebugInfo = new global::Grpc.Testing.DebugInfo();
} }
DebugInfo.MergeFrom(other.DebugInfo); DebugInfo.MergeFrom(other.DebugInfo);
} }
@ -876,7 +876,7 @@ namespace Grpc.Testing {
} }
if (other.expectedError_ != null) { if (other.expectedError_ != null) {
if (expectedError_ == null) { if (expectedError_ == null) {
expectedError_ = new global::Grpc.Testing.ErrorStatus(); ExpectedError = new global::Grpc.Testing.ErrorStatus();
} }
ExpectedError.MergeFrom(other.ExpectedError); ExpectedError.MergeFrom(other.ExpectedError);
} }
@ -939,9 +939,9 @@ namespace Grpc.Testing {
} }
case 90: { case 90: {
if (debugInfo_ == null) { if (debugInfo_ == null) {
debugInfo_ = new global::Grpc.Testing.DebugInfo(); DebugInfo = new global::Grpc.Testing.DebugInfo();
} }
input.ReadMessage(debugInfo_); input.ReadMessage(DebugInfo);
break; break;
} }
case 96: { case 96: {
@ -954,9 +954,9 @@ namespace Grpc.Testing {
} }
case 114: { case 114: {
if (expectedError_ == null) { if (expectedError_ == null) {
expectedError_ = new global::Grpc.Testing.ErrorStatus(); ExpectedError = new global::Grpc.Testing.ErrorStatus();
} }
input.ReadMessage(expectedError_); input.ReadMessage(ExpectedError);
break; break;
} }
case 120: { case 120: {
@ -1104,7 +1104,7 @@ namespace Grpc.Testing {
} }
if (other.param_ != null) { if (other.param_ != null) {
if (param_ == null) { if (param_ == null) {
param_ = new global::Grpc.Testing.RequestParams(); Param = new global::Grpc.Testing.RequestParams();
} }
Param.MergeFrom(other.Param); Param.MergeFrom(other.Param);
} }
@ -1125,9 +1125,9 @@ namespace Grpc.Testing {
} }
case 18: { case 18: {
if (param_ == null) { if (param_ == null) {
param_ = new global::Grpc.Testing.RequestParams(); Param = new global::Grpc.Testing.RequestParams();
} }
input.ReadMessage(param_); input.ReadMessage(Param);
break; break;
} }
} }
@ -1452,7 +1452,7 @@ namespace Grpc.Testing {
} }
if (other.param_ != null) { if (other.param_ != null) {
if (param_ == null) { if (param_ == null) {
param_ = new global::Grpc.Testing.ResponseParams(); Param = new global::Grpc.Testing.ResponseParams();
} }
Param.MergeFrom(other.Param); Param.MergeFrom(other.Param);
} }
@ -1473,9 +1473,9 @@ namespace Grpc.Testing {
} }
case 18: { case 18: {
if (param_ == null) { if (param_ == null) {
param_ = new global::Grpc.Testing.ResponseParams(); Param = new global::Grpc.Testing.ResponseParams();
} }
input.ReadMessage(param_); input.ReadMessage(Param);
break; break;
} }
} }

@ -44,7 +44,6 @@ namespace Grpc.Testing {
/// service Foo { /// service Foo {
/// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { }; /// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
/// }; /// };
///
/// </summary> /// </summary>
public sealed partial class Empty : pb::IMessage<Empty> { public sealed partial class Empty : pb::IMessage<Empty> {
private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty()); private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty());

@ -4,13 +4,13 @@
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2018 gRPC authors. // Copyright 2018 gRPC authors.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

@ -379,7 +379,7 @@ namespace Grpc.Testing {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
type_ = (global::Grpc.Testing.PayloadType) input.ReadEnum(); Type = (global::Grpc.Testing.PayloadType) input.ReadEnum();
break; break;
} }
case 18: { case 18: {
@ -844,7 +844,7 @@ namespace Grpc.Testing {
} }
if (other.payload_ != null) { if (other.payload_ != null) {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
Payload.MergeFrom(other.Payload); Payload.MergeFrom(other.Payload);
} }
@ -856,19 +856,19 @@ namespace Grpc.Testing {
} }
if (other.responseCompressed_ != null) { if (other.responseCompressed_ != null) {
if (responseCompressed_ == null) { if (responseCompressed_ == null) {
responseCompressed_ = new global::Grpc.Testing.BoolValue(); ResponseCompressed = new global::Grpc.Testing.BoolValue();
} }
ResponseCompressed.MergeFrom(other.ResponseCompressed); ResponseCompressed.MergeFrom(other.ResponseCompressed);
} }
if (other.responseStatus_ != null) { if (other.responseStatus_ != null) {
if (responseStatus_ == null) { if (responseStatus_ == null) {
responseStatus_ = new global::Grpc.Testing.EchoStatus(); ResponseStatus = new global::Grpc.Testing.EchoStatus();
} }
ResponseStatus.MergeFrom(other.ResponseStatus); ResponseStatus.MergeFrom(other.ResponseStatus);
} }
if (other.expectCompressed_ != null) { if (other.expectCompressed_ != null) {
if (expectCompressed_ == null) { if (expectCompressed_ == null) {
expectCompressed_ = new global::Grpc.Testing.BoolValue(); ExpectCompressed = new global::Grpc.Testing.BoolValue();
} }
ExpectCompressed.MergeFrom(other.ExpectCompressed); ExpectCompressed.MergeFrom(other.ExpectCompressed);
} }
@ -884,7 +884,7 @@ namespace Grpc.Testing {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
responseType_ = (global::Grpc.Testing.PayloadType) input.ReadEnum(); ResponseType = (global::Grpc.Testing.PayloadType) input.ReadEnum();
break; break;
} }
case 16: { case 16: {
@ -893,9 +893,9 @@ namespace Grpc.Testing {
} }
case 26: { case 26: {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
input.ReadMessage(payload_); input.ReadMessage(Payload);
break; break;
} }
case 32: { case 32: {
@ -908,23 +908,23 @@ namespace Grpc.Testing {
} }
case 50: { case 50: {
if (responseCompressed_ == null) { if (responseCompressed_ == null) {
responseCompressed_ = new global::Grpc.Testing.BoolValue(); ResponseCompressed = new global::Grpc.Testing.BoolValue();
} }
input.ReadMessage(responseCompressed_); input.ReadMessage(ResponseCompressed);
break; break;
} }
case 58: { case 58: {
if (responseStatus_ == null) { if (responseStatus_ == null) {
responseStatus_ = new global::Grpc.Testing.EchoStatus(); ResponseStatus = new global::Grpc.Testing.EchoStatus();
} }
input.ReadMessage(responseStatus_); input.ReadMessage(ResponseStatus);
break; break;
} }
case 66: { case 66: {
if (expectCompressed_ == null) { if (expectCompressed_ == null) {
expectCompressed_ = new global::Grpc.Testing.BoolValue(); ExpectCompressed = new global::Grpc.Testing.BoolValue();
} }
input.ReadMessage(expectCompressed_); input.ReadMessage(ExpectCompressed);
break; break;
} }
} }
@ -1095,7 +1095,7 @@ namespace Grpc.Testing {
} }
if (other.payload_ != null) { if (other.payload_ != null) {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
Payload.MergeFrom(other.Payload); Payload.MergeFrom(other.Payload);
} }
@ -1118,9 +1118,9 @@ namespace Grpc.Testing {
break; break;
case 10: { case 10: {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
input.ReadMessage(payload_); input.ReadMessage(Payload);
break; break;
} }
case 18: { case 18: {
@ -1277,13 +1277,13 @@ namespace Grpc.Testing {
} }
if (other.payload_ != null) { if (other.payload_ != null) {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
Payload.MergeFrom(other.Payload); Payload.MergeFrom(other.Payload);
} }
if (other.expectCompressed_ != null) { if (other.expectCompressed_ != null) {
if (expectCompressed_ == null) { if (expectCompressed_ == null) {
expectCompressed_ = new global::Grpc.Testing.BoolValue(); ExpectCompressed = new global::Grpc.Testing.BoolValue();
} }
ExpectCompressed.MergeFrom(other.ExpectCompressed); ExpectCompressed.MergeFrom(other.ExpectCompressed);
} }
@ -1300,16 +1300,16 @@ namespace Grpc.Testing {
break; break;
case 10: { case 10: {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
input.ReadMessage(payload_); input.ReadMessage(Payload);
break; break;
} }
case 18: { case 18: {
if (expectCompressed_ == null) { if (expectCompressed_ == null) {
expectCompressed_ = new global::Grpc.Testing.BoolValue(); ExpectCompressed = new global::Grpc.Testing.BoolValue();
} }
input.ReadMessage(expectCompressed_); input.ReadMessage(ExpectCompressed);
break; break;
} }
} }
@ -1624,7 +1624,7 @@ namespace Grpc.Testing {
} }
if (other.compressed_ != null) { if (other.compressed_ != null) {
if (compressed_ == null) { if (compressed_ == null) {
compressed_ = new global::Grpc.Testing.BoolValue(); Compressed = new global::Grpc.Testing.BoolValue();
} }
Compressed.MergeFrom(other.Compressed); Compressed.MergeFrom(other.Compressed);
} }
@ -1649,9 +1649,9 @@ namespace Grpc.Testing {
} }
case 26: { case 26: {
if (compressed_ == null) { if (compressed_ == null) {
compressed_ = new global::Grpc.Testing.BoolValue(); Compressed = new global::Grpc.Testing.BoolValue();
} }
input.ReadMessage(compressed_); input.ReadMessage(Compressed);
break; break;
} }
} }
@ -1846,13 +1846,13 @@ namespace Grpc.Testing {
responseParameters_.Add(other.responseParameters_); responseParameters_.Add(other.responseParameters_);
if (other.payload_ != null) { if (other.payload_ != null) {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
Payload.MergeFrom(other.Payload); Payload.MergeFrom(other.Payload);
} }
if (other.responseStatus_ != null) { if (other.responseStatus_ != null) {
if (responseStatus_ == null) { if (responseStatus_ == null) {
responseStatus_ = new global::Grpc.Testing.EchoStatus(); ResponseStatus = new global::Grpc.Testing.EchoStatus();
} }
ResponseStatus.MergeFrom(other.ResponseStatus); ResponseStatus.MergeFrom(other.ResponseStatus);
} }
@ -1868,7 +1868,7 @@ namespace Grpc.Testing {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break; break;
case 8: { case 8: {
responseType_ = (global::Grpc.Testing.PayloadType) input.ReadEnum(); ResponseType = (global::Grpc.Testing.PayloadType) input.ReadEnum();
break; break;
} }
case 18: { case 18: {
@ -1877,16 +1877,16 @@ namespace Grpc.Testing {
} }
case 26: { case 26: {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
input.ReadMessage(payload_); input.ReadMessage(Payload);
break; break;
} }
case 58: { case 58: {
if (responseStatus_ == null) { if (responseStatus_ == null) {
responseStatus_ = new global::Grpc.Testing.EchoStatus(); ResponseStatus = new global::Grpc.Testing.EchoStatus();
} }
input.ReadMessage(responseStatus_); input.ReadMessage(ResponseStatus);
break; break;
} }
} }
@ -2008,7 +2008,7 @@ namespace Grpc.Testing {
} }
if (other.payload_ != null) { if (other.payload_ != null) {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
Payload.MergeFrom(other.Payload); Payload.MergeFrom(other.Payload);
} }
@ -2025,9 +2025,9 @@ namespace Grpc.Testing {
break; break;
case 10: { case 10: {
if (payload_ == null) { if (payload_ == null) {
payload_ = new global::Grpc.Testing.Payload(); Payload = new global::Grpc.Testing.Payload();
} }
input.ReadMessage(payload_); input.ReadMessage(Payload);
break; break;
} }
} }

@ -4,13 +4,13 @@
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2015-2016 gRPC authors. // Copyright 2015-2016 gRPC authors.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -19,7 +19,7 @@
// //
// Contains the definitions for a metrics service and the type of metrics // Contains the definitions for a metrics service and the type of metrics
// exposed by the service. // exposed by the service.
// //
// Currently, 'Gauge' (i.e a metric that represents the measured value of // Currently, 'Gauge' (i.e a metric that represents the measured value of
// something at an instant of time) is the only metric type supported by the // something at an instant of time) is the only metric type supported by the
// service. // service.

@ -4,13 +4,13 @@
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2015 gRPC authors. // Copyright 2015 gRPC authors.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

@ -328,7 +328,7 @@ namespace Grpc.Testing {
} }
if (other.coreStats_ != null) { if (other.coreStats_ != null) {
if (coreStats_ == null) { if (coreStats_ == null) {
coreStats_ = new global::Grpc.Core.Stats(); CoreStats = new global::Grpc.Core.Stats();
} }
CoreStats.MergeFrom(other.CoreStats); CoreStats.MergeFrom(other.CoreStats);
} }
@ -369,9 +369,9 @@ namespace Grpc.Testing {
} }
case 58: { case 58: {
if (coreStats_ == null) { if (coreStats_ == null) {
coreStats_ = new global::Grpc.Core.Stats(); CoreStats = new global::Grpc.Core.Stats();
} }
input.ReadMessage(coreStats_); input.ReadMessage(CoreStats);
break; break;
} }
} }
@ -1210,7 +1210,7 @@ namespace Grpc.Testing {
} }
if (other.latencies_ != null) { if (other.latencies_ != null) {
if (latencies_ == null) { if (latencies_ == null) {
latencies_ = new global::Grpc.Testing.HistogramData(); Latencies = new global::Grpc.Testing.HistogramData();
} }
Latencies.MergeFrom(other.Latencies); Latencies.MergeFrom(other.Latencies);
} }
@ -1229,7 +1229,7 @@ namespace Grpc.Testing {
} }
if (other.coreStats_ != null) { if (other.coreStats_ != null) {
if (coreStats_ == null) { if (coreStats_ == null) {
coreStats_ = new global::Grpc.Core.Stats(); CoreStats = new global::Grpc.Core.Stats();
} }
CoreStats.MergeFrom(other.CoreStats); CoreStats.MergeFrom(other.CoreStats);
} }
@ -1246,9 +1246,9 @@ namespace Grpc.Testing {
break; break;
case 10: { case 10: {
if (latencies_ == null) { if (latencies_ == null) {
latencies_ = new global::Grpc.Testing.HistogramData(); Latencies = new global::Grpc.Testing.HistogramData();
} }
input.ReadMessage(latencies_); input.ReadMessage(Latencies);
break; break;
} }
case 17: { case 17: {
@ -1273,9 +1273,9 @@ namespace Grpc.Testing {
} }
case 58: { case 58: {
if (coreStats_ == null) { if (coreStats_ == null) {
coreStats_ = new global::Grpc.Core.Stats(); CoreStats = new global::Grpc.Core.Stats();
} }
input.ReadMessage(coreStats_); input.ReadMessage(CoreStats);
break; break;
} }
} }

@ -4,13 +4,13 @@
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2015-2016 gRPC authors. // Copyright 2015-2016 gRPC authors.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

@ -4,13 +4,13 @@
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2015 gRPC authors. // Copyright 2015 gRPC authors.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

@ -850,7 +850,7 @@ namespace Grpc.Reflection.V1Alpha {
} }
if (other.originalRequest_ != null) { if (other.originalRequest_ != null) {
if (originalRequest_ == null) { if (originalRequest_ == null) {
originalRequest_ = new global::Grpc.Reflection.V1Alpha.ServerReflectionRequest(); OriginalRequest = new global::Grpc.Reflection.V1Alpha.ServerReflectionRequest();
} }
OriginalRequest.MergeFrom(other.OriginalRequest); OriginalRequest.MergeFrom(other.OriginalRequest);
} }
@ -898,9 +898,9 @@ namespace Grpc.Reflection.V1Alpha {
} }
case 18: { case 18: {
if (originalRequest_ == null) { if (originalRequest_ == null) {
originalRequest_ = new global::Grpc.Reflection.V1Alpha.ServerReflectionRequest(); OriginalRequest = new global::Grpc.Reflection.V1Alpha.ServerReflectionRequest();
} }
input.ReadMessage(originalRequest_); input.ReadMessage(OriginalRequest);
break; break;
} }
case 34: { case 34: {

@ -4,13 +4,13 @@
// </auto-generated> // </auto-generated>
// Original file comments: // Original file comments:
// Copyright 2016 gRPC authors. // Copyright 2016 gRPC authors.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Loading…
Cancel
Save