Search in sources :

Example 1 with GetActionResultDetails

use of com.google.devtools.build.lib.remote.logging.RemoteExecutionLog.GetActionResultDetails in project tools_remote by bazelbuild.

the class ActionGroupingTest method makeGetActionResultWithDigest.

private RpcCallDetails makeGetActionResultWithDigest(ActionResult result, String digest) {
    GetActionResultRequest request = GetActionResultRequest.newBuilder().setActionDigest(toDigest(digest)).build();
    GetActionResultDetails getActionResult = GetActionResultDetails.newBuilder().setResponse(result).build();
    return RpcCallDetails.newBuilder().setGetActionResult(getActionResult).build();
}
Also used : GetActionResultDetails(com.google.devtools.build.lib.remote.logging.RemoteExecutionLog.GetActionResultDetails) GetActionResultRequest(build.bazel.remote.execution.v2.GetActionResultRequest)

Aggregations

GetActionResultRequest (build.bazel.remote.execution.v2.GetActionResultRequest)1 GetActionResultDetails (com.google.devtools.build.lib.remote.logging.RemoteExecutionLog.GetActionResultDetails)1