grpc.testing.Mark
*/
class Mark extends \Google\Protobuf\Internal\Message
{
/**
* if true, the stats will be reset after taking their snapshot.
*
* Generated from protobuf field bool reset = 1;
*/
protected $reset = false;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $reset
* if true, the stats will be reset after taking their snapshot.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce();
parent::__construct($data);
}
/**
* if true, the stats will be reset after taking their snapshot.
*
* Generated from protobuf field bool reset = 1;
* @return bool
*/
public function getReset()
{
return $this->reset;
}
/**
* if true, the stats will be reset after taking their snapshot.
*
* Generated from protobuf field bool reset = 1;
* @param bool $var
* @return $this
*/
public function setReset($var)
{
GPBUtil::checkBool($var);
$this->reset = $var;
return $this;
}
}