123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # NO CHECKED-IN PROTOBUF GENCODE
- # source: api/EntCityPackage.proto
- namespace Proto\Api;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * 套餐开通的地区
- *
- * Generated from protobuf message <code>proto.api.PackageAreaEnt</code>
- */
- class PackageAreaEnt extends \Google\Protobuf\Internal\Message
- {
- /**
- * 基本区县信息
- *
- * Generated from protobuf field <code>.proto.api.AreaEnt area_info = 1;</code>
- */
- protected $area_info = null;
- /**
- * 开通状态
- *
- * Generated from protobuf field <code>.proto.api.YES_NO open_status = 2;</code>
- */
- protected $open_status = 0;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type \Proto\Api\AreaEnt $area_info
- * 基本区县信息
- * @type int $open_status
- * 开通状态
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Api\EntCityPackage::initOnce();
- parent::__construct($data);
- }
- /**
- * 基本区县信息
- *
- * Generated from protobuf field <code>.proto.api.AreaEnt area_info = 1;</code>
- * @return \Proto\Api\AreaEnt|null
- */
- public function getAreaInfo()
- {
- return $this->area_info;
- }
- public function hasAreaInfo()
- {
- return isset($this->area_info);
- }
- public function clearAreaInfo()
- {
- unset($this->area_info);
- }
- /**
- * 基本区县信息
- *
- * Generated from protobuf field <code>.proto.api.AreaEnt area_info = 1;</code>
- * @param \Proto\Api\AreaEnt $var
- * @return $this
- */
- public function setAreaInfo($var)
- {
- GPBUtil::checkMessage($var, \Proto\Api\AreaEnt::class);
- $this->area_info = $var;
- return $this;
- }
- /**
- * 开通状态
- *
- * Generated from protobuf field <code>.proto.api.YES_NO open_status = 2;</code>
- * @return int
- */
- public function getOpenStatus()
- {
- return $this->open_status;
- }
- /**
- * 开通状态
- *
- * Generated from protobuf field <code>.proto.api.YES_NO open_status = 2;</code>
- * @param int $var
- * @return $this
- */
- public function setOpenStatus($var)
- {
- GPBUtil::checkEnum($var, \Proto\Api\YES_NO::class);
- $this->open_status = $var;
- return $this;
- }
- }
|