Class GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingV2Stub>
com.google.cloud.discoveryengine.v1alpha.GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingV2Stub
- Enclosing class:
- GroundedGenerationServiceGrpc
public static final class GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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) checkGrounding(CheckGroundingRequest request) Performs a grounding check.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.GroundedGenerationServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingV2Stub>
-
checkGrounding
public CheckGroundingResponse checkGrounding(CheckGroundingRequest request) throws io.grpc.StatusException Performs a grounding check.
- Throws:
io.grpc.StatusException
-