Package io.kubernetes.client.proto
Class V1.PodSecurityContext
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.PodSecurityContext
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.PodSecurityContextOrBuilder
,Serializable
- Enclosing class:
- V1
public static final class V1.PodSecurityContext
extends com.google.protobuf.GeneratedMessageV3
implements V1.PodSecurityContextOrBuilder
PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.Protobuf type
k8s.io.api.core.v1.PodSecurityContext
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
PodSecurityContext holds pod-level security attributes and common container settings.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final com.google.protobuf.Parser<V1.PodSecurityContext>
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1.PodSecurityContext
static final com.google.protobuf.Descriptors.Descriptor
long
A special supplemental group that applies to all containers in a pod.fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod.com.google.protobuf.ByteString
fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod.com.google.protobuf.Parser<V1.PodSecurityContext>
long
The GID to run the entrypoint of the container process.boolean
Indicates that the container must run as a non-root user.long
The UID to run the entrypoint of the container process.The seccomp options to use by the containers in this pod.The seccomp options to use by the containers in this pod.The SELinux context to be applied to all containers.The SELinux context to be applied to all containers.int
long
getSupplementalGroups
(int index) A list of groups applied to the first process run in each container, in addition to the container's primary GID.int
A list of groups applied to the first process run in each container, in addition to the container's primary GID.A list of groups applied to the first process run in each container, in addition to the container's primary GID.getSysctls
(int index) Sysctls hold a list of namespaced sysctls used for the pod.int
Sysctls hold a list of namespaced sysctls used for the pod.Sysctls hold a list of namespaced sysctls used for the pod.getSysctlsOrBuilder
(int index) Sysctls hold a list of namespaced sysctls used for the pod.List<? extends V1.SysctlOrBuilder>
Sysctls hold a list of namespaced sysctls used for the pod.final com.google.protobuf.UnknownFieldSet
The Windows specific settings applied to all containers.The Windows specific settings applied to all containers.boolean
A special supplemental group that applies to all containers in a pod.boolean
fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod.int
hashCode()
boolean
The GID to run the entrypoint of the container process.boolean
Indicates that the container must run as a non-root user.boolean
The UID to run the entrypoint of the container process.boolean
The seccomp options to use by the containers in this pod.boolean
The SELinux context to be applied to all containers.boolean
The Windows specific settings applied to all containers.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(V1.PodSecurityContext prototype) protected V1.PodSecurityContext.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.PodSecurityContext
parseDelimitedFrom
(InputStream input) static V1.PodSecurityContext
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PodSecurityContext
parseFrom
(byte[] data) static V1.PodSecurityContext
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PodSecurityContext
parseFrom
(com.google.protobuf.ByteString data) static V1.PodSecurityContext
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PodSecurityContext
parseFrom
(com.google.protobuf.CodedInputStream input) static V1.PodSecurityContext
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PodSecurityContext
parseFrom
(InputStream input) static V1.PodSecurityContext
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PodSecurityContext
parseFrom
(ByteBuffer data) static V1.PodSecurityContext
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.PodSecurityContext>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
SELINUXOPTIONS_FIELD_NUMBER
public static final int SELINUXOPTIONS_FIELD_NUMBER- See Also:
-
WINDOWSOPTIONS_FIELD_NUMBER
public static final int WINDOWSOPTIONS_FIELD_NUMBER- See Also:
-
RUNASUSER_FIELD_NUMBER
public static final int RUNASUSER_FIELD_NUMBER- See Also:
-
RUNASGROUP_FIELD_NUMBER
public static final int RUNASGROUP_FIELD_NUMBER- See Also:
-
RUNASNONROOT_FIELD_NUMBER
public static final int RUNASNONROOT_FIELD_NUMBER- See Also:
-
SUPPLEMENTALGROUPS_FIELD_NUMBER
public static final int SUPPLEMENTALGROUPS_FIELD_NUMBER- See Also:
-
FSGROUP_FIELD_NUMBER
public static final int FSGROUP_FIELD_NUMBER- See Also:
-
SYSCTLS_FIELD_NUMBER
public static final int SYSCTLS_FIELD_NUMBER- See Also:
-
FSGROUPCHANGEPOLICY_FIELD_NUMBER
public static final int FSGROUPCHANGEPOLICY_FIELD_NUMBER- See Also:
-
SECCOMPPROFILE_FIELD_NUMBER
public static final int SECCOMPPROFILE_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasSeLinuxOptions
public boolean hasSeLinuxOptions()The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +optional
optional .k8s.io.api.core.v1.SELinuxOptions seLinuxOptions = 1;
- Specified by:
hasSeLinuxOptions
in interfaceV1.PodSecurityContextOrBuilder
-
getSeLinuxOptions
The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +optional
optional .k8s.io.api.core.v1.SELinuxOptions seLinuxOptions = 1;
- Specified by:
getSeLinuxOptions
in interfaceV1.PodSecurityContextOrBuilder
-
getSeLinuxOptionsOrBuilder
The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +optional
optional .k8s.io.api.core.v1.SELinuxOptions seLinuxOptions = 1;
- Specified by:
getSeLinuxOptionsOrBuilder
in interfaceV1.PodSecurityContextOrBuilder
-
hasWindowsOptions
public boolean hasWindowsOptions()The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. +optional
optional .k8s.io.api.core.v1.WindowsSecurityContextOptions windowsOptions = 8;
- Specified by:
hasWindowsOptions
in interfaceV1.PodSecurityContextOrBuilder
-
getWindowsOptions
The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. +optional
optional .k8s.io.api.core.v1.WindowsSecurityContextOptions windowsOptions = 8;
- Specified by:
getWindowsOptions
in interfaceV1.PodSecurityContextOrBuilder
-
getWindowsOptionsOrBuilder
The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux. +optional
optional .k8s.io.api.core.v1.WindowsSecurityContextOptions windowsOptions = 8;
- Specified by:
getWindowsOptionsOrBuilder
in interfaceV1.PodSecurityContextOrBuilder
-
hasRunAsUser
public boolean hasRunAsUser()The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +optional
optional int64 runAsUser = 2;
- Specified by:
hasRunAsUser
in interfaceV1.PodSecurityContextOrBuilder
-
getRunAsUser
public long getRunAsUser()The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +optional
optional int64 runAsUser = 2;
- Specified by:
getRunAsUser
in interfaceV1.PodSecurityContextOrBuilder
-
hasRunAsGroup
public boolean hasRunAsGroup()The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +optional
optional int64 runAsGroup = 6;
- Specified by:
hasRunAsGroup
in interfaceV1.PodSecurityContextOrBuilder
-
getRunAsGroup
public long getRunAsGroup()The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. +optional
optional int64 runAsGroup = 6;
- Specified by:
getRunAsGroup
in interfaceV1.PodSecurityContextOrBuilder
-
hasRunAsNonRoot
public boolean hasRunAsNonRoot()Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional
optional bool runAsNonRoot = 3;
- Specified by:
hasRunAsNonRoot
in interfaceV1.PodSecurityContextOrBuilder
-
getRunAsNonRoot
public boolean getRunAsNonRoot()Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional
optional bool runAsNonRoot = 3;
- Specified by:
getRunAsNonRoot
in interfaceV1.PodSecurityContextOrBuilder
-
getSupplementalGroupsList
A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows. +optional
repeated int64 supplementalGroups = 4;
- Specified by:
getSupplementalGroupsList
in interfaceV1.PodSecurityContextOrBuilder
-
getSupplementalGroupsCount
public int getSupplementalGroupsCount()A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows. +optional
repeated int64 supplementalGroups = 4;
- Specified by:
getSupplementalGroupsCount
in interfaceV1.PodSecurityContextOrBuilder
-
getSupplementalGroups
public long getSupplementalGroups(int index) A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows. +optional
repeated int64 supplementalGroups = 4;
- Specified by:
getSupplementalGroups
in interfaceV1.PodSecurityContextOrBuilder
-
hasFsGroup
public boolean hasFsGroup()A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows. +optional
optional int64 fsGroup = 5;
- Specified by:
hasFsGroup
in interfaceV1.PodSecurityContextOrBuilder
-
getFsGroup
public long getFsGroup()A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows. +optional
optional int64 fsGroup = 5;
- Specified by:
getFsGroup
in interfaceV1.PodSecurityContextOrBuilder
-
getSysctlsList
Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. +optional
repeated .k8s.io.api.core.v1.Sysctl sysctls = 7;
- Specified by:
getSysctlsList
in interfaceV1.PodSecurityContextOrBuilder
-
getSysctlsOrBuilderList
Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. +optional
repeated .k8s.io.api.core.v1.Sysctl sysctls = 7;
- Specified by:
getSysctlsOrBuilderList
in interfaceV1.PodSecurityContextOrBuilder
-
getSysctlsCount
public int getSysctlsCount()Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. +optional
repeated .k8s.io.api.core.v1.Sysctl sysctls = 7;
- Specified by:
getSysctlsCount
in interfaceV1.PodSecurityContextOrBuilder
-
getSysctls
Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. +optional
repeated .k8s.io.api.core.v1.Sysctl sysctls = 7;
- Specified by:
getSysctls
in interfaceV1.PodSecurityContextOrBuilder
-
getSysctlsOrBuilder
Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. +optional
repeated .k8s.io.api.core.v1.Sysctl sysctls = 7;
- Specified by:
getSysctlsOrBuilder
in interfaceV1.PodSecurityContextOrBuilder
-
hasFsGroupChangePolicy
public boolean hasFsGroupChangePolicy()fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. Note that this field cannot be set when spec.os.name is windows. +optional
optional string fsGroupChangePolicy = 9;
- Specified by:
hasFsGroupChangePolicy
in interfaceV1.PodSecurityContextOrBuilder
-
getFsGroupChangePolicy
fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. Note that this field cannot be set when spec.os.name is windows. +optional
optional string fsGroupChangePolicy = 9;
- Specified by:
getFsGroupChangePolicy
in interfaceV1.PodSecurityContextOrBuilder
-
getFsGroupChangePolicyBytes
public com.google.protobuf.ByteString getFsGroupChangePolicyBytes()fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. Note that this field cannot be set when spec.os.name is windows. +optional
optional string fsGroupChangePolicy = 9;
- Specified by:
getFsGroupChangePolicyBytes
in interfaceV1.PodSecurityContextOrBuilder
-
hasSeccompProfile
public boolean hasSeccompProfile()The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. +optional
optional .k8s.io.api.core.v1.SeccompProfile seccompProfile = 10;
- Specified by:
hasSeccompProfile
in interfaceV1.PodSecurityContextOrBuilder
-
getSeccompProfile
The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. +optional
optional .k8s.io.api.core.v1.SeccompProfile seccompProfile = 10;
- Specified by:
getSeccompProfile
in interfaceV1.PodSecurityContextOrBuilder
-
getSeccompProfileOrBuilder
The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows. +optional
optional .k8s.io.api.core.v1.SeccompProfile seccompProfile = 10;
- Specified by:
getSeccompProfileOrBuilder
in interfaceV1.PodSecurityContextOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1.PodSecurityContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PodSecurityContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PodSecurityContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PodSecurityContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PodSecurityContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PodSecurityContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1.PodSecurityContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1.PodSecurityContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1.PodSecurityContext parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1.PodSecurityContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.PodSecurityContext.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-