Class GrpcDlpServiceStub (3.47.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDlpServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDlpServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDlpServiceStub
Exceptions
Type Description
IOException

create(DlpServiceStubSettings settings)

public static final GrpcDlpServiceStub create(DlpServiceStubSettings settings)
Parameter
Name Description
settings DlpServiceStubSettings
Returns
Type Description
GrpcDlpServiceStub
Exceptions
Type Description
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
Name Description
settings DlpServiceStubSettings
clientContext ClientContext

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
Name Description
settings DlpServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

activateJobTriggerCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cancelDlpJobCallable()

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

close()

public final void close()
Overrides

createConnectionCallable()

public UnaryCallable<CreateConnectionRequest,Connection> createConnectionCallable()
Returns
Type Description
UnaryCallable<CreateConnectionRequest,Connection>
Overrides

createDeidentifyTemplateCallable()

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

createDiscoveryConfigCallable()

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

createDlpJobCallable()

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

createInspectTemplateCallable()

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

createJobTriggerCallable()

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

createStoredInfoTypeCallable()

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

deidentifyContentCallable()

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

deleteConnectionCallable()

public UnaryCallable<DeleteConnectionRequest,Empty> deleteConnectionCallable()
Returns
Type Description
UnaryCallable<DeleteConnectionRequest,Empty>
Overrides

deleteDeidentifyTemplateCallable()

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

deleteDiscoveryConfigCallable()