com.google.pubsub.v1.PullResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-google-cloud-pubsub-v1 Show documentation
Show all versions of grpc-google-cloud-pubsub-v1 Show documentation
GRPC library for grpc-google-cloud-pubsub-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
package com.google.pubsub.v1;
public interface PullResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.PullResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Received Pub/Sub messages. The Pub/Sub system will return zero messages if
* there are no more available in the backlog. 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;
*/
java.util.List
getReceivedMessagesList();
/**
*
* Received Pub/Sub messages. The Pub/Sub system will return zero messages if
* there are no more available in the backlog. 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;
*/
com.google.pubsub.v1.ReceivedMessage getReceivedMessages(int index);
/**
*
* Received Pub/Sub messages. The Pub/Sub system will return zero messages if
* there are no more available in the backlog. 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;
*/
int getReceivedMessagesCount();
/**
*
* Received Pub/Sub messages. The Pub/Sub system will return zero messages if
* there are no more available in the backlog. 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;
*/
java.util.List extends com.google.pubsub.v1.ReceivedMessageOrBuilder>
getReceivedMessagesOrBuilderList();
/**
*
* Received Pub/Sub messages. The Pub/Sub system will return zero messages if
* there are no more available in the backlog. 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;
*/
com.google.pubsub.v1.ReceivedMessageOrBuilder getReceivedMessagesOrBuilder(
int index);
}