Send feedback
Class ListNodePoolsResponse.Builder (2.39.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.39.0 keyboard_arrow_down
public static final class ListNodePoolsResponse . Builder extends GeneratedMessageV3 . Builder<ListNodePoolsResponse . Builder > implements ListNodePoolsResponseOrBuilder
ListNodePoolsResponse is the result of ListNodePoolsRequest.
Protobuf type google.container.v1.ListNodePoolsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
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.v1.NodePool node_pools = 1;
Parameter Name Description values
Iterable <? extends com.google.container.v1.NodePool >
addNodePools(NodePool value)
public ListNodePoolsResponse . Builder addNodePools ( NodePool value )
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
addNodePools(NodePool.Builder builderForValue)
public ListNodePoolsResponse . Builder addNodePools ( NodePool . Builder builderForValue )
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
addNodePools(int index, NodePool value)
public ListNodePoolsResponse . Builder addNodePools ( int index , NodePool value )
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
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.v1.NodePool node_pools = 1;
addNodePoolsBuilder()
public NodePool . Builder addNodePoolsBuilder ()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
addNodePoolsBuilder(int index)
public NodePool . Builder addNodePoolsBuilder ( int index )
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
Parameter Name Description index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNodePoolsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ListNodePoolsResponse build ()
buildPartial()
public ListNodePoolsResponse buildPartial ()
clear()
public ListNodePoolsResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListNodePoolsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNodePools()
public ListNodePoolsResponse . Builder clearNodePools ()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListNodePoolsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ListNodePoolsResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListNodePoolsResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getNodePools(int index)
public NodePool getNodePools ( int index )
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
Parameter Name Description index
int
getNodePoolsBuilder(int index)
public NodePool . Builder getNodePoolsBuilder ( int index )
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
Parameter Name Description index
int
getNodePoolsBuilderList()
public List<NodePool . Builder > getNodePoolsBuilderList ()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
getNodePoolsCount()
public int getNodePoolsCount ()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
Returns Type Description int
getNodePoolsList()
public List<NodePool> getNodePoolsList ()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
getNodePoolsOrBuilder(int index)
public NodePoolOrBuilder getNodePoolsOrBuilder ( int index )
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
Parameter Name Description index
int
getNodePoolsOrBuilderList()
public List <? extends NodePoolOrBuilder > getNodePoolsOrBuilderList ()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
Returns Type Description List <? extends com.google.container.v1.NodePoolOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListNodePoolsResponse other)
public ListNodePoolsResponse . Builder mergeFrom ( ListNodePoolsResponse other )
public ListNodePoolsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListNodePoolsResponse . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNodePoolsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeNodePools(int index)
public ListNodePoolsResponse . Builder removeNodePools ( int index )
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
Parameter Name Description index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ListNodePoolsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.v1.NodePool node_pools = 1;
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.v1.NodePool node_pools = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListNodePoolsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNodePoolsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]