Class SecretManagerServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<SecretManagerServiceStubSettings,SecretManagerServiceStubSettings.Builder>
com.google.cloud.secretmanager.v1beta2.stub.SecretManagerServiceStubSettings.Builder
- Enclosing class:
- SecretManagerServiceStubSettings
public static class SecretManagerServiceStubSettings.Builder
extends StubSettings.Builder<SecretManagerServiceStubSettings,SecretManagerServiceStubSettings.Builder>
Builder for SecretManagerServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SecretManagerServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to accessSecretVersion.Returns the builder for the settings used for calls to addSecretVersion.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createSecret.UnaryCallSettings.Builder<DeleteSecretRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteSecret.Returns the builder for the settings used for calls to destroySecretVersion.Returns the builder for the settings used for calls to disableSecretVersion.Returns the builder for the settings used for calls to enableSecretVersion.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getSecret.Returns the builder for the settings used for calls to getSecretVersion.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, SecretManagerServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListSecretsRequest,ListSecretsResponse, SecretManagerServiceClient.ListSecretsPagedResponse> Returns the builder for the settings used for calls to listSecrets.PagedCallSettings.Builder<ListSecretVersionsRequest,ListSecretVersionsResponse, SecretManagerServiceClient.ListSecretVersionsPagedResponse> Returns the builder for the settings used for calls to listSecretVersions.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateSecret.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public SecretManagerServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listSecretsSettings
public PagedCallSettings.Builder<ListSecretsRequest,ListSecretsResponse, listSecretsSettings()SecretManagerServiceClient.ListSecretsPagedResponse> Returns the builder for the settings used for calls to listSecrets. -
createSecretSettings
Returns the builder for the settings used for calls to createSecret. -
addSecretVersionSettings
Returns the builder for the settings used for calls to addSecretVersion. -
getSecretSettings
Returns the builder for the settings used for calls to getSecret. -
updateSecretSettings
Returns the builder for the settings used for calls to updateSecret. -
deleteSecretSettings
public UnaryCallSettings.Builder<DeleteSecretRequest,com.google.protobuf.Empty> deleteSecretSettings()Returns the builder for the settings used for calls to deleteSecret. -
listSecretVersionsSettings
public PagedCallSettings.Builder<ListSecretVersionsRequest,ListSecretVersionsResponse, listSecretVersionsSettings()SecretManagerServiceClient.ListSecretVersionsPagedResponse> Returns the builder for the settings used for calls to listSecretVersions. -
getSecretVersionSettings
Returns the builder for the settings used for calls to getSecretVersion. -
accessSecretVersionSettings
public UnaryCallSettings.Builder<AccessSecretVersionRequest,AccessSecretVersionResponse> accessSecretVersionSettings()Returns the builder for the settings used for calls to accessSecretVersion. -
disableSecretVersionSettings
public UnaryCallSettings.Builder<DisableSecretVersionRequest,SecretVersion> disableSecretVersionSettings()Returns the builder for the settings used for calls to disableSecretVersion. -
enableSecretVersionSettings
public UnaryCallSettings.Builder<EnableSecretVersionRequest,SecretVersion> enableSecretVersionSettings()Returns the builder for the settings used for calls to enableSecretVersion. -
destroySecretVersionSettings
public UnaryCallSettings.Builder<DestroySecretVersionRequest,SecretVersion> destroySecretVersionSettings()Returns the builder for the settings used for calls to destroySecretVersion. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()SecretManagerServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classStubSettings.Builder<SecretManagerServiceStubSettings,SecretManagerServiceStubSettings.Builder> - Throws:
IOException
-