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, Duration
All Known Subinterfaces:
FlowCapableNodeConnectorStatistics, GetNodeConnectorStatisticsOutput, NodeConnectorStatisticsAndPortNumberMap

@Generated("mdsal-binding-generator") public interface NodeConnectorStatistics extends org.opendaylight.yangtools.yang.binding.DataObject, Duration
Openflow node connector (port) statistics structure.

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

 grouping node-connector-statistics {
   container packets {
     leaf received {
       type uint64;
     }
     leaf transmitted {
       type uint64;
     }
   }
   container bytes {
     leaf received {
       type uint64;
     }
     leaf transmitted {
       type uint64;
     }
   }
   leaf receive-drops {
     type uint64;
   }
   leaf transmit-drops {
     type uint64;
   }
   leaf receive-errors {
     type uint64;
   }
   leaf transmit-errors {
     type uint64;
   }
   leaf receive-frame-error {
     type uint64;
   }
   leaf receive-over-run-error {
     type uint64;
   }
   leaf receive-crc-error {
     type uint64;
   }
   leaf collision-count {
     type uint64;
   }
   uses duration;
 }
 
  • 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 bytes, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return collisionCount, or null if it is not present.
    Return packets, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return receiveCrcError, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return receiveDrops, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return receiveErrors, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return receiveFrameError, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return receiveOverRunError, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return transmitDrops, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint64
    Return transmitErrors, or null if it is not present.
     
    @NonNull Bytes
    Return bytes, or an empty instance if it is not present.
    @NonNull Packets
    Return packets, or an empty instance if it is not present.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return collisionCount, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return receiveCrcError, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return receiveDrops, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return receiveErrors, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return receiveFrameError, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return receiveOverRunError, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return transmitDrops, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint64
    Return transmitErrors, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.model.statistics.types.rev130925.Duration

    getDuration, nonnullDuration
  • 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 NodeConnectorStatistics> 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 Duration
    • getPackets

      Packets getPackets()
      Return packets, or null if it is not present.
      Returns:
      Packets packets, or null if it is not present.
    • nonnullPackets

      @NonNull Packets nonnullPackets()
      Return packets, or an empty instance if it is not present.
      Returns:
      Packets packets, or an empty instance if it is not present.
    • getBytes

      Bytes getBytes()
      Return bytes, or null if it is not present.
      Returns:
      Bytes bytes, or null if it is not present.
    • nonnullBytes

      @NonNull Bytes nonnullBytes()
      Return bytes, or an empty instance if it is not present.
      Returns:
      Bytes bytes, or an empty instance if it is not present.
    • getReceiveDrops

      org.opendaylight.yangtools.yang.common.Uint64 getReceiveDrops()
      Return receiveDrops, or null if it is not present.
      Returns:
      Uint64 receiveDrops, or null if it is not present.
    • requireReceiveDrops

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireReceiveDrops()
      Return receiveDrops, guaranteed to be non-null.
      Returns:
      Uint64 receiveDrops, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if receiveDrops is not present
    • getTransmitDrops

      org.opendaylight.yangtools.yang.common.Uint64 getTransmitDrops()
      Return transmitDrops, or null if it is not present.
      Returns:
      Uint64 transmitDrops, or null if it is not present.
    • requireTransmitDrops

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireTransmitDrops()
      Return transmitDrops, guaranteed to be non-null.
      Returns:
      Uint64 transmitDrops, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if transmitDrops is not present
    • getReceiveErrors

      org.opendaylight.yangtools.yang.common.Uint64 getReceiveErrors()
      Return receiveErrors, or null if it is not present.
      Returns:
      Uint64 receiveErrors, or null if it is not present.
    • requireReceiveErrors

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireReceiveErrors()
      Return receiveErrors, guaranteed to be non-null.
      Returns:
      Uint64 receiveErrors, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if receiveErrors is not present
    • getTransmitErrors

      org.opendaylight.yangtools.yang.common.Uint64 getTransmitErrors()
      Return transmitErrors, or null if it is not present.
      Returns:
      Uint64 transmitErrors, or null if it is not present.
    • requireTransmitErrors

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireTransmitErrors()
      Return transmitErrors, guaranteed to be non-null.
      Returns:
      Uint64 transmitErrors, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if transmitErrors is not present
    • getReceiveFrameError

      org.opendaylight.yangtools.yang.common.Uint64 getReceiveFrameError()
      Return receiveFrameError, or null if it is not present.
      Returns:
      Uint64 receiveFrameError, or null if it is not present.
    • requireReceiveFrameError

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireReceiveFrameError()
      Return receiveFrameError, guaranteed to be non-null.
      Returns:
      Uint64 receiveFrameError, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if receiveFrameError is not present
    • getReceiveOverRunError

      org.opendaylight.yangtools.yang.common.Uint64 getReceiveOverRunError()
      Return receiveOverRunError, or null if it is not present.
      Returns:
      Uint64 receiveOverRunError, or null if it is not present.
    • requireReceiveOverRunError

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireReceiveOverRunError()
      Return receiveOverRunError, guaranteed to be non-null.
      Returns:
      Uint64 receiveOverRunError, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if receiveOverRunError is not present
    • getReceiveCrcError

      org.opendaylight.yangtools.yang.common.Uint64 getReceiveCrcError()
      Return receiveCrcError, or null if it is not present.
      Returns:
      Uint64 receiveCrcError, or null if it is not present.
    • requireReceiveCrcError

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireReceiveCrcError()
      Return receiveCrcError, guaranteed to be non-null.
      Returns:
      Uint64 receiveCrcError, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if receiveCrcError is not present
    • getCollisionCount

      org.opendaylight.yangtools.yang.common.Uint64 getCollisionCount()
      Return collisionCount, or null if it is not present.
      Returns:
      Uint64 collisionCount, or null if it is not present.
    • requireCollisionCount

      default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireCollisionCount()
      Return collisionCount, guaranteed to be non-null.
      Returns:
      Uint64 collisionCount, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if collisionCount is not present