Class ListAwsClustersResponse.Builder (0.52.0)

public static final class ListAwsClustersResponse.Builder extends GeneratedMessageV3.Builder<ListAwsClustersResponse.Builder> implements ListAwsClustersResponseOrBuilder

Response message for AwsClusters.ListAwsClusters method.

Protobuf type google.cloud.gkemulticloud.v1.ListAwsClustersResponse

Static Methods

getDescriptor()

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

Methods

addAllAwsClusters(Iterable<? extends AwsCluster> values)

public ListAwsClustersResponse.Builder addAllAwsClusters(Iterable<? extends AwsCluster> values)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

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

addAwsClusters(AwsCluster value)

public ListAwsClustersResponse.Builder addAwsClusters(AwsCluster value)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameter
Name Description
value AwsCluster
Returns
Type Description
ListAwsClustersResponse.Builder

addAwsClusters(AwsCluster.Builder builderForValue)

public ListAwsClustersResponse.Builder addAwsClusters(AwsCluster.Builder builderForValue)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameter
Name Description
builderForValue AwsCluster.Builder
Returns
Type Description
ListAwsClustersResponse.Builder

addAwsClusters(int index, AwsCluster value)

public ListAwsClustersResponse.Builder addAwsClusters(int index, AwsCluster value)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameters
Name Description
index int
value AwsCluster
Returns
Type Description
ListAwsClustersResponse.Builder

addAwsClusters(int index, AwsCluster.Builder builderForValue)

public ListAwsClustersResponse.Builder addAwsClusters(int index, AwsCluster.Builder builderForValue)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameters
Name Description
index int
builderForValue AwsCluster.Builder
Returns
Type Description
ListAwsClustersResponse.Builder

addAwsClustersBuilder()

public AwsCluster.Builder addAwsClustersBuilder()

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Returns
Type Description
AwsCluster.Builder

addAwsClustersBuilder(int index)

public AwsCluster.Builder addAwsClustersBuilder(int index)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsCluster.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAwsClustersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAwsClustersResponse.Builder
Overrides

build()

public ListAwsClustersResponse build()
Returns
Type Description
ListAwsClustersResponse

buildPartial()

public ListAwsClustersResponse buildPartial()
Returns
Type Description
ListAwsClustersResponse

clear()

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

clearAwsClusters()

public ListAwsClustersResponse.Builder clearAwsClusters()

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Returns
Type Description
ListAwsClustersResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAwsClustersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListAwsClustersResponse.Builder
Overrides

clearNextPageToken()

public ListAwsClustersResponse.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
ListAwsClustersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAwsClustersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListAwsClustersResponse.Builder
Overrides

clone()

public ListAwsClustersResponse.Builder clone()
Returns
Type Description
ListAwsClustersResponse.Builder
Overrides

getAwsClusters(int index)

public AwsCluster getAwsClusters(int index)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsCluster

getAwsClustersBuilder(int index)

public AwsCluster.Builder getAwsClustersBuilder(int index)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsCluster.Builder

getAwsClustersBuilderList()

public List<AwsCluster.Builder> getAwsClustersBuilderList()

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Returns
Type Description
List<Builder>

getAwsClustersCount()

public int getAwsClustersCount()

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Returns
Type Description
int

getAwsClustersList()

public List<AwsCluster> getAwsClustersList()

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Returns
Type Description
List<AwsCluster>

getAwsClustersOrBuilder(int index)

public AwsClusterOrBuilder getAwsClustersOrBuilder(int index)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsClusterOrBuilder

getAwsClustersOrBuilderList()

public List<? extends AwsClusterOrBuilder> getAwsClustersOrBuilderList()

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

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

getDefaultInstanceForType()

public ListAwsClustersResponse getDefaultInstanceForType()
Returns
Type Description
ListAwsClustersResponse

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAwsClustersResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAwsClustersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAwsClustersResponse.Builder
Overrides

removeAwsClusters(int index)

public ListAwsClustersResponse.Builder removeAwsClusters(int index)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAwsClustersResponse.Builder

setAwsClusters(int index, AwsCluster value)

public ListAwsClustersResponse.Builder setAwsClusters(int index, AwsCluster value)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameters
Name Description
index int
value AwsCluster
Returns
Type Description
ListAwsClustersResponse.Builder

setAwsClusters(int index, AwsCluster.Builder builderForValue)

public ListAwsClustersResponse.Builder setAwsClusters(int index, AwsCluster.Builder builderForValue)

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

repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;

Parameters
Name Description
index int
builderForValue AwsCluster.Builder
Returns
Type Description
ListAwsClustersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAwsClustersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAwsClustersResponse.Builder
Overrides

setNextPageToken(String value)

public ListAwsClustersResponse.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
ListAwsClustersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAwsClustersResponse.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
ListAwsClustersResponse.Builder

This builder for chaining.

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

public ListAwsClustersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAwsClustersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAwsClustersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAwsClustersResponse.Builder
Overrides