Class DataPolicyServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<DataPolicyServiceStubSettings,DataPolicyServiceStubSettings.Builder>
com.google.cloud.bigquery.datapolicies.v1.stub.DataPolicyServiceStubSettings.Builder
- Enclosing class:
- DataPolicyServiceStubSettings
public static class DataPolicyServiceStubSettings.Builder
extends StubSettings.Builder<DataPolicyServiceStubSettings,DataPolicyServiceStubSettings.Builder>
Builder for DataPolicyServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DataPolicyServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateDataPolicy.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 DataPolicyServiceStubSettings.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() -
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 classStubSettings.Builder<DataPolicyServiceStubSettings,DataPolicyServiceStubSettings.Builder> - Throws:
IOException
-