public interface PcerrMessage extends org.opendaylight.yangtools.yang.binding.ChildOf<PcerrMessage>, org.opendaylight.yangtools.yang.binding.Augmentable<PcerrMessage>, MessageHeader
This class represents the following YANG schema fragment defined in module pcep-types
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-types/pcerr-message/pcerr-message
To create instances of this class use PcerrMessageBuilder.
PcerrMessageBuilder| Modifier and Type | Field and Description |
|---|---|
static @NonNull org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
@Nullable List<Errors> |
getErrors() |
@Nullable ErrorType |
getErrorType() |
default Class<PcerrMessage> |
implementedInterface() |
default @NonNull List<Errors> |
nonnullErrors() |
getVersiondefault Class<PcerrMessage> implementedInterface()
implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainerimplementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObjectimplementedInterface in interface MessageHeaderdefault @NonNull List<Errors> nonnullErrors()
java.util.List errors, or an empty list if it is not present@Nullable ErrorType getErrorType()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcerr.message.pcerr.message.ErrorType errorType, or null if not presentCopyright © 2020 OpenDaylight. All rights reserved.