Interface PacketOut$G
- All Superinterfaces:
ActionsGrouping
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32
Return bufferId, ornull
if it is not present.byte[]
getData()
Return data, ornull
if it is not present.Return inPort, ornull
if it is not present.Class<? extends PacketOut$G>
default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return bufferId, guaranteed to be non-null.default byte @NonNull []
Return data, guaranteed to be non-null.default @NonNull PortNumber
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
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends PacketOut$G> implementedInterface()- Specified by:
implementedInterface
in interfaceActionsGrouping
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
Return inPort, guaranteed to be non-null.- Returns:
PortNumber
inPort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if inPort is not present
-