Interface ListSubscribersResponseOrBuilder (3.16.0)

public interface ListSubscribersResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 3;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 3;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getServiceAccounts(int index)

public abstract String getServiceAccounts(int index)

List of service accounts which have subscriber access to the topic.

repeated string service_accounts = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The serviceAccounts at the given index.

getServiceAccountsBytes(int index)

public abstract ByteString getServiceAccountsBytes(int index)

List of service accounts which have subscriber access to the topic.

repeated string service_accounts = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the serviceAccounts at the given index.

getServiceAccountsCount()

public abstract int getServiceAccountsCount()

List of service accounts which have subscriber access to the topic.

repeated string service_accounts = 2;

Returns
TypeDescription
int

The count of serviceAccounts.

getServiceAccountsList()

public abstract List<String> getServiceAccountsList()

List of service accounts which have subscriber access to the topic.

repeated string service_accounts = 2;

Returns
TypeDescription
List<String>

A list containing the serviceAccounts.

getTopic()

public abstract String getTopic()

Name of the topic registered with the reseller.

string topic = 1;

Returns
TypeDescription
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

Name of the topic registered with the reseller.

string topic = 1;

Returns
TypeDescription
ByteString

The bytes for topic.