Interface GeneralizedLabel
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,CLabel,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
GeneralizedLabel
@Generated("mdsal-binding-generator") public interface GeneralizedLabel extends org.opendaylight.yangtools.yang.binding.DataObject, CLabel
This class represents the following YANG schema fragment defined in module rsvp
grouping generalized-label { uses c-label; leaf generalized-label { type binary; } }The schema path to identify an instance is rsvpgeneralized-label
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description byte[]getGeneralizedLabel()Return generalizedLabel, ornullif it is not present.Class<? extends GeneralizedLabel>implementedInterface()default @org.eclipse.jdt.annotation.NonNull byte[]requireGeneralizedLabel()Return generalizedLabel, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends GeneralizedLabel> implementedInterface()
- Specified by:
implementedInterfacein interfaceCLabel- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getGeneralizedLabel
byte[] getGeneralizedLabel()
Return generalizedLabel, ornullif it is not present.- Returns:
byte[]generalizedLabel, ornullif it is not present.
-
requireGeneralizedLabel
default @org.eclipse.jdt.annotation.NonNull byte[] requireGeneralizedLabel()
Return generalizedLabel, guaranteed to be non-null.- Returns:
byte[]generalizedLabel, guaranteed to be non-null.- Throws:
NoSuchElementException- if generalizedLabel is not present
-
-