@Generated(value="by gapic-generator") @BetaApi public class DlpServiceStubSettings extends StubSettings<DlpServiceStubSettings>
DlpServiceStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of inspectContent to 30 seconds:
DlpServiceStubSettings.Builder dlpServiceSettingsBuilder =
DlpServiceStubSettings.newBuilder();
dlpServiceSettingsBuilder.inspectContentSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
DlpServiceStubSettings dlpServiceSettings = dlpServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
DlpServiceStubSettings.Builder
Builder for DlpServiceStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
DlpServiceStubSettings(DlpServiceStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings<com.google.privacy.dlp.v2.CancelDlpJobRequest,Empty> |
cancelDlpJobSettings()
Returns the object with the settings used for calls to cancelDlpJob.
|
UnaryCallSettings<com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> |
createDeidentifyTemplateSettings()
Returns the object with the settings used for calls to createDeidentifyTemplate.
|
UnaryCallSettings<com.google.privacy.dlp.v2.CreateDlpJobRequest,com.google.privacy.dlp.v2.DlpJob> |
createDlpJobSettings()
Returns the object with the settings used for calls to createDlpJob.
|
UnaryCallSettings<com.google.privacy.dlp.v2.CreateInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> |
createInspectTemplateSettings()
Returns the object with the settings used for calls to createInspectTemplate.
|
UnaryCallSettings<com.google.privacy.dlp.v2.CreateJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> |
createJobTriggerSettings()
Returns the object with the settings used for calls to createJobTrigger.
|
UnaryCallSettings<com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> |
createStoredInfoTypeSettings()
Returns the object with the settings used for calls to createStoredInfoType.
|
DlpServiceStub |
createStub() |
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
UnaryCallSettings<com.google.privacy.dlp.v2.DeidentifyContentRequest,com.google.privacy.dlp.v2.DeidentifyContentResponse> |
deidentifyContentSettings()
Returns the object with the settings used for calls to deidentifyContent.
|
UnaryCallSettings<com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest,Empty> |
deleteDeidentifyTemplateSettings()
Returns the object with the settings used for calls to deleteDeidentifyTemplate.
|
UnaryCallSettings<com.google.privacy.dlp.v2.DeleteDlpJobRequest,Empty> |
deleteDlpJobSettings()
Returns the object with the settings used for calls to deleteDlpJob.
|
UnaryCallSettings<com.google.privacy.dlp.v2.DeleteInspectTemplateRequest,Empty> |
deleteInspectTemplateSettings()
Returns the object with the settings used for calls to deleteInspectTemplate.
|
UnaryCallSettings<com.google.privacy.dlp.v2.DeleteJobTriggerRequest,Empty> |
deleteJobTriggerSettings()
Returns the object with the settings used for calls to deleteJobTrigger.
|
UnaryCallSettings<com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest,Empty> |
deleteStoredInfoTypeSettings()
Returns the object with the settings used for calls to deleteStoredInfoType.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
UnaryCallSettings<com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> |
getDeidentifyTemplateSettings()
Returns the object with the settings used for calls to getDeidentifyTemplate.
|
UnaryCallSettings<com.google.privacy.dlp.v2.GetDlpJobRequest,com.google.privacy.dlp.v2.DlpJob> |
getDlpJobSettings()
Returns the object with the settings used for calls to getDlpJob.
|
UnaryCallSettings<com.google.privacy.dlp.v2.GetInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> |
getInspectTemplateSettings()
Returns the object with the settings used for calls to getInspectTemplate.
|
UnaryCallSettings<com.google.privacy.dlp.v2.GetJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> |
getJobTriggerSettings()
Returns the object with the settings used for calls to getJobTrigger.
|
UnaryCallSettings<com.google.privacy.dlp.v2.GetStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> |
getStoredInfoTypeSettings()
Returns the object with the settings used for calls to getStoredInfoType.
|
UnaryCallSettings<com.google.privacy.dlp.v2.InspectContentRequest,com.google.privacy.dlp.v2.InspectContentResponse> |
inspectContentSettings()
Returns the object with the settings used for calls to inspectContent.
|
PagedCallSettings<com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest,com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> |
listDeidentifyTemplatesSettings()
Returns the object with the settings used for calls to listDeidentifyTemplates.
|
PagedCallSettings<com.google.privacy.dlp.v2.ListDlpJobsRequest,com.google.privacy.dlp.v2.ListDlpJobsResponse,DlpServiceClient.ListDlpJobsPagedResponse> |
listDlpJobsSettings()
Returns the object with the settings used for calls to listDlpJobs.
|
UnaryCallSettings<com.google.privacy.dlp.v2.ListInfoTypesRequest,com.google.privacy.dlp.v2.ListInfoTypesResponse> |
listInfoTypesSettings()
Returns the object with the settings used for calls to listInfoTypes.
|
PagedCallSettings<com.google.privacy.dlp.v2.ListInspectTemplatesRequest,com.google.privacy.dlp.v2.ListInspectTemplatesResponse,DlpServiceClient.ListInspectTemplatesPagedResponse> |
listInspectTemplatesSettings()
Returns the object with the settings used for calls to listInspectTemplates.
|
PagedCallSettings<com.google.privacy.dlp.v2.ListJobTriggersRequest,com.google.privacy.dlp.v2.ListJobTriggersResponse,DlpServiceClient.ListJobTriggersPagedResponse> |
listJobTriggersSettings()
Returns the object with the settings used for calls to listJobTriggers.
|
PagedCallSettings<com.google.privacy.dlp.v2.ListStoredInfoTypesRequest,com.google.privacy.dlp.v2.ListStoredInfoTypesResponse,DlpServiceClient.ListStoredInfoTypesPagedResponse> |
listStoredInfoTypesSettings()
Returns the object with the settings used for calls to listStoredInfoTypes.
|
static DlpServiceStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static DlpServiceStubSettings.Builder |
newBuilder(ClientContext clientContext)
Returns a new builder for this class.
|
UnaryCallSettings<com.google.privacy.dlp.v2.RedactImageRequest,com.google.privacy.dlp.v2.RedactImageResponse> |
redactImageSettings()
Returns the object with the settings used for calls to redactImage.
|
UnaryCallSettings<com.google.privacy.dlp.v2.ReidentifyContentRequest,com.google.privacy.dlp.v2.ReidentifyContentResponse> |
reidentifyContentSettings()
Returns the object with the settings used for calls to reidentifyContent.
|
DlpServiceStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
UnaryCallSettings<com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> |
updateDeidentifyTemplateSettings()
Returns the object with the settings used for calls to updateDeidentifyTemplate.
|
UnaryCallSettings<com.google.privacy.dlp.v2.UpdateInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> |
updateInspectTemplateSettings()
Returns the object with the settings used for calls to updateInspectTemplate.
|
UnaryCallSettings<com.google.privacy.dlp.v2.UpdateJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> |
updateJobTriggerSettings()
Returns the object with the settings used for calls to updateJobTrigger.
|
UnaryCallSettings<com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> |
updateStoredInfoTypeSettings()
Returns the object with the settings used for calls to updateStoredInfoType.
|
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected DlpServiceStubSettings(DlpServiceStubSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<com.google.privacy.dlp.v2.InspectContentRequest,com.google.privacy.dlp.v2.InspectContentResponse> inspectContentSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.RedactImageRequest,com.google.privacy.dlp.v2.RedactImageResponse> redactImageSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.DeidentifyContentRequest,com.google.privacy.dlp.v2.DeidentifyContentResponse> deidentifyContentSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.ReidentifyContentRequest,com.google.privacy.dlp.v2.ReidentifyContentResponse> reidentifyContentSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.ListInfoTypesRequest,com.google.privacy.dlp.v2.ListInfoTypesResponse> listInfoTypesSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.CreateInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> createInspectTemplateSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.UpdateInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> updateInspectTemplateSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.GetInspectTemplateRequest,com.google.privacy.dlp.v2.InspectTemplate> getInspectTemplateSettings()
public PagedCallSettings<com.google.privacy.dlp.v2.ListInspectTemplatesRequest,com.google.privacy.dlp.v2.ListInspectTemplatesResponse,DlpServiceClient.ListInspectTemplatesPagedResponse> listInspectTemplatesSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.DeleteInspectTemplateRequest,Empty> deleteInspectTemplateSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> createDeidentifyTemplateSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> updateDeidentifyTemplateSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.GetDeidentifyTemplateRequest,com.google.privacy.dlp.v2.DeidentifyTemplate> getDeidentifyTemplateSettings()
public PagedCallSettings<com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest,com.google.privacy.dlp.v2.ListDeidentifyTemplatesResponse,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest,Empty> deleteDeidentifyTemplateSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.CreateDlpJobRequest,com.google.privacy.dlp.v2.DlpJob> createDlpJobSettings()
public PagedCallSettings<com.google.privacy.dlp.v2.ListDlpJobsRequest,com.google.privacy.dlp.v2.ListDlpJobsResponse,DlpServiceClient.ListDlpJobsPagedResponse> listDlpJobsSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.GetDlpJobRequest,com.google.privacy.dlp.v2.DlpJob> getDlpJobSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.DeleteDlpJobRequest,Empty> deleteDlpJobSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.CancelDlpJobRequest,Empty> cancelDlpJobSettings()
public PagedCallSettings<com.google.privacy.dlp.v2.ListJobTriggersRequest,com.google.privacy.dlp.v2.ListJobTriggersResponse,DlpServiceClient.ListJobTriggersPagedResponse> listJobTriggersSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.GetJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> getJobTriggerSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.DeleteJobTriggerRequest,Empty> deleteJobTriggerSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.UpdateJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> updateJobTriggerSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.CreateJobTriggerRequest,com.google.privacy.dlp.v2.JobTrigger> createJobTriggerSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> createStoredInfoTypeSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> updateStoredInfoTypeSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.GetStoredInfoTypeRequest,com.google.privacy.dlp.v2.StoredInfoType> getStoredInfoTypeSettings()
public PagedCallSettings<com.google.privacy.dlp.v2.ListStoredInfoTypesRequest,com.google.privacy.dlp.v2.ListStoredInfoTypesResponse,DlpServiceClient.ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings()
public UnaryCallSettings<com.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest,Empty> deleteStoredInfoTypeSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public DlpServiceStub createStub() throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static DlpServiceStubSettings.Builder newBuilder()
public static DlpServiceStubSettings.Builder newBuilder(ClientContext clientContext)
public DlpServiceStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<DlpServiceStubSettings>
Copyright © 2019 Google LLC. All rights reserved.