@BetaApi @Generated(value="by gapic-generator-java") public class GrpcGenAiCacheServiceStub extends GenAiCacheServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcGenAiCacheServiceStub(GenAiCacheServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcGenAiCacheServiceStub, using the given settings.
|
protected |
GrpcGenAiCacheServiceStub(GenAiCacheServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGenAiCacheServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcGenAiCacheServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcGenAiCacheServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcGenAiCacheServiceStub |
create(GenAiCacheServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateCachedContentRequest,CachedContent> |
createCachedContentCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteCachedContentRequest,com.google.protobuf.Empty> |
deleteCachedContentCallable() |
com.google.api.gax.rpc.UnaryCallable<GetCachedContentRequest,CachedContent> |
getCachedContentCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListCachedContentsRequest,ListCachedContentsResponse> |
listCachedContentsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListCachedContentsRequest,GenAiCacheServiceClient.ListCachedContentsPagedResponse> |
listCachedContentsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,GenAiCacheServiceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateCachedContentRequest,CachedContent> |
updateCachedContentCallable() |
protected GrpcGenAiCacheServiceStub(GenAiCacheServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcGenAiCacheServiceStub(GenAiCacheServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcGenAiCacheServiceStub create(GenAiCacheServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcGenAiCacheServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcGenAiCacheServiceStub 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.UnaryCallable<CreateCachedContentRequest,CachedContent> createCachedContentCallable()
createCachedContentCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetCachedContentRequest,CachedContent> getCachedContentCallable()
getCachedContentCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateCachedContentRequest,CachedContent> updateCachedContentCallable()
updateCachedContentCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteCachedContentRequest,com.google.protobuf.Empty> deleteCachedContentCallable()
deleteCachedContentCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCachedContentsRequest,ListCachedContentsResponse> listCachedContentsCallable()
listCachedContentsCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCachedContentsRequest,GenAiCacheServiceClient.ListCachedContentsPagedResponse> listCachedContentsPagedCallable()
listCachedContentsPagedCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,GenAiCacheServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class GenAiCacheServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class GenAiCacheServiceStubpublic final void close()
close in interface AutoCloseableclose in class GenAiCacheServiceStubpublic 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.