rv.analytics.UI.WhatsNew.Viewed
*/
class Viewed extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string version = 1;
*/
protected $version = '';
/**
* Generated from protobuf field string resource_name = 2;
*/
protected $resource_name = '';
/**
* Generated from protobuf field int32 view_time = 3;
*/
protected $view_time = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $version
* @type string $resource_name
* @type int $view_time
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsUI::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string version = 1;
* @return string
*/
public function getVersion()
{
return $this->version;
}
/**
* Generated from protobuf field string version = 1;
* @param string $var
* @return $this
*/
public function setVersion($var)
{
GPBUtil::checkString($var, True);
$this->version = $var;
return $this;
}
/**
* Generated from protobuf field string resource_name = 2;
* @return string
*/
public function getResourceName()
{
return $this->resource_name;
}
/**
* Generated from protobuf field string resource_name = 2;
* @param string $var
* @return $this
*/
public function setResourceName($var)
{
GPBUtil::checkString($var, True);
$this->resource_name = $var;
return $this;
}
/**
* Generated from protobuf field int32 view_time = 3;
* @return int
*/
public function getViewTime()
{
return $this->view_time;
}
/**
* Generated from protobuf field int32 view_time = 3;
* @param int $var
* @return $this
*/
public function setViewTime($var)
{
GPBUtil::checkInt32($var);
$this->view_time = $var;
return $this;
}
}