Interface PacketOut$G
-
- All Superinterfaces:
ActionsGrouping
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,OfHeader
- All Known Subinterfaces:
PacketOutInput
@Generated("mdsal-binding-generator") public interface PacketOut$G extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader, ActionsGrouping
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping packet-out { uses ofHeader; uses ofaction:actions-grouping; leaf data { type binary; } leaf buffer-id { type uint32; } leaf in-port { type oft:port-number; } }
-
-
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
getBufferId()
Return bufferId, ornull
if it is not present.byte[]
getData()
Return data, ornull
if it is not present.PortNumber
getInPort()
Return inPort, ornull
if it is not present.Class<? extends PacketOut$G>
implementedInterface()
default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireBufferId()
Return bufferId, guaranteed to be non-null.default byte @NonNull []
requireData()
Return data, guaranteed to be non-null.default @NonNull PortNumber
requireInPort()
Return inPort, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.ActionsGrouping
getAction, nonnullAction
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid, requireVersion, requireXid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends PacketOut$G> implementedInterface()
- Specified by:
implementedInterface
in interfaceActionsGrouping
- 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
-
getData
byte[] getData()
Return data, ornull
if it is not present.- Returns:
byte[]
data, ornull
if it is not present.
-
requireData
default byte @NonNull [] requireData()
Return data, guaranteed to be non-null.- Returns:
byte[]
data, guaranteed to be non-null.- Throws:
NoSuchElementException
- if data is not present
-
getBufferId
org.opendaylight.yangtools.yang.common.Uint32 getBufferId()
Return bufferId, ornull
if it is not present.- Returns:
Uint32
bufferId, ornull
if it is not present.
-
requireBufferId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBufferId()
Return bufferId, guaranteed to be non-null.- Returns:
Uint32
bufferId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if bufferId is not present
-
getInPort
PortNumber getInPort()
Return inPort, ornull
if it is not present.- Returns:
PortNumber
inPort, ornull
if it is not present.
-
requireInPort
default @NonNull PortNumber requireInPort()
Return inPort, guaranteed to be non-null.- Returns:
PortNumber
inPort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if inPort is not present
-
-