Class DlpServiceSettings.Builder (3.62.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.

createDiscoveryConfigSettings()

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

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

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.

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.

deidentifyContentSettings()

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

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

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>

deleteFileStoreDataProfileSettings()

public UnaryCallSettings.Builder<DeleteFileStoreDataProfileRequest,Empty> deleteFileStoreDataProfileSettings()

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

Returns
Type Description
Builder<DeleteFileStoreDataProfileRequest,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.

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.

getDiscoveryConfigSettings()

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

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

getDlpJobSettings()

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

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

Returns
Type Description
Builder<GetDlpJobRequest,DlpJob>

getFileStoreDataProfileSettings()

public UnaryCallSettings.Builder<GetFileStoreDataProfileRequest,FileStoreDataProfile> getFileStoreDataProfileSettings()

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

getInspectTemplateSettings()

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

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

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.

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.

hybridInspectDlpJobSettings()

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

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

hybridInspectJobTriggerSettings()

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

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

inspectContentSettings()

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

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

listColumnDataProfilesSettings()

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

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

listConnectionsSettings()

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

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

listDeidentifyTemplatesSettings()

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

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

listDiscoveryConfigsSettings()

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

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

listDlpJobsSettings()

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

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

listFileStoreDataProfilesSettings()

public PagedCallSettings.Builder<ListFileStoreDataProfilesRequest,ListFileStoreDataProfilesResponse,DlpServiceClient.ListFileStoreDataProfilesPagedResponse> listFileStoreDataProfilesSettings()

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

listInfoTypesSettings()

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

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

listInspectTemplatesSettings()

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

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

listJobTriggersSettings()

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

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

listProjectDataProfilesSettings()

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

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

listStoredInfoTypesSettings()

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

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

listTableDataProfilesSettings()

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

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

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.

searchConnectionsSettings()

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

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

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.

updateDiscoveryConfigSettings()

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

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

updateInspectTemplateSettings()

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

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

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.