Class UpfApplication

  • All Implemented Interfaces:
    UpfEntity

    @Beta
    public final class UpfApplication
    extends Object
    implements UpfEntity
    A structure representing the application filtering for the UPF-programmable device.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • ip4Prefix

        public Optional<Ip4Prefix> ip4Prefix()
        Gets the IPv4 prefix of this UPF application rule.
        Returns:
        The IPv4 prefix, Empty if none.
      • l4PortRange

        public Optional<com.google.common.collect.Range<Short>> l4PortRange()
        Gets the L4 port range of this application filtering rule.
        Returns:
        A bounded range of L4 port
      • ipProto

        public Optional<Byte> ipProto()
        Gets the IP protocol field value of this UPF application rule.
        Returns:
        IP protocol field, Empty if none
      • appId

        public byte appId()
        Get the application ID of this UPF application rule.
        Returns:
        Application ID
      • priority

        public int priority()
        Get the priority of this UPF application rule.
        Returns:
        Priority
      • type

        public UpfEntityType type()
        Description copied from interface: UpfEntity
        Returns the type of this entity.
        Specified by:
        type in interface UpfEntity
        Returns:
        entity type