Interface GroupMod$G
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,BucketsGrouping
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,OfHeader
- All Known Subinterfaces:
GroupModCaseData
,GroupModInput
@Generated("mdsal-binding-generator") public interface GroupMod$G extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader, BucketsGrouping
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping group-mod { uses ofHeader; leaf command { type oft:group-mod-command; } leaf type { type oft:group-type; } leaf group-id { type oft:group-id; } uses buckets-grouping; }
-
-
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 GroupModCommand
getCommand()
Return command, ornull
if it is not present.GroupId
getGroupId()
Return groupId, ornull
if it is not present.GroupType
getType()
Return type, ornull
if it is not present.Class<? extends GroupMod$G>
implementedInterface()
default @NonNull GroupModCommand
requireCommand()
Return command, guaranteed to be non-null.default @NonNull GroupId
requireGroupId()
Return groupId, guaranteed to be non-null.default @NonNull GroupType
requireType()
Return type, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.BucketsGrouping
getBucketsList, nonnullBucketsList
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid, requireVersion, requireXid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends GroupMod$G> implementedInterface()
- Specified by:
implementedInterface
in interfaceBucketsGrouping
- 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
-
getCommand
GroupModCommand getCommand()
Return command, ornull
if it is not present.- Returns:
GroupModCommand
command, ornull
if it is not present.
-
requireCommand
default @NonNull GroupModCommand requireCommand()
Return command, guaranteed to be non-null.- Returns:
GroupModCommand
command, guaranteed to be non-null.- Throws:
NoSuchElementException
- if command is not present
-
getType
GroupType getType()
Return type, ornull
if it is not present.- Returns:
GroupType
type, ornull
if it is not present.
-
requireType
default @NonNull GroupType requireType()
Return type, guaranteed to be non-null.- Returns:
GroupType
type, guaranteed to be non-null.- Throws:
NoSuchElementException
- if type is not present
-
getGroupId
GroupId getGroupId()
Return groupId, ornull
if it is not present.- Returns:
GroupId
groupId, ornull
if it is not present.
-
requireGroupId
default @NonNull GroupId requireGroupId()
Return groupId, guaranteed to be non-null.- Returns:
GroupId
groupId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if groupId is not present
-
-