rv.data.TriggerOptions */ class TriggerOptions extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.Action.ContentDestination content_destination = 1; */ protected $content_destination = 0; /** * Generated from protobuf field bool suppress_auto_start_video = 2; */ protected $suppress_auto_start_video = false; /** * Generated from protobuf field bool suppress_media_background = 3; */ protected $suppress_media_background = false; /** * Generated from protobuf field bool force_retrigger = 4; */ protected $force_retrigger = false; /** * Generated from protobuf field bool reset_chord_chart = 5; */ protected $reset_chord_chart = false; /** * Generated from protobuf field bool from_playlist_library = 6; */ protected $from_playlist_library = false; /** * Generated from protobuf field bool from_timeline = 7; */ protected $from_timeline = false; /** * Generated from protobuf field bool ignore_analytics = 8; */ protected $ignore_analytics = false; /** * Generated from protobuf field double start_position = 9; */ protected $start_position = 0.0; /** * Generated from protobuf field .rv.data.TriggerSource trigger_source = 10; */ protected $trigger_source = null; /** * Generated from protobuf field .rv.data.NetworkIdentifier network_identifier = 11; */ protected $network_identifier = null; /** * Generated from protobuf field bool request_client_context = 12; */ protected $request_client_context = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $content_destination * @type bool $suppress_auto_start_video * @type bool $suppress_media_background * @type bool $force_retrigger * @type bool $reset_chord_chart * @type bool $from_playlist_library * @type bool $from_timeline * @type bool $ignore_analytics * @type float $start_position * @type \Rv\Data\TriggerSource $trigger_source * @type \Rv\Data\NetworkIdentifier $network_identifier * @type bool $request_client_context * } */ public function __construct($data = NULL) { \GPBMetadata\ProCore::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.Action.ContentDestination content_destination = 1; * @return int */ public function getContentDestination() { return $this->content_destination; } /** * Generated from protobuf field .rv.data.Action.ContentDestination content_destination = 1; * @param int $var * @return $this */ public function setContentDestination($var) { GPBUtil::checkEnum($var, \Rv\Data\Action\ContentDestination::class); $this->content_destination = $var; return $this; } /** * Generated from protobuf field bool suppress_auto_start_video = 2; * @return bool */ public function getSuppressAutoStartVideo() { return $this->suppress_auto_start_video; } /** * Generated from protobuf field bool suppress_auto_start_video = 2; * @param bool $var * @return $this */ public function setSuppressAutoStartVideo($var) { GPBUtil::checkBool($var); $this->suppress_auto_start_video = $var; return $this; } /** * Generated from protobuf field bool suppress_media_background = 3; * @return bool */ public function getSuppressMediaBackground() { return $this->suppress_media_background; } /** * Generated from protobuf field bool suppress_media_background = 3; * @param bool $var * @return $this */ public function setSuppressMediaBackground($var) { GPBUtil::checkBool($var); $this->suppress_media_background = $var; return $this; } /** * Generated from protobuf field bool force_retrigger = 4; * @return bool */ public function getForceRetrigger() { return $this->force_retrigger; } /** * Generated from protobuf field bool force_retrigger = 4; * @param bool $var * @return $this */ public function setForceRetrigger($var) { GPBUtil::checkBool($var); $this->force_retrigger = $var; return $this; } /** * Generated from protobuf field bool reset_chord_chart = 5; * @return bool */ public function getResetChordChart() { return $this->reset_chord_chart; } /** * Generated from protobuf field bool reset_chord_chart = 5; * @param bool $var * @return $this */ public function setResetChordChart($var) { GPBUtil::checkBool($var); $this->reset_chord_chart = $var; return $this; } /** * Generated from protobuf field bool from_playlist_library = 6; * @return bool */ public function getFromPlaylistLibrary() { return $this->from_playlist_library; } /** * Generated from protobuf field bool from_playlist_library = 6; * @param bool $var * @return $this */ public function setFromPlaylistLibrary($var) { GPBUtil::checkBool($var); $this->from_playlist_library = $var; return $this; } /** * Generated from protobuf field bool from_timeline = 7; * @return bool */ public function getFromTimeline() { return $this->from_timeline; } /** * Generated from protobuf field bool from_timeline = 7; * @param bool $var * @return $this */ public function setFromTimeline($var) { GPBUtil::checkBool($var); $this->from_timeline = $var; return $this; } /** * Generated from protobuf field bool ignore_analytics = 8; * @return bool */ public function getIgnoreAnalytics() { return $this->ignore_analytics; } /** * Generated from protobuf field bool ignore_analytics = 8; * @param bool $var * @return $this */ public function setIgnoreAnalytics($var) { GPBUtil::checkBool($var); $this->ignore_analytics = $var; return $this; } /** * Generated from protobuf field double start_position = 9; * @return float */ public function getStartPosition() { return $this->start_position; } /** * Generated from protobuf field double start_position = 9; * @param float $var * @return $this */ public function setStartPosition($var) { GPBUtil::checkDouble($var); $this->start_position = $var; return $this; } /** * Generated from protobuf field .rv.data.TriggerSource trigger_source = 10; * @return \Rv\Data\TriggerSource|null */ public function getTriggerSource() { return $this->trigger_source; } public function hasTriggerSource() { return isset($this->trigger_source); } public function clearTriggerSource() { unset($this->trigger_source); } /** * Generated from protobuf field .rv.data.TriggerSource trigger_source = 10; * @param \Rv\Data\TriggerSource $var * @return $this */ public function setTriggerSource($var) { GPBUtil::checkMessage($var, \Rv\Data\TriggerSource::class); $this->trigger_source = $var; return $this; } /** * Generated from protobuf field .rv.data.NetworkIdentifier network_identifier = 11; * @return \Rv\Data\NetworkIdentifier|null */ public function getNetworkIdentifier() { return $this->network_identifier; } public function hasNetworkIdentifier() { return isset($this->network_identifier); } public function clearNetworkIdentifier() { unset($this->network_identifier); } /** * Generated from protobuf field .rv.data.NetworkIdentifier network_identifier = 11; * @param \Rv\Data\NetworkIdentifier $var * @return $this */ public function setNetworkIdentifier($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkIdentifier::class); $this->network_identifier = $var; return $this; } /** * Generated from protobuf field bool request_client_context = 12; * @return bool */ public function getRequestClientContext() { return $this->request_client_context; } /** * Generated from protobuf field bool request_client_context = 12; * @param bool $var * @return $this */ public function setRequestClientContext($var) { GPBUtil::checkBool($var); $this->request_client_context = $var; return $this; } }