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, Tlv
All Known Subinterfaces:
DuplicatePrefixAdvertisementsTlv, DuplicateUpdatesTlv, DuplicateWithdrawsTlv, InvalidatedAsConfedLoopTlv, InvalidatedAsPathLoopTlv, InvalidatedClusterListLoopTlv, InvalidatedOriginatorIdTlv, PrefixesTreatedAsWithdrawTlv, RejectedPrefixesTlv, UpdatesTreatedAsWithdrawTlv

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

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

 grouping count-tlv {
   uses tlv;
   leaf count {
     type yang:counter32;
   }
 }
 
  • 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.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return count, or null if it is not present.
    Class<? extends CountTlv>
     
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return count, 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 CountTlv> 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 Tlv
    • getCount

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

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