Interface Srgb

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Srgb

    @Generated("mdsal-binding-generator")
    public interface Srgb
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Segment Routing Global Block: lower-bound + range-size

    This class represents the following YANG schema fragment defined in module graph

     grouping srgb {
       leaf lower-bound {
         type uint32;
       }
       leaf range-size {
         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 Srgb> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getLowerBound

        org.opendaylight.yangtools.yang.common.Uint32 getLowerBound()
        Return lowerBound, or null if it is not present.
             
                 Lower bound of label range in SRGB. Unit MPLS label
             
         
        Returns:
        Uint32 lowerBound, or null if it is not present.
      • requireLowerBound

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireLowerBound()
        Return lowerBound, guaranteed to be non-null.
             
                 Lower bound of label range in SRGB. Unit MPLS label
             
         
        Returns:
        Uint32 lowerBound, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if lowerBound is not present
      • getRangeSize

        org.opendaylight.yangtools.yang.common.Uint32 getRangeSize()
        Return rangeSize, or null if it is not present.
             
                 Label range size in SRGB. Unit MPLS label
             
         
        Returns:
        Uint32 rangeSize, or null if it is not present.
      • requireRangeSize

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireRangeSize()
        Return rangeSize, guaranteed to be non-null.
             
                 Label range size in SRGB. Unit MPLS label
             
         
        Returns:
        Uint32 rangeSize, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if rangeSize is not present