Class ListAttachedClustersResponse.Builder (0.34.0)

public static final class ListAttachedClustersResponse.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AttachedCluster>
Returns
TypeDescription
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
NameDescription
valueAttachedCluster
Returns
TypeDescription
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
NameDescription
builderForValueAttachedCluster.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAttachedCluster
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttachedCluster.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AttachedCluster.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAttachedClustersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAttachedClustersResponse.Builder
Overrides

build()

public ListAttachedClustersResponse build()
Returns
TypeDescription
ListAttachedClustersResponse

buildPartial()

public ListAttachedClustersResponse buildPartial()
Returns
TypeDescription
ListAttachedClustersResponse

clear()

public ListAttachedClustersResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListAttachedClustersResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAttachedClustersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListAttachedClustersResponse.Builder
Overrides

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
TypeDescription
ListAttachedClustersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAttachedClustersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListAttachedClustersResponse.Builder
Overrides

clone()

public ListAttachedClustersResponse.Builder clone()
Returns
TypeDescription
ListAttachedClustersResponse.Builder
Overrides

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>

getDefaultInstanceForType()

public ListAttachedClustersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAttachedClustersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAttachedClustersResponse other)

public ListAttachedClustersResponse.Builder mergeFrom(ListAttachedClustersResponse other)
Parameter
NameDescription
otherListAttachedClustersResponse
Returns
TypeDescription
ListAttachedClustersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAttachedClustersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAttachedClustersResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListAttachedClustersResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListAttachedClustersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAttachedClustersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAttachedCluster
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttachedCluster.Builder
Returns
TypeDescription
ListAttachedClustersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAttachedClustersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAttachedClustersResponse.Builder
Overrides

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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListAttachedClustersResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListAttachedClustersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAttachedClustersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAttachedClustersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAttachedClustersResponse.Builder
Overrides