Interface Kubernetes.PodOrBuilder (2.45.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
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 = 4;

Returns
TypeDescription
int

getContainersList()

public abstract List<Container> getContainersList()

Pod containers associated with this finding, if any.

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

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 = 4;

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 = 4;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.LabelOrBuilder>

getName()

public abstract String getName()

Kubernetes Pod name.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Kubernetes Pod name.

string name = 2;

Returns
TypeDescription
ByteString

The bytes for name.

getNs()

public abstract String getNs()

Kubernetes Pod namespace.

string ns = 1;

Returns
TypeDescription
String

The ns.

getNsBytes()

public abstract ByteString getNsBytes()

Kubernetes Pod namespace.

string ns = 1;

Returns
TypeDescription
ByteString

The bytes for ns.