Interface ListSubscriptionsResponseOrBuilder (1.126.6)

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.pubsub.v1.SubscriptionOrBuilder>