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:
AvgMinMaxInstantStatsPct, AvgMinMaxInstantStatsPrecision1, AvgMinMaxInstantStatsPrecision1Celsius, AvgMinMaxInstantStatsPrecision2DB, AvgMinMaxInstantStatsPrecision2DBm, AvgMinMaxInstantStatsPrecision2MA, AvgMinMaxStatsPrecision1, HardwareInterrupt, Idle, Kernel, Nice, SoftwareInterrupt, Temperature, Total, User, Wait

@Generated("mdsal-binding-generator") public interface StatIntervalState extends org.opendaylight.yangtools.yang.binding.DataObject
Reusable leaf definition for stats computation interval

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

 grouping stat-interval-state {
   leaf interval {
     type oc-types:stat-interval;
   }
 }
 
  • 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
    Return interval, or null if it is not present.
     
    default @NonNull StatInterval
    Return interval, 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 StatIntervalState> 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
    • getInterval

      StatInterval getInterval()
      Return interval, or null if it is not present.
           
               If supported by the system, this reports the time interval over which the
               min/max/average statistics are computed by the system.
           
       
      Returns:
      StatInterval interval, or null if it is not present.
    • requireInterval

      default @NonNull StatInterval requireInterval()
      Return interval, guaranteed to be non-null.
           
               If supported by the system, this reports the time interval over which the
               min/max/average statistics are computed by the system.
           
       
      Returns:
      StatInterval interval, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if interval is not present