242 lines
6.9 KiB
PHP
242 lines
6.9 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: preferences.proto
|
|
|
|
namespace Rv\Data\Preferences;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Preferences.Advanced</code>
|
|
*/
|
|
class Advanced extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_auto_start = 1;</code>
|
|
*/
|
|
protected $suppress_auto_start = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.AudioForegroundMediaBehavior presentation_audio_behavior = 2;</code>
|
|
*/
|
|
protected $presentation_audio_behavior = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.AudioForegroundMediaBehavior announcements_audio_behavior = 3;</code>
|
|
*/
|
|
protected $announcements_audio_behavior = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.NDIDiscovery ndi_discovery = 4;</code>
|
|
*/
|
|
protected $ndi_discovery = null;
|
|
/**
|
|
* Generated from protobuf field <code>string support_files_path = 5;</code>
|
|
*/
|
|
protected $support_files_path = '';
|
|
/**
|
|
* Generated from protobuf field <code>bool manage_media_automatically = 6;</code>
|
|
*/
|
|
protected $manage_media_automatically = false;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.SearchPaths search_paths = 7;</code>
|
|
*/
|
|
protected $search_paths = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type bool $suppress_auto_start
|
|
* @type int $presentation_audio_behavior
|
|
* @type int $announcements_audio_behavior
|
|
* @type \Rv\Data\Preferences\Advanced\NDIDiscovery $ndi_discovery
|
|
* @type string $support_files_path
|
|
* @type bool $manage_media_automatically
|
|
* @type \Rv\Data\Preferences\Advanced\SearchPaths $search_paths
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Preferences::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_auto_start = 1;</code>
|
|
* @return bool
|
|
*/
|
|
public function getSuppressAutoStart()
|
|
{
|
|
return $this->suppress_auto_start;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool suppress_auto_start = 1;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setSuppressAutoStart($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->suppress_auto_start = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.AudioForegroundMediaBehavior presentation_audio_behavior = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getPresentationAudioBehavior()
|
|
{
|
|
return $this->presentation_audio_behavior;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.AudioForegroundMediaBehavior presentation_audio_behavior = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setPresentationAudioBehavior($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Preferences\Advanced\AudioForegroundMediaBehavior::class);
|
|
$this->presentation_audio_behavior = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.AudioForegroundMediaBehavior announcements_audio_behavior = 3;</code>
|
|
* @return int
|
|
*/
|
|
public function getAnnouncementsAudioBehavior()
|
|
{
|
|
return $this->announcements_audio_behavior;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.AudioForegroundMediaBehavior announcements_audio_behavior = 3;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setAnnouncementsAudioBehavior($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Preferences\Advanced\AudioForegroundMediaBehavior::class);
|
|
$this->announcements_audio_behavior = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.NDIDiscovery ndi_discovery = 4;</code>
|
|
* @return \Rv\Data\Preferences\Advanced\NDIDiscovery|null
|
|
*/
|
|
public function getNdiDiscovery()
|
|
{
|
|
return $this->ndi_discovery;
|
|
}
|
|
|
|
public function hasNdiDiscovery()
|
|
{
|
|
return isset($this->ndi_discovery);
|
|
}
|
|
|
|
public function clearNdiDiscovery()
|
|
{
|
|
unset($this->ndi_discovery);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.NDIDiscovery ndi_discovery = 4;</code>
|
|
* @param \Rv\Data\Preferences\Advanced\NDIDiscovery $var
|
|
* @return $this
|
|
*/
|
|
public function setNdiDiscovery($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Preferences\Advanced\NDIDiscovery::class);
|
|
$this->ndi_discovery = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string support_files_path = 5;</code>
|
|
* @return string
|
|
*/
|
|
public function getSupportFilesPath()
|
|
{
|
|
return $this->support_files_path;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string support_files_path = 5;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setSupportFilesPath($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->support_files_path = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool manage_media_automatically = 6;</code>
|
|
* @return bool
|
|
*/
|
|
public function getManageMediaAutomatically()
|
|
{
|
|
return $this->manage_media_automatically;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool manage_media_automatically = 6;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setManageMediaAutomatically($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->manage_media_automatically = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.SearchPaths search_paths = 7;</code>
|
|
* @return \Rv\Data\Preferences\Advanced\SearchPaths|null
|
|
*/
|
|
public function getSearchPaths()
|
|
{
|
|
return $this->search_paths;
|
|
}
|
|
|
|
public function hasSearchPaths()
|
|
{
|
|
return isset($this->search_paths);
|
|
}
|
|
|
|
public function clearSearchPaths()
|
|
{
|
|
unset($this->search_paths);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Advanced.SearchPaths search_paths = 7;</code>
|
|
* @param \Rv\Data\Preferences\Advanced\SearchPaths $var
|
|
* @return $this
|
|
*/
|
|
public function setSearchPaths($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Preferences\Advanced\SearchPaths::class);
|
|
$this->search_paths = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|