Interface UpdateMessage
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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 Message
This 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; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetNlri()
Return nlri, ornull
if it is not present.@Nullable List<WithdrawnRoutes>
Return withdrawnRoutes, ornull
if it is not present.Class<? extends UpdateMessage>
Return nlri, or an empty list if it is not present.default @NonNull List<WithdrawnRoutes>
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, nonnullAttributes
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends UpdateMessage> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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:
List<WithdrawnRoutes>
withdrawnRoutes, ornull
if it is not present.
-
nonnullWithdrawnRoutes
Return withdrawnRoutes, or an empty list if it is not present.- Returns:
List<WithdrawnRoutes>
withdrawnRoutes, or an empty list if it is not present.
-
getNlri
Return nlri, ornull
if it is not present.- Returns:
List<Nlri>
nlri, ornull
if it is not present.
-
nonnullNlri
Return nlri, or an empty list if it is not present.- Returns:
List<Nlri>
nlri, or an empty list if it is not present.
-