rv.data.Preferences.Advanced.NDIDiscovery */ class NDIDiscovery extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool show_local_sources = 1; */ protected $show_local_sources = false; /** * Generated from protobuf field string receive_groups = 2; */ protected $receive_groups = ''; /** * Generated from protobuf field string additional_search_ips = 3; */ protected $additional_search_ips = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $show_local_sources * @type string $receive_groups * @type string $additional_search_ips * } */ public function __construct($data = NULL) { \GPBMetadata\Preferences::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bool show_local_sources = 1; * @return bool */ public function getShowLocalSources() { return $this->show_local_sources; } /** * Generated from protobuf field bool show_local_sources = 1; * @param bool $var * @return $this */ public function setShowLocalSources($var) { GPBUtil::checkBool($var); $this->show_local_sources = $var; return $this; } /** * Generated from protobuf field string receive_groups = 2; * @return string */ public function getReceiveGroups() { return $this->receive_groups; } /** * Generated from protobuf field string receive_groups = 2; * @param string $var * @return $this */ public function setReceiveGroups($var) { GPBUtil::checkString($var, True); $this->receive_groups = $var; return $this; } /** * Generated from protobuf field string additional_search_ips = 3; * @return string */ public function getAdditionalSearchIps() { return $this->additional_search_ips; } /** * Generated from protobuf field string additional_search_ips = 3; * @param string $var * @return $this */ public function setAdditionalSearchIps($var) { GPBUtil::checkString($var, True); $this->additional_search_ips = $var; return $this; } }