Package com.google.pubsub.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReceivedMessage
getReceivedMessages(int index)
Received Pub/Sub messages.int
getReceivedMessagesCount()
Received Pub/Sub messages.List<ReceivedMessage>
getReceivedMessagesList()
Received Pub/Sub messages.ReceivedMessageOrBuilder
getReceivedMessagesOrBuilder(int index)
Received Pub/Sub messages.List<? extends ReceivedMessageOrBuilder>
getReceivedMessagesOrBuilderList()
Received Pub/Sub messages.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
-