All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Stats>, org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Peer>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Timestamp

@Generated("mdsal-binding-generator") public interface Stats extends org.opendaylight.yangtools.yang.binding.ChildOf<Peer>, org.opendaylight.yangtools.yang.binding.Augmentable<Stats>, Timestamp

This class represents the following YANG schema fragment defined in module bmp-monitor

 container stats {
   leaf rejected-prefixes {
     type yang:counter32;
   }
   leaf duplicate-prefix-advertisements {
     type yang:counter32;
   }
   leaf duplicate-withdraws {
     type yang:counter32;
   }
   leaf invalidated-cluster-list-loop {
     type yang:counter32;
   }
   leaf invalidated-as-path-loop {
     type yang:counter32;
   }
   leaf invalidated-originator-id {
     type yang:counter32;
   }
   leaf invalidated-as-confed-loop {
     type yang:counter32;
   }
   leaf adj-ribs-in-routes {
     type yang:gauge64;
   }
   leaf loc-rib-routes {
     type yang:gauge64;
   }
   container per-afi-safi-adj-rib-in-routes {
     uses afi-safi-route-counter;
   }
   container per-afi-safi-loc-rib-routes {
     uses afi-safi-route-counter;
   }
   leaf updates-treated-as-withdraw {
     type yang:counter32;
   }
   leaf prefixes-treated-as-withdraw {
     type yang:counter32;
   }
   leaf duplicate-updates {
     type yang:counter32;
   }
   uses bmp-msg:timestamp;
 }
 

To create instances of this class use StatsBuilder.

See Also:
  • 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
    static boolean
    bindingEquals(@NonNull Stats thisObj, Object obj)
    Default implementation of Object.equals(Object) contract for this interface.
    static int
    bindingHashCode(@NonNull Stats obj)
    Default implementation of Object.hashCode() contract for this interface.
    static String
    bindingToString(@NonNull Stats obj)
    Default implementation of Object.toString() contract for this interface.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64
    Return adjRibsInRoutes, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return duplicatePrefixAdvertisements, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return duplicateUpdates, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return duplicateWithdraws, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return invalidatedAsConfedLoop, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return invalidatedAsPathLoop, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return invalidatedClusterListLoop, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return invalidatedOriginatorId, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64
    Return locRibRoutes, or null if it is not present.
    Return perAfiSafiAdjRibInRoutes, or null if it is not present.
    Return perAfiSafiLocRibRoutes, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return prefixesTreatedAsWithdraw, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return rejectedPrefixes, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return updatesTreatedAsWithdraw, or null if it is not present.
    default Class<Stats>
     
    Return perAfiSafiAdjRibInRoutes, or an empty instance if it is not present.
    Return perAfiSafiLocRibRoutes, or an empty instance if it is not present.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64
    Return adjRibsInRoutes, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return duplicatePrefixAdvertisements, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return duplicateUpdates, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return duplicateWithdraws, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return invalidatedAsConfedLoop, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return invalidatedAsPathLoop, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return invalidatedClusterListLoop, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return invalidatedOriginatorId, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64
    Return locRibRoutes, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return prefixesTreatedAsWithdraw, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return rejectedPrefixes, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return updatesTreatedAsWithdraw, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable

    augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.Timestamp

    getTimestampMicro, getTimestampSec, requireTimestampMicro, requireTimestampSec
  • 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

      default Class<Stats> 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
      Specified by:
      implementedInterface in interface Timestamp
    • bindingHashCode

      static int bindingHashCode(@NonNull Stats obj)
      Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
      Parameters:
      obj - Object for which to generate hashCode() result.
      Returns:
      Hash code value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null
    • bindingEquals

      static boolean bindingEquals(@NonNull Stats thisObj, Object obj)
      Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
      Parameters:
      thisObj - Object acting as the receiver of equals invocation
      obj - Object acting as argument to equals invocation
      Returns:
      True if thisObj and obj are considered equal
      Throws:
      NullPointerException - if thisObj is null
    • bindingToString

      static String bindingToString(@NonNull Stats obj)
      Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
      Parameters:
      obj - Object for which to generate toString() result.
      Returns:
      String value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null
    • getRejectedPrefixes

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getRejectedPrefixes()
      Return rejectedPrefixes, or null if it is not present.
      Returns:
      Counter32 rejectedPrefixes, or null if it is not present.
    • requireRejectedPrefixes

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireRejectedPrefixes()
      Return rejectedPrefixes, guaranteed to be non-null.
      Returns:
      Counter32 rejectedPrefixes, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if rejectedPrefixes is not present
    • getDuplicatePrefixAdvertisements

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getDuplicatePrefixAdvertisements()
      Return duplicatePrefixAdvertisements, or null if it is not present.
      Returns:
      Counter32 duplicatePrefixAdvertisements, or null if it is not present.
    • requireDuplicatePrefixAdvertisements

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireDuplicatePrefixAdvertisements()
      Return duplicatePrefixAdvertisements, guaranteed to be non-null.
      Returns:
      Counter32 duplicatePrefixAdvertisements, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if duplicatePrefixAdvertisements is not present
    • getDuplicateWithdraws

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getDuplicateWithdraws()
      Return duplicateWithdraws, or null if it is not present.
      Returns:
      Counter32 duplicateWithdraws, or null if it is not present.
    • requireDuplicateWithdraws

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireDuplicateWithdraws()
      Return duplicateWithdraws, guaranteed to be non-null.
      Returns:
      Counter32 duplicateWithdraws, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if duplicateWithdraws is not present
    • getInvalidatedClusterListLoop

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getInvalidatedClusterListLoop()
      Return invalidatedClusterListLoop, or null if it is not present.
      Returns:
      Counter32 invalidatedClusterListLoop, or null if it is not present.
    • requireInvalidatedClusterListLoop

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireInvalidatedClusterListLoop()
      Return invalidatedClusterListLoop, guaranteed to be non-null.
      Returns:
      Counter32 invalidatedClusterListLoop, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if invalidatedClusterListLoop is not present
    • getInvalidatedAsPathLoop

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getInvalidatedAsPathLoop()
      Return invalidatedAsPathLoop, or null if it is not present.
      Returns:
      Counter32 invalidatedAsPathLoop, or null if it is not present.
    • requireInvalidatedAsPathLoop

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireInvalidatedAsPathLoop()
      Return invalidatedAsPathLoop, guaranteed to be non-null.
      Returns:
      Counter32 invalidatedAsPathLoop, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if invalidatedAsPathLoop is not present
    • getInvalidatedOriginatorId

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getInvalidatedOriginatorId()
      Return invalidatedOriginatorId, or null if it is not present.
      Returns:
      Counter32 invalidatedOriginatorId, or null if it is not present.
    • requireInvalidatedOriginatorId

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireInvalidatedOriginatorId()
      Return invalidatedOriginatorId, guaranteed to be non-null.
      Returns:
      Counter32 invalidatedOriginatorId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if invalidatedOriginatorId is not present
    • getInvalidatedAsConfedLoop

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getInvalidatedAsConfedLoop()
      Return invalidatedAsConfedLoop, or null if it is not present.
      Returns:
      Counter32 invalidatedAsConfedLoop, or null if it is not present.
    • requireInvalidatedAsConfedLoop

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireInvalidatedAsConfedLoop()
      Return invalidatedAsConfedLoop, guaranteed to be non-null.
      Returns:
      Counter32 invalidatedAsConfedLoop, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if invalidatedAsConfedLoop is not present
    • getAdjRibsInRoutes

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 getAdjRibsInRoutes()
      Return adjRibsInRoutes, or null if it is not present.
      Returns:
      Gauge64 adjRibsInRoutes, or null if it is not present.
    • requireAdjRibsInRoutes

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 requireAdjRibsInRoutes()
      Return adjRibsInRoutes, guaranteed to be non-null.
      Returns:
      Gauge64 adjRibsInRoutes, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if adjRibsInRoutes is not present
    • getLocRibRoutes

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 getLocRibRoutes()
      Return locRibRoutes, or null if it is not present.
      Returns:
      Gauge64 locRibRoutes, or null if it is not present.
    • requireLocRibRoutes

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 requireLocRibRoutes()
      Return locRibRoutes, guaranteed to be non-null.
      Returns:
      Gauge64 locRibRoutes, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if locRibRoutes is not present
    • getPerAfiSafiAdjRibInRoutes

      PerAfiSafiAdjRibInRoutes getPerAfiSafiAdjRibInRoutes()
      Return perAfiSafiAdjRibInRoutes, or null if it is not present.
      Returns:
      PerAfiSafiAdjRibInRoutes perAfiSafiAdjRibInRoutes, or null if it is not present.
    • nonnullPerAfiSafiAdjRibInRoutes

      @NonNull PerAfiSafiAdjRibInRoutes nonnullPerAfiSafiAdjRibInRoutes()
      Return perAfiSafiAdjRibInRoutes, or an empty instance if it is not present.
      Returns:
      PerAfiSafiAdjRibInRoutes perAfiSafiAdjRibInRoutes, or an empty instance if it is not present.
    • getPerAfiSafiLocRibRoutes

      PerAfiSafiLocRibRoutes getPerAfiSafiLocRibRoutes()
      Return perAfiSafiLocRibRoutes, or null if it is not present.
      Returns:
      PerAfiSafiLocRibRoutes perAfiSafiLocRibRoutes, or null if it is not present.
    • nonnullPerAfiSafiLocRibRoutes

      @NonNull PerAfiSafiLocRibRoutes nonnullPerAfiSafiLocRibRoutes()
      Return perAfiSafiLocRibRoutes, or an empty instance if it is not present.
      Returns:
      PerAfiSafiLocRibRoutes perAfiSafiLocRibRoutes, or an empty instance if it is not present.
    • getUpdatesTreatedAsWithdraw

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getUpdatesTreatedAsWithdraw()
      Return updatesTreatedAsWithdraw, or null if it is not present.
      Returns:
      Counter32 updatesTreatedAsWithdraw, or null if it is not present.
    • requireUpdatesTreatedAsWithdraw

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireUpdatesTreatedAsWithdraw()
      Return updatesTreatedAsWithdraw, guaranteed to be non-null.
      Returns:
      Counter32 updatesTreatedAsWithdraw, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if updatesTreatedAsWithdraw is not present
    • getPrefixesTreatedAsWithdraw

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getPrefixesTreatedAsWithdraw()
      Return prefixesTreatedAsWithdraw, or null if it is not present.
      Returns:
      Counter32 prefixesTreatedAsWithdraw, or null if it is not present.
    • requirePrefixesTreatedAsWithdraw

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requirePrefixesTreatedAsWithdraw()
      Return prefixesTreatedAsWithdraw, guaranteed to be non-null.
      Returns:
      Counter32 prefixesTreatedAsWithdraw, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if prefixesTreatedAsWithdraw is not present
    • getDuplicateUpdates

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getDuplicateUpdates()
      Return duplicateUpdates, or null if it is not present.
      Returns:
      Counter32 duplicateUpdates, or null if it is not present.
    • requireDuplicateUpdates

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireDuplicateUpdates()
      Return duplicateUpdates, guaranteed to be non-null.
      Returns:
      Counter32 duplicateUpdates, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if duplicateUpdates is not present