@Generated(value="by gapic-generator-java") public class HttpJsonGroundedGenerationServiceStub extends GroundedGenerationServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonGroundedGenerationServiceStub(GroundedGenerationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonGroundedGenerationServiceStub, using the given settings.
|
protected |
HttpJsonGroundedGenerationServiceStub(GroundedGenerationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGroundedGenerationServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<CheckGroundingRequest,CheckGroundingResponse> |
checkGroundingCallable() |
void |
close() |
static HttpJsonGroundedGenerationServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonGroundedGenerationServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonGroundedGenerationServiceStub |
create(GroundedGenerationServiceStubSettings settings) |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonGroundedGenerationServiceStub(GroundedGenerationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonGroundedGenerationServiceStub(GroundedGenerationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonGroundedGenerationServiceStub create(GroundedGenerationServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonGroundedGenerationServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonGroundedGenerationServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public 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 © 2024 Google LLC. All rights reserved.