Interface BgpCountersMessageTypesCommon
- 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:
BgpNeighborMessageCountersReceivedState
,BgpNeighborMessageCountersSentState
,Received
,Received
,Sent
,Sent
@Generated("mdsal-binding-generator")
public interface BgpCountersMessageTypesCommon
extends org.opendaylight.yangtools.yang.binding.DataObject
Grouping of BGP message types, included for re-use across counters
This class represents the following YANG schema fragment defined in module openconfig-bgp-operational
grouping bgp-counters-message-types_common { leaf UPDATE { type uint64; } leaf NOTIFICATION { type uint64; } }
-
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 TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint64
Return nOTIFICATION, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return uPDATE, ornull
if it is not present.Class<? extends BgpCountersMessageTypesCommon>
default @NonNull org.opendaylight.yangtools.yang.common.Uint64
Return nOTIFICATION, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64
Return uPDATE, 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 BgpCountersMessageTypesCommon> 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
-
getUPDATE
org.opendaylight.yangtools.yang.common.Uint64 getUPDATE()Return uPDATE, ornull
if it is not present.Number of BGP UPDATE messages announcing, withdrawing or modifying paths exchanged.
- Returns:
Uint64
uPDATE, ornull
if it is not present.
-
requireUPDATE
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireUPDATE()Return uPDATE, guaranteed to be non-null.Number of BGP UPDATE messages announcing, withdrawing or modifying paths exchanged.
- Returns:
Uint64
uPDATE, guaranteed to be non-null.- Throws:
NoSuchElementException
- if uPDATE is not present
-
getNOTIFICATION
org.opendaylight.yangtools.yang.common.Uint64 getNOTIFICATION()Return nOTIFICATION, ornull
if it is not present.Number of BGP NOTIFICATION messages indicating an error condition has occurred exchanged.
- Returns:
Uint64
nOTIFICATION, ornull
if it is not present.
-
requireNOTIFICATION
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireNOTIFICATION()Return nOTIFICATION, guaranteed to be non-null.Number of BGP NOTIFICATION messages indicating an error condition has occurred exchanged.
- Returns:
Uint64
nOTIFICATION, guaranteed to be non-null.- Throws:
NoSuchElementException
- if nOTIFICATION is not present
-