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|
|
|
|
|
"QkxFEABiBnByb3RvMw==")); |
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
|
|
|
new pbr::FileDescriptor[] { }, |
|
|
|
new pbr::FileDescriptor[] { }, |
|
|
|
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Grpc.Testing.PayloadType), }, new pbr::GeneratedClrTypeInfo[] { |
|
|
|
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Grpc.Testing.PayloadType), }, new pbr::GeneratedClrTypeInfo[] { |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.BoolValue), global::Grpc.Testing.BoolValue.Parser, new[]{ "Value" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.BoolValue), global::Grpc.Testing.BoolValue.Parser, new[]{ "Value" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.Payload), global::Grpc.Testing.Payload.Parser, new[]{ "Type", "Body" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.Payload), global::Grpc.Testing.Payload.Parser, new[]{ "Type", "Body" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.EchoStatus), global::Grpc.Testing.EchoStatus.Parser, new[]{ "Code", "Message" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.EchoStatus), global::Grpc.Testing.EchoStatus.Parser, new[]{ "Code", "Message" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.SimpleRequest), global::Grpc.Testing.SimpleRequest.Parser, new[]{ "ResponseType", "ResponseSize", "Payload", "FillUsername", "FillOauthScope", "ResponseCompressed", "ResponseStatus", "ExpectCompressed" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.SimpleRequest), global::Grpc.Testing.SimpleRequest.Parser, new[]{ "ResponseType", "ResponseSize", "Payload", "FillUsername", "FillOauthScope", "ResponseCompressed", "ResponseStatus", "ExpectCompressed", "FillServerId" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.SimpleResponse), global::Grpc.Testing.SimpleResponse.Parser, new[]{ "Payload", "Username", "OauthScope" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.SimpleResponse), global::Grpc.Testing.SimpleResponse.Parser, new[]{ "Payload", "Username", "OauthScope", "ServerId" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.StreamingInputCallRequest), global::Grpc.Testing.StreamingInputCallRequest.Parser, new[]{ "Payload", "ExpectCompressed" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.StreamingInputCallRequest), global::Grpc.Testing.StreamingInputCallRequest.Parser, new[]{ "Payload", "ExpectCompressed" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.StreamingInputCallResponse), global::Grpc.Testing.StreamingInputCallResponse.Parser, new[]{ "AggregatedPayloadSize" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.StreamingInputCallResponse), global::Grpc.Testing.StreamingInputCallResponse.Parser, new[]{ "AggregatedPayloadSize" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ResponseParameters), global::Grpc.Testing.ResponseParameters.Parser, new[]{ "Size", "IntervalUs", "Compressed" }, null, null, null), |
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ResponseParameters), global::Grpc.Testing.ResponseParameters.Parser, new[]{ "Size", "IntervalUs", "Compressed" }, null, null, null), |
|
|
@ -589,6 +590,7 @@ namespace Grpc.Testing { |
|
|
|
responseCompressed_ = other.responseCompressed_ != null ? other.responseCompressed_.Clone() : null; |
|
|
|
responseCompressed_ = other.responseCompressed_ != null ? other.responseCompressed_.Clone() : null; |
|
|
|
responseStatus_ = other.responseStatus_ != null ? other.responseStatus_.Clone() : null; |
|
|
|
responseStatus_ = other.responseStatus_ != null ? other.responseStatus_.Clone() : null; |
|
|
|
expectCompressed_ = other.expectCompressed_ != null ? other.expectCompressed_.Clone() : null; |
|
|
|
expectCompressed_ = other.expectCompressed_ != null ? other.expectCompressed_.Clone() : null; |
|
|
|
|
|
|
|
fillServerId_ = other.fillServerId_; |
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -713,6 +715,20 @@ namespace Grpc.Testing { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "fill_server_id" field.</summary> |
|
|
|
|
|
|
|
public const int FillServerIdFieldNumber = 9; |
|
|
|
|
|
|
|
private bool fillServerId_; |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
|
|
|
/// Whether SimpleResponse should include server_id. |
|
|
|
|
|
|
|
/// </summary> |
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
|
|
|
public bool FillServerId { |
|
|
|
|
|
|
|
get { return fillServerId_; } |
|
|
|
|
|
|
|
set { |
|
|
|
|
|
|
|
fillServerId_ = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public override bool Equals(object other) { |
|
|
|
public override bool Equals(object other) { |
|
|
|
return Equals(other as SimpleRequest); |
|
|
|
return Equals(other as SimpleRequest); |
|
|
@ -734,6 +750,7 @@ namespace Grpc.Testing { |
|
|
|
if (!object.Equals(ResponseCompressed, other.ResponseCompressed)) return false; |
|
|
|
if (!object.Equals(ResponseCompressed, other.ResponseCompressed)) return false; |
|
|
|
if (!object.Equals(ResponseStatus, other.ResponseStatus)) return false; |
|
|
|
if (!object.Equals(ResponseStatus, other.ResponseStatus)) return false; |
|
|
|
if (!object.Equals(ExpectCompressed, other.ExpectCompressed)) return false; |
|
|
|
if (!object.Equals(ExpectCompressed, other.ExpectCompressed)) return false; |
|
|
|
|
|
|
|
if (FillServerId != other.FillServerId) return false; |
|
|
|
return Equals(_unknownFields, other._unknownFields); |
|
|
|
return Equals(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -748,6 +765,7 @@ namespace Grpc.Testing { |
|
|
|
if (responseCompressed_ != null) hash ^= ResponseCompressed.GetHashCode(); |
|
|
|
if (responseCompressed_ != null) hash ^= ResponseCompressed.GetHashCode(); |
|
|
|
if (responseStatus_ != null) hash ^= ResponseStatus.GetHashCode(); |
|
|
|
if (responseStatus_ != null) hash ^= ResponseStatus.GetHashCode(); |
|
|
|
if (expectCompressed_ != null) hash ^= ExpectCompressed.GetHashCode(); |
|
|
|
if (expectCompressed_ != null) hash ^= ExpectCompressed.GetHashCode(); |
|
|
|
|
|
|
|
if (FillServerId != false) hash ^= FillServerId.GetHashCode(); |
|
|
|
if (_unknownFields != null) { |
|
|
|
if (_unknownFields != null) { |
|
|
|
hash ^= _unknownFields.GetHashCode(); |
|
|
|
hash ^= _unknownFields.GetHashCode(); |
|
|
|
} |
|
|
|
} |
|
|
@ -793,6 +811,10 @@ namespace Grpc.Testing { |
|
|
|
output.WriteRawTag(66); |
|
|
|
output.WriteRawTag(66); |
|
|
|
output.WriteMessage(ExpectCompressed); |
|
|
|
output.WriteMessage(ExpectCompressed); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (FillServerId != false) { |
|
|
|
|
|
|
|
output.WriteRawTag(72); |
|
|
|
|
|
|
|
output.WriteBool(FillServerId); |
|
|
|
|
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
if (_unknownFields != null) { |
|
|
|
_unknownFields.WriteTo(output); |
|
|
|
_unknownFields.WriteTo(output); |
|
|
|
} |
|
|
|
} |
|
|
@ -825,6 +847,9 @@ namespace Grpc.Testing { |
|
|
|
if (expectCompressed_ != null) { |
|
|
|
if (expectCompressed_ != null) { |
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpectCompressed); |
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpectCompressed); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (FillServerId != false) { |
|
|
|
|
|
|
|
size += 1 + 1; |
|
|
|
|
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
if (_unknownFields != null) { |
|
|
|
size += _unknownFields.CalculateSize(); |
|
|
|
size += _unknownFields.CalculateSize(); |
|
|
|
} |
|
|
|
} |
|
|
@ -872,6 +897,9 @@ namespace Grpc.Testing { |
|
|
|
} |
|
|
|
} |
|
|
|
ExpectCompressed.MergeFrom(other.ExpectCompressed); |
|
|
|
ExpectCompressed.MergeFrom(other.ExpectCompressed); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (other.FillServerId != false) { |
|
|
|
|
|
|
|
FillServerId = other.FillServerId; |
|
|
|
|
|
|
|
} |
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -927,6 +955,10 @@ namespace Grpc.Testing { |
|
|
|
input.ReadMessage(ExpectCompressed); |
|
|
|
input.ReadMessage(ExpectCompressed); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
case 72: { |
|
|
|
|
|
|
|
FillServerId = input.ReadBool(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -964,6 +996,7 @@ namespace Grpc.Testing { |
|
|
|
payload_ = other.payload_ != null ? other.payload_.Clone() : null; |
|
|
|
payload_ = other.payload_ != null ? other.payload_.Clone() : null; |
|
|
|
username_ = other.username_; |
|
|
|
username_ = other.username_; |
|
|
|
oauthScope_ = other.oauthScope_; |
|
|
|
oauthScope_ = other.oauthScope_; |
|
|
|
|
|
|
|
serverId_ = other.serverId_; |
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1015,6 +1048,21 @@ namespace Grpc.Testing { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "server_id" field.</summary> |
|
|
|
|
|
|
|
public const int ServerIdFieldNumber = 4; |
|
|
|
|
|
|
|
private string serverId_ = ""; |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
|
|
|
/// Server ID. This must be unique among different server instances, |
|
|
|
|
|
|
|
/// but the same across all RPC's made to a particular server instance. |
|
|
|
|
|
|
|
/// </summary> |
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
|
|
|
public string ServerId { |
|
|
|
|
|
|
|
get { return serverId_; } |
|
|
|
|
|
|
|
set { |
|
|
|
|
|
|
|
serverId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
public override bool Equals(object other) { |
|
|
|
public override bool Equals(object other) { |
|
|
|
return Equals(other as SimpleResponse); |
|
|
|
return Equals(other as SimpleResponse); |
|
|
@ -1031,6 +1079,7 @@ namespace Grpc.Testing { |
|
|
|
if (!object.Equals(Payload, other.Payload)) return false; |
|
|
|
if (!object.Equals(Payload, other.Payload)) return false; |
|
|
|
if (Username != other.Username) return false; |
|
|
|
if (Username != other.Username) return false; |
|
|
|
if (OauthScope != other.OauthScope) return false; |
|
|
|
if (OauthScope != other.OauthScope) return false; |
|
|
|
|
|
|
|
if (ServerId != other.ServerId) return false; |
|
|
|
return Equals(_unknownFields, other._unknownFields); |
|
|
|
return Equals(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1040,6 +1089,7 @@ namespace Grpc.Testing { |
|
|
|
if (payload_ != null) hash ^= Payload.GetHashCode(); |
|
|
|
if (payload_ != null) hash ^= Payload.GetHashCode(); |
|
|
|
if (Username.Length != 0) hash ^= Username.GetHashCode(); |
|
|
|
if (Username.Length != 0) hash ^= Username.GetHashCode(); |
|
|
|
if (OauthScope.Length != 0) hash ^= OauthScope.GetHashCode(); |
|
|
|
if (OauthScope.Length != 0) hash ^= OauthScope.GetHashCode(); |
|
|
|
|
|
|
|
if (ServerId.Length != 0) hash ^= ServerId.GetHashCode(); |
|
|
|
if (_unknownFields != null) { |
|
|
|
if (_unknownFields != null) { |
|
|
|
hash ^= _unknownFields.GetHashCode(); |
|
|
|
hash ^= _unknownFields.GetHashCode(); |
|
|
|
} |
|
|
|
} |
|
|
@ -1065,6 +1115,10 @@ namespace Grpc.Testing { |
|
|
|
output.WriteRawTag(26); |
|
|
|
output.WriteRawTag(26); |
|
|
|
output.WriteString(OauthScope); |
|
|
|
output.WriteString(OauthScope); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (ServerId.Length != 0) { |
|
|
|
|
|
|
|
output.WriteRawTag(34); |
|
|
|
|
|
|
|
output.WriteString(ServerId); |
|
|
|
|
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
if (_unknownFields != null) { |
|
|
|
_unknownFields.WriteTo(output); |
|
|
|
_unknownFields.WriteTo(output); |
|
|
|
} |
|
|
|
} |
|
|
@ -1082,6 +1136,9 @@ namespace Grpc.Testing { |
|
|
|
if (OauthScope.Length != 0) { |
|
|
|
if (OauthScope.Length != 0) { |
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(OauthScope); |
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(OauthScope); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (ServerId.Length != 0) { |
|
|
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ServerId); |
|
|
|
|
|
|
|
} |
|
|
|
if (_unknownFields != null) { |
|
|
|
if (_unknownFields != null) { |
|
|
|
size += _unknownFields.CalculateSize(); |
|
|
|
size += _unknownFields.CalculateSize(); |
|
|
|
} |
|
|
|
} |
|
|
@ -1105,6 +1162,9 @@ namespace Grpc.Testing { |
|
|
|
if (other.OauthScope.Length != 0) { |
|
|
|
if (other.OauthScope.Length != 0) { |
|
|
|
OauthScope = other.OauthScope; |
|
|
|
OauthScope = other.OauthScope; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (other.ServerId.Length != 0) { |
|
|
|
|
|
|
|
ServerId = other.ServerId; |
|
|
|
|
|
|
|
} |
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1131,6 +1191,10 @@ namespace Grpc.Testing { |
|
|
|
OauthScope = input.ReadString(); |
|
|
|
OauthScope = input.ReadString(); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
case 34: { |
|
|
|
|
|
|
|
ServerId = input.ReadString(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|