public static class DlpServiceSettings.Builder extends ClientSettings.Builder<DlpServiceSettings,DlpServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DlpServiceSettings settings) |
protected |
Builder(DlpServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
DlpServiceSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
DlpServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CancelDlpJobRequest,Empty> |
cancelDlpJobSettings()
Returns the builder for the settings used for calls to cancelDlpJob.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> |
createDeidentifyTemplateSettings()
Returns the builder for the settings used for calls to createDeidentifyTemplate.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateDlpJobRequest,com.google.privacy.dlp.v2.DlpJob> |
createDlpJobSettings()
Returns the builder for the settings used for calls to createDlpJob.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> |
createInspectTemplateSettings()
Returns the builder for the settings used for calls to createInspectTemplate.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> |
createJobTriggerSettings()
Returns the builder for the settings used for calls to createJobTrigger.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> |
createStoredInfoTypeSettings()
Returns the builder for the settings used for calls to createStoredInfoType.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeidentifyContentRequest,com.google.privacy.dlp.v2.DeidentifyContentResponse> |
deidentifyContentSettings()
Returns the builder for the settings used for calls to deidentifyContent.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest,Empty> |
deleteDeidentifyTemplateSettings()
Returns the builder for the settings used for calls to deleteDeidentifyTemplate.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteDlpJobRequest,Empty> |
deleteDlpJobSettings()
Returns the builder for the settings used for calls to deleteDlpJob.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteInspectTemplateRequest,Empty> |
deleteInspectTemplateSettings()
Returns the builder for the settings used for calls to deleteInspectTemplate.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteJobTriggerRequest,Empty> |
deleteJobTriggerSettings()
Returns the builder for the settings used for calls to deleteJobTrigger.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest,Empty> |
deleteStoredInfoTypeSettings()
Returns the builder for the settings used for calls to deleteStoredInfoType.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> |
getDeidentifyTemplateSettings()
Returns the builder for the settings used for calls to getDeidentifyTemplate.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetDlpJobRequest,com.google.privacy.dlp.v2.DlpJob> |
getDlpJobSettings()
Returns the builder for the settings used for calls to getDlpJob.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> |
getInspectTemplateSettings()
Returns the builder for the settings used for calls to getInspectTemplate.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> |
getJobTriggerSettings()
Returns the builder for the settings used for calls to getJobTrigger.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> |
getStoredInfoTypeSettings()
Returns the builder for the settings used for calls to getStoredInfoType.
|
DlpServiceStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.InspectContentRequest,com.google.privacy.dlp.v2.InspectContentResponse> |
inspectContentSettings()
Returns the builder for the settings used for calls to inspectContent.
|
PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest,com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> |
listDeidentifyTemplatesSettings()
Returns the builder for the settings used for calls to listDeidentifyTemplates.
|
PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListDlpJobsRequest,com.google.privacy.dlp.v2.ListDlpJobsResponse,DlpServiceClient.ListDlpJobsPagedResponse> |
listDlpJobsSettings()
Returns the builder for the settings used for calls to listDlpJobs.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.ListInfoTypesRequest,com.google.privacy.dlp.v2.ListInfoTypesResponse> |
listInfoTypesSettings()
Returns the builder for the settings used for calls to listInfoTypes.
|
PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListInspectTemplatesRequest,com.google.privacy.dlp.v2.ListInspectTemplatesResponse,DlpServiceClient.ListInspectTemplatesPagedResponse> |
listInspectTemplatesSettings()
Returns the builder for the settings used for calls to listInspectTemplates.
|
PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListJobTriggersRequest,com.google.privacy.dlp.v2.ListJobTriggersResponse,DlpServiceClient.ListJobTriggersPagedResponse> |
listJobTriggersSettings()
Returns the builder for the settings used for calls to listJobTriggers.
|
PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListStoredInfoTypesRequest,com.google.privacy.dlp.v2.ListStoredInfoTypesResponse,DlpServiceClient.ListStoredInfoTypesPagedResponse> |
listStoredInfoTypesSettings()
Returns the builder for the settings used for calls to listStoredInfoTypes.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.RedactImageRequest,com.google.privacy.dlp.v2.RedactImageResponse> |
redactImageSettings()
Returns the builder for the settings used for calls to redactImage.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.ReidentifyContentRequest,com.google.privacy.dlp.v2.ReidentifyContentResponse> |
reidentifyContentSettings()
Returns the builder for the settings used for calls to reidentifyContent.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> |
updateDeidentifyTemplateSettings()
Returns the builder for the settings used for calls to updateDeidentifyTemplate.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.UpdateInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> |
updateInspectTemplateSettings()
Returns the builder for the settings used for calls to updateInspectTemplate.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.UpdateJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> |
updateJobTriggerSettings()
Returns the builder for the settings used for calls to updateJobTrigger.
|
UnaryCallSettings.Builder<com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> |
updateStoredInfoTypeSettings()
Returns the builder for the settings used for calls to updateStoredInfoType.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(DlpServiceSettings settings)
protected Builder(DlpServiceStubSettings.Builder stubSettings)
public DlpServiceStubSettings.Builder getStubSettingsBuilder()
public DlpServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.InspectContentRequest,com.google.privacy.dlp.v2.InspectContentResponse> inspectContentSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.RedactImageRequest,com.google.privacy.dlp.v2.RedactImageResponse> redactImageSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeidentifyContentRequest,com.google.privacy.dlp.v2.DeidentifyContentResponse> deidentifyContentSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.ReidentifyContentRequest,com.google.privacy.dlp.v2.ReidentifyContentResponse> reidentifyContentSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.ListInfoTypesRequest,com.google.privacy.dlp.v2.ListInfoTypesResponse> listInfoTypesSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> createInspectTemplateSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.UpdateInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> updateInspectTemplateSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> getInspectTemplateSettings()
public PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListInspectTemplatesRequest,com.google.privacy.dlp.v2.ListInspectTemplatesResponse,DlpServiceClient.ListInspectTemplatesPagedResponse> listInspectTemplatesSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteInspectTemplateRequest,Empty> deleteInspectTemplateSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> createDeidentifyTemplateSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> updateDeidentifyTemplateSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> getDeidentifyTemplateSettings()
public PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest,com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest,Empty> deleteDeidentifyTemplateSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateDlpJobRequest,com.google.privacy.dlp.v2.DlpJob> createDlpJobSettings()
public PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListDlpJobsRequest,com.google.privacy.dlp.v2.ListDlpJobsResponse,DlpServiceClient.ListDlpJobsPagedResponse> listDlpJobsSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetDlpJobRequest,com.google.privacy.dlp.v2.DlpJob> getDlpJobSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteDlpJobRequest,Empty> deleteDlpJobSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CancelDlpJobRequest,Empty> cancelDlpJobSettings()
public PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListJobTriggersRequest,com.google.privacy.dlp.v2.ListJobTriggersResponse,DlpServiceClient.ListJobTriggersPagedResponse> listJobTriggersSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> getJobTriggerSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteJobTriggerRequest,Empty> deleteJobTriggerSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.UpdateJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> updateJobTriggerSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> createJobTriggerSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> createStoredInfoTypeSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> updateStoredInfoTypeSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.GetStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> getStoredInfoTypeSettings()
public PagedCallSettings.Builder<com.google.privacy.dlp.v2.ListStoredInfoTypesRequest,com.google.privacy.dlp.v2.ListStoredInfoTypesResponse,DlpServiceClient.ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings()
public UnaryCallSettings.Builder<com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest,Empty> deleteStoredInfoTypeSettings()
public DlpServiceSettings build() throws IOException
build
in class ClientSettings.Builder<DlpServiceSettings,DlpServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.