Class GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub>
com.google.cloud.discoveryengine.v1beta.GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub
- Enclosing class:
- GroundedGenerationServiceGrpc
public static final class GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service
GroundedGenerationService.
Service for grounded generation.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CheckGroundingResponse>checkGrounding(CheckGroundingRequest request) Performs a grounding check.com.google.common.util.concurrent.ListenableFuture<GenerateGroundedContentResponse>Generates grounded content.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub>
-
generateGroundedContent
public com.google.common.util.concurrent.ListenableFuture<GenerateGroundedContentResponse> generateGroundedContent(GenerateGroundedContentRequest request) Generates grounded content.
-
checkGrounding
public com.google.common.util.concurrent.ListenableFuture<CheckGroundingResponse> checkGrounding(CheckGroundingRequest request) Performs a grounding check.
-