Interface CountTlv
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
,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.binding.Grouping, Tlv
This class represents the following YANG schema fragment defined in module bmp-message
grouping count-tlv { uses tlv; leaf count { type yang:counter32; } }
-
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.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
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
-