Class Kubernetes.Builder (2.49.0)

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

Kubernetes-related attributes.

Protobuf type google.cloud.securitycenter.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.Kubernetes.AccessReview access_reviews = 6;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.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.v2.Kubernetes.Binding bindings = 5;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.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.v2.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.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.v2.Kubernetes.Node nodes = 2;

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

addAllObjects(Iterable<? extends Kubernetes.Object> values)

public Kubernetes.Builder addAllObjects(Iterable<? extends Kubernetes.Object> values)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.Kubernetes.Object>
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.v2.Kubernetes.Pod pods = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.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.v2.Kubernetes.Role roles = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.Kubernetes.Node nodes = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Node.Builder

addObjects(Kubernetes.Object value)

public Kubernetes.Builder addObjects(Kubernetes.Object value)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Parameter
NameDescription
valueKubernetes.Object
Returns
TypeDescription
Kubernetes.Builder

addObjects(Kubernetes.Object.Builder builderForValue)

public Kubernetes.Builder addObjects(Kubernetes.Object.Builder builderForValue)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

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

addObjects(int index, Kubernetes.Object value)

public Kubernetes.Builder addObjects(int index, Kubernetes.Object value)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Parameters
NameDescription
indexint
valueKubernetes.Object
Returns
TypeDescription
Kubernetes.Builder

addObjects(int index, Kubernetes.Object.Builder builderForValue)

public Kubernetes.Builder addObjects(int index, Kubernetes.Object.Builder builderForValue)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

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

addObjectsBuilder()

public Kubernetes.Object.Builder addObjectsBuilder()

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Returns
TypeDescription
Kubernetes.Object.Builder

addObjectsBuilder(int index)

public Kubernetes.Object.Builder addObjectsBuilder(int index)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Object.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.Kubernetes.NodePool node_pools = 3;

Returns
TypeDescription
Kubernetes.Builder

clearNodes()

public Kubernetes.Builder clearNodes()

Provides Kubernetes node information.

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

Returns
TypeDescription
Kubernetes.Builder

clearObjects()

public Kubernetes.Builder clearObjects()

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.Kubernetes.AccessReview access_reviews = 6;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.Kubernetes.Binding bindings = 5;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.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.v2.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.NodePool

getNodePoolsBuilder(int index)

public Kubernetes.NodePool.Builder getNodePoolsBuilder(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.v2.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.NodePool.Builder

getNodePoolsBuilderList()

public List<Kubernetes.NodePool.Builder> getNodePoolsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getNodePoolsCount()

public int getNodePoolsCount()

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

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

Returns
TypeDescription
int

getNodePoolsList()

public List<Kubernetes.NodePool> getNodePoolsList()

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

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

Returns
TypeDescription
List<NodePool>

getNodePoolsOrBuilder(int index)

public Kubernetes.NodePoolOrBuilder getNodePoolsOrBuilder(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.v2.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.NodePoolOrBuilder

getNodePoolsOrBuilderList()

public List<? extends Kubernetes.NodePoolOrBuilder> getNodePoolsOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.NodePoolOrBuilder>

getNodes(int index)

public Kubernetes.Node getNodes(int index)

Provides Kubernetes node information.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Node

getNodesBuilder(int index)

public Kubernetes.Node.Builder getNodesBuilder(int index)

Provides Kubernetes node information.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Node.Builder

getNodesBuilderList()

public List<Kubernetes.Node.Builder> getNodesBuilderList()

Provides Kubernetes node information.

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

Returns
TypeDescription
List<Builder>

getNodesCount()

public int getNodesCount()

Provides Kubernetes node information.

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

Returns
TypeDescription
int

getNodesList()

public List<Kubernetes.Node> getNodesList()

Provides Kubernetes node information.

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

Returns
TypeDescription
List<Node>

getNodesOrBuilder(int index)

public Kubernetes.NodeOrBuilder getNodesOrBuilder(int index)

Provides Kubernetes node information.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.NodeOrBuilder

getNodesOrBuilderList()

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

Provides Kubernetes node information.

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

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

getObjects(int index)

public Kubernetes.Object getObjects(int index)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Object

getObjectsBuilder(int index)

public Kubernetes.Object.Builder getObjectsBuilder(int index)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Object.Builder

getObjectsBuilderList()

public List<Kubernetes.Object.Builder> getObjectsBuilderList()

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Returns
TypeDescription
List<Builder>

getObjectsCount()

public int getObjectsCount()

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Returns
TypeDescription
int

getObjectsList()

public List<Kubernetes.Object> getObjectsList()

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Returns
TypeDescription
List<Object>

getObjectsOrBuilder(int index)

public Kubernetes.ObjectOrBuilder getObjectsOrBuilder(int index)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.ObjectOrBuilder

getObjectsOrBuilderList()

public List<? extends Kubernetes.ObjectOrBuilder> getObjectsOrBuilderList()

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.ObjectOrBuilder>

getPods(int index)

public Kubernetes.Pod getPods(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.v2.Kubernetes.Pod pods = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Pod

getPodsBuilder(int index)

public Kubernetes.Pod.Builder getPodsBuilder(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.v2.Kubernetes.Pod pods = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Pod.Builder

getPodsBuilderList()

public List<Kubernetes.Pod.Builder> getPodsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getPodsCount()

public int getPodsCount()

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

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

Returns
TypeDescription
int

getPodsList()

public List<Kubernetes.Pod> getPodsList()

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

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

Returns
TypeDescription
List<Pod>

getPodsOrBuilder(int index)

public Kubernetes.PodOrBuilder getPodsOrBuilder(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.v2.Kubernetes.Pod pods = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.PodOrBuilder

getPodsOrBuilderList()

public List<? extends Kubernetes.PodOrBuilder> getPodsOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.PodOrBuilder>

getRoles(int index)

public Kubernetes.Role getRoles(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Role

getRolesBuilder(int index)

public Kubernetes.Role.Builder getRolesBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Role.Builder

getRolesBuilderList()

public List<Kubernetes.Role.Builder> getRolesBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getRolesCount()

public int getRolesCount()

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

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

Returns
TypeDescription
int

getRolesList()

public List<Kubernetes.Role> getRolesList()

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

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

Returns
TypeDescription
List<Role>

getRolesOrBuilder(int index)

public Kubernetes.RoleOrBuilder getRolesOrBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.RoleOrBuilder

getRolesOrBuilderList()

public List<? extends Kubernetes.RoleOrBuilder> getRolesOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.RoleOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Kubernetes other)

public Kubernetes.Builder mergeFrom(Kubernetes other)
Parameter
NameDescription
otherKubernetes
Returns
TypeDescription
Kubernetes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Kubernetes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Kubernetes.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Kubernetes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Kubernetes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Kubernetes.Builder
Overrides

removeAccessReviews(int index)

public Kubernetes.Builder removeAccessReviews(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Builder

removeBindings(int index)

public Kubernetes.Builder removeBindings(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Builder

removeNodePools(int index)

public Kubernetes.Builder removeNodePools(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.v2.Kubernetes.NodePool node_pools = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Builder

removeNodes(int index)

public Kubernetes.Builder removeNodes(int index)

Provides Kubernetes node information.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Builder

removeObjects(int index)

public Kubernetes.Builder removeObjects(int index)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Builder

removePods(int index)

public Kubernetes.Builder removePods(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.v2.Kubernetes.Pod pods = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Builder

removeRoles(int index)

public Kubernetes.Builder removeRoles(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Kubernetes.Builder

setAccessReviews(int index, Kubernetes.AccessReview value)

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

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

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

Parameters
NameDescription
indexint
valueKubernetes.AccessReview
Returns
TypeDescription
Kubernetes.Builder

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

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

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

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

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

setBindings(int index, Kubernetes.Binding value)

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

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

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

Parameters
NameDescription
indexint
valueKubernetes.Binding
Returns
TypeDescription
Kubernetes.Builder

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

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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodePools(int index, Kubernetes.NodePool value)

public Kubernetes.Builder setNodePools(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.v2.Kubernetes.NodePool node_pools = 3;

Parameters
NameDescription
indexint
valueKubernetes.NodePool
Returns
TypeDescription
Kubernetes.Builder

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

public Kubernetes.Builder setNodePools(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.v2.Kubernetes.NodePool node_pools = 3;

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

setNodes(int index, Kubernetes.Node value)

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

Provides Kubernetes node information.

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

Parameters
NameDescription
indexint
valueKubernetes.Node
Returns
TypeDescription
Kubernetes.Builder

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

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

Provides Kubernetes node information.

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

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

setObjects(int index, Kubernetes.Object value)

public Kubernetes.Builder setObjects(int index, Kubernetes.Object value)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

Parameters
NameDescription
indexint
valueKubernetes.Object
Returns
TypeDescription
Kubernetes.Builder

setObjects(int index, Kubernetes.Object.Builder builderForValue)

public Kubernetes.Builder setObjects(int index, Kubernetes.Object.Builder builderForValue)

Kubernetes objects related to the finding.

repeated .google.cloud.securitycenter.v2.Kubernetes.Object objects = 7;

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

setPods(int index, Kubernetes.Pod value)

public Kubernetes.Builder setPods(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.v2.Kubernetes.Pod pods = 1;

Parameters
NameDescription
indexint
valueKubernetes.Pod
Returns
TypeDescription
Kubernetes.Builder

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

public Kubernetes.Builder setPods(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.v2.Kubernetes.Pod pods = 1;

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Kubernetes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Kubernetes.Builder
Overrides

setRoles(int index, Kubernetes.Role value)

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

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

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

Parameters
NameDescription
indexint
valueKubernetes.Role
Returns
TypeDescription
Kubernetes.Builder

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

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Kubernetes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Kubernetes.Builder
Overrides