Interface ErrorMessages
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ErrorMessages>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ErrorMessagesGrouping>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface ErrorMessages extends org.opendaylight.yangtools.yang.binding.ChildOf<ErrorMessagesGrouping>, org.opendaylight.yangtools.yang.binding.Augmentable<ErrorMessages>
The message statistics of received/sent PCErr messages.This class represents the following YANG schema fragment defined in module pcep-session-stats
container error-messages { leaf received-error-msg-count { type uint32; default 0; } leaf sent-error-msg-count { type uint32; default 0; } container last-received-error { uses error; } container last-sent-error { uses error; } }
The schema path to identify an instance is pcep-session-stats/error-messages-grouping/error-messagesTo create instances of this class use
ErrorMessagesBuilder
.- See Also:
ErrorMessagesBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LastReceivedError
getLastReceivedError()
Type/value tuple of last received error.LastSentError
getLastSentError()
Type/value tuple of last sent error.org.opendaylight.yangtools.yang.common.Uint32
getReceivedErrorMsgCount()
Total number of received PCErr messages.org.opendaylight.yangtools.yang.common.Uint32
getSentErrorMsgCount()
Total number of sent PCErr messages.default Class<ErrorMessages>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<ErrorMessages> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getReceivedErrorMsgCount
org.opendaylight.yangtools.yang.common.Uint32 getReceivedErrorMsgCount()
Total number of received PCErr messages.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
receivedErrorMsgCount
, ornull
if not present
-
getSentErrorMsgCount
org.opendaylight.yangtools.yang.common.Uint32 getSentErrorMsgCount()
Total number of sent PCErr messages.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
sentErrorMsgCount
, ornull
if not present
-
getLastReceivedError
LastReceivedError getLastReceivedError()
Type/value tuple of last received error.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.error.messages.grouping.error.messages.LastReceivedError
lastReceivedError
, ornull
if not present
-
getLastSentError
LastSentError getLastSentError()
Type/value tuple of last sent error.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.error.messages.grouping.error.messages.LastSentError
lastSentError
, ornull
if not present
-
-