proto.api.OpenAreaReq */ class OpenAreaReq extends \Google\Protobuf\Internal\Message { /** * 开通的地区 * * Generated from protobuf field repeated .proto.api.OpenAreaReq.OpenItem list = 1; */ private $list; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type array<\Proto\Api\OpenAreaReq\OpenItem>|\Google\Protobuf\Internal\RepeatedField $list * 开通的地区 * } */ public function __construct($data = NULL) { \GPBMetadata\Api\CityPackage::initOnce(); parent::__construct($data); } /** * 开通的地区 * * Generated from protobuf field repeated .proto.api.OpenAreaReq.OpenItem list = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getList() { return $this->list; } /** * 开通的地区 * * Generated from protobuf field repeated .proto.api.OpenAreaReq.OpenItem list = 1; * @param array<\Proto\Api\OpenAreaReq\OpenItem>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setList($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Proto\Api\OpenAreaReq\OpenItem::class); $this->list = $arr; return $this; } }