Interface ListTopicsResponseOrBuilder (1.130.0)

public interface ListTopicsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

Optional. If not empty, indicates that there may be more topics that match the request; this value should be passed in a new ListTopicsRequest.

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 topics that match the request; this value should be passed in a new ListTopicsRequest.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTopics(int index)

public abstract Topic getTopics(int index)

Optional. The resulting topics.

repeated .google.pubsub.v1.Topic topics = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Topic

getTopicsCount()

public abstract int getTopicsCount()

Optional. The resulting topics.

repeated .google.pubsub.v1.Topic topics = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTopicsList()

public abstract List<Topic> getTopicsList()

Optional. The resulting topics.

repeated .google.pubsub.v1.Topic topics = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Topic>

getTopicsOrBuilder(int index)

public abstract TopicOrBuilder getTopicsOrBuilder(int index)

Optional. The resulting topics.

repeated .google.pubsub.v1.Topic topics = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TopicOrBuilder

getTopicsOrBuilderList()

public abstract List<? extends TopicOrBuilder> getTopicsOrBuilderList()

Optional. The resulting topics.

repeated .google.pubsub.v1.Topic topics = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.pubsub.v1.TopicOrBuilder>