Class HttpJsonDlpServiceStub (3.44.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonDlpServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDlpServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonDlpServiceStub
Exceptions
TypeDescription
IOException

create(DlpServiceStubSettings settings)

public static final HttpJsonDlpServiceStub create(DlpServiceStubSettings settings)
Parameter
NameDescription
settingsDlpServiceStubSettings
Returns
TypeDescription
HttpJsonDlpServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsDlpServiceStubSettings
clientContextClientContext

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
NameDescription
settingsDlpServiceStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

activateJobTriggerCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelDlpJobCallable()

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

close()

public final void close()
Overrides

createDeidentifyTemplateCallable()

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

createDiscoveryConfigCallable()

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

createDlpJobCallable()

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

createInspectTemplateCallable()

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

createJobTriggerCallable()

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

createStoredInfoTypeCallable()

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

deidentifyContentCallable()

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

deleteDeidentifyTemplateCallable()

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

deleteDiscoveryConfigCallable()

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

deleteDlpJobCallable()

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

deleteInspectTemplateCallable()

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

deleteJobTriggerCallable()

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

deleteStoredInfoTypeCallable()

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

finishDlpJobCallable()

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

getColumnDataProfileCallable()

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

getDeidentifyTemplateCallable()

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

getDiscoveryConfigCallable()

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

getDlpJobCallable()

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

getInspectTemplateCallable()

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

getJobTriggerCallable()

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

getProjectDataProfileCallable()

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

getStoredInfoTypeCallable()

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

getTableDataProfileCallable()

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

hybridInspectDlpJobCallable()

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

hybridInspectJobTriggerCallable()

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

inspectContentCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listColumnDataProfilesCallable()

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

listColumnDataProfilesPagedCallable()

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

listDeidentifyTemplatesCallable()

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

listDeidentifyTemplatesPagedCallable()

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

listDiscoveryConfigsCallable()

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

listDiscoveryConfigsPagedCallable()

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

listDlpJobsCallable()

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

listDlpJobsPagedCallable()

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

listInfoTypesCallable()

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

listInspectTemplatesCallable()

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

listInspectTemplatesPagedCallable()

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

listJobTriggersCallable()

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

listJobTriggersPagedCallable()

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

listProjectDataProfilesCallable()

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

listProjectDataProfilesPagedCallable()

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

listStoredInfoTypesCallable()

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

listStoredInfoTypesPagedCallable()

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

listTableDataProfilesCallable()

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

listTableDataProfilesPagedCallable()

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

redactImageCallable()

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

reidentifyContentCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateDeidentifyTemplateCallable()

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

updateDiscoveryConfigCallable()

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

updateInspectTemplateCallable()

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

updateJobTriggerCallable()

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

updateStoredInfoTypeCallable()

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