rv.data.Cue.PendingImportsEntry
*/
class PendingImportsEntry extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string key = 1;
*/
protected $key = '';
/**
* Generated from protobuf field .rv.data.URLs value = 2;
*/
protected $value = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $key
* @type \Rv\Data\URLs $value
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Cue::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string key = 1;
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* Generated from protobuf field string key = 1;
* @param string $var
* @return $this
*/
public function setKey($var)
{
GPBUtil::checkString($var, True);
$this->key = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.URLs value = 2;
* @return \Rv\Data\URLs|null
*/
public function getValue()
{
return $this->value;
}
public function hasValue()
{
return isset($this->value);
}
public function clearValue()
{
unset($this->value);
}
/**
* Generated from protobuf field .rv.data.URLs value = 2;
* @param \Rv\Data\URLs $var
* @return $this
*/
public function setValue($var)
{
GPBUtil::checkMessage($var, \Rv\Data\URLs::class);
$this->value = $var;
return $this;
}
}