* Results of a single benchmark scenario.
*
*
* Protobuf type grpc.testing.ScenarioResult
*/
class ScenarioResult extends \Google\Protobuf\Internal\Message
{
/**
*
* Inputs used to run the scenario. ** *
.grpc.testing.Scenario scenario = 1;
*/
private $scenario = null;
/**
* * Histograms from all clients merged into one histogram. ** *
.grpc.testing.HistogramData latencies = 2;
*/
private $latencies = null;
/**
* * Client stats for each client ** *
repeated .grpc.testing.ClientStats client_stats = 3;
*/
private $client_stats;
/**
* * Server stats for each server ** *
repeated .grpc.testing.ServerStats server_stats = 4;
*/
private $server_stats;
/**
* * Number of cores available to each server ** *
repeated int32 server_cores = 5;
*/
private $server_cores;
/**
* * An after-the-fact computed summary ** *
.grpc.testing.ScenarioResultSummary summary = 6;
*/
private $summary = null;
/**
* * Information on success or failure of each worker ** *
repeated bool client_success = 7;
*/
private $client_success;
/**
* repeated bool server_success = 8;
*/
private $server_success;
/**
* * Number of failed requests (one row per status code seen) ** *
repeated .grpc.testing.RequestResultCount request_results = 9;
*/
private $request_results;
public function __construct() {
\GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce();
parent::__construct();
}
/**
* * Inputs used to run the scenario. ** *
.grpc.testing.Scenario scenario = 1;
*/
public function getScenario()
{
return $this->scenario;
}
/**
* * Inputs used to run the scenario. ** *
.grpc.testing.Scenario scenario = 1;
*/
public function setScenario(&$var)
{
GPBUtil::checkMessage($var, \Grpc\Testing\Scenario::class);
$this->scenario = $var;
}
/**
* * Histograms from all clients merged into one histogram. ** *
.grpc.testing.HistogramData latencies = 2;
*/
public function getLatencies()
{
return $this->latencies;
}
/**
* * Histograms from all clients merged into one histogram. ** *
.grpc.testing.HistogramData latencies = 2;
*/
public function setLatencies(&$var)
{
GPBUtil::checkMessage($var, \Grpc\Testing\HistogramData::class);
$this->latencies = $var;
}
/**
* * Client stats for each client ** *
repeated .grpc.testing.ClientStats client_stats = 3;
*/
public function getClientStats()
{
return $this->client_stats;
}
/**
* * Client stats for each client ** *
repeated .grpc.testing.ClientStats client_stats = 3;
*/
public function setClientStats(&$var)
{
GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Grpc\Testing\ClientStats::class);
$this->client_stats = $var;
}
/**
* * Server stats for each server ** *
repeated .grpc.testing.ServerStats server_stats = 4;
*/
public function getServerStats()
{
return $this->server_stats;
}
/**
* * Server stats for each server ** *
repeated .grpc.testing.ServerStats server_stats = 4;
*/
public function setServerStats(&$var)
{
GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Grpc\Testing\ServerStats::class);
$this->server_stats = $var;
}
/**
* * Number of cores available to each server ** *
repeated int32 server_cores = 5;
*/
public function getServerCores()
{
return $this->server_cores;
}
/**
* * Number of cores available to each server ** *
repeated int32 server_cores = 5;
*/
public function setServerCores(&$var)
{
GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
$this->server_cores = $var;
}
/**
* * An after-the-fact computed summary ** *
.grpc.testing.ScenarioResultSummary summary = 6;
*/
public function getSummary()
{
return $this->summary;
}
/**
* * An after-the-fact computed summary ** *
.grpc.testing.ScenarioResultSummary summary = 6;
*/
public function setSummary(&$var)
{
GPBUtil::checkMessage($var, \Grpc\Testing\ScenarioResultSummary::class);
$this->summary = $var;
}
/**
* * Information on success or failure of each worker ** *
repeated bool client_success = 7;
*/
public function getClientSuccess()
{
return $this->client_success;
}
/**
* * Information on success or failure of each worker ** *
repeated bool client_success = 7;
*/
public function setClientSuccess(&$var)
{
GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::BOOL);
$this->client_success = $var;
}
/**
* repeated bool server_success = 8;
*/
public function getServerSuccess()
{
return $this->server_success;
}
/**
* repeated bool server_success = 8;
*/
public function setServerSuccess(&$var)
{
GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::BOOL);
$this->server_success = $var;
}
/**
* * Number of failed requests (one row per status code seen) ** *
repeated .grpc.testing.RequestResultCount request_results = 9;
*/
public function getRequestResults()
{
return $this->request_results;
}
/**
* * Number of failed requests (one row per status code seen) ** *
repeated .grpc.testing.RequestResultCount request_results = 9;
*/
public function setRequestResults(&$var)
{
GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Grpc\Testing\RequestResultCount::class);
$this->request_results = $var;
}
}