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 Detail

      • getReceivedMessagesList

        List<ReceivedMessage> getReceivedMessagesList()
         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;
      • getReceivedMessages

        ReceivedMessage getReceivedMessages​(int index)
         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;
      • getReceivedMessagesCount

        int getReceivedMessagesCount()
         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;
      • getReceivedMessagesOrBuilderList

        List<? extends ReceivedMessageOrBuilder> getReceivedMessagesOrBuilderList()
         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;
      • getReceivedMessagesOrBuilder

        ReceivedMessageOrBuilder getReceivedMessagesOrBuilder​(int index)
         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;