rv.data.ProApiNetworkConfiguration */ class ProApiNetworkConfiguration extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool enable_network = 1; */ protected $enable_network = false; /** * Generated from protobuf field uint32 port = 2; */ protected $port = 0; /** * Generated from protobuf field string network_name = 3; */ protected $network_name = ''; /** * Generated from protobuf field bool remote_enable = 4; */ protected $remote_enable = false; /** * Generated from protobuf field bool remote_control_enable = 5; */ protected $remote_control_enable = false; /** * Generated from protobuf field string remote_control_password = 6; */ protected $remote_control_password = ''; /** * Generated from protobuf field bool remote_observe_enable = 7; */ protected $remote_observe_enable = false; /** * Generated from protobuf field string remote_observe_password = 8; */ protected $remote_observe_password = ''; /** * Generated from protobuf field bool stage_enable = 9; */ protected $stage_enable = false; /** * Generated from protobuf field string stage_password = 10; */ protected $stage_password = ''; /** * Generated from protobuf field bool link_enable = 11; */ protected $link_enable = false; /** * Generated from protobuf field string web_resource_root = 12; */ protected $web_resource_root = ''; /** * Generated from protobuf field uint32 tcp_stream_port = 13; */ protected $tcp_stream_port = 0; /** * Generated from protobuf field bool tcp_stream_enable = 14; */ protected $tcp_stream_enable = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $enable_network * @type int $port * @type string $network_name * @type bool $remote_enable * @type bool $remote_control_enable * @type string $remote_control_password * @type bool $remote_observe_enable * @type string $remote_observe_password * @type bool $stage_enable * @type string $stage_password * @type bool $link_enable * @type string $web_resource_root * @type int $tcp_stream_port * @type bool $tcp_stream_enable * } */ public function __construct($data = NULL) { \GPBMetadata\ProApi::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bool enable_network = 1; * @return bool */ public function getEnableNetwork() { return $this->enable_network; } /** * Generated from protobuf field bool enable_network = 1; * @param bool $var * @return $this */ public function setEnableNetwork($var) { GPBUtil::checkBool($var); $this->enable_network = $var; return $this; } /** * Generated from protobuf field uint32 port = 2; * @return int */ public function getPort() { return $this->port; } /** * Generated from protobuf field uint32 port = 2; * @param int $var * @return $this */ public function setPort($var) { GPBUtil::checkUint32($var); $this->port = $var; return $this; } /** * Generated from protobuf field string network_name = 3; * @return string */ public function getNetworkName() { return $this->network_name; } /** * Generated from protobuf field string network_name = 3; * @param string $var * @return $this */ public function setNetworkName($var) { GPBUtil::checkString($var, True); $this->network_name = $var; return $this; } /** * Generated from protobuf field bool remote_enable = 4; * @return bool */ public function getRemoteEnable() { return $this->remote_enable; } /** * Generated from protobuf field bool remote_enable = 4; * @param bool $var * @return $this */ public function setRemoteEnable($var) { GPBUtil::checkBool($var); $this->remote_enable = $var; return $this; } /** * Generated from protobuf field bool remote_control_enable = 5; * @return bool */ public function getRemoteControlEnable() { return $this->remote_control_enable; } /** * Generated from protobuf field bool remote_control_enable = 5; * @param bool $var * @return $this */ public function setRemoteControlEnable($var) { GPBUtil::checkBool($var); $this->remote_control_enable = $var; return $this; } /** * Generated from protobuf field string remote_control_password = 6; * @return string */ public function getRemoteControlPassword() { return $this->remote_control_password; } /** * Generated from protobuf field string remote_control_password = 6; * @param string $var * @return $this */ public function setRemoteControlPassword($var) { GPBUtil::checkString($var, True); $this->remote_control_password = $var; return $this; } /** * Generated from protobuf field bool remote_observe_enable = 7; * @return bool */ public function getRemoteObserveEnable() { return $this->remote_observe_enable; } /** * Generated from protobuf field bool remote_observe_enable = 7; * @param bool $var * @return $this */ public function setRemoteObserveEnable($var) { GPBUtil::checkBool($var); $this->remote_observe_enable = $var; return $this; } /** * Generated from protobuf field string remote_observe_password = 8; * @return string */ public function getRemoteObservePassword() { return $this->remote_observe_password; } /** * Generated from protobuf field string remote_observe_password = 8; * @param string $var * @return $this */ public function setRemoteObservePassword($var) { GPBUtil::checkString($var, True); $this->remote_observe_password = $var; return $this; } /** * Generated from protobuf field bool stage_enable = 9; * @return bool */ public function getStageEnable() { return $this->stage_enable; } /** * Generated from protobuf field bool stage_enable = 9; * @param bool $var * @return $this */ public function setStageEnable($var) { GPBUtil::checkBool($var); $this->stage_enable = $var; return $this; } /** * Generated from protobuf field string stage_password = 10; * @return string */ public function getStagePassword() { return $this->stage_password; } /** * Generated from protobuf field string stage_password = 10; * @param string $var * @return $this */ public function setStagePassword($var) { GPBUtil::checkString($var, True); $this->stage_password = $var; return $this; } /** * Generated from protobuf field bool link_enable = 11; * @return bool */ public function getLinkEnable() { return $this->link_enable; } /** * Generated from protobuf field bool link_enable = 11; * @param bool $var * @return $this */ public function setLinkEnable($var) { GPBUtil::checkBool($var); $this->link_enable = $var; return $this; } /** * Generated from protobuf field string web_resource_root = 12; * @return string */ public function getWebResourceRoot() { return $this->web_resource_root; } /** * Generated from protobuf field string web_resource_root = 12; * @param string $var * @return $this */ public function setWebResourceRoot($var) { GPBUtil::checkString($var, True); $this->web_resource_root = $var; return $this; } /** * Generated from protobuf field uint32 tcp_stream_port = 13; * @return int */ public function getTcpStreamPort() { return $this->tcp_stream_port; } /** * Generated from protobuf field uint32 tcp_stream_port = 13; * @param int $var * @return $this */ public function setTcpStreamPort($var) { GPBUtil::checkUint32($var); $this->tcp_stream_port = $var; return $this; } /** * Generated from protobuf field bool tcp_stream_enable = 14; * @return bool */ public function getTcpStreamEnable() { return $this->tcp_stream_enable; } /** * Generated from protobuf field bool tcp_stream_enable = 14; * @param bool $var * @return $this */ public function setTcpStreamEnable($var) { GPBUtil::checkBool($var); $this->tcp_stream_enable = $var; return $this; } }