- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.8
- 2.5.3
- 2.4.4
- 2.3.1
public class HttpJsonKeyManagementServiceStub extends KeyManagementServiceStub
REST stub implementation for the KeyManagementService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonKeyManagementServiceStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonKeyManagementServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonKeyManagementServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonKeyManagementServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(KeyManagementServiceStubSettings settings)
public static final HttpJsonKeyManagementServiceStub create(KeyManagementServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
KeyManagementServiceStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonKeyManagementServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonKeyManagementServiceStub, 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 |
KeyManagementServiceStubSettings |
clientContext |
ClientContext |
HttpJsonKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonKeyManagementServiceStub, 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 |
KeyManagementServiceStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Methods
asymmetricDecryptCallable()
public UnaryCallable<AsymmetricDecryptRequest,AsymmetricDecryptResponse> asymmetricDecryptCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AsymmetricDecryptRequest,AsymmetricDecryptResponse> |
asymmetricSignCallable()
public UnaryCallable<AsymmetricSignRequest,AsymmetricSignResponse> asymmetricSignCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AsymmetricSignRequest,AsymmetricSignResponse> |
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()
createCryptoKeyCallable()
public UnaryCallable<CreateCryptoKeyRequest,CryptoKey> createCryptoKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateCryptoKeyRequest,CryptoKey> |
createCryptoKeyVersionCallable()
public UnaryCallable<CreateCryptoKeyVersionRequest,CryptoKeyVersion> createCryptoKeyVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateCryptoKeyVersionRequest,CryptoKeyVersion> |
createImportJobCallable()
public UnaryCallable<CreateImportJobRequest,ImportJob> createImportJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateImportJobRequest,ImportJob> |
createKeyRingCallable()
public UnaryCallable<CreateKeyRingRequest,KeyRing> createKeyRingCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateKeyRingRequest,KeyRing> |
decryptCallable()
public UnaryCallable<DecryptRequest,DecryptResponse> decryptCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DecryptRequest,DecryptResponse> |
destroyCryptoKeyVersionCallable()
public UnaryCallable<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> destroyCryptoKeyVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> |
encryptCallable()
public UnaryCallable<EncryptRequest,EncryptResponse> encryptCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<EncryptRequest,EncryptResponse> |
generateRandomBytesCallable()
public UnaryCallable<GenerateRandomBytesRequest,GenerateRandomBytesResponse> generateRandomBytesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GenerateRandomBytesRequest,GenerateRandomBytesResponse> |
getCryptoKeyCallable()
public UnaryCallable<GetCryptoKeyRequest,CryptoKey> getCryptoKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetCryptoKeyRequest,CryptoKey> |
getCryptoKeyVersionCallable()
public UnaryCallable<GetCryptoKeyVersionRequest,CryptoKeyVersion> getCryptoKeyVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetCryptoKeyVersionRequest,CryptoKeyVersion> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getImportJobCallable()
public UnaryCallable<GetImportJobRequest,ImportJob> getImportJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetImportJobRequest,ImportJob> |
getKeyRingCallable()
public UnaryCallable<GetKeyRingRequest,KeyRing> getKeyRingCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetKeyRingRequest,KeyRing> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getPublicKeyCallable()
public UnaryCallable<GetPublicKeyRequest,PublicKey> getPublicKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPublicKeyRequest,PublicKey> |
importCryptoKeyVersionCallable()
public UnaryCallable<ImportCryptoKeyVersionRequest,CryptoKeyVersion> importCryptoKeyVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ImportCryptoKeyVersionRequest,CryptoKeyVersion> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listCryptoKeyVersionsCallable()
public UnaryCallable<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse> listCryptoKeyVersionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse> |
listCryptoKeyVersionsPagedCallable()
public UnaryCallable<ListCryptoKeyVersionsRequest,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsPagedResponse> |
listCryptoKeysCallable()
public UnaryCallable<ListCryptoKeysRequest,ListCryptoKeysResponse> listCryptoKeysCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCryptoKeysRequest,ListCryptoKeysResponse> |
listCryptoKeysPagedCallable()
public UnaryCallable<ListCryptoKeysRequest,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCryptoKeysRequest,ListCryptoKeysPagedResponse> |
listImportJobsCallable()
public UnaryCallable<ListImportJobsRequest,ListImportJobsResponse> listImportJobsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListImportJobsRequest,ListImportJobsResponse> |
listImportJobsPagedCallable()
public UnaryCallable<ListImportJobsRequest,KeyManagementServiceClient.ListImportJobsPagedResponse> listImportJobsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListImportJobsRequest,ListImportJobsPagedResponse> |
listKeyRingsCallable()
public UnaryCallable<ListKeyRingsRequest,ListKeyRingsResponse> listKeyRingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListKeyRingsRequest,ListKeyRingsResponse> |
listKeyRingsPagedCallable()
public UnaryCallable<ListKeyRingsRequest,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListKeyRingsRequest,ListKeyRingsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,KeyManagementServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
macSignCallable()
public UnaryCallable<MacSignRequest,MacSignResponse> macSignCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<MacSignRequest,MacSignResponse> |
macVerifyCallable()
public UnaryCallable<MacVerifyRequest,MacVerifyResponse> macVerifyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<MacVerifyRequest,MacVerifyResponse> |
rawDecryptCallable()
public UnaryCallable<RawDecryptRequest,RawDecryptResponse> rawDecryptCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RawDecryptRequest,RawDecryptResponse> |
rawEncryptCallable()
public UnaryCallable<RawEncryptRequest,RawEncryptResponse> rawEncryptCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RawEncryptRequest,RawEncryptResponse> |
restoreCryptoKeyVersionCallable()
public UnaryCallable<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> restoreCryptoKeyVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateCryptoKeyCallable()
public UnaryCallable<UpdateCryptoKeyRequest,CryptoKey> updateCryptoKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateCryptoKeyRequest,CryptoKey> |
updateCryptoKeyPrimaryVersionCallable()
public UnaryCallable<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> updateCryptoKeyPrimaryVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> |
updateCryptoKeyVersionCallable()
public UnaryCallable<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> updateCryptoKeyVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> |