yats.Event
*/
class Event extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string id_client = 1;
*/
protected $id_client = '';
/**
* Generated from protobuf field int64 etime = 2;
*/
protected $etime = 0;
/**
* Generated from protobuf field string name = 3;
*/
protected $name = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $id_client
* @type int|string $etime
* @type string $name
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\YatsGrpc::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string id_client = 1;
* @return string
*/
public function getIdClient()
{
return $this->id_client;
}
/**
* Generated from protobuf field string id_client = 1;
* @param string $var
* @return $this
*/
public function setIdClient($var)
{
GPBUtil::checkString($var, True);
$this->id_client = $var;
return $this;
}
/**
* Generated from protobuf field int64 etime = 2;
* @return int|string
*/
public function getEtime()
{
return $this->etime;
}
/**
* Generated from protobuf field int64 etime = 2;
* @param int|string $var
* @return $this
*/
public function setEtime($var)
{
GPBUtil::checkInt64($var);
$this->etime = $var;
return $this;
}
/**
* Generated from protobuf field string name = 3;
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field string name = 3;
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
}