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:
Config, State

@Generated("mdsal-binding-generator") public interface DebugMessagesConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for enabling debug messages.

This class represents the following YANG schema fragment defined in module openconfig-messages

 grouping debug-messages-config {
   leaf service {
     type identityref {
       base DEBUG_SERVICE;
     }
   }
   leaf enabled {
     type boolean;
     default false;
   }
 }
 
  • 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 enabled, or null if it is not present.
    Return service, or null if it is not present.
     
    default @NonNull Boolean
    Return enabled, guaranteed to be non-null.
    default @NonNull DEBUGSERVICE
    Return service, guaranteed to be non-null.
  • 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 DebugMessagesConfig> 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
    • getService

      DEBUGSERVICE getService()
      Return service, or null if it is not present.
           
               Enumeration of all services which can have debugging enabled. Vendors are to
               augment this base identity with their platform or OS specific debug options.
           
       
      Returns:
      DEBUGSERVICE service, or null if it is not present.
    • requireService

      default @NonNull DEBUGSERVICE requireService()
      Return service, guaranteed to be non-null.
           
               Enumeration of all services which can have debugging enabled. Vendors are to
               augment this base identity with their platform or OS specific debug options.
           
       
      Returns:
      DEBUGSERVICE service, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if service is not present
    • getEnabled

      Boolean getEnabled()
      Return enabled, or null if it is not present.
           
               Enable and disable debugging.
           
       
      Returns:
      Boolean enabled, or null if it is not present.
    • requireEnabled

      default @NonNull Boolean requireEnabled()
      Return enabled, guaranteed to be non-null.
           
               Enable and disable debugging.
           
       
      Returns:
      Boolean enabled, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if enabled is not present