Class GrpcDlpServiceStub (3.10.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 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 Overrides

close()

public final void close()
Overrides

createDeidentifyTemplateCallable()

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

createDlpJobCallable()

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

createInspectTemplateCallable()

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

createJobTriggerCallable()

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

createStoredInfoTypeCallable()

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

deidentifyContentCallable()

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

deleteDeidentifyTemplateCallable()

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

deleteDlpJobCallable()

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

deleteInspectTemplateCallable()

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

deleteJobTriggerCallable()

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

deleteStoredInfoTypeCallable()

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

finishDlpJobCallable()

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

getDeidentifyTemplateCallable()

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

getDlpJobCallable()

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

getInspectTemplateCallable()

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

getJobTriggerCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getStoredInfoTypeCallable()

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

hybridInspectDlpJobCallable()

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

hybridInspectJobTriggerCallable()

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

inspectContentCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listDeidentifyTemplatesCallable()

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

listDeidentifyTemplatesPagedCallable()

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

listDlpJobsCallable()

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

listDlpJobsPagedCallable()

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

listInfoTypesCallable()

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

listInspectTemplatesCallable()

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

listInspectTemplatesPagedCallable()

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

listJobTriggersCallable()

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

listJobTriggersPagedCallable()

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

listStoredInfoTypesCallable()

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

listStoredInfoTypesPagedCallable()

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

redactImageCallable()

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

reidentifyContentCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateDeidentifyTemplateCallable()

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

updateInspectTemplateCallable()

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

updateJobTriggerCallable()

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

updateStoredInfoTypeCallable()

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