rv.data.Preferences.Network.Remotes.ProRemote
*/
class ProRemote extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field bool enable = 1;
*/
protected $enable = false;
/**
* Generated from protobuf field bool enable_controller = 2;
*/
protected $enable_controller = false;
/**
* Generated from protobuf field string controller_password = 3;
*/
protected $controller_password = '';
/**
* Generated from protobuf field bool enable_observer = 4;
*/
protected $enable_observer = false;
/**
* Generated from protobuf field string observer_password = 5;
*/
protected $observer_password = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $enable
* @type bool $enable_controller
* @type string $controller_password
* @type bool $enable_observer
* @type string $observer_password
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Preferences::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field bool enable = 1;
* @return bool
*/
public function getEnable()
{
return $this->enable;
}
/**
* Generated from protobuf field bool enable = 1;
* @param bool $var
* @return $this
*/
public function setEnable($var)
{
GPBUtil::checkBool($var);
$this->enable = $var;
return $this;
}
/**
* Generated from protobuf field bool enable_controller = 2;
* @return bool
*/
public function getEnableController()
{
return $this->enable_controller;
}
/**
* Generated from protobuf field bool enable_controller = 2;
* @param bool $var
* @return $this
*/
public function setEnableController($var)
{
GPBUtil::checkBool($var);
$this->enable_controller = $var;
return $this;
}
/**
* Generated from protobuf field string controller_password = 3;
* @return string
*/
public function getControllerPassword()
{
return $this->controller_password;
}
/**
* Generated from protobuf field string controller_password = 3;
* @param string $var
* @return $this
*/
public function setControllerPassword($var)
{
GPBUtil::checkString($var, True);
$this->controller_password = $var;
return $this;
}
/**
* Generated from protobuf field bool enable_observer = 4;
* @return bool
*/
public function getEnableObserver()
{
return $this->enable_observer;
}
/**
* Generated from protobuf field bool enable_observer = 4;
* @param bool $var
* @return $this
*/
public function setEnableObserver($var)
{
GPBUtil::checkBool($var);
$this->enable_observer = $var;
return $this;
}
/**
* Generated from protobuf field string observer_password = 5;
* @return string
*/
public function getObserverPassword()
{
return $this->observer_password;
}
/**
* Generated from protobuf field string observer_password = 5;
* @param string $var
* @return $this
*/
public function setObserverPassword($var)
{
GPBUtil::checkString($var, True);
$this->observer_password = $var;
return $this;
}
}