Interface ListTopicSubscriptionsResponseOrBuilder (1.122.2)

public interface ListTopicSubscriptionsResponseOrBuilder 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 ListTopicSubscriptionsRequest 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 ListTopicSubscriptionsRequest to get more subscriptions.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getSubscriptions(int index)

public abstract String getSubscriptions(int index)

The names of subscriptions attached to the topic specified in the request.

repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The subscriptions at the given index.

getSubscriptionsBytes(int index)

public abstract ByteString getSubscriptionsBytes(int index)

The names of subscriptions attached to the topic specified in the request.

repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the subscriptions at the given index.

getSubscriptionsCount()

public abstract int getSubscriptionsCount()

The names of subscriptions attached to the topic specified in the request.

repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of subscriptions.

getSubscriptionsList()

public abstract List<String> getSubscriptionsList()

The names of subscriptions attached to the topic specified in the request.

repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
List<String>

A list containing the subscriptions.