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
All Known Subinterfaces:
Ipv6PrefixSid, Ipv6PrefixSidTlv, Ipv6SrPrefix

@Generated("mdsal-binding-generator") public interface Ipv6PrefixSidTlv extends org.opendaylight.yangtools.yang.binding.DataObject

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

 grouping ipv6-prefix-sid-tlv {
   leaf algorithm {
     type algorithm;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return algorithm, or null if it is not present.
     
    default @NonNull Algorithm
    Return algorithm, guaranteed to be non-null.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

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

      Algorithm getAlgorithm()
      Return algorithm, or null if it is not present.
      Returns:
      Algorithm algorithm, or null if it is not present.
    • requireAlgorithm

      default @NonNull Algorithm requireAlgorithm()
      Return algorithm, guaranteed to be non-null.
      Returns:
      Algorithm algorithm, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if algorithm is not present