123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- <?php
- namespace Proto\Api;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- class AreaLevelEnt extends \Google\Protobuf\Internal\Message
- {
-
- protected $province_code = '';
-
- protected $province_name = '';
-
- protected $city_code = '';
-
- protected $city_name = '';
-
- protected $area_code = '';
-
- protected $area_name = '';
-
- protected $area_id = '';
-
- private $children;
-
- public function __construct($data = NULL) {
- \GPBMetadata\Api\EntArea::initOnce();
- parent::__construct($data);
- }
-
- public function getProvinceCode()
- {
- return $this->province_code;
- }
-
- public function setProvinceCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->province_code = $var;
- return $this;
- }
-
- public function getProvinceName()
- {
- return $this->province_name;
- }
-
- public function setProvinceName($var)
- {
- GPBUtil::checkString($var, True);
- $this->province_name = $var;
- return $this;
- }
-
- public function getCityCode()
- {
- return $this->city_code;
- }
-
- public function setCityCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->city_code = $var;
- return $this;
- }
-
- public function getCityName()
- {
- return $this->city_name;
- }
-
- public function setCityName($var)
- {
- GPBUtil::checkString($var, True);
- $this->city_name = $var;
- return $this;
- }
-
- public function getAreaCode()
- {
- return $this->area_code;
- }
-
- public function setAreaCode($var)
- {
- GPBUtil::checkString($var, True);
- $this->area_code = $var;
- return $this;
- }
-
- public function getAreaName()
- {
- return $this->area_name;
- }
-
- public function setAreaName($var)
- {
- GPBUtil::checkString($var, True);
- $this->area_name = $var;
- return $this;
- }
-
- public function getAreaId()
- {
- return $this->area_id;
- }
-
- public function setAreaId($var)
- {
- GPBUtil::checkString($var, True);
- $this->area_id = $var;
- return $this;
- }
-
- public function getChildren()
- {
- return $this->children;
- }
-
- public function setChildren($var)
- {
- $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Proto\Api\AreaLevelEnt::class);
- $this->children = $arr;
- return $this;
- }
- }
|