Interface QueueGetConfigReply
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,OfHeader
- All Known Subinterfaces:
GetQueueConfigOutput
@Generated("mdsal-binding-generator") public interface QueueGetConfigReply extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping queue-get-config-reply { uses ofHeader; leaf port { type oft:port-number; } list queues { uses packet-queue; } }
The schema path to identify an instance is openflow-protocolqueue-get-config-reply
-
-
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 PortNumber
getPort()
Return port, ornull
if it is not present.@Nullable List<Queues>
getQueues()
Return queues, ornull
if it is not present.Class<? extends QueueGetConfigReply>
implementedInterface()
default @NonNull List<Queues>
nonnullQueues()
Return queues, or an empty list if it is not present.default @NonNull PortNumber
requirePort()
Return port, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid, requireVersion, requireXid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends QueueGetConfigReply> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceOfHeader
-
getPort
PortNumber getPort()
Return port, ornull
if it is not present.- Returns:
PortNumber
port, ornull
if it is not present.
-
requirePort
default @NonNull PortNumber requirePort()
Return port, guaranteed to be non-null.- Returns:
PortNumber
port, guaranteed to be non-null.- Throws:
NoSuchElementException
- if port is not present
-
getQueues
@Nullable List<Queues> getQueues()
Return queues, ornull
if it is not present.- Returns:
List<Queues>
queues, ornull
if it is not present.
-
-