public class GrpcKeyManagementServiceStub extends KeyManagementServiceStub
gRPC 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 GrpcKeyManagementServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcKeyManagementServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(KeyManagementServiceStubSettings settings)
public static final GrpcKeyManagementServiceStub create(KeyManagementServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext)
protected GrpcKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcKeyManagementServiceStub, 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
GrpcKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcKeyManagementServiceStub, 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
Methods
asymmetricDecryptCallable()
public UnaryCallable<AsymmetricDecryptRequest,AsymmetricDecryptResponse> asymmetricDecryptCallable()
Returns
Overrides
asymmetricSignCallable()
public UnaryCallable<AsymmetricSignRequest,AsymmetricSignResponse> asymmetricSignCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createCryptoKeyCallable()
public UnaryCallable<CreateCryptoKeyRequest,CryptoKey> createCryptoKeyCallable()
Returns
Overrides
createCryptoKeyVersionCallable()
public UnaryCallable<CreateCryptoKeyVersionRequest,CryptoKeyVersion> createCryptoKeyVersionCallable()
Returns
Overrides
createImportJobCallable()
public UnaryCallable<CreateImportJobRequest,ImportJob> createImportJobCallable()
Returns
Overrides
createKeyRingCallable()
public UnaryCallable<CreateKeyRingRequest,KeyRing> createKeyRingCallable()
Returns
Overrides
decryptCallable()
public UnaryCallable<DecryptRequest,DecryptResponse> decryptCallable()
Returns
Overrides
destroyCryptoKeyVersionCallable()
public UnaryCallable<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> destroyCryptoKeyVersionCallable()
Returns
Overrides
encryptCallable()
public UnaryCallable<EncryptRequest,EncryptResponse> encryptCallable()
Returns
Overrides
generateRandomBytesCallable()
public UnaryCallable<GenerateRandomBytesRequest,GenerateRandomBytesResponse> generateRandomBytesCallable()
Returns
Overrides
getCryptoKeyCallable()
public UnaryCallable<GetCryptoKeyRequest,CryptoKey> getCryptoKeyCallable()
Returns
Overrides
getCryptoKeyVersionCallable()
public UnaryCallable<GetCryptoKeyVersionRequest,CryptoKeyVersion> getCryptoKeyVersionCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
getImportJobCallable()
public UnaryCallable<GetImportJobRequest,ImportJob> getImportJobCallable()
Returns
Overrides
getKeyRingCallable()
public UnaryCallable<GetKeyRingRequest,KeyRing> getKeyRingCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
getPublicKeyCallable()
public UnaryCallable<GetPublicKeyRequest,PublicKey> getPublicKeyCallable()
Returns
Overrides
importCryptoKeyVersionCallable()
public UnaryCallable<ImportCryptoKeyVersionRequest,CryptoKeyVersion> importCryptoKeyVersionCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCryptoKeyVersionsCallable()
public UnaryCallable<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse> listCryptoKeyVersionsCallable()
Returns
Overrides
listCryptoKeyVersionsPagedCallable()
public UnaryCallable<ListCryptoKeyVersionsRequest,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsPagedCallable()
Returns
Overrides
listCryptoKeysCallable()
public UnaryCallable<ListCryptoKeysRequest,ListCryptoKeysResponse> listCryptoKeysCallable()
Returns
Overrides
listCryptoKeysPagedCallable()
public UnaryCallable<ListCryptoKeysRequest,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysPagedCallable()
Returns
Overrides
listImportJobsCallable()
public UnaryCallable<ListImportJobsRequest,ListImportJobsResponse> listImportJobsCallable()
Returns
Overrides
listImportJobsPagedCallable()
public UnaryCallable<ListImportJobsRequest,KeyManagementServiceClient.ListImportJobsPagedResponse> listImportJobsPagedCallable()
Returns
Overrides
listKeyRingsCallable()
public UnaryCallable<ListKeyRingsRequest,ListKeyRingsResponse> listKeyRingsCallable()
Returns
Overrides
listKeyRingsPagedCallable()
public UnaryCallable<ListKeyRingsRequest,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsPagedCallable()
Returns
Overrides
macSignCallable()
public UnaryCallable<MacSignRequest,MacSignResponse> macSignCallable()
Returns
Overrides
macVerifyCallable()
public UnaryCallable<MacVerifyRequest,MacVerifyResponse> macVerifyCallable()
Returns
Overrides
restoreCryptoKeyVersionCallable()
public UnaryCallable<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> restoreCryptoKeyVersionCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
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> | |
Overrides
updateCryptoKeyCallable()
public UnaryCallable<UpdateCryptoKeyRequest,CryptoKey> updateCryptoKeyCallable()
Returns
Overrides
updateCryptoKeyPrimaryVersionCallable()
public UnaryCallable<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> updateCryptoKeyPrimaryVersionCallable()
Returns
Overrides
updateCryptoKeyVersionCallable()
public UnaryCallable<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> updateCryptoKeyVersionCallable()
Returns
Overrides