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; } }
The schema path to identify an instance is graphsrgb
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32
getLowerBound()
Return lowerBound, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getRangeSize()
Return rangeSize, ornull
if it is not present.Class<? extends Srgb>
implementedInterface()
default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireLowerBound()
Return lowerBound, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireRangeSize()
Return rangeSize, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends Srgb> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLowerBound
org.opendaylight.yangtools.yang.common.Uint32 getLowerBound()
Return lowerBound, ornull
if it is not present.Lower bound of label range in SRGB. Unit MPLS label
- Returns:
Uint32
lowerBound, ornull
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, ornull
if it is not present.Label range size in SRGB. Unit MPLS label
- Returns:
Uint32
rangeSize, ornull
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
-
-