propresenter-php/php/generated/Rv/Data/Preferences/Network/Remotes/ProRemote.php
2026-03-01 16:12:17 +01:00

168 lines
4 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: preferences.proto
namespace Rv\Data\Preferences\Network\Remotes;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Preferences.Network.Remotes.ProRemote</code>
*/
class ProRemote extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>bool enable = 1;</code>
*/
protected $enable = false;
/**
* Generated from protobuf field <code>bool enable_controller = 2;</code>
*/
protected $enable_controller = false;
/**
* Generated from protobuf field <code>string controller_password = 3;</code>
*/
protected $controller_password = '';
/**
* Generated from protobuf field <code>bool enable_observer = 4;</code>
*/
protected $enable_observer = false;
/**
* Generated from protobuf field <code>string observer_password = 5;</code>
*/
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 <code>bool enable = 1;</code>
* @return bool
*/
public function getEnable()
{
return $this->enable;
}
/**
* Generated from protobuf field <code>bool enable = 1;</code>
* @param bool $var
* @return $this
*/
public function setEnable($var)
{
GPBUtil::checkBool($var);
$this->enable = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool enable_controller = 2;</code>
* @return bool
*/
public function getEnableController()
{
return $this->enable_controller;
}
/**
* Generated from protobuf field <code>bool enable_controller = 2;</code>
* @param bool $var
* @return $this
*/
public function setEnableController($var)
{
GPBUtil::checkBool($var);
$this->enable_controller = $var;
return $this;
}
/**
* Generated from protobuf field <code>string controller_password = 3;</code>
* @return string
*/
public function getControllerPassword()
{
return $this->controller_password;
}
/**
* Generated from protobuf field <code>string controller_password = 3;</code>
* @param string $var
* @return $this
*/
public function setControllerPassword($var)
{
GPBUtil::checkString($var, True);
$this->controller_password = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool enable_observer = 4;</code>
* @return bool
*/
public function getEnableObserver()
{
return $this->enable_observer;
}
/**
* Generated from protobuf field <code>bool enable_observer = 4;</code>
* @param bool $var
* @return $this
*/
public function setEnableObserver($var)
{
GPBUtil::checkBool($var);
$this->enable_observer = $var;
return $this;
}
/**
* Generated from protobuf field <code>string observer_password = 5;</code>
* @return string
*/
public function getObserverPassword()
{
return $this->observer_password;
}
/**
* Generated from protobuf field <code>string observer_password = 5;</code>
* @param string $var
* @return $this
*/
public function setObserverPassword($var)
{
GPBUtil::checkString($var, True);
$this->observer_password = $var;
return $this;
}
}