Class KeyManagementServiceGrpc (2.51.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
Type Description
String

Static Methods

bindService(KeyManagementServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(KeyManagementServiceGrpc.AsyncService service)
Parameter
Name Description
service KeyManagementServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getAsymmetricDecryptMethod()

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

getAsymmetricSignMethod()

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

getCreateCryptoKeyMethod()

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

getCreateCryptoKeyVersionMethod()

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

getCreateImportJobMethod()

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

getCreateKeyRingMethod()

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

getDecryptMethod()

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

getDestroyCryptoKeyVersionMethod()

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

getEncryptMethod()

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

getGenerateRandomBytesMethod()

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

getGetCryptoKeyMethod()

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

getGetCryptoKeyVersionMethod()

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

getGetImportJobMethod()

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

getGetKeyRingMethod()

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

getGetPublicKeyMethod()

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

getImportCryptoKeyVersionMethod()

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

getListCryptoKeyVersionsMethod()

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

getListCryptoKeysMethod()

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

getListImportJobsMethod()

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

getListKeyRingsMethod()

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

getMacSignMethod()

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

getMacVerifyMethod()

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

getRawDecryptMethod()

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

getRawEncryptMethod()

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

getRestoreCryptoKeyVersionMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateCryptoKeyMethod()

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

getUpdateCryptoKeyPrimaryVersionMethod()

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

getUpdateCryptoKeyVersionMethod()

public static MethodDescriptor<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> getUpdateCryptoKeyVersionMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
KeyManagementServiceGrpc.KeyManagementServiceStub