Package com.google.cloud.dlp.v2.stub
Class HttpJsonDlpServiceStub
- java.lang.Object
-
- com.google.cloud.dlp.v2.stub.DlpServiceStub
-
- com.google.cloud.dlp.v2.stub.HttpJsonDlpServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonDlpServiceStub(DlpServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonDlpServiceStub, using the given settings.protectedHttpJsonDlpServiceStub(DlpServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonDlpServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonDlpServiceStub
protected HttpJsonDlpServiceStub(DlpServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
HttpJsonDlpServiceStub
protected HttpJsonDlpServiceStub(DlpServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonDlpServiceStub create(DlpServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDlpServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDlpServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
inspectContentCallable
public com.google.api.gax.rpc.UnaryCallable<InspectContentRequest,InspectContentResponse> inspectContentCallable()
- Overrides:
inspectContentCallablein classDlpServiceStub
-
redactImageCallable
public com.google.api.gax.rpc.UnaryCallable<RedactImageRequest,RedactImageResponse> redactImageCallable()
- Overrides:
redactImageCallablein classDlpServiceStub
-
deidentifyContentCallable
public com.google.api.gax.rpc.UnaryCallable<DeidentifyContentRequest,DeidentifyContentResponse> deidentifyContentCallable()
- Overrides:
deidentifyContentCallablein classDlpServiceStub
-
reidentifyContentCallable
public com.google.api.gax.rpc.UnaryCallable<ReidentifyContentRequest,ReidentifyContentResponse> reidentifyContentCallable()
- Overrides:
reidentifyContentCallablein classDlpServiceStub
-
listInfoTypesCallable
public com.google.api.gax.rpc.UnaryCallable<ListInfoTypesRequest,ListInfoTypesResponse> listInfoTypesCallable()
- Overrides:
listInfoTypesCallablein classDlpServiceStub
-
createInspectTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<CreateInspectTemplateRequest,InspectTemplate> createInspectTemplateCallable()
- Overrides:
createInspectTemplateCallablein classDlpServiceStub
-
updateInspectTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateInspectTemplateRequest,InspectTemplate> updateInspectTemplateCallable()
- Overrides:
updateInspectTemplateCallablein classDlpServiceStub
-
getInspectTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<GetInspectTemplateRequest,InspectTemplate> getInspectTemplateCallable()
- Overrides:
getInspectTemplateCallablein classDlpServiceStub
-
listInspectTemplatesCallable
public com.google.api.gax.rpc.UnaryCallable<ListInspectTemplatesRequest,ListInspectTemplatesResponse> listInspectTemplatesCallable()
- Overrides:
listInspectTemplatesCallablein classDlpServiceStub
-
listInspectTemplatesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListInspectTemplatesRequest,DlpServiceClient.ListInspectTemplatesPagedResponse> listInspectTemplatesPagedCallable()
- Overrides:
listInspectTemplatesPagedCallablein classDlpServiceStub
-
deleteInspectTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteInspectTemplateRequest,com.google.protobuf.Empty> deleteInspectTemplateCallable()
- Overrides:
deleteInspectTemplateCallablein classDlpServiceStub
-
createDeidentifyTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDeidentifyTemplateRequest,DeidentifyTemplate> createDeidentifyTemplateCallable()
- Overrides:
createDeidentifyTemplateCallablein classDlpServiceStub
-
updateDeidentifyTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateDeidentifyTemplateRequest,DeidentifyTemplate> updateDeidentifyTemplateCallable()
- Overrides:
updateDeidentifyTemplateCallablein classDlpServiceStub
-
getDeidentifyTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<GetDeidentifyTemplateRequest,DeidentifyTemplate> getDeidentifyTemplateCallable()
- Overrides:
getDeidentifyTemplateCallablein classDlpServiceStub
-
listDeidentifyTemplatesCallable
public com.google.api.gax.rpc.UnaryCallable<ListDeidentifyTemplatesRequest,ListDeidentifyTemplatesResponse> listDeidentifyTemplatesCallable()
- Overrides:
listDeidentifyTemplatesCallablein classDlpServiceStub
-
listDeidentifyTemplatesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDeidentifyTemplatesRequest,DlpServiceClient.ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesPagedCallable()
- Overrides:
listDeidentifyTemplatesPagedCallablein classDlpServiceStub
-
deleteDeidentifyTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDeidentifyTemplateRequest,com.google.protobuf.Empty> deleteDeidentifyTemplateCallable()
- Overrides:
deleteDeidentifyTemplateCallablein classDlpServiceStub
-
createJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<CreateJobTriggerRequest,JobTrigger> createJobTriggerCallable()
- Overrides:
createJobTriggerCallablein classDlpServiceStub
-
updateJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateJobTriggerRequest,JobTrigger> updateJobTriggerCallable()
- Overrides:
updateJobTriggerCallablein classDlpServiceStub
-
hybridInspectJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<HybridInspectJobTriggerRequest,HybridInspectResponse> hybridInspectJobTriggerCallable()
- Overrides:
hybridInspectJobTriggerCallablein classDlpServiceStub
-
getJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<GetJobTriggerRequest,JobTrigger> getJobTriggerCallable()
- Overrides:
getJobTriggerCallablein classDlpServiceStub
-
listJobTriggersCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobTriggersRequest,ListJobTriggersResponse> listJobTriggersCallable()
- Overrides:
listJobTriggersCallablein classDlpServiceStub
-
listJobTriggersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobTriggersRequest,DlpServiceClient.ListJobTriggersPagedResponse> listJobTriggersPagedCallable()
- Overrides:
listJobTriggersPagedCallablein classDlpServiceStub
-
deleteJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteJobTriggerRequest,com.google.protobuf.Empty> deleteJobTriggerCallable()
- Overrides:
deleteJobTriggerCallablein classDlpServiceStub
-
activateJobTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<ActivateJobTriggerRequest,DlpJob> activateJobTriggerCallable()
- Overrides:
activateJobTriggerCallablein classDlpServiceStub
-
createDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDlpJobRequest,DlpJob> createDlpJobCallable()
- Overrides:
createDlpJobCallablein classDlpServiceStub
-
listDlpJobsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDlpJobsRequest,ListDlpJobsResponse> listDlpJobsCallable()
- Overrides:
listDlpJobsCallablein classDlpServiceStub
-
listDlpJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDlpJobsRequest,DlpServiceClient.ListDlpJobsPagedResponse> listDlpJobsPagedCallable()
- Overrides:
listDlpJobsPagedCallablein classDlpServiceStub
-
getDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<GetDlpJobRequest,DlpJob> getDlpJobCallable()
- Overrides:
getDlpJobCallablein classDlpServiceStub
-
deleteDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDlpJobRequest,com.google.protobuf.Empty> deleteDlpJobCallable()
- Overrides:
deleteDlpJobCallablein classDlpServiceStub
-
cancelDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<CancelDlpJobRequest,com.google.protobuf.Empty> cancelDlpJobCallable()
- Overrides:
cancelDlpJobCallablein classDlpServiceStub
-
createStoredInfoTypeCallable
public com.google.api.gax.rpc.UnaryCallable<CreateStoredInfoTypeRequest,StoredInfoType> createStoredInfoTypeCallable()
- Overrides:
createStoredInfoTypeCallablein classDlpServiceStub
-
updateStoredInfoTypeCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateStoredInfoTypeRequest,StoredInfoType> updateStoredInfoTypeCallable()
- Overrides:
updateStoredInfoTypeCallablein classDlpServiceStub
-
getStoredInfoTypeCallable
public com.google.api.gax.rpc.UnaryCallable<GetStoredInfoTypeRequest,StoredInfoType> getStoredInfoTypeCallable()
- Overrides:
getStoredInfoTypeCallablein classDlpServiceStub
-
listStoredInfoTypesCallable
public com.google.api.gax.rpc.UnaryCallable<ListStoredInfoTypesRequest,ListStoredInfoTypesResponse> listStoredInfoTypesCallable()
- Overrides:
listStoredInfoTypesCallablein classDlpServiceStub
-
listStoredInfoTypesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListStoredInfoTypesRequest,DlpServiceClient.ListStoredInfoTypesPagedResponse> listStoredInfoTypesPagedCallable()
- Overrides:
listStoredInfoTypesPagedCallablein classDlpServiceStub
-
deleteStoredInfoTypeCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteStoredInfoTypeRequest,com.google.protobuf.Empty> deleteStoredInfoTypeCallable()
- Overrides:
deleteStoredInfoTypeCallablein classDlpServiceStub
-
hybridInspectDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<HybridInspectDlpJobRequest,HybridInspectResponse> hybridInspectDlpJobCallable()
- Overrides:
hybridInspectDlpJobCallablein classDlpServiceStub
-
finishDlpJobCallable
public com.google.api.gax.rpc.UnaryCallable<FinishDlpJobRequest,com.google.protobuf.Empty> finishDlpJobCallable()
- Overrides:
finishDlpJobCallablein classDlpServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-