Interface CommonFastRerouteObject
- All Superinterfaces:
AttributeFilters
,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
,Priority
,RsvpTeObject
- All Known Subinterfaces:
BasicFastRerouteObject
,LegacyFastRerouteObject
@Generated("mdsal-binding-generator")
public interface CommonFastRerouteObject
extends org.opendaylight.yangtools.yang.binding.DataObject, RsvpTeObject, Priority, AttributeFilters
This class represents the following YANG schema fragment defined in module rsvp
grouping common-fast-reroute-object { uses rsvp-te-object; uses priority; uses attribute-filters; leaf hop-limit { type uint8; default 0; } leaf flags { type fast-reroute-flags; } leaf bandwidth { type netc:bandwidth; } }
-
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 bandwidth, ornull
if it is not present.getFlags()
Return flags, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return hopLimit, ornull
if it is not present.Class<? extends CommonFastRerouteObject>
default @NonNull Bandwidth
Return bandwidth, guaranteed to be non-null.default @NonNull FastRerouteFlags
Return flags, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
Return hopLimit, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.AttributeFilters
getExcludeAny, getIncludeAll, getIncludeAny, requireExcludeAny, requireIncludeAll, requireIncludeAny
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.Priority
getHoldPriority, getSetupPriority, requireHoldPriority, requireSetupPriority
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends CommonFastRerouteObject> implementedInterface()- Specified by:
implementedInterface
in interfaceAttributeFilters
- 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
- Specified by:
implementedInterface
in interfacePriority
- Specified by:
implementedInterface
in interfaceRsvpTeObject
-
getHopLimit
org.opendaylight.yangtools.yang.common.Uint8 getHopLimit()Return hopLimit, ornull
if it is not present.- Returns:
Uint8
hopLimit, ornull
if it is not present.
-
requireHopLimit
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireHopLimit()Return hopLimit, guaranteed to be non-null.- Returns:
Uint8
hopLimit, guaranteed to be non-null.- Throws:
NoSuchElementException
- if hopLimit is not present
-
getFlags
FastRerouteFlags getFlags()Return flags, ornull
if it is not present.- Returns:
FastRerouteFlags
flags, ornull
if it is not present.
-
requireFlags
Return flags, guaranteed to be non-null.- Returns:
FastRerouteFlags
flags, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flags is not present
-
getBandwidth
Bandwidth getBandwidth()Return bandwidth, ornull
if it is not present.- Returns:
Bandwidth
bandwidth, ornull
if it is not present.
-
requireBandwidth
Return bandwidth, guaranteed to be non-null.- Returns:
Bandwidth
bandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException
- if bandwidth is not present
-