Interface QueuePacket
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,CommonQueue
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NodeQueue
,PacketQueues
,Queue
@Generated("mdsal-binding-generator") public interface QueuePacket extends org.opendaylight.yangtools.yang.binding.DataObject, CommonQueue
Openflow queue description structure.This class represents the following YANG schema fragment defined in module opendaylight-queue-types
grouping queue-packet { leaf queue-id { type queue-id; } leaf port { type uint32; } uses common-queue; }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32
getPort()
Return port, ornull
if it is not present.QueueId
getQueueId()
Return queueId, ornull
if it is not present.Class<? extends QueuePacket>
implementedInterface()
default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requirePort()
Return port, guaranteed to be non-null.default @NonNull QueueId
requireQueueId()
Return queueId, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.queue.rev130925.CommonQueue
getProperty, requireProperty
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends QueuePacket> implementedInterface()
- Specified by:
implementedInterface
in interfaceCommonQueue
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getQueueId
QueueId getQueueId()
Return queueId, ornull
if it is not present.id for the specific queue.
- Returns:
QueueId
queueId, ornull
if it is not present.
-
requireQueueId
default @NonNull QueueId requireQueueId()
Return queueId, guaranteed to be non-null.id for the specific queue.
- Returns:
QueueId
queueId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if queueId is not present
-
getPort
org.opendaylight.yangtools.yang.common.Uint32 getPort()
Return port, ornull
if it is not present.Port this queue is attached to.
- Returns:
Uint32
port, ornull
if it is not present.
-
requirePort
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requirePort()
Return port, guaranteed to be non-null.Port this queue is attached to.
- Returns:
Uint32
port, guaranteed to be non-null.- Throws:
NoSuchElementException
- if port is not present
-
-