All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
TcpMatch

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

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

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

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

    Modifier and Type
    Method
    Description
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return tcpDestinationPort, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return tcpDestinationPortMask, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return tcpSourcePort, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return tcpSourcePortMask, or null if it is not present.
     
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return tcpDestinationPort, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return tcpDestinationPortMask, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return tcpSourcePort, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return tcpSourcePortMask, guaranteed to be non-null.
  • Field Details

    • QNAME

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

    • implementedInterface

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

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getTcpSourcePort()
      Return tcpSourcePort, or null if it is not present.
           
               TCP source port.
           
       
      Returns:
      PortNumber tcpSourcePort, or null if it is not present.
    • requireTcpSourcePort

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

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

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

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getTcpDestinationPort()
      Return tcpDestinationPort, or null if it is not present.
           
               TCP destination port.
           
       
      Returns:
      PortNumber tcpDestinationPort, or null if it is not present.
    • requireTcpDestinationPort

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

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

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