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
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
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>
|
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;
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;
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;
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;
addNodesBuilder()
public Kubernetes.Node.Builder addNodesBuilder()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.NodePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Kubernetes.NodePool build()
buildPartial()
public Kubernetes.NodePool buildPartial()
clear()
public Kubernetes.NodePool.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Kubernetes.NodePool.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public Kubernetes.NodePool.Builder clearName()
Kubernetes node pool name.
string name = 1;
clearNodes()
public Kubernetes.NodePool.Builder clearNodes()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Kubernetes.NodePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Kubernetes.NodePool.Builder clone()
Overrides
getDefaultInstanceForType()
public Kubernetes.NodePool getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getNodesBuilderList()
public List<Kubernetes.Node.Builder> getNodesBuilderList()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
getNodesCount()
public int getNodesCount()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns |
---|
Type | Description |
int | |
getNodesList()
public List<Kubernetes.Node> getNodesList()
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
getNodesOrBuilder(int index)
public Kubernetes.NodeOrBuilder getNodesOrBuilder(int index)
Nodes associated with the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Kubernetes.NodePool other)
public Kubernetes.NodePool.Builder mergeFrom(Kubernetes.NodePool other)
public Kubernetes.NodePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Kubernetes.NodePool.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.NodePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.NodePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Kubernetes.NodePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.NodePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides