- 0.47.0 (latest)
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.2
public class HttpJsonApiKeysStub extends ApiKeysStub
REST stub implementation for the ApiKeys service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ApiKeysStubSettings settings)
public static final HttpJsonApiKeysStub create(ApiKeysStubSettings settings)
Name | Description |
settings | ApiKeysStubSettings |
Type | Description |
HttpJsonApiKeysStub |
Type | Description |
IOException |
create(ClientContext clientContext)
public static final HttpJsonApiKeysStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonApiKeysStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonApiKeysStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonApiKeysStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonApiKeysStub(ApiKeysStubSettings settings, ClientContext clientContext)
protected HttpJsonApiKeysStub(ApiKeysStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonApiKeysStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | ApiKeysStubSettings |
clientContext | ClientContext |
HttpJsonApiKeysStub(ApiKeysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonApiKeysStub(ApiKeysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonApiKeysStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | ApiKeysStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
createKeyCallable()
public UnaryCallable<CreateKeyRequest,Operation> createKeyCallable()
Type | Description |
UnaryCallable<CreateKeyRequest,Operation> |
createKeyOperationCallable()
public OperationCallable<CreateKeyRequest,Key,Empty> createKeyOperationCallable()
Type | Description |
OperationCallable<CreateKeyRequest,Key,Empty> |
deleteKeyCallable()
public UnaryCallable<DeleteKeyRequest,Operation> deleteKeyCallable()
Type | Description |
UnaryCallable<DeleteKeyRequest,Operation> |
deleteKeyOperationCallable()
public OperationCallable<DeleteKeyRequest,Key,Empty> deleteKeyOperationCallable()
Type | Description |
OperationCallable<DeleteKeyRequest,Key,Empty> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Type | Description |
HttpJsonOperationsStub |
getKeyCallable()
public UnaryCallable<GetKeyRequest,Key> getKeyCallable()
Type | Description |
UnaryCallable<GetKeyRequest,Key> |
getKeyStringCallable()
public UnaryCallable<GetKeyStringRequest,GetKeyStringResponse> getKeyStringCallable()
Type | Description |
UnaryCallable<GetKeyStringRequest,GetKeyStringResponse> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listKeysCallable()
public UnaryCallable<ListKeysRequest,ListKeysResponse> listKeysCallable()
Type | Description |
UnaryCallable<ListKeysRequest,ListKeysResponse> |
listKeysPagedCallable()
public UnaryCallable<ListKeysRequest,ApiKeysClient.ListKeysPagedResponse> listKeysPagedCallable()
Type | Description |
UnaryCallable<ListKeysRequest,ListKeysPagedResponse> |
lookupKeyCallable()
public UnaryCallable<LookupKeyRequest,LookupKeyResponse> lookupKeyCallable()
Type | Description |
UnaryCallable<LookupKeyRequest,LookupKeyResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
undeleteKeyCallable()
public UnaryCallable<UndeleteKeyRequest,Operation> undeleteKeyCallable()
Type | Description |
UnaryCallable<UndeleteKeyRequest,Operation> |
undeleteKeyOperationCallable()
public OperationCallable<UndeleteKeyRequest,Key,Empty> undeleteKeyOperationCallable()
Type | Description |
OperationCallable<UndeleteKeyRequest,Key,Empty> |
updateKeyCallable()
public UnaryCallable<UpdateKeyRequest,Operation> updateKeyCallable()
Type | Description |
UnaryCallable<UpdateKeyRequest,Operation> |
updateKeyOperationCallable()
public OperationCallable<UpdateKeyRequest,Key,Empty> updateKeyOperationCallable()
Type | Description |
OperationCallable<UpdateKeyRequest,Key,Empty> |