public static class SecretManagerServiceStubSettings.Builder extends StubSettings.Builder<SecretManagerServiceStubSettings,SecretManagerServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SecretManagerServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings.Builder<AccessSecretVersionRequest,AccessSecretVersionResponse> |
accessSecretVersionSettings()
Returns the builder for the settings used for calls to accessSecretVersion.
|
UnaryCallSettings.Builder<AddSecretVersionRequest,SecretVersion> |
addSecretVersionSettings()
Returns the builder for the settings used for calls to addSecretVersion.
|
SecretManagerServiceStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
SecretManagerServiceStubSettings |
build() |
UnaryCallSettings.Builder<CreateSecretRequest,Secret> |
createSecretSettings()
Returns the builder for the settings used for calls to createSecret.
|
UnaryCallSettings.Builder<DeleteSecretRequest,Empty> |
deleteSecretSettings()
Returns the builder for the settings used for calls to deleteSecret.
|
UnaryCallSettings.Builder<DestroySecretVersionRequest,SecretVersion> |
destroySecretVersionSettings()
Returns the builder for the settings used for calls to destroySecretVersion.
|
UnaryCallSettings.Builder<DisableSecretVersionRequest,SecretVersion> |
disableSecretVersionSettings()
Returns the builder for the settings used for calls to disableSecretVersion.
|
UnaryCallSettings.Builder<EnableSecretVersionRequest,SecretVersion> |
enableSecretVersionSettings()
Returns the builder for the settings used for calls to enableSecretVersion.
|
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<GetSecretRequest,Secret> |
getSecretSettings()
Returns the builder for the settings used for calls to getSecret.
|
UnaryCallSettings.Builder<GetSecretVersionRequest,SecretVersion> |
getSecretVersionSettings()
Returns the builder for the settings used for calls to getSecretVersion.
|
PagedCallSettings.Builder<ListSecretsRequest,ListSecretsResponse,SecretManagerServiceClient.ListSecretsPagedResponse> |
listSecretsSettings()
Returns the builder for the settings used for calls to listSecrets.
|
PagedCallSettings.Builder<ListSecretVersionsRequest,ListSecretVersionsResponse,SecretManagerServiceClient.ListSecretVersionsPagedResponse> |
listSecretVersionsSettings()
Returns the builder for the settings used for calls to listSecretVersions.
|
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<UpdateSecretRequest,Secret> |
updateSecretSettings()
Returns the builder for the settings used for calls to updateSecret.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(SecretManagerServiceStubSettings settings)
public SecretManagerServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<ListSecretsRequest,ListSecretsResponse,SecretManagerServiceClient.ListSecretsPagedResponse> listSecretsSettings()
public UnaryCallSettings.Builder<CreateSecretRequest,Secret> createSecretSettings()
public UnaryCallSettings.Builder<AddSecretVersionRequest,SecretVersion> addSecretVersionSettings()
public UnaryCallSettings.Builder<GetSecretRequest,Secret> getSecretSettings()
public UnaryCallSettings.Builder<UpdateSecretRequest,Secret> updateSecretSettings()
public UnaryCallSettings.Builder<DeleteSecretRequest,Empty> deleteSecretSettings()
public PagedCallSettings.Builder<ListSecretVersionsRequest,ListSecretVersionsResponse,SecretManagerServiceClient.ListSecretVersionsPagedResponse> listSecretVersionsSettings()
public UnaryCallSettings.Builder<GetSecretVersionRequest,SecretVersion> getSecretVersionSettings()
public UnaryCallSettings.Builder<AccessSecretVersionRequest,AccessSecretVersionResponse> accessSecretVersionSettings()
public UnaryCallSettings.Builder<DisableSecretVersionRequest,SecretVersion> disableSecretVersionSettings()
public UnaryCallSettings.Builder<EnableSecretVersionRequest,SecretVersion> enableSecretVersionSettings()
public UnaryCallSettings.Builder<DestroySecretVersionRequest,SecretVersion> destroySecretVersionSettings()
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 SecretManagerServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<SecretManagerServiceStubSettings,SecretManagerServiceStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.