public static final class Kubernetes.NodePool.Builder extends GeneratedMessageV3.Builder<Kubernetes.NodePool.Builder> implements Kubernetes.NodePoolOrBuilder
Provides GKE Node Pool information.
Protobuf type google.cloud.securitycenter.v1.Kubernetes.NodePool
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllNodes(Iterable<? extends Kubernetes.Node> values)
public Kubernetes.NodePool.Builder addAllNodes(Iterable<? extends Kubernetes.Node> values)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v1.Kubernetes.Node>
|
Returns
addNodes(Kubernetes.Node value)
public Kubernetes.NodePool.Builder addNodes(Kubernetes.Node value)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Returns
addNodes(Kubernetes.Node.Builder builderForValue)
public Kubernetes.NodePool.Builder addNodes(Kubernetes.Node.Builder builderForValue)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Returns
addNodes(int index, Kubernetes.Node value)
public Kubernetes.NodePool.Builder addNodes(int index, Kubernetes.Node value)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameters
Returns
addNodes(int index, Kubernetes.Node.Builder builderForValue)
public Kubernetes.NodePool.Builder addNodes(int index, Kubernetes.Node.Builder builderForValue)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameters
Returns
addNodesBuilder()
public Kubernetes.Node.Builder addNodesBuilder()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns
addNodesBuilder(int index)
public Kubernetes.Node.Builder addNodesBuilder(int index)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.NodePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Kubernetes.NodePool build()
Returns
buildPartial()
public Kubernetes.NodePool buildPartial()
Returns
clear()
public Kubernetes.NodePool.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Kubernetes.NodePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public Kubernetes.NodePool.Builder clearName()
Kubernetes Node pool name.
string name = 1;
Returns
clearNodes()
public Kubernetes.NodePool.Builder clearNodes()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Kubernetes.NodePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Kubernetes.NodePool.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Kubernetes.NodePool getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Kubernetes Node pool name.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Kubernetes Node pool name.
string name = 1;
Returns
getNodes(int index)
public Kubernetes.Node getNodes(int index)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Returns
getNodesBuilder(int index)
public Kubernetes.Node.Builder getNodesBuilder(int index)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Returns
getNodesBuilderList()
public List<Kubernetes.Node.Builder> getNodesBuilderList()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns
getNodesCount()
public int getNodesCount()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns
getNodesList()
public List<Kubernetes.Node> getNodesList()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns
getNodesOrBuilder(int index)
public Kubernetes.NodeOrBuilder getNodesOrBuilder(int index)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Returns
getNodesOrBuilderList()
public List<? extends Kubernetes.NodeOrBuilder> getNodesOrBuilderList()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Kubernetes.NodePool other)
public Kubernetes.NodePool.Builder mergeFrom(Kubernetes.NodePool other)
Parameter
Returns
public Kubernetes.NodePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Kubernetes.NodePool.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.NodePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeNodes(int index)
public Kubernetes.NodePool.Builder removeNodes(int index)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.NodePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public Kubernetes.NodePool.Builder setName(String value)
Kubernetes Node pool name.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public Kubernetes.NodePool.Builder setNameBytes(ByteString value)
Kubernetes Node pool name.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setNodes(int index, Kubernetes.Node value)
public Kubernetes.NodePool.Builder setNodes(int index, Kubernetes.Node value)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameters
Returns
setNodes(int index, Kubernetes.Node.Builder builderForValue)
public Kubernetes.NodePool.Builder setNodes(int index, Kubernetes.Node.Builder builderForValue)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Kubernetes.NodePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.NodePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides