Send feedback
Class GrpcKeyManagementServiceStub (2.3.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.1 keyboard_arrow_down
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.
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
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
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]