Class KeyManagementServiceSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

        public KeyManagementServiceSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.

      • getKeyRingSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRingRequest,​KeyRing> getKeyRingSettings()
        Returns the builder for the settings used for calls to getKeyRing.
      • getCryptoKeySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCryptoKeyRequest,​CryptoKey> getCryptoKeySettings()
        Returns the builder for the settings used for calls to getCryptoKey.
      • getCryptoKeyVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCryptoKeyVersionRequest,​CryptoKeyVersion> getCryptoKeyVersionSettings()
        Returns the builder for the settings used for calls to getCryptoKeyVersion.
      • getPublicKeySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPublicKeyRequest,​PublicKey> getPublicKeySettings()
        Returns the builder for the settings used for calls to getPublicKey.
      • getImportJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetImportJobRequest,​ImportJob> getImportJobSettings()
        Returns the builder for the settings used for calls to getImportJob.
      • createKeyRingSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRingRequest,​KeyRing> createKeyRingSettings()
        Returns the builder for the settings used for calls to createKeyRing.
      • createCryptoKeySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCryptoKeyRequest,​CryptoKey> createCryptoKeySettings()
        Returns the builder for the settings used for calls to createCryptoKey.
      • createCryptoKeyVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCryptoKeyVersionRequest,​CryptoKeyVersion> createCryptoKeyVersionSettings()
        Returns the builder for the settings used for calls to createCryptoKeyVersion.
      • importCryptoKeyVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportCryptoKeyVersionRequest,​CryptoKeyVersion> importCryptoKeyVersionSettings()
        Returns the builder for the settings used for calls to importCryptoKeyVersion.
      • createImportJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateImportJobRequest,​ImportJob> createImportJobSettings()
        Returns the builder for the settings used for calls to createImportJob.
      • updateCryptoKeySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyRequest,​CryptoKey> updateCryptoKeySettings()
        Returns the builder for the settings used for calls to updateCryptoKey.
      • updateCryptoKeyVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyVersionRequest,​CryptoKeyVersion> updateCryptoKeyVersionSettings()
        Returns the builder for the settings used for calls to updateCryptoKeyVersion.
      • updateCryptoKeyPrimaryVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyPrimaryVersionRequest,​CryptoKey> updateCryptoKeyPrimaryVersionSettings()
        Returns the builder for the settings used for calls to updateCryptoKeyPrimaryVersion.
      • destroyCryptoKeyVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DestroyCryptoKeyVersionRequest,​CryptoKeyVersion> destroyCryptoKeyVersionSettings()
        Returns the builder for the settings used for calls to destroyCryptoKeyVersion.
      • restoreCryptoKeyVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreCryptoKeyVersionRequest,​CryptoKeyVersion> restoreCryptoKeyVersionSettings()
        Returns the builder for the settings used for calls to restoreCryptoKeyVersion.
      • encryptSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<EncryptRequest,​EncryptResponse> encryptSettings()
        Returns the builder for the settings used for calls to encrypt.
      • decryptSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DecryptRequest,​DecryptResponse> decryptSettings()
        Returns the builder for the settings used for calls to decrypt.
      • rawEncryptSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RawEncryptRequest,​RawEncryptResponse> rawEncryptSettings()
        Returns the builder for the settings used for calls to rawEncrypt.
      • rawDecryptSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RawDecryptRequest,​RawDecryptResponse> rawDecryptSettings()
        Returns the builder for the settings used for calls to rawDecrypt.
      • asymmetricSignSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AsymmetricSignRequest,​AsymmetricSignResponse> asymmetricSignSettings()
        Returns the builder for the settings used for calls to asymmetricSign.
      • macSignSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<MacSignRequest,​MacSignResponse> macSignSettings()
        Returns the builder for the settings used for calls to macSign.
      • macVerifySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<MacVerifyRequest,​MacVerifyResponse> macVerifySettings()
        Returns the builder for the settings used for calls to macVerify.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​KeyManagementServiceClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the builder for the settings used for calls to getLocation.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,​com.google.iam.v1.Policy> setIamPolicySettings()
        Returns the builder for the settings used for calls to setIamPolicy.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,​com.google.iam.v1.Policy> getIamPolicySettings()
        Returns the builder for the settings used for calls to getIamPolicy.
      • testIamPermissionsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,​com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
        Returns the builder for the settings used for calls to testIamPermissions.