rv.data.Preferences.Advanced */ class Advanced extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool suppress_auto_start = 1; */ protected $suppress_auto_start = false; /** * Generated from protobuf field .rv.data.Preferences.Advanced.AudioForegroundMediaBehavior presentation_audio_behavior = 2; */ protected $presentation_audio_behavior = 0; /** * Generated from protobuf field .rv.data.Preferences.Advanced.AudioForegroundMediaBehavior announcements_audio_behavior = 3; */ protected $announcements_audio_behavior = 0; /** * Generated from protobuf field .rv.data.Preferences.Advanced.NDIDiscovery ndi_discovery = 4; */ protected $ndi_discovery = null; /** * Generated from protobuf field string support_files_path = 5; */ protected $support_files_path = ''; /** * Generated from protobuf field bool manage_media_automatically = 6; */ protected $manage_media_automatically = false; /** * Generated from protobuf field .rv.data.Preferences.Advanced.SearchPaths search_paths = 7; */ 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 bool suppress_auto_start = 1; * @return bool */ public function getSuppressAutoStart() { return $this->suppress_auto_start; } /** * Generated from protobuf field bool suppress_auto_start = 1; * @param bool $var * @return $this */ public function setSuppressAutoStart($var) { GPBUtil::checkBool($var); $this->suppress_auto_start = $var; return $this; } /** * Generated from protobuf field .rv.data.Preferences.Advanced.AudioForegroundMediaBehavior presentation_audio_behavior = 2; * @return int */ public function getPresentationAudioBehavior() { return $this->presentation_audio_behavior; } /** * Generated from protobuf field .rv.data.Preferences.Advanced.AudioForegroundMediaBehavior presentation_audio_behavior = 2; * @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 .rv.data.Preferences.Advanced.AudioForegroundMediaBehavior announcements_audio_behavior = 3; * @return int */ public function getAnnouncementsAudioBehavior() { return $this->announcements_audio_behavior; } /** * Generated from protobuf field .rv.data.Preferences.Advanced.AudioForegroundMediaBehavior announcements_audio_behavior = 3; * @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 .rv.data.Preferences.Advanced.NDIDiscovery ndi_discovery = 4; * @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 .rv.data.Preferences.Advanced.NDIDiscovery ndi_discovery = 4; * @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 string support_files_path = 5; * @return string */ public function getSupportFilesPath() { return $this->support_files_path; } /** * Generated from protobuf field string support_files_path = 5; * @param string $var * @return $this */ public function setSupportFilesPath($var) { GPBUtil::checkString($var, True); $this->support_files_path = $var; return $this; } /** * Generated from protobuf field bool manage_media_automatically = 6; * @return bool */ public function getManageMediaAutomatically() { return $this->manage_media_automatically; } /** * Generated from protobuf field bool manage_media_automatically = 6; * @param bool $var * @return $this */ public function setManageMediaAutomatically($var) { GPBUtil::checkBool($var); $this->manage_media_automatically = $var; return $this; } /** * Generated from protobuf field .rv.data.Preferences.Advanced.SearchPaths search_paths = 7; * @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 .rv.data.Preferences.Advanced.SearchPaths search_paths = 7; * @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; } }