proto.api.DetailPackageMicroSoftRes */ class DetailPackageMicroSoftRes extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .proto.api.CityPackageOrderEnt data = 1; */ protected $data = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Proto\Api\CityPackageOrderEnt $data * } */ public function __construct($data = NULL) { \GPBMetadata\Api\CityPackageMicroSoft::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .proto.api.CityPackageOrderEnt data = 1; * @return \Proto\Api\CityPackageOrderEnt|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.CityPackageOrderEnt data = 1; * @param \Proto\Api\CityPackageOrderEnt $var * @return $this */ public function setData($var) { GPBUtil::checkMessage($var, \Proto\Api\CityPackageOrderEnt::class); $this->data = $var; return $this; } }