Package org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.nt.l3.unicast.igp.topology.rev131021
Interface IgpPrefixAttributes
- 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
@Generated("mdsal-binding-generator")
public interface IgpPrefixAttributes
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module l3-unicast-igp-topology
grouping igp-prefix-attributes { leaf prefix { type inet:ip-prefix; } leaf metric { type uint32; } leaf-list flag { type flag-type; } }
-
Method Summary
Modifier and TypeMethodDescription@Nullable Set
<FlagIdentity> getFlag()
Return flag, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return metric, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
Return prefix, ornull
if it is not present.default @NonNull Set
<FlagIdentity> Return flag, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return metric, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
Return prefix, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getPrefix()Return prefix, ornull
if it is not present.- Returns:
IpPrefix
prefix, ornull
if it is not present.
-
requirePrefix
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix requirePrefix()Return prefix, guaranteed to be non-null.- Returns:
IpPrefix
prefix, guaranteed to be non-null.- Throws:
NoSuchElementException
- if prefix is not present
-
getMetric
org.opendaylight.yangtools.yang.common.Uint32 getMetric()Return metric, ornull
if it is not present.- Returns:
Uint32
metric, ornull
if it is not present.
-
requireMetric
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMetric()Return metric, guaranteed to be non-null.- Returns:
Uint32
metric, guaranteed to be non-null.- Throws:
NoSuchElementException
- if metric is not present
-
getFlag
@Nullable Set<FlagIdentity> getFlag()Return flag, ornull
if it is not present.- Returns:
Set<FlagIdentity>
flag, ornull
if it is not present.
-
requireFlag
Return flag, guaranteed to be non-null.- Returns:
Set<FlagIdentity>
flag, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flag is not present
-