Class DataScanServiceStubSettings.Builder (1.47.0)

public static class DataScanServiceStubSettings.Builder extends StubSettings.Builder<DataScanServiceStubSettings,DataScanServiceStubSettings.Builder>

Builder for DataScanServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DataScanServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DataScanServiceStubSettings settings)

protected Builder(DataScanServiceStubSettings settings)
Parameter
Name Description
settings DataScanServiceStubSettings

Methods

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

public DataScanServiceStubSettings.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
DataScanServiceStubSettings.Builder

build()

public DataScanServiceStubSettings build()
Returns
Type Description
DataScanServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>