Class HttpJsonDlpServiceStub (3.46.0)

public class HttpJsonDlpServiceStub extends DlpServiceStub

REST stub implementation for the DlpService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DlpServiceStub > HttpJsonDlpServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonDlpServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonDlpServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDlpServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonDlpServiceStub
Exceptions
Type Description
IOException

create(DlpServiceStubSettings settings)

public static final HttpJsonDlpServiceStub create(DlpServiceStubSettings settings)
Parameter
Name Description
settings DlpServiceStubSettings
Returns
Type Description
HttpJsonDlpServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonDlpServiceStub(DlpServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonDlpServiceStub(DlpServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDlpServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DlpServiceStubSettings
clientContext ClientContext

HttpJsonDlpServiceStub(DlpServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDlpServiceStub(DlpServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonDlpServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DlpServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

activateJobTriggerCallable()

public UnaryCallable<ActivateJobTriggerRequest,DlpJob> activateJobTriggerCallable()
Returns
Type Description
UnaryCallable<ActivateJobTriggerRequest,DlpJob>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cancelDlpJobCallable()

public UnaryCallable<CancelDlpJobRequest,Empty> cancelDlpJobCallable()
Returns
Type Description
UnaryCallable<CancelDlpJobRequest,Empty>
Overrides

close()

public final void close()
Overrides

createDeidentifyTemplateCallable()

public UnaryCallable<CreateDeidentifyTemplateRequest,DeidentifyTemplate> createDeidentifyTemplateCallable()
Returns
Type Description
UnaryCallable<CreateDeidentifyTemplateRequest,DeidentifyTemplate>
Overrides

createDiscoveryConfigCallable()

public UnaryCallable<CreateDiscoveryConfigRequest,DiscoveryConfig> createDiscoveryConfigCallable()
Returns
Type Description
UnaryCallable<CreateDiscoveryConfigRequest,DiscoveryConfig>
Overrides

createDlpJobCallable()

public UnaryCallable<CreateDlpJobRequest,DlpJob> createDlpJobCallable()
Returns
Type Description
UnaryCallable<CreateDlpJobRequest,DlpJob>
Overrides

createInspectTemplateCallable()

public UnaryCallable<CreateInspectTemplateRequest,InspectTemplate> createInspectTemplateCallable()
Returns
Type Description
UnaryCallable<CreateInspectTemplateRequest,InspectTemplate>
Overrides

createJobTriggerCallable()

public UnaryCallable<CreateJobTriggerRequest,JobTrigger> createJobTriggerCallable()
Returns
Type Description
UnaryCallable<CreateJobTriggerRequest,JobTrigger>
Overrides

createStoredInfoTypeCallable()

public UnaryCallable<CreateStoredInfoTypeRequest,StoredInfoType> createStoredInfoTypeCallable()
Returns
Type Description
UnaryCallable<CreateStoredInfoTypeRequest,StoredInfoType>
Overrides

deidentifyContentCallable()

public UnaryCallable<DeidentifyContentRequest,DeidentifyContentResponse> deidentifyContentCallable()
Returns
Type Description
UnaryCallable<DeidentifyContentRequest,DeidentifyContentResponse>
Overrides

deleteDeidentifyTemplateCallable()

public UnaryCallable<DeleteDeidentifyTemplateRequest,Empty> deleteDeidentifyTemplateCallable()
Returns
Type Description
UnaryCallable<DeleteDeidentifyTemplateRequest,Empty>
Overrides

deleteDiscoveryConfigCallable()

public UnaryCallable<DeleteDiscoveryConfigRequest,Empty> deleteDiscoveryConfigCallable()
Returns
Type Description
UnaryCallable<DeleteDiscoveryConfigRequest,Empty>
Overrides

deleteDlpJobCallable()

public UnaryCallable<DeleteDlpJobRequest,Empty> deleteDlpJobCallable()
Returns
Type Description
UnaryCallable<DeleteDlpJobRequest,Empty>
Overrides

deleteInspectTemplateCallable()

public UnaryCallable<DeleteInspectTemplateRequest,Empty> deleteInspectTemplateCallable()
Returns
Type Description
UnaryCallable<DeleteInspectTemplateRequest,Empty>
Overrides

deleteJobTriggerCallable()

public UnaryCallable<DeleteJobTriggerRequest,Empty> deleteJobTriggerCallable()
Returns
Type Description
UnaryCallable<DeleteJobTriggerRequest,Empty>
Overrides

deleteStoredInfoTypeCallable()

public UnaryCallable<DeleteStoredInfoTypeRequest,Empty> deleteStoredInfoTypeCallable()
Returns
Type Description
UnaryCallable<DeleteStoredInfoTypeRequest,Empty>
Overrides

finishDlpJobCallable()

public UnaryCallable<FinishDlpJobRequest,Empty> finishDlpJobCallable()
Returns
Type Description
UnaryCallable<FinishDlpJobRequest,Empty>
Overrides

getColumnDataProfileCallable()

public UnaryCallable<GetColumnDataProfileRequest,ColumnDataProfile> getColumnDataProfileCallable()
Returns
Type Description
UnaryCallable<GetColumnDataProfileRequest,ColumnDataProfile>
Overrides

getDeidentifyTemplateCallable()

public UnaryCallable<GetDeidentifyTemplateRequest,DeidentifyTemplate> getDeidentifyTemplateCallable()
Returns
Type Description
UnaryCallable<GetDeidentifyTemplateRequest,DeidentifyTemplate>
Overrides

getDiscoveryConfigCallable()

public UnaryCallable<GetDiscoveryConfigRequest,DiscoveryConfig> getDiscoveryConfigCallable()
Returns
Type Description
UnaryCallable<GetDiscoveryConfigRequest,DiscoveryConfig>
Overrides

getDlpJobCallable()

public UnaryCallable<GetDlpJobRequest,DlpJob> getDlpJobCallable()
Returns
Type Description
UnaryCallable<GetDlpJobRequest,DlpJob>
Overrides

getInspectTemplateCallable()

public UnaryCallable<GetInspectTemplateRequest,InspectTemplate> getInspectTemplateCallable()
Returns
Type Description
UnaryCallable<GetInspectTemplateRequest,InspectTemplate>
Overrides

getJobTriggerCallable()

public UnaryCallable<GetJobTriggerRequest,JobTrigger> getJobTriggerCallable()
Returns
Type Description
UnaryCallable<GetJobTriggerRequest,JobTrigger>
Overrides

getProjectDataProfileCallable()

public UnaryCallable<GetProjectDataProfileRequest,ProjectDataProfile> getProjectDataProfileCallable()
Returns
Type Description
UnaryCallable<GetProjectDataProfileRequest,ProjectDataProfile>
Overrides

getStoredInfoTypeCallable()

public UnaryCallable<GetStoredInfoTypeRequest,StoredInfoType> getStoredInfoTypeCallable()
Returns
Type Description
UnaryCallable<GetStoredInfoTypeRequest,StoredInfoType>
Overrides

getTableDataProfileCallable()

public UnaryCallable<GetTableDataProfileRequest,TableDataProfile> getTableDataProfileCallable()
Returns
Type Description
UnaryCallable<GetTableDataProfileRequest,TableDataProfile>
Overrides

hybridInspectDlpJobCallable()

public UnaryCallable<HybridInspectDlpJobRequest,HybridInspectResponse> hybridInspectDlpJobCallable()
Returns
Type Description
UnaryCallable<HybridInspectDlpJobRequest,HybridInspectResponse>
Overrides

hybridInspectJobTriggerCallable()

public UnaryCallable<HybridInspectJobTriggerRequest,HybridInspectResponse> hybridInspectJobTriggerCallable()
Returns
Type Description
UnaryCallable<HybridInspectJobTriggerRequest,HybridInspectResponse>
Overrides

inspectContentCallable()

public UnaryCallable<InspectContentRequest,InspectContentResponse> inspectContentCallable()
Returns
Type Description
UnaryCallable<InspectContentRequest,InspectContentResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listColumnDataProfilesCallable()

public UnaryCallable<ListColumnDataProfilesRequest,ListColumnDataProfilesResponse> listColumnDataProfilesCallable()
Returns
Type Description
UnaryCallable<ListColumnDataProfilesRequest,ListColumnDataProfilesResponse>
Overrides

listColumnDataProfilesPagedCallable()

public UnaryCallable<ListColumnDataProfilesRequest,DlpServiceClient.ListColumnDataProfilesPagedResponse> listColumnDataProfilesPagedCallable()
Returns
Type Description
UnaryCallable<ListColumnDataProfilesRequest,ListColumnDataProfilesPagedResponse>
Overrides

listDeidentifyTemplatesCallable()

public UnaryCallable<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesResponse> listDeidentifyTemplatesCallable()
Returns
Type Description
UnaryCallable<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesResponse>
Overrides

listDeidentifyTemplatesPagedCallable()

public UnaryCallable<ListDeidentifyTemplatesRequest,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesPagedCallable()
Returns
Type Description
UnaryCallable<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesPagedResponse>
Overrides

listDiscoveryConfigsCallable()

public UnaryCallable<ListDiscoveryConfigsRequest,ListDiscoveryConfigsResponse> listDiscoveryConfigsCallable()
Returns
Type Description
UnaryCallable<ListDiscoveryConfigsRequest,ListDiscoveryConfigsResponse>
Overrides

listDiscoveryConfigsPagedCallable()

public UnaryCallable<ListDiscoveryConfigsRequest,DlpServiceClient.ListDiscoveryConfigsPagedResponse> listDiscoveryConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListDiscoveryConfigsRequest,ListDiscoveryConfigsPagedResponse>
Overrides

listDlpJobsCallable()

public UnaryCallable<ListDlpJobsRequest,ListDlpJobsResponse> listDlpJobsCallable()
Returns
Type Description
UnaryCallable<ListDlpJobsRequest,ListDlpJobsResponse>
Overrides

listDlpJobsPagedCallable()

public UnaryCallable<ListDlpJobsRequest,DlpServiceClient.ListDlpJobsPagedResponse> listDlpJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListDlpJobsRequest,ListDlpJobsPagedResponse>
Overrides

listInfoTypesCallable()

public UnaryCallable<ListInfoTypesRequest,ListInfoTypesResponse> listInfoTypesCallable()
Returns
Type Description
UnaryCallable<ListInfoTypesRequest,ListInfoTypesResponse>
Overrides

listInspectTemplatesCallable()

public UnaryCallable<ListInspectTemplatesRequest,ListInspectTemplatesResponse> listInspectTemplatesCallable()
Returns
Type Description
UnaryCallable<ListInspectTemplatesRequest,ListInspectTemplatesResponse>
Overrides

listInspectTemplatesPagedCallable()

public UnaryCallable<ListInspectTemplatesRequest,DlpServiceClient.ListInspectTemplatesPagedResponse> listInspectTemplatesPagedCallable()
Returns
Type Description
UnaryCallable<ListInspectTemplatesRequest,ListInspectTemplatesPagedResponse>
Overrides

listJobTriggersCallable()

public UnaryCallable<ListJobTriggersRequest,ListJobTriggersResponse> listJobTriggersCallable()
Returns
Type Description
UnaryCallable<ListJobTriggersRequest,ListJobTriggersResponse>
Overrides

listJobTriggersPagedCallable()

public UnaryCallable<ListJobTriggersRequest,DlpServiceClient.ListJobTriggersPagedResponse> listJobTriggersPagedCallable()
Returns
Type Description
UnaryCallable<ListJobTriggersRequest,ListJobTriggersPagedResponse>
Overrides

listProjectDataProfilesCallable()

public UnaryCallable<ListProjectDataProfilesRequest,ListProjectDataProfilesResponse> listProjectDataProfilesCallable()
Returns
Type Description
UnaryCallable<ListProjectDataProfilesRequest,ListProjectDataProfilesResponse>
Overrides

listProjectDataProfilesPagedCallable()

public UnaryCallable<ListProjectDataProfilesRequest,DlpServiceClient.ListProjectDataProfilesPagedResponse> listProjectDataProfilesPagedCallable()
Returns
Type Description
UnaryCallable<ListProjectDataProfilesRequest,ListProjectDataProfilesPagedResponse>
Overrides

listStoredInfoTypesCallable()

public UnaryCallable<ListStoredInfoTypesRequest,ListStoredInfoTypesResponse> listStoredInfoTypesCallable()
Returns
Type Description
UnaryCallable<ListStoredInfoTypesRequest,ListStoredInfoTypesResponse>
Overrides

listStoredInfoTypesPagedCallable()

public UnaryCallable<ListStoredInfoTypesRequest,DlpServiceClient.ListStoredInfoTypesPagedResponse> listStoredInfoTypesPagedCallable()
Returns
Type Description
UnaryCallable<ListStoredInfoTypesRequest,ListStoredInfoTypesPagedResponse>
Overrides

listTableDataProfilesCallable()

public UnaryCallable<ListTableDataProfilesRequest,ListTableDataProfilesResponse> listTableDataProfilesCallable()
Returns
Type Description
UnaryCallable<ListTableDataProfilesRequest,ListTableDataProfilesResponse>
Overrides

listTableDataProfilesPagedCallable()

public UnaryCallable<ListTableDataProfilesRequest,DlpServiceClient.ListTableDataProfilesPagedResponse> listTableDataProfilesPagedCallable()
Returns
Type Description
UnaryCallable<ListTableDataProfilesRequest,ListTableDataProfilesPagedResponse>
Overrides

redactImageCallable()

public UnaryCallable<RedactImageRequest,RedactImageResponse> redactImageCallable()
Returns
Type Description
UnaryCallable<RedactImageRequest,RedactImageResponse>
Overrides

reidentifyContentCallable()

public UnaryCallable<ReidentifyContentRequest,ReidentifyContentResponse> reidentifyContentCallable()
Returns
Type Description
UnaryCallable<ReidentifyContentRequest,ReidentifyContentResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateDeidentifyTemplateCallable()

public UnaryCallable<UpdateDeidentifyTemplateRequest,DeidentifyTemplate> updateDeidentifyTemplateCallable()
Returns
Type Description
UnaryCallable<UpdateDeidentifyTemplateRequest,DeidentifyTemplate>
Overrides

updateDiscoveryConfigCallable()

public UnaryCallable<UpdateDiscoveryConfigRequest,DiscoveryConfig> updateDiscoveryConfigCallable()
Returns
Type Description
UnaryCallable<UpdateDiscoveryConfigRequest,DiscoveryConfig>
Overrides

updateInspectTemplateCallable()

public UnaryCallable<UpdateInspectTemplateRequest,InspectTemplate> updateInspectTemplateCallable()
Returns
Type Description
UnaryCallable<UpdateInspectTemplateRequest,InspectTemplate>
Overrides

updateJobTriggerCallable()

public UnaryCallable<UpdateJobTriggerRequest,JobTrigger> updateJobTriggerCallable()
Returns
Type Description
UnaryCallable<UpdateJobTriggerRequest,JobTrigger>
Overrides

updateStoredInfoTypeCallable()

public UnaryCallable<UpdateStoredInfoTypeRequest,StoredInfoType> updateStoredInfoTypeCallable()
Returns
Type Description
UnaryCallable<UpdateStoredInfoTypeRequest,StoredInfoType>
Overrides