Interface Kubernetes.ObjectOrBuilder (2.51.0)

public static interface Kubernetes.ObjectOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainers(int index)

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

getContainersCount()

public abstract int getContainersCount()

Pod containers associated with this finding, if any.

repeated .google.cloud.securitycenter.v1.Container containers = 5;

Returns
Type Description
int

getContainersList()

public abstract List<Container> getContainersList()

Pod containers associated with this finding, if any.

repeated .google.cloud.securitycenter.v1.Container containers = 5;

Returns
Type Description
List<Container>

getContainersOrBuilder(int index)

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

getContainersOrBuilderList()

public abstract 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>

getGroup()

public abstract String getGroup()

Kubernetes object group, such as "policy.k8s.io/v1".

string group = 1;

Returns
Type Description
String

The group.

getGroupBytes()

public abstract ByteString getGroupBytes()

Kubernetes object group, such as "policy.k8s.io/v1".

string group = 1;

Returns
Type Description
ByteString

The bytes for group.

getKind()

public abstract String getKind()

Kubernetes object kind, such as "Namespace".

string kind = 2;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

Kubernetes object kind, such as "Namespace".

string kind = 2;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public abstract String getName()

Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.

string name = 4;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.

string name = 4;

Returns
Type Description
ByteString

The bytes for name.

getNs()

public abstract String getNs()

Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.

string ns = 3;

Returns
Type Description
String

The ns.

getNsBytes()

public abstract ByteString getNsBytes()

Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.

string ns = 3;

Returns
Type Description
ByteString

The bytes for ns.