grpc.testing.ReconnectInfo
*/
class ReconnectInfo extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field bool passed = 1;
*/
private $passed = false;
/**
* Generated from protobuf field repeated int32 backoff_ms = 2;
*/
private $backoff_ms;
public function __construct() {
\GPBMetadata\Src\Proto\Grpc\Testing\Messages::initOnce();
parent::__construct();
}
/**
* Generated from protobuf field bool passed = 1;
* @return bool
*/
public function getPassed()
{
return $this->passed;
}
/**
* Generated from protobuf field bool passed = 1;
* @param bool $var
* @return $this
*/
public function setPassed($var)
{
GPBUtil::checkBool($var);
$this->passed = $var;
return $this;
}
/**
* Generated from protobuf field repeated int32 backoff_ms = 2;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getBackoffMs()
{
return $this->backoff_ms;
}
/**
* Generated from protobuf field repeated int32 backoff_ms = 2;
* @param int[]|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setBackoffMs($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
$this->backoff_ms = $arr;
return $this;
}
}