Ydb.Table.KeepAliveResult */ class KeepAliveResult extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; */ protected $session_status = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $session_status * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbTable::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @return int */ public function getSessionStatus() { return $this->session_status; } /** * Generated from protobuf field .Ydb.Table.KeepAliveResult.SessionStatus session_status = 1; * @param int $var * @return $this */ public function setSessionStatus($var) { GPBUtil::checkEnum($var, \Ydb\Table\KeepAliveResult\SessionStatus::class); $this->session_status = $var; return $this; } }