Interface RecordRouteSubobjects
- 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:
ReportedHops1,SecondaryRecordRouteSubobjects,Subobject,Subobject,SubobjectContainer,SubobjectContainer
@Generated("mdsal-binding-generator")
public interface RecordRouteSubobjects
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module rsvp
grouping record-route-subobjects {
leaf protection-available {
type boolean;
default false;
}
leaf protection-in-use {
type boolean;
default false;
}
choice subobject-type {
case ip-prefix-case {
container ip-prefix {
uses ip-prefix-subobject;
}
}
case label-case {
container label {
uses label-subobject;
leaf global {
type boolean;
default false;
}
}
}
case unnumbered-case {
container unnumbered {
uses unnumbered-subobject;
}
}
case path-key-case {
container path-key {
uses path-key-subobject;
}
}
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn protectionAvailable, ornullif it is not present.Return protectionInUse, ornullif it is not present.Return subobjectType, ornullif it is not present.default @NonNull BooleanReturn protectionAvailable, guaranteed to be non-null.default @NonNull BooleanReturn protectionInUse, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getProtectionAvailable
Boolean getProtectionAvailable()Return protectionAvailable, ornullif it is not present.- Returns:
BooleanprotectionAvailable, ornullif it is not present.
-
requireProtectionAvailable
Return protectionAvailable, guaranteed to be non-null.- Returns:
BooleanprotectionAvailable, guaranteed to be non-null.- Throws:
NoSuchElementException- if protectionAvailable is not present
-
getProtectionInUse
Boolean getProtectionInUse()Return protectionInUse, ornullif it is not present.- Returns:
BooleanprotectionInUse, ornullif it is not present.
-
requireProtectionInUse
Return protectionInUse, guaranteed to be non-null.- Returns:
BooleanprotectionInUse, guaranteed to be non-null.- Throws:
NoSuchElementException- if protectionInUse is not present
-
getSubobjectType
SubobjectType getSubobjectType()Return subobjectType, ornullif it is not present.- Returns:
SubobjectTypesubobjectType, ornullif it is not present.
-