public interface PullResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getReceivedMessages(int index)
public abstract ReceivedMessage getReceivedMessages(int index)
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. 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;
Name | Description |
index | int |
Type | Description |
ReceivedMessage |
getReceivedMessagesCount()
public abstract int getReceivedMessagesCount()
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. 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;
Type | Description |
int |
getReceivedMessagesList()
public abstract List<ReceivedMessage> getReceivedMessagesList()
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. 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;
Type | Description |
List<ReceivedMessage> |
getReceivedMessagesOrBuilder(int index)
public abstract ReceivedMessageOrBuilder getReceivedMessagesOrBuilder(int index)
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. 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;
Name | Description |
index | int |
Type | Description |
ReceivedMessageOrBuilder |
getReceivedMessagesOrBuilderList()
public abstract List<? extends ReceivedMessageOrBuilder> getReceivedMessagesOrBuilderList()
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. 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;
Type | Description |
List<? extends com.google.pubsub.v1.ReceivedMessageOrBuilder> |