public static class KeyManagementServiceStubSettings.Builder extends StubSettings.Builder<KeyManagementServiceStubSettings,KeyManagementServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(KeyManagementServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
KeyManagementServiceStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.AsymmetricDecryptRequest,com.google.cloud.kms.v1.AsymmetricDecryptResponse> |
asymmetricDecryptSettings()
Returns the builder for the settings used for calls to asymmetricDecrypt.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.AsymmetricSignRequest,com.google.cloud.kms.v1.AsymmetricSignResponse> |
asymmetricSignSettings()
Returns the builder for the settings used for calls to asymmetricSign.
|
KeyManagementServiceStubSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.kms.v1.CreateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> |
createCryptoKeySettings()
Returns the builder for the settings used for calls to createCryptoKey.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.CreateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
createCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to createCryptoKeyVersion.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.CreateKeyRingRequest,com.google.cloud.kms.v1.KeyRing> |
createKeyRingSettings()
Returns the builder for the settings used for calls to createKeyRing.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.DecryptRequest,com.google.cloud.kms.v1.DecryptResponse> |
decryptSettings()
Returns the builder for the settings used for calls to decrypt.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
destroyCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to destroyCryptoKeyVersion.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.EncryptRequest,com.google.cloud.kms.v1.EncryptResponse> |
encryptSettings()
Returns the builder for the settings used for calls to encrypt.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.GetCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> |
getCryptoKeySettings()
Returns the builder for the settings used for calls to getCryptoKey.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.GetCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
getCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to getCryptoKeyVersion.
|
UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.GetKeyRingRequest,com.google.cloud.kms.v1.KeyRing> |
getKeyRingSettings()
Returns the builder for the settings used for calls to getKeyRing.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.GetPublicKeyRequest,com.google.cloud.kms.v1.PublicKey> |
getPublicKeySettings()
Returns the builder for the settings used for calls to getPublicKey.
|
PagedCallSettings.Builder<com.google.cloud.kms.v1.ListCryptoKeysRequest,com.google.cloud.kms.v1.ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> |
listCryptoKeysSettings()
Returns the builder for the settings used for calls to listCryptoKeys.
|
PagedCallSettings.Builder<com.google.cloud.kms.v1.ListCryptoKeyVersionsRequest,com.google.cloud.kms.v1.ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> |
listCryptoKeyVersionsSettings()
Returns the builder for the settings used for calls to listCryptoKeyVersions.
|
PagedCallSettings.Builder<com.google.cloud.kms.v1.ListKeyRingsRequest,com.google.cloud.kms.v1.ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> |
listKeyRingsSettings()
Returns the builder for the settings used for calls to listKeyRings.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.RestoreCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
restoreCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to restoreCryptoKeyVersion.
|
UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
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.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<com.google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest,com.google.cloud.kms.v1.CryptoKey> |
updateCryptoKeyPrimaryVersionSettings()
Returns the builder for the settings used for calls to updateCryptoKeyPrimaryVersion.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.UpdateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> |
updateCryptoKeySettings()
Returns the builder for the settings used for calls to updateCryptoKey.
|
UnaryCallSettings.Builder<com.google.cloud.kms.v1.UpdateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
updateCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to updateCryptoKeyVersion.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(KeyManagementServiceStubSettings settings)
public KeyManagementServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<com.google.cloud.kms.v1.ListKeyRingsRequest,com.google.cloud.kms.v1.ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsSettings()
public PagedCallSettings.Builder<com.google.cloud.kms.v1.ListCryptoKeysRequest,com.google.cloud.kms.v1.ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysSettings()
public PagedCallSettings.Builder<com.google.cloud.kms.v1.ListCryptoKeyVersionsRequest,com.google.cloud.kms.v1.ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.GetKeyRingRequest,com.google.cloud.kms.v1.KeyRing> getKeyRingSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.GetCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> getCryptoKeySettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.GetCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> getCryptoKeyVersionSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.CreateKeyRingRequest,com.google.cloud.kms.v1.KeyRing> createKeyRingSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.CreateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> createCryptoKeySettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.CreateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> createCryptoKeyVersionSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.UpdateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> updateCryptoKeySettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.UpdateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> updateCryptoKeyVersionSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.EncryptRequest,com.google.cloud.kms.v1.EncryptResponse> encryptSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.DecryptRequest,com.google.cloud.kms.v1.DecryptResponse> decryptSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest,com.google.cloud.kms.v1.CryptoKey> updateCryptoKeyPrimaryVersionSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> destroyCryptoKeyVersionSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.RestoreCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> restoreCryptoKeyVersionSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.GetPublicKeyRequest,com.google.cloud.kms.v1.PublicKey> getPublicKeySettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.AsymmetricDecryptRequest,com.google.cloud.kms.v1.AsymmetricDecryptResponse> asymmetricDecryptSettings()
public UnaryCallSettings.Builder<com.google.cloud.kms.v1.AsymmetricSignRequest,com.google.cloud.kms.v1.AsymmetricSignResponse> asymmetricSignSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public KeyManagementServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<KeyManagementServiceStubSettings,KeyManagementServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.