Interface ListTopicsResponseOrBuilder (1.126.5)

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Topic

getTopicsCount()

public abstract int getTopicsCount()

Optional. The resulting topics.

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

Returns
TypeDescription
int

getTopicsList()

public abstract List<Topic> getTopicsList()

Optional. The resulting topics.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.pubsub.v1.TopicOrBuilder>