<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: preferences.proto

namespace Rv\Data\Preferences\Advanced;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.Preferences.Advanced.NDIDiscovery</code>
 */
class NDIDiscovery extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool show_local_sources = 1;</code>
     */
    protected $show_local_sources = false;
    /**
     * Generated from protobuf field <code>string receive_groups = 2;</code>
     */
    protected $receive_groups = '';
    /**
     * Generated from protobuf field <code>string additional_search_ips = 3;</code>
     */
    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 <code>bool show_local_sources = 1;</code>
     * @return bool
     */
    public function getShowLocalSources()
    {
        return $this->show_local_sources;
    }

    /**
     * Generated from protobuf field <code>bool show_local_sources = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setShowLocalSources($var)
    {
        GPBUtil::checkBool($var);
        $this->show_local_sources = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string receive_groups = 2;</code>
     * @return string
     */
    public function getReceiveGroups()
    {
        return $this->receive_groups;
    }

    /**
     * Generated from protobuf field <code>string receive_groups = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setReceiveGroups($var)
    {
        GPBUtil::checkString($var, True);
        $this->receive_groups = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string additional_search_ips = 3;</code>
     * @return string
     */
    public function getAdditionalSearchIps()
    {
        return $this->additional_search_ips;
    }

    /**
     * Generated from protobuf field <code>string additional_search_ips = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setAdditionalSearchIps($var)
    {
        GPBUtil::checkString($var, True);
        $this->additional_search_ips = $var;

        return $this;
    }

}

