Interface TcpMatchFields
-
- All Superinterfaces:
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; } }
The schema path to identify an instance is opendaylight-match-typestcp-match-fields
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
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
getTcpDestinationPort()
Return tcpDestinationPort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
getTcpDestinationPortMask()
Return tcpDestinationPortMask, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
getTcpSourcePort()
Return tcpSourcePort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
getTcpSourcePortMask()
Return tcpSourcePortMask, ornull
if it is not present.Class<? extends TcpMatchFields>
implementedInterface()
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.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.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.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.
-
-
-
Method Detail
-
implementedInterface
Class<? extends TcpMatchFields> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.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, ornull
if it is not present.TCP source port.
- Returns:
PortNumber
tcpSourcePort, ornull
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, ornull
if it is not present.TCP source port mask.
- Returns:
PortNumber
tcpSourcePortMask, ornull
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, ornull
if it is not present.TCP destination port.
- Returns:
PortNumber
tcpDestinationPort, ornull
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, ornull
if it is not present.TCP destination port mask.
- Returns:
PortNumber
tcpDestinationPortMask, ornull
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
-
-