Interface SrAlgorithmsTlv

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:

    public interface SrAlgorithmsTlv
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module bgp-segment-routing

     grouping sr-algorithms-tlv {
       leaf-list algorithms {
         type algorithm;
    The schema path to identify an instance is bgp-segment-routingsr-algorithms-tlv
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends SrAlgorithmsTlv> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getAlgorithms

        @Nullable List<Algorithm> getAlgorithms()
        Return algorithms, or null if it is not present.
        List<Algorithm> algorithms, or null if it is not present.
      • requireAlgorithms

        default @NonNull List<Algorithm> requireAlgorithms()
        Return algorithms, guaranteed to be non-null.
        List<Algorithm> algorithms, guaranteed to be non-null.
        NoSuchElementException - if algorithms is not present