All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, CommonQueue, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

@Deprecated @Generated("mdsal-binding-generator") public interface QueuePropMaxRate extends org.opendaylight.yangtools.yang.binding.DataObject, CommonQueue
Deprecated.

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

 grouping queue-prop-max-rate {
   status deprecated;
   uses common-queue;
   leaf rate {
     type uint16;
   }
 }
 
  • Field Summary

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

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint16
    Deprecated.
    Return rate, or null if it is not present.
    Deprecated.
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Deprecated.
    Return rate, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.queue.rev130925.CommonQueue

    getProperty, requireProperty
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends QueuePropMaxRate> implementedInterface()
      Deprecated.
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface CommonQueue
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getRate

      org.opendaylight.yangtools.yang.common.Uint16 getRate()
      Deprecated.
      Return rate, or null if it is not present.
           
               OFPQT_MAX, len: 16
           
       
      Returns:
      Uint16 rate, or null if it is not present.
    • requireRate

      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireRate()
      Deprecated.
      Return rate, guaranteed to be non-null.
           
               OFPQT_MAX, len: 16
           
       
      Returns:
      Uint16 rate, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if rate is not present