@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcKnowledgeBasesStub extends KnowledgeBasesStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcKnowledgeBasesStub(KnowledgeBasesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcKnowledgeBasesStub, using the given settings.
|
protected |
GrpcKnowledgeBasesStub(KnowledgeBasesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcKnowledgeBasesStub, using the given settings.
|
protected GrpcKnowledgeBasesStub(KnowledgeBasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcKnowledgeBasesStub(KnowledgeBasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcKnowledgeBasesStub create(KnowledgeBasesStubSettings settings) throws IOException
IOExceptionpublic static final GrpcKnowledgeBasesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcKnowledgeBasesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<ListKnowledgeBasesRequest,KnowledgeBasesClient.ListKnowledgeBasesPagedResponse> listKnowledgeBasesPagedCallable()
listKnowledgeBasesPagedCallable in class KnowledgeBasesStubpublic com.google.api.gax.rpc.UnaryCallable<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse> listKnowledgeBasesCallable()
listKnowledgeBasesCallable in class KnowledgeBasesStubpublic com.google.api.gax.rpc.UnaryCallable<GetKnowledgeBaseRequest,KnowledgeBase> getKnowledgeBaseCallable()
getKnowledgeBaseCallable in class KnowledgeBasesStubpublic com.google.api.gax.rpc.UnaryCallable<CreateKnowledgeBaseRequest,KnowledgeBase> createKnowledgeBaseCallable()
createKnowledgeBaseCallable in class KnowledgeBasesStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteKnowledgeBaseRequest,Empty> deleteKnowledgeBaseCallable()
deleteKnowledgeBaseCallable in class KnowledgeBasesStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateKnowledgeBaseRequest,KnowledgeBase> updateKnowledgeBaseCallable()
updateKnowledgeBaseCallable in class KnowledgeBasesStubpublic final void close()
close in interface AutoCloseableclose in class KnowledgeBasesStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.