Interface ListTopicSubscriptionsResponseOrBuilder (1.127.3)

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

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

repeated string subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL, (.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)

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

repeated string subscriptions = 1 [(.google.api.field_behavior) = OPTIONAL, (.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()

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

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

Returns
TypeDescription
int

The count of subscriptions.

getSubscriptionsList()

public abstract List<String> getSubscriptionsList()

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

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

Returns
TypeDescription
List<String>

A list containing the subscriptions.