Interface MapRequest

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

    @Generated("mdsal-binding-generator")
    public interface MapRequest
    extends org.opendaylight.yangtools.yang.binding.DataObject, EidList, MapRequestMetadata

    This class represents the following YANG schema fragment defined in module odl-lisp-proto

     grouping MapRequest {
       leaf authoritative {
         type boolean;
       }
       leaf mapDataPresent {
         type boolean;
       }
       leaf probe {
         type boolean;
       }
       leaf smr {
         type boolean;
       }
       leaf pitr {
         type boolean;
       }
       leaf smrInvoked {
         type boolean;
       }
       leaf nonce {
         type int64;
       }
       container SourceEid {
         uses eid-container;
       }
       list itrRloc {
         key itr-rloc-id;
         ordered-by user;
         leaf itr-rloc-id {
           type string;
         }
         uses rloc-container;
       }
       uses eid-list;
       container MapReply {
         uses mapping-record-container;
       }
       uses map-request-metadata;
     }
     
    • Field Summary

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

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends MapRequest> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface EidList
        Specified by:
        implementedInterface in interface MapRequestMetadata
      • getAuthoritative

        java.lang.Boolean getAuthoritative()
        Return authoritative, or null if it is not present.
        Returns:
        Boolean authoritative, or null if it is not present.
      • requireAuthoritative

        default @NonNull java.lang.Boolean requireAuthoritative()
        Return authoritative, guaranteed to be non-null.
        Returns:
        Boolean authoritative, guaranteed to be non-null.
        Throws:
        java.util.NoSuchElementException - if authoritative is not present
      • getMapDataPresent

        java.lang.Boolean getMapDataPresent()
        Return mapDataPresent, or null if it is not present.
        Returns:
        Boolean mapDataPresent, or null if it is not present.
      • requireMapDataPresent

        default @NonNull java.lang.Boolean requireMapDataPresent()
        Return mapDataPresent, guaranteed to be non-null.
        Returns:
        Boolean mapDataPresent, guaranteed to be non-null.
        Throws:
        java.util.NoSuchElementException - if mapDataPresent is not present
      • getProbe

        java.lang.Boolean getProbe()
        Return probe, or null if it is not present.
        Returns:
        Boolean probe, or null if it is not present.
      • requireProbe

        default @NonNull java.lang.Boolean requireProbe()
        Return probe, guaranteed to be non-null.
        Returns:
        Boolean probe, guaranteed to be non-null.
        Throws:
        java.util.NoSuchElementException - if probe is not present
      • getSmr

        java.lang.Boolean getSmr()
        Return smr, or null if it is not present.
        Returns:
        Boolean smr, or null if it is not present.
      • requireSmr

        default @NonNull java.lang.Boolean requireSmr()
        Return smr, guaranteed to be non-null.
        Returns:
        Boolean smr, guaranteed to be non-null.
        Throws:
        java.util.NoSuchElementException - if smr is not present
      • getPitr

        java.lang.Boolean getPitr()
        Return pitr, or null if it is not present.
        Returns:
        Boolean pitr, or null if it is not present.
      • requirePitr

        default @NonNull java.lang.Boolean requirePitr()
        Return pitr, guaranteed to be non-null.
        Returns:
        Boolean pitr, guaranteed to be non-null.
        Throws:
        java.util.NoSuchElementException - if pitr is not present
      • getSmrInvoked

        java.lang.Boolean getSmrInvoked()
        Return smrInvoked, or null if it is not present.
        Returns:
        Boolean smrInvoked, or null if it is not present.
      • requireSmrInvoked

        default @NonNull java.lang.Boolean requireSmrInvoked()
        Return smrInvoked, guaranteed to be non-null.
        Returns:
        Boolean smrInvoked, guaranteed to be non-null.
        Throws:
        java.util.NoSuchElementException - if smrInvoked is not present
      • getNonce

        java.lang.Long getNonce()
        Return nonce, or null if it is not present.
        Returns:
        Long nonce, or null if it is not present.
      • requireNonce

        default @NonNull java.lang.Long requireNonce()
        Return nonce, guaranteed to be non-null.
        Returns:
        Long nonce, guaranteed to be non-null.
        Throws:
        java.util.NoSuchElementException - if nonce is not present
      • getSourceEid

        SourceEid getSourceEid()
        Return sourceEid, or null if it is not present.
        Returns:
        SourceEid sourceEid, or null if it is not present.
      • getItrRloc

        @Nullable java.util.List<ItrRloc> getItrRloc()
        Return itrRloc, or null if it is not present.
        Returns:
        List<ItrRloc> itrRloc, or null if it is not present.
      • nonnullItrRloc

        default @NonNull java.util.List<ItrRloc> nonnullItrRloc()
        Return itrRloc, or an empty list if it is not present.
        Returns:
        List<ItrRloc> itrRloc, or an empty list if it is not present.
      • getMapReply

        MapReply getMapReply()
        Return mapReply, or null if it is not present.
        Returns:
        MapReply mapReply, or null if it is not present.