Interface GroupStatistics

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    GroupStatistics, GroupStats

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

    This class represents the following YANG schema fragment defined in module opendaylight-group-types

     grouping group-statistics {
       leaf group-id {
         type group-id;
       }
       leaf ref-count {
         type yang:counter32;
       }
       leaf packet-count {
         type yang:counter64;
       }
       leaf byte-count {
         type yang:counter64;
       }
       container duration {
         leaf second {
           type yang:counter32;
         }
         leaf nanosecond {
           type yang:counter32;
         }
       }
       container buckets {
         list bucket-counter {
           key bucket-id;
           leaf bucket-id {
             type bucket-id;
           }
           leaf packet-count {
             type yang:counter64;
           }
           leaf byte-count {
             type yang:counter64;
           }
         }
       }
     }
     
    • Field Summary

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

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      Buckets getBuckets()
      Return buckets, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getByteCount()
      Return byteCount, or null if it is not present.
      Duration getDuration()
      Return duration, or null if it is not present.
      GroupId getGroupId()
      Return groupId, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getPacketCount()
      Return packetCount, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getRefCount()
      Return refCount, or null if it is not present.
      Class<? extends GroupStatistics> implementedInterface()  
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 requireByteCount()
      Return byteCount, guaranteed to be non-null.
      default @NonNull GroupId requireGroupId()
      Return groupId, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 requirePacketCount()
      Return packetCount, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireRefCount()
      Return refCount, guaranteed to be non-null.
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        GroupId getGroupId()
        Return groupId, or null if it is not present.
        Returns:
        GroupId groupId, or null if it is not present.
      • requireGroupId

        default @NonNull GroupId requireGroupId()
        Return groupId, guaranteed to be non-null.
        Returns:
        GroupId groupId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if groupId is not present
      • getRefCount

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

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

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getPacketCount()
        Return packetCount, or null if it is not present.
        Returns:
        Counter64 packetCount, or null if it is not present.
      • requirePacketCount

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

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getByteCount()
        Return byteCount, or null if it is not present.
        Returns:
        Counter64 byteCount, or null if it is not present.
      • requireByteCount

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

        Duration getDuration()
        Return duration, or null if it is not present.
        Returns:
        Duration duration, or null if it is not present.
      • getBuckets

        Buckets getBuckets()
        Return buckets, or null if it is not present.
        Returns:
        Buckets buckets, or null if it is not present.