All Superinterfaces:
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
All Known Subinterfaces:
SessionConfig

@Generated("mdsal-binding-generator") public interface PcepSessionErrorPolicy extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module pcep-config

 grouping pcep-session-error-policy {
   leaf max-unknown-messages {
     type uint16 {
       range 1..max;
     }
     default 5;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint16
    Return maxUnknownMessages, or null if it is not present.
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return maxUnknownMessages, guaranteed to be non-null.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends PcepSessionErrorPolicy> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getMaxUnknownMessages

      org.opendaylight.yangtools.yang.common.Uint16 getMaxUnknownMessages()
      Return maxUnknownMessages, or null if it is not present.
      Returns:
      Uint16 maxUnknownMessages, or null if it is not present.
    • requireMaxUnknownMessages

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