<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: lily.proto

namespace Palm\Lily\V1\ExcelModel\Sheet;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>palm.lily.v1.ExcelModel.Sheet.Cell</code>
 */
class Cell extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint32 row = 1;</code>
     */
    protected $row = 0;
    /**
     * Generated from protobuf field <code>uint32 col = 2;</code>
     */
    protected $col = 0;
    /**
     * Generated from protobuf field <code>string val = 3;</code>
     */
    protected $val = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $row
     *     @type int $col
     *     @type string $val
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Lily::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>uint32 row = 1;</code>
     * @return int
     */
    public function getRow()
    {
        return $this->row;
    }

    /**
     * Generated from protobuf field <code>uint32 row = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setRow($var)
    {
        GPBUtil::checkUint32($var);
        $this->row = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint32 col = 2;</code>
     * @return int
     */
    public function getCol()
    {
        return $this->col;
    }

    /**
     * Generated from protobuf field <code>uint32 col = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setCol($var)
    {
        GPBUtil::checkUint32($var);
        $this->col = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string val = 3;</code>
     * @return string
     */
    public function getVal()
    {
        return $this->val;
    }

    /**
     * Generated from protobuf field <code>string val = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setVal($var)
    {
        GPBUtil::checkString($var, True);
        $this->val = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Cell::class, \Palm\Lily\V1\ExcelModel_Sheet_Cell::class);

