Class ListAttachedClustersResponse.Builder (0.84.0)

public static final class ListAttachedClustersResponse.Builder extends GeneratedMessage.Builder<ListAttachedClustersResponse.Builder> implements ListAttachedClustersResponseOrBuilder

Response message for AttachedClusters.ListAttachedClusters method.

Protobuf type google.cloud.gkemulticloud.v1.ListAttachedClustersResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAttachedClusters(Iterable<? extends AttachedCluster> values)

public ListAttachedClustersResponse.Builder addAllAttachedClusters(Iterable<? extends AttachedCluster> values)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.AttachedCluster>
Returns
Type Description
ListAttachedClustersResponse.Builder

addAttachedClusters(AttachedCluster value)

public ListAttachedClustersResponse.Builder addAttachedClusters(AttachedCluster value)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
Name Description
value AttachedCluster
Returns
Type Description
ListAttachedClustersResponse.Builder

addAttachedClusters(AttachedCluster.Builder builderForValue)

public ListAttachedClustersResponse.Builder addAttachedClusters(AttachedCluster.Builder builderForValue)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
Name Description
builderForValue AttachedCluster.Builder
Returns
Type Description
ListAttachedClustersResponse.Builder

addAttachedClusters(int index, AttachedCluster value)

public ListAttachedClustersResponse.Builder addAttachedClusters(int index, AttachedCluster value)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameters
Name Description
index int
value AttachedCluster
Returns
Type Description
ListAttachedClustersResponse.Builder

addAttachedClusters(int index, AttachedCluster.Builder builderForValue)

public ListAttachedClustersResponse.Builder addAttachedClusters(int index, AttachedCluster.Builder builderForValue)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameters
Name Description
index int
builderForValue AttachedCluster.Builder
Returns
Type Description
ListAttachedClustersResponse.Builder

addAttachedClustersBuilder()

public AttachedCluster.Builder addAttachedClustersBuilder()

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Returns
Type Description
AttachedCluster.Builder

addAttachedClustersBuilder(int index)

public AttachedCluster.Builder addAttachedClustersBuilder(int index)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
AttachedCluster.Builder

build()

public ListAttachedClustersResponse build()
Returns
Type Description
ListAttachedClustersResponse

buildPartial()

public ListAttachedClustersResponse buildPartial()
Returns
Type Description
ListAttachedClustersResponse

clear()

public ListAttachedClustersResponse.Builder clear()
Returns
Type Description
ListAttachedClustersResponse.Builder
Overrides

clearAttachedClusters()

public ListAttachedClustersResponse.Builder clearAttachedClusters()

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Returns
Type Description
ListAttachedClustersResponse.Builder

clearNextPageToken()

public ListAttachedClustersResponse.Builder clearNextPageToken()

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
Type Description
ListAttachedClustersResponse.Builder

This builder for chaining.

getAttachedClusters(int index)

public AttachedCluster getAttachedClusters(int index)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
AttachedCluster

getAttachedClustersBuilder(int index)

public AttachedCluster.Builder getAttachedClustersBuilder(int index)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
AttachedCluster.Builder

getAttachedClustersBuilderList()

public List<AttachedCluster.Builder> getAttachedClustersBuilderList()

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Returns
Type Description
List<Builder>

getAttachedClustersCount()

public int getAttachedClustersCount()

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Returns
Type Description
int

getAttachedClustersList()

public List<AttachedCluster> getAttachedClustersList()

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Returns
Type Description
List<AttachedCluster>

getAttachedClustersOrBuilder(int index)

public AttachedClusterOrBuilder getAttachedClustersOrBuilder(int index)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterOrBuilder

getAttachedClustersOrBuilderList()

public List<? extends AttachedClusterOrBuilder> getAttachedClustersOrBuilderList()

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>

getDefaultInstanceForType()

public ListAttachedClustersResponse getDefaultInstanceForType()
Returns
Type Description
ListAttachedClustersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public 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
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public 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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAttachedClustersResponse other)

public ListAttachedClustersResponse.Builder mergeFrom(ListAttachedClustersResponse other)
Parameter
Name Description
other ListAttachedClustersResponse
Returns
Type Description
ListAttachedClustersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAttachedClustersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAttachedClustersResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListAttachedClustersResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListAttachedClustersResponse.Builder
Overrides

removeAttachedClusters(int index)

public ListAttachedClustersResponse.Builder removeAttachedClusters(int index)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAttachedClustersResponse.Builder

setAttachedClusters(int index, AttachedCluster value)

public ListAttachedClustersResponse.Builder setAttachedClusters(int index, AttachedCluster value)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameters
Name Description
index int
value AttachedCluster
Returns
Type Description
ListAttachedClustersResponse.Builder

setAttachedClusters(int index, AttachedCluster.Builder builderForValue)

public ListAttachedClustersResponse.Builder setAttachedClusters(int index, AttachedCluster.Builder builderForValue)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameters
Name Description
index int
builderForValue AttachedCluster.Builder
Returns
Type Description
ListAttachedClustersResponse.Builder

setNextPageToken(String value)

public ListAttachedClustersResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAttachedClustersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAttachedClustersResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAttachedClustersResponse.Builder

This builder for chaining.