Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stateful.stats.rev181109
Interface StatefulMessagesGrouping
- 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:
StatefulMessagesRpcAug
,StatefulMessagesStatsAug
@Generated("mdsal-binding-generator")
public interface StatefulMessagesGrouping
extends org.opendaylight.yangtools.yang.binding.DataObject
The statistics of sent/received PCEP stateful messages.
This class represents the following YANG schema fragment defined in module odl-pcep-stateful-stats
grouping stateful-messages-grouping { leaf last-received-rpt-msg-timestamp { type uint32; default 0; } leaf received-rpt-msg-count { type uint32; default 0; } leaf sent-upd-msg-count { type uint32; default 0; } leaf sent-init-msg-count { type uint32; default 0; } }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32
Return lastReceivedRptMsgTimestamp, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return receivedRptMsgCount, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return sentInitMsgCount, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return sentUpdMsgCount, ornull
if it is not present.Class<? extends StatefulMessagesGrouping>
default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return lastReceivedRptMsgTimestamp, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return receivedRptMsgCount, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return sentInitMsgCount, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return sentUpdMsgCount, guaranteed to be non-null.
-
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 StatefulMessagesGrouping> 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
-
getLastReceivedRptMsgTimestamp
org.opendaylight.yangtools.yang.common.Uint32 getLastReceivedRptMsgTimestamp()Return lastReceivedRptMsgTimestamp, ornull
if it is not present.The timestamp of last received PCRpt message.
- Returns:
Uint32
lastReceivedRptMsgTimestamp, ornull
if it is not present.
-
requireLastReceivedRptMsgTimestamp
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireLastReceivedRptMsgTimestamp()Return lastReceivedRptMsgTimestamp, guaranteed to be non-null.The timestamp of last received PCRpt message.
- Returns:
Uint32
lastReceivedRptMsgTimestamp, guaranteed to be non-null.- Throws:
NoSuchElementException
- if lastReceivedRptMsgTimestamp is not present
-
getReceivedRptMsgCount
org.opendaylight.yangtools.yang.common.Uint32 getReceivedRptMsgCount()Return receivedRptMsgCount, ornull
if it is not present.The number of received PcRpt messages.
- Returns:
Uint32
receivedRptMsgCount, ornull
if it is not present.
-
requireReceivedRptMsgCount
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireReceivedRptMsgCount()Return receivedRptMsgCount, guaranteed to be non-null.The number of received PcRpt messages.
- Returns:
Uint32
receivedRptMsgCount, guaranteed to be non-null.- Throws:
NoSuchElementException
- if receivedRptMsgCount is not present
-
getSentUpdMsgCount
org.opendaylight.yangtools.yang.common.Uint32 getSentUpdMsgCount()Return sentUpdMsgCount, ornull
if it is not present.The number of sent PCUpd messages.
- Returns:
Uint32
sentUpdMsgCount, ornull
if it is not present.
-
requireSentUpdMsgCount
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireSentUpdMsgCount()Return sentUpdMsgCount, guaranteed to be non-null.The number of sent PCUpd messages.
- Returns:
Uint32
sentUpdMsgCount, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sentUpdMsgCount is not present
-
getSentInitMsgCount
org.opendaylight.yangtools.yang.common.Uint32 getSentInitMsgCount()Return sentInitMsgCount, ornull
if it is not present.The number of sent PCInitiate messages.
- Returns:
Uint32
sentInitMsgCount, ornull
if it is not present.
-
requireSentInitMsgCount
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireSentInitMsgCount()Return sentInitMsgCount, guaranteed to be non-null.The number of sent PCInitiate messages.
- Returns:
Uint32
sentInitMsgCount, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sentInitMsgCount is not present
-