Interface Kubernetes.ObjectOrBuilder (2.47.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.v2.Container containers = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Container

getContainersCount()

public abstract int getContainersCount()

Pod containers associated with this finding, if any.

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

Returns
TypeDescription
int

getContainersList()

public abstract List<Container> getContainersList()

Pod containers associated with this finding, if any.

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

Returns
TypeDescription
List<Container>

getContainersOrBuilder(int index)

public abstract ContainerOrBuilder getContainersOrBuilder(int index)

Pod containers associated with this finding, if any.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ContainerOrBuilder

getContainersOrBuilderList()

public abstract List<? extends ContainerOrBuilder> getContainersOrBuilderList()

Pod containers associated with this finding, if any.

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

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

getGroup()

public abstract String getGroup()

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

string group = 1;

Returns
TypeDescription
String

The group.

getGroupBytes()

public abstract ByteString getGroupBytes()

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

string group = 1;

Returns
TypeDescription
ByteString

The bytes for group.

getKind()

public abstract String getKind()

Kubernetes object kind, such as "Namespace".

string kind = 2;

Returns
TypeDescription
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

Kubernetes object kind, such as "Namespace".

string kind = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for ns.