@Generated(value="by gapic-generator") @BetaApi public class KeyManagementServiceStubSettings extends StubSettings<KeyManagementServiceStubSettings>
KeyManagementServiceStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of getKeyRing to 30 seconds:
KeyManagementServiceStubSettings.Builder keyManagementServiceSettingsBuilder =
KeyManagementServiceStubSettings.newBuilder();
keyManagementServiceSettingsBuilder.getKeyRingSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
KeyManagementServiceStubSettings keyManagementServiceSettings = keyManagementServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
KeyManagementServiceStubSettings.Builder
Builder for KeyManagementServiceStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
KeyManagementServiceStubSettings(KeyManagementServiceStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings<com.google.cloud.kms.v1.AsymmetricDecryptRequest,com.google.cloud.kms.v1.AsymmetricDecryptResponse> |
asymmetricDecryptSettings()
Returns the object with the settings used for calls to asymmetricDecrypt.
|
UnaryCallSettings<com.google.cloud.kms.v1.AsymmetricSignRequest,com.google.cloud.kms.v1.AsymmetricSignResponse> |
asymmetricSignSettings()
Returns the object with the settings used for calls to asymmetricSign.
|
UnaryCallSettings<com.google.cloud.kms.v1.CreateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> |
createCryptoKeySettings()
Returns the object with the settings used for calls to createCryptoKey.
|
UnaryCallSettings<com.google.cloud.kms.v1.CreateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
createCryptoKeyVersionSettings()
Returns the object with the settings used for calls to createCryptoKeyVersion.
|
UnaryCallSettings<com.google.cloud.kms.v1.CreateKeyRingRequest,com.google.cloud.kms.v1.KeyRing> |
createKeyRingSettings()
Returns the object with the settings used for calls to createKeyRing.
|
KeyManagementServiceStub |
createStub() |
UnaryCallSettings<com.google.cloud.kms.v1.DecryptRequest,com.google.cloud.kms.v1.DecryptResponse> |
decryptSettings()
Returns the object with the settings used for calls to decrypt.
|
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
UnaryCallSettings<com.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
destroyCryptoKeyVersionSettings()
Returns the object with the settings used for calls to destroyCryptoKeyVersion.
|
UnaryCallSettings<com.google.cloud.kms.v1.EncryptRequest,com.google.cloud.kms.v1.EncryptResponse> |
encryptSettings()
Returns the object with the settings used for calls to encrypt.
|
UnaryCallSettings<com.google.cloud.kms.v1.GetCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> |
getCryptoKeySettings()
Returns the object with the settings used for calls to getCryptoKey.
|
UnaryCallSettings<com.google.cloud.kms.v1.GetCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
getCryptoKeyVersionSettings()
Returns the object with the settings used for calls to getCryptoKeyVersion.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
UnaryCallSettings<com.google.cloud.kms.v1.GetKeyRingRequest,com.google.cloud.kms.v1.KeyRing> |
getKeyRingSettings()
Returns the object with the settings used for calls to getKeyRing.
|
UnaryCallSettings<com.google.cloud.kms.v1.GetPublicKeyRequest,com.google.cloud.kms.v1.PublicKey> |
getPublicKeySettings()
Returns the object with the settings used for calls to getPublicKey.
|
PagedCallSettings<com.google.cloud.kms.v1.ListCryptoKeysRequest,com.google.cloud.kms.v1.ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> |
listCryptoKeysSettings()
Returns the object with the settings used for calls to listCryptoKeys.
|
PagedCallSettings<com.google.cloud.kms.v1.ListCryptoKeyVersionsRequest,com.google.cloud.kms.v1.ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> |
listCryptoKeyVersionsSettings()
Returns the object with the settings used for calls to listCryptoKeyVersions.
|
PagedCallSettings<com.google.cloud.kms.v1.ListKeyRingsRequest,com.google.cloud.kms.v1.ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> |
listKeyRingsSettings()
Returns the object with the settings used for calls to listKeyRings.
|
static KeyManagementServiceStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static KeyManagementServiceStubSettings.Builder |
newBuilder(ClientContext clientContext)
Returns a new builder for this class.
|
UnaryCallSettings<com.google.cloud.kms.v1.RestoreCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
restoreCryptoKeyVersionSettings()
Returns the object with the settings used for calls to restoreCryptoKeyVersion.
|
UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
KeyManagementServiceStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
UnaryCallSettings<com.google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest,com.google.cloud.kms.v1.CryptoKey> |
updateCryptoKeyPrimaryVersionSettings()
Returns the object with the settings used for calls to updateCryptoKeyPrimaryVersion.
|
UnaryCallSettings<com.google.cloud.kms.v1.UpdateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> |
updateCryptoKeySettings()
Returns the object with the settings used for calls to updateCryptoKey.
|
UnaryCallSettings<com.google.cloud.kms.v1.UpdateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> |
updateCryptoKeyVersionSettings()
Returns the object with the settings used for calls to updateCryptoKeyVersion.
|
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected KeyManagementServiceStubSettings(KeyManagementServiceStubSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<com.google.cloud.kms.v1.ListKeyRingsRequest,com.google.cloud.kms.v1.ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsSettings()
public PagedCallSettings<com.google.cloud.kms.v1.ListCryptoKeysRequest,com.google.cloud.kms.v1.ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysSettings()
public PagedCallSettings<com.google.cloud.kms.v1.ListCryptoKeyVersionsRequest,com.google.cloud.kms.v1.ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.GetKeyRingRequest,com.google.cloud.kms.v1.KeyRing> getKeyRingSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.GetCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> getCryptoKeySettings()
public UnaryCallSettings<com.google.cloud.kms.v1.GetCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> getCryptoKeyVersionSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.CreateKeyRingRequest,com.google.cloud.kms.v1.KeyRing> createKeyRingSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.CreateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> createCryptoKeySettings()
public UnaryCallSettings<com.google.cloud.kms.v1.CreateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> createCryptoKeyVersionSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.UpdateCryptoKeyRequest,com.google.cloud.kms.v1.CryptoKey> updateCryptoKeySettings()
public UnaryCallSettings<com.google.cloud.kms.v1.UpdateCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> updateCryptoKeyVersionSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.EncryptRequest,com.google.cloud.kms.v1.EncryptResponse> encryptSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.DecryptRequest,com.google.cloud.kms.v1.DecryptResponse> decryptSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest,com.google.cloud.kms.v1.CryptoKey> updateCryptoKeyPrimaryVersionSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> destroyCryptoKeyVersionSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.RestoreCryptoKeyVersionRequest,com.google.cloud.kms.v1.CryptoKeyVersion> restoreCryptoKeyVersionSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.GetPublicKeyRequest,com.google.cloud.kms.v1.PublicKey> getPublicKeySettings()
public UnaryCallSettings<com.google.cloud.kms.v1.AsymmetricDecryptRequest,com.google.cloud.kms.v1.AsymmetricDecryptResponse> asymmetricDecryptSettings()
public UnaryCallSettings<com.google.cloud.kms.v1.AsymmetricSignRequest,com.google.cloud.kms.v1.AsymmetricSignResponse> asymmetricSignSettings()
public UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public KeyManagementServiceStub createStub() throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static KeyManagementServiceStubSettings.Builder newBuilder()
public static KeyManagementServiceStubSettings.Builder newBuilder(ClientContext clientContext)
public KeyManagementServiceStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<KeyManagementServiceStubSettings>
Copyright © 2019 Google LLC. All rights reserved.