Interface GenericFlowAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
AddFlowCaseData
,AddFlowInput
,BatchAddFlows
,BatchFlowInputGrouping
,BatchRemoveFlows
,BulkFlowBaseContentGrouping
,BulkFlowDsItem
,BulkFlowItem
,FlatBatchAddFlow
,FlatBatchRemoveFlow
,Flow
,Flow
,FlowAdded
,FlowAggregateStats
,FlowAndStatisticsMap
,FlowAndStatisticsMapList
,FlowMessage
,FlowModRemoved
,FlowRemoved
,FlowStats
,FlowUpdated
,GetAggregateFlowStatisticsFromFlowTableForGivenMatchInput
,GetFlowStatisticsFromFlowTableInput
,GetFlowStatisticsInput
,NodeFlow
,NodeFlowRemoved
,OriginalBatchedFlow
,OriginalFlow
,RemoveFlowCaseData
,RemoveFlowInput
,StaleFlow
,SwitchFlowRemoved
,UpdatedBatchedFlow
,UpdatedFlow
,UpdateFlowCaseData
@Generated("mdsal-binding-generator") public interface GenericFlowAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-flow-types
grouping generic_flow_attributes { leaf priority { type uint16; } leaf idle-timeout { type uint16; } leaf hard-timeout { type uint16; } leaf cookie { type flow-cookie; } leaf table_id { type uint8; } }
-
-
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 FlowCookie
getCookie()
Return cookie, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getHardTimeout()
Return hardTimeout, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getIdleTimeout()
Return idleTimeout, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getPriority()
Return priority, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getTableId()
Return tableId, ornull
if it is not present.Class<? extends GenericFlowAttributes>
implementedInterface()
default @NonNull FlowCookie
requireCookie()
Return cookie, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
requireHardTimeout()
Return hardTimeout, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
requireIdleTimeout()
Return idleTimeout, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
requirePriority()
Return priority, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
requireTableId()
Return tableId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends GenericFlowAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPriority
org.opendaylight.yangtools.yang.common.Uint16 getPriority()
Return priority, ornull
if it is not present.- Returns:
Uint16
priority, ornull
if it is not present.
-
requirePriority
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requirePriority()
Return priority, guaranteed to be non-null.- Returns:
Uint16
priority, guaranteed to be non-null.- Throws:
NoSuchElementException
- if priority is not present
-
getIdleTimeout
org.opendaylight.yangtools.yang.common.Uint16 getIdleTimeout()
Return idleTimeout, ornull
if it is not present.- Returns:
Uint16
idleTimeout, ornull
if it is not present.
-
requireIdleTimeout
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireIdleTimeout()
Return idleTimeout, guaranteed to be non-null.- Returns:
Uint16
idleTimeout, guaranteed to be non-null.- Throws:
NoSuchElementException
- if idleTimeout is not present
-
getHardTimeout
org.opendaylight.yangtools.yang.common.Uint16 getHardTimeout()
Return hardTimeout, ornull
if it is not present.- Returns:
Uint16
hardTimeout, ornull
if it is not present.
-
requireHardTimeout
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireHardTimeout()
Return hardTimeout, guaranteed to be non-null.- Returns:
Uint16
hardTimeout, guaranteed to be non-null.- Throws:
NoSuchElementException
- if hardTimeout is not present
-
getCookie
FlowCookie getCookie()
Return cookie, ornull
if it is not present.- Returns:
FlowCookie
cookie, ornull
if it is not present.
-
requireCookie
default @NonNull FlowCookie requireCookie()
Return cookie, guaranteed to be non-null.- Returns:
FlowCookie
cookie, guaranteed to be non-null.- Throws:
NoSuchElementException
- if cookie is not present
-
getTableId
org.opendaylight.yangtools.yang.common.Uint8 getTableId()
Return tableId, ornull
if it is not present.- Returns:
Uint8
tableId, ornull
if it is not present.
-
requireTableId
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireTableId()
Return tableId, guaranteed to be non-null.- Returns:
Uint8
tableId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if tableId is not present
-
-