Class GrpcDlpServiceStub (3.37.0)

public class GrpcDlpServiceStub extends DlpServiceStub

gRPC stub implementation for the DlpService service API.

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

Inheritance

java.lang.Object > DlpServiceStub > GrpcDlpServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDlpServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcDlpServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDlpServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDlpServiceStub
Exceptions
TypeDescription
IOException

create(DlpServiceStubSettings settings)

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

Constructors

GrpcDlpServiceStub(DlpServiceStubSettings settings, ClientContext clientContext)

protected GrpcDlpServiceStub(DlpServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDlpServiceStub, 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

GrpcDlpServiceStub(DlpServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDlpServiceStub(DlpServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDlpServiceStub, 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
callableFactoryGrpcStubCallableFactory

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

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getStoredInfoTypeCallable()

public UnaryCallable<GetStoredInfoTypeRequest,StoredInfoType> getStoredInfoTypeCallable()
Returns
TypeDescription
UnaryCallable<GetStoredInfoTypeRequest,StoredInfoType>
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

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

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

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