Interface ProcTime
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ProcTime>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ProcTimeObject>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,Object
,ObjectHeader
@Generated("mdsal-binding-generator") public interface ProcTime extends org.opendaylight.yangtools.yang.binding.ChildOf<ProcTimeObject>, org.opendaylight.yangtools.yang.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; } }
The schema path to identify an instance is pcep-types/proc-time-object/proc-timeTo create instances of this class use
ProcTimeBuilder
.- See Also:
ProcTimeBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull ProcTime thisObj, Object obj)
Default implementation ofObject.equals(java.lang.Object)
contract for this interface.static int
bindingHashCode(@NonNull ProcTime obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull ProcTime obj)
Default implementation ofObject.toString()
contract for this interface.org.opendaylight.yangtools.yang.common.Uint32
getAverageProcTime()
Return averageProcTime, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getCurrentProcTime()
Return currentProcTime, ornull
if it is not present.Boolean
getEstimated()
Return estimated, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getMaxProcTime()
Return maxProcTime, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getMinProcTime()
Return minProcTime, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getVarianceProcTime()
Return varianceProcTime, ornull
if it is not present.default Class<ProcTime>
implementedInterface()
default Boolean
isEstimated()
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentations
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.ObjectHeader
getIgnore, getProcessingRule, isIgnore, isProcessingRule
-
-
-
-
Method Detail
-
implementedInterface
default Class<ProcTime> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceObject
- Specified by:
implementedInterface
in interfaceObjectHeader
-
bindingHashCode
static int bindingHashCode(@NonNull ProcTime obj)
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
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull ProcTime thisObj, Object obj)
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
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull ProcTime obj)
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:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
getEstimated
Boolean getEstimated()
Return estimated, ornull
if it is not present.Indicates that the reported metric value is based on estimated processing time as opposed to actual computations.
- Returns:
java.lang.Boolean
estimated, ornull
if it is not present.
-
isEstimated
@Deprecated(forRemoval=true) default Boolean isEstimated()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCurrentProcTime
org.opendaylight.yangtools.yang.common.Uint32 getCurrentProcTime()
Return currentProcTime, ornull
if it is not present.Indicates, in milliseconds, the processing time for the path computation of interest characterized in the corresponding PCMonReq message.
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
currentProcTime, ornull
if it is not present.
-
getMinProcTime
org.opendaylight.yangtools.yang.common.Uint32 getMinProcTime()
Return minProcTime, ornull
if it is not present.The minimum processing time in milliseconds
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
minProcTime, ornull
if it is not present.
-
getMaxProcTime
org.opendaylight.yangtools.yang.common.Uint32 getMaxProcTime()
Return maxProcTime, ornull
if it is not present.The maximum processing time in milliseconds
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
maxProcTime, ornull
if it is not present.
-
getAverageProcTime
org.opendaylight.yangtools.yang.common.Uint32 getAverageProcTime()
Return averageProcTime, ornull
if it is not present.The average processing time in milliseconds
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
averageProcTime, ornull
if it is not present.
-
getVarianceProcTime
org.opendaylight.yangtools.yang.common.Uint32 getVarianceProcTime()
Return varianceProcTime, ornull
if it is not present.The variance of processing times in milliseconds
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
varianceProcTime, ornull
if it is not present.
-
-