Class ListAwsClustersResponse.Builder (0.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AwsCluster>
Returns
TypeDescription
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
NameDescription
valueAwsCluster
Returns
TypeDescription
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
NameDescription
builderForValueAwsCluster.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAwsCluster
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAwsCluster.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AwsCluster.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAwsClustersResponse build()
Returns
TypeDescription
ListAwsClustersResponse

buildPartial()

public ListAwsClustersResponse buildPartial()
Returns
TypeDescription
ListAwsClustersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListAwsClustersResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>

getDefaultInstanceForType()

public ListAwsClustersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAwsClustersResponse

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(ListAwsClustersResponse other)

public ListAwsClustersResponse.Builder mergeFrom(ListAwsClustersResponse other)
Parameter
NameDescription
otherListAwsClustersResponse
Returns
TypeDescription
ListAwsClustersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAwsClustersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAwsCluster
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAwsCluster.Builder
Returns
TypeDescription
ListAwsClustersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAwsClustersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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