All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
All Known Subinterfaces:
SetConfigInput

@Generated("mdsal-binding-generator") public interface SetConfig$G extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader

This class represents the following YANG schema fragment defined in module openflow-protocol

 grouping set-config {
   uses ofHeader;
   leaf flags {
     type oft:switch-config-flag;
   }
   leaf miss-send-len {
     type uint16;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return flags, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return missSendLen, or null if it is not present.
    Class<? extends SetConfig$G>
     
    default @NonNull SwitchConfigFlag
    Return flags, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return missSendLen, guaranteed to be non-null.

    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 QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

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

      SwitchConfigFlag getFlags()
      Return flags, or null if it is not present.
      Returns:
      SwitchConfigFlag flags, or null if it is not present.
    • requireFlags

      default @NonNull SwitchConfigFlag requireFlags()
      Return flags, guaranteed to be non-null.
      Returns:
      SwitchConfigFlag flags, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if flags is not present
    • getMissSendLen

      org.opendaylight.yangtools.yang.common.Uint16 getMissSendLen()
      Return missSendLen, or null if it is not present.
      Returns:
      Uint16 missSendLen, or null if it is not present.
    • requireMissSendLen

      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireMissSendLen()
      Return missSendLen, guaranteed to be non-null.
      Returns:
      Uint16 missSendLen, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if missSendLen is not present