@Generated(value="by gapic-generator-java") public class DlpServiceStubSettings extends com.google.api.gax.rpc.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:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DlpServiceStubSettings.Builder dlpServiceSettingsBuilder = DlpServiceStubSettings.newBuilder();
dlpServiceSettingsBuilder
.inspectContentSettings()
.setRetrySettings(
dlpServiceSettingsBuilder
.inspectContentSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
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 |
|---|---|
com.google.api.gax.rpc.UnaryCallSettings<ActivateJobTriggerRequest,DlpJob> |
activateJobTriggerSettings()
Returns the object with the settings used for calls to activateJobTrigger.
|
com.google.api.gax.rpc.UnaryCallSettings<CancelDlpJobRequest,com.google.protobuf.Empty> |
cancelDlpJobSettings()
Returns the object with the settings used for calls to cancelDlpJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateDeidentifyTemplateRequest,DeidentifyTemplate> |
createDeidentifyTemplateSettings()
Returns the object with the settings used for calls to createDeidentifyTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateDlpJobRequest,DlpJob> |
createDlpJobSettings()
Returns the object with the settings used for calls to createDlpJob.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateInspectTemplateRequest,InspectTemplate> |
createInspectTemplateSettings()
Returns the object with the settings used for calls to createInspectTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateJobTriggerRequest,JobTrigger> |
createJobTriggerSettings()
Returns the object with the settings used for calls to createJobTrigger.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateStoredInfoTypeRequest,StoredInfoType> |
createStoredInfoTypeSettings()
Returns the object with the settings used for calls to createStoredInfoType.
|
DlpServiceStub |
createStub() |
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultGrpcApiClientHeaderProviderBuilder() |
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultHttpJsonApiClientHeaderProviderBuilder() |
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeidentifyContentRequest,DeidentifyContentResponse> |
deidentifyContentSettings()
Returns the object with the settings used for calls to deidentifyContent.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteDeidentifyTemplateRequest,com.google.protobuf.Empty> |
deleteDeidentifyTemplateSettings()
Returns the object with the settings used for calls to deleteDeidentifyTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteDlpJobRequest,com.google.protobuf.Empty> |
deleteDlpJobSettings()
Returns the object with the settings used for calls to deleteDlpJob.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteInspectTemplateRequest,com.google.protobuf.Empty> |
deleteInspectTemplateSettings()
Returns the object with the settings used for calls to deleteInspectTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteJobTriggerRequest,com.google.protobuf.Empty> |
deleteJobTriggerSettings()
Returns the object with the settings used for calls to deleteJobTrigger.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteStoredInfoTypeRequest,com.google.protobuf.Empty> |
deleteStoredInfoTypeSettings()
Returns the object with the settings used for calls to deleteStoredInfoType.
|
com.google.api.gax.rpc.UnaryCallSettings<FinishDlpJobRequest,com.google.protobuf.Empty> |
finishDlpJobSettings()
Returns the object with the settings used for calls to finishDlpJob.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static String |
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetDeidentifyTemplateRequest,DeidentifyTemplate> |
getDeidentifyTemplateSettings()
Returns the object with the settings used for calls to getDeidentifyTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<GetDlpJobRequest,DlpJob> |
getDlpJobSettings()
Returns the object with the settings used for calls to getDlpJob.
|
com.google.api.gax.rpc.UnaryCallSettings<GetInspectTemplateRequest,InspectTemplate> |
getInspectTemplateSettings()
Returns the object with the settings used for calls to getInspectTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<GetJobTriggerRequest,JobTrigger> |
getJobTriggerSettings()
Returns the object with the settings used for calls to getJobTrigger.
|
com.google.api.gax.rpc.UnaryCallSettings<GetStoredInfoTypeRequest,StoredInfoType> |
getStoredInfoTypeSettings()
Returns the object with the settings used for calls to getStoredInfoType.
|
com.google.api.gax.rpc.UnaryCallSettings<HybridInspectDlpJobRequest,HybridInspectResponse> |
hybridInspectDlpJobSettings()
Returns the object with the settings used for calls to hybridInspectDlpJob.
|
com.google.api.gax.rpc.UnaryCallSettings<HybridInspectJobTriggerRequest,HybridInspectResponse> |
hybridInspectJobTriggerSettings()
Returns the object with the settings used for calls to hybridInspectJobTrigger.
|
com.google.api.gax.rpc.UnaryCallSettings<InspectContentRequest,InspectContentResponse> |
inspectContentSettings()
Returns the object with the settings used for calls to inspectContent.
|
com.google.api.gax.rpc.PagedCallSettings<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesResponse,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> |
listDeidentifyTemplatesSettings()
Returns the object with the settings used for calls to listDeidentifyTemplates.
|
com.google.api.gax.rpc.PagedCallSettings<ListDlpJobsRequest,ListDlpJobsResponse,DlpServiceClient.ListDlpJobsPagedResponse> |
listDlpJobsSettings()
Returns the object with the settings used for calls to listDlpJobs.
|
com.google.api.gax.rpc.UnaryCallSettings<ListInfoTypesRequest,ListInfoTypesResponse> |
listInfoTypesSettings()
Returns the object with the settings used for calls to listInfoTypes.
|
com.google.api.gax.rpc.PagedCallSettings<ListInspectTemplatesRequest,ListInspectTemplatesResponse,DlpServiceClient.ListInspectTemplatesPagedResponse> |
listInspectTemplatesSettings()
Returns the object with the settings used for calls to listInspectTemplates.
|
com.google.api.gax.rpc.PagedCallSettings<ListJobTriggersRequest,ListJobTriggersResponse,DlpServiceClient.ListJobTriggersPagedResponse> |
listJobTriggersSettings()
Returns the object with the settings used for calls to listJobTriggers.
|
com.google.api.gax.rpc.PagedCallSettings<ListStoredInfoTypesRequest,ListStoredInfoTypesResponse,DlpServiceClient.ListStoredInfoTypesPagedResponse> |
listStoredInfoTypesSettings()
Returns the object with the settings used for calls to listStoredInfoTypes.
|
static DlpServiceStubSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static DlpServiceStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static DlpServiceStubSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<RedactImageRequest,RedactImageResponse> |
redactImageSettings()
Returns the object with the settings used for calls to redactImage.
|
com.google.api.gax.rpc.UnaryCallSettings<ReidentifyContentRequest,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.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateDeidentifyTemplateRequest,DeidentifyTemplate> |
updateDeidentifyTemplateSettings()
Returns the object with the settings used for calls to updateDeidentifyTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateInspectTemplateRequest,InspectTemplate> |
updateInspectTemplateSettings()
Returns the object with the settings used for calls to updateInspectTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateJobTriggerRequest,JobTrigger> |
updateJobTriggerSettings()
Returns the object with the settings used for calls to updateJobTrigger.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateStoredInfoTypeRequest,StoredInfoType> |
updateStoredInfoTypeSettings()
Returns the object with the settings used for calls to updateStoredInfoType.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toStringprotected DlpServiceStubSettings(DlpServiceStubSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<InspectContentRequest,InspectContentResponse> inspectContentSettings()
public com.google.api.gax.rpc.UnaryCallSettings<RedactImageRequest,RedactImageResponse> redactImageSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeidentifyContentRequest,DeidentifyContentResponse> deidentifyContentSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ReidentifyContentRequest,ReidentifyContentResponse> reidentifyContentSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ListInfoTypesRequest,ListInfoTypesResponse> listInfoTypesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateInspectTemplateRequest,InspectTemplate> createInspectTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateInspectTemplateRequest,InspectTemplate> updateInspectTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetInspectTemplateRequest,InspectTemplate> getInspectTemplateSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListInspectTemplatesRequest,ListInspectTemplatesResponse,DlpServiceClient.ListInspectTemplatesPagedResponse> listInspectTemplatesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteInspectTemplateRequest,com.google.protobuf.Empty> deleteInspectTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateDeidentifyTemplateRequest,DeidentifyTemplate> createDeidentifyTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateDeidentifyTemplateRequest,DeidentifyTemplate> updateDeidentifyTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetDeidentifyTemplateRequest,DeidentifyTemplate> getDeidentifyTemplateSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesResponse,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteDeidentifyTemplateRequest,com.google.protobuf.Empty> deleteDeidentifyTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateJobTriggerRequest,JobTrigger> createJobTriggerSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateJobTriggerRequest,JobTrigger> updateJobTriggerSettings()
public com.google.api.gax.rpc.UnaryCallSettings<HybridInspectJobTriggerRequest,HybridInspectResponse> hybridInspectJobTriggerSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetJobTriggerRequest,JobTrigger> getJobTriggerSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListJobTriggersRequest,ListJobTriggersResponse,DlpServiceClient.ListJobTriggersPagedResponse> listJobTriggersSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteJobTriggerRequest,com.google.protobuf.Empty> deleteJobTriggerSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ActivateJobTriggerRequest,DlpJob> activateJobTriggerSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateDlpJobRequest,DlpJob> createDlpJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListDlpJobsRequest,ListDlpJobsResponse,DlpServiceClient.ListDlpJobsPagedResponse> listDlpJobsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetDlpJobRequest,DlpJob> getDlpJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteDlpJobRequest,com.google.protobuf.Empty> deleteDlpJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CancelDlpJobRequest,com.google.protobuf.Empty> cancelDlpJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateStoredInfoTypeRequest,StoredInfoType> createStoredInfoTypeSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateStoredInfoTypeRequest,StoredInfoType> updateStoredInfoTypeSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetStoredInfoTypeRequest,StoredInfoType> getStoredInfoTypeSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListStoredInfoTypesRequest,ListStoredInfoTypesResponse,DlpServiceClient.ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteStoredInfoTypeRequest,com.google.protobuf.Empty> deleteStoredInfoTypeSettings()
public com.google.api.gax.rpc.UnaryCallSettings<HybridInspectDlpJobRequest,HybridInspectResponse> hybridInspectDlpJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<FinishDlpJobRequest,com.google.protobuf.Empty> finishDlpJobSettings()
public DlpServiceStub createStub() throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static String getDefaultMtlsEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static DlpServiceStubSettings.Builder newBuilder()
public static DlpServiceStubSettings.Builder newHttpJsonBuilder()
public static DlpServiceStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public DlpServiceStubSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.StubSettings<DlpServiceStubSettings>Copyright © 2023 Google LLC. All rights reserved.