Interface QueueGetConfigReply
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping,OfHeader
- All Known Subinterfaces:
GetQueueConfigOutput
@Generated("mdsal-binding-generator")
public interface QueueGetConfigReply
extends org.opendaylight.yangtools.binding.Grouping, 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;
}
}
-
Method Summary
Modifier and TypeMethodDescriptiongetPort()Return port, ornullif it is not present.Return queues, ornullif it is not present.Return queues, or an empty list if it is not present.default @NonNull PortNumberReturn port, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterfaceMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid, requireVersion, requireXid
-
Method Details
-
getPort
PortNumber getPort()Return port, ornullif it is not present.- Returns:
PortNumberport, ornullif it is not present.
-
requirePort
Return port, guaranteed to be non-null.- Returns:
PortNumberport, guaranteed to be non-null.- Throws:
NoSuchElementException- if port is not present
-
getQueues
Return queues, ornullif it is not present.- Returns:
List<Queues>queues, ornullif it is not present.
-
nonnullQueues
Return queues, or an empty list if it is not present.- Returns:
List<Queues>queues, or an empty list if it is not present.
-