Interface EchoRequest

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

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

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

     grouping echo-request {
       uses ofHeader;
       leaf data {
         type binary;
       }
     }
     
    • 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 EchoRequest> 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
      • 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