proto.api.AllAreaLevelListRes
*/
class AllAreaLevelListRes extends \Google\Protobuf\Internal\Message
{
/**
* 省列表
*
* Generated from protobuf field .proto.api.AreaLevelEnt list = 1;
*/
protected $list = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Proto\Api\AreaLevelEnt $list
* 省列表
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Api\CityPackage::initOnce();
parent::__construct($data);
}
/**
* 省列表
*
* Generated from protobuf field .proto.api.AreaLevelEnt list = 1;
* @return \Proto\Api\AreaLevelEnt|null
*/
public function getList()
{
return $this->list;
}
public function hasList()
{
return isset($this->list);
}
public function clearList()
{
unset($this->list);
}
/**
* 省列表
*
* Generated from protobuf field .proto.api.AreaLevelEnt list = 1;
* @param \Proto\Api\AreaLevelEnt $var
* @return $this
*/
public function setList($var)
{
GPBUtil::checkMessage($var, \Proto\Api\AreaLevelEnt::class);
$this->list = $var;
return $this;
}
}