propresenter-php/php/generated/Rv/Data/ProLink/HandlerIn/LogRequest.php
2026-03-01 16:12:17 +01:00

87 lines
2.1 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApi.proto
namespace Rv\Data\ProLink\HandlerIn;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.ProLink.HandlerIn.LogRequest</code>
*/
class LogRequest extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.LogRequest.Severity severity = 1;</code>
*/
protected $severity = 0;
/**
* Generated from protobuf field <code>string message = 2;</code>
*/
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 <code>.rv.data.ProLink.HandlerIn.LogRequest.Severity severity = 1;</code>
* @return int
*/
public function getSeverity()
{
return $this->severity;
}
/**
* Generated from protobuf field <code>.rv.data.ProLink.HandlerIn.LogRequest.Severity severity = 1;</code>
* @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 <code>string message = 2;</code>
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* Generated from protobuf field <code>string message = 2;</code>
* @param string $var
* @return $this
*/
public function setMessage($var)
{
GPBUtil::checkString($var, True);
$this->message = $var;
return $this;
}
}