Interface ListSubscriptionsResponseOrBuilder (1.134.2)

public interface ListSubscriptionsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSubscriptions(int index)

public abstract Subscription getSubscriptions(int index)

Optional. The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Subscription

getSubscriptionsCount()

public abstract int getSubscriptionsCount()

Optional. The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSubscriptionsList()

public abstract List<Subscription> getSubscriptionsList()

Optional. The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Subscription>

getSubscriptionsOrBuilder(int index)

public abstract SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)

Optional. The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SubscriptionOrBuilder

getSubscriptionsOrBuilderList()

public abstract List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()

Optional. The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL];

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