class ListTopicsResponse extends Message

Response for the ListTopics method.

Protobuf type Google\Pubsub\V1\ListTopicsResponse

Methods

__construct()

No description

RepeatedField
getTopics()

The resulting topics.

setTopics(array|RepeatedField $var)

The resulting topics.

string
getNextPageToken()

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

setNextPageToken(string $var)

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

Details

at line 32
__construct()

at line 43
RepeatedField getTopics()

The resulting topics.

Generated from protobuf field repeated .google.pubsub.v1.Topic topics = 1;

Return Value

RepeatedField

at line 54
setTopics(array|RepeatedField $var)

The resulting topics.

Generated from protobuf field repeated .google.pubsub.v1.Topic topics = 1;

Parameters

array|RepeatedField $var

at line 67
string getNextPageToken()

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

Generated from protobuf field string next_page_token = 2;

Return Value

string

at line 79
setNextPageToken(string $var)

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

Generated from protobuf field string next_page_token = 2;

Parameters

string $var