- 0.46.0 (latest)
- 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 GrpcApiKeysStub extends ApiKeysStub
gRPC 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 GrpcApiKeysStub create(ApiKeysStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | ApiKeysStubSettings |
Returns | |
---|---|
Type | Description |
GrpcApiKeysStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext)
public static final GrpcApiKeysStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcApiKeysStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcApiKeysStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcApiKeysStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcApiKeysStub(ApiKeysStubSettings settings, ClientContext clientContext)
protected GrpcApiKeysStub(ApiKeysStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcApiKeysStub, 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.
Parameters | |
---|---|
Name | Description |
settings | ApiKeysStubSettings |
clientContext | ClientContext |
GrpcApiKeysStub(ApiKeysStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcApiKeysStub(ApiKeysStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcApiKeysStub, 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.
Parameters | |
---|---|
Name | Description |
settings | ApiKeysStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createKeyCallable()
public UnaryCallable<CreateKeyRequest,Operation> createKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateKeyRequest,Operation> |
createKeyOperationCallable()
public OperationCallable<CreateKeyRequest,Key,Empty> createKeyOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateKeyRequest,Key,Empty> |
deleteKeyCallable()
public UnaryCallable<DeleteKeyRequest,Operation> deleteKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteKeyRequest,Operation> |
deleteKeyOperationCallable()
public OperationCallable<DeleteKeyRequest,Key,Empty> deleteKeyOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteKeyRequest,Key,Empty> |
getKeyCallable()
public UnaryCallable<GetKeyRequest,Key> getKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetKeyRequest,Key> |
getKeyStringCallable()
public UnaryCallable<GetKeyStringRequest,GetKeyStringResponse> getKeyStringCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetKeyStringRequest,GetKeyStringResponse> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listKeysCallable()
public UnaryCallable<ListKeysRequest,ListKeysResponse> listKeysCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListKeysRequest,ListKeysResponse> |
listKeysPagedCallable()
public UnaryCallable<ListKeysRequest,ApiKeysClient.ListKeysPagedResponse> listKeysPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListKeysRequest,ListKeysPagedResponse> |
lookupKeyCallable()
public UnaryCallable<LookupKeyRequest,LookupKeyResponse> lookupKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<LookupKeyRequest,LookupKeyResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
undeleteKeyCallable()
public UnaryCallable<UndeleteKeyRequest,Operation> undeleteKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UndeleteKeyRequest,Operation> |
undeleteKeyOperationCallable()
public OperationCallable<UndeleteKeyRequest,Key,Empty> undeleteKeyOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UndeleteKeyRequest,Key,Empty> |
updateKeyCallable()
public UnaryCallable<UpdateKeyRequest,Operation> updateKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateKeyRequest,Operation> |
updateKeyOperationCallable()
public OperationCallable<UpdateKeyRequest,Key,Empty> updateKeyOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateKeyRequest,Key,Empty> |