proto.api.EditPackageReq
*/
class EditPackageReq extends \Google\Protobuf\Internal\Message
{
/**
* 套餐数据
*
* Generated from protobuf field .proto.api.CityPackageEnt data = 1;
*/
protected $data = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Proto\Api\CityPackageEnt $data
* 套餐数据
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Api\CityPackage::initOnce();
parent::__construct($data);
}
/**
* 套餐数据
*
* Generated from protobuf field .proto.api.CityPackageEnt data = 1;
* @return \Proto\Api\CityPackageEnt|null
*/
public function getData()
{
return $this->data;
}
public function hasData()
{
return isset($this->data);
}
public function clearData()
{
unset($this->data);
}
/**
* 套餐数据
*
* Generated from protobuf field .proto.api.CityPackageEnt data = 1;
* @param \Proto\Api\CityPackageEnt $var
* @return $this
*/
public function setData($var)
{
GPBUtil::checkMessage($var, \Proto\Api\CityPackageEnt::class);
$this->data = $var;
return $this;
}
}