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, Message
All Known Subinterfaces:
Pcerr

@Generated("mdsal-binding-generator") public interface PcerrMessage extends org.opendaylight.yangtools.yang.binding.DataObject, Message

This class represents the following YANG schema fragment defined in module pcep-types

 grouping pcerr-message {
   uses message;
   container pcerr-message {
     uses message-header;
     list errors {
       uses pcep-error-object;
     }
     choice error-type {
       case request-case {
         container request {
           list rps {
             uses rp-object;
           }
         }
       }
       case session-case {
         container session {
           uses open-object;
         }
       }
     }
   }
 }
 
  • 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 pcerrMessage, or null if it is not present.
    Class<? extends PcerrMessage>
     
    @NonNull PcerrMessage
    Return pcerrMessage, 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 PcerrMessage> 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
      Specified by:
      implementedInterface in interface Message
    • getPcerrMessage

      PcerrMessage getPcerrMessage()
      Return pcerrMessage, or null if it is not present.
           
               Error Message
           
       
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcerr.message.PcerrMessage pcerrMessage, or null if it is not present.
    • nonnullPcerrMessage

      @NonNull PcerrMessage nonnullPcerrMessage()
      Return pcerrMessage, or an empty instance if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcerr.message.PcerrMessage pcerrMessage, or an empty instance if it is not present.