Interface StartTestOutput
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<StartTestOutput>,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,org.opendaylight.yangtools.binding.RpcOutput
@Generated("mdsal-binding-generator")
public interface StartTestOutput
extends org.opendaylight.yangtools.binding.RpcOutput, org.opendaylight.yangtools.binding.Augmentable<StartTestOutput>
This class represents the following YANG schema fragment defined in module rpcbenchmark
output output {
leaf global-rtc-client-ok {
type uint32;
default 0;
}
leaf global-rtc-client-error {
type uint32;
default 0;
}
leaf exec-time {
type uint32;
default 0;
}
leaf rate {
type uint32;
default 0;
}
}
-
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 StartTestOutput thisObj, Object obj) Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull StartTestOutput obj) Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull StartTestOutput obj) Default implementation ofObject.toString()contract for this interface.org.opendaylight.yangtools.yang.common.Uint32Return execTime, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return globalRtcClientError, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return globalRtcClientOk, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getRate()Return rate, ornullif it is not present.default Class<StartTestOutput> default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return execTime, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return globalRtcClientError, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return globalRtcClientOk, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return rate, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
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- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.RpcOutput
-
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(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
-
getGlobalRtcClientOk
org.opendaylight.yangtools.yang.common.Uint32 getGlobalRtcClientOk()Return globalRtcClientOk, ornullif it is not present.Number of successful calls to the Global RPC Server for all test threads- Returns:
Uint32globalRtcClientOk, ornullif it is not present.
-
requireGlobalRtcClientOk
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireGlobalRtcClientOk()Return globalRtcClientOk, guaranteed to be non-null.Number of successful calls to the Global RPC Server for all test threads- Returns:
Uint32globalRtcClientOk, guaranteed to be non-null.- Throws:
NoSuchElementException- if globalRtcClientOk is not present
-
getGlobalRtcClientError
org.opendaylight.yangtools.yang.common.Uint32 getGlobalRtcClientError()Return globalRtcClientError, ornullif it is not present.Number of failed calls to the Global RPC server from all test threads- Returns:
Uint32globalRtcClientError, ornullif it is not present.
-
requireGlobalRtcClientError
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireGlobalRtcClientError()Return globalRtcClientError, guaranteed to be non-null.Number of failed calls to the Global RPC server from all test threads- Returns:
Uint32globalRtcClientError, guaranteed to be non-null.- Throws:
NoSuchElementException- if globalRtcClientError is not present
-
getExecTime
org.opendaylight.yangtools.yang.common.Uint32 getExecTime()Return execTime, ornullif it is not present.Test execution time, in milliseconds- Returns:
Uint32execTime, ornullif it is not present.
-
requireExecTime
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireExecTime()Return execTime, guaranteed to be non-null.Test execution time, in milliseconds- Returns:
Uint32execTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if execTime is not present
-
getRate
org.opendaylight.yangtools.yang.common.Uint32 getRate()Return rate, ornullif it is not present.RPC rate (Number of RPCs/sec)- Returns:
Uint32rate, ornullif it is not present.
-
requireRate
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireRate()Return rate, guaranteed to be non-null.RPC rate (Number of RPCs/sec)- Returns:
Uint32rate, guaranteed to be non-null.- Throws:
NoSuchElementException- if rate is not present
-