Interface ListTopicSubscriptionsResponseOrBuilder (1.134.2)

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
Type Description
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
Type Description
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
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)

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
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()

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

A list containing the subscriptions.