107 lines
2.9 KiB
PHP
107 lines
2.9 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;
|
|
|
|
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</code>
|
|
*/
|
|
class Remotes extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Network.Remotes.ProRemote pro_remote = 1;</code>
|
|
*/
|
|
protected $pro_remote = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Network.Remotes.StageApp stage_app = 2;</code>
|
|
*/
|
|
protected $stage_app = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\Preferences\Network\Remotes\ProRemote $pro_remote
|
|
* @type \Rv\Data\Preferences\Network\Remotes\StageApp $stage_app
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Preferences::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Network.Remotes.ProRemote pro_remote = 1;</code>
|
|
* @return \Rv\Data\Preferences\Network\Remotes\ProRemote|null
|
|
*/
|
|
public function getProRemote()
|
|
{
|
|
return $this->pro_remote;
|
|
}
|
|
|
|
public function hasProRemote()
|
|
{
|
|
return isset($this->pro_remote);
|
|
}
|
|
|
|
public function clearProRemote()
|
|
{
|
|
unset($this->pro_remote);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Network.Remotes.ProRemote pro_remote = 1;</code>
|
|
* @param \Rv\Data\Preferences\Network\Remotes\ProRemote $var
|
|
* @return $this
|
|
*/
|
|
public function setProRemote($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Preferences\Network\Remotes\ProRemote::class);
|
|
$this->pro_remote = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Network.Remotes.StageApp stage_app = 2;</code>
|
|
* @return \Rv\Data\Preferences\Network\Remotes\StageApp|null
|
|
*/
|
|
public function getStageApp()
|
|
{
|
|
return $this->stage_app;
|
|
}
|
|
|
|
public function hasStageApp()
|
|
{
|
|
return isset($this->stage_app);
|
|
}
|
|
|
|
public function clearStageApp()
|
|
{
|
|
unset($this->stage_app);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Preferences.Network.Remotes.StageApp stage_app = 2;</code>
|
|
* @param \Rv\Data\Preferences\Network\Remotes\StageApp $var
|
|
* @return $this
|
|
*/
|
|
public function setStageApp($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Preferences\Network\Remotes\StageApp::class);
|
|
$this->stage_app = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|