Class DataPolicyServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<DataPolicyServiceSettings,DataPolicyServiceSettings.Builder>
-
- com.google.cloud.bigquery.datapolicies.v1beta1.DataPolicyServiceSettings.Builder
-
- Enclosing class:
- DataPolicyServiceSettings
public static class DataPolicyServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DataPolicyServiceSettings,DataPolicyServiceSettings.Builder>
Builder for DataPolicyServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DataPolicyServiceSettings settings)
protected
Builder(DataPolicyServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataPolicyServiceSettings.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.DataPolicyServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDataPolicyRequest,DataPolicy>
createDataPolicySettings()
Returns the builder for the settings used for calls to createDataPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDataPolicyRequest,com.google.protobuf.Empty>
deleteDataPolicySettings()
Returns the builder for the settings used for calls to deleteDataPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataPolicyRequest,DataPolicy>
getDataPolicySettings()
Returns the builder for the settings used for calls to getDataPolicy.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.DataPolicyServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataPoliciesRequest,ListDataPoliciesResponse,DataPolicyServiceClient.ListDataPoliciesPagedResponse>
listDataPoliciesSettings()
Returns the builder for the settings used for calls to listDataPolicies.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.api.gax.rpc.UnaryCallSettings.Builder<UpdateDataPolicyRequest,DataPolicy>
updateDataPolicySettings()
Returns the builder for the settings used for calls to updateDataPolicy.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DataPolicyServiceSettings settings)
-
Builder
protected Builder(DataPolicyServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public DataPolicyServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public DataPolicyServiceSettings.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.
-
createDataPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDataPolicyRequest,DataPolicy> createDataPolicySettings()
Returns the builder for the settings used for calls to createDataPolicy.
-
updateDataPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDataPolicyRequest,DataPolicy> updateDataPolicySettings()
Returns the builder for the settings used for calls to updateDataPolicy.
-
deleteDataPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDataPolicyRequest,com.google.protobuf.Empty> deleteDataPolicySettings()
Returns the builder for the settings used for calls to deleteDataPolicy.
-
getDataPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataPolicyRequest,DataPolicy> getDataPolicySettings()
Returns the builder for the settings used for calls to getDataPolicy.
-
listDataPoliciesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataPoliciesRequest,ListDataPoliciesResponse,DataPolicyServiceClient.ListDataPoliciesPagedResponse> listDataPoliciesSettings()
Returns the builder for the settings used for calls to listDataPolicies.
-
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.
-
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.
-
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 DataPolicyServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<DataPolicyServiceSettings,DataPolicyServiceSettings.Builder>
- Throws:
IOException
-
-