Interface NamespacesOrBuilder (0.53.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the namespaces.