public static final class ListNodePoolsResponse.Builder extends GeneratedMessageV3.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
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
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
Returns
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
Returns
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
Returns
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
Returns
addNodePoolsBuilder()
public NodePool.Builder addNodePoolsBuilder()
A list of node pools for a cluster.
repeated .google.container.v1beta1.NodePool node_pools = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNodePoolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListNodePoolsResponse build()
Returns
buildPartial()
public ListNodePoolsResponse buildPartial()
Returns
clear()
public ListNodePoolsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListNodePoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNodePools()
public ListNodePoolsResponse.Builder clearNodePools()
A list of node pools for a cluster.
repeated .google.container.v1beta1.NodePool node_pools = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListNodePoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListNodePoolsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListNodePoolsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getNodePoolsBuilderList()
public List<NodePool.Builder> getNodePoolsBuilderList()
A list of node pools for a cluster.
repeated .google.container.v1beta1.NodePool node_pools = 1;
Returns
getNodePoolsCount()
public int getNodePoolsCount()
A list of node pools for a cluster.
repeated .google.container.v1beta1.NodePool node_pools = 1;
Returns
getNodePoolsList()
public List<NodePool> getNodePoolsList()
A list of node pools for a cluster.
repeated .google.container.v1beta1.NodePool node_pools = 1;
Returns
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
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListNodePoolsResponse other)
public ListNodePoolsResponse.Builder mergeFrom(ListNodePoolsResponse other)
Parameter
Returns
public ListNodePoolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListNodePoolsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNodePoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListNodePoolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListNodePoolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNodePoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides