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-sizeThis 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.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32getLowerBound()Return lowerBound, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getRangeSize()Return rangeSize, ornullif it is not present.Class<? extends Srgb>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireLowerBound()Return lowerBound, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireRangeSize()Return rangeSize, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends Srgb> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLowerBound
org.opendaylight.yangtools.yang.common.Uint32 getLowerBound()
Return lowerBound, ornullif it is not present.Lower bound of label range in SRGB. Unit MPLS label- Returns:
Uint32lowerBound, ornullif 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:
Uint32lowerBound, guaranteed to be non-null.- Throws:
NoSuchElementException- if lowerBound is not present
-
getRangeSize
org.opendaylight.yangtools.yang.common.Uint32 getRangeSize()
Return rangeSize, ornullif it is not present.Label range size in SRGB. Unit MPLS label- Returns:
Uint32rangeSize, ornullif 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:
Uint32rangeSize, guaranteed to be non-null.- Throws:
NoSuchElementException- if rangeSize is not present
-
-