Interface ListTopicSubscriptionsResponseOrBuilder (1.10.0)

public interface ListTopicSubscriptionsResponseOrBuilder 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 String getSubscriptions(int index)

The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.

repeated string subscriptions = 1;

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. The order of the subscriptions is unspecified.

repeated string subscriptions = 1;

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. The order of the subscriptions is unspecified.

repeated string subscriptions = 1;

Returns
TypeDescription
int

The count of subscriptions.

getSubscriptionsList()

public abstract List<String> getSubscriptionsList()

The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.

repeated string subscriptions = 1;

Returns
TypeDescription
List<String>

A list containing the subscriptions.