Interface ListTopicSubscriptionsResponseOrBuilder (1.14.2)

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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the subscriptions.