Class ListAttachedClustersResponse.Builder (0.10.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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

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

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

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

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

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAttachedClustersResponse build()
Returns

buildPartial()

public ListAttachedClustersResponse buildPartial()
Returns

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListAttachedClustersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns 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 Overrides

clone()

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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListAttachedClustersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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