deployment = $deployment; } /** * @return Deployment */ public function getDeployment() { return $this->deployment; } /** * @param string */ public function setDuration($duration) { $this->duration = $duration; } /** * @return string */ public function getDuration() { return $this->duration; } /** * @param string[] */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setProfileBytes($profileBytes) { $this->profileBytes = $profileBytes; } /** * @return string */ public function getProfileBytes() { return $this->profileBytes; } /** * @param string */ public function setProfileType($profileType) { $this->profileType = $profileType; } /** * @return string */ public function getProfileType() { return $this->profileType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Profile::class, 'Google_Service_CloudProfiler_Profile');