Interface NamespacesOrBuilder (0.39.0)

public interface NamespacesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNamespaces(int index)

public abstract String getNamespaces(int index)

Optional. A list of Kubernetes Namespaces

repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The namespaces at the given index.

getNamespacesBytes(int index)

public abstract ByteString getNamespacesBytes(int index)

Optional. A list of Kubernetes Namespaces

repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the namespaces at the given index.

getNamespacesCount()

public abstract int getNamespacesCount()

Optional. A list of Kubernetes Namespaces

repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of namespaces.

getNamespacesList()

public abstract List<String> getNamespacesList()

Optional. A list of Kubernetes Namespaces

repeated string namespaces = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the namespaces.