Interface MessagesState
- 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
- All Known Subinterfaces:
State
@Generated("mdsal-binding-generator")
public interface MessagesState
extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state data for Syslog messages.
This class represents the following YANG schema fragment defined in module openconfig-messages
grouping messages-state {
container message {
oc-ext:telemetry-atomic;
config false;
leaf msg {
type string;
}
leaf priority {
type uint8;
}
leaf app-name {
type string;
}
leaf procid {
type string;
}
leaf msgid {
type string;
}
}
}
-
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 TypeMethodDescriptionReturn message, ornullif it is not present.Class<? extends MessagesState>@NonNull MessageReturn message, or an empty instance if it is not present.
-
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 MessagesState> 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
-
getMessage
Message getMessage()Return message, ornullif it is not present.Syslog messages the client is Subscribing to. This is all messages currently configured to be sent according to syslog-severity.- Returns:
Messagemessage, ornullif it is not present.
-
nonnullMessage
@NonNull Message nonnullMessage()Return message, or an empty instance if it is not present.- Returns:
Messagemessage, or an empty instance if it is not present.
-