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:
BgpNeighborMessageCountersReceivedState, BgpNeighborMessageCountersSentState, Received, Received, Sent, Sent

@Generated("mdsal-binding-generator") public interface BgpCountersMessageTypesCommon extends org.opendaylight.yangtools.yang.binding.DataObject
Grouping of BGP message types, included for re-use across counters

This class represents the following YANG schema fragment defined in module openconfig-bgp-operational

 grouping bgp-counters-message-types_common {
   leaf UPDATE {
     type uint64;
   }
   leaf NOTIFICATION {
     type uint64;
   }
 }
 
  • 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.Uint64
    Return nOTIFICATION, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return uPDATE, or null if it is not present.
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return nOTIFICATION, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return uPDATE, 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 BgpCountersMessageTypesCommon> 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
    • getUPDATE

      org.opendaylight.yangtools.yang.common.Uint64 getUPDATE()
      Return uPDATE, or null if it is not present.
           
               Number of BGP UPDATE messages announcing, withdrawing or modifying paths
               exchanged.
           
       
      Returns:
      Uint64 uPDATE, or null if it is not present.
    • requireUPDATE

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireUPDATE()
      Return uPDATE, guaranteed to be non-null.
           
               Number of BGP UPDATE messages announcing, withdrawing or modifying paths
               exchanged.
           
       
      Returns:
      Uint64 uPDATE, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if uPDATE is not present
    • getNOTIFICATION

      org.opendaylight.yangtools.yang.common.Uint64 getNOTIFICATION()
      Return nOTIFICATION, or null if it is not present.
           
               Number of BGP NOTIFICATION messages indicating an error condition has occurred
               exchanged.
           
       
      Returns:
      Uint64 nOTIFICATION, or null if it is not present.
    • requireNOTIFICATION

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireNOTIFICATION()
      Return nOTIFICATION, guaranteed to be non-null.
           
               Number of BGP NOTIFICATION messages indicating an error condition has occurred
               exchanged.
           
       
      Returns:
      Uint64 nOTIFICATION, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if nOTIFICATION is not present