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

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

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






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












com.google.api.services.pubsub.model

Class PullResponse

    • Constructor Detail

      • PullResponse

        public PullResponse()
    • Method Detail

      • getReceivedMessages

        public List<ReceivedMessage> getReceivedMessages()
        Optional. Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog, or if no messages could be returned before the request timeout. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.
        Returns:
        value or null for none
      • setReceivedMessages

        public PullResponse setReceivedMessages(List<ReceivedMessage> receivedMessages)
        Optional. Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog, or if no messages could be returned before the request timeout. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.
        Parameters:
        receivedMessages - receivedMessages or null for none
      • set

        public PullResponse set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public PullResponse clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy