rv.data.ProLink.HandlerIn.LogRequest
*/
class LogRequest extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.ProLink.HandlerIn.LogRequest.Severity severity = 1;
*/
protected $severity = 0;
/**
* Generated from protobuf field string message = 2;
*/
protected $message = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $severity
* @type string $message
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApi::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.data.ProLink.HandlerIn.LogRequest.Severity severity = 1;
* @return int
*/
public function getSeverity()
{
return $this->severity;
}
/**
* Generated from protobuf field .rv.data.ProLink.HandlerIn.LogRequest.Severity severity = 1;
* @param int $var
* @return $this
*/
public function setSeverity($var)
{
GPBUtil::checkEnum($var, \Rv\Data\ProLink\HandlerIn\LogRequest\Severity::class);
$this->severity = $var;
return $this;
}
/**
* Generated from protobuf field string message = 2;
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* Generated from protobuf field string message = 2;
* @param string $var
* @return $this
*/
public function setMessage($var)
{
GPBUtil::checkString($var, True);
$this->message = $var;
return $this;
}
}