rv.data.ControlTransport
*/
class ControlTransport extends \Google\Protobuf\Internal\Message
{
protected $ControlType;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\ControlTransport\PlayControlType $play
* @type \Rv\Data\ControlTransport\PauseControlType $pause
* @type \Rv\Data\ControlTransport\RewindControlType $rewind
* @type \Rv\Data\ControlTransport\FastForwardControlType $fastforward
* @type \Rv\Data\ControlTransport\SkipBackControlType $skip_back
* @type \Rv\Data\ControlTransport\SkipForwardControlType $skip_forward
* @type \Rv\Data\ControlTransport\StepBackControlType $step_back
* @type \Rv\Data\ControlTransport\StepForwardControlType $step_forward
* @type \Rv\Data\ControlTransport\GoToStartControlType $go_to_start
* @type \Rv\Data\ControlTransport\GoToEndControlType $go_to_end
* @type \Rv\Data\ControlTransport\JumpToTimeControlType $jump_to_time
* @type \Rv\Data\ControlTransport\JumpToPercentControlType $jump_to_percent
* @type \Rv\Data\ControlTransport\MarkInPointControlType $mark_in
* @type \Rv\Data\ControlTransport\MarkOutPointControlType $mark_out
* @type \Rv\Data\ControlTransport\SetScaleModeControlType $set_scale_mode
* @type \Rv\Data\ControlTransport\SetFlippedModeControlType $set_flipped_mode
* @type \Rv\Data\ControlTransport\SetPlayRateControlType $set_play_rate
* @type \Rv\Data\ControlTransport\SetNativeRotationControlType $set_rotation
* @type \Rv\Data\ControlTransport\TogglePlaybackControlType $toggle_playback
* @type \Rv\Data\ControlTransport\SetEffectsControlType $set_effects
* @type \Rv\Data\ControlTransport\UpdateEffectControlType $update_effect
* @type \Rv\Data\ControlTransport\BeginScrubControlType $begin_scrub
* @type \Rv\Data\ControlTransport\EndScrubControlType $end_scrub
* @type \Rv\Data\ControlTransport\ScrubToTimeControlType $scrub_to_time
* @type \Rv\Data\ControlTransport\ScrubToPercentControlType $scrub_to_percent
* @type \Rv\Data\ControlTransport\SetAudioFadeType $set_audio_fade
* @type \Rv\Data\ControlTransport\SetAudioPropertiesType $set_audio_properties
* @type \Rv\Data\ControlTransport\SetAlphaTypeControlType $set_alpha_type
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProCore::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.PlayControlType play = 1;
* @return \Rv\Data\ControlTransport\PlayControlType|null
*/
public function getPlay()
{
return $this->readOneof(1);
}
public function hasPlay()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.PlayControlType play = 1;
* @param \Rv\Data\ControlTransport\PlayControlType $var
* @return $this
*/
public function setPlay($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\PlayControlType::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.PauseControlType pause = 2;
* @return \Rv\Data\ControlTransport\PauseControlType|null
*/
public function getPause()
{
return $this->readOneof(2);
}
public function hasPause()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.PauseControlType pause = 2;
* @param \Rv\Data\ControlTransport\PauseControlType $var
* @return $this
*/
public function setPause($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\PauseControlType::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.RewindControlType rewind = 3;
* @return \Rv\Data\ControlTransport\RewindControlType|null
*/
public function getRewind()
{
return $this->readOneof(3);
}
public function hasRewind()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.RewindControlType rewind = 3;
* @param \Rv\Data\ControlTransport\RewindControlType $var
* @return $this
*/
public function setRewind($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\RewindControlType::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.FastForwardControlType fastforward = 4;
* @return \Rv\Data\ControlTransport\FastForwardControlType|null
*/
public function getFastforward()
{
return $this->readOneof(4);
}
public function hasFastforward()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.FastForwardControlType fastforward = 4;
* @param \Rv\Data\ControlTransport\FastForwardControlType $var
* @return $this
*/
public function setFastforward($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\FastForwardControlType::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SkipBackControlType skip_back = 5;
* @return \Rv\Data\ControlTransport\SkipBackControlType|null
*/
public function getSkipBack()
{
return $this->readOneof(5);
}
public function hasSkipBack()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SkipBackControlType skip_back = 5;
* @param \Rv\Data\ControlTransport\SkipBackControlType $var
* @return $this
*/
public function setSkipBack($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SkipBackControlType::class);
$this->writeOneof(5, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SkipForwardControlType skip_forward = 6;
* @return \Rv\Data\ControlTransport\SkipForwardControlType|null
*/
public function getSkipForward()
{
return $this->readOneof(6);
}
public function hasSkipForward()
{
return $this->hasOneof(6);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SkipForwardControlType skip_forward = 6;
* @param \Rv\Data\ControlTransport\SkipForwardControlType $var
* @return $this
*/
public function setSkipForward($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SkipForwardControlType::class);
$this->writeOneof(6, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.StepBackControlType step_back = 7;
* @return \Rv\Data\ControlTransport\StepBackControlType|null
*/
public function getStepBack()
{
return $this->readOneof(7);
}
public function hasStepBack()
{
return $this->hasOneof(7);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.StepBackControlType step_back = 7;
* @param \Rv\Data\ControlTransport\StepBackControlType $var
* @return $this
*/
public function setStepBack($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\StepBackControlType::class);
$this->writeOneof(7, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.StepForwardControlType step_forward = 8;
* @return \Rv\Data\ControlTransport\StepForwardControlType|null
*/
public function getStepForward()
{
return $this->readOneof(8);
}
public function hasStepForward()
{
return $this->hasOneof(8);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.StepForwardControlType step_forward = 8;
* @param \Rv\Data\ControlTransport\StepForwardControlType $var
* @return $this
*/
public function setStepForward($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\StepForwardControlType::class);
$this->writeOneof(8, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.GoToStartControlType go_to_start = 9;
* @return \Rv\Data\ControlTransport\GoToStartControlType|null
*/
public function getGoToStart()
{
return $this->readOneof(9);
}
public function hasGoToStart()
{
return $this->hasOneof(9);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.GoToStartControlType go_to_start = 9;
* @param \Rv\Data\ControlTransport\GoToStartControlType $var
* @return $this
*/
public function setGoToStart($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\GoToStartControlType::class);
$this->writeOneof(9, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.GoToEndControlType go_to_end = 10;
* @return \Rv\Data\ControlTransport\GoToEndControlType|null
*/
public function getGoToEnd()
{
return $this->readOneof(10);
}
public function hasGoToEnd()
{
return $this->hasOneof(10);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.GoToEndControlType go_to_end = 10;
* @param \Rv\Data\ControlTransport\GoToEndControlType $var
* @return $this
*/
public function setGoToEnd($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\GoToEndControlType::class);
$this->writeOneof(10, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.JumpToTimeControlType jump_to_time = 11;
* @return \Rv\Data\ControlTransport\JumpToTimeControlType|null
*/
public function getJumpToTime()
{
return $this->readOneof(11);
}
public function hasJumpToTime()
{
return $this->hasOneof(11);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.JumpToTimeControlType jump_to_time = 11;
* @param \Rv\Data\ControlTransport\JumpToTimeControlType $var
* @return $this
*/
public function setJumpToTime($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\JumpToTimeControlType::class);
$this->writeOneof(11, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.JumpToPercentControlType jump_to_percent = 12;
* @return \Rv\Data\ControlTransport\JumpToPercentControlType|null
*/
public function getJumpToPercent()
{
return $this->readOneof(12);
}
public function hasJumpToPercent()
{
return $this->hasOneof(12);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.JumpToPercentControlType jump_to_percent = 12;
* @param \Rv\Data\ControlTransport\JumpToPercentControlType $var
* @return $this
*/
public function setJumpToPercent($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\JumpToPercentControlType::class);
$this->writeOneof(12, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.MarkInPointControlType mark_in = 13;
* @return \Rv\Data\ControlTransport\MarkInPointControlType|null
*/
public function getMarkIn()
{
return $this->readOneof(13);
}
public function hasMarkIn()
{
return $this->hasOneof(13);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.MarkInPointControlType mark_in = 13;
* @param \Rv\Data\ControlTransport\MarkInPointControlType $var
* @return $this
*/
public function setMarkIn($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\MarkInPointControlType::class);
$this->writeOneof(13, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.MarkOutPointControlType mark_out = 14;
* @return \Rv\Data\ControlTransport\MarkOutPointControlType|null
*/
public function getMarkOut()
{
return $this->readOneof(14);
}
public function hasMarkOut()
{
return $this->hasOneof(14);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.MarkOutPointControlType mark_out = 14;
* @param \Rv\Data\ControlTransport\MarkOutPointControlType $var
* @return $this
*/
public function setMarkOut($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\MarkOutPointControlType::class);
$this->writeOneof(14, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetScaleModeControlType set_scale_mode = 15;
* @return \Rv\Data\ControlTransport\SetScaleModeControlType|null
*/
public function getSetScaleMode()
{
return $this->readOneof(15);
}
public function hasSetScaleMode()
{
return $this->hasOneof(15);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetScaleModeControlType set_scale_mode = 15;
* @param \Rv\Data\ControlTransport\SetScaleModeControlType $var
* @return $this
*/
public function setSetScaleMode($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SetScaleModeControlType::class);
$this->writeOneof(15, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetFlippedModeControlType set_flipped_mode = 16;
* @return \Rv\Data\ControlTransport\SetFlippedModeControlType|null
*/
public function getSetFlippedMode()
{
return $this->readOneof(16);
}
public function hasSetFlippedMode()
{
return $this->hasOneof(16);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetFlippedModeControlType set_flipped_mode = 16;
* @param \Rv\Data\ControlTransport\SetFlippedModeControlType $var
* @return $this
*/
public function setSetFlippedMode($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SetFlippedModeControlType::class);
$this->writeOneof(16, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetPlayRateControlType set_play_rate = 17;
* @return \Rv\Data\ControlTransport\SetPlayRateControlType|null
*/
public function getSetPlayRate()
{
return $this->readOneof(17);
}
public function hasSetPlayRate()
{
return $this->hasOneof(17);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetPlayRateControlType set_play_rate = 17;
* @param \Rv\Data\ControlTransport\SetPlayRateControlType $var
* @return $this
*/
public function setSetPlayRate($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SetPlayRateControlType::class);
$this->writeOneof(17, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetNativeRotationControlType set_rotation = 18;
* @return \Rv\Data\ControlTransport\SetNativeRotationControlType|null
*/
public function getSetRotation()
{
return $this->readOneof(18);
}
public function hasSetRotation()
{
return $this->hasOneof(18);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetNativeRotationControlType set_rotation = 18;
* @param \Rv\Data\ControlTransport\SetNativeRotationControlType $var
* @return $this
*/
public function setSetRotation($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SetNativeRotationControlType::class);
$this->writeOneof(18, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.TogglePlaybackControlType toggle_playback = 19;
* @return \Rv\Data\ControlTransport\TogglePlaybackControlType|null
*/
public function getTogglePlayback()
{
return $this->readOneof(19);
}
public function hasTogglePlayback()
{
return $this->hasOneof(19);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.TogglePlaybackControlType toggle_playback = 19;
* @param \Rv\Data\ControlTransport\TogglePlaybackControlType $var
* @return $this
*/
public function setTogglePlayback($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\TogglePlaybackControlType::class);
$this->writeOneof(19, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetEffectsControlType set_effects = 20;
* @return \Rv\Data\ControlTransport\SetEffectsControlType|null
*/
public function getSetEffects()
{
return $this->readOneof(20);
}
public function hasSetEffects()
{
return $this->hasOneof(20);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetEffectsControlType set_effects = 20;
* @param \Rv\Data\ControlTransport\SetEffectsControlType $var
* @return $this
*/
public function setSetEffects($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SetEffectsControlType::class);
$this->writeOneof(20, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.UpdateEffectControlType update_effect = 21;
* @return \Rv\Data\ControlTransport\UpdateEffectControlType|null
*/
public function getUpdateEffect()
{
return $this->readOneof(21);
}
public function hasUpdateEffect()
{
return $this->hasOneof(21);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.UpdateEffectControlType update_effect = 21;
* @param \Rv\Data\ControlTransport\UpdateEffectControlType $var
* @return $this
*/
public function setUpdateEffect($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\UpdateEffectControlType::class);
$this->writeOneof(21, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.BeginScrubControlType begin_scrub = 22;
* @return \Rv\Data\ControlTransport\BeginScrubControlType|null
*/
public function getBeginScrub()
{
return $this->readOneof(22);
}
public function hasBeginScrub()
{
return $this->hasOneof(22);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.BeginScrubControlType begin_scrub = 22;
* @param \Rv\Data\ControlTransport\BeginScrubControlType $var
* @return $this
*/
public function setBeginScrub($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\BeginScrubControlType::class);
$this->writeOneof(22, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.EndScrubControlType end_scrub = 23;
* @return \Rv\Data\ControlTransport\EndScrubControlType|null
*/
public function getEndScrub()
{
return $this->readOneof(23);
}
public function hasEndScrub()
{
return $this->hasOneof(23);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.EndScrubControlType end_scrub = 23;
* @param \Rv\Data\ControlTransport\EndScrubControlType $var
* @return $this
*/
public function setEndScrub($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\EndScrubControlType::class);
$this->writeOneof(23, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.ScrubToTimeControlType scrub_to_time = 24;
* @return \Rv\Data\ControlTransport\ScrubToTimeControlType|null
*/
public function getScrubToTime()
{
return $this->readOneof(24);
}
public function hasScrubToTime()
{
return $this->hasOneof(24);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.ScrubToTimeControlType scrub_to_time = 24;
* @param \Rv\Data\ControlTransport\ScrubToTimeControlType $var
* @return $this
*/
public function setScrubToTime($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\ScrubToTimeControlType::class);
$this->writeOneof(24, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.ScrubToPercentControlType scrub_to_percent = 25;
* @return \Rv\Data\ControlTransport\ScrubToPercentControlType|null
*/
public function getScrubToPercent()
{
return $this->readOneof(25);
}
public function hasScrubToPercent()
{
return $this->hasOneof(25);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.ScrubToPercentControlType scrub_to_percent = 25;
* @param \Rv\Data\ControlTransport\ScrubToPercentControlType $var
* @return $this
*/
public function setScrubToPercent($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\ScrubToPercentControlType::class);
$this->writeOneof(25, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetAudioFadeType set_audio_fade = 26;
* @return \Rv\Data\ControlTransport\SetAudioFadeType|null
*/
public function getSetAudioFade()
{
return $this->readOneof(26);
}
public function hasSetAudioFade()
{
return $this->hasOneof(26);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetAudioFadeType set_audio_fade = 26;
* @param \Rv\Data\ControlTransport\SetAudioFadeType $var
* @return $this
*/
public function setSetAudioFade($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SetAudioFadeType::class);
$this->writeOneof(26, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetAudioPropertiesType set_audio_properties = 27;
* @return \Rv\Data\ControlTransport\SetAudioPropertiesType|null
*/
public function getSetAudioProperties()
{
return $this->readOneof(27);
}
public function hasSetAudioProperties()
{
return $this->hasOneof(27);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetAudioPropertiesType set_audio_properties = 27;
* @param \Rv\Data\ControlTransport\SetAudioPropertiesType $var
* @return $this
*/
public function setSetAudioProperties($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SetAudioPropertiesType::class);
$this->writeOneof(27, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetAlphaTypeControlType set_alpha_type = 28;
* @return \Rv\Data\ControlTransport\SetAlphaTypeControlType|null
*/
public function getSetAlphaType()
{
return $this->readOneof(28);
}
public function hasSetAlphaType()
{
return $this->hasOneof(28);
}
/**
* Generated from protobuf field .rv.data.ControlTransport.SetAlphaTypeControlType set_alpha_type = 28;
* @param \Rv\Data\ControlTransport\SetAlphaTypeControlType $var
* @return $this
*/
public function setSetAlphaType($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ControlTransport\SetAlphaTypeControlType::class);
$this->writeOneof(28, $var);
return $this;
}
/**
* @return string
*/
public function getControlType()
{
return $this->whichOneof("ControlType");
}
}