@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcKeyManagementServiceStub extends KeyManagementServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcKeyManagementServiceStub(KeyManagementServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcKeyManagementServiceStub, using the given settings.
|
protected |
GrpcKeyManagementServiceStub(KeyManagementServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcKeyManagementServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<com.google.cloud.kms.v1.AsymmetricDecryptRequest,com.google.cloud.kms.v1.AsymmetricDecryptResponse> |
asymmetricDecryptCallable() |
UnaryCallable<com.google.cloud.kms.v1.AsymmetricSignRequest,com.google.cloud.kms.v1.AsymmetricSignResponse> |
asymmetricSignCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcKeyManagementServiceStub |
create(ClientContext clientContext) |
static GrpcKeyManagementServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcKeyManagementServiceStub |
create(KeyManagementServiceStubSettings settings) |
UnaryCallable<com.google.cloud.kms.v1.CreateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> |
createCryptoKeyCallable() |
UnaryCallable<com.google.cloud.kms.v1.CreateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
createCryptoKeyVersionCallable() |
UnaryCallable<com.google.cloud.kms.v1.CreateKeyRingRequest,com.google.cloud.kms.v1.KeyRing> |
createKeyRingCallable() |
UnaryCallable<com.google.cloud.kms.v1.DecryptRequest,com.google.cloud.kms.v1.DecryptResponse> |
decryptCallable() |
UnaryCallable<com.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
destroyCryptoKeyVersionCallable() |
UnaryCallable<com.google.cloud.kms.v1.EncryptRequest,com.google.cloud.kms.v1.EncryptResponse> |
encryptCallable() |
UnaryCallable<com.google.cloud.kms.v1.GetCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> |
getCryptoKeyCallable() |
UnaryCallable<com.google.cloud.kms.v1.GetCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
getCryptoKeyVersionCallable() |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
UnaryCallable<com.google.cloud.kms.v1.GetKeyRingRequest,com.google.cloud.kms.v1.KeyRing> |
getKeyRingCallable() |
UnaryCallable<com.google.cloud.kms.v1.GetPublicKeyRequest,com.google.cloud.kms.v1.PublicKey> |
getPublicKeyCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.kms.v1.ListCryptoKeysRequest,com.google.cloud.kms.v1.ListCryptoKeysResponse> |
listCryptoKeysCallable() |
UnaryCallable<com.google.cloud.kms.v1.ListCryptoKeysRequest,KeyManagementServiceClient.ListCryptoKeysPagedResponse> |
listCryptoKeysPagedCallable() |
UnaryCallable<com.google.cloud.kms.v1.ListCryptoKeyVersionsRequest,com.google.cloud.kms.v1.ListCryptoKeyVersionsResponse> |
listCryptoKeyVersionsCallable() |
UnaryCallable<com.google.cloud.kms.v1.ListCryptoKeyVersionsRequest,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> |
listCryptoKeyVersionsPagedCallable() |
UnaryCallable<com.google.cloud.kms.v1.ListKeyRingsRequest,com.google.cloud.kms.v1.ListKeyRingsResponse> |
listKeyRingsCallable() |
UnaryCallable<com.google.cloud.kms.v1.ListKeyRingsRequest,KeyManagementServiceClient.ListKeyRingsPagedResponse> |
listKeyRingsPagedCallable() |
UnaryCallable<com.google.cloud.kms.v1.RestoreCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
restoreCryptoKeyVersionCallable() |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
UnaryCallable<com.google.cloud.kms.v1.UpdateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> |
updateCryptoKeyCallable() |
UnaryCallable<com.google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest,com.google.cloud.kms.v1.CryptoKey> |
updateCryptoKeyPrimaryVersionCallable() |
UnaryCallable<com.google.cloud.kms.v1.UpdateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
updateCryptoKeyVersionCallable() |
protected GrpcKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcKeyManagementServiceStub(KeyManagementServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcKeyManagementServiceStub create(KeyManagementServiceStubSettings settings) throws IOException
IOException
public static final GrpcKeyManagementServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcKeyManagementServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.cloud.kms.v1.ListKeyRingsRequest,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsPagedCallable()
listKeyRingsPagedCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.ListKeyRingsRequest,com.google.cloud.kms.v1.ListKeyRingsResponse> listKeyRingsCallable()
listKeyRingsCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.ListCryptoKeysRequest,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysPagedCallable()
listCryptoKeysPagedCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.ListCryptoKeysRequest,com.google.cloud.kms.v1.ListCryptoKeysResponse> listCryptoKeysCallable()
listCryptoKeysCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.ListCryptoKeyVersionsRequest,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsPagedCallable()
listCryptoKeyVersionsPagedCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.ListCryptoKeyVersionsRequest,com.google.cloud.kms.v1.ListCryptoKeyVersionsResponse> listCryptoKeyVersionsCallable()
listCryptoKeyVersionsCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.GetKeyRingRequest,com.google.cloud.kms.v1.KeyRing> getKeyRingCallable()
getKeyRingCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.GetCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> getCryptoKeyCallable()
getCryptoKeyCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.GetCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> getCryptoKeyVersionCallable()
getCryptoKeyVersionCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.CreateKeyRingRequest,com.google.cloud.kms.v1.KeyRing> createKeyRingCallable()
createKeyRingCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.CreateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> createCryptoKeyCallable()
createCryptoKeyCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.CreateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> createCryptoKeyVersionCallable()
createCryptoKeyVersionCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.UpdateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> updateCryptoKeyCallable()
updateCryptoKeyCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.UpdateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> updateCryptoKeyVersionCallable()
updateCryptoKeyVersionCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.EncryptRequest,com.google.cloud.kms.v1.EncryptResponse> encryptCallable()
encryptCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.DecryptRequest,com.google.cloud.kms.v1.DecryptResponse> decryptCallable()
decryptCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest,com.google.cloud.kms.v1.CryptoKey> updateCryptoKeyPrimaryVersionCallable()
updateCryptoKeyPrimaryVersionCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> destroyCryptoKeyVersionCallable()
destroyCryptoKeyVersionCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.RestoreCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> restoreCryptoKeyVersionCallable()
restoreCryptoKeyVersionCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.GetPublicKeyRequest,com.google.cloud.kms.v1.PublicKey> getPublicKeyCallable()
getPublicKeyCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.AsymmetricDecryptRequest,com.google.cloud.kms.v1.AsymmetricDecryptResponse> asymmetricDecryptCallable()
asymmetricDecryptCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.cloud.kms.v1.AsymmetricSignRequest,com.google.cloud.kms.v1.AsymmetricSignResponse> asymmetricSignCallable()
asymmetricSignCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class KeyManagementServiceStub
public UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class KeyManagementServiceStub
public final void close()
close
in interface AutoCloseable
close
in class KeyManagementServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.