cancelReason = $cancelReason; } /** * @return string */ public function getCancelReason() { return $this->cancelReason; } /** * @param EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats[] $eventAttemptStats */ public function setEventAttemptStats($eventAttemptStats) { $this->eventAttemptStats = $eventAttemptStats; } /** * @return EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats[] */ public function getEventAttemptStats() { return $this->eventAttemptStats; } /** * @param EnterpriseCrmEventbusProtoEventExecutionSnapshot[] $eventExecutionSnapshot */ public function setEventExecutionSnapshot($eventExecutionSnapshot) { $this->eventExecutionSnapshot = $eventExecutionSnapshot; } /** * @return EnterpriseCrmEventbusProtoEventExecutionSnapshot[] */ public function getEventExecutionSnapshot() { return $this->eventExecutionSnapshot; } /** * Total size of all event_execution_snapshots for an execution * * @param string $eventExecutionSnapshotsSize */ public function setEventExecutionSnapshotsSize($eventExecutionSnapshotsSize) { $this->eventExecutionSnapshotsSize = $eventExecutionSnapshotsSize; } /** * @return string */ public function getEventExecutionSnapshotsSize() { return $this->eventExecutionSnapshotsSize; } /** * @param self::EVENT_EXECUTION_STATE_* $eventExecutionState */ public function setEventExecutionState($eventExecutionState) { $this->eventExecutionState = $eventExecutionState; } /** * @return self::EVENT_EXECUTION_STATE_* */ public function getEventExecutionState() { return $this->eventExecutionState; } /** * Indicates the number of times the execution has restarted from the * beginning. * * @param int $eventRetriesFromBeginningCount */ public function setEventRetriesFromBeginningCount($eventRetriesFromBeginningCount) { $this->eventRetriesFromBeginningCount = $eventRetriesFromBeginningCount; } /** * @return int */ public function getEventRetriesFromBeginningCount() { return $this->eventRetriesFromBeginningCount; } /** * The log file path (aka. cns address) for this event. * * @param string $logFilePath */ public function setLogFilePath($logFilePath) { $this->logFilePath = $logFilePath; } /** * @return string */ public function getLogFilePath() { return $this->logFilePath; } /** * The network address (aka. bns address) that indicates where the event * executor is running. * * @param string $networkAddress */ public function setNetworkAddress($networkAddress) { $this->networkAddress = $networkAddress; } /** * @return string */ public function getNetworkAddress() { return $this->networkAddress; } /** * Next scheduled execution time in case the execution status was * RETRY_ON_HOLD. * * @param string $nextExecutionTime */ public function setNextExecutionTime($nextExecutionTime) { $this->nextExecutionTime = $nextExecutionTime; } /** * @return string */ public function getNextExecutionTime() { return $this->nextExecutionTime; } /** * Used internally and shouldn't be exposed to users. A counter for the cron * job to record how many times this event is in in_process state but don't * have a lock consecutively/ * * @param int $ryeLockUnheldCount */ public function setRyeLockUnheldCount($ryeLockUnheldCount) { $this->ryeLockUnheldCount = $ryeLockUnheldCount; } /** * @return int */ public function getRyeLockUnheldCount() { return $this->ryeLockUnheldCount; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EnterpriseCrmEventbusProtoEventExecutionDetails::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoEventExecutionDetails');