Interface ListSubscriptionsResponseOrBuilder (1.12.22)

public interface ListSubscriptionsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getSubscriptions(int index)

public abstract Subscription getSubscriptions(int index)

The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.

repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Subscription

getSubscriptionsCount()

public abstract int getSubscriptionsCount()

The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.

repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;

Returns
TypeDescription
int

getSubscriptionsList()

public abstract List<Subscription> getSubscriptionsList()

The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.

repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;

Returns
TypeDescription
List<Subscription>

getSubscriptionsOrBuilder(int index)

public abstract SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)

The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.

repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SubscriptionOrBuilder

getSubscriptionsOrBuilderList()

public abstract List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()

The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.

repeated .google.cloud.pubsublite.v1.Subscription subscriptions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.pubsublite.proto.SubscriptionOrBuilder>