@Generated(value="by gapic-generator-java") public class GrpcApiKeysStub extends ApiKeysStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcApiKeysStub(ApiKeysStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcApiKeysStub, using the given settings.
|
protected |
GrpcApiKeysStub(ApiKeysStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcApiKeysStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcApiKeysStub |
create(ApiKeysStubSettings settings) |
static GrpcApiKeysStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcApiKeysStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
com.google.api.gax.rpc.UnaryCallable<CreateKeyRequest,com.google.longrunning.Operation> |
createKeyCallable() |
com.google.api.gax.rpc.OperationCallable<CreateKeyRequest,Key,com.google.protobuf.Empty> |
createKeyOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteKeyRequest,com.google.longrunning.Operation> |
deleteKeyCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteKeyRequest,Key,com.google.protobuf.Empty> |
deleteKeyOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<GetKeyRequest,Key> |
getKeyCallable() |
com.google.api.gax.rpc.UnaryCallable<GetKeyStringRequest,GetKeyStringResponse> |
getKeyStringCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,ListKeysResponse> |
listKeysCallable() |
com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,ApiKeysClient.ListKeysPagedResponse> |
listKeysPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<LookupKeyRequest,LookupKeyResponse> |
lookupKeyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UndeleteKeyRequest,com.google.longrunning.Operation> |
undeleteKeyCallable() |
com.google.api.gax.rpc.OperationCallable<UndeleteKeyRequest,Key,com.google.protobuf.Empty> |
undeleteKeyOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateKeyRequest,com.google.longrunning.Operation> |
updateKeyCallable() |
com.google.api.gax.rpc.OperationCallable<UpdateKeyRequest,Key,com.google.protobuf.Empty> |
updateKeyOperationCallable() |
getHttpJsonOperationsStubprotected GrpcApiKeysStub(ApiKeysStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcApiKeysStub(ApiKeysStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcApiKeysStub create(ApiKeysStubSettings settings) throws IOException
IOExceptionpublic static final GrpcApiKeysStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcApiKeysStub 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 ApiKeysStubpublic com.google.api.gax.rpc.UnaryCallable<CreateKeyRequest,com.google.longrunning.Operation> createKeyCallable()
createKeyCallable in class ApiKeysStubpublic com.google.api.gax.rpc.OperationCallable<CreateKeyRequest,Key,com.google.protobuf.Empty> createKeyOperationCallable()
createKeyOperationCallable in class ApiKeysStubpublic com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,ListKeysResponse> listKeysCallable()
listKeysCallable in class ApiKeysStubpublic com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,ApiKeysClient.ListKeysPagedResponse> listKeysPagedCallable()
listKeysPagedCallable in class ApiKeysStubpublic com.google.api.gax.rpc.UnaryCallable<GetKeyRequest,Key> getKeyCallable()
getKeyCallable in class ApiKeysStubpublic com.google.api.gax.rpc.UnaryCallable<GetKeyStringRequest,GetKeyStringResponse> getKeyStringCallable()
getKeyStringCallable in class ApiKeysStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateKeyRequest,com.google.longrunning.Operation> updateKeyCallable()
updateKeyCallable in class ApiKeysStubpublic com.google.api.gax.rpc.OperationCallable<UpdateKeyRequest,Key,com.google.protobuf.Empty> updateKeyOperationCallable()
updateKeyOperationCallable in class ApiKeysStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteKeyRequest,com.google.longrunning.Operation> deleteKeyCallable()
deleteKeyCallable in class ApiKeysStubpublic com.google.api.gax.rpc.OperationCallable<DeleteKeyRequest,Key,com.google.protobuf.Empty> deleteKeyOperationCallable()
deleteKeyOperationCallable in class ApiKeysStubpublic com.google.api.gax.rpc.UnaryCallable<UndeleteKeyRequest,com.google.longrunning.Operation> undeleteKeyCallable()
undeleteKeyCallable in class ApiKeysStubpublic com.google.api.gax.rpc.OperationCallable<UndeleteKeyRequest,Key,com.google.protobuf.Empty> undeleteKeyOperationCallable()
undeleteKeyOperationCallable in class ApiKeysStubpublic com.google.api.gax.rpc.UnaryCallable<LookupKeyRequest,LookupKeyResponse> lookupKeyCallable()
lookupKeyCallable in class ApiKeysStubpublic final void close()
close in interface AutoCloseableclose in class ApiKeysStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.