currentIterationCount = $currentIterationCount; } /** * @return string */ public function getCurrentIterationCount() { return $this->currentIterationCount; } /** * Needs to be set by the loop impl class before each iteration. The abstract * loop class will append the request and response to it. Eg. The foreach Loop * will clean up and set it as the current iteration element at the start of * each loop. The post request and response will be appended to the value once * they are available. * * @param string $currentIterationDetail */ public function setCurrentIterationDetail($currentIterationDetail) { $this->currentIterationDetail = $currentIterationDetail; } /** * @return string */ public function getCurrentIterationDetail() { return $this->currentIterationDetail; } /** * Add the error message when loops fail. * * @param string $errorMsg */ public function setErrorMsg($errorMsg) { $this->errorMsg = $errorMsg; } /** * @return string */ public function getErrorMsg() { return $this->errorMsg; } /** * Indicates where in the loop logic did it error out. * * Accepted values: UNKNOWN, SUBWORKFLOW, PARAM_OVERRIDING, PARAM_AGGREGATING, * SETTING_ITERATION_ELEMENT, GETTING_LIST_TO_ITERATE, CONDITION_EVALUATION, * BUILDING_REQUEST * * @param self::FAILURE_LOCATION_* $failureLocation */ public function setFailureLocation($failureLocation) { $this->failureLocation = $failureLocation; } /** * @return self::FAILURE_LOCATION_* */ public function getFailureLocation() { return $this->failureLocation; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EnterpriseCrmEventbusProtoLoopMetadata::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoLoopMetadata');