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" ,
"X0NMSUVOVBABEhAKDE9USEVSX0NMSUVOVBACKlsKClNlcnZlclR5cGUSDwoL" ,
"U1lOQ19TRVJWRVIQABIQCgxBU1lOQ19TRVJWRVIQARIYChRBU1lOQ19HRU5F" ,
"UklDX1NFUlZFUhACEhAKDE9USEVSX1NFUlZFUhADKiMKB1JwY1R5cGUSCQoF" ,
"VU5BUlkQABINCglTVFJFQU1JTkcQAWIGcHJvdG8z" ) ) ;
descriptor = pbr : : FileDescriptor . FromGeneratedCode ( descriptorData ,
descriptor = pbr : : FileDescriptor . FromGeneratedCode ( descriptorData ,
new pbr : : FileDescriptor [ ] { global :: Grpc . Testing . PayloadsReflection . Descriptor , global :: Grpc . Testing . StatsReflection . Descriptor , } ,
new pbr : : FileDescriptor [ ] { global :: Grpc . Testing . PayloadsReflection . Descriptor , global :: Grpc . Testing . StatsReflection . Descriptor , } ,
new pbr : : GeneratedClrTypeInfo ( new [ ] { typeof ( global :: Grpc . Testing . ClientType ) , typeof ( global :: Grpc . Testing . ServerType ) , typeof ( global :: Grpc . Testing . RpcType ) , } , new pbr : : GeneratedClrTypeInfo [ ] {
new pbr : : GeneratedClrTypeInfo ( new [ ] { typeof ( global :: Grpc . Testing . ClientType ) , typeof ( global :: Grpc . Testing . ServerType ) , typeof ( global :: Grpc . Testing . RpcType ) , } , new pbr : : GeneratedClrTypeInfo [ ] {
@ -94,7 +98,7 @@ namespace Grpc.Testing {
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ClientStatus ) , global :: Grpc . Testing . ClientStatus . Parser , new [ ] { "Stats" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ClientStatus ) , global :: Grpc . Testing . ClientStatus . Parser , new [ ] { "Stats" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . Mark ) , global :: Grpc . Testing . Mark . Parser , new [ ] { "Reset" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . Mark ) , global :: Grpc . Testing . Mark . Parser , new [ ] { "Reset" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ClientArgs ) , global :: Grpc . Testing . ClientArgs . Parser , new [ ] { "Setup" , "Mark" } , new [ ] { "Argtype" } , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ClientArgs ) , global :: Grpc . Testing . ClientArgs . Parser , new [ ] { "Setup" , "Mark" } , new [ ] { "Argtype" } , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ServerConfig ) , global :: Grpc . Testing . ServerConfig . Parser , new [ ] { "ServerType" , "SecurityParams" , "Port" , "AsyncServerThreads" , "CoreLimit" , "PayloadConfig" , "CoreList" , "OtherServerApi" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ServerConfig ) , global :: Grpc . Testing . ServerConfig . Parser , new [ ] { "ServerType" , "SecurityParams" , "Port" , "AsyncServerThreads" , "CoreLimit" , "PayloadConfig" , "CoreList" , "OtherServerApi" , "ResourceQuotaSize" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ServerArgs ) , global :: Grpc . Testing . ServerArgs . Parser , new [ ] { "Setup" , "Mark" } , new [ ] { "Argtype" } , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ServerArgs ) , global :: Grpc . Testing . ServerArgs . Parser , new [ ] { "Setup" , "Mark" } , new [ ] { "Argtype" } , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ServerStatus ) , global :: Grpc . Testing . ServerStatus . Parser , new [ ] { "Stats" , "Port" , "Cores" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ServerStatus ) , global :: Grpc . Testing . ServerStatus . Parser , new [ ] { "Stats" , "Port" , "Cores" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . CoreRequest ) , global :: Grpc . Testing . CoreRequest . Parser , null , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . CoreRequest ) , global :: Grpc . Testing . CoreRequest . Parser , null , null , null , null ) ,
@ -102,8 +106,8 @@ namespace Grpc.Testing {
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . Void ) , global :: Grpc . Testing . Void . Parser , null , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . Void ) , global :: Grpc . Testing . Void . Parser , null , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . Scenario ) , global :: Grpc . Testing . Scenario . Parser , new [ ] { "Name" , "ClientConfig" , "NumClients" , "ServerConfig" , "NumServers" , "WarmupSeconds" , "BenchmarkSeconds" , "SpawnLocalWorkerCount" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . Scenario ) , global :: Grpc . Testing . Scenario . Parser , new [ ] { "Name" , "ClientConfig" , "NumClients" , "ServerConfig" , "NumServers" , "WarmupSeconds" , "BenchmarkSeconds" , "SpawnLocalWorkerCount" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . Scenarios ) , global :: Grpc . Testing . Scenarios . Parser , new [ ] { "Scenarios_" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . Scenarios ) , global :: Grpc . Testing . Scenarios . Parser , new [ ] { "Scenarios_" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ScenarioResultSummary ) , global :: Grpc . Testing . ScenarioResultSummary . Parser , new [ ] { "Qps" , "QpsPerServerCore" , "ServerSystemTime" , "ServerUserTime" , "ClientSystemTime" , "ClientUserTime" , "Latency50" , "Latency90" , "Latency95" , "Latency99" , "Latency999" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ScenarioResultSummary ) , global :: Grpc . Testing . ScenarioResultSummary . Parser , new [ ] { "Qps" , "QpsPerServerCore" , "ServerSystemTime" , "ServerUserTime" , "ClientSystemTime" , "ClientUserTime" , "Latency50" , "Latency90" , "Latency95" , "Latency99" , "Latency999" , "ServerCpuUsage" , "SuccessfulRequestsPerSecond" , "FailedRequestsPerSecond" } , null , null , null ) ,
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ScenarioResult ) , global :: Grpc . Testing . ScenarioResult . Parser , new [ ] { "Scenario" , "Latencies" , "ClientStats" , "ServerStats" , "ServerCores" , "Summary" , "ClientSuccess" , "ServerSuccess" } , null , null , null )
new pbr : : GeneratedClrTypeInfo ( typeof ( global :: Grpc . Testing . ScenarioResult ) , global :: Grpc . Testing . ScenarioResult . Parser , new [ ] { "Scenario" , "Latencies" , "ClientStats" , "ServerStats" , "ServerCores" , "Summary" , "ClientSuccess" , "ServerSuccess" , "RequestResults" } , null , null , null )
} ) ) ;
} ) ) ;
}
}
# endregion
# endregion
@ -1641,6 +1645,7 @@ namespace Grpc.Testing {
PayloadConfig = other . payloadConfig_ ! = null ? other . PayloadConfig . Clone ( ) : null ;
PayloadConfig = other . payloadConfig_ ! = null ? other . PayloadConfig . Clone ( ) : null ;
coreList_ = other . coreList_ . Clone ( ) ;
coreList_ = other . coreList_ . Clone ( ) ;
otherServerApi_ = other . otherServerApi_ ;
otherServerApi_ = other . otherServerApi_ ;
resourceQuotaSize_ = other . resourceQuotaSize_ ;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1753,6 +1758,20 @@ namespace Grpc.Testing {
}
}
}
}
/// <summary>Field number for the "resource_quota_size" field.</summary>
public const int ResourceQuotaSizeFieldNumber = 1 0 0 1 ;
private int resourceQuotaSize_ ;
/// <summary>
/// Buffer pool size (no buffer pool specified if unset)
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int ResourceQuotaSize {
get { return resourceQuotaSize_ ; }
set {
resourceQuotaSize_ = 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 ServerConfig ) ;
return Equals ( other as ServerConfig ) ;
@ -1774,6 +1793,7 @@ namespace Grpc.Testing {
if ( ! object . Equals ( PayloadConfig , other . PayloadConfig ) ) return false ;
if ( ! object . Equals ( PayloadConfig , other . PayloadConfig ) ) return false ;
if ( ! coreList_ . Equals ( other . coreList_ ) ) return false ;
if ( ! coreList_ . Equals ( other . coreList_ ) ) return false ;
if ( OtherServerApi ! = other . OtherServerApi ) return false ;
if ( OtherServerApi ! = other . OtherServerApi ) return false ;
if ( ResourceQuotaSize ! = other . ResourceQuotaSize ) return false ;
return true ;
return true ;
}
}
@ -1788,6 +1808,7 @@ namespace Grpc.Testing {
if ( payloadConfig_ ! = null ) hash ^ = PayloadConfig . GetHashCode ( ) ;
if ( payloadConfig_ ! = null ) hash ^ = PayloadConfig . GetHashCode ( ) ;
hash ^ = coreList_ . GetHashCode ( ) ;
hash ^ = coreList_ . GetHashCode ( ) ;
if ( OtherServerApi . Length ! = 0 ) hash ^ = OtherServerApi . GetHashCode ( ) ;
if ( OtherServerApi . Length ! = 0 ) hash ^ = OtherServerApi . GetHashCode ( ) ;
if ( ResourceQuotaSize ! = 0 ) hash ^ = ResourceQuotaSize . GetHashCode ( ) ;
return hash ;
return hash ;
}
}
@ -1827,6 +1848,10 @@ namespace Grpc.Testing {
output . WriteRawTag ( 9 0 ) ;
output . WriteRawTag ( 9 0 ) ;
output . WriteString ( OtherServerApi ) ;
output . WriteString ( OtherServerApi ) ;
}
}
if ( ResourceQuotaSize ! = 0 ) {
output . WriteRawTag ( 2 0 0 , 6 2 ) ;
output . WriteInt32 ( ResourceQuotaSize ) ;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1854,6 +1879,9 @@ namespace Grpc.Testing {
if ( OtherServerApi . Length ! = 0 ) {
if ( OtherServerApi . Length ! = 0 ) {
size + = 1 + pb : : CodedOutputStream . ComputeStringSize ( OtherServerApi ) ;
size + = 1 + pb : : CodedOutputStream . ComputeStringSize ( OtherServerApi ) ;
}
}
if ( ResourceQuotaSize ! = 0 ) {
size + = 2 + pb : : CodedOutputStream . ComputeInt32Size ( ResourceQuotaSize ) ;
}
return size ;
return size ;
}
}
@ -1890,6 +1918,9 @@ namespace Grpc.Testing {
if ( other . OtherServerApi . Length ! = 0 ) {
if ( other . OtherServerApi . Length ! = 0 ) {
OtherServerApi = other . OtherServerApi ;
OtherServerApi = other . OtherServerApi ;
}
}
if ( other . ResourceQuotaSize ! = 0 ) {
ResourceQuotaSize = other . ResourceQuotaSize ;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -1939,6 +1970,10 @@ namespace Grpc.Testing {
OtherServerApi = input . ReadString ( ) ;
OtherServerApi = input . ReadString ( ) ;
break ;
break ;
}
}
case 8 0 0 8 : {
ResourceQuotaSize = input . ReadInt32 ( ) ;
break ;
}
}
}
}
}
}
}
@ -3117,6 +3152,9 @@ namespace Grpc.Testing {
latency95_ = other . latency95_ ;
latency95_ = other . latency95_ ;
latency99_ = other . latency99_ ;
latency99_ = other . latency99_ ;
latency999_ = other . latency999_ ;
latency999_ = other . latency999_ ;
serverCpuUsage_ = other . serverCpuUsage_ ;
successfulRequestsPerSecond_ = other . successfulRequestsPerSecond_ ;
failedRequestsPerSecond_ = other . failedRequestsPerSecond_ ;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -3266,6 +3304,45 @@ namespace Grpc.Testing {
}
}
}
}
/// <summary>Field number for the "server_cpu_usage" field.</summary>
public const int ServerCpuUsageFieldNumber = 1 2 ;
private double serverCpuUsage_ ;
/// <summary>
/// server cpu usage percentage
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double ServerCpuUsage {
get { return serverCpuUsage_ ; }
set {
serverCpuUsage_ = value ;
}
}
/// <summary>Field number for the "successful_requests_per_second" field.</summary>
public const int SuccessfulRequestsPerSecondFieldNumber = 1 3 ;
private double successfulRequestsPerSecond_ ;
/// <summary>
/// Number of requests that succeeded/failed
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double SuccessfulRequestsPerSecond {
get { return successfulRequestsPerSecond_ ; }
set {
successfulRequestsPerSecond_ = value ;
}
}
/// <summary>Field number for the "failed_requests_per_second" field.</summary>
public const int FailedRequestsPerSecondFieldNumber = 1 4 ;
private double failedRequestsPerSecond_ ;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double FailedRequestsPerSecond {
get { return failedRequestsPerSecond_ ; }
set {
failedRequestsPerSecond_ = 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 ScenarioResultSummary ) ;
return Equals ( other as ScenarioResultSummary ) ;
@ -3290,6 +3367,9 @@ namespace Grpc.Testing {
if ( Latency95 ! = other . Latency95 ) return false ;
if ( Latency95 ! = other . Latency95 ) return false ;
if ( Latency99 ! = other . Latency99 ) return false ;
if ( Latency99 ! = other . Latency99 ) return false ;
if ( Latency999 ! = other . Latency999 ) return false ;
if ( Latency999 ! = other . Latency999 ) return false ;
if ( ServerCpuUsage ! = other . ServerCpuUsage ) return false ;
if ( SuccessfulRequestsPerSecond ! = other . SuccessfulRequestsPerSecond ) return false ;
if ( FailedRequestsPerSecond ! = other . FailedRequestsPerSecond ) return false ;
return true ;
return true ;
}
}
@ -3307,6 +3387,9 @@ namespace Grpc.Testing {
if ( Latency95 ! = 0D ) hash ^ = Latency95 . GetHashCode ( ) ;
if ( Latency95 ! = 0D ) hash ^ = Latency95 . GetHashCode ( ) ;
if ( Latency99 ! = 0D ) hash ^ = Latency99 . GetHashCode ( ) ;
if ( Latency99 ! = 0D ) hash ^ = Latency99 . GetHashCode ( ) ;
if ( Latency999 ! = 0D ) hash ^ = Latency999 . GetHashCode ( ) ;
if ( Latency999 ! = 0D ) hash ^ = Latency999 . GetHashCode ( ) ;
if ( ServerCpuUsage ! = 0D ) hash ^ = ServerCpuUsage . GetHashCode ( ) ;
if ( SuccessfulRequestsPerSecond ! = 0D ) hash ^ = SuccessfulRequestsPerSecond . GetHashCode ( ) ;
if ( FailedRequestsPerSecond ! = 0D ) hash ^ = FailedRequestsPerSecond . GetHashCode ( ) ;
return hash ;
return hash ;
}
}
@ -3361,6 +3444,18 @@ namespace Grpc.Testing {
output . WriteRawTag ( 8 9 ) ;
output . WriteRawTag ( 8 9 ) ;
output . WriteDouble ( Latency999 ) ;
output . WriteDouble ( Latency999 ) ;
}
}
if ( ServerCpuUsage ! = 0D ) {
output . WriteRawTag ( 9 7 ) ;
output . WriteDouble ( ServerCpuUsage ) ;
}
if ( SuccessfulRequestsPerSecond ! = 0D ) {
output . WriteRawTag ( 1 0 5 ) ;
output . WriteDouble ( SuccessfulRequestsPerSecond ) ;
}
if ( FailedRequestsPerSecond ! = 0D ) {
output . WriteRawTag ( 1 1 3 ) ;
output . WriteDouble ( FailedRequestsPerSecond ) ;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -3399,6 +3494,15 @@ namespace Grpc.Testing {
if ( Latency999 ! = 0D ) {
if ( Latency999 ! = 0D ) {
size + = 1 + 8 ;
size + = 1 + 8 ;
}
}
if ( ServerCpuUsage ! = 0D ) {
size + = 1 + 8 ;
}
if ( SuccessfulRequestsPerSecond ! = 0D ) {
size + = 1 + 8 ;
}
if ( FailedRequestsPerSecond ! = 0D ) {
size + = 1 + 8 ;
}
return size ;
return size ;
}
}
@ -3440,6 +3544,15 @@ namespace Grpc.Testing {
if ( other . Latency999 ! = 0D ) {
if ( other . Latency999 ! = 0D ) {
Latency999 = other . Latency999 ;
Latency999 = other . Latency999 ;
}
}
if ( other . ServerCpuUsage ! = 0D ) {
ServerCpuUsage = other . ServerCpuUsage ;
}
if ( other . SuccessfulRequestsPerSecond ! = 0D ) {
SuccessfulRequestsPerSecond = other . SuccessfulRequestsPerSecond ;
}
if ( other . FailedRequestsPerSecond ! = 0D ) {
FailedRequestsPerSecond = other . FailedRequestsPerSecond ;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -3494,6 +3607,18 @@ namespace Grpc.Testing {
Latency999 = input . ReadDouble ( ) ;
Latency999 = input . ReadDouble ( ) ;
break ;
break ;
}
}
case 9 7 : {
ServerCpuUsage = input . ReadDouble ( ) ;
break ;
}
case 1 0 5 : {
SuccessfulRequestsPerSecond = input . ReadDouble ( ) ;
break ;
}
case 1 1 3 : {
FailedRequestsPerSecond = input . ReadDouble ( ) ;
break ;
}
}
}
}
}
}
}
@ -3535,6 +3660,7 @@ namespace Grpc.Testing {
Summary = other . summary_ ! = null ? other . Summary . Clone ( ) : null ;
Summary = other . summary_ ! = null ? other . Summary . Clone ( ) : null ;
clientSuccess_ = other . clientSuccess_ . Clone ( ) ;
clientSuccess_ = other . clientSuccess_ . Clone ( ) ;
serverSuccess_ = other . serverSuccess_ . Clone ( ) ;
serverSuccess_ = other . serverSuccess_ . Clone ( ) ;
requestResults_ = other . requestResults_ . Clone ( ) ;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -3646,6 +3772,19 @@ namespace Grpc.Testing {
get { return serverSuccess_ ; }
get { return serverSuccess_ ; }
}
}
/// <summary>Field number for the "request_results" field.</summary>
public const int RequestResultsFieldNumber = 9 ;
private static readonly pb : : FieldCodec < global :: Grpc . Testing . RequestResultCount > _ repeated_requestResults_codec
= pb : : FieldCodec . ForMessage ( 7 4 , 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)
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc : : RepeatedField < global :: Grpc . Testing . RequestResultCount > RequestResults {
get { return requestResults_ ; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals ( object other ) {
public override bool Equals ( object other ) {
return Equals ( other as ScenarioResult ) ;
return Equals ( other as ScenarioResult ) ;
@ -3667,6 +3806,7 @@ namespace Grpc.Testing {
if ( ! object . Equals ( Summary , other . Summary ) ) return false ;
if ( ! object . Equals ( Summary , other . Summary ) ) return false ;
if ( ! clientSuccess_ . Equals ( other . clientSuccess_ ) ) return false ;
if ( ! clientSuccess_ . Equals ( other . clientSuccess_ ) ) return false ;
if ( ! serverSuccess_ . Equals ( other . serverSuccess_ ) ) return false ;
if ( ! serverSuccess_ . Equals ( other . serverSuccess_ ) ) return false ;
if ( ! requestResults_ . Equals ( other . requestResults_ ) ) return false ;
return true ;
return true ;
}
}
@ -3681,6 +3821,7 @@ namespace Grpc.Testing {
if ( summary_ ! = null ) hash ^ = Summary . GetHashCode ( ) ;
if ( summary_ ! = null ) hash ^ = Summary . GetHashCode ( ) ;
hash ^ = clientSuccess_ . GetHashCode ( ) ;
hash ^ = clientSuccess_ . GetHashCode ( ) ;
hash ^ = serverSuccess_ . GetHashCode ( ) ;
hash ^ = serverSuccess_ . GetHashCode ( ) ;
hash ^ = requestResults_ . GetHashCode ( ) ;
return hash ;
return hash ;
}
}
@ -3708,6 +3849,7 @@ namespace Grpc.Testing {
}
}
clientSuccess_ . WriteTo ( output , _ repeated_clientSuccess_codec ) ;
clientSuccess_ . WriteTo ( output , _ repeated_clientSuccess_codec ) ;
serverSuccess_ . WriteTo ( output , _ repeated_serverSuccess_codec ) ;
serverSuccess_ . WriteTo ( output , _ repeated_serverSuccess_codec ) ;
requestResults_ . WriteTo ( output , _ repeated_requestResults_codec ) ;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -3727,6 +3869,7 @@ namespace Grpc.Testing {
}
}
size + = clientSuccess_ . CalculateSize ( _ repeated_clientSuccess_codec ) ;
size + = clientSuccess_ . CalculateSize ( _ repeated_clientSuccess_codec ) ;
size + = serverSuccess_ . CalculateSize ( _ repeated_serverSuccess_codec ) ;
size + = serverSuccess_ . CalculateSize ( _ repeated_serverSuccess_codec ) ;
size + = requestResults_ . CalculateSize ( _ repeated_requestResults_codec ) ;
return size ;
return size ;
}
}
@ -3758,6 +3901,7 @@ namespace Grpc.Testing {
}
}
clientSuccess_ . Add ( other . clientSuccess_ ) ;
clientSuccess_ . Add ( other . clientSuccess_ ) ;
serverSuccess_ . Add ( other . serverSuccess_ ) ;
serverSuccess_ . Add ( other . serverSuccess_ ) ;
requestResults_ . Add ( other . requestResults_ ) ;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
@ -3812,6 +3956,10 @@ namespace Grpc.Testing {
serverSuccess_ . AddEntriesFrom ( input , _ repeated_serverSuccess_codec ) ;
serverSuccess_ . AddEntriesFrom ( input , _ repeated_serverSuccess_codec ) ;
break ;
break ;
}
}
case 7 4 : {
requestResults_ . AddEntriesFrom ( input , _ repeated_requestResults_codec ) ;
break ;
}
}
}
}
}
}
}