Interface UdpMatchFields
- 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:
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
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 udpDestinationPort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return udpDestinationPortMask, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return udpSourcePort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return udpSourcePortMask, ornull
if it is not present.Class<? extends UdpMatchFields>
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
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
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
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
Return udpSourcePortMask, 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 UdpMatchFields> 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
-
getUdpSourcePort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getUdpSourcePort()Return udpSourcePort, ornull
if it is not present.UDP source port.
- Returns:
PortNumber
udpSourcePort, ornull
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, ornull
if it is not present.UDP source port mask.
- Returns:
PortNumber
udpSourcePortMask, ornull
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, ornull
if it is not present.UDP destination port.
- Returns:
PortNumber
udpDestinationPort, ornull
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, ornull
if it is not present.UDP destination port mask.
- Returns:
PortNumber
udpDestinationPortMask, ornull
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
-