Send feedback
Class KeyManagementServiceSettings.Builder (2.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.11.0 keyboard_arrow_down
public static class KeyManagementServiceSettings . Builder extends ClientSettings . Builder<KeyManagementServiceSettings , KeyManagementServiceSettings . Builder >
Builder for KeyManagementServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(KeyManagementServiceSettings settings)
protected Builder ( KeyManagementServiceSettings settings )
Parameter
Builder(KeyManagementServiceStubSettings.Builder stubSettings)
protected Builder ( KeyManagementServiceStubSettings . Builder stubSettings )
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public KeyManagementServiceSettings . Builder applyToAllUnaryMethods ( ApiFunction<UnaryCallSettings . Builder <? , ? >, Void > settingsUpdater )
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
Parameter
Returns
asymmetricDecryptSettings()
public UnaryCallSettings . Builder<AsymmetricDecryptRequest , AsymmetricDecryptResponse > asymmetricDecryptSettings ()
Returns the builder for the settings used for calls to asymmetricDecrypt.
Returns
asymmetricSignSettings()
public UnaryCallSettings . Builder<AsymmetricSignRequest , AsymmetricSignResponse > asymmetricSignSettings ()
Returns the builder for the settings used for calls to asymmetricSign.
Returns
build()
public KeyManagementServiceSettings build ()
Returns
Overrides
Exceptions
createCryptoKeySettings()
public UnaryCallSettings . Builder<CreateCryptoKeyRequest , CryptoKey > createCryptoKeySettings ()
Returns the builder for the settings used for calls to createCryptoKey.
Returns
createCryptoKeyVersionSettings()
public UnaryCallSettings . Builder<CreateCryptoKeyVersionRequest , CryptoKeyVersion > createCryptoKeyVersionSettings ()
Returns the builder for the settings used for calls to createCryptoKeyVersion.
Returns
createImportJobSettings()
public UnaryCallSettings . Builder<CreateImportJobRequest , ImportJob > createImportJobSettings ()
Returns the builder for the settings used for calls to createImportJob.
Returns
createKeyRingSettings()
public UnaryCallSettings . Builder<CreateKeyRingRequest , KeyRing > createKeyRingSettings ()
Returns the builder for the settings used for calls to createKeyRing.
Returns
decryptSettings()
public UnaryCallSettings . Builder<DecryptRequest , DecryptResponse > decryptSettings ()
Returns the builder for the settings used for calls to decrypt.
Returns
destroyCryptoKeyVersionSettings()
public UnaryCallSettings . Builder<DestroyCryptoKeyVersionRequest , CryptoKeyVersion > destroyCryptoKeyVersionSettings ()
Returns the builder for the settings used for calls to destroyCryptoKeyVersion.
Returns
encryptSettings()
public UnaryCallSettings . Builder<EncryptRequest , EncryptResponse > encryptSettings ()
Returns the builder for the settings used for calls to encrypt.
Returns
generateRandomBytesSettings()
public UnaryCallSettings . Builder<GenerateRandomBytesRequest , GenerateRandomBytesResponse > generateRandomBytesSettings ()
Returns the builder for the settings used for calls to generateRandomBytes.
Returns
getCryptoKeySettings()
public UnaryCallSettings . Builder<GetCryptoKeyRequest , CryptoKey > getCryptoKeySettings ()
Returns the builder for the settings used for calls to getCryptoKey.
Returns
getCryptoKeyVersionSettings()
public UnaryCallSettings . Builder<GetCryptoKeyVersionRequest , CryptoKeyVersion > getCryptoKeyVersionSettings ()
Returns the builder for the settings used for calls to getCryptoKeyVersion.
Returns
getIamPolicySettings()
public UnaryCallSettings . Builder<GetIamPolicyRequest , Policy > getIamPolicySettings ()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
Type Description Builder <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getImportJobSettings()
public UnaryCallSettings . Builder<GetImportJobRequest , ImportJob > getImportJobSettings ()
Returns the builder for the settings used for calls to getImportJob.
Returns
getKeyRingSettings()
public UnaryCallSettings . Builder<GetKeyRingRequest , KeyRing > getKeyRingSettings ()
Returns the builder for the settings used for calls to getKeyRing.
Returns
getLocationSettings()
public UnaryCallSettings . Builder<GetLocationRequest , Location > getLocationSettings ()
Returns the builder for the settings used for calls to getLocation.
Returns
Type Description Builder <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
getPublicKeySettings()
public UnaryCallSettings . Builder<GetPublicKeyRequest , PublicKey > getPublicKeySettings ()
Returns the builder for the settings used for calls to getPublicKey.
Returns
getStubSettingsBuilder()
public KeyManagementServiceStubSettings . Builder getStubSettingsBuilder ()
Returns
importCryptoKeyVersionSettings()
public UnaryCallSettings . Builder<ImportCryptoKeyVersionRequest , CryptoKeyVersion > importCryptoKeyVersionSettings ()
Returns the builder for the settings used for calls to importCryptoKeyVersion.
Returns
listCryptoKeyVersionsSettings()
public PagedCallSettings . Builder<ListCryptoKeyVersionsRequest , ListCryptoKeyVersionsResponse , KeyManagementServiceClient . ListCryptoKeyVersionsPagedResponse > listCryptoKeyVersionsSettings ()
Returns the builder for the settings used for calls to listCryptoKeyVersions.
Returns
listCryptoKeysSettings()
public PagedCallSettings . Builder<ListCryptoKeysRequest , ListCryptoKeysResponse , KeyManagementServiceClient . ListCryptoKeysPagedResponse > listCryptoKeysSettings ()
Returns the builder for the settings used for calls to listCryptoKeys.
Returns
listImportJobsSettings()
public PagedCallSettings . Builder<ListImportJobsRequest , ListImportJobsResponse , KeyManagementServiceClient . ListImportJobsPagedResponse > listImportJobsSettings ()
Returns the builder for the settings used for calls to listImportJobs.
Returns
listKeyRingsSettings()
public PagedCallSettings . Builder<ListKeyRingsRequest , ListKeyRingsResponse , KeyManagementServiceClient . ListKeyRingsPagedResponse > listKeyRingsSettings ()
Returns the builder for the settings used for calls to listKeyRings.
Returns
listLocationsSettings()
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , KeyManagementServiceClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
Returns
macSignSettings()
public UnaryCallSettings . Builder<MacSignRequest , MacSignResponse > macSignSettings ()
Returns the builder for the settings used for calls to macSign.
Returns
macVerifySettings()
public UnaryCallSettings . Builder<MacVerifyRequest , MacVerifyResponse > macVerifySettings ()
Returns the builder for the settings used for calls to macVerify.
Returns
restoreCryptoKeyVersionSettings()
public UnaryCallSettings . Builder<RestoreCryptoKeyVersionRequest , CryptoKeyVersion > restoreCryptoKeyVersionSettings ()
Returns the builder for the settings used for calls to restoreCryptoKeyVersion.
Returns
setIamPolicySettings()
public UnaryCallSettings . Builder<SetIamPolicyRequest , Policy > setIamPolicySettings ()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
Type Description Builder <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
testIamPermissionsSettings()
public UnaryCallSettings . Builder<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsSettings ()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
Type Description Builder <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
updateCryptoKeyPrimaryVersionSettings()
public UnaryCallSettings . Builder<UpdateCryptoKeyPrimaryVersionRequest , CryptoKey > updateCryptoKeyPrimaryVersionSettings ()
Returns the builder for the settings used for calls to updateCryptoKeyPrimaryVersion.
Returns
updateCryptoKeySettings()
public UnaryCallSettings . Builder<UpdateCryptoKeyRequest , CryptoKey > updateCryptoKeySettings ()
Returns the builder for the settings used for calls to updateCryptoKey.
Returns
updateCryptoKeyVersionSettings()
public UnaryCallSettings . Builder<UpdateCryptoKeyVersionRequest , CryptoKeyVersion > updateCryptoKeyVersionSettings ()
Returns the builder for the settings used for calls to updateCryptoKeyVersion.
Returns
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-01-28 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-01-28 UTC."],[],[]]