Class KeyManagementServiceStubSettings.Builder (2.37.0)

public static class KeyManagementServiceStubSettings.Builder extends StubSettings.Builder<KeyManagementServiceStubSettings,KeyManagementServiceStubSettings.Builder>

Builder for KeyManagementServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > KeyManagementServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(KeyManagementServiceStubSettings settings)

protected Builder(KeyManagementServiceStubSettings settings)
Parameter
NameDescription
settingsKeyManagementServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public KeyManagementServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>

asymmetricDecryptSettings()

public UnaryCallSettings.Builder<AsymmetricDecryptRequest,AsymmetricDecryptResponse> asymmetricDecryptSettings()

Returns the builder for the settings used for calls to asymmetricDecrypt.

asymmetricSignSettings()

public UnaryCallSettings.Builder<AsymmetricSignRequest,AsymmetricSignResponse> asymmetricSignSettings()

Returns the builder for the settings used for calls to asymmetricSign.

build()

public KeyManagementServiceStubSettings build()
Returns
TypeDescription
KeyManagementServiceStubSettings
Overrides
Exceptions
TypeDescription
IOException

createCryptoKeySettings()

public UnaryCallSettings.Builder<CreateCryptoKeyRequest,CryptoKey> createCryptoKeySettings()

Returns the builder for the settings used for calls to createCryptoKey.

createCryptoKeyVersionSettings()

public UnaryCallSettings.Builder<CreateCryptoKeyVersionRequest,CryptoKeyVersion> createCryptoKeyVersionSettings()

Returns the builder for the settings used for calls to createCryptoKeyVersion.

createImportJobSettings()

public UnaryCallSettings.Builder<CreateImportJobRequest,ImportJob> createImportJobSettings()

Returns the builder for the settings used for calls to createImportJob.

createKeyRingSettings()

public UnaryCallSettings.Builder<CreateKeyRingRequest,KeyRing> createKeyRingSettings()

Returns the builder for the settings used for calls to createKeyRing.

Returns
TypeDescription
Builder<CreateKeyRingRequest,KeyRing>

decryptSettings()

public UnaryCallSettings.Builder<DecryptRequest,DecryptResponse> decryptSettings()

Returns the builder for the settings used for calls to decrypt.

Returns
TypeDescription
Builder<DecryptRequest,DecryptResponse>

destroyCryptoKeyVersionSettings()

public UnaryCallSettings.Builder<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> destroyCryptoKeyVersionSettings()

Returns the builder for the settings used for calls to destroyCryptoKeyVersion.

encryptSettings()

public UnaryCallSettings.Builder<EncryptRequest,EncryptResponse> encryptSettings()

Returns the builder for the settings used for calls to encrypt.

Returns
TypeDescription
Builder<EncryptRequest,EncryptResponse>

generateRandomBytesSettings()

public UnaryCallSettings.Builder<GenerateRandomBytesRequest,GenerateRandomBytesResponse> generateRandomBytesSettings()

Returns the builder for the settings used for calls to generateRandomBytes.

getCryptoKeySettings()

public UnaryCallSettings.Builder<GetCryptoKeyRequest,CryptoKey> getCryptoKeySettings()

Returns the builder for the settings used for calls to getCryptoKey.

Returns
TypeDescription
Builder<GetCryptoKeyRequest,CryptoKey>

getCryptoKeyVersionSettings()

public UnaryCallSettings.Builder<GetCryptoKeyVersionRequest,CryptoKeyVersion> getCryptoKeyVersionSettings()

Returns the builder for the settings used for calls to getCryptoKeyVersion.

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
TypeDescription
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
TypeDescription
Builder<GetImportJobRequest,ImportJob>

getKeyRingSettings()

public UnaryCallSettings.Builder<GetKeyRingRequest,KeyRing> getKeyRingSettings()

Returns the builder for the settings used for calls to getKeyRing.

Returns
TypeDescription
Builder<GetKeyRingRequest,KeyRing>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
TypeDescription
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
TypeDescription
Builder<GetPublicKeyRequest,PublicKey>

importCryptoKeyVersionSettings()

public UnaryCallSettings.Builder<ImportCryptoKeyVersionRequest,CryptoKeyVersion> importCryptoKeyVersionSettings()

Returns the builder for the settings used for calls to importCryptoKeyVersion.

listCryptoKeyVersionsSettings()

public PagedCallSettings.Builder<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsSettings()

Returns the builder for the settings used for calls to listCryptoKeyVersions.

listCryptoKeysSettings()

public PagedCallSettings.Builder<ListCryptoKeysRequest,ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysSettings()

Returns the builder for the settings used for calls to listCryptoKeys.

listImportJobsSettings()

public PagedCallSettings.Builder<ListImportJobsRequest,ListImportJobsResponse,KeyManagementServiceClient.ListImportJobsPagedResponse> listImportJobsSettings()

Returns the builder for the settings used for calls to listImportJobs.

listKeyRingsSettings()

public PagedCallSettings.Builder<ListKeyRingsRequest,ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsSettings()

Returns the builder for the settings used for calls to listKeyRings.

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,KeyManagementServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

macSignSettings()

public UnaryCallSettings.Builder<MacSignRequest,MacSignResponse> macSignSettings()

Returns the builder for the settings used for calls to macSign.

Returns
TypeDescription
Builder<MacSignRequest,MacSignResponse>

macVerifySettings()

public UnaryCallSettings.Builder<MacVerifyRequest,MacVerifyResponse> macVerifySettings()

Returns the builder for the settings used for calls to macVerify.

rawDecryptSettings()

public UnaryCallSettings.Builder<RawDecryptRequest,RawDecryptResponse> rawDecryptSettings()

Returns the builder for the settings used for calls to rawDecrypt.

rawEncryptSettings()

public UnaryCallSettings.Builder<RawEncryptRequest,RawEncryptResponse> rawEncryptSettings()

Returns the builder for the settings used for calls to rawEncrypt.

restoreCryptoKeyVersionSettings()

public UnaryCallSettings.Builder<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> restoreCryptoKeyVersionSettings()

Returns the builder for the settings used for calls to restoreCryptoKeyVersion.

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateCryptoKeyPrimaryVersionSettings()

public UnaryCallSettings.Builder<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> updateCryptoKeyPrimaryVersionSettings()

Returns the builder for the settings used for calls to updateCryptoKeyPrimaryVersion.

updateCryptoKeySettings()

public UnaryCallSettings.Builder<UpdateCryptoKeyRequest,CryptoKey> updateCryptoKeySettings()

Returns the builder for the settings used for calls to updateCryptoKey.

updateCryptoKeyVersionSettings()

public UnaryCallSettings.Builder<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> updateCryptoKeyVersionSettings()

Returns the builder for the settings used for calls to updateCryptoKeyVersion.