attempts = $attempts; } /** * @return RetryAttempt[] */ public function getAttempts() { return $this->attempts; } /** * @param string */ public function setBackoffMode($backoffMode) { $this->backoffMode = $backoffMode; } /** * @return string */ public function getBackoffMode() { return $this->backoffMode; } /** * @param string */ public function setTotalAttempts($totalAttempts) { $this->totalAttempts = $totalAttempts; } /** * @return string */ public function getTotalAttempts() { return $this->totalAttempts; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RetryPhase::class, 'Google_Service_CloudDeploy_RetryPhase');