Interface QueueGetConfigReply

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

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

    This class represents the following YANG schema fragment defined in module openflow-protocol

     grouping queue-get-config-reply {
       uses ofHeader;
       leaf port {
         type oft:port-number;
       }
       list queues {
         uses packet-queue;
       }
     }
     
    • 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

        Class<? extends QueueGetConfigReply> 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 OfHeader
      • getPort

        PortNumber getPort()
        Return port, or null if it is not present.
        Returns:
        PortNumber port, or null if it is not present.
      • requirePort

        default @NonNull PortNumber requirePort()
        Return port, guaranteed to be non-null.
        Returns:
        PortNumber port, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if port is not present
      • getQueues

        @Nullable List<Queues> getQueues()
        Return queues, or null if it is not present.
        Returns:
        List<Queues> queues, or null if it is not present.
      • nonnullQueues

        default @NonNull List<Queues> nonnullQueues()
        Return queues, or an empty list if it is not present.
        Returns:
        List<Queues> queues, or an empty list if it is not present.