public final class Kubernetes extends GeneratedMessageV3 implements KubernetesOrBuilder
Kubernetes related attributes.
Protobuf type google.cloud.securitycenter.v1.Kubernetes
Static Fields
ACCESS_REVIEWS_FIELD_NUMBER
public static final int ACCESS_REVIEWS_FIELD_NUMBER
Field Value
BINDINGS_FIELD_NUMBER
public static final int BINDINGS_FIELD_NUMBER
Field Value
NODES_FIELD_NUMBER
public static final int NODES_FIELD_NUMBER
Field Value
NODE_POOLS_FIELD_NUMBER
public static final int NODE_POOLS_FIELD_NUMBER
Field Value
PODS_FIELD_NUMBER
public static final int PODS_FIELD_NUMBER
Field Value
ROLES_FIELD_NUMBER
public static final int ROLES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Kubernetes getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Kubernetes.Builder newBuilder()
Returns
newBuilder(Kubernetes prototype)
public static Kubernetes.Builder newBuilder(Kubernetes prototype)
Parameter
Returns
public static Kubernetes parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Kubernetes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Kubernetes parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Kubernetes parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Kubernetes parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Kubernetes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Kubernetes parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Kubernetes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Kubernetes parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Kubernetes> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAccessReviews(int index)
public Kubernetes.AccessReview getAccessReviews(int index)
Provides information on any Kubernetes access reviews (i.e. privilege
checks) relevant to the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;
Parameter
Returns
getAccessReviewsCount()
public int getAccessReviewsCount()
Provides information on any Kubernetes access reviews (i.e. privilege
checks) relevant to the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;
Returns
getAccessReviewsList()
public List<Kubernetes.AccessReview> getAccessReviewsList()
Provides information on any Kubernetes access reviews (i.e. privilege
checks) relevant to the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;
Returns
getAccessReviewsOrBuilder(int index)
public Kubernetes.AccessReviewOrBuilder getAccessReviewsOrBuilder(int index)
Provides information on any Kubernetes access reviews (i.e. privilege
checks) relevant to the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;
Parameter
Returns
getAccessReviewsOrBuilderList()
public List<? extends Kubernetes.AccessReviewOrBuilder> getAccessReviewsOrBuilderList()
Provides information on any Kubernetes access reviews (i.e. privilege
checks) relevant to the finding.
repeated .google.cloud.securitycenter.v1.Kubernetes.AccessReview access_reviews = 6;
Returns
Type | Description |
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
Returns
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
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
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
Returns
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
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.Kubernetes.BindingOrBuilder> | |
getDefaultInstanceForType()
public Kubernetes getDefaultInstanceForType()
Returns
getNodePools(int index)
public Kubernetes.NodePool getNodePools(int index)
GKE Node Pools associated with the finding. This field will
contain NodePool information for each Node, when it is available.
repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
Parameter
Returns
getNodePoolsCount()
public int getNodePoolsCount()
GKE Node Pools associated with the finding. This field will
contain NodePool information for each Node, when it is available.
repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
Returns
getNodePoolsList()
public List<Kubernetes.NodePool> getNodePoolsList()
GKE Node Pools associated with the finding. This field will
contain NodePool information for each Node, when it is available.
repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
Returns
getNodePoolsOrBuilder(int index)
public Kubernetes.NodePoolOrBuilder getNodePoolsOrBuilder(int index)
GKE Node Pools associated with the finding. This field will
contain NodePool information for each Node, when it is available.
repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
Parameter
Returns
getNodePoolsOrBuilderList()
public List<? extends Kubernetes.NodePoolOrBuilder> getNodePoolsOrBuilderList()
GKE Node Pools associated with the finding. This field will
contain NodePool information for each Node, when it is available.
repeated .google.cloud.securitycenter.v1.Kubernetes.NodePool node_pools = 3;
Returns
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.Kubernetes.NodePoolOrBuilder> | |
getNodes(int index)
public Kubernetes.Node getNodes(int index)
Provides Kubernetes Node information.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Returns
getNodesCount()
public int getNodesCount()
Provides Kubernetes Node information.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns
getNodesList()
public List<Kubernetes.Node> getNodesList()
Provides Kubernetes Node information.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns
getNodesOrBuilder(int index)
public Kubernetes.NodeOrBuilder getNodesOrBuilder(int index)
Provides Kubernetes Node information.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Parameter
Returns
getNodesOrBuilderList()
public List<? extends Kubernetes.NodeOrBuilder> getNodesOrBuilderList()
Provides Kubernetes Node information.
repeated .google.cloud.securitycenter.v1.Kubernetes.Node nodes = 2;
Returns
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.Kubernetes.NodeOrBuilder> | |
getParserForType()
public Parser<Kubernetes> getParserForType()
Returns
Overrides
getPods(int index)
public Kubernetes.Pod getPods(int index)
Kubernetes Pods associated with the finding. This field will contain Pod
records for each container that is owned by a Pod.
repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
Parameter
Returns
getPodsCount()
public int getPodsCount()
Kubernetes Pods associated with the finding. This field will contain Pod
records for each container that is owned by a Pod.
repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
Returns
getPodsList()
public List<Kubernetes.Pod> getPodsList()
Kubernetes Pods associated with the finding. This field will contain Pod
records for each container that is owned by a Pod.
repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
Returns
getPodsOrBuilder(int index)
public Kubernetes.PodOrBuilder getPodsOrBuilder(int index)
Kubernetes Pods associated with the finding. This field will contain Pod
records for each container that is owned by a Pod.
repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
Parameter
Returns
getPodsOrBuilderList()
public List<? extends Kubernetes.PodOrBuilder> getPodsOrBuilderList()
Kubernetes Pods associated with the finding. This field will contain Pod
records for each container that is owned by a Pod.
repeated .google.cloud.securitycenter.v1.Kubernetes.Pod pods = 1;
Returns
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.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.v1.Kubernetes.Role roles = 4;
Parameter
Returns
getRolesCount()
public int getRolesCount()
Provides Kubernetes role information for findings that involve
Roles or ClusterRoles.
repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
Returns
getRolesList()
public List<Kubernetes.Role> getRolesList()
Provides Kubernetes role information for findings that involve
Roles or ClusterRoles.
repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
Returns
getRolesOrBuilder(int index)
public Kubernetes.RoleOrBuilder getRolesOrBuilder(int index)
Provides Kubernetes role information for findings that involve
Roles or ClusterRoles.
repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
Parameter
Returns
getRolesOrBuilderList()
public List<? extends Kubernetes.RoleOrBuilder> getRolesOrBuilderList()
Provides Kubernetes role information for findings that involve
Roles or ClusterRoles.
repeated .google.cloud.securitycenter.v1.Kubernetes.Role roles = 4;
Returns
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.Kubernetes.RoleOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Kubernetes.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Kubernetes.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Kubernetes.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions