Class DataScanServiceStubSettings.Builder (1.18.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
NameDescription
clientContextClientContext

Builder(DataScanServiceStubSettings settings)

protected Builder(DataScanServiceStubSettings settings)
Parameter
NameDescription
settingsDataScanServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DataScanServiceStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
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>