Interface Ipv4Destinations
- 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:
Ipv4DestinationCase
,P2mpIpv4
@Generated("mdsal-binding-generator")
public interface Ipv4Destinations
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module pcep-types
grouping ipv4-destinations { leaf-list destination-ipv4-address { type inet:ipv4-address-no-zone; min-elements 1; } }
-
Method Summary
Modifier and TypeMethodDescription@Nullable Set
<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone> Return destinationIpv4Address, ornull
if it is not present.default @NonNull Set
<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone> Return destinationIpv4Address, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getDestinationIpv4Address
@Nullable Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone> getDestinationIpv4Address()Return destinationIpv4Address, ornull
if it is not present.- Returns:
Set<Ipv4AddressNoZone>
destinationIpv4Address, ornull
if it is not present.
-
requireDestinationIpv4Address
default @NonNull Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone> requireDestinationIpv4Address()Return destinationIpv4Address, guaranteed to be non-null.- Returns:
Set<Ipv4AddressNoZone>
destinationIpv4Address, guaranteed to be non-null.- Throws:
NoSuchElementException
- if destinationIpv4Address is not present
-