Interface Srgb
- 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 TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32Return lowerBound, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return rangeSize, ornullif it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return lowerBound, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return 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, 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
-