Class GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingStub (0.50.0)

public static final class GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingStub extends AbstractBlockingStub<GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service GroundedGenerationService.

Service for grounded generation.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

checkGrounding(CheckGroundingRequest request)

public CheckGroundingResponse checkGrounding(CheckGroundingRequest request)

Performs a grounding check.

Parameter
Name Description
request CheckGroundingRequest
Returns
Type Description
CheckGroundingResponse

generateGroundedContent(GenerateGroundedContentRequest request)

public GenerateGroundedContentResponse generateGroundedContent(GenerateGroundedContentRequest request)

Generates grounded content.

Parameter
Name Description
request GenerateGroundedContentRequest
Returns
Type Description
GenerateGroundedContentResponse