Interface LabelSet
- 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
@Generated("mdsal-binding-generator")
public interface LabelSet
extends org.opendaylight.yangtools.binding.Grouping
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;
}
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThis class represents the following YANG schema fragment defined in module rsvp -
Method Summary
Modifier and TypeMethodDescriptionReturn action, ornullif it is not present.Return labelType, ornullif it is not present.@Nullable List<Subchannels> Return subchannels, ornullif it is not present.@NonNull LabelTypeReturn labelType, or an empty instance if it is not present.default @NonNull List<Subchannels> Return subchannels, or an empty list if it is not present.default @NonNull LabelSet.ActionReturn action, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getAction
LabelSet.Action getAction()Return action, ornullif it is not present.- Returns:
Actionaction, ornullif it is not present.
-
requireAction
Return action, guaranteed to be non-null.- Returns:
Actionaction, guaranteed to be non-null.- Throws:
NoSuchElementException- if action is not present
-
getLabelType
LabelType getLabelType()Return labelType, ornullif it is not present.- Returns:
LabelTypelabelType, ornullif it is not present.
-
nonnullLabelType
@NonNull LabelType nonnullLabelType()Return labelType, or an empty instance if it is not present.- Returns:
LabelTypelabelType, or an empty instance if it is not present.
-
getSubchannels
@Nullable List<Subchannels> getSubchannels()Return subchannels, ornullif it is not present.- Returns:
List<Subchannels>subchannels, ornullif it is not present.
-
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.
-