Class DlpServiceStubSettings.Builder (3.8.0)

public static class DlpServiceStubSettings.Builder extends StubSettings.Builder<DlpServiceStubSettings,DlpServiceStubSettings.Builder>

Builder for DlpServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DlpServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DlpServiceStubSettings settings)

protected Builder(DlpServiceStubSettings settings)
Parameter
NameDescription
settingsDlpServiceStubSettings

Methods

activateJobTriggerSettings()

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

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

Returns
TypeDescription
Builder<ActivateJobTriggerRequest,DlpJob>

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

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

build()

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

cancelDlpJobSettings()

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

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

Returns
TypeDescription
Builder<CancelDlpJobRequest,Empty>

createDeidentifyTemplateSettings()

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

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

Returns
TypeDescription
Builder<CreateDeidentifyTemplateRequest,DeidentifyTemplate>

createDlpJobSettings()

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

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

Returns
TypeDescription
Builder<CreateDlpJobRequest,DlpJob>

createInspectTemplateSettings()

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

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

Returns
TypeDescription
Builder<CreateInspectTemplateRequest,InspectTemplate>

createJobTriggerSettings()

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

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

Returns
TypeDescription
Builder<CreateJobTriggerRequest,JobTrigger>

createStoredInfoTypeSettings()

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

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

Returns
TypeDescription
Builder<CreateStoredInfoTypeRequest,StoredInfoType>

deidentifyContentSettings()

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

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

Returns
TypeDescription
Builder<DeidentifyContentRequest,DeidentifyContentResponse>

deleteDeidentifyTemplateSettings()

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

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

Returns
TypeDescription
Builder<DeleteDeidentifyTemplateRequest,Empty>

deleteDlpJobSettings()

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

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

Returns
TypeDescription
Builder<DeleteDlpJobRequest,Empty>

deleteInspectTemplateSettings()

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

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

Returns
TypeDescription
Builder<DeleteInspectTemplateRequest,Empty>

deleteJobTriggerSettings()

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

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

Returns
TypeDescription
Builder<DeleteJobTriggerRequest,Empty>

deleteStoredInfoTypeSettings()

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

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

Returns
TypeDescription
Builder<DeleteStoredInfoTypeRequest,Empty>

finishDlpJobSettings()

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

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

Returns
TypeDescription
Builder<FinishDlpJobRequest,Empty>

getDeidentifyTemplateSettings()

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

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

Returns
TypeDescription
Builder<GetDeidentifyTemplateRequest,DeidentifyTemplate>

getDlpJobSettings()

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

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

Returns
TypeDescription
Builder<GetDlpJobRequest,DlpJob>

getInspectTemplateSettings()

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

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

Returns
TypeDescription
Builder<GetInspectTemplateRequest,InspectTemplate>

getJobTriggerSettings()

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

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

Returns
TypeDescription
Builder<GetJobTriggerRequest,JobTrigger>

getStoredInfoTypeSettings()

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

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

Returns
TypeDescription
Builder<GetStoredInfoTypeRequest,StoredInfoType>

hybridInspectDlpJobSettings()

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

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

Returns
TypeDescription
Builder<HybridInspectDlpJobRequest,HybridInspectResponse>

hybridInspectJobTriggerSettings()

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

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

Returns
TypeDescription
Builder<HybridInspectJobTriggerRequest,HybridInspectResponse>

inspectContentSettings()

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

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

Returns
TypeDescription
Builder<InspectContentRequest,InspectContentResponse>

listDeidentifyTemplatesSettings()

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

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

Returns
TypeDescription
Builder<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesResponse,ListDeidentifyTemplatesPagedResponse>

listDlpJobsSettings()

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

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

Returns
TypeDescription
Builder<ListDlpJobsRequest,ListDlpJobsResponse,ListDlpJobsPagedResponse>

listInfoTypesSettings()

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

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

Returns
TypeDescription
Builder<ListInfoTypesRequest,ListInfoTypesResponse>

listInspectTemplatesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListJobTriggersRequest,ListJobTriggersResponse,ListJobTriggersPagedResponse>

listStoredInfoTypesSettings()

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

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

Returns
TypeDescription
Builder<ListStoredInfoTypesRequest,ListStoredInfoTypesResponse,ListStoredInfoTypesPagedResponse>

redactImageSettings()

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

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

Returns
TypeDescription
Builder<RedactImageRequest,RedactImageResponse>

reidentifyContentSettings()

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

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

Returns
TypeDescription
Builder<ReidentifyContentRequest,ReidentifyContentResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateDeidentifyTemplateSettings()

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

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

Returns
TypeDescription
Builder<UpdateDeidentifyTemplateRequest,DeidentifyTemplate>

updateInspectTemplateSettings()

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

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

Returns
TypeDescription
Builder<UpdateInspectTemplateRequest,InspectTemplate>

updateJobTriggerSettings()

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

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

Returns
TypeDescription
Builder<UpdateJobTriggerRequest,JobTrigger>

updateStoredInfoTypeSettings()

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

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

Returns
TypeDescription
Builder<UpdateStoredInfoTypeRequest,StoredInfoType>