Interface PullResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PullResponse, PullResponse.Builder

public interface PullResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getReceivedMessagesList

      List<ReceivedMessage> getReceivedMessagesList()
       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.
       
      repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getReceivedMessages

      ReceivedMessage getReceivedMessages(int index)
       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.
       
      repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getReceivedMessagesCount

      int getReceivedMessagesCount()
       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.
       
      repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getReceivedMessagesOrBuilderList

      List<? extends ReceivedMessageOrBuilder> getReceivedMessagesOrBuilderList()
       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.
       
      repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getReceivedMessagesOrBuilder

      ReceivedMessageOrBuilder getReceivedMessagesOrBuilder(int index)
       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.
       
      repeated .google.pubsub.v1.ReceivedMessage received_messages = 1 [(.google.api.field_behavior) = OPTIONAL];