propresenter-php/generated/Rv/Data/Slide/Element/TextScroller.php
Thorsten Bus 22ba4aff7d refactor: make repo Composer-compatible by moving php/ to root and ref/ to doc/reference_samples
- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root
- Move ref/ to doc/reference_samples/ for better organization
- Remove vendor/ from git tracking (now properly gitignored)
- Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/)
- Update all documentation paths (AGENTS.md, doc/*.md)
- Remove php.bak/ directory
- All 252 tests pass
2026-03-30 13:26:29 +02:00

249 lines
6 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: slide.proto
namespace Rv\Data\Slide\Element;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Slide.Element.TextScroller</code>
*/
class TextScroller extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>bool should_scroll = 1;</code>
*/
protected $should_scroll = false;
/**
* Generated from protobuf field <code>double scroll_rate = 2;</code>
*/
protected $scroll_rate = 0.0;
/**
* Generated from protobuf field <code>bool should_repeat = 3;</code>
*/
protected $should_repeat = false;
/**
* Generated from protobuf field <code>double repeat_distance = 4;</code>
*/
protected $repeat_distance = 0.0;
/**
* Generated from protobuf field <code>.rv.data.Slide.Element.TextScroller.Direction scrolling_direction = 5;</code>
*/
protected $scrolling_direction = 0;
/**
* Generated from protobuf field <code>bool starts_off_screen = 6;</code>
*/
protected $starts_off_screen = false;
/**
* Generated from protobuf field <code>double fade_left = 7;</code>
*/
protected $fade_left = 0.0;
/**
* Generated from protobuf field <code>double fade_right = 8;</code>
*/
protected $fade_right = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $should_scroll
* @type float $scroll_rate
* @type bool $should_repeat
* @type float $repeat_distance
* @type int $scrolling_direction
* @type bool $starts_off_screen
* @type float $fade_left
* @type float $fade_right
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Slide::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>bool should_scroll = 1;</code>
* @return bool
*/
public function getShouldScroll()
{
return $this->should_scroll;
}
/**
* Generated from protobuf field <code>bool should_scroll = 1;</code>
* @param bool $var
* @return $this
*/
public function setShouldScroll($var)
{
GPBUtil::checkBool($var);
$this->should_scroll = $var;
return $this;
}
/**
* Generated from protobuf field <code>double scroll_rate = 2;</code>
* @return float
*/
public function getScrollRate()
{
return $this->scroll_rate;
}
/**
* Generated from protobuf field <code>double scroll_rate = 2;</code>
* @param float $var
* @return $this
*/
public function setScrollRate($var)
{
GPBUtil::checkDouble($var);
$this->scroll_rate = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool should_repeat = 3;</code>
* @return bool
*/
public function getShouldRepeat()
{
return $this->should_repeat;
}
/**
* Generated from protobuf field <code>bool should_repeat = 3;</code>
* @param bool $var
* @return $this
*/
public function setShouldRepeat($var)
{
GPBUtil::checkBool($var);
$this->should_repeat = $var;
return $this;
}
/**
* Generated from protobuf field <code>double repeat_distance = 4;</code>
* @return float
*/
public function getRepeatDistance()
{
return $this->repeat_distance;
}
/**
* Generated from protobuf field <code>double repeat_distance = 4;</code>
* @param float $var
* @return $this
*/
public function setRepeatDistance($var)
{
GPBUtil::checkDouble($var);
$this->repeat_distance = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Slide.Element.TextScroller.Direction scrolling_direction = 5;</code>
* @return int
*/
public function getScrollingDirection()
{
return $this->scrolling_direction;
}
/**
* Generated from protobuf field <code>.rv.data.Slide.Element.TextScroller.Direction scrolling_direction = 5;</code>
* @param int $var
* @return $this
*/
public function setScrollingDirection($var)
{
GPBUtil::checkEnum($var, \Rv\Data\Slide\Element\TextScroller\Direction::class);
$this->scrolling_direction = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool starts_off_screen = 6;</code>
* @return bool
*/
public function getStartsOffScreen()
{
return $this->starts_off_screen;
}
/**
* Generated from protobuf field <code>bool starts_off_screen = 6;</code>
* @param bool $var
* @return $this
*/
public function setStartsOffScreen($var)
{
GPBUtil::checkBool($var);
$this->starts_off_screen = $var;
return $this;
}
/**
* Generated from protobuf field <code>double fade_left = 7;</code>
* @return float
*/
public function getFadeLeft()
{
return $this->fade_left;
}
/**
* Generated from protobuf field <code>double fade_left = 7;</code>
* @param float $var
* @return $this
*/
public function setFadeLeft($var)
{
GPBUtil::checkDouble($var);
$this->fade_left = $var;
return $this;
}
/**
* Generated from protobuf field <code>double fade_right = 8;</code>
* @return float
*/
public function getFadeRight()
{
return $this->fade_right;
}
/**
* Generated from protobuf field <code>double fade_right = 8;</code>
* @param float $var
* @return $this
*/
public function setFadeRight($var)
{
GPBUtil::checkDouble($var);
$this->fade_right = $var;
return $this;
}
}