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
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NS_FIELD_NUMBER
public static final int NS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Kubernetes.Pod getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Kubernetes.Pod.Builder newBuilder()
Returns
newBuilder(Kubernetes.Pod prototype)
public static Kubernetes.Pod.Builder newBuilder(Kubernetes.Pod prototype)
Parameter
Returns
public static Kubernetes.Pod parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Kubernetes.Pod parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Kubernetes.Pod parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.Pod parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Kubernetes.Pod parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.Pod parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Kubernetes.Pod parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Kubernetes.Pod parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Kubernetes.Pod parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Kubernetes.Pod parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Kubernetes.Pod parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.Pod parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Kubernetes.Pod> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
getContainersCount()
public int getContainersCount()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Returns
getContainersList()
public List<Container> getContainersList()
Pod containers associated with this finding, if any.
repeated .google.cloud.securitycenter.v1.Container containers = 4;
Returns
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
Returns
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
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
Returns
getLabelsCount()
public int getLabelsCount()
Pod labels. For Kubernetes containers, these are applied to the
container.
repeated .google.cloud.securitycenter.v1.Label labels = 3;
Returns
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
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
Returns
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()
Kubernetes Pod name.
string name = 2;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Kubernetes Pod name.
string name = 2;
Returns
getNs()
Kubernetes Pod namespace.
string ns = 1;
Returns
getNsBytes()
public ByteString getNsBytes()
Kubernetes Pod namespace.
string ns = 1;
Returns
getParserForType()
public Parser<Kubernetes.Pod> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Kubernetes.Pod.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Kubernetes.Pod.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Kubernetes.Pod.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions