Interface CountTlv
- 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
,Tlv
- All Known Subinterfaces:
DuplicatePrefixAdvertisementsTlv
,DuplicateUpdatesTlv
,DuplicateWithdrawsTlv
,InvalidatedAsConfedLoopTlv
,InvalidatedAsPathLoopTlv
,InvalidatedClusterListLoopTlv
,InvalidatedOriginatorIdTlv
,PrefixesTreatedAsWithdrawTlv
,RejectedPrefixesTlv
,UpdatesTreatedAsWithdrawTlv
@Generated("mdsal-binding-generator")
public interface CountTlv
extends org.opendaylight.yangtools.yang.binding.DataObject, Tlv
This class represents the following YANG schema fragment defined in module bmp-message
grouping count-tlv { uses tlv; leaf count { type yang:counter32; } }
-
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.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
getCount()
Return count, ornull
if it is not present.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
Return count, 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
- 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 interfaceTlv
-
getCount
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getCount()Return count, ornull
if it is not present.- Returns:
Counter32
count, ornull
if it is not present.
-
requireCount
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireCount()Return count, guaranteed to be non-null.- Returns:
Counter32
count, guaranteed to be non-null.- Throws:
NoSuchElementException
- if count is not present
-