Interface KubernetesOrBuilder (2.62.0)

public interface KubernetesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessReviews(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.AccessReview

getAccessReviewsCount()

public abstract 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
Type Description
int

getAccessReviewsList()

public abstract 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
Type Description
List<AccessReview>

getAccessReviewsOrBuilder(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.AccessReviewOrBuilder

getAccessReviewsOrBuilderList()

public abstract 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
Type Description
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.AccessReviewOrBuilder>

getBindings(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.Binding

getBindingsCount()

public abstract int getBindingsCount()

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

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

Returns
Type Description
int

getBindingsList()

public abstract 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
Type Description
List<Binding>

getBindingsOrBuilder(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.BindingOrBuilder

getBindingsOrBuilderList()

public abstract 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
Type Description
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.BindingOrBuilder>

getNodePools(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.NodePool

getNodePoolsCount()

public abstract 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
Type Description
int

getNodePoolsList()

public abstract 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
Type Description
List<NodePool>

getNodePoolsOrBuilder(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.NodePoolOrBuilder

getNodePoolsOrBuilderList()

public abstract 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
Type Description
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.NodePoolOrBuilder>

getNodes(int index)

public abstract Kubernetes.Node getNodes(int index)

Provides Kubernetes node information.

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

Parameter
Name Description
index int
Returns
Type Description
Kubernetes.Node

getNodesCount()

public abstract int getNodesCount()

Provides Kubernetes node information.

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

Returns
Type Description
int

getNodesList()

public abstract List<Kubernetes.Node> getNodesList()

Provides Kubernetes node information.

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

Returns
Type Description
List<Node>

getNodesOrBuilder(int index)

public abstract Kubernetes.NodeOrBuilder getNodesOrBuilder(int index)

Provides Kubernetes node information.

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

Parameter
Name Description
index int
Returns
Type Description
Kubernetes.NodeOrBuilder

getNodesOrBuilderList()

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

Provides Kubernetes node information.

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

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

getObjects(int index)

public abstract Kubernetes.Object getObjects(int index)

Kubernetes objects related to the finding.

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

Parameter
Name Description
index int
Returns
Type Description
Kubernetes.Object

getObjectsCount()

public abstract int getObjectsCount()

Kubernetes objects related to the finding.

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

Returns
Type Description
int

getObjectsList()

public abstract List<Kubernetes.Object> getObjectsList()

Kubernetes objects related to the finding.

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

Returns
Type Description
List<Object>

getObjectsOrBuilder(int index)

public abstract Kubernetes.ObjectOrBuilder getObjectsOrBuilder(int index)

Kubernetes objects related to the finding.

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

Parameter
Name Description
index int
Returns
Type Description
Kubernetes.ObjectOrBuilder

getObjectsOrBuilderList()

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

Kubernetes objects related to the finding.

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

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

getPods(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.Pod

getPodsCount()

public abstract 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
Type Description
int

getPodsList()

public abstract 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
Type Description
List<Pod>

getPodsOrBuilder(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.PodOrBuilder

getPodsOrBuilderList()

public abstract 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
Type Description
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.PodOrBuilder>

getRoles(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.Role

getRolesCount()

public abstract int getRolesCount()

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

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

Returns
Type Description
int

getRolesList()

public abstract 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
Type Description
List<Role>

getRolesOrBuilder(int index)

public abstract 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
Name Description
index int
Returns
Type Description
Kubernetes.RoleOrBuilder

getRolesOrBuilderList()

public abstract 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
Type Description
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.RoleOrBuilder>