rv.analytics.trigger.ActionProp
*/
class ActionProp extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string transition = 1;
*/
protected $transition = '';
/**
* Generated from protobuf field .rv.analytics.trigger.ActionProp.Type type = 2;
*/
protected $type = 0;
/**
* Generated from protobuf field .rv.analytics.trigger.ActionProp.AutoClear auto_clear = 3;
*/
protected $auto_clear = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $transition
* @type int $type
* @type int $auto_clear
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsTrigger::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string transition = 1;
* @return string
*/
public function getTransition()
{
return $this->transition;
}
/**
* Generated from protobuf field string transition = 1;
* @param string $var
* @return $this
*/
public function setTransition($var)
{
GPBUtil::checkString($var, True);
$this->transition = $var;
return $this;
}
/**
* Generated from protobuf field .rv.analytics.trigger.ActionProp.Type type = 2;
* @return int
*/
public function getType()
{
return $this->type;
}
/**
* Generated from protobuf field .rv.analytics.trigger.ActionProp.Type type = 2;
* @param int $var
* @return $this
*/
public function setType($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\ActionProp\Type::class);
$this->type = $var;
return $this;
}
/**
* Generated from protobuf field .rv.analytics.trigger.ActionProp.AutoClear auto_clear = 3;
* @return int
*/
public function getAutoClear()
{
return $this->auto_clear;
}
/**
* Generated from protobuf field .rv.analytics.trigger.ActionProp.AutoClear auto_clear = 3;
* @param int $var
* @return $this
*/
public function setAutoClear($var)
{
GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\ActionProp\AutoClear::class);
$this->auto_clear = $var;
return $this;
}
}