public static final class Kubernetes.Object extends GeneratedMessageV3 implements Kubernetes.ObjectOrBuilder
Kubernetes object related to the finding, uniquely identified by GKNN.
Used if the object Kind is not one of Pod, Node, NodePool, Binding, or
AccessReview.
Protobuf type google.cloud.securitycenter.v1.Kubernetes.Object
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONTAINERS_FIELD_NUMBER
public static final int CONTAINERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NS_FIELD_NUMBER
public static final int NS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Kubernetes.Object getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Kubernetes.Object.Builder newBuilder()
newBuilder(Kubernetes.Object prototype)
public static Kubernetes.Object.Builder newBuilder(Kubernetes.Object prototype)
public static Kubernetes.Object parseDelimitedFrom(InputStream input)
public static Kubernetes.Object parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Kubernetes.Object parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.Object parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Kubernetes.Object parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.Object parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.Object parseFrom(CodedInputStream input)
public static Kubernetes.Object parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.Object parseFrom(InputStream input)
public static Kubernetes.Object parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Kubernetes.Object parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.Object parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Kubernetes.Object> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getContainers(int index)
public Container getContainers(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameter |
Name |
Description |
index |
int
|
getContainersCount()
public int getContainersCount()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Returns |
Type |
Description |
int |
|
getContainersList()
public List<Container> getContainersList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
getContainersOrBuilder(int index)
public ContainerOrBuilder getContainersOrBuilder(int index)
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Parameter |
Name |
Description |
index |
int
|
getContainersOrBuilderList()
public List<? extends ContainerOrBuilder> getContainersOrBuilderList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 5;
Returns |
Type |
Description |
List<? extends com.google.cloud.securitycenter.v1.ContainerOrBuilder> |
|
getDefaultInstanceForType()
public Kubernetes.Object getDefaultInstanceForType()
getGroup()
Kubernetes object group, such as "policy.k8s.io/v1".
string group = 1;
Returns |
Type |
Description |
String |
The group.
|
getGroupBytes()
public ByteString getGroupBytes()
Kubernetes object group, such as "policy.k8s.io/v1".
string group = 1;
Returns |
Type |
Description |
ByteString |
The bytes for group.
|
getKind()
Kubernetes object kind, such as "Namespace".
string kind = 2;
Returns |
Type |
Description |
String |
The kind.
|
getKindBytes()
public ByteString getKindBytes()
Kubernetes object kind, such as "Namespace".
string kind = 2;
Returns |
Type |
Description |
ByteString |
The bytes for kind.
|
getName()
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getNs()
Returns |
Type |
Description |
String |
The ns.
|
getNsBytes()
public ByteString getNsBytes()
Returns |
Type |
Description |
ByteString |
The bytes for ns.
|
getParserForType()
public Parser<Kubernetes.Object> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Kubernetes.Object.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Kubernetes.Object.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Kubernetes.Object.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides