Class ListNodePoolsResponse.Builder (2.86.0)

public static final class ListNodePoolsResponse.Builder extends GeneratedMessage.Builder<ListNodePoolsResponse.Builder> implements ListNodePoolsResponseOrBuilder

ListNodePoolsResponse is the result of ListNodePoolsRequest.

Protobuf type google.container.v1beta1.ListNodePoolsResponse

Static Methods

getDescriptor()

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

Methods

addAllNodePools(Iterable<? extends NodePool> values)

public ListNodePoolsResponse.Builder addAllNodePools(Iterable<? extends NodePool> values)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameter
Name Description
values Iterable<? extends com.google.container.v1beta1.NodePool>
Returns
Type Description
ListNodePoolsResponse.Builder

addNodePools(NodePool value)

public ListNodePoolsResponse.Builder addNodePools(NodePool value)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameter
Name Description
value NodePool
Returns
Type Description
ListNodePoolsResponse.Builder

addNodePools(NodePool.Builder builderForValue)

public ListNodePoolsResponse.Builder addNodePools(NodePool.Builder builderForValue)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameter
Name Description
builderForValue NodePool.Builder
Returns
Type Description
ListNodePoolsResponse.Builder

addNodePools(int index, NodePool value)

public ListNodePoolsResponse.Builder addNodePools(int index, NodePool value)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameters
Name Description
index int
value NodePool
Returns
Type Description
ListNodePoolsResponse.Builder

addNodePools(int index, NodePool.Builder builderForValue)

public ListNodePoolsResponse.Builder addNodePools(int index, NodePool.Builder builderForValue)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameters
Name Description
index int
builderForValue NodePool.Builder
Returns
Type Description
ListNodePoolsResponse.Builder

addNodePoolsBuilder()

public NodePool.Builder addNodePoolsBuilder()

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Returns
Type Description
NodePool.Builder

addNodePoolsBuilder(int index)

public NodePool.Builder addNodePoolsBuilder(int index)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
NodePool.Builder

build()

public ListNodePoolsResponse build()
Returns
Type Description
ListNodePoolsResponse

buildPartial()

public ListNodePoolsResponse buildPartial()
Returns
Type Description
ListNodePoolsResponse

clear()

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

clearNodePools()

public ListNodePoolsResponse.Builder clearNodePools()

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Returns
Type Description
ListNodePoolsResponse.Builder

getDefaultInstanceForType()

public ListNodePoolsResponse getDefaultInstanceForType()
Returns
Type Description
ListNodePoolsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNodePools(int index)

public NodePool getNodePools(int index)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
NodePool

getNodePoolsBuilder(int index)

public NodePool.Builder getNodePoolsBuilder(int index)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
NodePool.Builder

getNodePoolsBuilderList()

public List<NodePool.Builder> getNodePoolsBuilderList()

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Returns
Type Description
List<Builder>

getNodePoolsCount()

public int getNodePoolsCount()

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Returns
Type Description
int

getNodePoolsList()

public List<NodePool> getNodePoolsList()

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Returns
Type Description
List<NodePool>

getNodePoolsOrBuilder(int index)

public NodePoolOrBuilder getNodePoolsOrBuilder(int index)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
NodePoolOrBuilder

getNodePoolsOrBuilderList()

public List<? extends NodePoolOrBuilder> getNodePoolsOrBuilderList()

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Returns
Type Description
List<? extends com.google.container.v1beta1.NodePoolOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNodePoolsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeNodePools(int index)

public ListNodePoolsResponse.Builder removeNodePools(int index)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
ListNodePoolsResponse.Builder

setNodePools(int index, NodePool value)

public ListNodePoolsResponse.Builder setNodePools(int index, NodePool value)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameters
Name Description
index int
value NodePool
Returns
Type Description
ListNodePoolsResponse.Builder

setNodePools(int index, NodePool.Builder builderForValue)

public ListNodePoolsResponse.Builder setNodePools(int index, NodePool.Builder builderForValue)

A list of node pools for a cluster.

repeated .google.container.v1beta1.NodePool node_pools = 1;

Parameters
Name Description
index int
builderForValue NodePool.Builder
Returns
Type Description
ListNodePoolsResponse.Builder