All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
Srgb

@Generated("mdsal-binding-generator") public interface Srgb extends org.opendaylight.yangtools.binding.Grouping
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;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint32
    Return lowerBound, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint32
    Return rangeSize, or null if it is not present.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return lowerBound, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return rangeSize, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • 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