Class ListAwsNodePoolsResponse.Builder (0.43.0)

public static final class ListAwsNodePoolsResponse.Builder extends GeneratedMessageV3.Builder<ListAwsNodePoolsResponse.Builder> implements ListAwsNodePoolsResponseOrBuilder

Response message for AwsClusters.ListAwsNodePools method.

Protobuf type google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse

Static Methods

getDescriptor()

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

Methods

addAllAwsNodePools(Iterable<? extends AwsNodePool> values)

public ListAwsNodePoolsResponse.Builder addAllAwsNodePools(Iterable<? extends AwsNodePool> values)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

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

addAwsNodePools(AwsNodePool value)

public ListAwsNodePoolsResponse.Builder addAwsNodePools(AwsNodePool value)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
Name Description
value AwsNodePool
Returns
Type Description
ListAwsNodePoolsResponse.Builder

addAwsNodePools(AwsNodePool.Builder builderForValue)

public ListAwsNodePoolsResponse.Builder addAwsNodePools(AwsNodePool.Builder builderForValue)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
Name Description
builderForValue AwsNodePool.Builder
Returns
Type Description
ListAwsNodePoolsResponse.Builder

addAwsNodePools(int index, AwsNodePool value)

public ListAwsNodePoolsResponse.Builder addAwsNodePools(int index, AwsNodePool value)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameters
Name Description
index int
value AwsNodePool
Returns
Type Description
ListAwsNodePoolsResponse.Builder

addAwsNodePools(int index, AwsNodePool.Builder builderForValue)

public ListAwsNodePoolsResponse.Builder addAwsNodePools(int index, AwsNodePool.Builder builderForValue)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameters
Name Description
index int
builderForValue AwsNodePool.Builder
Returns
Type Description
ListAwsNodePoolsResponse.Builder

addAwsNodePoolsBuilder()

public AwsNodePool.Builder addAwsNodePoolsBuilder()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
Type Description
AwsNodePool.Builder

addAwsNodePoolsBuilder(int index)

public AwsNodePool.Builder addAwsNodePoolsBuilder(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsNodePool.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAwsNodePoolsResponse build()
Returns
Type Description
ListAwsNodePoolsResponse

buildPartial()

public ListAwsNodePoolsResponse buildPartial()
Returns
Type Description
ListAwsNodePoolsResponse

clear()

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

clearAwsNodePools()

public ListAwsNodePoolsResponse.Builder clearAwsNodePools()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
Type Description
ListAwsNodePoolsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAwsNodePools(int index)

public AwsNodePool getAwsNodePools(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsNodePool

getAwsNodePoolsBuilder(int index)

public AwsNodePool.Builder getAwsNodePoolsBuilder(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsNodePool.Builder

getAwsNodePoolsBuilderList()

public List<AwsNodePool.Builder> getAwsNodePoolsBuilderList()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
Type Description
List<Builder>

getAwsNodePoolsCount()

public int getAwsNodePoolsCount()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
Type Description
int

getAwsNodePoolsList()

public List<AwsNodePool> getAwsNodePoolsList()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
Type Description
List<AwsNodePool>

getAwsNodePoolsOrBuilder(int index)

public AwsNodePoolOrBuilder getAwsNodePoolsOrBuilder(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
AwsNodePoolOrBuilder

getAwsNodePoolsOrBuilderList()

public List<? extends AwsNodePoolOrBuilder> getAwsNodePoolsOrBuilderList()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

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

getDefaultInstanceForType()

public ListAwsNodePoolsResponse getDefaultInstanceForType()
Returns
Type Description
ListAwsNodePoolsResponse

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAwsNodePools(int index)

public ListAwsNodePoolsResponse.Builder removeAwsNodePools(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAwsNodePoolsResponse.Builder

setAwsNodePools(int index, AwsNodePool value)

public ListAwsNodePoolsResponse.Builder setAwsNodePools(int index, AwsNodePool value)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameters
Name Description
index int
value AwsNodePool
Returns
Type Description
ListAwsNodePoolsResponse.Builder

setAwsNodePools(int index, AwsNodePool.Builder builderForValue)

public ListAwsNodePoolsResponse.Builder setAwsNodePools(int index, AwsNodePool.Builder builderForValue)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameters
Name Description
index int
builderForValue AwsNodePool.Builder
Returns
Type Description
ListAwsNodePoolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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