Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120
Interface RangeTlv
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
SrRange
@Generated("mdsal-binding-generator") public interface RangeTlv extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bgp-segment-routing
grouping range-tlv { leaf inter-area { type boolean; } leaf range-size { type uint16; } list sub-tlvs { uses range-sub-tlvs; } }
The schema path to identify an instance is bgp-segment-routingrange-tlv
-
-
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 Boolean
getInterArea()
Return interArea, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getRangeSize()
Return rangeSize, ornull
if it is not present.@Nullable List<SubTlvs>
getSubTlvs()
Return subTlvs, ornull
if it is not present.Class<? extends RangeTlv>
implementedInterface()
default @NonNull List<SubTlvs>
nonnullSubTlvs()
Return subTlvs, or an empty list if it is not present.default @NonNull Boolean
requireInterArea()
Return interArea, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
requireRangeSize()
Return rangeSize, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends RangeTlv> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInterArea
Boolean getInterArea()
Return interArea, ornull
if it is not present.- Returns:
Boolean
interArea, ornull
if it is not present.
-
requireInterArea
default @NonNull Boolean requireInterArea()
Return interArea, guaranteed to be non-null.- Returns:
Boolean
interArea, guaranteed to be non-null.- Throws:
NoSuchElementException
- if interArea is not present
-
getRangeSize
org.opendaylight.yangtools.yang.common.Uint16 getRangeSize()
Return rangeSize, ornull
if it is not present.- Returns:
Uint16
rangeSize, ornull
if it is not present.
-
requireRangeSize
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireRangeSize()
Return rangeSize, guaranteed to be non-null.- Returns:
Uint16
rangeSize, guaranteed to be non-null.- Throws:
NoSuchElementException
- if rangeSize is not present
-
getSubTlvs
@Nullable List<SubTlvs> getSubTlvs()
Return subTlvs, ornull
if it is not present.- Returns:
List<SubTlvs>
subTlvs, ornull
if it is not present.
-
-