Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.rp.object
Interface Rp
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<Rp>,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.ChildOf<RpObject>,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,org.opendaylight.yangtools.binding.Grouping,Object,ObjectHeader
@Generated("mdsal-binding-generator")
public interface Rp
extends org.opendaylight.yangtools.binding.ChildOf<RpObject>, org.opendaylight.yangtools.binding.Augmentable<Rp>, Object
This class represents the following YANG schema fragment defined in module pcep-types
container rp {
uses object;
container tlvs {
uses order-tlv;
uses vendor-information-tlvs;
uses path-setup-type-tlv;
}
leaf priority {
type uint8 {
range 1..7;
}
}
leaf request-id {
type request-id;
}
leaf reoptimization {
type boolean;
default false;
}
leaf bi-directional {
type boolean;
default false;
}
leaf loose {
type boolean;
default false;
}
leaf path-key {
type boolean;
default false;
}
leaf fragmentation {
type boolean;
default false;
}
leaf p2mp {
type boolean;
default false;
}
leaf ero-compression {
type boolean;
default false;
}
leaf supply-of {
type boolean;
default false;
}
leaf order {
type boolean;
default false;
}
leaf make-before-break {
type boolean;
default false;
}
}
To create instances of this class use RpBuilder.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbindingEquals(@NonNull Rp thisObj, Object obj) Default implementation ofObject.equals(java.lang.Object)contract for this interface.static intbindingHashCode(@NonNull Rp obj) Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull Rp obj) Default implementation ofObject.toString()contract for this interface.Return biDirectional, ornullif it is not present.Return eroCompression, ornullif it is not present.Return fragmentation, ornullif it is not present.getLoose()Return loose, ornullif it is not present.Return makeBeforeBreak, ornullif it is not present.getOrder()Return order, ornullif it is not present.getP2mp()Return p2mp, ornullif it is not present.Return pathKey, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint8Return priority, ornullif it is not present.Return reoptimization, ornullif it is not present.Return requestId, ornullif it is not present.Return supplyOf, ornullif it is not present.getTlvs()Return tlvs, ornullif it is not present.@NonNull TlvsReturn tlvs, or an empty instance if it is not present.default @NonNull BooleanReturn biDirectional, guaranteed to be non-null.default @NonNull BooleanReturn eroCompression, guaranteed to be non-null.default @NonNull BooleanReturn fragmentation, guaranteed to be non-null.default @NonNull BooleanReturn loose, guaranteed to be non-null.default @NonNull BooleanReturn makeBeforeBreak, guaranteed to be non-null.default @NonNull BooleanReturn order, guaranteed to be non-null.default @NonNull BooleanReturn p2mp, guaranteed to be non-null.default @NonNull BooleanReturn pathKey, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8Return priority, guaranteed to be non-null.default @NonNull BooleanReturn reoptimization, guaranteed to be non-null.default @NonNull RequestIdReturn requestId, guaranteed to be non-null.default @NonNull BooleanReturn supplyOf, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentationsMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.ObjectHeader
getIgnore, getProcessingRule, requireIgnore, requireProcessingRule
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.DataObject
-
bindingHashCode
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjisnull
-
bindingEquals
Default implementation ofObject.equals(java.lang.Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjisnull
-
bindingToString
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjisnull
-
getTlvs
Tlvs getTlvs()Return tlvs, ornullif it is not present.- Returns:
Tlvstlvs, ornullif it is not present.
-
nonnullTlvs
@NonNull Tlvs nonnullTlvs()Return tlvs, or an empty instance if it is not present.- Returns:
Tlvstlvs, or an empty instance if it is not present.
-
getPriority
org.opendaylight.yangtools.yang.common.Uint8 getPriority()Return priority, ornullif it is not present.- Returns:
Uint8priority, ornullif it is not present.
-
requirePriority
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requirePriority()Return priority, guaranteed to be non-null.- Returns:
Uint8priority, guaranteed to be non-null.- Throws:
NoSuchElementException- if priority is not present
-
getRequestId
RequestId getRequestId()Return requestId, ornullif it is not present.- Returns:
RequestIdrequestId, ornullif it is not present.
-
requireRequestId
Return requestId, guaranteed to be non-null.- Returns:
RequestIdrequestId, guaranteed to be non-null.- Throws:
NoSuchElementException- if requestId is not present
-
getReoptimization
Boolean getReoptimization()Return reoptimization, ornullif it is not present.- Returns:
Booleanreoptimization, ornullif it is not present.
-
requireReoptimization
Return reoptimization, guaranteed to be non-null.- Returns:
Booleanreoptimization, guaranteed to be non-null.- Throws:
NoSuchElementException- if reoptimization is not present
-
getBiDirectional
Boolean getBiDirectional()Return biDirectional, ornullif it is not present.- Returns:
BooleanbiDirectional, ornullif it is not present.
-
requireBiDirectional
Return biDirectional, guaranteed to be non-null.- Returns:
BooleanbiDirectional, guaranteed to be non-null.- Throws:
NoSuchElementException- if biDirectional is not present
-
getLoose
Boolean getLoose()Return loose, ornullif it is not present.- Returns:
Booleanloose, ornullif it is not present.
-
requireLoose
Return loose, guaranteed to be non-null.- Returns:
Booleanloose, guaranteed to be non-null.- Throws:
NoSuchElementException- if loose is not present
-
getPathKey
Boolean getPathKey()Return pathKey, ornullif it is not present.- Returns:
BooleanpathKey, ornullif it is not present.
-
requirePathKey
Return pathKey, guaranteed to be non-null.- Returns:
BooleanpathKey, guaranteed to be non-null.- Throws:
NoSuchElementException- if pathKey is not present
-
getFragmentation
Boolean getFragmentation()Return fragmentation, ornullif it is not present.- Returns:
Booleanfragmentation, ornullif it is not present.
-
requireFragmentation
Return fragmentation, guaranteed to be non-null.- Returns:
Booleanfragmentation, guaranteed to be non-null.- Throws:
NoSuchElementException- if fragmentation is not present
-
getP2mp
Boolean getP2mp()Return p2mp, ornullif it is not present.- Returns:
Booleanp2mp, ornullif it is not present.
-
requireP2mp
Return p2mp, guaranteed to be non-null.- Returns:
Booleanp2mp, guaranteed to be non-null.- Throws:
NoSuchElementException- if p2mp is not present
-
getEroCompression
Boolean getEroCompression()Return eroCompression, ornullif it is not present.- Returns:
BooleaneroCompression, ornullif it is not present.
-
requireEroCompression
Return eroCompression, guaranteed to be non-null.- Returns:
BooleaneroCompression, guaranteed to be non-null.- Throws:
NoSuchElementException- if eroCompression is not present
-
getSupplyOf
Boolean getSupplyOf()Return supplyOf, ornullif it is not present.- Returns:
BooleansupplyOf, ornullif it is not present.
-
requireSupplyOf
Return supplyOf, guaranteed to be non-null.- Returns:
BooleansupplyOf, guaranteed to be non-null.- Throws:
NoSuchElementException- if supplyOf is not present
-
getOrder
Boolean getOrder()Return order, ornullif it is not present.- Returns:
Booleanorder, ornullif it is not present.
-
requireOrder
Return order, guaranteed to be non-null.- Returns:
Booleanorder, guaranteed to be non-null.- Throws:
NoSuchElementException- if order is not present
-
getMakeBeforeBreak
Boolean getMakeBeforeBreak()Return makeBeforeBreak, ornullif it is not present.- Returns:
BooleanmakeBeforeBreak, ornullif it is not present.
-
requireMakeBeforeBreak
Return makeBeforeBreak, guaranteed to be non-null.- Returns:
BooleanmakeBeforeBreak, guaranteed to be non-null.- Throws:
NoSuchElementException- if makeBeforeBreak is not present
-