Interface GroupMod$G
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn command, ornull
if it is not present.Return groupId, ornull
if it is not present.getType()
Return type, ornull
if it is not present.Class<? extends GroupMod$G>
default @NonNull GroupModCommand
Return command, guaranteed to be non-null.default @NonNull GroupId
Return groupId, guaranteed to be non-null.default @NonNull GroupType
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
-
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 GroupMod$G> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceBucketsGrouping
- 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
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
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
Return groupId, guaranteed to be non-null.- Returns:
GroupId
groupId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if groupId is not present
-