Class KeyManagementServiceGrpc (2.32.0)

public final class KeyManagementServiceGrpc

Google Cloud Key Management Service Manages cryptographic keys and operations using those keys. Implements a REST model with the following objects:

Inheritance

java.lang.Object > KeyManagementServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(KeyManagementServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(KeyManagementServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceKeyManagementServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getAsymmetricDecryptMethod()

public static MethodDescriptor<AsymmetricDecryptRequest,AsymmetricDecryptResponse> getAsymmetricDecryptMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AsymmetricDecryptRequest,AsymmetricDecryptResponse>

getAsymmetricSignMethod()

public static MethodDescriptor<AsymmetricSignRequest,AsymmetricSignResponse> getAsymmetricSignMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<AsymmetricSignRequest,AsymmetricSignResponse>

getCreateCryptoKeyMethod()

public static MethodDescriptor<CreateCryptoKeyRequest,CryptoKey> getCreateCryptoKeyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateCryptoKeyRequest,CryptoKey>

getCreateCryptoKeyVersionMethod()

public static MethodDescriptor<CreateCryptoKeyVersionRequest,CryptoKeyVersion> getCreateCryptoKeyVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateCryptoKeyVersionRequest,CryptoKeyVersion>

getCreateImportJobMethod()

public static MethodDescriptor<CreateImportJobRequest,ImportJob> getCreateImportJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateImportJobRequest,ImportJob>

getCreateKeyRingMethod()

public static MethodDescriptor<CreateKeyRingRequest,KeyRing> getCreateKeyRingMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateKeyRingRequest,KeyRing>

getDecryptMethod()

public static MethodDescriptor<DecryptRequest,DecryptResponse> getDecryptMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DecryptRequest,DecryptResponse>

getDestroyCryptoKeyVersionMethod()

public static MethodDescriptor<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> getDestroyCryptoKeyVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DestroyCryptoKeyVersionRequest,CryptoKeyVersion>

getEncryptMethod()

public static MethodDescriptor<EncryptRequest,EncryptResponse> getEncryptMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<EncryptRequest,EncryptResponse>

getGenerateRandomBytesMethod()

public static MethodDescriptor<GenerateRandomBytesRequest,GenerateRandomBytesResponse> getGenerateRandomBytesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GenerateRandomBytesRequest,GenerateRandomBytesResponse>

getGetCryptoKeyMethod()

public static MethodDescriptor<GetCryptoKeyRequest,CryptoKey> getGetCryptoKeyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetCryptoKeyRequest,CryptoKey>

getGetCryptoKeyVersionMethod()

public static MethodDescriptor<GetCryptoKeyVersionRequest,CryptoKeyVersion> getGetCryptoKeyVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetCryptoKeyVersionRequest,CryptoKeyVersion>

getGetImportJobMethod()

public static MethodDescriptor<GetImportJobRequest,ImportJob> getGetImportJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetImportJobRequest,ImportJob>

getGetKeyRingMethod()

public static MethodDescriptor<GetKeyRingRequest,KeyRing> getGetKeyRingMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetKeyRingRequest,KeyRing>

getGetPublicKeyMethod()

public static MethodDescriptor<GetPublicKeyRequest,PublicKey> getGetPublicKeyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetPublicKeyRequest,PublicKey>

getImportCryptoKeyVersionMethod()

public static MethodDescriptor<ImportCryptoKeyVersionRequest,CryptoKeyVersion> getImportCryptoKeyVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ImportCryptoKeyVersionRequest,CryptoKeyVersion>

getListCryptoKeyVersionsMethod()

public static MethodDescriptor<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse> getListCryptoKeyVersionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse>

getListCryptoKeysMethod()

public static MethodDescriptor<ListCryptoKeysRequest,ListCryptoKeysResponse> getListCryptoKeysMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListCryptoKeysRequest,ListCryptoKeysResponse>

getListImportJobsMethod()

public static MethodDescriptor<ListImportJobsRequest,ListImportJobsResponse> getListImportJobsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListImportJobsRequest,ListImportJobsResponse>

getListKeyRingsMethod()

public static MethodDescriptor<ListKeyRingsRequest,ListKeyRingsResponse> getListKeyRingsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListKeyRingsRequest,ListKeyRingsResponse>

getMacSignMethod()

public static MethodDescriptor<MacSignRequest,MacSignResponse> getMacSignMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<MacSignRequest,MacSignResponse>

getMacVerifyMethod()

public static MethodDescriptor<MacVerifyRequest,MacVerifyResponse> getMacVerifyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<MacVerifyRequest,MacVerifyResponse>

getRawDecryptMethod()

public static MethodDescriptor<RawDecryptRequest,RawDecryptResponse> getRawDecryptMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RawDecryptRequest,RawDecryptResponse>

getRawEncryptMethod()

public static MethodDescriptor<RawEncryptRequest,RawEncryptResponse> getRawEncryptMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RawEncryptRequest,RawEncryptResponse>

getRestoreCryptoKeyVersionMethod()

public static MethodDescriptor<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> getRestoreCryptoKeyVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RestoreCryptoKeyVersionRequest,CryptoKeyVersion>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateCryptoKeyMethod()

public static MethodDescriptor<UpdateCryptoKeyRequest,CryptoKey> getUpdateCryptoKeyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateCryptoKeyRequest,CryptoKey>

getUpdateCryptoKeyPrimaryVersionMethod()

public static MethodDescriptor<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> getUpdateCryptoKeyPrimaryVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey>

getUpdateCryptoKeyVersionMethod()

public static MethodDescriptor<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> getUpdateCryptoKeyVersionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateCryptoKeyVersionRequest,CryptoKeyVersion>

newBlockingStub(Channel channel)

public static KeyManagementServiceGrpc.KeyManagementServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
KeyManagementServiceGrpc.KeyManagementServiceBlockingStub

newFutureStub(Channel channel)

public static KeyManagementServiceGrpc.KeyManagementServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
KeyManagementServiceGrpc.KeyManagementServiceFutureStub

newStub(Channel channel)

public static KeyManagementServiceGrpc.KeyManagementServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
KeyManagementServiceGrpc.KeyManagementServiceStub