Class GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub (0.41.0)

public static final class GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub extends AbstractFutureStub<GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub>

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

Service for grounded generation.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

checkGrounding(CheckGroundingRequest request)

public ListenableFuture<CheckGroundingResponse> checkGrounding(CheckGroundingRequest request)

Performs a grounding check.

Parameter
Name Description
request CheckGroundingRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<CheckGroundingResponse>