@Generated(value="by gapic-generator-java") public class GrpcAutokeyStub extends AutokeyStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcAutokeyStub(AutokeyStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAutokeyStub, using the given settings.
|
protected |
GrpcAutokeyStub(AutokeyStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAutokeyStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcAutokeyStub |
create(AutokeyStubSettings settings) |
static GrpcAutokeyStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcAutokeyStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
com.google.api.gax.rpc.UnaryCallable<CreateKeyHandleRequest,com.google.longrunning.Operation> |
createKeyHandleCallable() |
com.google.api.gax.rpc.OperationCallable<CreateKeyHandleRequest,KeyHandle,CreateKeyHandleMetadata> |
createKeyHandleOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<GetKeyHandleRequest,KeyHandle> |
getKeyHandleCallable() |
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<ListKeyHandlesRequest,ListKeyHandlesResponse> |
listKeyHandlesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListKeyHandlesRequest,AutokeyClient.ListKeyHandlesPagedResponse> |
listKeyHandlesPagedCallable() |
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,AutokeyClient.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() |
getHttpJsonOperationsStubprotected GrpcAutokeyStub(AutokeyStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcAutokeyStub(AutokeyStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcAutokeyStub create(AutokeyStubSettings settings) throws IOException
IOExceptionpublic static final GrpcAutokeyStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcAutokeyStub 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 AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<CreateKeyHandleRequest,com.google.longrunning.Operation> createKeyHandleCallable()
createKeyHandleCallable in class AutokeyStubpublic com.google.api.gax.rpc.OperationCallable<CreateKeyHandleRequest,KeyHandle,CreateKeyHandleMetadata> createKeyHandleOperationCallable()
createKeyHandleOperationCallable in class AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<GetKeyHandleRequest,KeyHandle> getKeyHandleCallable()
getKeyHandleCallable in class AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<ListKeyHandlesRequest,ListKeyHandlesResponse> listKeyHandlesCallable()
listKeyHandlesCallable in class AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<ListKeyHandlesRequest,AutokeyClient.ListKeyHandlesPagedResponse> listKeyHandlesPagedCallable()
listKeyHandlesPagedCallable in class AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,AutokeyClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class AutokeyStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class AutokeyStubpublic final void close()
close in interface AutoCloseableclose in class AutokeyStubpublic 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.