Class GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingV2Stub (0.58.0)

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

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.GroundedGenerationServiceBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingV2Stub
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

streamGenerateGroundedContent()

public BlockingClientCall<GenerateGroundedContentRequest,GenerateGroundedContentResponse> streamGenerateGroundedContent()

Generates grounded content in a streaming fashion.

Returns
Type Description
io.grpc.stub.BlockingClientCall<GenerateGroundedContentRequest,GenerateGroundedContentResponse>