Interface NodeConnectorStatistics
- 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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetBytes()
Return bytes, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return collisionCount, ornull
if it is not present.Return packets, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return receiveCrcError, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return receiveDrops, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return receiveErrors, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return receiveFrameError, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return receiveOverRunError, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return transmitDrops, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return transmitErrors, ornull
if it is not present.Class<? extends NodeConnectorStatistics>
@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 QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends NodeConnectorStatistics> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceDuration
-
getPackets
Packets getPackets()Return packets, ornull
if it is not present.- Returns:
Packets
packets, ornull
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, ornull
if it is not present.- Returns:
Bytes
bytes, ornull
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, ornull
if it is not present.- Returns:
Uint64
receiveDrops, ornull
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, ornull
if it is not present.- Returns:
Uint64
transmitDrops, ornull
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, ornull
if it is not present.- Returns:
Uint64
receiveErrors, ornull
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, ornull
if it is not present.- Returns:
Uint64
transmitErrors, ornull
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, ornull
if it is not present.- Returns:
Uint64
receiveFrameError, ornull
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, ornull
if it is not present.- Returns:
Uint64
receiveOverRunError, ornull
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, ornull
if it is not present.- Returns:
Uint64
receiveCrcError, ornull
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, ornull
if it is not present.- Returns:
Uint64
collisionCount, ornull
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
-