public static class KeyManagementServiceStubSettings.Builder extends StubSettings.Builder<KeyManagementServiceStubSettings,KeyManagementServiceStubSettings.Builder>
Builder for KeyManagementServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(KeyManagementServiceStubSettings settings)
protected Builder(KeyManagementServiceStubSettings settings)
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.
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()
Overrides
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.
decryptSettings()
public UnaryCallSettings.Builder<DecryptRequest,DecryptResponse> decryptSettings()
Returns the builder for the settings used for calls to decrypt.
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.
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.
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.
Overrides
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.
getKeyRingSettings()
public UnaryCallSettings.Builder<GetKeyRingRequest,KeyRing> getKeyRingSettings()
Returns the builder for the settings used for calls to getKeyRing.
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.
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.
macSignSettings()
public UnaryCallSettings.Builder<MacSignRequest,MacSignResponse> macSignSettings()
Returns the builder for the settings used for calls to macSign.
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 |
---|
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> | |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
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.