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:
BasicFastRerouteObject, BasicSessionAttributeObject, CommonFastRerouteObject, LegacyFastRerouteObject, Link1, Lspa, PcepCreateP2pTunnelInput, PcepUpdateTunnelInput, SessionAttributeObjectWithResourcesAffinities, TunnelAttributes, TunnelPcepLinkCfgAttributes

@Generated("mdsal-binding-generator") public interface Priority extends org.opendaylight.yangtools.binding.Grouping

This class represents the following YANG schema fragment defined in module rsvp

 grouping priority {
   leaf hold-priority {
     type uint8;
     default 0;
   }
   leaf setup-priority {
     type uint8;
     default 0;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint8
    Return holdPriority, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return setupPriority, or null if it is not present.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return holdPriority, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return setupPriority, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • getHoldPriority

      org.opendaylight.yangtools.yang.common.Uint8 getHoldPriority()
      Return holdPriority, or null if it is not present.
      Returns:
      Uint8 holdPriority, or null if it is not present.
    • requireHoldPriority

      default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireHoldPriority()
      Return holdPriority, guaranteed to be non-null.
      Returns:
      Uint8 holdPriority, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if holdPriority is not present
    • getSetupPriority

      org.opendaylight.yangtools.yang.common.Uint8 getSetupPriority()
      Return setupPriority, or null if it is not present.
      Returns:
      Uint8 setupPriority, or null if it is not present.
    • requireSetupPriority

      default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireSetupPriority()
      Return setupPriority, guaranteed to be non-null.
      Returns:
      Uint8 setupPriority, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if setupPriority is not present