All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<Rp>, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.ChildOf<RpObject>, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataObject, org.opendaylight.yangtools.binding.Grouping, Object, ObjectHeader

@Generated("mdsal-binding-generator") public interface Rp extends org.opendaylight.yangtools.binding.ChildOf<RpObject>, org.opendaylight.yangtools.binding.Augmentable<Rp>, Object

This class represents the following YANG schema fragment defined in module pcep-types

 container rp {
   uses object;
   container tlvs {
     uses order-tlv;
     uses vendor-information-tlvs;
     uses path-setup-type-tlv;
   }
   leaf priority {
     type uint8 {
       range 1..7;
     }
   }
   leaf request-id {
     type request-id;
   }
   leaf reoptimization {
     type boolean;
     default false;
   }
   leaf bi-directional {
     type boolean;
     default false;
   }
   leaf loose {
     type boolean;
     default false;
   }
   leaf path-key {
     type boolean;
     default false;
   }
   leaf fragmentation {
     type boolean;
     default false;
   }
   leaf p2mp {
     type boolean;
     default false;
   }
   leaf ero-compression {
     type boolean;
     default false;
   }
   leaf supply-of {
     type boolean;
     default false;
   }
   leaf order {
     type boolean;
     default false;
   }
   leaf make-before-break {
     type boolean;
     default false;
   }
 }
 

To create instances of this class use RpBuilder.

See Also:
  • 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

      default Class<Rp> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.DataObject
    • bindingHashCode

      static int bindingHashCode(@NonNull Rp obj)
      Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
      Parameters:
      obj - Object for which to generate hashCode() result.
      Returns:
      Hash code value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null
    • bindingEquals

      static boolean bindingEquals(@NonNull Rp thisObj, Object obj)
      Default implementation of Object.equals(java.lang.Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
      Parameters:
      thisObj - Object acting as the receiver of equals invocation
      obj - Object acting as argument to equals invocation
      Returns:
      True if thisObj and obj are considered equal
      Throws:
      NullPointerException - if thisObj is null
    • bindingToString

      static String bindingToString(@NonNull Rp obj)
      Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
      Parameters:
      obj - Object for which to generate toString() result.
      Returns:
      String value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null
    • getTlvs

      Tlvs getTlvs()
      Return tlvs, or null if it is not present.
      Returns:
      Tlvs tlvs, or null if it is not present.
    • nonnullTlvs

      @NonNull Tlvs nonnullTlvs()
      Return tlvs, or an empty instance if it is not present.
      Returns:
      Tlvs tlvs, or an empty instance if it is not present.
    • getPriority

      org.opendaylight.yangtools.yang.common.Uint8 getPriority()
      Return priority, or null if it is not present.
      Returns:
      Uint8 priority, or null if it is not present.
    • requirePriority

      default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requirePriority()
      Return priority, guaranteed to be non-null.
      Returns:
      Uint8 priority, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if priority is not present
    • getRequestId

      RequestId getRequestId()
      Return requestId, or null if it is not present.
      Returns:
      RequestId requestId, or null if it is not present.
    • requireRequestId

      default @NonNull RequestId requireRequestId()
      Return requestId, guaranteed to be non-null.
      Returns:
      RequestId requestId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if requestId is not present
    • getReoptimization

      Boolean getReoptimization()
      Return reoptimization, or null if it is not present.
      Returns:
      Boolean reoptimization, or null if it is not present.
    • requireReoptimization

      default @NonNull Boolean requireReoptimization()
      Return reoptimization, guaranteed to be non-null.
      Returns:
      Boolean reoptimization, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if reoptimization is not present
    • getBiDirectional

      Boolean getBiDirectional()
      Return biDirectional, or null if it is not present.
      Returns:
      Boolean biDirectional, or null if it is not present.
    • requireBiDirectional

      default @NonNull Boolean requireBiDirectional()
      Return biDirectional, guaranteed to be non-null.
      Returns:
      Boolean biDirectional, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if biDirectional is not present
    • getLoose

      Boolean getLoose()
      Return loose, or null if it is not present.
      Returns:
      Boolean loose, or null if it is not present.
    • requireLoose

      default @NonNull Boolean requireLoose()
      Return loose, guaranteed to be non-null.
      Returns:
      Boolean loose, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if loose is not present
    • getPathKey

      Boolean getPathKey()
      Return pathKey, or null if it is not present.
      Returns:
      Boolean pathKey, or null if it is not present.
    • requirePathKey

      default @NonNull Boolean requirePathKey()
      Return pathKey, guaranteed to be non-null.
      Returns:
      Boolean pathKey, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if pathKey is not present
    • getFragmentation

      Boolean getFragmentation()
      Return fragmentation, or null if it is not present.
      Returns:
      Boolean fragmentation, or null if it is not present.
    • requireFragmentation

      default @NonNull Boolean requireFragmentation()
      Return fragmentation, guaranteed to be non-null.
      Returns:
      Boolean fragmentation, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if fragmentation is not present
    • getP2mp

      Boolean getP2mp()
      Return p2mp, or null if it is not present.
      Returns:
      Boolean p2mp, or null if it is not present.
    • requireP2mp

      default @NonNull Boolean requireP2mp()
      Return p2mp, guaranteed to be non-null.
      Returns:
      Boolean p2mp, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if p2mp is not present
    • getEroCompression

      Boolean getEroCompression()
      Return eroCompression, or null if it is not present.
      Returns:
      Boolean eroCompression, or null if it is not present.
    • requireEroCompression

      default @NonNull Boolean requireEroCompression()
      Return eroCompression, guaranteed to be non-null.
      Returns:
      Boolean eroCompression, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if eroCompression is not present
    • getSupplyOf

      Boolean getSupplyOf()
      Return supplyOf, or null if it is not present.
      Returns:
      Boolean supplyOf, or null if it is not present.
    • requireSupplyOf

      default @NonNull Boolean requireSupplyOf()
      Return supplyOf, guaranteed to be non-null.
      Returns:
      Boolean supplyOf, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if supplyOf is not present
    • getOrder

      Boolean getOrder()
      Return order, or null if it is not present.
      Returns:
      Boolean order, or null if it is not present.
    • requireOrder

      default @NonNull Boolean requireOrder()
      Return order, guaranteed to be non-null.
      Returns:
      Boolean order, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if order is not present
    • getMakeBeforeBreak

      Boolean getMakeBeforeBreak()
      Return makeBeforeBreak, or null if it is not present.
      Returns:
      Boolean makeBeforeBreak, or null if it is not present.
    • requireMakeBeforeBreak

      default @NonNull Boolean requireMakeBeforeBreak()
      Return makeBeforeBreak, guaranteed to be non-null.
      Returns:
      Boolean makeBeforeBreak, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if makeBeforeBreak is not present