Package com.google.cloud.kms.v1.stub
Class KeyManagementServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<KeyManagementServiceStubSettings,KeyManagementServiceStubSettings.Builder>
-
- com.google.cloud.kms.v1.stub.KeyManagementServiceStubSettings.Builder
-
- Enclosing class:
- KeyManagementServiceStubSettings
public static class KeyManagementServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<KeyManagementServiceStubSettings,KeyManagementServiceStubSettings.Builder>
Builder for KeyManagementServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(KeyManagementServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyManagementServiceStubSettings.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.KeyManagementServiceStubSettings
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<GenerateRandomBytesRequest,GenerateRandomBytesResponse>
generateRandomBytesSettings()
Returns the builder for the settings used for calls to generateRandomBytes.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<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPublicKeyRequest,PublicKey>
getPublicKeySettings()
Returns the builder for the settings used for calls to getPublicKey.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.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,KeyManagementServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.UnaryCallSettings.Builder<MacSignRequest,MacSignResponse>
macSignSettings()
Returns the builder for the settings used for calls to macSign.com.google.api.gax.rpc.UnaryCallSettings.Builder<MacVerifyRequest,MacVerifyResponse>
macVerifySettings()
Returns the builder for the settings used for calls to macVerify.com.google.api.gax.rpc.UnaryCallSettings.Builder<RawDecryptRequest,RawDecryptResponse>
rawDecryptSettings()
Returns the builder for the settings used for calls to rawDecrypt.com.google.api.gax.rpc.UnaryCallSettings.Builder<RawEncryptRequest,RawEncryptResponse>
rawEncryptSettings()
Returns the builder for the settings used for calls to rawEncrypt.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(KeyManagementServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public KeyManagementServiceStubSettings.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.Note: This method does not support applying settings to streaming methods.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
listKeyRingsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListKeyRingsRequest,ListKeyRingsResponse,KeyManagementServiceClient.ListKeyRingsPagedResponse> listKeyRingsSettings()
Returns the builder for the settings used for calls to listKeyRings.
-
listCryptoKeysSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCryptoKeysRequest,ListCryptoKeysResponse,KeyManagementServiceClient.ListCryptoKeysPagedResponse> listCryptoKeysSettings()
Returns the builder for the settings used for calls to listCryptoKeys.
-
listCryptoKeyVersionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCryptoKeyVersionsRequest,ListCryptoKeyVersionsResponse,KeyManagementServiceClient.ListCryptoKeyVersionsPagedResponse> listCryptoKeyVersionsSettings()
Returns the builder for the settings used for calls to listCryptoKeyVersions.
-
listImportJobsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListImportJobsRequest,ListImportJobsResponse,KeyManagementServiceClient.ListImportJobsPagedResponse> listImportJobsSettings()
Returns the builder for the settings used for calls to listImportJobs.
-
getKeyRingSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRingRequest,KeyRing> getKeyRingSettings()
Returns the builder for the settings used for calls to getKeyRing.
-
getCryptoKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCryptoKeyRequest,CryptoKey> getCryptoKeySettings()
Returns the builder for the settings used for calls to getCryptoKey.
-
getCryptoKeyVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCryptoKeyVersionRequest,CryptoKeyVersion> getCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to getCryptoKeyVersion.
-
getPublicKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPublicKeyRequest,PublicKey> getPublicKeySettings()
Returns the builder for the settings used for calls to getPublicKey.
-
getImportJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetImportJobRequest,ImportJob> getImportJobSettings()
Returns the builder for the settings used for calls to getImportJob.
-
createKeyRingSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRingRequest,KeyRing> createKeyRingSettings()
Returns the builder for the settings used for calls to createKeyRing.
-
createCryptoKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCryptoKeyRequest,CryptoKey> createCryptoKeySettings()
Returns the builder for the settings used for calls to createCryptoKey.
-
createCryptoKeyVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCryptoKeyVersionRequest,CryptoKeyVersion> createCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to createCryptoKeyVersion.
-
importCryptoKeyVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportCryptoKeyVersionRequest,CryptoKeyVersion> importCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to importCryptoKeyVersion.
-
createImportJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateImportJobRequest,ImportJob> createImportJobSettings()
Returns the builder for the settings used for calls to createImportJob.
-
updateCryptoKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyRequest,CryptoKey> updateCryptoKeySettings()
Returns the builder for the settings used for calls to updateCryptoKey.
-
updateCryptoKeyVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyVersionRequest,CryptoKeyVersion> updateCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to updateCryptoKeyVersion.
-
updateCryptoKeyPrimaryVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCryptoKeyPrimaryVersionRequest,CryptoKey> updateCryptoKeyPrimaryVersionSettings()
Returns the builder for the settings used for calls to updateCryptoKeyPrimaryVersion.
-
destroyCryptoKeyVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DestroyCryptoKeyVersionRequest,CryptoKeyVersion> destroyCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to destroyCryptoKeyVersion.
-
restoreCryptoKeyVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreCryptoKeyVersionRequest,CryptoKeyVersion> restoreCryptoKeyVersionSettings()
Returns the builder for the settings used for calls to restoreCryptoKeyVersion.
-
encryptSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EncryptRequest,EncryptResponse> encryptSettings()
Returns the builder for the settings used for calls to encrypt.
-
decryptSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DecryptRequest,DecryptResponse> decryptSettings()
Returns the builder for the settings used for calls to decrypt.
-
rawEncryptSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RawEncryptRequest,RawEncryptResponse> rawEncryptSettings()
Returns the builder for the settings used for calls to rawEncrypt.
-
rawDecryptSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RawDecryptRequest,RawDecryptResponse> rawDecryptSettings()
Returns the builder for the settings used for calls to rawDecrypt.
-
asymmetricSignSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AsymmetricSignRequest,AsymmetricSignResponse> asymmetricSignSettings()
Returns the builder for the settings used for calls to asymmetricSign.
-
asymmetricDecryptSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AsymmetricDecryptRequest,AsymmetricDecryptResponse> asymmetricDecryptSettings()
Returns the builder for the settings used for calls to asymmetricDecrypt.
-
macSignSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MacSignRequest,MacSignResponse> macSignSettings()
Returns the builder for the settings used for calls to macSign.
-
macVerifySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MacVerifyRequest,MacVerifyResponse> macVerifySettings()
Returns the builder for the settings used for calls to macVerify.
-
generateRandomBytesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateRandomBytesRequest,GenerateRandomBytesResponse> generateRandomBytesSettings()
Returns the builder for the settings used for calls to generateRandomBytes.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,KeyManagementServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
setIamPolicySettings
public 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.
-
getIamPolicySettings
public 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.
-
testIamPermissionsSettings
public 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.
-
build
public KeyManagementServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<KeyManagementServiceStubSettings,KeyManagementServiceStubSettings.Builder>
- Throws:
IOException
-
-