Interface FlowModRemoved
- All Superinterfaces:
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
,GenericFlowAttributes
- All Known Subinterfaces:
NodeFlowRemoved
,SwitchFlowRemoved
@Generated("mdsal-binding-generator")
public interface FlowModRemoved
extends org.opendaylight.yangtools.yang.binding.DataObject, GenericFlowAttributes
This class represents the following YANG schema fragment defined in module opendaylight-flow-types
grouping flow-mod-removed { uses generic_flow_attributes; leaf removed_reason { type removed-flow-reason; } leaf duration_nsec { type uint32; } leaf duration_sec { type uint32; } leaf packet_count { type uint64; } leaf byte_count { type uint64; } container match { uses match:match; } }
-
Field Summary
FieldsModifier 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.Uint64
Return byteCount, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return durationNsec, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return durationSec, ornull
if it is not present.getMatch()
Return match, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return packetCount, ornull
if it is not present.Return removedReason, ornull
if it is not present.Class<? extends FlowModRemoved>
default @NonNull org.opendaylight.yangtools.yang.common.Uint64
Return byteCount, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return durationNsec, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return durationSec, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64
Return packetCount, guaranteed to be non-null.default @NonNull RemovedFlowReason
Return removedReason, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes
getCookie, getHardTimeout, getIdleTimeout, getPriority, getTableId, requireCookie, requireHardTimeout, requireIdleTimeout, requirePriority, requireTableId
-
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 FlowModRemoved> implementedInterface()- 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 interfaceGenericFlowAttributes
-
getRemovedReason
RemovedFlowReason getRemovedReason()Return removedReason, ornull
if it is not present.- Returns:
RemovedFlowReason
removedReason, ornull
if it is not present.
-
requireRemovedReason
Return removedReason, guaranteed to be non-null.- Returns:
RemovedFlowReason
removedReason, guaranteed to be non-null.- Throws:
NoSuchElementException
- if removedReason is not present
-
getDurationNsec
org.opendaylight.yangtools.yang.common.Uint32 getDurationNsec()Return durationNsec, ornull
if it is not present.- Returns:
Uint32
durationNsec, ornull
if it is not present.
-
requireDurationNsec
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireDurationNsec()Return durationNsec, guaranteed to be non-null.- Returns:
Uint32
durationNsec, guaranteed to be non-null.- Throws:
NoSuchElementException
- if durationNsec is not present
-
getDurationSec
org.opendaylight.yangtools.yang.common.Uint32 getDurationSec()Return durationSec, ornull
if it is not present.- Returns:
Uint32
durationSec, ornull
if it is not present.
-
requireDurationSec
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireDurationSec()Return durationSec, guaranteed to be non-null.- Returns:
Uint32
durationSec, guaranteed to be non-null.- Throws:
NoSuchElementException
- if durationSec is not present
-
getPacketCount
org.opendaylight.yangtools.yang.common.Uint64 getPacketCount()Return packetCount, ornull
if it is not present.- Returns:
Uint64
packetCount, ornull
if it is not present.
-
requirePacketCount
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requirePacketCount()Return packetCount, guaranteed to be non-null.- Returns:
Uint64
packetCount, guaranteed to be non-null.- Throws:
NoSuchElementException
- if packetCount is not present
-
getByteCount
org.opendaylight.yangtools.yang.common.Uint64 getByteCount()Return byteCount, ornull
if it is not present.- Returns:
Uint64
byteCount, ornull
if it is not present.
-
requireByteCount
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireByteCount()Return byteCount, guaranteed to be non-null.- Returns:
Uint64
byteCount, guaranteed to be non-null.- Throws:
NoSuchElementException
- if byteCount is not present
-
getMatch
Match getMatch()Return match, ornull
if it is not present.- Returns:
Match
match, ornull
if it is not present.
-