mint.tulip.v1.BookListResponse.Item */ class Item extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field int32 book = 1; */ protected $book = 0; /** * Generated from protobuf field int32 count = 2; */ protected $count = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $book * @type int $count * } */ public function __construct($data = NULL) { \GPBMetadata\Tulip::initOnce(); parent::__construct($data); } /** * Generated from protobuf field int32 book = 1; * @return int */ public function getBook() { return $this->book; } /** * Generated from protobuf field int32 book = 1; * @param int $var * @return $this */ public function setBook($var) { GPBUtil::checkInt32($var); $this->book = $var; return $this; } /** * Generated from protobuf field int32 count = 2; * @return int */ public function getCount() { return $this->count; } /** * Generated from protobuf field int32 count = 2; * @param int $var * @return $this */ public function setCount($var) { GPBUtil::checkInt32($var); $this->count = $var; return $this; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Item::class, \Mint\Tulip\V1\BookListResponse_Item::class);