Interface FlowModRemoved

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, GenericFlowAttributes
    All Known Subinterfaces:
    NodeFlowRemoved, SwitchFlowRemoved

    @Generated("mdsal-binding-generator")
    public interface FlowModRemoved
    extends org.opendaylight.yangtools.yang.binding.DataObject, GenericFlowAttributes

    This class represents the following YANG schema fragment defined in module opendaylight-flow-types

     grouping flow-mod-removed {
       uses generic_flow_attributes;
       leaf removed_reason {
         type removed-flow-reason;
       }
       leaf duration_nsec {
         type uint32;
       }
       leaf duration_sec {
         type uint32;
       }
       leaf packet_count {
         type uint64;
       }
       leaf byte_count {
         type uint64;
       }
       container match {
         uses match:match;
       }
     }
     
    The schema path to identify an instance is opendaylight-flow-typesflow-mod-removed
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends FlowModRemoved> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface GenericFlowAttributes
      • getRemovedReason

        RemovedFlowReason getRemovedReason()
        Return removedReason, or null if it is not present.
        Returns:
        RemovedFlowReason removedReason, or null if it is not present.
      • requireRemovedReason

        default @NonNull RemovedFlowReason requireRemovedReason()
        Return removedReason, guaranteed to be non-null.
        Returns:
        RemovedFlowReason removedReason, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if removedReason is not present
      • getDurationNsec

        org.opendaylight.yangtools.yang.common.Uint32 getDurationNsec()
        Return durationNsec, or null if it is not present.
        Returns:
        Uint32 durationNsec, or null if it is not present.
      • requireDurationNsec

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireDurationNsec()
        Return durationNsec, guaranteed to be non-null.
        Returns:
        Uint32 durationNsec, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if durationNsec is not present
      • getDurationSec

        org.opendaylight.yangtools.yang.common.Uint32 getDurationSec()
        Return durationSec, or null if it is not present.
        Returns:
        Uint32 durationSec, or null if it is not present.
      • requireDurationSec

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireDurationSec()
        Return durationSec, guaranteed to be non-null.
        Returns:
        Uint32 durationSec, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if durationSec is not present
      • getPacketCount

        org.opendaylight.yangtools.yang.common.Uint64 getPacketCount()
        Return packetCount, or null if it is not present.
        Returns:
        Uint64 packetCount, or null if it is not present.
      • requirePacketCount

        default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requirePacketCount()
        Return packetCount, guaranteed to be non-null.
        Returns:
        Uint64 packetCount, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if packetCount is not present
      • getByteCount

        org.opendaylight.yangtools.yang.common.Uint64 getByteCount()
        Return byteCount, or null if it is not present.
        Returns:
        Uint64 byteCount, or null if it is not present.
      • requireByteCount

        default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireByteCount()
        Return byteCount, guaranteed to be non-null.
        Returns:
        Uint64 byteCount, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if byteCount is not present
      • getMatch

        Match getMatch()
        Return match, or null if it is not present.
        Returns:
        Match match, or null if it is not present.