377 lines
9.6 KiB
PHP
377 lines
9.6 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proCore.proto
|
|
|
|
namespace Rv\Data;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.TriggerOptions</code>
|
|
*/
|
|
class TriggerOptions extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 1;</code>
|
|
*/
|
|
protected $content_destination = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_auto_start_video = 2;</code>
|
|
*/
|
|
protected $suppress_auto_start_video = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_media_background = 3;</code>
|
|
*/
|
|
protected $suppress_media_background = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool force_retrigger = 4;</code>
|
|
*/
|
|
protected $force_retrigger = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool reset_chord_chart = 5;</code>
|
|
*/
|
|
protected $reset_chord_chart = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool from_playlist_library = 6;</code>
|
|
*/
|
|
protected $from_playlist_library = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool from_timeline = 7;</code>
|
|
*/
|
|
protected $from_timeline = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool ignore_analytics = 8;</code>
|
|
*/
|
|
protected $ignore_analytics = false;
|
|
/**
|
|
* Generated from protobuf field <code>double start_position = 9;</code>
|
|
*/
|
|
protected $start_position = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerSource trigger_source = 10;</code>
|
|
*/
|
|
protected $trigger_source = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.NetworkIdentifier network_identifier = 11;</code>
|
|
*/
|
|
protected $network_identifier = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool request_client_context = 12;</code>
|
|
*/
|
|
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 <code>.rv.data.Action.ContentDestination content_destination = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getContentDestination()
|
|
{
|
|
return $this->content_destination;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Action.ContentDestination content_destination = 1;</code>
|
|
* @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 <code>bool suppress_auto_start_video = 2;</code>
|
|
* @return bool
|
|
*/
|
|
public function getSuppressAutoStartVideo()
|
|
{
|
|
return $this->suppress_auto_start_video;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_auto_start_video = 2;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setSuppressAutoStartVideo($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->suppress_auto_start_video = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_media_background = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getSuppressMediaBackground()
|
|
{
|
|
return $this->suppress_media_background;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_media_background = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setSuppressMediaBackground($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->suppress_media_background = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool force_retrigger = 4;</code>
|
|
* @return bool
|
|
*/
|
|
public function getForceRetrigger()
|
|
{
|
|
return $this->force_retrigger;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool force_retrigger = 4;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setForceRetrigger($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->force_retrigger = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool reset_chord_chart = 5;</code>
|
|
* @return bool
|
|
*/
|
|
public function getResetChordChart()
|
|
{
|
|
return $this->reset_chord_chart;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool reset_chord_chart = 5;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setResetChordChart($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->reset_chord_chart = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool from_playlist_library = 6;</code>
|
|
* @return bool
|
|
*/
|
|
public function getFromPlaylistLibrary()
|
|
{
|
|
return $this->from_playlist_library;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool from_playlist_library = 6;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setFromPlaylistLibrary($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->from_playlist_library = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool from_timeline = 7;</code>
|
|
* @return bool
|
|
*/
|
|
public function getFromTimeline()
|
|
{
|
|
return $this->from_timeline;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool from_timeline = 7;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setFromTimeline($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->from_timeline = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool ignore_analytics = 8;</code>
|
|
* @return bool
|
|
*/
|
|
public function getIgnoreAnalytics()
|
|
{
|
|
return $this->ignore_analytics;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool ignore_analytics = 8;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setIgnoreAnalytics($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->ignore_analytics = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double start_position = 9;</code>
|
|
* @return float
|
|
*/
|
|
public function getStartPosition()
|
|
{
|
|
return $this->start_position;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double start_position = 9;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setStartPosition($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->start_position = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.TriggerSource trigger_source = 10;</code>
|
|
* @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 <code>.rv.data.TriggerSource trigger_source = 10;</code>
|
|
* @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 <code>.rv.data.NetworkIdentifier network_identifier = 11;</code>
|
|
* @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 <code>.rv.data.NetworkIdentifier network_identifier = 11;</code>
|
|
* @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 <code>bool request_client_context = 12;</code>
|
|
* @return bool
|
|
*/
|
|
public function getRequestClientContext()
|
|
{
|
|
return $this->request_client_context;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool request_client_context = 12;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setRequestClientContext($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->request_client_context = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|