Class EvaluationServiceGrpc.EvaluationServiceFutureStub (0.43.0)

public static final class EvaluationServiceGrpc.EvaluationServiceFutureStub extends AbstractFutureStub<EvaluationServiceGrpc.EvaluationServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service EvaluationService.

Service for managing Evaluations,

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EvaluationServiceGrpc.EvaluationServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected EvaluationServiceGrpc.EvaluationServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
EvaluationServiceGrpc.EvaluationServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createEvaluation(CreateEvaluationRequest request)

public ListenableFuture<Operation> createEvaluation(CreateEvaluationRequest request)

Creates a Evaluation. Upon creation, the evaluation will be automatically triggered and begin execution.

Parameter
Name Description
request CreateEvaluationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getEvaluation(GetEvaluationRequest request)

public ListenableFuture<Evaluation> getEvaluation(GetEvaluationRequest request)

Gets a Evaluation.

Parameter
Name Description
request GetEvaluationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Evaluation>

listEvaluationResults(ListEvaluationResultsRequest request)

public ListenableFuture<ListEvaluationResultsResponse> listEvaluationResults(ListEvaluationResultsRequest request)

Gets a list of results for a given a Evaluation.

Parameter
Name Description
request ListEvaluationResultsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEvaluationResultsResponse>

listEvaluations(ListEvaluationsRequest request)

public ListenableFuture<ListEvaluationsResponse> listEvaluations(ListEvaluationsRequest request)

Gets a list of Evaluations.

Parameter
Name Description
request ListEvaluationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEvaluationsResponse>