| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: tulip.proto
- namespace Mint\Tulip\V1;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * Generated from protobuf message <code>mint.tulip.v1.UpdateRequest</code>
- */
- class UpdateRequest extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>int32 book = 1;</code>
- */
- protected $book = 0;
- /**
- * Generated from protobuf field <code>int32 paragraph = 2;</code>
- */
- protected $paragraph = 0;
- /**
- * Generated from protobuf field <code>int32 level = 3;</code>
- */
- protected $level = 0;
- /**
- * Generated from protobuf field <code>string bold1 = 4;</code>
- */
- protected $bold1 = '';
- /**
- * Generated from protobuf field <code>string bold2 = 5;</code>
- */
- protected $bold2 = '';
- /**
- * Generated from protobuf field <code>string bold3 = 6;</code>
- */
- protected $bold3 = '';
- /**
- * Generated from protobuf field <code>string content = 7;</code>
- */
- protected $content = '';
- /**
- * Generated from protobuf field <code>int32 pcd_book_id = 8;</code>
- */
- protected $pcd_book_id = 0;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $book
- * @type int $paragraph
- * @type int $level
- * @type string $bold1
- * @type string $bold2
- * @type string $bold3
- * @type string $content
- * @type int $pcd_book_id
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Tulip::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>int32 book = 1;</code>
- * @return int
- */
- public function getBook()
- {
- return $this->book;
- }
- /**
- * Generated from protobuf field <code>int32 book = 1;</code>
- * @param int $var
- * @return $this
- */
- public function setBook($var)
- {
- GPBUtil::checkInt32($var);
- $this->book = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>int32 paragraph = 2;</code>
- * @return int
- */
- public function getParagraph()
- {
- return $this->paragraph;
- }
- /**
- * Generated from protobuf field <code>int32 paragraph = 2;</code>
- * @param int $var
- * @return $this
- */
- public function setParagraph($var)
- {
- GPBUtil::checkInt32($var);
- $this->paragraph = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>int32 level = 3;</code>
- * @return int
- */
- public function getLevel()
- {
- return $this->level;
- }
- /**
- * Generated from protobuf field <code>int32 level = 3;</code>
- * @param int $var
- * @return $this
- */
- public function setLevel($var)
- {
- GPBUtil::checkInt32($var);
- $this->level = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>string bold1 = 4;</code>
- * @return string
- */
- public function getBold1()
- {
- return $this->bold1;
- }
- /**
- * Generated from protobuf field <code>string bold1 = 4;</code>
- * @param string $var
- * @return $this
- */
- public function setBold1($var)
- {
- GPBUtil::checkString($var, True);
- $this->bold1 = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>string bold2 = 5;</code>
- * @return string
- */
- public function getBold2()
- {
- return $this->bold2;
- }
- /**
- * Generated from protobuf field <code>string bold2 = 5;</code>
- * @param string $var
- * @return $this
- */
- public function setBold2($var)
- {
- GPBUtil::checkString($var, True);
- $this->bold2 = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>string bold3 = 6;</code>
- * @return string
- */
- public function getBold3()
- {
- return $this->bold3;
- }
- /**
- * Generated from protobuf field <code>string bold3 = 6;</code>
- * @param string $var
- * @return $this
- */
- public function setBold3($var)
- {
- GPBUtil::checkString($var, True);
- $this->bold3 = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>string content = 7;</code>
- * @return string
- */
- public function getContent()
- {
- return $this->content;
- }
- /**
- * Generated from protobuf field <code>string content = 7;</code>
- * @param string $var
- * @return $this
- */
- public function setContent($var)
- {
- GPBUtil::checkString($var, True);
- $this->content = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>int32 pcd_book_id = 8;</code>
- * @return int
- */
- public function getPcdBookId()
- {
- return $this->pcd_book_id;
- }
- /**
- * Generated from protobuf field <code>int32 pcd_book_id = 8;</code>
- * @param int $var
- * @return $this
- */
- public function setPcdBookId($var)
- {
- GPBUtil::checkInt32($var);
- $this->pcd_book_id = $var;
- return $this;
- }
- }
|