Class Kubernetes.NodePool (2.38.0)

public static final class Kubernetes.NodePool extends GeneratedMessageV3 implements Kubernetes.NodePoolOrBuilder

Provides GKE node pool information.

Protobuf type google.cloud.securitycenter.v1.Kubernetes.NodePool

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NODES_FIELD_NUMBER

public static final int NODES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Kubernetes.NodePool getDefaultInstance()
Returns
TypeDescription
Kubernetes.NodePool

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Kubernetes.NodePool.Builder newBuilder()
Returns
TypeDescription
Kubernetes.NodePool.Builder

newBuilder(Kubernetes.NodePool prototype)

public static Kubernetes.NodePool.Builder newBuilder(Kubernetes.NodePool prototype)
Parameter
NameDescription
prototypeKubernetes.NodePool
Returns
TypeDescription
Kubernetes.NodePool.Builder

parseDelimitedFrom(InputStream input)

public static Kubernetes.NodePool parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.NodePool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Kubernetes.NodePool parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.NodePool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Kubernetes.NodePool parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.NodePool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Kubernetes.NodePool parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.NodePool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Kubernetes.NodePool parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.NodePool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Kubernetes.NodePool parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.NodePool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.NodePool
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Kubernetes.NodePool> parser()
Returns
TypeDescription
Parser<NodePool>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Kubernetes.NodePool getDefaultInstanceForType()
Returns
TypeDescription
Kubernetes.NodePool

getName()

public String getName()

Kubernetes node pool name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Kubernetes node pool name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNodes(int index)

public Kubernetes.Node getNodes(int index)

Nodes associated with the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Node

getNodesCount()

public int getNodesCount()

Nodes associated with the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;

Returns
TypeDescription
int

getNodesList()

public List<Kubernetes.Node> getNodesList()

Nodes associated with the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;

Returns
TypeDescription
List<Node>

getNodesOrBuilder(int index)

public Kubernetes.NodeOrBuilder getNodesOrBuilder(int index)

Nodes associated with the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.NodeOrBuilder

getNodesOrBuilderList()

public List<? extends Kubernetes.NodeOrBuilder> getNodesOrBuilderList()

Nodes associated with the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder>

getParserForType()

public Parser<Kubernetes.NodePool> getParserForType()
Returns
TypeDescription
Parser<NodePool>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Kubernetes.NodePool.Builder newBuilderForType()
Returns
TypeDescription
Kubernetes.NodePool.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Kubernetes.NodePool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Kubernetes.NodePool.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Kubernetes.NodePool.Builder toBuilder()
Returns
TypeDescription
Kubernetes.NodePool.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException