Interface ProcTime
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<ProcTime>,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.ChildOf<ProcTimeObject>,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,org.opendaylight.yangtools.binding.Grouping,Object,ObjectHeader
@Generated("mdsal-binding-generator")
public interface ProcTime
extends org.opendaylight.yangtools.binding.ChildOf<ProcTimeObject>, org.opendaylight.yangtools.binding.Augmentable<ProcTime>, Object
This class represents the following YANG schema fragment defined in module pcep-types
container proc-time {
uses object;
leaf estimated {
type boolean;
}
leaf current-proc-time {
type uint32;
}
leaf min-proc-time {
type uint32;
}
leaf max-proc-time {
type uint32;
}
leaf average-proc-time {
type uint32;
}
leaf variance-proc-time {
type uint32;
}
}
To create instances of this class use ProcTimeBuilder.
- 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 ProcTime thisObj, Object obj) Default implementation ofObject.equals(java.lang.Object)contract for this interface.static intbindingHashCode(@NonNull ProcTime obj) Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull ProcTime obj) Default implementation ofObject.toString()contract for this interface.org.opendaylight.yangtools.yang.common.Uint32Return averageProcTime, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return currentProcTime, ornullif it is not present.Return estimated, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return maxProcTime, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return minProcTime, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return varianceProcTime, ornullif it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return averageProcTime, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return currentProcTime, guaranteed to be non-null.default @NonNull BooleanReturn estimated, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return maxProcTime, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return minProcTime, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return varianceProcTime, 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
-
getEstimated
Boolean getEstimated()Return estimated, ornullif it is not present.Indicates that the reported metric value is based on estimated processing time as opposed to actual computations.- Returns:
Booleanestimated, ornullif it is not present.
-
requireEstimated
Return estimated, guaranteed to be non-null.Indicates that the reported metric value is based on estimated processing time as opposed to actual computations.- Returns:
Booleanestimated, guaranteed to be non-null.- Throws:
NoSuchElementException- if estimated is not present
-
getCurrentProcTime
org.opendaylight.yangtools.yang.common.Uint32 getCurrentProcTime()Return currentProcTime, ornullif it is not present.Indicates, in milliseconds, the processing time for the path computation of interest characterized in the corresponding PCMonReq message.- Returns:
Uint32currentProcTime, ornullif it is not present.
-
requireCurrentProcTime
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireCurrentProcTime()Return currentProcTime, guaranteed to be non-null.Indicates, in milliseconds, the processing time for the path computation of interest characterized in the corresponding PCMonReq message.- Returns:
Uint32currentProcTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if currentProcTime is not present
-
getMinProcTime
org.opendaylight.yangtools.yang.common.Uint32 getMinProcTime()Return minProcTime, ornullif it is not present.The minimum processing time in milliseconds- Returns:
Uint32minProcTime, ornullif it is not present.
-
requireMinProcTime
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMinProcTime()Return minProcTime, guaranteed to be non-null.The minimum processing time in milliseconds- Returns:
Uint32minProcTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if minProcTime is not present
-
getMaxProcTime
org.opendaylight.yangtools.yang.common.Uint32 getMaxProcTime()Return maxProcTime, ornullif it is not present.The maximum processing time in milliseconds- Returns:
Uint32maxProcTime, ornullif it is not present.
-
requireMaxProcTime
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMaxProcTime()Return maxProcTime, guaranteed to be non-null.The maximum processing time in milliseconds- Returns:
Uint32maxProcTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if maxProcTime is not present
-
getAverageProcTime
org.opendaylight.yangtools.yang.common.Uint32 getAverageProcTime()Return averageProcTime, ornullif it is not present.The average processing time in milliseconds- Returns:
Uint32averageProcTime, ornullif it is not present.
-
requireAverageProcTime
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireAverageProcTime()Return averageProcTime, guaranteed to be non-null.The average processing time in milliseconds- Returns:
Uint32averageProcTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if averageProcTime is not present
-
getVarianceProcTime
org.opendaylight.yangtools.yang.common.Uint32 getVarianceProcTime()Return varianceProcTime, ornullif it is not present.The variance of processing times in milliseconds- Returns:
Uint32varianceProcTime, ornullif it is not present.
-
requireVarianceProcTime
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireVarianceProcTime()Return varianceProcTime, guaranteed to be non-null.The variance of processing times in milliseconds- Returns:
Uint32varianceProcTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if varianceProcTime is not present
-