Class DataScanServiceSettings.Builder (1.47.0)

public static class DataScanServiceSettings.Builder extends ClientSettings.Builder<DataScanServiceSettings,DataScanServiceSettings.Builder>

Builder for DataScanServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataScanServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DataScanServiceSettings settings)

protected Builder(DataScanServiceSettings settings)
Parameter
Name Description
settings DataScanServiceSettings

Builder(DataScanServiceStubSettings.Builder stubSettings)

protected Builder(DataScanServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DataScanServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DataScanServiceSettings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DataScanServiceSettings.Builder

build()

public DataScanServiceSettings build()
Returns
Type Description
DataScanServiceSettings
Overrides
Exceptions
Type Description
IOException

createDataScanOperationSettings()

public OperationCallSettings.Builder<CreateDataScanRequest,DataScan,OperationMetadata> createDataScanOperationSettings()

Returns the builder for the settings used for calls to createDataScan.

Returns
Type Description
Builder<CreateDataScanRequest,DataScan,OperationMetadata>

createDataScanSettings()

public UnaryCallSettings.Builder<CreateDataScanRequest,Operation> createDataScanSettings()

Returns the builder for the settings used for calls to createDataScan.

Returns
Type Description
Builder<CreateDataScanRequest,Operation>

deleteDataScanOperationSettings()

public OperationCallSettings.Builder<DeleteDataScanRequest,Empty,OperationMetadata> deleteDataScanOperationSettings()

Returns the builder for the settings used for calls to deleteDataScan.

Returns
Type Description
Builder<DeleteDataScanRequest,Empty,OperationMetadata>

deleteDataScanSettings()

public UnaryCallSettings.Builder<DeleteDataScanRequest,Operation> deleteDataScanSettings()

Returns the builder for the settings used for calls to deleteDataScan.

Returns
Type Description
Builder<DeleteDataScanRequest,Operation>

generateDataQualityRulesSettings()

public UnaryCallSettings.Builder<GenerateDataQualityRulesRequest,GenerateDataQualityRulesResponse> generateDataQualityRulesSettings()

Returns the builder for the settings used for calls to generateDataQualityRules.

Returns
Type Description
Builder<GenerateDataQualityRulesRequest,GenerateDataQualityRulesResponse>

getDataScanJobSettings()

public UnaryCallSettings.Builder<GetDataScanJobRequest,DataScanJob> getDataScanJobSettings()

Returns the builder for the settings used for calls to getDataScanJob.

Returns
Type Description
Builder<GetDataScanJobRequest,DataScanJob>

getDataScanSettings()

public UnaryCallSettings.Builder<GetDataScanRequest,DataScan> getDataScanSettings()

Returns the builder for the settings used for calls to getDataScan.

Returns
Type Description
Builder<GetDataScanRequest,DataScan>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public DataScanServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DataScanServiceStubSettings.Builder

listDataScanJobsSettings()

public PagedCallSettings.Builder<ListDataScanJobsRequest,ListDataScanJobsResponse,DataScanServiceClient.ListDataScanJobsPagedResponse> listDataScanJobsSettings()

Returns the builder for the settings used for calls to listDataScanJobs.

Returns
Type Description
Builder<ListDataScanJobsRequest,ListDataScanJobsResponse,ListDataScanJobsPagedResponse>

listDataScansSettings()

public PagedCallSettings.Builder<ListDataScansRequest,ListDataScansResponse,DataScanServiceClient.ListDataScansPagedResponse> listDataScansSettings()

Returns the builder for the settings used for calls to listDataScans.

Returns
Type Description
Builder<ListDataScansRequest,ListDataScansResponse,ListDataScansPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DataScanServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

runDataScanSettings()

public UnaryCallSettings.Builder<RunDataScanRequest,RunDataScanResponse> runDataScanSettings()

Returns the builder for the settings used for calls to runDataScan.

Returns
Type Description
Builder<RunDataScanRequest,RunDataScanResponse>

updateDataScanOperationSettings()

public OperationCallSettings.Builder<UpdateDataScanRequest,DataScan,OperationMetadata> updateDataScanOperationSettings()

Returns the builder for the settings used for calls to updateDataScan.

Returns
Type Description
Builder<UpdateDataScanRequest,DataScan,OperationMetadata>

updateDataScanSettings()

public UnaryCallSettings.Builder<UpdateDataScanRequest,Operation> updateDataScanSettings()

Returns the builder for the settings used for calls to updateDataScan.

Returns
Type Description
Builder<UpdateDataScanRequest,Operation>