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; } }
The schema path to identify an instance is opendaylight-match-typesudp-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
getUdpDestinationPort()
Return udpDestinationPort, ornull
if it is not present.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.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.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.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.
-
-
-
Method Detail
-
implementedInterface
Class<? extends UdpMatchFields> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
-
-