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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends GroupMod$G> implementedInterface()
        Specified by:
        implementedInterface in interface BucketsGrouping
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface OfHeader
      • getCommand

        GroupModCommand getCommand()
        Return command, or null if it is not present.
        Returns:
        GroupModCommand command, or null 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, or null if it is not present.
        Returns:
        GroupType type, or null 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, or null if it is not present.
        Returns:
        GroupId groupId, or null 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