@Generated(value="by gapic-generator-java") public class GrpcPersistentResourceServiceStub extends PersistentResourceServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcPersistentResourceServiceStub(PersistentResourceServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcPersistentResourceServiceStub, using the given settings.
|
protected |
GrpcPersistentResourceServiceStub(PersistentResourceServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcPersistentResourceServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcPersistentResourceServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcPersistentResourceServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcPersistentResourceServiceStub |
create(PersistentResourceServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreatePersistentResourceRequest,com.google.longrunning.Operation> |
createPersistentResourceCallable() |
com.google.api.gax.rpc.OperationCallable<CreatePersistentResourceRequest,PersistentResource,CreatePersistentResourceOperationMetadata> |
createPersistentResourceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeletePersistentResourceRequest,com.google.longrunning.Operation> |
deletePersistentResourceCallable() |
com.google.api.gax.rpc.OperationCallable<DeletePersistentResourceRequest,com.google.protobuf.Empty,DeleteOperationMetadata> |
deletePersistentResourceOperationCallable() |
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() |
com.google.api.gax.rpc.UnaryCallable<GetPersistentResourceRequest,PersistentResource> |
getPersistentResourceCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
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,PersistentResourceServiceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListPersistentResourcesRequest,ListPersistentResourcesResponse> |
listPersistentResourcesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListPersistentResourcesRequest,PersistentResourceServiceClient.ListPersistentResourcesPagedResponse> |
listPersistentResourcesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<RebootPersistentResourceRequest,com.google.longrunning.Operation> |
rebootPersistentResourceCallable() |
com.google.api.gax.rpc.OperationCallable<RebootPersistentResourceRequest,PersistentResource,RebootPersistentResourceOperationMetadata> |
rebootPersistentResourceOperationCallable() |
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<UpdatePersistentResourceRequest,com.google.longrunning.Operation> |
updatePersistentResourceCallable() |
com.google.api.gax.rpc.OperationCallable<UpdatePersistentResourceRequest,PersistentResource,UpdatePersistentResourceOperationMetadata> |
updatePersistentResourceOperationCallable() |
protected GrpcPersistentResourceServiceStub(PersistentResourceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcPersistentResourceServiceStub(PersistentResourceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcPersistentResourceServiceStub create(PersistentResourceServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcPersistentResourceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcPersistentResourceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreatePersistentResourceRequest,com.google.longrunning.Operation> createPersistentResourceCallable()
createPersistentResourceCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.OperationCallable<CreatePersistentResourceRequest,PersistentResource,CreatePersistentResourceOperationMetadata> createPersistentResourceOperationCallable()
createPersistentResourceOperationCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetPersistentResourceRequest,PersistentResource> getPersistentResourceCallable()
getPersistentResourceCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListPersistentResourcesRequest,ListPersistentResourcesResponse> listPersistentResourcesCallable()
listPersistentResourcesCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListPersistentResourcesRequest,PersistentResourceServiceClient.ListPersistentResourcesPagedResponse> listPersistentResourcesPagedCallable()
listPersistentResourcesPagedCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeletePersistentResourceRequest,com.google.longrunning.Operation> deletePersistentResourceCallable()
deletePersistentResourceCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.OperationCallable<DeletePersistentResourceRequest,com.google.protobuf.Empty,DeleteOperationMetadata> deletePersistentResourceOperationCallable()
deletePersistentResourceOperationCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdatePersistentResourceRequest,com.google.longrunning.Operation> updatePersistentResourceCallable()
updatePersistentResourceCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.OperationCallable<UpdatePersistentResourceRequest,PersistentResource,UpdatePersistentResourceOperationMetadata> updatePersistentResourceOperationCallable()
updatePersistentResourceOperationCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<RebootPersistentResourceRequest,com.google.longrunning.Operation> rebootPersistentResourceCallable()
rebootPersistentResourceCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.OperationCallable<RebootPersistentResourceRequest,PersistentResource,RebootPersistentResourceOperationMetadata> rebootPersistentResourceOperationCallable()
rebootPersistentResourceOperationCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,PersistentResourceServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class PersistentResourceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class PersistentResourceServiceStubpublic final void close()
close in interface AutoCloseableclose in class PersistentResourceServiceStubpublic 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.