Package k8s.io.api.core.v1
Interface Generated.AppArmorProfileOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.AppArmorProfile,Generated.AppArmorProfile.Builder
- Enclosing class:
- Generated
public static interface Generated.AppArmorProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLocalhostProfile()localhostProfile indicates a profile loaded on the node that should be used.com.google.protobuf.ByteStringgetLocalhostProfileBytes()localhostProfile indicates a profile loaded on the node that should be used.StringgetType()type indicates which kind of AppArmor profile will be applied.com.google.protobuf.ByteStringgetTypeBytes()type indicates which kind of AppArmor profile will be applied.booleanhasLocalhostProfile()localhostProfile indicates a profile loaded on the node that should be used.booleanhasType()type indicates which kind of AppArmor 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 AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement. +unionDiscriminator
optional string type = 1;- Returns:
- Whether the type field is set.
-
getType
String getType()
type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement. +unionDiscriminator
optional string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement. +unionDiscriminator
optional string type = 1;- Returns:
- The bytes for type.
-
hasLocalhostProfile
boolean hasLocalhostProfile()
localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is "Localhost". +optional
optional string localhostProfile = 2;- Returns:
- Whether the localhostProfile field is set.
-
getLocalhostProfile
String getLocalhostProfile()
localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is "Localhost". +optional
optional string localhostProfile = 2;- Returns:
- The localhostProfile.
-
getLocalhostProfileBytes
com.google.protobuf.ByteString getLocalhostProfileBytes()
localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is "Localhost". +optional
optional string localhostProfile = 2;- Returns:
- The bytes for localhostProfile.
-
-