Class DlpServiceSettings.Builder (3.48.0)

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

Builder for DlpServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DlpServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DlpServiceSettings settings)

protected Builder(DlpServiceSettings settings)
Parameter
Name Description
settings DlpServiceSettings

Builder(DlpServiceStubSettings.Builder stubSettings)

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

Methods

activateJobTriggerSettings()

public UnaryCallSettings.Builder<ActivateJobTriggerRequest,DlpJob> activateJobTriggerSettings()

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

Returns
Type Description
Builder<ActivateJobTriggerRequest,DlpJob>

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

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

build()

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

cancelDlpJobSettings()

public UnaryCallSettings.Builder<CancelDlpJobRequest,Empty> cancelDlpJobSettings()

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

Returns
Type Description
Builder<CancelDlpJobRequest,Empty>

createConnectionSettings()

public UnaryCallSettings.Builder<CreateConnectionRequest,Connection> createConnectionSettings()

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

Returns
Type Description
Builder<CreateConnectionRequest,Connection>

createDeidentifyTemplateSettings()

public UnaryCallSettings.Builder<CreateDeidentifyTemplateRequest,DeidentifyTemplate> createDeidentifyTemplateSettings()

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

Returns
Type Description
Builder<CreateDeidentifyTemplateRequest,DeidentifyTemplate>

createDiscoveryConfigSettings()

public UnaryCallSettings.Builder<CreateDiscoveryConfigRequest,DiscoveryConfig> createDiscoveryConfigSettings()

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

Returns
Type Description
Builder<CreateDiscoveryConfigRequest,DiscoveryConfig>

createDlpJobSettings()

public UnaryCallSettings.Builder<CreateDlpJobRequest,DlpJob> createDlpJobSettings()

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

Returns
Type Description
Builder<CreateDlpJobRequest,DlpJob>

createInspectTemplateSettings()

public UnaryCallSettings.Builder<CreateInspectTemplateRequest,InspectTemplate> createInspectTemplateSettings()

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

Returns
Type Description
Builder<CreateInspectTemplateRequest,InspectTemplate>

createJobTriggerSettings()

public UnaryCallSettings.Builder<CreateJobTriggerRequest,JobTrigger> createJobTriggerSettings()

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

Returns
Type Description
Builder<CreateJobTriggerRequest,JobTrigger>

createStoredInfoTypeSettings()

public UnaryCallSettings.Builder<CreateStoredInfoTypeRequest,StoredInfoType> createStoredInfoTypeSettings()

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

Returns
Type Description
Builder<CreateStoredInfoTypeRequest,StoredInfoType>

deidentifyContentSettings()

public UnaryCallSettings.Builder<DeidentifyContentRequest,DeidentifyContentResponse> deidentifyContentSettings()

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

Returns
Type Description
Builder<DeidentifyContentRequest,DeidentifyContentResponse>

deleteConnectionSettings()

public UnaryCallSettings.Builder<DeleteConnectionRequest,Empty> deleteConnectionSettings()

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

Returns
Type Description
Builder<DeleteConnectionRequest,Empty>

deleteDeidentifyTemplateSettings()

public UnaryCallSettings.Builder<DeleteDeidentifyTemplateRequest,Empty> deleteDeidentifyTemplateSettings()

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

Returns
Type Description
Builder<DeleteDeidentifyTemplateRequest,Empty>

deleteDiscoveryConfigSettings()

public UnaryCallSettings.Builder<DeleteDiscoveryConfigRequest,Empty> deleteDiscoveryConfigSettings()

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

Returns
Type Description
Builder<DeleteDiscoveryConfigRequest,Empty>

deleteDlpJobSettings()

public UnaryCallSettings.Builder<DeleteDlpJobRequest,Empty> deleteDlpJobSettings()

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

Returns
Type Description
Builder<DeleteDlpJobRequest,Empty>

deleteInspectTemplateSettings()

public UnaryCallSettings.Builder<DeleteInspectTemplateRequest,Empty> deleteInspectTemplateSettings()

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

Returns
Type Description
Builder<DeleteInspectTemplateRequest,Empty>

deleteJobTriggerSettings()

public UnaryCallSettings.Builder<DeleteJobTriggerRequest,Empty> deleteJobTriggerSettings()

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

Returns
Type Description
Builder<DeleteJobTriggerRequest,Empty>

deleteStoredInfoTypeSettings()

public UnaryCallSettings.Builder<DeleteStoredInfoTypeRequest,Empty> deleteStoredInfoTypeSettings()

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

Returns
Type Description
Builder<DeleteStoredInfoTypeRequest,Empty>

deleteTableDataProfileSettings()

public UnaryCallSettings.Builder<DeleteTableDataProfileRequest,Empty> deleteTableDataProfileSettings()

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

Returns
Type Description
Builder<DeleteTableDataProfileRequest,Empty>

finishDlpJobSettings()

public UnaryCallSettings.Builder<FinishDlpJobRequest,Empty> finishDlpJobSettings()

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

Returns
Type Description
Builder<FinishDlpJobRequest,Empty>

getColumnDataProfileSettings()

public UnaryCallSettings.Builder<GetColumnDataProfileRequest,ColumnDataProfile> getColumnDataProfileSettings()

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

Returns
Type Description
Builder<GetColumnDataProfileRequest,ColumnDataProfile>

getConnectionSettings()

public UnaryCallSettings.Builder<GetConnectionRequest,Connection> getConnectionSettings()

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

Returns
Type Description
Builder<GetConnectionRequest,Connection>

getDeidentifyTemplateSettings()

public UnaryCallSettings.Builder<GetDeidentifyTemplateRequest,DeidentifyTemplate> getDeidentifyTemplateSettings()

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

Returns
Type Description
Builder<GetDeidentifyTemplateRequest,DeidentifyTemplate>

getDiscoveryConfigSettings()

public UnaryCallSettings.Builder<GetDiscoveryConfigRequest,DiscoveryConfig> getDiscoveryConfigSettings()

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

Returns
Type Description
Builder<GetDiscoveryConfigRequest,DiscoveryConfig>

getDlpJobSettings()

public UnaryCallSettings.Builder<GetDlpJobRequest,DlpJob> getDlpJobSettings()

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

Returns
Type Description
Builder<GetDlpJobRequest,DlpJob>

getInspectTemplateSettings()

public UnaryCallSettings.Builder<GetInspectTemplateRequest,InspectTemplate> getInspectTemplateSettings()

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

Returns
Type Description
Builder<GetInspectTemplateRequest,InspectTemplate>

getJobTriggerSettings()

public UnaryCallSettings.Builder<GetJobTriggerRequest,JobTrigger> getJobTriggerSettings()

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

Returns
Type Description
Builder<GetJobTriggerRequest,JobTrigger>

getProjectDataProfileSettings()

public UnaryCallSettings.Builder<GetProjectDataProfileRequest,ProjectDataProfile> getProjectDataProfileSettings()

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

Returns
Type Description
Builder<GetProjectDataProfileRequest,ProjectDataProfile>

getStoredInfoTypeSettings()

public UnaryCallSettings.Builder<GetStoredInfoTypeRequest,StoredInfoType> getStoredInfoTypeSettings()

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

Returns
Type Description
Builder<GetStoredInfoTypeRequest,StoredInfoType>

getStubSettingsBuilder()

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

getTableDataProfileSettings()

public UnaryCallSettings.Builder<GetTableDataProfileRequest,TableDataProfile> getTableDataProfileSettings()

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

Returns
Type Description
Builder<GetTableDataProfileRequest,TableDataProfile>

hybridInspectDlpJobSettings()

public UnaryCallSettings.Builder<HybridInspectDlpJobRequest,HybridInspectResponse> hybridInspectDlpJobSettings()

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

Returns
Type Description
Builder<HybridInspectDlpJobRequest,HybridInspectResponse>

hybridInspectJobTriggerSettings()

public UnaryCallSettings.Builder<HybridInspectJobTriggerRequest,HybridInspectResponse> hybridInspectJobTriggerSettings()

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

Returns
Type Description
Builder<HybridInspectJobTriggerRequest,HybridInspectResponse>

inspectContentSettings()

public UnaryCallSettings.Builder<InspectContentRequest,InspectContentResponse> inspectContentSettings()

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

Returns
Type Description
Builder<InspectContentRequest,InspectContentResponse>

listColumnDataProfilesSettings()

public PagedCallSettings.Builder<ListColumnDataProfilesRequest,ListColumnDataProfilesResponse,DlpServiceClient.ListColumnDataProfilesPagedResponse> listColumnDataProfilesSettings()

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

Returns
Type Description
Builder<ListColumnDataProfilesRequest,ListColumnDataProfilesResponse,ListColumnDataProfilesPagedResponse>

listConnectionsSettings()

public PagedCallSettings.Builder<ListConnectionsRequest,ListConnectionsResponse,DlpServiceClient.ListConnectionsPagedResponse> listConnectionsSettings()

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

Returns
Type Description
Builder<ListConnectionsRequest,ListConnectionsResponse,ListConnectionsPagedResponse>

listDeidentifyTemplatesSettings()

public PagedCallSettings.Builder<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesResponse,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings()

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

Returns
Type Description
Builder<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesResponse,ListDeidentifyTemplatesPagedResponse>

listDiscoveryConfigsSettings()

public PagedCallSettings.Builder<ListDiscoveryConfigsRequest,ListDiscoveryConfigsResponse,DlpServiceClient.ListDiscoveryConfigsPagedResponse> listDiscoveryConfigsSettings()

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

Returns
Type Description
Builder<ListDiscoveryConfigsRequest,ListDiscoveryConfigsResponse,ListDiscoveryConfigsPagedResponse>

listDlpJobsSettings()

public PagedCallSettings.Builder<ListDlpJobsRequest,ListDlpJobsResponse,DlpServiceClient.ListDlpJobsPagedResponse> listDlpJobsSettings()

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

Returns
Type Description
Builder<ListDlpJobsRequest,ListDlpJobsResponse,ListDlpJobsPagedResponse>

listInfoTypesSettings()

public UnaryCallSettings.Builder<ListInfoTypesRequest,ListInfoTypesResponse> listInfoTypesSettings()

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

Returns
Type Description
Builder<ListInfoTypesRequest,ListInfoTypesResponse>

listInspectTemplatesSettings()

public PagedCallSettings.Builder<ListInspectTemplatesRequest,ListInspectTemplatesResponse,DlpServiceClient.ListInspectTemplatesPagedResponse> listInspectTemplatesSettings()

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

Returns
Type Description
Builder<ListInspectTemplatesRequest,ListInspectTemplatesResponse,ListInspectTemplatesPagedResponse>

listJobTriggersSettings()

public PagedCallSettings.Builder<ListJobTriggersRequest,ListJobTriggersResponse,DlpServiceClient.ListJobTriggersPagedResponse> listJobTriggersSettings()

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

Returns
Type Description
Builder<ListJobTriggersRequest,ListJobTriggersResponse,ListJobTriggersPagedResponse>

listProjectDataProfilesSettings()

public PagedCallSettings.Builder<ListProjectDataProfilesRequest,ListProjectDataProfilesResponse,DlpServiceClient.ListProjectDataProfilesPagedResponse> listProjectDataProfilesSettings()

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

Returns
Type Description
Builder<ListProjectDataProfilesRequest,ListProjectDataProfilesResponse,ListProjectDataProfilesPagedResponse>

listStoredInfoTypesSettings()

public PagedCallSettings.Builder<ListStoredInfoTypesRequest,ListStoredInfoTypesResponse,DlpServiceClient.ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings()

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

Returns
Type Description
Builder<ListStoredInfoTypesRequest,ListStoredInfoTypesResponse,ListStoredInfoTypesPagedResponse>

listTableDataProfilesSettings()

public PagedCallSettings.Builder<ListTableDataProfilesRequest,ListTableDataProfilesResponse,DlpServiceClient.ListTableDataProfilesPagedResponse> listTableDataProfilesSettings()

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

Returns
Type Description
Builder<ListTableDataProfilesRequest,ListTableDataProfilesResponse,ListTableDataProfilesPagedResponse>

redactImageSettings()

public UnaryCallSettings.Builder<RedactImageRequest,RedactImageResponse> redactImageSettings()

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

Returns
Type Description
Builder<RedactImageRequest,RedactImageResponse>

reidentifyContentSettings()

public UnaryCallSettings.Builder<ReidentifyContentRequest,ReidentifyContentResponse> reidentifyContentSettings()

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

Returns
Type Description
Builder<ReidentifyContentRequest,ReidentifyContentResponse>

searchConnectionsSettings()

public PagedCallSettings.Builder<SearchConnectionsRequest,SearchConnectionsResponse,DlpServiceClient.SearchConnectionsPagedResponse> searchConnectionsSettings()

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

Returns
Type Description
Builder<SearchConnectionsRequest,SearchConnectionsResponse,SearchConnectionsPagedResponse>

updateConnectionSettings()

public UnaryCallSettings.Builder<UpdateConnectionRequest,Connection> updateConnectionSettings()

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

Returns
Type Description
Builder<UpdateConnectionRequest,Connection>

updateDeidentifyTemplateSettings()

public UnaryCallSettings.Builder<UpdateDeidentifyTemplateRequest,DeidentifyTemplate> updateDeidentifyTemplateSettings()

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

Returns
Type Description
Builder<UpdateDeidentifyTemplateRequest,DeidentifyTemplate>

updateDiscoveryConfigSettings()

public UnaryCallSettings.Builder<UpdateDiscoveryConfigRequest,DiscoveryConfig> updateDiscoveryConfigSettings()

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

Returns
Type Description
Builder<UpdateDiscoveryConfigRequest,DiscoveryConfig>

updateInspectTemplateSettings()

public UnaryCallSettings.Builder<UpdateInspectTemplateRequest,InspectTemplate> updateInspectTemplateSettings()

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

Returns
Type Description
Builder<UpdateInspectTemplateRequest,InspectTemplate>

updateJobTriggerSettings()

public UnaryCallSettings.Builder<UpdateJobTriggerRequest,JobTrigger> updateJobTriggerSettings()

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

Returns
Type Description
Builder<UpdateJobTriggerRequest,JobTrigger>

updateStoredInfoTypeSettings()

public UnaryCallSettings.Builder<UpdateStoredInfoTypeRequest,StoredInfoType> updateStoredInfoTypeSettings()

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

Returns
Type Description
Builder<UpdateStoredInfoTypeRequest,StoredInfoType>