@Generated(value="by gapic-generator") @BetaApi public class KeyManagementServiceSettings extends com.google.api.gax.rpc.ClientSettings<KeyManagementServiceSettings>
KeyManagementServiceClient
.
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:
KeyManagementServiceSettings.Builder keyManagementServiceSettingsBuilder =
KeyManagementServiceSettings.newBuilder();
keyManagementServiceSettingsBuilder.getKeyRingSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
KeyManagementServiceSettings keyManagementServiceSettings = keyManagementServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
KeyManagementServiceSettings.Builder
Builder for KeyManagementServiceSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
KeyManagementServiceSettings(KeyManagementServiceSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings<AsymmetricDecryptRequest,AsymmetricDecryptResponse> |
asymmetricDecryptSettings()
Returns the object with the settings used for calls to asymmetricDecrypt.
|
com.google.api.gax.rpc.UnaryCallSettings<AsymmetricSignRequest,AsymmetricSignResponse> |
asymmetricSignSettings()
Returns the object with the settings used for calls to asymmetricSign.
|
static KeyManagementServiceSettings |
create(KeyManagementServiceStubSettings stub) |
com.google.api.gax.rpc.UnaryCallSettings<CreateCryptoKeyRequest,CryptoKey> |
createCryptoKeySettings()
Returns the object with the settings used for calls to createCryptoKey.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateCryptoKeyVersionRequest,CryptoKeyVersion> |
createCryptoKeyVersionSettings()
Returns the object with the settings used for calls to createCryptoKeyVersion.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateImportJobRequest,ImportJob> |
createImportJobSettings()
Returns the object with the settings used for calls to createImportJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateKeyRingRequest,KeyRing> |
createKeyRingSettings()
Returns the object with the settings used for calls to createKeyRing.
|
com.google.api.gax.rpc.UnaryCallSettings<DecryptRequest,DecryptResponse> |
decryptSettings()
Returns the object with the settings used for calls to decrypt.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> |
destroyCryptoKeyVersionSettings()
Returns the object with the settings used for calls to destroyCryptoKeyVersion.
|
com.google.api.gax.rpc.UnaryCallSettings<EncryptRequest,EncryptResponse> |
encryptSettings()
Returns the object with the settings used for calls to encrypt.
|
com.google.api.gax.rpc.UnaryCallSettings<GetCryptoKeyRequest,CryptoKey> |
getCryptoKeySettings()
Returns the object with the settings used for calls to getCryptoKey.
|
com.google.api.gax.rpc.UnaryCallSettings<GetCryptoKeyVersionRequest,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.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<GetImportJobRequest,ImportJob> |
getImportJobSettings()
Returns the object with the settings used for calls to getImportJob.
|
com.google.api.gax.rpc.UnaryCallSettings<GetKeyRingRequest,KeyRing> |
getKeyRingSettings()
Returns the object with the settings used for calls to getKeyRing.
|
com.google.api.gax.rpc.UnaryCallSettings<GetPublicKeyRequest,PublicKey> |
getPublicKeySettings()
Returns the object with the settings used for calls to getPublicKey.
|
com.google.api.gax.rpc.UnaryCallSettings<ImportCryptoKeyVersionRequest,CryptoKeyVersion> |
importCryptoKeyVersionSettings()
Returns the object with the settings used for calls to importCryptoKeyVersion.
|
com.google.api.gax.rpc.PagedCallSettings<ListCryptoKeysRequest,ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> |
listCryptoKeysSettings()
Returns the object with the settings used for calls to listCryptoKeys.
|
com.google.api.gax.rpc.PagedCallSettings<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> |
listCryptoKeyVersionsSettings()
Returns the object with the settings used for calls to listCryptoKeyVersions.
|
com.google.api.gax.rpc.PagedCallSettings<ListImportJobsRequest,ListImportJobsResponse,KeyManagementServiceClient.ListImportJobsPagedResponse> |
listImportJobsSettings()
Returns the object with the settings used for calls to listImportJobs.
|
com.google.api.gax.rpc.PagedCallSettings<ListKeyRingsRequest,ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> |
listKeyRingsSettings()
Returns the object with the settings used for calls to listKeyRings.
|
static KeyManagementServiceSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static KeyManagementServiceSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> |
restoreCryptoKeyVersionSettings()
Returns the object with the settings used for calls to restoreCryptoKeyVersion.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
KeyManagementServiceSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> |
updateCryptoKeyPrimaryVersionSettings()
Returns the object with the settings used for calls to updateCryptoKeyPrimaryVersion.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateCryptoKeyRequest,CryptoKey> |
updateCryptoKeySettings()
Returns the object with the settings used for calls to updateCryptoKey.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> |
updateCryptoKeyVersionSettings()
Returns the object with the settings used for calls to updateCryptoKeyVersion.
|
protected KeyManagementServiceSettings(KeyManagementServiceSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.PagedCallSettings<ListKeyRingsRequest,ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListImportJobsRequest,ListImportJobsResponse,KeyManagementServiceClient.ListImportJobsPagedResponse> listImportJobsSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListCryptoKeysRequest,ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetKeyRingRequest,KeyRing> getKeyRingSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetImportJobRequest,ImportJob> getImportJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetCryptoKeyRequest,CryptoKey> getCryptoKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetCryptoKeyVersionRequest,CryptoKeyVersion> getCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateKeyRingRequest,KeyRing> createKeyRingSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateImportJobRequest,ImportJob> createImportJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateCryptoKeyRequest,CryptoKey> createCryptoKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateCryptoKeyVersionRequest,CryptoKeyVersion> createCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ImportCryptoKeyVersionRequest,CryptoKeyVersion> importCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateCryptoKeyRequest,CryptoKey> updateCryptoKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> updateCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<EncryptRequest,EncryptResponse> encryptSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DecryptRequest,DecryptResponse> decryptSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> updateCryptoKeyPrimaryVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> destroyCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> restoreCryptoKeyVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetPublicKeyRequest,PublicKey> getPublicKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings<AsymmetricDecryptRequest,AsymmetricDecryptResponse> asymmetricDecryptSettings()
public com.google.api.gax.rpc.UnaryCallSettings<AsymmetricSignRequest,AsymmetricSignResponse> asymmetricSignSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public static final KeyManagementServiceSettings create(KeyManagementServiceStubSettings stub) throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static KeyManagementServiceSettings.Builder newBuilder()
public static KeyManagementServiceSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public KeyManagementServiceSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.ClientSettings<KeyManagementServiceSettings>
Copyright © 2019 Google LLC. All rights reserved.