Interface ListSubscriptionsResponseOrBuilder (1.122.2)

public interface ListSubscriptionsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListSubscriptionsRequest to get more subscriptions.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListSubscriptionsRequest to get more subscriptions.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getSubscriptions(int index)

public abstract Subscription getSubscriptions(int index)

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Subscription

getSubscriptionsCount()

public abstract int getSubscriptionsCount()

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Returns
TypeDescription
int

getSubscriptionsList()

public abstract List<Subscription> getSubscriptionsList()

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Returns
TypeDescription
List<Subscription>

getSubscriptionsOrBuilder(int index)

public abstract SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SubscriptionOrBuilder

getSubscriptionsOrBuilderList()

public abstract List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Returns
TypeDescription
List<? extends com.google.pubsub.v1.SubscriptionOrBuilder>