propresenter7-php-lib/generated/Rv/Analytics/Trigger/Cue/Slide/ScrollingTextElement.php
Thorsten Buss 4d10db4f17 Initial public release
PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7
files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes,
and the global library files (Macros, Labels, Groups, ClearGroups, CCLI,
Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar,
KeyMappings, CommunicationDevices).

Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy
(v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/,
binary-format specs, and a synthetic 369-test PHPUnit suite covering
RTF extraction, translation slides, ZIP64 repair, round-trip fidelity,
and end-to-end generation.
2026-05-03 22:21:01 +02:00

168 lines
4.8 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: analyticsTrigger.proto
namespace Rv\Analytics\Trigger\Cue\Slide;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.analytics.Trigger.Cue.Slide.ScrollingTextElement</code>
*/
class ScrollingTextElement extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Direction direction = 1;</code>
*/
protected $direction = 0;
/**
* Generated from protobuf field <code>.rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.StartPosition start_position = 2;</code>
*/
protected $start_position = 0;
/**
* Generated from protobuf field <code>bool is_repeat_enabled = 3;</code>
*/
protected $is_repeat_enabled = false;
/**
* Generated from protobuf field <code>.rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Speed speed = 4;</code>
*/
protected $speed = 0;
/**
* Generated from protobuf field <code>.rv.analytics.Trigger.Cue.Slide.DestinationLayer destination_layer = 5;</code>
*/
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 <code>.rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Direction direction = 1;</code>
* @return int
*/
public function getDirection()
{
return $this->direction;
}
/**
* Generated from protobuf field <code>.rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Direction direction = 1;</code>
* @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 <code>.rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.StartPosition start_position = 2;</code>
* @return int
*/
public function getStartPosition()
{
return $this->start_position;
}
/**
* Generated from protobuf field <code>.rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.StartPosition start_position = 2;</code>
* @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 <code>bool is_repeat_enabled = 3;</code>
* @return bool
*/
public function getIsRepeatEnabled()
{
return $this->is_repeat_enabled;
}
/**
* Generated from protobuf field <code>bool is_repeat_enabled = 3;</code>
* @param bool $var
* @return $this
*/
public function setIsRepeatEnabled($var)
{
GPBUtil::checkBool($var);
$this->is_repeat_enabled = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Speed speed = 4;</code>
* @return int
*/
public function getSpeed()
{
return $this->speed;
}
/**
* Generated from protobuf field <code>.rv.analytics.Trigger.Cue.Slide.ScrollingTextElement.Speed speed = 4;</code>
* @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 <code>.rv.analytics.Trigger.Cue.Slide.DestinationLayer destination_layer = 5;</code>
* @return int
*/
public function getDestinationLayer()
{
return $this->destination_layer;
}
/**
* Generated from protobuf field <code>.rv.analytics.Trigger.Cue.Slide.DestinationLayer destination_layer = 5;</code>
* @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;
}
}