Interface ListNamespacesResponseOrBuilder (2.42.0)

public interface ListNamespacesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNamespaces(int index)

public abstract Namespace getNamespaces(int index)

The list of namespaces.

repeated .google.cloud.servicedirectory.v1.Namespace namespaces = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Namespace

getNamespacesCount()

public abstract int getNamespacesCount()

The list of namespaces.

repeated .google.cloud.servicedirectory.v1.Namespace namespaces = 1;

Returns
TypeDescription
int

getNamespacesList()

public abstract List<Namespace> getNamespacesList()

The list of namespaces.

repeated .google.cloud.servicedirectory.v1.Namespace namespaces = 1;

Returns
TypeDescription
List<Namespace>

getNamespacesOrBuilder(int index)

public abstract NamespaceOrBuilder getNamespacesOrBuilder(int index)

The list of namespaces.

repeated .google.cloud.servicedirectory.v1.Namespace namespaces = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NamespaceOrBuilder

getNamespacesOrBuilderList()

public abstract List<? extends NamespaceOrBuilder> getNamespacesOrBuilderList()

The list of namespaces.

repeated .google.cloud.servicedirectory.v1.Namespace namespaces = 1;

Returns
TypeDescription
List<? extends com.google.cloud.servicedirectory.v1.NamespaceOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.