Interface ProcTimeObject
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
MetricPce
@Generated("mdsal-binding-generator")
public interface ProcTimeObject
extends org.opendaylight.yangtools.yang.binding.DataObject
The PROC-TIME object is used to report various processing time related metrics.
This class represents the following YANG schema fragment defined in module pcep-types
grouping proc-time-object { 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; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn procTime, ornull
if it is not present.Class<? extends ProcTimeObject>
@NonNull ProcTime
Return procTime, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends ProcTimeObject> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getProcTime
ProcTime getProcTime()Return procTime, ornull
if it is not present.- Returns:
ProcTime
procTime, ornull
if it is not present.
-
nonnullProcTime
@NonNull ProcTime nonnullProcTime()Return procTime, or an empty instance if it is not present.- Returns:
ProcTime
procTime, or an empty instance if it is not present.
-