Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.labeled.unicast.rev180329
Interface Label
- 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:
LabelStack
@Generated("mdsal-binding-generator")
public interface Label
extends org.opendaylight.yangtools.binding.Grouping
The lable stack entry.
This class represents the following YANG schema fragment defined in module bgp-labeled-unicast
grouping label { leaf label-value { type netc:mpls-label; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn labelValue, ornull
if it is not present.default @NonNull MplsLabel
Return labelValue, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getLabelValue
MplsLabel getLabelValue()Return labelValue, ornull
if it is not present.- Returns:
MplsLabel
labelValue, ornull
if it is not present.
-
requireLabelValue
Return labelValue, guaranteed to be non-null.- Returns:
MplsLabel
labelValue, guaranteed to be non-null.- Throws:
NoSuchElementException
- if labelValue is not present
-