Interface OfjNxmNxMatchNshcGrouping

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Nshc1Values, Nshc2Values, Nshc3Values, Nshc4Values, NshcCaseValue

    @Generated("mdsal-binding-generator")
    public interface OfjNxmNxMatchNshcGrouping
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module nicira-match

     grouping ofj-nxm-nx-match-nshc-grouping {
       leaf nshc {
         type uint32;
       }
       leaf mask {
         type uint32;
       }
     }
     
    • 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.
    • 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 OfjNxmNxMatchNshcGrouping> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getNshc

        org.opendaylight.yangtools.yang.common.Uint32 getNshc()
        Return nshc, or null if it is not present.
        Returns:
        Uint32 nshc, or null if it is not present.
      • requireNshc

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireNshc()
        Return nshc, guaranteed to be non-null.
        Returns:
        Uint32 nshc, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if nshc is not present
      • getMask

        org.opendaylight.yangtools.yang.common.Uint32 getMask()
        Return mask, or null if it is not present.
        Returns:
        Uint32 mask, or null if it is not present.
      • requireMask

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