propresenter-php/php/generated/Rv/Data/NetworkAPI/ServerState.php
2026-03-01 16:12:17 +01:00

114 lines
2.5 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApi.proto
namespace Rv\Data\NetworkAPI;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.NetworkAPI.ServerState</code>
*/
class ServerState extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>string local_ip = 1;</code>
*/
protected $local_ip = '';
/**
* Generated from protobuf field <code>string public_ip = 2;</code>
*/
protected $public_ip = '';
/**
* Generated from protobuf field <code>int32 port = 3;</code>
*/
protected $port = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $local_ip
* @type string $public_ip
* @type int $port
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApi::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>string local_ip = 1;</code>
* @return string
*/
public function getLocalIp()
{
return $this->local_ip;
}
/**
* Generated from protobuf field <code>string local_ip = 1;</code>
* @param string $var
* @return $this
*/
public function setLocalIp($var)
{
GPBUtil::checkString($var, True);
$this->local_ip = $var;
return $this;
}
/**
* Generated from protobuf field <code>string public_ip = 2;</code>
* @return string
*/
public function getPublicIp()
{
return $this->public_ip;
}
/**
* Generated from protobuf field <code>string public_ip = 2;</code>
* @param string $var
* @return $this
*/
public function setPublicIp($var)
{
GPBUtil::checkString($var, True);
$this->public_ip = $var;
return $this;
}
/**
* Generated from protobuf field <code>int32 port = 3;</code>
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* Generated from protobuf field <code>int32 port = 3;</code>
* @param int $var
* @return $this
*/
public function setPort($var)
{
GPBUtil::checkInt32($var);
$this->port = $var;
return $this;
}
}