Interface ListClustersResponseOrBuilder (2.45.0)

public interface ListClustersResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusters(int index)

public abstract Cluster getClusters(int index)

A list of clusters in the project in the specified zone, or across all ones.

repeated .google.container.v1.Cluster clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
Cluster

getClustersCount()

public abstract int getClustersCount()

A list of clusters in the project in the specified zone, or across all ones.

repeated .google.container.v1.Cluster clusters = 1;

Returns
Type Description
int

getClustersList()

public abstract List<Cluster> getClustersList()

A list of clusters in the project in the specified zone, or across all ones.

repeated .google.container.v1.Cluster clusters = 1;

Returns
Type Description
List<Cluster>

getClustersOrBuilder(int index)

public abstract ClusterOrBuilder getClustersOrBuilder(int index)

A list of clusters in the project in the specified zone, or across all ones.

repeated .google.container.v1.Cluster clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
ClusterOrBuilder

getClustersOrBuilderList()

public abstract List<? extends ClusterOrBuilder> getClustersOrBuilderList()

A list of clusters in the project in the specified zone, or across all ones.

repeated .google.container.v1.Cluster clusters = 1;

Returns
Type Description
List<? extends com.google.container.v1.ClusterOrBuilder>

getMissingZones(int index)

public abstract String getMissingZones(int index)

If any zones are listed here, the list of clusters returned may be missing those zones.

repeated string missing_zones = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The missingZones at the given index.

getMissingZonesBytes(int index)

public abstract ByteString getMissingZonesBytes(int index)

If any zones are listed here, the list of clusters returned may be missing those zones.

repeated string missing_zones = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the missingZones at the given index.

getMissingZonesCount()

public abstract int getMissingZonesCount()

If any zones are listed here, the list of clusters returned may be missing those zones.

repeated string missing_zones = 2;

Returns
Type Description
int

The count of missingZones.

getMissingZonesList()

public abstract List<String> getMissingZonesList()

If any zones are listed here, the list of clusters returned may be missing those zones.

repeated string missing_zones = 2;

Returns
Type Description
List<String>

A list containing the missingZones.