rv.data.Media.TransportProperties */ class TransportProperties extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field double play_rate = 1; */ protected $play_rate = 0.0; /** * Generated from protobuf field double in_point = 2; */ protected $in_point = 0.0; /** * Generated from protobuf field double out_point = 3; */ protected $out_point = 0.0; /** * Generated from protobuf field double fade_in_duration = 7; */ protected $fade_in_duration = 0.0; /** * Generated from protobuf field double fade_out_duration = 8; */ protected $fade_out_duration = 0.0; /** * Generated from protobuf field bool should_fade_in = 9; */ protected $should_fade_in = false; /** * Generated from protobuf field bool should_fade_out = 10; */ protected $should_fade_out = false; /** * Generated from protobuf field double end_point = 11; */ protected $end_point = 0.0; /** * Generated from protobuf field .rv.data.Media.TransportProperties.PlaybackBehavior playback_behavior = 12; */ protected $playback_behavior = 0; /** * Generated from protobuf field double loop_time = 13; */ protected $loop_time = 0.0; /** * Generated from protobuf field uint32 times_to_loop = 14; */ protected $times_to_loop = 0; /** * Generated from protobuf field .rv.data.Media.TransportProperties.RetriggerSetting retrigger = 15; */ protected $retrigger = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type float $play_rate * @type float $in_point * @type float $out_point * @type float $fade_in_duration * @type float $fade_out_duration * @type bool $should_fade_in * @type bool $should_fade_out * @type float $end_point * @type int $playback_behavior * @type float $loop_time * @type int $times_to_loop * @type int $retrigger * } */ public function __construct($data = NULL) { \GPBMetadata\GraphicsData::initOnce(); parent::__construct($data); } /** * Generated from protobuf field double play_rate = 1; * @return float */ public function getPlayRate() { return $this->play_rate; } /** * Generated from protobuf field double play_rate = 1; * @param float $var * @return $this */ public function setPlayRate($var) { GPBUtil::checkDouble($var); $this->play_rate = $var; return $this; } /** * Generated from protobuf field double in_point = 2; * @return float */ public function getInPoint() { return $this->in_point; } /** * Generated from protobuf field double in_point = 2; * @param float $var * @return $this */ public function setInPoint($var) { GPBUtil::checkDouble($var); $this->in_point = $var; return $this; } /** * Generated from protobuf field double out_point = 3; * @return float */ public function getOutPoint() { return $this->out_point; } /** * Generated from protobuf field double out_point = 3; * @param float $var * @return $this */ public function setOutPoint($var) { GPBUtil::checkDouble($var); $this->out_point = $var; return $this; } /** * Generated from protobuf field double fade_in_duration = 7; * @return float */ public function getFadeInDuration() { return $this->fade_in_duration; } /** * Generated from protobuf field double fade_in_duration = 7; * @param float $var * @return $this */ public function setFadeInDuration($var) { GPBUtil::checkDouble($var); $this->fade_in_duration = $var; return $this; } /** * Generated from protobuf field double fade_out_duration = 8; * @return float */ public function getFadeOutDuration() { return $this->fade_out_duration; } /** * Generated from protobuf field double fade_out_duration = 8; * @param float $var * @return $this */ public function setFadeOutDuration($var) { GPBUtil::checkDouble($var); $this->fade_out_duration = $var; return $this; } /** * Generated from protobuf field bool should_fade_in = 9; * @return bool */ public function getShouldFadeIn() { return $this->should_fade_in; } /** * Generated from protobuf field bool should_fade_in = 9; * @param bool $var * @return $this */ public function setShouldFadeIn($var) { GPBUtil::checkBool($var); $this->should_fade_in = $var; return $this; } /** * Generated from protobuf field bool should_fade_out = 10; * @return bool */ public function getShouldFadeOut() { return $this->should_fade_out; } /** * Generated from protobuf field bool should_fade_out = 10; * @param bool $var * @return $this */ public function setShouldFadeOut($var) { GPBUtil::checkBool($var); $this->should_fade_out = $var; return $this; } /** * Generated from protobuf field double end_point = 11; * @return float */ public function getEndPoint() { return $this->end_point; } /** * Generated from protobuf field double end_point = 11; * @param float $var * @return $this */ public function setEndPoint($var) { GPBUtil::checkDouble($var); $this->end_point = $var; return $this; } /** * Generated from protobuf field .rv.data.Media.TransportProperties.PlaybackBehavior playback_behavior = 12; * @return int */ public function getPlaybackBehavior() { return $this->playback_behavior; } /** * Generated from protobuf field .rv.data.Media.TransportProperties.PlaybackBehavior playback_behavior = 12; * @param int $var * @return $this */ public function setPlaybackBehavior($var) { GPBUtil::checkEnum($var, \Rv\Data\Media\TransportProperties\PlaybackBehavior::class); $this->playback_behavior = $var; return $this; } /** * Generated from protobuf field double loop_time = 13; * @return float */ public function getLoopTime() { return $this->loop_time; } /** * Generated from protobuf field double loop_time = 13; * @param float $var * @return $this */ public function setLoopTime($var) { GPBUtil::checkDouble($var); $this->loop_time = $var; return $this; } /** * Generated from protobuf field uint32 times_to_loop = 14; * @return int */ public function getTimesToLoop() { return $this->times_to_loop; } /** * Generated from protobuf field uint32 times_to_loop = 14; * @param int $var * @return $this */ public function setTimesToLoop($var) { GPBUtil::checkUint32($var); $this->times_to_loop = $var; return $this; } /** * Generated from protobuf field .rv.data.Media.TransportProperties.RetriggerSetting retrigger = 15; * @return int */ public function getRetrigger() { return $this->retrigger; } /** * Generated from protobuf field .rv.data.Media.TransportProperties.RetriggerSetting retrigger = 15; * @param int $var * @return $this */ public function setRetrigger($var) { GPBUtil::checkEnum($var, \Rv\Data\Media\TransportProperties\RetriggerSetting::class); $this->retrigger = $var; return $this; } }