Class DataScanServiceSettings.Builder (1.14.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
NameDescription
clientContextClientContext

Builder(DataScanServiceSettings settings)

protected Builder(DataScanServiceSettings settings)
Parameter
NameDescription
settingsDataScanServiceSettings

Builder(DataScanServiceStubSettings.Builder stubSettings)

protected Builder(DataScanServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDataScanServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DataScanServiceSettings.Builder

build()

public DataScanServiceSettings build()
Returns
TypeDescription
DataScanServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createDataScanOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateDataScanRequest,DataScan,OperationMetadata>

createDataScanSettings()

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

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

Returns
TypeDescription
Builder<CreateDataScanRequest,Operation>

deleteDataScanOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteDataScanRequest,Empty,OperationMetadata>

deleteDataScanSettings()

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

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

Returns
TypeDescription
Builder<DeleteDataScanRequest,Operation>

getDataScanJobSettings()

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

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

Returns
TypeDescription
Builder<GetDataScanJobRequest,DataScanJob>

getDataScanSettings()

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

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

Returns
TypeDescription
Builder<GetDataScanRequest,DataScan>

getLocationSettings()

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

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

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

getStubSettingsBuilder()

public DataScanServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
DataScanServiceStubSettings.Builder

listDataScanJobsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<RunDataScanRequest,RunDataScanResponse>

updateDataScanOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateDataScanRequest,DataScan,OperationMetadata>

updateDataScanSettings()

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

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

Returns
TypeDescription
Builder<UpdateDataScanRequest,Operation>