public static class DataScanServiceStubSettings.Builder extends StubSettings.Builder<DataScanServiceStubSettings,DataScanServiceStubSettings.Builder>
Builder for DataScanServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(DataScanServiceStubSettings settings)
protected Builder(DataScanServiceStubSettings settings)
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.
build()
public DataScanServiceStubSettings build()
Overrides
createDataScanOperationSettings()
public OperationCallSettings.Builder<CreateDataScanRequest,DataScan,OperationMetadata> createDataScanOperationSettings()
Returns the builder for the settings used for calls to createDataScan.
createDataScanSettings()
public UnaryCallSettings.Builder<CreateDataScanRequest,Operation> createDataScanSettings()
Returns the builder for the settings used for calls to createDataScan.
deleteDataScanOperationSettings()
public OperationCallSettings.Builder<DeleteDataScanRequest,Empty,OperationMetadata> deleteDataScanOperationSettings()
Returns the builder for the settings used for calls to deleteDataScan.
deleteDataScanSettings()
public UnaryCallSettings.Builder<DeleteDataScanRequest,Operation> deleteDataScanSettings()
Returns the builder for the settings used for calls to deleteDataScan.
getDataScanJobSettings()
public UnaryCallSettings.Builder<GetDataScanJobRequest,DataScanJob> getDataScanJobSettings()
Returns the builder for the settings used for calls to getDataScanJob.
getDataScanSettings()
public UnaryCallSettings.Builder<GetDataScanRequest,DataScan> getDataScanSettings()
Returns the builder for the settings used for calls to getDataScan.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
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.
listDataScansSettings()
public PagedCallSettings.Builder<ListDataScansRequest,ListDataScansResponse,DataScanServiceClient.ListDataScansPagedResponse> listDataScansSettings()
Returns the builder for the settings used for calls to listDataScans.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DataScanServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
runDataScanSettings()
public UnaryCallSettings.Builder<RunDataScanRequest,RunDataScanResponse> runDataScanSettings()
Returns the builder for the settings used for calls to runDataScan.
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.
updateDataScanSettings()
public UnaryCallSettings.Builder<UpdateDataScanRequest,Operation> updateDataScanSettings()
Returns the builder for the settings used for calls to updateDataScan.