* For reconnect interop test only. * Server tells client whether its reconnects are following the spec and the * reconnect backoffs it saw. * * * Protobuf type grpc.testing.ReconnectInfo */ class ReconnectInfo extends \Google\Protobuf\Internal\Message { /** * bool passed = 1; */ private $passed = false; /** * repeated int32 backoff_ms = 2; */ private $backoff_ms; public function __construct() { \GPBMetadata\Src\Proto\Grpc\Testing\Messages::initOnce(); parent::__construct(); } /** * bool passed = 1; */ public function getPassed() { return $this->passed; } /** * bool passed = 1; */ public function setPassed($var) { GPBUtil::checkBool($var); $this->passed = $var; } /** * repeated int32 backoff_ms = 2; */ public function getBackoffMs() { return $this->backoff_ms; } /** * repeated int32 backoff_ms = 2; */ public function setBackoffMs(&$var) { GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); $this->backoff_ms = $var; } }