All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.pubsub.model.ModifyAckDeadlineRequest.html Maven / Gradle / Ivy

There is a newer version: v1-rev20240730-2.0.0
Show newest version






ModifyAckDeadlineRequest (Cloud Pub/Sub API v1-rev20240918-2.0.0)












com.google.api.services.pubsub.model

Class ModifyAckDeadlineRequest

    • Constructor Detail

      • ModifyAckDeadlineRequest

        public ModifyAckDeadlineRequest()
    • Method Detail

      • getAckDeadlineSeconds

        public Integer getAckDeadlineSeconds()
        Required. The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero might immediately make the message available for delivery to another subscriber client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify in a single request is 600 seconds (10 minutes).
        Returns:
        value or null for none
      • setAckDeadlineSeconds

        public ModifyAckDeadlineRequest setAckDeadlineSeconds(Integer ackDeadlineSeconds)
        Required. The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero might immediately make the message available for delivery to another subscriber client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify in a single request is 600 seconds (10 minutes).
        Parameters:
        ackDeadlineSeconds - ackDeadlineSeconds or null for none
      • getAckIds

        public List<String> getAckIds()
        Required. List of acknowledgment IDs.
        Returns:
        value or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy