Interface LocalDiscriminator
- 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
- All Known Subinterfaces:
AsGenerated
,RouterIdGenerated
@Generated("mdsal-binding-generator")
public interface LocalDiscriminator
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module odl-bgp-evpn
grouping local-discriminator { leaf local-discriminator { type uint32; } }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32
Return localDiscriminator, ornull
if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return localDiscriminator, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getLocalDiscriminator
org.opendaylight.yangtools.yang.common.Uint32 getLocalDiscriminator()Return localDiscriminator, ornull
if it is not present.- Returns:
Uint32
localDiscriminator, ornull
if it is not present.
-
requireLocalDiscriminator
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireLocalDiscriminator()Return localDiscriminator, guaranteed to be non-null.- Returns:
Uint32
localDiscriminator, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localDiscriminator is not present
-