Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.labeled.unicast.rev180329
Interface Label
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
LabelStack
@Generated("mdsal-binding-generator")
public interface Label
extends org.opendaylight.yangtools.yang.binding.DataObject
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; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn labelValue, ornull
if it is not present.default @NonNull MplsLabel
Return labelValue, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
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
-