Interface TcpMatchFields
- 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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return tcpDestinationPort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return tcpDestinationPortMask, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return tcpSourcePort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return tcpSourcePortMask, ornull
if it is not present.Class<? extends TcpMatchFields>
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 QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends TcpMatchFields> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
-