ackDeadlineSeconds = $ackDeadlineSeconds; } /** * @return int */ public function getAckDeadlineSeconds() { return $this->ackDeadlineSeconds; } /** * @param DeadLetterPolicy */ public function setDeadLetterPolicy(DeadLetterPolicy $deadLetterPolicy) { $this->deadLetterPolicy = $deadLetterPolicy; } /** * @return DeadLetterPolicy */ public function getDeadLetterPolicy() { return $this->deadLetterPolicy; } /** * @param bool */ public function setDetached($detached) { $this->detached = $detached; } /** * @return bool */ public function getDetached() { return $this->detached; } /** * @param bool */ public function setEnableExactlyOnceDelivery($enableExactlyOnceDelivery) { $this->enableExactlyOnceDelivery = $enableExactlyOnceDelivery; } /** * @return bool */ public function getEnableExactlyOnceDelivery() { return $this->enableExactlyOnceDelivery; } /** * @param bool */ public function setEnableMessageOrdering($enableMessageOrdering) { $this->enableMessageOrdering = $enableMessageOrdering; } /** * @return bool */ public function getEnableMessageOrdering() { return $this->enableMessageOrdering; } /** * @param ExpirationPolicy */ public function setExpirationPolicy(ExpirationPolicy $expirationPolicy) { $this->expirationPolicy = $expirationPolicy; } /** * @return ExpirationPolicy */ public function getExpirationPolicy() { return $this->expirationPolicy; } /** * @param string */ public function setFilter($filter) { $this->filter = $filter; } /** * @return string */ public function getFilter() { return $this->filter; } /** * @param string[] */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string */ public function setMessageRetentionDuration($messageRetentionDuration) { $this->messageRetentionDuration = $messageRetentionDuration; } /** * @return string */ public function getMessageRetentionDuration() { return $this->messageRetentionDuration; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param PushConfig */ public function setPushConfig(PushConfig $pushConfig) { $this->pushConfig = $pushConfig; } /** * @return PushConfig */ public function getPushConfig() { return $this->pushConfig; } /** * @param bool */ public function setRetainAckedMessages($retainAckedMessages) { $this->retainAckedMessages = $retainAckedMessages; } /** * @return bool */ public function getRetainAckedMessages() { return $this->retainAckedMessages; } /** * @param RetryPolicy */ public function setRetryPolicy(RetryPolicy $retryPolicy) { $this->retryPolicy = $retryPolicy; } /** * @return RetryPolicy */ public function getRetryPolicy() { return $this->retryPolicy; } /** * @param string */ public function setState($state) { $this->state = $state; } /** * @return string */ public function getState() { return $this->state; } /** * @param string */ public function setTopic($topic) { $this->topic = $topic; } /** * @return string */ public function getTopic() { return $this->topic; } /** * @param string */ public function setTopicMessageRetentionDuration($topicMessageRetentionDuration) { $this->topicMessageRetentionDuration = $topicMessageRetentionDuration; } /** * @return string */ public function getTopicMessageRetentionDuration() { return $this->topicMessageRetentionDuration; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Subscription::class, 'Google_Service_Pubsub_Subscription');