Class ListNodePoolsResponse (2.48.0)

public final class ListNodePoolsResponse extends GeneratedMessageV3 implements ListNodePoolsResponseOrBuilder

ListNodePoolsResponse is the result of ListNodePoolsRequest.

Protobuf type google.container.v1.ListNodePoolsResponse

Static Fields

NODE_POOLS_FIELD_NUMBER

public static final int NODE_POOLS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListNodePoolsResponse getDefaultInstance()
Returns
Type Description
ListNodePoolsResponse

getDescriptor()

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

newBuilder()

public static ListNodePoolsResponse.Builder newBuilder()
Returns
Type Description
ListNodePoolsResponse.Builder

newBuilder(ListNodePoolsResponse prototype)

public static ListNodePoolsResponse.Builder newBuilder(ListNodePoolsResponse prototype)
Parameter
Name Description
prototype ListNodePoolsResponse
Returns
Type Description
ListNodePoolsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListNodePoolsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListNodePoolsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListNodePoolsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListNodePoolsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListNodePoolsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListNodePoolsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListNodePoolsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListNodePoolsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListNodePoolsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListNodePoolsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListNodePoolsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListNodePoolsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNodePoolsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListNodePoolsResponse> parser()
Returns
Type Description
Parser<ListNodePoolsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListNodePoolsResponse getDefaultInstanceForType()
Returns
Type Description
ListNodePoolsResponse

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
Returns
Type Description
NodePool

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;

Returns
Type Description
List<NodePool>

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
Returns
Type Description
NodePoolOrBuilder

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>

getParserForType()

public Parser<ListNodePoolsResponse> getParserForType()
Returns
Type Description
Parser<ListNodePoolsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListNodePoolsResponse.Builder newBuilderForType()
Returns
Type Description
ListNodePoolsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListNodePoolsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListNodePoolsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListNodePoolsResponse.Builder toBuilder()
Returns
Type Description
ListNodePoolsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException