Interface Generated.AppArmorProfileOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getLocalhostProfile()
      localhostProfile indicates a profile loaded on the node that should be used.
      com.google.protobuf.ByteString getLocalhostProfileBytes()
      localhostProfile indicates a profile loaded on the node that should be used.
      String getType()
      type indicates which kind of AppArmor profile will be applied.
      com.google.protobuf.ByteString getTypeBytes()
      type indicates which kind of AppArmor profile will be applied.
      boolean hasLocalhostProfile()
      localhostProfile indicates a profile loaded on the node that should be used.
      boolean hasType()
      type indicates which kind of AppArmor profile will be applied.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.