Interface Kubernetes.PodOrBuilder (2.55.0)

public static interface Kubernetes.PodOrBuilder 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 = 4;

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.v2.Container containers = 4;

Returns
Type Description
int

getContainersList()

public abstract List<Container> getContainersList()

Pod containers associated with this finding, if any.

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

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.v2.Container containers = 4;

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.v2.Container containers = 4;

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

getLabels(int index)

public abstract Label getLabels(int index)

Pod labels. For Kubernetes containers, these are applied to the container.

repeated .google.cloud.securitycenter.v2.Label labels = 3;

Parameter
Name Description
index int
Returns
Type Description
Label

getLabelsCount()

public abstract int getLabelsCount()

Pod labels. For Kubernetes containers, these are applied to the container.

repeated .google.cloud.securitycenter.v2.Label labels = 3;

Returns
Type Description
int

getLabelsList()

public abstract List<Label> getLabelsList()

Pod labels. For Kubernetes containers, these are applied to the container.

repeated .google.cloud.securitycenter.v2.Label labels = 3;

Returns
Type Description
List<Label>

getLabelsOrBuilder(int index)

public abstract LabelOrBuilder getLabelsOrBuilder(int index)

Pod labels. For Kubernetes containers, these are applied to the container.

repeated .google.cloud.securitycenter.v2.Label labels = 3;

Parameter
Name Description
index int
Returns
Type Description
LabelOrBuilder

getLabelsOrBuilderList()

public abstract List<? extends LabelOrBuilder> getLabelsOrBuilderList()

Pod labels. For Kubernetes containers, these are applied to the container.

repeated .google.cloud.securitycenter.v2.Label labels = 3;

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

getName()

public abstract String getName()

Kubernetes Pod name.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Kubernetes Pod name.

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

getNs()

public abstract String getNs()

Kubernetes Pod namespace.

string ns = 1;

Returns
Type Description
String

The ns.

getNsBytes()

public abstract ByteString getNsBytes()

Kubernetes Pod namespace.

string ns = 1;

Returns
Type Description
ByteString

The bytes for ns.