Interface LabelSet
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface LabelSet extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module rsvp
grouping label-set { leaf action { type enumeration { enum inclusive-list { value 0; } enum exclusive-list { value 1; } enum inclusive-range { value 2; } enum exclusive-range { value 3; } } } container label-type; list subchannels; }
The schema path to identify an instance is rsvplabel-set
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LabelSet.Action
-
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 LabelSet.Action
getAction()
Return action, ornull
if it is not present.LabelType
getLabelType()
Return labelType, ornull
if it is not present.@Nullable List<Subchannels>
getSubchannels()
Return subchannels, ornull
if it is not present.Class<? extends LabelSet>
implementedInterface()
default @NonNull List<Subchannels>
nonnullSubchannels()
Return subchannels, or an empty list if it is not present.default @NonNull LabelSet.Action
requireAction()
Return action, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends LabelSet> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAction
LabelSet.Action getAction()
Return action, ornull
if it is not present.- Returns:
Action
action, ornull
if it is not present.
-
requireAction
default @NonNull LabelSet.Action requireAction()
Return action, guaranteed to be non-null.- Returns:
Action
action, guaranteed to be non-null.- Throws:
NoSuchElementException
- if action is not present
-
getLabelType
LabelType getLabelType()
Return labelType, ornull
if it is not present.- Returns:
LabelType
labelType, ornull
if it is not present.
-
getSubchannels
@Nullable List<Subchannels> getSubchannels()
Return subchannels, ornull
if it is not present.- Returns:
List<Subchannels>
subchannels, ornull
if it is not present.
-
nonnullSubchannels
default @NonNull List<Subchannels> nonnullSubchannels()
Return subchannels, or an empty list if it is not present.- Returns:
List<Subchannels>
subchannels, or an empty list if it is not present.
-
-