Package k8s.io.api.core.v1
Interface Generated.SeccompProfileOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.SeccompProfile,Generated.SeccompProfile.Builder
- Enclosing class:
- Generated
public static interface Generated.SeccompProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLocalhostProfile()localhostProfile indicates a profile defined in a file on the node should be used.com.google.protobuf.ByteStringgetLocalhostProfileBytes()localhostProfile indicates a profile defined in a file on the node should be used.StringgetType()type indicates which kind of seccomp profile will be applied.com.google.protobuf.ByteStringgetTypeBytes()type indicates which kind of seccomp profile will be applied.booleanhasLocalhostProfile()localhostProfile indicates a profile defined in a file on the node should be used.booleanhasType()type indicates which kind of seccomp profile will be applied.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasType
boolean hasType()
type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. +unionDiscriminator
optional string type = 1;- Returns:
- Whether the type field is set.
-
getType
String getType()
type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. +unionDiscriminator
optional string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
type indicates which kind of seccomp profile will be applied. Valid options are: Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. +unionDiscriminator
optional string type = 1;- Returns:
- The bytes for type.
-
hasLocalhostProfile
boolean hasLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. +optional
optional string localhostProfile = 2;- Returns:
- Whether the localhostProfile field is set.
-
getLocalhostProfile
String getLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. +optional
optional string localhostProfile = 2;- Returns:
- The localhostProfile.
-
getLocalhostProfileBytes
com.google.protobuf.ByteString getLocalhostProfileBytes()
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type. +optional
optional string localhostProfile = 2;- Returns:
- The bytes for localhostProfile.
-
-