Interface ExperimenterErrorMessage
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NodeExperimenterErrorNotification
@Generated("mdsal-binding-generator") public interface ExperimenterErrorMessage extends org.opendaylight.yangtools.yang.binding.DataObject
Experimenter error message structure.This class represents the following YANG schema fragment defined in module flow-errors
grouping experimenter-error-message { leaf type { type error-type; } leaf exp-type { type uint16; } leaf experimenter-id { type uint32; } leaf data { type string; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getData()
Return data, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getExperimenterId()
Return experimenterId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getExpType()
Return expType, ornull
if it is not present.ErrorType
getType()
Return type, ornull
if it is not present.Class<? extends ExperimenterErrorMessage>
implementedInterface()
default @NonNull String
requireData()
Return data, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireExperimenterId()
Return experimenterId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
requireExpType()
Return expType, guaranteed to be non-null.default @NonNull ErrorType
requireType()
Return type, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ExperimenterErrorMessage> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getType
ErrorType getType()
Return type, ornull
if it is not present.- Returns:
ErrorType
type, ornull
if it is not present.
-
requireType
default @NonNull ErrorType requireType()
Return type, guaranteed to be non-null.- Returns:
ErrorType
type, guaranteed to be non-null.- Throws:
NoSuchElementException
- if type is not present
-
getExpType
org.opendaylight.yangtools.yang.common.Uint16 getExpType()
Return expType, ornull
if it is not present.- Returns:
Uint16
expType, ornull
if it is not present.
-
requireExpType
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireExpType()
Return expType, guaranteed to be non-null.- Returns:
Uint16
expType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if expType is not present
-
getExperimenterId
org.opendaylight.yangtools.yang.common.Uint32 getExperimenterId()
Return experimenterId, ornull
if it is not present.- Returns:
Uint32
experimenterId, ornull
if it is not present.
-
requireExperimenterId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireExperimenterId()
Return experimenterId, guaranteed to be non-null.- Returns:
Uint32
experimenterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if experimenterId is not present
-
getData
String getData()
Return data, ornull
if it is not present.- Returns:
String
data, ornull
if it is not present.
-
requireData
default @NonNull String requireData()
Return data, guaranteed to be non-null.- Returns:
String
data, guaranteed to be non-null.- Throws:
NoSuchElementException
- if data is not present
-
-