Class EvaluationServiceGrpc.EvaluationServiceStub (3.52.0)

public static final class EvaluationServiceGrpc.EvaluationServiceStub extends AbstractAsyncStub<EvaluationServiceGrpc.EvaluationServiceStub>

A stub to allow clients to do asynchronous rpc calls to service EvaluationService.

Vertex AI Online Evaluation Service.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > EvaluationServiceGrpc.EvaluationServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

evaluateInstances(EvaluateInstancesRequest request, StreamObserver<EvaluateInstancesResponse> responseObserver)

public void evaluateInstances(EvaluateInstancesRequest request, StreamObserver<EvaluateInstancesResponse> responseObserver)

Evaluates instances based on a given metric.

Parameters
Name Description
request EvaluateInstancesRequest
responseObserver io.grpc.stub.StreamObserver<EvaluateInstancesResponse>