@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonApiKeysStub extends ApiKeysStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonApiKeysStub(ApiKeysStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonApiKeysStub, using the given settings.
|
protected |
HttpJsonApiKeysStub(ApiKeysStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonApiKeysStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonApiKeysStub |
create(ApiKeysStubSettings settings) |
static HttpJsonApiKeysStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonApiKeysStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory 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.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetKeyRequest,Key> |
getKeyCallable() |
com.google.api.gax.rpc.UnaryCallable<GetKeyStringRequest,GetKeyStringResponse> |
getKeyStringCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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() |
getOperationsStubprotected HttpJsonApiKeysStub(ApiKeysStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonApiKeysStub(ApiKeysStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonApiKeysStub create(ApiKeysStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonApiKeysStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonApiKeysStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub 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.