Interface EchoReply$G
- All Superinterfaces:
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:
EchoOutput,EchoReplyInput
@Generated("mdsal-binding-generator")
public interface EchoReply$G
extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping echo-reply {
uses ofHeader;
leaf data {
type binary;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()Return data, ornullif it is not present.Class<? extends EchoReply$G>default byte @NonNull []Return data, guaranteed to be non-null.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 QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends EchoReply$G> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceOfHeader
-
getData
byte[] getData()Return data, ornullif it is not present.- Returns:
byte[]data, ornullif 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
-