@BetaApi @Generated(value="by gapic-generator-java") public class GrpcGroundedGenerationServiceStub extends GroundedGenerationServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcGroundedGenerationServiceStub(GroundedGenerationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcGroundedGenerationServiceStub, using the given settings.
|
protected |
GrpcGroundedGenerationServiceStub(GroundedGenerationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGroundedGenerationServiceStub, using the given settings.
|
protected GrpcGroundedGenerationServiceStub(GroundedGenerationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcGroundedGenerationServiceStub(GroundedGenerationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcGroundedGenerationServiceStub create(GroundedGenerationServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcGroundedGenerationServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcGroundedGenerationServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.BidiStreamingCallable<GenerateGroundedContentRequest,GenerateGroundedContentResponse> streamGenerateGroundedContentCallable()
streamGenerateGroundedContentCallable in class GroundedGenerationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GenerateGroundedContentRequest,GenerateGroundedContentResponse> generateGroundedContentCallable()
generateGroundedContentCallable in class GroundedGenerationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CheckGroundingRequest,CheckGroundingResponse> checkGroundingCallable()
checkGroundingCallable in class GroundedGenerationServiceStubpublic final void close()
close in interface AutoCloseableclose in class GroundedGenerationServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.