rv.analytics.Trigger.Cue.Slide.ScrollingTextElement */ class ScrollingTextElement extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Direction direction = 1; */ protected $direction = 0; /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.StartPosition start_position = 2; */ protected $start_position = 0; /** * Generated from protobuf field bool is_repeat_enabled = 3; */ protected $is_repeat_enabled = false; /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Speed speed = 4; */ protected $speed = 0; /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.DestinationLayer destination_layer = 5; */ protected $destination_layer = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $direction * @type int $start_position * @type bool $is_repeat_enabled * @type int $speed * @type int $destination_layer * } */ public function __construct($data = NULL) { \GPBMetadata\AnalyticsTrigger::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Direction direction = 1; * @return int */ public function getDirection() { return $this->direction; } /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Direction direction = 1; * @param int $var * @return $this */ public function setDirection($var) { GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\Cue\Slide\ScrollingTextElement\Direction::class); $this->direction = $var; return $this; } /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.StartPosition start_position = 2; * @return int */ public function getStartPosition() { return $this->start_position; } /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.StartPosition start_position = 2; * @param int $var * @return $this */ public function setStartPosition($var) { GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\Cue\Slide\ScrollingTextElement\StartPosition::class); $this->start_position = $var; return $this; } /** * Generated from protobuf field bool is_repeat_enabled = 3; * @return bool */ public function getIsRepeatEnabled() { return $this->is_repeat_enabled; } /** * Generated from protobuf field bool is_repeat_enabled = 3; * @param bool $var * @return $this */ public function setIsRepeatEnabled($var) { GPBUtil::checkBool($var); $this->is_repeat_enabled = $var; return $this; } /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Speed speed = 4; * @return int */ public function getSpeed() { return $this->speed; } /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Speed speed = 4; * @param int $var * @return $this */ public function setSpeed($var) { GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\Cue\Slide\ScrollingTextElement\Speed::class); $this->speed = $var; return $this; } /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.DestinationLayer destination_layer = 5; * @return int */ public function getDestinationLayer() { return $this->destination_layer; } /** * Generated from protobuf field .rv.analytics.Trigger.Cue.Slide.DestinationLayer destination_layer = 5; * @param int $var * @return $this */ public function setDestinationLayer($var) { GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\Cue\Slide\DestinationLayer::class); $this->destination_layer = $var; return $this; } }