Class Kubernetes.Builder (2.44.0)

public static final class Kubernetes.Builder extends GeneratedMessageV3.Builder<Kubernetes.Builder> implements KubernetesOrBuilder

Kubernetes-related attributes.

Protobuf type google.cloud.securitycenter.v1.Kubernetes

Implements

KubernetesOrBuilder

Static Methods

getDescriptor()

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

Methods

addAccessReviews(Kubernetes.AccessReview value)

public Kubernetes.Builder addAccessReviews(Kubernetes.AccessReview value)

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Parameter
NameDescription
valueKubernetes.AccessReview
Returns
TypeDescription
Kubernetes.Builder

addAccessReviews(Kubernetes.AccessReview.Builder builderForValue)

public Kubernetes.Builder addAccessReviews(Kubernetes.AccessReview.Builder builderForValue)

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Parameter
NameDescription
builderForValueKubernetes.AccessReview.Builder
Returns
TypeDescription
Kubernetes.Builder

addAccessReviews(int index, Kubernetes.AccessReview value)

public Kubernetes.Builder addAccessReviews(int index, Kubernetes.AccessReview value)

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Parameters
NameDescription
indexint
valueKubernetes.AccessReview
Returns
TypeDescription
Kubernetes.Builder

addAccessReviews(int index, Kubernetes.AccessReview.Builder builderForValue)

public Kubernetes.Builder addAccessReviews(int index, Kubernetes.AccessReview.Builder builderForValue)

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Parameters
NameDescription
indexint
builderForValueKubernetes.AccessReview.Builder
Returns
TypeDescription
Kubernetes.Builder

addAccessReviewsBuilder()

public Kubernetes.AccessReview.Builder addAccessReviewsBuilder()

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Returns
TypeDescription
Kubernetes.AccessReview.Builder

addAccessReviewsBuilder(int index)

public Kubernetes.AccessReview.Builder addAccessReviewsBuilder(int index)

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.AccessReview.Builder

addAllAccessReviews(Iterable<? extends Kubernetes.AccessReview> values)

public Kubernetes.Builder addAllAccessReviews(Iterable<? extends Kubernetes.AccessReview> values)

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Kubernetes.AccessReview>
Returns
TypeDescription
Kubernetes.Builder

addAllBindings(Iterable<? extends Kubernetes.Binding> values)

public Kubernetes.Builder addAllBindings(Iterable<? extends Kubernetes.Binding> values)

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Kubernetes.Binding>
Returns
TypeDescription
Kubernetes.Builder

addAllNodePools(Iterable<? extends Kubernetes.NodePool> values)

public Kubernetes.Builder addAllNodePools(Iterable<? extends Kubernetes.NodePool> values)

GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.

repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Kubernetes.NodePool>
Returns
TypeDescription
Kubernetes.Builder

addAllNodes(Iterable<? extends Kubernetes.Node> values)

public Kubernetes.Builder addAllNodes(Iterable<? extends Kubernetes.Node> values)

Provides Kubernetes node information.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Kubernetes.Node>
Returns
TypeDescription
Kubernetes.Builder

addAllPods(Iterable<? extends Kubernetes.Pod> values)

public Kubernetes.Builder addAllPods(Iterable<? extends Kubernetes.Pod> values)

Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.

repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Kubernetes.Pod>
Returns
TypeDescription
Kubernetes.Builder

addAllRoles(Iterable<? extends Kubernetes.Role> values)

public Kubernetes.Builder addAllRoles(Iterable<? extends Kubernetes.Role> values)

Provides Kubernetes role information for findings that involve Roles or ClusterRoles.

repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.Kubernetes.Role>
Returns
TypeDescription
Kubernetes.Builder

addBindings(Kubernetes.Binding value)

public Kubernetes.Builder addBindings(Kubernetes.Binding value)

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Parameter
NameDescription
valueKubernetes.Binding
Returns
TypeDescription
Kubernetes.Builder

addBindings(Kubernetes.Binding.Builder builderForValue)

public Kubernetes.Builder addBindings(Kubernetes.Binding.Builder builderForValue)

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Parameter
NameDescription
builderForValueKubernetes.Binding.Builder
Returns
TypeDescription
Kubernetes.Builder

addBindings(int index, Kubernetes.Binding value)

public Kubernetes.Builder addBindings(int index, Kubernetes.Binding value)

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Parameters
NameDescription
indexint
valueKubernetes.Binding
Returns
TypeDescription
Kubernetes.Builder

addBindings(int index, Kubernetes.Binding.Builder builderForValue)

public Kubernetes.Builder addBindings(int index, Kubernetes.Binding.Builder builderForValue)

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Parameters
NameDescription
indexint
builderForValueKubernetes.Binding.Builder
Returns
TypeDescription
Kubernetes.Builder

addBindingsBuilder()

public Kubernetes.Binding.Builder addBindingsBuilder()

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Returns
TypeDescription
Kubernetes.Binding.Builder

addBindingsBuilder(int index)

public Kubernetes.Binding.Builder addBindingsBuilder(int index)

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Binding.Builder

addNodePools(Kubernetes.NodePool value)

public Kubernetes.Builder addNodePools(Kubernetes.NodePool value)

GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.

repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription
valueKubernetes.NodePool
Returns
TypeDescription
Kubernetes.Builder

addNodePools(Kubernetes.NodePool.Builder builderForValue)

public Kubernetes.Builder addNodePools(Kubernetes.NodePool.Builder builderForValue)

GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.

repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription
builderForValueKubernetes.NodePool.Builder
Returns
TypeDescription
Kubernetes.Builder

addNodePools(int index, Kubernetes.NodePool value)

public Kubernetes.Builder addNodePools(int index, Kubernetes.NodePool value)

GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.

repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;

Parameters
NameDescription
indexint
valueKubernetes.NodePool
Returns
TypeDescription
Kubernetes.Builder

addNodePools(int index, Kubernetes.NodePool.Builder builderForValue)

public Kubernetes.Builder addNodePools(int index, Kubernetes.NodePool.Builder builderForValue)

GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.

repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;

Parameters
NameDescription
indexint
builderForValueKubernetes.NodePool.Builder
Returns
TypeDescription
Kubernetes.Builder

addNodePoolsBuilder()

public Kubernetes.NodePool.Builder addNodePoolsBuilder()

GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.

repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;

Returns
TypeDescription
Kubernetes.NodePool.Builder

addNodePoolsBuilder(int index)

public Kubernetes.NodePool.Builder addNodePoolsBuilder(int index)

GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.

repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.NodePool.Builder

addNodes(Kubernetes.Node value)

public Kubernetes.Builder addNodes(Kubernetes.Node value)

Provides Kubernetes node information.

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

Parameter
NameDescription
valueKubernetes.Node
Returns
TypeDescription
Kubernetes.Builder

addNodes(Kubernetes.Node.Builder builderForValue)

public Kubernetes.Builder addNodes(Kubernetes.Node.Builder builderForValue)

Provides Kubernetes node information.

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

Parameter
NameDescription
builderForValueKubernetes.Node.Builder
Returns
TypeDescription
Kubernetes.Builder

addNodes(int index, Kubernetes.Node value)

public Kubernetes.Builder addNodes(int index, Kubernetes.Node value)

Provides Kubernetes node information.

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

Parameters
NameDescription
indexint
valueKubernetes.Node
Returns
TypeDescription
Kubernetes.Builder

addNodes(int index, Kubernetes.Node.Builder builderForValue)

public Kubernetes.Builder addNodes(int index, Kubernetes.Node.Builder builderForValue)

Provides Kubernetes node information.

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

Parameters
NameDescription
indexint
builderForValueKubernetes.Node.Builder
Returns
TypeDescription
Kubernetes.Builder

addNodesBuilder()

public Kubernetes.Node.Builder addNodesBuilder()

Provides Kubernetes node information.

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

Returns
TypeDescription
Kubernetes.Node.Builder

addNodesBuilder(int index)

public Kubernetes.Node.Builder addNodesBuilder(int index)

Provides Kubernetes node information.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Node.Builder

addPods(Kubernetes.Pod value)

public Kubernetes.Builder addPods(Kubernetes.Pod value)

Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.

repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;

Parameter
NameDescription
valueKubernetes.Pod
Returns
TypeDescription
Kubernetes.Builder

addPods(Kubernetes.Pod.Builder builderForValue)

public Kubernetes.Builder addPods(Kubernetes.Pod.Builder builderForValue)

Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.

repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;

Parameter
NameDescription
builderForValueKubernetes.Pod.Builder
Returns
TypeDescription
Kubernetes.Builder

addPods(int index, Kubernetes.Pod value)

public Kubernetes.Builder addPods(int index, Kubernetes.Pod value)

Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.

repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;

Parameters
NameDescription
indexint
valueKubernetes.Pod
Returns
TypeDescription
Kubernetes.Builder

addPods(int index, Kubernetes.Pod.Builder builderForValue)

public Kubernetes.Builder addPods(int index, Kubernetes.Pod.Builder builderForValue)

Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.

repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;

Parameters
NameDescription
indexint
builderForValueKubernetes.Pod.Builder
Returns
TypeDescription
Kubernetes.Builder

addPodsBuilder()

public Kubernetes.Pod.Builder addPodsBuilder()

Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.

repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;

Returns
TypeDescription
Kubernetes.Pod.Builder

addPodsBuilder(int index)

public Kubernetes.Pod.Builder addPodsBuilder(int index)

Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.

repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Pod.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Kubernetes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Kubernetes.Builder
Overrides

addRoles(Kubernetes.Role value)

public Kubernetes.Builder addRoles(Kubernetes.Role value)

Provides Kubernetes role information for findings that involve Roles or ClusterRoles.

repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;

Parameter
NameDescription
valueKubernetes.Role
Returns
TypeDescription
Kubernetes.Builder

addRoles(Kubernetes.Role.Builder builderForValue)

public Kubernetes.Builder addRoles(Kubernetes.Role.Builder builderForValue)

Provides Kubernetes role information for findings that involve Roles or ClusterRoles.

repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;

Parameter
NameDescription
builderForValueKubernetes.Role.Builder
Returns
TypeDescription
Kubernetes.Builder

addRoles(int index, Kubernetes.Role value)

public Kubernetes.Builder addRoles(int index, Kubernetes.Role value)

Provides Kubernetes role information for findings that involve Roles or ClusterRoles.

repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;

Parameters
NameDescription
indexint
valueKubernetes.Role
Returns
TypeDescription
Kubernetes.Builder

addRoles(int index, Kubernetes.Role.Builder builderForValue)

public Kubernetes.Builder addRoles(int index, Kubernetes.Role.Builder builderForValue)

Provides Kubernetes role information for findings that involve Roles or ClusterRoles.

repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;

Parameters
NameDescription
indexint
builderForValueKubernetes.Role.Builder
Returns
TypeDescription
Kubernetes.Builder

addRolesBuilder()

public Kubernetes.Role.Builder addRolesBuilder()

Provides Kubernetes role information for findings that involve Roles or ClusterRoles.

repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;

Returns
TypeDescription
Kubernetes.Role.Builder

addRolesBuilder(int index)

public Kubernetes.Role.Builder addRolesBuilder(int index)

Provides Kubernetes role information for findings that involve Roles or ClusterRoles.

repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Role.Builder

build()

public Kubernetes build()
Returns
TypeDescription
Kubernetes

buildPartial()

public Kubernetes buildPartial()
Returns
TypeDescription
Kubernetes

clear()

public Kubernetes.Builder clear()
Returns
TypeDescription
Kubernetes.Builder
Overrides

clearAccessReviews()

public Kubernetes.Builder clearAccessReviews()

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Returns
TypeDescription
Kubernetes.Builder

clearBindings()

public Kubernetes.Builder clearBindings()

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Returns
TypeDescription
Kubernetes.Builder

clearField(Descriptors.FieldDescriptor field)

public Kubernetes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Kubernetes.Builder
Overrides

clearNodePools()

public Kubernetes.Builder clearNodePools()

GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.

repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;

Returns
TypeDescription
Kubernetes.Builder

clearNodes()

public Kubernetes.Builder clearNodes()

Provides Kubernetes node information.

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

Returns
TypeDescription
Kubernetes.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Kubernetes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Kubernetes.Builder
Overrides

clearPods()

public Kubernetes.Builder clearPods()

Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.

repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;

Returns
TypeDescription
Kubernetes.Builder

clearRoles()

public Kubernetes.Builder clearRoles()

Provides Kubernetes role information for findings that involve Roles or ClusterRoles.

repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;

Returns
TypeDescription
Kubernetes.Builder

clone()

public Kubernetes.Builder clone()
Returns
TypeDescription
Kubernetes.Builder
Overrides

getAccessReviews(int index)

public Kubernetes.AccessReview getAccessReviews(int index)

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.AccessReview

getAccessReviewsBuilder(int index)

public Kubernetes.AccessReview.Builder getAccessReviewsBuilder(int index)

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.AccessReview.Builder

getAccessReviewsBuilderList()

public List<Kubernetes.AccessReview.Builder> getAccessReviewsBuilderList()

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Returns
TypeDescription
List<Builder>

getAccessReviewsCount()

public int getAccessReviewsCount()

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Returns
TypeDescription
int

getAccessReviewsList()

public List<Kubernetes.AccessReview> getAccessReviewsList()

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Returns
TypeDescription
List<AccessReview>

getAccessReviewsOrBuilder(int index)

public Kubernetes.AccessReviewOrBuilder getAccessReviewsOrBuilder(int index)

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.AccessReviewOrBuilder

getAccessReviewsOrBuilderList()

public List<? extends Kubernetes.AccessReviewOrBuilder> getAccessReviewsOrBuilderList()

Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.

repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;

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

getBindings(int index)

public Kubernetes.Binding getBindings(int index)

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Binding

getBindingsBuilder(int index)

public Kubernetes.Binding.Builder getBindingsBuilder(int index)

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Binding.Builder

getBindingsBuilderList()

public List<Kubernetes.Binding.Builder> getBindingsBuilderList()

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Returns
TypeDescription
List<Builder>

getBindingsCount()

public int getBindingsCount()

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Returns
TypeDescription
int

getBindingsList()

public List<Kubernetes.Binding> getBindingsList()

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Returns
TypeDescription
List<Binding>

getBindingsOrBuilder(int index)

public Kubernetes.BindingOrBuilder getBindingsOrBuilder(int index)

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.BindingOrBuilder

getBindingsOrBuilderList()

public List<? extends Kubernetes.BindingOrBuilder> getBindingsOrBuilderList()

Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.

repeated .google.cloud.securitycenter.v1.Kubernetes.Binding bindings = 5;

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

getDefaultInstanceForType()

public Kubernetes getDefaultInstanceForType()
Returns
TypeDescription
Kubernetes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNodePools(int index)

public Kubernetes.NodePool getNodePools(int index)

GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.

repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription