public static class KeyManagementServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<KeyManagementServiceSettings,KeyManagementServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(KeyManagementServiceSettings settings) |
protected |
Builder(KeyManagementServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AsymmetricDecryptRequest,AsymmetricDecryptResponse> |
asymmetricDecryptSettings()
Returns the builder for the settings used for calls to asymmetricDecrypt.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AsymmetricSignRequest,AsymmetricSignResponse> |
asymmetricSignSettings()
Returns the builder for the settings used for calls to asymmetricSign.
|
KeyManagementServiceSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCryptoKeyRequest,CryptoKey> |
createCryptoKeySettings()
Returns the builder for the settings used for calls to createCryptoKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCryptoKeyVersionRequest,CryptoKeyVersion> |
createCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to createCryptoKeyVersion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateImportJobRequest,ImportJob> |
createImportJobSettings()
Returns the builder for the settings used for calls to createImportJob.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRingRequest,KeyRing> |
createKeyRingSettings()
Returns the builder for the settings used for calls to createKeyRing.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DecryptRequest,DecryptResponse> |
decryptSettings()
Returns the builder for the settings used for calls to decrypt.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> |
destroyCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to destroyCryptoKeyVersion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<EncryptRequest,EncryptResponse> |
encryptSettings()
Returns the builder for the settings used for calls to encrypt.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCryptoKeyRequest,CryptoKey> |
getCryptoKeySettings()
Returns the builder for the settings used for calls to getCryptoKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCryptoKeyVersionRequest,CryptoKeyVersion> |
getCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to getCryptoKeyVersion.
|
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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetImportJobRequest,ImportJob> |
getImportJobSettings()
Returns the builder for the settings used for calls to getImportJob.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRingRequest,KeyRing> |
getKeyRingSettings()
Returns the builder for the settings used for calls to getKeyRing.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPublicKeyRequest,PublicKey> |
getPublicKeySettings()
Returns the builder for the settings used for calls to getPublicKey.
|
KeyManagementServiceStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportCryptoKeyVersionRequest,CryptoKeyVersion> |
importCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to importCryptoKeyVersion.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListCryptoKeysRequest,ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> |
listCryptoKeysSettings()
Returns the builder for the settings used for calls to listCryptoKeys.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> |
listCryptoKeyVersionsSettings()
Returns the builder for the settings used for calls to listCryptoKeyVersions.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListImportJobsRequest,ListImportJobsResponse,KeyManagementServiceClient.ListImportJobsPagedResponse> |
listImportJobsSettings()
Returns the builder for the settings used for calls to listImportJobs.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListKeyRingsRequest,ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> |
listKeyRingsSettings()
Returns the builder for the settings used for calls to listKeyRings.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> |
restoreCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to restoreCryptoKeyVersion.
|
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.
|
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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> |
updateCryptoKeyPrimaryVersionSettings()
Returns the builder for the settings used for calls to updateCryptoKeyPrimaryVersion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyRequest,CryptoKey> |
updateCryptoKeySettings()
Returns the builder for the settings used for calls to updateCryptoKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> |
updateCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to updateCryptoKeyVersion.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(KeyManagementServiceSettings settings)
protected Builder(KeyManagementServiceStubSettings.Builder stubSettings)
public KeyManagementServiceStubSettings.Builder getStubSettingsBuilder()
public KeyManagementServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListKeyRingsRequest,ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListImportJobsRequest,ListImportJobsResponse,KeyManagementServiceClient.ListImportJobsPagedResponse> listImportJobsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCryptoKeysRequest,ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRingRequest,KeyRing> getKeyRingSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetImportJobRequest,ImportJob> getImportJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCryptoKeyRequest,CryptoKey> getCryptoKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCryptoKeyVersionRequest,CryptoKeyVersion> getCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRingRequest,KeyRing> createKeyRingSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateImportJobRequest,ImportJob> createImportJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCryptoKeyRequest,CryptoKey> createCryptoKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCryptoKeyVersionRequest,CryptoKeyVersion> createCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportCryptoKeyVersionRequest,CryptoKeyVersion> importCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyRequest,CryptoKey> updateCryptoKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> updateCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EncryptRequest,EncryptResponse> encryptSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DecryptRequest,DecryptResponse> decryptSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> updateCryptoKeyPrimaryVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> destroyCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> restoreCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPublicKeyRequest,PublicKey> getPublicKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AsymmetricDecryptRequest,AsymmetricDecryptResponse> asymmetricDecryptSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AsymmetricSignRequest,AsymmetricSignResponse> asymmetricSignSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public KeyManagementServiceSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<KeyManagementServiceSettings,KeyManagementServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.