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

    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
    Return message, or null if it is not present.
    Class<? extends MessagesState>
     
    @NonNull Message
    Return message, or an empty instance if it is not present.
  • 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 MessagesState> implementedInterface()
      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
    • getMessage

      Message getMessage()
      Return message, or null if 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:
      Message message, or null if it is not present.
    • nonnullMessage

      @NonNull Message nonnullMessage()
      Return message, or an empty instance if it is not present.
      Returns:
      Message message, or an empty instance if it is not present.