Class DataPolicyServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<DataPolicyServiceSettings,DataPolicyServiceSettings.Builder>
com.google.cloud.bigquery.datapolicies.v1.DataPolicyServiceSettings.Builder
- Enclosing class:
- DataPolicyServiceSettings
public static class DataPolicyServiceSettings.Builder
extends ClientSettings.Builder<DataPolicyServiceSettings,DataPolicyServiceSettings.Builder>
Builder for DataPolicyServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DataPolicyServiceSettings settings) protectedBuilder(DataPolicyServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(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 createDataPolicy.UnaryCallSettings.Builder<DeleteDataPolicyRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteDataPolicy.Returns the builder for the settings used for calls to getDataPolicy.Returns the builder for the settings used for calls to getIamPolicy.PagedCallSettings.Builder<ListDataPoliciesRequest,ListDataPoliciesResponse, DataPolicyServiceClient.ListDataPoliciesPagedResponse> Returns the builder for the settings used for calls to listDataPolicies.Returns the builder for the settings used for calls to renameDataPolicy.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateDataPolicy.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public DataPolicyServiceSettings.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.
-
createDataPolicySettings
Returns the builder for the settings used for calls to createDataPolicy. -
updateDataPolicySettings
Returns the builder for the settings used for calls to updateDataPolicy. -
renameDataPolicySettings
Returns the builder for the settings used for calls to renameDataPolicy. -
deleteDataPolicySettings
public UnaryCallSettings.Builder<DeleteDataPolicyRequest,com.google.protobuf.Empty> deleteDataPolicySettings()Returns the builder for the settings used for calls to deleteDataPolicy. -
getDataPolicySettings
Returns the builder for the settings used for calls to getDataPolicy. -
listDataPoliciesSettings
public PagedCallSettings.Builder<ListDataPoliciesRequest,ListDataPoliciesResponse, listDataPoliciesSettings()DataPolicyServiceClient.ListDataPoliciesPagedResponse> Returns the builder for the settings used for calls to listDataPolicies. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<DataPolicyServiceSettings,DataPolicyServiceSettings.Builder> - Throws:
IOException
-