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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListNodePoolsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListNodePoolsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListNodePoolsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse.Builder mergeFrom(ListNodePoolsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public ListNodePoolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListNodePoolsResponse.Builder>
java.io.IOException
public java.util.List<NodePool> getNodePoolsList()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
getNodePoolsList
in interface ListNodePoolsResponseOrBuilder
public int getNodePoolsCount()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
getNodePoolsCount
in interface ListNodePoolsResponseOrBuilder
public NodePool getNodePools(int index)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
getNodePools
in interface ListNodePoolsResponseOrBuilder
public ListNodePoolsResponse.Builder setNodePools(int index, NodePool value)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
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;
public ListNodePoolsResponse.Builder addNodePools(NodePool value)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
public ListNodePoolsResponse.Builder addNodePools(int index, NodePool value)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
public ListNodePoolsResponse.Builder addNodePools(NodePool.Builder builderForValue)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
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;
public ListNodePoolsResponse.Builder addAllNodePools(java.lang.Iterable<? extends NodePool> values)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
public ListNodePoolsResponse.Builder clearNodePools()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
public ListNodePoolsResponse.Builder removeNodePools(int index)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
public NodePool.Builder getNodePoolsBuilder(int index)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
public NodePoolOrBuilder getNodePoolsOrBuilder(int index)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
getNodePoolsOrBuilder
in interface ListNodePoolsResponseOrBuilder
public java.util.List<? extends NodePoolOrBuilder> getNodePoolsOrBuilderList()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
getNodePoolsOrBuilderList
in interface ListNodePoolsResponseOrBuilder
public NodePool.Builder addNodePoolsBuilder()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
public NodePool.Builder addNodePoolsBuilder(int index)
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
public java.util.List<NodePool.Builder> getNodePoolsBuilderList()
A list of node pools for a cluster.
repeated .google.container.v1.NodePool node_pools = 1;
public final ListNodePoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>
public final ListNodePoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder>