- 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)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonKeyManagementServiceStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonKeyManagementServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonKeyManagementServiceStub |
Type | Description |
IOException |
create(KeyManagementServiceStubSettings settings)
public static final HttpJsonKeyManagementServiceStub create(KeyManagementServiceStubSettings settings)
Name | Description |
settings | KeyManagementServiceStubSettings |
Type | Description |
HttpJsonKeyManagementServiceStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Name | Description |
settings | KeyManagementServiceStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
asymmetricDecryptCallable()
public UnaryCallable<AsymmetricDecryptRequest,AsymmetricDecryptResponse> asymmetricDecryptCallable()
Type | Description |
UnaryCallable<AsymmetricDecryptRequest,AsymmetricDecryptResponse> |
asymmetricSignCallable()
public UnaryCallable<AsymmetricSignRequest,AsymmetricSignResponse> asymmetricSignCallable()
Type | Description |
UnaryCallable<AsymmetricSignRequest,AsymmetricSignResponse> |
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()
createCryptoKeyCallable()
public UnaryCallable<CreateCryptoKeyRequest,CryptoKey> createCryptoKeyCallable()
Type | Description |
UnaryCallable<CreateCryptoKeyRequest,CryptoKey> |
createCryptoKeyVersionCallable()
public UnaryCallable<CreateCryptoKeyVersionRequest,CryptoKeyVersion> createCryptoKeyVersionCallable()
Type | Description |
UnaryCallable<CreateCryptoKeyVersionRequest,CryptoKeyVersion> |
createImportJobCallable()
public UnaryCallable<CreateImportJobRequest,ImportJob> createImportJobCallable()
Type | Description |
UnaryCallable<CreateImportJobRequest,ImportJob> |
createKeyRingCallable()
public UnaryCallable<CreateKeyRingRequest,KeyRing> createKeyRingCallable()
Type | Description |
UnaryCallable<CreateKeyRingRequest,KeyRing> |
decryptCallable()
public UnaryCallable<DecryptRequest,DecryptResponse> decryptCallable()
Type | Description |
UnaryCallable<DecryptRequest,DecryptResponse> |
destroyCryptoKeyVersionCallable()
public UnaryCallable<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> destroyCryptoKeyVersionCallable()
Type | Description |
UnaryCallable<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> |
encryptCallable()
public UnaryCallable<EncryptRequest,EncryptResponse> encryptCallable()
Type | Description |
UnaryCallable<EncryptRequest,EncryptResponse> |
generateRandomBytesCallable()
public UnaryCallable<GenerateRandomBytesRequest,GenerateRandomBytesResponse> generateRandomBytesCallable()
Type | Description |
UnaryCallable<GenerateRandomBytesRequest,GenerateRandomBytesResponse> |
getCryptoKeyCallable()
public UnaryCallable<GetCryptoKeyRequest,CryptoKey> getCryptoKeyCallable()
Type | Description |
UnaryCallable<GetCryptoKeyRequest,CryptoKey> |
getCryptoKeyVersionCallable()
public UnaryCallable<GetCryptoKeyVersionRequest,CryptoKeyVersion> getCryptoKeyVersionCallable()
Type | Description |
UnaryCallable<GetCryptoKeyVersionRequest,CryptoKeyVersion> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getImportJobCallable()
public UnaryCallable<GetImportJobRequest,ImportJob> getImportJobCallable()
Type | Description |
UnaryCallable<GetImportJobRequest,ImportJob> |
getKeyRingCallable()
public UnaryCallable<GetKeyRingRequest,KeyRing> getKeyRingCallable()
Type | Description |
UnaryCallable<GetKeyRingRequest,KeyRing> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getPublicKeyCallable()
public UnaryCallable<GetPublicKeyRequest,PublicKey> getPublicKeyCallable()
Type | Description |
UnaryCallable<GetPublicKeyRequest,PublicKey> |
importCryptoKeyVersionCallable()
public UnaryCallable<ImportCryptoKeyVersionRequest,CryptoKeyVersion> importCryptoKeyVersionCallable()
Type | Description |
UnaryCallable<ImportCryptoKeyVersionRequest,CryptoKeyVersion> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listCryptoKeyVersionsCallable()
public UnaryCallable<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse> listCryptoKeyVersionsCallable()
Type | Description |
UnaryCallable<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse> |
listCryptoKeyVersionsPagedCallable()
public UnaryCallable<ListCryptoKeyVersionsRequest,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsPagedCallable()
Type | Description |
UnaryCallable<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsPagedResponse> |
listCryptoKeysCallable()
public UnaryCallable<ListCryptoKeysRequest,ListCryptoKeysResponse> listCryptoKeysCallable()
Type | Description |
UnaryCallable<ListCryptoKeysRequest,ListCryptoKeysResponse> |
listCryptoKeysPagedCallable()
public UnaryCallable<ListCryptoKeysRequest,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysPagedCallable()
Type | Description |
UnaryCallable<ListCryptoKeysRequest,ListCryptoKeysPagedResponse> |
listImportJobsCallable()
public UnaryCallable<ListImportJobsRequest,ListImportJobsResponse> listImportJobsCallable()
Type | Description |
UnaryCallable<ListImportJobsRequest,ListImportJobsResponse> |
listImportJobsPagedCallable()
public UnaryCallable<ListImportJobsRequest,KeyManagementServiceClient.ListImportJobsPagedResponse> listImportJobsPagedCallable()
Type | Description |
UnaryCallable<ListImportJobsRequest,ListImportJobsPagedResponse> |
listKeyRingsCallable()
public UnaryCallable<ListKeyRingsRequest,ListKeyRingsResponse> listKeyRingsCallable()
Type | Description |
UnaryCallable<ListKeyRingsRequest,ListKeyRingsResponse> |
listKeyRingsPagedCallable()
public UnaryCallable<ListKeyRingsRequest,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsPagedCallable()
Type | Description |
UnaryCallable<ListKeyRingsRequest,ListKeyRingsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,KeyManagementServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
macSignCallable()
public UnaryCallable<MacSignRequest,MacSignResponse> macSignCallable()
Type | Description |
UnaryCallable<MacSignRequest,MacSignResponse> |
macVerifyCallable()
public UnaryCallable<MacVerifyRequest,MacVerifyResponse> macVerifyCallable()
Type | Description |
UnaryCallable<MacVerifyRequest,MacVerifyResponse> |
restoreCryptoKeyVersionCallable()
public UnaryCallable<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> restoreCryptoKeyVersionCallable()
Type | Description |
UnaryCallable<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
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()
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateCryptoKeyCallable()
public UnaryCallable<UpdateCryptoKeyRequest,CryptoKey> updateCryptoKeyCallable()
Type | Description |
UnaryCallable<UpdateCryptoKeyRequest,CryptoKey> |
updateCryptoKeyPrimaryVersionCallable()
public UnaryCallable<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> updateCryptoKeyPrimaryVersionCallable()
Type | Description |
UnaryCallable<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> |
updateCryptoKeyVersionCallable()
public UnaryCallable<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> updateCryptoKeyVersionCallable()
Type | Description |
UnaryCallable<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> |