Class Kubernetes.Pod (2.52.0)

public static final class Kubernetes.Pod extends GeneratedMessageV3 implements Kubernetes.PodOrBuilder

A Kubernetes Pod.

Protobuf type google.cloud.securitycenter.v1.Kubernetes.Pod

Static Fields

CONTAINERS_FIELD_NUMBER

public static final int CONTAINERS_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_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.Pod getDefaultInstance()
Returns
Type Description
Kubernetes.Pod

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Kubernetes.Pod.Builder newBuilder()
Returns
Type Description
Kubernetes.Pod.Builder

newBuilder(Kubernetes.Pod prototype)

public static Kubernetes.Pod.Builder newBuilder(Kubernetes.Pod prototype)
Parameter
Name Description
prototype Kubernetes.Pod
Returns
Type Description
Kubernetes.Pod.Builder

parseDelimitedFrom(InputStream input)

public static Kubernetes.Pod parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Kubernetes.Pod parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Kubernetes.Pod parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Kubernetes.Pod parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Kubernetes.Pod parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Kubernetes.Pod parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Kubernetes.Pod
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Kubernetes.Pod> parser()
Returns
Type Description
Parser<Pod>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContainers(int index)

public Container getContainers(int index)

Pod containers associated with this finding, if any.

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

Parameter
Name Description
index int
Returns
Type Description
Container

getContainersCount()

public int getContainersCount()

Pod containers associated with this finding, if any.

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

Returns
Type Description
int

getContainersList()

public List<Container> getContainersList()

Pod containers associated with this finding, if any.

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

Returns
Type Description
List<Container>

getContainersOrBuilder(int index)

public ContainerOrBuilder getContainersOrBuilder(int index)

Pod containers associated with this finding, if any.

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

Parameter
Name Description
index int
Returns
Type Description
ContainerOrBuilder

getContainersOrBuilderList()

public List<? extends ContainerOrBuilder> getContainersOrBuilderList()

Pod containers associated with this finding, if any.

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

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

getDefaultInstanceForType()

public Kubernetes.Pod getDefaultInstanceForType()
Returns
Type Description
Kubernetes.Pod

getLabels(int index)

public Label getLabels(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
Label

getLabelsCount()

public int getLabelsCount()

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

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

Returns
Type Description
int

getLabelsList()

public List<Label> getLabelsList()

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

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

Returns
Type Description
List<Label>

getLabelsOrBuilder(int index)

public LabelOrBuilder getLabelsOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
LabelOrBuilder

getLabelsOrBuilderList()

public List<? extends LabelOrBuilder> getLabelsOrBuilderList()

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

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

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

getName()

public String getName()

Kubernetes Pod name.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Kubernetes Pod name.

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

getNs()

public String getNs()

Kubernetes Pod namespace.

string ns = 1;

Returns
Type Description
String

The ns.

getNsBytes()

public ByteString getNsBytes()

Kubernetes Pod namespace.

string ns = 1;

Returns
Type Description
ByteString

The bytes for ns.

getParserForType()

public Parser<Kubernetes.Pod> getParserForType()
Returns
Type Description
Parser<Pod>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Kubernetes.Pod.Builder newBuilderForType()
Returns
Type Description
Kubernetes.Pod.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Kubernetes.Pod.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Kubernetes.Pod.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Kubernetes.Pod.Builder toBuilder()
Returns
Type Description
Kubernetes.Pod.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException