Interface UpdateMessage
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,PathAttributes
- All Known Subinterfaces:
PduUpdateTlv
,Update
,Update
@Generated("mdsal-binding-generator") public interface UpdateMessage extends org.opendaylight.yangtools.yang.binding.DataObject, PathAttributes
Update MessageThis class represents the following YANG schema fragment defined in module bgp-message
grouping update-message { uses path-attributes; list withdrawn-routes { uses ipv4-prefix-and-path-id; } list nlri { uses ipv4-prefix-and-path-id; } }
The schema path to identify an instance is bgp-message/update-message
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<Nlri>
getNlri()
Return nlri, ornull
if it is not present.@Nullable List<WithdrawnRoutes>
getWithdrawnRoutes()
Return withdrawnRoutes, ornull
if it is not present.Class<? extends UpdateMessage>
implementedInterface()
default @NonNull List<Nlri>
nonnullNlri()
Return nlri, or an empty list if it is not present.default @NonNull List<WithdrawnRoutes>
nonnullWithdrawnRoutes()
Return withdrawnRoutes, or an empty list if it is not present.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathAttributes
getAttributes
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends UpdateMessage> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfacePathAttributes
-
getWithdrawnRoutes
@Nullable List<WithdrawnRoutes> getWithdrawnRoutes()
Return withdrawnRoutes, ornull
if it is not present.- Returns:
java.util.List
withdrawnRoutes, ornull
if it is not present.
-
nonnullWithdrawnRoutes
default @NonNull List<WithdrawnRoutes> nonnullWithdrawnRoutes()
Return withdrawnRoutes, or an empty list if it is not present.- Returns:
java.util.List
withdrawnRoutes, or an empty list if it is not present.
-
getNlri
@Nullable List<Nlri> getNlri()
Return nlri, ornull
if it is not present.- Returns:
java.util.List
nlri, ornull
if it is not present.
-
-