Package com.google.cloud.dlp.v2.stub
Class GrpcDlpServiceStub
- java.lang.Object
-
- com.google.cloud.dlp.v2.stub.DlpServiceStub
-
- com.google.cloud.dlp.v2.stub.GrpcDlpServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcDlpServiceStub(DlpServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcDlpServiceStub, using the given settings.protected
GrpcDlpServiceStub(DlpServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDlpServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcDlpServiceStub
protected GrpcDlpServiceStub(DlpServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcDlpServiceStub
protected GrpcDlpServiceStub(DlpServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcDlpServiceStub create(DlpServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcDlpServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcDlpServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
inspectContentCallable
public com.google.api.gax.rpc.UnaryCallable<InspectContentRequest,InspectContentResponse> inspectContentCallable()
- Overrides:
inspectContentCallable
in classDlpServiceStub
-
redactImageCallable
public com.google.api.gax.rpc.UnaryCallable<RedactImageRequest,RedactImageResponse> redactImageCallable()
- Overrides:
redactImageCallable
in classDlpServiceStub
-
deidentifyContentCallable
public com.google.api.gax.rpc.UnaryCallable<DeidentifyContentRequest,DeidentifyContentResponse> deidentifyContentCallable()
- Overrides:
deidentifyContentCallable
in classDlpServiceStub
-
reidentifyContentCallable
public com.google.api.gax.rpc.UnaryCallable<ReidentifyContentRequest,ReidentifyContentResponse> reidentifyContentCallable()
- Overrides:
reidentifyContentCallable
in classDlpServiceStub
-
listInfoTypesCallable
public com.google.api.gax.rpc.UnaryCallable<ListInfoTypesRequest,ListInfoTypesResponse> listInfoTypesCallable()
- Overrides:
listInfoTypesCallable
in classDlpServiceStub
-
createInspectTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<CreateInspectTemplateRequest,InspectTemplate> createInspectTemplateCallable()
- Overrides:
createInspectTemplateCallable
in classDlpServiceStub
-
updateInspectTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateInspectTemplateRequest,InspectTemplate> updateInspectTemplateCallable()
- Overrides:
updateInspectTemplateCallable
in classDlpServiceStub
-
getInspectTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<GetInspectTemplateRequest,InspectTemplate> getInspectTemplateCallable()
- Overrides:
getInspectTemplateCallable
in classDlpServiceStub
-
listInspectTemplatesCallable
public com.google.api.gax.rpc.UnaryCallable<ListInspectTemplatesRequest,ListInspectTemplatesResponse> listInspectTemplatesCallable()
- Overrides:
listInspectTemplatesCallable
in classDlpServiceStub
-
listInspectTemplatesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListInspectTemplatesRequest,DlpServiceClient.ListInspectTemplatesPagedResponse> listInspectTemplatesPagedCallable()
- Overrides:
listInspectTemplatesPagedCallable
in classDlpServiceStub
-
deleteInspectTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteInspectTemplateRequest,com.google.protobuf.Empty> deleteInspectTemplateCallable()
- Overrides:
deleteInspectTemplateCallable
in classDlpServiceStub
-
createDeidentifyTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDeidentifyTemplateRequest,DeidentifyTemplate> createDeidentifyTemplateCallable()
- Overrides:
createDeidentifyTemplateCallable
in classDlpServiceStub
-
updateDeidentifyTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateDeidentifyTemplateRequest,DeidentifyTemplate> updateDeidentifyTemplateCallable()
- Overrides:
updateDeidentifyTemplateCallable
in classDlpServiceStub
-
getDeidentifyTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<GetDeidentifyTemplateRequest,DeidentifyTemplate> getDeidentifyTemplateCallable()
- Overrides:
getDeidentifyTemplateCallable
in classDlpServiceStub
-
listDeidentifyTemplatesCallable
public com.google.api.gax.rpc.UnaryCallable<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesResponse> listDeidentifyTemplatesCallable()
- Overrides:
listDeidentifyTemplatesCallable
in classDlpServiceStub
-
listDeidentifyTemplatesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDeidentifyTemplatesRequest,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesPagedCallable()
- Overrides:
listDeidentifyTemplatesPagedCallable
in classDlpServiceStub
-
deleteDeidentifyTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDeidentifyTemplateRequest,com.google.protobuf.Empty> deleteDeidentifyTemplateCallable()
- Overrides:
deleteDeidentifyTemplateCallable
in classDlpServiceStub
-
createJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<CreateJobTriggerRequest,JobTrigger> createJobTriggerCallable()
- Overrides:
createJobTriggerCallable
in classDlpServiceStub
-
updateJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateJobTriggerRequest,JobTrigger> updateJobTriggerCallable()
- Overrides:
updateJobTriggerCallable
in classDlpServiceStub
-
hybridInspectJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<HybridInspectJobTriggerRequest,HybridInspectResponse> hybridInspectJobTriggerCallable()
- Overrides:
hybridInspectJobTriggerCallable
in classDlpServiceStub
-
getJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<GetJobTriggerRequest,JobTrigger> getJobTriggerCallable()
- Overrides:
getJobTriggerCallable
in classDlpServiceStub
-
listJobTriggersCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobTriggersRequest,ListJobTriggersResponse> listJobTriggersCallable()
- Overrides:
listJobTriggersCallable
in classDlpServiceStub
-
listJobTriggersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobTriggersRequest,DlpServiceClient.ListJobTriggersPagedResponse> listJobTriggersPagedCallable()
- Overrides:
listJobTriggersPagedCallable
in classDlpServiceStub
-
deleteJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteJobTriggerRequest,com.google.protobuf.Empty> deleteJobTriggerCallable()
- Overrides:
deleteJobTriggerCallable
in classDlpServiceStub
-
activateJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<ActivateJobTriggerRequest,DlpJob> activateJobTriggerCallable()
- Overrides:
activateJobTriggerCallable
in classDlpServiceStub
-
createDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDlpJobRequest,DlpJob> createDlpJobCallable()
- Overrides:
createDlpJobCallable
in classDlpServiceStub
-
listDlpJobsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDlpJobsRequest,ListDlpJobsResponse> listDlpJobsCallable()
- Overrides:
listDlpJobsCallable
in classDlpServiceStub
-
listDlpJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDlpJobsRequest,DlpServiceClient.ListDlpJobsPagedResponse> listDlpJobsPagedCallable()
- Overrides:
listDlpJobsPagedCallable
in classDlpServiceStub
-
getDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<GetDlpJobRequest,DlpJob> getDlpJobCallable()
- Overrides:
getDlpJobCallable
in classDlpServiceStub
-
deleteDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDlpJobRequest,com.google.protobuf.Empty> deleteDlpJobCallable()
- Overrides:
deleteDlpJobCallable
in classDlpServiceStub
-
cancelDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<CancelDlpJobRequest,com.google.protobuf.Empty> cancelDlpJobCallable()
- Overrides:
cancelDlpJobCallable
in classDlpServiceStub
-
createStoredInfoTypeCallable
public com.google.api.gax.rpc.UnaryCallable<CreateStoredInfoTypeRequest,StoredInfoType> createStoredInfoTypeCallable()
- Overrides:
createStoredInfoTypeCallable
in classDlpServiceStub
-
updateStoredInfoTypeCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateStoredInfoTypeRequest,StoredInfoType> updateStoredInfoTypeCallable()
- Overrides:
updateStoredInfoTypeCallable
in classDlpServiceStub
-
getStoredInfoTypeCallable
public com.google.api.gax.rpc.UnaryCallable<GetStoredInfoTypeRequest,StoredInfoType> getStoredInfoTypeCallable()
- Overrides:
getStoredInfoTypeCallable
in classDlpServiceStub
-
listStoredInfoTypesCallable
public com.google.api.gax.rpc.UnaryCallable<ListStoredInfoTypesRequest,ListStoredInfoTypesResponse> listStoredInfoTypesCallable()
- Overrides:
listStoredInfoTypesCallable
in classDlpServiceStub
-
listStoredInfoTypesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListStoredInfoTypesRequest,DlpServiceClient.ListStoredInfoTypesPagedResponse> listStoredInfoTypesPagedCallable()
- Overrides:
listStoredInfoTypesPagedCallable
in classDlpServiceStub
-
deleteStoredInfoTypeCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteStoredInfoTypeRequest,com.google.protobuf.Empty> deleteStoredInfoTypeCallable()
- Overrides:
deleteStoredInfoTypeCallable
in classDlpServiceStub
-
hybridInspectDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<HybridInspectDlpJobRequest,HybridInspectResponse> hybridInspectDlpJobCallable()
- Overrides:
hybridInspectDlpJobCallable
in classDlpServiceStub
-
finishDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<FinishDlpJobRequest,com.google.protobuf.Empty> finishDlpJobCallable()
- Overrides:
finishDlpJobCallable
in classDlpServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classDlpServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-