All Superinterfaces:
ActionsGrouping, 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, OfHeader
All Known Subinterfaces:
PacketOutInput

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

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

 grouping packet-out {
   uses ofHeader;
   uses ofaction:actions-grouping;
   leaf data {
     type binary;
   }
   leaf buffer-id {
     type uint32;
   }
   leaf in-port {
     type oft:port-number;
   }
 }
 
  • 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
    org.opendaylight.yangtools.yang.common.Uint32
    Return bufferId, or null if it is not present.
    byte[]
    Return data, or null if it is not present.
    Return inPort, or null if it is not present.
    Class<? extends PacketOut$G>
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return bufferId, guaranteed to be non-null.
    default byte @NonNull []
    Return data, guaranteed to be non-null.
    default @NonNull PortNumber
    Return inPort, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.action.rev150203.ActionsGrouping

    getAction, nonnullAction

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader

    getVersion, getXid, requireVersion, requireXid
  • 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 PacketOut$G> implementedInterface()
      Specified by:
      implementedInterface in interface ActionsGrouping
      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
      Specified by:
      implementedInterface in interface OfHeader
    • getData

      byte[] getData()
      Return data, or null if it is not present.
      Returns:
      byte[] data, or null if it is not present.
    • requireData

      default byte @NonNull [] requireData()
      Return data, guaranteed to be non-null.
      Returns:
      byte[] data, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if data is not present
    • getBufferId

      org.opendaylight.yangtools.yang.common.Uint32 getBufferId()
      Return bufferId, or null if it is not present.
      Returns:
      Uint32 bufferId, or null if it is not present.
    • requireBufferId

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBufferId()
      Return bufferId, guaranteed to be non-null.
      Returns:
      Uint32 bufferId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if bufferId is not present
    • getInPort

      PortNumber getInPort()
      Return inPort, or null if it is not present.
      Returns:
      PortNumber inPort, or null if it is not present.
    • requireInPort

      default @NonNull PortNumber requireInPort()
      Return inPort, guaranteed to be non-null.
      Returns:
      PortNumber inPort, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if inPort is not present