Interface PcerrMessage

  • All Superinterfaces:
    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;
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is pcep-typespcerr-message
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends PcerrMessage> implementedInterface()
        Specified by:
        implementedInterface in interface 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.