411 lines
9.9 KiB
PHP
411 lines
9.9 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApi.proto
|
|
|
|
namespace Rv\Data;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.ProApiNetworkConfiguration</code>
|
|
*/
|
|
class ProApiNetworkConfiguration extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>bool enable_network = 1;</code>
|
|
*/
|
|
protected $enable_network = false;
|
|
/**
|
|
* Generated from protobuf field <code>uint32 port = 2;</code>
|
|
*/
|
|
protected $port = 0;
|
|
/**
|
|
* Generated from protobuf field <code>string network_name = 3;</code>
|
|
*/
|
|
protected $network_name = '';
|
|
/**
|
|
* Generated from protobuf field <code>bool remote_enable = 4;</code>
|
|
*/
|
|
protected $remote_enable = false;
|
|
/**
|
|
* Generated from protobuf field <code>bool remote_control_enable = 5;</code>
|
|
*/
|
|
protected $remote_control_enable = false;
|
|
/**
|
|
* Generated from protobuf field <code>string remote_control_password = 6;</code>
|
|
*/
|
|
protected $remote_control_password = '';
|
|
/**
|
|
* Generated from protobuf field <code>bool remote_observe_enable = 7;</code>
|
|
*/
|
|
protected $remote_observe_enable = false;
|
|
/**
|
|
* Generated from protobuf field <code>string remote_observe_password = 8;</code>
|
|
*/
|
|
protected $remote_observe_password = '';
|
|
/**
|
|
* Generated from protobuf field <code>bool stage_enable = 9;</code>
|
|
*/
|
|
protected $stage_enable = false;
|
|
/**
|
|
* Generated from protobuf field <code>string stage_password = 10;</code>
|
|
*/
|
|
protected $stage_password = '';
|
|
/**
|
|
* Generated from protobuf field <code>bool link_enable = 11;</code>
|
|
*/
|
|
protected $link_enable = false;
|
|
/**
|
|
* Generated from protobuf field <code>string web_resource_root = 12;</code>
|
|
*/
|
|
protected $web_resource_root = '';
|
|
/**
|
|
* Generated from protobuf field <code>uint32 tcp_stream_port = 13;</code>
|
|
*/
|
|
protected $tcp_stream_port = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool tcp_stream_enable = 14;</code>
|
|
*/
|
|
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 <code>bool enable_network = 1;</code>
|
|
* @return bool
|
|
*/
|
|
public function getEnableNetwork()
|
|
{
|
|
return $this->enable_network;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool enable_network = 1;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setEnableNetwork($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->enable_network = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 port = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getPort()
|
|
{
|
|
return $this->port;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 port = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setPort($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->port = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string network_name = 3;</code>
|
|
* @return string
|
|
*/
|
|
public function getNetworkName()
|
|
{
|
|
return $this->network_name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string network_name = 3;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setNetworkName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->network_name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool remote_enable = 4;</code>
|
|
* @return bool
|
|
*/
|
|
public function getRemoteEnable()
|
|
{
|
|
return $this->remote_enable;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool remote_enable = 4;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setRemoteEnable($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->remote_enable = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool remote_control_enable = 5;</code>
|
|
* @return bool
|
|
*/
|
|
public function getRemoteControlEnable()
|
|
{
|
|
return $this->remote_control_enable;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool remote_control_enable = 5;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setRemoteControlEnable($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->remote_control_enable = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string remote_control_password = 6;</code>
|
|
* @return string
|
|
*/
|
|
public function getRemoteControlPassword()
|
|
{
|
|
return $this->remote_control_password;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string remote_control_password = 6;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setRemoteControlPassword($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->remote_control_password = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool remote_observe_enable = 7;</code>
|
|
* @return bool
|
|
*/
|
|
public function getRemoteObserveEnable()
|
|
{
|
|
return $this->remote_observe_enable;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool remote_observe_enable = 7;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setRemoteObserveEnable($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->remote_observe_enable = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string remote_observe_password = 8;</code>
|
|
* @return string
|
|
*/
|
|
public function getRemoteObservePassword()
|
|
{
|
|
return $this->remote_observe_password;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string remote_observe_password = 8;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setRemoteObservePassword($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->remote_observe_password = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool stage_enable = 9;</code>
|
|
* @return bool
|
|
*/
|
|
public function getStageEnable()
|
|
{
|
|
return $this->stage_enable;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool stage_enable = 9;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setStageEnable($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->stage_enable = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string stage_password = 10;</code>
|
|
* @return string
|
|
*/
|
|
public function getStagePassword()
|
|
{
|
|
return $this->stage_password;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string stage_password = 10;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setStagePassword($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->stage_password = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool link_enable = 11;</code>
|
|
* @return bool
|
|
*/
|
|
public function getLinkEnable()
|
|
{
|
|
return $this->link_enable;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool link_enable = 11;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setLinkEnable($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->link_enable = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string web_resource_root = 12;</code>
|
|
* @return string
|
|
*/
|
|
public function getWebResourceRoot()
|
|
{
|
|
return $this->web_resource_root;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string web_resource_root = 12;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setWebResourceRoot($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->web_resource_root = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 tcp_stream_port = 13;</code>
|
|
* @return int
|
|
*/
|
|
public function getTcpStreamPort()
|
|
{
|
|
return $this->tcp_stream_port;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>uint32 tcp_stream_port = 13;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setTcpStreamPort($var)
|
|
{
|
|
GPBUtil::checkUint32($var);
|
|
$this->tcp_stream_port = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool tcp_stream_enable = 14;</code>
|
|
* @return bool
|
|
*/
|
|
public function getTcpStreamEnable()
|
|
{
|
|
return $this->tcp_stream_enable;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool tcp_stream_enable = 14;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setTcpStreamEnable($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->tcp_stream_enable = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|