attempt = $attempt; } /** * @return string */ public function getAttempt() { return $this->attempt; } /** * Output only. Valid state of this retry action. * * Accepted values: REPAIR_STATE_UNSPECIFIED, REPAIR_STATE_SUCCEEDED, * REPAIR_STATE_CANCELLED, REPAIR_STATE_FAILED, REPAIR_STATE_IN_PROGRESS, * REPAIR_STATE_PENDING, REPAIR_STATE_ABORTED * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * Output only. Description of the state of the Retry. * * @param string $stateDesc */ public function setStateDesc($stateDesc) { $this->stateDesc = $stateDesc; } /** * @return string */ public function getStateDesc() { return $this->stateDesc; } /** * Output only. How long the operation will be paused. * * @param string $wait */ public function setWait($wait) { $this->wait = $wait; } /** * @return string */ public function getWait() { return $this->wait; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RetryAttempt::class, 'Google_Service_CloudDeploy_RetryAttempt');