palm.lily.v1.TeXLiveTask
*/
class TeXLiveTask extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field bytes entry = 1;
*/
protected $entry = '';
/**
* Generated from protobuf field map attachments = 3;
*/
private $attachments;
/**
* Generated from protobuf field .palm.lily.v1.TeXLiveTask.Output output = 9;
*/
protected $output = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $entry
* @type array|\Google\Protobuf\Internal\MapField $attachments
* @type \Palm\Lily\V1\TeXLiveTask\Output $output
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Lily::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field bytes entry = 1;
* @return string
*/
public function getEntry()
{
return $this->entry;
}
/**
* Generated from protobuf field bytes entry = 1;
* @param string $var
* @return $this
*/
public function setEntry($var)
{
GPBUtil::checkString($var, False);
$this->entry = $var;
return $this;
}
/**
* Generated from protobuf field map attachments = 3;
* @return \Google\Protobuf\Internal\MapField
*/
public function getAttachments()
{
return $this->attachments;
}
/**
* Generated from protobuf field map attachments = 3;
* @param array|\Google\Protobuf\Internal\MapField $var
* @return $this
*/
public function setAttachments($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::BYTES);
$this->attachments = $arr;
return $this;
}
/**
* Generated from protobuf field .palm.lily.v1.TeXLiveTask.Output output = 9;
* @return \Palm\Lily\V1\TeXLiveTask\Output|null
*/
public function getOutput()
{
return $this->output;
}
public function hasOutput()
{
return isset($this->output);
}
public function clearOutput()
{
unset($this->output);
}
/**
* Generated from protobuf field .palm.lily.v1.TeXLiveTask.Output output = 9;
* @param \Palm\Lily\V1\TeXLiveTask\Output $var
* @return $this
*/
public function setOutput($var)
{
GPBUtil::checkMessage($var, \Palm\Lily\V1\TeXLiveTask\Output::class);
$this->output = $var;
return $this;
}
}