Interface UdpMatchFields

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

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

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

     grouping udp-match-fields {
       leaf udp-source-port {
         type inet:port-number;
       }
       leaf udp-source-port-mask {
         type inet:port-number;
       }
       leaf udp-destination-port {
         type inet:port-number;
       }
       leaf udp-destination-port-mask {
         type inet:port-number;
       }
     }
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getUdpDestinationPort()
      Return udpDestinationPort, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getUdpDestinationPortMask()
      Return udpDestinationPortMask, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getUdpSourcePort()
      Return udpSourcePort, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getUdpSourcePortMask()
      Return udpSourcePortMask, or null if it is not present.
      Class<? extends UdpMatchFields> implementedInterface()  
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireUdpDestinationPort()
      Return udpDestinationPort, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireUdpDestinationPortMask()
      Return udpDestinationPortMask, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireUdpSourcePort()
      Return udpSourcePort, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireUdpSourcePortMask()
      Return udpSourcePortMask, guaranteed to be non-null.
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getUdpSourcePort()
        Return udpSourcePort, or null if it is not present.
             
                 UDP source port.
             
         
        Returns:
        PortNumber udpSourcePort, or null if it is not present.
      • requireUdpSourcePort

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireUdpSourcePort()
        Return udpSourcePort, guaranteed to be non-null.
             
                 UDP source port.
             
         
        Returns:
        PortNumber udpSourcePort, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if udpSourcePort is not present
      • getUdpSourcePortMask

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getUdpSourcePortMask()
        Return udpSourcePortMask, or null if it is not present.
             
                 UDP source port mask.
             
         
        Returns:
        PortNumber udpSourcePortMask, or null if it is not present.
      • requireUdpSourcePortMask

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireUdpSourcePortMask()
        Return udpSourcePortMask, guaranteed to be non-null.
             
                 UDP source port mask.
             
         
        Returns:
        PortNumber udpSourcePortMask, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if udpSourcePortMask is not present
      • getUdpDestinationPort

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getUdpDestinationPort()
        Return udpDestinationPort, or null if it is not present.
             
                 UDP destination port.
             
         
        Returns:
        PortNumber udpDestinationPort, or null if it is not present.
      • requireUdpDestinationPort

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireUdpDestinationPort()
        Return udpDestinationPort, guaranteed to be non-null.
             
                 UDP destination port.
             
         
        Returns:
        PortNumber udpDestinationPort, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if udpDestinationPort is not present
      • getUdpDestinationPortMask

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getUdpDestinationPortMask()
        Return udpDestinationPortMask, or null if it is not present.
             
                 UDP destination port mask.
             
         
        Returns:
        PortNumber udpDestinationPortMask, or null if it is not present.
      • requireUdpDestinationPortMask

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireUdpDestinationPortMask()
        Return udpDestinationPortMask, guaranteed to be non-null.
             
                 UDP destination port mask.
             
         
        Returns:
        PortNumber udpDestinationPortMask, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if udpDestinationPortMask is not present