Interface TableMod$G
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,OfHeader
- All Known Subinterfaces:
TableModInput
@Generated("mdsal-binding-generator") public interface TableMod$G extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping table-mod { uses ofHeader; leaf table-id { type oft:table-id; } leaf config { type oft:table-config; } }
-
-
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 TableConfig
getConfig()
Return config, ornull
if it is not present.TableId
getTableId()
Return tableId, ornull
if it is not present.Class<? extends TableMod$G>
implementedInterface()
default @NonNull TableConfig
requireConfig()
Return config, guaranteed to be non-null.default @NonNull TableId
requireTableId()
Return tableId, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid, requireVersion, requireXid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends TableMod$G> implementedInterface()
- 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
-
getTableId
TableId getTableId()
Return tableId, ornull
if it is not present.- Returns:
TableId
tableId, ornull
if it is not present.
-
requireTableId
default @NonNull TableId requireTableId()
Return tableId, guaranteed to be non-null.- Returns:
TableId
tableId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if tableId is not present
-
getConfig
TableConfig getConfig()
Return config, ornull
if it is not present.- Returns:
TableConfig
config, ornull
if it is not present.
-
requireConfig
default @NonNull TableConfig requireConfig()
Return config, guaranteed to be non-null.- Returns:
TableConfig
config, guaranteed to be non-null.- Throws:
NoSuchElementException
- if config is not present
-
-