Class GrpcKeyManagementServiceStub (2.6.6)

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.

Inheritance

java.lang.Object > KeyManagementServiceStub > GrpcKeyManagementServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcKeyManagementServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcKeyManagementServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(KeyManagementServiceStubSettings settings)

public static final GrpcKeyManagementServiceStub create(KeyManagementServiceStubSettings settings)
Parameter
NameDescription
settingsKeyManagementServiceStubSettings
Returns Exceptions
TypeDescription
IOException

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
NameDescription
settingsKeyManagementServiceStubSettings
clientContextClientContext

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
NameDescription
settingsKeyManagementServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

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
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

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
TypeDescription
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
TypeDescription
GrpcOperationsStub

getPublicKeyCallable()

public UnaryCallable<GetPublicKeyRequest,PublicKey> getPublicKeyCallable()
Returns Overrides

importCryptoKeyVersionCallable()

public UnaryCallable<ImportCryptoKeyVersionRequest,CryptoKeyVersion> importCryptoKeyVersionCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

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
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
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