Interface MeterStatistics

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

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

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

     grouping meter-statistics {
       leaf meter-id {
         type meter-id;
       }
       leaf flow-count {
         type yang:counter32;
       }
       leaf packet-in-count {
         type yang:counter64;
       }
       leaf byte-in-count {
         type yang:counter64;
       }
       container duration {
         leaf second {
           type yang:counter32;
         }
         leaf nanosecond {
           type yang:counter32;
         }
       }
       container meter-band-stats {
         list band-stat {
           key band-id;
           leaf band-id {
             type band-id;
           }
           leaf packet-band-count {
             type yang:counter64;
           }
           leaf byte-band-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
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getByteInCount()
      Return byteInCount, or null if it is not present.
      Duration getDuration()
      Return duration, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getFlowCount()
      Return flowCount, or null if it is not present.
      MeterBandStats getMeterBandStats()
      Return meterBandStats, or null if it is not present.
      MeterId getMeterId()
      Return meterId, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 getPacketInCount()
      Return packetInCount, or null if it is not present.
      Class<? extends MeterStatistics> implementedInterface()  
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 requireByteInCount()
      Return byteInCount, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireFlowCount()
      Return flowCount, guaranteed to be non-null.
      default @NonNull MeterId requireMeterId()
      Return meterId, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 requirePacketInCount()
      Return packetInCount, 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 MeterStatistics> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getMeterId

        MeterId getMeterId()
        Return meterId, or null if it is not present.
        Returns:
        MeterId meterId, or null if it is not present.
      • requireMeterId

        default @NonNull MeterId requireMeterId()
        Return meterId, guaranteed to be non-null.
        Returns:
        MeterId meterId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if meterId is not present
      • getFlowCount

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

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

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

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

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

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter64 requireByteInCount()
        Return byteInCount, guaranteed to be non-null.
        Returns:
        Counter64 byteInCount, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if byteInCount 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.
      • getMeterBandStats

        MeterBandStats getMeterBandStats()
        Return meterBandStats, or null if it is not present.
        Returns:
        MeterBandStats meterBandStats, or null if it is not present.