Interface ListClustersResponseOrBuilder (4.11.0)

public interface ListClustersResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusters(int index)

public abstract Cluster getClusters(int index)

Output only. The clusters in the project.

repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Cluster

getClustersCount()

public abstract int getClustersCount()

Output only. The clusters in the project.

repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getClustersList()

public abstract List<Cluster> getClustersList()

Output only. The clusters in the project.

repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Cluster>

getClustersOrBuilder(int index)

public abstract ClusterOrBuilder getClustersOrBuilder(int index)

Output only. The clusters in the project.

repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
ClusterOrBuilder

getClustersOrBuilderList()

public abstract List<? extends ClusterOrBuilder> getClustersOrBuilderList()

Output only. The clusters in the project.

repeated .google.cloud.dataproc.v1.Cluster clusters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.dataproc.v1.ClusterOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for nextPageToken.