@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonKnowledgeBasesStub extends KnowledgeBasesStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonKnowledgeBasesStub(KnowledgeBasesStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonKnowledgeBasesStub, using the given settings.
|
protected |
HttpJsonKnowledgeBasesStub(KnowledgeBasesStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonKnowledgeBasesStub, using the given settings.
|
protected HttpJsonKnowledgeBasesStub(KnowledgeBasesStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonKnowledgeBasesStub(KnowledgeBasesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonKnowledgeBasesStub create(KnowledgeBasesStubSettings settings) throws IOException
IOException
public static final HttpJsonKnowledgeBasesStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonKnowledgeBasesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public UnaryCallable<ListKnowledgeBasesRequest,ListKnowledgeBasesResponse> listKnowledgeBasesCallable()
listKnowledgeBasesCallable
in class KnowledgeBasesStub
public UnaryCallable<ListKnowledgeBasesRequest,KnowledgeBasesClient.ListKnowledgeBasesPagedResponse> listKnowledgeBasesPagedCallable()
listKnowledgeBasesPagedCallable
in class KnowledgeBasesStub
public UnaryCallable<GetKnowledgeBaseRequest,KnowledgeBase> getKnowledgeBaseCallable()
getKnowledgeBaseCallable
in class KnowledgeBasesStub
public UnaryCallable<CreateKnowledgeBaseRequest,KnowledgeBase> createKnowledgeBaseCallable()
createKnowledgeBaseCallable
in class KnowledgeBasesStub
public UnaryCallable<DeleteKnowledgeBaseRequest,Empty> deleteKnowledgeBaseCallable()
deleteKnowledgeBaseCallable
in class KnowledgeBasesStub
public UnaryCallable<UpdateKnowledgeBaseRequest,KnowledgeBase> updateKnowledgeBaseCallable()
updateKnowledgeBaseCallable
in class KnowledgeBasesStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class KnowledgeBasesStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,KnowledgeBasesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class KnowledgeBasesStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class KnowledgeBasesStub
public final void close()
close
in interface AutoCloseable
close
in class KnowledgeBasesStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.