palm.lily.v1.ExcelModel.Sheet */ class Sheet extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string name = 1; */ protected $name = ''; /** * Generated from protobuf field repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2; */ private $cells; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * @type array<\Palm\Lily\V1\ExcelModel\Sheet\Cell>|\Google\Protobuf\Internal\RepeatedField $cells * } */ public function __construct($data = NULL) { \GPBMetadata\Lily::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string name = 1; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 1; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2; * @return \Google\Protobuf\Internal\RepeatedField */ public function getCells() { return $this->cells; } /** * Generated from protobuf field repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2; * @param array<\Palm\Lily\V1\ExcelModel\Sheet\Cell>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setCells($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Palm\Lily\V1\ExcelModel\Sheet\Cell::class); $this->cells = $arr; return $this; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Sheet::class, \Palm\Lily\V1\ExcelModel_Sheet::class);