Class Kubernetes.Pod (2.12.0)

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

Kubernetes Pod.

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

Static Fields

CONTAINERS_FIELD_NUMBER

public static final int CONTAINERS_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NS_FIELD_NUMBER

public static final int NS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Kubernetes.Pod getDefaultInstance()
Returns
TypeDescription
Kubernetes.Pod

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Kubernetes.Pod.Builder newBuilder()
Returns
TypeDescription
Kubernetes.Pod.Builder

newBuilder(Kubernetes.Pod prototype)

public static Kubernetes.Pod.Builder newBuilder(Kubernetes.Pod prototype)
Parameter
NameDescription
prototypeKubernetes.Pod
Returns
TypeDescription
Kubernetes.Pod.Builder

parseDelimitedFrom(InputStream input)

public static Kubernetes.Pod parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Kubernetes.Pod parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Kubernetes.Pod parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Kubernetes.Pod parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Kubernetes.Pod parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Kubernetes.Pod parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Kubernetes.Pod parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Kubernetes.Pod
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Container

getContainersCount()

public int getContainersCount()

Pod containers associated with this finding, if any.

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

Returns
TypeDescription
int

getContainersList()

public List<Container> getContainersList()

Pod containers associated with this finding, if any.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ContainerOrBuilder

getContainersOrBuilderList()

public List<? extends ContainerOrBuilder> getContainersOrBuilderList()

Pod containers associated with this finding, if any.

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

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

getDefaultInstanceForType()

public Kubernetes.Pod getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.LabelOrBuilder>

getName()

public String getName()

Kubernetes Pod name.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Kubernetes Pod name.

string name = 2;

Returns
TypeDescription
ByteString

The bytes for name.

getNs()

public String getNs()

Kubernetes Pod namespace.

string ns = 1;

Returns
TypeDescription
String

The ns.

getNsBytes()

public ByteString getNsBytes()

Kubernetes Pod namespace.

string ns = 1;

Returns
TypeDescription
ByteString

The bytes for ns.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Kubernetes.Pod.Builder newBuilderForType()
Returns
TypeDescription
Kubernetes.Pod.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Kubernetes.Pod.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Kubernetes.Pod.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Kubernetes.Pod.Builder toBuilder()
Returns
TypeDescription
Kubernetes.Pod.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException